Spyke

Replies

Comment on

PlEaSe CeNtEr ThAt DiV

I just use Bootstrap and don't worry about learning CSS. Probably because I suck as CSS.

But if I can use a few Bootstrap classes to make my app 'presentable' and 'professional-looking' and spend my time on what's important...functionality and security...then I'm happy to.

Comment on

meme

@odama626 when my brain goes in auto-mode, mine ends up like:

`// opens dialog window
openDialogWindow(){

// set dialog config
const config = new DialogWindowConfig({...});

// open window
dialogWindow.Open(config);
}`

Comment on

My thrift store haul

There is definitely something satisfying about owning retro consoles and games. But it's hard and expensive to find them sometimes, so I've been going the emulator/ROM route lately. I've found SO many amazing games. I'm playing the old Monster Hunter PSP games right now. I even installed Mario 64 for nostalgia, and I'm actually shocked how advanced that game is for its time.

Comment on

Does Lemmy really benefit from Rust? Is code execution speed the bottleneck?

Reply in thread

@TauZero you would use a join so that one call would fetch all comment rows for that post:

`SELECT p.post_id, p.title, p.description, c.text

FROM posts p JOIN comments c ON p.post_id = c.post_id

WHERE p.post_id = 79`

This would return a list of all comments for post 79, along with the post id, title, and description also in every row. This isn't a perfect example of optimized SQL, and I have no idea if these are the correct table and field names, as I didn't look them up. But it's a simple example of joins.

cars

Comment on

My Honda Prelude | Update: I bought another one

@spicytuna62 my first (at 16) was a '96 Acura Integra, 5-speed, coupe. In black, so it was the temperature of lava in the Georgia heat. But god, I loved that car. It was zippy and drove like a dream. It was light enough that I could pull in my parents' driveway at 3am with the ignition (and consequently, the power steering) shut off so they wouldn't wake up. It fit 4 people, but usually only needed my seat and a seat for my CD catalog. I could drive it with my knees while eating Taco Bell on the way home from school. I traded it in for a 4-runner, and never felt the same love until I recently bought a MINI Cooper Clubman.

Comment on

Flip Flops

Havaianas last me forever. Not the fancy, multiple-material ones. Just the simple, rubber, 'Brazil' ones that are like $20. I live in Florida and wear them with shorts and jeans, in the summer and winter. They're indestructible.