Member Avatar
I have written a formal Deadlock prevention code but I'm having trouble implementing this algorithm. Any help is appreciated.

I have represented the algorithm below,

**Formal algorithm description**

Data structures at a process i: (It is the initial value in the parentheses.)

• OUTi: set of integer, the set of … Topic by Siddharth_13 in Programming
Member Avatar
happygeek 2,127 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
'Cheap' and 'SEO that works' - or at least without straying into black hat territory - tend not to be great bedfellows. Reply by happygeek
Member Avatar
davy_yg 7 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
"What did your SEO specialist friend tell you works? In fact, why aren't you using their services?"

Well, that's a good idea, I will ask him which works. Thanks. Reply by davy_yg
Member Avatar
davy_yg 7 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
I can't afford him doing the seo. The price is like 30x more expensive.

It's like paying his salary for a year.

I am looking for a cheap service that works lol. Reply by davy_yg
Member Avatar
happygeek 2,127 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
"My seo specialist friend"

What did your SEO specialist friend tell you works? In fact, why aren't you using their services? Reply by happygeek
Member Avatar
davy_yg 7 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
Well, the cheap service said it is white hat. My seo specialist friend said that it might be black hat.

It is backlink PBN. I cannot tell difference. lol.

Since I am still a beginner which one actually works and which one does not. Reply by davy_yg
Member Avatar
Topic by Eashan in Programming
You have two root=Tk() statements which Tkinter does not like. Also you don't have a mainloop(). And I have no idea what you want to do or why this program was posted here. Reply by woooee
Member Avatar
tinstaafl 1,015 Replied To a Post in How To calculate time in a specific day.
Topic by VIPER5646 in Programming
So basically you will have to get that column from the database and parse it. How, will depend on how the database is set up to store the bitmask. Reply by tinstaafl
Member Avatar
Featured Reverend Jim 2,157 Edited Code Snippet vbScript Implementation of FolderWatch
AN often underused control from vb.Net is the FolderWatch control. But sometimes you need to throw something together that doesn't need a fancy GUI. Or perhaps the task seems too trivial to go to the hassle of coding it up in vb.Net (or C#). Because the FolderWatcher is built on … Topic by Reverend Jim in Programming
Member Avatar
Featured Reverend Jim 2,157 Created Code Snippet vbScript Implementation of FolderWatch
AN often underused control from vb.Net is the FolderWatch control. But sometimes you need to throw something together that doesn't need a fancy GUI. Or perhaps the task seems too trivial to go to the hassle of coding it up in vb.Net (or C#). Because the FolderWatcher is built on … Topic by Reverend Jim in Programming
Member Avatar
Topic by VIPER5646 in Programming
The Database currently has a column with the day an install is scheduled and another with the number of days and if it is am or pm install.
this is the format of the number of days column it is a mask field AM-PM-#days_. Reply by VIPER5646
Member Avatar
tinstaafl 1,015 Replied To a Post in How To calculate time in a specific day.
Topic by VIPER5646 in Programming
If the database doesn't have the ability to break down the day, it's going to be nearly impossible to break it down yourself. Reply by tinstaafl
Member Avatar
Topic by VIPER5646 in Programming
thanks
but I can't refactor the database because I didn't created it.
It belongs to another program. Reply by VIPER5646
Member Avatar
tinstaafl 1,015 Replied To a Post in How To calculate time in a specific day.
Topic by VIPER5646 in Programming
I would suggest that you refactor your data table so that you store the hours each day a specific installer is available, with perhaps a flag to indicate that there are no available hours for that installer, that day.

This would give you much more flexibility in your searches as … Reply by tinstaafl
Member Avatar
Topic by Andrew_45 in Hardware
Testing takes time, but one simple test can find a lot of problems like fake sticks. Just write the three byte pattern 0x55AAFF over and over, and then verify it. If it is a fake stick, the 3 byte pattern will go wrong. To speed writing an checking, you can … Reply by David_50
Member Avatar

from tkinter import*
import tkinter
import sqlite3
import sys
conn = sqlite3.connect('REVISION CARD.db')
c=conn.cursor()


