User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(→‎In-game zombie names: Seeing that I thought November/December was hectic is now laughable in light of how much worse the subsequent months got. I was just telling someone a few days ago that things fell off a cliff in December and we're only just now recovering.)
 
Line 1: Line 1:
{{User:Aichon/Navbar|Talk}}
{{User:Aichon/talk header}}<!-- EVERYTHING GOES SOMEWHERE AFTER THIS. READ THE GUIDELINES AT THE TOP OF THE PAGE BEFORE POSTING. -->


<div style="{{User:Aichon/introblock}}">
== API help ==
{{User:Aichon/announce box}}
Bob Moncrief sent me your way. I'm looking at building a bot to prowl the Danger Reports and mark them as "unknown" after several months. I was thinking of using the API to pull page data and parse it to determine when it was last signed. It would also do the same for the MPMs every 5 days and mark them as 'old' or 'unknown' as needed. Bob didn't want to just give me the link to the API, and I don't blame him, but to talk with you about this. {{unsigned|Reimannsum|19:37, 5 January 2019 (UTC)}}
{{User:Aichon/guideline box|1=
:Sorry, but bots were never my area. From what I know, there isn’t a link to give you. Once you actually build a bot, a ‘crat can assign it bot permissions, but otherwise there’s not much more to it than Googling around to see how to actually build it. If [[User:Revenant|Revenant]] is around, he can probably point you in the direction of folks who have experience making bots. {{User:Aichon/Signature}} 23:41, 5 January 2019 (UTC)
<center>'''Please be aware of the following guidelines before posting here.'''</center><br />
*New conversations should be started at the '''bottom''' using a level two header (e.g. <code style="background: inherit;"><nowiki>==Header==</nowiki></code>).
*I like to keep conversations wherever they start, but if a conversation ends up here, '''I will keep it here'''.
*I will format comments for stylistic reasons, delete comments for whatever reason, and generally do anything else within reason.
Thanks. {{User:Aichon/Signature}}
}}


{{User:Aichon/archive box|1={{User:Aichon/talk archive links}}}}


{|style="position: relative; float: right; margin: 0px 0px 5px 10px;"
==Thanks==
|__TOC__
I only just realised you added the suburb mini-map to my user subpage about redoing the Main Page. Thanks so much for that! {{User:DanceDanceRevolution/sig5}} 00:01, 6 January 2020 (UTC)
|}
:Hah, yeah, I had to look up what you were talking about since I couldn't remember the details. Apparently I had some time to kill that day.
:Hopefully it proves helpful in the future. I eventually lost steam on my attempt at redoing the main page when I realized that the ideas we had weren't technically possible (no way to modify the CSS across all themes so that we could make drop-down menus work for everyone), but I'd love to see you get a redesign off the ground and put into place, since it needs an update and you've already had some good ideas for how to improve it. {{User:Aichon/Signature}} 21:28, 7 January 2020 (UTC)




== Massively Overdue Quizzle Prize ==
== Your template coding still manages to troll years later ==
{|style="border:solid 2px Gold;width:250px;text-align:center"
[[Soldiers of Confusedmen|This is comedy gold.]] --'''<span style="font-family:monospace; background-color:#222222">[[User:Spiderzed|<span style="color:Lime"> Spiderzed</span>]][[User talk:Spiderzed|<span style="color:Lime">▋</span>]]</span>''' 22:27, 28 February 2021 (UTC)
|rowspan=2|[[Image:Damn.gif|100px]]
:Hah! I haven’t played the game in years, but this made my day. I know there are a few other hidden gems scattered about, but I had forgotten about this one. Glad to see it paying dividends years later. {{User:Aichon/Signature}} 00:30, 1 March 2021 (UTC)
|style="background:Gold;color:white;font-size:small;line-height:1.5;width:100%"|'''Dancing Bear made of Gold!'''
::Someone played the long *con* here... --'''<span style="font-family:monospace; background-color:#222222">[[User:Spiderzed|<span style="color:Lime"> Spiderzed</span>]][[User talk:Spiderzed|<span style="color:Lime">▋</span>]]</span>''' 22:46, 4 March 2021 (UTC)
|-
|style="font-size:xx-small;line-height:2"|Yonnua has given Aichon an animated .gif of a dancing bear made of gold for solving a quizzle! (It might take a second to load)
|}
--{{User:Yonnua Koponen/signature‎}} 23:24, 2 October 2010 (BST)


Aichon you are beautiful. {{User:DanceDanceRevolution/sig5}} 11:53, 9 March 2021 (UTC)
:Just having a little fun. ;) {{User:Aichon/Signature}} 13:39, 9 March 2021 (UTC)


