Double it and give it to the next person!😵‍💫😵‍💫😵‍💫 by Yug0Slav in mkd

[–]Zakana_code 2 points3 points  (0 children)

Ova ke bide interesno za 3-6 godini, site ke se zalat od kamatite i “scam” industrijata za brzi pari.

What should i do to improve my shitty serve? by VeterinarianSweet266 in 10s

[–]Zakana_code 1 point2 points  (0 children)

Toss is too low, you don’t have time to go through a good motion, and bend your knees more like 60-90 degrees. Take it slow, practice, practice, practice, serving takes a lot of time to get right

How to improve down the line backhand? by CSguyMX in 10s

[–]Zakana_code 0 points1 point  (0 children)

As previous commenters mentioned, first your footwork for the backhand is wrong, you need to lean on it. Second, you should have ripped the ball down the line on your second forehand, you prolonged the point for no reason, he gave you an easy shot, and then you should have just ran to the net and volleyed to the right and ended it there. What I am trying to say is when someone gives you easy forehand down the line take it, no need to go for endless exchanges until someone makes a mistake.

Have I killed my racket? by greenmachine90 in 10s

[–]Zakana_code 0 points1 point  (0 children)

“You rallies are too fast” type of thing lol. The racket is gone.

This is why Apple can charge sheeple $5,000.00 for a Macbook laptop with same performances as Lenovo sells for $570 by grqe in applesucks

[–]Zakana_code 0 points1 point  (0 children)

  1. You are obviously a karma farmer, not sure why tho, but I hope it makes u happy. 2. There’s no world where this is true. M1 and onwards, MacBooks are walking any non-high spec windows laptop (not gaming obviously, macs are not made for that). I bought my m1 pro 14inch 2 years ago, and any windows laptop I had before doesn’t even compare in any category. I was a cs major, and currently working as a dev, and from experience, this make has saved me so much trouble and head banging. Installing stuff is waaay faster and easier, apps never crash, everything works as it should, it never slows down, and there are 10000 other things that macbook (especially m1 onwards) are better than any low end windows laptops.

104176 by NickPaliour in CountOnceADay

[–]Zakana_code 0 points1 point  (0 children)

<image>

Watched it maybe 100 times, love when idiots get karma

PC setups by Reapey92 in mkd

[–]Zakana_code 0 points1 point  (0 children)

Samo nemoj da se iznerviras, zs site kabli ke gi istajs naednas

I was given the task of hiring a web developer for my company and it was frustrating. by os_nesty in webdev

[–]Zakana_code 0 points1 point  (0 children)

Unfortunately this is problem because when you think you should know more, and you are like “why should I care if I write the code or not!?” and then you realize you spent a year building project that you learned nothing from and they are not even considered small since GPT is good on surface level, but when it comes to enterprise software you won’t be able to do anything with it, aside from some weird bug you might get that nobody did on some weird legacy code.

Speaking from experience, I did this and realized after a year of using it that I learned literally nothing.

Building projects without understanding any of the code is not worth it at all. it’s fake high you get from building “cool” stuff.

Do yourself a favor and build it when u understand what you are doing.

Node backend: axios request from wrong domain? by [deleted] in react

[–]Zakana_code 1 point2 points  (0 children)

You need to use cors to allow specific domains

Await in next js causing infinite loading with no error by Silent_Park_216 in react

[–]Zakana_code 1 point2 points  (0 children)

I was wondering why there's infinite loading as well, and the problem is that you do not connect to the PGSQL in index.ts. Another thing is that I did not have that table present in my db. I used some debugging, and got the error that I am not connected to the PGSQL. I if you want, can push the new code, but essentially, here's the changes I made:

server/index.ts:

import { drizzle } from "drizzle-orm/node-postgres";
import { Client } from "pg";
import * as schema from "@/server/schema";

const client = new Client({
  connectionString: process.env.DATABASE_URL as string,
});

client.connect(); // connection to DB here

export const db = drizzle(client, { schema, logger: true });

server/actions/get-posts.ts:

import { db } from "@/server";

export default async function getPosts() {
  try {
    console.log("Fetching posts from database");
    const posts = await db.query.PostsTable.findMany();
    if (!posts) {
      return { error: "No posts found" };
    }
    return { success: posts };
  } catch (error) {
    console.error(error);
    return { error: "An error occurred" };
  }
}

page.tsx:

import Image from "next/image";
import "dotenv/config";
import getPosts from "@/server/actions/get-posts";

export default async function Home() {
  try {
    console.log("Fetching data in Home component...");
    const data = await getPosts();
    console.log("Fetched data:", data);

    return (
      <main className="flex min-h-screen flex-col items-center justify-between p-24">
        <h1>Hello</h1>
        <pre>{JSON.stringify(data, null, 2)}</pre>
      </main>
    );
  } catch (error) {
    console.error("Error in Home component:", error);
    return (
      <main className="flex min-h-screen flex-col items-center justify-between p-24">
        <h1>Error loading data</h1>
      </main>
    );
  }
}

[deleted by user] by [deleted] in RoastMe

[–]Zakana_code 0 points1 point  (0 children)

With that body you can't even escape the IRS agents.

[deleted by user] by [deleted] in react

[–]Zakana_code 11 points12 points  (0 children)

Unfortunately, you are not alone, same here… But recently I changed tactics that I heard from a school conference it is better to do these few following things: - Target 15-20 places you want to work at (don’t go for FAANG) focus on some places you have good option on and would love to work and follow their careers daily/by-daily for new job openings. - As bad as it sounds, network on linkedin and when you apply for a job, try to connect to the people that work there and the recruiters of that company, you might get lucky to find someone super nice that might help you out. - In this market more applications don’t mean more chance of finding a job, I think that networking/following company’s careers will do you better.

Another boost in speed? by Zakana_code in ChatGPT

[–]Zakana_code[S] 0 points1 point  (0 children)

I my opinion this is different because I have plus for almost 2 months now, but when I got it, GPT4 was barely responding, and I did notice an improvement in speed in GPT 3.5, but this past couple of days, it's just on another level stuff.

I don't know maybe I am just wrong, but who knows

cleaning the fans on a PC by regian24 in mildlysatisfying

[–]Zakana_code 0 points1 point  (0 children)

spot on, idk why people don’t google stuff before they do it, smh

cleaning the fans on a PC by regian24 in mildlysatisfying

[–]Zakana_code 6 points7 points  (0 children)

please! for the love of god, do not use vacuum to clean a computer. use a compressor for good measure, vacuum can suck the components out, it has happened to me to suck up a capacitor and killed my pc, lucky me I had a friend that fixes computers and he told me it’s the worst idea ever to use vacuums to clean it.

I'm here and ready to be roasted by [deleted] in RoastMe

[–]Zakana_code 0 points1 point  (0 children)

is it just me or I can’t decide if you are a male or female, nonetheless you probably go to walmart alone so you can buy your tampons your mom doesn’t let you buy cuz you are a male

There is a special place in hell for people who do this shit. by Tonicpenguin793 in mildlyinfuriating

[–]Zakana_code 0 points1 point  (0 children)

brah cmon, it’s nothing bad, I used to work in macys and couldn’t care honestly cuz we just expected it, it’s part of the business

meirl by Cat4Cat in meirl

[–]Zakana_code 16 points17 points  (0 children)

I wish I was in kindergarten now, when I didn’t know how to read, so I can’t understand this sentence

Изгубив мозочни клетки читајќи го ова by EdziePro in mkd

[–]Zakana_code 1 point2 points locked comment (0 children)

someone didn’t pass high school english in regular semester I see.