@davenicolette@mastodon.social avatar

davenicolette

@davenicolette@mastodon.social

I have little to say and most of it isn't worth listening to.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

baldur, to random
@baldur@toot.cafe avatar

React, Electron, and LLMs have a common purpose: the labour arbitrage theory of dev tool popularity: https://www.baldurbjarnason.com/2024/react-electron-llms-labour-arbitrage/

davenicolette,
@davenicolette@mastodon.social avatar

@baldur The tone is fine.

mekkaokereke, to random
@mekkaokereke@hachyderm.io avatar

Some of y'all are still confused as to why it seems that Silicon Valley billionaires are "turning to Trump." That's because you don't listen to Black people, you disrespect poor white people, and you ignore obvious statistics that have been staring you in the face for decades.

Silicon. Valley. Billionaires. Have. Always. Supported. Trump.

Not because they like the tax breaks. Because they are more likely to be racist, and racism is the greatest predictor of Trump support.

1/N

davenicolette,
@davenicolette@mastodon.social avatar

@Kierkegaanks @mekkaokereke Maybe. Not sure. I'm resistant to the idea of a military force deployed against the general civilian population of the country. Civilian law enforcement is not thee same job and ordinary Americans going about their own business are not enemy combatants.

davenicolette,
@davenicolette@mastodon.social avatar

@Kierkegaanks @mekkaokereke Sure, if you want the police to be militarized then they should have a military background. I'd prefer scaling back active policing of the general public and having law enforcement show up when called.

jamesshore, to random
@jamesshore@mastodon.online avatar

I'm happy to announce that my Testing Without Mocks training course has returned! This is an in-person course that's ideal for people in Europe. It's taking place in Budapest, just prior to the Craft Conference, on May 28th and 29th.

I'm not sure when I'll have a chance to deliver the course again, so if you're interested, this is a rare opportunity.

https://www.jamesshore.com/s/nullables-training?mastodon

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman The third doubt concerns tests that break when you refactor. If we follow the guideline to write tests first, then it's literally impossible to cause a test to break by changing the production code - whether it's an intentional behavioral change or a refactoring.
I can see value in nullables, but not the kinds of value described in the article. In present company I'm definitely the dumbest person in the room, so please set me straight about this. Thanks. (3/3)

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman Initial impression (haven't finished all the material yet): The sample command line test with an "off" switch sure looks/feels a lot like a hand-rolled test double. Just a first impression.

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @RonJeffries @jasongorman I'll make the changes in the form of further progressions in development and modify the notes as well, so others can see me make the initial mistakes and how I corrected them based on your guidance. That might make the project more useful to people who want to get started with this.
(2/2)

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman The first doubt is about something implicit in the article, not stated explicitly - that sociable tests should be written instead of isolated tests. I'm not convinced of that. I think both types of tests yield value.
The second doubt concerns the sample test - isolated and interaction-based. ISTM the solution to this is simply not to write such tests. They're aren't useful. Isolated tests that check the behavior of a unit of code are useful. (2/3)

davenicolette,
@davenicolette@mastodon.social avatar

@jasongorman @RonJeffries @jamesshore I started exploring Nullables with Java. I plan to continue to try it with other languages. So far, I've seen few advantages over using mocks. That leads me to suspect I don't properly understand the approach. Please let me know where I've gone astray. https://github.com/neopragma/sociabletests

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman I've been arguing with myself about whether to post this comment, because of the deep respect I have for James Shore's work. But here goes. I have doubts about the reasons nullables are described as better than mocks in this article: https://www.jamesshore.com/v2/projects/nullables/how-are-nullables-different-from-mocks
(1/3)

davenicolette,
@davenicolette@mastodon.social avatar

@jasongorman @RonJeffries @jamesshore The rest of the article at https://www.jamesshore.com/v2/projects/nullables/testing-without-mocks contains great general advice about basic software design that all developers should learn. Haven't discovered anything particularly "new" yet, but everything so far is excellent on the merits as far as I can tell. Still learning.

davenicolette,
@davenicolette@mastodon.social avatar

@jasongorman @RonJeffries @jamesshore The idea of modifying production code to accommodate test code bothers me a little because it might increase the threat surface of the code. The existence of methods that are visible to test code but ostensibly not to production code "feels" a little like the old practice of having a patch area in object programs to facilitate hot fixes in production. I guess it's no worse than other approaches with OO languages.

davenicolette,
@davenicolette@mastodon.social avatar

@jasongorman @RonJeffries @jamesshore I think I'd like to do some sort of small project using this technique to see how it goes. Maybe one of the refactoring katas or something. Reading is fine but I think the best way to get a feel for something like this is to put it into practice. Thanks for publishing it!

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @RonJeffries @jasongorman Thanks for the detailed feedback. I'll adjust the code accordingly. The stubs were separate originally and I factored them out to reduce duplication, as you surmised. The only difference of opinion is about names. The kata provides two files, but the input data source needn't be a file, so I would avoid using the word File in a class name. A minor thing, I guess.

(1/2)

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @RonJeffries @jasongorman Then I suggest the following: I'll use the naming convention you recommend, and at a future stage of the exploration (maybe when we're trying another language) we can introduce a different type of data store, and see how that affects the existing code at that point. That might help make the project useful, as well.

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman Under Tradeoffs, I'm not sure "hand-written stub code" and "multiple test failures" are introduced by sociable tests; they're common with all kinds of tests and approaches to testing.
Also, "changes to production code" seem to be pretty similar to the changes we make to enable feature toggles; so this isn't a tradeoff either. No tradeoffs so far, really, unless I'm reading it wrong.