==Improvements to UDMap Script==
I made several improvements to the UDMap script that I'd like to share with the rest of the world. My version of the script is currently available [http://sites.google.com/site/thvortex/udmap.user.js here]. Would you be willing to incorporate these changes back into your own script page? I figured it would be easier for people to download off of your page since they already know where to find it, etc. I don't even have my own User:Thvortex page setup yet on the wiki. Anyway, below is the list of improvements I made.
* Clicking on a space in the suburb map opens the wiki page for that location in a new browser window. Yes, this works for all 100,000 locations :) It's handy for checking the recent status of a building. It did make the script about 300KB larger to include the link information.
* When moving the mouse over the suburb, there is now a GPS coordinate added to the name of the building or street over which the mouse is hovering.
* Clicking on the city map to change the suburb view did not work in Firefox and GreaseMonkey because of the security model that GreaseMonkey uses. Basically <tt>window.switch_map</tt> doesn't work but GreaseMonkey has a workaround in the form of <tt>unsafeWindow.switch_map</tt>. <b>Please verify my script still works in Safari though</b>.
* I make use of DumbWitness a lot, and I noticed that UDMap didn't quite work right in the captured screenshot. Basically, moving the mouse over the suburb map was not displaying the building names anymore. Turns out that DumbWitness was munging the page a little bit and when it saw a <tt>\"</tt> double-quote escape in a Javascript string it would cut off the rest of the code. So in one place I switched to using single quotes and apparently DumbWitness doesn't mind a <tt>\'</tt> escape. Of course, clicking on the city map in the DumbWitness screenshot still won't do anything because that requires a call-back to the user script, and that's no longer accessible in the captured screenshot.
--[[User:Thvortex|Thvortex]] 20:58, 12 October 2010 (BST)
:Holy cow, those changes are awesome and that's a lot of work you did there. Looking through the diff file, I don't see anything unexpected, and after installing it on Safari and fooling around with it a bit, I absolutely love the changes you made (and, yep, the <code>unsafeWindow</code> change works fine).


:How did you get all of the location links anyway? I had considered a feature like that at one point, but didn't feel like making a program to go through and determine the valid ones links from the invalid. I figured it'd just be easier and more generally useful at this point to push through a wiki project which aimed to create pages for each set of coordinates which then redirect to the actual location page, but I hadn't gotten around to that either. >_<
== The years fly by...==
Good to see you pop back in every now and then. Had a peek at your backloggery - just added you on Steam. Hope you're well! {{User:DanceDanceRevolution/sig5}} 01:27, 24 February 2023 (UTC)
:I was actually reminded to poke in because I just switched to using some note taking software (Obsidian) that can operate a bit like a personal wiki. And I’m doing great! Life’s been crazy, but in good ways. Another kid, a different (better) job, and parents retiring five minutes away have meant a lot of changes.
:Accepted on Steam, though I’m only marginally more active on Steam than here, so it’s nothing personal if it takes me a few months to notice a chat message. I actually still check Backloggery on a daily basis, even though I rarely engage with anyone socially.
:You been holding down the fort? Took a quick glance around and it seemed like there aren’t any projects that could use quick advice. Even the drama has been fairly low recently from what I’ve seen. And what’re you up to these days off-wiki anyway? {{User:Aichon/Signature}} 02:23, 24 February 2023 (UTC)
::Very low, very dormant. Just the same ol' wiki ticking along nowadays. Obviously it's a shame, but in some ways it's welcome. Parents retiring near you sounds like a great change, especially when kids are involved. What's new since we last chatted? Hmm. I got a mortgage and a ring, so that's new. No kids though. {{User:DanceDanceRevolution/sig5}} 09:19, 8 March 2023 (UTC)
:::Oh, ''just'' that? ;P Congratulations and well done! And no rush on the kids. We also enjoyed having a few years before the kids arrived, which gave us time to do some projects and traveling that would've been 10x harder with the kids. We love them and wouldn't change a thing, but renovating the kitchen or taking a transatlantic flight would be a non-starter for us these days. How's home ownership so far? Hopefully you've been able to enjoy the newfound freedom that comes from home ownership without having to deal with the headaches that can arise. {{User:Aichon/Signature}} 19:44, 22 March 2023 (UTC)
HELLO SIR LONG TIME NICE TO SEE YOU. --{{User:A Helpful Little Gnome/Sig}} 14:37, 24 February 2023 (UTC)
:SALUTATIONS IT HAS BEEN TOO LONG I RECIPROCATE YOUR SENTIMENT. {{User:Aichon/Signature}} 21:30, 24 February 2023 (UTC)


