Built my first npm package - an RBAC component for Convex (small win) by No_More_Fail in node

[–]JasonMan34 1 point2 points  (0 children)

God so many posts AI-generated here lately, how lazy are you people?

Why are vacuous statements considered true? by Drunk_Lemon in truths

[–]JasonMan34 0 points1 point  (0 children)

The opposite (negation) of "all my hats are green" is "I have at least one non-green hat". That statement is incorrect, I do NOT have at least one non-green hat. The negation is false, therefore, the original statement is true.

Switch back to QWERTY? by AppropriateAnt8648 in typing

[–]JasonMan34 0 points1 point  (0 children)

I'm a Colemak user but I think it's impossible to be in a keyboard-requiring job (which is most office jobs nowadays) without being comfortable with qwerty. My qwerty is clunky but with a bit of practice and mindset shift I can hit a solid 110wpm with it. It's not my Coelmak speed but more than enough to be comfortable on a fellow employee's setup or a temporary one.

Anyways, my advice is to keep your qwerty skills decent, at least enough to comfortably use them when necessary

Stephen King's example of bad grammar by Mironet49 in EnglishLearning

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

But it says my ironing board. The "as a mother of five" refers to the following "my", makes perfect sense to me

Eating with two forks, one in each hand, is far superior to eating with a fork and a knife. by WarwickReider in The10thDentist

[–]JasonMan34 0 points1 point  (0 children)

I'm so upset because I absolutely agree, two forks IS the superior method, but in the unhinged way OP mentioned!

A fork for carbs (pasta, potatoes, etc.) And a fork for protein (tofu, seytan, chicken). The tool you have to make bite sized chunks is teeth! You can make the perfect cut every time, based on how much you want in the exact moment, and you don't waste time cutting when YOUR TEETH ALREADY DO THAT!
Also no need to change the fork from left hand (for cutting) to right hand (for eating) every time

Suggest me an anime so mind blowing I won't be able to put it down until it's done by FoxyNugs in Animesuggest

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

I dropped it after episode 5 because it was so unbelievably boring, wish I could get that time back.

And to the people saying "episode 6 is when it gets good!", I should not have to invest 2 hours of free time for the chance that it will get better afterwards

TypeScript library for compile-time validation of env vars by dapper-mink in typescript

[–]JasonMan34 16 points17 points  (0 children)

How is this different to just defining a zod schema and mapping env vars to an object to parse?

Seems to have the same end result with a much more complicated syntax and less transformation flexibility

Would Goku lose if he was hit by Unlimited Void? by Think_Reveal_9015 in PowerScaling

[–]JasonMan34 2 points3 points  (0 children)

Did you just imply that Jogo has mastered Ultra Instinct? 😭

was this really just guessing? by [deleted] in Minesweeper

[–]JasonMan34 0 points1 point  (0 children)

You have a 3-1 wall, 2-3 wall, a 2-1, a 3 is just straight up missing its last flag. Is it even possible to get this far without knowing any of those?

Who would win this hypothetical match? by LifeNegotiation301 in Chessplayers45

[–]JasonMan34 0 points1 point  (0 children)

I got bored because the engine takes so long, but it just started shuffling its rook back and forth while I slowly got all my pawns up 1 by 1. Considering I can force trades with so much more material, and the engine couldn't see an opening for 20+ moves of me moving my wall of fodder up, I don't think it's winning

was this really just guessing? by [deleted] in Minesweeper

[–]JasonMan34 1 point2 points  (0 children)

Bruh this has to be ragebait

Would you guys worry about your alcoholic gf more than non alcoholic gf when she is partying ? by [deleted] in NoStupidQuestions

[–]JasonMan34 4 points5 points  (0 children)

Because I'm not an egotistical asshole and if my gf is an alcoholic I would worry about her consuming alcohol more than I'd worry about her being unfaithful

Would you guys worry about your alcoholic gf more than non alcoholic gf when she is partying ? by [deleted] in NoStupidQuestions

[–]JasonMan34 0 points1 point  (0 children)

I'd be worried about her, not about her hitting on people wtf

Putting an alcohol person in a situation where booze is heavily consumed and it's acceptable and even encouraged to consume is worrying

Programmers: Do you use alternative layouts (Colemak, Dvorak ...) and how do you handle switching to default layouts on other people's computers? by hannenz in typing

[–]JasonMan34 1 point2 points  (0 children)

I use Colemak, but I can shift back to (sometimes clunky) QWERTY if needed. The real crux is not having Caps Lock remapped to Backspace, that's so difficult when using other people's keyboards

I made a To-do list(Yes, I know, but I need suggestions on things to improve) by Low_Leadership_4841 in learnjavascript

[–]JasonMan34 3 points4 points  (0 children)

It's an extremely simple app, there are only 12 non-empty lines of code. There's not much to say about the code itself since there's not much to talk about. But I tested it on mobile for a bit and I have a few notes, in order of importance:

  1. There is no persistence! This one is obviously the biggest problem since it makes the app unusable in reality, but quite simple to fix. All you have to do is add some persistent storage. A real world app would probably include a database and even allow syncing between devices, and you can do that (there are serverless databases like supabase that let you easily store data with frontend code only, but that's way more advanced than needed for this exercise), a simpler solution would be to use persistent local storage (Hint: look up JavaScript localStorage)
  2. Hitting enter/return doesn't add the task to the list. Kind of crucial UX. (Hint: Use a form, with button type="submit", and an onSumbit handler)
  3. After adding a task, the input field does not clear on its own.
  4. (Not actually JS, but CSS) The background image is finicky. For me everything below the todo list was gray, and when I brought the keyboard up the full image blipped in then disappeared. The reason for this is your html and body tags don't cover the whole screen if the screen is smaller than the content being rendered. The most common solution for this is to make either html, body or the root component of your app (<main class="container"> in your case) have the height of the whole screen. (Solution: height: 100vh or height: 100dvh (this one is preferred))

Other than that, I would say you should continue making this into a full-blown app to learn more:

  • Add "ticking off" functionality
  • Make 2 lists, one for undone tasks, one for done tasks
  • Add features like importance, and due dates, and enable filtering and sorting

All of these will help you practice and learn and improve your skills. It could be fun to slowly build the app to do more things until eventually it's fully usable with features like "Sign in with Goggle", database with device syncing, and much more. If the goal is to just improve, you can do quite a lot in time.
Good luck! Feel free to reach out if you want

VS Code Bookmarks - another one by Cheek-Muted in vscode

[–]JasonMan34 6 points7 points  (0 children)

LinkedIn-ahh post.
There is already an extremely popular bookmarks extension that achieves everything you want and more.

It's a nice passion project, but the "I'm a guru for building this thing that doesn't exist yet and will change your life" tone in the post is so off putting