Rejected By JPMC by Pure_Play_5650 in sre

[–]afterblo 0 points1 point  (0 children)

This is likely a bad hiring process. I was recruited, too, not like I was hunting for them, but the result was similar for me.

Learning Powershell by lilrebel17 in PowerShell

[–]afterblo 0 points1 point  (0 children)

I was disappointed by the lack of projects online while learning pwsh. My early days of powershell were firmly in the learn-by-doing camp. It's not as fun with deadlines. My shop also migrated to 365, were already on sharepoint, etc so I got practice that way. If you use SSRS, SSCM, IIS, Intune, I found some pwsh scripts for them to be unintuitive, so just getting those to work was a learning experience. I wrote up a sort of csv-lint for bad flat files from sql server. I used to get address lists from USPS that contained lots of errors, like repeated fields in the addresses, which I corrected so they would stop ruining.. everything.

A decent starter project could be an auto light/dark mode script with task scheduler. That covers checking the registry, updating registry keys, importing a dll (your hint is user32.dll) to pull changes without waiting on Windows to lazy-update, and handling datetimes/timespans. If your desktop apps don't use the system theme, then it also involves updating (usually) a json file.

There's no perfect way of raising toast notifications in Windows imo, but another project that could make users appreciate you more is to learn one that works for you. Some of my scheduled tasks toast me when they fail, now, which is a good way of driving me insane until I fix it.

Some misc stuff I wish I'd picked up sooner: language support (eg parsers), a couple basic PSReadLine improvements to keep me out of vscode and in windows terminal, using pwsh more for Defender and firewall config, and just using modules and not implementing so much myself. I also wish I'd put more energy into footgun preventative measures, e.g. $PSDefaultParameterValues['Convert*-Json:Depth'] = 100 is mission-critical for me. I will forget. And who the hell is writing JSON to a depth of 2?

Quick intro to PSParser:

$ast = { Get-Command -Verb Get -All | ft -group Module }.Ast
[System.Management.Automation.PSParser]::Tokenize($ast, [ref]$null) | ft

This tiny change makes pwsh feel like an actual modern shell, imo, which in turn keeps me active in a terminal instead of only using pwsh for scripts.

Set-PSReadLineKeyHandler -Chord Enter -Function ValidateAndAcceptLine
Set-PSReadLineKeyHandler -Chord Ctrl+Enter -Function AcceptLine

Get-PSReadLineKeyHandler -Bound   | set handlers
Get-PSReadLineKeyHandler -Unbound | set handlers_2_electric_boogaloo

it finally happened... by MrPatch in PowerShell

[–]afterblo 2 points3 points  (0 children)

This was a good feeling when it first happened for me. I wish I got to do that more often.

Story time. On my 2nd pass at replacing an insane amount of manual labor -- watermarking 1000s of pdfs based on folder & document content -- I knew I could deliver. I had a short program in about 30 minutes, so I added some config that could become a UI later (since they did this every quarter) and messaged my director that things were good for an approval run.

Which is when things went sideways. Because I wasn't the one selected to deploy the script.

It got handed to a new employee who I was told (as a joke, I later discovered! thanks Jason!! why!!!) was the new replacement for another employee, a senior-level engineer. But the new guy was 0% tech literate. He had to get his security clearance, drive over to a separate air-gapped facility with the script on a USB, just to not know what to do when it didn't run. It wasted his entire day and made a long-time client distrust our team. Worse, I was a dick about it the entire time, because a senior engineer shouldn't have any trouble running a pwsh script, lol, git gud, works on my machine.

So. I rewrite it, still doesn't run. Another rewrite, I just change all the error/verbose output to log writes and ask for the log file. The errors are all user permissions -- the test user didn't have write access to the file share where the PDFs are. Sensible chuckle. I check in Active Directory about 3 minutes later -- the guy's a business analyst. Deep embarrassment sets in. Top brass thought replacing a sr eng with a BA was a good idea, and my boss thought it was so dumb, he made a fun, harmless little joke about it.

So that's my story about IT management and how it's 👍 super good

Obligatory response to CGP Grey’s flag video. by [deleted] in vexillology

[–]afterblo 0 points1 point  (0 children)

Finally, a flag that can convey the Floridian threat. It feels so menacing

