
Mid-Level Software Engineer and JEE/Core Java enthusiast !!!
Brazil
Joined March 2011
- Tweets323
- Following465
- Followers54
- Likes10.4K
perhaps one of the most durable parts of pstack are its engineering principles: very concise skills (~10-20 loc) that distill down good practices into its core.
as models get smarter, i expect most of pstack skills to compress into short principles or workflows (a generic list of steps) and that i will be able to delete a few of them.
how it works is that /poteto-mode contains a short index of available principles and tells agents "In your reply, name each principle that shaped a decision and the specific choice it changed." this is why you'll often see a Principles Named or Used section at the end of the agent's response
many of these principles were extracted from my sessions correcting agents since the start of this year. some are inspired by problems i see people talk about, like Attack the Premise, inspired by @VictorTaelin's post xitter.gq/VictorTaelin/status/20…
you can also use the principles as skills if you want greater control, by invoking /principle-<name>
github.com/cursor/plugins/bl…
I'm a newcomer to @poteto's plist; But it seems to me that there is some very significant wisdom encoded in there. I suspect you could teach a master class on the principles.
BP retweeted
I'm 36.
15 years ago, I was a broke college dropout trying to make ends meet.
Then I saw a poster for a Special Operations Unit and decided to take a chance.
Here are 12 powerful lessons I learned from 12 years on a Special Operations team that changed my life:
BP retweeted
I got an email from a fellow who asked:
—
I’ve been trying to think about my next B2B play but everytime I think of an idea I stop myself due to how saturated the markets are. How do you still win in a packed category? I feel like it’s a lot harder to win now than it was 10 years ago.
-J.B.
—
Starting something new can definitely be intimidating. Especially when there are already lots of other people/companies with a huge head start.
But I’m going to ignore all that and focus on what I think is the bigger concern with the mindset represented in the email: This person asks “How do you still *win* in a packed category?”
Winning what? Winning who? Winning it all? Taking everything? That’s an insurmountable mountain of intimidation right there. Don’t do that to yourself.
How about just making something that can sustain itself? Why do you need to win it all? Why would you ever want to make it that hard on yourself?
Build something good, keep your costs low, keep your growth in check, hold back your expectations, find some customers, charge them money for your good/services, make more than you spend, and you’ll buy yourself another day, or week, or month, or year in business. Just aim to stay open, don’t aim to win anything from anyone. Staying afloat is a win for yourself.
Just start there. The odds are still against you, but they’re a whole lot better than trying to win it all.
BP retweeted
Things that help you build better software.
Write a list of the main entities and concepts in the domain.
This includes objects, processes, and roles.
For each main entity or concept, write a short paragraph explaining its purpose and role in the system.
Create Class Diagrams.
I use class diagrams to show the structure of these entities:
- attributes
- methods
- relationships
Use Sequence Diagrams for workflows.
These diagrams will illustrate how objects interact with each other in a particular scenario.
Add links to the Code for Details.
Include references or links to the relevant sections of the codebase for those who want to go deep into implementation specifics.
This is just an entry point; you can redirect people to your code, where the implementation details are.
I create all these things not because someone tells me to do them but because:
- Save me time on every decision
- keep the team on the same page
- help onboarding new people (not just developers)
What's your take on this?
BP retweeted
Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they?
These terms are all related to user identity management. When you log into a website, you declare who you are (identification). Your identity is verified (authentication), and you are granted the necessary permissions (authorization). Many solutions have been proposed in the past, and the list keeps growing.
From simple to complex, here is my understanding of user identity management:
🔹WWW-Authenticate is the most basic method. You are asked for the username and password by the browser. As a result of the inability to control the login life cycle, it is seldom used today.
🔹A finer control over the login life cycle is session-cookie. The server maintains session storage, and the browser keeps the ID of the session. A cookie usually only works with browsers and is not mobile app friendly.
🔹To address the compatibility issue, the token can be used. The client sends the token to the server, and the server validates the token. The downside is that the token needs to be encrypted and decrypted, which may be time-consuming.
🔹JWT is a standard way of representing tokens. This information can be verified and trusted because it is digitally signed. Since JWT contains the signature, there is no need to save session information on the server side.
🔹By using SSO (single sign-on), you can sign on only once and log in to multiple websites. It uses CAS (central authentication service) to maintain cross-site information
🔹By using OAuth 2.0, you can authorize one website to access your information on another website
Over to you: nowadays, some website allows you to log in by scanning the QR code using your phone. Do you know how it works?
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
BP retweeted
The best way to master anything is through rigorous practice. At codedamn, we are strong believers of learning by doing.
To help you become a master at coding, we're launching 500+ real world coding problems for you to practice 🔥
RT + comment below to get early access!
BP retweeted
I'm now officially an author on Goodreads!
goodreads.com/author/show/14…
BP retweeted
Working on a new product at @37signals. Even more high fidelity in the UI than @heyhey, and so far we’ve gotten almost everything “for free” using Hotwire. A level of front-end productivity that almost feels like cheating. hotwired.dev
BP retweeted
"Entrepreneurs everywhere are suddenly having to count each hire as a cost rather than a trophy. Getting to profitability is no longer a distant, post-IPO nice-to-have. But how to do that without cutting off the legs of the product team?" world.hey.com/dhh/saas-start…
BP retweeted
What's wrong with a lifestyle business? Why would you want to build any other kind of business??
BP retweeted
Ruby serenaded me into a career as a programmer. Before Ruby, code was a means to an end. After Ruby, code was flow, growth, and the greatest intellectual endeavor I’ve ever found. I love Ruby as much today as when we first met in ‘03. Thank you @yukihiro_matz. Happy #ruby30th ❤️
BP retweeted
The most dangerous killer of your career is comfort.
When you get comfortable with the skills you know and not care for growth, the death of your career becomes inevitable.
BP retweeted
Just ran across this favorite old quote from Leo Buscaglia. As a friend often says, “Cheering You On!” :)
BP retweeted
This trend is also acting as a challenge to the millionaires/billionaire CS’s to tell us their stories of how they acquired their wealth. We are not satisfied with a sweeping statement like ‘I am worth 4 Billions’.
BP retweeted
Replying to @_TIHS_dev @freeCodeCamp
Sure – feel free to search as needed. Instead of copy-pasting any code you find, read it, understand it, close the tab, then attempt to reproduce the functionality from memory when you're coding it.
BP retweeted
If you're still deciding if you want to switch careers, Microverse CEO Ariel Camus shares 5 reasons why you should become a software developer.👉microverse.org/blog/become-a…
#learntocode #remotelearning #softwaredeveloper #webdeveloper #dev #coding

























