Showing that a language is NP Complete (advice)

I am currently getting ready for my final exam in computational models. I know that there aren’t any rules or rule of thumb to show that a language is NP-complete and each problem has its own tricks, but I am really struggling with questions where they give me a language and showing that the language is NP-complete by showing that an NPC problem is polynomial reducible to the given language.

So I wanted to ask for advice. How can I approach such problems? Are there any steps that I can take before to help me somehow? Or is it just literally figuring out which NPC problem is “closest” to the the given language and try to construct a polynomial reduction?

I’d appreciate any advice. Thank you.

Please Advice: Need Advice for A New Blog

Hey!

My passion is Marketing, followed by freelancing, all things technical, solving problems, blogging, SEO etc. I used to write blog posts for a few clients in the past as well.

I do like horses but don't know much about them. So what about horses? Well, you've guessed it right! Am a little confused about selecting the right niche for my new blog.

I am very passionate about online blogging and the niche's I have shared… but it's sort of overrated to start a blog about blogging and…

Please Advice: Need Advice for A New Blog

Advice on how to implement specific design in Sharepoint Online

I have been assigned by my company to create an intranet using Sharepoint Online (we have plan 2). I was given a design sketch on how it should look:

The main/welcome page: https://imgur.com/a/8s2n8b2

A list of articles published/news archive (or news called in Sharepoint perhaps): https://imgur.com/a/JxY3NNO

The layout for an article(news): https://imgur.com/a/A31uAvE

I am a beginner in Sharepoint and I would like some advice on how to implement things in a correct way. I am having full admin rights and I have the freedom to do almost anything.

So far, I created a communication site where I created a masterpage for having the black toolbar on the top with the required text etc. I also created a page layout for the artice page to have the content aligned on the middle, with an image at the beginning etc (I know HTML/CSS/JS etc). All our articles will have a big image at the beginning.

Now I am very confused on how to proceed with the News Archive page (and also display the latest 3 articles on the main page). What I need to display, as in the design, is the title, the image and the beginning of the article (and also an url to the article on click). So no fancy rolling up images.

Here is what I tried so far:

  1. Add a snippet in the design with a content query, but I only managed to get the articles’ titles and url. I was unable to retrieve the images and the beginning of the text (I need to get the images from the article itself, not from the Site Collection Images folder). I need somehow to run a query that retrieves all 4 things.

  2. Use the Corporate News App. But how do I add content to that app from my articles? From what I saw, you manually add some news in the app. When a user clicks on a news part, it has to be redirected to the article page (so it has the same layout). I need an automatic process, once a writer publishes an article, it automatically gets on top of the page.

  3. Create a team subsite in order to have the news functionality. But I wasn’t able to bring my custom article design when reading some news.

Which is the correct way of doing it? I want to know in what direction to continue my research/learning. Do I need to install Visual Studio and write some C# code in order to achieve this? Take into account that later on, I will have to add some filtering of the articles (can be seen in the design for the news archive).

Thank you.

Advice on where to publish?

Where can I publish?

I don’t have an arxiv account. I have some access to my math professor but I am a bit of a math crazy lol. Is there anything better than youtube?

Are there any math channels for youtube proving of math?

Do you lose your math card if you sponsor a math crazy to publish on Arxiv?

I am working on the collatz and unless there is a big library of all the collatz approaches somewhere hidden I think I have novel approaches with novel results.

For example, if you were to create a sequence of collatz steps with the same number of non leading 0s in the start and the end and tell me the number of pairs of 1s in categories I describe to you I can tell you how many 0s are in-between those pairs of 1s.

Today I think I have a proof that no new loops are possible but who knows what tomorrow brings =)

My approach uses digits as symbols instead of as values.

But the funny thing is that although this was helpful for concentrating my effort in the right place and helping me to see important things it isn’t where the proof appears to lie.

The proof seems to be deeply buried in pretty bland math that I went to a greater search depth in because I was expecting a solution to be just around the corner with my fancy new tool.

None of my discoveries are that major but several non intuitive things need to be done together to get the result.

I appreciate any advice you have on alternate ways for a math crazy to publish.

Any advice for Git workflow using branch per development team (and not per feature)

In our project, we have 5 teams working on a monolithic application in 3-week sprints. Until now, all commits go into master (via Gerrit). Our test pipeline is too lengthy to ensure quality pre-commit, so we have to accept that some commits break things. I’m aware that the root cause here is the pipeline, and a breaking commit should never reach master. We have to accept this, however, until our pipeline redesign is complete, and this will take several months in the least.

We’re now discussing the approach of “team branches”, where each team would develop and commit on their own branch, and update the master periodically. The heated part of the discussion revolves around merge or rebase. Our current understanding is:

Rebase

  1. On branch-team1: git rebase origin/master
  2. Resolve conflicts
  3. Push to branch: git push origin branch-team1 --force-with-lease
  4. Finally, rebase master: git rebase branch-team1

With this approach we see commit IDs changing (due to rebase + push –force), and part of our change history is invisible to Gerrit. The former has the effect that the entire team needs to halt work during the rebase, as their un-pushed work might get messed up due to the changing commit history.

