CamelCityCalamity

joined 2 years ago
[–] CamelCityCalamity@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago)

Yes, I used it to vibe code a JavaScript single-page application using the Scyfall API to get Magic: The Gathering card set data. The app makes printable inserts for card binder sleeves so you know what cards go in the holes. I made it for my friend who owns a game store.

It knew everything about the Scryfall API. I never had to read the docs. I'm also not very good with JavaScript, CSS, or HTML5. It used elements I had never even heard of in the HTML. Data like the set list and individual card lists are cached and DOM storage to avoid repeat hits to the API. I had to know to ask for such things, but when I did, it gave me all the code I needed

It even generated an SVG logo based on my description, although that took a lot of back and forth, and I recently ended up installing inkscape and fixing it myself to make it look better, but it really wasn't a bad start.

The page has advanced auto-complete stuff that I never would have programmed myself (out of lazziness). You can start typing the name of a set and it will automatically pick the set from a list box if it matches the set code or the set's name.

I had to do all the card grid layout math myself, though, for the printable inserts, because the math was pretty specific. I wanted to make sure the printed "cards" made a perfect grid, even if the printer's margins were not equal on all four sides. I mean, it definitely helped, but it kept getting it wrong, and I had to explain it in detail how to do it, and then it would do it ok. I really wanted to see if I could write none of the code, but I ended up having to write a tiny amount.

Was it perfect? Hell no. I had to hold it's hand a lot and tell it to stop being dumb. I also had to make a custom agent in VS Code to give the AI a back story. I had to tell it things like, "you don't just put new code at the top of the file willy-nilly, you put the code in the section where it belongs in the file."

If I weren't a professional programmer, I think it would have been a bad time, but as it was, it was great. I definitely would have been too lazy to make this website if I didn't have the AI to do it for me, since I wasn't being paid for it. Or I would have made it, but it would have been a really meager, featureless Python script that just spits out basic HTML for printing.

Thing is, I kept adding features and it kept doing it well. Like towards the end, I wanted it to add URL hashes to keep track of where you were in the application so you could bookmark specific pages or email them to people. (Plus it would enable the back button to leave "print mode" that hides the whole UI.) It's successfully added that feature the first try.

It's open source and the website is hosted on GitHub pages. You can take a look and tell me how bad the code is. πŸ˜‚ It's definitely not optimized for mobile, but it's "usable". Try it on desktop. It's specifically made for printing, anyways, and I don't know many people who print from mobile phones.

https://github.com/CamelCityCalamity/magic-binder-placeholders

(A link to the page is in the readme.)

The friend I made it for loves it and has used it several times, and will likely keep doing so in the future.

Everyone thinks that's how it works, but you have to call them your lawyer, and they have to call you their client. You both have to behave like you're in that level of relationship. It's not automatic or forced just because you live together and have sex.

[–] CamelCityCalamity@lemmy.world 5 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

The way college works is a scam in itself. You don't need that much liberal art education. Four years and tens of thousands of dollars (sometimes hundreds of thousands) just to see if you can hack it in a job in your field? That's insane.

Most jobs should be accessible right after high school in the form of paid internships. Programming is a trade, and most of the skills should be taught in high school. Not everyone needs to be a "computer scientist", just like not every plumber needs to be a hydraulic engineer.

I've worked in a lot of programming jobs and zero of the people were what I would have called computer scientists. They were just coders who could write a conditional statement and a for loop. That gets the job done 99% of the time. (Obviously I'm greatly oversimplifying. My point is there's no "computer science" involved.)

After a job in programming for a couple years, if you want to start working on the Linux kernel and write compilers, go ahead and go to school then and become a computer scientist. That's so few people.

And then when there are no jobs hiring internships and computer science, you know not to focus on that. Do something else.

But big business hates this. They want everyone to prove in a gauntlet that you can work under super high pressure and tight deadlines that are totally arbitrary.

Why buy the ZSN when you could buy the AE01, AS10, AS10 Pro, AS12, AS16, AS16 Pro, AS16 Pro X, AS24, AS24 Pro, ASF, AST, ASX, BTE, Carol, Castor, Castor Pro, x Crinacle CRN, D-Fi, Dawn, DQ6, DQS, E10, ED, EDA, ED4, ED9, EDC, EDC Pro, EDCX, EDS, EDX, EDX Lite, EDX Pro, EDX Pro X, EDX Ultra, EDXS, ESX, GP20, H10, x HBB DQ6S, Krila, Libra, Ling Long, Merga, PR1, PR1 Pro, x HBB PR2, PR3, PRX, S1, S1D, S2, SA08, SA08 Pro, Saga, SK10, SK10 Pro, SKS, Sonata, Symphony, T10, Vader, VX10, VXS, VXS Pro, XTRA, Z1, Z1 Pro, Z3, ZAR, ZAS, ZAT, ZAX, ZES, ZEX, ZEX Pro, ZNA, ZS10 Pro, ZS10 Pro 2, ZS10 Pro X, ZS12 Pro X, ZS3, ZS3E, ZS4, ZSN Pro, ZSN Pro 2, ZSN Pro X, ZST X, ZSX, ZSX Pro, ZVX, or ZVX Pro?

[–] CamelCityCalamity@lemmy.world 5 points 2 years ago* (last edited 2 years ago) (3 children)

Your link is backwards. The text goes in the square brackets and the URL in the parentheses.

Chuck E Cheese in 1994?

[Chuck E Cheese in 1994?](https://youtu.be/tzjdP94rKH4)

I've heard there are a lot of people who listen to PBS Space Time to fall asleep.

[–] CamelCityCalamity@lemmy.world 12 points 2 years ago (3 children)

OMG! That's what those crystals are!

[–] CamelCityCalamity@lemmy.world 1 points 2 years ago (1 children)

Might I suggest using Discord as an alternative to Reddit?

[–] CamelCityCalamity@lemmy.world 36 points 2 years ago (1 children)

I found the juxtaposition of your comment to the one below yours to be pretty funny.

[–] CamelCityCalamity@lemmy.world 1 points 2 years ago* (last edited 2 years ago)

I support swappable batteries to avoid unnecessary e-waste or any other reason anyone has.

My arguing with you about the pros and cons of spare batteries vs chargers was misguided, because you're entitled to have your opinions and I don't see why I should care about your justifications for those opinions.

[–] CamelCityCalamity@lemmy.world 1 points 2 years ago* (last edited 2 years ago) (2 children)

When my battery gets low, I'm often in the middle of something. Watching a video, playing a game, chatting with people. Things I don't want to stop and have to try to resume a minute later when I could just plug in and not miss a beat.

Shutting down, swapping a battery, and restarting cannot be done in 15 seconds. I don't really think you were being literal, but you're making it seem like it would be entirely trivial. I don't think it is.

Carrying a second battery is carrying another box around

 

He got so dizzy he phased out.

 

It's not particularly effective, but it sure is satisfying!

 

I was just making sure this piece would fit and thinking about how to build the support when I let go and gravity stopped working. Just before this, the horizontal piece was connected to those two upright pieces. I wish I had tried to see if the sign was actually being supported, but I foolishly grabbed the piece. :(

 

This happened exactly one time in the 200 hours I've played. Not that I use Dazzlefruit all that often. Maybe this is super common, but I haven't heard anyone else mention it. I think it's a cute little Easter egg they added, like how skydiving at night sometimes makes Star Fragments appear right behind you.

view more: next β€Ί