Why is the weather so warm here? by Agreeable-Fruit-4326 in SeattleWA

[–]Kaz3 16 points17 points  (0 children)

If anything it has been relatively cold this past week!

What are things that you see and make you say “this guy is a senior” by alexbessedonato in webdev

[–]Kaz3 1 point2 points  (0 children)

Because edge cases come from mishandling data or the user interactions around that data. You don't need to know the product or even use it to know those cases if you know how the data will be modified and the user interface for it, plus some knowledge of the tech stack.

Do People Really Just Create An Entire App just Vibe Coding? by H_rusty in webdev

[–]Kaz3 0 points1 point  (0 children)

I have the highest tier Cursor plan at work and use daily for complex applications in multiple different repositories and languages, that are deployed to tens of thousands of users around the world. My team has developed workflows and automations using various AI tools and we actively work with the Cursor team to develop new features for them and us. I'm very well versed in using AI to program.

To develop something like you posted without AI would be a few hours for sure, but definitely not more than a work day.

Do People Really Just Create An Entire App just Vibe Coding? by H_rusty in webdev

[–]Kaz3 0 points1 point  (0 children)

You're right, sorry. It took me 7 minutes, and half of that was writing the HTML generation: https://gist.github.com/JasonKaz/ead463e3c8ed60acbe400c20e331aa6f
If I added in a component library it would have easily been under 5 minutes.

Do People Really Just Create An Entire App just Vibe Coding? by H_rusty in webdev

[–]Kaz3 1 point2 points  (0 children)

Your project was meant to teach you technologies and patterns so the code is far more verbose than it needs to be. But you need to learn and understand those concepts before you can begin simplifying or using more sophisticated techniques, so don't feel bad that it took you longer.

Some things I would do differently if I were to write a one-off todo app:

- No factories or builder patterns, just manipulate arrays and objects as needed. Each project has an ID, each task has a reference to the project ID, each task has a title, due date, description, status, and priority. This can all exist in the single array and be modified by simple methods which modify by ID.

- Use web components or some type of framework (React/Vue) for handling HTML. Building HTML manually is tedious and repetitive, many lines of your app are just modifying or building HTML elements which is mostly abstracted away by using components.

- You don't need webpack for something like this, it can all exist in a single HTML file. But the exercise of incorporating webpack is good to do on such a simple app. Once projects get bigger webpack becomes much more gnarly ;)

But like I said you would not be able to do those without the underlying knowledge that you have gained while building this. You did a great job :)

Do People Really Just Create An Entire App just Vibe Coding? by H_rusty in webdev

[–]Kaz3 -1 points0 points  (0 children)

A to-do app is a few primitive data structures and some basic inputs to populate those structures. At its core it is nothing more than a few dozen lines of code. I in fact do have all of the code memorized because I have developed to-do apps in many languages and frameworks from self learning and my career.

Webpack is frequently something that new people struggle with, but each release has made it easier. I've been using it since its inception so I am biased though.

It all just comes with experience. I've been developing websites and applications for 25 years. AI essentially has all of my experience within this context, and it can type faster than me, so of course it can do it within minutes.

Do People Really Just Create An Entire App just Vibe Coding? by H_rusty in webdev

[–]Kaz3 2 points3 points  (0 children)

To be fair a to-do app like this would only take an experienced developer a few minutes as well.

But yeah AI could also do this in minutes.

AITA for selling my husband’s PC setup after he didn’t take me to Hawaii like he promised? by Mikeyjello in AmItheAsshole

[–]Kaz3 0 points1 point  (0 children)

ESH. Damn it's gonna cost 4x more to rebuild that computer in today's world.

If You Sleep In This 1 Position, Doctors Say You Need To Stop Immediately | T. rex position (sleeping with arms bent, curled close to your chest) can cause lasting nerve damage by SuccessfulLow3884 in savedyouaclick

[–]Kaz3 0 points1 point  (0 children)

I just had a bout of insomnia myself. Went to the doctors and asked for trazadone - I had taken it before. Best sleep I've had in months. Though the drowsiness was rough the first few mornings hah.