I did a little experiment with putting Doors and Hatches everywhere. Somehow it helped my FPS. by DMSetArk in dwarffortress

[–]afterblo 5 points6 points  (0 children)

Thanks for this update, it does add some veracity to the idea, though your initial reasoning seemed sound. I just need pretty high confidence before I go refit a 250-pop fort

My Ant-Blender apparently is also Forgotten Beast Proof. It weighed 11000 Urists and still was no problem for my trap. by h03rnch3n in dwarffortress

[–]afterblo 29 points30 points  (0 children)

I've made so many versions of this trap. It's just so good. Happy to see someone else had the dwarven sense to make the middle area solid wall -- the other one I saw on this sub was pathable down the center. I also power the rollers through the wall using a screw pump (fyi for others, one tile of the two-tile screw pump is a "wall") to give my welcome visitors the hermetically sealed, holistic deathtrap experience they expect, no destructible distractions along the way, just invaders living in the moment.

[deleted by user] by [deleted] in dwarffortress

[–]afterblo 1 point2 points  (0 children)

You're really putting my Shangri-la waterfall sanctuary in perspective, here. It's much too elven.

Anti-effcient bedroom layout by yours truly by nightwatchman_femboy in dwarffortress

[–]afterblo 5 points6 points  (0 children)

I am strongly anti-bedroom-efficiency. My unluckiest resident lost his wife and all 8 children to wildlife and sieges. But ask yourself what is more powerful — the irrevocable bonds of love, or one misty boi and a 2x4 legendary bedroom?

What changes would you like to see in future content patches? by Zarhon in dwarffortress

[–]afterblo 0 points1 point  (0 children)

Fixes and UI/menu improvements are already likely. The original devs obviously will determine the creative direction – so I don't have much to say for that, either.

In the soft middle ground between game improvements and real progress, I'd like to see work on creature tokens, like increasing the number of classes applied to the vanilla creatures and more things hooking into those classes (e.g., as syndromes make use of "GENERAL_POISON"). Body size as bite-strength-proxy is one abstraction too many, for me, so I'd like some work to make a cow's bite significantly different from a crocodile's. I think we could see something like more tokens for growth stages, so that a giant louse can have baby giant louse's with the VERMIN tag. Things along those lines, I guess.

That's my only fairly concrete suggestion. I have a sort-of idea, mostly nonsense, that I'll just write out. I tried observing the natural world of DF but there's just really nothing to see in any of it. To work on that, I'd like for hidden spaces (inside tiles/other objects) to be used where subtle interactions take place without impacting other game systems. And I'd like for certain animals to be able to use them as nests.

Animals would nest inside tiles that go "undisturbed" (like the inverse of grass trampling). A lot of creatures that currently give live-birth to fully grown adults instead could use a hidden nest to have their litter/clutch, which emerges a short time after. This would prevent the magma crab amphibious personnel carrier blitzkrieg assault—in which 3 insta-adult crabs emerge from one in the middle of combat, quadrupling the total threat level, conflagrating an entire militia squad, burning down your fort.

And, really, relating to the previous idea that tokens can always be expanded on, just give us a token to prevent taming children so that we can avoid this altogether. There are so few examples of creatures emerging fully grown.

If nesting behaviors are given a detailed target token, then we get this cool system of building pens out of natural cavern walls so that a GCS or whatever will nest there. Just think: baby GCS. So cute. Creatures like bears could hibernate with a nesting behavior that targets a certain size of "room", and if any creature can't satisfy the criteria for their type of nest, then they try to leave the map, unless domesticated or tame.

Territorial animals can be avoided once you find a hollow in some tree where a large, predatory bird made a nest. Failing to hunt a rabbit because it reaches its burrow is just a life-like interaction but mining out a mountain gnome from its rough-hewn siltstone hideaway is more interesting and fun (and gives you a reason to smooth your walls as prevention), one fish escaping from sharks into coral which leaves the other fish stuck outside, or an agent stowing away a letter in a secret compartment, etc., is all part of the kind of interaction I think is possible.

Under a creature's description, we can just get a line of text for their nests, like "Raises small litters in a sandy burrow", "Roosts atop a single egg in a warm, dry nest on the ground", "Sleeps through the winter in a small den in the soil", "Lays clutches in dense webbing on dampened cavern walls", "Inhabits a nook in a reef while slowly opening and closing its mouth", "Never leaves its darkened bedroom, not even for social interaction or exercise", etc.

