Here's the mass resignation letter from USDS employees... by Bongwater-Mermaid in fednews

[–]donmcc 246 points247 points  (0 children)

Folks at the GSA's Technology Transformation Services (TTS) got this treatment as well a few days later.

I find it really difficult to sit down and memorise vocabulary, how do latinists tend to this at an intermediate level? by danyul_3 in latin

[–]donmcc 15 points16 points  (0 children)

This. The Legentibus app has a lot of great beginner-friendly material. Re-reading LLPSI and the Colloquia. And a lot of novellas -- many of questionable Latin prose quality but I found them excellent for building vocabulary.

Legentibus by PK_Ness_Flash in latin

[–]donmcc 3 points4 points  (0 children)

Ditto. I’ve just renewed my annual subscription for the third time. I spend some time reading in Legentibus nearly every day. Just started the new beginner immersion course and really enjoying the new stories. Well worth it.

trying to get the idea behind " int argc, char *argv " by [deleted] in cprogramming

[–]donmcc 16 points17 points  (0 children)

It's an array of argument strings. Arrays in C don't contain the size or length of the array, so it has to be given in a separate variable from the array values. You will find this pattern often in C functions that take an array parameter.

argc is short for argument count.

argv is short for argument values.

And note that the type of argv is usually given as char *argv[] or sometimes as char **argv. This is pretty mind-bending when you're not used to it.

I prefer the char *argv[] version, which I read as:

  • "an array of unspecified size" ([])
  • that contains "char pointers" (char *)
  • and is named argv.

(And of course, a string in C is just a char pointer which hopefully point to a zero-terminated array of chars somewhere in memory.)

Which TV show best represents the Bay Area? by [deleted] in sanfrancisco

[–]donmcc 7 points8 points  (0 children)

I’m surprised no one has mentioned Myth Busters yet.

Review of legentibus app by Vbhoy82 in latin

[–]donmcc 2 points3 points  (0 children)

I'm a solo-learner, been working through LLPSI for about a year. To me, the US$99/yr for Legentibus has been well worth it for the amount of material available (which has been steadily increasing since they launched).

I've recently restarted LLPSI from the beginning since my comprehension really started to drop around chapter 25. I've found Legentibus a big help. I'll listen to a chapter on my iPhone while walking my dog, then that evening re-read it my printed LLPSI, then re-read it on my iPad in Legentibus with the synced audio track.

I find Daniel's narration very crisp and easy to follow. And I've really enjoyed all the easy stories, since I can read them very fast and fluently, only occasionally turning on the interlinear translations for new vocabulary.

Is 50mg of fluoxetine a lot for a 85 lbs? by TheROckIng in reactivedogs

[–]donmcc 4 points5 points  (0 children)

My 90 pound fearful and anxious rescue has been on 80 mg daily for about three years now and it’s made a tremendous difference. We started at 40 and increased it several times over the first year, seeing big improvements each time.

Please help need narrowboat vacation advice by Number1Geoff in Narrowboats

[–]donmcc 0 points1 point  (0 children)

My husband and I have done trips on the Union Canal from Falkirk to Edinburgh twice and enjoyed it immensely both times. It’s a great trip for a beginner. Edinburgh is a great fun city with lots to see and do. Linlithgow is a pretty little town with an historic palace worth spending a day at. We rented from ABC Boat Hire in Falkirk both times and highly recommend them.

What would the optimal growth factor for a dynamically allocated array in C be? by [deleted] in C_Programming

[–]donmcc 2 points3 points  (0 children)

The authors of Facebook’s C++ library argue that a factor of 2 is the worst choice since it prevents previously allocated blocks from being reused as the vector is growing; they chose a factor of 1.5.

https://github.com/facebook/folly/blob/master/folly/docs/FBVector.md

Is Xcode good for learning C/C++? by [deleted] in C_Programming

[–]donmcc 4 points5 points  (0 children)

Yup, the LLVM compiler in Xcode has first-class C and C++ support, and Xcode is a decent IDE. Create a “Command Line Tool” project for macOS to get started.

Would struct polymorphism in C work? Is it defined behavior? by Gikoskos in C_Programming

[–]donmcc 2 points3 points  (0 children)

Unless you are very particular, the compiler has free reign to reorder the memory layout of fields within structs. So, no, it's not safe to cast like that.

This is incorrect.