@WhiningCoil's banner p

WhiningCoil

Ghost of Quokka's Future

6 followers   follows 0 users  
joined 2022 September 04 23:24:47 UTC

				

User ID: 269

WhiningCoil

Ghost of Quokka's Future

6 followers   follows 0 users   joined 2022 September 04 23:24:47 UTC

					

No bio...


					

User ID: 269

But the problem with this attitude is having everyone write in assembly or C means we'd never get anything done. Re-Inventing the wheel is fun (sometimes), but it's not efficient. Stitching together libraries correctly is still difficult enough that very few people can be competent software architects.

My rant isn't so much "Everyone needs to write everything in assembly/C" as "Everyone, at some time, needs to have written something in assembly/C".

I sure as shit am not re-inventing the wheel constantly in my day job. I'm stitching together libraries for efficiency's sake, same as everyone else. But having at one point made my own wheel, even if not a particularly good one, I understand you aren't supposed to use a wheel flat on it's side. Or try to put a flat edge on it. Which keeps me from doing pants-on-head retarded things with other people's wheels.

I would honestly put both our complaints in the bucket of "Programmer is ignorant about the level of abstraction they are working at." But people don't know what they don't know. And the only way out is for them to have worked at multiple levels of abstraction to know the bounds of the one they are currently operating in.

I think the necessary relentlessness and intrinsic motivation required is comparable to playing musical instruments or sports. And incidentally, it's mostly boys who spend insane amounts of time on practicing the guitar or football or yoyo or skateboarding or even video games etc. without any external pressure from parents and teachers.

People brought up the "interest in things vs interest in people" gender difference. But I always prefer how much more neurotic women are. It's incredibly difficult to keep smashing your soft brain meats against a problem, fruitlessly at first, for hours, if not days, if you are biased towards experiencing profound and prolonged negative emotions in response to failure.

Women generally avoid the chance of failure more than men, likely due to their increased neuroticism. So they won't master skillsets that require you to fail repeatedly.

That said, I also see in newer hires a lack of that sort of persistence both among the men and the women. Probably somewhat "Old man griping about the young'uns" here, but I've seen an increasing tendency of kids with fresh CS degrees to not really know how to independently track down the solution to a problem, including scouring stackoverflow and APIs et al. They sort of throw their hands up and ask very broad questions in channels like "Hey, this thing isn't working, can anyone tell me why?" Or "How do I do ?" ("Thing" being a fairly complicated multi-step process that requires experience mostly consisting of trying to do it and figuring out how to get past each obstacle one by one.) And they do this at every step. I have to gently point them at where to go to look for the solution to the next step, when I want to say "This is called being a programmer - read the documentation, use Google, and figure it out!"

I am amazed at how many programmers never read the documentation. I've had many coworkers, not just younger, give up if they don't already know the solution to the problem. It should be bog standard to peruse the API calls, and fiddle in test programs with anything you don't understand. But most don't.

They don't want to discover a solution, they want someone to figure it out for them, and tell them exactly what to do.

