![](https://lemmy.world/pictrs/image/475d14e1-dbf0-4f19-a8dd-97bc566f394e.jpeg)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
I wish I could, but cameras are restricted :/
I wish I could, but cameras are restricted :/
My office has two ping pong tables. They’re literally roped off with caution tape, and nobody is allowed to use them. I wish I were kidding.
Even using bullet points can help a lot in these situations (I use them quite often in emails with non-technical recipients).
Yeah, kinda like breaking a handful of dry spaghetti (sorry Italians).
I would imagine that as the tiny bits of the spring are released from one another, the stored energy would be released as a small force within the acid. That is, even if the reaction was perfect down to the molecular level, the new molecule combination would be “launched” away from the spring more vigorously than if the spring weren’t compressed. So you’d end up with the acid being “stirred” a bit by the reaction.
In my area, it’s standard to pay for home insurance (as well as property tax) through your lender for the term of your mortgage. A portion of your monthly mortgage payment goes into its own savings account, and they use that account to pay those bills when they come up.
It stops whatever is playing and starts playing the Rocky Horror Picture Show.
Javascript is all about them boollikes (or as we sometimes call them, booleish).
In zero-based indexing, zero is #1.
Nah, I name all my variables after my homies.
int dave = 0;
Your mama so fat
She can’t store files greater than 4GB
There’s a reason they restrict these things. Trying to get around them is a bad idea. If you get caught, your professional life is over.
If you’re that desperate, bring a non-office laptop and use a hotspot on your phone.
While there are lots of programming courses out there, not many of them will explicitly teach you about good programming principles. Here are a couple things off the top of my head:
High cohesion, low coupling. That is, when you divide up code into functions and classes, try to minimize the number of things going between those functions (if your functions regularly have 6+ arguments, that’s a red flag and should be reviewed). And when something needs to be broken up into pieces, try to find the spots where there are minimal points of contact.
Try to divide code between functions and files in a way that doesn’t feel too busy. If there are a bunch of related functions that are cluttering up one file, or that are referenced from multiple places, consider making a module for those. If you’re not sure what “too busy” means…
Read a style guide. There are lots of things that will help you clean up and organize your code. The guide won’t necessarily tell you why to do each thing, but it’s a great tool when you don’t have another point of reference.
If you have a chance to take a “Software Engineering 101” class, this is where you’d learn most of the basic principles for writing better code.
If you’re already really comfortable with C, you could consider Java instead of Kotlin. The syntax is more similar, but Java doesn’t have as many features built into the language (and I imagine it’ll eventually be phased out anyways). You could try a sample project in each and see which one you prefer.
Dear Mr. Customer,
Thank you for reaching out to me. I’ve created a design to your specifications, and included some notes in this message.
To accommodate for the number of bedrooms being unknown, I’ve included 1024 bedrooms in the design. If you don’t need the extra rooms, you can simply leave the doors closed. You won’t even notice they’re there!
This design is flexible in order to balance cost vs features. For example, the house can be built from cheaper materials like OSB or cardboard, or more expensive materials like aluminum or andesite. I’ve also made the design modular, so you can include only the features you need (for example, a roof).
In terms of maintenance fees, we can offer you a low-cost yearly management service, so you need not worry about maintaining the building. Our firm will definitely be around in 6 months still, we’re pretty sure of it.
I was not able to get a hold of your family, but I collected some feedback from my girlfriend and two cats. My girlfriend was indifferent, but the cats were unanimous in wanting green carpet. Please offer my most sincere regrets to your wife in this matter.
I didn’t have the specific fridge connection you requested. I would have built a custom connector, but my boss insisted we cobble together something using 18 different preexisting connectors. It should keep things cold, but the refrigerator door will open inwards.
I’ve included the blueprints below. Please ignore the tear stains.
Same–I use a line or two of PHP to avoid duplicating common header/footer elements, but it’s otherwise HTML and CSS (no JS at all).
I’ve found GetSimple to have similar advantages. It’s not as much a “static” site generator, but it uses flat XML storage for content instead of a database, so I can back it up in a git repo and deploy by just copying files.
If you want the ease and functionality of WordPress, but you plan to have a relatively simple site, there are other CMS options that are lighter weight and easier to work with. I’ve used GetSimple for years with some of my sites, it’s much more performant and easier to maintain. And the non-technical folks that manage content actually found it easier to use than WordPress.
Instead of building it this big, they should build it as big as the following one will be.
“Yeah, but my PC doesn’t handle it well. If my PC were upgraded, it could really gen some AI.”