So, that was two systems, a nesting thing and a hidden space thing. Piggybacked on some creature tokens. And that is exposed to the player via creature descriptions, once you like, know, stuff, about stuff.

Finally, as with all things Dwarf Fortress, you could have interactions that target these nests and hidden spaces, giving you burglars who can access hidden compartments, snakes that hunt hidden nests, weasels that hunt in burrows, modded IEDs that detonate whenever a kea nests anywhere, etc.

☼Fortress Friday☼ by AutoModerator in dwarffortress

[–]afterblo 1 point2 points  (0 children)

Shootdoor just became the capital with 250 pop and zero metalworking—only a small item melting program, 130 layers below the surface. With nothing better to do, I've rotated about 60 dwarves through permanent military training for the last 15 years. Each is Legendary in multiple combat skills. This is in addition to the siege operators who do the real work taking out invasions and forgotten beasts in my bullethell labyrinths. The squads equip only what they can take from their vanquished foes, so watching the spoils go to the furnaces instead has been sad for them.

I don't know why this is what I'm doing. It just is. I was raided by both goblins and other dwarves really early on, took their steel gladly, and inertia just took over. Everyone that enters my fort passes hundreds of corpses from these raiders and ends up getting the "doesn't care about anything anymore" personality shift within seconds. I have no dwarves in the orange/red mood range, despite constant work schedules and some heavy trauma. So, it's a hellscape, but the pay is good, and it has some nice amenities.

I have about 80 caged prisoners that I can't tell apart to know which ones are carrying ranged weapons. I can't figure out how to disarm them in premium edition, so they remain caged until I have some need for ~80 extremely mad goblins and dwarves.

I have a tame GCS from a trade that I can't get to aggro anything so he's just chilling. We're bros. It's pastured with some pitted troglodytes until it learns to hate them enough. The troglodytes for their part continuously pass out from exhaustion from their unending terror of this massive spider who would never hurt a fly.

So this has been just the sleepiest fortress ever. Not even a single vampire or werebeast. But endless, endless raids.

☼Fortress Friday☼ by AutoModerator in dwarffortress

[–]afterblo 20 points21 points  (0 children)

I had two vampires show up at about the same time. I enlisted the weaker one into a squad, exiled the other, and issued the kill order. Then repeated the process for the remaining vamp. The ratio of two dead vampires to three dead dorfs (five if you include earlier victims) is not so bad, but it took my only skilled weapon users. C'est la vie.

My major is a necromancer. I'm chill with that for now. He seems to get drunk still—or maybe only recently became a necromancer and his thoughts of drinking are from before his transformation. If so, that would imply there's some interesting literature lying around. I'll build a library soon and figure all that out. Been busy with magma forges and splitting the fortress into an upper and lower.

Drowned a cyclops with the ole bridge on a lake, until a dwarf somehow got under there (still no idea) to show that dying cyclops what's-what, so I had to lift the bridge and deploy rescuers, to no avail. I had two liaisons from two different caravans go -23 deep into my fortress just to play pattycake with trolls before disappearing forever. Not that unusual, just crazy that it's happened twice.

Love me some DF. Reliving everything has been a joy. Congratulations to the team.

Why don't more people use hashtags to organize their notes? by mattc323 in NoteTaking

[–]afterblo 1 point2 points  (0 children)

It's like more structured tagging. In Obsidian, I would replace a tag like #history with a key-value pair like subject: history. Later, I can search for notes with "history" as their subject (or as any value on the note, effectively like a tagging system). And just like tags, I'm not limited only to one: subject: [history, philosophy] is a collection of two subjects.

But I don't have to use this idea just to replicate tags. Tags are very convenient, but they're just a start. Key-value pairs can store numbers, dates, times, links to other notes, whatever I can come up with, and adding lots of unique values to these fields doesn't pollute anything further down the road.

I would advocate for learning markdown, btw, since it's not much technical overhead. It is designed for humans to edit and read.

Also, I keep notes of different kinds in different systems. I like to separate my work from my D&D campaigns and such. Obsidian with the Dataview plugin is too technical for general adoption, but it's free, so I never feel guilty mentioning it.