On the plus side, this approach yields an easily readable history on master. Each commit is visible, and can be cherry picked or reverted.

Merge

  1. On master: git merge origin/branch-team1 (+ resolve conflicts)
  2. On branch-team1: git rebase origin/master

The main concern expressed here is that the history becomes much harder to read, as the master will mainly contain large “composite merge commits”. For debugging/blaming, the associated team branch would have to be checked for the further history. Also, reverting a single commit (originally on a team branch) becomes more tedious.

However, a short proof-of-concept indicates that the history is no different to the Rebase approach, except for the actual merge commit. Similarly, cherry picks / reverts seem just as easily done, with the sole exception being if part of the cherry pick / revert would actually be a change made during conflict resolution and thus part of the merge commit. This, however, seems a tad far-fetched.

A third way?

It seems both approaches have negative aspects (personally I don’t see much negative in the merge approach, but others on our project are clearly against it). It’s a bit hard to believe that with the power and popularity of GIT, there isn’t an established approach available which doesn’t require squabbling over.

Does anyone have some practical experience to share here?

Repeated Installation Failure on 19.04 and 18.04.2 – Troubleshooting advice?

For the first time in several years of using Ubuntu I’m completely failing to install on a couple of desktop PCs. They have identical specs, and both fail in similar ways so its highly unlikely its hardware failure. I’ve tried 19.04 and 18.04.2 LTS.

The installer fails on both from Live USB boot and from direct install. It fails due to random parts crashing at any point during the installer – the timezone picker crashes, the part which is making partitions fails, it fails with a random unknown error later in the process and tries to make an error report but crashes out completely during that phase. I can’t get any debugging information out.

I’ve tried disabling UEFI Secure Boot from BIOS and have gone through looking for any weird looking power savingfeatures in BIOS but I’m not really sure I’m looking for? I’ve formatted the disks with long format i.e. writing 0s just to make sure no weird partition problems from all the failed install attempts.

I’ve also tried two different USB sticks.

Any advice for where to look for errors or what to try switching off? Here is the hardware spec. Again I have two identical PCs both with this issue.

Processor (CPU) IntelĀ® CoreTM i5 Six Core Processor i5-8500 (3.0GHz) 9MB Cache

Motherboard ASUSĀ® H310M-A R2.0: Micro-ATX, DDR4, LGA1151, USB 3.1, SATA 6GBs

Memory (RAM) 16GB Corsair VENGEANCE DDR4 2400MHz

Graphics Card 2GB NVIDIA GEFORCE GT 1030

Ireland: would love advice on my itinerary / is it too ambitious? [on hold]

I’ve been to Ireland once in 2014 and did a semi-similar trip (but my trip was longer, i did Cliffs of Moher/Burren, Aran Islands, Galway, Dingle, Cork, Trim, and Dublin) and i am bringing my boyfriend for the very first time. We are both on-the-go travelers and enjoy sleeping in a new place every night, just want to make sure i am not overdoing it or burning us out. Thoughts?

Day 1 Land in Shannon at 10am, pick up rental car, go to cliffs of moher + doolin cave and/or ailwee cave (any preference?)

lunch in Doolin explore Limerick / dinner in Limerick sleep in Limerick

Day 2 wake up in Limerick, drive to Dingle explore Dingle peninsula lunch/dinner in Dingle area Sleep in Dingle

Day 3 Wake up in Dingle Do Ring of Kerry not sure on lunch yet, maybe we pack sandwiches dinner in Killarney sleep in Killarney

Day 4 wake up in Killarney maybe do Killarney national park? or straight to blarney castle. probably pack sandwiches for lunch dinner in Cork sleep in Cork

Day 5 wake up in Cork Kilkenny castle / Dunmore caves sleep in Kilkenny

Day 6 Wake up in Kilkenny straight to Dublin / returning rental car in city centre Book of Kells / Jameson distillery (we are skipping Guinness factory because I’ve already gone and my bf isn’t a beer fan) dinner around temple bar area

Day 7 Early flight out of Dublin (7am)

Looking for advice setting streaming site

I’m a sysadmin of a small barber college. I was charged with building a Web site to host training videos for your students. I need a server specs or setup for the following:

1- 200 students w/ max 100 concurrent streams. 2- 200 videos ranging from 5mins-1 hours each. 3- Ubuntu WordPress site running nginx or open lightspeed 4- Expecting 10TB of bandwidth/month.

I’m looking at buying a dedicated 1U Ryzen Epyc 8 cores CPU w/ 16GB of ram, 1GB NVME OS w/ 2 x 4TB RAID disk and setup the following VM:

1- 1 core/1GB RAM – Dev/Staging 2- 3 cored/7GB – Mysql Server 3- 4 cores/8GB RAM – Web Server

My question is what type of VM should I use, colocation needs for my server or if that’s a proper setup. I’m planning to use Cloudflare free CDN or is there a better and cheaper CDN to use ?

Any help or ideas on how to build a proper video streaming site appreciated.

Thank you in advance for your help.