NetrunnerLogic's profile picture. 🌐 Building with WordPress
🎧 Audiophile
⚔️ Troy Trojans Fan

The Netrunner Codes

@NetrunnerLogic

🌐 Building with WordPress 🎧 Audiophile ⚔️ Troy Trojans Fan

Pinned

So much of programming is "I know it's possible. Let me figure out how".


How to scale the right way explained in one image.

NetrunnerLogic's tweet image. How to scale the right way explained in one image.

Another workaround is setting the height of the parent to 1px if the parent is using a min-height value. This gives the parent an explicit height value while still respecting min-height, and now the child element's height 100% value will fill the entire height of the parent.

Weird CSS oddity. When no explicit height has been declared on a parent element, children cannot use height 100% on some safari / mac os broswers. Work around is -webkit-fill-available. aspect-ratio on wrapper for flex slider revealed this quirk.



Weird CSS oddity. When no explicit height has been declared on a parent element, children cannot use height 100% on some safari / mac os broswers. Work around is -webkit-fill-available. aspect-ratio on wrapper for flex slider revealed this quirk.


There are really only four main design templates for websites: home, interior page, posts / dynamic content / contact page. That's 95% of your website right there. Additional templates or mods to existing templates should only be built when it's absolutely necessary.


Another good example is a piece of CSS I haven't written in Cursor before. It knows what I mean by "parallax background" and creates the CSS just as I would have. It adds a tint overlay that I can adjust as well. As with the last example, I just have to hit tab to commit.

NetrunnerLogic's tweet image. Another good example is a piece of CSS I haven't written in Cursor before. It knows what I mean by "parallax background" and creates the CSS just as I would have. It adds a tint overlay that I can adjust as well.

As with the last example, I just have to hit tab to commit.

Example of Cursor's predictive ability: As soon as I was done writing the first flex item, it correctly assumed I was going to put an image in the second flex item. All I have to do now, is hit tab to commit the suggestion to the page. It does this ALL THE TIME.

NetrunnerLogic's tweet image. Example of Cursor's predictive ability: As soon as I was done writing the first flex item, it correctly assumed I was going to put an image in the second flex item. All I have to do now, is hit tab to commit the suggestion to the page.

It does this ALL THE TIME.

Cursor's (Claude 3.5) predictive tendencies when it comes to writing HTML and CSS is off the charts. I can't tell you how many times I've begun to write code, and it auto completes exactly what I was thinking before I've even given it real context.


A good rule of thumb is that quick and easy gives you more freedom in the short term but less freedom in the long term. This can apply to whatever you want it to.


WordPress developers, when making changes to files on a server, what is your preferred method?


We are in the fourth major iteration of what it means to write code. Here's an overview ⬇️ Big Braining ➡️ Programming Books ➡️ Stack Overflow ➡️ AI Tools ➡️ ??? If you are an AI hater, it's likely that you are stuck in one of the previous iterations. Ask yourself, why?


I will always choose collaboration. Solo dev is no fun unless it's a personal project.

Do you guys prefer working alone or collaborating with others?



AIs that help you write code is the next logical step in our progression as developers. Every decade, new tools are developed that "old heads" hate because they threaten traditional ideas of what it means to be a developer. Adapt and Embrace.


I started using Cursor this weekend, and this morning I typed in "acf repeater code" in the line above some list items and hit tab, and cursor produced the code I needed and inserted the list items exactly how I would have done it. AI haters aren't going to be haters for long.


Refactoring some HTML / CSS I wrote a few years ago, and it's been a ride... So much 🗑️ 😂😂😂


Loading...

Something went wrong.


Something went wrong.