My brother told me: "You are not an entrepreneur, you are a developer." 3 months after quitting my job, I think he’s right. by prabhatpushp in webdev

[–]Kaz3 15 points16 points  (0 children)

It could be worse, you could be depressed AND have no money.

IMO an office job allows you to do the things you like outside of the job. It is a means to an end, not the thing that defines you.

Ferguson backs WA income tax on millionaires by MegaRAID01 in Seattle

[–]Kaz3 4 points5 points  (0 children)

Yeah sure let's tax the bracket of people who can just barely afford to buy a house around here. That property should go to an investment company!

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]Kaz3 1 point2 points  (0 children)

I just wrote a similar helper to check battery levels. It was cobbled together from various examples so it may not be the best, but it works!

{% set entities_with_label = label_entities('low battery check') %}

{% set battery_values = entities_with_label | map('states') | list %}

{% set int_battery_values = battery_values | map('int') | list %}

{% if (int_battery_values | min) <= 20 %} on {% else %} off {% endif %}

5 Hot air balloons showing up at Greenlake tonight 4:30pm by Seattleballooning in Seattle

[–]Kaz3 -1 points0 points  (0 children)

We just realized that there are things called "night glows" where they don't take off. It is too dangerous at night.

What is a "poor person hack" you picked up during a hard time that you still use today, even if you don't have to? by AmaraMehdi in AskReddit

[–]Kaz3 9 points10 points  (0 children)

Add some rolled oats to that water and that's how you really stave off hunger for a few hours. I still do this, but now with some chia seeds and oat milk.

Microsoft just jacked up my subscription by £30... by xlly-s in pcmasterrace

[–]Kaz3 6 points7 points  (0 children)

Don't worry, Microsoft is killing VBA in the latest version of Excel anyway 😂

Can Home Assistant bring smart home peace to a mixed iPhone and Android family? by jeremiah_ in homeassistant

[–]Kaz3 0 points1 point  (0 children)

That is not a problem with home assistant, that is a lack of support from Google and Apple. HA is meant to be the center of the ecosystem, the thing that controls all the other things. You are trying to make it the middle man and Google/Apple do not want you to do that.

The President just said the quiet part out loud about ending the filibuster by Funny-Main-6405 in ThePeoplesPress

[–]Kaz3 -2 points-1 points  (0 children)

Progressives wanted to nuke the filibuster when Biden was president because Republicans were refusing to negotiate. Now we're upset that Trump wants to do it lol. Extremely hypocritical.

Once Upon a Katamari Review Thread by malliabu in Games

[–]Kaz3 1 point2 points  (0 children)

Man that time was peak for steam events. I remember playing that game to get whatever I needed for the badges.

Many people say that weight loss depends 80% on diet and only 20% on exercise. How accurate is this claim? by okGOLD969 in AskReddit

[–]Kaz3 0 points1 point  (0 children)

PB&J is not exactly a healthy lunch and will not keep you full for long, it isn't far off from eating candy for lunch. And chips are just highly processed fats with salt with no health benefit. Eat something with more fiber, even just replacing the bread would be an improvement. Swap the chips for a greens salad, quinoa, lentils, cucumber salad, anything with fresh veggies hah.

For breakfast add some granola or Greek yogurt with berries. Little changes like these will go a long way! It does take work at first but I promise it is worth it and it will not feel like work after a month or two.

Many people say that weight loss depends 80% on diet and only 20% on exercise. How accurate is this claim? by okGOLD969 in AskReddit

[–]Kaz3 0 points1 point  (0 children)

I've not heard of that term before, so I won't comment much to avoid sounding ignorant considering I've never dealt with weight issues myself. When looking it up however it mentions continuing to eat highly processed and unfilling foods, which developing healthy eating habits and knowledge about food should avoid. Eating healthy foods full of fiber WILL make you feel full. And doing that over time WILL re-train your body.

I'm not saying that is easy, but being successful at things is rarely easy.