A level up from that would be reading the source code of the libraries yourself (assuming it's available). A level up from that would be studying the byte code as an absolutely last resort.

Because sometimes you do find bugs in libraries. Or annoying deficiencies. Once I was using an open source websocket library, but had to use a bearer token for authentication. The websocket library came years before the requirement for bearer tokens, and it did not support it at all. The guy who maintained it had weird ideological reasons to never include it. But fuck it, it's open source. So away I went hacking it in. No big deal. But it's remarkable how few programmers are truly willing to go wading through someone else's code.

EDIT: Also if I never again have to write a conversion function between (pick any two) char *, wchar_t *, _bstr_t, CComBSTR, CStringA, CStringW, basic_string, and System::String it'll be too soon.

Oh god. Oh god no. All those repressed memories are coming back. What have you done?! I don't have enough whiskey in the house to make this go away!

If you don't understand the difference between dick measuring over your choice of text editor, and fundamentally not understanding how a computer works, then yes, it's superficially similar.

My disgust reaction to argumentum ad XKCD aside, it does make me wonder. Did programmers of old complain when things moved from byte code on punch cards to disks and actual languages, with compilers and all? I certainly had a few professors who seemed to have such a chip on their shoulder.

I'm not dismissing garbage collection whole sale. I'm dismissing programmers who have known nothing else.

Here is an example. Once upon a time i had to shove about 10 thousand objects into NASA Worldwind and see how it ran. It ran like dog shit. Because whatever fresh graduate they had coding it reallocated memory for each objects screen transformation every frame. So it triggered the gc literally multiple times a frame with a few thousand objects to render. That is a level of idiocy only possible if you learned to program in an environment where you were barely cognizant memory was a resource with costs associated with it.

This is a subject near and dear to me. Because I positively loath working with most new programmers. I loath this entire generation of "programmers" that never had to manage memory. That just stitches libraries together to accomplish 99% of their tasks. And if it isn't garbage collected, and it isn't a library, they flail around uselessly.

That's "programming" in the same way purchasing a bird house kit from a hobby shop is "wood working". Yes, you are technically using a tool that is also used in that activity. But 95% of the work was done for you. And they are barely even cognizant of that fact.

But I'm a fucking crazy person. I got annoyed that 86Box didn't work with my HOTAS once, so I downloaded the source and fixed it myself. A certain especially difficult level of Populous pissed me off to such a degree, I download the version of DOSBOX with the debugger built in and began dissecting the bytecode that effects the AI speed. Successfully I might add. Patched a version of the game just for me that was a smidge easier for my aged reaction times. When the Oculus Quest came out, I was annoyed that a lot of Gear VR games would run on it, but the controls weren't mapped to the right buttons. Since most of those games just run Unity, and use the built in Oculus plugins, I discovered I could replace the .net bytecode in the dlls to remap the controls. So I took about a half dozen Gear VR games I liked, unpacked the APK files, edited the DLLs, repacked and signed the APK files, and then loaded them onto my Oculus Quest.

Lately I decided I wanted to learn x86 assembly, targeting the 8088 platform, BIOS/DOS function calls, EGA graphics and Adlib music. Wrote a sprite editor, currently working on an adlib tracker. All in assembly. It's so much fun, I love it.

So yeah, I'm a fucking lunatic.

I came up through a Computer Engineering program. There was programming in all 4 years of it, largely in C++, but also Java and Python (which I hated). But other required courses were the material properties of transistors, which I largely forgot. Then how to create adders and other simple electronics out of discrete components (NAND gates, XOR gates, etc). Then some assembly on this project board I actually still have, but can't recall at all what it ran.

I still remember, after I graduated, I was talking with a buddy of mine who did a Computer Science degree at a different school. At some point he asked me "So how did we get to where we are now, with operating systems and compilers and stuff?" I was blown away that after 4 years, and a Computer Science degree, he didn't know that.

Increasingly, the teaching of programming is "vibes based" as you put it. Fundamentally incompetent people are being handed degrees. The only reason they appear to be able to perform a task that vaguely resembles programming is that people smarter than they or their entire lineage will ever be set the table for them.

Imho if you had that problem you were playing wrong. I was in a pnp ad&d 2e game a few years ago. Played a fighter with very middling stats. But those extra weapon proficiencies really let me take advantage of more of the equipment the rng gods bestowed on us. I also made ample use of my loot to purchase potions, especially fire breathing potions, to keep up.

There are plenty of extra curricular ways to punch above the confines of your class. I think this is hardest for munchkins and crpg addicts to grok.

It runs off of 2nd Edition AD&D, which is a really cool system and will have some interesting differences for players of modern D&D/CRPGs. Most of the differences are in how spellcasters work. For example, spellcasters use Vancian magic, which means they prepare spells in advance and can only use each spell as many times per day as they prepared that spell. For example, if your wizard knows 5 1st-level spells and 4 2nd-level spells but can only prepare 4 slots of 1st level spells and 2 slots of 2nd level spells, you must allocate a spell to each specific slot. Want to cast sleep more than once per day? Better prepare it multiple times. This is really cool and will satisfy that Batman fantasy. It's a lot for a new RPG player to learn, but an experienced player will really enjoy the system.

I want to second this. I adore the unique power scaling of different classes in AD&D. I'm horribly annoyed that every other class had mage envy, and tabletop designers gave in and basically turned every class into a mage. With feats or talents or dailies or whatever the fuck they call the special abilities that warp reality every fucking character has now.

Also, that unique feeling of seeing your magic users balls finally drop when they learn fireball. It's so cute watching them grow up, learn to walk, talk... mass murder...

Well, I mostly wrapped up my EGA sprite editor in assembly. There are a few more things I may change for my own convenience as I proceed to actually use it to make a game. But I think it was a good enough exploration of doing most game related tasks in assembly. I processed a bunch of mouse and keyboard input, save and load files, did a bunch of EGA graphics, allocated a bunch of memory, even did some fun things with the different pages in mode 0Dh.

It was probably totally unnecessary but I wanted some practice, so I split the program into two assembly files, operating in two different memory segments. Made juggling the current data segment a little annoying, so I'll need to think carefully about how I go about that more in the future.

Possibly the only thing I might add to it is a preview mode where I paint the sprites over the screen and see how they look against each other. And maybe a few other UI niceties.

With that more or less in the bag, I've moved onto starting an adlib tracker. Turns out there is more or less only a single extant document about how to program the registers on an adlib compatible card. A short, 9 page document called "Programming the AdLib/Sound Blaster FM Music Chips Version 2.0". It's dated Feb 24 1992 by Jeffrey S. Lee. It begins like this

Two of the most popular sound cards for the IBM-PC, the AdLib and the Sound Blaster, suffer from a real dearth of clear documentation for programmers. AdLib Inc. and Creative Labs, Inc. both sell developers' kits for their sound cards, but these are expensive, and (in the case of the Sound Blaster developers' kit) can be extremely cryptic.

