there were a lot of events recorded by gharchive.org of which 1,845,844 were push events containing 2,633,090 commit messages that amount to 157,804,467 characters filtered with words.py@e23d022007... to these 44 messages:
post By the time this movie came out in 2005, I was already deep into superhero media, and I love using recycled tropes to tell an interesting story. This does an excellent job, and it was a favorite for my whole family when it came out. (In fact, I hdn't remembered until rewatching it that one of my family's shared verbal tics comes from a running gag involving Ron Wilson, Bus Driver). When the latest episode of The Incomparable covered this movie, I decided to watch it with my daughter, who also loved it. It's funny, well-plotted, and endearing, and I'm glad to have rewatched it for the first time in years and years.
(hopefully) webedits a grammatical correction into headbite's kill message (#2537)
when someone dies to headbite it displays as
Urr Mot'herr has died to executed by headbite at the Containers from Elder Lurker (GIT-222)
hopefully with this simple one line webedit it should instead be
Urr Mot'herr has died to headbite execution at the Containers from Elder Lurker (GIT-222)
god fucking knows if this is the right line
uhm it reads better
Screenshots & Videos
github
🆑 spellcheck: 'executed by headbite' to 'headbite execution' when listing someone dying to a headbite in deadchat /🆑
Adds Ludicrously In-Depth Black Market to Recquisitions. (#2014)
VASTLY enhances the Black Market. Black market items are obtainable by deconstructing a supply computer and pulsing the circuit board. If you're knowledgeable in engineering enough.
Added a whole new category for black market items and thoroughly enhanced the possible contraband items to order. Guns, drugs, and worse are plentiful in stock...
Various valuable, rare, or otherwise interesting items now have a 'black market value' that allows them to be sent down the ASRS elevator in exchange for black market points to order various things with. Anything that's 'rare' is probably worth something. Added a scanner to the black market to let them detect said points.
Added DIALOGUE to the black market.
FIxed some construction wirecutter steps needing a screwdriver for some reason.
Changed up Req's mapping to add a hidden storage room.
slightly changed human remains' description
Added the maintenance jack, can be found in the black market for now.
Improved supply shuttle code somewhat.
VASTLY enhances the Black Market. Black market items are obtainable by deconstructing a supply computer and pulsing the circuit board. If you're knowledgeable in engineering enough.
Black Market is comically underused, by comically enhancing it like this it will freshen shipside roleplay and create new and interesting scenarios for MPs, req, and bystanders to interact with.
Added a whole new category for black market items and thoroughly enhanced the possible contraband items to order. Guns, drugs, and worse are plentiful in stock...
The contraband needs to be actually meaningful to the players for it to have any impact. The list of loot has been curated so that players will be intrigued, but will not be able to abuse it for too-stronger-than-usual gear without blatant drawbacks.
Various valuable, rare, or otherwise interesting items now have a 'black market value' that allows them to be sent down the ASRS elevator in exchange for black market points to order various things with. Added a scanner to the black market to let them detect said points.
This means CTs could go on scavenger hunts through the ship, evading curious MPs to sift through maintenance and various hidey holes scanning everything.
Added DIALOGUE to the black market.
Finally, we have dialogue in CM! The very first human NPC. We're ignoring WO because nobody likes WO.
FIxed some construction wirecutter steps needing a screwdriver for some reason.
Necessary in this PR to avoid stupid confusion when deconstructing the computers.
Changed up Req's mapping to add a hidden storage room.
To let CTs hide their goodies so they won't be in open sight. NOT DONE YET!
Screenshots & Videos
Put screenshots and videos here with an empty line between the
screenshots and the <details>
tags.
🆑 add: VASTLY enhances the Black Market. Black market items are obtainable by deconstructing a supply computer and pulsing the circuit board. If you're knowledgeable in engineering enough. add: Added a whole new category for black market items and thoroughly enhanced the possible contraband items to order. Guns, drugs, and worse are plentiful in stock... add: Various valuable, rare, or otherwise interesting items now have a 'black market value' that allows them to be sent down the ASRS elevator in exchange for black market points to order various things with. Anything that's 'rare' is probably worth something. Added a scanner to the black market to let them detect said points. add: Added DIALOGUE to the black market. fix: FIxed some construction wirecutter steps needing a screwdriver for some reason. spellcheck: slightly changed human remains' description add: Added the maintenance jack, can be found in the black market for now. code: Improved supply shuttle code somewhat. /🆑
Co-authored-by: harryob [email protected] Co-authored-by: XSlayer300 [email protected] Co-authored-by: Segrain [email protected] Co-authored-by: Zonespace [email protected]
Remove code of conduct
On reflection, it seems like more trouble than it's worth right now. Despite writing one on GitHub's recommendation, this kind of thing would tend to scare me off of a project rather than make me feel comfortable, the same way a "privacy policy" would make most people uncomfortable. ("Oh, you feel the need to legally cover yourself because you're in a position to be doing potentially shady things with my private information? So you're going to make me comb through pages of legalese to find the gotchas? Gee, thanks." Similarly, needing a "code of conduct" suggests there was past community misconduct. We're not there yet, and I don't want to suggest we are until that happens.) I'd rather rely on present GitHub norms than try to invent my own. It can be resurrected from the repo (or rewritten) if it ever becomes necessary.
PAIN, PURE SUFFERING
I love Neco Arc! Neco Arc is all that I think of. Neco Arc is the best thing that I ever saw. It all started on Discord, on a videogame music server. I started seeing those gifs of a cute small catgirl dancing the gangnam style dance. It was very funny, but I continued with my life. Then, I saw it again. This time she was riding a car. The next one was the thing that made me realize how perfect this character is. Her little voice saying "dori dori dori dori" made me realize I just found the meaning of life. Neco Arc became my entire life after that. I will do anything to meet this perfect being. I want to hug her tightly while she purrs feeling comfortable in my arms. I will find a way to meet Neco Arc. I do not care what I have to do. I don't care anymore. I will do anything to meet Neco Arc. I want her to say "Gurenyuu" as she walks around, showing everyone what the perfect life is. Neco Arc will show us how to become better. Neco Arc is the new symbol of peace. Dori dori dori dori.
Create RegularChatbot.js
Instructions You have been hired as a Regular Expression Specialist in a company that is developing a Chatbot.
It is in a very basic phase of development, hence your mission is to use Regular Expressions to improve the chatbot's ability to understand and generate natural language.
Check Valid Command Apart from being smart, the Chatbot is also a loyal assistant.
To ask something to the chatbot, the user must say the word “Chatbot” in the first position of the command.
It doesn't matter if the keyword is in UPPERCASE or lowercase. The important aspect here is the position of the word.
Implement the function isValidCommand() that helps the Chatbot recognize when the user is giving a command.
isValidCommand("Chatbot, play a song from the 80's."; // => True isValidCommand("Hey Chatbot, where is the closest pharmacy?"; // => False isValidCommand("CHATBOT, do you have a solution for this challenge?"; // => True Remove encrypted emojis The Chatbot has a difficult time understanding how humans use emojis to express their emotions.
When the chatbot receives user messages, each emoji is represented as “emoji” followed by its id number.
Implement the removeEmoji() method to take a string and remove all the emoji’s encryption throughout the message.
Lines not containing emoji’s text should be returned unmodified.
Just remove the emoji string. Do not attempt to adjust the whitespace.
For this particular challenge, use constructor syntax for creating the regular expression.
removeEmoji("I love playing videogames emoji3465 it's one of my hobbies"); // => "I love playing videogames it's one of my hobbies" Check Valid Phone Number Considering the download of chatbot features on a mobile app, the user is expected to write a phone number during the conversation.
The problem is that the chatbot can only read and validate a number with a specific format.
If the number is valid (matches the character sequence specified by the regular expression), the chatbot answers with a message thanking the user and confirming the number. If the number is invalid, the function informs the user that the phone number is not valid.
The expected format is: (+##) ###-###-###
checkPhoneNumber('(+34) 659-771-594'); // => "Thanks! You can now download me to your phone." checkPhoneNumber('659-771-594'); // => "Oops, it seems like I can't reach out to 6s59-771-594" Get website link The Chatbot is a really curious software. Even though he can search on the internet about a particular topic, he likes to ask users about cool websites or URL’s to go find relevant information.
Example of Conversation:
Chatbot: Hey username, I would like to learn how to code in JavaScript, do you know any cool website where I could learn? User: I learned a lot from exercism.com Implement the function getURL() which is able to return an array with just the link of each website.
getURL('I learned a lot from exercism.com'); // => ["exercism.com"]; Greet the user For storing data from all the persons who have had a conversation with, the chatbot is able to get the Full Name from the user’s profile in this style: “smith, john”.
In this way, we want our chatbot to be really polite and make a good impression.
Write the function niceToMeetYou() that takes a string with the full name of the user, and returns the string “Nice to meet you, John Smith”
For learning purposes, implement the function using a replacement method from Regular Expressions.
let str = 'Smith, John';
niceToMeetYou(str); // => "Nice to meet you, John Smith"
[FIX] website: redirect to case insensitive URL if not exact match
Before this commit, if a link to a page was not correct because of a case mismatch, it would simply land on a 404 page. While it's correct, as URL are case sensitive, it leads to a few bad UX flow at the admin/editor level:
- Create a link in your page (on a text or a button eg), type an URL which does not exists (to create it after) like /Page
- Click on the link/button you just made, you are redirected to /Page which display a 404 with the "Create page" option (correct)
- When you click on that button, it will actually create a page with /page URL, leading to a mismatch between the URL you created and the page URL. Your link/button will still lead to a 404 URL as it points to /Page.
Since it's just a fallback when an exact URL match is not found, it should not break anything and should not have bad impact at any level (seo/speed etc). Indeed:
- It's done through a 302 redirect
_serve_page()
is already a fallback case, so it will only make thewebsite.redirect
and 404 cases a bit slower due to the extra search query.
The only possible scenario seems to be if the user (mind the uppercase):
- Created a /Page page
- Created a redirect from /page to /another-page
In this case, /page won't land on /another-page but on /Page. This flow seems unlikely and is not actually wrong either way. At least, it certainly is less important than ensuring a case insensitive fallback.
Finally, note that another solution would have been to either:
- Force page URL to lower case.
-> This is not stable friendly, people might be relying on this to
create pages with different casing:
/Batman-VII-The-Dark-Knight-Whatevers
, while not recommended, doesn't sounds idiot. On top of not being stable friendly, we probably want to keep offering this possibility - Redirect all URLs to lowercase endpoints. -> This is obviously not stable and not Odoo's jobs. It should be something decided by the sysadmin and done at nginx (etc) level.
task-3110294 opw-3104030
closes odoo/odoo#111400
X-original-commit: 639cfc76ba259eea8f38284192017024809173b3 Signed-off-by: Quentin Smetz (qsm) [email protected] Signed-off-by: Romain Derie (rde) [email protected]
sched/core: Fix ttwu() race
Paul reported rcutorture occasionally hitting a NULL deref:
sched_ttwu_pending() ttwu_do_wakeup() check_preempt_curr() := check_preempt_wakeup() find_matching_se() is_same_group() if (se->cfs_rq == pse->cfs_rq) <-- BOOM
Debugging showed that this only appears to happen when we take the new code-path from commit:
2ebb17717550 ("sched/core: Offload wakee task activation if it the wakee is descheduling")
and only when @cpu == smp_processor_id(). Something which should not be possible, because p->on_cpu can only be true for remote tasks. Similarly, without the new code-path from commit:
c6e7bd7afaeb ("sched/core: Optimize ttwu() spinning on p->on_cpu")
this would've unconditionally hit:
smp_cond_load_acquire(&p->on_cpu, !VAL);
and if: 'cpu == smp_processor_id() && p->on_cpu' is possible, this would result in an instant live-lock (with IRQs disabled), something that hasn't been reported.
The NULL deref can be explained however if the task_cpu(p) load at the beginning of try_to_wake_up() returns an old value, and this old value happens to be smp_processor_id(). Further assume that the p->on_cpu load accurately returns 1, it really is still running, just not here.
Then, when we enqueue the task locally, we can crash in exactly the observed manner because p->se.cfs_rq != rq->cfs_rq, because p's cfs_rq is from the wrong CPU, therefore we'll iterate into the non-existant parents and NULL deref.
The closest semi-plausible scenario I've managed to contrive is somewhat elaborate (then again, actual reproduction takes many CPU hours of rcutorture, so it can't be anything obvious):
X->cpu = 1
rq(1)->curr = X
CPU0 CPU1 CPU2
// switch away from X
LOCK rq(1)->lock
smp_mb__after_spinlock
dequeue_task(X)
X->on_rq = 9
switch_to(Z)
X->on_cpu = 0
UNLOCK rq(1)->lock
// migrate X to cpu 0
LOCK rq(1)->lock
dequeue_task(X)
set_task_cpu(X, 0)
X->cpu = 0
UNLOCK rq(1)->lock
LOCK rq(0)->lock
enqueue_task(X)
X->on_rq = 1
UNLOCK rq(0)->lock
// switch to X
LOCK rq(0)->lock
smp_mb__after_spinlock
switch_to(X)
X->on_cpu = 1
UNLOCK rq(0)->lock
// X goes sleep
X->state = TASK_UNINTERRUPTIBLE
smp_mb(); // wake X
ttwu()
LOCK X->pi_lock
smp_mb__after_spinlock
if (p->state)
cpu = X->cpu; // =? 1
smp_rmb()
// X calls schedule()
LOCK rq(0)->lock
smp_mb__after_spinlock
dequeue_task(X)
X->on_rq = 0
if (p->on_rq)
smp_rmb();
if (p->on_cpu && ttwu_queue_wakelist(..)) [*]
smp_cond_load_acquire(&p->on_cpu, !VAL)
cpu = select_task_rq(X, X->wake_cpu, ...)
if (X->cpu != cpu)
switch_to(Y)
X->on_cpu = 0
UNLOCK rq(0)->lock
However I'm having trouble convincing myself that's actually possible on x86_64 -- after all, every LOCK implies an smp_mb() there, so if ttwu observes ->state != RUNNING, it must also observe ->cpu != 1.
(Most of the previous ttwu() races were found on very large PowerPC)
Nevertheless, this fully explains the observed failure case.
Fix it by ordering the task_cpu(p) load after the p->on_cpu load, which is easy since nothing actually uses @cpu before this.
Fixes: c6e7bd7afaeb ("sched/core: Optimize ttwu() spinning on p->on_cpu") Reported-by: Paul E. McKenney [email protected] Tested-by: Paul E. McKenney [email protected] Signed-off-by: Peter Zijlstra (Intel) [email protected] Signed-off-by: Ingo Molnar [email protected] Link: https://lkml.kernel.org/r/[email protected] Change-Id: Idd54334615da4c78698ca8b3b12b514ae9d8360f Signed-off-by: Alexander Winkowski [email protected]
I AM GONNA TO FUCKING SLEEP!!!!!
- Added 8 Random Names
- Implemented the new Texts created by Marko
- Increased duration of Texts
- My ass still hurts
- Increased tiredness of dev
- Increased love for teammates
I hate CSS please just fucking center the shit!!!!
Finally made movement fucking work god fucking damn it
holy fuck i did a bunch of changes and i dont remember all to write a good commit
Improves/Abstracts Suicide A Bit More (#72949)
Basically all of the heavy lifting was done in #72919, but we do a few key things here that I wasn't able to do then because it was just fucking massive.
Player Facing Changes:
- hear_blind arg is now a default state and must be specifically overridden. Pretty much every mob that wasn't a pAI or alien was lacking this, so let's toss it in as a default now. Let me know if the generic message I put in for /mob/living sucks and we can go from there.
Code Side Changes:
- suicide.dm now only contains code pertinent to the suicide verb, and all subtype proc-overrides have been moved to an appropriate file pertinent to that subtype.
- suicide.dm has also been organized a bit more to aid the previous change.
- There is only one suicide verb now, implemented on /mob/living. All the verb does is invoke the handle_suicide() proc, which does all of the lifting.
- Leaning into mumble mumble object-oriented philosophy, the message we send to the world on suicide is handled on subtype procs, rather than be in the huge fuck-off message tree I implemented in the earlier PR. It definitely makes the visible_message() proc not hard to read IMO. This also means that we can take up a less footprint when we re-use certain suicide messages (i.e. Silicon), which is nifty too.
i'm probably forgetting something but that's all of the big ones
There is now a very, very common framework for how suicide works across all living mobs, and it's much easier to override how suicide is handled. Certain subtypes do their own bullshit thing, but it's quite easy to account for this on that case-by-case basis. The overall code takes up a much less footprint that just makes it look nicer.
🆑 qol: Some mob suicides now have a message that shows to blind people or people that didn't actually witness the suicide, pretty cool. /🆑
Colada remodel, Panel jsons+textures, Devom Custom tweaks Colada has been remodeled, a few parts + animations still need repositioning and adjustment Panel jsons have been implemented, fucking love these. Amazing. Thank you don Devom custom tweaks
Mr. Mime is a thing, unfortunately.
Mild clean, some more Cherish set handling attempts.
Exclude set MetDate from mystery gifts.
Fix daycare enum parsing.
Check for no result in case $qc was used or some other weird thing happens.
Remove FixOT and TradeCord as routine types (FlexTrade handles both).
Try to apply trainer info for Mystery gifts.
Re-add fixed met date if not GO origin.
Update DenBot distribution data, minor fixes.
Fix Yamask-Galar in daycare, some more oopsies.
-Add DenBot - a seed lookup and day skipper bot for raids.
-Change AutoRoll's behavior to make use of some of DenBot's functionality.
Minor clean.
Revise TradeCord "traded" check, remove potential user path straggler entries because paranoia, some minor fixes.
TradeCord fixes (shocker, I know).
Extract Json serializer.
Minor clean and fixes.
Minor fixes.
Fix Milcery when an Alcremie variant is a parent.
Update to latest Core and ALM dependencies.
Handle non-shiny events in a better way.
Work around a race condition?
Simplify and de-bugify trade completion check.
Fix indexing, improve chance for Melmetal-Gmax because it's nigh impossible to get.
Rework TradeCord internals, add new functionality:
-Migrate user data from ".txt" files to a serialized Json (migration for a large amount of users will take a few minutes, be patient).
-Make TradeCord configurable, add its own settings category.
-Add some template events with an optional end timer (YYYY/MM/DD 8PM as an example, though any local time format should work).
-Add barebones Pokedex (counter, flavor text).
-Can check dex completion by typing $dex
, check missing entries by typing $dex missing
.
-Completing the Pokedex will slightly improve shiny rate.
-Can now mass release cherish event Pokemon and shinies ($massrelease shiny/cherish).
-Various tweaks, improvements, and bugfixes.
Slightly change FixOT's behavior: -If a shown Pokemon is illegal and an event, attempt to find a match within the MGDB first. -Try to force users to trade away the shown Pokemon, log attempt to change shown Pokemon. Add consideration for easter eggs being enabled in settings, fix Suicune Change species rng for TradeCord, some bugfixes (I really need to rewrite this mess) Add check if we're using ListUtil for Giveaway instead of TradeCord. Amend commit since I'm squashing and force-pushing while bringing the fork in line with the main branch Add Giveaway module to Discord bot (#22)
Thanks, rigrassm. Co-authored-by: Koi-3088 [email protected] Specify USB port instead of adding the first result (can be found via Device Manager). Re-add boolean check because we don't want to fix everything FixOT will attempt to regenerate illegal Pokémon. Apply trash bytes for reasons. Minor TradeCord fixes and adjustments. Minor clean for C#9 Use "GetValidPreEvolutions()" instead of "GetPreEvolutions()". Index forms correctly. Fix the fixed and re-introduced empty daycare index error. an Ultra Ball. Add EvoTree breeding for TradeCord. Remove unnecessary value declarations for pinging on encounter match. Mildly beautify EncounterBot mark output. Integrate Anubis' system update prevention into Soft Reset and Regigigas Encounter Modes. Rename "Regi" Encounter Mode to "Soft Reset". Speed up "A" clicks for Regigigas and Soft Reset modes. Add Mark logging output for EncounterBot. Fix oops (re-order logic, remove unnecessary lines). Add optional species and form specification for $massrelease Use an obscure string splitter because people like symbols in their names. Fix things that broke after rebasing to the latest main repo commit. Use a less unfortunate field name and value splitter...again. Fix Marowak-Alola always generating as an NPC trade. Add filters for "$list " to narrow down results. Fix Cherish Pichu and Octillery Stop making dumb mistakes, me (implying the rest of it isn't a dumb mistake). Can't breed antiques. Use a less unfortunate embed name and value splitter Add Melmetal-Gmax to TradeCord. Add ability to search by caught ball. Have MassRelease ignore events. Add specific regional form breeding. Revise egg rate and egg shiny chance. Have trade evolutions hold an Everstone. Add an extra right click when navigating to settings for AutoRoll. Add reworked encounter/egg/fossil logs. Minor clean. Minor clean. Get rid of EncounterBot, FossilBot, EggFetch text logs until I properly rework them. Break on an empty page due to aggressive rounding Add multi-page lists for Tradecord. More random bugfixes. Fix some bugs before major clean Add Language parameter for TradeCord. Change trainer info input format for TradeCord. Move focus on Showdown set instead of randomizing a pkm file. Allow user to enter whatever they want for $list, handle edge cases like Kommo-o Add "$list all" to show non-duplicate caught species. Automatically remove from favorites if trading or gifting (small QOL thing). Change how favorites are removed from user file. Revert base egg shiny chance nerf. Fix daycare Add favorites command to TradeCord. Slightly nerf eggs. Fix TradeCord list for shinies Add TradeCord (my dumbest and messiest project so far, Archit pls don't hate the mess). Add Showdown output for Star/Square shinies and OTGender. Add optional link code input for FixOT. Change how OTName, TID, SID is displayed. Add Regigigas SR bot. Add SoJ Camp SR bot. Ribbons now work with EggTrade (remove ribbons if egg). Remove EggRoll. Add another filter for FixOT Fix.. FixOT Update offsets for EncounterBot catching. Slightly change StrongSpawn to work with Regi SR and make it its own mode. Make SpinTrade only available for USB-Botbase Update valid eggs for CT winforms: resize icon.ico to fix crash at startup on unix using mono Rework Spin, read initial in-game coordinates in order to correct drift Add TID, SID, Language output for Showdown Remove obsolete OT and Language parsing Very minor clean until I have time for a proper one. Detach controller when stopping USB bot. Actually set LastUsedBall for EncounterBot (missed when bringing in line with main repo) Move extra RaidBot timings following the official commit Remove PKHeX Discord invite from Readme.md
Maybe fewer people will pester devs now about my unofficial fork? Update for latest main repo EncounterBot commits. Update README.md Add back best commit: Red's SpinTrade. Add egg trades, foreign Dittos and OT for Twitch. If ItemMule is enabled, also display the item a user is receiving. Add periodic time sync toggle for all methods of hosting (except for non-soft locked AutoRoll) to (hopefully) prevent den rollover during extended hosts.
Add routine to exit a lobby for SoftLock if no players are ready in time (to preserve soft lock).
Add a routine to recover from disbanded lobbies (when someone disconnects unexpectedly) for SoftLock.
Add a routine to restart game if all else fails and we're stuck in a raid.
Add a routine for adding and deleting friends if we're soft locked and raids go empty.
Slightly reorganize settings, extract methods, minor clean. Don't use such a generic file name for stream assets. Check USB port index for running bots. Should fix adding additional USB bots when no config is saved. Add fixed met date for FixOT. How do I boolean Change airplane mode logic, tweak timings and routine for soft lock lobby exit Rework EggRoll cooldown (static list in favor of a txt file). Start clean up and refactor Add setting to increase delay after pressing "Home" after a date skip. Use USB port index for blocking and sprite pngs if connection type is USB Add option for airplane host (usb-botbase required) Add option to softlock on selected species for AutoRoll Add automatic compatibility for all console languages when date skipping (have to set ConsoleLanguage under ScreenDetection) Attempt to fix multiple USB device add and connect...again Minor clean Fix oops? Handle add/remove of bots Distinguish between multiple USB devices, tweak BotRemoteControl for USB, other various fixes Add SpA modifier for foreign Dittos Add alpha USB-Botbase support Fix DateTime parsing for European format for EggRoll Set fixed EggMetDate and MetDate for EggRoll More FixOT filters Remove Beheeyem. Oops. Split EggRoll into its own routine and trade type, only output "Receiving: Mysterious Egg" if routine is EggRoll, other minor tweaks and fixes Make FixOT its own queue with roles and counts Add a couple more OTs to $fix Parsing for EggRaffle auto-clear and $clearcooldown Adjust timings and split Watt collecting clicks for AutoRoll Fix oops with file attachments for Ditto Further improvements for OT, memes for invalid pokemon (disable EasterEggs) Add spaces, digits for OT Randomize memes, cut down bloat Fix miscellaneous bots after Anubis' recent QOL additions -Ignore events for OT because headache. -Add overlooked "$convert " input for OT. -Move $clearcooldown to SudoModule -Clear timer automatically if NoTrainerFound -More reliable Dittos -Foreign Dittos for $convert -Command to clear cooldown for EggRaffle in case trade gets disconnected -Fix "Trade finished" line to keep result secret -EggRaffle as a toggle, option to specify channels -Seed Check output to both DMs and Channel (apparently some want it) -Randomly generated egg raffle via a "$roll" command with a configurable cooldown -FixAdOT reworked, has its own command "$fix" and no longer overrides $clone -Ball: output for Showdown sets -Fix oversight -Option to output Seed Check results to Discord channel with a User mention -Showdown set output for OT name and eggs -Basic "OT: " option without Showdown set output -Initial $convert support for EggTrade -Egg moves for EggTrade test attempt -Minor update -EggTrade (by nicknaming a Pokémon "Egg" using $trade) -Failsafe for memes if enabled but field left blank or incomplete -Niche breedable Ditto trade mode. Add minimize button EggFetch text logs StrongSpawn mode for EncounterBot Re-add EncounterBot Master Ball catching More parsing for FixAdOTs Park Ball as held item instead of string Actually remove the offset instead of saying I did Initial DLC commit Faster code entry Removed catching for EncounterBot (need a new offset) CloneBot mode to fix Nickname and OT if adverts detected
holy shit!
i don't know what it is, but holy fucking shit! oversampling does some stuff!
Made Gamemanager to handle game modes and other shit. I don't remember. I've been working on it all night
Timer, game modes, win conditions, canvas switching
It Came From Outer Spess: Adds midround changelings, delivered by an absolutely disgusting changeling meteor (#73018)
Adds a new dynamic midround opportunity and random event - Space Changeling.
2023-01-28.13-20-32.mp4
If you are fortunate enough to recieve this role, you will be stuffed into a changeling meteor and hurled at the side of the station. With no crew identities, no access, and no equipment, you'll have to rely on your free organic space suit and armblade to infiltrate the station and get settled.
With no disguises to fall back on, the midround changeling experience may lead to some very unfavorable situations. It's not unlikely that you'll be spotted making your way inside, or that someone will see the impact site and cause a panic. This role is not easy, but keep in mind that you also have nothing to lose in the event that you use Lesser Form/Headslug.
Aside from the starting circumstances, you have the same objectives and capabilities as a roundstart changeling. Getting inside of the station will be the hard part, but from there you can do what changelings do best and blend in.
A brief note on the free stuff you get:
You get the organic space suit and armblade for free. The space suit is absolutely vital, but I decided that the armblade should be given for free as well. It's necessary for breaking open windows or airlocks and getting access to the station, since otherwise your options are limited to arrivals/departures. Having to pay a 2 point tax to avoid walking naked into the main hallways of the station and getting gibbed is lame, and with the added difficulty of the role I think it's fair.
Also, this is my 100th PR here! :)
Adds midround changelings in a WAY COOLER way than just making a random crew/new arrival a changeling.
Lets people experience Hardmode Changeling, and test the adaptability and flexibility of the most versatile antagonist even harder than before. Losing the option to bypass the whole shape-shifter thing by disguising as your crew identity presents a welcome change to the formula.
Adds a teensy bit more midround variety, so we stop getting Nightmare At The Thirty Minute Mark every round.
🆑 Rhials add: Midround changeling spawn event. add: Changeling meteor. It has a present for you. /🆑
[MIRROR] Basic Mobs Now Actually Have A Deathgasp [MDB IGNORE] (#19002)
Basic Mobs Now Actually Have A Deathgasp (#72950)
Pretty obviously an oversight since we only checked for simple_animal for this, but should also factor in the fact that we could now be a basic mob.
Actually I tested it on Sybil just now and deathgasps just never worked. We were setting death_message for... I guess when they die? It's just fucked but it works on my local now. blurgh
Ported simple animals that are now basic mobs were able to deathgasp this time last year. Silly that they aren't able to do that now.
🆑 fix: Basic Mobs are now able to deathgasp. /🆑
Let me know if the new variable name for the string is cringe, I just settled on that since it mirrored the type of check we run in select_message_type().
Co-authored-by: san7890 [email protected]
Drawtext plugin: Add workarounds for latest MS-Windows screwups.
Another fun property of the new fontconfig-1.dll bundled with GStreamer 1.20.5 is that likely due to some other screwup, the fontconfig library can't find its own fonts.conf and other configuration files. So it falls back to a bad default configuration which selects fonts that display, but look dead-ugly!
Given the amount of trouble mislocated fonts.conf files and fonts/conf.d/ folders made in the past on MS-Windows, lets take this issue into our own hands: Now we build the path to the proper config files and folders inside the GStreamer installation directory ourselves and pass it to fongconfig via the override environment variables meant for this purpose. This way the FTGL drawtext plugin will always use the fontconfig-1.dll bundled with GStreamer 1.20.5+ and the config files inside ... GSTREAMER_1_0_ROOT_MSVC_X86_64 root-folder/etc/fonts/
Consistent behaviour under Matlab and Octave. And GStreamer 1.20.5 now ships a recent fontconfig library and default config for User installed font files under the WINDOWSUSERFONTDIR. Good for customization under MS-Windows.
Ofc. it would be too easy if it were that easy! Due to linker and C-runtime nightmares and incompatibilities, our plugin can't getenv() environment variables defined inside Octave or Matlab via setenv(), neither can libfontconfig! Only system/user-level variables from before launch of Octave/Matlab process are accessible via the Windows specific GetEnvironmentVariable() function. So we get the GStreamer root directory via the Windows-Registry defined GSTREAMER_1_0_ROOT_MSVC_X86_64 variable, and then synthesize proper config pathes, and hand those over to libfontconfig via regular standard C _putenv() + getenv(). The miracles of the MS-Windows operating system and different and conflicting C runtimes within one process!! And there went the rest of the Saturday...
-> Now we can built a FTGL drawtext plugin from within Matlab with MSVC 2019 and it works on both Octave 7.3 and Matlab R2022b with the new GStreamer 1.20.5+ fontconfig-1.dll library and consistent config files from GStreamer.
God do I hate the MS-Windows operating system shit-show, I'm not nearly paid enough to deal with this crap!
fix(DB/Locale): deDE fix request items texts #02 (#14615)
Process of translation: only original sources of deDE texts by researching multiple sources, reverse translation by searching for related quest items/NPCs and using these names to reconstruct a proper translation.
This fixes the terms
Coldtooth-Mine (Eisbeißermine), Doomhammer (Schicksalshammer), Fizzle (Zischel), Fizzledowser (Rutenwünschels), Fizzlebub (Zischelbub), Burning Blade (Brennende Klinge), Ashenvale (Eschental), Bloodscalp/s/stamm (Blutskalpe, Blutskalpstamm), Darkspeartrolle/Darkspears/Darkspearstamm (Dunkelspeere, Dunkelspeertrolle, -stamm), Moonglade (Mondlichtung), Starblaze (Sternenschauer), Shadowglen (Laubschattental), Darrowshire (Darroheim), Booty Bay (Beutebucht), Ratchet (Ratschet), Dizzywig (Flunkerblick), Hearthglen (Herdweiler), Chillwindspitze (Zugwindspitze), Stormrage (Sturmgrimm), Stormpike (Sturmlanze/n), Ironforge (Eisenschmiede), Thunderhorn (Donnerhörner), Steamboil (Kesseldampf), Twilight-Hammer, -klan (Schattenhammer/Schattenhammerklan), Fathom-Kern (Tiefenkern), Blackfathom Deeps (Tiefschwarze Grotte), Blackrock-* (Schwarzfels-*), Hawkwind (Falkenwind), Feathermoon (Mondfeder), Moonrage (Mondzorn), Firemane (Feuermähne), Searingblade (Sengende Klinge), Ragefireabgrund (Flammenschlund), Ironbands Areal (Eisenbands Lager), Zandalar (Zandalari), Southshore (Süderstade)
for quest progress/request text entries for the deDE localisation with proper casus/declension (these are not proper translated names of locations/NPCs that have been left over by Blizzard since their language localisations in TBC in 2006 and onward).
Added missing progress/request text entries for 308, 311, 417, 1644, 1787, 5059, 5060, 5721, 6004, 6023, 6025, 6187, 8042, 8043, 8044, 8046, 8047, 8048, 8050-8079, 8102, 8107, 8108, 8111, 8112, 8113, 8117, 8118, 8142, 8143, 8147, 8183-8195, 8238, 8239, 8240, 8243, 8246, 8860, 9594, 9692, 9707, 10414, 10415, 10919, 11451. (A lot of them are Zandalari/Zul'Gurub related quests.)
Replaced post-Cataclysm progress/request text entries for 933, 935, 6387, 7383.
Fixed a wrong $R with plain text at progress/request text for 9147.
Added missing female gender equivalent to 6391.
(There are probably more changes in the file that aren't further explained here as it was hard to keep track of everything. If you think I made a mistake or have questions please contact me directly.)
- Fixing a lot in the quest_request_items_locale table.
- Fixing some of the tasks in azerothcore/azerothcore-wotlk#14244 Referring to my other two bug reports from CC Github:
- chromiecraft/chromiecraft#4697
- chromiecraft/chromiecraft#4745
- Read the text on top.
- Not tested.
All of the changes are to reward texts of quests, can be tested by completing quests or simply reviewing the changed file.
- [ ]
- [ ]
When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].
You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:
http://www.azerothcore.org/wiki/How-to-test-a-PR
REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).
For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.
lol muzzle flash wasnt safed, hate my life
added player muzzleflash
Expose filtering by file type in glob (#7834)
Add flags for filtering the output of glob
by file type. I find myself
occasionally wanting to do this, and getting a file's
file_type
is presumably fast to do as it doesn't have to go through the fallible
metadata method.
The design of the signature does concern me; it's not as readable as a
filter or "include" type list would be. They have to be filtered one by
one, which can be annoying if you only want files -D -S
, or only want
folders -F -S
, or only want symlinks --butwhy?
. I considered
SyntaxShape::Keyword for this but I'll just defer to comments on this PR
if they pop up.
I'd also like to bring up performance since including these flags
technically incurs a .filter
penalty on all glob calls, which could be
optimized out if we added a branch for the no-filters case. But in
reality I'd expect the file system to be the bottleneck and the flags to
be pretty branch predictor friendly, so eh
Three new flags when using glob
and a slightly more cluttered help
page. No breaking changes, I hope.
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
cargo fmt --all -- --check
to check standard code formatting (cargo fmt --all
applies these changes)cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect
to check that you're using the standard code stylecargo test --workspace
to check that all tests pass
If your PR had any user-facing changes, update the documentation after the PR is merged, if necessary. This will help us keep the docs up to date.
"8:50pm. https://github.com/comfyanonymous/ComfyUI
This ui will let you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. For some workflow examples you can check out: ComfyUI Examples
Oh is this how it works? It might be worth a try.
I didn't think it would be like Blender's geo nodes. It has my attention.
https://comfyanonymous.github.io/ComfyUI_examples/area_composition/
https://comfyanonymous.github.io/ComfyUI_examples/2_pass_txt2img/
Oh so this is how he was doing it! He was the foxgirl anon!
I loved his backgrounds.
You can Load these images in ComfyUI to get the full workflow.
Hmmm...
The fp16 model configs in the CheckpointLoader can be used to load them in fp16 mode, depending on your GPU this will increase your gen speed by a significant amount.
9:20pm. I kind of want to make more vids of myself doing things. That guy's advice for making adictive vids be damned.
2/5/2023
9am. I am up. Any mail? One application telling me they got a large number of applicants and telling me to be patient. It is some senior cloud related position that I applied at random. I do not think I'll get in here, especially give that it pays between 130-160k.
9:05am. Let me chill for a bit. Time for manga.
Urasekai Picnic, Kaiji, Neto Chara and Girls Frontline are out. After I have my fill of that, I'll start studying the Fable docs.
10am. Just a bit more and I will start.
Yesterday I talked about the market and said I would be all in here, but that is too rash. All-in when you expect the market to go up rapidly, and it would be weird if that happened here. So a 50% here and 50% in two weeks would be better. That is the ticket.
10:15am. I'll leave UraPi for later.
https://fable.io/docs/introduction/dotnet-users-read-this.html
10:25am. I need to study web development. Ionide is really the right path. It will take me a while before I can do non-trivial things on the codebase. Probably a few weeks of constant study.
Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments. Here are the main things Babel can do for you:
Hmmm, ok.
I am going to have to get familiar with these tools. Functional programming on the web is the next frontier for me.
Maybe I'll get back from Enso and get a 80-100k job working on a visual PL, in which case all of this won't matter. But if I want to do functional programming, my best bet is web development. As far as low level programming is concerned, the lowest I want to go is Rust. I applied to a Rust position, but I should just assume I won't get it. The web positions require knowing a lot of libraries and frameworks, which will necessitate me to invest my time in learning them, but I won't have problem finding work after that.
I'll also have to study .NET enterprise webdev. Branimir showed me a web app which used Blazor, so I can expect to get work from that direction. I do like reactive langs like Blazor though.
https://fable.io/docs/your-fable-project/project-file.html
10:40am. Focus me. Don't read the synth general.
///
Fable.Core, which is required for every Fable project Fable.Browser.Dom, for all your DOM needs (window, document) Fable.Elmish.React, to write web apps using the Elm architecture and React as the render engine Thoth.Json, for JSON serialization
///
I should get familiar with the last two libraries.
///
fable-dart: Dart is supported by the package
fable-dotnet: .NET is supported by the package
fable-javascript: JavaScript is supported by the package
fable-python: Python is supported by the package
fable-rust: Rust is supported by the package
fable-all: Package is compatible with all Fable targets.
///
I confused. Does fable support more than just JS?
10:55am. > Note that webpack-dev-server serves the generated files from memory and doesn't actually write to disk. We will do that in the next step: building for production!
Ah, I see! Yesterday I wondered where it was putting bundle.js
, but turns out it is doing all of that from memory.
11:10am. https://www.youtube.com/channel/UC6m70Jyr65ogDySbK7aMmzg/videos
I should watch some of the videos here later.
11:15am.
// It works for function declarations too
let getTheme(x: int): IInterface = importDefault "my-lib"
// JS: import getTheme from "my-lib"
I forgot what the default imports and exports were even though I studied this. Do you mark some function default on the JS side. Whatever.
https://dev.to/shacodes/default-vs-named-exports-19hj
This article explains it perfectly. No prob. The default imports and exports and complicated.
export default class MyClass {
// Note the constructor accepts an object
// with the `value` and `awesomeness` fields
constructor({ value, awesomeness }) {
this._value = value;
this._awesomeness = awesomeness;
}
get value() {
return this._value;
}
set value( newValue ) {
this._value = newValue;
}
isAwesome() {
return this._value === this._awesomeness;
}
static getPI() {
return Math.PI;
}
}
JS has getters and setters? I am so behind the curve on this.
11:35am. It is hard to stay focused on this. This brings me back. I remember the grind of trying to learn Webdev back in 2020.
interface Circle {
kind: "circle";
radius: number;
}
interface Square {
kind: "square";
sideLength: number;
}
type Shape = Circle | Square;
// usage
function describeShape(shape: Shape) {
switch (shape.kind) {
case "circle":
return "circle of radius ${shape.radius}";
case "square":
return "square of length ${shape.sideLength}";
}
}
I had no idea that TS could do matching like this.
11:50am.
Remember you can use the Fable REPL to easily check the generated JS for your F# code!
It has a REPL?
If the dictionary or hashset requires custom or structural equality, Fable will generate a custom type, but it will share the same properties as JS maps and sets.
I was wondering about this. I really need dictionaries and hashsets for my work. Won't get anywhere without those.
12:05pm. https://fable.io/docs/communicate/fable-from-js.html
Learning this is so boring. I'll have to internalize it as I go along.
https://fable.io/docs/miscellaneous/official-samples.html
I'll have to go over the samples, but nevermind that for now.
12:20pm. https://fable.io/docs/miscellaneous/fable-in-videos.html
https://youtu.be/XeZqMapl1Tg The Joys of OSS - Zaid Ajaj
Did COvid kill the conferences here? Anyway, let me watch this just for a bit.
https://youtu.be/XeZqMapl1Tg?t=220
Why OSS
https://youtu.be/XeZqMapl1Tg?t=773
Let me close this here. I am not interested in the video.
https://safe-stack.github.io/docs/recipes/developing-and-testing/debug-safe-app/
What I should do is focus on my next goal. I need to figure out how to debug Fable applications. That will allow me to debug the plugin.
https://safe-stack.github.io/docs/intro/
The SAFE stack is the best way to write functional-first web applications.
The SAFE stack allows you to develop web applications almost entirely in F#, without needing to compromise and shoehorn your codebase into an object-oriented framework or library, and without needing you to be an expert in CSS or HTML to create compelling, rich client-side web applications. SAFE Stack is:
I see. I should be studying this then. I'll make this my goal for the day. Debug Fable applications. If I can do that, I'll be able to go step by step through the Ionide plugin. After that, I'll be able to build my understaning of it.
12:35pm. Let me step here for breakfast."
Implement the Gate of Hell level
This is a main-branch Gehennom level, and its position directly below the Valley means that it is the "proper" entrance to Gehennom, whereas the Valley is more like the foyer. (And descending the stairs from the Valley means the "unspeakable cruelty and harm" message refers to this level and everything below, which works well.)
What I'm going for here is the feeling that you're now actually kicking in Moloch's front door, a sense which isn't really present in vanilla. Welcome to the next phase of the game.
This level features Cerberus, of course, and also is the branch level for Vlad's Tower, the stairs to which are off to one side. Other than that, pretty standard Gehennom fare: lava, demons, a couple dragons. This doesn't need as strong of a theme, I think, as the demon lord lairs need to have.
Removing stray space from readme at inopportune location
In the multiline example with the "girl with the pearl earring" was a stray space. This led to following error:
...
"a modern female president" "a female robot" "a female doctor" "a female firefighter"
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
received 1 prompt(s) and will repeat them 1 times to create 1 images.
Generating 🖼 1/1: " " 512x512px negative-prompt:"Ugly, duplication, duplicates, mutilation, deformed, mutilated, mutation, twisted body, disfigured, bad anatomy, out of frame, extra fingers, mutated hands, poorly drawn hands, extra limbs, malformed limbs, missing arms, extra arms, missing legs, extra legs, mutated hands, extra hands, fused fingers, missing fingers, extra fingers, long neck, small head, closed eyes, rolling eyes, weird eyes, smudged face, blurred face, poorly drawn face, mutation, mutilation, cloned face, strange mouth, grainy, blurred, blurry, writing, calligraphy, signature, text, watermark, bad art," seed:264337829 prompt-strength:7.5 steps:15 sampler-type:k_dpmpp_2m
Loading model /home/dead/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/889b629140e71758e1e0006e355c331a5744b4bf/v1-5-pruned-emaonly.ckpt onto cuda backend...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:01<00:00, 4.20it/s]
⚠️ Filtering NSFW image. nsfw score: 0.014
Image Generated. Timings: conditioning:0.24s sampling:1.19s decoding:0.17s safety-filter:4.42s total:6.85s
Image was unsafe, retrying with new seed...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:01<00:00, 4.24it/s]
Image Generated. Timings: conditioning:0.02s sampling:1.18s decoding:0.13s safety-filter:1.05s total:2.80s
[generated] saved to: ./outputs/generated/000000_364337830_kdpmpp2m15_PS7.5_img2img-0.6___[generated].jpg
--mask-prompt: command not found
As the command line was interpreted as two separate commands. I remove the stray space in this pull-request, to spare others the headache of finding the whitespace.
raphael_defconfig: Revert FBEv2 defconfig changes
To maiteiners who still use FBEv1 Fuck you in particular
https://www.youtube.com/watch?v=Ok3xVYz8Ibs
PuTTie: initial implementation of persist keys & launch at startup Pageant options. PuTTie: clear & load options at WfsSetBackend() time. PuTTie: convert winfrip_rtl_shortcut.{cxx,hpp} to C because fuck you C++ and fuck you MinGW (and fuck you too CMake.) PuTTie: correctly {clear,load,save} options & initialise options filename string in file-based storage backend.
New review for CPSC 310 by Andy Liang (#378)
The course consists of a full stack project (no DB) where the hardest part of the project is actually more algorithm related ish (building a query engine) than it is software construction in my opinion. The project itself ended up being very useless (especially if you have done one decent full stack personal project or have coop experience) since there is no code quality enforcement. This means you are free to write garbage code, as long as it works. I would advice to start early on the project though!
The conceptual portion taught in lecture is useful. However the project, nor any other part of the course, really forces you to try the design patterns that you have learned. :)
Difficulty: 3/5 Quality: 2/5 Andy Liang, Feb 05 2023, course taken during 2022W1
View YAML for new review
- author: Andy Liang authorLink: date: 2023-02-05 review: | The course consists of a full stack project (no DB) where the hardest part of the project is actually more algorithm related ish (building a query engine) than it is software construction in my opinion. The project itself ended up being very useless (especially if you have done one decent full stack personal project or have coop experience) since there is no code quality enforcement. This means you are free to write garbage code, as long as it works. I would advice to start early on the project though!The conceptual portion taught in lecture is useful. However the project, nor any other part of the course, really forces you to try the design patterns that you have learned. :) difficulty: 3 quality: 2 sessionTaken: 2022W1