Programming Practices – How do I and my business partner balance the refactoring of old code compared to completing the project?

Last year, I decided to start a business and develop software that will be offered as a service. I do that with a business partner and we are both students with 2-3 years experience in programming. He is a slightly better programmer than me and the lead developer, as I take care of the business affairs, architecture, and requirements. We both wrote the same amount of code and are currently working together at the front end.

I tend to focus more on completing the project. I like to stick to a methodology and implement features, even though my code does not have the best quality and can be improved. I do not like going back and repairing or revising old code or applying new procedures in the middle of a project.

In the meantime, my partner likes to write high-quality code. He constantly finds new and better development methods like Typescript and TDD. He keeps coming back and bringing old source files to the new and improved standards he discovers. So far, I have agreed to most of his suggestions and revised my own code.

It takes 7 to 8 months, and I think we spent so much time improving previous code, writing new code, and implementing features. I have the feeling that there can be endless improvements. The requirements are already clearly written down and we both understand that they will not change.

Therefore, I am sure that the main problem is that I and my business partner have different development perspectives. Our relationship is good at the moment, but I'm starting to get a bit impatient and want to make progress with the features. I've suggested that I stick to the front end and my partner to the back end, but he says we should both question and check each other's code.

How can we improve our situation? What would professional developers do to reconcile the delivery of the project with writing good code? Would it help to agree on a written quality standard (is there such a thing?) Both of us have never worked on a proper job and do not know how real software teams do it.

Optimal monthly contribution to debt compared to savings

Start with:

  • Savings of 0 USD and debts of 50,000 USD
  • The savings earn 2.5% interest and the debt loses 5% interest annually
  • Each month, you earn $ 2,000 in income to divide it into savings or debts (fully committed to $ 0 in cash at the end of the month).
  • The minimum monthly payment is $ 200

    1. What is the optimal percentage contribution of $ 2,000 to save and repay debt monthly, assuming the goal is to maximize net assets in 120 months?

    2. What is the solution for arbitrary interest rates / income levels / starting credit / time periods / minimum payments? Would a numeric solver be required?

    3. Does maximizing short-term net assets (choosing a percentage per month that maximizes your net assets for that particular month) lead to a poor global solution (net assets at the end of N months)?

Machine Learning – The growth rate of Leela Zero compared to AlphaGoZero

There are not many sources online, but a reference from January states that Leela Zero (LZ):

The strength depends on the hardware and the thinking time, but off
the thread "LeelaZero Adventures on Fox" and from petgo3 rank
KGS, I think that on medium hardware and in a relatively short time
Attitudes, LZ is about professional strength, but not top professional

By the time this was released, LZ's best network had ~ 11.75 million training games.

In contrast, AlphaGo Zero (AGZ) had a total of ~ 29 million practice games. Assuming that the number of practice games is evenly distributed, the number of LZ training games by January would be approximately the 14th day of the AGZ training.

But until the 14th practice day the AGZ was very close to the AlphaGo master level, which is well above the top pro level.

That does not fit together, LZ was designed to mimic AGZ. The growth rate should be similar, but this makes it look like it's much slower.

What factors could cause this? Is it the hardware (like the tensor units?) Used for the runs, or the depth at which the games are analyzed? Does this have something to do with the implementation of the neural network itself? Or … maybe … is it just that LZ has a lot of bad luck?

Active Directory – "Operating System" attribute in AD compared to MAC OS

I dont see any Operating-System Attribute only (attributes usually do not start with a capital letter) operatingSystemthat's set on:

Mac OS X

The relaed operatingSystemVersion is the appropriate macOS version, eg.


The version number does not seem to update, it reflects the version number at the time of joining AD.

Hyperlinks – How do I solve the issue of accessibility of UX compared to screen readers?

I'm learning web development and semantic HTML markup. Recently, it was suggested in a tutorial to tag the descriptive part of the text with anchor tags rather than the CTA, since anchor texts are not meaningful to visually impaired users depending on the screen reader.

