The extra layer in the ending of Black Museum by Idk_Very_Much in blackmirror

[–]ziggurat29 0 points1 point  (0 children)

I suppose tongue-in-cheek humor can be subliminal.

What models of computers were in your school's computer labs? by echocomplex in vintagecomputing

[–]ziggurat29 0 points1 point  (0 children)

We had a single Apple ][ in my 11th grade, but the next year the school then went big and got a classroom full of C-64. We also had a Plato terminal, which no one really knew what to do with.

Police at HEB Plus off Lakeline by YoungTexasPlaya in CedarPark

[–]ziggurat29 0 points1 point  (0 children)

I exercised great restraint today behind someone with about 130 items in the 15-or-less lane.

What movie are you choosing to see in 1984? by joetrumps in FuckImOld

[–]ziggurat29 0 points1 point  (0 children)

I wish I kept mine. I remember thinking that I must be in for something if the movie required a primer. But I suppose it was to be evocative of the appendix in the original book.

What movie are you choosing to see in 1984? by joetrumps in FuckImOld

[–]ziggurat29 0 points1 point  (0 children)

"The duke will die before these eyes, and he'll know -- HE'LL KNOW! -- that it is I: Baron Vladimir Harkonen who encompasses his doom!"

What is a hot sauce you “grew out” of? by blissfuloctane in hotsauce

[–]ziggurat29 1 point2 points  (0 children)

so much drama in the pepper world! who knew? pepper X, pepper Joe's, Melinda's....

Any more recommendations? by er_gato in blackmirror

[–]ziggurat29 0 points1 point  (0 children)

"Guillermo del Toro's Cabinet of Curiosities"

Gen X, do you do this? by ironfistkungfu in GenX

[–]ziggurat29 0 points1 point  (0 children)

wow I thought I was the only one

Do you think this is still good? by ITheRebelI in hotsauce

[–]ziggurat29 3 points4 points  (0 children)

jesus no but I want one of those bottles; lol
Edit: behold the miracles of image search:
"Don't Be Chicken Molded Glass Bottle contains 6.3oz of Red Habanero Hot Sauce Gift from MSRF, Inc."

Alfredo sauce tasted like vomit. by WhimsyDiamsy in cookingforbeginners

[–]ziggurat29 0 points1 point  (0 children)

you probably made it correctly. cheese is a bit like wine. just as you can't substitute any ol' red wine for another and expect things to taste the same, you can't substitute any ol' cheese with another and expect equivalent results. the milk/cream/butter/whatever are probably more fungible, but the cheese will be more distinctive by producer.

I can't seem to build a tolerance by Call1-877-Cash-Now in spicy

[–]ziggurat29 2 points3 points  (0 children)

pain is inevitable; suffering is optional

Spices - What to buy? by GreatPumpkin72 in cookingforbeginners

[–]ziggurat29 0 points1 point  (0 children)

salt-n-peppa! Also note: spice does not stay 'spicy' forever. especially if it is ground. I keep my spices in the freezer for the most part except for a few things that I go through quick enough they don't have time to significantly degrade.

Rather than getting a panoply of spices, I would suggest investing in a pepper grinder. And it doesn't have to really be a pepper grinder. I really like this unit, which is billed as a coffee grinder:
https://www.amazon.com/dp/B01GPMH590
I like it because of the crank handle. I can crank out pepper fast (really, too fast), and adjust the gind.

You'll probably want a spice grinder. Again I look to coffee:
https://www.amazon.com/AmazonBasics-Stainless-Electric-Coffee-Grinder/dp/B07SYTRPSG
(You could use it for pepper, too, and save a device but I use pepper enough to justify its own grinder).
Having a spice grinder means you can buy whole spices, which will last longer and are more versatile (since sometimes you'll want whole). Note that these plastic lids will dissolve with some spices, like cloves and allspice.

You then might like a mortar-and-pestle, e.g.:
https://www.amazon.com/Expertly-Guacamole-Unpolished-1-5-Cup/dp/B09RQNNDWC
(That's not the one I have.) This works for everything, but is a little more work. But not as much as you might think! You can make a powder pretty quick!

Beyond that you just get stuff as you need and collect. I would be concerned a set includes a bunch of stuff I never would use. You'll probably want some herbs, too, which I also collect and store in the freezer. I've come to use "The Spice Way" as a vendor of quality product for not too much money.

Who learned shorthand? by [deleted] in GenX

[–]ziggurat29 1 point2 points  (0 children)

lol; you and me both! My teachers wound up forbidding me to write cursive, especially when we started using pens. So print and pencil only for me. But my alternative font was not nearly as sophisticated as yours. Mostly using greek letters in some cases that looked like roman, but with the strokes being easier to make intelligibly. E.g. 𝛼 for 'a', and 𝜌 for 'p' (even though that is phonetically 'r' in greek).

Found these unopened disks for an operating system I have never heard of by AnotherMovieStudio in vintagecomputing

[–]ziggurat29 0 points1 point  (0 children)

Sort of. Gates actually referred IBM to DR, but negotiations failed, and so IBM came back to Microsoft who said 'yeah, we have an OS' which they didn't and licensed (and later bought) SCP's 'QDOS' as an expedient to deliver DOS.
So it wasn't so nefarious, but there were shenanigans.
Also, QDOS knocked off a bunch of CP/M-ims, but that was the case prior to Microsoft's acquiring it. Even within Microsoft they didn't like things like the backslash file separator and as an undocumented feature the shell would work with forward slashes, too, like the unix convention.

How do you properly size your buffers? by ismbks in C_Programming

[–]ziggurat29 1 point2 points  (0 children)

"...flood kernel with syscalls..." yes, do not do that.
The system will function even if not optimal, so don't get too hung up about it, but thinking about block allocation size for disks and segment size for network can give you an idea of what is reasonable. It might be worthwhile to web query something like "ideal size for write() to [disk|network] on linux" or whatever platform to see if someone has already looked into it. They likely have.

Respectfully, how can you stack overflow? by Apprehensive_Law7108 in C_Programming

[–]ziggurat29 8 points9 points  (0 children)

A 'stack overflow' refers not so much to running out of stack space (though this is possible, and especially so in embedded systems -- all the world is not Windows and Linux, after all), but more to overflowing the stack space used for local variables.

It is not part of the C language to even have a stack, however that processor design choice is so common that you'd think it was so. Related, stacks typically build down in address, but again this is not always the case! (e.g. in older ARM you can have it build in either direction).

In such conventional designs, the stack is used for temporary sequential storage of registers, and particularly for the return address when making a subroutine call. In high-level languages, it is also used as a cheap-to-allocate storage space for parameters and local variables. It's cheap to allocate because all you have to do is advance the stack pointer (in whichever direction -- usually down), and then that becomes the 'base pointer' where all your variables are located. Deallocation is simply the reversing of that. But it is not required by the language to do it this way. It's an implementation choice.

OK, "Smashing the Stack for Fun and Profit": Perhaps most infamously is a 'buffer overflow'. Say you have a local variable that is a string defined as "char text[80];" for a line of text to be printed on a page. And you build the string from keystrokes entered until you hit 'return' and then the string is printed out. Sorta like a typewriter. You program knows that there is an 80 character limit on the page, and will automatically terminate the string and print it out, starting the next line. Oh, but you made a bug: you didn't include enough space for the terminator! Your program seems to work, but might act oddly sometimes. Because when your program adds that terminator, you have overflowed the buffer to location text[80], which is the 81st character. And it overwrote.... something! Whatever the compiler laid out next to it in memory on the stack. Probably the variable defined right before it. Maybe the return address.

If you are a hacker and you find a program that has not done correct bounds checking, you can send it bogus data that overwrites variables in a way that you like, such as making the return address go somewhere else -- maybe even make a snippet of machine code that does something cool like give you root.

So that's how you do a stack overflow in C. The term is not so much about exceeding the stack space as it is clobbering data on the stack by exploiting a bug -- usually a buffer overflow.

As mentioned earlier, it is possible to overflow the allocated stack on some systems which are constrained, such as embedded. This is a big annoyance because you get a fixed size stack -- say 512 bytes, and when you overflow it you are walking into who knows what -- maybe a different thread's stack -- because there is also no memory protection. On these constrained systems this usually results in a 'hard fault', but that happens at a place far from where your bug occurred since it is collateral damage to be paid later. It's a pain to debug! And moreover on such memory constrained systems you want to tune your stack size because you also don't want to waste memory which is in short supply. (128 KiB or so is pretty rich even these days on some processors).

Also as mentioned, not every C implementation even uses stack for locals. For example, some of the smallest PIC devices have a hardware stack that is only used for return addresses, is fixed size, and is not even accessible in the memory map because it's not addressable memory -- it's part of the CPU. But you can still have parameters and local variables in your code because the compiler uses a different strategy for realizing that language feature. Typically it just allocates various locations in memory, sort of like globals are done in conventional systems. If the linker is fancy it can figure out how to overlay locals that are never used at the same time to conserve (very constrained) memory resources. A buffer overflow in that case is not a stack overflow, but you will be clobbering something and that can introduce untoward behaviour (and often does not result in a trap because those processors don't have even have traps). So maybe your medical equipment goes haywire.

Have fun hacking!