JayleneSlide

joined 2 years ago
[–] JayleneSlide 2 points 4 weeks ago

Ah! Smort! Thanks for the guidance.

[–] JayleneSlide 2 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

Is automatic code generation LLM

Not at all. In my case, automatic code generation is a process of automated parsing of an existing Ruby on Rails API code plus some machine-readable comments/syntax I created in the RoR codebase. The way this API was built and versioned, no existing Gem could be used to generate docs. The code generation part is a set of C# "templates" and a parser I built. The parser takes the Ruby API code plus my comments, and generates unit and integration tests for nUnit. This is probably the most common use case for automatic code generation. But... doesn't building unit tests based on existing code potentially create a bad unit test? I'm glad you asked!

The API endpoints are vetted and have their own RoR tests. We rebuilt this API in something more performant than Ruby before we moved it to the cloud. I also built generators that output ASP.NET API endpoint stubs with documentation. So the stubs just get filled out and the test suite is already built. Run Swashbuckle on the new code and out comes the OpenAPI spec, which is then used to build our documentation site and SDKs. The SDKs and docs site are updated in lockstep with any changes to the API.

Edit: extra word and spaces

[–] JayleneSlide 2 points 4 weeks ago (5 children)

I tightly curated my feeds to stick to trusted sources on specific topics. The most "controversial" topic in my feed might be how to cook certain things certain ways or maybe business analysis. The rest of my topics are known, trustworthy primary sources for things such as software, electrical, and mechanical engineering, culinary science and techniques.

There's also a bunch of "how to more efficiently do [thing that I already do] with [system I already use/own]." It's pretty difficult to get suckered into misinformation on techniques for automatic code generation in C# or how to cook a carbonara sauce from the author whose books I already own.

Something that really helps is never clicking on anything like "I should have bought this years ago" or any similar shit. I realize that I might be missing out on things that would actually make a certain task easier. But if it's really life changing, I'm sure one of my trusted sources, online or otherwise, will get around to suggesting it to me.

Staying away from talking heads, even ones I like, goes a very long way to preventing blatant bullshit ever getting suggested. I click quite often on "don't suggest again." It's a chunk of effort up front, but then it's a small amount of maintenance from there.

[–] JayleneSlide 3 points 1 month ago (2 children)

This dish is relevant to my interest! What's the trick for getting those crispy bits without overcooking the shrimp?

[–] JayleneSlide 2 points 1 month ago

Not my style, but recasting a seriously impressive piece of engineering as a manga character... <chef's kiss!>

For anyone unfamiliar with, or unphased by steam locomotives, may I suggest Animagraffs' walkthrough of the Union Pacific Big Boy? https://youtu.be/Hszu80NJ438 And while I'm at it, all of his "How [thing] Works" videos are absolutely stellar.

[–] JayleneSlide 4 points 1 month ago

I have a different perspective. Sure, we want talent in our country. Let's set aside that H-1B is an abusive program only a half-step away from indentured servitude. Can we agree that we actually want all nations' citizens to be healthy, well-educated, and high functioning? If we can agree on that point, we should work to enable and empower those workers in their home countries.

This obviously requires other factors: penalties for offshoring, compulsory unions, strong unions, limiting corporate power, strong environmental protection... And while I'm dreaming, I still want an RC car for Xmas.

But seriously, brain drain is real. And pulling talent from other countries is just colonization on a smaller scale, but with serious impacts for both countries involved. If US corporations can't compete without importing talent, all while refusing to invest in our citizens, they deserve to be consigned to the scrapheap.

[–] JayleneSlide 1 points 1 month ago

I use a Toughbook in my sailboat cockpit. Ya know, storms, outdoors, saltwater, and all those other things that can wear down mountain ranges. I lent it to my sailor friend who happens to be a ham-fisted, self-described crayon-eating Marine (seriously, I never heard that term until he used it to describe himself). He could just about break bricks by merely being in the same room. His ability to break things is astounding. My Toughbook survived a week long sailing trip with him, with only minor dents. My money is on the Toughbook.

[–] JayleneSlide 5 points 1 month ago

Came here for this. Thank you, well-read stranger!

[–] JayleneSlide 8 points 1 month ago

I heard this so much in my "misguided liberal" youth. Now I'm in my 50s, and I have learned so much, seen so much, and can confidently be sure of*** even less than that of which I was sure in my teens and 20s***!

All of the people who told me "you'll understand when you're older" were full of shit. Some of them are still alive and one thing that I understand for sure: they stopped learning, stopped paying attention, and they are confidently incorrect about things that stopped being true during the first and second Reagan administrations.

Here's a great example: my damned Conservative, MAGA, kick-the-ladder-out-from-behind-her mother. "You should just stay with an employer, stop changing jobs, and they'll give you a pension." Uh, yeah Mom, pensions are no longer a thing. Also, job hopping is how we get meaningful salary increases.

[–] JayleneSlide 14 points 1 month ago

With the outpouring of support for Luigi Mangione, I had been wondering if we would see an effort from law enforcement towards monitoring people's reactions. Anyone not expressing sadness and distress is suspect; anyone expressing joy is an enemy of the state. I guess the intelligence report is a start of an answer to my question.

Feeling a little North Korea up in here.

[–] JayleneSlide 4 points 1 month ago

It absolutely happens. Most of my long term partners were that "sparks at first sight" energy. In high school, my first girlfriend and I saw each other from across the bus waiting zone, and it was on. Even our parents were blown away by our chemistry. Unfortunately, she died of acute lymphocytic leukemia two years later. My first wife and I spotted each other from across a nightclub dancefloor. I thought she gave me a fake phone number, but turned out to be real. I was on a bike tour, stopped at a winery, and met an amazing woman who became my second wife 18 months later.

But here's the problem with that instant connection: it's almost always a very bad sign. Those instant sparks are indicative of non-verbal cues that both people fit a mutually faulty template. For people who have unaddressed trauma, that template is just waiting to be matched, and it produces disastrous results in the majority of relationships. John Gottman at University of Washington has studied intimate interpersonal dynamics in depth; he and his lab have literally written the book(s) on how to have healthy, fulfilling relationships. Spoiler alert: instant attraction should be a red flag for about 99% of the population.

But yeah, get professional help.

[–] JayleneSlide 3 points 1 month ago

The economics of computers is like some magical promised land of market forces. My first PC was an IBM PC 5150 packed to the gills. CGA card and monitor, monochrome monitor, dual 5.25 floppies, and the full whopping 640K RAM. It cost me around $5000 with my parent's employee discount.

Building or buying an absolute screamer of a computer today will cost $3000 to maybe $5000 if I'm okay with rapidly diminishing returns. According to the CPI Calculator, that $5000 in 1981 would be around $18000 today. And generally speaking, holding off as long as possible to get a new computer works only in your favor because of those pressures to keep prices in that $1000 to $4000 range.

view more: ‹ prev next ›