For example, Click here to know more information about the trips. according to the tutorial is not good and it should be Click here to know more information about the trips.
This creates a specific problem where the visually-enabled user wants to click on the icon Click here Text, but nothing will happen.

How can this problem be solved when both visually impaired and visually impaired people can easily access the site?

Activate Titanium Apple Card: iPhone XS / XR compared to iPhone X and earlier versions

The procedure for activating a Titanium Apple Card depends on the iPhone model.

Especially for an iPhone 201S (iPhone XS / XS Max / XR), the package of the Titanium Apple Card must be opened, the iPhone awakened and kept close to the card. For an iPhone 2017 or earlier (supported by Apple Card) (iPhone X or earlier), the Wallet app must be started to activate the physical card.

Request and use your Titan Apple Card in the Apple Support Document:

To activate your Apple Card

You need a compatible iPhone with the latest iOS version to activate your Titan Apple Card. When your Titan Apple card arrives, you can easily activate it.

Enable on iPhone XS Max, iPhone XS and iPhone XR

Watch the video to see how to activate your Titan Apple Card

  1. Open the box containing your Titan Apple Card.

  2. Wake up your iPhone and follow the instructions in your card holder.

  3. Touch Activate.

Activate on the iPhone X or earlier

Watch the video to see how to activate your Titan Apple Card

  1. Open the wallet on your iPhone and tap Apple Card.

  2. Touch Activate card.

  3. Wake up your iPhone and follow the instructions in your card holder.

Your card is ready for use immediately after activation.

What exactly is the difference in hardware (or software) between 2018 and earlier iPhone models that requires the difference in the activation process?

Interaction design – multiple steps with one task at a time compared to a multi-task step (for the user)

I'll sketch the flow of users for a new feature of a fitness / spa application that uses hardware sensors to monitor the way the user performs certain fitness exercises.

In order for the user to start exercising, he must perform certain tasks before:

  • Position the sensors (two sensors) on the body or on a limb (ie hand scenario) above and below the elbow
  • Make sure the sensors are in a certain position (some LEDs * are on one side of the sensors and must face up).
  • Center the sensor on the body or extremity
  • Rope the straps to prevent the sensor (s) from falling

If I place all this on a single screen, there may be too much information and the screen has a high cognitive load. I would like to split this into multiple screens and, after the user has gone through this at least 2-3 times, grouping it in a single screen because the user is familiar with the process.

Currently I am in a dispute over the layout of the screen, as mentioned above. The team has a firm stance against dividing the screen into multiple screens: the "onboarding" process, until the user can start exercising, will contain 6-7 additional screens next to this screen. Of these 6-7 screens, at least 4 require the user to perform at least one action (i.e., moving the link with the sensors).

If the user does not perform these tasks successfully, the hardware device does not track its movement, so the tasks are mandatory. In my view, I prefer that the user go through a longer flow one to two times and use the product successfully instead of keeping it simple and confusing the user.

Important: Our users are demographically older, so everything has to be as simple and clean as possible.

What would be the best way to keep the process as short as possible and at the same time user-friendly? I have not seen any other application that has something as complex as what I mentioned above.

* The LEDS task is difficult because it is not visible on the sensor. Besides the phrase "LEDs need to point upwards" this is confusing. Last but not least, our users may not even know what an "LED" is.

Conditional formatting for Google Sheet compared to the text list

I'm trying to create a custom formula for conditional formatting. I would like to mark the cell if the text appears in a list of names. This list contains 210 unique names, so I can not enter everyone in the formula. I hope I can point to a list, but apparently can not find an example of Google Sheets. I saw an example of Excel pointing to a "list" that you created.

Many thanks,

pathfinder 1e – What are the advantages and disadvantages of Wand of healing light wounds and wand of hell healing compared to each other?


Healing light wounds stands on magic lists of:

  • alchemists
  • Barden
  • Cleric / Oracle
  • Druids
  • inquisitors
  • Paladins
  • Rangers
  • shamans
  • witches

These guys can use all wands with light wounds without having to use the magic device to roll even if they can not normally occupy CLW yet, e.g. Level 1 Paladins. The mere fact that they have it on their magic list is enough.