This document is intended to provide programmers with a FREE source of information about the programming of these sound cards.

The information contained in this document is a combination of information found in the Sound Blaster Software Developer's Kit, and that learned by painful experience. Some of the information may not be valid for AdLib cards; if this is so, I apologize in advance.

So I'll be bit banging against 244 registers or so. Only so many are useful, but I'm curious what many of them sound like. Yeah, yeah, I know. There are so, so many adlib trackers already. But where is the fun in that?

Yes, you are touching on the worst aspect of modern media in general. Everything is being desconstructed and reconstructed on a flawed model on how humans work. It is inauthentic in the attempt to entertain, it is a lecture instead.

To pick nits, everything is being deconstructed, and it's not being reconstructed at all more often than not.

I mean, lets take an old movie Halloween as a point of comparison. Supposedly Mike Meyers is terrifying because he has no motive. He just kills and kills and kills without any reason what so ever. Not revenge, greed, lust. He doesn't even seem angry when he does it. This is supposed to be terrifying.

Now it's hard to think of a main character in a modern series that isn't some variety of rebel without a cause. Every single fucking show is miles up it's own ass about how important it is to destroy society. What replaces it? Don't think too hard about that. Nothing as far as we know.

It actually reminds me of an episode of The Orville from this last season. The episode picks up after the MacGuffin has saved the day, which would have been the climax of any other episode of a Trek-alike. Then it goes into all the ways everything gets fucked after they used the MacGuffin. I sincerely fucking loved how bold of a choice that was. That is how you "subvert" expectations. Not by staring the audience directly in their dead and glassy eyes, sneering, and doing the opposite of what makes sense because "fuck you" that's why.