:The only change I might make is to put the coordinates at the front of the line, rather than the end, that way they don't look like they bounce around so much, but otherwise I absolutely love it all.


:Also, I get the distinct impression that you're much more proficient at this stuff than I am (it's just an idle time hobby for me), so any changes you want to suggest to other scripts would be most welcome. {{User:Aichon/Signature}} 21:29, 12 October 2010 (BST)
==    ==
::What I'd like to know is if this will break any of Aichon's current scripts... >_< --{{User:Axe Hack/Sig}} 21:34, 12 October 2010 (BST)
penus {{User:Misanthropy/Sig}} 01:04, 9 September 2023 (UTC)
:::It doesn't. The changes he made don't affect any of my other scripts from what I can see. I'll have an updated copy linked from my userscripts page in a sec. I did move the coords to the front of the name, and I also turned off the display for dark buildings and educational buildings, since I had inadvertently uploaded that version of the script awhile back (I use that myself for my Philosophe Knight, since we care about Centers of Learning, but I didn't mean to put it up for general use), but otherwise left it pretty much as you had it, Thvortex. {{User:Aichon/Signature}} 21:41, 12 October 2010 (BST)
:About twenty years back a grandparent told me a story about how they were talking with their very young granddaughter. The city of Miami came up at some point in one of their conversations. The granddaughter interrupted her grandfather. “Grandad”, she said, “It’s not your Ami, it’s my Ami.” Kids are selfish, yo.
::Aichon, For the non-descript locations I did a search/replace with regular expressions where the replace string can have <tt>\1</tt>, <tt>\2</tt>, etc. to substitute in parenthesized parts of the regex match. To handle the building names, I actually wrote a Python script that processed the Javascript array definitions to figure out which names are duplicate and therefore need to have the suburb added to the link. If you're curious, I can give you that little script as well. For a few like "The Dewberry Building" I had to go back and fix the links by hand. And I meant to say 10,000 locations not 100,000 :)
:Anyway, your misspelling reminded me of that story for some reason. {{User:Aichon/Signature}} 02:03, 9 September 2023 (UTC)
::i'm kids. {{User:Misanthropy/Sig}} 01:26, 10 September 2023 (UTC)


::And I agree that putting the GPS coordinates in the front is a better idea.


