Programming :: Does The "Exhibit A" Section At The Bottom Of The MPL Need To Be Filled Out Within The License Text Itself
Mar 1, 2011
Does the "Exhibit A" section at the bottom of the MPL need to be filled out within the license text itself? Is just including the "boiler-plate" license comment from [URL] in all source files and a verbatim copy of the MPL sufficient to cover a project?
There are blanks within the "Exhibit A" section that look like they should be filled out, yet it doesn't make sense that the license text should need to be modified in addition to the boiler-plate license comment.
Title : Author : Price France : Mark : 40 Persia : John : 50
how i arranged my database. I am trying to write aprogram which does a search either using Title, Author or both.
[Code]....
but i am still unclear on how i am able to make the program check if either on of the input(either $Title or $Author) is not filled up, and if one of it is not filled up, use the other one which is filled to do a search.
You maybe know that VirtualBox has an "immutable" feature for HDD images. I.e. setup the system, if the stuff is in place, you can set the image to IMMUTABLE to prevent any changes to the image. Differences are written to a separated image. So on the next boot you'll see that all the (unintended) changes are gone and the "old" system is up & running again. I run an old SuSE 10.3 on a write-protected SD-IDE-Adapter. Changing and playing with RPMs is a mess due to around 50 changes I had to do to make that work. Is there any option to mount an SD-card as RO and having all the changes written to e.g. /dev/sda3? To make it clear: I thought about something like a RAID-X system, but could not find any description on how to setup a raidtab.
For some reason I have two IDLE icons in my application programming section:
IDLE IDLE(using python-2.6)
Both are the exact same versions, and I'm not sure if I need both. I understand that ubuntu runs on 2.6 so I'm a bit hesitant to just delete one without checking here first.
The following two pieces of codes share printing to stdout with a POSIX semaphore /dev/shm/sem.abcd
sema1.c:
Code: int j; sem_t *sem = sem_open( "/abcd", O_CREAT, S_IRUSR|S_IWUSR, 1 ); j = 0; while (j < 100) {
[Code].....
If started at the same time, the first will finish in about 10 seconds; the second 20 secs.
What I want to ask is, if the first program crashes at Checkpoint A, then B will never gets to continue, then normally how do programmers avoid this kind of deadlock due to crashes inside the critical section?
I would like to extract debug information but I have some problems. For example, I have a executable a.out...
Quote:
nm -f sysv a.out | grep ".global_var" >vars.txt
With this command I extract all my variables. All of them are in .global_var section, and it give me follow information:
Quote:
CAN_station_n |08073258| D | OBJECT|00000001| |.global_var CONTROLend |080732a7| D | OBJECT|00000001| |.global_var
[code]....
Well, I have only address of my vars, but I would like to know type var or struct of the variables. With dwarf dump I have all of information, but it is a mess...
########## some text text also includes empty lines ########## some more text ##########
Basically all sections are separated by 10 hashes and I need to somehow only print all lines in the last section (the "some more text" part in the example above"). I tried all kind of things with sed and awk but I didn't find any way to identify the last "section".
i am on processing text tasks And i found that if you assign a text to a variable is chomp'ed automatically the newline
Code:
variable=$(cat file.txt)
The problem is i can only access the items/lines using:
Code:
for line in $variable do echo $line # Other commands done
how do i convert this to an indexed array. More importantly, how do i get access to individual $line[0], ..., $line[n] Another thing, if the file.txt, has lines with spaces it is a mess using the for...in..., but echoing prints line by line...o_0
I need to insert 3-4 lines of text to the beginning of a text file. The file is a largish MYSQL dump, the result of a backup shell script. This shell script should insert the required text.I've wrestled with sed, but lost.
I have to delete a certain line of text from the a textfile via ubuntu's shell scripting.I have done research, and it seems that most people advocate the usage of sed /d option. sed makes does not edit the text file. Hence, most options I discovered involved the use of a temporary variable/textfile and then overwriting the old file with the temporary new file. Is there anyway whereby I can bypass the use of temporary storage containers? I hope there is any magical combination of commands to edit the file directly.
I want to display something in my text view widget in glade using c code. that's all right. now I need to attach a save button beneath the text view.so that on click the text view content should save as a txt file..
I want to display the contents of a particular log file (simple text file, I mean in Linux). But there is a problem: The contents need to be organized in a fixed format. Have a look at this log file:
So, while displaying the contents of above file on a web page, I want to format the field names found in the log file: User Name:, Reported Problems Description:, and Remarks:. These fields may contain a variable length of text and no specific line number is assumed for them to appear on.
Well, what I am trying to do may sound wierd to some of you. The filed "Reported Problems Description:" can possible contain text which embeds colon (.
I am trying to find sed command combination to print out the "start command" line, the id line and all lines between "details" and "stop command" only if "error" exists. Here's the original output (test.txt):
a sed command to add a text before line number in text file? I have text file with 500 lines, and i want to add 3 more lines with text after line 300, OR before line 302, isn't no problem.
So about an hour ago I put my computer on standby. For whatever reason I couldn't bring it back so I restarted it. It works fine except now Ubuntu has pushed my display down. This means that the bottom of my tool-bar on the bottom of the screen is cut off, and there's a black bar on the top. I'm using a T.V. screen so there is no way I can manually adjust it. I also plugged my desktop back into an old monitor and it was off-center downward too.
I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:
How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."
First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:
1. If true, use semaphore protection to enter/exit critical section
2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.
Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?
So lets say my command line looks like this:
what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?
I've an 8GB swap (I know, overkill, but I don't have space issues, and I'd rather have too much instead of too less). The problem is that my physical memory fills up, and the system crashes, but swap usage is ALWAYS 0% Mem: 8060580k total, 5193436k used, 2867144k free, 1013788k buffers Swap: 8388604k total, 0k used, 8388604k free, 2262112k cached Setting aside the fact that I can't trace why memory usage goes up to 8GB with just firefox/terminals/pidgin, why isn't my swap EVER used?
Also, if I run Code: # top 2301 hugo 20 0 1887m 665m 38m S 19.9 8.5 267:38.63 firefox-bin 1811 root 20 0 166m 67m 10m S 10.8 0.9 128:04.59 X 1973 hugo 20 0 306m 78m 16m S 0.8 1.0 42:30.04 compiz 2024 hugo 20 0 487m 13m 8836 S 0.2 0.2 2:14.73 Terminal 1980 hugo 20 0 333m 7228 5492 S 0.1 0.1 0:54.49 lxpanel 7048 hugo 20 0 15016 1168 820 R 0.1 0.0 0:00.03 top (The rest are all "0 0 0 0 S 0.0 0.0")
If add up all of the RES columns, I get <1GB. If I add all the VIRT column, I get about 3GB. Where's the other 2GB being used? This goes up all the way to 8GB, without being able to add up where my memory's going.
I use one PC only, I paste some files and folders into the U1 folder. Files upload to the webstore, I can see them via the web. Now, *what* is subsequently used as a *reference* for content? For example, what should happen if I rename a folder in the PC U1 folder? Should the new name later appear appropriately on the webstore? What should happen if I use the web access, and delete a folder in the webstore? The PC U1 folder remains full, does the web store get filled and corrected? At a time when the webstore is complete and correct, if the contents of the PC U1 folder is deleted by me, will the webstore contents act as a form of backup? Or will the webstore contents also get removed by U1 process?
Lately however my root filesystem is getting filled up every night-- I come in in the morning and have notices that I have 0 bytes remaining. There's tons of room on the disk, but the root is full. Here's what it looks like with a df -h:
I have just recently installed Ubuntu 8.04 (i had 10.04, but the video drivers were not compatible). Here's my dilemna. I run the "df" command and notice that it appears as though the drive is 100% full with no space free. Is that correct? And where do I look for the offending file/directory?
i have a HP wx8000 with a scsi drive on it that has a max capacity of 65GB. my HDD reports that it has 57.5 Free. it also reports that i have 56.2GB used. i am really confused at this point. it was a brand new install 5 days ago.
i have an 8gb sandisk micro sd card that i was having problems with, so i decided to zero it out, problem is now i can't repartition it.i have tried gparted, the disk won't appear, but when it is attached, i can see a /dev/sdb in devices that isn't there otherwise.is it possible to create a new partition table on this, and how?also i am trying to 'sudo mkfs.vfat /dev/sdb' but it is saying
I read few threads from 2006, and at that time it seemed there was no good way to save a PDF which had data input in the form fields. Has this changed? Printing is not really an option, since I won't fill these forms in one sitting. When I save with Ubuntu's default PDF viewer, the form field data does not seem to be saved along with the PDF.
I have a MythTV backend setup with videos also transcoded to a directory for streaming to my Roku frontend. A week ago, the backend had an issue that caused the hard disk to fill up, which borked a bunch of things up. I've since repaired the damage (and learned a lot about log size settings for logrotate.d). Anyway, my last problem is that a script I wrote to compare the files in the transcoded directory to the MythTV base directory and delete files no longer relevent doesn't work anymore. I get the following error when run by any user, including root:
Code: bash: ./roku-autoexpire.sh: /bin/bash: bad interpreter: Permission denied
The script worked fine before the hard disk fill, but now I can't seem to get it to work. Both the original MythTV partition and the streaming partition are XFS. Here's the pertinent lines from fstab:
Code: /dev/sdb1 /var/www/mythroku xfs defaults,auto,grpid,exec,user 0 0 /dev/sdc1 /mnt/mythtv xfs defaults,exec,user 0 0 Permissions for the directories are the following: Code: drwxrwxr-x 2 mythtv mythtv 16384 2010-12-13 19:21 /var/www/mythroku drwxrwxr-x 2 mythtv mythtv 20K 2010-12-13 20:13 /mnt/mythtv
I tried fiddling with the mount options for the partition, but that didn't seem to solve the problem.