I wish a single one of these "We must destroy society root and stem" shows spent one single second on the hard work and overcoming disagreement it would take to forge their new utopia. There is plenty of history in this regard to draw on from the founding of my own nation, the United States. But I don't think any of these shitheads know history, or at least not anymore than nonsense the 1619 Project preaches about "muh slavery".

Related side question: what are people paying for electric rates these days? We've gone from 8 to 11 cents/kWh, which is fucking ridiculous even for the extra costs incurred here. Natgas isn't available here, but in most places the electric/gas price ratio is a huge factor.

My power company charges about 15.5 cents/kWh. Lately I got solar panels with financing. It's going to fluctuate, probably a lot, but in September it came out to about 15 cents/kWh if I divide my financing costs by the energy produced. However my state has an SREC market, and the TLDR on that is I get paid approximately 4-7 cents/kWh on the solar energy I produce. Which pushes me well and good ahead of the power company.

I don't think those are counterpoints. Peter Jackson's movies were actually good. They were appreciated even by people who'd never read Tolkien and didn't care about how faithful they were to the books. They would not have been so popular if the only audience was Tolkien fans. Peter Jackson was a good director who cared about the quality of his work, and that resulted in a good product. He was given the freedom to make that product because he convinced the money men that his attention to the work would pay off.

I think you completely gloss over why Peter Jackson's original LotR movies were good. It's not that they were shot for shot adaptations of the books. They weren't, though they were close. It's not that they had stunning production values, though they did.

It's because Peter Jackson worked hard to give life to the themes of Lord of the Rings. He probably could have gotten away with the acting being worse, the production not as good, or the casting being bonkers, if he nailed the theme. Luckily for him it was the total package.

This Amazon series is attempting to build on that success, without understanding the themes of Tolkien one iota. It's a dead and hollow thing. And lay people might not be able to articulate that they want their culture to have themes. But they know when someone is putting a corpse in front of them and trying to pass it off as prime rib.

Image you lived in a society that forgot how electricity worked. You still have all this stuff that uses electricity, and you have some memorized rituals around how to get the lights to turn on. But the rituals are... weird. They've drifted away from the mechanical acts of completing circuits, and become quasi-religious as to the spiritual significance of bringing light into this world. And nobody understands any longer which parts of the "turn on the lights" ritual are load barring or not. They mostly just blame the person for being immoral if the lights don't turn on for them.

This is more or less how I perceive the state of the media right now. They have no concept of the human condition. Of theming. Of universal human truths. They have no capacity to actually imagine a character's inner world. These are dead and hollow things writing about other dead and hollow things. What does an NPC know of the human condition? They aren't human.

So these projects lose money. Everyone hates them. The non-creative executives want to fix it. But they can't. We're 2, maybe 3 generations into the wanton destruction of our culture. It's dead and hollow things all the way down!

Every now and again they can rustle out a boomer to churn out one last, heartfelt, comprehensible script. Apparently the Top Gun sequel wasn't totally shit? And Tom Cruise actually cared about it a lot, worked really hard to have it made, and infused a ton of heart and sincerity into it? Plus real planes, really flying, giving the movie a feeling of, I donno, being real?

As an aside, Tom Cruise might be weird as fuck, but that mother fucker knows how to make a fucking movie. Sure, he's no Stanly Kubrick. But in a world of complete and utter drek, someone autistically repeating the steps movies used to take to be good, whether he understands what he's doing or not, comes off like a savant.

From time to time you'd read about some college stripping more and more of the western canon out of their liberal arts programs. And where they lead, everything else followed. It's dead and hollow things, studying the narcissistic pabulum written by dead and hollow things, churning out their own shallow nonsensical dead and hollow scripts. There is no path back anymore. It could take 30 or 40 years to reverse course if we began seriously focusing on rebuilding our culture today. We won't.