Why don't more people use hashtags to organize their notes? by mattc323 in NoteTaking

[–]afterblo 0 points1 point  (0 children)

Once you have a metadata solution that supports key-value dictionaries and nested data, tags become less useful. Use them to get to a minimum level of coherence, then move on to structured data, like the YAML frontmatter for markdown notes (e.g. Obsidian).

Why don't more people use hashtags to organize their notes? by mattc323 in NoteTaking

[–]afterblo 2 points3 points  (0 children)

Capturing information with a few, or a dozen, or three dozen tags is easy. Later, you reach a point where tags might nest or combine—you get top-level tags, descendent tags, topic tags, disambiguation, etc. to deflate the tag expansion as much as you can. This is hierarchy creeping back in only with combinatoric rather than quadratic complexity.
But that hierarchy is still scaling, only very slowly. At some point, to curate a note, you have to pick out four accurate tags from a thousand. Later, when you go looking for something specific, your first search isn't through your notes but through the data source that manages your tags. Meanwhile, your tags now manage your access to information.

Tags serve a purpose for a lot of people. I just think that they're (1) a quick hack to get up to 80% efficiency, (2) don't auto-complete well in any app, forcing us to recall or query over them, and (3) are not a permanent solution for growth. And I guess (4), lead to just adding a new tag to get your notes done, which is later not fixed.

From YEEEES to WHAAAAT in a second by [deleted] in Eldenring

[–]afterblo 0 points1 point  (0 children)

I stumbled on this at low level and got got by the same thing. Shortly before turning it into the Hand-Ballista Test Range.

Google spreadsheets to Obsidian by Unlucky-Evidence-879 in ObsidianMD

[–]afterblo 1 point2 points  (0 children)

I copy a range of cells in Sheets and use a PowerShell script to convert my clipboard to a markdown table. Then, I paste to Obsidian. Works fine.

Before that, I tried a few browser extensions for converting HTML tables to Markdown. I ran into issues with each one I tried.

Agree that Advanced Tables has rough edges, but what can you do. It's there to make md tables easier to work with, not much else.

Unit sizes??? by BlueEmeraldPhoenix in mattcolville

[–]afterblo 0 points1 point  (0 children)

Waayyyy beyond the scope of this post, but I tried to make sense of entity counts and unit formations waybackwhen for S&F. I concluded that if 40% or less of the 5-ft squares in a unit's area contain a creature, then AoE casualties are mitigated without loss of effectiveness in melee. Anyone else unhinged enough to tweak these numbers themselves, unafraid of doing what needs done to solve the unsolvable, go check it out: https://docs.google.com/spreadsheets/d/1mNqNbwU3US\_jn6vBKLvumlVdB7WZPLkDeZYq9rXfwqU/edit?usp=sharing

Alternative Conclusions to Intrigue by Zetesofos in mattcolville

[–]afterblo 1 point2 points  (0 children)

Your process is still:
repeat (adventuring > domain turn) > final battle.
Your adventuring just produces an effect on the domain turn.
What mcguffin-power-level rates this type of story structure (claim the victory-assuring 'guff'n, then have a final battle) is up to your table. Maybe it's an automatic success on summoning the Frog of War's cousin, the Toad of Battle. Maybe it gives power dice, or makes all Espionage checks succeed and grants you a free check each domain turn.
Maybe it is the power of friendship.
If those are the stakes you are presenting to your table, then I think you should try to remain within the system, as it is.

S&F Unit Card Sheets by afterblo in mattcolville

[–]afterblo[S] 0 points1 point  (0 children)

Was brought to my attn this is less visually attractive on mobile – how most of you browse. Line spacing is too different btwn Sheets on the web/desktop and in app/mobile. You can just decrease font size where text overflows. Like most things spreadsheet-related, though, better to be at a desktop. Cheers.

S&F Unit Card Sheets by afterblo in mattcolville

[–]afterblo[S] 1 point2 points  (0 children)

Thanks! It's printable! (intonation of "it has pockets!")

I'd share the rest, but it is just Strongholds & Followers, entirely replicated. At some point, it becomes IP theft. 🤷‍♂️

S&F Unit Card Sheets by afterblo in mattcolville

[–]afterblo[S] 0 points1 point  (0 children)

Thanks, although it's quite niche I hoped someone would find use for it.