def load():
root=Tk()
root.title("REVION CARDS")
root.geometry("700x400+100+100")
w1=Label(root, text="Question")
w1.pack()
e=Entry(root,width=40)
e.pack()
w2=Label(root,text="Answer")
w2.pack()
e1=Entry(root,width=40)
e1.pack()
toolbar=Frame(root)
navbar=Frame(root)
N=Button(toolbar, text="next",width=9,command=getNext)
N.pack(side=RIGHT, padx=200, pady=5)
B=Button(toolbar, text="previous", width=9)
B.pack(padx=100, pady=5)
toolbar.pack(side=TOP, fill=X)
count=IntVar()
c.execute("SELECT * FROM topic")
list1 = … Topic by Eashan in Programming
Member Avatar
rproffitt 1,103 Replied To a Post in Lenovo Screen Flickers Black
Topic by Fide_1 in Hardware and Software
Ahh the perils of the failing laptop. Your first order of business is to backup your stuff before it's lost. After that you may want to run some hardware test apps. I don't find any to be better than the rest but look out for failing HDDs as for some … Reply by rproffitt
Member Avatar
Reverend Jim 2,157 Replied To a Post in Bar code
Topic by Kuldeep_6 in Information Security
Do you have a question? Reply by Reverend Jim
Member Avatar
Featured Reverend Jim 2,157 Replied To a Post in Jokes
Topic by Ancient Dragon in Community Center
A few years ago Lewis Black did some schtick about how Michael Jackson had become his own punch line. Trump is there now. Unfortunately with Trump as the punch line, that makes the US the joke. Did you happen to catch the video of the comb-over on the back of … Reply by Reverend Jim
Member Avatar
Topic by Nirmit_1 in Hardware
How long does it runs without power? Shuting Down after plug-in is a abnormal behavior.
I think your settings do the trick. At which point it you tried to plug in? Normally when the battery level reachs to 10% laptop normall tries to hibernate. In your case it has been … Reply by matt_28
Member Avatar
matt_28 Replied To a Post in Which laptop to buy?
Topic by Sandra_13 in Microsoft Windows
As you are not mainly targting very heavy work, you don't need high end laptop. So 400 budget is enough for you. But you should consider various factors when selecting your laptop.

1. Ram - Now a days 8 GB is the normal. Even though 4 GB is enough. Go … Reply by matt_28
Member Avatar
gentlemedia 577 Replied To a Post in SEO
Topic by davy_yg in Search Engine Strategies
seo
Never ever go for a cheap SEO service!!!
https://www.youtube.com/watch?v=piSvFxV_M04

It's funny though that the cheap one is honest about him using black-hat techniques. Good SEO takes time and resources, but you can do a lot of on-page SEO yourself, because all the info how to do this properly is easy … Reply by gentlemedia
Member Avatar
Featured happygeek 2,127 Replied To a Post in Jokes
Topic by Ancient Dragon in Community Center
A Russian spy, a sex pest and a billionaire walk into a bar.

The barman says: "Hello Mr President..." Reply by happygeek
Member Avatar
Featured happygeek 2,127 Revoked Solved Status for Jokes
A cat has 9 lives -- what has more than 9 lives?

Answer:







Frogs because they croak every night. (Duck Dynasty) Topic by Ancient Dragon in Community Center
Member Avatar
Featured ddanbe 2,690 Replied To a Post in Jokes
Topic by Ancient Dragon in Community Center
Dad, from whom do I have my intelligence?
Hm, I think from your mother.
I still have mine. Reply by ddanbe
Member Avatar
davy_yg 7 Created SEO

Hello,

I am looking for a cheap seo service that works. I am trying to make my web page #1 in google.com .

What should I do ? I know an seo specialist yet the service is very expansive. It takes 6 - 12 months to do so. He said. … Topic by davy_yg in Search Engine Strategies
seo
Member Avatar
ddanbe 2,690 Gave Reputation to rproffitt in Pseudocode
Topic by Ashanti_1 in Computer Science
Psuedo code is easy to find the definition on the web, so that's not the hurdle here.

What I want you to do is forget that you are coding. Imagine you have to do this manually. What steps would you take and to get it ready for a computer program, … Reply by rproffitt
Member Avatar
Kuldeep_6 Created Bar code
I am inform every bady in bar codes Topic by Kuldeep_6 in Information Security
Member Avatar
Topic by webguru_1 in Digital Media
seo
HTML, as stated in the standard, is case-insensitive. XHTML, like all XML, is case sensitive. Reply by pty
Member Avatar
Topic by Clif40RD in Community Center
Well unfortunately it seems that you can't use/deploy the debug version. I have posted the question on xamarin forums, waiting for a response. Thanks for all your support and insight rproffitt, I really appreciate it. Reply by Clif40RD