It only takes one “KKKILL_ALL_*******” or fedposter to make a lot of people nope out. Not dealing with that, going to hang out somewhere with fewer witches, etc.

Am I the only one who remembers when it was trending on Twitter, to seemingly no problem what so ever, to cheer all the old white men dying after the last census? To signal, crassly, how truly enthusiastic you were, and how much better you thought the world was, with more dead white people?

Left leaning spaces, if you take for granted that Twitter and Reddit are left leaning, absolutely support "KILL ALL ******" posts, so long as you are talking about Republicans, or suspected Republicans. If you don't nope out of that just as hard as when you see someone "just asking questions" about the "Jewish Question", it's because you take it totally for granted.

Yeah, left leaning communities do not ban slurs. They only ban the slurs against their patron groups.

I think the saddest, for me personally at least, community that went hard and hatefully left has been the Penny Arcade forums. Officially, there is a rule. The only insult you are allowed to use is "silly goose". In practice? That only applies in one direction.

They have rules against hateful content. But people openly saying a lot of white people need to be murdered in a revolution don't get moderated. Suggesting that Kyle Rittenhouse, in their Rittenhouse trial thread, was correctly found innocent? You get banned for hateful content.

It was not always this way. I'm not sure when the moderation began moderating hard left. I think it might have started after the Dickwolves controversy, and as a sign of good faith they brought on some "friendlier" moderators to "educate" the community.

Many discords I'm on for hobbies have a "no politics" rule, to keep things friendly and inclusive. In practice this means no bringing up conservative politics. Everyone is free to root for Biden, and complain about Republican politicians, talk about how enthusiastic they are for liberal or progressive policies, etc. It only becomes "politics" when someone disagrees, and then they get banned.

Would you consider Abigail Shrier's Irreversible Damage a point of evidence? Where she digs into how the infohazard of gender identity is convincing the same cohort of young girls and women who easily socialize to eating disorders, cutting, etc to now socialize towards a trans identity?

Or how it's well known among professionals that you need to separate these women from each other on a ward to rehabilitate them? Because if you leave them among themselves, they just socialize around their self harm identity too much.

My plain reading of the phrase is that it centers women's "agreeableness". But contextualizes it in terms of women deeply internalizing social narratives. It's tangential to the NPC meme, but less about mindlessly repeating whatever CNN is telling you, and more about how susceptible women are to all info hazards.

Man, I really don't know where I fall on that. On the one hand, it reads like a copy-pasta or meme. But more boomerish. Like that "300 confirmed kills" one.

On the other hand, it also pretty accurately describes a lot of insecure, vindictive, attention seeking women I've known or seen. Only in the real world they lack the self awareness or courage to ever write a letter like that.

Which raises a fascinating question. How do you meme the meme-sex?

The general consensus was that production lines would take 12-24 months to scale up

A lot can happen in 12-24 months, as the last 6 months shows. And generally, it's much harder to retake territory than to defend it in the first place. Recent successes for Ukraine not withstanding. I believe taking islands, such as Taiwan, present even greater challenges.

Short term you appear to be correct, to my great surprise. I honestly don't understand how we got here, except that somehow our enemies were even more grossly incompetent than ourselves. I guess that is often how war goes. it still makes me profoundly nervous. I'm also not sure how sustainable it is.

We've severely depleted our reserves of strategic resources in an effort by buy the Ukrainians time? What happens if/when China calls our bluff and finally invades Taiwan? Will we have blown our load too early?

The success of Ukraine against Russia on the field looks good for Ukraine, and great for the profound levels of financial and arms support we've given them. But what if it doesn't last with this Russian mobilization? What happens when the US is forced to partially mobilize it's economy in order to keep the aid up? It could be good for jobs and the economy. It could also be another corrupt clusterfuck that sends most of the money to our other strategic rivals overseas, China.