::While I do a lot of programming at work, it's all operating system code in C. I'm still somewhat of a newb when it comes to Javascript and Web development in general.--[[User:Thvortex|Thvortex]] 22:17, 12 October 2010 (BST)
==In-game zombie names==
:::Dangit all, why didn't I think of just processing over that array? Such a simple solution. For some reason I had it in my head to run a bot over the wiki in order to resolve the building names that repeat, and it was going to be more effort than it was worth. And sure, I'd be interested in having a copy of that script around for possible later use. {{User:Aichon/Signature}} 00:15, 13 October 2010 (BST)
Hello Aichon! There's a script of yours I would really like to use that I just can't seem to get working. I have had another player test too with the same problem. It's UD Same Character Highlighter. Sometimes with your scripts it's just a matter of changing the old references to http to https, but that didn't save me this time. Would be very handy to get Same Character Highlighter working for my group as we're zombies and it's a nightmare tracking who said what in-game as it just says "a zombie said". A full zombie name displayer would be even better, but I don't think there's a script for that? Thanks! {{unsigned|Ragno|10:59, 16 November 2023 (UTC)}}
::::The script is [http://sites.google.com/site/thvortex/makelinks.py here]. Commented lines on top are the search/replace expressions I've been using. The Javascript declarations were close enough to Python's that I could just copy & paste the code over. The extra <tt>o += </tt>... code was to keep the order of the declarations the same on output. I would tweak the script slightly for each building type.--[[User:Thvortex|Thvortex]] 06:43, 13 October 2010 (BST)
:Sorry for the super-slow response. It's been...a hectic few weeks. It's been a bit since I've been active in-game. Is Dumbwit or some other service that captures a snapshot of the game still around? If so, can you link me to a recent one that shows something like what you're talking about where a group of zombies is talking back and forth? Testing UD Same Character Highlighter was always tough because those messages disappear if you refresh the page, so I used to have a handful of iWits or Dumbwits around to help with testing it.
:::::Many thanks. And thanks again for the changes to the script. They still look great a day later. ;) {{User:Aichon/Signature}} 22:46, 13 October 2010 (BST)
:No promises on a timely fix for this (i.e. it may never happen, so don't get your hopes up too much), but if time allows in the next few weeks I'll see what I can figure out. {{User:Aichon/Signature}} 16:39, 1 December 2023 (UTC)
 
::No worries on response time, thanks very much for giving it a look. Here's a couple of ispy links that you can try it on.
== Damn my eyes! ==
:: https://ispy.dxavier.net/1459863366.html https://ispy.dxavier.net/1641562398.html  {{unsigned|Ragno|22:15, 06 December 2023 (UTC)}}
 
:::Good news - Avarice77 fixed it for me. Thanks! https://greasyfork.org/en/scripts/497161-ud-underline-related-profile-links {{unsigned|Ragno|14:56, 17 June 2024 (UTC)}}
Where is UD? --{{User:Rosslessness/Sig}} 13:37, 15 October 2010 (BST)
::::Awesome. Yeah, I've had a reminder poking me about this every week for the last few months, but it had been so long that I forgot what my reminder was even about. >_< I'm very glad you were able to get it sorted out. I'll update that entry with a link to his code. Thanks! {{User:Aichon/Signature}}
:Found it. --{{User:Rosslessness/Sig}} 13:41, 15 October 2010 (BST)
::I'm so confused... {{User:Aichon/Signature}} 16:18, 15 October 2010 (BST)
:::Your News update from the 6th. --{{User:Rosslessness/Sig}} 17:33, 15 October 2010 (BST)
::::Oh, that wasn't my update. Someone else posted it. I just responded. {{User:Aichon/Signature}} 18:10, 15 October 2010 (BST)
 
== mac ==
 
What IRC client do you use on mac? Also, what's the story behind the text gradient code you have as your header on this page that can only be seen on safari? It's incredible. -- {{User:DanceDanceRevolution/l}} 13:51, 16 October 2010 (BST)
:Colloquy is my preferred IRC client (I use it with the Synapse theme that it comes with). It's free and works great.
 
:As for the gradient, basically, both Firefox and the WebKit browsers (Safari and Chrome) support "alpha masks", which you can kinda think of as images that you can put on top of/overlay on other images or text which make different parts of the lower image transparent to different extents. For a different analogy, they're more like those slides/transparencies that you'd use with the old fashioned overhead projectors, but rather than being completely clear, you can put any image on them that you want, and when you lay it over another slide/transparency, it would block out parts of the lower image. Anyway, in addition to that, WebKit supports the ability to create gradients programmatically, which can then be used as an alpha mask. So, that's what I did. It should work in both Safari and Chrome, I believe. Firefox will eventually get the ability to do it, I'm sure. And maybe in 10-15 years IE users (assuming it's even still around) might be able to enjoy it too. :P {{User:Aichon/Signature}} 17:08, 16 October 2010 (BST)

Latest revision as of 15:50, 17 June 2024

Aichon:Talk
Aichon
ˈīˌkän :Talk

Announcement: I'm no longer active. My talk page is still your best bet to get in touch. Aichon 04:39, 15 December 2018 (UTC)

Please be aware of the following guidelines before posting here.

  • New conversations should be started at the bottom using a level two header (e.g. ==Header==). Or with the +
  • I like to keep conversations wherever they start, but if a conversation ends up here, I will keep it here.
  • I will format comments for stylistic reasons, delete comments for whatever reason, and generally do anything else within reason.

Thanks. Aichon

NOTICE

Archives: 2018 | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | To do

API help

Bob Moncrief sent me your way. I'm looking at building a bot to prowl the Danger Reports and mark them as "unknown" after several months. I was thinking of using the API to pull page data and parse it to determine when it was last signed. It would also do the same for the MPMs every 5 days and mark them as 'old' or 'unknown' as needed. Bob didn't want to just give me the link to the API, and I don't blame him, but to talk with you about this. —The preceding unsigned comment was added by Reimannsum (talkcontribs) 19:37, 5 January 2019 (UTC).

Sorry, but bots were never my area. From what I know, there isn’t a link to give you. Once you actually build a bot, a ‘crat can assign it bot permissions, but otherwise there’s not much more to it than Googling around to see how to actually build it. If Revenant is around, he can probably point you in the direction of folks who have experience making bots. Aichon 23:41, 5 January 2019 (UTC)


Thanks

I only just realised you added the suburb mini-map to my user subpage about redoing the Main Page. Thanks so much for that! DANCEDANCEREVOLUTION 00:01, 6 January 2020 (UTC)

Hah, yeah, I had to look up what you were talking about since I couldn't remember the details. Apparently I had some time to kill that day.
Hopefully it proves helpful in the future. I eventually lost steam on my attempt at redoing the main page when I realized that the ideas we had weren't technically possible (no way to modify the CSS across all themes so that we could make drop-down menus work for everyone), but I'd love to see you get a redesign off the ground and put into place, since it needs an update and you've already had some good ideas for how to improve it. Aichon 21:28, 7 January 2020 (UTC)


Your template coding still manages to troll years later

This is comedy gold. -- Spiderzed 22:27, 28 February 2021 (UTC)

Hah! I haven’t played the game in years, but this made my day. I know there are a few other hidden gems scattered about, but I had forgotten about this one. Glad to see it paying dividends years later. Aichon 00:30, 1 March 2021 (UTC)
Someone played the long *con* here... -- Spiderzed 22:46, 4 March 2021 (UTC)

Aichon you are beautiful. DANCEDANCEREVOLUTION 11:53, 9 March 2021 (UTC)

Just having a little fun. ;) Aichon 13:39, 9 March 2021 (UTC)


The years fly by...

Good to see you pop back in every now and then. Had a peek at your backloggery - just added you on Steam. Hope you're well! DANCEDANCEREVOLUTION 01:27, 24 February 2023 (UTC)

I was actually reminded to poke in because I just switched to using some note taking software (Obsidian) that can operate a bit like a personal wiki. And I’m doing great! Life’s been crazy, but in good ways. Another kid, a different (better) job, and parents retiring five minutes away have meant a lot of changes.
Accepted on Steam, though I’m only marginally more active on Steam than here, so it’s nothing personal if it takes me a few months to notice a chat message. I actually still check Backloggery on a daily basis, even though I rarely engage with anyone socially.
You been holding down the fort? Took a quick glance around and it seemed like there aren’t any projects that could use quick advice. Even the drama has been fairly low recently from what I’ve seen. And what’re you up to these days off-wiki anyway? Aichon 02:23, 24 February 2023 (UTC)
Very low, very dormant. Just the same ol' wiki ticking along nowadays. Obviously it's a shame, but in some ways it's welcome. Parents retiring near you sounds like a great change, especially when kids are involved. What's new since we last chatted? Hmm. I got a mortgage and a ring, so that's new. No kids though. DANCEDANCEREVOLUTION 09:19, 8 March 2023 (UTC)
Oh, just that? ;P Congratulations and well done! And no rush on the kids. We also enjoyed having a few years before the kids arrived, which gave us time to do some projects and traveling that would've been 10x harder with the kids. We love them and wouldn't change a thing, but renovating the kitchen or taking a transatlantic flight would be a non-starter for us these days. How's home ownership so far? Hopefully you've been able to enjoy the newfound freedom that comes from home ownership without having to deal with the headaches that can arise. Aichon 19:44, 22 March 2023 (UTC)

HELLO SIR LONG TIME NICE TO SEE YOU. --  AHLGTG THE END IS NIGH! 14:37, 24 February 2023 (UTC)

SALUTATIONS IT HAS BEEN TOO LONG I RECIPROCATE YOUR SENTIMENT. Aichon 21:30, 24 February 2023 (UTC)


penus We're coming to get you, Barbara 01:04, 9 September 2023 (UTC)

About twenty years back a grandparent told me a story about how they were talking with their very young granddaughter. The city of Miami came up at some point in one of their conversations. The granddaughter interrupted her grandfather. “Grandad”, she said, “It’s not your Ami, it’s my Ami.” Kids are selfish, yo.
Anyway, your misspelling reminded me of that story for some reason. Aichon 02:03, 9 September 2023 (UTC)
i'm kids. We're coming to get you, Barbara 01:26, 10 September 2023 (UTC)


In-game zombie names

Hello Aichon! There's a script of yours I would really like to use that I just can't seem to get working. I have had another player test too with the same problem. It's UD Same Character Highlighter. Sometimes with your scripts it's just a matter of changing the old references to http to https, but that didn't save me this time. Would be very handy to get Same Character Highlighter working for my group as we're zombies and it's a nightmare tracking who said what in-game as it just says "a zombie said". A full zombie name displayer would be even better, but I don't think there's a script for that? Thanks! —The preceding unsigned comment was added by Ragno (talkcontribs) 10:59, 16 November 2023 (UTC).

Sorry for the super-slow response. It's been...a hectic few weeks. It's been a bit since I've been active in-game. Is Dumbwit or some other service that captures a snapshot of the game still around? If so, can you link me to a recent one that shows something like what you're talking about where a group of zombies is talking back and forth? Testing UD Same Character Highlighter was always tough because those messages disappear if you refresh the page, so I used to have a handful of iWits or Dumbwits around to help with testing it.
No promises on a timely fix for this (i.e. it may never happen, so don't get your hopes up too much), but if time allows in the next few weeks I'll see what I can figure out. Aichon 16:39, 1 December 2023 (UTC)
No worries on response time, thanks very much for giving it a look. Here's a couple of ispy links that you can try it on.
https://ispy.dxavier.net/1459863366.html https://ispy.dxavier.net/1641562398.html —The preceding unsigned comment was added by Ragno (talkcontribs) 22:15, 06 December 2023 (UTC).
Good news - Avarice77 fixed it for me. Thanks! https://greasyfork.org/en/scripts/497161-ud-underline-related-profile-links —The preceding unsigned comment was added by Ragno (talkcontribs) 14:56, 17 June 2024 (UTC).
Awesome. Yeah, I've had a reminder poking me about this every week for the last few months, but it had been so long that I forgot what my reminder was even about. >_< I'm very glad you were able to get it sorted out. I'll update that entry with a link to his code. Thanks! Aichon