Hell Healing is on Spell lists by:

  • Cleric / Oracle
  • witches
  • Point
  • Wizard / Wizard
  • Summoners (regular summoners that are not legal in PFS)

Since Heal Healing has the (evil) descriptor, it is not available to good clerics, and paladins may or may not have problems with it.

If you are not a member of any of these classes and do not use any of the above spell lists, then you are much more likely to meet someone who does so if you follow Cure Light Wounds. On the other hand, it is a good idea to stick to the former if you can work hell healing but can not heal light wounds. If you can use the CLW wand, but drop it, your potential rescuer is more likely to use it than Infernal Healing.

Gold per cure

Applying Cure Light Wounds costs 15 gp and heals 2 to 9 HP when cast with a wand (average 5.5 HP). Infernal Healing always heals 10 HP per application and costs the same. Infernal healing is 82% more efficient on average.

Time to use

  • For healing light wounds only one standard action is required, and Hell Healing has a casting time of 1 round.
  • CLW is an instant spell, while Hell Heal over 10 rounds.

In total, it takes 66 seconds (11 laps) for an Infernal Healing application to complete and finish for a target. This makes infernal healing completely impossible with limited time. For example, CLW may even be useful as a panacea at Tier 1. In later levels, it's the minutes per level that you need to think about. The higher you rise, the longer you have to wait each time to heal. For example, a level 6 assistant with approximately 38 HP must wait 42 laps (4 minutes and 12 seconds) to heal completely after falling to 0. The same task would require an average of 6.9 CLW spells or 7 rounds (1 minute 6 seconds).

Your wealth will grow faster than your health pool, so that Infernal Healing will eventually consume more gold in valuable, time-limited buffs than in healed HP, and you can use Infernal Healing only in the rare situations of no time at all.

Additional utility

  • Very early, mild wounds can be healed to damage certain undead when there is no other way to hit them.
  • Hell Healing can be applied right before battle or at the beginning of combat. If an affected ally falls, they are immediately healed and stabilized for 1 HP … provided they survive the damage.

Additional restrictions

  • Heal Light Wounds can not be applied to creatures that are damaged by positive energy.
  • Hell Healing does not heal damage caused by silver and well-targeted weapons, as well as spells / effects with a (good) descriptor.

Both restrictions should be quite rare, but if a spell does not work for some reason, it is very likely that you want the other.

A total of

  • If your class has healing easier on their spell list healing, but no hell healing, you should definitely choose healing light wounds first. If you buy Infernal Healing, you're less likely to use your wand without UMD.

  • If you're a neutral cleric or a witch (or just using those spell lists), you might want to buy a wand from CLW and then a wand from Infernal Healing to get the right edge for the right situation. The same applies to evil clergymen (who are not legal in PFS).

  • If you play in a fairly stable group that has spells with both spells, you may want both wands. You will use Infernal Healing for its cost effectiveness and Cure Light Wounds to heal quickly.

  • If you play in a stable group that can only handle infernal healing without UMD, buy Infernal Healing, but understand that it will be even more important to you not to be damaged than the rest.

  • If your stable group needs UMD for both spells … well, get both wands and be willing to waste a lot of time getting the required score. I have read it more than once that PFS scenarios assume that players have some sort of healing available, and they really seem to be written that way.

On average, mild wounds are more likely to heal, but infernal healing can be much better for a specific situation.

However, their mileage can vary greatly depending on the preferences of your local players. For example, if no one around you is playing Clerics, Witches, Mages, Sorcerers, Sorcerers, or Arcanists, it is very unlikely that Hell Healing will be useful.

Options – How can update_option () be compared after it has been saved to the database?

I'm having trouble getting useful information or examples for the action hook "update_option". My goal is to compare both the old and new value of my data and then send an email to the user to make changes. Below is the catch:

add_action('update_option', function( $option_name, $old_value, $value ) {
}, 10, 3)

I compiled the code as it is, but nothing happened. My question is what goes into $ option_name, $ old_value, $ value. Sorry, I'm pretty new to PHP. Every explanation with an example is appreciated.