davenicolette,
@davenicolette@mastodon.social avatar

@jamesshore @jasongorman Now I see what you mean by "interaction tests." The same as what I usually call "implementation-aware tests." Generally not such a good idea, by any name.

And by "state-based" you just mean "behavior-focused". OK.

I'm getting the gist now. A Narrow Test is a unit test. Overlapping Sociable Tests are integration tests. Mainly a matter of terminology so far. Still learning.

davenicolette, to random
@davenicolette@mastodon.social avatar

An internal migration has started in the United States, and it's growing. Conservatives are relocating into "red" states. Tens of thousands have made the move so far. Let's encourage this, as well as migration in the opposite direction for regular Americans. If the two irreconcilable groups voluntarily and preemptively separate, we may be able to avoid civil war. https://www.youtube.com/watch?v=3qMwW2KymQU

davenicolette, to random
@davenicolette@mastodon.social avatar

I've noticed websites that display medium-gray text against a light-gray background grow harder to read each year. Either the text wears out with repeated reading, or my vision is changing. Anyway, it's something to consider (or ignore, as you prefer) when designing your sites.

davenicolette, to random
@davenicolette@mastodon.social avatar

I'd like to throw out a bunch of toots. Apologies in advance for that. Anyway, I'm working with a training company to prepare "courseware" and deliver a series of classes. It's "work for hire," not "consulting," which means I'm doing everything their way. I'm curious to know whether my peers would lean toward "the company's way", "my way", or they have some other way to do these things.

I'm going to list nine things here. Sorry about the length.

davenicolette, to random
@davenicolette@mastodon.social avatar

After checking out the micro-breweries in Peachtree Corners and a quick lunch at Peachtree Center, I was driving around the south side of Atlanta near Peachtree City, where Peachtree St. NW crosses Peachtree Ave SE, close to where Peachtree Drive turns into Peachtree Lane - you know the place - across from Peachtree Circle - and I couldn't help admiring the impressive examples of the official state tree of Georgia, the Southern Live Oak.

davenicolette, to random
@davenicolette@mastodon.social avatar

In the 1980s I had one gig involving Tandem NonStop systems. Haven't touched that platform since. Today, recruiters seem to think I'd be interested in supporting HP NonStop applications, and willing to relocate to places I don't like for a small salary. How did they ever find out I worked on a NonStop in the past? I don't put it on my resume. Do other people get this kind of stuff from recruiters, too?

davenicolette, to random
@davenicolette@mastodon.social avatar

We got a canine mental challenge toy for our puppies. A cube consisting of tubes and balls, the toy can be filled with dog treats. The challenge for the dog is to roll the toy around so the treats fall out of holes. Our puppies discovered an alternative approach. The toy lasted less than one hour.

davenicolette, to random
@davenicolette@mastodon.social avatar

Experian tells me my excellent credit has unlocked new cards, as if life were a video game and credit cards were hidden treasures. Ha ha ha ha ha.

davenicolette, to random
@davenicolette@mastodon.social avatar

Recent joke toots about SAFe reminded me of this old blog post from 2015. It was a time when multiple agile scaling frameworks plus the Kanban Method were competing for the same customers. I wrote this practical guide to clarify the key differences among the various products.
https://davenicolette.wordpress.com/2015/09/09/every-agile-scaling-framework-in-the-world/

davenicolette, to random
@davenicolette@mastodon.social avatar

Does anyone know of a book (or a source based on any other media) that examines ancient Mesopotamian civilization from the perspective of the "low end" of the population - manual laborers and slaves?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines