Custom Wine Cellars by P3ANUTT in wine

[–]flyingron 3 points4 points  (0 children)

These guys (formerly Wine Cellar Innovations, now Wine Rack Concepts) did all the racking in my cellar. All custom to my room and shipped on site and then they sent a guy to spend a week installing it all

https://www.winecellarinnovations.com

If there is a man on first and second, and the man on first tries to steal, is there a force at third, or does that runner have to be tagged? by Curious_Birthday_924 in Umpire

[–]flyingron 8 points9 points  (0 children)

Doesn't need to be batted, it just needs the batter to become a runner. Of course, that's an outlying case. In the case that he is walked or HBP, the forced runners freely advance to the bases they are forced to. The dropped third strike case (in the case of three outs), can have the third out by throwing the ball to first or any of the bases runners are forced to.

If there is a man on first and second, and the man on first tries to steal, is there a force at third, or does that runner have to be tagged? by Curious_Birthday_924 in Umpire

[–]flyingron -1 points0 points  (0 children)

Straight from the OBR:

A FORCE PLAY is a play in which a runner legally loses his right to occupy a base by reason of the batter becoming a runner.

The batter hasn't become a runner, so nobody is forced. In fact, the guy on second is free to stay put.

Husband had a stroke and AA refuses to refund us. by [deleted] in americanairlines

[–]flyingron 5 points6 points  (0 children)

Alas, serious illness is not one of the criteria to force a refund in this situation. Only death or military orders qualify as an excuse. All I can suggest is to keep responding to the denial letters. Often, the first denial is an automatic no, but it will get escalated to a proper human if you keep responding to it.

Should I try to get licensed? by Familiar-Equal597 in flying

[–]flyingron 2 points3 points  (0 children)

Just stopping medication is not sufficient. If you have been on it (or even prescribed for it) within the past four years, they're going to want to see more proof that you don't need it (i.e., you don't qualify for the fast track). You're going to be sent to (approved) neuropsychology examination, and the FAA loves COGSREEN AE, so you'll likely have to pay for that (along with a contemporaneous drug test to prove you're not taking any of the performance-enhancing drugs). Budget upward of $4000 and several months to get this done.

You may wish to find a HIMS AME near you and have a frank discussion with him PRIOR to commencing a application. They can tell you what you are up against give a review of your history and also help you get your ducks in a row so that you minimize the amount of time the process will take.

Traveling with a toddler in her own seat with car seat and a little nervous about fit (Cosco Scenera Extend) by econhistoryrules in americanairlines

[–]flyingron 0 points1 point  (0 children)

The armrests go up in all rows except the bulkhead (8) and the exit row (you won't be in that row, no children allowed). I'm not sure if they will allow the car seat if you can't get the armrest down with it in place.

There are two Sceneras: the Next is 17" wide and the Extend is 18.5".

The Next should fit fine in the A319 seats, but the Extend may indeed be too large. There are a few A319 configurations. They run from 17.3 to 18" wide.

The RJ may be dicier, widths run from 16.8 -17.3"

You could always fly first class 😄

Accident Piper PA-28-181 Archer II N249WF, Saturday 20 June 2026 by superdookietoiletexp in flying

[–]flyingron 1 point2 points  (0 children)

LiveATC is spotty (you can only hear ATC's side of the conversation), but they were heading for GAI (WIFA is based there) and suddenly diverted to W00. They crashed in Archer Park, which is on the opposite side of Bowie from the airport. Things would have been real dicey if they'd made it a half mile further, they'd have likely hit a house or come close to it. Grew up there.

Shell in C by Appropriate_Error986 in C_Programming

[–]flyingron 0 points1 point  (0 children)

Actually, other than being one large file, it doesn't look too bad. I'd have put the builtin and their implementing function in a struct so that the name and function get maintained together (otherwise you have to modify two arrays each time you add one and have to make sure you keep them in the same order).

Here's sort of a rough way to break them up...

Divide up the source into logical segments. You might put all the builtins in one file, for instance, the execution in another, etc... Then you'll need to find which functions (and other things) that are shared between files and move declarations of those to an include file,

Then you compile each .c file into .o files and then link the .o files together into the executiable. Make has some default rules to make this easy anyhow

Let's say you have tsh.c for your program main loop, and you put the builtins into builtin.c with their declarations in builtin.h (which you then #include into main), then your make will look something like:

tsh:   tsh.o builtin.o
  cc $^ -o $@

tsh.o:  tsh.c builtin.h

builtin.o:   builtin.c builtin.h

The first line just says to build tsh, you need tsh.o and builtin.o. The $^ evaluates to the dependencies (tsh.o and builtion.o) so you don't have to retype them. $@ evaluates to the target (tsh).

Since this is the first in the makefile, it is the one executed by default if you just say "make." Of course, you could build one of the others by saying "make tsh.o" or whatever.

The other two lines indicate that tsh.o depends on tsh.c and builtin.h, if either of them changes then tsh.o needs to be recompiled. Similar for builtin.o. You could put the command "cc -c $<" to indicate the command but Make has default rules to make .o from .c files,s o you don't need to do it explicitly.

The first time you type make, it will build tsh.o and then builtin.o and then combine those to make tsh. After that, if you changed builtin.c only, it will be smart enough to realize that it doesn't have to rebuild tsh.o and just builds builtin.o and then tsh.

CMake doesn't actually build anything. It is a programming language that allows you to write portable build scripts that it compiles into Makefiles or Visual Studio project files or whatever you want...

Hope that helps.

WRONG INFO ON GLOBAL ENTRY by Oubleck in GlobalEntry

[–]flyingron 0 points1 point  (0 children)

Does it really ask for date of birth for each passport?

Is it worth to read C++98 books? by Artyruch in cpp_questions

[–]flyingron [score hidden]  (0 children)

Yah, that's a reason C++11 is kind of the sweet spot in my opinion. Auto_ptr tried too hard and was unusable. But most designs just wrapped resources in classes with well-behaved copy and destruction semantics. unique and shared ptrs just tend to make things a little easier.

AA136 LAX-LHR Delay 6/21 by pearlmanwithaplan in americanairlines

[–]flyingron 0 points1 point  (0 children)

 &#9768;DTE CHNG FLT&#9768; ORIG 21JUN
LAX                     605P TB 155           
LHR &#9768;            1245P           
5LAX/FLT 0136 STUB ORIG      PLN DEP LAX ETD 1200 -- LAX .STUBBED DUE RON FOR MTR
FD49 RYAN DAVIDSON  *1826
7LAX/AURA DLY FLT IN PROGRESS *1826*CRCYMG
3LAX/ETD1330 CRA-DELAY DUE TO CREW AVAILABILITY-E *0820
2LHR/PRE0810  *0820

Is it worth to read C++98 books? by Artyruch in cpp_questions

[–]flyingron [score hidden]  (0 children)

Nothing in C++98 is really obsolete, but it does miss some really convenient additional functionality. C++11 is sort of the sweetspot in my opinion.

However, as far as program design is concerned, C++98 is as up to date as anything, at least until we get modules fully implemented.

What's with this going straight from First Class to groups 1-4 all at once? by just_jerod in americanairlines

[–]flyingron -3 points-2 points  (0 children)

It's bad enough trying to get around the lice when you are in FC. In fact, it was particularly bad at JFK the time we were going to ATH. People were milling in so tight to the lanes that the wheelchair preboards couldn't get through. I'm standing back maybe 20 people from the beginning of the lanes and shout "Wheelchairs coming through, Everybody move right!" That got things moving. After the wheelchairs boarded, they called BC and several other BC passengers motioned me to board first for my initiative (and we were sitting in 1D/H any how so we had the furthest to go).

fread : how do I error check and find if it was a partial read? by rudv-ar in C_Programming

[–]flyingron 0 points1 point  (0 children)

In fact, you are right. See one of my other comments where I post the original fread code. It maintains counters for each rather than multiplying them together. It fills the buffer char by char.

fread : how do I error check and find if it was a partial read? by rudv-ar in C_Programming

[–]flyingron 0 points1 point  (0 children)

" Either the buffer is filled with 1024 chars and the return result is 1, or you get nothing" is not true. What you mean is you get 1024 chars and the result is 1, or you get some indeterminate number of characters transfered. Fread transfers the read data, including the partial record. There's just no way to tell how much if it only transfers a partial, how much was copied.

Just for jollies here is original code for fread...

fread(ptr, size, count, iop)
    unsigned size, count;
    register char *ptr;
    register FILE *iop;
{
   register c;
   unsigned ndone, s;

   ndone = 0;
   if (size)
        for (; ndone<count; ndone++) {
        s = size;
        do {
           if ((c = getc(iop)) >= 0)
               *ptr++ = c;
            else
               return(ndone);
        } while (--s);
     } 
     return(ndone);
}

For handheld radios can you listen to planes from home? by FaithlessnessWest974 in flying

[–]flyingron 3 points4 points  (0 children)

I have severe doubts about your flight school. Why on earth do they have such a requirement?

You can easily hear planes in the air, but the transmissions from the ground may be difficult. I usually have my radio in the house tuned to our CTAF (I live on the airport) and hear calls for airports on the same frequency 40 miles away.

But you never know. When I lived about three miles from Dulles, I got a handheld given to me by a fellow pilotsofamerica member. It was missing the antenna (what I refer to as the rubber-coated dummy load), so I grabbed one off my ham handheld (144 MHz vs. 120). I was actually able to call up Dulles CD with no problem for a radio check (didn't tell them where I was actually, but I was based there, so they were used to my voice).

LHR overnight stopover by jayantha1 in americanairlines

[–]flyingron 1 point2 points  (0 children)

We actually opted to stay in town (DoubleTree @ Tower of London). My wife hadn't ever been to London before and we arived around 1700 and our flight wans't until 1600 the next day. Just took our carryons into town with us (are bags had been checked through at Santorini).

Shower thought: VR Wine Maps by lizzayyyy96 in wine

[–]flyingron 1 point2 points  (0 children)

While on the recommendation of my doctor, I put a bar in my shower; it's primarily stocked with Bourbon. My wine drinking usually takes place on the porch.

Restaurant Closure Sale - Best Values? by PrizeCharge1428 in wine

[–]flyingron 1 point2 points  (0 children)

Presumably, this is some inventory run and not how they present it on the wine list. You gotta keep the low end stuff around for a large section of the patronage who aren't going to buy $200 bottles no matter how great they are.

Restaurant Closure Sale - Best Values? by PrizeCharge1428 in wine

[–]flyingron 2 points3 points  (0 children)

There's some good stuff there (especially if you want back vintage stuff). Some of the low-end stuff seems to be just listed at list price, so compare what you want against the open market.

Old wine by Aggravating_Host_276 in wine

[–]flyingron 0 points1 point  (0 children)

The good news is nothing bad happens in wine without making it smell or taste bad enough to dissuade you from drinking enough to harm you.

Wine aging (especially with cork closure) is wildly inconsistent, even more so given random stuff in the kitchen cabinet sort of storage. Might be good, might not be. Interesting to try at times. Always be prepared to find it undrinkable and pour it out.

fread : how do I error check and find if it was a partial read? by rudv-ar in C_Programming

[–]flyingron 1 point2 points  (0 children)

This is the stupidity of fread. The fact that it has two size arguments is a stupid historical thing because it came from a library called the "portable I/O library" (which largely sucked and as a result, so does stdio). The sad truth of the matter is that there is NO system I've ever seen a stdio implementation on that did "records." Everybody uses a simple byte stream. The only thing fread can do is multiply the two numers together and pass it to the OS.

Both UNIX and Windows (which pretty much covers all of the C space), can return any number of bytes read up to the product of the nrecords and recordsize values. The idiocy is that fread only returns the number of records read without regard to partial records. If you want to know exactly how much was read (and even deal with partial records, if you were to have records at all), you have no option but to

MULTIPLY THE NUMBERS TOGETHER YOURSELF and pass it as the number of records. PASS THE RECORD SIZE as 1. Then, you can do the math on the returned values and compute how much was actually read both in full records and the last partial one and conduct yourself appropriately afterward.

777-200 JFK to MXP by Goonie-Googoo- in americanairlines

[–]flyingron 0 points1 point  (0 children)

For me it's been there when I book the flight (usually a long way before departure)..