plugins – Issues With Exporting & Importing Oxygen Builder Site

I’m not sure if anyone else has encountered this issue but when I try to move a site made with the oxygen builder, the shortcodes don’t import properly and I have to manually copy and paste the shortcodes for each page in order for the site to display correctly.

Is there an easy way to automate this? I feel like I’m missing something. I’m using the free version of duplicator to move the site, not sure if I’ve missed an option I need to set or if this is just a problem with the oxygen builder plugin.

Are any of you guys having issues getting your videos to rank on YouTube?

I have a YouTube channel with 5,000+ subscribers. In the past when I would upload a video it would take off almost immediately. Even the videos that didn't do so well would get at least 10 or 20 views per day right off the bat. That doesn't seem to be the case anymore. I recently uploaded four videos and not a single one has taken off. Has YouTube recently changed their algorithms making it much harder for videos in competitive niches to rank? I'm a little confused here.

entities – Entity_print + Dompdf issues an error

  • I am using Drupal 9.0.5
  • When I use composer require drupal/entity_print it automatically install dompdf/dompdf in its v0.8.6 version and then entity_print in the 2.2.0 version.
  • I then add a link View Pdf for the entity type article.
  • But when I click on such a link I don’t get the pdf file but an error that appears upon the article (in red) :
Error generating document: Failed to generate PDF: Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone, Image not found http://localhostnone 
  • I removed the image from the article (onlly text) but I get the same messages.
  • composer.json is under /var/www/html/d8igpde2
  • index.php is under /var/www/html/d8igpde2/web

Any Idea?

Parse python code, for specific pep8 issues

I am aware, that libraries exist for parsing python code, however, for the sake of learning how they parse errors, I’m creating a script that checks a file for only 6 Pep8 errors just for reference.

This is how my current 6 Pep8 functions look (they append an issue to the issues list, if issue was found)

"""
(S001) Line is longer than 79 characters
(S002) Indentation is not a multiple of four
(S003) Unnecessary semicolon after a statement (note, semicolons are admissible in comments)
(S004) At least two spaces before inline comments required
(S005) TODO found (only in comments; the case does not matter)
(S006) More than two blank lines used before this line (must be output for the first non-empty line)
"""
def S001(self, ln_num: int, line: str):
    if len(line) > 79:
        self.issues.append(f"Line {ln_num}: S001 Too Long")


def S002(self, ln_num: int, line: str):
    indentation_length = len(line) - len(line.lstrip())
    if indentation_length % 4 != 0:
        self.issues.append(f"Line {ln_num}: S002 Indentation is not a multiple of four")


def S003(self, ln_num: int, line: str):
    regex1 = re.compile("(.*)((;(s)*#)|(;$))")
    regex2 = re.compile("#.*;")
    if regex1.search(line) and not regex2.search(line):
        self.issues.append(f"Line {ln_num}: S003 Unnecessary semicolon")


def S004(self, ln_num: int, line: str):
    regex = re.compile("(((^ ){2})|(s(^ ))|((^ )s))#")
    if regex.search(line):
        self.issues.append(f"Line {ln_num}: S004 At least two spaces before inline comments required")


def S005(self, ln_num: int, line: str):
    regex =  re.compile("#(.*)todo", flags=re.IGNORECASE)
    if regex.search(line):
        self.issues.append(f"Line {ln_num}: S005 TODO found")


def S006(self, ln_num: int, line: str):
    if self.code(ln_num-4:ln_num-1) == ('', '', '') and line != "":
        self.issues.append(f"Line {ln_num}: S006 More than two blank lines used before this line")

Testcases:

""" Test case 1 """
print('What's your name?') # reading an input
name = input();
print(f'Hello, {name}');  # here is an obvious comment: this prints greeting with a name


very_big_number = 11_000_000_000_000_000_000_000_000_000_000_000_000_000_000_000
print(very_big_number)



def some_fun():
    print('NO TODO HERE;;')
    pass; # Todo something
""" END """

""" Test Case 2 """
print('hello')
print('hello');
print('hello');;;
print('hello');  # hello
# hello hello hello;
greeting = 'hello;'
print('hello')  # ;
""" END """

""" Test Case 3 """
    print('hello')
    print('hello')  # TODO
    print('hello')  # TODO # TODO
    # todo
    # TODO just do it
    print('todo')
    print('TODO TODO')
    todo()
    todo = 'todo'
""" END """

""" Test Case 4 """
print("hello")


print("bye")



print("check")
""" END """

""" Test Case 5 """
print('hello!')
# just a comment
print('hello!')  #
print('hello!')  # hello

print('hello!') # hello
print('hello!')# hello
""" END """

Testcase 1 Expected Output:

Line 1: S004 At least two spaces before inline comment required
Line 2: S003 Unnecessary semicolon
Line 3: S001 Too long
Line 3: S003 Unnecessary semicolon
Line 6: S001 Too long
Line 11: S006 More than two blank lines used before this line
Line 13: S003 Unnecessary semicolon
Line 13: S004 At least two spaces before inline comment required
Line 13: S005 TODO found

I am aware my code, is not optimal, and doesn’t satisfy every edge case, but I want an idea, on how they parse the errors properly. I would like improvements, or better ideas on how to parse for errors, since i personally don’t like my answers.

erd – Issues Designing ER Diagram

I’m trying to design an ER diagram in the relational database module of my course. We were given a scenario to draw a diagram for and then create a database within Access. I have the database covered, but want to be sure I’m on the right track for the diagram.

Scenario:

The model is for business functions within a car dealership. Minimum
and maximum cardinalities must be indicated. Entities and processes to
be considered include Customer; Cash Received; Cash; Salesperson; AR
Clerk; Sell Vehicle; Inventory.

A few assumptions must be made about resources and the payment event. Assume the company only sells inventory that is in stock, thus
customers will not be ordering vehicles and every sale is only for one
vehicle. Inventory is categorized based on model information.
Additionally, assume that the dealership has multiple cash accounts
and that customer payments are always deposited in the same cash
account. Since the dealership offers financing, customers can make
monthly payments on their vehicles so customers can buy now and pay in
installments later. Any other assumptions that need to be made should
be consistent with the business processes in a typical auto
dealership.

My answer (I don’t believe I have a firm grasp on this at all — I also don’t have the ability to embed pictures yet):

View post on imgur.com

Thank you in advance for your help!!

visas – Saudi Arabia travel issues during pandemic Covid-19 – September 17 2020

My Saudi iqama is going to expire on the 23rd of this month and I’m in India right now too. Now Saudi Arabia has been lifted the travel ban but still, there are no international flights from/to India.

Now my question whether my iqama will expire on this month itself or it will be auto-renewed until the international flights have been resumed?

Tolerant Planet LTD – A Platform to Get Inspiration About Issues of Life – Cryptocurrencies Corner

vPchgdV.jpg

Are you looking to take courses on financial freedom, Bitcoin and cryptocurrency, investment schemes or music? Then look no further than Tolerant Planet LTD. 

Tolerant Planet LTD is one of the leading platforms in the world designed for entrepreneurs, inspired writers, and researchers to share their wealth of experiences and knowledge in the form of courses, eBooks, podcasts, children books, coaching, and music to inspire creative thinking. The goal of the company is to give everybody an opportunity to learn inspiring subjects through self-education. 

What Courses Do Tolerant Planet LTD Offers?

The following are some of the courses you will get on their website:

●    Bitcoin and cryptocurrency: You will learn what Bitcoin and cryptocurrency are, how to buy and store them for just $50. 

●    Investment Vehicles: If you bereft of what investment ideas to invest your hard-earned money into, this particular course is for you. At the end of this course, you should be on your way to financial freedom.

●    Get Rick Quick: In this course, you will learn the nitty-gritty of getting rich quick for just $250.

●    How to talk to the universe: Do you want the universe to conspire in your favour? Then buy this course to learn how for just $45. 

●    Healing: The healing course by Tolerant Planet LTD goes for $100. If you grab this course, you will learn about different healing modalities and how to heal others. 

●    The power of our belief system: Do you know how our belief system works? With just $200, you can get hold of our belief system to transform your subconscious mind. 

●    Introduction to classic music: Here, you will learn a whole lot of things regarding classic music. If you are a classic music fanatic, this course was written with you in mind. The cost goes for $120.

●    Healing sounds and harmonies: Do you know you can use an ancient vibrational medicine to open your mind and quiet the mind? Sounds interesting right? Purchase this course for just $150 to learn how. 

●    Financial Freedom: This course doesn’t need introduction, as the title is self-explanatory. If you desire financial freedom, of course everyone do, purchase this course for just $200. 

●    Musical Harmonies: This course comes in three bundles and crafted to teach you the different fields in music. From Western, Eastern to healing, and everything in between, you will learn just everything about music for $150.

●    Intuitive Healing: This course goes for $150. This course will teach you everything you need to know about intuitive Healing and where to use it. 

●    Dance till you can’t Dance: This course will teach you how your body, heart, and mind are connected. Plus, you will be fully aware of your body. With just $150, you will learn all of these. 

Tolerant Planet LTD currently offers promo to those desirous of any of the courses listed above. If you place an order using the promo code “SEPT2020,” you will enjoy a 20% discount. 

Wondering how to join Tolerant Planet LTD and place an order? Just head to their website: The company actually has a simple and straightforward registration for you to go through. 

Simply visit their website www.tolerantplanet.com, and you are good to go.

Is it better for performance issues to run Microsoft Teams on macOS or in a virtual machine with windows?

Microsoft Teams is known to cause performance issues on Mac OS.

I have a MacBook Pro 13′ 2020 with 16 GB Ram and I was wondering if it would be better for overall performance to run Teams on a Virtual Machine running Windows instead.

Some discussions:

  • https://answers.microsoft.com/en-us/msteams/forum/all/performance-issue-on-mac-when-sharing-screen-in/9b96f652-d2d2-40f4-aaf8-a921273fd165
  • https://techcommunity.microsoft.com/t5/microsoft-teams/why-teams-is-slowing-down-my-mac/m-p/1334064
  • https://microsoftteams.uservoice.com/forums/555103-public/suggestions/40410775-please-fix-desktop-app-performance-on-macos-cons

bitcoincore development – Why do some Bitcoin Core “good first issues” require scripted-diffs?

From the Bitcoin Core developer notes, when the bash script is included in the commit message the “Travis CI job checks that the result of the script is identical to the commit.” It also makes it more efficient to review for reviewers if they can review and run a bash script rather than needing to do additional checks that the PR covers all the cases it should.

With regards to the scripted-diff examples looking complicated you can look through other examples in the Bitcoin Core repo by running:

git log --grep="-BEGIN VERIFY SCRIPT-"

Alternatively here is a simpler example that you can start from if you are trying to do a basic find and replace exercise.

If you need help writing your bash script you can ask questions on #bitcoin-core-pr-reviews on IRC.