In order to best capitalize on Europe's great power demands, the US needs to be stepping up it's energy production. But decades of neoliberal policy treating energy companies as The Great Satan have made them too nervous. They think the football is going to be pulled away from them again, and so are content to make up for the losses they previously endured thanks to previous administrations lawfare against them. Ultimately we will fail to solidify this opportunity, and probably will allow it to slip away to the benefit of our strategic rivals.

In terms of US culture "successfully" fusing neoliberalism and leftism in a way that "works", I don't even know where to start. Whatever successes we've enjoyed on the world stage can hardly be attributed to that, and will likely be undermined by the schizophrenic priorities is forces on us. Like the above example of us squandering our opportunity to take a huge share of the world's energy market.

The deep state apparently still has enough institutional competence to fuck up the world, and leave the US as king shit of turd mountain. But our culture is too dysfunctional to actually build anything back up from there.

The heart wants what the heart wants.

Also, i strongly feel modern computing stands on the shoulders of giants. I get curious about what those giants were.

This week I spent a lot of time on EGA. Namely, putting a lot of the stuff I read last week into practice this week.

It took me a while to fully grock the different EGA write modes and register settings. And then there were the memory latches! Jeeze! I guess I should start at the beginning.

There are 4 bitplanes in EGA that overlap in memory space. One bit out of each of the 4 bitplanes combines to determine the color of 1 pixel on the screen. There are also 4 bytes of latches in EGA that correspond to each of the 4 bitplanes. These latches get loaded when you try to read EGA memory space, and some of it ends up in whatever register you read it to. Then when you write back to EGA memory space, the contents of the latches form the basis of what gets written back, modified in all manner of ways by the write mode and the registers set.

So far as I figure, write mode 0 is the most complex. In write mode 0, many registers effect what gets written to EGA memory. You have the bitmask, which determines which bits of the latches get overwritten by whatever byte you are writing to memory. You have the bitplane masks, which determines which bitplane latches get overwritten by the byte you are writing. You have the function/rotate register which sets if the bits get overwriten, or'ed, anded or xor'ed with the latches, and how far bits get rotated. And then you have the set/reset value/enable registers, which can override certain bitplanes to be set low or high regardless of the byte you are writing to memory says.

Mode 1 just dumps withever is in the latches. You mostly use it for dumb copying from EGA memory space to another spot in EGA memory space.

Mode 2 only uses the bitmask, and the lower nibble of the byte being written corresponds to what gets written to the bitplanes. So basically you can write colors to the screen without having to fuck with bitplane masks or the set/reset registers. I'm told it's good for plotting arbitrary pixels on the screen.

Anyways, as proof of concept I wrote a program to draw 16x16 sprites in a memory format that can easily be written to the screen in EGA. All in assembly, also in EGA screen mode 0x0d. I plan on using it to create artwork I can then load into other games.

Fun things I've found out. Using the mouse when you draw to the screen fucks up your drawing. The mouse stomps all over the EGA registers when you move it. So you either need to set the registers using an overly complicated API in the mouse drivers, so that it can restore them properly when it exits it's interrupts. Or you hide the mouse while you are drawing. Something I swear I remember the old Sierra adventures games like Space Quest III doing.

Please don't treat feminist definitions with the same seriousness as math theorems.

A rectangle is a parallelogram containing a right angle, because if it has one, it has four. This isn't a made up arbitrary distinction. You could spend the rest of your life trying to come up with a parallelogram with only a single right angle, and you couldn't.

Claims like "rape is about power" are easily disprovable. I mean, sometimes, sure. But not always, with abundant examples. You don't get to take a thing that has existed more or less since before our ancestors were sapient and notions of consent even existed, and redefine it. Then use clever word games to say "Well if it's nonconsensual sex and it's not about power, then it's not rape". Like you've discovered some immutable truth in the same vein as a parallelogram with one right angle must have four right angles.

Feminist definitions are just clever word games and political slogans. They carry little to no truth value what so ever, neither predictive or descriptive. Unlike your definition of a parallelogram.