text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
This is your resource to discuss support topics with your peers, and learn from each other. 02-02-2011 07:52 AM I have a fixed size vertical manager, that prevents fields to become too wide. It works fine, but after sublayout() I would like to inspect the fields to see if any wrapped around because the set width of my manager was too small. As can be seen in my picture, the LabelField wrapped around. I would like to know how do I know programmically if the LabelField wrapped around? public class FixedSizeVerticalManager extends VerticalFieldManager { private int width; public FixedSizeVerticalManager(int width) { super(0); this.width = width; } protected void sublayout(int width, int height) { width = this.width; super.sublayout(width, height); } } 02-02-2011 07:58 AM just some ideas: - check the field height against the font height - overwrite drawText, do some checks and call super. 02-03-2011 07:16 AM Yeah I used the font.getadvance for that. thought there was a nicer way, but thanks anyway. always good to have it confirmed
https://supportforums.blackberry.com/t5/Java-Development/How-would-you-know-if-a-LabelField-was-forced-to-wrap-during-the/m-p/771869
CC-MAIN-2017-13
refinedweb
176
74.9
n' "HAWAIIAN 'iAfe'ErJT.;-FRliAV AUGUST 2, 1918. SEMI WEEKLY. Im, VAR SUSPENSION F GENTLEMEN'S AGREEMENTASKED Hawaii Hochl Believes That Se curing This For Hawaii Would Settle the Labor Problem PROPOSES TolilNG V MEN FORMERLY HERE Plantcrt' Bureau Sees Little .: Chance For Lack of . ; ; Transportation A temporary, war-time suspension of the'; Gentlemen ' Agreement, under which Suspension thos Japanese labor ers '.who havs gone back to Japan might fior return sg&in to Hawaii, 'would solve Hawaii 'a labor problem, in the opinion 0 the Hawaii Horhi, the Tnpnese daily of which Fred Makino in principal owner and editor. The Ho rhi says that these Japanese kamaainaa wonld gladly return to the Islands if given the opportunity. There are morn than, eight thousand such. E. Faxon Bishop, chairman of the planters labor committee, says that it i improbable that the mgar planters will take an J" part in thin suggestion of the Hoehi, keeping nut of it in the aatn m"T '"St 'bey have kept out of the., plaa to aeenre Chinese im migration. While the sugar industrv must aeenre labor ffom somewhere, the policy of the plantera is not to ask eonjrress to amend laws or make any exceptions in general legislation. Tne Hoehi 's article, in full, is: .We have repeatedly discussed the lalior aupply problem of Hawaii, and our conclusion a to the aoiution of the problem has alwaya been to induce . thou Japanese who previoualy have resided in Hawaii and who have return ed to their native country to come to Hawaii again. The Hoehi has been eon ducting a atudy and investigation of tho labor aupply problem and haa found the number of Japanese who returned to Japan and also found that moat of these Japanese are desirous of eoming to Ifawail agafn. . "Ib the following table we will show the number of Japanese who have left Hawaii and the number who came bark daring a period .of five years and five months from January, 1P13, to Mav 1918. iThe table does not Include the number of. womea who have left and arrived during the same period. The fijrnree refer only to men who had " been laborers here. Excess of Departure ... ."IBIS". ' Departures Arrivals January rtfl ".February '. ; March . . April . ... May . ... j June . July . ... August . . September ' Oi-tober . . , jjovcmbef December . V Total . IM 130 194 14 SU 104 241 388 180 171 140 239S 88 fll (Iff 80 59 93 54 fll .VI 4' :t 773 .' The number who did not come v ?. ' back l,fl-" IepartureM Arrivals .. January . t February 'Bfaxch , . VJtpril . . May . .. ' - J One . . . 7.for . Auguat . . September r October . '" 'JSoy ember . December HH So 70 7 156 52 841 r,9 20t 57 152 4(1 184 .Irt 2SL 49 297 3 1 132 43 229 32 158 72 2252 0H ...Total : The number who did not (-miiio -back . 1913 January . v Fubruary . ' March . . April . . May . . . . June . . . 'My . .. ' Auguat . Heptrmber October . " November Dceemlter " Toil . I.C52 Departures A mm Is 55 37 7.1 4t. 1K5 54 223 5H 247 Vi 13JI 4! 177 40 313 45 32tl '4 103 ..". 118 lMi 74 HIT 2031 7(iK ..Tlie nuoiber who diii not conn bnck 1.32 , .1810 ia Janunry February -March . ' April . . :,'-1-y . -June . . -July . . "August . Kaptembe 4etober Novembc Departures Arrival . .. 1(14 51 ... 105 ).-, 1 30 7H .... -M 2S 241 7d 23S t!i .... 2.Vi 7ti 82 7H r .. 253 4 . .. 11 114 r . . 205 7 1. r . . 131 lHH .... 2283 8(14 . December Total The number who did not come . ..back M. , .1917 Departures Arrivals January . February . March . . April . . . May . .. June. . . . July . ... August . Heptember ' October -. 'November 'December 127 52 1 28 59 23 73 374 199 t" 188 185 pi.- 338 lll.l.rii 230 95 179 54 338 fll nn 79 283 111 ?51 1007 iho did not eome I partiires A rr'n id 255 41 103 51 195 39 271 41 ' The numb tack . "'''mi. t January . , February March . . April , . i ;' i 15 80 Tntnl ... 1070 2t5 The number who did not eomr hack . .............. U Mora Than Eight Thousand "Prom the above table, the total number of Japanese who did not eome bark to the Territory is 8382. and when we add to this, figure the number f departures leas arrivals during June,; July and August of thla year, the total figure will be somewhere near IKXXi. Cannot Now Return "Now, the question la whether these nine thousand Japanese do not desire to come buck to Hawaii any morel Tt is not that these laborers do not wish to eome to Hawaii again. In real- Ity they are wishing to eome back to Hawaii but they are prevented to do so bv the rnles of the Japanese foreign department, which require any person returning from any foreign Country to axk for a passport In one and one half p vears from toe date or nil return 11 he wishes to leave again. xv borers have permitted this time limit imposed bv the foreign department to l lapse and they are assuming various , occupations in Japan, having ao chance j occupations Hi .lapnn, oavinn; no rnnncr to get a passport to eome to Hawaii. This fact is ele.rly proved, by aumer- oua letters they are'sendlng' to their friend, in Hawaii a.kinr for the lat ' fer.' help to secure for them eome way I of getting a paasport. There is ne j iloubt that the Japanese are tiking Ha waii. Labor Needed Now ' - "In the face of such cirenmwtance the great war has been started and when the I'nited States entered into the great conflict a general ahortae of labor aris.ng from departures of , r.urojicnn iriimitraniv nioi vun.-ri tion of draftees has come to be felt throntihout America. Hawaii -has no escaped from this tendency and now a Inhor shortage has arrived. " Kvory person wishing for the de velopment of Hawaiian industries is studying this labor problem, and es pecially the Hawaiian Sugar Planters' Association, which represents the most part of the capitalists in Hawaii, is j eagerly concerned to find a measure to , supply this local shortage of labor. I There are some who propose te Import I'orto Kicans. Home are Inclined to pring .viexiran iniHirern, wnu. mwnr others want to import Chinese eooliea. Notwithstanding, there waa none who could see the advisability of Inducing the retnm of those Japanese who had been in Hawaii once before, and even if there was anybody who saw to it he did not venture to propose it. This is very much to be regretted.' Japanese and Chinese Supply "Mr. Albert Horner, Hawaii repre sentative of the War Trade Board, has advised the central government, to import Chineae laborers Into HawaL It is said that his ground for this pro posal is that China haa superfluous labor anil therefore the importation of Chinese ia easy, while Japan is feeling a shortage of labor. At a glance his reasoning looks plausible, but a closer examination reveals that hia ground of argument is very, weak from the start. Although the mines and factories in certain districts ' in Japan have felt: a shortage of labor, and welcomed la borers from Korea and China, Japan as a whole does not feel any labor shortage. The reason why this short- j age was felt in certain districts is due to the fact that Japanese laborers do not like to work in those mines and factories because the wsges paid s.r very low while the work to be done is very severe. When once granted the right to emigrate, the Japanese labor ers will certainly prefer, to go to for eign countries than to remain in home country. As a practical example, the number of emigrants to Houth Ameri ca now reaches a large figure. Thia shows dearly the true situation. Ajnerleanlzlng Hawaii "That the federal government aims that the Americanization of Hawaii is fully understood by the people of Ha waii. Consequently, immigration of Kuropeans haa been practised and small farmers have been encouraged. Under such circumstances, the Hawaiian Hu gnr Planters' Association which rep resents the capitalists in Hawaii -fn not propose to import Oriental labor ers for it may become criticised as op posing government policy to Ameri ;mi.e Hawai. "In reality, however, it is to the interest of the capitalists to import Oriental laborers who are diligent and obedient and who are contented with eh i' Hp wages. The capitalists in Ha waii are not unaware of it. They are fully aware of it but they do not ven ture to talk of it for thev well know that such a proposal will bring un suitable political problem to them. "When thev import Oriental labor crs. granting that thev can do so. thev ill try to import laborers other than lapRflese, who now romprisoa majority f the plantation laborers, in order to livide the'power among various races, This can he deduced from the attitude f the planters, who never refer to the importation of Japanese while lin"iL' incliiintion to assist any im nortatinn of Chinese laborers. "Of course the above is onlv out 4iippoitiou. If this supposition of ours is mistaken Ve cordiully ask for par Ion of the planter". Tear Through Misunderstanding 'That the planters fear the influence of the Japanese laborers is due to their imiomplt-te uiiib rHtniiiiing uf Japanese, .lupuncse laborers huve worked dili Kently for the past thirty-six years for the indiistrv of MuvMiii and yet tl 'y never did trv to destroy the indimly. Ktiropeun laborers rhey i adust rili I M Id this onlv trike l. -atiese lint :il to sliare tile struck on th n 1 1 n i .ed, not only Jap- 'lii o,i. laborers have nun- criticism, for they K ii li it h ii plantation. irujy u,ysi louav on the otli. i hand, when Japanese :uli,ireis luive c;iriicd Ameriein parti- , iuti,,ii to the girat war they ore bound to be u lovul to tha I'ulted Htates May would evid.-ntlv h,Mc caused troubles portation fgr them, it is not plain pC"'"' . J 7 d ! lerdav lis waa iiiiinediate v staked ' ,n " ,,ec'lUB u""l -0n f manv a time with the capitalists d,., , h.t( there is re transportation I v Capt. H. G l iv,e .. n u ' '.lollnr. Th. m ,U d Sp IWneonverday in the matter of ,ng this long ,se of thirtv six vears. 1 for these Jap.,,,.... than there could be I "r. u J", bfor J0'1!,"3' Copta.'n Vl U ' hnd rt.ted the ina.Vs i" '" u t" dMSf'1;i0l: 'Dunn, th,, -Im.vs.x years, Jap f,,r Filipinos. Th.. Intter could be I 'urt ,''' on esJe OA as Word , revred ' aud anese plantation laborer, on. e went IWlUlW witl ti atir national ft dTr," Jh' w"'"Ti WM m'ty mr-n ind Vol veuYW'tir'i .jS'1 b1" ,. strike, if , an properly be called Internationnl ch.nmes ,n the labor .ft- ' An"R h':2!" 'w. i " h'ut proper credent Wb and W',V' Tf ''V Tl v, a '-.- lie.r wages and th." If the ' - ';' ' -l'",;r" " n" tension of Sim. to do; the language thought they might got into service, ef the supreme court settles an import- .reserve,! s.ro , discipline In their ' "" Jspanese here. , Filipinos just . , houdt0 or error, had bee., made by those uuestL. a. follows: P luet and never M emoted to de-ti a - e as Weill ... ,..t ..vl-u. h charued w ith the dutv of s electing the nuiu.ih iu .1 l... .L. PROMOTION AIMS CAPABLE OFFICERS URGED MVERtt Those of Hawaiian Regiments Wh UUI- flei IIAu B. nie.w mvvm may ug Advanced, Says Merriam Many of the, officers' of the' First and peeond Hawaiian 'Infaatry regl ments may soon be promoted, all d- pending upon the ability they hnvr exhibited ainee they were brought into fNjera, ,rvio rom thtt H,wiiaB N(l. , , . .,... ... lonal t,urd. Cot Henry C. Her "am, rmer or emir, yesxerasy. The officers of the national guard i ""ra ... .rmy . aerviee wun tne a j t . . .... "u ,B : ;i , '("I" alene will felf 'whether or not tluy will be capable af retaining tbeee ranks, 0T vf1 o retalninE eommlaaiona. 0T yf of retaining .. . . T' '" ft"""? of are now look officers. Brio r,P"" . " " . brought before the for examination. Mti rmnpiir is to nave a vomi of aix commissioned ofllcera in future, instead of three as at present. There will he thrr first lieutenants and twi aeeond lieutenant. ' (Second Keutenanta who pass the KnaPft aiBnitailijika .-II V. n .f M .1 1 for pr0motloil t8 th, f ,iMlttfc , otherwise they ma ie- tain their present grades, if not quuli Ned for advancement. Home may . be dropped, , , . . first lieutenant! are alao eligible for promotion upon the same conditiona. home may fail at this time to pass the testa for advancement and still be able to retain their present rank. This would nican that men of lower I rnuk would ftnu av.r them. addition to these - officers, th ..-hools for offleern nt which enlisted len are studenta, witl provide addi tioB, eonnmiasiofteJI men to All out the r0mpanief to required strength. as they possibly could and are endeav oring to -do their utmost for the full development of the industry, notwith standing that they are confronted with hnrd living caused' by a great advance hi general .prices. However prices ad vance and whatsoever be their suffer inn from bard living, Japanese laborers will never strike to demand higher wages under present war exigencies. "Laborers with such a beautiful, sacrificing spirit will not be found in the world outside of the Japanese. In the face of such faota, the plantera need not fear . the influence of Jap anese laborers, especially when impor tation ia made of fewer than ten thou sand returned immigrants. The 'literary Teat "The immigration law of the I'uit ed. fltatea put forth that aliens who come back to the United States after six months from date of heir depart ure are to pass an. examination as to their literary ability. If they fall to an wcr properly the questions given by the immigration officials they are refused entrance th the I'nited States. Al though there may be some among Jap anese reimmigrauta who might fail to pas this examination, the greet maj ority of them can read and write and ft may be reckoned that those who fall .to past the examlaation are Very j few. "But, If Porto Eicans or Chinese are imported, the expense of their import tation will run to a great amount and there will be a large percentage of fail ures to pass the examination. In rase of Importation of Japanese there la a possibility of very few such failures and at the same time the Territory will not have to spend 'a single cent, while, 011 the other hand, importation of Eu ropean laborers means expending of several hundred dollars per head out of the public fund. "Past experienie proves that such immigrants stay on the plantation only until Jhey snve up enough money to pay (heir passage to the mainland. Thus nionev uu spent uselessly and general public was made to pay for it. With importation of Japanese, how- ever, what is necessary to be done is only to suspend the application of Root-Takahira Agreement to Hawaii and Japcneao laborers will arrive in Hawaii paying their passage with their own money. In this way importation of Japanese has a twofold merit. A to the necessary negotiation with the Japanese government and 4he manner r' trot'icing rcimniitrrants to come to Hawaii, there are courses to be natural ly taken. "We hope that Governor McCarthy, Mr. Horner, the Planters' Association and the public in ueneral will see the I correctness of our argument and will (start a movement to import Japanese reimmlgrants, for there is no better possible way to get a supply of labor for the industry of Hawaii Bupply Is Beady At the labor bureau of the Planters' Association it was said that (his mat ter waa not a new suggestion by the Japanese BeWHpupci and the probabil ity was that no ac tion would be taken on the sun.iect. "It is not n lo.rla'e of labor at the source of supply Unit confronts the planters,' it wus Kiiid. "We can get (ill the Filipinos and I'orto Kican labor required if we could have the trans but there is uut the trans Need Is Acute , E.. Faxon Ki.liop. head of the coin- mittee on lalmi ,,f the ussocintidu. said: "it is 'in, in tiiut e must iret laoor iroui some source. I lie asse I eiatlon has not sidered this idan ' It has not asked the Koverninent to amend any laws It has let the ,ues- tion of Chiuese ai,or alone nnd so it Is not likely to take up Japanese. " HARBOR FOR KAPAA Wants Survey Made to Gat Esti mate, of Cost Wilcox Offers f To Buy Bonds To Aid Project , The Kapaa homesteader are to have a harbor, If the ' wishes of Governor McCarthy a outlined yesterday to the board of harbor commissioners by Com missioner D. K. Metsger, are carried in-" to. effect,. ..Jv.lAV . 1 , Governor McCarthy in taking a gYhnt intereat ia JKapea ainee his recent visit tortha Oarde j Island, which gave him the opportunity to nee what the kom stendere-there have accomplished. Mr. jn.0ixinr rviti iu nnrnur nuini mm -....i, .-.i r,n.'i K,..l .. vinred that A hartjor should be ettah, lg.hed, at Kapna. ' ' i- j A preliminary survey wws made some time ago, Commissioner Metrger said, with the .result that so' estimate waa submitted which waa to' the effect that it would cent 200,000 or more te ce tablish a harbor at Kapaa. But Govern or McCarthy, he said, waa inclined to the 'opinion that aa adequate harbor could be created for a niu h less amount. The Governor thought it would be de sirable to have a careful survey ef the harbor-made and an estimate made (i to what ran be done. . .. . Mr. Motager suggested that It would be possible , to Use for this purpose a part of the $18,000 appropriation made by the legislature of 1917 for wharves and harbor on Kauai. :He added that while the Governor .Was on Kauai, George Wilcox "had offered to buy bonds to the extent of $3000 fa order to fur nish funds for' ihe suggested survey. The 'Governor' would- recommend that this offer be accepted, he said. ('onimlsaioner.i Watkias replied that the matter of a harbor for Kapaa waa brought np some time ago by Commis sioner Wakefield, who was not- present at ' the . meeting . yeaterday, aud Mr. Wakefield, at tiis own request, had asked to be permitted to make an inve-itiga-tton and report 4SacJt.te the lioard. lie had not yet submitted his report. - On this statement the discussion ef the project. . wan .' postponed until the next meeting of the beard. , '' . , - " v. a. . - TRIES1IT FOR FURTHER NEWS Some Question Whether Govern ' ment Labor Plans Will Ex- , ' . , tenrJ To This Territory Hawaii business interests hat employ large numbera of. unskilled labor are marking time and waiting further in formation of the meaning, as applied to these Islands, of the aiewa despatches which told of plans lsnbe making by the . government 1 te distribute labor through the medium- of tststs advisory, boards. The Governor,, has received no telegraphic advices and expects such informstion ss uiny come to him to ar rive by mail in the due. course of time. "At the planters' lnbor bureau doubt was expressed : as to (the forming of such a fioard here nd the taking over by the government Of 4the present Bu reau. Toe belief was tnat the purpose of the plan is to secuia Jabor and dis tribute It among the 'war ' industries nnd that while sugar fs a war essen tial it is not to be classed as s war industry.- . On the mainland, also, the question of seasonal occupations ariaea, especially In agrieultsre and horticul ture, , ., Botl. Seek Workers Outside of the sugar industry and the pineapple industry there is no great demand for unskilled labor it is held.. There is a considerable conflict hetweea the sugar and the pineapple industry and something of a contest to secure field workers. Ho far as the canneries go a large part of the labor is women mrls and boys and some ott er city labor that would in no event go to the plantations, hut with field labor, 4t is different and both indus tries arc. very short. Writes To Planters A It Is learned that Wallace R. Fairing ton has sought the means to 'extend his sctiviti" -s the government repre sentative here. He is s "dollar a year man", however and Is without funds te carry on the work. To secure such fends he wrote to the Flsnters' Asso ciation setting forth the esse. What hsd been done in the organisation of the school boys was good so far aa it went but was not adequate. There was room for expansion, if funds were available. Ha asked from the Planters' .saoelation an appropriation of $1000 PlantstloDJ Interested , . Te this letter ho received a reply, n "Luters' Association representative stiid. t the effect that the association approved of tho ideas but could not uiajk the appropriation as an associ alios, that it was a matter to lie set tUv' by the various plantations. Th.' planters on the Island of Hawaii were making some individual appropriations to secure labor and If the association should act similrly appropriations would be duplicated, w. s. s. PRIVATE CATTON TRIED .T,; would not report ou ths day be was call- ed, .being quoted.' The action of the' court has not been Shade public. ; W. S.S ' ' ' - Keen It Handy Immediate relief is necessary in st tacks of diarrhosa. Chamberlain 's Colic and Diarrhoea Kcrnedv should always be od hand. For sule ty Benson, Hmith A Co. Adv. , INDUS :POK.iS'.i DETROIT TIGERS GO Red Sox and '' Cleveland m Win Again But fcostort Has t " t , , Safe1 Margin i '' :.. ' ' AMERICAS , IVSAatTB fiTAWDIira . F. W. XV Fe. Bostoa . . aveland . Washington New York Chicago . 98 87 95 93 98 68 88 SO 41 .604 697 oi o.i .on 4T 48, .908 44 49 .478 Detroit UP ANOTHER RUNG - $ t-b 48 01 .488 isnsrurs Msww - At Bt. Loule-iBosioa 8, Bt. Louli 4-1 d.u,,huare,"dc,ev',at 10 ph,,"i APt Chshlngti. 8, Chicago At Detrolt-nNew York 6, Detroit t (flret game); Detroit , New York 8 eeeonJ game). , .1 , , ! Bow stories Stands , Boston 8, 8t. Ioois 0. Cleveland 3, Philadelphia 0 Detroit 8, New York 1. . Washington 2,' Chicago 1. Todfty's Oames Boston at Ht. Ixmls. New York at Detroit, Washington at Chicago. Philadelphia at Cleveland. They can't head those. Bed Sox off they keep winning pretty regularly even if the Indiana are going the same Boston maintains Its lead in the Ameri can ICague by four and a half game, over Cleveland. ,' - , .V double-header and three singles fv wi Kuru in 1 11c A uit- ic.u unikuv today - i Boston took Its third gsme in a row . yesterday from the Browns at St. UiiU, this irame iroinir to th Red Hoi bv an H-4 snore. St. Louis basnt bees sble to take a game in the present series. Clevnlwnd ia mma frcdnir crreat firuna. 1 for the Indians yesterday defeated the Athletics ,tns third time in succession, j Philsdelpbla remaining winleas so fsr I in the ene fxesterdsy's score: Cleveland 10, Philadelphia 1, whleh wts quite a one-sided affair, it seems. White Sox Can't Win j Waahlugton, now playing at Chicago,! repested on the White Sox, winning out i sgalu yesterdsy In tbe-closeat gsme of , the dsy in the American League by a I . , bbt sun two ox (Be tnree gmmea vk the aenes to dste. At Detroit the Yankees and TlmrS broke even for the dsv, each tfinning si game- of their double-header, .New York wea the first battle of the after, noon by a 8-8 score, but the Tigers turned the tablea on the visiting team fend carried off the second contest, 0-8. Three of the four games have gone to Detroit. The Tigers yesterday moved Up in the league standing, going from seventh to sixth place and Forcing the Browns down to the station just out side of the cellar door. ; The new series will open tomorrow, all the clubs still playing In the West. The series will take in the games of Auirat 2. 3. 4 snd 8 and will be aa fol lows: Wbshinffton at Detroit. Phila- delpbia at Chicago. New York at St. Louis snd Bostoa at Cleveland. The series will be particularly interesting Men Not Summoned Reach Qity to Enter Army Service Either They Come Voluntarily On Chance of Getting In Or Else Glaring Mistakes Are Being Made By Plantation Lunas Either some draft age Hawaiian nJ tvonaia are coming to Honolulu with the most patriotic motives o eater the army service, or mistakes of m glaring nature arc being made by the lunaa of plantations and others suthot- lsed to select drafteea to fill out ths Big Island 'a new quota, for one of theae Hawaiian's sought finsucial help from the mayor yesterday. He informed the mayor that he was employed by the Kohala Sugar Com pany, and handled a caterpillar tractor. On Sunday a luna called him from his tractor and told him to report at once for draft service, and leave with contingent en route to a shipping point. Cliid in his working clothes, and without even having time ' to chsuge or to bid his funulv eoodhve. i for he has u wife aud three children, be left the plantation . aud arrived here Tuesday. During the same day it was discov ered by the draft officials that he wss not inducted into service, but wss in Class 2B. He was t uracil loose and J V he could return home, .However, or 101,1 mp miryoi yeaieruaryj) ins -no nien. Palmer Woods, the mayor's secre- tary conferred with Castle ft Cooke, agents for the plantation. The flruf took charge., of the man and will return him to . Kobsla. Two similar esses were reported of men from Niulii plan- tation, and these were taken in charge by Davies ft Company, agents; for the sngsr estate, ... eiroii , . . . . . i . .. , wii o .! Boston , .n 41. 01 .441 te"$J-V "!' J-"iItBrnkly.'.- v. ...S, . .89 . 3S 'el .427 Ptlladelphla V. pi 7 1" .888 .pn UW'Hi, ; .08 V 8-,.57j . ,4,00 r LEAD OVER GIANTS Chicago 'and ' NeW.'York COmlpg Toaethel"' In New ' Strict Which OpentTodaV WOTIOWALr ; -UEAQUB - BTANDIHO ' - .', v.'. (.fu"! P. .W. . XW Jct Chicago i ....,....90 -B9 8I JN New York ,i......92 ;. tl nttsburgo . i Philadelphia Cincinnati . i K -.. 48 41 JS39 .,...1 ' 3 47 .477 40 M ,4M Boaton 83 41 ,88 .441 Teterajri Kefulta - 'I x t y y Kt a 11 SsrK; VJH A .rooklyBrook ynfS, Hi. Is )r Brklyn 7, ettii TZtl 5Tt ' !u 1 wV At Philadelphia CiaeiBtiati vs. Phi I Indelphia, 'no game imported' iHotr Series Ended ' . ' 1 I'lttaborgh '8, New York .1. . enkcago :, uosten 1. : - v 4 CinrlnnaH s, Philadelphia 4. : Brooklyn', HCIruis S. .- i ' " 11 i ; Today's Oames -' : f ,. Chicago at New York. ' Pittsburgh at Bowton.' Cincinnati at Brooklyn.'' St. Louis at Philadelphia.' Tft ' The Cubs gained half a game on the Giants yesterday, for Chicago wSs , victorious ia ita single. game with Boc toa, while New York and Pittsburgh broke even In their double header. . The . , . . , . . . , . . ... ahead of the Olsnts. Is the new s. r'M fbip" "P" Chirsgo wUI P y, Mw York la Gotham.- The fur "J With one exception;' the games yes terday in the Nstlonal League were' close affairs. C . It was bv a mere one rna lead that the Cuba, playing in Boston, rie featcd the Braves, 6-4. Chicago took ! tw0 of tlN three games plsysd with Boston ia the series whicn dosed yes ' terdsy. Leaders Meet Again At New York th. Giants' and visit ,nR p-ritM r,me together wire. The tm blanked Pittsburgh is the flrt .,m,. io whU) ,in tB, eont,t the Pirates turned arouad aid whipped the Gisnta, 4 2. The series gsve Pittsburgh tWree . of the four gsmes played.. v '" ',' ' ' Brooklyn, playing at some, aisoe ojulte.aa advance yesterday,' for the Dodgers defeated the visiting Cardl nls in both gumes of the donble besder. The first wss a close affair, won by the home crew, . 8-1, -but -in the second battle the Cards, were bad fy trounced. 7 J. Brooklyn captured three of the five games of .tjke series. There was no report from PhilsdeJ' phia. where the Reds and Phillies were scheduled to close the series. Of the three games played in the aeries con eluded yesterday Cincinnati . gol; off trith tun ". ' -'' because of the fact that the league . leaders and runners tip will .eome to-' arether. SEND-OFF GIVEN MEN CALLED TO COLORS (Several of Honolulu's business men who were called to the Colors this week, including Capt. J. F. C. Hagens, and Captain .1. K. Hutler, and also Cb). Charles F. Mettier, Ordnance Corps, U. B. A., who was recently detached from the local ordnance depot, were given aa Aloha send-off at the Ad Club luncheon yesterday. Captain Butler Is secret sry of the club Captain Hagens expressed himself sa being proud of ths honor aad oppor ng proud ify to ser tun ve the country, and aaid he hopes to return to Honolulu, his home, sfter the wsr and the enemy Is defeated. Captain Butler said he also expects to return here also bis home.' Colonel Mettier spoke of lbs satisfac tion he had gained from his work ow-j lug to the spirit of cooperation which hs had encountered duirng his resi dence in Honolulu. f Dr. Chris O'Day told of Ms resent visit to the mainland, of the great ac tivity in shipbuilding, ths training of the greet srmv at Camp Lswis, and there was nothing io Germany's vunt ed(effieieney thst could equal the effici ency of the American people after they were aroused to action. A musical program was rendered b'y M!ms. Pldler snd her young pupil, Miss Bon Towse. , trusteTmay chargI t , for special services a stockbroker aud who, as such, sells stocks and bonds of the trust estate in order to liquidate the out- standing indebtedness of the estate and the sale la approved by the court, the trustee is eotitlcd to reasonable com- pensiitiou for the services rendered in fd'litlou to the statutory compensation orcaeril'cd for routine services," soys the decision. . , , CUBS I TJOAW FACTORS, HTTrWO AHO . COMMISSION Mi RO II ANTS , s ' INbURAJtCB AO C If TP : . ft alius a Atrrlcolteral Co Ltd Jt Al" fl"lfar Co., t4. -'r KtihnN Bugar-Cotsipaay . ' 'i ; . tV'ahinwi, Water.. Company, LtA. fultom troa Works, of St. taie 7 Babeoeh A wileos t'ompany ' Greea'e Fnel Eoonomiter Com iaa Chas. O Moot A Cov Bngmera MATSON KAVIOATIOS COMPANY ,; , TOYO XUSN KAI8HA BTjrr THUITT aad WAR BAVTNG STAMPS ACCOUNTS of huaUieas ftraa and Individuals invited. Oar present extensive clientele testifies to the satisfae ttom we glvs ear ' patrons in con stdsrafee, conaervatlvs flnanilal ser vice. ' -' " ' Bank of Hawaii, Ltd Coraer Fort and.,.rerehant Streets CANADIAN AUSTRALASIAN ROYAL MAIL LINE '. Begttlar ' Ballings to BRITISH I COLUflBIA (change at Victoria, B jC. foa Seattle;. Vancouver is eon hecting point' for passengers 1 CANADIAN "PACIFIC BAILWAV to of via tS. Paul, ChicaCgo or Mva Ircal), TUl, NKW ZEALAND and Al'STRALlA. TbeOe H. Dayies & Co. Ltd KAAHUMANU STfiEIT CASTLE & COQKE Co., Ltd . i - HO.XULULU, T. rt. Merchant Sugar Factors 1 ,' Wa- Piaatatloa Co. Waislna Agricultural Co., Ltd. Amkaa Sugar Co Ltd. . Pulton Iron Works of 81. Louis ,"' Blake Steam Pumps ' Western Centrifugals Bsbeock A Wilcox Boilers - Orson's fuel Eeoaoaiser Marsh Bteaai Pumps Mstson Navigation Co. Planters' Line Shipping Co. Kohala Sugar Co. BUSINXfla 0ASDS. HONOLULU IKON WOBKH CO. Ma , chlaory of every description made te order. HAWAIIAN GAZETTE SZM3-WEEKLY. Issued Tuesdays and Fridays (Entered at the PostoiDce of Honolulu, T. Ii., M' second-class matter) HUBrJCEIl'TION HATKH Per Venr .(m Per Year (foreign) , s:i.on Payable Invariably in advance. MEMBEB 07 THB ASSOCIATED FBESS. v Tks' AssecUtsS Press is ssclnslvsly sn UU4' t (he sis for rspubUcaUon of. all Sows-dsspatcaes enaiud te It er not otbsr wlss ors41t4 la this sapor and also ths local news publish thorsia. ,0,' S. CBAKE, Business Manager. TOKEN OF REGARD Board .'of Health Employes Pre Jent Him With Vase ' ''On his'rerenyrmt yestewlny us prwi afnt or too Doatd or health, Dr. J. H. B. Pra4t was preeenteoV with a luniutiful Silver Vase by the employes of the bu resva. Tie preseutatioii was made by Miss Mss Weir In behaTf of her fellow workers.' The followiug note accnm pauied Ihe vnae: " 'Accept this little gift with much alohu,. unit may succcsx lie with jou IS, your usw duties -From the employes ef the board of heulth." On the vsse was engraved: "Presented to Dr. J. H, B. Pratt bv the employes of the board of health July :il, 10s. " w. s. a. r Pilvste William Aki, Second Huwui lun Iufantry, a, draftee from Hilo, wns buried at Hchofleld Barracks, yesterday morning, full military honors being nc corded the body. The headquarters company, of which he was a member, turned out as an escort. The youug j mandd of pnstmpula. Castle Mook e, i''v,jH,Mi;.' , xml | txt
http://chroniclingamerica.loc.gov/lccn/sn83025121/1918-08-02/ed-1/seq-8/ocr/
CC-MAIN-2014-49
refinedweb
5,696
73.88
Is This Content Helpful? We're glad to know this article was helpful. What are the advantages of calling a model directly from a Python script instead of exporting the model to a Python script? Python scripts exported from ModelBuilder models may not work because complex parameters or tools available in ModelBuilder are unavailable in Python. For more information about exporting a Python script from ModelBuilder, refer to the following web help document, ArcGIS Desktop: Exporting a model to a Python script. There are several reasons calling a model from a Python script is recommended instead of calling a Python script exported from ModelBuilder: def createScript(): import os tbx_path = raw_input("Full path to toolbox: ") tbx_alias = raw_input("What is the alias of your toolbox?\n (can be found in the tbx properties) ") modelname = raw_input("What is the model name?\n (hint: this is not necessarily the same\n as the label and can be found in the model properties) ") outputLocation = raw_input("Where do you want the script located? ") outScript = open(os.path.join(outputLocation, "outScript.py"), "w") outScript.write("import arcpy\n") outScript.write('arcpy.ImportToolbox(r"' + tbx_path + '")\n') outScript.write('print "toolbox imported successfully"\n') outScript.write("arcpy." + modelname + "_" + tbx_alias + "()\n") outScript.write('print "model completed successfully"\n') outScript.close() if __name__ == '__main__': createScript()
https://support.esri.com/en/technical-article/000013005
CC-MAIN-2018-26
refinedweb
215
50.43
And Something Obvious about Albert Heijn. In Amsterdam there’s so many Albert Heijn stores there’s a risk of tripping over them. This made me wonder: where do you need to live in Amsterdam if you want to live as far away from an Albert Heijn store as possible? To answer this question, I needed to write some geometric algorithms. Suppose that I have a list of all the latitude/longitude coordinates of every Albert Heijn store. Then I still need to figure out which ones are located in Amsterdam. I’ll also need a way to randomly sample random house adresses that are inside of a polygon and not outside of it. In essense, I need an algorithm that can detect if a dot is in the blue area below. It is easy for a human to look at the drawing and to figure out that two points are inside of the polygon and one lies outside of it. For an algorithm this is less obvious because all I have are the ordered coordinates of the polygon. There’s an algorithm to solve this though and it relies on a few insights from geometry. This insight is helpful but we’ve now gotten a new problem: how can we find out if two line segments intersect given a set of coordinates? Turns out that there’s a geometric trick for this as well. Suppose that there are four points that span two lines \(L_1 = (p_1, p_2)\) and \(L_2 = (p_3, p_4)\). I could take three of the points, say \(p_i, p_j, p_k\), and check the direction in which the angle is turning. I could do this for a bunch of combinations of the points. Say, these; Note that we can demonstrate a non-intersect too. Notice how the directions \(d_1\) vs. \(d_2\) are opposites just like \(d_3\) vs. \(d_4\) when the lines intersect. Also notice how they aren’t when they don’t. When I code in my spare time I try to optimise for joy. It’s not that numpy isn’t joyful but in this particular case a custom class makes a whole lot of sense. class Point: def __init__(self, lat, lng): self.lat = lat self.lng = lng def __add__(self, other): return Point(self.lat + other.lat, self.lng + other.lng) def __sub__(self, other): return Point(self.lat - other.lat, self.lng - other.lng) def __mul__(self, other): """crossproduct!""" return self.lat * other.lng - self.lng * other.lat def __repr__(self): return f"<Point({self.lat}, {self.lng} at 0x{id(self)}>" This custom class makes it easier for the python code to look like actual mathematics. Moreover, it is way more fun to program this way. def direction(p0, p1, p2): return (p1 - p0) * (p2 - p0) > 0 def intersect(p1, p2, p3, p4): d1 = direction(p3, p4, p1) d2 = direction(p3, p4, p2) d3 = direction(p1, p2, p3) d4 = direction(p1, p2, p4) if (d1 != d2) and (d3 != d4): return True return False With this algorithm in place I was able to select all the shops that are in my definition of Amsterdam. As you can see, the centre of Amsterdam is quite blue. I wanted to know where you needed to live in Amsterdam if you wanted to be as far away from one of these shops as possible. The results of my genetic algorithm are shown below. The result is really uninspiring. If you want to live far away your best bet is to live either: in a public park, in an industry park or in the river ’ij.
https://koaning.io/posts/some-geometric-algorithms/
CC-MAIN-2020-16
refinedweb
598
73.98
Today,. Join the conversationAdd Comment "Native memory diagnostics" … O_O Thanks for the update, good to see the progress! Particularly happy about the `<chrono>` fixes (finally portable time measurement!), Nov. 2013 CTP features, Filesystem, C99 (question: why `__restrict` instead of the standard `restrict`?), C++14 type-based `std::get` (for `std::tuple`), and compiler bug-fixes (assuming that includes alias templates bugs, STL will know what I'm referring to :]) :-) BTW, November 2013 compiler CTP had "constexpr (except for member functions)" — have there been any further improvements here (in particular with regard to C++14 relaxed constexpr restrictions)? Any ETA on `thread_local` (I've ran into the issue of non-std extension ` __declspec(thread)` only supporting built-ins :-/), expression SFINAE, and C++14 variable templates? :-) Congrats on the rapid progress towards C++14 conformance! I'm a bit concerned about the priority of the "expression SFINAE" feature. It is my impression that "duck typing" using SFINAE-based type trait checks is becoming increasingly common in C++14 code. It would be really unfortunate if libraries that use this feature would remain unusable with MSVC for years to come. (Relaxed constexprs and template variables are both nice features, but since GCC doesn't yet support them either, these are not as important as expression SFINAE conformance.) MattPD> assuming that includes alias templates bugs, STL will know what I'm referring to Yes – when we implemented integer_sequence and its alias template helpers at the beginning of Dev14's development cycle, we switched over tuple and the rest of the STL to use it (replacing internal machinery that predated alias templates), and encountered a bunch of compiler bugs along the way. All of those bugs have been fixed. > have there been any further improvements here (in particular with regard to C++14 relaxed constexpr restrictions)?. Stephan> I'm a bit concerned about the priority of the "expression SFINAE" feature. The compiler team is aware that the STL needs this too (for several C++14 features and Library Issue resolutions), but it is difficult to implement in their current codebase. 'Thread-safe "magic" statics' Is this a precursor to the eventual implementation of C++ 11's thread_local? Good work on the CTP's. Any hints on when we can expect an RTM's? I'm still itching to get to use any of the "November 2013 compiler CTP" features in production code. Thanks @petke: they're looking to release it sometime in 2015, so we'll have to wait a bit longer. Stick: They are basically unrelated, except that magic statics internally uses our (non-Standard) thread-local storage machinery. petke: Our policy is that we don't talk about release dates before they're publicly announced – but Soma (our Corp VP) announced in the linked post: "Visual Studio "14" will most likely be available sometime in 2015, with a more complete preview release and final naming available later this year." Awesome! So many things I've wanted/been nagging about :) struct A { int a[3] = {0,1,2}; // fatal error C1001: An internal error has occurred in the compiler. }; Wow, that sounds really great! Unfortunately I cannot test it if I cannot install it side-by-side with Visual Studio 2013. I hope this will be fixed in the next CTP. Any performance improvements? Auto Vectorization / Loop Unrolling / etc? What about building a library with support for Linear Algebra? I hope C11 is not going to take 15 years too. @ Stephan ." This is a big disappointment for me, I'm sure I'm not alone in requiring these features. Please can you assign some resources. What should I do to start "Native memory diagnostics" on "Hello World" Win32 Console Application? constexpr please: visualstudio.uservoice.com/…/3658285-implement-constexpr-in-vs2012-compiler-update @stephan Can you list "Library Issues: 24 resolutions have been implemented" ? Thanks Any news about 'rvalue reference for this' support? Great to see this new CTP release, but I really regret to inform you that most of our C++11 bugs reported are not fixed! Maybe integrate ACE (download.dre.vanderbilt.edu) into your test suite, enable ACE_HAS_CPP11 in the ace/config.h, that enables our C++11 feature tests! Are natvis debugger visualizers supported for C++/CLI Mixed mode debugging now?? please!!!!! @lmdex: 'rvalue reference for this' was supported in the November CTP and hence it should also be supported in this release. @rt: thanks for the report – I have opened a bug for this issue. @MattPD 'restrict' is not part of the C++ Standard – so we needed to use '__restrict' instead of 'restrict' To everyone asking about 'constexpr' believe me we have people working on nothing but 'constexpr' but it is a huge feature (it is virtually a whole other language inside C++) and having to implement it in a 30+ year old code base does not make it any easier. But we are getting there. @Roman, the way to start memory diagnostics is the same as managed. It all starts from the Diagnostics Hub. In VS, use Alt+F2 or if you prefer the menus, Debug->Performance and Diagnostics. Check the box for "Memory Usage". In a console application, you'll want to make sure that you put in a pause at the end if you want to capture a memory snapshot before you exit your main function. Adam is working on a blog post with details about this feature. I'll ask him to post the link here when he publishes it just in case you don't see it on the main page. royi: VS2013 has auto Vectorization, read more about speeding up your code at blogs.msdn.com/…/performance-with-visual-c-2013.aspx. Roman: In addition to what Shaun said, this blog article has a nice overview/example using native diagnostics, blogs.msdn.com/…/diagnosing-memory-issues-with-the-new-memory-usage-tool-in-visual-studio.aspx. It might be useful. > Debugger visualizers: Natvis debugger visualization files can be added to a Visual C++ project for easy management and source control integration Please also support specifying natvis debugger visualization file in .props file, it's greatly simplify using it and allow distribute natvis file in NuGet native package. I'll answer my own question…. natvis files are still ignored while debugging in Mixed mode. Argh! Please Please fix this before RTM! Royi> Any performance improvements? We've improved <atomic>'s codegen. Michel Lemay> Can you list "Library Issues: 24 resolutions have been implemented" ? I'm writing up a VCBlog post (which should be ready in a day or two) exhaustively detailing the STL features, library issue resolutions, and bugfixes in CTP1. But as a quick preview, we've implemented LWG 2097, 2104, 2112, 2144, 2145, 2162, 2174, 2176, 2187, 2193, 2247, 2268, 2272, 2278, 2285, 2306, 2315, 2324, 2329, 2332, 2339, 2344, 2346, and GB 9. See cplusplus.github.io/…/lwg-toc.html for the issues. (Note that this is in ADDITION to the issue resolutions that shipped in 2013 RTM. I have a spreadsheet listing every single issue's status; only a handful remain to be implemented.) @STL: Is there any chance you will be making a Channel 9 video in the near future like you did for the November 2013 CTP? Perhaps in a month or two when my schedule is not on fire. I would be somewhat excited about VS14 CTP but not being able to install it side by side is disappointing. Is there any ETA on a CTP that would allow that? Does VS14 CTP fix this problem here: connect.microsoft.com/…/uicc-exe-of-windows-kits-8-1-can-not-run-on-windows-7-sp1-x86 I've asked about it repeatedly, including here: blogs.msdn.com/…/visual-studio-2013-update-2-ctp2.aspx That connect bug was not been updated recently, yet the problem is easily reproducible. I'm interested in the outcome of this problem. As I didn't file the original connect bug, it's clear others are too. Why such delays in updating and responding about the status of these things given the obvious nature of the problem? The status must be known now. @Roman: Here is link to a blog post that describes how to use the native memory diagnostics tools in the CTP: blogs.msdn.com/…/native-memory-diagnostic-tools-for-visual-studio-14-ctp1.aspx @STL: alias templates bugfixes sound great! Guess will have to wait for C++14's `constexpr` and C++11's Expression SFINAE… (on a side note, perhaps a blog post from the compiler team describing "what it takes" to implement these features could be a good read :]) // or "what it took" — i.e., a "postmortem" in the gamedev sense: @Jonathan: thank you for the reply; yes, that was in the C99 context (to be fair, I'm mostly in the scenario described by Herb when talking about FFmpeg & VS 2013 before: primarily a C++ user, but being able to link to C libs using C99 features is a plus, even if these are third-party libs, not primary codebase). // I see that `__restrict` is somewhat different from C99's `restrict` since it also seems to include C++ support (including constructs like references) and, as you correctly point out, that's not in C++ standard at all. Incidentally, in a similar context (Herb's scenario: building & linking with separately built, third-party C99 libs), when building a C project (i.e., files with .c extension or when using the /Tc option), is C99 standard still supported? And, a more specific question, is "%zu" format string (context: `printf` and `size_t`) support in? Yes, we added support for all of the C99 printf/scanf format string enhancements, plus fixed a lot of bugs. I have a lengthy blog article planned for next week that will explain all of the changes that have been made to the C Runtime (CRT). @James: awesome, thanks! While I think that the C committee has done a not-so-great job in the last 20 years, it's great that now we can rely on nice little things such as snprintf being really portable. Any blog post in the making about changes made to the CRT? They seem rather, hmm, bold :) Is the VS C++ team still going to make good on its promise of full C++11 and C++14 support in VS 2013 via out-of-band "Updates"? @keith: Hi: I don't believe we ever promised that (or if we did it wasn't within my hearing). Some of the re-architecting work that we are doing in order to support certain C++14 features (like 'constexpr') make it next to impossible to port the code back to any older version of the compiler. The latest post on Soma's blog contains the most recent timeline for getting Visual C++ to full C++11 (and C++14) conformance: blogs.msdn.com/…/first-preview-of-visual-studio-quot-14-quot-available-now.aspx @keith: If you check out my Build 2013 talk and since, we've tried to be clear that there's an "RTM stream" of updates to the current RTM product and a "CTP stream" of previews/alphas of v.Next , and that new features would be added in the CTP stream (and usually batch compiler-only without Intellisense at first, things like that). Here it is, slide 11 of channel9.msdn.com/…/2-306 . Please add variable templates, proper constexp, and concepts lite before shipping this. Wondering why "std::string s = {};" inside class still gives a compiler internal error, this bug was reported a long time ago. @STL: I had reported this on Connect a while ago, but sometimes it seems vcblog comments get a faster turnaround time (and it's relevant to is_final, so it's on topic, even though is_final is beholden to the compiler telling the truth): Is this supposed to compile? clang from their nightly apt packages, GCC 4.8, and VS "14" Intellisense say no, VS "14" and VS2013 (without the static_asserts obviously) say yes. #include <type_traits> template<typename X> struct A final { }; template<> struct A<int> { }; template<typename X> struct B : A<X> { }; int main() { static_assert(!std::is_final<A<int>>::value, "A<int>"); static_assert(!std::is_final<A<char>>::value, "A<char>"); B<int> bi; B<char> bc; } (The second static_assert and the declaration of bc being the contentious points.) Michael: That's clearly a bug, tracked by DevDiv#869630/Connect#814852 "C++: final on a class template is not honored" which is still active in our database. Where's the option to disable the ALL CAPS MENU? :p Do the thread-safe static initializes work with runtime loaded DLLs? For example, in reusable library code I can't use __declspec(thread) because someone might use my library in a in-process COM server, dynamic loaded program feature, or whatnot. First, great to see so many things in VS14 (especially proper <chrono> header). Second, I hope VS15 will have C++14 constexpr. Third, it's very very sad that the bug fixes (to library or compiler) are NOT provided for old versions of IDE. I believe any sane consumer expects his "washing machine" to get repaired (at least during the post-sales support). That's not the case for VS. Is is that hard to patch the old release branch? I'd like to point out that it's still not possible to write: "hello"[0] which is really quite easy to implement and it conforms to the C++11 standard. Perhaps the various library teams (MFC, ATL, STD, platform SDK) could compile their respective projects with All Warnings (/Wall) on and clean up the sea of syntax issues that exist. Simply create the default MFC Application will generate a sizable list of C4820, C4625, C4626, C4264, C4365 and C4391. Ignoring the warnings is not the responsible route to take. Sifting through what appears to be megabytes of text is tedious, like finding the proverbial needle. Please clean up the unsafe conversion, conversion mismatches, bla, bla, bla so that this potentially useful warning level feature becomes usable. As it stands as of VS2013, the underlying code of any application I build has the appearance of being built on a rotting foundation.
https://blogs.msdn.microsoft.com/vcblog/2014/06/03/visual-studio-14-ctp/
CC-MAIN-2017-39
refinedweb
2,376
62.38
Abuses Nix philosophy, allowing me to do `from nixpkgs import scipy` anytime Project description # nixpkgs-python-importer ## What An importlib hack that allows from nixpkgs.pythonpackagename import modulename. Examples: from nixpkgs.scipy import scipy import nixpkgs.scipy.scipy from nixpkgs.matplotlib.matplotlib import pyplot as plt import nixpkgs.matplotlib.matplotlib.pyplot as plt from nixpkgs.pillow.PIL import Image ## Why I used to be a researcher who used python and xonsh interactively a lot. While I appreciate the purity of Nix, sometimes I really want to violate it and pull in some dependency into my shell right now, without tearing my session down, editing and rebuilding an environment, and then recreating my session from history. A convenient way of spawning a xonsh instance with an extra dependency soothes the nerves a bit, but doesn’t really free me from the recreation part. I started writing a xonsh macro that ended up being a generic Python solution with a pleasingly nice syntax. I mean, from nixpkgs.scipy import scipy. Ain’t that nice? ## How importlib magic ## Try The quickest way to try it would be (on a recent NixOS): ` nix run -f '(import <nixpkgs> {}).python3.withPackages(ps:[ps.nixpkgs])' -c python ` then try from nixpkgs.pbr import pbr (or any other package). If that doesn’t work, you may also try your luck with unstable nixpkgs: ` nix run -f channel:nixos-unstable '(import <nixpkgs> {}).python3.withPackages(ps:[ps.nixpkgs])' -c python ` Project details Download files Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
https://pypi.org/project/nixpkgs/
CC-MAIN-2019-51
refinedweb
263
51.14
JSONField for django models Project description Maintenance mode only: It is not recommended you use this library on new projects. See the (long) History section below for why and alternatives. Cross-database JSON field for Django models. History This project was created in 2010 by Matthew Schinckel. He created it based upon code from David Cramer’s blog, had the repository in Mercurial on BitBucket, and maintained it until 2018. In March 2019, Adam Johnson took over maintenance (from an invite back in 2018!), and moved it to Git on GitHub because he’s no good at Mercurial and “everyone” uses GitHub these days. At the time it was created, the databases that Django supports didn’t feature native JSON support. Since then, most of them have gained that ability. Correspondingly, there are some Django field implementations for taking advantage of this: - A PostgreSQL JSONField is provided in django.contrib.postgres, which was created as part of Django in version 1.9, released December 2015. Note this library interferes with the way that works, see issue 5 for explanation and a workaround. - A MySQL (and maybe MariaDB) JSONField is provided in Django-MySQL, since version 1.0.7, released March 2016. At time of writing this history (March 2019), there still isn’t a JSONField implementation that can take advantage of the native features on all the databases. This has been discussed on the django-developers mailing list several times though. The JSONField provided by this library uses native features on PostgreSQL, but not on any other database, so it’s in a bit of a weird place. If you are considering adding this to a new project, you probably don’t want it, instead: - If you want native JSON support from your database and you’re using PostgreSQL or MySQL, use the native fields as per the links above. - If you don’t want native JSON support, consider just storing the JSON in a TextField and deserializing it appropriately in your code, perhaps with a simple model property to proxy it. - If you need native JSON support on a database for which there is no Django field implementation, try making it yourself or getting in touch to see if there’s something that can be done. Installation Install it with pip: pip install django-jsonfield Then use the field in your models: from django.db import models import jsonfield class MyModel(models.Model): the_json = jsonfield.JSONField() You can assign any JSON-encodable object to this field. It will be JSON-encoded before being stored in the database as a text value and it will be turned back into a python list/dict/string upon retrieval from the database.. Supported django versions All versions of Django from 1.8 onwards are tested. Extras jsonify templatetag This allows you to convert a python data structure into JSON within a template: {% load jsonify %} <script> var foo = {{ bar|jsonify|safe }}; </script> Note that you must only use the “safe” filter when you use the jsonify filter within a <script> tag (which is parsed like a CDATA section). If you use it in some other places like in an HTML attribute, then you must not use the safe filter so that its output is properly escaped: <div data- The above rules are important to avoid XSS attacks with unsafe strings stored in the converted data structure. Contributing If you want to contribute to django-jsonfield, it will help you to run the test suite. This can be done in its most simple form by running: DB_ENGINE=sqlite3 DB_NAME=tests ./tests.py To run the tests fully, you will need to install tox. History 1.2.0 (2019-04-28) - Tested with Django 2.2. - Stop “RemovedInDjango30Warning: Remove the context parameter from JSONField.from_db_value().” on Django 2.0+. 1.1.0 (2019-03-16) Django 1.10 support: register explicit lookup operators. Django 1.11 support: update render() method for widget. 1.0.1 (2016-07-21) Fix issue with Postgres JSONB fields. Limit XSS attacks with jsonify template tag. 1.0.0 (2016-06-02) Add support for Django 1.8 and 1.9 (without warnings). Remove support for Django < 1.8 as none of those releases are supported upstream anyway. With this version, JSONField no longer decodes assigned string values as JSON. Instead it assumes that any value that you assign is the decoded value which will be JSON-encoded before storage in the database. This explains the bump to version 1.0 as it’s a backwards incompatible change. 0.9.19 (2016-02-22). ‘{}’ and ‘[]’, tagged release. Project details Release history Release notifications Download files Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
https://pypi.org/project/django-jsonfield/
CC-MAIN-2019-35
refinedweb
793
66.03
Hi folks, This question is a little deep into memory management of microprocessor. How do we know the memory arrangement using in microprocessors? Top-Bottom or Bottom-Top? For example, the "Top-Bottom" is arranging memory resource from higher address to lower address. If we have no hardware knowledge of microprocessors, how can we know the arrangement of microprocessors? I have idea which is declearing an array and check the addresses of array elements because the allocation of array elements is sequential. And, then, we know how memory resource is arranged. BUT, is there any other way to find out? Code: // My complier is gcc v4.1.1 #include <stdio.h> int main (void) { char var[10]; int i; for ( i = 0; i < 10; i++) printf("addr = %X\n", &var[i]); return 0; } // Bottom-Top arrangement: // Result: $ ./addr addr = BF9CEF66 addr = BF9CEF67 addr = BF9CEF68 addr = BF9CEF69 addr = BF9CEF6A addr = BF9CEF6B addr = BF9CEF6C addr = BF9CEF6D addr = BF9CEF6E addr = BF9CEF6F $
https://cboard.cprogramming.com/c-programming/82918-how-do-we-know-memory-arrangement-using-microprocessors-top-bottom-bottom-top-printable-thread.html
CC-MAIN-2017-43
refinedweb
158
50.53
Closed Bug 1224825 Opened 6 years ago Closed 6 years ago Race condition in Message Port::close Categories (Core :: DOM: Core & HTML, defect) Tracking () mozilla45 People (Reporter: baku, Assigned: baku) References Details Attachments (2 files, 8 obsolete files) var mc = new MessageChannel(); worker.postMessage('', [mc.port2]); for(var i = 0; i < 100; ++i) mc.port1.postMessage(i); mc.port1.close(); There are 2 issues here: 1. Our MessagePort code can produce a race condition with this code because when we call Close(), we send a message to the MessagePortParent in order to close the channel between the 2 ports. But, if the worker is too slow, it will not receive the 100 messages. 2. when we call Close(), if there is a pending queue of messages, we should wait until it's fully sent to PBackground. Attachment #8687574 - Flags: review?(bugs) Comment on attachment 8687574 [details] [diff] [review] foo.patch >@@ -262,16 +283,30 @@ MessagePortService::CloseAll(const nsID& > data->mParent->Close(); > } > > for (const MessagePortServiceData::NextParent& parent : data->mNextParents) { > parent.mParent->CloseAndDelete(); > } > > nsID destinationUUID = data->mDestinationUUID; >+ >+ // If we have informations about the other port and that port has some >+ // pending messages to deliver but the parent has not processed them yet, >+ // because its entangling request didn't arrive yet), we cannot close this >+ // channel. >+ MessagePortServiceData* destinationData; >+ if (mPorts.Get(destinationUUID, &destinationData) && >+ !destinationData->mMessages.IsEmpty() && >+ destinationData->mWaitingForNextParent) { I don't understand this. What is mWaitingForNextParent about here? >+ MOZ_ASSERT(!destinationData->mNextStepCloseAll); >+ destinationData->mNextStepCloseAll = true; and why if we're waiting for next parent we should close something? I think I'm missing to understand the meaning of the variables here. >+ var MAX = 100; >+ >+ function runTest() { >+ var worker = new Worker('data:javascript,onmessage = function(e) { e.ports[0].onmessage = function(evt) { postMessage(evt.data);}}'); >+ >+ var count = 0; >+ worker.onmessage = function(e) { >+ is(e.data, count, "Correct value expected!"); >+ if (++count == MAX) { >+ info("All the messages correctly received"); >+ SimpleTest.finish(); >+ } >+ } >+ >+ var mc = new MessageChannel(); >+ worker.postMessage(42, [mc.port2]); >+ >+ for (var i = 0; i < MAX; ++i) { >+ mc.port1.postMessage(i); >+ } >+ >+ mc.port1.close(); Could you add a test where you post a message after .close(); and then change onmessage handler a bit so that it calls finish() asynchronously (using some timeout, say 100ms) and checks that e.data is never >= MAX. Attachment #8687574 - Flags: review?(bugs) → review- Hmm, I guess I start to understand the variables... but don't then understand the removal of if (!data->mNextParents.IsEmpty()) { (In reply to Olli Pettay [:smaug] from comment #2) > Hmm, I guess I start to understand the variables... > but don't then understand the removal of if (!data->mNextParents.IsEmpty()) { The reason why I removed that is because it doesn't make sense :) The nextParent can arrive in the future and at that point that check is just misleading. > >+ MessagePortServiceData* destinationData; > >+ if (mPorts.Get(destinationUUID, &destinationData) && > >+ !destinationData->mMessages.IsEmpty() && > >+ destinationData->mWaitingForNextParent) { > I don't understand this. > What is mWaitingForNextParent about here? We set this variable to true when a disentangle request is received but we don't have a valid 'next' parent yet. The meaning is: eventually a new parent will arrive and will dispatch the messages to it. (In case something else happens, StructuredClone will call ForceClose). So, in case a Close() has been called, we must check if have to deliver messages to a parent that doesn't exist yet but eventually will come. > >+ MOZ_ASSERT(!destinationData->mNextStepCloseAll); > >+ destinationData->mNextStepCloseAll = true; > and why if we're waiting for next parent we should close something? > I think I'm missing to understand the meaning of the variables here. Because we must deliver the pending messages that are still in the queue. Otherwise this code: var mc = new MessageChannel(); somewhere.postMessage(mc.port2, [mc.port2]); mc.port1.postMessage(42); mc.port1.close(); will not be able to dispatch '42' to the port2 when it will be received on the other side. mWaitingForNextParent is also true by default, and that is what is a bit misleading - at least in my mind. "next" hints that there is some current or old parent. Perhaps mWaitingForNewParent? Attachment #8687574 - Attachment is obsolete: true Attachment #8687663 - Flags: review?(bugs) Had to back this out together with bug 1221852 for M(3) failures: 05:02:40 WARNING - TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_upgrade_insecure_reporting.html | application terminated with exit code 1 05:02:40 INFO - runtests.py | Application ran for: 0:01:26.973000 05:02:40 INFO - zombiecheck | Reading PID log: c:\users\cltbld\appdata\local\temp\tmpczcznlpidlog 05:02:40 INFO - mozcrash Downloading symbols from: 05:02:51 INFO - mozcrash Saved minidump as C:\slave\test\build\blobber_upload_dir\4a5d6160-41b7-4840-9ee8-2492525fefb6.dmp 05:02:51 INFO - mozcrash Saved app info as C:\slave\test\build\blobber_upload_dir\4a5d6160-41b7-4840-9ee8-2492525fefb6.extra 05:02:51 WARNING - PROCESS-CRASH | dom/security/test/csp/test_upgrade_insecure_reporting.html | application crashed [@ mozilla::`anonymous namespace'::RunWatchdog(void *)] Flags: needinfo?(amarchesini) Flags: needinfo?(amarchesini) And out again in, RunWatchdog crashes in desktop mochitest-3 running dom/security/test/csp/test_upgrade_insecure_reporting.html, and if my bet is right also Android mochitest hangs. It turned out that this approach is not what the spec wants. I added 2 tests and I introduced a new method for SharedWorkers (or any other use of MessagePort): DeliverAndClose(). With this method we mark the port as closed but we finish the delivering of the pending messages. More comments on the patch. Attachment #8687663 - Attachment is obsolete: true Attachment #8687829 - Flags: review?(bugs) With this second patch we force the shutting down of the port in case we need it in MessagePortService. The previous code is correct, but it needs some changes when ForceClose() is called. Attachment #8687830 - Flags: review?(bugs) Comment on attachment 8687829 [details] [diff] [review] patch 1 - DeliverAndClose >+function test_closeInBetween() { >+ var mc = new MessageChannel(); >+ >+ for (var i = 0; i < MAX; ++i) { >+ mc.port1.postMessage(i); >+ } >+ >+ for (var i = 0; i < MAX; ++i) { >+ mc.port1.postMessage(i + MAX); >+ } >+ >+ mc.port2.onmessage = function(e) { >+ ok (e.data < MAX, "Correct message received!"); >+ if (e.data == MAX - 1) { >+ mc.port2.close(); What in the spec says this is the correct behavior? .close() should just disentangle, and I don't see disentangling meaning that other messages shouldn't be processed. Sure, step 13 in postMessage is totally buggy, but at least it doesn't talk about disentangled ports. Attachment #8687829 - Flags: review?(bugs) → review- Full patch again, with the removed |if (mClosing)...| and a test for that scenario. Attachment #8687829 - Attachment is obsolete: true Attachment #8688122 - Flags: review?(bugs) Comment on attachment 8688122 [details] [diff] [review] patch 1 - Close I start to dislike MessagePort API (which forces the implementation to be so complicated) Attachment #8688122 - Flags: review?(bugs) → review+ Sorry for the ping-pong of review requests. Here a better approach: 1. We unref the MessagePort only when we don't have pending messages. 2. When the window is close or the worker is down, we call CloseForced. CloseForced flushed the pending messages and it starts the close procedure. 3. Dispatch() has a lot of comments about all the possible scenarios. Attachment #8688104 - Attachment is obsolete: true Attachment #8688122 - Attachment is obsolete: true Attachment #8688171 - Flags: review?(bugs) Comment on attachment 8688171 [details] [diff] [review] patch 1 - Close case eStateDisentangling: vs case eStateDisentangled: could use a comment. It is odd that latter state may process messages which earlier state can't. (this is because those aren't quite earlier/latter in all the cases) Attachment #8688171 - Flags: review?(bugs) → review+ In this patch I get rid of mNextStep and I introduce 3 new state. Attachment #8688632 - Flags: review?(bugs) Comment on attachment 8688632 [details] [diff] [review] patch 1 - interdiff I guess this makes the code a bit easier to read. The change is scary. Do we need this on beta too? Attachment #8688632 - Flags: review?(bugs) → review+ About beta: without these patches we deliver the messages in a non-consistent way after Close(). I guess it's ok if we skip beta for this code. But I would like to have in aurora. But do we need to fix Bug 1221852 for beta? We can easily write a patch for beta without the test included in patch for bug 1221852. In this way we will not have an intermittent failure. Attachment #8687830 - Attachment is obsolete: true Attachment #8688171 - Attachment is obsolete: true Attachment #8688632 - Attachment is obsolete: true Status: NEW → RESOLVED Closed: 6 years ago Resolution: --- → FIXED Target Milestone: --- → mozilla45 Component: DOM → DOM: Core & HTML
https://bugzilla.mozilla.org/show_bug.cgi?id=1224825
CC-MAIN-2021-39
refinedweb
1,409
50.94
IDE Feature Work Visual C++ Hi, my name is Ameya Limaye and I am a developer on the VC++ IDE Team, working mainly on the Intellisense, Browsing and Editor feature areas. Prior to this I was on the VC++ Compiler Team. I would like to take this opportunity to discuss several of the improvements we have made in VS 2005 and some of the stuff we are working on for VS 2005 SP1 and Orcas (the next version of VS). Some Whidbey New Features & Improvements: - Live Browsing (Function Caller-Callee Browsing, Find Symbol & Find All References): In VS 2005 we introduced a new feature called live browsing which provides a lot of the functionality of BSC based browsing which I am sure a lot of our users are familiar with. The main advantage of Live Browsing over BSC based browsing is that Live Browsing does not require you to build a project successfully to generate the browse information database. In fact it works even on incomplete code or code that is not in a fully compilable state currently and is always up to date with the latest code changes made by the user. You can read more about this cool new technology in my MSDN Pure C++ column article titled “Live Source Browsing in Visual C++” co-authored by Boris Jabes (Program Manager on the IDE Team). - More correct and always up to date Intellisense data for all code including SDK and Libraries included by user code (Macro based dynamic parsing): Before VS 2005, we would use a pre-built NCB file to produce the information for SDK headers, and libraries like ATL, MFC, CRT and STL. This means that the information was always the same and could not be tailored to the specific include state / context of the user code. To give you a simple example, if you “#define UNICODE” then the windows headers are slightly different than if “UNICODE” is not defined. Previously there would be one state (the state used to create the pre-built NCB) that would be used irrespective of whether you defined the macro “UNICODE” before “#include <windows.h>“. In VS 2005 we got rid of pre-built NCB files and we generate the correct contextual information for the SDK and library headers when included from your project. - Intellisense Support for Makefile Projects: The Intellisense parsing engine just like the compiler needs to know the command line switches and environment variables to make sense of the code when parsing user sources. When using a makefile project, the command line switches etc. are in a custom makefile and not available to the parser. Hence Intellisense may not always be able to make sense of the code. In VS 2005 we have added a configuration properties pane that contains a section for Intellisense where you can set these command line options and include search paths etc. in order to get Intellisense to work correctly on your makefile project. - #ifdef Code Graying: Since we moved to macro based parsing with full information for VS 2005, this feature was an obvious add on as a way to visually show the user in the editor, which parts of the source code are being parsed and which ones are “excluded code” or #if 0 code according to the preprocessor. - Code Definition Window: This is a nice value add that I find really useful to know exactly what I am looking at in code when browsing through code that I am not intimately familiar with. - Several small features and improvements (in some cases little known productivity enhancements): Better support for several language constructs and features like namespaces, namespace using directives, templates and explicit and partial specializations, Unicode, etc. New XML Doc Comment support for Visual C++. This is available for C++/CLI code when doing Quick Info and Parameter Help on symbols from a #using or /FU dll that has been built with XML Doc Comments and has the XML file beside the dll on disk. Edit.ListMembers (CTRL-J) when invoked at a location in code that is not in a direct member list context (on an identifier following a ./->/:: in code), now shows only the members of the enclosing class or namespace scope. This can be used to effectively get the member list that you would get if you typed “this->” inside a member function, without having to actually type it. If you are in a namespace scope function, then it will display the members from the enclosing namespace scope. Being able to open a file in your solution very easily. This is a productivity enhancement that I use a lot when in large solutions with thousands of files. Rather than browsing to the file using the File -> Open dialog, you can simply type “>open FilenameInSolution.Extension” in the find combo. Basically you can simply type CTRL-/ to get to the combo with “>” (this is a quick place to type commands) and type “open FilenameInSolution.Extension”. You even get completion for the commands usable there as well as the filename. For more information on most of these as well as other improvements like Unicode Support, etc., you can look at “What’s New in Visual C++ 2005 Intellisense”. For a high level view of the key internal workings of the Intellisense sub-system in VS 2005 and some of the limitations of Intellisense, you can read “Intellisense Support in Visual C++”. Over the last few months we have been working on designing Orcas features and on VS 2005 Service Pack 1. In the IDE space we are going to address several bugs and some key issues for the Service Pack. One of the key ones is, Intellisense uses 100% CPU with a thread running at normal priority causing sluggishness on single processor machines for IDE and other processes (which are also running at normal priority). This fix should make the IDE and other applications much more responsive when intellisense uses the CPU because it will do all background parsing on a lower priority thread. Right now we are in the design and early implementation phase for several Orcas features for the IDE. We can discuss these in the coming months as they become more concrete. You can send me E-Mail (scrambled E-Mail is at the bottom of this post) with feedback about this post as well as what other things you want to discuss with the VC++ IDE team, on this blog in the future. I really enjoyed writing up this post and am looking forward to your comments and feedback as a VC++ user. Thanks, – Ameya Limaye Software Development Engineer, VC++ IDE AmeyaL(thisIsTheAtSign)(MSFTFullForm)(dot)com
https://devblogs.microsoft.com/cppblog/ide-feature-work/
CC-MAIN-2021-31
refinedweb
1,111
55.27
It looks like you're new here. If you want to get involved, click one of these buttons! Ok, here is the question. You have two lists that are already sorted, you have to merge them and return a new list without any new extra nodes. The returned list should be sorted as well. #include <stdio.h> #include <stdlib.h> #pragma warning(disable: 4996) typedef struct item { int data; struct item *next; }Item; Item *addToLastValue(int value,Item* head); Item *sort_list(Item *lst1,Item *lst2); void printList(Item *head); void main(){ Item *head=NULL; Item *head2=NULL; Item *sorted=NULL; head=addToLastValue(5,head); head=addToLastValue(3,head); head=addToLastValue(1,head); head2=addToLastValue(6,head2); head2=addToLastValue(4,head2); head2=addToLastValue(2,head2); printList(head); printf("\n"); printList(head2); printf("\n"); sorted = sort_list(head,head2); printList(sorted); printf("\n"); } Item *addToLastValue(int value,Item* head) { Item *temp; if (head==NULL) { head=(Item*) malloc(sizeof(Item)); head->data=value; head->next=NULL; return head; } temp=(Item*) malloc(sizeof(Item)); temp->data=value; temp->next=head; return temp; } Item *sort_list(Item *list1,Item *list2){ Item *temp=NULL; Item *head=NULL; if(list1 == NULL && list2 ==NULL) return NULL; if(list1=NULL) return list2; if(list2=NULL) return list1; if (list1->data < list2->data) { temp = list1; list1 = list1->next; } else { temp = list2; list2 = list2->next; } head = temp; while(1){ if(list1->data < list2->data){ temp->next = list1; temp = temp->next; list1 = list1->next; } else if(list1->data > list2->data){ temp->next = list2; temp = temp->next; list2 = list2->next; } if (list1 == NULL){ temp->next = list1; break; } else if (list2 == NULL){ temp->next = list2; break; } } return head; } void printList(Item *head){ Item *temp; temp = head; while(temp != NULL){ printf("[%d]->", temp->data); temp = temp->next; } } There is no question in your post, only a statement followed by some code. Have you compiled your code? Gotten any warning/error messages? If so what where they? If you got it to compile/link then what happened when you ran it? What results did you get versus what you expected to find? At a glance: 0 · Vote Down Vote Up · Share on Facebook - Spam Jesus Christ!hehe Well, I prefer to be positive so I will just say "Good job." You have codings that I do not even know. You know something I do not. Congratulations. I do not know that much to begin with since I have forgotten much of my programming days. However, to each there own. If it works for you and gets the programming you desire done, I hope you continue using it even if it seems odd to me or the rest of the world. I am too old to learn new techniques. I just program what comes out of my mind. It usually works after I have error checked it. However, I am happy I succeeded in doing something that would hopefully make both my parents happy. Maybe I can even bring in a living doing it one day not only for myself but also for all my love ones. Just my two cents that I owe all haha Enjoy your life either way buddy boy (no offense intended since I say this to my closes love one who is my very own cousin who I consider as a brother). Enjoy and God bless us all 0 · Vote Down Vote Up · Share on Facebook - Spam
http://programmersheaven.com/discussion/435356/cant-seem-to-see-what-is-not-good-in-the-code
CC-MAIN-2014-42
refinedweb
563
70.63
def check_winner(): # reminder to take win_1 and win_2 in here: def print_winner(sign): if sign == "| x ": print("%s got 3 in a row, %s wins!" % (player_1, player_1)) else: print("%s got 3 in a row, %s wins!" % (player_2, player_2)) print(sign) # THIS IS LINE 38 ------------------- for i in range(0, 8): x, y = 0, 0 a, b, c = 0,1,2 if board[x][a] and board[x][b] and board[x][c] == sign: print_winner() def move(list): global turn global sign # I even said: "global sign" if turn % 2 == 0: # Here the sign value is set, and I want this value into my print_winner function. sign = "| x " else: sign = "| o " x_1 = int(input("Type the value of x: ")) y_1 = int(input("Type the value of y: ")) list[y_1 - 1][x_1 - 1] = sign print_board(list) check_winner(sign) # It should take the sign_value? turn += 1 return list line 38, in check_winner print(sign) NameError: name 'sign' is not defined Your check_winner function doesn't explicitly have any parameters. So even though you are passing the sign_value to it, there is no parameter to explicitly assign that value to in the function definition. Furthermore sign_value is not defined globally and therefore is not automatically available in the function. Instead of def check_winner(): Try def check_winner(sign_value): (Although it may be good practice to use a different parameter name in the function to make it clear that it's not a global variable. Otherwise, make it a global variable and don't pass it to the function explicitly.) For your updated code, you maybe would use def check_winner(sign): (Written on my phone and completely untested.)
https://codedump.io/share/7OckF1APV9ba/1/value-is-not-defined-even-thought-i-clearly-did
CC-MAIN-2017-04
refinedweb
273
55.07
Results 1 to 2 of 2 Thread: Diving Calculator - Please Help! - Join Date - Oct 2011 - 1 - Thanks - 0 - Thanked 0 Times in 0 Posts Diving Calculator - Please Help! I am supposed to be making a program to help divers calculate things. I have made methods to calculate a few different equations (I have only really just started) but i can't figure out how to call them to print the answer and things. here's my code I don't know what i'ev done wrong i've looked up a bunch of different things and this is what i've found but it isn't compiling. Code: import java.util.*; public class Program { double percentage; double pressure; double standard = 1.4; double depth; String input; public Program() { Scanner scan = new Scanner (System.in); System.out.println ("Which calculation do you wish to perform (Help/MOD/SMOD/BM/PP/EAD)? "); input = scan.nextLine(); if (input == "mod" || input == "MOD") { System.out.println("Calculating the MOD"); System.out.println("Enter the percentage of Oxygen: "); percentage = scan.nextDouble(); System.out.println("Enter the partial pressure of Oxygen (between 1.1 and 1.6 inclusive): "); pressure = scan.nextDouble(); System.out.println("Maximum Operation Depth for a dive with " + percentage + " with a partial pressure of " + pressure + " is " + printMOD() + " metres."); } else if (input == "smod" || "SMOD") { System.out.println("Calculating the SMOD"); System.out.println("Calculating the MOD for the standard 1.4 partial pressure"); System.out.println("Enter the percentage of Oxygen: "); percentage = scan.nextDouble(); int result = printSMOD(); System.out.println("Maximum Operation Depth for a dive with " + percentage + " with a partial pressure of " + pressure + " is " + result + " metres."); } } public static void printMOD() { int mod; mod = ((pressure/percentage)-1)*10; return mod; } public static void printSMOD (double percentage, double standard) { double smod; smod = ((1.4/percentage)-1)*10; return smod; } public static void printBM (double pressure, int depth) { double bm; bm = (pressure/depth)*100; return bm; } } - Join Date - Sep 2002 - Location - Saskatoon, Saskatchewan - 17,026 - Thanks - 4 - Thanked 2,668 Times in 2,637 Posts Strings cannot be compared like this: if (input == "mod" || input == "MOD") {. This (and a similar one further down) must be written as if (input.equals("mod") || input.equals("MOD")){.
http://www.codingforums.com/java-and-jsp/241614-diving-calculator-please-help.html
CC-MAIN-2017-22
refinedweb
367
51.14
This is the third in a series of posts. You can find the previous posts here (1, 2). So far, I haven't used namespaces in my sample document. I've updated doc2.xml to include a default namespace. If you run the previous sql example against this new document, you will get back nulls instead of the document id and year. This is because the XQuery command uses no namespace, while the document now has one. Since the namespaces don't match, the query fails. To fix this problem, you can declare the namespace in each XQuery statement. Or, you can use the new "with xmlnamespaces" syntax to define it for every XQuery statement issued within a given select statement. LoadFile2.sql contains an updated version of the query which uses this new syntax. Note that I needed to add a ";" to the end of the first select statement so that the TSQL compiler would know that the with clause was the beginning of a new statement. For more info, see the following books online topics: Handling Namespaces in XQuery Adding Namespaces Using WITH XMLNAMESPACES -David
http://blogs.msdn.com/b/publicsector/archive/2006/02/23/537949.aspx
CC-MAIN-2015-48
refinedweb
187
74.19
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. The Controller4:45 with Craig Dennis Now that we have the layout removed and we are using FXMLLoader to build our Scene Graph, we now need a place to put our code. That place is called a Controller. - 0:00 So now that we have all of our layout in the FXML file, and it's - 0:03 automatically loaded from the FXML loader, we need a place to put our action code. - 0:08 Now if you remember before, we set this code using the Set on Action - 0:13 on the button, and passing in our lambda function. - 0:15 But now, we don't have a direct handle to the button to be able to set our function. - 0:21 Well, the good news is that every FXML file - 0:24 has the possibility to have code that sits behind it. - 0:27 This is called its controller. - 0:30 Now, you might have heard of this term before in the concept of model view - 0:33 controller, or MVC. - 0:35 It's an architectural pattern which is quite common in UI frameworks. - 0:39 Now we aren't gonna delve too deep here, but you should know that the controller - 0:43 is responsible for handling and setting up our view, the FXML file. - 0:47 Let's go wire up our controller and handle our button click. - 0:53 So we breezed past this before, but if you look up here in the grid pane, - 0:56 there's an attribute called fx namespace named controller. - 1:01 And this is using dot notation to point to sample.Controller, - 1:04 which is over here, right? - 1:05 sample.Controller. - 1:07 This file was created for us when it started but - 1:09 it's just basically an empty class right now. - 1:12 So if we just add an attribute to the button for onAction. - 1:16 So, just like everything else, we're gonna say set onAction. - 1:21 We put in the name of the method that we want to run. - 1:23 So let's make a new method called #handleSaySup. - 1:28 [LAUGH] That hashtag's never gonna catch on, is it? - 1:31 [LAUGH] JKLOL. - 1:34 Okay so see how it's an error? - 1:36 Now this is pretty cool. - 1:37 The ID is checking for us, it knows the method doesn't exist. - 1:42 So let's go ahead and create it using the intention action here. - 1:45 And bam, it created it over here in the controller. - 1:48 So let's write our little bit of code there, right? - 1:50 So we had, let's just make it say Sup first. - 1:55 Right? - 1:58 Awesome, there it is. - 2:00 So, let's run that. - 2:01 Just make sure that works. - 2:05 Okay, cool, perfect. - 2:06 So, we're back there, but we wanted to make this field be filled out and - 2:10 put the name in there. - 2:11 So how do we do that now? - 2:13 We don't have access to that variable in the controller. - 2:18 Well the trick is to add an FX name spaced value called ID. - 2:22 So let's go over here and on the text field let's go ahead and give this a name. - 2:27 Say fx:id =, and we'll call this firstName. - 2:34 This will allow us to reference it specifically in the controller. - 2:38 So, if we go in over in the controller, and - 2:40 here there is an annotation called FXML. - 2:44 So if you do @FXML and see it did the import for us. - 2:51 What this does is it exposes things, even private things. - 2:54 So between the controller and the view. - 2:56 So let's say private, and we'll make a TextField. - 3:03 Whoops. - 3:04 Don't wanna import AWT, right? - 3:06 That was the stuff from before. - 3:08 It's bigger. - 3:12 JavaFX one. - 3:14 It's very common to accidentally pick that and - 3:16 then try to figure out what's going on. - 3:17 Just so you know. - 3:18 Glad that that happened by accident. - 3:20 And we're gonna give it the same name that we did as that ID. - 3:23 Right. So we called it firstName, - 3:24 it's firstName here. - 3:27 And now, in our event here, if we switch this - 3:32 over to being a printf we can do a %s, give it a new line, - 3:39 and we can push in firstName.getText(). - 3:44 Bam, and now we can access it. - 3:53 Now this might seem like a silly application but - 3:56 note that this controller here is just a Java file. - 3:59 You could very easily pull in the Twitter API and - 4:01 make this actually tweet out with just a few additional lines of code. - 4:05 But it's still a little ugly right? - 4:06 I mean, we have a couple of options, what we could do is we could add a font - 4:10 attribute on a bunch of the elements directly, - 4:12 but that kind of seems like we would be repeating ourselves, right? - 4:15 We live by the mantra DRY, right, don't repeat yourself. - 4:20 There is a better way. - 4:22 So those are controllers. - 4:24 They control the information rendered into the view and - 4:27 this information is also known as the model. - 4:29 They also control the actions that are performed by the view. - 4:32 Controller seems like a pretty good name for it, eh? - 4:35 Okay. - 4:36 So the best practice for - 4:37 styling our application is by employing cascading style sheets, or CSS. - 4:42 Let's dive into that right after this challenge.
https://teamtreehouse.com/library/build-a-javafx-application/design-a-better-app/the-controller
CC-MAIN-2017-13
refinedweb
1,042
91.82
how does "kate" handle japanese inputs ? The issue is that i did not want txs to feel differently from standard programs. why is "e->accept()" necessary ? when is the extra if(...) necessary ? I'm an linux user. When I input Japanese text in the editor with ibus (input method framework for linux), I can't see any preedit text on screen. After I pressed enter to settle preedit text, I can see what I wrote. I tried to fix this problem and I found QEditor::inputMethodEvent function in qcodeedit/lib/qeditor.cpp. I found a part of this function isn't work due to #ifdef Q_WS_MAC. Codes between #ifdef Q_WS_MAC and #endif only works on Mac OS. After a bit coding and debugging, I fixed this problem. I checked that Japanese input works good on Kubuntu. But I can't understand why the code is disabled by #ifdef Q_WS_MAC. Is there any reason? patch is here : how does "kate" handle japanese inputs ? The issue is that i did not want txs to feel differently from standard programs. why is "e->accept()" necessary ? when is the extra if(...) necessary ? I wrote this patch following kate 4.10.5 source code. I found e->accept() at the end of KateViewInternal::inputMethodEvent(QInputMethodEvent* e) function, so I added it. Extra if(...) is needed when the text is deleted by Backspace key or input canceled by Esc key. Without this code, you find that text isn't deleted after you canceled input by pressing Esc key. When you press Esc key, IME send QInputMethodEvent e that includes empty preeditString and empty commitString, but inputMethodEvent function can't handle this so the text isn't deleted. okay, implemented in svn. Let's see if any problems arise ... seems to work Log in to post a comment.
https://sourceforge.net/p/texstudio/bugs/793/
CC-MAIN-2017-47
refinedweb
301
69.38
Provided by: aolserver4-dev_4.5.1-15_amd64 NAME Ns_ConnReturnOpenChannel, Ns_ConnReturnOpenFd, Ns_ConnReturnFdEx, Ns_ConnReturnOpenFile - Routines to send open file content SYNOPSIS #include "ns.h" int int Ns_ConnReturnOpenChannel(conn, status, type, chan, len) int Ns_ConnReturnOpenFd(conn, status, type, fd, len) int Ns_ConnReturnOpenFdex(conn, status, type, fd, off, len) int Ns_ConnReturnOpenFile(conn, status, type, fp, len) ARGUMENTS Tcl_Channel chan (in) Pointer to Tcl_Channel open for read. Ns_Conn conn (in) Pointer to open connection. FILE *fp (in) Pointer to stdio FILE open for read. off_t off (in) Seek offset. int fd (int) File descriptor open for read. int status (in) HTTP status code. char *type (in) Pointer to mimetype string. _________________________________________________________________ DESCRIPTION These routines are used to generate complete responses, including headers, status codes, content types, and the content copied from the given open file. They all return a status code which is NS_OK if the response was sent or NS_ERROR if an underlying call to sent the content failed. The response will include the given HTTP status code, a content-type header with the given type, and a content-length header with the length specified by len. No character output encoding or gzip compression is performed on the content. For Ns_ConnReturnOpenFdEx, copying begins at the offset specified by the off argument Otherwise, these routines copy from the current read offset in the underlying open file. No attempt is made to serialize access to the underlying object so independent open file objects and/or mutex locking is necessary if the same file is being sent simultaneously to multiple clients. NOTES Windows Support The Ns_ConnReturnOpenFdEx routine is not currently supported on Windows. When called on Windows, it will always return NS_ERROR. Truncated Result The server will construct a content-length header based on the given len argument. However, the server will send the content with an underlying call to a cooresponding Ns_ConnSend function, e.g., Ns_ConnSendFd for Ns_ConnReturnOpenFd. These functions will send the requested content or all remaining content in the open file if less bytes are avilable without reporting an error due to the truncated response. As the headers will have already been flushed before sending the content in this case, the content-length header will not be consistent with the actual bytes sent. If it is not possible to ensure the remaining bytes will be equal or greater to the requested bytes to send, it is possible to specify -1 for len to supress the content-length header entirely. Most browsers will accept this resonse and simply calculate the length from the bytes receieved up until the socket is closed. Performance Consideration As mentioned, these routines use underlying Ns_ConnSendFd style routines to copy and send the content from open files. This is not the approach used by the builtin file-serving code (aka the "fastpath"). The fastpath operates with filenames, not open file objects, and maintains a cached of pre-read or memory mapped regions to accelerate the common case of rapidly sending reasonably sized content to multiple, simultaneous clients. The Ns_ConnReturnFile routine utilizes the underlying fastpath and thus could be a faster means to send static files than directly opening files and calling these API's. SEE ALSO Ns_ConnReturnFile(3), Ns_ConnFlush(3), Ns_ConnSendFd(3), Ns_ConnReturnData(3) KEYWORDS connnection, response, file
http://manpages.ubuntu.com/manpages/precise/man3/Ns_ConnReturnOpenChannel.3aolserver.html
CC-MAIN-2019-43
refinedweb
537
53.51
Playing with shadow(s) The passwords are stored in a digital fingerprint using salt (salted hash) in the Linux system through the crypt function. You can find relevant information about the implementation in Ubuntu at (how to call this function, what the arguments are etc.) Assume that you have managed to access a secret shadow file of an Ubuntu Linux system (see the shadow file contents below). The system has two users, bob and alice. alice:$6$.s6xaWmE$m9KjrSJ1dgZ20M5IhEyXORNV.KZwBk5hp1XZ0mpOyTe.dGET.EdMCFgPimkeM7nWEW4wejMoVV.40Cg6w9XJ..:17470:0:99999:7::::17470:0:99999:7::: Tasks Based on the information you will obtain from the above link, which hash function did the system use to generate the salted hashed passwords? From the documentation, we get the following information: The glibc) We can see in both lines of our shadow file, that between the first and second colon ( :) the hashed value is following the format described above. This means that the id of the function used is between the first and second dollar sign ( $) and that value is in both cases the value 6. From this result, we know that SHA-512 was used. Which salt was used for bob and which for alice? The salt that was used for bob is .s6xaWmEand the salt for alice aACNZdTj. We get this data on each line, between the second dollar sign ( $) and the third. From the shadow file, can you see for sure if alice and bob have chosen different passwords? Explain your answer. Since the system used different salt while hashing each password, we cannot infer any information regarding the similarity of the passwords of bob and alice. Your goal is to discover the passwords of these two users. To do this, you have some information about the personal life of bob and alice: For the bob user, you know that he is now starting to learn how to use computers. He is unaware of security risks and has probably chosen an easy password (one that many users generally select). For alice, you know some of her personal information: her phone number is 6955345671, her license plate is ZKA4221, and she likes the Rolling Stones. Alice has only a limited knowledge of security. She knows it is suitable for a password to combine letters with numbers and have several characters. Still, she does not fully understand how to choose a secure password. Please describe the actions you will take to guess their passwords, doing your tests on the shadow file. For bob, use lists of common passwords, while for alice, use the above personal information. To get the password of bob, we used a simple approach using John the Ripper (lovely tool by the way). As seen in the following commands, we installed John the Ripper and using the default settings we asked John to crack any passwords in our shadow file. sudo snap install john-the-ripper; john shadow ; IIn seconds, John the Ripper produced the password for the user bob, which was 1234567890. John the Ripper was so quick that it felt like magic! Unfortunately (or fortunately, depending on the context), John the Ripper cannot do magic… The reason it was so fast, in this case, is because the default settings for John the Ripper instruct the tool to try many simple passwords first using wordlist files. We already knew that bob was using one of those passwords, so it made the selection of options trivial. At this stage, it would appear that the password for alice was harder to guess, and John the Ripper did not produce a result after we let it execute for a few minutes. Something that is worth mentioning about the case of bob is the following; We could have asked John the Ripper to try and crack the password using all alphanumeric characters only ([a-z][A-Z][0-9]). It would have taken longer, but it could work since we knew from Human Intelligence (HumInt) that bob is using fairly simple passwords. Below is the raw output of the console for the case of cracking the password of bob. Please note that we used ctrl+c to kill the execution as we did not expect John the Ripper to get the password for alice as well. $ john shadow Created directory: /home/bob/snap/john-the-ripper/459/.john]) Cost 1 (iteration count) is 5000 for all loaded hashes Will run 12 OpenMP threads Proceeding with single, rules:Single Press 'q' or Ctrl-C to abort, almost any other key for status Warning: Only 46 candidates buffered for the current salt, minimum 48 needed for performance. Warning: Only 45 candidates buffered for the current salt, minimum 48 needed for performance. Almost done: Processing the remaining buffered candidate passwords, if any. Warning: Only 43 candidates buffered for the current salt, minimum 48 needed for performance. Warning: Only 33 candidates buffered for the current salt, minimum 48 needed for performance. Proceeding with wordlist:/snap/john-the-ripper/current/run/password.lst, rules:Wordlist 1234567890 (bob) Proceeding with incremental:ASCII To tackle the case of alice, we had to improvise a bit. First of all, we made a text file that on each line it contained the personal information that Human Intelligence gathered for us about alice. To ensure that John the Ripper would have more material to work with, we also did some variations to some data, like splitting the license plate into two tokens. The file ( keywords.lst) looked like so: 6955345671 ZKΑ4221 Rolling Stones alice zka4221 zka 4221 Stones Rolling Then, we used hashcat to create a new list that would combine the previous tokens making more complex passwords. We had this hint from the Human Intelligence analysis, so it was an easy choice to make. The new and amazing list ( advanced.lst) that we created had the following data in it: sudo apt-get install hashcat; #Type in the contents of the list above nano keywords.lst; #Not sure why it requires sudo sudo hashcat -a 1 --stdout keywords.lst keywords.lst > advanced.lst; 69553456716955345671 6955345671ZKΑ4221 6955345671Rolling Stones 6955345671alice 6955345671zka4221 6955345671zka 69553456714221 6955345671Stones 6955345671Rolling ZKΑ42216955345671 ZKΑ4221ZKΑ4221 ZKΑ4221Rolling Stones ZKΑ4221alice ZKΑ4221zka4221 ZKΑ4221zka ZKΑ42214221 ZKΑ4221Stones ZKΑ4221Rolling Rolling Stones6955345671 Rolling StonesZKΑ4221 Rolling StonesRolling Stones Rolling Stonesalice Rolling Stoneszka4221 Rolling Stoneszka Rolling Stones4221 Rolling StonesStones Rolling StonesRolling alice6955345671 aliceZKΑ4221 aliceRolling Stones alicealice alicezka4221 alicezka alice4221 aliceStones aliceRolling zka42216955345671 zka4221ZKΑ4221 zka4221Rolling Stones zka4221alice zka4221zka4221 zka4221zka zka42214221 zka4221Stones zka4221Rolling zka6955345671 zkaZKΑ4221 zkaRolling Stones zkaalice zkazka4221 zkazka zka4221 zkaStones zkaRolling 42216955345671 4221ZKΑ4221 4221Rolling Stones 4221alice 4221zka4221 4221zka 42214221 4221Stones 4221Rolling Stones6955345671 StonesZKΑ4221 StonesRolling Stones Stonesalice Stoneszka4221 Stoneszka Stones4221 StonesStones StonesRolling Rolling6955345671 RollingZKΑ4221 RollingRolling Stones Rollingalice Rollingzka4221 Rollingzka Rolling4221 RollingStones RollingRolling To use the above custom wordlist on the shadow file, we issued the following command to John the Ripper: john --wordlist=advanced.lst --rules shadow; A few moments later, John the Ripper produced the following output indicating that the password for alice was rollingstones4221. $ john --wordlist=advanced.lst --rules shadow]) Remaining 1 password hash Cost 1 (iteration count) is 5000 for all loaded hashes Will run 12 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status rollingstones4221 (alice) 1g 0:00:00:00 DONE (2021-11-26 17:09) 3.846g/s 3765p/s 3765c/s 3765C/s 69553456716955345671..Rollingstonesing Use the "--show" option to display all of the cracked passwords reliably Session completed Bonus Material Finding previously cracked passwords A tip for people that are new to John the Ripper. In case you forgot to write down all passwords that were produced; you can issue the following command that will show you all the passwords that John the Ripper knows for the specific input file: john --show shadow; $ john --show shadow alice:rollingstones4221:17470:0:99999:7::: bob:1234567890:17470:0:99999:7::: 2 password hashes cracked, 0 left Trying to crack a shadow file using Python In case you would like to use programming and manually crack the shadow file, there are ways. Using the Python language and the crypt package, we can write a simple program. The program will accept the salt and the unencrypted input text and produce the hashed output. It would be the same result; as a result, a Linux machine would make while creating its shadow file. import crypt from hmac import compare_digest as compare_hash crypt.crypt("1234567890", "$6$aACNZdTj$") #It would produce the following, which is the salted hash for the password of'
https://bytefreaks.net/tag/hashcat
CC-MAIN-2022-40
refinedweb
1,404
58.32
How to Create Setup file for .NET Windows application? In this article I have explained about how to create set up file with MS Access Database, Uninstall option, etc. Each steps I have clearly explained in this article with screen shot. First step (create windows application) to last step Uninstall option all are covered in this article. Description Create windows application First we need to create one windows application. Then we create set up file for that application. Select File -> New -> Project in Visual Studio Standard tool bar. Give Name for your windows application Design side I have design my form with one text box and one DataGridView look like this In this data grid view I have bind data from MS Access Database. And I use that text box for search records based on name. Server Side I have declare variables and connection details in the class using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using System.Configuration; using System.Diagnostics; namespace WindowsSetup { public partial class Form1 : Form { //You can place your database "Data-directory/Databasefile" under your project bin/Debug folder static string s=Application.StartupPath + "\\Data\\test.mdb"; static string constr="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + s + ";"; OleDbConnection con=new OleDbConnection(constr); OleDbCommand cmd=new OleDbCommand(); OleDbDataAdapter da=new OleDbDataAdapter(); DataTable dt=new DataTable(); If you want uninstall option for your set up file then write code to get Command Line argument like below. public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Below code is used to uninstall application //Get Command Line Arguments string[] arguments = Environment.GetCommandLineArgs(); foreach (string argument in arguments) { if (argument.Split('=')[0].ToLower() == "/u") { string guid = argument.Split('=')[1]; string path = Environment.GetFolderPath(Environment.SpecialFolder.System); ProcessStartInfo si = new ProcessStartInfo(path + "\\msiexec.exe", "/i " + guid); Process.Start(si); Application.Exit(); System.Environment.Exit(0); } } //Load DataGridView first time when form load refreshGrid(); } void refreshGrid() { string query; con.Open(); if(textBox1.Text=="") { query="select eno,empname,sal from emp"; } else { query = "Select eno,empname,sal from emp where empname like '%" + textBox1.Text + "%'"; } cmd=new OleDbCommand(query,con); da = new OleDbDataAdapter(cmd); dt.Clear(); da.Fill(dt); dataGridView1.DataSource = dt; con.Close(); } private void textBox1_TextChanged(object sender, EventArgs e) { //Refresh grid values when each text entered in textbox by user. refreshGrid(); } } That's all we done create one windows application. Compile this application and run it. Output look like below. How to create setup file for .Net Application? Now we can create set up file for this application with MS Access database. Go to File - > Add-> New project in the Existing opened Project Visual Studio screen. Then Select "Setup and Deployment" and right side select "Set up Project" (under visual studio installed templates) in the dialogue box. Give the name for your set up file. After enter name click Ok button. Screen look like below. Check it that set up file added in your solution explorer (right side) Now right click on the application folder select Add->Project Output. After select New pop up appear in that window select "Primary Ouput" Click Ok. How add MS Access database to the Set up file? I have placed access database in my application "Data" directory so I need to create directory for same like this in application folder. Right Click of the application folder and choose Add - > New folder and name it for that folder "Data" Double click that "Data" folder in the application folder to open, now right click and choose Add->File After select new dialogue box is appear and ask for your database location. Select your database path and click ok in that dialogue box. After added it check your database attached in Application folder look like this. How to add Desktop Shortcut in setup file? Select Application folder in File System and right click of the Primary Output file to create short cut for that file. Rename of that shortcut and cut that shortcut file After cut that shortcut go to File System (left side) user's desktop, double click that folder and open it and paste that shortcut If you want change the icon of short cut then select that short cut right click -> choose properties window. In that property window choose icon option to set icon for your desktop shortcut. Make sure if you want add icon in the short cut then you must add that icon in the application folder before. How to create Shortcut in Programs menu during set up creation? Select Application folder in File System and right click of the Primary Output file to create short cut Rename that shortcut same like above steps and Create one new folder in user's Program menu and paste that shortcut under that folder. How to create uninstall Shortcut in Programs menu? Select Application folder in File System and right click of the Primary Output file to create short cut Rename that shortcut to "uninstall" same like above steps and Paste that shortcut under user's programs menu like this Select that uninstall short cut right click choose Properties. In that property window give Arguments value /u=[ProductCode] . Now select set up file in solution explorer and build it In this example I have create project "D:\WindowsSetup" name. So now I go to my project location "D:\WindowsSetup" Set up file folder "Windows_Setup" is available in that project folder and set up file is available in this path "D:\WindowsSetup\Windows_Setup\Debug" folder. Just I double click that set up file to install in my system. After installation Shortcut for that application is created automatically in Desktop and Program files menu. Desktop shortcut Program Menu Shortcut with uninstall option Source Code Here i have attached source code, if you want source then download it and try to create set up file. Conclusion: I hope this article help to know about set up file creation using Visual Studio for .Net application. I like it very much and will help me in creating the setup of my project.Thank you very much.
https://www.dotnetspider.com/resources/43059-How-Create-Setup-file-for-NET-windows.aspx
CC-MAIN-2022-27
refinedweb
1,027
57.57
A trailing comma, also known as a dangling or terminal comma, is a comma symbol that is typed after the last item of a list of elements. Since the introduction of the JavaScript language, trailing commas have been legal in array literals. Later, object literals joined arrays. And with the introduction of ES2017, also known as ES8, trailing commas became allowed pretty much everywhere. It seems like a little change, but there are some hard-to-notice consequences. And while most new language features are welcomed, this one can land you in trouble if you’re not careful. In this guide, we’ll look at trailing commas in detail. We’ll start with the common data types, like arrays and objects, where you can safely add a trailing comma to the end of a list of items. Then we’ll move on to language constructs such as parameter lists, function calls, and destructuring assignments. At the end of the article, we’ll discuss the dos and don’ts of using trailing commas. Using trailing commas in arrays You can safely include a trailing comma after the last expression in an array like this: const arr = [ "one", "two", "three", ]; Be careful not to add more than one comma to the end, or you’ll be creating an undefined element. For example, the following array is perfectly legal but contains four elements: const arr = [ "one", "two", "three",, ]; console.log(arr.length); // => 4 Arrays don’t necessarily have contiguous indices starting at 0. You can create an array that contains several “gaps” — such an array is known as a sparse array. For instance, the following array contains six elements, three of which are undefined: const sparseArray = [1,,,4,5,,]; So, it’s important to remember that the value of the length property doesn’t always indicate the number of elements in the array. You may even have an array that has no elements and a length of 1: const arr = [,]; console.log(arr.length); // => 1 In practice, however, you rarely need to work with a sparse array. And if you do, your existing code will most likely handle it just as it would handle a normal array containing undefined elements. Using trailing commas in objects Similar to arrays, you can have a comma following the last property of an object: const person = { firstName: "John", lastName: "Davis", age: 30, } Trailing commas in object literals have been legal since ECMAScript 5. Some JavaScript style guides, like those created by Airbnb and Google, even encourage you to make a habit of including a trailing comma all the time so that you’re less likely to encounter a syntax error when adding a new property at the end of an object at a later time. Note that, unlike with arrays, you cannot create sparse objects, and attempting to do so results in a syntax error: const person = { firstName: "John", , age: 30, } // logs: // => Uncaught SyntaxError: Unexpected token ',' As I mentioned before, there are several other constructs in JavaScript besides arrays and objects that may have a trailing comma. Using trailing commas in parameter lists and function calls It’s sometimes useful to put the parameters of a function on a separate line, particularly if there’s a long list of parameters or you want to accommodate comments describing each parameter. For example: function createRectangle( w, // (number) the width of the rectangle h // (number) the height of the rectangle ) { /* ... */ } As the function evolves, you may find yourself in a situation where you need to add more parameters to the function. But for each new parameter you add, you have to go to the previous line and add a comma: function createRectangularPrism( w, // (number) the width h, // (number) the height d // (number) the depth ) { /* ... */ } Even experienced developers do not always remember to add a comma to the previous line, which results in an error. What’s worse is that the commit diffs will show a code change in that line simply because you later added a comma (more on this later). Fortunately, ES2017 made it legal to add a trailing comma to function parameters, too: function createRectangularPrism( w, // (number) the width h, // (number) the height d, // (number) the depth ) { /* ... */ } This is just a change in the coding style and doesn’t add an unnamed parameter or cause any other side effect. What’s more, the ES2017 update gave us the ability to have a trailing comma at the ends of arguments in function calls. Some programmers like to put each argument of a function call on its own line. If you’re one of them, then trailing commas, again, will save you from potential errors in the future: createRectangle ( 5, 10, ) This code calls the createRectangle() function with two arguments. If you later decide to add a third argument, you won’t have to edit any existing line. The same rule applies to method definitions for classes or objects since they’re also functions: const myObj = { createRectangle( // defines a method w, h, ) { /* ... */ } } Using trailing commas in the destructuring assignment syntax The destructuring assignment syntax allows you to quickly extract values from arrays or objects into distinct variables. When destructuring, you can add a trailing comma to the left-hand side of the assignment. For instance, the following code destructures an array: const numbers = [10, 20, 30]; const [n1, n2, n3,] = numbers; console.log(n1); // => 10 Similarly, you can use destructuring to “unpack” the properties of an object: const car = { color: 'red', type: 'coupe', hp: 500 }; const {color, type, hp,} = car; console.log(color); // => red But what about JSON objects, which are similar to plain JavaScript objects? Can they use trailing commas? Using trailing commas in JSON The JSON file format was introduced in the early 2000s. Since JSON is based on JavaScript’s object syntax, and it was invented before ECMAScript 5 was introduced in 2009, trailing commas cannot be used in JSON (remember, trailing commas in object literals became legal in ES5). For example, the following code will throw an error: JSON.parse('[1, 2, 3, 4, ]'); // => Uncaught SyntaxError: Unexpected token ] in JSON at position 13 So does this line of code: JSON.parse('{"foo" : 1, }'); // => Uncaught SyntaxError: Unexpected token } in JSON at position 12 There are a number of online tools that can help you with this problem. For example, you can take advantage of this JSON Formatter to automatically find and remove trailing commas in your JSON code. Trailing commas in module imports and exports In modern JavaScript, it’s a common practice to create programs that are composed of independent chunks of code called modules. Just as it’s legal to add a trailing comma to objects in classic scripts, it’s legal to have a comma following the last item of exports in modules. This comes in handy when you want to include more exports at a later time. For example: // module 1 var foo = 10; let bar = 20; const baz = 30; export {foo, bar, baz, }; This code uses the export keyword to make the foo, bar, and baz variables public. This means other modules in separate files can use the import statement to access these variables: // module 2 import { foo, bar, baz, // notice the trailing comma, which is legal when importing identifiers } from './module1.js' Why should you start using trailing commas? JavaScript programmers used to avoid including a trailing comma in arrays because early versions of Internet Explorer would throw an error (even though it was legal in JavaScript from the beginning). But things have changed. Many coding styles now recommend using trailing commas all the time, and there are good reasons for that. If you frequently add new items to the ends of arrays, objects, or argument/parameter lists, then having a trailing comma already in place means you won’t have to remember to go to the line before and add a comma if you need to make an addition later. You may also find yourself frequently cutting and pasting properties. Again, having a trailing comma could make reordering the items less troublesome and prevent syntax errors in the future. Moreover, because you won’t need to change the line that used to be the last item, version control systems would produce cleaner diffs. Say you have this function: function myFunction( p1, p2 ) { /* ... */ } myFunction( 'arg1', 'arg2' ); If you add a new parameter called p3, the diff output would look something like: function myFunction( p1, - p2 + p2, // Change this line to add a comma + p3 // Add p3 ) { /* ... */ } myFunction ( 'arg1', - 'arg2' + 'arg2', // Change this line to add a comma + 'arg3' // Add arg3 ); Here, you have two changes in the function declaration and two changes in the function invocation. Let’s see what would happen if your function already had a trailing comma: function myFunction( p1, p2, ) { /* ... */ } myFunction( 'arg1', 'arg2', ); With a trailing comma in place, you’ll only have two changes in the diff output: function myFunction( p1, p2, + p3 // Add p3 ) { /* ... */ } myFunction ( 'arg1', 'arg2', + 'arg3' // Add arg3 ); The takeaway from this section is that using trailing commas makes it easier to add new parameters to your functions or copy/paste properties in arrays and objects. It also helps with producing cleaner diff output. But trailing commas do not work everywhere, and if you’re not careful, using them might actually backfire. When not to use trailing commas You might assume that you can use trailing commas with the rest parameter syntax, too, because trailing commas are allowed in various other JavaScript constructs. But that is actually not true: function sum(...theArgs,) { // notice the trailing comma return theArgs.reduce((previous, current) => { return previous + current; }); } console.log(sum(1, 2, 3)); // => Uncaught SyntaxError: parameter after rest parameter Using a trailing comma after the rest parameter is illegal, even if you use it in the destructuring syntax: const numbers = [10, 20, 30]; const [n1, ...n2,] = numbers; // => Uncaught SyntaxError: rest element may not have a trailing comma So, keep in mind that although using a trailing comma in destructuring syntax is valid, you cannot use it after the rest parameter. Besides the destructuring syntax, there’s one more place where using a trailing comma may land you in trouble: functions. Consider the following example: function myFunction(,) { // ... } // => Uncaught SyntaxError: Unexpected token ',' myFunction(,); // => Uncaught SyntaxError: Unexpected token ',' The first line of this code defines a function with no parameter and a comma, and that causes a SyntaxError. You can either have no parameters with no comma, or a trailing comma after parameters. The same is true when you invoke a function: you cannot have a function call whose only argument is a comma. Conclusion The usage of the comma symbol has undergone several revisions in the JavaScript language, and with each revision, more language constructs have added support for trailing commas. In this article, we looked at how the trailing comma works in different constructs, including arrays, objects, JSON objects, parameter lists, function calls, and module imports and exports. Then, we learned where the trailing comma is legal to use and where it’s not. In general, you should make use of trailing commas when you frequently copy/paste properties or add new items to the end of a list. You can also take advantage of them to produce cleaner diff outputs. But, remember, you should not use them with the rest parameter syntax, and you cannot have a function declaration/invocation whose only parameter is a comma. “Best practices for using trailing commas in JavaScript” 👍🏽 nice summary. Thanks 🙏🏽.
https://blog.logrocket.com/best-practices-using-trailing-commas-javascript/
CC-MAIN-2022-40
refinedweb
1,911
57.81
Introduction: Personal Gait Analysis Wearable Device Marathons and Half-Marathons are more popular than ever before. The large number of injuries, especially among beginner and intermediate runners, is a big cause for concern. There are large number of studies that show that foot form (how your foot contacts with the ground) plays an important role is staying injury free. Gait Analysis is a popular method used to analyze foot form during running. The only way to perform Gait Analysis on yourself is through an expensive session at an adequately equipped Physical Therapy center, or you head to the closest running-shoe store and ask one of the experts to give your their opinion. In either case, you aren't getting Gait Analysis results frequent enough. This is what drove us to create a prototype for a low cost Gait Analysis device. Step 1: Bill of Materials For this project we used: 1. 6 Piezo Sensors 2. Edison Dev Kit 3. Necessary resistors and hook-up wire Step 2: About the Piezo Piezos are sensors that generate a certain voltage upon vibration or a knock. Here is the exact part we used: This Arduino Tutorial gives a good overview of how the sensor should be used: In essence, based on the velocity of impact, you will get a value between 0 and 1023 when you read the AnalogPin the sensor is connected to. Step 3: Hooking Up the Sensors and Reading Them The circuit is really simple. The Piezo elements are connected to 6 Analog Ins on the Edison Development Board. You will need to connect necessary resistor in parallel to calibrate the sensor readings. Piezos are sensitive elements and without these resistors its output will turn out to be 1023 (the maximum possible value) even with a slight impact. Use these resistors to tame down the sensor and get a meaningful scale of values. Once you have these sensors connected and the device powered up. The following piece of Python code will read the sensor values periodically. import mraa import time # Get handle on each of the inputs impact = [mraa.Aio(0),mraa.Aio(1), mraa.Aio(2), mraa.Aio(3), mraa.Aio(4), mraa.Aio(5)] # Init result vector impactVal = [0, 0, 0, 0, 0, 0] while 1: impactVal[0] = float(impact[0].read()) impactVal[1] = float(impact[1].read()) impactVal[2] = float(impact[2].read()) impactVal[3] = float(impact[3].read()) impactVal[4] = float(impact[4].read()) impactVal[5] = float(impact[5].read()) print impactVal # Allow settling time for the sensors time.sleep(0.5) You now have the first steps necessary to create a Personal Gait Analysis Device Recommendations We have a be nice policy. Please be positive and constructive.
http://www.instructables.com/id/Personal-Gait-Analysis-Wearable-Device/
CC-MAIN-2018-17
refinedweb
453
57.16
The. InfoQ: Everyone knows Atom and AtomPub are just for weblogs. Right? Why would anyone care about them outside of this domain? James. Dan Diephouse: One only needs to. InfoQ: Is AtomPub the new SOAP? James Snell: I’m sure someone could make that case but I don’t think it’s worthwhile. Dan Diephouse: I agree that its not a very worthwhile analogy as SOAP is primarily a way to ship around data. Maybe there is some more validity if you bring WSDL into it.! I can consume calendar data the same way I consume an employee directory and the same I was read blogs. I don’t need any specific tools nor do I need to know anything other than that the service is AtomPub. These constraints limit the applicability of AtomPub as well - it is by no means a protocol for all things. Many things are awkward to model in AtomPub - really your data needs to be time based lists of things for it to be a natural fit. InfoQ: What is Abdera? James Snell:. Dan Diephouse: The features are beginning to be a little too numerous to mention. It. InfoQ: Can you briefly summarize some key design decisions in Abdera’s architecture? James Snell: Abdera was initially designed around three primary points: It was to be functionally complete, providing support for every aspect of Atom development and every option allowed by the standard. This principle is illustrated by Abdera’s support for features like IRI’s, Unicode Normalization, XML Digital Signatures, XML Encryption, and a wide range of extensions. It was to perform well, providing fast parsing and serialization of Atom documents. It was to be modular, providing a means for developers to pick and choose only the functionality necessary to enable any particular feature and to allow pieces to be swapped out or plugged in easily. InfoQ: What do the two of you use Abdera for? James Snell: Within IBM, Abdera is used by components of the Lotus Connections and Lotus Quickr suites to enable Atom Publishing Protocol support. Abdera is also shipped within the WebSphere Web 2.0 Feature Pack. Internally, Abdera is used in a broad variety of applications. Dan Diephouse: At MuleSource we’re using it in a couple places. We’re using it in Galaxy, an open source registry/repository, for our API. It allows users to manage artifacts and metadata inside our repository. We shied away from using something like UDDI as it was overly complex. AtomPub gave us the ability to manipulate our registry using a simple RESTful API and enable syndication of things inside the repository at the same time. We’ve also written an Abdera component for Mule which allows you to easily integrate AtomPub services with any of the other various connectors Mule supports. AtomPub can be extremely useful a lot of integration scenarios - like queueing, logging, eventing - anything where you have time based collections of things. We’re hoping it will help people get their data out there in a web friendly way. InfoQ: What’s on the roadmap next? James Snell: Graduation. Abdera has been part of the Apache Incubator for long enough. While there are still some details to work out, I would very much like to see Abdera graduate to it’s own Top Level Project at Apache, and become host to a broad range of Atom-based applications. Dan Diephouse: I think we’re also focused on getting a 1.0 release out soon as well (community willing). I’ll also take this moment to plug our project and say - get involved! Feedback (of any kind) and patches are always welcome. Just join the mailing list or start filing issues. Check out Dan Diephouse’s and James Snell’s blogs as well as the Abdera home page. Community comments Google APIs by Thom Nichols / Google APIs by Thom Nichols / Your message is awaiting moderation. Thank you for participating in the discussion. It was sort of mentioned, but the Google Data API is basically ATOM with some add-in XML namespaces. This is super useful if you want to integrate with (or more importantly, publish data using the GData format.
https://www.infoq.com/news/2008/04/abdera/
CC-MAIN-2021-10
refinedweb
698
64.71
INTRODUCTION ActiveReports 9 offers two different kinds of Section Based Reports. One is Code Based Report and the other is XML Based Report. The difference between the two is the code behind file which is associated with the former. The XML Based Report is basically an RPX file which contains the report layout and any script associated with the report. Though both report types have their own advantages, the XML based reports may be handy in some cases like you can make updates to the RPX files and redistribute them without recompiling & redistributing the assembly. Since the XML Based Report does not have any code behind, it uses its Script section to handle any associated functionality using script. However there might be instances where we would want to use RPX files as Subreports and also set the datasource dynamically at runtime. It is quite clear that we would need to use Scripts to accomplish this task. But since scripts do not have access to any external classes, how shall we go about achieving the desired results? Well this blog topic tries to present an example which should clear things up. USING AddNamedItem If you haven't heard of this term before, I would suggest you to take a look at this blog article which specifically targets this topic. This method adds an object to the script's global namespace. This further allows scripts to become aware of custom classes contained within a project. The sample which we are going to create in this blog creates subreports using XML based reports and allow users to switch between different datasources at runtime. The final output will look like the image below. IMPLEMENTATION We will start by creating two separate classes which will return a DataTable. We name them "DataTable1.cs" and "DataTable2.cs" respectively. Since you can place any data inside the datatable, I am not providing the code inside these classes. Next step is to go to the Form's code-behind and define a class which will hold the name of the datatable currently being used as the datasource. Once this class is updated with the required information, we will use the AddNamedItem method to use the corresponding datasource using script. The Form's code-behind will look like this: - Form's Code-Behind public class DataSourceName { public string _dsName = ""; } private void showReportToolStripMenuItem_Click(object sender, EventArgs e) { GrapeCity.ActiveReports.SectionReport rpt = new GrapeCity.ActiveReports.SectionReport(); System.Xml.XmlTextReader xtr = new System.Xml.XmlTextReader("..\\\..\\\rptMain.rpx"); rpt.LoadLayout(xtr); xtr.Close(); rpt.AddNamedItem("DataSourceOne", new DataTable1()); rpt.AddNamedItem("DataSourceTwo", new DataTable2()); if ((RadioButton1.Checked == true)) { DataSourceName ds = new DataSourceName(); ds._dsName = "DataTable1"; rpt.AddNamedItem("DS", ds); } else if ((RadioButton2.Checked == true)) { DataSourceName ds = new DataSourceName(); ds._dsName = "DataTable2"; rpt.AddNamedItem("DS", ds); } rpt.Document.Printer.PrinterName = ""; viewer1.LoadDocument(rpt); } Once we are done with the setting of the datasource, it is now time to concentrate on the Main Report's Script section. You will notice how are we using the DS variable directly in the script, which we added using AddNamedItem in form's code-behind. This is how the Script will look: - Main Report's Script private GrapeCity.ActiveReports.SectionReport rptSub; public void ActiveReport_ReportStart() { this.SubReport1.ReportName = "..\\\..\\\rptSub.rpx"; rptSub = new GrapeCity.ActiveReports.SectionReport(); //Load the rpx file into the generic report rptSub.LoadLayout(this.SubReport1.ReportName); if (DS._dsName == "DataTable1") { rptSub.DataSource = DataSourceOne.GetDataTable1(); rptSub.Sections["Detail"].Controls["TextBox1"].DataField = "Name"; rptSub.Sections["Detail"].Controls["TextBox2"].DataField = "Age"; } if (DS._dsName == "DataTable2") { rptSub.DataSource = DataSourceTwo.GetDataTable2(); rptSub.Sections["Detail"].Controls["TextBox1"].DataField = "Product"; rptSub.Sections["Detail"].Controls["TextBox2"].DataField = "Price"; } } public void Detail_Format() { GrapeCity.ActiveReports.SectionReportModel.SubReport rptSubCtl = this.SubReport1; rptSubCtl.Report = rptSub; } So that is all we need to do. For a working example, please use the download link provided below.
https://www.grapecity.com/en/blogs/using-scripts-in-subreports-for-dynamic-databinding
CC-MAIN-2018-43
refinedweb
633
51.44
In this article, we will learn about the solution and approach to solve the given problem statement. Given a list input , we need to find the sum of absolute difference between all pairs in a list. Enumerate() method adds a counter to an iterable and returns it in a form of enumerate object type. In this method, we have a list ‘diffs’ which contains the absolute difference. We use two loops having two variables initialized . One is to iterate through the counter and another for the list element. In every iteration, we check whether the elements are similar or not. If not, find the absolute difference and append it to diffs list . Finally,we find the sum of list. Since each pair will be counted twice, we divide the final sum by 2 to get the desired value and return it. def sumPairs(lst): diffs = [] for i, x in enumerate(lst): for j, y in enumerate(lst): if i != j: diffs.append(abs(x-y)) return int(sum(diffs)/2) # Driver program lst = [22,3,55,43] print(sumPairs(lst)) 177 All the variables & functions are declared in the global scope and are shown below. In this article, we learnt about the approach to find the absolute difference between all pairs in a list
https://www.tutorialspoint.com/python-program-to-find-sum-of-absolute-difference-between-all-pairs-in-a-list
CC-MAIN-2021-43
refinedweb
214
72.97
26 April 2011 04:33 [Source: ICIS news] SHANGHAI (ICIS)--?xml:namespace> The profit is an increase of 68.2% compared to the same period last year, the company said in a filing to the Shenzhen Stock Exchange. Paste polyvinyl chloride (PVC) was the biggest contributor to Shenyang Chemical’s net profit because of tight supply in the domestic market, industry sources said. PVC comes in two forms: powder PVC and paste PVC. In Paste PVC is used for coating cloth, rotary forming, macerating, spraying and foaming in combination with plasticizers as well as in other adhesive agents. ($1 = CNY6.53)
http://www.icis.com/Articles/2011/04/26/9454813/chinas-shenyang-chem-posts-q1-net-profit-of-cny70.5m.html
CC-MAIN-2014-52
refinedweb
101
63.9
JDOM is the most Java-centric of all the major APIs for processing XML. The JDOM developers have given a lot of thought to exactly how the JDOM classes fit into common Java systems such as the Java Collections API, Remote Method Invocation (RMI), and the I/O framework. Unlike DOM, the behavior of JDOM objects is very well defined with respect to Java operations such as cloning and serializing. All the major JDOM classes such as Element, Document, Namespace implement the java.io.Serializable interface. This means JDOM objects can be passed between machines using remote method invocation (RMI) and stored in files using ObjectOutputStream and ObjectInputStream. Of course just because something is possible doesn't mean it's a good idea. XML is itself a serialization format for JDOM objects, and it's a much more broadly supported one. What's not as broadly known is that pure textual XML is also generally much faster and smaller than Java's binary object serialization. There's very little reason to use serialized JDOM objects instead of passing genuine XML documents back and forth. At the time of this writing, the long-term plan for JDOM serialization is still under discussion. While you can use object serialization to pass JDOM objects from one virtual machine to another, both of which have the same version of JDOM, using anything beyond that is up in the air. In particular, it is highly doubtful that an object you serialize today will be able to be deserialized tomorrow in a different version of JDOM. For long-term persistence, you should absolutely use XML documents instead of serialized objects. For the most part, except for a few accidental exceptions, JDOM classes are not thread-safe. You cannot use a JDOM Document, Element, or other object safely in multiple threads simultaneously unless you synchronize it properly. If you build the object in one thread, and therefter only read from in different threads (in essence, if you treat the object as if it were immutable) then you may be OK. But if you plan to write to or modify the object, you're going to have to synchronize your objects. All the core JDOM classes (Element, Attribute, ProcessingInstruction, etc.) implement the equals() method. In all cases, the test is for object identity. In other words, element1.equals(element2) if and only if element1 == element2. That is, element1 is the same element as element2. The reasoning is that order and position are significant in XML documents. Thus two nodes can’t be equal unless they are in fact the same node. For example, consider the two Price elements in this XML fragment: <Item> <Name>2002 Toyota Camry</Name> <Price>$10,000</Price> </Item> <Item> <Name>1976 AMC Gremlin</Name> <Price>$10,000</Price> </Item> The two Price elements are character-for-character identical. However, one is a very good price and one is a very bad price because of what their positions in the document. This behavior is enforced by implementing the equals() method with an == test and making the method final. A typical JDOM equals() method is defined thusly: public final boolean equals(Object o) { return (this == o); } Because JDOM tests for equality based on object identity, the default hashCode() implementation inherited from java.lang.Object suffices. However, to prevent subclasses from violating this contract, the hashCode() method is implemented as a final method that calls super.hashCode(). That is, it looks like this: public final int hashCode() { return super.hashCode(); } Thus it cannot be overridden, and subclasses cannot change its behavior. The JDOM toString() methods produce strings that look like these: [Document: No DOCTYPE declaration, Root is [Element: <html [Namespace:]/>]] [Element: <html [Namespace:]/>] [Attribute: xml:lang="en"] [Text: ] [Attribute: type="text/css"] [Attribute: rel="stylesheet"] [Text: Latest Version: ] [Element: <a [Namespace:]/>] [Attribute: href=""] [Text: June 16, 2002] They are suitable for debugging, but not for display to an end user. In particular, they are not the serialized form of the XML node the object represents. To serialize a JDOM object onto a stream or into a String, use an XMLOutputter chained to a StringWriter. Do not use toString(). All the core JDOM classes implement Cloneable. Except for Namespace objects (which are immutable), all clones are deep clones. For example, cloning an element makes a copy of the element's contents as well. The clone does not have a parent, and can be inserted into the same document or a different document.
http://www.cafeconleche.org/books/xmljava/chapters/ch14s11.html
CC-MAIN-2014-15
refinedweb
745
53.61
so i decided to put a circuit and script together that would allow for an auto reboot of the raspberry should it crash, and shutdown if the power is lost, but it must turn back on if the power is regained(this could be an issue if the power is turned off then back on while a shutdown of the raspberry is commencing, it may just never turn back on) to turn the raspberry on ill be using pin5 connected to ground which will boot a shutdown raspberry but pin5 is predefined for I2C what im wondering is there a better way to do things than using the multiple parts that i am currently using (other than changing relays and transistors for relay modules) the circuit RPI1 = raspberry 40pin header USB1 = raspberry power input V1 = house electrical supply PWR1 = 5v wall plug Q1, Q2 = NPN transistor RL1, RL2 = 5v relay R1 = 220 ohm resistor R2, R3 = 500 ohm resistor D1, D2, D3, D4, D5 = simple diodes 1n4001 etc C1 = 4700uf electrolytic capacitor C2 = 4.5F 5.2v Super Capacitor Off Delay Timer, such as ... r0011.html B1 resets the timer, delaying the power off for another 10 minutes crash protection. the circuit uses an off delay timer like for a bathroom fan, set to disconnect the raspberry after 10minutes, a relay RL2 to B1 of the off delay resets its timer every 5 minutes using GPIO16, if the raspberry fails/crashes the signal should fail to send allowing for the power off timer to reach its 10 minute counter. the off delay will then disconnect the power on T15/T16 allowing for the raspberry to switch off, upon doing so C1 holds a small charge keeping RL1 open (uses NC contacts) for a short time allowing the RPi to completely power down, once C1 is drained, RL1 switches Normally Closed reconnecting B1, resetting the timer and Pin5 to ground which switches back on the raspberry. power fail shutdown power fails and PWR1 is no longer sending out 5v, C2 takes over (C2 is a super capacitor 5v+, 2.5F+ should be good) as this is grounded by diode D2, GPIO21 which is pulled up sees a loss in ground and engages a shutdown procedure. auto boot in the event that the raspberry crashed or power failed then come back, C1 would deplete its charge (or maybe C2 if running 5v equipemnt etc) allowing RL1 to go NC, when closed Pin 5 is connected to ground and the raspberry boots, once our script is running pin5 is disconnected from ground by sending pin32/GPIO12 high, switching RL1 open, allowing for pin5 to be used as an I2C channel. the script if your aware of a better way of doing things please let me know Code: Select all import RPi.GPIO as GPIO import time import os switch_off = 21 # gpio pin 40 reset_timer = 16 # gpio pin 36 on_switch = 12 # gpio pin 32 GPIO.setmode(GPIO.BCM) GPIO.setup(switch_off, GPIO.IN, GPIO.PUD_UP) # Switch off/Restart pin 40 to power supply ground GPIO.setup(reset_timer, GPIO.OUT, initial=GPIO.LOW) # pin 36 reset off delay timer GPIO.setup(on_switch, GPIO.OUT, initial=GPIO.LOW) # use pin 32 to disconnect pin 5 from ground so it can be used as I2C count = 0 while 1: count += 1 if GPIO.input(switch_off): print('shutdown') # stop any active process, stop save files etc GPIO.cleanup() os.system('shutdown now -h') if count == 300: GPIO.output(reset_timer, GPIO.HIGH) time.sleep(1.2) GPIO.output(reset_timer, GPIO.LOW) count = 0 time.sleep(1) one issue i can see is if the raspberry crashes while RL2 is connected / GPIO16/pin36 is live then the raspberry would never reset. can anyone see a workaround to this without using a 2nd raspberry? or perhaps 2x Raspberry Pis would be the way to go? i know a crash in most cases is unlikely but if a raspberry is controlling the environment for plants/animals then id rather have an auto reboot just in case
https://lb.raspberrypi.org/forums/viewtopic.php?f=37&t=197779&p=1236669
CC-MAIN-2019-39
refinedweb
674
56.52
Finance::Quote is a perl module that fetches delayed on-line stock quotes. The Finance::Quote can fetch quote from a variety of sources, including the NYSE, the ASX, and a number of European exchanges. A set of AI tools to analyze financial data and perform investment decissions.ai finance finance-ai forex stock-quotes WelcomeUltra-finance is a pure Python library & utility for real time stock data collection, analyzing and backtesting. First BuildFirst build is available at: Installation instruction can be found at: Any questions can be posted at: Examplesstock crawler -- save stock quotes/ticks to local disk(sqlite or hbase) DesignWe try to keep theAlgorithm backtesing Finance pydispather QuantLib sqlalchemy trading Uses: Stackless Python, Ogre, IQFeed, and other data feeds.3D bonds commodities dtn finance iqfeed ogre stackless stocks visualization (usually unstable tester build here) This extension pulls quotes from Bloomberg, Google Finance and Yahoo! Finance. All of these services have their strengths and weaknesses with market coverage, charting tools and personal portfolios, so why choose between them? The quotes you've chosen update automatically, and clicking on one will open its price history chart in the same window. To add your own ticker symbols, just visit the options page (accessible via both the right-click menu and the popupChrome Extension Finance Web Source Codes?: A java program for generating OFX file that you can use to update quotes in Microsoft Money. Why: Microsoft's quote server is no longer working. If you want to see your portfolio values current, you need to update the quote prices. What does it do: Generate an OFX file to mimic statement from a fake brokerage. How do I use it: You will need java. Then download the tool (a *.jar file). Double click on the downloaded *.jar fiFinance MSISAM OFX Quotes conky-stocksFast and robust plugin for Conky that uses the Google finance API for monitoring stock data. I'm aware there are plenty plugins with similar functionality, however, this one uses the Google Finance API which offers better performance and doesn't sporadically output garbage data like the Yahoo based plugins tends to do. Created by Robert Wikman in 2011 usagerun ./conkyStocks.py --help to display usage. notes Unfortunately there's a "layout bug" in Conky version 1.8.1 (current release)Conky Finance Linux Quotes Stocks Warsaw Stock Exchange quotations module for Finance::Quote/GnuCach pyqlThe module provides Python API to retreive stock information from Yahoo! Finance using Yahoo Query Language. The module uses Yahoo Query API, and sends REST to retrieve JSON, then converts the result in a list of dictionary objects, and returns it. Basic Usage: >>> import pyql>>> tickers = ['FFIV', 'MSFT', 'GOOG']>>> print pyql.lookup(tickers)>>> tickers = ['AAPL']>>> print pyql.lookup(tickers)api yahoofinance yql Yahoo! Managed Welcome! The service that Yahoo! provides to download financial, geo or weather data and search results is nice, but you have to know the right tags and symbols and how to build the URL to use it. This library will undertake this annoying task for you. Also you have a managed class environment to handle the results of queries. For first appliance of the library look at the Code Examples For more details of namespaces and classes look at the Object Browser If you want to know how tapi BOSS finance geo quotes search stocks vb.net weather wrapper yahoo Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects. Tag Cloud >>
http://www.findbestopensource.com/product/finance-quote
CC-MAIN-2016-44
refinedweb
584
63.39
This video demonstrates the use of Parallel Extensions to the .NET Framework. Parallel Extensions requires .NET 3.5 and the final version will be part of the .NET 4.0 Framework when released. These extensions introduce new classes and functionality into the System.Threading namespace. It's now considerably easier to parallelize a code block without creating explicit threads. Windows Server 2008 R2 and Windows 7 introduce new system-level features (e.g. User-Mode-Scheduling) that both the C++ Concurrency Runtime and the .NET Parallel Extensions extend. Developers may easily target current and legacy platforms using the new runtime and extensions. First, a project is shown that counts the number of primes up to a given upper bound. Each number is checked by seeing if it’s divisible by any number between 2 and its square root. Each prime number found increases the count. The main control is a standard for loop. Next, the same code is converted to work with the new Parallel.For() method. This takes the lower and upper bound, and a delegate for the action to take. Using a Lamda expression, the original loop body is made to work using i => {} syntax. When this code is run, it is clear that a bug has surfaced in the form of a bad prime count. This is actually a common multithreading bug, stemming from the use of the increment operator, ++. Using the Interlocked.Increment() method fixes the problem. The next demo starts with a LINQ query and converts to a Parallel LINQ, or PLINQ, query. After demonstrating the original loop which uses Enumerable.Range() to generate a range of numbers, it is shown that ParallelEnumerable.Range() creates an enumerator that is automatically multi-threaded. Finally, to demonstrate a more general-usage solution, any IEnumerable collection can easily be parallelized using the expression method AsParallel(). Thus, a collection students of type List<Student> could be used in a LINQ as a parallel query by simply using it as students.AsParallel(). Learn more about Parallel Computing on Windows at the MSDN Concurrency. Wonderfull presentation, very helpful, covers the basics of parallel extension with detailed examples. Remove this comment Remove this threadclose
http://channel9.msdn.com/Blogs/philpenn/Parallel-Programming-with-NET-Parallel-Extensions?format=progressive
CC-MAIN-2014-52
refinedweb
362
59.8
. I'm trying to use the random read function and it makes sense but for one step: in USI_TWI_Start_Transceiver_With_Data, when you wrote the start address (in write mode) and you re-set the buffer, go back into address mode, it seems like you're also missing setting USI_TWI_state.masterWriteDataMode to false. Without that, I ran through the loop and I can't see how you'd ever end up in the "read" section. What am *I* missing? Thanks, Dan. You ask a good question. You are obviously interested in understanding the code, not just using it. The only thing you are "missing" is how the masterWriteDataMode bit gets cleared - not your fault since the naming and commenting are not clear. Let me try to explain how it works. The statement USI_TWI_state.errorState = 0; clears the masterWriteDataMode bit (line 217). That's why the addressMode bit must be reset at line 218. (This is not well documented. USI_TWI_state.errorState is a union that includes the mode bits. Setting the uchar errorState to 0 sets all the bits in the union to 0 also. This behavior is documented by a comment in the USI_TWI_Start_Read_Write routine and should have been duplicated everywhere it's done.) The operation of the loop should make sense now. Let me know if it's still not clear or if you have other questions. the problem i have is that I #included te USI_TWI_Master.h file with no poblem but the c file gives me a hard time. i had to copy paste the entire file right into my code and its hell to debug. what is the correct way to use the USI_TWI_Master.c file? cant i just dump both files into my compiler's file path and have them available for future proyects? #include "USI_TWI_Master.h" #include "USI_TWI_MAster.c" will this work? HTH. How do I get my AVR Studio 4 to build your code? In other words, how do I get AVR Studio to process your makefile? Newbie here, I know. Also, is there a way using I2C to be both a master and slave? I'm thinking of having one be the master, and the slave toggling a GPIO when it wants to communicate...initiating a read, for example. Any code that would help me with that? I am relatively new to this. :-( I2C devices are either Master or Slave, not both. Slaves do not speak unless spoken to (by the Master). The correct way to have a Slave communicate is for it to be continuously polled by the Master. Respond with a meaningless value if there is no valid response ready. If you have a device that frequently needs to send bursts of data, then make it the Master and have the receiving device be the Slave and just listen. If you have only programmable devices on the bus, it is possible for them to switch roles as Master and Slave, but they must do this independently of the I2C Bus when no one is using the bus. Do this only if you're sure other ways won't work since you'll be on your own developing the code. Have fun with your I2C experiments! Others have mentioned that there is a TWAR register...but I searched the ATtiny44 datasheet for such a register and none exists. Thanks again for the great advice! This becomes an advanced amateur project. You'll learn a lot making this work, but expect to spend some time learning. Good luck and have fun. Good Luck! I'm making a turntable for modeltrains which uses a lot of I/O and only has 2 wires available (along with supply of course) to control all functions on the rotating part of the bridge. Because of the fact that the controller (ATMEGA8) does have to do all the controll-functions (motor / locks / position sensors etc.) as well as the reception and feedback of the loconet signals (protocol for controlling aceccories on a model rail layout) I'm bound to run the ATMEGA8 at the full 16MHz. Will that be possible with your TWI library? When yes, what do i have to modify? Or are there other options. Thanks in advance! To use the TWI at 16MHz, all you need to do is adjust the SCL frequency. This is described in the data sheet under the TWI port, Bit Rate Generator Unit. If you change the value of TWI_TWBR from 0x0C to 0x48, that should do it. TWI_TWBR is defined in TWI_Master.h. Here's the calculation: SCLfreq = Processor Clock /(16 + 2*(TWBR)*4^TWPS) SCLfreq=16MHz/(16 + 2(72)*4^0) = 16MHz/160 = 100KHz HTH. Let me know if this doesn't make sense. This is a print, study, & keep Instructable. Thanks for all the information. CHEERS Great article. Ralph Ralph Thanks for your attention to detail! Have you tried setting the pin and then twiddling the DDR instead of the actual pin. ISTR that being the usual way to do open collector-ish lines. Your comments remind me that I need to update this Instructable with my latest code that now handles addresses longer than two bytes. (See discussion with p2otoole.) If you use the code from Atmel for the slave, be aware that they handle addressing in a non-standard way. Have a look at the data sheets for the standard approach. The data sheets for the parts (EEPROM and Port Expander) I used are a good place to start. You could also have a look at some of the I2C displays that exist to see what they do. Or invent your own scheme. It's your project after all. I have a question about the source code. I went over the code written for ATtiny2313. You select External, positive edge for the Shift register and Software clock strobe (USITC) for 4-bit Counter (USICS1=1, USICS0=0, USICLK=1). In the function unsigned char USI_TWI_Start_Transceiver_With_Data() you define the constant below. unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and (0x0<<USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges. Why the program has to count 16 clock edges for 8-bit transfer? I thought the programhas to count 16 clock edges for 8-bit transfer when USICS1=1, USICS0=0, USICLK=0 or when USICS1=1, USICS0=1, USICLK=0. Please explain. Thank you so much, Other than that, this program was what I have been looking for, and I know its gonna work for me, Thank you The ATmega8 does not have a CLKPR register. To set the clock prescaler to give you a 4MHz clock you have to blow fuse bits. With that done, the TWI looks like it would work the same. The 24LC512 lives in the I2C address block from 50h to 57h. You pick the exact address by tying A0-A2 high or low to select the three least significant bits. That is, all lo = 50h, A0 hi, rest lo = 51h, etc. But there's an additional wrinkle (isn't there always? ;)} The 24LC512 uses two address bytes to address the 64K memory space. Mostly not a problem, you just put in an extra address byte and make the buffer 1 byte bigger. Skip one additional byte when you try to read from the buffer as well. The block read and write size is 128 bytes, so that needs to change if you want to take advantage of that capability. Finally, the TWi_Start_Random_Read read routine must be modified since you have to send two address bytes instead of one address byte before sending the second START signal. Unfortunately I don't have a 24LC512 to experiment with so I can't guarantee this will work, but I think all that needs to be done is to pass in an additional argument to the function telling it how long the address is. Right now that value is always 2, but if you add the argument then you could pass in either 2 or 3. If you want to contact me privately I'll send you modified code to try out. If it works, we could post it as an update.
http://www.instructables.com/id/I2C_Bus_for_ATtiny_and_ATmega/CD85AP9G5FRB429
CC-MAIN-2013-48
refinedweb
1,372
83.25
Compiler Warning (level 1) C4251 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2' information). No methods of your class (regardless of inlining) can use types where the instantiation in the EXE and DLL have static data differences. You can avoid exporting classes by defining a DLL that defines a class with virtual functions, and functions you can call to instantiate and delete objects of the type. You can then just call virtual functions on the type. For more information on exporting templates, see;EN-US;168958. C4251 can be ignored if you are deriving from a type in the Standard C++ Library, compiling a debug release (/MTd) and where the compiler error message refers to _Container_base. // C4251.cpp // compile with: /EHsc /MTd /W2 /c #include <vector> using namespace std; class Node; class __declspec(dllimport) VecWrapper : vector<Node *> {}; // C4251
https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2012/esew7y1w(v=vs.110)
CC-MAIN-2018-22
refinedweb
146
59.74
Yield keyword in Python In this article, we will learn about the "yield" keyword available in Python. We will use custom examples to see the working of yield keyword. Let's first have a quick look over what is a yield keyword and why it is used in Python. What is yield in Python? Yield is a keyword in the Python programming language. The yield keyword in Python is similar to the return keyword. Yield is used to return a value from a function as well as it maintains the state of the local variables of the function and when the function is called again, the execution is started from the last yield statement. This keyword is not in use but it has its own uniqueness. The function in which yield keyword is used, that function is known as a Generator Function. Example: Working of Yield The below example uses yield in a function. We have defined a simple function that has a while loop and incrementing the value of x by 1. The function is yielding the current value of x. def func(): x = 0 while(x < 5): yield x # incrementing the value of x x += 1 Characteristics of the yield keyword 1. It is like a smart return statement that remembers the last operation and continues from there the next time. 2. When yield returns any value, it stores the state of the local variable as a result of which the overhead of memory allocation for the local variable in consecutive calls is saved. 3. During consecutive calls to the generator function, the flow starts from the last yield statement executed which saves time. 4. We can easily create iterable functions using the yield keyword. 5. Sometimes, the output of the yield keyword becomes inaccurate due to the handling of multiple calling functions. Usage of "yield" over "return" in Python The yield keyword suspends the function's execution and sends an element back to the caller, however it preserves the last state of the function so that it resumes later from that point. When continued, the function proceeds with execution following the last yield run. This permits the code to create a progression of values, instead of sending them like a list. def func(): yield 2 yield 4 yield 6 yield 8 #calling of above defined function for x in func(): print(x) 2 4 6 8 Return keyword returns a specific value back to the caller whereas Yield produces a sequence of elements and it is used when we want to iterate over a sequence instead of storing the entire sequence in the memory. Different Applications of the yield keyword Example: Iterating over elements using next() We know that using the yield keyword the function acts like an iterable. For an iterable, we use the next() method for iterating to the next element. The below example uses multiple yield statements to save the state of the execution of the generator function func() such that the next execution begins from where it last left. If you try to add one more StopIteration exception. The iterator returns this exception because there is no more data left to iterate over. # A simple generator function def func(): x = 1 print('First execution...') # Generator function contains yield statements yield x x += 1 print('Second execution...') yield x x += 1 print('Third execution...') yield x #driver's code r = func() # calling next on variable r print(next(r)) print(next(r)) print(next(r)) print(next(r)) Runtime Errors: Traceback (most recent call last): File "/home/ccff3d0168203375859caeac5f48f378.py", line 24, in <module> print(next(r)) StopIteration Output: First execution... 1 Second execution... 2 Third execution... 3 Example: Count the occurrences of words using yield The below example uses yield keyword in a function to count the occurrences of a word in a sentence. yield keyword makes it simple to search for a word in a list. It also increases the count of the word at the same time because yield keyword will remember the last state and hence it will not iterate over the words which are already checked. # function to count number of times a word occurs def count(string, word): for i in string: if(i == word): yield i # initializing the string string = "Almost nothing was more annoying than having our wasted time wasted on something not worth wasting it on." # look for the word word = "wasted" # initialize count c = 0 # using split to break the sentence into list of words for j in count(string.split(), word): c += 1 print ("The count is- ",c) The count is- 2 Conclusion In this article, we learned about yield keyword in Python. We also learned about generators and how a generator function is called. We saw different examples of yield keyword over return to better understand the functioning of yield.
https://www.studytonight.com/python-howtos/yield-keyword-in-python
CC-MAIN-2022-21
refinedweb
807
61.06
Member Since 4 Years Ago Calgary, Canada 3,620incej left a reply on How Best To Translate A Website ? Good point. I think that I can also go off to some foreign language sites and see how they are labeled and then build a file from there. That works ok, for the European languages ( I speak Dutch, German and French), but it's a huge amount of work though. I had hoped someone just knew of ready made language files which you could download. When it comes to something crazy like Chinese, a person is screwed. I remember some years ago, when google forst came out with their translation api, and a guy entered "the spirit is willing bu the flesh is weak" into Google translate and it came back: "The whiskey is good but the flesh is rotten". :o) cheers ! vincej left a reply on How Best To Translate A Website ? yeah, thanks for that - that actually concerns the issue of how to deal with imported packages and their own language files. vincej started a new conversation How Best To Translate A Website ? Ok, I have built all the infrastructure and my application will select and present sample language files inside Laravel resources / lang. I can dynamically alter the language files through a view - it all works. However, the obvious question now arises - where in the heck do I get the various language files from, or do I really have to google every word I want in every language ? Does anyone know of downloadable language files which are at least accurate and reliable? Then I chanced across Google's language translation API for PHP, which appears to make the whole Laravel approach redundant. So - what is the best way to translate a website ? Where can I get language files? Should I use Google instead? What's quickest and easiest since I now have the Laravel infrastructure built? Many Thanks ! vincej left a reply on How To Sum Two Different Arrays @CRONIX - Fair comment. About ten years ago I did learn raw PHP through Lynda.com and did some stuff with it in Wordpress and Virtuemart POS system. However, I quickly realised there was a better way with Codeigniter, and so left PHP behind. That is when I first came across you, in Codeigniter. You were a a master there too. I still reference the PHP manual and the W3schools site regularly to find things not in Laravel, however, yes, I use it only tactically. There is just too much to learn, and time is my single most scarce resource. I spent 26 years working in ERP as a consultant for major international software corps. I have to accept that my application is functionally very rich but not as well crafted as what you or Taylor would deliver. vincej left a reply on How To Sum Two Different Arrays Isn't that code in the various if blocks there being executing twice? Yes, correct. I made that point in my last post. "I assume the others are wrong as well." I will have to change them as well. This is a brilliant idea! : public function save_quote_edited(Request $request) { // get the quote type as a variable $quoteType = $request->quote_type; // is there a method in this class that has the same name as $quoteType? if (method_exists($this, $quoteType)) { // yes! execute it as a dynamic method name and return it return $this->$quoteType($request); } } I was not aware of method exists. I will freely admit that I am not as good as I should be at refactoring my code. Especially all those validations I have that gone on for 100 lines. Jeffrey does not have much in the way of refactoring. In fact, I probably still use Laravel like it was Codeigniter. I love to write code like Taylor Otwell, with really skinny controllers. You are a rock star, thank you. vincej left a reply on How To Sum Two Different Arrays I found the problem. In order to understand the problem, I have to first share with you a small image from my view: () As I was using convertquote it was going to the 3rd option. Where the redirect was wrong. I assume the others are wrong as well. When I changed the redirect to open_quotes, all was well. **THIS CODE IS USED TO CHECK WHAT THE USER HAS CLICKED ** public function save_quote_edited(Request $request) //,$id { if($request->quote_type =='new_quote') { $this->newquote($request); return $this->newquote($request); } if($request->quote_type =='correctquote') { $this->correctquote($request); return $this->correctquote($request); } if($request->quote_type == 'convertquote') { $this->convertquote($request); return $this->convertquote($request); //THIS SHOULD HAVE BEEN: redirect ('open_quotes'); } I am indebted to you. Not only did you solved the addition problem but the looping problem as well. Thank you is not enough. All the best Vince vincej left a reply on How To Sum Two Different Arrays Thanks again - Yes, I fixed the Request $request. F*CK!!, There are two convertQuote hits.. This going to be interesting trying to trace this. But being positive, you helped me ID the likely problem. I'll keep you posted :o) vincej left a reply on How To Sum Two Different Arrays back again: so to recap, I have two "loops" being presented with dump() and No, the browser console shows only 1 request being sent. vincej left a reply on How To Sum Two Different Arrays Ok, when I do a var dump and disable the redirect, I can see 2 loops reported in the browser, even though I have 3 products on the form. Not sure what you mean by browser consoles server tab. There is no JS. I've gotta go - it's 6.23 pm in Calgary and my wife is yapping at me - can we pick this up again tomorrow?? I'm indebted to you. Many, Many thanks !! vincej left a reply on How To Sum Two Different Arrays I have discovered something. However, first to answer your questions: The code gets to the server by way of a straight forward form::open() and form::submit() I made the assumption that the whole controller did not loop multiple times, only that portion of code from $orders[]. I tested that assumption by placing a debug point on the $customer line, and damn it, yes the whole controller is looping. But why ??? public function convertquote($request) { $customer = $request->only('lastname1'); // debug here. vincej left a reply on How To Sum Two Different Arrays My following comment placed in the code was incorrect: // NB: the code never gets to the the foreach below until it has finished looping. Just to repeat myself for clarity, it will loop the same number of times as there are values in the $orders array. vincej left a reply on How To Sum Two Different Arrays Sorry for the delay, I had to walk the dog :o), The controller is very long, so a) I have abbreviated it, and b) yes, it needs refactoring. However, here it is: // THIS TAKES A QUOTATION AND CONVERTS IT TO AN ORDER. IT ALSO UPDATES THE INVENTORY DB. public function convertquote($request) { $customer = $request->only('lastname1'); $ref = $request->input('reference'); $id = $request->get('product_id'); // GRAB PRODUCT DATA FROM POST ARRAY $qty = $request->get('quantity'); // GRAB QUANTITY DATA FROM POST ARRAY $line_cost = $request->get('line_cost_hidden'); $discount_value_raw = $request->get('discountvalue_hidden'); $discount_value = round($discount_value_raw, 2); $count_ids = count($id); for ($i = 0; $i < $count_ids; $i++) { if (empty($id[$i])) continue; $newOrder = new Order(); $newOrder->reference = $ref; // Loads of values go here. // etc etc etc $newOrder->save(); } $get_allocation = $this->inventory->allocation($ref); // This returns an array of "items" each of which is an object containing two values, "inv_product_id" and "allocated". $orders = []; $orders = array_combine($id,$qty); foreach ($get_allocation as $object) { if ((!empty($orders[$object->inv_product_id]) )) { $orders[$object->inv_product_id] += $object->allocated; } } // NB: the code never gets to the the foreach below until it has finished looping. Just to repeat myself for clarity, it will loop the same number of times as there are values in the $orders array. //This updates the allocation column in the inventory table with the new order foreach($orders as $key=>$value){ DB::table('inventory')->where('inv_product_id', '=',$key)->update(['allocated' => $value]); } // This updates the quotations table DB::table('quotations')->where('reference', '=',$ref)->update(['status' => 'order']); return redirect('open_quotes'); } vincej left a reply on How To Sum Two Different Arrays I know it is looping multiple times because I use phpstorm and I place a whole collection of debug points into the code such that I can follow the order of execution. if I only have a single value in the orders array it executes the first time correctly updates the database and then it returns back to orders and executes the second time.bIf for example I have five values in the orders array it will execute five times. I'm not sure the empty row in the array is of any real importance as if you hard-code values in the array it loops regardless. vincej left a reply on How To Sum Two Different Arrays Good point. My form includes and empty row. I gave you the raw output of the dd($orders), however, in my testing over the weekend, I anticipated that this empty row could be a problem, and so have tried I commenting the $request out, and just hard coded the values into $orders as below, and sure enough it still wants to loop over twice: $orders = [123=>"131",789=>"12"]; //$orders = array_combine($id,$qty); As for array_filter I tried that as well, and for what ever reason, I could not for the life of me make that work either. I am now thinking if the foreach can not be made to work, perhaps I could create a DB query which sums $orders and $get_allocation, as both values can be pulled from the DB. vincej left a reply on How To Sum Two Different Arrays Thanks for coming back. The orders array is the product of a $request: $id = $request->get('product_id'); // GRAB PRODUCT DATA FROM POST ARRAY $qty = $request->get('quantity'); // GRAB QUANTITY DATA FROM POST ARRAY The only the thing that changed from last week was that I had different products and quantities on my form. I have inputed the same products and same quantities and did the dd() as requested: array:3 [▼ 123 => "131" 789 => "12" "" => null ] vincej left a reply on How To Sum Two Different Arrays @cronix I'm having a little problem with that foreach you gave me last week. I have played with this a hundred times which way, I have no idea why it is doing what it is doing. Can you tell me why the foreach is jumping back to the $orders array and looping over it a second time? The result is that it is saving the values into the DB twice. Here is the full set of code so hopefully there is little guess work: $orders = []; $orders = array_combine($id,$qty); foreach ($get_allocation as $object) { if ((!empty($orders[$object->inv_product_id]) )) { $orders[$object->inv_product_id] += $object->allocated; } } //This updates the DB with the new order foreach($orders as $key=>$value){ DB::table('inventory')->where('inv_product_id', '=',$key)->update(['allocated' => $value]); } return redirect('open_quotes'); The Contents of $Orders looks like this: $orders = {array} [2] 123 = "2" = null $get_allocation looks like this: $get_allocation = {array} [1] 0 = {stdClass} [2] inv_product_id = "123" allocated = "2" Many Thanks !!!! :o) vincej left a reply on How To Sum Two Different Arrays @jlrdw Thanks for that. I actually saw that on SO, however, it produced an array of arrays. For me this still created the challenge of of figuring out how to get rid of the key => value, inv_product_id =123 and allocated = 4 when I needed the resulting array to be 123 => 4 Anyway, as you predicted came to the rescue with a beautifully elegant solution. Which I understand now. If it wasn't for people like you and @cronix and @snapey I would given up years ago. Cheers ! vincej left a reply on How To Sum Two Different Arrays @cronix Thanks for the explanation. Man I was banging my head against a brick wall with Array_push. I am very familiar with the += syntax. However, what surprised me is that using this approach, you did not need to create a new array. You did not need to stipulate what would be the keys, nor the values. What also surprised me is that += creates a whole new set of values in the $object array at all. I mean, the preceding values are not overwritten by the last value. I have never used += in this form to achieve this result. vincej left a reply on How To Sum Two Different Arrays @harendrasingh Thank you. I do not understand how this works. So I will Google "array of allocations" and that will explain it all ?? vincej left a reply on How To Sum Two Different Arrays Wow ! That is amazing! Thank you very much. I have to admit that I do not thoroughly understand what is happening here. I have not seen this kind of expression before, where you both sum allocated and inv_product_id, then simultaneously create a new array with just the use of += Thank you ! vincej left a reply on How To Sum Two Different Arrays ok, thanks regular query with subquery it will be. vincej left a reply on How To Sum Two Different Arrays I have almost got my query right, but not quite. I need to be able to sum orders and allocated as Total. Any ideas ? Maybe a subquery?? How in the heck do you do one of those on QB ? Many thanks. public function customer_order($id) { return DB::table('orders') ->join('inventory', 'inv_product_id', '=', 'orders.product_id') ->select( 'orders.product_id', 'orders.quantity as orders', DB::raw('SUM(inventory.allocated) as allocated')) ->where('orders.reference', '=', $id) ->groupBy('orders.product_id') ->get(); vincej left a reply on How To Sum Two Different Arrays Thanks for that. That makes me smile. How many people in today's world would understand your query. :o) vincej left a reply on How To Sum Two Different Arrays Ok, I see it now, "You may also use the count, sum, max, and other aggregate methods provided by the query builder. These methods return the appropriate scalar value instead of a full model instance:" I guess I use QB because I am old school. :o) vincej left a reply on How To Sum Two Different Arrays I don't know either. I have to use QB in order to create the SUM in the query. It doesn't exist in Eloquent. I would post an image from PHPStorm, but I don't know how to post images in mark down. I am trying a different approach, trying to create a whole new query which will sum the records from the two different tables. No success yet. vincej left a reply on How To Sum Two Different Arrays Yes, You suggested that as given above. I tried it and the result is still an array of objects, as given above. Query: public function allocation($ref){ return DB::table('inventory') ->join('quotations','product_id','=','inventory.inv_product_id') ->select('inv_product_id',DB::raw('SUM(allocated) as allocated' )) ->where('quotations.reference','=',$ref) ->groupBy('inv_product_id') ->get() ->toArray(); } Controller code: $inventory = new Inventory(); $allocation = $inventory->allocation($ref); vincej left a reply on How To Sum Two Different Arrays No, I am not working in JS. The allocation array is returned by a query. The orders array is returned by using the following: $id = $request->get('product_id'); // GRAB DATA FROM POST ARRAY $qty = $request->get('quantity'); $orders = []; $orders = array_combine($id,$qty); vincej left a reply on How To Sum Two Different Arrays Tried your suggestion and it still produces an array of objects like above. Thanks though. vincej left a reply on How To Sum Two Different Arrays Thanks for that. Ok, I will give it a go. I had not thought of that. The collection that comes in from my query is not shown, however it was converted toArray, albeit inside Laravel. vincej started a new conversation How To Sum Two Different Arrays I have two different arrays, no big deal, except that one is an array of objects the other a straight array. So here is one: $allocation = {array} [4] 0 = {stdClass} [2] inv_product_id = 123 allocated = "4" 1 = {stdClass} [2] inv_product_id = 789 allocated = "8" etc etc Here is the other: $orders = {array} [6] 123 = "131" 789 = "12" etc etc So, the objective is sum $allocation values ie allocated together with the $orders value. So, in this example, for product code 123, the sum total would be 135. I have been trying to convert $allocation into the same format as $orders without success. My belief has been that once they are in the same format, then summing them should not be too bad. But I have not gotten that far yet. Most of my efforts have revolved around using foreach loops or for loops and array_push I have looked carefully at the Laravel helpers but nothing has worked for me yet. Any ideas would be really welcome, as I have been beating my head over this. Many thanks ! vincej left a reply on Where Is The Location Of The 419 Session Expired Blade File ? Brilliant ! Thank you ! Now I understand. :o) vincej left a reply on Where Is The Location Of The 419 Session Expired Blade File ? Don't quite follow. I want to change the message and the link to 'home'. When in the future I upgrade to say, Laravel 5.8, you seem to suggest that this will not over write the changes I make ? vincej left a reply on Where Is The Location Of The 419 Session Expired Blade File ? Is there some way of applying a modification without changing the core file, such that when I upgrade Laravel, I do not loose my changes ?? vincej started a new conversation Where Is The Location Of The 419 Session Expired Blade File ? I need to modify it and I can't find it anywhere, and Php Storm can't find it either. Thanks ! vincej left a reply on Is DigitalOcean's LEMP One Click App Ready To Serve A Laravel Application? I would like to know as well. Perhaps a query post to Digital Ocean is the best way forward ? vincej left a reply on Redirect With Not Working vincej left a reply on How To Save A Table Without Making Lots Of DB Queries? vincej left a reply on How To Save A Table Without Making Lots Of DB Queries? @SNAPEY - Debug reports that to execute 4 queries it takes 238ms, so you are right about the 50ms. In the interests of brevity, what I did not mentioned is that "submit" first executes an ajax call, whereupon the form data is serialized. It calls the route with the form data, then controller which then runs the loop. Is this Ajax call slowing me down? Thinking about your opinion, the Ajax success function redirects to a new page, which loads. This could be the major overhead. vincej started a new conversation How To Save A Table Without Making Lots Of DB Queries? I have a table in my view containing lots of rows. Submit sends these into my controller where they need to be saved to the DB. These are all fresh new DB inserts, so updates. My current solution works fine, but is very slow. My test table with only 5 rows takes around 3 seconds to complete. Using PHPStorm, I can see that the save() method is making a separate DB call for each row. In the future, my users might have 20 rows or more. Obviously this is far from ideal. How can I redo this, so that is it much faster ? Many thanks! This is how it is being done now: for($i = 0; $i < $count_ids; $i++){ if (empty($id[$i])) continue; $newOrder = new Order(); $newOrder->reference = $ref; $newOrder->quote_name = $request->get('quote_name'); $newOrder->product_id = $id[$i]; $newOrder->quantity = $qty[$i]; $newOrder->line_cost = $line_cost[$i]; $newOrder->subtotal = $request->get('subtotal_hidden'); $newOrder->discount = $request->get('discount'); $newOrder->discount_value = round($request->get('discountvalue_hidden',2)); // I USE A HIDDEN FIELD FOR THE DB SAVE AS THE DISPLAYED FIELD HAS A COMMA IN IT WON'T SAVE. $newOrder->netofdiscount = $request->get('netofdiscount_hidden'); $newOrder->gst = $request->get('gst_hidden'); $newOrder->total = round($request->get('final_total_hidden',2)); // I USE A HIDDEN FIELD FOR THE DB SAVE AS THE DISPLAYED FIELD HAS A COMMA IN IT WON'T SAVE. $newOrder->comment = $request->get('edit_comment'); $newOrder->save(); } vincej left a reply on Is It Safe To Disable VerifyCsrfToken Middleware On Login And Logout Pages ? Ok, great. what does everybody else do for this page? Do they just leave it as is, or does everyone else produce a nice friendly page? If so, ,where is it ? vincej left a reply on Is It Safe To Disable VerifyCsrfToken Middleware On Login And Logout Pages ? Thank you everyone for helping out! Ok, following @cronix suggestion, I have removed the POST login form from the VerifyCSRFtoken middleware "except" and for some miraculous reason I am not getting the "expired" error message now. Following @snapey suggestion, I have now got a log out page which does not include the login form. vincej left a reply on Is It Safe To Disable VerifyCsrfToken Middleware On Login And Logout Pages ? Furthermore, if I must include them with the VerifyCsrfToken middleware, then what do I do about clearing the error message, This page has expired due to inactivity, Please Refresh an d Try Again ? Thanks vincej left a reply on Is It Safe To Disable VerifyCsrfToken Middleware On Login And Logout Pages ? @Cronix Thanks for that too, however, I do not understand your point. All my views are protected by a csrf token and also the auth middleware. If I am logged out, then how can someone login after me? They have no token, and the don't know my password, so how can they be authenticated? Can you please explain in kindergarten terms? :o) vincej started a new conversation Is It Safe To Disable VerifyCsrfToken Middleware On Login And Logout Pages ? I ask this question since if I do not disable it I get an error message: `This page has expired due to inactivity, Please Refresh an d Try Again'. Refreshing does nothing. However excepting these pages from the VerifyCsrfToken middleware allows the pages to be presented. My intuition is that as I am not logged in then these pages can not possibly be checked, even if I have a CSRF token in them. Correct, or incorrect ? Many thanks ! vincej left a reply on Error: Method Not Allowed When Submitting An Empty POST Array @Snapey Great job, perfect! Another lesson learned for me. Thank you ! Why have the Language:destroy(0)?? Because I am saving the result in the DB. I only want 1 language / Industry value which will apply to all users. If I do not destroy the previous entry, then the DB creates a new row. Why save the values in the DB? Because my next step is to create some middleware which will check those values when a user logs in, and apply the language to App::setlocale() in a session. Similarly the industry. Ultimately, the goal is so a single company can have french and english (or whatever) users. Furthermore, the goal is that a company can use my application to run multiple industries across multiple languages. vincej started a new conversation Error: Method Not Allowed When Submitting An Empty POST Array I have a small form made up of 2 different sets of 3 radio buttons. It works fine so long as one value is selected from each set. I have put validation into the controller in the event that the user forgets to select a radio button. If you forget one of the required radio buttons I get an error Method not allowed. If you hit backspace a few times you can see the form again with the correct validation messages. All my other forms in my project work fine. I can't see why this one won't work. Any ideas? Many Thanks! Route Route::post('update_language', '[email protected]'); Form @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif {{ Form::open( ['url' => 'update_language']) }} <div class="row"> <div class="col-sm-2 col-md-2 "><h4><strong>Language</strong> </h4></div> <div class="col-sm-2 col-md-2 col-md-offset-2"><h4><strong>Industry </strong></h4></div> </div> <div class="row"> <div class="col-sm-2 col-md-2"><h5>English: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('language','English', false)}}</div> <div class="col-sm-2 col-md-2"><h5>Default: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('industry','Default', false)}}</div> </div> <div class="row"> <div class="col-sm-2 col-md-2"><h5>French: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('language','French', false)}}</div> <div class="col-sm-2 col-md-2"><h5>Roofing: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('industry','Roofing', false)}}</div> </div> <div class="row"> <div class="col-sm-2 col-md-2"><h5>Spanish: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('language','Spanish', false)}}</div> <div class="col-sm-2 col-md-2"><h5>Automotive: </h5></div> <div class="col-sm-2 col-md-2">{{Form::radio('industry','Automotive', false)}}</div> </div> </div> <div style="margin-top:2em;" class="col-sm-4 col-md-4"> {{ Form::submit('Update', ['class'=>'btn btn-primary']) }} </div> {{ Form::close() }} Controller public function updateLanguage(Request $request){ $this->validate($request,[ 'language'=>'required', 'industry'=>'required', ]); Language::destroy(0); // eliminates the existing language / industry from DB Language::updateOrCreate( ['language' => $request->language, 'industry' => $request->industry] ); $language = Language::all(); return view('settings.language',compact('language')); } vincej left a reply on Localization For Standard Auth Screens vincej left a reply on AJAX: Can Not Get Data Into Controller I can not thank you enough. vincej left a reply on AJAX: Can Not Get Data Into Controller The call is made by the browser using AJAX / POST. My theory is that I need to include the session key in order to get past the web / admin authentication. Request URL: Route::post('/save_edit/{id}','[email protected]_quote_edited'); //Full constructor has been omitted for brevity $this->middleware('auth:admin', ['except' => ['customer_quote']]); public function save_quote_edited(Request $request){ dd('line 204'); } vincej left a reply on AJAX: Can Not Get Data Into Controller How do I share with you privately?
https://laracasts.com/@vincej
CC-MAIN-2019-13
refinedweb
4,447
62.17
Kotek and I got to head out to SpringOne 2GX to speak, but we had to leave Todd, Yo, and Stroz at home. (Marc’s off in Pythonland.) I’m in a session that is a) really good but b) stuff I know, so I skimming the newly released Grails 2.3.0 docs to identify stuff they might want to know about. It’s not a formal writeup, just notes. Things I dig in 2.3.0: h1. Data binding We’ve recently hit some places where we’d like more control over binding request parameters to models. Grails 2.3.0 delivers. h2. BindUsing BindUsing will let you control what happens when you bind String request (form/url/json) data to a model/command: @BindUsing - import org.grails.databinding.BindUsing class Person { String middleInitial $BindUsing({ person, data -> String candidate = data['middleInitial'] if ( candidate ) { return candidate.substring(0, 1).toUpperCase() } }) } h2. Custom data conversion Custom data converters are also worth checking out: their docs immediately follow the data binding bits. Basically, they let you say “any time you trying to bind a string from the request to a property of a given type, invoke this thing and use the result.” h1. REST The documentation at probably answers questions I haven’t tried to sum up below. I had a number of them, read it, and I’m satisfied this stuff is good to go. Given: import grails.rest.* @Resource(uri='/books') class Book { String title static constraints = { title blank:false } } This: Yields: {"id":1,"title":"The Stand"} h2. Formats? You can specify XML, JSON, h3. Versioning? Yep, supported, namespace-based. h3. Security and doing it for ‘real’? Yeah, that @Resource bit looks a bit scaffoldy and suspect to me. I don’t want a direct-pipe data access in my controller. I need some logic around it, and that belongs in a service. Answer: Extend RestfulController and override the appropriate action. Not -quite- sure what to return: I assume models. I’ll introspect the base class the first time I do it. From the docs: GET /books index GET /books/create create POST /books save GET /books/${id} show GET /books/${id}/edit edit PUT /books/${id} update DELETE /books/${id} delete h3. But I need even more control… …then you can bypass subclassing RestfulController and follow the docs to manually build your own, from scratch. h3. But I don’t want to expose all properties of a model… …then keep reading past the REST documentation and into Customizing the Default Renderers and Custom Object Marshallers. h3. HAL, ATOM, and SOAP HAL is a JSONish HATEOAS-oriented way of representing state (data, info, whatever) in REST. Grails supports it. The documentation and examples in “8.1.7.1 HAL Support” did more to tell me what it really is than articles about it. ATOM is similar, but XML. Ew. SOAP…f— SOAP. h1. Scaffolding is a plugin Pretty much says it all. Scaffolding is booted out of the core and is a plugin. h1. Async programming Docs at. I use GPars in a few production applications right now, so I dig this stuff. You may want to read up on Promises before you dive in. I was going to try to sum up the documentation, but it’s probably better just to read it. Other bits worth noting: - @DelegateAsync is badass. - Each promise runs in a different thread, and each thread has its own Hibernate session! h2. Async request processing This’ll let you handle long-running requests (think a very long service method) without occupying a thread while they run. It’s a little mind-bending but really simple to do. Check the docs. Joe, I saw on twitter a bit back that they were working on fixing the integration test problem — i.e. way too slow to run them b/c of spinning up the entire app. Any news on that? There’s a bit about how it now forks tests/builds/run-app to different JVMs. Graeme showed it doing unit tests, but not integration. I’ve got gvm now, so I can switch easily: I’ll take a peek myself in a while.
http://compiledammit.com/2013/09/10/926/
CC-MAIN-2014-35
refinedweb
698
66.74
It is now possible to upgrade Linux Mint 20 to version 20.1 is relatively easy. In the Update Manager, click on the Refresh button to check for any new version of mintupdate or mint-upgrade-info. If there are updates for these packages, apply them. Launch the System Upgrade by clicking on “Edit->Upgrade to Linux Mint 20.1 Ulyssa”.. For information on usrmerge, read. To convert your system, open a terminal and type: 5. Reboot the computer Once the upgrade is finished, reboot your computer. Commonly asked questions - If the upgrade is not available to you, check that you have the latest versions of mintupdate (5.7.3 or higher) and mint-upgrade-info (1.1.7. Thank you very much .. I was waiting for the official update method It worked perfectly via update manager. bonjour comment recevoir la methode officiel je sui toujour sur linux mint 19.3 et aucune mise a jour working perfect….thanks! Thank you very much for the update. You and your team did a great work! Best wishes to you and your team for this year! Thank you very much! I love being able to update my system in a graphical way. I hope this will be an option when switching from Mint 20.3 to Mint 21. This would be very user friendly. Awesome, worked without any problems – thanks, Clem and team! Does usrmerge need to stay installed after the FS conversion and reboot, or can I uninstall it in Synaptic? ah good question 🙂 It can be removed then after. Can you please advise the code to type in the terminal to remove usrmerge after the FS conversion and reboot? Thank you @Óvári, from the terminal, “sudo apt remove usrmerge” will uninstall the package. Optionally, after it is removed, running “sudo apt autoremove” will remove any remaining orphaned dependencies. Thanks for the update, although I am still not getting the new version of the update manager even after a GUI refresh or apt-get update. Does it perhaps take some time for the new packages to propagate through the repository CDN? ~ ▸ apt-get update // … ~ ▸ apt-cache policy mintupdate mint-upgrade-info mintupdate: Installed: 5.6.9 Candidate: 5.6.9 Version table: *** 5.6.9 500 500 ulyana/main amd64 Packages 500 ulyana/main i386 Packages 100 /var/lib/dpkg/status mint-upgrade-info: Installed: 1.1.6 Candidate: 1.1.6 Version table: *** 1.1.6 500 500 ulyana/main amd64 Packages 500 ulyana/main i386 Packages 100 /var/lib/dpkg/status Yes, mirrors need to sync. Some of them might sync in a matter of hours, some in a matter of days (up to 48h). That’s what I thought. I guess patience is a virtue. 🙂 Thanks for the good work and the blazing fast reply! I had to switch to the default mirror (I’m in the UK and switched to US mirror). Once I did this Update Manager updated and the new release appeared. Installed OK with kernel version 5.8.19 and NVIDIA driver 450.102.04. Update looks good. I was having the same issue with EvoWise mirrors, it was still not on there yet as of this morning. They also gave an incorrect file size error. Seeing as I’ve had problems with them before (including bad signature errors) I switched to a local mirror. The upgrade was found and everything worked perfectly. I will not be using EvoWise again – it’s tempting because they’re always the fastest, but they’re a nearly constant source of trouble for me. Hey Clem, is it possible to upgrade without using timeshift? you know, if i already have a backup solution that fits my needs i don’t need timeshift, and for that matter i don’t want to have the timeshift backup being mandatory Yes absolutely. AFAIK, Timeshift backup is not mandatory. You don’t need to do the timeshift step (I skipped it), but it’s ALWAYS recommended to have a full backup before applying and system updates. Thanks.Very good. Can somebody here tell me is it possible to install Mint on a computer which had windows 10 on it ? I am an old Linux Man but a while back !!! Do I need to download a linux tool or ??? Upgrade worked like a charm, many thanks for your great work. Best regards and a donation. Webapp-Manager opens but does nothing with Firefox ESR 78.6.1esr Hi Simon, Try to run it from terminal “webapp-manager” and launch the web-app from there. Hopefully we’ll see an error message. Alternatively you can look inside the .desktop file created in ~/.local/share/applications, find what it is being run (on the “Exec=” line) and run that directly in a terminal. Hi Clem I was going to ask if we needed to run usrmerge, after installing it … but the process of installing, causes the utiltity to run and do the necessary. … then a quick reboot afterwards all OK … and running well … Thx so much for all the work you and the team put into Linux Mint … been using it since version 6 ! Wow! That was fast. Upgraded my desktop machine in under 5 minutes. No problems at all. Many thanks Clem and team. How to do the upgrade correctly from command line? Are there any other actions in addition to repository switching – update – upgrade ? I have LM 19.3 and wanted to avoid upgrading to LM 20 so I tried like this (it works fine in Debian)” sudo apt-get update sudo apt-get upgrade (nothing to upgrade) sudo apt-get dist-upgrade (nothing to upgrade) :(( Jurek, first you need to switch repositories to the new version. In case of 19.3 to 20.1, this would be sudo sed -i ‘s/ulyana/ulyssa/g’ /etc/apt/sources.list.d/official-package-repositories.list sudo sed -i ‘s/bionic/focal/g’ /etc/apt/sources.list.d/official-package-repositories.list and then apt update and apt upgrade. But this is actually a risky way. If something goes wrong, e.g. two apps require incompatible versions of the same library at some intermediate stage, the result can hardly be predicted and you’ll spent plenty of time restoring your system. That is why Mint team prepares special migration scripts and procedures each time, to solve any known conflicts. And that is why it is done only for sequential version-to-version upgrades, without skipping any one – is would take too much work to test and write them for all any-to-the-newest transitions. And that is what I am asking about: are there any other specific steps in the given case, for this particular minor-to-minor upgrade? This is especially important for upgrade to the new basic version, e.g. 19.x to 20.x, as it far more likely to involve drastic discrepancies. Even if you try jumping directly to 20.1, you need to do the checks and downgrades included in 20.0 procedure. Chances are greater on pretty plain software installations, with more or less standard hardware (e.g. not requiring proprietary drivers), migration within the same basic version, from one minor to another. But anyways the result cannot be guaranteed. It will be entirely in your responsibility to loose this installation at all. You may try it on your own risk, of course, on an installation which you can dispose of, in case of failure, completely, with no regret. But if there is anything valuable for you, follow the standard sequence and procedures. iourine, Thank you for your precise answer, it explained a lot to me. But because of this “But this is actually a risky way.” I will have to rethink it. Tried the said command-line method on a pretty typical machine. Given 5.8 kernel already installed, there were only about 50 packages to update, mostly applications and some specific libs. Seems to work normally. Once again, this is for a plain installation: no third-party applications, no proprietary drivers, no exotic hardware, many out-of-the-box applications had been removed before. And this is a minor upgrade within the same basic version. A visible difference is that mint-meta-mate restoration was not required and new Mint applications have not been added automatically: hypnotix, warpinator, webapp-manager… saving my time by not removing them afterwards. Hi, I’m still using the 19.03 version. What’s the value added if I upgrade to 20.1 ? And do you see an opportunity to upgrade to version 20.1? I also use the LM 19.3 Tricia version and I only have an upgrade to LM 20 :(( LinuxMint 20.1 has newer software and e.g. a newer Kernel than 19.3. If you’re having hardware problems with 19.3 switching to the newer Kernel might help to solve them. If you’re happy with version 19.3 and you don’t miss any of the new features of 20.1 there’s no need to upgrade. Version 19.3 is still supported with security fixes. @Jurek: you will probably need to upgrade from 19.3 to 20 first and then upgrade from 20 to 20.1 after that. …I love this OS, its fun to use, easily upgraded, stable, looks great, runs fine, and lasts a long time- Thank You Mint Team ! …resource frugal. …did I mention fun to use ? Thanks for the gift 🙂 Observations on an i5-2500K + GTX 680 desktop: On Mint 20, the latest libseccomp system update had for some unknown reason the effect that nvidia drivers 390, 450, and 460 (recommended) would all result in a 640 x 480 @ 73Hz “laptop” display mode and no hardware acceleration. (Before the update, at least driver 450 worked normally.) However, going all the way back to nvidia driver 340 did still work. (According to Nvidia’s own notes, all those drivers should be compatible with the graphics card) After updating to Mint 20.1, nvidia drivers 390, 450, and 460 (recommended) continue to fail in the same manner. In addition, using nvidia driver 340 resulted in Cinnamon entering Fallback Mode, on at least two attempts. But suddenly, after one more round of manually uninstalling the drivers (sudo apt-get purge *nvidia*) and ending up with 340 (sudo apt install nvidia-340), the 340 driver seems to work again, against all odds. Hopefully that sticks. What may be going on here is at any rate far beyond my comprehension. Similar problem here, only get driver 450 to work with Mint 20 and Mint 20.1, 460 sets resolution fix to 1024×768 Not sure if its the same problem but just about every restart my nvidia driver fails. Goes into software mode, change the driver to a different one, restart and it works for a least a reboot until the next time. No problems in 20 just after a fresh install of 20.1 I can’t reproduce the issue here with an NVIDIA GTX 1660ti (using NVIDIA 455 drivers). Upgrading libseccomp2 doesn’t impact the system like it does for you. I couldn’t find any reports either, I found you on the forums when looking for resources. I’m not sure what else to do. Here are the changes at play:. You might want to report it to NVIDIA directly, in case it speaks to them more than to us. We don’t have access to their source code, they might know where they’re using this lib and if recent changes are likely to impact some of their legacy drivers. Same problem when I upgraded from the 450 driver to the 460 driver. Had to roll back. I then removed xserver-xorg-video-fbdev and was able to successfully upgrade to 460 without issues. This legacy driver is normally unloaded by the nvidia driver anyway. @Clem, I’m preparing my emergency USB thumbdrive with the Mint 20.1 Cinnamon ISO, making it bootable with UNetbootin. I get this message: The file /media/bruno/RECOVERY/.disk/base_installable already exists This has always happened throughout the years when using UNetbootin. I allow overwriting all files and I never has a problem booting or installing through these mediums and I’m not worried this time neither, just sharing the info. I believe this is something related with UNetbootin, right? By the way, do you recommend Mint’s bootable USB tool (I’m sorry, I’m using the portuguese locale and I don’t know the original name of the tool) in detriment of UNetbootin? Mandatory curfew this weekend and expected a general lock down from Wednesday on. Got plenty of time to upgrade and test mint… Thanks for all the hard work, Clem and Team, and keep yourselves safe. Cheers! I am using “dd” with such a command (my specific example): sudo dd if=’linuxmint-20.1-cinnamon-64bit.iso’ of=/dev/sdc bs=16M oflag=direct status=progress and the general formula looks like this: sudo dd if=’ YOURS LINUX.iso’ of=/dev/sdX bs=16M oflag=direct status=progress where: ‘ YOURS LINUX.iso’ – linux ISO file name sdX – X is the letter of your flash drive, for example “c” or “d” (but never “c1” or “d1”) Whatever works best for you I guess. I’d tend to recommend mint-stick simply because we know it and we maintain it, but there are other quality tools out there. I never heard of usrmerge. Can it cause compatibility issues? Is it worth waiting a while? It’s been used in other distributions for a while. We’re one of the latest to migrate to it. If software is badly packaged or incorrectly referred to, it can lead to issues. For instance if a package provides /bin/foo but another executes /usr/bin/foo. In Debian and Ubuntu (and Mint also now) because of (or thanks to) usrmerge /bin and /usr/bin are the same directory, they’re no longer distinct.. so even though there is a mistake in one of these two packages, it will have no effect in these distributions. The good news is that these bugs no longer break anything for systems using usrmerge.. the bad news is that they’re therefore harder to detect and likely not to be fixed. They’ll affect systems which aren’t using usrmerge more and more as a result. So yeah, with all that said, we recommend you migrate your system to usrmerge, to avoid being impacted by bugs like this. Switched to default repo and upgrade as instructed, from 20.04. 10 minutes later already running with the new 20.1. Smooth sailing here. Great job guys! Cheers! Upgrade successful!? Tosted the request @ github, but somehow it got deleted. Dear @Clem, Me, as like as few others we made an upgrade to LM Cinnamon 20.1 using the following command lines yesterday: sudo sed -i ‘s/ulyana/ulyssa/g’ /etc/apt/sources.list.d/official-package-repositories.list sudo apt-get update sudo apt-get dist-upgrade And … the upgrade seems to be run without any problem. LM Cinnamon 20.1 with all my appl. and other stuff run smoothly and perfect. Since we initiate a discussion about the application of these instructions against an “official” one, should be from benefit to know the feedback of the experts. Thank in advance for you attention, illuminating us, users during this “upgrade phase” of a great system. THX. Thanks!!! Everything is perfect after upgrade! Another great upgrade. And again many thanks to all the Mint team for their hard work and skill. Terrific update guys! As usual the best ever. Why is it great ? Some of us are left guessing as to the “new and improved” os detergent. Shouldnt there be specific facts, performance measures etc. and if it just “new software” then if we want couldnt we just update via the Update Software manager. ie if I am happy the older FF and wish to upgrade that I can. No doubt i am missing the point. Thank you for your efforts If This mint upgrade is run What kernel will be installed and made active and I’m running a HWE Kernel 5.8 as the laptop(Currently running Mint 20.0 Cinnamon) will not function properly(Fan Speed Ramping Under load) on any Kernel that’s Below Kernel 5.6. So I’m in that “Edge” Group of users on my newest laptop. I’ve also running Mint 20.0 Cinnamon with the Grub Bootloader edited with: nvme_core.default_ps_max_latency_us=5500 added after the Quiet Splash because that ASUS TUF FX505DY(Ryzen 5 3550H/Radeon RX 560X) laptop is using a Western Digital Black M.2/NVMe SSD so will the update overwrite the GRUB settings on that laptop so that I’ll have to re-edit the GRUB settings again. The same here. The updated Mint booted a 5.8 kernel as before. Worked like a charm. Well, if you need these changes permanently at your machine, edit /etc/default/grub – add this to GRUB_CMDLINE_LINUX_DEFAULT or GRUB_CMDLINE_LINUX, then update-grub and check the result in /boot/grub/grub.cfg . The update utself does not involve kernel change and, consequently, updating grub configuration. If you are already running 5.4.0-60 or 5.8.0-36 (the latest versions as of now), it is de-facto reduced to ordinary upgrade of a limited set of application packages. In Linux Mint 19.3 Tricia will there be an option to upgrade directly to Linux Mint 20.1 Ulyssa in (excluding the upgrade to LM 20.0 Ulyana)? I don’t think so, as the package base was different. LM 19 based on Ubuntu 18.04 LTS, while LM 20.04 based on Ubuntu 20 LTS. You should go with fresh install. @ Dessy Eko Prayitno: I think you are wrong. It’s true that: Linux Mint 19.3 “Tricia” is based on Ubuntu 18.04 LTS but Linux Mint 20.0 “Ulyana” AND Linux Mint 20.1 “Ulyssa” BOTH are based on Ubuntu 20.04 LTS (and that’s not the problem) Where is the problem (my problem) ? 1. I use Linux Mint 19.3 (and before that I have successfully upgraded from previous versions) 2. When the LM 20.0 “Ulyana” version was released, I checked the LIVE version how it works. Unfortunately, the mobile modem disconnects instantly, so I will cut off the internet. So I didn’t upgrade. 3. When the LM 20.1 “Ulyssa” version was released, I checked again on the LIVE version that now everything works OK and my mobile modem connects to the Internet again. 4. That’s why I would like to DIRECTLY upgrade from LM 19.3 to LM 20.1 (excluding the LM 20.0 version that is clumsy for me). Dear Clem, will it be possible for me? Directly no. You need to upgrade to 20 first:. Did I miss an option to choose the Edge version? How do I upgrade to 20.1 Edge from 20.1? If you have been running the 5.8 kernel in Mint 20 already before the upgrade to 20.1, you will still have that 5.8 kernel running after the upgrade and don’t need to do anything. Otherwise, same as in Mint 20: Main Menu -> Administration -> Update Manager. In the Update Manager, View -> Linux Kernels. In the left panel, select 5.8. In the right panel, click 5.8.0-36 (or whatever is at the top). In the enlarged view for that kernel, click Install. Yes, as Ras said you don’t need the Edge ISO. Edge isn’t an edition.. it’s just a different ISO with a newer kernel. Hello, i haven’t this options to system upgrade. WHy? I have screenshot but i cant to put in here. Have you checked that you have the correct versions of mintupdate and mint-upgrade-info as mentioned in the commonly asked questions above? very good update less than 5 minutes and updated to the latest version Latest doesnt mean better… if so how ? Eye wanta know Dear Clem and team: thank you very much for this update! Now I have a question. I am trying to pair a bluetooh mouse (Logitech) using bluetooth settings, but nothing happens. Using bluetoothctl command in terminal, I see that bluetooth signal is on and then immediately off, therefore, no pairing was possible. Any idea how to fix this? Thanks in advance! Hi Andres, Please use the forums at or the IRC to seek help. Dear Clem, I solved this issue. It had something to do with the mouse itself. Now everything is working flawless. Thank you for your answer. Thanks to the Mint Team! You did a great job with 20.1 – again! It worked on both laptops without any issues in a few minutes! This would fix the dual boot? Mine windows 10 disappeared on the boot menu and nothing I do won’t fix😤 Anyone has an easy fix for dual boot?? “sudo update-grub2” is usually enough. Other than that you can try reinstalling grub. The easiest solution might be to boot from the latest ISO and launch Boot Repair from the menu. You can use (or). I want to be able to DISABLE the “upgrade” menu option in the Edit menu, what is the dconf registery key I can disable and lock down? It’s not possible as of yet. Is the order in the post wrong perhaps ? Because when trying to install usrmerge after updating, but before rebooting (as by the order in the post, except that I used the GUI instead of the command line), it hung endlessly. After stopping it after ~2h, neither rebooting from GUI nor restoring from timeshift were possible – the reboot and shutdown buttons were grayed out, and timeshift also hung indefinitely. Rebooting from commandline worked, and as far as I can tell the update also did, but this normally shouldn’t be necessary. No, it is correct. You don’t need to reboot to run usrmerge. I’m not sure what happened though, I can only guess usrmerge hung for some reason? I don’t really know though I’m sorry. I found the instructions a bit unclear, and I read them the opposite way to you! ‘Launch the System Upgrade by clicking on “Edit->Upgrade to Linux Mint 20.1 Ulyssa”. Follow the instructions on the screen.’ Well, the last instruction on my screen was something like ‘You need to reboot your computer.’ Then, on the upgrade instructions, ‘4. Convert the system with usrmerge (optional)’ which all together sounded to me like upgrade (including reboot), then do usrmerge. I asked a different but related question recently, and got the reply it probably doesn’t matter when you do usrmerge, but the whole thing’s a bit off-putting and scary (will I ever see my computer again?) to non-geeks like myself! In the release notes it is mentioned to install synaptics when having problems with the touchpad. In the beta this disables keyboard input. And one has to install “xserver-xorg-input-all”. Was this fixed? One Bug was even closed without further discussing it. Just want to be sure noone falls into this trap. Installing something with the on screen keyboard is no fun. Hi Seff, I can’t reproduce your issue here. It’s possible your keyboard works with libinput but not with synaptics…. that would explain why it stops working when you install synaptics (although here on my laptop which uses a libinput keyboard it continues to do so even after the touchpad moves to synaptics). xserver-xorg-input-all is already installed and installing xserver-xorg-input-synaptics does not remove it. It’s also just a metapackage which depends on xserver-xorg-input-libinput. The release notes never mention to remove the input-all or the libinput package. I’m not sure how these were removed for you. This happened on all of my three Laptops. And this happened before and I reverted back to libinput. On my research in fixing it I came across this bugreport: >> Where the guy also mentions keyboard stops working after installing xserver-xorg-input-synaptics. And some Ubuntu-users also had this problem. Maybe I am doing something wrong? Anyways I am quite happy that synaptics driver now works cause with libinput my touchpads stop responding like all 5 minutes. Thanks for looking into this. In a month I will upgrade 2 other Laptops and I will pay more attention what packages are removed. Updated from Upgrade Manager since Tina-Tricia-Ulyana and now Ulyssa (very quick update process) without installing from zero, just upgrading all the time, and it works perfect and fluently. Very good job. Thanks. MERCI, DANK U WEL AND THANK YOU VERY MUCH! Thank you! Worked perfect. I was expecting some trouble because I started the update process from the deepin desktop. (Maybe this was unnecessary, don’t know. I’m relatively new to Linux) But no problem at all. For me, Linux Mint with dde is the most user friendly (easiest) combination. Keep up the good work! Smoooth upgrade…really good on HP portable Ryzen5…Bravo l’équipe =] Dear Clem and LM team, No issues after the upgrade. Thank you so much. Best. upgrade run smoothly here, thx for preparing so nice. Download was terribly slow though. My upgrade was quick and painless using my local mirror site here in New Zealand. Everything is working just fine again after a reboot. Started with Sarah…now from 20 to 20.1 without problems! Power Manager is completley gone after the upgrade from LM20. Ulyana was working perfectly, but after what appeared to be “smooth” upgrade with no warnings nor errors, Cinnamon crashed after reboot. The power applet is gone, keyboard keys for controlling the brightness and sound no longer function. System Reports says: No problems were detected; dmesg shows no errors nor red lines, yet the problems are here. I’m guessing a certain part of ASUS netbook hardware is not detected as it should…. what can I do ?! Maybe you’re missing packages? Run this just in case? “apt install mint-meta-cinnamon”. Other than that, check your kernel version with “uname -a” and see if you moved kernel somehow? Upgrade works well , only Mailnag applet does not work anymore hope they solved it soon . Everything worked out fine! Thank you very much! Since the upgrade to Linux Mint 20.1, the administrator password is asked again when starting the driver manager. There seems to be a short timeout for the password request. After that the password is asked again. Is this supposed to be like this? Yes, we had it run in user mode for a short while after migrating it to packagekit. Unfortunately we found out this broke it in offline mode (when the driver manager uses the live ISO to install packages directly from it, it needs root access at that moment). So we backtracked and so for now, again, it’s still running in root mode. Ah okay, thanks! At step 3, ‘new version of mintupdate’, the system locked up tight, which I don’t remember happening on any earlier upgrade. After a hard reboot the upgrade went on as if nothing had happened. The installer reported that libplymouth5 failed to install, but a follow-up apt-get reported the latest version installed. Other than that the upgrade worked. Everything went well. But the webapp-manager doesn’t seem to work. It just doesn’t open. Otherwise thank you for the great work !!! Cheers Hi Orel, Open a terminal, type “webapp-manager” and show us any error messages appearing in there. I try but i can’t post my message, it’s blocked by firewall Traceback (most recent call last): File “/usr/lib/webapp-manager/webapp-manager.py”, line 20, in module from common import _async, idle, WebAppManager, Browser, download_favicon, ICONS_DIR, BROWSER_TYPE_FIREFOXFile “] Aucun fichier ou dossier de ce type: ‘/var/crash/_usr_lib_webapp-manager_webapp-manager.py.1000.crash’ Original exception was: Traceback (most recent call last): File “/usr/lib/webapp-manager/webapp-manager.py”, line 20, in module from common import _async, idle, WebAppManager, Browser, download_favicon, ICONS_DIR, BROWSER_TYPE_FIREFOX File “’ Hi Orel, It looks like something is wrong with your Python modules.. Did you install pip modules? If so clean them up and stick to repository versions. Make sure python3-bs4 and python3-html5lib are up to date. Remove python2 equivalents unless you need them. Upgrade went great, everything fine! But I have the same problem with the webapp-manager: The software starts, but when clicking the “+”-button nothing happens at all. Tested this on two different computers, both Linux Mint XFCE 20.1. This is the error message when started from terminal: Traceback (most recent call last): File “/usr/lib/webapp-manager/webapp-manager.py”, line 405, in on_browser_changed Traceback (most recent call last): File “/usr/lib/webapp-manager/webapp-manager.py”, line 313, in on_add_button Hi Clem, the release of Webapp-Manager version 1.1.1 seems to have solved the problem. Thx No, I just made it happen less.. it still happens if you download a favicon. There’s something wrong with one of your python modules. Thank you Clem, I had no issues with favicon and python3-bs4 and python3-html5lib were up to date but I just deleted python2 anyway. Wait and see. An update broke Mint 20.0 right around the time 20.1 dropped. I went a few days without rebooting (so I could download a large torrent with few seeders), shut it down last night, and when I turned on my computer today I was warned that I had no video hardware acceleration. I tried a few different kernels, and it didn’t fix anything so I think the problem is a recent update to one or more of the graphics packages. Updating to Mint 20.1 through the update manager didn’t fix the problem, but a fresh install of Mint 20.1 onto a new partition seems to fix it. The only problem? Several PPAs important to me still don’t have Ubuntu 20.04 builds. I had done some trickery to get the latest version of these programs installed, but now I don’t remember what I did. I have also hand-edited several config files in my previous install, some of these for aesthetic reasons (trying to eliminate the transparency in the bottom program bar, like older Mint versions used to have an option for), and some for functional reasons (improving privacy/security, adding a GPU fan control script/service that’s aggressive enough to actually stop it from overheating). Some of these changes I documented, some I forgot. I haven’t yet had time to play with Mint 20.1 yet and see what’s improved/regressed, but if the issue that causes the system to totally lock up when removing a heavy GPU load has been fixed, then IMO it’s a good trade to have my modifications totally borked for the next few days/weeks. I should have said this earlier, but my graphics card is an Asrock 5700 XT. Update: Graphics stack will still lock up PC when removing a heavy GPU load. Everything working. Thank you Clem & team. Already converted usrmerge and everything seems to work great. Cheers I just upgraded and it failed to boot… well, and I was able to boot but only when I booted into recovery mode (from Grub menu)… note: I do have full drive encryption with Luks and the “regular” boot gets stuck when I it asks me for to enter the password. Any ideas how to resolve this? Could it be a plymouth issue? Make sure all updates are applied and your APT cache is clean (apt install -f). @Robert : same on my side! when you disable plymouth by change from GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” to GRUB_CMDLINE_LINUX_DEFAULT=”” via sudo vi /etc/default/grub then sudo update-grub Now you can start in normal mode – but you will see the start log and may have to set your Luks Pass 2 times. @Guido, thanks – I have an encrypted home partition and had this problem as well. This works around the absence of a normal password prompt. Previously, eventually the system did boot and eventually I got to a desktop but it only vaguely worked as the home folder isn’t mounted. Excellent work. Quick question though: How come the *default* icon pack uses custom icons for external programs? For example, the Audacity icon is… Different. It’s not the Audacity icon, which should be the default. I feel like things that shouldn’t be changed are being changed, and the change is mandatory if I want to use Mint-Y / Mint-X icons. We use complete icon themes so all apps have custom icons. If you want upstream icons for apps, switch to an minimalistic icon theme, with no app icons. You can find some on gnome-themes.org. The best upgrade experience ever. I adore Linux Mint and all that you do. Thank You folks, thank You so much. Easiest upgrade from linux mint 20 ulyana to 20.1 ulyssa. Very smooth. Working perfectly Working fine as of now 🙂 after a day or two i can be sure that everything is working XD Did the upgrade this morning after being alerted by RSS. Followed instructions and the process was totally painless. I also applied usrmerge – I recall reading about it last year (I think it was mentioned in a blog entry) and it makes perfect sense. The Favorites feature in Nemo is one feature I’ve been waiting to use. Many thanks to Clem and the rest of the team for getting the update out. Working flawless with a thinkpad T-61 4Gb ram, intel Core 2 Duo T7100 (2) @ 1.801GHz, 120Gb SSD Thanks! usrmerge causing FATAL. Please suggest/help! Dear Clem/All, I am upgrading my laptop from LM 20.0 to 20.1. I completed the upgrade step successfully. But while installing and running usrmerge package, it gave a FATAL and failed. Please suggest/help immedietaly. I am stuck here. The console log is as below: FATAL ERROR: Both /bin/fgrep and /usr/bin/fgrep exist. You can try correcting the errors reported and running again /usr/lib/convert-usrmerge until it will complete without errors. Do not install or update other Debian packages until the program has been run successfully. dpkg: error processing package usrmerge (–configure): installed usrmerge package post-installation script subprocess returned error exit status 1 Processing triggers for libc-bin (2.31-0ubuntu9.1) … Errors were encountered while processing: usrmerge E: Sub-process /usr/bin/dpkg returned an error code (1) The grep package provides /bin/fgrep.. but I’m not sure what provides /usr/bin/fgrep. You can find this out on your computer with “apt contains /usr/bin/fgrep”. This will give you the providing package name. Clem, thanks for the reply. I tried this command, but it did not give me any package name. I got this error for both fgrep and egrep. I understood the objective of usrmerge, and resolved this error manually. I am listing down the steps I followed so that it might help anybody else who gets the same error: DO NOT REBOOT /INSTALL/UPGRADE ANY PACKAGE IN BETWEEN THESE STEPS. (1) this program usrmerge internally runs ‘/usr/lib/convert-usrmerge’. (2) this program moves the existing programs from few folders like /bin to /usr/bin. While doing that, if the same program already exists at the target folder, then ‘/usr/lib/convert-usrmerge’ fails and leaves things incomplete mid way. It is not detecting them before hand via a dry run as seen in my case. (3) we need to run this once, and manually check the results to identify such programs/files individually. then compare the file at both places to check which one is the latest based on timestamp, and then retain it. that one which we intend to retain should be manually moved to ‘/usr/bin’ or appropriate folder as mentioned in error, and then a symlink should be created in /bin or the appropriate source folder for it. (4) then run the following command: sudo /usr/lib/convert-usrmerge (5) iteratively solve the problems one by one, and keep running this command until it gives a success response: “The system has been successfully converted.” (6) once the above success message comes, the usrmerge process is complete. Back in July, i tried the upgrade from 19.3 but it broke the system. All the problems seemed to be related to python3. Since 19.3 works so well, i just went back using Timesheet and ignored that little reminder. Now with this upgrade, is there any chance that trying 19.3 –> 20 will produce different results? Or should I just be happy for two more years with 19.3? We’ll continue to improve the 19.3 -> 20 upgrade path. It is a rough one though, like every LTS base jump. It goes smooth for most people, but there are niche cases we’re struggling with. Cliff Sloane, transition from Python2 to 3 is unevitable, but it can cause problems with some particular applications that are not upgraded yet. Try to figure out which applications still require python2, remove them permanently (but not purge), upgrade, then install them back – the latest versions. Typically these are third-party apps that the particular distro team cannot be responsible for. In my case, it was hplip installed directly by the HP script; it was not before a few versions later then it was migrated to python3 and built correctly in Ubuntu and, hence, Mint. The other potentially risky examples are skype, zoom, viber an the other tripper of that sort, standing apart from the regular repositories due to their proprietary neture. Much love from all the butchers at our shop who depend on Linux Mint to get our work done! Brave and Chromium have had their own version of “web apps” for as long as I can remember but the Web Apps functionality you brought to the table is a real game changer. Finally that ability is brought back to FF! The favorites will ensure everyone will get paid on time! 😂 Keep up the great work guys! Brilliant. The only weakness of Mint in the past has been doing upgrades. But this time the upgrade was simple, not problems. Please keep up the good work guys! Point upgrades are easy and fast. We only upgrade our own packages on top of the same package base, so we can guarantee everything goes smooth. When we jump from one package base to another, we literally jump from one huge Debian snapshot (the one the Ubuntu LTS is based on) to another, and that brings in changes from thousands if not hundreds of thousands of updates happening upstream. It’s much more complicated and many more things can go wrong. By the time a complex update such as 19.3 -> 20 comes to you, we’ve tested it a lot, improved it a lot, and automated it a lot, but we can’t possibly think or test any combination of 3rd party or even 1st party software you might have installed. The upgrade processes involved here are completely different. You guys are just the best. Thank you for all that you do! Another nice and easy update. Everything worked great and went fast even on my old i5 750. Thank you and the team for all the hard work! I dunno why exactly, but since installing the update, my entire system is much snappier and way more responsive. Thanks for another great update! Loving the file faving! There was an update to libplacebo! 🙂 It might be the move to the new mozjs in Cinnamon. It should be marginally faster though, not a game changer. Hello, Cinnamon chrashes after upgrade to 20.1! The second menu line is gone. It now looks like mate, system unusable. I think i have to do a fresh reinstall of lm 20.1 Hi Thomas, Check ~/.xsession-errors. Also try to run it from terminal and report the output to us: “cinnamon –replace” <-- note this is a double dash. It doesn't show properly on the blog. Great. Upgrade from linux mint 20 ulyana cinnamon to 20.1 ulyssa cinnamon went smoothly. Many thanks to the whole team! Hey, the new release with the new version of the PDF reader still has a bug that started in version 20. Everytime you tell it to “save a copy” of a PDF it wll save it but it will also crash and do a coredump. Sometimes using the search function repeated times on a document will also do the same. It didn’t happen up until Mint 19.3. Hope I’ve helped to solve a bug! Isaac fixed that on Github, it’s pending a review and a merge. It’s a great, fast job. 🙂 Clean & speed (5 minutes) ! Thank’s. As always, quick & smooth upgrade, Mint is the best! Thanks team! I upgraded my system yesterday, without any problem. May I today (means afterwards, since I have already rebooted a few times) apply that “usrmerge conversion”? Thanks! Sure, you can even do it on Mint 20. Hello Clem and Team. Thank you so so much for this really hard and good work. For my self i am using Arch and on my second SSD Mint. But i installed on all Computers in my family or circle of friends your amazing Linux Mint. All people are now so much happy to not need more to use Windows 🙂 Best greets and best wishes for the year 2021 and future to you and your great team. Michael P. Web apps: how can I afterwards edit a Web app and remove the navigation bar I mistakenly activated when I create it? Thanks! Hi Ale, For now you’ll need to remove and re-create the webapp. Excellent work! Thanks Mint-Team. Never had such a fast upgrade. Made the switch to Linux Mint in November; no dual boot either; completely done with Windows 😀 My question is with regard to verifying updates to the OS are legitimate and from the developer. I know that you should verify your .iso file prior to installing a linux distro on your PC; how does the verification process work with OS updates once a verified version of Linux Mint is already installed. Trying to learn more, thanks again! When upgrading Mint downloads packages from the official repository/local mirror. As far as I know the packages in the repositories are signed with GPG key and file checksum, and the apt/installer checks automatically that it is correct on download. In other words it is only when making a clean installation from .iso that you need to manually verify that the downloaded file has not been tampered with. The repository itself is signed and your APT has the public key to know if it’s legit or not. If it’s not it will refuse updates from it. Updated quickly and without visible problems. All according to the instructions . But soon I noticed that the FN on the wireless clave fell off… In 20-ke worked without problems, as in 19.3. And I did not understand how the Web application works. I have it running, but after clicking “add” nothing happens. Sorry, this is yandex-translate. I don’t understand the problem with the wireless.. FN? Run the webapp manager from the terminal to see if you get an error message. We’ll have a better idea of what could be wrong then. Yes, the fn function key. The keyboard is Logitech wireless. In Mint 20 and 19.3 buttons FN+F9, FN+F10? FN+F11 controlled the sound. Now there isn’t. I connected the keyboard to my other computers with Mint 20.1 (new installation) – everything works! And on the main machine-after updating from 20 to 20.1-stopped working. All other keys work without problems. webapp-manager runs in the terminal without errors as well as in the GUI. A window opens. I press the “+ ” button. Nothing happens… Hi Igor, Try it in English: “LANGUAGE=en_US.UTF-8 webapp-manager” (make sure to close any webapp manager prior to this). See if that works. If it does, let us know which locale you’re using (i.e. type “locale” in a terminal). Here is the terminal output: igor@igor-E520:~$ acpi_listen button/mute MUTE 00000080 00000000 K button/volumedown VOLDN 00000080 00000000 K button/volumeup VOLUP 00000080 00000000 K These are respectively FN+F9, FN+F10, FN+F11. acpid acpi-support acpi acpitool installed. It appears to be 2 unrelated problems: one with FN+F9/10/11 keys and the other with webapp. Solve them separately. Thank You! Good thinking and lovely improvements. Hello Clem & Linux Mint Team, Thank You for a wonderful smooth upgrade. 100% PERFECT!! now on Ulyana 20.1. I upgraded tonight from 20 to 20.1 I didn’t know it was ready but I figured it out when the update manager updated. Good job! Thanks for all that you do. I upgraded just now from 20 to 20.1. It was really very fast with an SDD and a fiber connection 🙂 Thanks you! The update was quick and easy! So far I haven’t found any errors and the Laptop (upgrades Fujitsu Esprimo Mobile M9410) runs fine. IP TV is great. Unfortunately you don’t have that much time to watch the whole range of channels. Many thanks to the development team – keep it up! A happy Linux Mint 20.1 Cinnamon user! My installation went well, but for some reason some shortcuts were removed from the panel and reorganized in the menu. “Tray Icon” of Rhythmbox has stopped working after the upgrade 🙁 Weird.. there were no updates to either rhythmbox nor rhythmbox-plugin-tray-icon between 20 and 20.1. Are they both installed? I can’t reproduce the issue here. Rhythmbox tray icon works perfectly. Tested in Xfce. 450 to 460: driver manager gives the following error page when trying to start update pk-control-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files (0) Anyone else had any of those? We’re currently reviewing all spices for Cinnamon. For packagekit either it’s dead (you need to reboot then) or it’s not installed? Make sure gir1.2-packagekitglib-1.0 is installed. apt says gir1.2-packagekitglib-1.0 is installed with latest version (1.1.13-2ubuntu1.1). I have tried a number of reboots already, with no luck – that error remains when trying to switch driver to a newer version. I have solved problem with driver manager by installing ‘packagekit’: ‘apt install packagekit’. It was not installed while ‘gir1.2-packagekitglib-1.0’ was. Weird… I am absolutely sure I did nothing related to these packages, and previously driver update worked in the driver manager. Anyway, happy this is solved. Problem with applets remains. Hoping that gets fixed soon as well. Thanks. We’ll add a dependency for it. Update about applet and Cinnamon crash: that is solved after recent update of cjs package to 4.8.2. Thanks David for hint in other post. I upgrade from linux 20 to linux 20.1 cinnamon very easily. I just found an issue: Hypnotix does not work when I am using my PIA VPN even when I use the by-pass for this application, but it works perfectly when VPN is disconnected. I tried again and got these results: Sometimes it takes a long time to connect on some TV channels but then works perfectly. Sometimes it does not connect at all on some channels but does latter. Hi Clem & team, Thank you very much for this upgrade utility (delivered as little as two days after the release announcement of 20.1!) It worked like a charm. You did an outstanding job. I wish all the best for this upcoming year. HP printer problems, because required new plugin hplip-3.20.11 is not available due to errors in sw. So back to Ulyana. Remember use Timeshift before updating, so easy to return! hplip 3.20.11 is included in 20.1. In my case, hplip was upgraded to 3.20.11 in regular way and does work ok. Were there any error messages about it during upgrade? Or remove hplip*, then remove its dependendencies with “autoremove”, do the upgrade, and install them back. To the Mint Team. Thanks for the upgrade, so far i didn’t find any problem with the new version. Keep your amazing work. Having read the linked article promoting the /usr merge, I must admit that I’m not convinced. I wonder how long it will take for the SystemD folks to break their word again, and stop supporting “non-merged” systems. Such a fast, smooth upgrade! Thank you SO much, Clem & team! Hypnotix is cool as heck!! Since upgrading to LM 20.1, my screen flickers white for a split second during reboot just before the desktop wallpaper loads. The user login is automatic for me. I could observe this on two different devices: 1) Intel Core i5-6600K, graphics card: GTX 970, driver: latest Nvidia 450 or 460 2) Intel Core i7-2620M, graphics driver: i915 (tested in live system) What could be the reason for this? Hi Jakob, Could it be the cinnamon start animation? You can disable it in the Effects settings to see if it’s that. Thanks for the quick reply. No, that’s not the problem. I checked it, all effects are disabled. Do you have any other ideas? By the way, I am using the latest 5.4 kernel. Same problem here: After login (with password on the login screen) the desktop turns white for a split second before the wallpaper loads. Intel Core i5-3570K, graphics card: GT 710, driver: latest Nvidia 460 Same problem here after an upgrade from LM 20 to LM 20.1. Screen flickers white for a split second after login during both boot and reboot before the wallpaper loads. Switched back to LM 20 and no problems at all. Using Intel Core i7-10750H, GTX 1650-Ti with Nvidia 460 driver and the 5.4.0-60 kernel. Hi, We’re aware of this issue and we’re looking for a fix. I am observing same issue when logging in, before desktop icons appear. fallenone user has mentioned in other post () this can be solved by disabling xapp-sn-watcher autostart in settings. That worked for me, but I am afraid that would disable some useful functionality. So had to enable its autostart back and deal with that white flash. Hopefully that gets fixed by another update. Am also seeing the white flash upon start-up although it does not happen every time. CPU: Ryzen 5 3500X GPU: RX 5500XT Kernel: 5.4.0-60-generic OS: Mint 20.1 Cinnamon @Vasyl: Thanks for this info. Have you already observed any negative effects caused by disabling “xapp-sn-watcher” in autostart? What does “xapp-sn-watcher” actually do exactly? Would be great if this is fixed in an update soon, of course. The issue has already been fixed with an update. It works perfectly. Thank you! Upgrade was a breeze to do. No issues at all. Thank you Great it was quite easy. I found two problems, though: 1. The instructions say “update your applets, extensions, etc” however, it doesn’t say how to do it. I couldn’t find anywhere in the settings how to update them. After reboot, there was a problem with an applet (system monitor) so I just deleted it and all is good. 2. My “Display” settings didn’t start right the first time. When I tried to change my primary display I found the “XRANDR_2 was not provided by any .service issue with Cinnamon Display settings” error described in this bug report: . I just deleted the file in question and all was good. I wonder if the installer can take care of that autostart file. I don’t have a separate /home partition. Will the update to 20.1 reformat my root partition, hence deleting everything in /home? hi. i just upgraded from lm 20 to 20.1 for me it broke the volume keys. anybody else had the same problem? b.t.w. asigning a different key combination did not work either. if anybody knows a fix, pls let me now. tnx, and thumps up for the team!! Thanks! Working great! Hypnotix is very nice. Regarding the issue I am having were the boot process gets stuck after I enter the LUKS password. I tried (apt install -f) and I am sure all updates got installed. I also tried Guido’s solution with the Grub, but that also didn’t help. GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” to GRUB_CMDLINE_LINUX_DEFAULT=”” Question, is there is a way to disable plymouth? the recovery mode works fine, just it is annoying to answer all the boot questions… NOTE. so glad there is Timeshift 🙂 Hi, I have the same issue. Please make sure to run ‘sudo update-grub’ after changing GRUB_CMDLINE_LINUX_DEFAULT, otherwise the change won’t have effect. When you reboot, it should not show the splash screen anymore and allow you to enter the encryption password. Sure hope this gets fixed soon. I guess not many people encrypt their drives.. Hi, Can you tell me your exact version of plymouth? I need more information on the LUKS/plymouth issue. I can’t reproduce it with the following test case: – Fresh install Mint 20 Cinnamon 64-bit with LUKS/LVM – Dist-upgrade everything – Upgrade to 20.1 via mintupdate The plymouth password prompt for the encrypted partition looks the same way it did in 20. I don’t see any issue. This was tested in Virtualbox. Let me know what differs from this in your setup so we can start identifying a possible cause. If you upgraded from an earlier version than 20, I’d like you to check if you have any foreign packages (there are two buttons to check this in mintsources -> maintenance tab). Don’t hesitate to specify your GPU chipset and the drivers you’re using also. NVIDIA is known to not handle plymouth very well. Replying to Clem’s questions about the LUKS/plymouth issue: My version of plymouth = 0.9.4+mint1+ulyssa. I have one foreign package: discord. I have an NVidia GPU and use nvidia-driver-460. Video card is a GeForce GTX 1050 Ti. This installation was installed with 20.0 and then upgraded to 20.1. I’ve seen the issue on both this PC and my Laptop (which also has an Nvidia GPU). Hope this helps… Thanks Moes, I’ll try to reproduce this with the nvidia driver. I am having the same issue like Robert P and others with a LUKS encrypted OS being stuck after entering the LUKS password. Here is my info: 1. I upgraded from Mint 20 2. Plymouth is version “0.9.4+mint1+ulyssa” 3. I have an AMD graphics card 4. One foreign package: Veracrypt Taking out “quiet splash” from GRUB_CMDLINE_LINUX_DEFAULT works for me, but I do have the enter pw twice now (two HDDs, same pw). Second comment: I have another smaller netbook where I installed Mint but replaced cinnamon with LXQt. The upgrade forced me to install mint-meta-cinnamon. Why? After the install, I was able to remove all the packages installed by mint-meta-cinnamon and all works perfectly. So, it wasn’t a big deal but still wondering why installing cinnamon for the upgrade. xviewer is dependent upon cinnamon-desktop-data. Probably this is what triggers check for the entire mint-meta-cinnamon, for the sake of generality. And it might had been removed earlier by removing some annoying packages (e.g. mintwelcome, mintreport) that it depends from. Acabou de chegar no mintupdate, mas tô indeciso de instalar devido bug que pode aparecer,mas achei legal a versão do linux mint.(AH, eu sou do Brasil. 🙂 ) Doesn’t “sudo apt update & & apt dist-upgrade” work? Everything worked, including usrmerge. Thanks! The Quality is first and time is not so important! That why we like Mint. Thank you Clem and all Team! Most of my systems are Mint MATE 19.3 but one is a 20 and I upgraded to 20.1 in 5 min. Great job ! And I discovered IPTV which I’m thrilled for … one question, can you backport the IPTV to Mint 19.3 (if technically possible)? I would love that. Thank you for a great distro. Check the October blog, when Hypnotyx was first introduced: You can download Hypnotix at: Alright Clem! Thanks for the heads up! It’s the only big bug that comes to my mind, so great work as usual! The default image viewer was also coredumping/abrupt closing since version 20 on very rare occasions (got that bug maybe twice out of thousands of occasions). Have a nice week! is the new update compatible with 32 bit architecture? Yes, there is HPLIP 3.20.11 included, but it is not possible to load required hplip-3.20.11-plugin which is required for certain HP-printers. Maybe this is problem in HPLIP- part or in plug, but I need printer sometimes and that’s why I returned back to Ulyana. Dinos, Try to figure out what happens when downloading the plugin. Does the downloader run? Does it connect to server? Does the server return an error? Probably it would be more informative to do this in terminal with hp-plugin -ig . It is also possible that the plugin is downloaded normally but not the GPG key for it; you have to wait for the timeout (2 min afair) so that hp-plugin would surrender and offer you to install it without verification. This happened in my case (LJ M1132MFP) with hplip-3.17, then HP installer failed for later versions, then it failed downloading the plugin in 3.20.3 originally included in Mint20, and it was not until 3.20.5 when the problem was fixed. Which hplip version does work for you? Maybe the said change fixed the problem for my device but toggled it on for you? If so, you may downgrade to hplip-3.20.3+dfsg0-2, it is still available in the repository, and put this package on hold. Thank you for yet another update! I followed instructions incl usrmerge and everything went fine. It only took 5-10 minuets to do the update and reboot. Hi, I’ve just upgraded to Linux Mint 20.1, and I am unable to find the webapp and hypnotix application. I’ve tried running sudo apt update, and nihil. Tried calling ‘webapp-manager’ from terminal too, and it said command not found. Any help please? Since my biggest motivation to upgrade is to get the webapp feature. Thanks before When upgrading those apps are not getting installed. You have to install them on your own, e.g. with the Software Manager. @Andre, are you positive that the upgrade was fully applied? Try running “hostnamectl” from the terminal to make sure that you’re running 20.1. It can be surprisingly easy to get the impression that the mintupdate package has applied the upgrade when it actually has not. Hola! Gracias a todo el equipo y desarrolladores de Linux Mint! Y felicidades por Linux Mint 20.1, porque parece muy estable y ha resuelto todos mis problemas con Ryzen y AMD. Hacen un gran trabajo. Linux Mint es el mejor! Eva Vlez Hi and thanks for all your hard work! My machine freezer after it’s been suspended. Is this a known issue? Freezes* There’s an almost black screen and nothing happens… Fixed after an update! Thanks Mint 🙂 everything is perfect as always. thanks for you all ! I just want to ask one point: how can I disable auto setup of remote/network printer? I was thinking the feature would be disabled in Ulyssa. Will this upgrade be applied to LMDE4 soon – hopefully as a rolling update? Hi, here the same problem with the LUKS.. but in my case, worked the “workaroung” from Guido, the problem is that I need to put the passphrase to each of my LUKS partitions !! 🙁 Hi Clem Upgraded a GPD micro and the upgrade went smoothly. , once cinnamon has loaded the screen is the wrong way round (on the side). It was fine in 19.3 and 20 if I try to rotate it in “display” I get an error box Failed To Apply Configuration GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.cinnamon.SettingsDaemon.XRANDR_2 was not provided by any .service files All help appreciated Thanks so much, that fixed it!! Cheers Hello, I have 23 updates in my Update Manager, should I update it first before moving to 20.1?. Thank You Yes 361 / 5000 Risultati della traduzione Please help me, I can’t understand and fix this error which occurs only on MintUpdate, not in synaptic, terminal or software sources. E: Invalid record in preferences file, no Package header E: Failed to lock the directory in the list Which is equal to this: What’s the content of: /etc/apt/sources.lst /etc/apt/preferences In / etc/apt/ everything is ok, the problem is in mintupdate I have exactly the same problem. I think there is a bug in MintUpdate with Python, but I’m not sure. I found other topics in various forums, here is another similar problem: After a fresh install on one computer and an upgrade on another there is an issue with XFburn. When attempting to do a burn XFBurn reports “Burn mode is not currently implemented.” Génial, comme d’habitude – ça s’est passé tout seul. Merci pour tout le travail que vous faites – j’ai particulièrement apprécié les favoris et les webapps. Followed instructions as posted here, everything worked exactly as advertised. The whole thing took about 5 minutes. Well done, Clem et al! I run into problems when upgrading NVIDIA driver from version 450 to 460 (resolution frozen at 1025 x 768) via the driver manager. Upgrading the kernel first from 5.4 to 5.8 made the problem go away. Hope this helps someone. Same problem. Your solution didnt work for me 🙁 Great job as usual! The upgrade method from LM 20 to LM 21 (Cinnamon and MATE Desktop) worked really well and all the applications worked flawlessly as well! Congratulations! THANK YOU BRINGING BACK *C*OM*P*I*Z* After Mint 20 it is working out of the box Hello: I hope someone can help me with my problem. I have a computer with a Nvidia GeForce GT 730 card. I have tried to install Linux Mint 20.1 Cinnamon, however I get the following error when I restart it: Grub rescue, and I don’t know how to fix it. With Ubuntu, Zorin Os and other distributions I don’t have this problem, only with Linux Mint 20.1. Is there any way to solve it? Thank you very much. Alejandro iourine, HP-printer issue. I used hp-plugin -ig and I could start downloading plugin but then there is message ” Remote file exists and could contain further links, but recursion is disabled — not retrieving. ” Also timeout (2min or more) do not help this issue. I am using HPLIP 3.20.3 in Ulyana. When I tried install this 3.20.3 version, I got error message: Missing required dependency, ” This installer cannot install ‘python3-pyqt5’ for your distro/OS.. I checked that python3-pyqt5 exists but no success. So I returned back to Ulyana. That is what I thought about. Cannot say any definite things about recursive downloads, but this appears to be the mechanism that did not work for my device up to 3.20.3 inclusively but worked in your case. Disabling it in 3.20.5+ fixed the problem for me but created it for you. And now v3.20.3 does not work on current Mint package base because Python packages have been renamed and restructured. Apparently the option is hard-coded in the HP python scripts and cannot be toggled by command-line options. The correct way is to take the sources of 3.20.3 and 3.20.11 and compare them, to figure out where it is done and revert it, then rebuild 3.20.11. But this is a work for developers, and still there is no guaranties that it should work because we do not know why it was disabled; there may be more essential reasons to disable it. If you still have time and wish to fight for your printer, one way is trying to preserve the existing plugin. Theoretically, the plugin files themselves (but not the installer script) should be independent from hplip version. Run hp-plugin -i -g in your working Ulyana installation, it will print the list of files which it checks. Make a backup copy of them, especially of those in /usr/share/hplip/{fax,prnt,scan}/plugins/ . Upgrade to Ulyssa and 3.2.11 and resore them manually. (The other directories and files appear to be parts of hplip-* packages themselves, not of the plugin. Do not rewrite them if they exist.) Another way to try is to let hp-plugin -i -g (3.20.11) download whatever is can. It uses ordinary wget inside, see the output for what is downloaded and where it is stored locally, e.g.: and something.asc (the digital signature) to ~/.hplip . Do not quit hp-plugin, go to the directory and make a copy of the file in another place. (Note that the files are deleted on exiting hp-plugin or after executing them once.) Open the saved copy in an editor and look for other URLs to be downloaded. Download all of them manually, and then use the -p option to force hp-plugin to install it from local files rather than downloading. Or run hp-plugin -i -g in Ulyana (3.20.3), tell it to reinstall the existing plugin, get a list of what it downloads, download similar files with -3.20.11 suffix manually, and then feed them to hp-plugin-3.20.11. Succeeded. I updated to 20.1 and downloaded plugin hplip-3.20.11-plugin.run and .run.asc files from. Then I used command sh plugin hplip-3.20.11.run and finally used hp-setup to add printer. Many thanks for your help in this issue. Hi, We backported hplip 3.20.11 to Mint 20.1 so you wouldn’t need to do that. I added information on with steps on how to install python3-pyqt5 and run hp-setup. I can’t test further though because we don’t have any of these printers here. I’d like to know in particular if hp-setup succeeds without sudo and if you encounter any issues using the steps documented above. Let us know so we can make this easier for everybody else. I tried these steps to install python3-pyqt5, but there was already newest version installed, so 0 new installed. hp-setup runs without sudo, but it will not install required -3.20.11-plugin. Only way in this moment is to download hplip-3.20.11-plugin.run and ..run.asc from URL and install it locally with e.g. command sh hplip-3.20.11-plugin.run and run then hp-setup Do you get an error message when using hp-setup 3.20.11? What does it say when it refuses to download the plugin? And did you try with sudo? You mentioned an error message earlier but that was with 3.20.3 afaik (the Mint 20 version). I used hp-setup 3.20.11 with or without sudo and there is message that missing plugin for 3.20.11 needs to be installed. When I started installing plugin using proposed way, it is not possible due to error ” Remote file exists and could contain further links, but recursion is disabled — not retrieving. Only way that I found was to download required plugin from URL and use e.g. command sh hplip-3.20.22.11-plugin.run and then hp-setup to add printer OK, I had a look at the code for hp-setup, what it does is run hp-plugin -i. Can you try and run this on a fresh setup? apt install python3-pyqt5 hp-plugin This skips the device test (which is good for me since I don’t have the one required to need a plugin) and downloads the plugin successfully. I tried with fresh upgrade to 20.1 and hp-plugin couldn’t load required plugin. This was result: .. qt5ct: using qt5ct plugin Checking for network connection… Downloading plug-in_share_hplip_plugin.py.1000.crash’ Original exception. I get the feeling you’re using some broken version of hplip from upstream. They check lsb-release and hardcode compatibility with each single release. I can’t reproduce the issue with the repository version. This is with the hplip that is installed by default in 20.1: OK, if it works for most people who upgrade. In my case using local plugin and sh hplip-3.20.11-plugin.run gives similar output like in your example. So now my HP P1102W is printing and I know what to do in case of similar problems. So, the bottom line is that the original hplip-X.X.X.run from the HP site and the hplip-X.X.X.deb built for Ubuntu/Mint, with their specific Python dependencies, are different. HP version has more chances to fail if the actual Python version differs from what it expects. Hopefully, this is a side effect of Python 2 to 3 transition and will settle over time. On the other hand, if it compliles successfully on a particular machine, it has better chances to work as expected by HP developers; this is the existing .deb version where recurrent downloads wer blocked for some reason. Dynos, keep in mind that your hplip setup is beyond the control of the Mint team now and may require a sort of special attention during further upgrades, especially to Mint 21 in summer 2022. Hi. Perfect, fluently and quickly running Ulyssa. The icons I use to work with are just covering all the bar. I don know if it is possible to add a new line for icons. I can create another menu but it is not so good as this all toguether for me. Beautifully rnning LMint2021. Thanks again. Hello everyone, Im not shure if this is an issue: Im located in Melbourne, Australia and it’s been very hot the past two days. I have Linux Mint 20.1 full install on two computers and one full install usb boot. all three computers with different specs. All three setups seems to get very hot quickly. Has anybody else noticed this or is it just me and the hot weather down here? I wonder if this is something that needs to be looked at. Cheers Basically this appears to be your hardware problem, with improper cooling, misinstalled heatsinks (e.g. too little thermal grease) if they all were mounted by the same hands, etc. The cooling system must provide proper operation of the computer at full power (100% CPU load) at the hottest possible environment where it is assumed to be used, otherwise it is not adequate. To relieve the problem quickly, look the System Monitor (or “top” in console) to figure out the processes that consume the most of CPU powre, and stop and disable them if they are not needed. Begin with those in your Start-Up Applications, but they are typically not the top CPU consumers. If a web broswer or WebContent is on the top of the list, think about the sites which you visit at that time. These days, many sites run plenty of backgroud Javascrips for their own needs, from annoying you with precisely targeted advertising to silent mining of digital currencies. Install some JS blocking add-on, and/or rerfain from visiting such sites. If I quit Cinnamon, the Numlock LED is ON but in fact, numlock is off. If I type my password, it doesn’t work, I must press the numlock key third times before it works. Hi, now a problem. I read Num Nutt post and I decided to install the LMint CPU desk mini application. When it was installing there appeared a windows saying something about LMint starting ok but that an application could not be run, and ask me to look in the registry to disable the application. I cant see the buttons to operate the windows (minimize, maximize, close) I have this Firefox tab opened but it is as if the rest of the window border is missing, and I cant see the start menu either, nor main bar. All gone. The Alt+Tab does not work, the desktop borders are not active…. All blocked. I go to recover partition from another disk with gparted I did yesterday. Now I cant do anything at all. Well… I am in Windows now cause I cant recover partition because Gparted says there is a problem with metadata?… and cant show disks. Now I have to start from zero installing Ulyssa. In the moment i was installing the CPU info desktop mini application the desktop made two flashes and then the problem appeared. It said somethig about llooking at the registry and to the LookingGlass or something like that. Sorry but I could not get more info. I dont know if it has something to do with Elegance Theme I had instlled that become in conflict with the CPU desktop mini applet. All was going perfect till the moment this applet was being installed. The keyboard did not work when pressing Super key, nor Ctrl+Alt*supr, nor Alt+F4… just worked when writting letters, not comands, and the only key that seemed to work properly was the one that launches the Web Browser, close to AltGr key. The mouse was working ok, mouse menus appearing ok, but nothing more working here. In fact i had to close the browser window with right click on left side of window and Exit. The rest of the upper bar of the windows were off. Minimize, maximize, close wern´t there. All was ok till the moment I tried to install the application I said. No start menu. At firt it appeared all ok, but after three or four seconds the desktop flashed, the perfect again, the flashed for a second tie and all was gone. And between the flashes, the reminder small window telling about look in the registry or LookingGlass and the applicaition that could not be started… Let´s see how it goes but a pity all the system working depends just on a simple widget installation. All good for you i wish. Here something went very wrong. Well… I tried to recover partition from another disk with Gparted and it was unable to continue because of an error he found. Then I tried with MinioolPartition from Windows and booting usb and impossible too. Then I went to Windows and using DiskGenius I could recover the partition after almost 2 hours and I am again in the same LMint point than yesterday. Perfect again. (Cheers! but aware of not doing what I did before) I really dont know why it happened. It was just while installing the mini app. And a last very Good new. After recovering partition with DiskGenius, Gparted now can read the disk and operate onto it. Ok. Olá equipe do Mint Cinnamon! Atualizei do 20 para o 20.1 sem nenhum problema, tranquilo mesmo, conforme opção recomendada no Gerenciador de Atualizações! Essa versão 20.1 é sensacional! Parabéns!!! Olá equipe do Mint Cinnamon! A atualização do 20 para o 20.1 foi rápida e sem nenhum problema, tranquilo mesmo, a partir o Gerenciador de Atualizações! Esta versão 20.1 é sensacional! Parabéns!!! I just upgraded, everything worked as expected, very easy to do thanks to this tutorial. Thank you so much! Works great, easy upgrade from Ulyana and helpful new features. Update is unbelievable sloooooooooow 50kb/sec and takes ages Update from 20 to 20.1 worked well using mintUpdate. But I’m missing the new functions: Web Apps Manager and Hypnotics?!? What do I need to do to get those??? Install them with the Software Manager OK I’ve Got Linux Mint Cinnamon 20.1(Edge ISO with HWE Kernel 5.8) version and have tried that out on my ASUS TUF FX505DY laptop(Ryzen 5 3550H/Radeon RX560X discrete mobile GPU) and that works fine once I edit the Grub boot to include that: nvme_core.default_ps_max_latency_us=5500 after the quiet splash entry in the Grub Boot settings(Because of that laptop’s WD Black M.2/NVM SSD’s idiosyncratic needs with Linux). So the laptop will boot into Linux Mint 20.1(HWE Kernel 5.8) “Edge” version ISO that I burned onto a USB flash drive. So I have that and a note with the nvme(Yada Yada) written down for Live USB Grub editing that I have to type in every time I boot from that live USB. But that’s OK because once I install Mint 20.1 I know how to edit the grub and make that persistent on the installed Mint 20.1(Edge variant). But that Laptop comes with A Realtek WiFi card that will not work without that out of tree Open Source WiFi Driver! But does that driver ship with the ISO or is that pulled down from the default mirror? And so I’m looking for a Linux Mint/Linux Kernel(5.8 HWE Kernel) friendly USB WiFi Dongle that I can attach to one the laptop’s USB Ports so I can get connectivity when not at home(I use Ethernet at home and that works out of the Box with the Live Mint 20.1/HWE 5.8 live USB) . But should I need to boot that ASUS laptop on the move and have WiFi connectivity with that Mint 20.1(HWE 5.8) live USB I’ll need a WiFi Dongle that works out of the box with that Mint 20.1(Kernel 5.8 HWE) Live USB and so if anyone has a WiFi Dongle recommendation that wold be appreciated I’ve currently got Mint 20.0/Kernel 5.8 and Windows 10/1909 Home installed on that ASUS laptop and am looking to replace the WD M.2/NVMe with with a Samsung M.2/NVMe and also replace the Laptop’s Realtek WiFi card with an Intel WiFi card that’s also Linux Kernel 5.8 friendly from the get go. So I’ll be re-Installing Windows 10(1909 Home edition) on the New Samsung M.2/NVMe and then Installing Mint 20.1(Edge with the 5.8 HWE Kernel) to dual boot alongside Windows 10. And I’ll be happier once the Laptop’s got a larger capacity Samsung M.2/NVMe and Intel WiFi card and it’s good times from then on with that Laptop booted into Mint 20.1 for daily usage and Windows 10 for mostly Offline(Legacy) usage for Applications that are not currently available on Linux. Hallo, schon seit vielen Linux Mint Installationen funktionier der hp Laserdrucker nicht. Es fehlen immer GUI Modules PyQt4 and PyQt5 are not installed diese sind aber in der Anwendungsverwaltung zu finden.Könnt ihr das nicht in Mint 21 einbauen ? greetz Udo Since version 20, Audacity has problems. The window isn’t redrawn, unless we resize the window. It happens either in the flathub and the repos versions. Any idea how to fix that? Btw, is it possible to update the version of Audicity in the repos? Maybe that could help with this issue. I’m now using Linux Mate 20.1 For me solution is to build from binaries. There is good instructions Updated all my Computers, all without a problem. Nice Job and thanks to LM-Team “Xed can now automatically close brackets when it’s used to edit source code.” This seems to be the default. Is there a way to turn it off? I didn’t see an appropriate key in gsettings. xed > edit > preferences > plugins > uncheck bracket completion Why must I supply a credit card number to upgrade with this method ??? Can you take a screenshot of the window, where you need to supply a credit card number? Thank you so very much for all of the work that you do on Linux Mint! I have a question though. I have used Linux Mint for years! Why do you have to do manual upgrades from like 19.3 to 20.0 or even 20.0 to 20.1 now? It used to be done through the Update Manager before Linux Mint 20.0. Thank you for your time! Is the Swap Encryption bug solved? Well, Clem, you were here some twenty minutes ago — why not answer my question, which is mightily important to me. Because perhaps Clem has a lot of questions and issues to sort out? Mint has a lot of users, inevitably some people won’t get the answers they want… But hey, keep making demands. I’m sure it’ll get you plenty of help! I don’t see “Upgrade to Linux Mint 20.1 Ulyssa” in the “Edit” menu of the Update Manager of my Mint 20. What have I done wrong? You should first get notification that a new mintupdate is available. Once you install that, the “Upgrade to Linux Mint 20.1 Ulyssa” should be available. The version of the new mintUpdate will be 5.7.3. Will it erase my data? I have dual boot, will upgradation affect on another partition? please help. Thank You! Upgrading from Mint 20 to Mint 20.1 will not erase your data. I have dual boot as well and i had no issues. You should nevertheless make a snapshot with timeshift. Better safe than sorry. Update from 20 to 20.1 went fine. One problem. My android phone is not showing up in filemanager . It is recognized with command lusb. Is this a problem in Nemo ? Hi ! Great work from the Mint team ! Just a small issue, the generic driver of my Brother printer is added automatically, even if I installed the specifci driver directly from the Brother website. Is there a way to avoid or to remove definitively this generic driver ? Nicolas Just upgraded went super. What about Gnucash and updating? Gnucash said to upgrade from update manager but I don’t see anything. Thanks again for your work !! So, I have upgraded from 20 to 20.1. I have had problems using a second display (a TV). I have not had a problem using a second display (including my TV) for many LM versions.. I am running Cinnamon. This is a new problem!!! I am running a 14″ HP laptop. AMD E2-7110 APU with AMD Radeon R2 Graphics × 4 For example, when I click “Apply”, I get the error Failed to apply configuration GDBus.Error.org.freedesktop.Dbus.Error.ServiceUnknown The name org.cinnamon.SettingsDaemon.XRANDR_2 was not provide by any service files Help! Questions? Drop me a note! That’s fixed in cinnamon-settings-daemon 4.8.4. SOOO, my computer is up-to-date using mintupdate. I just ran it again!! I also ran apt-get update and apt-get upgrade and nothing changed. David is correct concerning “Cinnamon Settings Daemon – xrandr” — it says /usr/lib/x86_64-linux-gnu/cinnamon-settings-daemon/csd-xrandr. Clem! It was not fixed (or something). I have changed it as David suggested — and we will see if that fixes my problem So now everything is working with my display. I can display on my TV Did an update occur?? I do not know…. Clem was correct! There was a symbolic link for xrandr from /usr/lib/x86_64-linux-gnu/cinnamon-settings-daemon/csd-xrandr to usr/libexec/csd-xrandr With Luks encrypted partition, boot is stuck till I go to recovery mode and boot. I’m a loyal user of linux mint from 14 onwards. First time I faced an issue with an upgrade. Hope to get it fixed asap. Eager to upgrade to 20.1 This worked fine in 20 and you’re stuck after upgrading to 20.1? Note that Linux Mint has one large gaping security hole: its swap partition is unencrypted, even if you have an encrypted home directory. It’s worse: this security issue is actively being glossed over. Hi, It’s reported upstream at. Note that it has nothing to do with home directory encryption and that by default it’s a file not a partition. Other than swap you’re also exposed to temporary files. To fully secure the OS you need to use full disk encryption, not home directory encryption. bjd_pfq, any proof that this “security issue” is being actively glossed over? Hi Clem, Yes. It worked in 20, but not working in 20.1 Changing GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” to GRUB_CMDLINE_LINUX_DEFAULT=”” worked but shows the terminal logs instead of splash screen. Also password is prompting in the terminal instead of the old nice password box. I upgraded now now working, but love to see the splash screen back Hi, seconds don’t count until restart cinnamon and this happens every 2 minutes even don’t work with my Linux Linux mint 20.1 sucks how can I revert everything ? To find the cause: ~/.xsession-errors, or run Cinnamon from terminal “cinnamon –replace”. To revert everything: Restore your timeshift backup. I upload my error file ~/.xsession-errors here: it expires after 29 days from 2021-01-16 Are you at risk of the system becoming unstable with this update? Will the DE varient of 20.1 follow too? The cinnemon version is solid for me so far. Loving this update! After upgrade from 20 to 20.1, my scanner is asking for root authentication. Hi, thanks for the upgrade, but I’ve faced with an issue: Default repository is extremely slow for me (less than 10kb/s) but when I’ve tried to use mirrors the updater reset them to defaults. I’ve tried three times with different mirrors without any luck – every time it switched to the default source. So here few troubles: 1. Updater does not warn about slow repository and start upgrade anyway. It’s better to test connection beforehand and warn user if speed is too slow. 2. Updater ignores exist mirrors and use defaults. In my case upgrade become really dangerous and failed several times. 1. as an immediate workaround, you may edit /etc/apt/sources.list.d/official-package-repositories.list manually. Just change the domain name and leave the other parts of the line untouched. 2. How do you run the Software Sources, and does it ask you for password at some point? It needs root rights to make changes in the above file. Are you included in the “sudo” group? (The first user registered is included by default, the others don’t.) Try running it from console, it should as for the password immediately. 3. In any case, the upgrade is not dangerous. If a download fails, it will upgrade whatever it can and leave the failed packages for the next attempt. Hi iourine, Thank you for your reply. Yes, I’m able to modify /etc/apt/sources.list.d/official-package-repositories.list using “Software Sources” tool providing my password. The issue that the upgrade tool change my mirrors to default values. This is my default official-package-repositories.list: deb ulyana main upstream import backport deb focal main restricted universe multiverse deb focal-updates main restricted universe multiverse deb focal-backports main restricted universe multiverse deb focal-security main restricted universe multiverse deb focal partner After I change it using “Software Sources” tool: deb ulyana main upstream import backport deb focal main restricted universe multiverse deb focal-updates main restricted universe multiverse deb focal-backports main restricted universe multiverse deb focal-security main restricted universe multiverse deb focal partner But when I run upgrade it has been modified such way: deb ulyssa main upstream import backport #id:linuxmint_main deb focal main restricted universe multiverse deb focal-updates main restricted universe multiverse deb focal-backports main restricted universe multiverse deb focal-security main restricted universe multiverse deb focal partner Fortunately this time packages.linuxmint.com were quite fast and upgrade were successful. But this looks like a bug to me. Hi Vladimir, Maybe you didn’t “Update the cache” after making the change? Surely, the upgrade script switches the repositories to the defaults for the new version, because it has now idea of what you are, what your preferred mirrors are, and is the new verion already available at these mirrors. The idea was to switch repositories manually and then do the upgrade as ordinary upgrade of packages (apt update, apt upgrade). This is not the 100% correct way, but in this particular case it works ok. Sorry for damned T9. “…no idea of where you are…” Had to install 20.0 onto a new partition – Word of advice, updating from 19 to 20 after you’ve manually altered several system files trying to get a computer game to work can have a negative effect on your upgrade! In my case, upgrading absolutely ruined the OS. Thankfully, Timeshift and a Live CD (the Mint 20 media I created) made light work of my error. 20.1 is working great. Like many others I’ve also noticed this slight flicker when logging in before my desktop appears. I didn’t consider it a bug, since it has no bearing on the operation of my OS a second later. Clem, you work wonders! Glad all that “nonsense” with Snapd (and the clueless attention seeking fools on YouTube) didn’t drag you down <3 Clem, a few minor bugs after upgrade to 20.1: 1. The Window List and Show Desktop applets did fail (both simultaneously) a few times during these days, and required restarting them. After restart, they run smoothly again. But there were no such failures in the previous versions. There is an error in the system log apparently related to this: “The program ‘wnck-applet’ received an X Window System error…. The error was ‘BadPixmap (invalid Pixmap parameter)’. (Details: serial 454584 error_code 4 request_code 54 (core protocol) minor_code 0)” “kernel: traps: wnck-applet[1796] trap int3 ip:7f218359b0d5 sp:7ffdf4e9a920 error:0 in libglib-2.0.so.0.6400.3[7f218355f000+84000]” 2. There are warnings in the system journal: “Configuration file /etc/udev/rules.d/40-libsane.rules is marked executable…” “Configuration file /etc/udev/rules.d/S99-2000S1.rules is marked executable….” plus a few more errors and warnings in the said files and in 51-android.rules Probably this has something to do with the complaints above about scanning problems. The two files mentioned above are both new, of the date of upgrade. Changing their rights to 644 makes no visible effect, scanning does work, only the warnings do not appear anymore. In my case (with hplip) scanning works in both cases, however logs an error “simple-scan[7604]: common/utils.c 212: unable to load library libm.so: /lib/x86_64-linux-gnu/libm.so: wrong ELF header” and a lot of “simple-scan[7604]: bb_marvell.c 1311: unable to read data size=667440 hp:/usb/HP_LaserJet_Professional_M1132_MFP…” Hi, Is there any possibility issues existing concerning not recognizing built-in Belgian Azerty keyboard (Dutch, no numeric keyboard aside). Only Qwerty on screen keyboard is working. Last 2 weeks spending a lot of time trying to find a solution on Mint and Ubuntu fora, but still unsuccessful. Did the LM 20.1 upgrade, still without success… My system: LM 20.1 Cinnamon 4.8.6, kernel 5.8.0-38 generic 11th gen Intel Core i5-1135G7 Graphics: intel Corp device 9a49 Thx a lot! Tomas Is anyone else having Youtube video play issues on the Edge Kernel Release of Mint as I’m currently on Mint 20 ad using the new Edge Kernel 5.8.0-38 and in Firefox Performance settings I have to make sure that any hardware acceleration is disabled! I’m on FF 84.0.1. 1. Upgraded from Mint 20 to 20.1. Everything SEEMED to go like previous upgrades, right up to rebooting… BLACK SCREEN! Argh, this is the first Mint upgrade to do anything strange. Then my laptop battery decided it was too old, PUFFED itself up and popped my laptop’s bottom casing off. So, had to wait for new laptop battery to come in, which came in today. I have utterly ZERO IDEA as to why it gives me the black screen. I have decided now was as good a time to add the second m.2 NVME gumstick drive in, and convert the original m.2 NVME drive to strictly a multi-boot drive (was already a multi-boot drive, but this time that old 512GB will only be used for OS’s partitions and timeshift’s partition and winSlop’s 3 partitions…), with the new one being strictly for general file storage. —— 2. Installed a fresh copy of Mint 20.1 into my new config on the old 512GM m.2, ran into a problem I keep forgetting to ask about, the problem is with the CLOCK/CALENDAR/LOCATION settings during the fresh install. I can type in either FARGO (and get FARGO North Dakota listed) MOORHEAD (and get MOORHEAD Minnesota listed) however when I go to click on either one to set my location and time properly, Mint REFUSES… so I end up setting it for Rainy_River (hundreds of miles away) instead Both cities are in obviously in there as I can see them, so why can’t we select them? 3. Screen brightness that I manually set is not staying set, each time I reboot I have to manually reset the brightness level back down to where I need it. 1. Did you find the battery dead right after reboot? Did the upgrade end with a message about successful completion? I can guess that the battery died at the end of the upgrade process, and you were unlucky enough to be writing the crtitical files and disk areas (kernel, initram, grub) at that time. If so, it is not a Mint issue, it is purely hardware problem. In this case, once the new battery comes in, boot from LiveCD/USB and do fsck on your partition first; chances are that it will restore your previous setup to a working state. (Not very high, however.) More likely, you will have to chroot into your partition (see instruction e.g. at askubuntu.com) and reinstall grub from there. Hallo bei mir hat upgrade funktioniert (von 20 auf 20.1) alles funktioniert normal Lenovo Notebook ideapad Y580 (ca 8 Jahre alt) Bin neu in der Linux Welt (kein update auf update und einige Neustart wie bei Microsoft) finde ich sehr gut Danke an das Linux Team ihr macht gute arbeit. Thanks! Upgrade went smoothly and as outlined. Appreciate the guide. it’s Very buggy please fix cinnamon numbers don’t count until restart cinnamon and this happens every 2 minutes even don’t work with my Linux I upload my error file ~/.xsession-errors here: it expires after 29 days from 2021-01-16 Danial, Looking at your logs here you’re using a lot of 3rd party applets and desklets. I also noticed you’re running shutter.. which no longer is present in Mint 20. You can use Settings -> Applets/Desklets/Extensions to make sure everything is up to date first. I’d also recommend removing all 3rd party xlets and re-enabling them one by one until you find out which one is causing problems. Then when you know which one it is, tell us and we can look into it more in details. Regarding shutter, same thing, disable it for a little while to make sure it’s not responsible for this. I somehow screwed up my new MiniBox Mini 2 Pro op system. I’ve written Compulab for help but have not received any helpful replies (I’m stuck in the auto-relpy system). How do I reset or wipe out whatever damage I’ve done and reload the original system? I need a way to reboot and reload to get back to square one. Is there a way to force booting from a usb or some such? Hi Ron, Yes, via the BIOS. I can’t remember which exact key it is for the Mini 2 Pro… it’s usually one of these: Esc, Del, F1, F2, F10, F11 or F12. Press them during the boot to access the BIOS. From there you can override the boot sequence to boot from the USB stick. Once in the live session use boot-repair to repair the boot, or timeshift to access your snapshots and restore the OS. Please have a look at the automount-problems when inserting a 1TB usb-device: Most of the times when I insert an NTFS-drive of 1TB a crash happens. When I insert an ext4 1TB-drive, then a warning is issued to run e2fsck, but the drive has no errors at all. Ich bekomme eine Fehlermeldung: “Das Depot » ulyana Release« enthält keine Release-Datei.” Ein Upgrade funktioniert nicht. Hat jemand einen Tipp? Seppl Erstens, ein update, ein upgrade und ein download sind nicht das Gleiche, da musst Du dich schlau machen. Das Ubuntu -Archiv stellt einen download-link bereit. Wenn Du Hilfe suchst, solltest Du mitteilen, was zurzeit auf dem computer installiert ist. Siehe; Hi, I am very happy cause finally I can make CanonLide 70 run. It works very good with Xsane. After modifying the paper size and some other things it fully scan A4 perfect and clear. 150 pp is good too, but 300 is great and above equal brilliant. Great software to change Gamma, colors and bright before scanning. Great. I did the following procedure, though before this i installed via Wine the windows driver, and i don know if it affects positivelly the installation or not. (I could install the CanoScan Toolbox Ver5.0 just unzipping the canon software tool for this scanner and running the CSTBox.exe). The procedure after that was this: sudo apt update sudo apt install sane-utils libusb-dev usbutils Ad then it was recognized lsusb | grep ’04a9′ from this page: The best thing is that scanner does not start moving nor making any noise before you go to Xsane and click Scan. Perfect. Well. CSTBox.exe from CanoScan Toolbox Ver5.0 seemed to work but… not. TWAIN source not detected and scanner unabe to start from this Windows programm. It fully works with XSane, although I put Gamma to 1.0, Bright to 15 and Contrast to 40, cause there appeared some shadows that were coming deeper from left to right side of the scanned image. With this levels it scan nice all A4 through. I was scanning in grey scale. Now in coor things are different. I have to look for the best results cause increasing brignt and contrast changes original color. The right side of image is a little darker all the way through, like a band… Well, the person who still have an ancient scanner like this can enjoy playing the game. I stop this now. The rest in my system works perfect. i have lm 19.3 64 bit and i do not see up grade to mint 20.1 when I go to edit. You need to upgrade to Mint 20 first. You cannot skip any intermediate release. Work perfectly, really enjoy this upgrade, now if you could work on “wine” to easily execute Window programs that would be assume. Hypnotix bug? I added some providers and I can’t edit, nor delete them. I can’t edit or delete entries either. You can go into ~/home/username/.hypnotix/providers and edit these files by hand but it’s kind of a nightmare wading through thousands of entries in a text editor to weed out the ones you do/don’t want. I’ll be happy when the gui editor is working. Sorry for late response to the awsome support from the Linux Mint Community. It’s all good and the lastest firmware and driver updates have fixed lot’s of issues. One step at a time ! System re install and the latest updates that come through and the open honest communications from the end user’s is important to make the linux operating system the best it can be ! From A to Z and all point’s in between. To the Linux Mint Team Thank You ! To the Ubuntu Team ! Thank You ! The linux Kernel Team ! Thank you ! and the Open Source of Software Developers you all Rock ! ! ! ! Can I upgrade from 20 to 20.1 using the update manager if I have a separate DATA partition ()? Or should I just do a clean install (ref item 6 in)??? (The reason I setup the separate DATA partition for 20 is…”Makes re-installions, upgrades and switching distros or desktop environments easier. Just replace the root partition and link back to the untouched data partition — no need to copy all of your data back on after installation.” (These two web pages seem to contradict each other.) If by data partition you mean a home partition, it should make no difference when you upgrade. The easy linux tips author just sees no reason to have a separate partition. I have a home partition and upgrading went smoothly. You should backup your root fileaystem and save, e.g., the configuration of the weather applet (if you use it) somehere. That’s it. This update is not a new installation. The basics like the kernel and the Ubuntu base software is kept. Some new versions of applications (like cinnamon) or new applications (like hypnotix) are installed.In your case and after a backup of the root filesystem you are pretty safe against a broken system. Can we upgrade in place from LMDE 4 to 20.1? Or is Boot and Nuke still the answer? They’re different distributions. You cannot upgrade from LMDE 4 to Mint 20.1. They both have the latest features and Cinnamon desktops though. Hi Clem: I am an uptight computer perfectionist. Accordingly I always upgrade to the latest version of the kernel. Nevertheless I am curious as to why the kernel is updated so frequently. What sort of changes are typically made? Thanks. Yesterday I answered ‘no’ when prompted in Update Manager to upgrade to LM 20.1. Now Upgrade Manager doesn’t even give me the option to upgrade to 20.1, the only choices in the Edit menu are Preferences, System Snapshot, and Software Sources. I’d rather use Upgrade Manager gui for this upgrade. Is there a way to get the choice back in the upgrade mgr? I do not remember ever say no to the upgrade, but I still am not getting the choice to upgrade. Hi all, Upgrade is ok unless I test the printer. My Canon MG8150 jobs are held. In Cups () I see the msg “”cannot load library” (same pb on usb) Any idea/advice ? No 20.1 is showing in the update manager. I have version 5.7.3 of mint update. This is what my system shows is installed: $ hostnamectl Static hostname: phillip-Alienware-17 Icon name: computer-laptop Chassis: laptop Machine ID: b76cc7b1bbdc489e93909d2043031de8 Boot ID: feddc2edb48842b98345a0de88f35c41 Operating System: Linux Mint 20 Kernel: Linux 5.4.0-64-generic Architecture: x86-64 I am a bit hesitant to use usrmerge as it appears to be a Fedora product. I have the same problem mint update and mint upgrade are not the latest versions and no matter how many mirrors I try it makes no difference. it’s what happens to me repeatedly after upgrading my Linux Mint to cinnamon: 1. Clock freeze 2. desktop freeze and all icon disappear when I move the mouse on them 3. I have to show my desktop and then right-click and open a new terminal then all icons back but still, the clock is freeze 4. so I restart cinnamon and now everything works 5. after a few minutes then all previous steps happens I recorded a video to show the above steps: I upload my error file ~/.xsession-errors here: And also I removed out of date applets and not solve my problem Please Help!!! Please use the help-forums for solving problems. The blog is intended to announce news, information and feedback. Hi during the update the configuration of the weather applet was deleted and reset to the default, i.e. the wrong location, the wrong metrics (Fahrenheit, etc.). Be sure to save the settings somewhere I updated using the advice of Clem and my Linux 20.0 had Google Chrome, Google Chromium, Brave, Opera and Firefox. I also installed the new version of Linux 20.1 in my other laptop and the 2 laps run identical. I am so happy there were no problems. I was going to make a clean install. Does not actually save any time. Since the backup takes a long time. The New Linux 20.1 runs great. Thank You When can we expect the 19.3 to 20.1 upgrade, please? You have to follow the sequence: Upgrade 19.3 to 20, and then update 20 to 20.1. You cannot skip releases. hello I’ve upgraded successfully. I’m new to linux and i like it. If i get music bee to work on linux, i wont be switching to windows all the time.# Hello, I’m using Linuxmint 20 Ulyana. When I go to Update Manager -> Edit -> then click on “Upgrade to LinuxMint 20.1 Ulyssa”, the ‘choice’ disappears, but then nothing happens. Can you please help ? Thanks. Hi, Can anynone tell me what is the size of the update for Mint 20 xfce? Cheers. I was following the “Mint v19.3 to v20” upgrade guide (), but got to the point where the command ‘mintupgrade download’ should have been issued, but I was tracking down all the stuff that had been returned after conducting a 1st step ‘mintupgrade check’ cleanup. And, issued a ‘sudo apt upgrade’ instead. The upgrade seems to have been properly conducted, but before I reboot, I want to know if you would explain the abilities of the ‘mintupgrade’ command better? I don’t seem to be able to find it out here, from userland. The concern that I have involves the loss of performance that I’ve ended up with, after having conducted an similar update after conducting a ‘Ubuntu v20.04 to v20.10’ on a primary SSD partition (). As ‘Ivan says’ () “after some further investigations about the upgrade process is that the display driver wont be changed itself.” My system says I can upgrade to Linux Mint 19.3 Tricia. I presume that I should do that first before upgrading to 20.1 (Cinnamon) I’m a noobie. Do I have to upgrade? Do I have to upgrade before Mint Cinnamon version 21? What do you guys recommend? Thanks for a wonderful computer system. Morten Hi Morten: You never have to upgrade. However, you must upgrade to 19.3 before getting any later versions. I am sticking with 19.3 until version 20.3 becomes available (I am a dot three strategy person). Mint 20.1 – I have an nvidia card and an UHD 630 igp. I use Nvidia Prime to switch between Nvidia and Intel. Occasionally I boot the system without an active monitor (I share a monitor with my laptop and sometimes have it switched to the laptop) when this happens I lose Nvidia Prime and the NViida card and don’t know how to get them back. When this happens when I run nvidia-prime I get the msg: ‘ Aborting: prime not supported – is this a prime laptop and do you have nvidia drivers installed?’. At this point I have to do a system restore .. very inconvenient. Any Ideas? Ran the upgrade install today. Simple, quick, and easy. No reconfiguration trouble. Thought it would break my Kodi build (Xanax) – but no,all is well. Thanks so much – J.D. Intel© Core™ i5-2300 CPU @ 2.80GHz × 4 and GeForce GTX 750 Ti Can I run LM20.1 on Intel i5 Yes, why not ? Hi everyone, I am running Linux 20.1 Cinnamon and I have a strange behavior at login after a shutdown: The default background picture appears briefly, then my own selected picture is shown upside down. After signing it is turned back to normal and everything works as it should. Not very bothering but I do not know how to correct this. My pc loves new OS, it moves fast, last time try linux mint 4 years ago, was not ready, now on 24 cores, 64gb ram, running heavy loads on multiple VM on Vmware workstation its amazing, even cinebench in wine give me 260 more cpu points than win 10. Love my new linux pc. Thank you linux mint team. O.K This is something that could be important ? I’ve got Linux Mint 20.1 installed on two computers and one full install on usb boot. The generic system boot after 20 seconds does up system update ? looking for updates, then states system is up to date when it is not up to date ! If you hit update refresh after that theres updates that the update manager does not pick up on, Why ? Kernel, Software and security updates all mist ? If the update manager does not do an update refresh first then all critcal up dates are all all mist ? including system upgrades ! Cheers, I think this needs to fixed. NUM NUTT I noticed the same behaviour. I went into the “Edit/preferences” and changed “First refresh the list of updates ” from 10 minutes to 1 minute”, then rebooted, which is not quite the fix you asked for but they do then appear after a minute Just noticed you can set it to 0 minutes, that may be the solution! Upgraded my Dell M5040, a very slow laptop, from LM20 to LM20.1. Only took 25 minutes. Easy, no problems, well impressed. Hi everyone, I’ve got a strange problem: The network manager is crashed, I reboot it, but nothing happened. Can I reinstall the network manager without internet? Or must I reinstall the whole system? Has anyone a idea? I use Linux Mint 20.0 and want upgrade it to 20.1. To work with multiple documents I regularly use a second monitor. It appears that often new windows are automatically opened on the second screen in stead of on the primary screen, while I don’t want them there. This behaviour seems to be more or less random and is not practical. For the rest I am very pleased with version 20.1. I use Linux for my activities at Denver Group Limited. It has really helped me and I hope the new update will be much better. Thank you guys HI. I like the windows effects, but the demaximisation zoom effect is not working…. Is there one solution to correct this issue ? I wanted nothing more than to ditch Microsoft Windows 10 and its irritating forced updates (which constantly interfere with my workflow). So, I tried your Linux Mint 20.1 Cinnamon edition in the hope of finding a real alternative. I also have a few old Windows 7 machines that I had hoped to switch over to Linux if this experiment worked out. Unfortunately, it didn’t. The particular laptop I installed Mint on is a circa 2016 model of the Dell 15 3552, which originally came packaged with Windows 10 out of the box. The machine is an economical model, which sold in the hundreds of thousands, if not millions, all over the globe. Everything about it is standard. So, the OS should have worked in every respect. It didn’t. The brightness control buttons were the first thing to not operate properly. There was also no easily accessible slider or anything else to control screen brightness. That was the deficiency I discovered, but the default screen was so dark that I couldn’t easily work with the machine at all. There may be a lot more defects in Mint 20.1 than I found. Based on the defect on such a basic function, there probably are many more defects. If I were a hacker-type guy, who fixes computers for a living, or simply likes to play with computers for fun, maybe I wouldn’t mind endlessly trying to download supplemental software to cure the fundamental deficiencies of the OS. However, consuming lots of hours figuring out how to compensate for deficiencies is not for me. A layman using computers in a non-computer related field (for work) and for watching videos and photos (for pleasure), Linux Mint 20.1 needs something that simply works, like MS Windows does. Unfortunately, this version of Mint (and, I suspect, all other versions of Linux) is quite user unfriendly. Regular users like myself have no choice but to return to MS Windows. I didn’t want to, but I cannot afford to spend countless hours playing with an operating system in the hope of making it work. If it does not work, out of the box, it is not something I can use. Until you make this OS operate properly, from the getgo, you will stay hemmed in, corralled into a tiny corner of the market. You stand no chance against Windows in the marketplace, even if continue to price your product at $0.00. That’s because time is money, and the amount of time required to make this OS work is very costly. On the other end, if you ever did manage to get this thing to work properly, you could provide a demo, and then sell it to people like me who are fed up with Microsoft. But, right now, nothing is going to get this OS onto my system, or the systems of 99.9% of other computer users. It simply doesn’t work for the average Joe. I hate to be so negative, but it’s the truth… I’m not a pro whatsoever, but I saw your post. I jumped from Win10 completely to Mint18.4 for the same reasons and much more. I’m sorry your experience was poor, as mine was surprisingly smooth and successful – so much so, that I bought a second, more powerful PC at a great price and installed Mint after I nuked Win10 before ever booting up. I may, of course, have simply been lucky. Note please that I am not dual booting. The Widows based programs I still need run in Win7 in a Virtual machine. I have had rather less luck with WINE. There are things I miss, but nothing I cant easily work around. I’m glad I could finally make the jump – Would Recommend. Try Menu (bottom far left)/All Applications/Applets/Brightness and Gamma Applet. Use Download then Manage. Hope it works for you. Did you ever try F12 to increase brightness? Not saying it would have worked, but according to the manual, that is a keyboard shortcut for increasing brightness on that machine. And if it doesn’t work, try Fn+F12 depending on the state of the Fn key lock. Have you installed it onto the actual laptop or have you installed it onto a virtualbox USB-Abbilderstellung is missing in 20.1. Upgraded a Dell Optiplex 780 from 20.0 to 20.1 Mate No problems.Works just fine. I have tried quite a few distros and this one is by far the best. Worked like a charm. I still do not have the update option appearing under edit. My mintupdate is still only 5.7.2 which it says is the latest version (i.e. not 5.7.3 or higher as indicated here) and my mint-upgrade-info is only 1.1.6 which it says is the latest (i.e. not 1.1.7 or higher as indicated here ). I have tried more than 1/2 dozen mirrors in 3 different countries, NOTHING. Any suggestion? Worked well and run properly. Did a clean install of LM20.0 on a 2010 vintage HP desktop in anticipation of using the latest version of the OS for some years to come. Originally installed LM19.3 as a test run as I needed a 64 bit machine to use a new astronomy app. (Existing desktop is only 32 bit running LM17.3 Rosa quite successfully for past several years). On the 2010 machine, every so often the screen display suddenly gets corrupted and the 64 bit machine freezes. Powering off is the only option. Hoped LM20.0 might have resolved the issue but sadly not. Used the update link last week to update to LM20.1. All went well. No issues during update. However the screen distortion/PC freezing issue remains. Think it relates to display issues but not 100% certain. Have now found a download of LM17.3 for 64 bit machines, so may bite the bullet and wipe LM20.1 and try the earlier version and see if it behaves on that PC. Hi I have just started using linux mint however i have used other distros like ubuntu. Can someone please tell me how I would be able to check what system version I am currently on. I am on linux mint as mentioned above and would like to update to the new version James, menu > system reports > system information Hello! How can I best switch from Linux Mint Cinnamon 20 to Linux Mint Xfce 20.1? I ask this same two questions I have asked before, I was ready to send a check, until we discovered two issues with Mint 20, Libre Office will not print more than one copy. Chirp a HAM Radio software that comes with Linux will not work in Mint 20. Have these problems been corrected? upgraded to 19.3 mint to upgrade to 20.1. the new “system report” apt in 19.3 started pointing me to a upgrade to 20.1 and i was always directed to this page. I never saw the upgrade to 20.1 in the Edit drop down menu in update manager. After several refreshes and tries in the update manager i lost the ability to get in to the repository’s but did manage to set them to default as in instructed.Lost local mirror option too. ” ‘ (5.7.3 or higher) and mint-upgrade-info (1.1.7 or higher) and restart the Update Manager by launching it again from the applications menu.” “Everything checks out there. “If the latest versions of mintupdate and mint-upgrade-info are not yet available in your mirrors, switch to the default repositories.”” Been there done that. No upgrade for me. Thanks in advance if you could help. worked perfect thanks Excuse me, i’am new on linux, Will updating erase all data? Like reinstalling? i have only 20gb storage on my dualboot linux, which 4gbs left. Is it enough to create all backup from my storage? Not a walk in the park. Even with a good cable connection this will take 75 minutes. It will take you less time to d/l the 20.0 ISO, burn it to a USB stick, and then install from that. Do NOT do this if you also already have Linux on another HDD hooked up in the same machine — It may bork both your install’s — I was stuck with Grub Rescue> on both installs Please take note my HP laserjet 1018 printer is not working since I upgraded my OS to Linux Mint 20.1. Kindly suggest me ways to solve this problem. How upgrade Linux Mint 17.3 Rosa 64 bit to Linux Mint 20.2 Uma 64 bit? Hi Oleg, 17.3 ended support in 2019. It’s still possible to upgrade it but it’s going to be extremely tedious. I would recommend to backup your data and proceed with a fresh installation. Here’s however the steps involved in upgrading it: – Upgrade to 18: – Then to 18.3: – Then to 19: – Then to 19.3: – Then to 20: – Then to 20.2: Note that point upgrades (from 18 to 18.3, 19 to 19.3, 20 to 20.2) are fast and relatively simple. Full upgrades (to 18, 19, 20) are much more complex. Linux Mint 19.x releases are supported until April 2023. Linux Mint 20.x releases are supported until April 2025. The user guide and the FAQ page were updated to add this information.
https://blog.linuxmint.com/?p=4020&replytocom=235257
CC-MAIN-2021-43
refinedweb
20,319
76.22
Subject: [boost] [config] Macro for initializer-list literals? From: Peter Dimov (lists_at_[hidden]) Date: 2014-08-09 05:23:34 We have BOOST_NO_CXX11_HDR_INITIALIZER_LIST, which tells us whether we can #include <initializer_list> and use std::initializer_list; we also have BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX, which tells us whether we can use X{ 1, 2 }, or X x{ 1, 2}. But we don't have a macro that tells us whether this: struct X { int a, b; }; void f( X x ) { } int main() { f( { 1, 2 } ); } is supported. This is a problem for because the test is guarded by BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX: and this macro is not set for Intel 13.1 in C++0x mode. Presumably the compiler allows braced initialization, but not braced literals. Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk
https://lists.boost.org/Archives/boost/2014/08/215995.php
CC-MAIN-2022-21
refinedweb
140
67.35
/* * Apple Onboard Audio definitions * * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> * * GPL v2, can be found in COPYING. */ #ifndef __AOA_H #define __AOA_H #include <asm/prom.h> #include <linux/module.h> #include <sound/core.h> #include <sound/asound.h> #include <sound/control.h> #include "aoa-gpio.h" #include "soundbus/soundbus.h" #define MAX_CODEC_NAME_LEN 32 struct aoa_codec { char name[MAX_CODEC_NAME_LEN]; struct module *owner; /* called when the fabric wants to init this codec. * Do alsa card manipulations from here. */ int (*init)(struct aoa_codec *codec); /* called when the fabric is done with the codec. * The alsa card will be cleaned up so don't bother. */ void (*exit)(struct aoa_codec *codec); /* May be NULL, but can be used by the fabric. * Refcounting is the codec driver's responsibility */ struct device_node *node; /* assigned by fabric before init() is called, points * to the soundbus device. Cannot be NULL. */ struct soundbus_dev *soundbus_dev; /* assigned by the fabric before init() is called, points * to the fabric's gpio runtime record for the relevant * device. */ struct gpio_runtime *gpio; /* assigned by the fabric before init() is called, contains * a codec specific bitmask of what outputs and inputs are * actually connected */ u32 connected; /* data the fabric can associate with this structure */ void *fabric_data; /* private! */ struct list_head list; struct aoa_fabric *fabric; }; /* return 0 on success */ extern int aoa_codec_register(struct aoa_codec *codec); extern void aoa_codec_unregister(struct aoa_codec *codec); #define MAX_LAYOUT_NAME_LEN 32 struct aoa_fabric { char name[MAX_LAYOUT_NAME_LEN]; struct module *owner; /* once codecs register, they are passed here after. * They are of course not initialised, since the * fabric is responsible for initialising some fields * in the codec structure! */ int (*found_codec)(struct aoa_codec *codec); /* called for each codec when it is removed, * also in the case that aoa_fabric_unregister * is called and all codecs are removed * from this fabric. * Also called if found_codec returned 0 but * the codec couldn't initialise. */ void (*remove_codec)(struct aoa_codec *codec); /* If found_codec returned 0, and the codec * could be initialised, this is called. */ void (*attached_codec)(struct aoa_codec *codec); }; /* return 0 on success, -EEXIST if another fabric is * registered, -EALREADY if the same fabric is registered. * Passing NULL can be used to test for the presence * of another fabric, if -EALREADY is returned there is * no other fabric present. * In the case that the function returns -EALREADY * and the fabric passed is not NULL, all codecs * that are not assigned yet are passed to the fabric * again for reconsideration. */ extern int aoa_fabric_register(struct aoa_fabric *fabric, struct device *dev); /* it is vital to call this when the fabric exits! * When calling, the remove_codec will be called * for all codecs, unless it is NULL. */ extern void aoa_fabric_unregister(struct aoa_fabric *fabric); /* if for some reason you want to get rid of a codec * before the fabric is removed, use this. * Note that remove_codec is called for it! */ extern void aoa_fabric_unlink_codec(struct aoa_codec *codec); /* alsa help methods */ struct aoa_card { struct snd_card *alsa_card; }; extern int aoa_snd_device_new(snd_device_type_t type, void * device_data, struct snd_device_ops * ops); extern struct snd_card *aoa_get_card(void); extern int aoa_snd_ctl_add(struct snd_kcontrol* control); /* GPIO stuff */ extern struct gpio_methods *pmf_gpio_methods; extern struct gpio_methods *ftr_gpio_methods; /* extern struct gpio_methods *map_gpio_methods; */ #endif /* __AOA_H */
http://alsa-driver.sourcearchive.com/documentation/1.0.21plus-pdfsg-2.1/alsa-kernel_2aoa_2aoa_8h-source.html
CC-MAIN-2017-51
refinedweb
511
55.84
- ×Show All ;-) Resources.) Documentation First of all: look at the examples and read the source ;-). This might give you a feeling of how stuff works and you can see how some patterns can be implemented. Abstract First of all you want to include the skrollr.min.jsfile at the bottom of your document (right before the closing </body>) and then call skrollr.init(). Or you can place it inside the <head>if you want to, but make sure to call init()once the document has been loaded (e.g. jQuery's readyeventattribute.starting at #00fwhen the scrollbar is at the top and ending with #f00when the user scrolled 500 pixels down <div data-WOOOT</div> Lessons time <div data-WOOOT</div> Lessons learned - Skrollr handles all these nasty CSS prefixes for you. Just -moz-relax and get yourself a cup of -webkit-coffee. Now let the rotation bounce like it were a hip-hop video <div data-WOOOT</div> Lessonsas a keyframe position is kind of random and the look depends on your browser size. Let's have the animation end when the top of the element reaches the top of the viewport (element leaves the viewport) <div data-WOOOT</div> Lessons learned That's the end of this short intro. The following sections will explain some more things in detail. If you're not a fan of data-attributesor if you're planning a big website where you want a better and more flexible structure, take a look at skrollr-stylesheets. Mobile support Starting with version 0.5.0 skrollr officially supports mobile browsers including Android and iOS. Furthermore, mobile support has been rewritten from scratch for skrollr 0.6.0. Theelement) using CSS transforms. Whatis when using position:fixedexclusively. In fact, the skrollr website doesn't include a #skrollr-bodyelement. If you need both fixed and non-fixed (i.e. static) elements, put the static ones inside the #skrollr-bodyelement. Or to put it differently: On mobile the skrollr-bodyelement is moved using CSS transforms. You can't have position:fixedor background-attachment:fixedinside elements which use CSS transforms as per CSS spec (). That's why those elements need to be outside of the skrollr-bodyelement. The skrollr-bodyelement might be configured within the init-options. AMD Starting with 0.6.22there's experimental AMD support. Please note that only skrollr core has AMD support so far. We will update the plugins in the future. require(['skrollr'], function(skrollr){ skrollr.init(); }); Absolute vs relative mode Being only able to define key frames in absolute values is simply insufficient for some cases. For example, if you don't know exactly where an element will be in the document. That's why there are two modes for key frames, namely absoluteand relativemode. absolute mode (or document mode) The key frames are defined as absolute values describing how much the document has been scrolled down. The syntax is data-[offset]-[anchor], where offsetcan be any integer (0 is default) and anchorcan be either start(default) or end. Either offsetor anchorcan) Instead of defining key frames relative to the document (i.e. absolute), we are able to define them depending on the position of any element in relation to the viewport. The syntax is data-[offset]-(viewport-anchor)-[element-anchor], where offsetcan again be any integer and defaults to 0. Both viewport-anchor(mandatory) and element-anchor(optional) can be one of top, centeror bottom. If element-anchoris omitted, the value of viewport-anchorwillattribute can be used in these cases. The data-anchor-targetattribute accepts any CSS selector and the position of the first element on the page matching the selector will be used to trigger keyframes on the element where the attribute is defined. data-anchor-targetrequiresorto getElementById. Here's an infographic for better understanding of anchors (click to open PDF): Important: All those values will be calculated up-front and transformed to absolutemode. So if either the element's box height changes (height, padding, border) or the elements position within the document, you probably need to call refresh()(see documentation in JavaScript section below). Window resizing is handled by skrollr. Percentage offsets All offsets shown above are given in absolute pixel values, e.g. data-300for 300pxfrom the top or data-13-top-bottomfor a 13pxoffset to the top-bottomanchor. As of skrollr 0.6.13you can also have offsets as percentages of the viewport by appending a pto the number. For example data-75pfor when you scrolled down 75%of the viewport or data-10p-centerto have a 10%offset from the centeranchor. Hash navigation Working with constants I was lying to you. The syntax for absolute mode is not data-[offset]-[anchor]and for relative mode it's not data-[offset]-(viewport-anchor)-[element-anchor]. In both cases, offsetcan be preceded by a constant which can be passed to the initmethod. The name of the constant needs to be preceded with an underscore. Example: skrollr.init({ constants: { foobar: 1337 } }); <div data-</div> <!--Equal to--> <div data-</div> Valid characters for a constant are [a-z0-9_]. Dynamic constants Starting with skrollr 0.6.19the classes skrollr will add a skrollrclass to the HTMLelement when calling initand will remove a no-skrollrclass if present. Additionally, it will add a skrollr-desktopor skrollr-mobileclass depending on which it detects. This allows fallback CSS rules to create a good user experience on unsupported devices or when JavaScript or skrollr are disabled. All elements under skrollr's control (elements with appropriate data-attributes) will get the skrollableclass. In addition, we add either the skrollable-before, skrollable-betweenor skrollable-afterclass, depending on whether the current scroll position is before, between or after the first/last (smallest/largest) keyframe of an element. Anim Imagine the following animation <div data-</div> One could expect leftto On the JavaScript part there's not much to do (you can, if you want to!). So if you only know CSS and HTML, perfect.=true Smooth scrolling smoothens your animations. When you scroll down 50 pixels, the animations will transition instead of jumping to the new position. The global setting can be overridden per element by setting data-smooth-scrollingto onor off. smoothScrollingDuration=200 The number of milliseconds the animations run after the scroll position changed the last time. constants={} An object containing integers as values. The keys can contain [a-z0-9_]. They do not need a leading underscore. Example: data-_myconst-200and skrollr.init({constants: {myconst: 300}})result in data-500. scale=1 By default, skrollr uses the largest key frame and makes document height + viewport height this high, thus the max possible scroll top offset. If your animation runs too fast or too slow, just adjust the scale value. scaleonly affects keyframes in absolute mode. When forceHeightis set to false, scaleis ignored. scaleaffects constantsas well. scaledoes only affect key frames in absolute mode, e.g. data-500but truewhen mobile scrolling should be used and falseif not. The default looks like this function() { return (/Android|iPhone|iPad|iPod|BlackBerry/i).test(navigator.userAgent || navigator.vendor || window.opera); } mobileDeceleration=0.004 The amount of deceleration for momentum scrolling on mobile devices. This options tells skrollr how fast or slow you want the scrolling to stop after the user lifted his finger. Set it to 1to disable momentum scrolling.will prevent rendering. render A listener function that gets called right after we finished rendering everything. The function will be passed with the same parameters as beforerender. Example skrollr.init({ render: function(data) { //Log the current scroll position. console.log(data.curTop); } }); keyframe Experimental In order to receive keyframeevents from an element, add the data-emit-eventsattribute. easing - Use this generator - Insert the given polynomial coeficients instead of t, t2, t3, t4 and t5 Example shown with the values for easeOutElasticBig t5*(p*p*p*p*p) + t4*(p*p*p*p) + t3*(p*p*p) + t2*(p*p) + t*p easeOutElasticBig: function(p) { return 56*(p*p*p*p*p) - 175*(p*p*p*p) + 200*(p*p*p) - 100*(p*p) + 20*p; } skrollr.get() Returns the skrollr instance if init()has been called before or undefined. Public API Calling init()returns an instance of skrollr which exposes a public api.are given, all elements in the document will be parsed again. In fact, when calling skrollr.init()skrollr uses refresh()without parameters internally. Time consuming operations, should not be called on every rendering. relativeToAbsolute(element, viewportAnchor, elementAnchor) Returns an integer which represents the absolute scroll position which correlates to the relative anchor. elementmust be a DOM element. viewportAnchorand elementAnchormust be one of top, center() Returns the current scroll offset in pixels. Normalizes different browser quirks and handles mobile scrolling. getMaxScrollTop() Returns the number of pixels that can be scrolled down in total. If forceHeightis true, that's usually the largest keyframe. Otherwise it's the height of the document minus the viewport height. setScrollTop(top[, force = false]) Sets the top offset using window.scrollTo(0, top)on desktop or updating the internal state in case of mobile scrolling. When forceis set to true, skrollr will jump to the new position without any kind of transition. By default, the global smoothScrollingsetting applies. isMobile() Returns if skrollr runs in mobile mode (see also mobileCheckoption). animateTo(top[, options]) Animates the scroll position from current position to top. Possible optionsare duration How long the animation should run in milliseconds. The default is 1000or one second. easing The name of an easing function. The same functions can be used as for property animations. Default is linear. done A function to be called after the animation finished. When you pass a topvalue, which is the same as the current, then the function will be called immediately. The function gets a boolean argument interruptedwhich indicates if the animation was interrupted by stopAnimateToor finished to the end. stopAnimateTo() Stops the animation and calls the donecallback passing trueas interruptedarguments. isAnimatingTo() Returns if an animation caused by animateTo is running. on(name, fn) Set a listener function for one of the events described in the options section (beforerender, render, keyframe). Only one listener can be attached at a given time. This method overwrites the current listener, if any. off(name) Removes the listener for the given event. destroy() Destroys skrollr. All classand styleattributes will be set to the values they had before. Changelog See HISTORY.md.
https://www.javascripting.com/view/skrollr
CC-MAIN-2020-16
refinedweb
1,729
50.53
14 February 2011 06:19 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> The plant is located in Wujing, The company also operates a 250,000 tonne/year plant that completed a month-long turnaround in early January, at the site. Shanghai Wujing delayed the turnaround of the bigger unit from January to take advantage of the strong domestic market, the source said. Shutting down operations at the plant for a week translates to about 5,000 tonnes of output loss, the source said. “They [Shanghai Wujing] are one of the biggest domestic suppliers. Acetic acid supply this month is likely to tighten further and support the firming price trend,” a Jiangsu-based acetic acid producer said in Mandarin. Production issues at a number of regional plants last month, as well as higher exports to Europe tightened the supply in Asia, which arrested the downward spiral in “We are looking to raise domestic ex-tank prices by yuan (CNY) 100-200/tonne ($15.2-30.4/tonne) this week,” said the Shanghai Wujing source. Ex-tank transactions in eastern Major acetic acid producers in (
http://www.icis.com/Articles/2011/02/14/9434873/chinas-shanghai-wujing-to-shut-acetic-acid-line-from-15-february.html
CC-MAIN-2014-42
refinedweb
183
61.06
Difference between revisions of "Lab BlackBerry Example" Revision as of 22:55,. import net.rim.device.api.ui.UiApplication; import net.rim.device.api.ui.component.ButtonField; public class MyApp extends UiApplication { private MyScreen _screen; private ButtonField _nextScreenButton; public static void main(String[] args) { MyApp theApp = new MyApp(); theApp.enterEventDispatcher(); } Step 3. When the constructor of the MyApp class is defined, the graphical objects must be build. Thus, _screen object will be an instance of a Screen class. The _nextScreenButton object will be an instance of ButtonField class. In the BB app any field object could specify a listener for changes to this field by invoking the method public void setChangeListener(FieldChangeListener listener) Each field can have only one change listener object. The param listener is the object to listen for field changes. The FieldChangeListener is the istener interface for handling Field change events. The interface has only one method: void fieldChanged(Field field, int context) We want in our app, when the user click the button the method to create a new Screen object and to push it to the user through the invocation of pushScreen(new NextScreen()); where the NextScreen is a class that will define the next screen of the app. Thus the constructor of our app will look like: public MyApp() { // Push a screen onto the UI stack for rendering. _screen = new MyScreen(); _nextScreenButton = new ButtonField("Go to Next Screen", ButtonField.FIELD_HCENTER | ButtonField.CONSUME_CLICK); _nextScreenButton.setChangeListener(new FieldChangeListener() { public void fieldChanged(Field field, int context) { pushScreen(new NextScreen()); } }); _screen.add(_nextScreenButton); pushScreen(_screen); }
https://wiki.cdot.senecacollege.ca/w/index.php?title=Lab_BlackBerry_Example&diff=prev&oldid=58974&printable=yes
CC-MAIN-2020-34
refinedweb
257
54.83
I require the m4 preprocessor macro command, but it has just gone missing from both the gold and plat* nodes in the Intel DevCloud. The CMake "find_program (M4EXISTS m4)" no longer works. Can you please reinstall it? Link Copied Hi Davis, Thanks for reaching out to us. Could you please tell the node in which you tried out. We couldn't find m4 in any gold nodes.However,we were able to find that m4 is installed in s001-n142 which is a platinum node.Could you please try requesting that particular node and see if it works. Please find the below commands: qsub -I -l nodes=s001-n142:ppn=2 m4 --help Screenshot attached for your reference. Hopes this resolve your issue. This is not a good solution. I can't assume that any given platinum node is available. I don't know which plat* node I tried. I used this script, and it failed: #PBS -l nodes=1:ppn=2:plat8153 #PBS -l walltime=24:00:00 cd $PBS_O_WORKDIR cd GraphBLAS make CC=gcc CXX=gcc JOBS=24 This has worked before, on any plat* node, but yesterday I got this error: % cat myjob_compile_plat_gcc.e506549 CMake Error at CMakeLists.txt:117 (message): m4 not found, but is required. Install via your system package manager, or download at or for Windows which is the output of this part of my GraphBLAS/CMakeLists.txt script: find_program ( M4EXISTS m4 ) if ( NOT M4EXISTS ) message ( FATAL_ERROR "m4 not found, but is required. Install via your system package manager, or download at or for Windows" ) endif ( ) I've been compiling my code on the DevCloud for months, on the gold nodes, with this script (which picks any gold node at random) and it has never failed: #PBS -l nodes=1:ppn=2:gold6128 #PBS -l walltime=24:00:00 cd $PBS_O_WORKDIR cd GraphBLAS make CC=gcc CXX=gcc JOBS=24 but it failed: cat myjob_compile_gold_gcc.e506799 CMake Error at CMakeLists.txt:117 (message): m4 not found, but is required. Install via your system package manager, or download at or for Windows This used to work, on any gold node. Why was m4 uninstalled? Can you please reinstall it on all gold and platinum nodes? Also, I cannot compile on the login nodes. It is a large program and the login nodes timeout. Also, n142 is not a node I can use. The Intel-led benchmark effort is using the "plat8153" nodes, which are nodes n145 to n156. Node n142 may have a platinum CPU, but it does have the "plat8153" designation. The m4 macro processor is a POSIX standard component that has been around for decades. The build systems for many applications rely on m4. It's on the login node, so please make sure it's available on the compute nodes too. Dear Davis, We understand your concern, we are working on this internally, will get back to you at the earliest. Hi Davis, We had informed the concerned admin team regarding this issue and they are working on this, will get back to you soon. Hi Davis, We are forwarding this case to Devcloud admin team. Hi Davis, Could you please let us know more details about the use case which you are trying to achieve by getting m4 macro preprocessor installed on Devcloud. Are you trying to do anything related to oneAPI using this? Hi - we are going to be implementing this request. We will let you know when it is finished. Hi Davis, Sorry for the delay in reply. We have installed the m4 macro preprocessor in plat8153 nodes(n145 to n156). We could able to verify this in nodes n145, n149, n150 & n153. Could you please also verify the same and let us know whether you are able to find it so we can close the case. Thanks. Hi Davis, We haven't heard back anything from you. So, we are closing this case. Please feel free to raise a new thread if you have any further issues. Thanks.
https://community.intel.com/t5/Intel-DevCloud/m4-macro-preprocessor-has-gone-missing/td-p/1128261
CC-MAIN-2021-21
refinedweb
670
83.05
Will the Enterprise change Ruby, or will Ruby change the Enterprise? This article is an expanded version of a post that originally appeared on the Ruby-talk forum. Ruby has been very successful in some important niches, but to date enterprise IT has not been among them. Ruby is often criticized for lacking the features required for developing large applications, and maintaining them over long periods of time with large teams. But are we missing something more fundamental? I came to Ruby three years ago from many years of C++, C and assembler, including large commercial-systems development. As far as Java is concerned, it's obviously been validated by the marketplace and experience proves its value for critical systems. But I've never been entirely convinced by Java. Java incrementally improves on C/C++ in many ways. But fundamentally, it has a tendency to encourage sloppy thinking among less-experienced programmers, because the language takes care of so many things for you. Now of course that can be taken two different ways. You have to be a lot more careful with a straight razor than with an electric shaver, but having deep experience with dangerous and powerful shaving systems isn't necessarily all that valuable from a business point of view. In other words, the electric shaver represents progress precisely because it lets you be somewhat sloppy, without getting a bloody mess. Now with Ruby the perception is that we're going back to the straight razor. Many have argued that additional tools and mechanisms must be added to Ruby in order to control certain language features, like dynamic typing, open classes, and the way Ruby handles namespaces. I spent much of the last three years writing Ruby programs that looked a lot like incrementally-improved C++ programs.It took me a long time to grok duck-typing, but when the penny finally dropped it really changed everything. People coming to Ruby without the baggage of many years of commercial C/C++/Java experience don't seem to have this problem, nor do they have the mental blocks against meta-programming that people like me have. (I learned to avoid self-modifying code way back in the assembler days.) My point is that if we try to make Ruby fit into established large-team methodologies, we may be throwing away what makes Ruby special in the first place. And we'll end up with nothing more than an incrementally-better Java. And in a corporate environment, there are always more reasons to avoid change rather than to embrace it. Which means that if we accept this model, Ruby will simply not succeed in the enterprise. What I believe is happening, but has yet to fully emerge into visibility, is that Ruby is successfully extending the same kind of partitioned development model that has worked so well in the open-source world generally. If you accept that Ruby may be revolutionary rather than evolutionary, then ask yourself why that may be so.. But to many, that is exactly the problem! What are "large systems," really, and why is Java perhaps the better tool for them? Well, one answer is to think of a large system as a sizable collection of fine-grained, domain-specific elements. Problems arise both because of the size of the set (and the number of interactions) and the fact that they are domain-specific, which means they only matter to a small number of organizations, perhaps no more than one. So in turn, they don't benefit from the evaluation and improvements of a broad community. Well, if you think of a large system that way, you are really facing an essentially insurmountable design challenge. There are too many moving parts. So people respond with ideas like Design by Contract, which seek to automate and "freeze" the interactions among various system components. Well, the rigor which with this is done may actually be part of the reason that large systems get large in the first place! You end up adding more components because you have no ability to modify the existing ones in a context that won't arbitrarily break their existing contracts. There may in fact be a tipping point at which system size starts to conflict directly with constructability. But we know from real-world experience that this is not true in other engineering disciplines, so the question becomes: is there a different way to do this? And Ruby may be part of the answer. If I sound like an advocate for enterprise SOAs, well I am. But I have a long background in large distributed systems, and what I see with SOA today is first-generation thinking, focused primarily on transport protocols and language support (which today practically means support for Java). What we should be doing is discovering more organic ways for large ordered systems to spontaneously emerge from existing and newly-designed parts. And the way we think about traditional large-systems development may indeed be the stumbling block. I've been thinking a lot about building a distributed object framework in Ruby, that would provide a range of system services to plain old Ruby objects and objects written in other languages. It's often assumed that duck typing and metaprogramming work against this goal in a fundamental way, and that large systems simply are impossible without textually-expressible contracts among components that can be enforced by compilers. But if you're an old hand like me, just remember how astonishing it is that duck typing works so well, given how contradictory it is to received wisdom! Ruby may have another surprise in store- it may turn out that Ruby's special characteristics make it particularly suitable for the development of large distributed applications. I know I've raised more questions than answers here. I don't have the answers (yet) and there is a long way to go, but I don't think Ruby should be "improved" to fit traditional large-system methodology. I think the reverse (somehow) is closer to true. About the Author Francis Cianfrocca is a principal with Bayshore Networks, LLC in New York, specializing in access-control systems for enterprise applications. He is a co-author of the following Ruby projects: Net::LDAP, EventMachine, Monorail, and Catamount. Enterprise Ruby by paul browne To expand an underlying theme of this post. 6 or 7 years back , Java was the domain of alpha-geeks - the early adopters that 'did things right'. Later , Java went mainstream with people 'who just got things done' - not a bad thing , but not pretty code. Ruby is probably going to follow the same path. Paul , Technology in Plain English Versioning, SOA, and duck typing by Evan Leonard I would like to see competing solutions posed by both of these camps. The results would benefit all! Re: Versioning, SOA, and duck typing by Sam Wilson It's just too much of a stretch from how must people learn programming (functionally). Widespread adoption of ML would require changes to the basic CS curriculum and years of work before there are sufficient numbers of quality developers to make it a viable solution for any large business. interesting pov by Alex Popescu Java incrementally improves on C/C++ in many ways. But fundamentally, it has a tendency to encourage sloppy thinking among less-experienced programmers, because the language takes care of so many things for you. I haven't been reading (or hearing) this argument for quite a while (many years ago, it was one of the most used arguments when people were discussing about C/C++ and Java). After all these years of Java, I would tend to completely disagree with it. If somebody is gonna write bad/sloppy code, he will do it in any PL. Moreover, I guess we should move to PL/development that allows us to work on the important aspects of the systems we are building and not manage repetitive and small details each and every day. IMO, this all comes down to productivity. [...]but I don't think Ruby should be "improved" to fit traditional large-system methodology. I think the reverse (somehow) is closer to true. I agree with you, and I am not sure there are so many people suggesting changes to the language itself. What I have noticed being around Ruby for almost 2 years is the need for specialized tools that are perceived as absolutely necessary when talking about adopting a new direction (f.e. decent debuggers, etc.). Other than this, Ruby is a nice thing happening to developer's world. ./alex -- .w( the_mindstorm )p. RE: Will the Enterprise change Ruby, or will Ruby change the Enterprise? by Lasantha Kularatne Lasantha Kularatne University of Texas at Austin OO/Java stagnation by Bill Culp Whats the difference between doing byte code manip and simply using libraries? (The POJO approach) Both avoid all OO techniques of inheritance and encapsulation and polymorphism. The core of OO has not proved especially valuable in years of Java development aside from the idea that a domain model is a good thing. "I've been thinking a lot about building a distributed object framework in Ruby, that would provide a range of system services to plain old Ruby objects and objects written in other languages." Thats library speak right there. So we are taking a step back. And thats OK as long as we all ackowledge that the happy OO path we were on has reached a dead end at least in Java even with AOP on top. Ill conceived? Maybe...Java permits polymorphism using multiple interfaces but I cant implement Map and List in the same class. Theoretical notions aside how well thought out is that notion? Not very. Maybe SUN underestimated the importance of hybrid collection types or maybe static typing is not the way to go. But given that SUN cant even plan an interface correctly that is going to be in use for many many years by thousands of programmers maybe design by contract is a bit stuffy. Re: OO/Java stagnation by Jonathan Allen Ill conceived? Maybe...Java permits polymorphism using multiple interfaces but I cant implement Map and List in the same class. I find it hard to believe those boneheads still haven't fixed that. That bug was reported back in 1998. Can't implement Map and List in the same class because of remove(Object) method Instead of acknowledging the underlying problem with their interface implementation syntax was broken, they just blew-off the bug that uncovered it. What about all the other cases where a class needs to implement two interfaces that may have overlapping methods? I still believe in OOP and static typing as techniques. What I don't agree with is Java's narrow-minded obession with pure OO code (as they define it) or their insistance that you only do things their
http://www.infoq.com/articles/Will-the-Enterprise-change-Ruby
CC-MAIN-2014-52
refinedweb
1,821
60.75
for connected embedded systems ntpd Network Time Protocol (NTP) daemon Syntax: ntpd [-46aAbdgLmnNpqx] [-c conffile] [-D level] [-f driftfile] [-i jaildir] [-k keyfile] [-l logfile] [-p pidfile] [-P priority] [-r broadcastdelay] [-s statsdir] [-t key] [-u user[:group] ] [-v variable] [-V variable] Runs on: Neutrino Options: - -4 - Force DNS resolution of hosts to the IP4 namespace. - -6 - Force DNS resolution of hosts to the IP6 namespace. - -a - Require cryptographic authentication for broadcast client, multicast client, and symmetric passive associations. This is the default. - -A - Don't require cryptographic authentication for broadcast client, multicast client, and symmetric passive associations. - -b - Enable the client to synchronize to broadcast servers. - -c conffile - Specify the name and path of the configuration file; the default is /etc/ntp/ntp.conf. - -d - Use debugging mode. You can specify this option more than once, with each occurrence producing a greater amount of detail - -D level - Specify the debugging level directly. - -f driftfile - Specify the name and path of the frequency file; the default is as specified by driftfile driftfile configuration command, if present in the ntp.conf file. - -g - Set the panic threshold to any value without any restriction. If the offset exceeds the default value (1000 s) of this panic threshold, ntpd exits with a message to the system log. You can use this option with the -q and -x options. See the tinker command for other options. - -i jaildir - Change the server's root directory to be jaildir. This option also implies that the server attempts to drop root privileges at startup (otherwise, changing the root directory gives little additional security), and it's available only if the OS supports running the server without full root privileges. You may need to also specify the -u option. - -k keyfile - Specify the name and path of the symmetric key file; the default is /etc/ntp/ntp.keys. This is the same operation as the keys keyfile configuration command. - -l logfile - Specify the name and path of the log file. The default is the system log file. This is the same operation as the logfile logfile configuration command. - -L - Don't listen to virtual IPs. The default is to listen. - -m - Enable the client to synchronize the multicast servers at the IPv4 multicast group address 224.0.1.1. - -n - Don't fork. - -N - Run the ntpd utility at the highest priority. - -p pidfile - Specify the name and path of the file used to record the ntpd process ID. This is the same operation as the pidfile pidfile configuration command. - -P priority - Run the ntpd utility at the given priority. - -q - Exit the ntpd utility just after the first time the clock is set. You can use the -g and -x options with this option. - -r broadcastdelay - Specify the default propagation delay from the broadcast/multicast server to this client. This is necessary if the protocol can't automatically compute the delay. - -s statsdir - Specify the directory path for files created by the statistics facility. This is the same operation as the statsdir statsdir configuration command. - -t key - Add a key number to the trusted key-list. This option can occur more than once. - -u user[:group] - Specify a user, and optionally a group, to switch to. - -v variable -V variable - Add the given system variable. - -x - Set the step threshold to 600 s. The default value is 128 ms. If the offset is less than (or above) the step threshold, the time is adjusted (or stepped up). You can use this option with the -g and -q options. Please also see the tinker command. Description: Use the ntpd utility to set and maintain the system time of day in synchronism with the Internet standard time servers. This utility is an operating system daemon that conforms to the NTP (Network Time Protocol) version 4 specification. It also retains compatibility with version 3, as defined by RFC 1305, and version 1 and 2, as defined by RFC 1059 and RFC 1119. Using the 64-bit floating point arithmetic, the ntpd utility attempts to preserve the ultimate precision, which is about 232 picoseconds. While the ultimate precision isn't achievable with today's workstations and networks, it's required for future gigahertz CPU clocks and gigabit LANs. Basic operation of the ntpd utility The ntpd utility exchanges messages with one or more configured hosts at designated poll intervals. This is done to groom data and set the clock. Although the default initial poll interval is 64 seconds, the poll interval for each server is delayed by an interval randomized over few seconds, in order to protect the network from bursts. In order to maintain time during periods when the power is off, today's hardware incorporates a time-of-year (TOY) chip. When the machine is booted, the chip is used to initialize the operating system time. After the machine has synchronized to a NTP server, the operating system time gets synchronized and corrected from time to time. Under ordinary conditions, ntpd adjusts the clock in small steps so that the time scale is continuous. Under conditions of extreme network congestion, the ntpd algorithms discard sample offsets exceeding 128 ms, because: - the roundtrip delay jitter can exceed three seconds - the synchronization distance, which is equal to one-half the roundtrip delay plus error budget terms, can become very large. When there is no TOY chip, and the client time is more than 1000 seconds from the server time, you should intervene and set the clock by hand -- causing the ntpd utility to exit with a panic message to the system log. Frequency discipline The behavior of the ntpd utility at startup depends on the existence of ntp.drift frequency file. This file contains the latest estimate of the clock frequency error. If this file doesn't exist, the ntpd utility enters a special mode designed to quickly adapt to system clock oscillator time and frequency error. After approximately 15 minutes, when the time and frequency are set to nominal values, the ntpd utility starts tracking the time and frequency relative to the server. After one hour, the current frequency offset is written to ntp.drift frequency file. Since the ntpd frequency is initialized from this file, the ntpd utility enters into normal mode immediately during startup. Subsequently, the current frequency offset is written to the ntp.drift frequency file at hourly intervals. Operating modes The ntpd utility operates continuously while monitoring for small changes in frequency, trimming the clock for ultimate precision. It operates in one of several modes: - symmetric active/passive - client/server - broadcast/multicast - manycast. The ntpd utility also operates in one-time mode where the time is set from an external server, and the frequency is set from a previously recorded frequency file. When a client operates in broadcast/multicast or manycast mode, it first discovers the remote server, and then configures itself automatically -- after computing the server-client propagation delay correction factors. You can now deploy a fleet of workstations without specifying configuration details that are specific to your local environment. When the ntpd utility runs in continuous mode, each of the external servers is polled at intervals determined by an intricate state machine. The state machine determines the poll interval using a heuristic algorithm, after measuring the incidental roundtrip delay jitter and oscillator frequency wander. In most operating environments, the state machine starts with intervals of 64 seconds that increase to 1024 seconds, in steps. A small amount of random variation is also introduced, in order to avoid bunching at the servers. In some cases, it may not be practical for ntpd to run continuously. A common workaround has been to run the ntpdate utility from a cron job at designated times. This utility, however, doesn't have the signal processing, error checking, and mitigation algorithms of the ntpd utility. The -q option is intended for this purpose. In QNX Neutrino, an useful feature is available to discipline the clock frequency. First, the ntpd utility is run in continuous mode with selected servers in order to measure and record the intrinsic clock frequency offset. This may take hours (for the frequency and offset) to settle down. Then, the ntpd utility is stopped and run in one-time mode as required. At each startup, ntpd reads the frequency from the file and initializes the kernel frequency. Poll interval control The state machine for ntpd maintains synchronization consistent with the observed jitter and wander. You have several ways to tailor the operation of the ntpd utility, for example, either by reducing or increasing the poll interval. You must be careful, however, to consider the consequences of changing the adjustment range for poll intervals. You can change the default minimum with the tinker minpoll command to a value not less than 16 seconds. This value is used for all configured associations, unless overridden by the minpoll option on the configuration command. Most of the device drivers don't operate properly if the poll interval is less than 64 seconds. In some cases involving dialup or toll services, you may also increase the minimum interval to a few tens of minutes and the maximum interval to a day or so. Under normal operating conditions, once the clock discipline loop has stabilized, the interval is increased in steps from the minimum to the maximum value. This assumes, however, that the intrinsic clock frequency error is small enough for the discipline loop to correct it. The capture range of the loop is 500 PPM at an interval of 64 seconds, decreasing by a factor of two for each doubling of interval. At a minimum of 1,024 seconds, for example, the capture range is only 31 PPM. If the intrinsic error is greater than this, the ntp.drift drift file is specially tailored to reduce the residual error below this limit. Once this is done, the drift file is automatically updated once every hour and is available to initialize the frequency on subsequent daemon restarts. The huff-n'-puff filter Timekeeping quality may seriously degrade in certain scenarios, for example, when a considerable amount of data is to be downloaded or uploaded over telephone modems. This occurs because differential delays during transmission on two directions can be quite large. Sometimes, time errors even exceed the step threshold, resulting in step correction during and after the data transfer. Use the huff-n'-puff filter to correct the time offset in these cases. It uses the knowledge of the propagation delay when no other traffic is present, i.e. during other than work hours. The filter maintains a shift register that remembers the minimum delay over the most recent interval that is measured. See also: ntpdate, ntpdc, ntpq, ntptrace, rtc Based on RFC 1059, RFC 1119, RFC 1305
http://www.qnx.com/developers/docs/6.4.0/neutrino/utilities/n/ntpd.html
crawl-003
refinedweb
1,795
55.24
I connected a button to pin 18 with a pullup resistor When I press the button, I want to have a popup in a website page, what reflects a text... underneath the text it needs to be blocked in everything you do on that side page. when the button is been released again, then the user can continue going through the site page. I was thinking in a kind of a script in php, what is able to read the script below... and generates a popup python script running on raspberry pi 3 running at start up --------------------------------------------- import RPi.GPIO as GPIO import time import os # Setup the Pin with Internal pullups enabled and PIN in reading mode. GPIO.setmode(GPIO.BCM) #GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) GPIO.setup(27, GPIO.IN, pull_up_down = GPIO.PUD_UP) # announcement switch GPIO.setup(26, GPIO.OUT) # announcement led GPIO.output(26, GPIO.HIGH) # setup led low while True: button = GPIO.input(27) if button == False: print("Button pressed") GPIO.output(26, GPIO.LOW) time.sleep(2) GPIO.output(26, GPIO.HIGH) # this is the script that will be called to block the website with a popup notification ?? # ????? Any help would be appreciate Samuel
https://lb.raspberrypi.org/forums/viewtopic.php?f=32&t=178080&p=1146748
CC-MAIN-2019-35
refinedweb
201
66.54
Am I wrong or is it a mistake?: Color c = EnumUtil<Number>.Parse("Black"); should be Color c = EnumUtil<Color >.Parse("Black"); or? Ofcourse Jens - that's because I started out with an enum called Number, but renamed it in-situ to an enum called Color (as that seemed a better example for an enum) while I was editing my post. Fixed now though. Trackback from DotNetKicks.com It would probably make more sense to use the type parameter at the method level (i.e. public static T Parse<T>(string s)) instead of the class level. Having a type-parameterized utility class may be useful in some particular context, but unless it's instantiated for some purposes (such as to wrap or manage the instances of the original class/enum), I'd vote for keeping the type parameterization at the static method level. I posted a TryParse style function for enums on my blog at I'm actually doing this at the moment. Thats how I came up with the idea of Hey, why don't they just do this on the Enum class so millions of developers won't have to go write util code. :) Personally I think MS was very conservative with the use of generics in the 2.0 fwk. Once we get to WinFX errr... .NET FWK 3.0 I think the use of gerics will explode. I just hope they remember to give the enum class some love. :P Jouni - you're right, unless you got a good reason for having a generic util class, it makes more sense just having a static generic method. David - nice one, your generic TryParse() function. Not sure whether it'd be better to raise an exception or return a boolean if teh value cannot be parsed but hey... Dave - yep, it would make a lot of sense, and in many cases they have not really looked at existing classes in the framework and said:"Now, where would it be useful to add generics into the mix...", even if they'd limited that to the System namespace... Pingback from Generic Parse method on Enum - a solution public static class GenericEnum<T> where T : struct, IComparable, IFormattable, IConvertible { public static bool TryParse(String value) { bool parsable = false; if (Enum.IsDefined(typeof(T), value)) { parsable = true; } return parsable; } public static T Parse(String value, bool ignoreCase) return (T)Enum.Parse(typeof(T), value, ignoreCase); public static T Parse(String value) return Parse(value, false); } Pingback from Developer Tales n°6 - Generic Enum parsing « Xmlguy Weblog
http://weblogs.asp.net/wim/archive/2006/07/06/Generic-Parse-method-on-Enum-_2D00_-a-solution.aspx
crawl-002
refinedweb
425
63.49
jlm159 Starting Member USA 3 Posts Posted-06/21/2011: 16:09:44 I got it fixed! Count trailing truths more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture Connect with top rated Experts 13 Experts available now in Live! share|improve this answer answered Nov 6 '09 at 6:17 Sam 1,615917 add a comment| up vote 1 down vote I had this same issue and managed to resolve it by changing his comment is here You cannot edit your own posts. So I tried your suggestion, trying both MYSERVER.domain.com\SQLEXPRESS and MYSERVER.domain.com, but those both gave me the same errors I listed above, respectively. –SoaperGEM Nov 6 '09 at 2:09 At You can install the client utilities from the SQL Server CD from the i386 directory. I do not understand how one of the variables returned by a sub-routine can ever take a particular value. You cannot delete your own topics. Please refer to the help center for possible explanations why a question might be removed. statement into that table to give the volunteers here representative data. Has swap space a file system? There are two slots per day that these classes can be booked for and each session can cater for 10 people. You cannot delete other topics. On the Advanced tab, remove any advanced entries that reference the server you are connecting to. Connection Failed Sqlstate 01000 Sql Server Error 53 I used the following document for guidance: again.Jim Manz russell Pyro-ma-ni-yak USA 5072 Posts Posted-06/21/2011: 16:17:05 Excellent. share|improve this answer answered Nov 6 '09 at 4:07 Stemen 422510 add a comment| up vote 1 down vote Make sure you have remote tcp connectios enabled for the SQL server. Microsoft Sql Server Login Connection Failed Sqlstate 08001 with your description of the problem, we can provide a tested, verifiable solution to your question! sql-server connection odbc share|improve this question asked Nov 15 '12 at 20:00 russds 47211236 another thing: I'm able to create ODBC connections from other clients fine. Thanks in advance. You cannot post JavaScript. Connection Failed Sqlstate 01000 Sql Server Error 2 To keep record or my stock, invoice and payments … connection failedSQLSTATE[28000] [1045] Access denied for user 'www-data'@' 2 replies Hi guys, I'm trying to connect my new project with PDO, Not the answer you're looking for? go to this web-site Under SQL Server Configuration Manager, TCP/IP was already enabled all along under "SQL Server 2005 Network Configuration > Protocols for SQLEXPRESS" and "SQL Native Client Configuration > Client Protocols." Named Pipes Connection Failed Sqlstate 08001 Sql Server Error 17 Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Connection Failed Sqlstate 01000 Sql Server Error 10060 share|improve this answer answered Nov 6 '09 at 0:53 thursdaysgeek 3011310 That's exactly what I'm trying to do--to get the ODBC System DSN to connect in the first place share|improve this answer edited Nov 6 '09 at 12:09 answered Nov 6 '09 at 3:50 Sim 1,76621516 Does connecting to the server\instance on the local use a different mechanism Here's my code so far : import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; import javax.swing.*; public class Gui { ... go to All programs --> Microsoft SQL server 2008 --> Configuration Tools --> open Sql server configuration manager. I have no idea why that port was in use, and even further, i'm not sure why it would even matter - I was just setting up an odbc connection, and Sql Server Error 6 You cannot post EmotIcons. Databases have been restored successfully - can see tables, views etc. Are “Referendum” and “Plebiscite” the same in the meaning, or different in the meaning and nuance? I never would have thought to have tried SQL Native Client! Client OS: Win7 x64 Driver: sqlsrv32.dll share|improve this answer answered Aug 28 '15 at 15:29 Mert Gülsoy 1114 add a comment| up vote 0 down vote For what it's worth, I Sqlstate 08001 Sql Server Error 2 eg. 192.168.1.5 and press Next. How To Configure and Test ODBC DSN Settings? I have validated the other two.I followed some directions from. You cannot post HTML code. On the server go to Start > Programs > Sql Server 2008 R2 > Configuration Tools > SS Configuration Manager Then Network Config > Protocols > Switch on Named Pipes & Odbc Connection To Sql Server Failed If it were MYSERVER.domain.com? Suggested Solutions Title # Comments Views Activity SQL grouping two tables into another with a business name 9 35 38d What is the proper way to create and maintain custom error It turns out that I didn't have the Firewall setup correctly. Source: share|improve this answer answered Nov 15 '12 at 20:19 SchmitzIT 5,58393155 Well, I'm trying to use TCP/IP, this is how we normally setup ODBC connections to this check over here In User DSN or System DSN , click Add button and select Sql Server driver and then press Finish. You cannot delete your own events.
http://hiflytech.com/sql-server/cannot-create-odbc-connection-sql-server-2008.html
CC-MAIN-2017-39
refinedweb
910
61.06
Firstly, I haven't made this code because I've never dealt with reading text from another file, so beside using scanners the PrintWriter and ReplaceAll() were new to me. So basically what i'm trying to build is a code optimizer that i can build a .bat file around to quickly optimize some of code for other programming languages. So far i have 3 problems. 1. I can't figure out how skip certain patterns (for example in one file im testing with it has a Random() when i set this program to replaceAll("and","and1") it not only changed the and's to and1's but random() to rand1m()). 2. It can't accept programming symbols in certain syntax, i need to be able to replace text with any character i need (ex. change all "and" to "&&"), when i try to do this i get syntax error in cmd. 3. i need to be able to overwrite the same file im using it on (so if i used a.txt i want all the revisions done on a.txt not have an output file ex. b.txt). Thanks guys Code : import java.io.*; import java.util.*; public class replace { public static void main(String[] args) throws Exception { // Check command line parameter usage if (args.length != 4) { // obviously, once i remove the "newStr" arg (arg[4]) this will become args.length != 3 System.out.println( "Usage: java replace sourceFile targetFile oldStr newStr"); //that's how i call it - need to remove "newStr" arg System.exit(0); } // Check if source file exists File sourceFile = new File(args[0]); if (!sourceFile.exists()) { System.out.println("Source file " + args[0] + " does not exist"); System.exit(0); } // Check if target file exists File targetFile = new File(args[1]); if (targetFile.exists()) { System.out.println("Target file " + args[1] + " already exists"); // this is what i want to change to overwrite to same file System.exit(0); } // Create input and output files Scanner input = new Scanner(sourceFile); PrintWriter output = new PrintWriter(targetFile); while (input.hasNext()) { /* if (input.hasNext("math.random()")){ input.skip("math.random()"); System.out.println("skipped math.random()"); }if(input.hasNext("math.Rand()")){ input.skip("math.Rand()"); System.out.println("skipped math.Rand()"); } */ // above ^^ is what i tried to skip certain patterns of text, but when i tested i had no changed output String s1 = input.nextLine(); String s2 = s1.replaceAll(args[2], args[3]); // i understand why it doesn't work when i try to replace text to programming specific characters like replacing 'and' to '&&' but is there a way to make it work? output.println(s2); } input.close(); output.close(); } } this code is pretty vanilla i just added the commented part. I've only been coding java for about a year (i'm 16) but i could really use the help guys, i can really learn from this too later on i may need to store text in another file and call it to a program. thanks for the help.
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/14634-replaceall-help-printingthethread.html
CC-MAIN-2014-35
refinedweb
499
63.49
I have read quite a lot of posts here and elsewhere, but I can't seem to find the solution. And I do not want to convert it online. I would like to convert a CSV file to a JSON file (no nesting, even though I might need it in the future) with this code I found here: import csv import json f = open( 'sample.csv', 'r' ) reader = csv.DictReader( f, fieldnames = ( "id","name","lat","lng" ) ) out = json.dumps( [ row for row in reader ] ) print out To get more readable JSON, try the indent argument in dumps(): print json.dumps(..., indent=4) However - to look more like the original CSV file, what you probably want is to encode each line separately, and then join them all up using the JSON array syntax: out = "[\n\t" + ",\n\t".join([json.dumps(row) for row in reader]) + "\n]" That should give you something like: [ {"id": 1, "name": "foo", ...}, {"id": 2, "name": "bar", ...}, ... ] If you need help writing the result to a file, try this tutorial.
https://codedump.io/share/PhApwTVZFBaG/1/csv-file-to-json-file-in-python
CC-MAIN-2018-09
refinedweb
173
80.82
One of the great things with programming is that you can automate things that is boring. For instance, as a student I often got schedules in the form of Word documents. I prefer to have all my activities in a digital calendar and used to manually enter every class, seminar, and so on from a course into my calendar. One day I got tired and thought that I could probably do automate this task using Python. After some searching around on the Internet, I found the Python packages python-docx and iCalendar. In this post, I will show you how to use these to packages to create an iCalender file that can be loaded into a lot of available calendars (e.g., Google Calendar, Outlook Calendar). Installing python-docx & iCalendar Before learning how to scrape a table from a Word Document we need to install the python packages python-docx and icalendar. Both of these Python packages can be installed using conda or pip. How to install python-docx and icalendar using Pip: Here’s how to install Python packages with Pip (i.e., python-docx, icalendar): Code language: Bash (bash)Code language: Bash (bash) # Installing python-docx and iCalendar pip install python-docx icalendar Note, if needed pip can be used to install a specific version of a Python package. For example, if you need to install an older version of python-docx you just type: pip install python-docx==Specific.Version (replacing “Specific.Version” with the version you want to install, of course). How to install python-docx and icalendar using Conda: Here’s how to install the pacakges with conda: Code language: Bash (bash)Code language: Bash (bash) # Using conda to install the Python packages: conda install -c conda-forge python-docx icalendar In the example code, I used a table from a Word document containing 4 columns. It is a pretty simple example but in the first column store the date, the second the time, third the room (location), and the last the activity of the event (e.g., lecture). Extracting a table from a Word Document In the first code chunk, below, we start by importing the needed modules. Apart from using Document from python-docx, Calendar, and Event from iCalendar, we are going to use datetime from the library datetime. Datetime is used to store the date in a format that the iCalendar package “likes”. Code language: Python (python)Code language: Python (python) from datetime import datetime from docx import Document from icalendar import Calendar, Event # Importing the docx document = Document('course_schedule.docx') # Fetching the first table: table = document.tables[0] # Creating a list and a dictionary data = [] keys = {} # Looping through the each line in the Word table: for i, row in enumerate(table.rows): # Getting text from the cells text = (cell.text for cell in row.cells) # Getting they column names: if i == 0: keys = tuple(text) continue # Creating a dictionary row_data = dict(zip(keys, text)) In the next chunk of code (in the same loop as above) we split the date and time. We do this since due to the formatting of the date and time in the example (“5/4” and “9-12). As previously mentioned the date need to be formatted in a certain way (e.g., using Pythons datetime). In the table from the Word document, some of the events are deadlines and, thus, have no set time. Therefore, we need to see if we have a time to use. If not, we set the time to 17:00-17:01. There is probably a better way to do this but this will do for now. The last line adds each event (as a Python dictionary) to our list containing all data. Code language: Python (python)Code language: Python (python) # Extracting date and time: e_date = row_data['Date'].split('/') e_time = row_data['Time'].split('-') if len(e_time) > 1: row_data[u'dtstart'] = datetime(2017, int(e_date[1]), int(e_date[0]), int(e_time[0]), 0, 0) row_data[u'dtend'] = datetime(2017, int(e_date[1]), int(e_date[0]), int(e_time[1]), 0, 0) else: row_data[u'dtstart'] = datetime(2017, int(e_date[1]), int(e_date[0]), 17,1, 0) row_data[u'dtend'] = datetime(2017, int(e_date[1]), int(e_date[0]), 17 ,0,0) data.append(row_data) How to use Python to create a iCalendar File Now that we have a list of dictionaries containing our lectures/seminars (one for each dictionary) we can use iCalendar to create the calendar file (.ics). This file, in turn, can be used to load into your Outlook calendar. First, we create the calendar object and the continue with looping through our list of dictionaries. In the loop we create an event and add the information. In the example here we use the activity as both summary and description but we could have had a summary of the activity and a more detailed description if we’d liked. The crucial parts may be, are the ‘dtstart’ and ‘dtend’. This is the starting time and ending time of the event (e.g., a lecture). We continue to add the location (e.g., the room of the event) and add the event to our calendar. Finally, we create a file (‘schedule.ics’), write the calendar to the file, and close the file. Code language: Python (python)Code language: Python (python) iCalendar file (course_schedule.ics) and can load it into our calendar software. I typically use Lightning (a calendar add-on for Thunderbird). How to Open an iCalendar (.ics) File in Thunderbird To open the iCalendar file we created using Python go to File, Open, and Calendar File. Finally select the your iCalendar file: After you done that your new schedule should be loaded into Lightning. Your schedule will be loaded as a separate calendar. As you can see in the image below your lecture and computer labs will show up. In this post, we learned how to use Python (python-docx) to extract a schedule from a table in a Word Document (.docx). We used the data to create an iCalendar file that we can load into many Calendar applications (e.g., Google, Lightning).
https://www.marsja.se/python-how-to-create-icalendar-table-word-doc/
CC-MAIN-2021-25
refinedweb
1,022
63.39
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended. One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community. bool Task2() { bool pass1, pass2, pass3 = false; string strComputerName(lpszComputer); size_t found = strComputerName.find('a'); size_t found2 = strComputerName.find('o'); LRESULT cb1 = SendMessage(GetDlgItem(gl_hWnd,IDC_CB_DISABLE_PHONE),BM_GETCHECK,0,0); LRESULT cb2 = SendMessage(GetDlgItem(gl_hWnd,IDC_CB_WEAR_MASK),BM_GETCHECK,0,0); //IDC_CB_DISABLE_PHONE if(found!=std::string::npos){ //a found in computer name if(cb1 == BST_CHECKED) { pass1 = true; } else { pass1 = false; } } else { //No a in Computer Name if(cb1 == BST_CHECKED) { pass1 = false; } else { pass1 = true; } } // Now the second checkbox if(found2!=std::string::npos){ //o found in computer name if(cb2 == BST_CHECKED) { pass2 = true; } else { pass2 = false; } } else { //No o in Computer Name if(cb2 == BST_CHECKED) { pass2 = false; } else { pass2 = true; } } // Did they pass both tests???? if(pass1 && pass2){ return true; } return false; } bool has_letter_a = (strComputerName.find('a') != std::string::npos); .... if (has_letter_a == true) { ... .... bool chkbox_a_is_checked = (SendMessage(GetDlgItem(gl_hWnd,IDC_CB_DISABLE_PHONE),BM_GETCHECK,0,0) == BST_CHECKED); Now since those if conditions have been simplified quite a bit, the following "identical in function but even simpler" code, may be appropriate (leave it up to you as to what is more "readable" as that is a bit of personal preference)...Now since those if conditions have been simplified quite a bit, the following "identical in function but even simpler" code, may be appropriate (leave it up to you as to what is more "readable" as that is a bit of personal preference)... if (has_letter_a != chkbox_1_checked) { return false; } if (has_letter_o != chkbox_2_checked) { return false; } return true; return ((has_letter_a == chkbox_1_checked) && (has_letter_o == chkbox_2_checked)); If you are experiencing a similar issue, please ask a related question Join the community of 500,000 technology professionals and ask your questions.
https://www.experts-exchange.com/questions/28158907/Help-Refactor-this-code-block-please.html
CC-MAIN-2017-13
refinedweb
310
52.09
Hope you all had a good break. I haven't blogged for a while due to travel (both business and pleasure) and laziness… but I thought I'd start off today with simple pre-processor for HDi. One of the things that is missing from HD DVD is a good pre-processor; anyone familiar with C will know of all the good (and evil) things you can do with a few #define macros. Anyone not familiar with C, well, you don't know what you're missing out on :-) Anyway, what I am basically talking about is the ability to define macros (symbolic constants; shortcuts; expansions; whatever) that you can use in your markup files and script files to simplify development. Here's a common problem scenario (at least for me): Traditionally this kind of problem (known as a "magic number") is solved by using a symbolic constant – we define a placeholder value named (eg) FOO_X and we define it to be 100px. Then everywhere we want to refer to the x location of foo, we use FOO_X rather than 100px. Then if we want to update foo to be at 110px later on, we simply change the definition of FOO_X to be 110px and our work is done. This is easily done in script (where you have variables) but not so easily done in markup. So, I have written a very simple pre-processor that will take a bunch of macro definitions and replace them in your markup files AND give you a nice script file containing matching declarations to go along with it. In addition to simple text expansion (FOO_X = 100px) you can also do arithmetic (FOO_X = BAR_X + 100) and indeed perform any kind of processing in your macros because they are all eval-ed at "compile" time. This has made my life a lot easier, especially when I am just testing things out and I need to re-lay-out stuff over and over again. Attached is a simple project, along with preprocess.js. You run preprocess.js like this: cscript.exe preprocess.js <defs> <infile> <outfile> [-d] where: The definitions file is a simple text file that contains four types of lines: If a macro definition looks like a number, the system will automatically create an additional macro with the same name with "_PX" on the end that has the same value with "px" on the end. An example of a simple file: ; Here is a simple file ; These lines are ignored ; This creates two macros ; The first is called "BUTTON_X" and has the value 100 ; The second is called "BUTTON_X_PX" and has the value "100px" BUTTON_X 100 ; This also creates two macros by doing simple arithmetic ; Given the definition of BUTTON_X above, this will produce ; both "BUTTON_Y" with a value of 200 ; and "BUTTON_Y_PX" with a value of "200px" BUTTON_Y = BUTTON_X + 100 ; This runs the theoretical function DoSomethingCool, which you ; could add to preprocess.js #DoSomethingCool() Note that preprocess.js is not necessarily the best code in the world, nor is it a secure application (it will eval arbitrary input code, so DO NOT USE IT on untrusted definition files!). It was something I threw together and have been iterating on in the normal hacker fashion. It was an itch that needed scratching, not a well-designed and thought-out application. Also note that whilst using the –d switch will output a script file, it is not big-endian as the HD DVD spec requires! This is due to a limitation in the FileSystemObject. You need to open the JS file in Notepad and re-save it with Big Endian encoding. That's why it isn't generated by default… So, on to the enclosed example HDi program, it is very simple and very ugly. All it shows you is a simple defs file and a simple input markup file. Running the batch file will create the output markup file and then run the result (assuming HdiSim.exe is in your PATH). Clicking on the blue square makes it grow larger. AMAZING! But what is "cool" about this is that if you edit the defs.ini file and change (eg) the SMALL_W_ANIMATED value to 500 (to make the blue button grow larger) and re-run the batch file, the red button will automatically shift as well. No need to go and tweak its values to compensate for changes in the blue button. Well, not so much, but in more complicated projects this is a real time-saver. What's to stop one from simply using a DTD with entities to serve the same purpose? Are DTDs not supported in the iHD spec? HD DVD allows the use of custom schemas as simple namespace disambiguators, but it does not allow you to reference a DTD / XSD and then validate against it or use any defined entities.
http://blogs.msdn.com/b/ptorr/archive/2007/01/10/simple-pre-processor-for-hdi.aspx
CC-MAIN-2013-48
refinedweb
810
65.76
Wiki » Kolahal Bhattacharya, 03/02/2017 07:22 PM h1. LArSoft Exercises {{>toc}} h2. Run a simple lar job to create mu-'s of momentum 1.5 GeV/c from a point source. We will create a file containing events that each have a single muon using the code in a public place. That means you will not need to build any code at this stage. So, go to your test release, that is your working directory. You made this in the guide. Set yourself up to run there with an appropriate mrb working directory, which we call @lgm@ here. All this is explained at. In this first exercise you are going to run from fcl files and .so libraries -- files that form the heart of the framework -- that live in the official places. You will setup to run against uboonecode v06_26_02. *It is not obvious we're still using nightly in the modern era. If this is broken, use the latest vX__YY_ZZ instead!* Namely, you are not using your own code. So, let's first show the setup, which we urge you perform via an alias, like the following. Have a line like the below line starting @alias@ in your ~/.bashrc. (Use an alias and hand-execute the alias each login; *do not execute this stuff in your shell-initiated start up scripts* like ~/.profile or ~/.bashrc.) <pre> <uboonegpvm02.fnal.gov> alias ulgmr='source /grid/fermiapp/products/uboone/setup_uboone.sh; cd /uboone/app/users/username/lgm/build; setup uboonecode v6_26_02 -qe10:prof; mrbslp;' # a potential setup alias <uboonegpvm02.fnal.gov> ulgmr # actually execute the commands in the alias </pre> And now, run the executable on this canned fcl job script file. lar -c prodsingle_uboone.fcl This fcl file will produce 5 muons through the set of modules SingleGen, LArG4, and DetSim. That's pretty cool. But where did it find prodsingle_uboone.fcl? How do I know it will run 5 events? The answer comes from looking at our job script fcl file. We find our fcl files from sleuthing in directories whose names we know from the key environment variable $FHICL_FILE_PATH. Here's a handy code chunk for looking for parameter sets. e echo $FHICL_FILE_PATH | sed "s/:/\n/g" | less It displays each individual path on it's own line, make it much easier to figure out what's going on. <uboonegpvm02.fnal.gov> echo $FHICL_FILE_PATH .:./job:/grid/fermiapp/products/uboone/uboonecode/nightly/job:.:./job:/grid/fermiapp/products/larsoft/larpandora/nightly/job:/grid/fermiapp/products/larsoft/larana/nightly/job:/grid/fermiapp/products/larsoft/larreco/nightly/job:/grid/fermiapp/products/larsoft/larexamples/nightly/job:/grid/fermiapp/products/larsoft/lareventdisplay/nightly/job:/grid/fermiapp/products/larsoft/larsim/nightly/job:/grid/fermiapp/products/larsoft/larevt/nightly/job:/grid/fermiapp/products/larsoft/lardata/nightly/job:/grid/fermiapp/products/larsoft/nutools/v1_01_04/fcl:/grid/fermiapp/products/larsoft/larcore/nightly/job:/grid/fermiapp/products/larsoft/art/v1_08_10/fcl <uboonegpvm02.fnal.gov> more /grid/fermiapp/products/uboone/uboonecode/nightly/job/prodsingle_uboone.fcl The job starts each event with a clean slate as indicated by the EmptyEvent key word. Note that in prodsingle_uboone.fcl maxEvents is 5. Note the output root file full of histograms (that we declared and filled in the source code) is specified to be at @single_hist_uboone.root@ and the output ART root file (which serves as the one that we'll pass onto any further modules in subsequent @lar@ jobs) is to be called @single_gen_uboone.root@. Note, that these did indeed appear in your directory! How did I make 1.5GeV/c muons and not, say, Higgsinos? The answer comes from drilling down into the included fcl files. From the job script we note that for the generator we need the fcl parameter set called @microboone_singlep@. fcl parameter sets are in fcl files in the same places as the job script fcl files: at all possible directories in $FHICL_FILE_PATH. So, let's search ... @<uboonegpvm02.fnal.gov> grep microboone_singlep /grid/fermiapp/uboone/products/uboone/uboonecode/nightly/job/* @ @<uboonegpvm02.fnal.gov> grep microboone_singlep /grid/fermiapp/products/larsoft/lar*/nightly/job/* @ The relevant return line is from the second effort: @/grid/fermiapp/products/larsoft/larsim/nightly/job/singles.fcl:microboone_singlep: @local::standard_singlep@. That's the only place where microboone_singlep appears on the left hand side of a colon, and that's where the parameter set is defined. Although, what we've learned is that this parameter set is equated to @standard_singlep@, which we must now hunt down, in turn. Note that the return from the greps shows us that after defining microboone_singlep to be standard_singlep, we then proceed to over-write some parameters like X0 and Z0, meaning we force the particles to be generated from a particular point in the TPC. We will return to this idea. We grep the lar* job areas again for singlep and discover the motherlode at @/grid/fermiapp/products/larsoft/larsim/nightly/job/singles.fcl@, which upon investigation shows the full single particle parameter set, including the line @PDG: [13]@. Hence, we have generated mu-s. h2. Reconstruct your muons Go run @lar -c standard_reco_uboone.fcl -s single_gen_uboone.root@. Note that this fcl script is magically just found in some other job/ directory. (Homework: which one?) The -s flag above tells @lar@ to read up the outputted ART root file of our previous job. Also, note this fcl file uses a rather bland series of reconstruction modules: calwire, which you absolutely must perform, then ffthitfinder, then dbcluster. Now that we're running a job with recon modules in it @source:{ module_type }@ says RootInput, as we're sucking up an already-written root file in a previous job. What would it take to make this fcl script use gaushitfinder (sic) and fuzzycluster instead of ffthitfinder and dbcluster? What would be required to make it also create spacepoints and run track3dkalmansps on those spacepoints? We leave that as an exercise to the reader. (A suggested starting point is to just copy down this fcl script to some local area and edit it, as before with prodsingle_uboone.fcl.) h2. Eventdisplay your recon'd muons Go run @lar -c evd_ub.fcl -s standard_reco_uboone.root@. Note that you can turn on/off the viewing of Hits/Clusters. This may motivate you to tack on 3D recon modules -- spacepointfinder, track3dkalmansps, showerfinder -- and re-recon your muons and then go see if you can view the 3D objects. Try out our other event viewer, argo at. Note that you can browse to your just-produced ART root files and view events. h2. Change the mu-'s to K+'s of lower momentum, originating throughout the TPC. Here we want to still use canned code: stuff from the nightly's or the vX_YY_ZZ's. But we have to get ahold of the prodsingle_uboone.fcl to alter a couple parameters to do what we want to do in this exercise. For now, let's just grab a copy and put it in our local area and use that. (We know this will work, cuz the very first item in $FHICL_FILE_PATH is "."). So, in your working area go @cp /grid/fermiapp/products/uboone/uboonecode/nightly/job/prodsingle_uboone.fcl .@ We'll show it here, as we'll refer to it a lot. #include "services.fcl" #include "singles.fcl" #include "largeantmodules.fcl" #include "detsimmodules.fcl" #include "mccheatermodules.fcl" process_name: SinglesGen services: { # Load the service that manages root files for histograms. TFileService: { fileName: "single_hist_uboone.root" } Timing: {} RandomNumberGenerator: {} #ART native random number generator user: @local::microboone_simulation_services } #Start each new event with an empty event. source: module_type: EmptyEvent maxEvents: 5 # Number of events to create firstRun: 1 # Run number to use for this file firstEvent: 1 # number of first event in the file # Define and configure some modules to do work on each event. # First modules are defined; they are scheduled later. # Modules are grouped by type. physics: producers: { generator: @local::microboone_singlep largeant: @local::microboone_largeant daq: @local::microboone_simwire backtrack: @local::standard_backtrackerloader } analyzers: largana: @local::microboone_largeantana #define the producer and filter modules for this path, order matters, #filters reject all following items. see lines starting physics.producers below simulate: [ generator, largeant, daq, backtrack ] analyzeIt: [ largana ] : [analyzeIt, stream1] #block to define where the output goes. if you defined a filter in the physics #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]} #entry in the output stream you want those to go to, where XXX is the label of the filter module(s) outputs: out1: module_type: RootOutput fileName: "single_gen_uboone.root" #default file name, can override from command line with -o or --output physics.producers.generator.SigmaThetaXZ: [ 5.0 ] physics.producers.generator.SigmaThetaYZ: [ 5.0 ] physics.producers.generator.X0: [ 100.0 ] physics.producers.generator.Z0: [ 50.0 ] physics.producers.generator.P0: [ 1.5 ] Remembering that we can overwrite parameters at this stage, and that the generator module lives in the producers clause of the physics parameter set, open an editor on your new copy of prodsingle_uboone.fcl and put these lines at the bottom in order to run 0.2 GeV/c K+s generated throughout the TPC, and not 1.5 GeV/c mu-s from a fixed point: <pre> physics.producers.generator.PDG: [321] # K+ physics.producers.generator.P0: [ 0.2 ] physics.producers.generator.SigmaX: [ 125.0 ] # width of Gaussian distribution, in cm physics.producers.generator.SigmaY: [ 125.0 ] physics.producers.generator.SigmaZ: [ 500.0 ] Parameters in brackets are vectors. If instead we say <pre> physics.producers.generator.PDG: [321, 13, 22, 2112] # K+, mu-, gamma, n we'll choose randomly (flat distribution) to generate any of those 4 particle types. However, if we do that, we should now go overwrite every possible parameter in that set, as inherited from standard_singlep and make sure all of them are 4-elements long. Let's note one more thing we have done with our canned code. We have run the module we label @largana@ in prodsingle_microboone.fcl. It is an analyzer, meaning it puts nothing on the event. This is in contrast with the producers which _do_ put persistent data onto the event. largana runs after all the producers. The key word @trigger_paths@ runs the producers, which you'll note are all captured in the @simulate@ array of modules, and the key word @end_paths@ holds the analyzers (held in @analyzeIt@) and the output. We remind you that you will always run producers or analyzers or filters in your fcl scripts. If we go open the output @single_hist_uboone.root@ file we'll find a directory corresponding to largana, in which its histograms and a TTree reside. root [0] TFile f("single_hist_uboone.root") root [1] TDirectoryFile* l = f->Get("largana") root [2] l->cd() root [3] MCTTree->Show(0) ======> EVENT:0 MCEvt = 1 MCSub = 0 MCRun = 1 ... The natural question that follows might be Do these module labels, @generator, largeant, daq@, etc, mean anything? In fact, they don't mean anything per se, but they do mean something in a relative sense. The data from one producer module might well be used in subsequent modules. And thus, among the parameter set information for a producer is generally a label, or series of labels, that specifies which previous modules are needed from which the current module will get data. Those labels then are the names of the previously-run modules _from this or a previous job_. So, yes, those module labels generally have meaning down the line. h3. Let us urge at this point that you go chase the @daq@ module's parameter set @microboone_simwire@. * Note that each module's parameter set, first and foremost, gives a @module_type@ field, which is the name of the @*_module.cc@ file that holds the producer/analyzer class whose main produce()/analyze() method is run each event-- finally, we make contact with the C++! * Note also the @DriftEModuleLabel@ field. You'll find that this is @largeant@, by default. That means the daq module needs the data from @largeant@, which it happens is exactly the module that runs before it in our prodsingle_uboone.fcl. If we'd called that module @largeeeeeant@ in prodsingle_uboone.fcl instead, we'd need to overwrite the module name expected by @daq@, which is done by tacking on physics.producers.daq.DriftEModuleLabel: "@largeeeeeant@" at the bottom. * Go try rerunning prodsingle_uboone.fcl, changing producer module names and, simultaneously, the expected module labels by downstream modules h2. A more complex job script -- for Yale Workshop. For the Yale Workshop we've produced a fcl script to walk you through a more elaborate set of modules. We'll let you go get it with the aid of the instructions on our corresponding wiki setup page. (Basically, from your new srcs directory, say @mrb g uboonecode@ if you haven't done that already, and walk down into @uboone/YaleWork/larsoftdemo.fcl@. This is on the develop branch of git.) This module runs a bunch of producers, 3 analyzers, and a filter. We won't say much here about the producers, but we want to comment on the analyzers. The analyzers are in many ways redundant with one another. We run them all here to demonstrate that it can be done, and each demonstrates something unique. One analyzer that we run is @larg4ana@, which produces a nice TTree and, further, shows you how to get the MC particles off the stack. @analysistree@ is another analyzer module which produces a big end-of-event DST, if you will. (Data Summary Tape, from pre-2005 HEP parlance.) Finally, @analysisexample@ is very nice, as it does some of the the things the other two analyzer modules do in finer grain detail, and, further, introduces cleanly the concept of @art::Associations@. This is the mechanism by which we save and read-back, say, the hits which constitute a cluster. And, last, we learn in this filter module how to write to two streams, with given cuts. The Filter we run demands particular particles are generated as primaries. This is a bit silly for generating single particles, as we've done here. The only primaries are those which, by fiat, we forced to appear, and so the filtered output root file is either entirely overlapping or empty with respect to the non-filtered version here. This particular filter makes more sense if the primary generator is, say, Genie. One other thing you'll notice about this fcl script is that not all the modules get their parameter sets from the included fcl files. AnalysisExample and the filter module get theirs on-the-fly -- meaning, their needed parameters are within stanzas here in the job script. This demonstrates some fcl flexibility. AnalysisExample is an involved exercise unto itself and is documented here:. h2. Edit the module that captures the truth information into histograms and TTree branches. Alright, we've gone as far as we can with the canned code. We need to edit some C++ now. We used above the module we labeled @largana@. That module is, after some exploration, LArG4Ana_module.cc. So, we need to grab that up. How does that work? Well, it's not MicroBooNE specific code, so it's not in uboonecode. That means it's in one of the lar* repositories. I am not so savvy with the O(10) lar* repositories as to know immediately where that is. My approach is to @ls -lt /grid/fermiapp/products/larsoft/lar*/nightly/source/*/LArG4Ana*@. We learn it's in larsim. We no longer want the nightly version. We want our own version. So, go now to and remind yourself how you git clone a repository into your srcs directory. Once you have larsim, go to @srcs/larsim/LArG4/LArG4Ana_module.cc@ and open it in an editor. Note the TTree and Histograms. Add a branch, remove a histogram, whatever. For sure, for piece of mind and if you do nothing else, add a line like @std::cout << "This is my code!!" << std::endl;@ Now, from the guide, go build, install and setup against your installed version. Run your prodsingle_uboone.fcl again. Look for your message that shows you you've really run your code! Open the output hist*.root file in ROOT and look for your changed histograms and TTrees.
https://cdcvs.fnal.gov/redmine/projects/uboonecode/wiki/_exercises/41/annotate
CC-MAIN-2020-45
refinedweb
2,687
58.28
I'm making an inventory system and I want to code all the items in manually using a constructor, I find it more fun that way, but I'm getting an error. Item Class: using UnityEngine; using System.Collections; [System.Serializable] public class Item { public string itemName; public string itemDesc; public Texture2D itemIcon; public int itemID; public int itemValue; public ItemType itemType; public enum ItemType { Weapon, Apparel, Consumable, Misc, Quest } public Item (string name, string desc, Texture2D icon, int id, int value, ItemType type) { itemName = name; itemDesc = desc; itemIcon = icon; itemID = id; itemValue = value; itemType = type; } } Items List: using UnityEngine; using System.Collections; using System.Collections.Generic; public class Items : Item { public static Texture2D asdf; private Item bread = new Item("bread", "eat it", asdf, 0, 2, ItemType.Consumable); } I'm inheriting "Item" in my Items list script. I though I had everything correct, but I get this error: (The type "Item" does not contain a constructor that takes '0' arguments). I understand what it's saying, I just don't know how to fix it. I tried working around it, changing names and stuff, but nothing works. If you can see what I'm trying to do, can you please lead me in the right direction? Please consider posting code within UA using code tags, and pasting errors here too. Why would Items inherit from Item? That doesn't seem to make sense. @AlwaysSunny Edited. @AlwaysSunny I thought I needed to inherit from Item to use the variables to create new items? I'm still a noob, so I wouldn't be surprised if I was completely off. Okay, turns out I'm just dumb. The enum had to be outside of the Item class, then the Items class could recognize it without inheritance. Did you find a way to fix the error having the same problem Answer by IEMatrixGuy · Nov 13, 2014 at 05:30 AM Hi, As far as I can see it's actually a pretty simple error. An enum is not a function (as im sure you are aware), and hence requires for there to be a semi-colon after the line is finished, so after the closing }. This is probably why youre getting that error, because as far as the code is concerned, there is no valid constructor whatsoever. Hope that helps :) IEMatrixGuy I added one there, if that's what you were talking about and I'm still getting the error. Answer by Owen-Reynolds · Nov 13, 2014 at 04:39 PM This is a standard C# error -- nothing to to with Unity. There are lots of places to read how C# classes work, and what the technical terms and errors mean. In general, if it doesn't involve a specific Unity function, like rayCast or SendMessage, the best place to find the answer is a general google search with C# and the error. Sometimes even if it does involve something Unity-specific, it's still just a common C# error. Think of Unity as middle-wear. There's a bunch of stuff everyone knows already, with dozens of helpful places to learn, like modelling, textures, C# programming; and Unity mostly just combines them in a pretty IDE. Now, in order to learn anything, you need some "real" project to try it on. And nothing wrong with using Unity to learn how to write classes. But I think you'll be a lot happier if you think of your current project that way -- "teaching myself C# classes." For fun, try the sentence "teaching myself C# classes, and enums, and Unity-C# addons, and making an inventory system." Doesn't roll off the. An OS design issue: File types associated with their appropriate programs 1 Answer Behind the scenes voodoo w/ Instantiate 2 Answers C# Array of Child Objects 1 Answer Parent Class variables in Child Class's Inspector (C#) 0 Answers Inheritance best solution to handle *many* instances of a class with unique values? 1 Answer
https://answers.unity.com/questions/830565/having-problem-with-constructor.html
CC-MAIN-2020-10
refinedweb
662
69.01
Red Hat Bugzilla – Bug 20268 gcc segfaults on kosher code Last modified: 2007-04-18 12:29:39 EDT GCC is segfaulting on a simple compile. I'm trying to compile Evolution from CVS, but I've checked that this compiles elsewhere (on stock RH7 and on RH6.2 with the patches). I've verified my gcc install (rpm -V gcc), and tried this quite a few times. Here's the command line that I'm running to get this crash. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/lib/glib/include -I/opt/gnome_cvs//include -DUNICODE_USE_SYSTEM_ICONV -DG_LOG_DOMAIN=\"libibex\" -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wp,-MD,.deps/ibex_block.pp -c ibex_block.c -fPIC -DPIC -o .libs/ibex_block.lo Here's the output that I get back. I'll make a backup of this build tree, so that I can provide additional feedback upon request. BTW, this machine is NOT overclocked or doing any other "bad things" with the hardware. ibex_block.c:246:74: warning: pasting would not give a valid preprocessing token ibex_block.c:4: parse error before `<' In file included from /usr/include/bits/types.h:166, from /usr/include/sys/types.h:31, from /usr/include/db1/db.h:40, from ibex_block.c:6: ibex_block.c:6: /usr/include/db1/db.h:76: parse error before `size_t' /usr/include/db1/db.h:76: warning: no semicolon at end of struct or union /usr/include/db1/db.h:77: warning: data definition has no type or storage class /usr/include/db1/db.h:121: parse error before `*' /usr/include/db1/db.h:122: parse error before `*' /usr/include/db1/db.h:123: parse error before `DBT' /usr/include/db1/db.h:124: parse error before `DBT' /usr/include/db1/db.h:142: parse error before `*' /usr/include/db1/db.h:143: warning: no semicolon at end of struct or union /usr/include/db1/db.h:146: parse error before `}' /usr/include/db1/db.h:146: warning: data definition has no type or storage class /usr/include/db1/db.h:158: parse error before `size_t' /usr/include/db1/db.h:171: parse error before `size_t' /usr/include/db1/db.h:171: warning: no semicolon at end of struct or union /usr/include/db1/db.h:174: parse error before `}' /usr/include/db1/db.h:174: warning: data definition has no type or storage class ibex_block.c:6: parse error before `==' In file included from /usr/include/_G_config.h:45, from /usr/include/libio.h:31, from /usr/include/stdio.h:70, from ibex_block.c:9: ibex_block.c:9: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: Internal error: Segmentation fault. Please submit a full bug report. See <URL:> for instructions. Please rerun the above command with -save-temps -v additional options and attach here the resulting .i file. It looks like the code does not play nice with the included headers (for whatever reason, without .i file I cannot tell much), but no matter what even on bad input gcc should never segfault nor generate ICE, so I'd like the testcase so that I can fix it. Created attachment 5015 [details] Output from -save-temps of gcc That file (ibex_block.c) has apparently unresolved CVS or RCS conflict in it, <<<<<<< ibex_block.c #include <db1/db.h> ======= >>>>>>> 1.5 That's not valid C obviously, if you fix it, it will work. I'll work on fixing the ICE though. Richard Kenner fixed this on Sep, 16th in CVS gcc, I've just verified the backport of this patch into RH gcc fixes it, it will appear in the next gcc rpm package (gcc-2.96-63), which should make it into rawhide first and soon after into gcc errata.
https://bugzilla.redhat.com/show_bug.cgi?id=20268
CC-MAIN-2017-04
refinedweb
649
53.98
Created on 2017-10-11 14:53 by Oren Milman, last changed 2020-04-12 17:16 by scoder. This issue is now closed. The following code results in refleaks: import sys import _elementtree builder = _elementtree.TreeBuilder() parser = _elementtree.XMLParser(target=builder) refcount_before = sys.gettotalrefcount() parser.__init__(target=builder) print(sys.gettotalrefcount() - refcount_before) # should be close to 0 This is because _elementtree_XMLParser___init___impl() (in Modules/_elementtree.c) doesn't decref before assigning to fields of `self`. The following code also results in refleaks: import sys import _elementtree elem = _elementtree.Element(42) elem.__setstate__({'tag': 42, '_children': list(range(1000))}) refcount_before = sys.gettotalrefcount() elem.__setstate__({'tag': 42, '_children': []}) print(sys.gettotalrefcount() - refcount_before) # should be close to -1000 This is because element_setstate_from_attributes() doesn't decref the old children before storing the new children. I would open a PR to fix this soon. Shame on me. I only now found out that Serhiy already mentioned most of the refleaks in. According to Serhiy's advice (), this issue now also includes some crashes in _elementtree: The following code crashes: import _elementtree parser = _elementtree.XMLParser.__new__(_elementtree.XMLParser) parser.close() This is because _elementtree_XMLParser_close_impl() assumes that the XMLParser object is initialized, and so it passes `self` to expat_parse(), which assumes that `self->parser` is valid, and crashes. Similarly, calling feed(), _parse_whole() or _setevents(), or reading the `entity` or `target` attribute of an uninitialized XMLParser object would result in a crash. ISTM that PR 3956 is more complex, and already not so small, so i would soon open another PR to fix these crashes. This has been pending for a while too long, but the fixes look good to me. They should still go at least into Py3.8 and later. New changeset 402e1cdb132f384e4dcde7a3d7ec7ea1fc7ab527 by Oren Milman in branch 'master': bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) New changeset 61511488cf4e7a1cb57a38efba7e0a84a387fe58 by Miss Islington (bot) in branch '3.8': bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19485) Let's add it to the last bug fix release of 3.7 as well. It fixes a crash bug, after all. New changeset 096e41aa4e558b28b7260fe01eb21414b1458b20 by Miss Islington (bot) in branch '3.7': [3.7] bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19487) Thanks for the fix, Oren!
https://bugs.python.org/issue31758
CC-MAIN-2021-04
refinedweb
387
51.75
This action might not be possible to undo. Are you sure you want to continue? By Nick Parlante This Stanford CS Education document tries to summarize all the basic features of the C language. The coverage is pretty quick, so it is most appropriate as review or for someone with some programming background in another language. Topics include variables, int types, floating point types, promotion, truncation, operators, control structures (if, while, for), functions, value parameters, reference parameters, structs, pointers, arrays, the preprocessor, and the standard C library functions. The most recent version is always maintained at its Stanford CS Education Library URL. Please send your comments to nick.parlante@cs.stanford.edu. I hope you can share and enjoy this document in the spirit of goodwill in which it is given away -- Nick Parlante, 4/2003, Stanford California. Stanford CS Education Library. Table of Contents Introduction .........................................................................................pg. 2 Where C came from, what is it like, what other resources might you look at. Section 1 Basic Types and Operators ..........................................pg. 3 Integer types, floating point types, assignment operator, comparison operators, arithmetic operators, truncation, promotion. Section 2 Control Structures ........................................................pg. 11 If statement, conditional operator, switch, while, for, do-while, break, continue. Section 3 Complex Data Types .....................................................pg. 15 Structs, arrays, pointers, ampersand operator (&), NULL, C strings, typedef. Section 4 Functions ........................................................................pg. 24 Functions, void, value and reference parameters, const. Section 5 Odds and Ends ..............................................................pg. 29 Main(), the .h/.c file convention, pre-processor, assert. Section 6 Advanced Arrays and Pointers ....................................pg. 33 How arrays and pointers interact. The [ ] and + operators with pointers, base address/offset arithmetic, heap memory management, heap arrays. Section 7 Operators and Standard Library Reference ..............pg. 41 A summary reference of the most common operators and library functions... Other Resources • The C Programming Language, 2nd ed., by Kernighan and Ritchie. The thin book which for years was the bible for all C programmers. Written by the original designers of the language. The explanations are pretty short, so this book is better as a reference than for beginners. • Pointers and Memory -- Much more detail about local memory, pointers, reference parameters, and heap memory than in this article, and memory is really the hardest part of C and C++. • Linked List Basics -- Once you understand the basics of pointers and C, these problems are a good way to get more practice. 3 Section 1 Basic Types and Operators C provides a standard, minimal set of basic data types. Sometimes these are called "primitive" types. More complex data structures can be built up from these basic types. Integer represent (') like 'A' or 'z'. The char constant 'A' is really just a synonym for the ordinary integer value 65 which is the ASCII value for 4 uppercase 'A'. There are special case char constants, such as '\t' for tab, for characters which are not convenient to type on a keyboard. 'A' '\n' '\t' '\0' uppercase 'A' character newline character tab character the "null" character -- integer value 0 (different from the char digit '0') '\012' the character with value 12 in octal, which is decimal 10 int Constants Numbers in the source code such as 234 default to type int. They may be followed by an 'L' . Pitfall -- int Overflow 'f' (float) or 'l' (long double). Single precision equates to about 6 digits of 5? (1.0/3.0 + 1.0/3.0 + 1.0/3.0) // is this equal to 1.0 exactly?. Comments Comments in C are enclosed by slash/star pairs: /* .. comments .. */. int num; num = 42; num 42 A variable corresponds to an area of memory which can store a value of the given type..). 6 float x, y, z, X; Assignment Operator = Truncation Pitfall -- int vs. float Arithmetic Here 7; score = (score / 20.0) * 100; score = (int)(score / 20.0) * 100; // OK -- floating point division from cast // OK -- floating point division from 20.0 // NO -- the (int) truncates the floating // quotient back to 0 No Boolean -- Use int). (we'll see the while() statement a bit later) Mathematical Operators C includes the usual binary and unary arithmetic operators. See the appendix for the table) Unary Increment Operators: ++ -The unary ++ and -- operators increment or decrement the value in a variable. There are "pre" and "post" variants for both operators which do slightly different things (explained below) var++ ++var increment increment "post" variant "pre" variant 8 var---var decrement decrement "post" variant "pre" variant int i = 42; i++; // increment on i // i is now 43 i--; // decrement on i // i is now 42... int i = 42; int j; j = (i++ + 10); // i is now 43 // j is now 52 (NOT 53) j = (++i + 10) // i is now 44 // j is now 54 C Programming Cleverness and Ego Issues. If I want j to depend on i's value before the increment, I write... j = (i + 10); i++; Or if I want to j to use the value after the increment, I write... i++; j = (i + 10); Now then, isn't that nicer? (editorial) Build programs that do something cool rather than programs which flex the language's syntax. Syntax -- who cares? Relational Operators These operate on integer or floating point values and return a 0 or 1 boolean value. == Equal 9 != > < >= <= if (x = "= ≠ ==". ! && || Boolean not (unary) Boolean and Boolean or 10 typically used with unsigned types. In particular, the shift operations are guaranteed to shift 0 bits into the newly vacated positions when used on unsigned values. ~ & | ^ >> << Bitwise Negation (unary) – flip 0 to 1 and 1 to 0 throughout Bitwise And Bitwise Or Bitwise Exclusive Or Right Shift by right hand side (RHS) (divide by power of 2) Left Shift by RHS (multiply by power of 2) Here's the list of assignment shorthand operators... +=, -= Increment or decrement by RHS *=, /= Multiply or divide by RHS %= >>= <<= Mod by RHS Bitwise right shift by RHS (divide by power of 2) Bitwise left shift RHS (multiply by power of 2) Bitwise and, or, xor by RHS &=, |=, ^= 11 Section 2 Control Structures Curly Braces {} C uses curly braces ({}) to group multiple statements together. The statements execute in order. Some languages let you declare variables on any line (C++). Other languages insist that variables are declared only at the beginning of functions (Pascal). C takes the middle road -- variables may be declared within the body of a function, but they must follow a '{'. More modern languages like Java and C++ allow you to declare variables on any line, which is handy. If Statement Both an if and an if-else are available in C. The <expression> can be any valid expression. The parentheses around the expression are required, even if it is just a single variable. if (<expression>) <statement> // simple form with no {}'s or else clause if (<expression>) { <statement> <statement> } // simple form with {}'s to group statements if (<expression>) { <statement> } else { <statement> } // full then/else form Conditional Expression -or- The Ternary Operator The conditional expression can be used as a shorthand for some if-else statements. The general syntax of the conditional operator is: <expression1> ? <expression2> : <expression3> This is an expression, not a statement, so it represents a value. The operator works by evaluating expression1. If it is true (non-zero), it evaluates and returns expression2 . Otherwise, it evaluates and returns expression3. The classic example of the ternary operator is to return the smaller of two variables. Every once in a while, the following form is just what you needed. Instead of... if (x < y) { min = x; } else { min = y; } 12 You just say... min = (x < y) ? x : y; Switch Statement The switch statement is a sort of specialized form of if used to efficiently separate different blocks of code based on the value of an integer. The switch expression is evaluated, and then the flow of control jumps to the matching const-expression case. The case expressions are typically int or char constants. The switch statement is probably the single most syntactically awkward and error-prone features of the C language. switch (<expression>) { case <const-expression-1>: <statement> break; case <const-expression-2>: <statement> break; case <const-expression-3>: case <const-expression-4>: <statement> break; default: // optional <statement> } // here we combine case 3 and 4 Each constant needs its own case keyword and a trailing colon (:). Once execution has jumped to a particular case, the program will keep running through all the cases from that point down -- this so called "fall through" operation is used in the above example so that expression-3 and expression-4 run the same statements. The explicit break statements are necessary to exit the switch. Omitting the break statements is a common error -- it compiles, but leads to inadvertent fall-through behavior. Why does the switch statement fall-through behavior work the way it does? The best explanation I can think of is that originally C was developed for an audience of assembly language programmers. The assembly language programmers were used to the idea of a jump table with fall-through behavior, so that's the way C does it (it's also relatively easy to implement it this way.) Unfortunately, the audience for C is now quite different, and the fall-through behavior is widely regarded as a terrible part of the language. While Loop The while loop evaluates the test expression before every loop, so it can execute zero times if the condition is initially false. It requires the parenthesis like the if. while (<expression>) { <statement> } 13 Do-While Loop Like a while, but with the test condition at the bottom of the loop. The loop body will always execute at least once. The do-while is an unpopular area of the language, most everyone tries to use the straight while if at all possible. do { <statement> } while (<expression>) For Loop The for loop in C is the most general looping construct. The loop header contains three parts: an initialization, a continuation condition, and an action. for (<initialization>; <continuation>; <action>) { <statement> } The initialization is executed once before the body of the loop is entered. The loop continues to run as long as the continuation condition remains true (like a while). After every execution of the loop, the action is executed. The following example executes 10 times by counting 0..9. Many loops look very much like the following... for (i = 0; i < 10; i++) { <statement> } C programs often have series of the form 0..(some_number-1). It's idiomatic in C for the above type loop to start at 0 and use < in the test so the series runs up to but not equal to the upper bound. In other languages you might start at 1 and use <= in the test. Each of the three parts of the for loop can be made up of multiple expressions separated by commas. Expressions separated by commas are executed in order, left to right, and represent the value of the last expression. (See the string-reverse example below for a demonstration of a complex for loop.) Break The break statement will move control outside a loop or switch statement. Stylistically speaking, break has the potential to be a bit vulgar. It's. while (<expression>) { <statement> <statement> if (<condition which can only be evaluated here>) break; <statement> <statement> } // control jumps down here on the break 14 The break does not work with if. It only works in loops and switches. Thinking that a break refers to an if when it really refers to the enclosing while has created some high quality bugs. When using a break, it's nice to write the enclosing loop to iterate in the most straightforward, obvious, normal way, and then use the break to explicitly catch the exceptional, weird cases. Continue The continue statement causes control to jump to the bottom of the loop, effectively skipping over any code below the continue. As with break, this has a reputation as being vulgar, so use it sparingly. You can almost always get the effect more clearly using an if inside your loop. while (<expression>) { ... if (<condition>) continue; ... ... // control jumps here on the continue } 15 Section 3 Complex Data Types; f1.numerator = 22; f1.denominator = 7; f2 = f1; // this copies over the whole struct // declare two fractions Arrays The simplest type of array in C is one which is declared and used in one place. There are more complex uses of arrays which I will address later along with pointers. The following declares an array called scores to hold 100 integers and sets the first and last elements. C arrays are always indexed from 0. So the first int in scores array is scores[0] and the last is scores[99]. int scores[100]; scores[0] = 13; scores[99] = 42; // set first element // set last element 16 The name of the array refers to the whole array. (implementation) it works by representing a pointer to the start of the array. scores 13 Index 0 1 -5673 2 22541 99 42 There is space for each int element in the scores array — this element is referred to as scores[0]. These elements have random values because the code has not yet initialized them to anything. Someone else’s memory off either end of the array — do not read or write this memory. It's a very common error to try to refer to non-existent scores[100] element. C does not do any run time or compile time bounds checking in arrays. At run time the code will just access or mangle whatever memory it happens to hit and crash or misbehave in some unpredictable way thereafter. "Professional programmer's language." The convention of numbering things 0..(number of things - 1) pervades the language. To best integrate with C and other C programmers, you should use that sort of numbering in your own data structures as well. Multidimensional Arrays The following declares a two-dimensional 10 by 10 array of integers and sets the first and last elements to be 13. int board [10][10]; board[0][0] = 13; board[9][9] = 13;, board[1][8] comes right before board[1][9] in memory. (highly optional efficiency point) It's typically efficient to access memory which is near other recently accessed memory. This means that the most efficient way to read through a chunk of the array is to vary the rightmost index the most frequently since that will access elements that are near each other in memory. 17 Array of Structs The following declares an array named "numbers" which holds 1000 struct fraction's. struct fraction numbers[1000]; numbers[0].numerator = 22; numbers[0].denominator = 7; /* set the 0th struct fraction */ Here's a general trick for unraveling C variable declarations: look at the right hand side and imagine that it is an expression. The type of that expression is the left hand side. For the above declarations, an expression which looks like the right hand side (numbers[1000], or really anything of the form numbers[...]) will be the type on the left hand side (struct fraction). Pointers A pointer is a value which represents a reference to another value sometimes known as the pointer's "pointee". Hopefully you have learned about pointers somewhere else, since the preceding sentence is probably inadequate explanation. This discussion will concentrate on the syntax of pointers in C -- for a much more complete discussion of pointers and their use see, Pointers and Memory. Syntax Syntactically C uses the asterisk or "star" (*) to indicate a pointer. C defines pointer types based on the type pointee. A char* is type of pointer which refers to a single char. a struct fraction* is type of pointer which refers to a struct fraction. int* intPtr; // declare an integer pointer variable intPtr char* charPtr; // declares a character pointer -// a very common type of pointer // Declare two struct fraction pointers // (when declaring multiple variables on one line, the * // should go on the right with the variable) struct fraction *f1, *f2; The Floating "*" In the syntax, the star is allowed to be anywhere between the base type and the variable name. Programmer's have their own conventions-- I generally stick the * on the left with the type. So the above declaration of intPtr could be written equivalently... int *intPtr; int * intPtr; int* intPtr; // these are all the same Pointer Dereferencing We'll see shortly how a pointer is set to point to something -- for now just assume the pointer points to memory of the appropriate type. In an expression, the unary * to the left of a pointer dereferences it to retrieve the value it points to. The following drawing shows the types involved with a single pointer pointing to a struct fraction. 18 struct fraction* f1; f1 7 22 denominator numerator struct fraction* struct fraction (the whole block of memory) Expression f1 *f1 (*f1).numerator Type struct fraction* struct fraction int int (within block of memory) There's an alternate, more readable syntax available for dereferencing a pointer to a struct. A "->" at the right of the pointer can access any of the fields in the struct. So the reference to the numerator field could be written f1->numerator. Here are some more complex declarations... struct fraction** fp; // a pointer to a pointer to a struct fraction // an array of 20 struct fractions // an array of 20 pointers to // struct fractions struct fraction fract_array[20]; struct fraction* fract_ptr_array[20]; One nice thing about the C type syntax is that it avoids the circular definition problems which come up when a pointer structure needs to refer to itself. The following definition defines a node in a linked list. Note that no preparatory declaration of the node pointer type is necessary. struct node { int data; struct node* next; }; The & Operator The & operator is one of the ways that pointers are set to point to things. The & operator computes a pointer to the argument to its right. The argument can be any variable which takes up space in the stack or heap (known as an "LValue" technically). So &i and &(f1->numerator) are ok, but &6 is not. Use & when you have some memory, and you want a pointer to that memory. 19 void foo() { int* p; // p is a pointer to an integer int i; // i is an integer p = &i; // Set p to point to i *p = 13; // Change what p points to -- in this case i -- to 13 // At this point i is 13. So is *p. In fact *p is i. } p i 13 When using a pointer to an object created with &, it is important to only use the pointer so long as the object exists. A local variable exists only as long as the function where it is declared is still executing (we'll see functions shortly). In the above example, i exists only as long as foo() is executing. Therefore any pointers which were initialized with &i are valid only as long as foo() is executing. This "lifetime" constraint of local memory is standard in many languages, and is something you need to take into account when using the & operator. NULL A pointer can be assigned the value 0 to explicitly represent that it does not currently have a pointee. Having a standard representation for "no current pointee" turns out to be very handy when using pointers. The constant NULL is defined to be 0 and is typically used when setting a pointer to NULL. Since it is just 0, a NULL pointer will behave like a boolean false when used in a boolean context. Dereferencing a NULL pointer is an error which, if you are lucky, the computer will detect at runtime -- whether the computer detects this depends on the operating system. Pitfall -- Uninitialized Pointers When using pointers, there are two entities to keep track of. The pointer and the memory it is pointing to, sometimes called the "pointee". There are three things which must be done for a pointer/pointee relationship to work... (1) The pointer must be declared and allocated (2) The pointee must be declared and allocated (3) The pointer (1) must be initialized so that it points to the pointee (2) The most common pointer related error of all time is the following: Declare and allocate the pointer (step 1). Forget step 2 and/or 3. Start using the pointer as if it has been setup to point to something. Code with this error frequently compiles fine, but the runtime results are disastrous. Unfortunately the pointer does not point anywhere good unless (2) and (3) are done, so the run time dereference operations on the pointer with * will misuse and trample memory leading to a random crash at some point. 20 { int* p; *p = 13; } // NO NO NO p does not point to an int yet // this just overwrites a random area in memory p i -14346 Of course your code won't be so trivial, but the bug has the same basic form: declare a pointer, but forget to set it up to point to a particular pointee. Using Pointers Declaring a pointer allocates space for the pointer itself, but it does not allocate space for the pointee. The pointer must be set to point to something before you can dereference it. Here's some code which doesn't do anything useful, but which does demonstrate (1) (2) (3) for pointer use correctly... int* p; // (1) allocate the pointer int i; // (2) allocate pointee struct fraction f1; // (2) allocate pointee p = &i; *p = 42; // (3) setup p to point to i // ok to use p since it's setup // (3) setup p to point to a different int p = &(f1.numerator); *p = 22; p = &(f1.denominator); *p = 7; // (3) So far we have just used the & operator to create pointers to simple variables such as i. Later, we'll see other ways of getting pointers with arrays and other techniques. C Strings. 21"); } localString b 0 i 1 n k y 0 x x x x 2 .... String Code Example. 22 { char string[1000]; int len; // string is a local 1000 char array" } "Large Enough" Strings The convention with C strings is that the owner of the string is responsible for allocating array space which is "large enough" to store whatever the string will need to store. Most routines do not check that size of the string memory they operate on, they just assume its big enough and blast away. Many, many programs contain declarations like the following... { char localString[1000]; ... } The program works fine so long as the strings stored are 999 characters or shorter. Someday when the program needs to store a string which is 1000 characters or longer, then it crashes. Such array-not-quite-big-enough problems are a common source of bugs, and are also the source of so called "buffer overflow" security problems. This scheme has the additional disadvantage that most of the time when the array is storing short strings, 95% of the memory reserved is actually being wasted. A better solution allocates the string dynamically in the heap, so it has just the right size. To avoid buffer overflow attacks, production code should check the size of the data first, to make sure it fits in the destination string. See the strlcpy() function in Appendix A. char* Because of the way C handles the types of arrays, the type of the variable localString above is essentially char*. C programs very often manipulate strings using variables of type char* which point to arrays of characters. Manipulating the actual chars in a string requires code which manipulates the underlying array, or the use 23 of library functions such as strcpy() which manipulate the array for you. See Section 6 for more detail on pointers and arrays. TypeDef A typedef statement introduces a shorthand name for a type. The syntax is... typedef <type> <name>; The following defines Fraction type to be the type (struct fraction). C is case sensitive, so fraction is different from Fraction. It's convenient to use typedef to create types with upper case names and use the lower-case version of the same word as a variable. typedef struct fraction Fraction; Fraction fraction; // Declare the variable "fraction" of type "Fraction" // which is really just a synonym for "struct fraction". The following typedef defines the name Tree as a standard pointer to a binary tree node where each node contains some data and "smaller" and "larger" subtree pointers. typedef struct treenode* Tree; struct treenode { int data; Tree smaller, larger; // equivalently, this line could say }; // "struct treenode *smaller, *larger" 24 Section 4 Functions); } Syntax The keyword "static" defines that the function will only be available to callers in the file where it is declared. If a function needs to be called from another file, the function cannot be static and will require a prototype -- see prototypes below. The static form is convenient for utility functions which will only be used in the file where they are declared. Next , the "int" in the function above is the type of its return value. Next comes name of the function and its list of parameters. When referring to a function by name in documentation or other prose, it's a convention to keep the parenthesis () suffix, so in this case I refer to the function as "Twice()". The parameters are listed with their types and names, just like variables. Inside the function, the parameter num and the local variable result are "local" to the function -- they get their own memory and exist only so long as the function is executing. This independence of "local" memory is a standard feature of most languages (See CSLibrary/102 for the detailed discussion of local memory). The "caller" code which calls Twice() looks like... int num = 13; int a = 1; int b = 2; a = Twice(a); // call Twice() passing the value of a b = Twice(b + num); // call Twice() passing the value b+num // a == 2 // b == 30 // num == 13 (this num is totally independent of the "num" local to Twice() 25 Things to notice... (vocabulary) The expression passed to a function by its caller is called the "actual parameter" -- such as "a" and "b + num" above. The parameter storage local to the function is called the "formal parameter" such as the "num" in "static int Twice(int num)". Parameters are passed "by value" that means there is a single copying assignment operation (=) from each actual parameter to set each formal parameter. The actual parameter is evaluated in the caller's context, and then the value is copied into the function's formal parameter just before the function begins executing. The alternative parameter mechanism is "by reference" which C does not implement directly, but which the programmer can implement manually when needed (see below). When a parameter is a struct, it is copied. The variables local to Twice(), num and result, only exist temporarily while Twice() is executing. This is the standard definition for "local" storage for functions. The return at the end of Twice() computes the return value and exits the function. Execution resumes with the caller. There can be multiple return statements within a function, but it's good style to at least have one at the end if a return value needs to be specified. Forgetting to account of a return somewhere in the middle of a function is a traditional source of bugs. C-ing and Nothingness -- void void is a type formalized in ANSI C which means "nothing". To indicate that a function does not return anything, use void as the return type. Also, by convention, a pointer which does not point to any particular type is declared as void*. Sometimes void* is used to force two bodies of code to not depend on each other where void* translates roughly to "this points to something, but I'm not telling you (the client) the type of the pointee exactly because you do not really need to know." If a function does not take any parameters, its parameter list is empty, or it can contain the keyword void but that style is now out of favor. void TakesAnIntAndReturnsNothing(int anInt); int TakesNothingAndReturnsAnInt(); int TakesNothingAndReturnsAnInt(void); // equivalent syntax for above Call by Value vs. Call by Reference C passes parameters "by value" which means that the actual parameter values are copied into local storage. The caller and callee functions do not share any memory -- they each have their own copy. This scheme is fine for many purposes, but it has two disadvantages. 1) Because the callee has its own copy, modifications to that memory are not communicated back to the caller. Therefore, value parameters do not allow the callee to communicate back to the caller. The function's return value can communicate some information back to the caller, but not all problems can be solved with the single return value. 26 2) Sometimes it is undesirable to copy the value from the caller to the callee because the value is large and so copying it is expensive, or because at a conceptual level copying the value is undesirable. The alternative is to pass the arguments "by reference". Instead of passing a copy of a value from the caller to the callee, pass a pointer to the value. In this way there is only one copy of the value at any time, and the caller and callee both access that one value through pointers. Some languages support reference parameters automatically. C does not do this -- the programmer must implement reference parameters manually using the existing pointer constructs in the language. Swap Example The classic example of wanting to modify the caller's memory is a swap() function which exchanges two values. Because C uses call by value, the following version of Swap will not work... void Swap(int x, int y) { int temp; temp = x; x = y; y = temp; } // NO does not work // these operations just change the local x,y,temp // -- nothing connects them back to the caller's a,b // Some int a = int b = Swap(a, caller code which calls Swap()... 1; 2; b); Swap() does not affect the arguments a and b in the caller. The function above only operates on the copies of a and b local to Swap() itself. This is a good example of how "local" memory such as ( x, y, temp) behaves -- it exists independent of everything else only while its owning function is running. When the owning function exits, its local memory disappears. Reference Parameter Technique To pass an object X as a reference parameter, the programmer must pass a pointer to X instead of X itself. The formal parameter will be a pointer to the value of interest. The caller will need to use & or other operators to compute the correct pointer actual parameter. The callee will need to dereference the pointer with * where appropriate to access the value of interest. Here is an example of a correct Swap() function. static void Swap(int* x, int* y) { int temp; temp = *x; *x = *y; *y = temp; } // params are int* instead of int // use * to follow the pointer back to the caller's memory 27 // Some caller code which calls Swap()... int a = 1; int b = 2; Swap(&a, &b); Things to notice... • The formal parameters are int* instead of int. • The caller uses & to compute pointers to its local memory (a,b). • The callee uses * to dereference the formal parameter pointers back to get the caller's memory. Since the operator & produces the address of a variable -- &a is a pointer to a. In Swap() itself, the formal parameters are declared to be pointers, and the values of interest (a,b) are accessed through them. There is no special relationship between the names used for the actual and formal parameters. The function call matches up the actual and formal parameters by their order -- the first actual parameter is assigned to the first formal parameter, and so on. I deliberately used different names (a,b vs x,y) to emphasize that the names do not matter. const The qualifier const can be added to the left of a variable or parameter type to declare that the code using the variable will not change the variable. As a practical matter, use of const is very sporadic in the C programming community. It does have one very handy use, which is to clarify the role of a parameter in a function prototype... void foo(const struct fraction* fract); In the foo() prototype, the const declares that foo() does not intend to change the struct fraction pointee which is passed to it. Since the fraction is passed by pointer, we could not know otherwise if foo() intended to change our memory or not. Using the const, foo() makes its intentions clear. Declaring this extra bit of information helps to clarify the role of the function to its implementor and caller. 28 Bigger Pointer Example The following code is a large example of using reference parameters. There are several common features of C programs in this example...Reference parameters are used to allow the functions Swap() and IncrementAndSwap() to affect the memory of their callers. There's a tricky case inside of IncrementAndSwap() where it calls Swap() -- no additional use of & is necessary in this case since the parameters x, y inside InrementAndSwap() are already pointers to the values of interest. The names of the variables through the program(a, b, x, y, alice, bob) do not need to match up in any particular way for the parameters to work. The parameter mechanism only depends on the types of the parameters and their order in the parameter list -- not their names. Finally this is an example of what multiple functions look like in a file and how they are called from the main() function. static void Swap(int* a, int* b) { int temp; temp = *a; *a = *b; *b = temp; } static void IncrementAndSwap(int* x, int* y) { (*x)++; (*y)++; Swap(x, y); // don't need & here since a and b are already // int*'s. } int main() { int alice = 10; int bob = 20; Swap(&alice, &bob); // at this point alice==20 and bob==10 IncrementAndSwap(&alice, &bob); // at this point alice==11 and bob==21 return 0; } 29 Section 5 Odds and Ends main() The execution of a C program begins with function named main(). All of the files and libraries for the C program are compiled together to build a single program file. That file must contain exactly one main() function which the operating system uses as the starting point for the program. Main() returns an int which, by convention, is 0 if the program completed successfully and non-zero if the program exited due to some error condition. This is just a convention which makes sense in shell oriented environments such as Unix or DOS. Multiple Files For a program of any size, it's convenient to separate the functions into several separate files. To allow the functions in separate files to cooperate, and yet allow the compiler to work on the files independently, C programs typically depend on two features... Prototypes A .) Preprocessor The preprocessing step happens to the C source before it is fed to the compiler. The two most common preprocessor directives are #define and #include... 30 #define The #define directive can be used to set up symbolic replacements in the source. As with all preprocessor operations, #define is extremely unintelligent -- it just does textual replacement without understanding. #define statements are used as a crude way of establishing symbolic constants. #define MAX 100 #define SEVEN_WORDS that_symbol_expands_to_all_these_words Later code can use the symbols MAX or SEVEN_WORDS which will be replaced by the text to the right of each symbol in its #define. #include The "#include" directive brings in text from different files during compilation. #include is a very unintelligent and unstructured -- it just pastes in the text from the given file and continues compiling. The #include directive is used in the .h/.c file convention below which is used to satisfy the various constraints necessary to get prototypes correct. #include "foo.h" // refers to a "user" foo.h file -// in the originating directory for the compile // refers to a "system" foo.h file -// in the compiler's directory somewhere #include <foo.h> foo.h vs foo.c The universally followed convention for C is that for a file named "foo.c" containing a bunch of functions... • A separate file named foo.h will contain the prototypes for the functions in foo.c which clients may want to call. Functions in foo.c which are for "internal use only" and should never be called by clients should be declared static. Near the top of foo.c will be the following line which ensures that the function definitions in foo.c see the prototypes in foo.h which ensures the "prototype before definition" rule above. #include "foo.h" // show the contents of "foo.h" // to the compiler at this point Any xxx.c file which wishes to call a function defined in foo.c must include the following line to see the prototypes, ensuring the "clients must see prototypes" rule above. #include "foo.h" • • 31 #if At compile time, there is some space of names defined by the #defines. The #if test can be used at compile-time to look at those symbols and turn on and off which lines the compiler uses. The following example depends on the value of the FOO #define symbol. If it is true, then the "aaa" lines (whatever they are) are compiled, and the "bbb" lines are ignored. If FOO were 0, then the reverse would be true. #define FOO 1 ... #if FOO aaa aaa #else bbb bbb #endif You can use #if 0 ...#endif to effectively comment out areas of code you don't want to compile, but which you want to keeep in the source file. Multiple #includes -- #pragma once There's a problem sometimes where a .h file is #included into a file more than one time resulting in compile errors. This can be a serious problem. Because of this, you want to avoid #including .h files in other .h files if at all possible. On the other hand, #including .h files in .c files is fine. If you are lucky, your compiler will support the #pragma once feature which automatically prevents a single file from being #included more than once in any one file. This largely solves multiple #include problems. // foo.h // The following line prevents problems in files which #include "foo.h" #pragma once <rest of foo.h ...> Assert Array>); assert(i>=0); assert(i<MAX_INTS); ints[i] = 0; // i should be in bounds, // but is it really? // safety assertions 32(); assert(errCode == 0); // yes assert(foo() == 0); // NO, foo() will not be called if // the compiler removes the assert() 33 Section 6 Advanced Arrays and Pointers Advanced C Arrays In C, an array is formed by laying out all the elements contiguously in memory. The square bracket syntax can be used to refer to the elements in the array. The array as a whole is referred to by the address of the first element which is also known as the "base address" of the whole array. { int array[6]; int sum = 0; sum += array[0] + array[1]; } // refer to elements using [] array The array name acts like a pointer to the first element- in this case an (int*). array[0] array[1] array[2] ... Index 0 1 2 3 4 5 The programmer can refer to elements in the array with the simple [ ] syntax such as array[1]. This scheme works by combining the base address of the whole array with the index to compute the base address of the desired element in the array. It just requires a little arithmetic. Each element takes up a fixed number of bytes which is known at compile-time. So the address of element n in the array using 0 based indexing will be at an offset of (n * element_size) bytes from the base address of the whole array. address of nth element = address_of_0th_element + (n * element_size_in_bytes) The square bracket syntax [ ] deals with this address arithmetic for you, but it's useful to know what it's doing. The [ ] takes the integer index, multiplies by the element size, adds the resulting offset to the array base address, and finally dereferences the resulting pointer to get to the desired element. { int intArray[6]; intArray[3] = 13; } 34 intArray 12 bytes of offset (intArray+3) 13 Index 0 1 4 2 8 3 12 4 16 5 20 0 Offset in bytes = n * elem_size Assume sizeof(int) = 4i.e. Each array element takes up 4 bytes. '+' Syntax In a closely related piece of syntax, a + between a pointer and an integer does the same offset computation, but leaves the result as a pointer. The square bracket syntax gives the nth element while the + syntax gives a pointer to the nth element. So the expression (intArray + 3) is a pointer to the integer intArray[3]. (intArray + 3) is of type (int*) while intArray[3] is of type int. The two expressions only differ by whether the pointer is dereferenced or not. So the expression (intArray + 3) is exactly equivalent to the expression (&(intArray[3])). In fact those two probably compile to exactly the same code. They both represent a pointer to the element at index 3. Any [] expression can be written with the + syntax instead. We just need to add in the pointer dereference. So intArray[3] is exactly equivalent to *(intArray + 3). For most purposes, it's easiest and most readable to use the [] syntax. Every once in a while the + is convenient if you needed a pointer to the element instead of the element itself. Pointer++ Style -- strcpy() If p is a pointer to an element in an array, then (p+1) points to the next element in the array. Code can exploit this using the construct p++ to step a pointer over the elements in an array. It doesn't help readability any, so I can't recommend the technique, but you may see it in code written by others. (This example was originally inspired by Mike Cleron) There's a library function called strcpy(char* destination, char* source) which copies the bytes of a C string from one place to another. Below are four different implementations of strcpy() written in order: from most verbose to most cryptic. In the first one, the normally straightforward while loop is actually sortof tricky to ensure that the terminating null character is copied over. The second removes that trickiness by moving assignment into the test. The last two are cute (and they demonstrate using ++ on pointers), but not really the sort of code you want to maintain. Among the four, I think strcpy2() is the best stylistically. With a smart compiler, all four will compile to basically the same code with the same efficiency. 35 // Unfortunately, a straight while or for loop won't work. // The best we can do is use a while (1) with the test // in the middle of the loop. void strcpy1(char dest[], const char source[]) { int i = 0; while (1) { dest[i] = source[i]; if (dest[i] == '\0') break; i++; } } // we're done // Move the assignment into the test void strcpy2(char dest[], const char source[]) { int i = 0; while ((dest[i] = source[i]) != '\0') { i++; } } // Get rid of i and just move the pointers. // Relies on the precedence of * and ++. void strcpy3(char dest[], const char source[]) { while ((*dest++ = *source++) != '\0') ; } // Rely on the fact that '\0' is equivalent to FALSE void strcpy4(char dest[], const char source[]) { while (*dest++ = *source++) ; } Pointer Type Effects Both [ ] and + implicitly use the compile time type of the pointer to compute the element_size which affects the offset arithmetic. When looking at code, it's easy to assume that everything is in the units of bytes. int *p; p = p + 12; // at run-time, what does this add to p? 12? The above code does not add the number 12 to the address in p-- that would increment p by 12 bytes. The code above increments p by 12 ints. Each int probably takes 4 bytes, so at run time the code will effectively increment the address in p by 48. The compiler figures all this out based on the type of the pointer. Using casts, the following code really does just add 12 to the address in the pointer p. It works by telling the compiler that the pointer points to char instead of int. The size of char is defined to be exactly 1 byte (or whatever the smallest addressable unit is on the computer). In other words, sizeof(char) is always 1. We then cast the resulting 36 (char*) back to an (int*). The programmer is allowed to cast any pointer type to any other pointer type like this to change the code the compiler generates. p = (int*) ( ((char*)p) + 12); Arrays and Pointers One effect of the C array scheme is that the compiler does not distinguish meaningfully between arrays and pointers-- they both just look like pointers. In the following example, the value of intArray is a pointer to the first element in the array so it's an (int*). The value of the variable intPtr is also (int*) and it is set to point to a single integer i. So what's the difference between intArray and intPtr? Not much as far as the compiler is concerned. They are both just (int*) pointers, and the compiler is perfectly happy to apply the [] or + syntax to either. It's the programmer's responsibility to ensure that the elements referred to by a [] or + operation really are there. Really its' just the same old rule that C doesn't do any bounds checking. C thinks of the single integer i as just a sort of degenerate array of size 1. { int intArray[6]; int *intPtr; int i; intPtr = &i; intArray[3] = 13; intPtr[0] = 12; intPtr[3] = 13; } // ok // odd, but ok. Changes i. // BAD! There is no integer reserved here! 37 intArray (intArray+3) 13 Index 0 1 intPtr 2 3 4 5 (intPtr+3) 12 i 13 These bytes exist, but they have not been explicitly reserved. They are the bytes which happen to be adjacent to the memory for i. They are probably being used to store something already, such as a smashed looking smiley face. The 13 just gets blindly written over the smiley face. This error will only be apparent later when the program tries to read the smiley face data. Array Names Are Const One subtle distinction between an array and a pointer, is that the pointer which represents the base address of an array cannot be changed in the code. The array base address behaves like a const pointer. The constraint applies to the name of the array where it is declared in the code-- the variable ints in the example below. { int ints[100] int *p; int i; ints = NULL; ints = &i; ints = ints + 1; ints++; p = ints; // // // // NO, cannot change the base addr ptr NO NO NO // OK, p is a regular pointer which can be changed // here it is getting a copy of the ints pointer // OK, p can still be changed (and ints cannot) // OK // OK // OK (possible foo definitions are below) p++; p = NULL; p = &i; foo(ints); } 38 Array parameters are passed as pointers. The following two definitions of foo look different, but to the compiler they mean exactly the same thing. It's preferable to use whichever syntax is more accurate for readability. If the pointer coming in really is the base address of a whole array, then use [ ]. void foo(int arrayParam[]) { arrayParam = NULL; // Silly but valid. Just changes the local pointer } void foo(int *arrayParam) { arrayParam = NULL; // ditto } Heap Memory C. Memory Management 39 long time. The pointer passed to free() must be exactly the pointer which was originally returned by malloc() or realloc(), not just a pointer into somewhere within the heap block. Dynamic Arrays Since arrays are just contiguous areas of bytes, you can allocate your own arrays in the heap using malloc(). The following code allocates two arrays of 1000 ints-- one in the stack the usual "local" way, and one in the heap using malloc(). Other than the different allocations, the two are syntactically similar in use. { int a[1000]; int *b; b = (int*) malloc( sizeof(int) * 1000); assert(b != NULL); // check that the allocation succeeded a[123] = 13; b[123] = 13; free(b); } // Just use good ol' [] to access elements // in both arrays. Although both arrays can be accessed with [ ], the rules for their maintenance are very different.... Advantages of being in the heap • Size (in this case 1000) can be defined at run time. Not so for an array like "a". • The array will exist until it is explicitly deallocated with a call to free(). • You can change the size of the array at will at run time using realloc(). The following changes the size of the array to 2000. Realloc() takes care of copying over the old elements. ... b = realloc(b, sizeof(int) * 2000); assert(b != NULL); Disadvantages of being in the heap • You have to remember to allocate the array, and you have to get it right. • You have to remember to deallocate it exactly once when you are done with it, and you have to get that right. • The above two disadvantages have the same basic profile: if you get them wrong, your code still looks right. It compiles fine. It even runs for small cases, but for some input cases it just crashes unexpectedly because random memory is getting overwritten somewhere like the smiley face. This sort of "random memory smasher" bug can be a real ordeal to track down. 40 Dynamic Strings The dynamic allocation of arrays works very well for allocating strings in the heap. The advantage of heap allocating a string is that the heap block can be just big enough to store the actual number of characters in the string. The common local variable technique such as char string[1000]; allocates way too much space most of the time, wasting the unused bytes, and yet fails if the string ever gets bigger than the variable's fixed size. #include <string.h> /* Takes a c string as input, and makes a copy of that string in the heap. The caller takes over ownership of the new string and is responsible for freeing it. */ char* MakeStringInHeap(const char* source) { char* newString; newString = (char*) malloc(strlen(source) + 1); // +1 for the '\0' assert(newString != NULL); strcpy(newString, source); return(newString); } 41 Section 7 Details and Library Functions Precedence and Associativity function-call() [] -> . ! ~ ++ -- + - *(ptr deref) sizeof &(addr of) (all unary ops are the same) * / % (the top tier arithmetic binary ops) + (second tier arithmetic binary ops) < <= > >= == != in order: & ^ | && || (note that bitwise comes before boolean) = and all its variants , (comma) . L to R R to L L to R L to R L to R L to R L to R R to L L to R A combinations which never works right without parens: *structptr.field You have to write it as (*structptr).field or structptr->field Standard Library Functions Many basic housekeeping funcions are available to a C program in form of standard library functions. To call these, a program must #include the appropriate .h file. Most compilers link in the standard library code by default. The functions listed in the next section are the most commonly used ones, but there are many more which are not listed here. stdio.h ctype.h string.h math.h stdlib.h assert.h stdarg.h setjmp.h signal.h time.h file input and output character tests string operations mathematical functions such as sin() and cos() utility functions such as malloc() and rand() the assert() debugging macro support for functions with variable numbers of arguments support for non-local flow control jumps support for exceptional condition signals date and time 42 limits.h, float.h constants which define type range values such as INT_MAX stdio.h Stdio.h is a very common file to #include -- it includes functions to print and read strings from files and to open and close files in the file system. FILE* fopen(const char* fname, const char* mode); Open a file named in the filesystem and return a FILE* for it. Mode = "r" read,"w" write,"a"append, returns NULL on error. The standard files stdout, stdin, stderr are automatically opened and closed for you by the system. int fclose(FILE* file); Close a previously opened file. Returns EOF on error. The operating system closes all of a program's files when it exits, but it's tidy to do it beforehand. Also, there is typically a limit to the number of files which a program may have open simultaneously. int fgetc(FILE* in); Read and return the next unsigned char out of a file, or EOF if the file has been exhausted. (detail) This and other file functions return ints instead of a chars because the EOF constant they potentially is not a char, but is an int. getc() is an alternate, faster version implemented as a macro which may evaluate the FILE* expression more than once. char* fgets(char* dest, int n, FILE* in) Reads the next line of text into a string supplied by the caller. Reads at most n-1 characters from the file, stopping at the first '\n' character. In any case, the string is '\0' terminated. The '\n' is included in the string. Returns NULL on EOF or error. int fputc(int ch, FILE* out); Write the char to the file as an unsigned char. Returns ch, or EOF on err. putc() is an alternate, faster version implemented as a macro which may evaluate the FILE* expression more than once. int ungetc(int ch, FILE* in); Push the most recent fgetc() char back onto the file. EOF may not be pushed back. Returns ch or EOF on error. int printf(const char* format_string, ...); Prints a string with values possibly inserted into it to standard output. Takes a variable number of arguments -- first a format string followed by a number of matching arguments. The format string contains text mixed with % directives which mark things to be inserted in the output. %d = int, %Ld=long int, %s=string, %f=double, %c=char. Every % directive must have a matching argument of the correct type after the format string. Returns the number of characters written, or negative on error. If the percent directives do not match the number and type of arguments, printf() tends to crash or otherwise do the wrong thing at run time. fprintf() is a variant which takes an additional FILE* argument which specifies the file to print to. Examples... printf("hello\n"); prints: hello printf("hello %d there %d\n", 13, 1+1); prints: hello 13 there 2 printf("hello %c there %d %s\n", 'A', 42, "ok"); prints: hello A there 42 ok 43 int scanf(const char* format, ...) Opposite of printf() -- reads characters from standard input trying to match elements in the format string. Each percent directive in the format string must have a matching pointer in the argument list which scanf() uses to store the values it finds. scanf() skips whitespace as it tries to read in each percent directive. Returns the number of percent directives processed successfully, or EOF on error. scanf() is famously sensitive to programmer errors. If scanf() is called with anything but the correct pointers after the format string, it tends to crash or otherwise do the wrong thing at run time. sscanf() is a variant which takes an additional initial string from which it does its reading. fscanf() is a variant which takes an additional initial FILE* from which it does its reading. Example... { int num; char s1[1000]; char s2[1000]; scanf("hello %d %s %s", &num, s1, s2); } Looks for the word "hello" followed by a number and two words (all separated by whitespace). scanf() uses the pointers &num, s1, and s2 to store what it finds into the local variables. ctype.h ctype.h includes macros for doing simple tests and operations on characters isalpha(ch) // ch is an upper or lower case letter // same as above, but upper/lower specific islower(ch), isupper(ch) isspace(ch) isdigit(ch) // ch is a whitepace character such as tab, space, newline, etc. // digit such as '0'..'9' toupper(ch), tolower(ch) // Return the lower or upper case version of a alphabetic character, otherwise pass it through unchanged. 44 string.h None(). 45 stdlib.h int rand(); Returns a pseudo random integer in the range 0..RAND_MAX (limits.h) which is at least 32767. void srand(unsigned int seed); The sequence of random numbers returned by rand() is initially controlled by a global "seed" variable. srand() sets this seed which, by default, starts with the value 1. Pass the expression time(NULL) (time.h) to set the seed to a value based on the current time to ensure that the random sequence is different from one run to the next. void* malloc(size_t size); Allocate a heap block of the given size in bytes. Returns a pointer to the block or NULL on failure. A cast may be required to store the void* pointer into a regular typed pointer. [ed: see the Heap Allocation section above for the longer discussion of malloc(), free(), and realloc()] void free(void* block); Opposite of malloc(). Returns a previous malloc block to the system for reuse void* realloc(void* block, size_t size); Resize an existing heap block to the new size. Takes care of copying bytes from the old block to the new. Returns the new base address of the heap block. It is a common error to forget to catch the return value from realloc(). Returns NULL if the resize operation was not possible. void exit(int status); Halt and exit the program and pass a condition int back to the operating sytem. Pass 0 to signal normal program termination, non-zero otherwise. void* bsearch(const void* key, const void* base, size_t len, size_t elem_size, <compare_function>); Do a binary search in an array of elements. The last argument is a function which takes pointers to the two elements to compare. Its prototype should be: int compare(const void* a, const void* b);, and it should return 0, -1, or 1 as strcmp() does. Returns a pointer to a found element, or NULL otherwise. Note that strcmp() itself cannot be used directly as a compare function for bsearch() on an array of char* strings because strcmp() takes char* arguments and bsearch() will need a comparator that takes pointers to the array elements -- char**. void qsort(void* base, size_t len, size_t elem_size, <compare_function>); Sort an array of elements. Takes a function pointer just like besearch(). Revision History 11/1998 -- original major version. Based on my old C handout for CS107. Thanks to Jon Becker for proofreading and Mike Cleron for the original inspiration. Revised 4/2003 with many helpful typo and other suggestions from Negar Shamma and A. P. Garcia This action might not be possible to undo. Are you sure you want to continue? We've moved you to where you read on your other device. Get the full title to continue reading from where you left off, or restart the preview.
https://www.scribd.com/doc/3750885/Essential-c
CC-MAIN-2017-04
refinedweb
9,921
62.68
I am trying to create a .txt file in a folder which is not the directory the script is being run from. I have a folder where the script is, and I am able to create the folder in the same directory the script is in but It won't create the text file in the folder. I usually run in to one of two errors: PermissionError: [Errno 13] Permission denied FileNotFoundError: [Errno 2] No such file or directory: def main(): import os import os.path abc = open("userpassfile.txt", "r+") userpassfile = abc.read().strip().split() actCheck = input('Do you already have an account?') if (actCheck == 'Yes' or actCheck == 'yes'): loginUser = input('What is your username?') loginPass = input('What is yout password?') if (loginUser and loginPass in userpassfile): dirCheck = input('Account Settings? [y/n]') if (dirCheck == 'y' or dirCheck == 'Y'): print('This function is not working yet!') addpassCheck = input('Would you like to add a password?') if (addpassCheck == 'yes' or addpassCheck == 'Yes'): abc123 = open(loginUser + '.txt', "r+") huehuehue = abc123.read().strip().split() addpass1 = input('What service is the pass') addPass2 = input('What is the password') abc123.write('(' + addpass1 + ',' + addPass2 + ')' + '\n') else: print('hihi') else: print("hehe") else: print('Incorrect password or username!') else: createAct = input('would you like to create one?') if (createAct == 'Yes' or createAct == 'yes'): save_path = 'C:/Users/Ari Madian/Desktop/Scripts/Python Scripts/Python Password Project' createUser = input('What would you like your username to be?:') createPass = input('What would you like your password to be?:') abc.write(createUser + '\n') abc.write(createPass + '\n') os.makedirs(createUser) completeName = os.path.join(save_path, createUser + ".txt") main() Try to open the .txt file in a mode or w mode. If you open it in r+ mode the file will not be created since r+ does not create a file. 'a' creates the file if it does not exist but if it does exist it simply adds to it. 'w', on the other hand, deletes the existing one and creates a new one. I think you want to use a here. EDIT: I misunderstood the question here. The file was being created in the wrong directory. Just for future reference, if putting a file in a subdirectory, make sure to add "/" when seperating them.
https://codedump.io/share/wwRpMmsmIph/1/how-to-create-a-text-file-in-a-folder-using-python
CC-MAIN-2018-22
refinedweb
374
69.07
If I remember correctly, list in python can be treated like a stack but not a queue. To be more explicit, list in python has amortized constant time append() and pop(). Doing pop(0) to get the left most element is a linear time operation and should be strongly discouraged. As list.pop(0) in python means a linear time, I used a mark to simulate queue Just remember where you have been and ignore the elements before mark And my solution accepted is def levelOrder(self, root): if not root: return [] traversalList = [] travel = [] travel.append(root) mark = 0 while len(travel) > mark: # Use mark to tell where is the head of the "queue" temp = [] while len(travel) > mark: temp.append(travel[mark]) mark += 1 traversalList.append([node.val for node in temp]) for node in temp: if node.left: travel.append(node.left) if node.right: travel.append(node.right) return traversalList As sashimee suggested, use collections.deque(). And you will get FIFO effect from appendleft() and pop() # import collections # looks to be automatically imported already q = collections.deque() q.appendleft(1) q.appendleft(2) q.appendleft(3) q.pop() # 1 q.pop() # 2 q.pop() # 3 As for the workaround of using list() and pop(0) to realize a queue, it's strongly discouraged. (you can refer to a good article 'Efficiency of using a Python list as a queue' on stackoverflow) Though list objects support similar operations, they are optimized for fast fixed-length operations and incur O(n) memory movement costs for pop(0) and insert(0, v) operations which change both the size and position of the underlying data representation. Conclusion: use collections.deque() instead of list() for a FIFO queue Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.
https://discuss.leetcode.com/topic/1635/cannot-import-queue-in-python
CC-MAIN-2017-47
refinedweb
302
54.83
I am trying to write a Python regex to capture the full name of someone whose last name is Nakamoto? You can assume that the first name that comes before it will always be one word that begins with a capital letter. The regex must match the following: 'Satoshi Nakamoto' 'Alice Nakamoto' 'RoboCop Nakamoto' 'satoshi Nakamoto' (where the first name is not capitalised) 'Mr. Nakamoto' (where the preceding word has a nonletter character) 'Nakamoto' (which has no first name) 'Satoshi nakamoto' (where Nakamoto is not capitalised) [A-Z][a-z]+\sNakamoto Satoshi Nakamoto satoshi Nakamoto import re #import regular expressions #regular expression NameSearch = re.compile(r'[A-Z][a-z]+\sNakamoto', re.I | re.VERBOSE) # perform search on string Result = NameSearch.search("Satoshi Nakamoto") #Debug code to check if it found a match or not print (Result == None) if Result != None: print (Result.group()) Your regular expression actually works fine over here but it will not match the "RoboCop Nakamoto" case. import re def printMatch(name): pat = re.compile(r'\b[A-Z][a-zA-Z]+\sNakamoto') if pat.search(name): print '"'+name+'" matches' else: print '"'+name+'" does not match' printMatch('test satoshi Nakamoto test') printMatch('test Satoshi Nakamoto test') printMatch('test RoboCop Nakamoto test') printMatch('test roboCop Nakamoto test') The output is this: "test satoshi Nakamoto test" does not match "test Satoshi Nakamoto test" matches "test RoboCop Nakamoto test" matches "test roboCop Nakamoto test" does not match
https://codedump.io/share/to9Da6UfLNRn/1/trying-to-understand-python-regex39s
CC-MAIN-2017-09
refinedweb
238
52.49
Unde- HIGH 89 LOW 73 FORECAST: Partly sunny with scattered thunder- storms. PAGE 4A JULY 7, 2007 4 : I mI Expand the flock -A Jewish congregation forms from the efforts of one dedicated father./Page 1C SPECULATION ABOUNDS: Korean leader How ill is Kim Jong II? Talk emerges anew after a rare public appearance by the reclusive North Korean 'leader./Page 12A 3ETS.EI I FLR New memoir Don Rickles, the 81-year-old comedian, promotes "Rickles' Book."/Page 6B 11 PUBLIC UNIVERSITIES: State tuition Suit says tuition at Florida's public universities should be set by the Board of Govenors, not the Legislature./Page 3A OPINION;: Should the county school district go into debt today to build new school buildings for tomorrow's students? EDITORIAL, PAGE 10A. MAILING IT IN: Postal progress? The U.S. Postal Service faces big questions as it struggles ,to cope with rising costs and *major changes in the way peo- ple communicate./Page 7A COMING UP: Almost extinct Florida's alligator wrestlers are becoming an endangered species as the profession changes./Sunday WHAT'S ONLINE: Electronic news day's top headlines via e-mail @ ChronicleOnline.com. Annie's Mailbox . . . 7C 'Com ics ............ 8C Crossword ...... . . . 7C Editorial ........ ... 10A Entertainment ..... . . 6B Horoscope ............ 8C Lottery Payouts ........ 6B 'M ovies .............. 8C obituaries ............ 6A Stocks ............. 8A Three Sections H p Head of hurricane center faces criticism /3 C I T R "- U N Y -- Florida's Best Community Newspaper Serving Florida's Best Community 25 VOLUME 119 No. 188 .-,."Copyrighted Material *sot% oft% W"" ... . Syndicated Content Available from Commercial News Providers o0rh pe vaI DAVE SIGLER/Chronicle U.S. Rep Ginny Brown Waite, R-Brooksville, wishes Kenneth Dobbins happy birthday Friday prior to a ceremony to pres- ent medals to area veterans at First Christian Church of Inverness. The World War II veteran and cancer survivor lost his medals in a fire eight years ago. Dobbins turned 85 on Friday. Awards given to six veterans who lost or never received medals KEeR LYNN MCHALE kmchale@chronicleonline.com Chronicle e stepped up to the podiuni, in uniform, tears streaming down his face. Cancer wasn't the only battle he fought in his lifetime. Kenneth Dobbins, a World War II veteran, split time between the U.S. Air Force and Army between 1941 and 1946. On Friday, he accepted seven awards in recognition of his dedication and sacrifice. The same day, he celebrated his 85th birthday with friends and family Awards were given to six veterans, including Dobbins, to honor their military services during a medal presentation, sponsored by U.S. Rep. Ginny Brown-Waite, R-Brooksville, at the First Christian Church in * For a full list of medals do and thank God we came home," PAGE Dobbins said. He said the ceremony was "beautiful, hard, but good." For some, the day was commemo- Inverness. Brown-Waite called them rative and emotional. As she sat on "some of America's best and stage, Joleen Carrier held a picture bravest" of her late father, Joseph Burns, of During the Pledge of Allegiance Hernando. She accepted four they saluted and held their hats over awards on his behalf. Burns served their hearts. One by one they were from 1941 to 1946 as a member of the called up to receive coins, ribbons, U.S. Coast Guard. Carrier told the medals, pins, citations and certifi- audience her father's rich knowl- cates. For some veterans this was the edge of history inspired her to first time they received certain become a history teacher. awards. For others, medals had been For many veterans, their services lost or destroyed overtime, do not end when they return from Dobbins lost all his medals in a duties. Charles W Smith, an house fire several years ago, his Inverness resident, is presently daughter, Louise Kitchen said. She active in the Marine Corps League. found an old War World II uniform He served from 1951 to 1954 repre- on eBay for $9.99 and gave it to her senting the U.S. Marine Corps and father to wear during the ceremony. "We went and did what we had to Please see MEDALS/Page 5A SCity breaks ground on park Final phase of Cooter Pond set DAVE PIEKLIK dpieklik@chronicleonline.com Chronicle It's a quiet place of Inver- ness off the beaten path that few people visit, but in a short time, that could change. City officials, members of the Citrus County Sheriff's Office and those involved in the development of the Cooter Pond Park broke ground Friday at the end of Mill Avenue for the latest work on the project. In a grassy, secluded lot, a boardwalk and other features will soon pop up. Inverness Parks and Recreation Director Pati Smith talked to the group about phases three and four of the project that begin Monday at the 25-acre park off U.S. 41 and Martin Luther King Jr. Boulevard. The phases will add 865 linear feet of board- walk to the 500 feet now in place. Work is expected to end by Please see PARK/Page 5A I I Chronicle graphic Officials broke ground Friday on the next phase of the Cooter Pond Park project, at the end of Mill Avenue in Inverness. City council will hear plans for police, fire MIKE WRIGHT mwright@chronicleonline.com Chronicle Police and fire will stay in the hands of the Crystal River citizens, at least for now. The city council on Thursday decided to begin talks with the county for the potential merging of fire services. And council members said they might begin similar discussions with Sheriff Jeff Dawsy about seeking proposals for police service. Neither situation, however, will change for the 2007-08 budget, council members agreed. R Instead, the council during a work- Kitc shop generally agreed with City Crysta Manager Andy Houston's recommenda- ma tion to trim about $360,000 from the budget as a tax-cutting measure. Topping the cuts is reducing the police force by three officers two vacant road patrol posi- tions and the assistant chief of police. Lt. o ci la 1y Gordon Rowland, a veteran of the city police for 25 years and an assistant chief since 2001, stands to lose his job Councilman Jim Farley, who retired as the Crystal River police chief and promoted Rowland, supported the cuts but called for the halt to any decision to remove Rowland. Farley said not offering Rowland an alternative position on the police force sends the wrong message to employees and the public. "When we treat them shabbily, as we're treating this individual, that says a lot about us," he said. Mayor Ron Kitchen, however, said it >n isn't the council's role to decide who hen works for the city manager or police River chief. 'or. "I'm going to support him on his rec- ommendations, as painful as it can be," Kitchen said, referring to Houston. On the fire and police issues, both Farley and Please see COUNCIL/Page 5A Council City deserves a break on taxes for county patrol costs MIKE WRIGHT mwright@chronicleonline.com Chronicle Crystal River citizens shouldn't pay as much as their unincorporat- ed neighbors for. Citrus County sheriff's road patrol because the city has its own police force, council members agreed Thursday. Andi Hous --l City Manager Andy Crysta Houston said that cityme while the city enjoys full use of other sheriff's serv- ices, such as emergency dis- al iar patch and its helicopter, road patrol deputies rarely respond to calls for service inside the city. He said it doesn't make sense for Crystal River taxpayers to pay the same for road patrol as people out- side the city who do not have Crystal River rew police officers respond- ton ing to calls. River "If you call 911 and nager. live in Beverly Hills, 100 percent of the time, a sheriff's deputy shows up," Please see BREAK/Page 5A '-..' 7. .s - 2A SATURDAY, JULY 7, 2007 _______LOCAL TRUS UNT_______Y ( Trial date set in negligence lawsuit DAVE PIEKLIK dpieklik@chronicleonline.com Chronicle A Jan. 7 civil trial date is set for the family of a Beverly Hills man who col- lapsed suddenly outside a bowling alley almost three years ago and died days later. Lori Schmidt of Michigan is suing Citrus Memorial Health System, a doctor and physician assistant, claim- ing negligence in her son's death. Her lawsuit says Dr. Bryan Frederick and physician assistant Ray Liptrap failed to properly interpret an elec- trocardiogram (EKG) of his heart when he arrived at the hospital. Ryan Curme, 22, collapsed Nov 16, 2004, outside Manatee Lanes in Crystal River. He died three days later of an enlarged heart, according to medical reports. Curme died after losing conscious- ness from a syncope, when there is temporarily insufficient blood flow to the brain. The medical team failed to recognize Curme could have had a damaged heart brought on by viral ill- ness, the lawsuit states. The lawsuit says the two didn't properly test Curme to diagnose his condition or refer him to a specialist, and accuses the hospital of vicarious liability, saying it was responsible for the care provided. Schmidt is seeking reimbursement of more than $15,000 in medical and funeral expenses through the Florida Wrongful Death Act. Mediation in the case had been ongoing before the trial was sched- uled Thursday before Circuit Judge Patricia Thomas. A cutoff date of Dec. 19 has been scheduled for mediation attempts, while depositions are ongo- ing. Curme moved to Beverly Hills in January 2004 from Michigan, and in that time worked at Citrus Hills Construction and Blackshears II Aluminum. In February 2004, he-- started playing pool at Stixx Billiards in Homosassa, joining a Tuesday night pool league. Shortly after his death, the pool hall put on a benefit in his honor, cov- ering a pool table with flowers and pool sticks in his honor, as family and friends came by to remember him. , Double kidney transplant patient still faces battles For the Chronicle Rosetta Smith stands outside her home in Dunnellon. The 55-year-old has been living with kidney fail- ure for 11 years. She had a double kidney transplant in 2005, but one of the kidneys has failed. Church plans benefit for Dunnelon woman AMY RYFFEL-KRAGH For the Chronicle She has survived a double kidney transplant and lived to tell about it. Rosetta Smith is still in the fight of her life, and she is doing her best to make it, but she and her husband of 27 years, Roosevelt, have incurred a mountain of med- ical bills since her transplant in 2005. The former Dunnellon schoolteacher, who had to retire in 1997 due to her ill- ness, began feeling sick in 1996. After nine years of dial- ysis, she received two kidneys on March 22, 2005. Most people only receive one kidney, or one at a time, she said. Due to the age of her donor, 61, she was able to receive both. Since the sur- gery, however, one of the kid- neys has failed. It took six hours to surgical- ly attach her new kidneys. Her new organs came from a Tennessee inmate. The inmate's family said it donat- ed the organs because they wanted to give something back "His family wanted to donate something to life," the Dunnellon-area resident said. The 55-year-old said that after receiving the trans- plants, she developed an infection. Roosevelt said that his wife's stitches had not been removed when she was rushed back into to surgery because of the infection.. Smith had more complica- tions. "One morning I woke up BENEFIT CONCERT Union Missionary Baptist Church is having a Benefit Concert fundrais- er for Rosetta Smith. The Dunnellon area woman and her husband are try- ing to cope with a mouni. tain of medical bills that have accrued'since her double kidney transplant two years ago. The concert will be 7:30 p.m. Saturday, July 21, at 19976 SW 110th Place in Dunnellon. Anyone who would like to participate in the concert should call David Thomas, musician, at (352) 489-0392 or Mr. And Mrs. Smith at (352) 489-5681. To donate to the National TransplantAssistance Fund for Smith's bills, call (800) 642-8399 or visit- fund.org and type in Smith's name and could see two," she said. The double vision eventually subsided, but doctors were never able to figure out what caused the blurred vision. Even with.all of her medical problems, Smith continues to keep pressing on. Some peo- ple might assume that Smith would begin to feel good after the transplant. She doesn't. In the mornings, she feels sick and has to take a lot of pills. She glances at the pile of pills on her dining room table, which underscores the amount she takes daily 31. They are not all directly relat- ed to her condition, but many of them are. Along with the pills, Smith receives bi-week- ly shots and makes monthly doctor visits. Chronic renal failure is the progressive loss of kidney function. A kidney transplant is not a cure for the illness, but it can allow for a better quality of life than living on dialysis. "I really didn't know how sick I was," she said. Smith still gets emotional when she talks about her con- dition, but her eyes light up when she talks about her hus- band. "He was there 24/7," she said. Smith and her husband attend church, where Rosetta said she loves singing and studying the Bible. She also would like to take computer classes at the local library, and someday she hopes to have a computer of her own. The Smith's medical bills continue to mount. Rosetta's monthly medical insurance sets them back more than $1,100 a month. To help the Smiths, the National Transplant Assistance Fund has set-up a fundraising cam- paign for her. NTAF is a non- profit organization that has been helping transplant recipients for the last 23 years. To donate to the National Transplant Assistance Fund for Smith, call (800) 642-8399. Amy Ryffel-Kragh is a staff writer for the Riverland News and Sumter County Times. LifeSouth to host blood drive for man Martin Czysk was injured in a motorcycle accident May 12 Special to the Chronicle LifeSouth will host a replacement blood drive for long-time Dunnellon resident Martin Czysk, who is currently being treated at Shands. Czsyk was injured in an accident last month that almost took his life. Czsyk, a member of the Gold Wing Road Riders Association, was riding his motorcycle to work on May 12 when a car hit him head-on, leaving him with broken ribs, collarbone, and sternum. He also suffered lung, liver and kidney damage, and had to be placed on dialysis. The accident came at the worst possible time when he just begun a new job and was without health insurance. The Czsyk family is asking anyone who would like to help to donate blood to LifeSouth, the sole provider of blood to Shands. Residents can donate blood from Monday through Friday at the new LifeSouth donor center in Dunnellon at the Rainbow Springs Shopping Center, 11352 North Williams Street No. 303, Dunnellon between the hours of 7 a.m. and 3:30 p.m. Donors can also stop by the Dunnellon Super Wal-Mart today and Sunday The blood- mobile will be stationed in the parking lot between the hours of 9 a.m. and 6 p.m. both days. "Donating blood takes just a few minutes," said Colleen Ansardi, Branch Manager for LifeSouth, "but the impact is enormous. Please help us help Marty. Join us at the Marty Czsyk Replacement BLOOD DRIVES Residents may donate blood at the new LifeSouth donor center in Dunnellon at 11352 Noth Williams Street between 7 a.m. and 3:30 p.m. Donors my give blood at Super Wal-Mart in Dunnellon from 9 a.m.-to 6 p.m. today and Sunday. For more information, call LifeSouth at (888)795- 2707; or online, visit www. lifesouth.org. Drive and give the gift of life to a neighbor in need." All donors will receive a recognition item and a free cholesterol screening; Donors must be at least 17 years old, weigh 110 pounds or more, and have photo I.D. For more information about becoming a donor, or to make an appoint- ment, call LifeSouth at (888) 795-2707 or visit- south.org. County BRIEFS Democratic Club will meet Tuesday The Downtown Democratic Club will meet at noon Tuesday, July 10, at B&W Rexall Drug Store in Inverness. All Democrats are wel- come. Sophia Diaz-Fonseca, Suzan Franks and Mike Gudis are invited to the July meeting. Donald Cox, a soil conservation- ist and environmentalist, will speak at the August meeting.. Call Phronsie Stokeley at 344- 4707 with questions. Apply for youth writing, discussion group Are you a high school student who lives in Citrus County? If you like to write and talk about what's going on in your community, apply for the 2007-08 Chronicle Crew. This year, Chronicle Crew mem- bers will have the opportunity to participate in roundtable discus- sions, write for the Chronicle's Education section and contribute to the Chronicle's Web site, including Chronicle TV. Applications are available at the Chronicle offices in Crystal River at 1624 N. Meadowcrest Blvd., and in downtown Inverness, as well as online at. Deadline to submit completed applications, including a writing sample, is Aug. 10. Students will be contacted to schedule inter- views by Aug. 15. Crew meetings will usually be from 5 to 6 p.m. the first and third Thursday of each month, begin- ning Sept. 17, and continuing through the school year. The meet- ings will last one hour. Snacks and drinks will be provided. Mail or-bring applications to the Citrus County Chronicle attn: Chronicle Crew/Cheri Harris, 1624 N. Meadowcrest Blvd. Crystal River, FL 34429. Volunteer drivers needed for program The Doctor Ride program, pro- viding rides to and from medical appointments for people 65 or older who can't drive and who have no one to take them, needs volunteer drivers. "Since snowbirds make up the majority of the volunteers, we need drivers," said program coordinator John Hessinger. Currently, there are only about 30 volunteer driv- ers. Hessinger took over the volun- teer coordinator position in October 2006. Appointments for rides must be made three to five days in advance; only one ride per week per person is available. For infor- mation about volunteering or to make a reservation for a ride, call 746-3796. Center to help child with cancer The Family Resource Center is accepting donations to help the family of Leea Gardner, the 6- year-old Forest Ridge Elementary student who was recently diag- nosed with cancer and is undergo- ing extensive chemotherapy treat- ment. To help, make checks payable to the Family Resource Center and put in the memo line: For Leea Gardner family. Mail checks to: Family Resource Center, 2435 N. Florida Ave., Hernando, FL 34442. -, For information, call the Family ,, Resource Center at 344-1001. Household hazardous- waste drop off program' The Citrus County Division of q Solid Waste Management and the Citrus County Hazardous Material ' Section will conduct a Household , Hazardous Waste Collection Program from 3 to 6 p.m. at the Citrus County Central Landfill on Thursday, July 19. No household garbage will be accepted after 4:30 p.m. m . Citrus County homeowners may. bring up to 50 pounds of chemicals." for proper disposal, free of charge. Acceptable materials include: Pesticides/herbicides/insecticides, household cleaners, solvents/degreasers, pool chemi- cals, paint-related products, aerosol cans, automotive cleaner/waxes and gasoline. Homeowners may dispose of the following materials at the . Central Landfill free from Monday through Saturday: Used motor oil (5-gallon limit per visit), anti-freeze (5-gallon limit per visit), fluorescent bulbs (up to 10 per month) and lead acid and nickel-cadmium (Ni- Cad) batteries. From 9 a.m. to 1 p.m. Tuesday, Thursday and Friday: Latex paint, oil base paint, aerosol paints and tars. Material to be in original contain-,1 ers up to 5 gallons in size, up to 60 pounds total will be accepted per . visit. For information, call Solid Waste , Management at 527-7670 or e-mailj landfillinfo@bocc.citrus.fl.us. i From staff reports', cd f Comcast's double play gives you a lot to smile about. C'mon. Get happy. $33 + $33 =casts standard charges, which vary by service area, apply for professional installation. Retail and/or web offers may vary. If any service is cancelled during the promotional period, Comcast's regular charges apply for any remaining services. Cable Service: Basic Service subscription Is required to receive other levels of service. Viewing digital signals requires compatible equipment. To receive HO Internet Equipment charges may apply. A cable modem Is required for Comcast High-Speed Intemet. ^^^^^BcfoSicTaHl C CO FL) CanoNice v It's a d ou____ ______^_^^^_^^^^^^^^^^^^ble p l^^ ay-^^--l^^^^-. - with Co cast'.B SATURDAY JULY 7, 2007 CITRUS COUNTY CHRONICLE - m mmft 4rnawp4b -~b - a -b ~qb * a a - a- aP * - -- - - a a- Ofwxuai mauih -- -'- 0a - o a a -a ab N *0* - a-a a * * -I e a a*-4w 0 -. --. " - Copynrghte Ma teria. Syndicated Content AvailablearomaCommercial NewsPtrov -=Available from Commercial News Pro% Arm e n &WOOa - - a - Ce C - m ON.- - C pmu w - - ~ w -a a - - C - a- ~ - a - C a- C - -* -a a -a - a a - *0 a C C *~ -a - a~'. ~ -C - a 0 a r a -- a - * a - iders" riders" -a -~ - - a - - ~0 - Room -0- * - a - * S oniliM Our" prt NY~Ur I1rbvpwir~i~k' st~o "a %VAle Ti 4 - a o dip Q' 0 q - qp D q ,a, o w - o Q CTRus COUNTY (FL) CHRONICLE 4A SATURDAY, JULYx 7, 2007 Citrus County Sheriff Arrests N William Alan Bettison, 46, 114 N. Osceola Ave., Inverness, at 3:36 p.m. Thursday on a charge of theft retail. Bond $500. M Eugene Vincent Castle, 19, 3430 S. Suncoast Blvd., Apt. 42, at 3:22 p.m. Thursday on an active Citrus County warrant of an original charge of driving while license sus- pended/revoked. Bond $500. Brian Derek McDonald, 43, 2331 N. McGee Drive, Hernando, at 3:48 p.m. Thursday on a fugitive charge on an active warrant of viola- tion of probation on original charges of burglary, harassment, physical interference with making a report and felony assault. No bond. Burglaries A burglary, theft and vandalism, reported at 4:04 p.m. Monday, June 25, between 4:34 p.m. and 6:15 p.m. Monday, June 25, to a storage shed in the 7200 block of N. Slote Point, Hemando. A burglary and simple battery, reported at 7:41 p.m. Monday, June 25, between 7:50 p.m. and 9:23 p.m. Monday, June 25, in the road- way in Hemando. EA burglary, reported at 9:42 p.m. Monday, June 25, between 6:40 a.m. and 7:10 a.m. Monday, June 25, to an apartment in the 2100 block of N. Cedarhouse Terrace, Crystal River. A burglary, reported at 7:29 a.m. Tuesday, June 26, between 9:30 p.m. Monday, June 25, and 7:15 a.m. Tuesday, June 26, to a resi- dence on N. Sheltering Oaks Drive, Inverness. EA burglary, reported at 3:37 a.m. Wednesday, June 27, between 3:35 a.m. and 3:41 a.m. Wednesday, June 27, to a business in the 3600 block of N. Lecanto Highway, Beverly Hills. MA burglary, reported at 3:55 a.m. Wednesday, June 27, between 3:48 a.m. and 3:49 a.m. Wednesday, June 27, to a business in the 4900 block of E. Arbor Street, Inverness. Burglaries, reported at 9:35 a.m. Wednesday, June 27, between 6:20 p.m. Tuesday, June 26, and 7 ON THE NET For more information about arrests made by the Citrus County Sheriff's Office, go to and click on the link to Daily Reports, then Arrest Reports. p.m. Wednesday, June 27, to sever- al conveyances in the 2200 block of W. Dunnellon Road, Dunnellon. An attempted burglary, reported at 2:45 p.m. Wednesday, June 27, at 2:30 p.m. Wednesday, June 27, to a residence on Daniel Street, Beverly Hills. *A burglary, reported at 6:49 a.m. Thursday, June 28, between 6 p.m. Wednesday, June 27, and 7 a.m. Thursday, June 28, to a business in the 2400 block of N. Florida Avenue, Hernando. *A burglary, reported at 1:24 p.m. Thursday, June 28, between 1 p.m. Tuesday, June 26, and 1:15 p.m. Thursday, June 28, to a residence in the 400 block of W. Macon Lane, Dunnellon. A burglary and vandalism, reported at 8:24 p.m. Thursday, June 28, between 8:30 p.m. and 8:35 p.m. Thursday, June 28, to a residence in the 8900 block of S. Waterview Drive, Floral City. SAburglary, reported at 2:22 p.m. Friday, June 29, between 11:10 a.m. and 2:15 p.m. Friday, June 29, to a residence in the 7400 block of S. Baker Avenue, Floral City. A burglary, reported at 3:43 p.m. Friday, June 29, between 3:40 p.m. and 3:45 p.m. Friday, June 29, to a residence in the 3300 block of S. Viscaria Way, Homosassa. A burglary, reported at 6:02 a.m. Saturday, June 30, between 5:30 p.m. Friday, June 29, and 6 a.m. Saturday, June 30, to a business/conveyance on N. Bitzer Avenue, Hemando. *A burglary, reported at 9:53 a.m. Saturday, June 30, between 5:30 a.m. Thursday, June 28, and 10:30 a.m. Saturday, June 30, to a con- veyance in a front yard in the 1300 For the RECORD NATURE COAST EMS June 24 to 30 Nature Coast EMS responded to 340 medical emergencies and 213 patients were transported to a hospital. Out of the 340 medical emergency calls, based on the caller's information, 188 required an emergency response (with lights and siren) to the scene. Average emergency response time was 6 minutes and 34 seconds. 29 of the patients transported required an emergency response to the hospital (where seconds/minutes may affect the patient outcome). Critical calls 4 Codes (cardiac arrests). x 7 Cardiac alerts. S 1 Stroke alert. 2 Trauma alerts (major or potentially major trauma injuries). Types of calls Care level provided for calls: 0 30 BLS (basic life support). Nl175 ALS (advanced life support). N 8 ALS2 (critical advanced life support). n Average calls per day: 48.6. N Average transports per day: 30.4. block of Poe Street, Inverness. NA burglary, reported at 6:36 p.m. Saturday, June 30, between 5:30 p.m. and 6:33 p.m. Saturday, June 30, to a residence in the 8200 block of N. Legacy Loop, Dunnellon. HA burglary, reported at 4:50 a.m. Sunday, July 1, at 4:39 a.m. Sunday, July 1, to a business in the 6900 block of W. Gulf-to-Lake Highway, Crystal River. SAburglary, reported at 8:56 a.m. Sunday, July 1, between 5 p.m. Saturday, June 30, and 9:30 a.m. Sunday, July 1, to a business in the 300 block of S. Suncoast Boulevard, Crystal River. A burglary attempt and vandal- ism, reported at 9:43 a.m. Sunday, July 1, between 9:30 p.m. Saturday, June 30, and 9 a.m. Sunday, July 1, to a business in the 4100 block of S. Suncoast Boulevard, Homosassa. An attempted burglary and van- dalism, reported at 12:36 p.m. Sun- day, July 1, between 12:05 a.m. Monday, June 25, and 12:30 p.m. Sunday, July 1, to a residence in the 11400 block of N. Ginny Lane Point, Inglis. Thefts A theft, reported at 1:10 p.m. Sunday, June 24, between 9 p.m. Saturday, June 23, and 12:30 p.m. Sunday, June 24, to a residence in the 3400 block of E. Perry Street, Inverness. A theft, reported at 2:55 p.m. Monday, June 25, at midnight Monday, June 25, in the 5700 block of S. Chamberlain Pool Avenue, Homosassa. An auto theft, reported at 10:30 p.m. Tuesday, June 26, between midnight Thursday, April 26, and 10:54 a.m. Tuesday, June 26, from a business parking lot in the 2400 block of S. Suncoast Boulevard, Homosassa. An auto theft, fraudulent use of credit card and driving while license suspended, reported at 10:49 a.m. Tuesday, June 26, at midnight Tuesday, June 26, from a residence in the 8100 block of W. Steele Court, Crystal River. A theft, reported at 3:32 p.m. Tuesday, June 26, between 11:30 a.m. and 3:32 p.m. Tuesday, June 26, from a back yard in the 2500 block of W. Arbutus Drive, Dunnellon. A theft, reported at 12:40 a.m. Wednesday, June 27, between 11:30 p.m. Monday, June 25, and 5:30 a.m. Tuesday, June 26, to a residence in the 1300 block of W. Buttonbush Drive, Beverly Hills. A theft, reported at 7:30 a.m. Wednesday, June 27, between 10 a.m. Monday, June 25, and 2 p.m. Tuesday, June 26, to a construction site in the 6700 block of W. Oak Park Boulevard, Homosassa. A theft, reported at 1:23 p.m. Wednesday, June 27, between 7:30 p.m. Tuesday, June 26, and 1 p.m. Wednesday, June 27, from a front yard in the 8300 block of N. Santos Drive, Dunnellon. A theft, reported at 2:32 p.m. Wednesday, June 27, at 2 p.m. Wednesday, June 27, from a front yard in the 5700 block of E. Live Oak Lane, Inverness. A theft, reported at 2:34 a.m. Thursday, June 28, between 2 a.m. Wednesday, June 27, and 4 a.m. Thursday, June 28, to a business on sidewalk on Crystal Boulevard, Invemess. An auto theft, reported at 6:28 a.m. Thursday, June 28, between 9 p.m. Wednesday, June 27, and 12:55 a.m., from a front yard in the 6100 block of E. Urban Lane, Floral City. An auto theft, reported at 12:32 p.m. Thursday, June 28, at midnight Thursday, June 28, in the 4900 block of W. Woodlawn Street, Dunnellon. A theft, reported at 1:08 p.m. Thursday, June 28, at 1:07 p.m. Thursday, June 28, at a bank in Invemess. A theft, reported at 2:13 p.m. Thursday, June 28, between 4 p.m. Friday, June 22, and 1 p.m. Tuesday, June 26, to a construction site in the 4300 block of W. Banner Circle, Dunnellon. '* A theft, reported at 3:12 p.m. - 9 f a -- - em * - 0 .mm ., 0. ,m ,-, * * - * -~ * ~- *- t * w * * * * * _ * * * * ___ * -NEW - m .o A s o=:ms S. O 4 -^ f.-.\*- -- 1! I 4 1 Copyrighted Mater'ial b -f Syndicated Content i 'Available from Commercial News Providers" 0 o S.4 40-1 4m "t r .. Pot -dos 0 - * a - - . 0 ~0 * 0. - 0 : z a - * a ~ 7,W- U - Florida's Best Commnty LNewspaper Serving Florida's Best Commanit To start your subscription: Call now for home delivery by our carriers: - Citrus County: (352) 563-5655 Marion County: 1-888-852 13 To contact us regarding your service: h 563-5655 Call for redelivery: 6 to .1 a.m. Monday through Friday S6:30 to 11 a.m. Saturday and Sund, Call with questions: 6 a.m. to 5 p.m. Monday through 6:30 to 11 a.m. Saturday and Sun Main switchboard phone numbers: Citrus County 563-6363. Citrus Springs, Dunnellon and IV.cori Newsroom: newsdesk@chronicleonline.com Where to find us: Meadow office 44 1624 N. -ee Norvell BryantHwy. Meadow Dunkenfielcd 'Blvd., Cr Cannoale Dr. River, Ft Inveme Courthouse office * To pkins gSt, CD square CD .r106 W 41 44 < .. FL 344 Who's in charge: Gerry Mulligan ........ ................. Publisher, 563 -.0 Trina Murphy ............... ....... Operations Manager, 563 -0 Charlie Brennan ........ .................. Editor, 563 S John Provost .................. Advertising/Marketing Director, 563 Tom Feeney ...... .............. Production Director, 563 Kathie Stewart ............................. Circulation Director, 563 John Murphy .................................. Online Manager, 563 Neale Brennan ...... Promotions/Community Affairs Manager, 563 * Jennifer W all ............................... ,k S PERIODICAL POSTAGE PAID AT INVERNESS, FL SECOND CLASS PERMIT #114280 -2340 chroniclee ,5.00* 3 weeks ay Friday iday Marion 4451 0 I crest crest ystal L 34429 iss V. Main 'erness, 45O -3222 -3232 -3225 -3240 -3275 -5655 -3255 -6363 4-2917 4-2908 4-2910 3-3225 3-5660 4-2930 3-5660 3-3261 3-0579 print. '.com *~b W~ 0 * S * 0* S - -- 8 - a __ i-a I Thursday, June 28, at midnight Monday, June 25, to a residence in the 11900 block of S. Ray Point, Floral City. A theft, reported at 3:53 p.m. Thursday, June 28, between 12:01 a.m. Thursday, June 14, and 4:20 p.m. Thursday, June 28, to a resi- dence in the 4800 block of W. Field Street, Homosassa. A theft, reported at 9:16 a.m. Friday, June 29, between 9 a.m. and 1:30 p.m. Thursday, June 28, from a driveway in the 9200 block of N. Santos Drive, Dunnellon. A theft and fraud (credit card), reported at 12:23 p.m. Friday, June 29, between 8:10 p.m. Monday, June 25, and noon Tuesday, June 26, to a restaurant in the 5200 block of S. Cherokee Way, Homosassa. x A bicycle theft, reported at 5:01 p.m. Friday, June 29, between 2 p.m. and 2:30 p.m. Friday, June 29, from a driveway in the 2100 block of W. Devon Drive, Dunnellon. A theft, reported at 7:55 p.m. Friday, June 29, between 1 p.m. and 3 p.m. Friday, June 29, from a front yard on S.J. Kellner Boulevard, Beverly Hills. A theft, reported at 9:33 p.m. Friday, June 29, between 9:15 p.m. and 9:36 p.m. Friday, June 29, in a field on Dr. Martin Luther King Avenue, Inverness. A theft, reported at 6:21 a.m. Saturday, June 30, between 7 p.m. Friday, June 29, and 6:30 a.m. Saturday, June 30, in a hospital on W. Highland Boulevard, Inverness. A theft, reported at 3:16 p.m. Saturday, June 30, between 3 p.m. and 3:10 p.m. Saturday, June 30, at a business in the 3800 block of S. Suncoast Boulevard, Homosassa. A theft, reported at 3:23 p.m. Saturday, June 30, between mid- night Wednesday, March 7, and 4 p.m. Saturday, June 30, to a resi- dence in the 4500 block of N. Tumbleweed Terrace, Hemando. A theft, reported at 4:33 p.m. Saturday, June 30, between 9 a.m. Friday, June 29, and 2 p.m. Satur- day June 30, from a side yard in the 7900 block of E. Southlake Drive, Floral City. C T R U S0 U N T Y " Arl CITUS COUNTY (FL) CHRONICLE PARK Continued from Page 1A late September. Schippers Marine Construction Inc. of ,Crystal River is handling the construction. Fishing piers, scenic over- looks, a canoe launch and chil- dren's activities are included :in the phases. Smith said the entire project began more than a decade ago with a commit- ment to improve the pond - once considered a weed-filled 'and polluted eyesore into something useful. "We knew this was worth sav- ing," Smith said. "To date, we have kept our commitment" The boardwalk began near the sheriff's office, as well as ,sidewalks and a picnic area. IThe latest phases will extend the boardwalk northwest behind the sheriff's office, con- :necting to nearby parking lots.. 4 MEDALS Continued from Page 1A 11978 to 1994 as a member of the U.S. Navy Reserve. He re- ceived five awards for his serv- ice. Richard Gralto, a Hernando resident, received four awards for his time with the U.S. Army from 1957 to 1959 and 1961 to ,1962. Patricia Seiler also served twice as a member of the Army from 1959 to 1962 and 1966 to -1983. Seiler, a Hernando resi- dent, along with Albert Greenhalgh, a Homosassa resi- dent and Navy veteran, were given the Cold War Recognition Certificate. "When we came home from Vietnam, people spit on us," 'Seiler said. She reminded those in the audience to show considera- tion and welcome home those !serving the United States in Iraq and Afghanistan. "Whether it's someone from iWorld War II or it is someone coming home today, we need to thank them," Brown-Waite said. COUNCIL Continued from Page 1A !Councilman John Kostelnick ,opposed seeking proposals from the county public safety ;department and from Dawsy. iBoth said law enforcement and !fire protection should stay in city control. Councilman Phil Price believes the county should take lover both roles, saying he ,believes that could save city BREAK Continued from Page 1A 'Houston said during a budget ,workshop. Not only do Crystal River officers respond first to citizen 'calls in the city, the sheriff's 'office rarely responds at all, he said. "It's not unfair to think we ,should get a break in the mill- 'age rate," Houston said. "It would be equitable and it !would be fair" I Council members applaud- ied Houston's observation. |They agreed to talk about it further, and then bring the matter to the table during a joint meeting between the city ,council and Citrus County ;Commission. I Houston said Pinellas County's unincorporated tax- payers pay a slightly higher tax irate for sheriff's services than 'in cities that have their own Police force. I "This is not a new thing," he said. Sheriff Jeff Dawsy said [Friday he isn't sure it's easy to ,quantify his road patrol's 'impact within the city because 'deputies have a presence [there. He said that while the fund- ing issue rests with the county commission, he is open to dis- !cussing the idea with city offi- cials. SSO YOU KNOW IObituaries must be sub mitted by licensed funeral homes. Obituaries and funeral notices are subject to editing. U Recent photos are wel- come. Call Linda Johnson at 563- 5660 for details. City Manager Frank DiGiovanni said the long-range goal is to be able to see the boardwalk from the courthouse, through cutting back vegetation and other means. City Manager Frank DiGio- pond, includir vanni said the long-range goal tle from whic] is to be able to see the board- Play panels, walk from the courthouse, Toe, will kee] through cutting back vegeta- tained. tion and other means. The majoril The boardwalk will essen- the $972,050 p tially link other nearby parks, for through gi such as Wallace Brooks, he city to pay added, saying, "You create this general funds large loop effect" Smith said i Interpretive signs created by awarded, the local artist John Strawbridge eventually 1 will explain wildlife in the pond. 0 - Inverness city manager. ng the Cooter tur- h it gets its name. such as Tic-Tac- p children enter- ty of the costs for project were paid rants, leaving the $225,000 through if more grants are boardwalk could oop the entire IN RECOGNITION OF SERVICE List of veterans and medals and awards presented: Joleen Carrier In memory of her late father, Joseph Burns Hernando " WWl. Victory " European-African Middle Eastern Campaign " Combat Action Ribbon " Honorable Service Lapel Pin Kenneth Dobbins Inverness * Asiatic- Pacific Campaign B WWII Victory " Philippine Liberation Ribbon " Army Philippine Presidential Unit Citation SPhilippinie Defense Medal * Honorable Service Lapel Pin Richard Gralito Hernando, I National Defense Service Medal " Good Conduct Medal Z Sharpshooter Badge & Pistol Bar " Marksman Badge & Rifle Bar Albert Greenhalgh Homosassa * Cold War Recognition Certificate Patricia Seiler Hernando " Cold War Recognition Certificate Charles W. Smith Inverness " National Defense Service Medal " Korean Service Medal * United Nations Service Medal * Naval Reserve Meritorious Services Medal * Armed Forces Reserve Medal Maureen McNiff suggested the council reduce the $5,400 annual salary for council members to $1 each but leave in reimbursable expenses. taxpayers thousands of dollars. Kitchen and new Councilwo- man Maureen McNiff said they wanted to hear more concrete proposals from the county. Farley urged the council to have a workshop first on the police issue to set specific cri- teria, such as minimum offi- cers on duty in the city and response times, before asking Dawsy for a proposal. Other - 0 - S - o -- - rm -qu _ - o - a a -Copyrighted Material - -a 7 a .- 0_l0l fS indicated Content Available from Commercial News Providers" .-a - - S a-- 0 0 - - * * , * - lv 40 44P - a - - ( VASCIJI I WOODWORKING "Family Tradition" For Over 75 Years ANTIQUE RESTORATION RENISHING Custom Furniture and US 19 Homosassa 628-9010 K Cabinetry Made to Order' vasciminiwoodworking.com POOF CRYSTAL C Al.P6. . e.~OU CHOICE. ...- SArURDAY, JL '.Y 7, 2007 5A -m- bw m -= - --de 45- -" 4D 40-021. ~ .~ 41. o-.M dol. council members agreed with that idea. Dawsy said Friday he could develop a business plan for Crystal River once he knows the council's criteria. On another cost-cutting issue, McNiff suggested the council reduce the $5,400 annual salary for council mem- bers to $1 each but leave in reimbursable expenses, such as travel and per diem. Kitchen said he supported the idea and Farley said it deserves more discussion. - . P ) u 4- 7, 200CB/ -7 --ES ITUSCONT-(L)CHONCL SA SAxUiRAY, Ju Norma Decker, 82 CITRUS SPRINGS Norma Decker, 82, Citrus Springs, died Sunday morning, July 1, 2007, at Citrus Memorial Health System in Inverness under the care of Hospice. She was born Dec. 3, 1926, in Hasting, Mich., the daughter of William and Pearl Knicker- bocker. She was a graduate of Hasting High School Class of 1944 and majored in math. She was a retired math teacher of 30 years in Lake Odessa, Mich. She retired Jan. 18, 1986, and has lived in her home in Citrus Springs for 21 years. Mrs. Decker liked to read and watch the news and served her community for 19 years. She donated her time at the elementary school. She was in various activities, always ready to help with many activities. She was a member of the First United Methodist Church of Dunnellon and she served as treasurer of UMW at the church. Survivors include her hus- band of 58 years, Earl Decker; daughter, Denise Lazaroff and husband Chris; two grandchil- dren, Heather and Jennifer Lazaroff; brother, Nyle Knickerbocker of Pinellas Park; three brothers-in-law and three sisters-in-law;-and 13 nieces and nephews. Donations may be made to the building fund at the First United Methodist Church of Dunnellon. Roberts Funeral Home of Dunnellon. Ethel Henry- Jackson, 89 HERNANDO Ethel L. Henry-Jackson, 89, Hernando, died Friday, July 6, 2007, at the Hospice Care Unit at Citrus Memorial- Health System in Inverness. She was born June 22, 1918, in Blanchard, Pa., the daughter of Park and Margaret Heverly. She was a hostess in Belle Springs, Pa. She moved to Pompano Beach before moving to Lake Panasoffkee and then to Inverness in 2003. She was a member of the Good Shepherd Lutheran Church, Hernando, and the Eastern Star, Floral City. She was preceded in death by her first husband, Samuel K. Henry; her second husband, Marvin D. Jackson; and three brothers, Jack, Russell and Harry Heverly Survivors include three step- sons, Marvin E. Jackson and wife Dorothy of Ripon, Calif., Denis C. Jackson and wife Sondra of Hernando and Clifford A Jackson and wife Marie of Beverly, N.J.; three sisters, Pauline Minner, Kathleen Kriedler and Mary Yost; three brothers, Ken, Willard and Park Heverly; 10 step grandchildren; and sever- al great-grandchildren and great-great-grandchildren. Heinz Funeral Home and Cremation, Inverness. Johnie Jackson Jr., 80 INVERNESS Johnie Jackson Jr., 80, Inverness, died Tuesday, July 3, 2007, at Citrus Memorial Health System. He was born in Brewster and was a lifelong resident of Inverness. Mr. Jackson was a World War II U.S. Army veteran, a retired trackman from the railroad and a mem- ber of Proceeding Word Ministries of Brooksville. Survivors include five sons, Johnnie Jackson III, Fredrick Jackson and Matthew Jackson all of Inverness, Marty Dean Jackson of Ocala and Apostle Faith Jackson of Brooksville; four daughters, Minister Annette Palmer, Pastor Ruby Burton both of Inverness, Prophetess Belinda Ragin of Eustis and Pastor Cynthia White of Miami; one brother, Richard Jackson of Atlanta, Ga.; two sisters, Margarite Felton of Lake City and Mamie Lou Poe of Inverness; 34 grand- children; 50 great-grandchil- dren; and one great-great- granddaughter. Cason Funeral and Cremation Services, Inverness. Susan Jaggers, 98 BEVERLY HILLS Susan Alice Tandy Jaggers, 98, Beverly Hills, formerly of Mooresville, Ind., died Monday, June 25, 2007, at Hendricks Regional Health in Danville, Ind. She was born June 3, 1909 in Taylor County, Ky., to George Oliver and Minnie Agnes (Newcomb) Tandy Mrs. Jaggers was a member of North Oak Baptist Church in Citrus Springs. She was pre- viously a member of Gasburg Baptist Church. She enjoyed being a mother and grandmother, and also enjoyed doing crossword puz- zles. She was the widow of Alonzo King Jaggers to whom she married on Feb. 6, 1929; he preceded her in death on April 4, 1971. Mrs. Jaggers was also pre- ceded in death by her siblings, Ernest Tandy, Ruby Tandy, Albert Tandy, Charles Tandy, Fred Tandy, Crisy Tandy, Katharine Pike and Georgia Vive. Survivors include six daugh- ters, Barbara A. Schrader and husband Willard of Ocala, Joyce A. Fay of Spring Hill, Pattie L. Patrum and husband Norman of Stilesville, Ind., Phyllis M. Williams and hus- band William of Beverly Hills and Sue C. DeBruler of Mooresville, Ind.; one son, Alonzo King Jaggers Jr. and wife Suzanne of Mooresville, Ind.; 16 grandchildren; 35 great-grandchildren; and 12 great-great-grandchildren. Memorial contributions can be made to the American Heart Association. Online con- dolences and memories to the family may be sent to. Carlisle and Son Funeral Chapel, Mooresville, Ind. Alberta Kiley, 90. BEVERLY HILLS Alberta M. Kiley, 90, Beverly Hills, died Friday, July 6, 2007, under the care of Hospice of Citrus County at the Hospice House in Lecanto. She was born Oct. 6, 1916, in Brockton, Mass., the .daughter of Frederick and Sarah (Murphy) Prescott and she moved to Citrus County in April 2006 from Carver, Mass. She was a factory worker. Survivors include three sons, Richard Kiley of Carver, Mass., Fred Kiley of Malden, Mass., and Robert Kiley of The Villages; two daughters, Nancy Poisson of Beverly Hills and Carol Sheehan of The Villages; brother, Ronald Prescott of Las Vegas, Nev.; sister, Marjorie White of Marlboro, Mass.; 17 grandchildren; 26 great-grand- children; two great-great- grandchildren; and several nieces and nephews. Heinz Funeral Home and Cremation, Inverness. Lanney Kostal, 34 GAINESBORO, TENN. Lanney K. Kostal, 34, Gainesboro, Tenn., died Sunday, July 1, 2007. He was born Aug. 6, 1972, in Carson City, Mich., to Freda and Lanny Kostal. He moved to Tennessee six years ago from Crystal River. Mr. Kostal was a truck driver, a member of the Four Square Pentecostal Church, a NASCAR fan and he enjoyed the outdoors. He was preceded in death by his son, T.J. Koment, in 2002; and his stepfather, Kenneth Safford, in 2004. Survivors include his wife, Maryann Kostal of Gainesboro, Tenn.; his mother, Freda Saffer of Crystal River; his father and stepmother, Lanny and Crystal Kostal of Indianapolis, Ind.; paternal grandmother, Aletha Kostal of Michigan; sister, Anna Gonzales of Homosassa; and brother, Charles Kostal of Gainesville. Brown Funeral Home and Crematory, Lecanto. Helen Perry, 85 NORTH BENNINGTON, VT. Helen Perry, 85, died Wednesday, July 4, 2007, at the Watson House in North Bennington, Vt. She was sup- ported in her final hours by her family and the caring staff of the Watson House. She was born in upstate New York on June 26, 1922. She attended Indiana State University and worked as a teacher, recre- L | ation director and real estate agent. Mrs. Perry and her hus- Helen band Leonard Perry lived in Beverly Hills for more than 20 years. After his death in 2003 she moved to Vermont to be near her family Helen was known for her wonderful sense of humor and her skill as an amateur land- scape artist. She is survived by her son, Martin Cummings; daughter- - in-law, Gail Mauricette; and grandchildren, Daniel, Stephanie and Jason. In accordance with her wishes she will be interred next to her husband in Florida. Gifts in memory of Helen may be made to the VNA and Hospice of Southern Vermont in care of the Hanson Walbridge Funeral Home, 213 West Main St., Bennington, VT 05201. Carol Riley, 70 INGLIS gram, and served in the U.S. Army during World War II. Carol A. Riley, 70, Inglis, for- merly of Centerburg, Ohio, died Thursday, July 5, 2007, at Bennington Glen Nursing and Rehab Center, Marengo, Ohio. Mrs. Riley was born Sept. 1, 1936, in Jersey Township, Ohio, to the late Oscar and Prentise (Myer) Foster. She was employed by the Levy County School District at Yankeetown Schools. Her sister, Ruth Asp, preced- ed her in death. Survivors include her hus- band of 52 years, Earl Riley of Inglis; two sons, David Riley and wife Angie of Centerburg, Ohio, and Duane Riley and wife Teresa of Inglis; two daughters, Diane Noble and husband Ben of Chesterville, Ohio, and Linda Riley and hus- band Roger Noll of Gahanna, Ohio; two brothers, James Foster and wife Irene of Alexandria, Ohio, and Milo Foster and wife Mary of Johnstown, Ohio; two sisters, Shirley Birtcher and husband Ed of Johnstown, Ohio, and Mary Florio and husband Paul of White Rock, British Columbia, Canada; five grand- children; four great-grandchil- dren; and several nieces and nephews. Memorial contributions can be made in memory of Carol to the Sparta Advent Christian Church, c/o The India Fund, PO. Box 34, Sparta, OH 43350. Crouse-Kauber-Sammons Funeral Home, Johnstown, Ohio. Michael Ruggiero, 90 INVERNESS Michael Angelo Ruggiero, 90, Inverness, died Thursday, July 5, 2007, at Highland Terrace under the care of Hernando-Pasco Hospice. A native of New York City, he was born Dec. 14, 1916, to Frank and (McCarthy) Ruggiero and came to this area 27 years ago from Massapequa, Long Island, N.Y. Mr. Ruggiero served in the U.S. Army during World War II having been honorably dis- charged with the rank of Staff Sergeant. Mr. Ruggiero was a retired stagehand in the entertain- ment industry including the- ater and television produc- tions. He was instrumental in the development of the Ed Sullivan Show and the Honeymooners with Jackie Gleason for 30 years. When given the chance to move with the shows to Los Angeles, Mr. Ruggiero chose to move to Florida and enjoy the next 30 years of his life. His enjoyments in life were woodworking, golf, gardening, music and being an avid New York Yankees fan. He was a member of Our Lady of Fatima Parish in Inverness. His son, Robert Ruggiero, preceded him in death May 31, 2006. Survivors include his wife of 66 years, Linda (Marino) Ruggiero; daughter, Jane Raba and husband Bruce of Johns Creek, Ga.; brother, Frank Ruggiero Jr. of New York City, N.Y; sister, Helen Zeh of Wurstboro Hills, N.Y; six grandchildren; and three great-grandchildren. Chas. E. Davis Funeral Home with Crematory, Inverness. Anthony 'Tony Savicky, 93 BEVERLY HILLS Anthony Joseph "Tony" Savicky, 93, Beverly Hills, died Tuesday, July 3, 2007, at the Hospice Care Unit at Citrus Memorial Health System. Mr. Savicky was born April 16, 1914, in Pittsburgh, Pa., to the late Joseph and Felicia Savicky and moved here in 1975 from Lancaster, Pa. He retired from RCA as an engineering technician, involved with the beginning of the colored television, having worked with the space pro- Csu.. . havt Funeral Home With Crematory SUSAN KIDDEY Memorial to be Announced MARTHA I. WILT Memorial Service: Sun., 2pm Chapel LARRY ODOM Services: Freeman Funeral Home Waynesboro, MS KATHLEEN BOURBONNAIS Private Cremation Arrangements ANTHONY "TONY" SAVICKY Memorial Service: Sat., loam Good Shepherd Lutheran Church MICHAEL RUGGIERO Service: Mon., 1pm Our Lady of Fatima Catholic Church Burial: Florida National Cemetery 726-8323 . He served as a member of the Inverness Planning Board- for six years and he worked Beverly Hills Surveillance for the Citrus County Sheriff's Office as a dispatcher. Other memberships included the Beverly Hills Recreation Association, where he served as treasurer, Beverly Hills Singles Club, where he served as past Anthony president, life Savicky member of the Knights of where he served as past grand knight, past commander of the DAV, Coast Guard Auxiliary, American Legion, past governor of Moose Lodge No. 70 and Big Brothers both of Lancaster, Pa., and past Eagle Scout Master He was a member of Elks Lodge No. 2522 and Moose Lodge No. 2112 both of Inverness. Because of his own disabilities and handicaps, he recently became involved with helping seniors obtain a fully handi- capped center for the Lecanto/Beverly Hills area. Tony believed in his communi- ty and wanted to be a part of accomplishing things. He was a member of the Good Shepherd Lutheran Church in Citrus Hills. Survivors include his son, Richard F Savicky of Lancaster, Pa.; daughter, Charlotte J. Miller; sister, Josephine Polis of Ellwood City, Pa.; his companion, Madolyn Crysler of Beverly Hills; his nephew, Charles McKay of Inverness; four grandchildren; and two great- grandchildren. Chas. E. Davis Funeral Home withh- Crematory, Inverness. John 'JT' Thomas Sr., 66 CRYSTAL RIVER John Henry 'IT" Thomas Sr., 66, Crystal River, died Friday, June 29, 2007, at Seven Rivers Regional Medical Center John Thomas Sr. attended Booker T. Washington High School and received his license as a barber/cosme- tologist from Largo School John of Cosmetol- Thomas Sr. ogy, Largo. He also served in the U.S. Armed Forces. He attended First Bethel Missionary Baptist Church, Dunnellon. Survivors include his wife, Jeanette Thomas of Crystal River; mother, Gertrude Milligan of Dunnellon; six daughters, Mechelle and hus- band Henry, Jwana and hus- band Tony, Sherryl and hus- band Henry, Alicia, Patricia and husband Lewis, Leslie; adopted daughter, Sandra Weaver Worthy; five sons, John Jr. and wife Nikka, Tony, Jeff and wife Donna, Jacqua and wife Schanne, and Marrio; seven sisters, Mercie and hus- band Butler, Mae and husband Waymon, Shirley, Michele, Deedra, Joan and Roslyn; one brother, Arthur; 21 grandchil- dren; 10 great-grandchildren; and a host of nieces, nephews, cousins and friends. New Serenity Memorial Funeral Home and Cremation Services, Crystal River. Juanita Wise, 78 . CRYSTAL RIVER Juanita K Wise, 78, Crystal River, died Friday, July 6, 2007, at her home surrounded by her family and under the care of Hospice of Citrus County. Born April 8, 1929, in Minerva, Ohio, to Clarence and Garnett Kistner, Mrs. Wise came to this area 18 years ago from Canton, Ohio. *She was a homemaker and loved being with her family Her daughter, Rose Marie Wise, preceded her in death. Survivors include her hus- band, Kenneth V Wise of Crystal River; two sons, Kenneth Lee Wise of Crystal River and Douglas Vernon Wise and wife Lois of Houston, Texas; three daughters, Linda Mary Wise of Crystal River, Deborah Lynn Fox of Minerva, Ohio, and Judy DePoister and husband Greg of Crystal River; 11 grandchildren; and four great-grandchildren. Strickland Funeral Home, Crystal River. Click on- line.com to view archived local obituaries. Funeral NOTICES Ethel L. Henry-Jackson. Visitation for Mrs. Jackson will be from 10 to 11 a.m. Monday, July 9, 2007, at the Good Shepherd Lutheran Church in Hernando. The funeral service will begin at 11 a.m., July 9, at Good Shepherd Lutheran Church. The Rev. Dr. Jack F. Reents will preside. Interment will be in Pompano Beach. Heinz Funeral Home and Cremation, Inverness. Johnie Jackson Jr. Funeral services for Johnie Jackson Jr. will be conducted at 3 p.m. Sunday, July 8, 2007, at the First Presbyterian Church' of Inverness, 206 Washington Ave., Inverness, with Pastor Rev. Craig Davies and Apostle Johnnie Manning officiating. Interment 2:30 p.m. Monday, July 9, 2007, in the Florida National Cemetery of Bushnell. Friends may call at the Cason Funeral and Cremation Services Chapel, 209 E. Dampier St., Inverness, Saturday, from 6 to 8 p.m. and Sunday at the church from 2 to 3 p.m. Lanney K Kostal. Funeral services for Lanney K. Kostal, age 34, of Gainesboro, Tenn., will be conducted on Sunday, July 8, 2007, at the Brown Funeral Home in Lecanto. Family will receive friends from noon until service time. Interment will be at the Stage Stand Cemetery in Homosassa. Michael Angelo Ruggiero. A Mass of Christian burial will be conducted at 1 p.m. Monday, July 9, 2007, from Our Lady of Fatima Catholic Church of Inverness with Fr. Charles Leke, celebrant. Inurnment will follow at the Florida National Cemetery in Bushnell at 2:30 p.m. with full military honors rendered by the Floral City VFW Post No. 7122 Honor Guard. There will be no viewing hours at the funeral home. In lieu of flow- ers, memorials are suggested to the American Cancer Society for Pancreatic Cancer Research. John Henry "JT" Thomas Sr. Funeral services will be con- ducted at 11 a.m. Saturday, July 7, 2007, at First Bethel Missionary Baptist Church, 203 N. Williams St., Dunnellon, with the Rev. Nathaniel E. Rawls Jr., pastor, officiating. Public viewing was held at New Serenity Memorial Funeral Home and Cremation Services Inc., 713 N.E. 5th Terrace, Crystal River, on Friday, July 6, 2007, from 2 to 6 p.m. Private cremation will fol- low services. 90 DAYS N TOf PAYMENTS -NOITERST~ CITRUS COUNTY (FL) CHRONICLE OBITUARIES I Tl, -7 ?()()007 Deaths ELSEWHERE Regine Crespin, 80 OPERA SINGER PARIS Regine Crespin, the French opera great who took her personal magnetism and soprano voice to the! world's leading stages, has: died. She was 80. 3 Crespin died Thursday at a, Paris hospital, her record com- pany EMI said. No cause oQ death was given. With her luxurious voice, the. seductive soprano stood out among opera singers as a lead- ing lyrical artist. She sang on the top stages,) from Paris, Vienna and Berlin to Covent Garden in London., She performed at thel Metropolitan Opera for 25. years, unusual for a Frenchi artist. i Born Feb. 23, 1927, in) Marseille, southern France,j Crespin started singing late, taking her first lessons at age. 16. She blossomed and went toj Paris to study at the Music, Conservatory, winning topn prizes in singing, opera andi comic opera. - She made her debut in 1944 in the Champagne town ot Reims in the role of Charlotteq in Massenet's "Werther." Othes early roles were in Wagner's, "Lohengrin" and, "Tannhauser," and Bizet's1 "Carmen." . Crespin had her international al debut in 1958 at Germany's Bayreuth Festival as Kundry irn "Parsifal," then moved on to/ stages around the world. Heil Met debut was in 1962. One of her best known roles. was the Marschallin in Strauss'j "Der Rosenkavalier." Crespin started teaching in 1976 at France's National High, Conservatory for Music, and did so until 1992. Harry B. Henshel, 88 WATCH MAGNATE SCARSDALE, N.Y Harry B. Henshel, the last member o@ the Bulova family to head it$ high-end watch company, hasI died. He was 88. ,J Henshel died June 29 at his home in Scarsdale following a, long illness, the company- announced Thursday. Bulova Watch Co. Inc. wa started as a jewelry store by. Henshel's grandfather Josepif Bulova in New York in 1875. , Henshel started at the comD pany after serving in World' War II and took over as presi- dent after the death of hisi uncle Arde Bulova in 1958. Het became chairman in 1974. a It was under Henshel'st tenure that the company released the Accutron watch, aj groundbreaking battery-pow-] ered timepiece that used a tun1i ing fork as the timing mecha- nism to achieve greater accura7- cy Accutron became a gift given by presidents and a sys- tem used in space travel. Henshel, who earnedI degrees from Brown University and Harvard University School of Business, also developed the Phototimer, the first automatic timing device used in sports, in 1948, the company said. Bulova also is credited witht introducing the first clock radio, in 1928, according to itt Web site. It also says it pro1 duced the nation's first radio} commercial, in 1926: "At the tone, it's 8 p.m., B-U-L-O-V-AS Bulova watch time." -From wire report ' Verticals Faux Wood Blinds Shutters, Shades lar Shades Ado-Wrap SATURDAY, JULY 7, 2007 7A NATION En COUNTY (FL) CHR E -6 umoorn-- thmt% the A---- pG tb I pod Amm? *a ~ -. ~ O d~e a i o e q AOdom4mmmom GIdm -. ~-~a - 0- - 10 - 0 a - -. - ~. - - .a ~like, 41.-m - 'm O -" "Copyrighted Material a. 0-e S S-- -:-Syndicated Content : - ~- e - a Available from Commercial News Providers"- %A iad@@v 4 D -w 0 4.-.mw -*os -. Ga ON 4100 w-4qm- -sw I -400 4w4-0 m 00d .0 OD ow 4, m GNE 41 -o .001" 40M-womm m - a-mu - - ~ ~0- - B- a.. __ - - 0.~ = fle - A2 - * - 0 -.- S S - S - 411no. o -M- dom S41 --W -0p-n a&- a 4mo as001o- -a 0 4md 40 4walm4=4 -0mb-m 1 4a ow -0 S 0lw I"m o "b -do 0 .ft0 - m m dnnimnn - m O - -. -, o .5 .-ne 4S - e - 0 - a- - a a-. - a- a- a a- a- 0 ~ - 0 00- 00 a 0~ - 2096 sq. ft. LA Pf0kcoke ^ esc. 185,ooo 2271 South Olympic Hills Terrace, Inverness ON YOUR LOT (352) 726-2179 Mon-Fri 10-4 3 Bed, Den, 2 Bath a- aw- -.w- - -. m -ma Sthe Heart of Flo-r-Nda SIne1 690-9664lar 18003479ghs & More Solar Pool Heating Q Solar Attic Fans Tubular Skylights Solar Water Heating .s,,! A=101* CORECOMM FREE 24/7 Live Technical Support ) Unlimited Hours, No Contracts S10 E-mail Addresses F FREE Spam Protection ) invoice Billing Available & ) Reliable Access Since 1994 to Estate Homesites from $70,000 Complete Packages from $300,000 A Great Value with Amenities Like These: Secure Homesite Now, Build Later Gated, Maintenance Free Community HERITAGE * Model Center Opening Soon with exciting new designs and features to love (352) 726-1210 Hwuy 486just one block East ofFonrrest Ridge Blvd. in the heart of Citrus County - . qw - a - - '40 - - - 0 - ~- - Supply And Demand Supply and demand is perhaps the most fundamental concept of economics and it is the backbone of our present economy. Demand refers to how much a product or service is desired. Supply represents how much the market can offer. Supply and demand drives the market to set prices on goods and services we want and need. Wouldn't It Be Great If Someone Supplied All Of Our 'Wants And Needs And It Was Free? Jesus made such a promise: "Seek ye first the kingdom of God, and his righteousness; and all these things shall be added unto you". Matt. 6:33. Jesus also tells us how to obtain the promise: "I ,say unto you, Ask, and it shall be given to you; seek, and ye shall find; knock, and it shall be 'opened unto you. For everyone that asketh, receiveth; and he that seeketh findeth; and to him that knocketh, it shall be opened". Luke I 1:9- I0. Can It Really Be This Easy? Listen as our Lord Explains: "Come unto me, all ye that labour and are heavy laden, and I will give you rest. Take my yoke upon you, and learn of me; for I am meek and lowly in heart; and ye hall find rest unto your souls. For my yoke is easy, and my burden is light". Matt. I 1:28-29. Jesus low explains the highest form of supply and demand: "I am the bread of life: he that cometh to me ;hall never hunger; and he that believeth on me shall never thirst". John 6:35 Surely There Must Be More We Have To Do. The Bible answers this question: "Repent ye, and be baptized every one of you in the name of Jesus Christ unto the remission of your sins; and ye shall receive the gift of the Holy Spirit". Acts .:38. After our obedience the Lord will add us to His Church and our Christian walk will begin, with Christ as our example as we "Follow his steps". I Peter 1:21 Supply and Demand is a concept the world knows well; if you want it and are willing to pay for it, ;omeone will supply it for you. What the world can't understand is this: "For God so loved the world, hat He Gave His only begotten Son, that whosoever believeth in Him should not perish, but have verlasting life". John 3:16 * It's a fact that Supply and Demand rules our economy. It's also a fact that God's Supply of grace to 'us is also in Demand. Please come and visit us at the Pleasant Grove Church of Christ. rl3875 S. Pleasant Grove Road. Phone 344-9173 Bible Study, Sunday 9:30am. Sunday Worship 9:30am, 10:30am & 6:00pm. Wednesday Bible Class 7:00pm. 720510 U17-RUS UUCJIVI y (F--- qlb qb op -qw Q Olm - qw - 4m - qp - Q t ^^^ - .1P.0 o * t SA s DAY ULY 7 2007 STOCKS CTRus COUNTY (FL) CHRONICLE MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg MicronT 405528 13.45 +.65 FordM 379082 9.11 -.04 Target 298124 68.10 +3.89 GenElec 231544 38.48 -.06 TimeWam 228330 21.02 -.15 GAINERS ($2 OR MORE) Name Last Chg %Chg PolyOne 8.25 +.90 +12.2 BrillChina 27.76 +2.95 +11.9 ExcelM 28.22 +2.34 +9.0 CBOT 224.00 +17.85 +8.7 TelNteCel 16.25 +1.22 +8.1 LOSERS ($2 OR MORE) Name Last Chg %Chg Acomlnt n 22.69 -1.31 -5.5 Metrogas 5.86 -.34 -5.5 TrGasSur 8.01 -.46 -5.4 SellntRE n 23.70 -1.20 -4.8 Xerium 7.21 -.35 -4.6 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume 1,988 1,278 134 3,400 271 30 2,390,518,952 MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg SPDR 684738 152.98 +.80 iShR2K nya 325581 84.80 +.33 PrUShQQQn142785 43.51 -.43 SP Fnd 127464 36.68 +.18 SPEngy 114155 71.54 +.96 GAINERS ($2 OR MORE) Name Last Chg %Chg EnvirTec 2.64 +.43 +19.5 RaserTnya 8.55 +1.32 +18.3 SeabGldg 25.19 +2.09 +9.0 Protalix n 29.92 +2.22 +8.0 Versar 10.73 +.79 +7.9 LOSERS ($2 OR MORE) Name Last Chg %Chg LehJYen wt 2.24 -.27 -10.8 Simulats 10.91 -.98 -8.2 PanhO&G 26.11 -2.24 -7.9 IntellgSys 3.40 -.25 -6.8 Metalico 8.21 -.60 -6.8 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume 727' 418 111 1,256 137 25 333,445,948 MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg SunMicro 655883 5.38 +.05 PwShs QQQ603609 48.86 +.20 Microsoft 483282 29.97 -.02 SidusS 423978 3.07 -.03 ChartCm 406386 4.37 -.12 GAINERS ($2 OR MORE) Name Last Chg %Chg ChinaNRes 9.95 +1.63 +19.6 IAC Intwtl 2.50 +.40 +19.0 ViaPhm nh 3.92 +.62 +18.8 AscntSI wtB 2.75 +.36 +15.1 AMCC 2.80 +.36 +14.8 LOSERS (S$ OR MORE) Name Last Chg %Chg Manntch 12.25 -3.75 -23.4 ParamTch 17.23 -4.34 -20.1 NatHItTm 4.37 -.70 -13.8 Selctlns s 24.53 -2.32 -8.6 Local.com 11.90 -1.03 -8.0 Advanced Declined Unchanged Total issues New Highs New Lows Volume DIARY 1,735 1,255 145 3,135 169 50 1,559,287,7lin ng tor. O ra u -It1Cho Name: Stocks appear alphabetically by the company's full name (not its abbreviation). Names consisting of initials appear at the AM, beginning of each letter's list. r Last: Price stock was trading at when exchange closed for the day. Cha: Loss or nain for the day. No change indicated by .. 0 E Stock Footnotes: cc- PE greaterthan 99,ldd- Issue hasabeen clledforredemption by E PEPE 1 C.. Cho company. dNew52-weeklow,dl Loss in last12oec-Companyformelylisted 1 4 ACE2L 5 13 on the Americtn Exchanges Emergingp Company Marketplace. g Dividends and earn U 9 S5. wings in Canadian dollars .i temporary exmpct from Nasdaq capital and surplus listing 0 l 1 qualificatilonn Stoccwa a new Issue in the lastyear.The62-week high and lowfigures datonly from the beginning of train g. pf- Preferredstocklansue. pr-Preferencesppr Holer ewes installments of puchase price. q- Closed-end mutual fund no PE calculat ed t Righttobuysecurityataspeiiedprces Stockhassplitby atieast l20percent i s U l C within the last year.W-Trades wiltbesettlecwahen the sto isissued wd n n s tributed. wt Warrant, allowing a purchase of a stock.a New 52-weak high. un Unit,, A- AN ?t .'n including more than one security vj -Company in bankruptcy or receivership, or being reorganized under the bankruptcy law. Appearsin front of the naime. cs r Dividend Footnotes: a Extra dividends were paid, but are not included. b Annual rate plus stock. c -uquidatinig dividend e Amount declared or paid in last 12 months. f - Currentannual rate,which was increased by most recent d idend announcement Sum of dividends paid ato split, no regulerrate. -Sum ofdivdends paid this year N Most recent dividend was omitted or deferred k -Declared or paid this year. a cumulative 1U Ac i 2 a 13 issue with dividends in arrears, m- Current annual rate, which was decreased by most .0. A 7 3 recent dividend announcement, p Iniftial dividend, annual rate not known, yild not o W'1 shown.r -Declared orpald In preceding 1i2 months plussockdividend.t- Paid In stock, I approxlmateeash value on ree-dlstAobulloendPAsSasdaSte fg : r are unoffl ^1,,::.;:,^;1,,;;,^ Source; f: TeAssociatedPrss. Sales figuresare unoffcil STOC S O OAS ITRS YTD Div YId PE Last Chg %Chg 3.5 21 40.66 4.6 10 49.15 2.2 18 31.15 4.2 12 51.70 .9 16 34.49 1.8 ... 28.31 1.6 13 86.46 2.9 17 56.50 .9 25 67.98 ... ... 9.11 2.9 19 38.48 2.7 ... 36.49 2.2 15 40.30 1.8 27 24.68 1.5 17 109.03 1.0 16 31.11 1.9 18 51.43 Name Div YId PE Last Microsoft .40 1.3 25 29.97 Motorola .20 1.1 16 17.84 Penney .80 1.1 15 72.55 ProgrssEn 2.44 5.4 14 45.10 RegionsFnl.44 4.3 12 33.75 SearsHIdgs ... ... 18 174.06 SprintNex .10 .5 99 21.87 TimeWam .22 1.0 14 21.02 UniFirst .15 .3 44 47.05 VerizonCml.62 3.9 20 41.55 Wachovia 2.24 4.3 11 51.80 WalMart .88 1.8 18 48.39 Walgrn .31 .7 22 44.41 YTD Chg %Chg -.02 +.4 +.04 -13.2 +1.38 -6.2 -.46 -8.1 -.13 -9.8 +5.68 +3.7, +.20 +15.8 -.15 -3.5, +.32 +22.5 -.02 +11.6 -.18 -9.0 +.30 +4.8, +.50 -3.2 52-Week Net % YTD .52-wk High Low Name Last Chg Chg % Chg % Chg 13,692.00 10,683.32 Dow Jones Industrials 13,611.68 +45.84 +.34 +9.22 +22.73 5,348.47 4,134.72 Dow Jones Transportation 5,231.29 +25.62 +.49 +14.72 +8.01 537.12 411.81 Dow Jones Utilities 505.16 -1.63 -.32 +10.59 +21.24 10,068.29 7,824.41 NYSE Composite 10,075.39 +49.15 +.49 +10.25 +23.55 2,393.76 1,855.46 Amex Index 2,384.62 +2.66 +.11 +15.96 +22.64 2,658.01 2,012.78 Nasdaq Composite 2,666.51 +9.86 +.37 +10.40 +25.18 1,540.56 1,224.54 S&P500 1,530.44 +5.04 +.33 +7.91 +20.94 856.39 668.58 Russell 2000 852.31 +2.18 +.26 +8.21 +20.16 15,578.36 12,288.68 DJ Wilshire 5000 15,507.34 +58.31 +.38 +8.77 +21.53 I NW YRK TOC EXHANE0 DIv Name Last Chg .20e ABB Ltd u23.79 +.03 1.08f ACE Ltd 62.60 -.26 .. AESCorp 22.46 +.18 .821 AFLAC 52.18 +.42 .. AGCO u46.22 +.83 1.64 AGLRes 40.83 +.05 .. AKSteel u38.39 -.16 AMR 28.49 +.06 1.00e ASALtd 66.65 +1.15 1.42 AT&TInc 40.66 +.06 .09r AUOplron 17.65 +21 1.42e AXA 44.14 +.38 1.30 AbtLab 54.00 -.23 .70 AberFitc 74.10 +.46 ..Abitbig 2.99 -.01 .35f Accenture 43.00 +.19 .90e AdamsEx 15.14 +.09 .. AdvMOpt 35,85 -.04 AMD 14.39 +.20 .04f .Aetna 51.08 +.63 2.06t Agilent u39.82 +.25 .121 Agnicog 40.76 +1.16 .11 Agriurnmg 45.03 +.70 ... Ahold 13.05 +.04 ... AlrTran 11.00 -.04 .42 Albemars 40.33 -.04 .80 Alcan 86.48 +1.38 .42e AlcatelLuc 14.35 -.06 .68 Alcoa 41.66 +.31 1.24f AlescoFnd 8.24 +.11 .. AlgEngy 53.06 +.12 .52 AllegTch 107.72 -1.02 .20 Allergans 57.56 +.11 1.64 Allete 47.29 +.04 .. AlliData 78.16 +.26 1.02a AlliBGIbHi 13.48 +.08 .60 AlliBinco 8.17 -.02 4.15e AlliBem 90.14 +1.48 .. AldWaste 13.88 -.09 1.52 Allstate 61.79 -.03 .50 Alatel 68.09 +.11 .. AlphaNRs 21.38 -.09 Alpharma 26.87 -.03 2.76 Altias 71.60 +.44 .97e AlChinas 47.29 +1.13 .72 AmbacF 86.78 +.46 ... Amdocs 38.99 -.08 2.54 Ameren 49.58 -.27 .18e AMovilL u66.14 +.22 .40f AEagleOs 26.56 +.84 1.56 AEP 45.45 -.29 .60 AmExp 61.51 +.13 .76 AFndRT 10.82 -.03 3.89e AmHmMtg 1758 -.02 .80f AmlntGoll 70.08 -.19 .90a AmSIP3 11.81 +.04 .. AmTower 43.49 +.74 2.44f Amerigas 36.33 -.45 .36 Anadarko 52.23 -.17 .72 AnalogDev 39.07 +.47 .62e AnglogldA 40.88 +2.17 1.18 Anheusr 51.63 -.47 .77e Annaly 14.45 -.16 .60 AonCorp 42.68 +.47. .60 Apache 84.16 +.74 2.40 Aptinv 51.43 +.48 .17' ApplBio 31.03 +.15 .46 AquaAm 22.52 +.14 .. Aquila 4.08 +.05 2.30e Aracruz 68.06 +.05 1.30 ArcelorMit 64.82 +.10 .281 ArchCoal 36.53 +1.54 .46 ArchDan 35.14 +.92 1.81 ArchsonSm 59.36 +.16 .. ArmorH 87.15 +.01 ... ArrowB 39.50 -.24 2.28 Caneticg 16.55 +.10 2.64 DevDv 54.49 +.53 .40 ArvMerit 22.20 -.05 .11 CapOne 78.61 +.58 .56 DevonE 79.39 -.06 .84 AshfordHT 12.56 -.06 2.401 CapitSrce 24.66 -.16 .50a DiaOffs 105.71 +1.12 1.10a Ashland 65.33 -.21 1.26 CapMpfB 12.97 -.03 .96 DiamRk 21.18 -.26 .68 AsdEstat 15.84 -.05 .48f CardnlHith 69.88 -.06 .16 Dillards 36.47 +.48 1.28 ATMOS 30.29 -.05 ... CarMaxs 27.40 +.61 ... DirecTV 23.94 +.25 AutoNatn 22.45 -.07 1.40f Carnival 48.15 +.09 ... Discovern d25.64 -.29 .92b AutoData 48.93 +.10 1.44f Caterpillar 78.81 +1.32 .31f Disney 34.49 -.14 Avaya 16.99 +.08 .16 Celanese u40.96 +.53 .20 DollarG u21.98 +.01 AvisBudget 29.90 +.31 ... Celesficg 6.43 +.09 2.84 DomRes 86.19 -.44 Avnet 41.20 +.34 .75e Cemexs 37.37 -.01 .. Domtargil 11.21 +.04 .74 Avon 38.20 +.30 .68 CenterPnt 17.78 +.12 ... DoralFncI 1.18 +.05 1.841 BB&TCp 41.17 -.05 .16 Centex 41.38 +1.12 .74 Dover 52.26 +.67 1.46 BCEgn u39,84 +.51 4.50 CnlLtpf 83.35 -.90 1.681 DowChm 45.82 +.03 77e BHPBillLI u65.28 +1.40 .26 CntryTel 49.52 +.24 1.00 DowJns 59.07 +1.22 BISYS 11.85 -.01 ... Ceridian 35.25 +.17 ... DresserR u40.18 +.23 .20 BJSvcs 28.85 +.48 ... ChmpE 10.02 +.34 1.48 DuPont 51.97 -.09 BMCSft 30.32 +.05 .01 Checkpnt 26.13 -.21 .88f DukeEoVs 18.12 -.30 2.42e BPPLC 73.50 +.58 .20 Chemtura 11.40 -.04 2.48 BRT 24.96 +.04 .27f ChesEng 35.25 .52 BakrHu 87.63 +.34 2.32f Chevron u87.68 +1.11 .40 BallCp 54.29 +22 3.44 ChiMerc 574.80+19.11 .86e BcBilVArg 24.76 +.08 Chicos 24.92 +.25 .03i BcBradess 24.67 .99e ChinaMble 56.22 +.74 .88e Bncoltau 45.51 +.60 .23e ChinaUni 17.28 +.03 224 BkofAm 49.15 -.22 .88f Chittenden 35.24 +.02 .94 BkNYMel u45.20 +65 1.16 Chubb 54.55 +15 .30t BarrickG 30.72 +.69 1.31e ChungTel 19.68 +.29 .52 BauschL 72.00 +.01 ... CinciBell 5.85 -.02 .67 Baxter 58.04 +13 .16 CircCity 15.17 -.06 2.16 BaytexEg 2023 +02 .72a CiltadBr 6.36 +.03 1.28 BearSt 144.80 14 2.16 Ci:qro 51.70 +20 BeaingPIf 7.30 -.07 1.00 CitzComm 15.32 -.09 .40 BeazrH 23.98 +91 75 ClearChan 37.90 -.04 .84 Bemis 34.35 +22 .50 ClevClilfs 84.11 +.61 .521 BestBuy 48.30 +.60 ... Coach 49.37 +1.47 BigLots 31.00 +.95 .24 CocaCE 24.01 -.06 BBarrett 38.30 -.24 1.3 CocaCI 52.60 -.07 1.36 BIkHillsCp 40.86 -.01 ... Coeur 4.02 +.03 .45a BIkFLo8 14.4 0 1.44f ColgPai 66.01 -.04 BlacksLOn 31.50 +.8 .75 ColBgp 25.15 +.11 .57f BlHR 22.51 -.04 .52 CmcBNJ u38.15 +.10 Blockbtr 4.63 + .01 36 CmcMs 34.79 +5 T h e r 58e BlueChp u6.34 +.04 ComScop 58.71 +.01 1.40 Boeing 98.88 +52 .61e CVRD u480.03 +.56 .44 Borders 1928 -.21 .61e CVRDpf u40.82 +.32 BostBeer u42.35 +.46 CompSci 59.67 +.02 2.72a BostProp 106.02 +.11 40 Con-Way 51.87 +.81 tol 1551-.6 .72 ConAgra 27.24 -.06 BostonS 215.51 -.06 1.64 ConeePhil u81.04 +.32 1.76 Brandyw d28.58 +.20 2832 ConlEgy 45.0021 -+.41 .36 Bdnkers 30.01 +17 ConstellA 24.32 +.04 ,, 1.12 BrMySq 31.55 -.36 174 ConstellEn 87.84 -1.01 .40m BrkfldAsgs 40.18 +.21 CU AirB 38.41 +1.12 .60b Brunswick 32.78 +.25 Cnvrgys 23.94 +.17 1.90 DukeRlty 36.74 -.04 .62e Buenavnt u40.32 +1.60 .36 ComPds 44.18 -.91 ... Dynegy 9.66 +.10 .68f BungeLt uB7.17 +2.26 CominQ 25.82 +.14 ... EMCC 18.66 +.26 1.00 BurNSF 86.70 +.46 60 CntwdFn 37.34 +.69 .36 EOGRes 74.94 +.28 .16 CAInc 25.82 +.11 CoventyH 60.27 +.32 .806 EagleMat u50.95 +.25 ... CBREIlis 39.55+1.35 Covidienn 42.31 +.11 1.76 EastChm 67.94 +.17 9.14e CBOT u224.00+17.85 1,50 CresRE 22.48 .50 EKodak 28.31 +.26 .88 CBSB u34.68 +.56 CrwnCstle 37.35 +.48 .48 EatnVan u46.82 +1.25 .08 CFInds 62.98 +.49 0 CrownHold u25.88 +.36 .46 Ecolab 42.58 +.13 2.16 CHEngy 45.44 +.17 CypSem u24.69 +.51 1.16 Edisonlnt 56.50 -.07 .041 CIGNAs 54.28 +.20 eFunds 35.45 +.06 1.00 CITGp 55.72 -.09 .16 EJPasoCp 17.50 +.06 .20 CMSEng 17.50 -.08 .78 DNPSelct 10.88 -.02 ... Elan 22.55 +.61 .56f CSSJnds 40.46 +.01 1104 DPL 28.76 +.06 .20 EDS 28.30 +.13 .606 CSXs 46.43 +.32 i .60 DRHorton 20.20 +.51 .79e EBrasAero 49.01 +.25 .24f CVSCare 36.76 +.22 2.12 DTE 48.62 -.37 1.05 EmersnEls 48.07 +.40 CablvsnNY u38.30 +.57 2.00e DaimlrC 93.00 +1.11 1.28 EmpDist 22.98 -.01 .12f CabotOs 37.48 -.28 .121 Danaher u77.40 +.72 3.70 EnbrEPIrs 56.33 -.45 .28 CalGolf 18.86" +.40 .46 Darden 44.41 +.02 .80 EnCana 62.52 +.41 .20 Camecogs 50.26 +.69 15.00e DeanFdss 31.42 -.13 ... EncoreAcq 29.55 +.50 ... Cameron u74.67 +1.62 1.76 Deere 123.71 +.65 2.41e Endesa 53.63 +.27 .80 CampSp 38.05 +.15 ... DeltaAirn 20.83 +.31 1.20 EgyEast 26.31 +.05 .34 CdnNRsg 67.80 +.45 ... Denbury u39.76 +.99 EnPro 44.15 +.14 .10 ENSCO u64.27 +.07 2.16 Entergy 107.25 -1.33 1.00 Eqtyinn 22.62 -.02 1.85 EqtyRsd 46.45 +.07 ... ExcoRes 18.14 -.01 1.76 Exelon 76.41 -.16 1.40f ExxonMbl u86.46 +1.30 1.64 FPLGrp 56.50 -.31 FairchldS 19.89 +.38 .46 FamilyDIr 34.60 +.75 2.00f FannieMIl 66.49 -.38 .40f FedExCp 110.84 +.46 .24 FedSignl 16.18 -,04 1.20f FelCor 26.65 -.75 2.00 Ferreligs 24.39 .58 Ferro 25.55 -.13 .12 FirstDatas u32.90 +.07 GameStop su41.55 +.04 1.24 Gannett 55.14 -.26 .32 Gap 19.22 +.10 ., Gartner 24.55 +.10 Gateway 1.69 Genentch 75.10 -1.60 1.16 GenDynam 79.75 +.79 1,12 GenElec 38.48 -.06 1.80 GnGrthPrp 54.05 -.49 2.49a GnMarits 29.24 +.73 1.561 GenMills 57.97 -.26 1.00 GnMotr 36.49 -.27 .36 Genworth 34,89 +.13 1.50 GaPw8-44 24.66 +.01 .66e Gerdau u27.11 +.52 1.89e GlaxoSKIn 51.80 -.31 .90 GlobalSFe 75.07 +.72 .65e GolUinhas 31.57 -.73 HarmonyG 14.71 HarrahE 85.65 HarlfdFn 99.33 Hasbro 32.49 HawaiiEl 23.54 Headwatrs 17.54 HlthCrPr 30.84 HItCrREIT 42.13 HltMgtis 11.40 HIthcrRity 28.70 HeaithNet 54.96 HedaM 8.89 Heinz 47.30 HelixEn 39.90 HellnTel 15.58 HelmPays 36.13 Hercules 20.29 Hertz n u26.72 aodel of a sound investment. -.utenberg ries 1.63e FstFinFd 13.77 +.14 1.80 FstHorzon 38.86 +.07 1.60 FtTrFid 18.68 +.16 2.00 RrstEngy 65.58 -.29 .60 RFaRock 67.98 +.51 .41e FEMSAs 39.32 -.57 .50 FootLockr 22.25 +.21 ,... FordM 9.11 -.04 3.25 FordCpfS 39.83 -.10 ... ForeslLab 46.25 +.09 ... ForestOil 42.31 -.02 1.56 FortuneBr 83.09 -.03 .60 FrankRes 135.42 +.42 2.00 FredMac 60.85 -.05 1.25a FMCG u88.41 +2.75 .20 FriedBR 5.39 +.02 .20f FrontierOil 46.63 +.82 7.55e Frontline u50.70 +1.91 .96 GATX 50.09 +.16 .80a GabelliET 9.97 +.02 .72 GabUil 9.59 -.11 For more information call (352) 726-7480 or visit arhomes.com Premier Building Group, Ino- # C an Independent franchise #CGC38317 .28e GoldFUd 16.12 +.39 .18 Golderpq 25.67 +.71 1.40 GoldmanS 223.64 +2.32 .80 Goodrich u61.01 -.61 Goodyear u36.57 +.15 ... Graffech 17.03 +.09 ... GrantPrde 56.78 +1.94 1.66 GtIPlainEn 29.20 -.34 ... Griffon 22.00 -.06 1.34e GAeroPac u51.85 +1.05 .66e GpTelevisa 27.83 +.05 .52e GuangRy 38.71 +.05 .24 Guesss u50.93 +.08 .84 HRPTPrp 10.83 +.06 .36f Hallibtns 34.86 +.36 .91e HanJS 13.88 -.12 .58a HanPIDv2 10.92 -.02 ... Hanesbrdn 27.84 +.33 .30f Hanoverlns 49.65 +.47 2.13e Hanson 108.66 +.49 1.00f HarleyD 60.98 +.89 .05 Harman 116.85 +.15 .40 Hess 60.95 +.28 .32 HewlettP 45.98 +.08 1.70 HighwdPrp 39.01 +.24 .16 Hilton u45.71 +.32 .90 HomeDo 40.30 +.47 1.00 HonwIllnt 59.08 +.72 Hospira 40.65 +.61 3.04 HospPT 42.93 -.38 .80a HostHots 25.17 -.84 ... HovnanE d16.27 +.63 ... Humana 63.18 +.20 .40 Huntsmn u28.00 +.54. .07 IAMGIdg 7.85 +.13 .49e ICICI Bk 51.30 +.02 .12 IMSHIth 32.64 +.15 .87e iShBrazil u64,91 +1.03 .32e IShHK u17.91 +.41 .10e iShJapan 14.63. -.07 .33e iShKor u65.20 +1.37 .20e iShMalasia 12.02 +.02 .31e iShSing 13.87 +.17 .31e iShTaiwan u16.73 +.07 1.31e iShChin25ul36.85 +3.35 2.53e iShSP500 153.25 +.75 1.58e iShEmMktul38.30 +2.33 1.53e iSh EAFE 82.51 +:59 3.09e iShREst 80.10 -.17 3.30 iStar 46.14 +.22 1.20 Idacorp 31.60 -.12 1,37 Idearcn 36.31 +.30 .84 ITW 55.81 +.27 .64f Imaton 37.22 +.02 2.00 Indymac 31.01 +1.35 ... Infineon u17.61 +.30 .72 IngerRd 54,89 -.25 ... IngrmM 21.58 -.11 2.64 IntegrysE 50.46 -.43 ... IntcntlEx 156.09 +4.28 1.60f IBM u109.03 +.98 ... Int Coal 8.06 +.07 .52 IntlGame 40.30 +.12 1.00 IntPap 39.33 -.68 ... Interpublic 11.44 -.02 ... Iomega 4.95 -.06 .. IronMins 26.36 -.02 ... IvanhMg u15.40 +.49 1.52f JPMormCh 48.97 +.18 .28 Jabil 22.31 +.10 ... JacobsEs u59.59 +.40 .04 JanusCap 30.24 +.41 1.66f JohnJn 62.13 -.15 1.32 JohnsnCll 116.60 -.25 1.00 KBHome d38.95 +1.01 .48 Kaydon 53.32 -.09 1.24f Kellogg 51.69 -.25 .64 Kellwood 28.20 -.11 .. KemetCp 7.28 +.13 1.46 Keycorp 34.93 -.06 1.90 KeySpan u42.13 +.24 2.12 KimbClk 67.40 -.42 1.44 Kimoo 39.43 -.03 3.32 KindME 55.80 ... KngPhrm 20.85 +.14 ... Kinross g 12.87 +.49 Kohls 70.46 +.31 .. KoreaElo 22.48 +.31 1.00 Kraft 34.24 -.22 K... jspKrm 9.26 +.02 .30 Kroger 28.23 +.14 LG Philips 23.74 +.49 .03j LLERy 1.72 -.03 ... LSICor 7.87 +.02 1.50 LTCPrp 22.67 -.11 .48 LaZBoy 11.49 +.07 ... LabCp u81.40 +.39 1.46 Ladede 32.07 -.04 ... LVSands 80.50 +1.90 2.04 LaSalleH 48.02 -.34 .721 LeggPlat 22.50 +.27 .60 LehmanBr 74.80 +.18 .64 LennarA 37.05 +1.05 ... Lexmark 49.40 +.38 .72e LbtyASG 5.80 +.04 1.70 UllyEli 56.64 +.08 .60 Umited 28.99 +.27 1.58 LincNat 71.04 +.21 .26 LUndsay 44.16 -.47 .23 LizClaib 38.45 +.51 1.40 LockhdM 96.63 -.07 .25 Loews 52.06 +.19 .32f Lowes 31.11 +.33 1.281 Luminent 10.48 -.06 .90 Lyondell 39.77 +.27 2.40 M&TBk 108.70 +.66 1.36 MBIA 62.66 +.94 1.00 MDC 49.80 +127 .54 MDURess 29.04 +.16 ... MEMC 62.20 +.70 .48 MCR 8.42 -.04 1.00 MGIC 57.79 +1.76 ... MGMMir u88.32 +.67 .52f Macys 41.99 +2.22 ... Madeco u14.90 +.09 .96f Magnalg 92.72 -.19 .68 ManorCare 64.27 +.17 .881 Manulifgs 37.50 +.12 .96f Marathons 63.59 +.84 .30f MarlntA 47.11 -.46 .76 MarshM 31.44 +.13 ... MStewrt 16.49 -.20 .92 Masco 28.69 +.30 .16 MasseyEn 26.19 +.99 .60 MasterCrd 161.90 +.19 .. MatedalSci 12.30 -.53 .65f Mattel 25.89 +.16 .72 McClatchy 26.70 +.98 .. McDermInt u89.89 +1.44 1.00f McDnlks 51.43 +22 .82 McGrwH 67.67 -.50 .24 McKesson 59.62 -.45 .. McAfeelf 35.83 +.83 .92 MeadWvco 36.00 -.30 .. MedcoHlth 79.42 +.55 .50 Medtmic 53.35 +.44 .80 Mentor 42.15 +.45 1.52 Merck 49.46 -.36 MeridGId 28.56 +.37 Meritage 26.73 +.62 1.40 MerrillLyn 84.68 +.78 .59f MetLife 64.88 +.13 MicronT 13,45 +.65 2.42 MidAApt 55.63 -.12 Midas 21.70 -1.03 ... Millipore 77.00 +.08 ... Mirant 43.72 +.42 .03e MitsuUFJ 11.08 -.06 MobileTel u65.10 +2.70 .50 Monsantos 66.84 +.43 .32 Moodys 62.29 +.86 1.08b MorgStan u73.09 +.15 6.84e MSEmMkt u29.09 +.65 ... Mosaic f 39.10 +.05 .20 Motorola 17.84 +.04 .60 MurphO 60.81 +.28 .24 MylanLab 18.05 -.12 ... NCRCp 53.79 +.42 NRGEgys 42.99 +.06 .40 NYMEXn 130.07 +2.87 .25p NYSEEur 75.72 +2.17 .. Nabors 32.79 +.11 .14 NalcoHId 27.48 +.10 1.64f NatCity 33.69 +.14 1.24f NatFuGas 43.66 +.09 2.79e NatGrid 73.05 +.03 .. NOilVarcou10.11 +1.89 .16 NatSemi 28.82 +20 .40 Nautilus 12.05 -.15 .21a NewAm 2.28 +.04 1.52 NJRscs 51.26 -.24 1.00 NYCmlyB 17.61 +.21 .26f NewAlliBc 14.85 .84 NewellRub 29.52 +32 ... NewfdExp 47.08 +.37 '.4 NewmtM 41.78 +2.20 ... NwpkRsif 8.02 +.03 .12 NewsCpA 21.57 -.07 .10 NewsCpB 23.26 +.02 .09 Nexengs 31.58 +.26 .92 NiSource 20.85 +.04 1.86 Nicor 42.87 +.02 .74 NikeBwi u59.67 +.32 ... 99Cents 13.42 +28 .16 NobleCorpu102.16 +1.95 AMERIANSOKECAG Name Last Chg- ACR Grp 6.64 +.03 AdmRsc 28.44 +1.84 Alteonh .09 -.01 ACrnyNwt .42 -.04 AntaresP 1.64 ApexSiv 20.80 +.01 ArcadiaRs d.99 -.08 Aurizong 3.58 +.14 BoltTech u56.43+3.18 BootsCts 1.71 +.02 CanArgo .96 -.03 CanyonRes .57 +.02 .36 CarverBcp 15.50 +.05 .40 ComSysl u11.64 +.13 .. CovadCm .86 +.02 .. Crystalaxg 4.30 +.10 2.63e DJIADiam 136.13 +.57 .. Darling 10.08 +.08 .74 EVInMu2 14.85 -.03 ... EldorGldq u6.95 +.21 .63e BElswthFd u9.28 +.05 ... Endvrlnt 1.42 +.03 ... EvgmEnya 5.66 -.03 ... FrdmAcan 11.00 +.11 ... FrdmAcwt 3.44 +.19 FrontrDg 12.60 +.30 ... GamGidg 12.90 +.05 ... GascoEngy 2.39 +.14 GoldStro 4.04 +.02 .. GrtBasGg u2.76 +.14 GrevWolf 8.16 +.16 HarbAcqwt .45 ... IGIh .78 +.09 1.10e iSAstanya u29.45 +.10 .28e iSCannya u30.84 +.30 .51e iShGernya 33.96 -.04 .46e iShMexnvau64.77 +.87 ... iShSiver 126.80 +2.15 .76e iShSP100cbo70.56 +.21 4.04e iSh20TB. 83.48 -.34 3.66e iSh7-10TB 80.02 -.19 3.44e iShl-3TB 79.76 -.01 .09p iShNqBio 79.06 +.32 2.11e iShC&SRInya94.11 -.35 1.83e iSRIKVnya 88.17 +31 .53e iSR1KG nya 60.62 +.31 1.29e iSRuslKnya83.30 +.46 1.49e iSR2KVnya 83.78 +.16 .33e iSR2KGnvau88.10 +.40 .87e iShR2Knva 84.80 +.33 ... IntellgSys 3.40 -.25 ... InterOilg 26.13 -.62 ... Invemss 51.95 +.32 ... JavelinP n 5.83 -.05 ... KodiakOa 5,12 -.03 ... LundinMs u13.64 +.50 ... MBFHcrn 7.59 ... MadCatzg 1.30 -.07 .12e MktVGold 40.53+1.28 ... Mermac 9.79 +.01 MetroHth 1.85 +.03 ... Miramar 4.68 +.24 ... Nevsung 2.71 +.11 ... NOriong 5.79 -.08 ... NthatMq 3.09 +.05 ... NovaGIdg 16.00 +.59 121e OilSvHT u181.10 +1.98 ... Oilsandsgn 2.73 +06 ... On2Tech 2.82 -.17 ... PeruCopg 6.17 +.04 PionDril 14.62 +.03 .27e PwShChinau27.00 +.30 .05e PwSCInEn u21.55 +.40 ... PSOilSv u26.89 +.30 .16e PwSWtr 21.16 -.09 1.50e PrUShS&Pn50.89 -.56 1.52e PrUShDown48,90 -.44 2.02e PrUShMC n 49.24 -.60 5.43e ProUltQQQu99.75 +1.19 1.32e PrUShQQQnd43.51 -.43 4.32e ProUItSP 97.65 +1.02 .48e ProUSR2Kn59.93 -.71 ... RaserTnya 8.55 +1.32 ... Rentech 2.61 +.01 1.23e RetailHT 107.35 +1.73 .55e RdxSPEW 52.21 +.24 .30e SpdrHome 30.90 +.88 .13e SpdrRetl 44.39 +.40 .. SamarPhrs 1.25 +.34 .. SeabGldgu25.19 +2.09 .37e SemiHTr u39.23 +.34 ... Signalife d.68 +.03 2.60e SPDR 152.98 +.80 1.988 SPMid 166.40 +.94 .80e SPMalts 41.60 +.35 .54e SPHIthC 35.64 +.08 .56e SPCnSt 27.40 +.16 .35e SPConsumu40.17 +.36 .75e SPEnay u71.54 +.96 .82e SPFndl 36.68 +18 .60e SPInds 39.80 +.24 .21e SPTech 26.15 +.05 1.10e SPUtil 39.86 -.21 Taseko u4.06 Tengsoo .78 TmsmrEx 1.50 US Gold n 6.11 UlbaPtg 57.55 USNGFdnd41.57 USQOlFd 54.68 Uranerzn 4.97 VCGHoldh 8.13 Versar u10.73 Viragenh .04 Westmind 28.31 WllshrEnt 5.78 NSANA TIONALMRE Div Name Last Chg ... Atmel 5.71 +.01 .. AudCodes 6.07 +.03 Audvox 12.75 -.29 .. ABXAir 8.28 +.01 ,. AuthenTcn 11.12 ACMoore 19.94 -.14 Autodesk 45.20 -.59 .. ADCTelr 18.82 +.32 Avanex 1.85 +.03 ASMLHId 28.15 +.05 ... AvanirP 2.44 -.11 ATSMed 1.98 +.08 ... AvidTch 36.01 +.49 .. AVIBio 2.86 +.05 ... Aware 5.72 -.03 Aastrom 1.32 ... AxcanPh 19.34 +.49 .. AbraxisBio 21.88 +.02 ... Axcelis 6.45 -.01 AcadiaPh 13.76 +.13 ... BEAero 42.60 +.70 AccesslT 8.50 +.15 ... BEASysIf 13.68 -.06 .. AccHmelf 13.79 -.01 ... Baldu.comu197.60+12.61 Accurayn 22.24 +.74 .02 BnkUtd 20.30 +.27 20p Acergy 24.30 -.58 ... BareEscn 35.54 +.75 ... ActionSemi 5.87 -.04 ... BeaconPw u1.85 +.22 .. Acivsn 18.56 -.19 ... BeacnRfg 16.36 -.33 Acusphere 2.19 +.06 .25 BeasleyB 9.00 .24 Acxiorn 26.45 +.09 20 BebeStrs 16.61 +.14 Adaptec 3.82 -.03 ... BedBath 36.72 +.25 .. AdobeSy 41.02 +.09 ... BigBandn 13.43 +.01 .36 Adtran 26.03 -.20 .. Bioenvisn 5.87 -.13 .. AdvATech 9.86 +.06 ... Biogenldc 54.50 +.05 AdvUSci d1.90 -.20 .04 BoLase 5.60 -.27 .. AdvMag 60.06 +.16 .. BloMarin 18.04 -.24 .571 AdvantaAs 30.02 +.12 .30e Biomet 45.78 -.03 .681 AdvantaBs 33.01 +.17 ... Bornmira 1.10 +.02 Aeroflex 14.28 +.01 Biopure .81 +.06 .. AffymeErix 25.58 +.21 ... Bkboard u43.54 +.43 .. AirspanNet 3.15 -.08 ... BluPhoenx u13.67 +.55 .. AkamaiT 47.54 -.61 .56 BobEvn 37.82 +.03 .. Akom 7.00 .20 BonTon 37.64 -.95 1.61e Akzo u88.10 +1.31 ... Bookham 2.33 -.05 .60 Aldila 15.31 -.20 ... Borland 5.96 +.04 .. AlignTech 24.55 +.05 .36 BostPiv 27.67 -.01 Alkerm 14.91 +.16 ... Brightpnt 13.52 -.12 .. Alscripts 24.84 -.21 Broadoom 30.63 +.54 AlnylamP 15.20 -.12 ... BrcdeCm 8.22 +.09 ..AltairNano 3.65 .. .34a BrklneB 11.37 .16 AteraCpil 23.52 +.31 ... BrooksAuto 18.11 -.06 .. AltraHldn u18.03 +.03 .20 Bucyrus u75.04 +.55 .. Alvarion 9.87 -.13 ... BusnObj u41.39 +.76 .101 AmTrRFinn u19.T77 +.34 ... C-COR 14.55 -.02 .. Amrnarinh .58 +.01 .56 CBRLGrp 42.19 -.18 .. Amazon 68.97 +.24 ... CDCCpA 9.13 -.11 .. Amedisyss 37.90 -.09 .521 CDWCorp 84.95 +.13 .. AmerBio 1.28 .72 CHRobins 52.00 3.64f AmCapStr 46.97 +1.4 ... CMGI 1.95 -.01 ACmdLnn 26.10 -.52 ... CNET 8.17 -.07 AnerMed 18.47 +.21 CSGSys 26.67 +.17 AmSupr u22.26 +.77 ... CTCMedia 28.13 -.02 Amrign 20.23 +.24 .. CVThera 12.92 -.06 .41 AmCasino 36.46 -.44 .. Cachelnc 15.10 +.70 Amrnen 54.82 -.04 ... Cadence 22.05 +.05 AmkorTIf 15.97 +.06 .05 Cal-Maine u18.56' +.23 Amylin 42.28 -.14 ... CalAmp 3.89 Anacigc 14.16 +.07 ... CalPizzas 22.29 +.35 .40 Anlogic u74.17 +.16 .70 CapCtySk 31.15 -.25 .. Analysts 1.75 +.02 ... CpstnTrb 1.13 +.06 .. Andrew 14.43 +.03 ... CareerEd 33.78 +.44 .88e AngloAm u31.42 +.44 Carrizo 42.46 +.02 .. Ansyss 26.54 -.11 .. Celgene 58.08 +.33 ApoloGrop u60.60 +2.10 ... CellGens 3.62 -.13 2.04 Apollolnv 22.32 +.30 ... CeliTherrs 3.72 +.23 .. Aole Inc u132,30 -.45 ... CentlCom 10.25 -.15 .221 Applebees 25.00 +.22 ... CentA u58.36 +.90 .. AppidDigl 1.32 ... Cephin 80.89 +.28 .24 AnldMati 19.l -.06 ... Cepheid 15.00 +.02 AMCC 2.60 +.36 Ceradyne 78.45 +1.25 .. aQuantive u65.78 +91 ., CeragonN u12.77 +.17 ArQule 6.97 -.08 ... Cemer 58.23+1.27 ArenaPhm 11.05 +.24 ... CersCp 7.10 +.28 1.64 AresCap 17.28 +.32 ChamppsE 5.40 +.01 ... AradP u5.94 +.32 .40 Chaparral su75.72 +.54 Aribalnc 9.76 +.02 ... ChadRsse 25.95 +.35 .06e ArmHId 9.23 -.04 ... ChrmSh 10.97 -.07 .. Arris 17.19 -.01 ... Chartlndsnu30.80 +.18 Arrowhd 5.12 +.20 ... ChartCm 4.37 -.12 .. ArtTech 2.69 -.03 ... ChkPoint 23.16 -.20 .. AscentSol 9.50 +1.12 ... ChkFree 40.84 +.29 .. Asialnfo 9.99 +.14 ... Cheesecake 25.49 +.20 .. AspenTech 13.29 -.03 ... ChinaBAK 4.40 +.17. .. Asprevag 18.52 +.43 ... ChlFnOnI u10.16 +.93 1.24f AsscdBanc 33.00 +.12 ... ChinaMed 31.50 +.27 .. AthrGnc 2.10 -.05 ... ChinaNRes 9.95 +1.63 .. Altheros 32.26 +.09 ... ChinaPrecn 4.10 -.12 ... ChinaSunnd11.44 +.61 ... ChinaTDvlf 4.70 +.55 ChipMOS 7.36 +.05 .. Chordntrs 15.66 -.25 .50 ChrchlID 52.56 +.07 ... CienaCp rs 36.96 -.37 1.42 CinnFin 44.20 +.32 .391 Cintas 40.25 +.17 ... Cirrus 8.60 +.12 ... Cisco 28.47 +.10 1.16 CitizRep 18.77 +.27 ... CitrixSylf 33.98 +.11 CleanH 50.74 +.13 ... Clearwiren 26.68 +.23 ClickSft u4.43 +.31 CogenIC 31.22 -.25 Cogent 14.87 +.05 .. CogTech 78.89 +4.48 Cognosg 40.62 +.42 .. ColdwCrk 23.69 +.37 ... ColorKnet 33.51 +.10 1.00e Comaroo 6.18 +.04 ... Comcasts 28.58 +.11 .. Comcsps 28.41 +.14 1.72 CompsBc 69.71 +.29 .. CompCrd 33.80 +.57 .. Compuwre 12.15 +.11 ... ComtchGr 16.94 +.68 .. Comlech u48.11 +1.11 ... ConcCm 1.85 Conexant 1.47 +.05 .. Conmed 29.73 +.18 Copemic 3.17 +.33 CorinthC u16.51 +.14 1.60 CorpExc 66.36 +2.01 1.00a CorusBksh 17.36 +.12 Cosi Inc 4.45 -.01 .58f Costoo u61.44 +1.32 CredSys 3.79 +.07 Creelnc u29.17 +.35 .. Crocss 44.49 +1.25 .28e Ctrip.com u88.67 +2.16 CubistPh 20.17 +.16 CybrSrce 12.75 +.43 .. Cymer 40.36 +.36 CyprsBio 13.25 -.03 CytRx 3.25 -.01 Cytogen 1.64 +.07 CytyclI .44.35 +.16 DRDGOLDh .71 +.03 .07f Daktronics 22.16 +.86 Danka 1.10 .. DataDom nu26.60 +2.29 ... Dawson 60.95 -2.41 .. DayStar 6.15 +.41 ... Dell Inc 1f u29.01 +.02 ... Dtar 19.20 +.04 .. Dndreon 7.79 -.14 Dennys 4.56 +.04 .16 Dentsplys u39.08 +.19 ... DexCom 8.53 +.19 DigeneClp u61.80 -.04 DigRiver 46.94 +.38, ... DiscHoldA 23.26 +.45 ... DiscvLabs 2.90 +.03 DistEnSy 1.38 +.03 ... DobsonCm 12.46 -.03 ... DllrTree 44.21 +.48 ... DressBam 20.92 -.08 .80 DryShips u46.81 +2.67 Dynavax 4.40 -.14 .. ETrade 22.93 +.25 ... eBay 33.39 +1.12 eResrch u10.08 +.23 ESSTech 1.73 -.04 EZEM 14.50 +.16 ErthUnk 7.70 +.08 EasyLnkrs u5.77 +.03 EchelonC 15.04 -.48 EchoStar 44.56 +.69 EdBauern 13.68 +.78 EdgePet 13.87 -.02 .221 EduDv 7.70 -.05 ... ElectSci 21.05 -.07 EIcIrgIs 2.38 -.09 ... EectArts 50.90 ... EFII 29.20 +.11 ... Emageon 8.96 -.03 ... Emcorelf 5.92 +.02 ... EncysiveP 1.73 -.01 .. EndoPhrm 34.58 -.10 ... EngyConv 31.40 -.10 ... Entegris 11.96 +.21 ... EnlreMd 1.49 -.03 ... Entrust 3.33 -.08 ... EpicorSft 14.57 -.12 .74e EricsnTI 41.56 +.05 EvrgrSIr 9.68 +.24 ... Exelixis 11.90 +.23 ... Expedia 29.39 +.26 .281 ExpdInl 41.76 +.16 ... ExpScdps u53.33 +.61 ... ExremNet 4.44 +.11 ... Ezcops 12.55 -.06 ... F5Netwks 82.88 -.32 ... FEICo 33.74 +.21 FLIRSys 47.32 -.22 .FXEner. 9.15 +.02 .421 Fastenal 42.44 +.29 ... FiberTowrn 4.00 -.03 .83e Reldlnv 3.84 -.01 1.68 FfthThird 40.08 -.20 ... Finisarlf 3.96 +.07 .10 FinUne d8.51 +.01 .52 FslNiagara 13.40 -.14 ... FslSolarn 96.29 +1.76 1.16 FstMerit 21.14 -.04 ..: Rserv 57.12 +.60 ... FamelT 23.60 +1.45 .. Fextn 11.03 -.01 .. FocusMdas 47.75 '+.03 ... ForcePron 23.35 -1.04 ... FormFac 39.12 +.45 .. FosterWh u115.59 +2.59 ... FoundryN 17.42 +.17 .24 FrghtCar 50.26 -.34 .. FmtrAr 5.67 ... FuelCell 8.26 +.04 .60f FultonFnci 14.54 +.04 ... FuweiFn 7.76 -.31 GSICmmrc 23.66 +.93 GTCBio 1.20 +.01 .50 Gamiins u77.66 +1.32 ... Gemstar 5.10 +.06 ... GenBiotc 1.77 +.03 ... GenesMcr 10.26 +.37 ... Genta .30 +.01 .38 Gentex 20.04 +.33 ... GenVec 2.47 -.06 ... Genzyme 60.85 -4.02 GeronCp 7.29 +.10 .36 GevityHR 18.87 ... GigaMed 13.48 +.12 .. GileadScis 39.12 +.14 ... Globlind u27.64 +.38 2.00a GolarLNG u19.53 +1.24 .80 GoldTlcm u65.55 +5.19 .. Google 539.40 -2.23 ... GrWfRes u15.76 +.29 .64f GrtrBay 27.77 +.06 .. GreenfldOn 16.15 +.27 ... GutarC u60.55 +.05 Gymbree 41.94 +.43 ... HLTH 13.96 -.18 1.00 HMNFn 34.81 -.00 ... Hansens 45.75 +2.04 .. Harmonic 8.95 +.11 HayesLm 6.11 +.16 HaynesInt nu91.30 +6.20 ... Healthwys 46.64 -3.00 Heelys n 27.62 +.89 HelenTroy 28.38 +.64 HercOffsh 34.45 +1.35 Hibbelt 28.15 +.40 .. HimaxTch 5.47 -.02 ... HokuSci 11.13 +.42 Hologic 56.46 -.08 HomeSol 5.83 -.07 .. HoriznOli 20.13 +.34 .. HotTopic 10.97 -.13 .32 HudsCity 12.23 -.02 ... HumGen 9.07 -.03 .36f HunUB 30.70 +.20 1.06 HuntBnk 22.64 +.07 ... IAC Inter 34.23 +.04 .. ICOInc u11.50 ... I-Row u18.18 +.46 ... IconixBr 22.22 +.12 ... Illumina 41.79 -.07 ... Imclone 37.13 +.28 ... Immersn 17.60 +.02 ... Immucor 27.65 -.16 .. Imunmd 4.43 +.02 .. InPhonlc 5.04 +.38 ... Incyte 6.00 -.02 ... IndevusPh 6.79 +.18 .. Infineran 23.05 +71 ... Informal 15.08 +.12 .27e Infosyss 52.59 +2.40 ... Inhlbitex 1.39 +.02 ... Innovo ul.79 +.13 ... InPlay u3.13 +.23 ... Insight u23.48 +.05 ... Insmedh .77 -.01 .12 Insteel 19.42 +.26 ... IntgDv 15.81 +.25 .45 Intel u24.68 +.08 .. IntactBrknd24.97 -2.14 ... InterDig 32.64 +.09 .08 Intface 18.99 +.11 ... InterMune 27.00 +.49 ... IntrNAPrs 14.27 +.09 .10f IntlSpdw 53.87 +.82 .40 Interil 33.20 +.68 ... Intuits 29.56 -.30 ... IntSurg 144.90 +2.16 inVentiv 37.80 +.06 ... Invesools 9.82 -.15 ... Invitrogn 74.16 +.50 ... lonatron 4.22 +.17 ... IsilonSysn 14.30 -.29 ... Isis 10.07 +.02 ... IvanhoeEn 1.91 j2GIoba 35.28 +.03 JASolarn 37.25 +1.25 ... JDSUnirs 14.12 +.22 .26 JackHenry 26.48 +.04 ....Jamba 9.03 -.08 ... JamesRiv 12.40 +.02 ... JetBlue 11.92 .. JonesSoda 16.97 +.45 ... JosphBnk 42.73 +.46 .60 JoyGIbl 60.96 +1.36 ... JnprNtwk u27.04 +.08 .48 KLATnc 56.42 +.23 ... KnghtCap 16.58 +.12 ... Komag 32.02 +.06 ... KopinCp 4.03 +.01 ... Kulicke 10.72 +.08 ... Kyphon u53.18 +.93 .72 LCAVis 49.57 -.99 ... LJInt 11.64 +.64 ... LKQCp 24.54 -.26 .52 LSIInds 18.63 +.18 .. LTX 5.45 +.03 ... LamRsch 51.95 +.16 3.25e LamarAdv 62.84 +.67 .12 Landstar 48.56 -.55 Lattice 5.62 +.06 Laureate 61.60 -.12 ... LawsnSft 9.84 -.20 LeapWirels u92.29 +2.40 LeveB 6.15 +.10 ... UbGlobA u42.72 +.75 ... UbGlobC u40.64 +.23 ... UbtyMintA 22.54 +.04 ... UbtMCapA 118.98 -1.01 ... UfePtH 39.90 -.20 2.50e UgandPhm 7.24 +.07 .. Limelight n 21.96 +1.21 ... Uncare 40.16 +.01 .72 LinearTch 37.48 +.33 .. Local.comull.90 -1.03 LodgEnt 30.60 -.87 Logitechs 27.50 +.10 ... LookSmart 3.98 +.10 1.76 MCGCap 16.49 +.29 1.39 MGE 32.97 -.02 .. MGIPhr 23.97 +.28 MIPSTech 9.76 +.27 .. MIVA u7.19 +.30 ... MKS lnst 27.20 -.42 ... MRVCm 2.81 -.03 .. MSCSfwrn 13.77 +.02 .44 MTS 44.73 -1.77 Macrvsn 30.52 +.52 .. MagnaEnt d2.63 -.13 ... MannKd 13.09 +.24 .36 Manntch 12.25 -3.75 MarvellTsll 18.22 .62 MaximI 33.87 +.02 .. MaxwllT 15.45 +1.02 Medarex 14.30 -.04 ... Mediacm 9.91 +.03 MedicActs 19.05 +.37 MediCo 16.44 +.07 MelcoPBLn 13.67 +.47 MentGr 12.95 -.07 .. MesaAr 6.67 -.09 .56f Methanx 25.97 +.31 .12 MIcrel 13.25 +.32 1.12f Mcrochp 37.80 +.16 .. MicrosSys 56.91' +.60 ... McroSemi 25.32 -.24 .40 Microsoft 29.97 -.02 .. Micrvisn 4.86 +.19 MiddleBrk 2.47 +.06 ... MillCellh .72 -.02 .. MillPhar 10.51 -.22 .351 MillerHer 33.19 +.19 ... Millicomlnt 96.98 +3.33 .. Misonix 5.86 -.05 .30 Molex 29.94 +.15 Momenta 10.42 -.04 Monogrm 1.65 MonshrWw 43.03 +1.32 Move Inc 4.23 -.02 MovieGai .63 -.04 .. NETgear 36.90 -.47 ... NIIHkig u87.00 +2.19 ... NVECorp 41.00 +1.84 .. Nasdaq 31.14 +.78 ... Nastech 10.76 -.14 ... NatAItH 14.08 +.05 ... NektarTh 9.51 -.24 ... NetlUEPS 25.52 +.69 .08 NetBanklf .27 -.01 ... NetLogic 32.93 -.18 ... Netease 18.89 -.16 ... Nelflix 20.39 +.57 ... NetwkAp 29.62 +.64 ... Neuroch g 7.08 -.31 ... Neurcrne 11.71 +.08 ... NewStarFn 14.44 +.48 ... NightwkR 18.34 -.31 ... NtoMed 2.35 +.20 .50f NobltyH 21.00 -.04 1.00 NorTrst 64.93 +.26 ... NIhldLb 1.35 -.07 ... Novacea 9.55 +.48 .NvtlWrs 24.75 +.37 .. Novavax 3.05 +.04 ... Novell 7.71 -.13 ... Novlus 29.14 +.37 .60 nTelos 27.80 -.03 ... NuHoriz 13.42 +.24 ... NuanceCm 16.98 +.05 ... NutriSys 71.88 +1.18 ,. Nuvelo 2.86 +.13 .. Nvidia u43.77 +.21 OReillyA 36.97 +.24 OSIPhrm 35.75 -.19 ... OmniEnr 11.28 +.16 Omniture 22.25 -.18 Omniisn 18.88 +.19 OmrixBio 33.55 -.81 OnAssign 10.69 -.07 ... OnSmcnd 11.40 +.05 OnstreamM 2.15 ... OnyxPh 27.44 -.07 ... OpenTxt 21.66 -.13 OpenTV 2.18 -.02 1.20e OpnwvSy 6.08 -.10 Opnextn 13.15 +.15 Opsware 9.48 +.04 .08 OptionCare 19.34 -.05 .25 optXprs 26.04 +.25 Orade 20.40 -.09 ... Orbcommrnn 16.26 +.64 ... Orthfx 47.79 +1.22 1.17 OtterTail 33.31 +.02 PDLBio 23.47 -.22 PFChng 36.11 +.29 PMCSra 8.11 +.13 PSSWWdd 19.08 +.28 1.00f Paccars 88.81 -.49 ... PacEthan 14.43 -.12 ., PacSunwr 22.96 +.48 .. Packetb 8.16 +.35 Palm Inc 16.49 +.27 PanASIv 27.71 +.86 .. Panacos 3.55 -.05 .. PaneraBrd 47.90 +.22 ... ParamTch 17.23 -4.34 Patterson 37.61 -.16 .481 PattUTI 25.52 +.35 .84 Paychex 39.37 +.22 .. PnnNGm 60.82 +.46 .. PensonWw 19.30 +.19 Penwest 12.48 +.12 .531 PeopUtdF 18.05 -.04 .. PeopleSup dil.16 +.08 .. Peregrine .83 +.04 PerFood 32.39 -.33 .18 Pengo 20.12 +17 PeroDv 49.68 -.19 .12 PetsMarl 32.99 +.48 .12 PharmPdtl 39.08 +.04 .Pharmion 29.75 +.09 ... PhysnsFn 15.58 +.06 ... netOut 1.85 -.20 PlugPower 3.12 -.03 PointTherh .11 -.00 Polycornm 33.66 -.27 .48f Pool Corp 35.57 +.43 .64 Popular 16.02 +.09 Power-One 4.01 -.08 .14e PwShsQQQu48.86 +.20 ... Powrwav 6.50 +.06 PremExhib 17.29 -.16 ... Presstek 8.00 +.02 .68 PriceTR 53.64 +.60 priceline u70.83 +1.51 ... ProgPh 21.92 +.34 ... PsychSol 37.26 +.36 ... QIAGEN u18.45 +.02 QLT 7.44 +.01 ... Qogic 17.35 +.21 .12 QuakFab d.12 -.02 .56f Qualcom 43.58 +.04 ... QuanFuel 1.75 -.05 SRFMicD 6.21 +.05 RackSys 12.55 -.14 RadNetn u10.57 +.47 Rambusif 18.12 +.07 .10e Randgold 22.70 +.58 RareHosp 26.35 -.18 ReaINwk 8.08 -.03 RedRobin 41.21 +1.15 ... Regnm 18.10 Renovis 3.77 +.15 ... RentACI 26.81 -.06 RschMotnu215.35 -.84 ResConn 33.65 -.41 Riverbed n 45.69 +.32 .. RosettaR 21.91 -.06 .30 RossStrs 31.13 +.19 .26 RoyGId 25.75 +.54 RuthChds d17.35 +.08 Ryanairs 39.97 -.43 SIlCorp 8.19 +.13 SBACom 34.93 -.04 ... SEIInvs 29.13 +.11 ... SMTCCpg 7.30 +.21 ... STEC 6.40 +.08 ... SalixPhm 12.77 +.37 ..SanDisk 49.20 +1.11 ... Sanmina 3.17 -.03 .. Sapient 7.65 +.06 ... SavientPh 12.26 ... Savvis 48.45 -2.00 .07 Schnitzer 52.32 +1.50 .20a Schwab 22.06 -.02 ... SiGames 35.25 +.08 .. SearsHldgs 174.06 +5.68 SecureCrnp 8.01 -.02 .. SelCmfrt 16.55 -.08 .48 Selctlnss 24.53 -2.32 .. Semtech u17.89 +.10 .. Sepracor 42.29 +.17 .. Shanda 31.87 -.16 .22e Shire u75.70 +.65 .. ShoreTeln 12.25 -.52 .. ShufflMstr 16.77 +.13 ... SiRFTch 21.40 +.10 .. SierraWr 25.29 +.35 SigmaDsg 26.18 -.17 .46 SIgmAls 43.21 +.18 .. S9maTel 2.94 +.23 Silicnimg 8.57 -.09 .. SilcnLab 34.32 +.15 SilicnMotn 25.99 +.52 .. SSTIf 3.79 -.01 .25r Slcnware u12.07 +.56 .. SilvStdg 36.01 +1.23 Sina u45.27 +.57 .60 Sinclair 15.06 +.04 .. Sirenza 12.36 -.09 .. SidiusS 3.07 -.03 .12 SkyWest 24.43 +.08 SkywksSol 7.75 +.08 ... SmartM 13.73 +.30 SmithWes 16.82 +.13 .. SmithMicro 15.67 +.17 .. SmurfStne 13.92 -.07 ... Sohu.cm 33.64 +.14 ... Solarfunn 11.25 -.06 .. Somaxon 12.63 +.32 .. SonicCorp 22.28 +.11 SncWall 8.69 +.05 Sonus 8.67 -.05 SonusPh 5.26 .36 SouMoBc 14.95 ... SourceFrg 4.25 -.03 .72 SouthFnd 23.16 +.21 SpansionA 11.56 +.02 .11 SpartMots 17.92 -.33 .. SpectPh 7.56 +.01 .. Spreadirn 15.10 -.30 .29f Staples 24.75 +.13 ... Starbucks 26.55 +.21 .40a SilDynas 46.29 +.93 StemCells 2.31 -.02 Stricycles 44.39 -.54 .10 StewEnt 8.05 +.35 SunMicro 5.38 +.05 SunOpta 11.44 +.14 SunPower u67.57 +1.93 SuperGen 5.73 1.00 SusqBnc 22.90 -.06 Sycamore 4.06 +.01 ... Symantec 19.83 -.05 Symetric 8.30 -.07 .15e Synaloy 33.95 -1.38 Synaptics 36.27 +.29 Synchron 34.05 -.85 ... Synopsys 26.80 +.23 Synovis 14.68 +.03 SyntaxB 5.30 -.03 SyntroCp 2.74 -.01 TBSIntIA u31.40 -.03 TDAmeritr 20.60 +,03 THQ 30.67 -.42 .. TLC Vison 5.21 +.11 TOP Tank u8.05 +.29 TFMTch 12.86 +.16 TXCOFRes 11.85 +.54 ... TakeTwo 20.68 +.20 ... TASER 14.06 -.07 ... TechData 39.03 +.18 ... TecumsehA 22.15 -.88 ... Tekelec 14.67 -.01 ... TeleTech 33.20 +.29 ... Tellabs 11.14 -.06 ... TesseraT 42.41 +.70 ... TetraTc 22.54 -.19 .35e TevaPhrm 41.44 +.17 ... TexRdhsA 13.40 +.84 Th. eravnce 32.44 -.35 Thrmogn 2.64 +.07 3Com 4.21 -.04 TibcoSft 9.03 +.05 ... TWTele 20.13 +.04 ... Vonc 5.84 +.01 Tmsmetah .94 +.24 TmSwtc 1.78 .. TriZetto 19.87 +.10 TridentMhil 19.18 +.38 .. TimbleNs 32.50 -.32 ... TriQuint 5.19 +.05 ... TrumpEnh 10.42 -.30 .64 TrstNY 9.96 -.07 .88 Trustmk 26.14 +.05 .. TumblwdC 2.51 -.09 .. 24f7RealM 11.70 +.02 .. UAL 44.94 +.74 .901 UAPHIdg u31.07 +.42 .12 UCBHHId 19.35 +.44 .12 USGIobals 23.80 +1.52 2.60a USAMobi 26.58 -.07 .. USANAH 43.87 -.99 .06 UTiWrldwd 27.15 +.11 ... UTStIcm 5.66 +.06 ... UltraClean 13.82 +.02 ... UtdNtIF 27.06 -.27 .80 UtdOnin 16.96 +.07 .10e USEnr 5.77 +.08 .. UtdThrp 64.80 +.16 .11 UnivFor 42.92 -.20 ... UrbanOut 23.78 +.43 .. ValueClick 30.54 +.15 ... VandaPhm 20.00 +.08 ... VarianSm s 39.28 -.34 ... VascoDta u24.54 +1.10 .. VentanaM u78.75 +.95 ... Verenlum 5.00 +.30 ... Verigy 28.97 +.04 ... Versign u32.60 +.20 VertxPh 28.74 +.03 .20 ViewPtFnn 16.90 +.07 .. ViewptCp 1.07 -.01 ... Vimcro 6.33 +.67 ... VionPhm 1.11 +.02 .121 VirgnMdah 29.31 -.08 .. ViroPhrm 14.81 +.33 ... VistaPrt 41.77 +1.85 ... Vivus 5.30 -.03 .72e Volvos 20.83 +.12 Wamrnaco 39.70 +.06 ... WarenRs 11.40 +.01 .. Websense 21.94 +.54 .. WebsitPro 9.90 +.20 .20f WamerEnt 20.65 +.09 Westell 2.95 +.23 WetSeal 6.18 +.04 .72 WholeFd d38.06 +.03 WindRvr 10.73 -.02 WinnDixn 30.95 +.28 .. WrlssFacil 1.91 +.18 .. WrightM 24.68 +.10 6.00e Wynn 94.24 +1.48 XMSat 12.23 -.16 XOMA 3.12 .48 Xinx 27.51 +.28 ... )XnhuaFn 7.71 -.29 .. YRCWwde 37.44 +.44 ... Yahoo 27.10 +.11 ZhoneTch Zila ZollMeds Zoltek Zoran Zumiez ZymnoGen 1.39 -.02 1.30 +.11 23.32 -.07 43.60 +.37 20.90 +.18 39.58 +1.49 14.26 -.12 Cooper (Dound) $3.6110 $3.453b 1 NMER =New York Mercantile Exchange. CBOT = Chicago Board of Trade. CMER = Chicago Mercantile Exchange7 NCSE = New York Cotton, Sugar & Cocoa Exchange. NCTN = New York Cotton Exchange. KTUR J , THE MARKET IN REVIEW Ll- "]GL'ttNm.] [.] L ze: q Illql"-Jil -u i! .......... .48f NobleEn 63.66 +.08 .04a ProgsvCp 23.87 +.11 .56e NokiaCp 28.92 +.24 1.84 ProLogs 59.87 +.72 .54 Nordstrm 49.58 -.02 .28 ProsStHiln 3.26 .88 NorilkSo 54.02 +.52 1.35 ProvETg 12.07 +.03 .. Nortellrs 23.38 -.14 .95f Prudent! 97.87 +26 .801 NoestUt 28.49 -.13 2.34f PSEG 90.38 -.10 1.48 NorthropG 78.44 +.18 1.00 PugetEngy 24.12 -.03 .. NwstAirn 23.95 +.56 .16 PulteH d22.72 +.58 .40 NovaChem 38.91 +77 .39 PHYM 7.35 -.01 1.10e Novartis 55.33 -.12 .49 PIGM 9.93 +.01 .. NovaStar 8.02 +.34 .36 PPrlT 6.57 -.05 1.30 NSTAR 32.14 +.07 ... Qimodan 16.10 +.29 .44a Nucor 61.00 +1.45 .56 Quanex 50.19 +.13 .96 Nuveenlnv 62.57 +.18 .40 OstDiag 56.06 +1.00 .69 NvFL 13.50 -.04 .491 Questars 53.19 -.14 .74a NvlMO 14.12 -.01 ... Quiksilvr 14.53 +.10 1.14 NvMulSI&G 13.32 +.08 ... QwestCm 9.84 +.02 1.09a NuvQPl2 13.58 -.08 .20 RPCs 16.40 -.45 1.36 OGEEngy 35.98 -.12 .70 RPM 24.08 +.17 .88 OciPets u59.77 +.31 ... RTIntIM 79.99 -.48 Oceaneer u54.87 +2.06 .25 RadioShk 34.85 +.76 OffcDpt 30.92 +.04 ... Ralcorp 56.60 +.56 .80 Olin u21.75 +.08 .12 RangeRs 38.48 -.29 .09 Omncre 37.31 +.15 40 RJamesFn 33.84 +2.33 .30 Omnicms 52.61 -.05 1.88 Rayonier 48.36 -.62 3.96f ONEOKPI 69.69 -.32 1.02 Raytheon 54.44 -28 .40 OshkoshT 65.03 +.41 1.53 Ritylnco 26.01 -.12 RedHat 21.48 -.12 1.20a RegalEnt 21.91 +.16 1.44 PG&ECp 44.62 -.57 1.44 RegionsFn 33.75 -.13 .21 PMIGrp 46.30 +1.17 ... ReliantEn 28.14 +.30 2.52 PNC 72.99 -.01 .95e Repsol 41.14 +.42 .88 PNMRes 28.00 -.11 .43 RepubSvcs 31.18 -.25 2.00 PPG 77.05 -.38 ... RetailVent 16.56 +.31 1.22 PPLCorp 47.39 -.78 ... Revlon 1.37 +.02 1.00 PackAmer 27.21 -.03 3.00 ReynAms 66.94 +.37. ParkDr 11.45 +.20 ... RteAld 6.37 +.03 PaylShoe 32.07 +.28 1.16 RodkwlAut 72.06 +1.82 .24 PeabdyE 50.26 +1.64 1.48f 'RoHaas 55.24 +.44 3.00 Pengrthg 19.47 +.17 .40 Rowan u43.89 +1.98 1.64f PennVaRs u32.22 +.11 ... RBSctprS 24.95 .80 Penney 72.55 +1.38 .60 RylCarb 42.69 +.04 .27 PepBoy 20.86 +.38 2.63e RoyDShA u85.18 +229 .56f PepsiBott 34.52 +.30 1.85e, Royce 21.63 +.08 1.50f PepsiCo 66.22 +31 1.47 Royce pfB 23.39 +.09 .52 PepsiAmer 24.55 -.07 .48 Ryland 38.57 +1.38 1.29e Prmian 13.58 +20 [_ _ 1.73e PerrsAs u57.34 +.53 1.73e Petrobmrs u65.76 +.71 .62e SAPAG 50.54 -.09 1.16 Pfizer 25.92 +.02 1.76 SCANA 39.15 +.06 1.00 PiedNG 24.76 -.18 ... SKlTen 27.41 -.11 Pier1 8.31 -.12 1.00 SLMCp 57.90 +.05 .78 PimcoStrat 10.41 +.05 .30e STMicro 19,70 +12 2.10 PinWst 39.94 -.46 .28f Safeway 34.52 +31 1.32 PitnyBw 47.48 +.04 .64 SJoe 47.00 +28 1.68 PlumCrk 1143.70 +.24 ... Sude 4269 +94 .30 PogoPd 51.43 -.47 4.00e Saks 20.80 +. 1.36 Polaris 54.15 +.36 ". Mefor 44.68 +. ... PolyOne 8.25 +.90 230e SJuanB 31.74 +.46 1.80 PostPrp 52.61 -.12 1.15e Sanofi 41.84 +.12 .40f Potashs 80.06 -.04 .40 SaraLee 17.36 -.04 1.20 Praxair 73.37 +22 .27e Satyams u2625 +1.08 ... Prideln u38.50 +.13 .2 Sc PI 30.53 -.04 .80 PrinFnd 60.06 +.03 .70 Schlrnbrg 88.33 +.35 1.40f ProctGam 61.48 -.19 40 SeagateT 23.57 +.45 2.44 ProgrssEn 45.10 -.46 1.24 SemepraEn 59.30 -32 The remainder of the New York Stock Exchange listings can be.1663 1.1673 Brazil 1.9030 1.9139 Britain 2.0106 2.0123 Canada 1.0496 1.0566 China 7.6020 7.5998 Euro .7341 .7354 Hong Kong 7.8168 7.8178 Hungary 181.16 182.08 India 40.190 40.415 Indnsia 9090.91 9090.91 Israel 4.2370 4.2331 Japan 123.40 122.88 Jordan .7095 .7085 Malaysia 3.4490 3.4475 Mexico 10.7673 10.7998 Pakistan 60.39 60.38 Poland 2.76 2.77 Russia 25.7076 25.6997 Singapore 1.5196 1.5208 Slovak Rep 24.61 24.65 So. Africa 6.9900 7.0112 So. Korea 919.12 921.66 Sweden 6.7340 6.7338 Switzerlnd 1.2181 1.2169 Taiwan 32.91 32.82 U.A.E. 3.6729 3.6729 1 Venzuel 2145.92 2145.92 British pound expressed in U.S. dollars. All others show dollar in foreign currency. Yesterday Pvs Day Prime Rate 8.25 8.25 Discount Rate 6.25 6.25 Federal Funds Rate 5.21 5.31 Treasuries 3-month 4.81 4.67 6-month 4.81 4.73 5-year 5.09 4.92 10-year 5.19 5.03 30-year 5.28 5.12 Exch Contract Settle Chg Lt Sweet Crude NYMX Aug07 72.81 +1.00 Corn CBOT Dec 07 352 +91/2 Wheat CBOT Sep07 610 +6 Soybeans CBOT Nov 07 896 +9V2' Cattle CME Aug07 92.50 +1.80 Pork Bellies CME Aug07 88.37 -1.80 Sugar(world) NYBT Mar09 10.95 +.02 OrangeJuice NYBT Jul07 131.40 +1.30' Yesterday Pvs Day Gold (troy oz., spot) $652.70 $648.10 Silver (troy oz.. soot) $12.648 $12.353 :b " .IIRUS O.UUNIv (I L), vHtt.i .. . --k- - AL i 4-wk ame NAV Chg %Rtn AIM Investments A: iBasValAp40.03 +.20 +2.9 'ChartAp 16.99 +.06 +2.9 Const p 29.46 +.20 +3.7 HYdAp 4.49 ... --1.2 IntlGrow 34.46 +.20 +6.5 MuB p 7.88 -.01 -0.2 SelEqtyr 22.87 +.11 +2.9 AIM Investments B: CapDvBt 19.57 +.13 +4.7 AIM Investor Cl: Energy 48.36 +.40 +5.8 SummifPp 14.53 +.07 +3.8 Utilities 19.05 -.06 +2.9 Advance Capital I: Balancp 19.70 +.07 +2.7 Retinc 9.45 -.02 -0.2 Alger Funds B: SmCapGrt6.78 ... NA AlllanceBern A: BalanAp 18.60 +.02 +1.4 GIbTchAp 72.56 +.41 +6.9 InUValAp 25.29 +.21 +5.2 SmCpGrA31.20 +.18 +5.9 AllIlanceBern Adv: IntValAdv 25.70 +.22 +5.2 LgCpGrAd 23.38 +.14 +4.0 AlllanceBern B: iCorpBdBp11.77-.04 -0.6 GIbTchB t 64.51 +.35 +6.8 GrowthB t 27.91 +20 +4.6 SCpGrBt25.86 +.15 +5.8 [USGovtBp6.64 -.02 -0.1 IlllanceBern C: SCpGrC t25.95 +.15 +5.8 Illlanz Funds A: NFJDvV 118.69 +.06 +3.1 Ialianz Funds C: GrowthCt24.38 +.14 +4.8 TargetCt 22.34 +.14 +7.6 Amer Beacon Plan: iLgCpPn 24.94 +.07 +2.6 Amer Century Adv: EqGro p n27.49 +.16 +2.8 Amer Century Inv: 'Balanced n17.32 +.05 +1.7 IEqlncn 8.97 +.01 +1.3 FLMuBnd n10.42-.01 0.0 Growthi n 24,64 +.15 +3.8 Heritagel n20.54 +.21 +8.6 IncGron 35.77 +.19 +2.3 IntDiscrn17.90 +.12 +8.8 IntlGrol n 14.22 +.05 +6.5 LifeScin 5.78 +.01 +1.9 NewOpprn8.05 +.04 +6.1 'OneChAg n14.14+.06 44.0 RealEstI n29.36 ... -1.4 Ultra n 29.85 +.21 +4.3 ;Uliln 18.32 ... +3.2 iValuelnvn 8.12 +.02 +1.9 American Funds A: .AmcpAp 21.93 +.11 +3.4 AMutlA p 31.75 +.08 +2.4 BalA p 20.08 +.05 +2.3 .BondAp 13.12 -.02 -0.2 CapWA p 19.29 -.01 +0.3 CaplBAp 65.67 +.17 +3.0 CCapWGA p 47.06+.25 +5.1 'EupacAp 53.27 +32 +6.0 'FdlnvAp 45.01 +.20 +3.6 'GwthAp 36.64 +.20 +3.9 HITrAp 12.61 -.01 -0.5 IncoAp 21.45 +.02 +1.9. IntBdAp 13.28 -.01 +0.1 .ICAAp 36.50 +.17 +3.5 ,NEcoAp 29.73 +.22 +4.6 NPerAp 35.80 +.20 +6.3 .NwWddA 57.62 +.36 +7.1 SmCpAp 46.93 +20 +5.8 TxExAp 12.25 -.02 -0.1 'WshAp 37.84 +.12 +2.8 American Funds B: oBalBt 20.02 +.05 +2.2 CaplBBt 65.67 +.17 +2.9 'CpWGrBt46.84 +.25 +5.1 GrwthBt 35.37 +.20 +3.8 IncoBt 21.33 +.02 +1.8 ICAB1t 36.34 +.17 +3.4 WashBt 37.63 +.12 +2.8 Ariel Mutual Fda: Apprec 54.00 +.21 +3.0 Ariel 58.95 +.18 +3.3 artisan Funds: Inti 32.54 +.13 +5.4 MidCap 35.98 +.25 +5.1 MidCapVal 23.04 +.08 +2.9 Baron Funds: Asset 66.53 +.41 +3.2 Growth 54.73 +.27 +3.8 Partners p 24.54 +.25 +4.1 'SmCap 25.85 +.19 +4.9 Bernstein Fds: i'ntDur 12.90 -.02 -0.2 DivMu 13.79 -.01 0.0 ,TxMglntV 29.64 +.23 +5.0 JntVai2 29.28 +.22 +5.0 ,EmMkts 47.74 +.50 +9.7 BlackRock A: AuroraA 30.39 +.17 +3.5 BaVIA p 34.33 +.09 +3.2 CapDevA p 16.80+.09 +4.2 GIAIAr 19.82 +.06 +2.7 #HiYInvA 8.16 +.01 -0.9 I BlackRock B&C: I GIACt 18.67 +.05 +2.6 BlackRock Insti: E Baol 34.52 +.10 +3.2 SGIbAllocr 19.90 +.05 +2.7 Bramwell Funds: Growth p 20.68 +.14 +3.8 Brandywine Fds: -Bmdywnn39.80 +.11 +6.1 fBrinson Funds Y: HHiYldl]Yn 6.96 ... -0.7 tGM Funds: CapDv n 33.94 +.46 +9.0 Focus n 44.74 +.36+12.0 M/ln 32.76 +.24 +9.2 Calamos Funds: Gr&lncAp33.65 +.15 +3.5 I GrwthAp61.86 +.38 +5.4 GrowhCt 158.27 +.35 +5.4 Calvert Group: SIncop 16.52 -.03 0.0 I IntEqAp 25.98 +.14 +5.4 I Munlnt 10.41 -.01 -0+6.2 SocialAp p 31.43 +.04 +1.4 SocBd p 15.58 -.03 +6.2 SocEqAp239.87 +.320 +3.2 TxFU 10.17 ... -1.1 LTxFLgp 16.14 -.02 -0.3 TxFVT 15.39 -.01 0.0 Causeway Intl: ilnstitutnl rn2225 +.10 +4.9 Clipper 95.81 +.50 +1.8 Cohen& Steers: tyShr 86.15 -.05 0.0 Columbia Class A: I Acon t 32.61 +.13 +3.5 21CntryAt 15.96 +.11 +5.5 .MarsGrAt21.73 +.09 +3.8 Columbia Class Z: AcomZ 33.44 +.13 +3.5 AcomlntZ46.96 +.22 +6.3 Credit Suisse ABCD: ValueAt 19.54 +.07 +2.0 DWS Scudder Cl A: I ComrAp28.34 +.28 +7.8 I rHiRA 53.95 +.19 +2.1 DWS Scudder C l S: CapGrr thn55.38 +.27 +3.3 CorPlsmnc 12.37 -.02 +-0.2 EmMkIn 1.28 -.01 -0.4 EmMkGr r 26.75 +.23+10.1 EuroEq 41.81 +.31 +4.0 -GIb~dS r 9.47 -.01 +6.3 GIbOpp 47.49 +.34 +3.3 GIbIThem 37.87 +.20 +5.0 Gold&Prc 22235 +.43 +7.5 -GrolncS 23.25 +.13 +2.8 HcYldTx 12.70 -.02 0.0 IntTxAMT 10.90 -.02 0.0 InI FdS 70.10 +.53 +5.4 LgCcGro 29.66 +.15 +3.4 LatAmrEq 74.76 +.62+11.1 MgdMuni 08.89 -.02 -0.1 .MATFS 13.90 -.02 0.0 Davis Funds A: I NYVenA 42.13 +.19 +2.5 I Davis Funds B: |NYVen B 40.22 +.18 +2.4 Davis Funds C &Y: I Delaware Invest A: Delaware Invest B: DelchB 3.42 ... -0.9 Dimensional Fds: |-EmMktV 42.28 +.32 +9.2 I IntSmVan24.26 +.07 +4.1 I USLgCon44.92 +.16 +2.8 |USLgVan27.81 +.13 +2.5 I USMicron16.87 +.04 +3.3 l-USSmalln23.18 +.06 +3.2 USSmVa32.15 +.09 +2.5 lIntlSmCo n22.27 +.07 +4.4 IEmgMkt n32.60 +.29 +6.3 I'Fixdn 10.23 +.01 +0.4 Glb5Fxlncn10.76+.01 +6.3 TM USTgtV 27.42+.09 +2.7 S ntVa 22.47 +.16 +4.5 MMktwV 19.70 +.07 +2.1 DFARIEn30.70 -.05 -1.1 Dodge&Cox: .Balanced 90.86 +.15 +1.3 Income 12.35 -.02 -0.2 InllStk 49.75 +.22 4.3 Stock 164.71 +.49 +2.0 Dreyfus: Aprec 46.82 +.25 +2.8 Discp 38.97 +.15 +3.2 Dreyf 11.15 t.04 +3.1 i Dr5OOInl 43.47 +.16 +2.8 I EmgLd 37.63 -.01 +2.4 CFLIntr 12.70 -.02 0.0 InsMust 17.37 ... 0.0 SDreyfus Founders: GrowthB 12.47 +.04 +3,0 ,Grn~hFp 13.31 +.05 +3.2 Dreyfus Premier: CoreEqAt 17.98 +.08 +2.5 | CorVIv p 33.90 +.08 +1.6 LtdHYdA p7.22 ... NA StrValAr 35.58 +.12 +2.2 TxMgGCt 19.09 +.06 +2.0 TchGroA 27.06 +.20 +6.2 Driehaus Funds: 6 EMktGr 48.43 +.51+10.2 Eaton VanceCI A: Here are the 1,000 b ChinaAp 31.11 +31+19.1 AMTFMBI 10.70 -.04 -0.8 show the fund name, GrwthA 11.10 +.09 +7.2 net change, as well as InBosA 6.52 ... -0.7 LgCpVal 2285 +.10 +2.4 Tues: 4-wk total retur NatlMun 11.54 -.04 -0.8 Wed: 12-mo total retu SpEqtA 16.50 +.03 +5.3 TradGvA 7.06 ... NA Thu: 3-yr cumulative 1 Eaton Vance Cl B: Fri: 5-yr cumulative tc FLMB t 10.91 -.02 -0,4 HIthSBt 12.55 -.04+0.8 Name: Name of mutu NatlMBt 11.53 -.05 -0.8 NAV: Net asset value Eaton Vance Cl C: GovtCp 7.05 ... NA Chg: Net change in p NatlMCI 11.53 -.05 -0.8 Total return: Percent Evergreen A: dividends reinvested. AstAIlp 15.56 +.06 +2.9 Evergreen B: lve. DvrBdBt 14.08 -.03-0.1 Data based on NAVs MuBdBt 7.36 -.02 -0.3- Evergreen C: Footnotes: e Ex-ca AstAllCt 15.05 +.05 +2.8 n No-load fund. p - Evergreen20 -03 Redemption fee or cc CorBdl 10.20 -.03--0.1 SIMunil 9.82 -.01 0.0 Stock dividend or split Excelsior Funds: No information availat Energy 27.24 +.25 +4.7 wish to be tracked. HiYieldp 4.73 +.01 -1.5 p |,5a d A ValRestr 61.17 +.30 +4.4 Upper, Inc. andThe As FPA Funds: Nwinc 10.80 ... +0.3 AZTFAp 10.83 -.02 -0.2 Fairholme 32.34 +.18 +1.3 Ballnvp 74.39 +.27 +1.8 Federated A: CallnsAp 12.43 -.02 -0.1 AmLdrA 25.33 +.03 +1.3 CAIntAp 11.30 -.01 -0.1 MidGrStA43.96 +.40 +4.6 CalTFAp 7.19 -.01 0.0 KaufmAp 6.54 +.01 +5.1 CapGrA 13.13 +.07 +3.3 MuSecA 10.40 -.02 -0.3 COTFA p 11.77 -.02 -0.1 Federated B: CTTFAp 10.85 -.02 -0.1 StrlncB 8.73 ... -0.4 CvtScAp 17.53 +.04 +2.7 Federated Insti: DblTFA 11.75 -.02 -0.2 KaufmnK 6.54 +.01 +5.0 DynTchA 29.86 +.14 +4.6 Fidelity Adv Foc T: EqIncA p 23.58 +.08 +1.8 EnergyT 51.04 +.43 +5.8 Fedintp 11.17 -.02 -0.1 HItCarT 23.33 +.04 +0.9 FedTFAp 11.85 -.01 -0.1 Fidelity Advisor A: FLTFA p 11.63 -.01 0.0 DivIntAr 25.70 +.04 +4.3 FoundAl p14.90 +.04 +2.1 Fidelity Advisor 1: GATFA p11.84 -.02 -0.3 Divlnl n 26.10 +.04 +4.4 GoldPrMA34,94+.58 +4.5 EqGrIn 62.52 +.28 +6.2 GrwthAp 46.08 +.16 +3.8 Eqln x n 32.74 +.02 +2.1 HYTFA p 10.72 -.02 -0.2 IntBdln 10.64 -.02 -0.2 ncomAp 2.74 .. +0.4 Fidelity Advisor T: InsTFAp 12.01 -.02 -0.2 BalancTx17.94 -.02 +2.4 NYITFp 10.66 -.01 -0.1 DivlntTp 25.42 +.04 +4.4 LATF Ap 11.33 -,02 -0.1 rTp 14.44 +.02 +2.0 LMGvScA 9.82 -.01 +0.2 DrvGrTp 14.44 102 +2.0 MDTFAp11.49 -.02 -0.2 DynCATp20.64 +.12 +6.0 MATFAp11,49 -,02 -0.2 EqGrTp 58.91 +.26 +6.1 MATFAp 11.63 -.02 -0.2 EqlnTx 32.29 +.05 +2.0 MITFAp 11.97 -.01 0.0 GrOppT 40.48 +.42 +5.2 MNinsA 11.83 -.02 -0.2 HilnAdT p10.99 +.01 +0.4 MOTFA p 12.01 -.02 -0.2 IntBdT 10.63 -.01 -0.2 NJTFAp 11.90 -.02 -0.2 MidCpTp28.04 +.16 +4.1 NYInsAp 11.28 -.02 -0.4 MulncTp 12.59 -.02 -0.2 NYTIFAp 11.54 -.02 -0.2 OvrseaT 25.67 +.09 +4.9 NCTFAp 12.03 -.02 -0.3 STFiT 9.33 ... -0.1 OhioAp 12.28 -.03 -0.2 Fidelity Freedom: PATFAp 01.61 -.02 -0.1 FF2010 n 15.24 +.03 +2.0 PATFA p 10.21 -.02 -0.2 FF2015n 12.83 +.02 +2.1 ReEScAp24.42 +.16 -2.5 FF2020n16.40 +.05 +2.1 RisDvAp 38.10 +.18 +2.3 FF2020n 16.461 +.05 +2.7 SMCpGrA44.20 +.23 +5.2 FF20230n 17.14 +.04 +27.3 USGovAp 6.25 -.01 -0.2 FF20305n17.14 +.065 +3.2 UtilsAp 14.49 -.07 +2.2 FF203540n 14.217 +.054 +3.2 VATFAp 11.56 -.02 -0.1 Fidelity Invest7 Frank/Tmp Frnk Adv: AggFidelity nvest: 15+7 IncmeAd 2.73 ... +0.5 AggrGrrn2268 +15 +7.0 FrankdTemp Frnk B: AMgrSO x n16.90-.0 +1.8 IncomBI p 2.74 -.01 +0.4 AMgr70 n 17.65 +.05 +2.6 incomBe t 273 ... +0.4 AMgr20 rx n12.81-04 +0.7 Balancx n21.16 -.03 +2.6 Frank/Temp Frnk C: BlueChGrn48.36+.16 +4.0 FoundA p14.64 +.03 +1.9 CAMunn12.04 -.02 -0.2 IncomCt 2.76 ... +6.4 Canada n60.02 +.51 +4.6 Frank/Temp MtlA&B: .CapAp n 30.72 +.20 +6.2 DIScA 34.55 +.03 +3.8 CapDevOnl3.94+.03 +3:8 QualfdAt 24.71 +.06 3.4 Cplncrn 9.16 +0.2 SharesA 28.63 +.06 +2.8 ChinaRg n29.38 +.21+14.9 Frank/Temp Mti C: CngSn 495.51 +1.44+3.1 DiscCt 34.20 +.02 +3.8 CTMunrn11.06 -.02 -0.1 Frankr/empTempA: Contran 72.03 +.25 +43 DvMktAp32.98 +.17 +9.1 CnvScxn29.76 +.06 +5.0 ForgnAp 15.32 +.13 +4.1 DisEqn 32.40 +.13 +2.1 GIBdAp 11.46 +.02 +0.9 Divlntin 41.88 +.17 +4.4 GrwthA p 27.93 +.16 +3.0 DvSkOn7.26 +.09 +4.1 IntxEMp 21.39 ... 0.0 DivGthn 34.31 +.06 +2.1 WodrdAp 21.33 +.13 +3.2 EmrMkn 30.69 +.26+10.8 Frank/TempTmp Adv: Eqlncxn63.08 +.01 +3.0 GrthAv 27.98 +.15 +3.0 EQIIxn 25.31 +.01 +2.2 Frank/TempTmp B&C: ECapAp 30.70 +.21 +5.9 DevMktC 32.19 +.16 +9.0 Europe 44.12 +.17 +5.7 ForgnCp 15.05 +.13 +4.1 Exchn 352.69+1.34 +2.6 GnwthCp 27.15 +.15 +3.0 Exportn 25.77 +.06 +3.3 GE Elfun S&S: Fidelxn 39.66 +.07 +3.4 S&SPM 50.45 +,18 +3.3 Fifty rn 26.61 +.17 +5.5 GMO Trust III: FftRateHirn9.91-.01 -0.1 EmMkr 26.51 +.26+11.1 FLMurn 11.19 -.01 0.0 For 20.67 +.09 +4.3 FrInOnen31.96 +.09 +2.7 IntlntrVI 39.34 +.25 +4.2 GNMAn 10.52 -.02 0.0 GMO Trust IV: Govtnc 9.85 -.02 +0.1 EmrMkt 26.44 +.26+11.0 GroCon 77.97 +.41.+4.8 Foreign 20.68 +.09 +4.3 Grolnc xn33.75 +.09 +3.4 IntlGrEq- 35.24 +.17 +5.2 Grolncllxn12.28+.03 +3.3 IntllntrV] 39.33 +.25 +4.2 Highlnc rn 8.98 ... -1.2 GMOTrustVI: Indepnn 25.64 +.14 +6.5 EmgMktsr 26.46+.2511.0 IntBd n 10.08 -.02 -0.2 IntlCorEq 44.21 +.28 +4.6 IntGovn 9.85 -.01 +0.3 StrFxlnc 25.71 +.01 +0.6 InlDiscn 43.43 +.19 +5.4 USQItyEq23.12 +.09 +1.3 ntlSCp r n30.21 +.03 +6.6 Gabelli Funds: InvGBn 7.19 -.01 -0.3 Asset 54.17 +.26 +4.4 Japan n 18.12 -.11 +1.3 Gateway Funds: JpnSmn 12.70 -.03 +3.8 Gateway 28.50 .. +1.6 LatAunn 58.06 +.50+11.5 Goldman Sachs A: LevCoStkn35.96+.23 +5.7 GrlncA 31.78 +.04 +1.9 LowPrn 48.55 +.27 +3.8 HYMuAp11.30 -.02 -0.4 Magelln n96.12 +.57 +4.4 MdCVAp43.07 +.07 +2.5 MDMurn10.59 -.02-0.2 SmCapA 47.23 +.02 +2.1 MA Mun n11.61 -.02 -0.2 Goldman Sachs Inst: MIMunn 11.55 -.02 -0.1 HYMunin11.30 -.02 -0.4 MidCapn 32.67 +.21 +4.2 Strulnt 17.24 +.11 +5.4 .NMun nl1.11 -.02-0.2 Harbor Funds: MtgSecn 10.67 -.02 -1.0 Bond 11.25 -.01 +0.2 Munilncn12.45 -.02 -0.2 CapAplnst35.81 +.16 +3.5 NJMun rn1.24 -.02 -0.1 Intir 72.37 +.36 +6.6 NwMkt/rn14.55 -.01 -0.4 Hartford Fds A: NwMilln 32.85 +.21 +5.7 AdvrsAp 18.34 +.05 +2.5 NY Mun n12.47 -.02 -02 CpAppAp 42.72 +.22 +5.8 OTCn 47.65 +.31 +7.0 DivGthAp 23.02 +.09 +3.6 OhMunnll.29 -.02 -0.1 SmlCoAp23.78 +.10 +4.7 Ovrsean 51.87 +.10 +5.9 Hartford Fds C: PcBasn 33.03 +.01 +5.7 CapApC t 38.86 +.20 +5.7 PAMun r n10.54 -.02 -0.1 Hartford HLS IA : Puntnxn 21.08 -.09 +1.9 CapApp 59.08 +.33 +5.9 RealEn 34.95 -.04 -0.9 Div&Gr 25.01 +.10 +3.7 StlintMun 10.12 ... +0.1 Advisers 24.16 +.07 +2.5 STBF n 8.77 ... -0.1 Stock 57.96 +.29 +3.8 SmCaplndr24.82+.11 +4.7 TotRetBd 11.25 -.02 -0.1 SmlICpS r n20.38+.09 +4.4 Hennessy Funds: SEAsian 37.09 +.24+11.0 CorGrow 20.66 +.11 +7.5 StkSlcn 30.70 +.14 +3.3 CorGroil 32.91 +.31 +5.7 Stralln" n 10.49 -.01 -0.3 HoiBalFd n17.13 +.03 +2.8 StrReRt rx 10.14 -.15 -0.3 Hotchkis & Wiley: TotalBdn 10.21 -.02 -0.3 Tre nd 70.98 5 58 i LgCppVlA p2696 +.12 +1.0 Trendn 70.98 + +54 8 MidCpV 32.54 18 +.18 +1.3 USBi n 10.63 -.02 -0.1 iCON Fds: Utlity xn 21.45 -.08 +3.6 Energy 40.66 +. 457.7 ValSlratn37.38 +.17 +3.6 Hlhcare 17.73 .03 +.2 Value n 91.64 +.40 +3.3 hr 1 + Wrldwn 23.01 +.14+5.0 IS l Funds: Fidelity Selects: p 72 00 Air n 52.24 +.34 +6.0 IXS Advisor Ci A: Banking n3260 +.03 +0.5 TarEqty 11.94 +.07 +7.6 Biotchn 65.19 + .05 +1.0 Ivy4Funds: Brokrn 76.11 +.54 +2.0 GTNatRsAp37.60+.42 +7.2 Chemn 79.43 +.19 +7.5 JPMorgan A Class: ComEquip n23. 73+.02 +7.5 MCpVal p28.33 +.05 +2.8 Comp n 45.45 +.25 +6.2 JPMorgan Select: ConDisn 27.14 +.30 +3.3 IntEqn 41,51 +.25 +4.9 ConStap n61.86 +.14 +1.5 JPMorgan Sel Cis: CstHon 46.74 +.58 +2.3 IntrdAmern30.47+.16 +2.6 tDfAern 89.14 +.33 +4.0 Janus: Electr n 50.78 +.34 +6.8 Balanced 25.90 +.07 +2.0 Enrgy n 60.89 +.51 +5.8 Conlrrian 20.07 +.08 +3.3 EngSvn 89.20 +.90 +9.8 Enterpr 54.75 +.039 +4.0 Envirn 18.33 -.03 +3.0 FedTE 6.76 -.02 -0+.7 FinSvn 120.12 +.3 +0.4 FrIxBnd 9.21 -0.2 Goldrn 35.62 +.74 +5.0 Fund 31.45 +.15 +2.9 Health n 131.43 +.12 +1.5 FundaEq 28.93 +.16 +3.1 HomF n 47.30 +.32 -1.1 GI U/eSci 21.83 +.05 +1.0 Insurn 74.28 +.09 +1.3 GITechr 14.97 +.07 +6.9 Leisrn 84.16 +.49 +4.0 Grntc 42.56 +.30 +3.9 Malenaln 57.53 +.39 +6.2 MdCpVal 26.82 +.10 +3.3 MedDIn 53.30 +.21 +0.5 Orion 11.64 +.07 +5.6 MdEqSysn24.73+.12 +3.8 Ovrseas r 54.76 +.49 +7.0 Muetmd n 47.42 +.06 +3.6 Research 29.41 +.18 +3.8 N/Gas n 46.35 +.22 +3.6 ShTmBd 2.88 ... +0.4 Paper n 37.34 ... +4.7 Twenty 62.90 +.24 +5.3 PFhremn 11.78 -.01 +1.7 Ventur 73.91 +.60 +6.5 Re/aln 55.60+1.02 +2.1 WridWr 58.05 +.52 +4.0 Softwrn 72.88 +.68 +4.8 JennisonDryden A: Tech n 79.65 +.51 +9.0 BlendA 21.30 +.07 +3.5 Telcmn 58.89 +.08 +6.4 HiYtdAp 5.74 ... -1.2 Transn 56.33 +.30 +2.9 InsuredA 10.47 -.02 -0.3 UhilGrn 62.01 -.24 +3.5 UtilityA 16.49 +.05 +5.1 Wireless n 8.87 +.03 +9.8 JennisonDryden B: Fidelity Spartan: GrowthB 16.00 +.08 +3.2 Eqldxlnvxn54.17-.04 +2.8 HiYIdBt 5.73 ... -1.2 5001nxlnvrn106.13+.38+2.8 InsuredB 10.49 -.02 -0.3 Inilnxlnvnn49.55 +.18 +3.9 John Hancock A: To1Mktlnvn43.29+.17 +3.0 BondAp 14.50 -.03 -0.3 Fidelity Spart Adv: ClassicVI p 29,68 +02 +1.5 EqldxAd x n54.17-.04 +2.8 RgBkA 36.98 +.05 +1.2 500Adrn106.13 +.38 +2.8 StrdnAp 6.52 ... -0.1 TotMklAd r n43.29+.17 +3.0 John Hancock B: First Eagle: StrIncB 6.52 ... -0.2 GIbIA 49.71 +.14 +2.3 John Hancock Cl 1: OverseasA 27.41+.05 +1.6 LSAggr 16.45 +.08 +3.9 First Investors A LSEBalanc 15.17 +.03 +1.9 BIChpAp 25.60 +.10 +2.8 LSGwth 16.02 +.06 +2.8 GlobIAp 8.51 +.04 +5.2 Julius Baer Funds: GovtAp 10.45 -.02 -0.2 IntlEqIr 50.43 +.30 +6.7 GrolnAp 17.45 +.06 +2.6 InlfEqA 49.34 +.30 +6.7 IncoAp 3.06 ... -1.1 InlEqlllr 17.43 +.09 +6.2 InvGrAp 9.28 -.02 -0.1 KeelSmCpp30.36+.14 +4.1 MATFAp 11.46 -.02 -0.2 LSWalEqn21.01 +.11 +2.1 MITFAp 11.89 -.01 -0.1 Lazard Insll: MidCpAp32.76 +.17 +3.2 EmgMkll 25.15 +.24 +8.3 NJTFAp 12.51 -.02 -0.2 Legg Mason: Fd NYTFAp 13.98 -.02 -0.1 OpporTrl 22.32 +.19 +4.2 PATFAp 12.55 -.02 -0.1 Splnvp 43.18 +.33 +3.3 SpSiA p 25.59 +.05 +3.5 ValTr p 76.48 +.59 +1.9 TxExA p 9,59 -,02 -0.2 Legg Mason Insti: TotRtAp 16.09 +.02 +1.6 ValTrlnst 85.62 +.66 +2.0 ValueBp 8.49 +.03 +2.2 Legg Mason Ptrs A: Firsthand Funds: AgGrAp 122.82 +.18 +3.0 GIbTech 5.17 +.01 +7.9 ApprAp 16.42 +.04 +2.2 Tech Val 42.07 +.28 +7.0 HiIncA 1 6.86 -.01 -1.6 Frank/Temp Frnk A: InAICGA p 15.82 +.14 +4.4 AGEAp 2.09 -.01 -1.8 LgCpGAp25.20 +.04 +1.9 AdjUS p 8.85 ... +0.3 Legg Mason Ptrs B: ALTFAp 11.22 -.02 -0.1 CaplncB 117.90 +.03 +2.3 I ToR I T, E MUtV AL Fm lr BL E I - iggest mutual funds listed on Nasdaq. Tables sell price or Net Asset Value (NAV) and daily s one total return figure as follows: n (%) irn (%) total return (%) total return (%) al fund and family. rice of NAV. change in NAV for the time period shown, with If period longer than 1 year, return is cumula- reported to Lipper by 6 p.m. Eastern. pital gains distribution, f- Previous day's quote. Fund assets used to pay distribution costs. r - ontingent deferred sales load may apply - t Both p and r.x Ex-cash dividend NA - ble. NE Data in question. NN- Fund does not IS Fund did not exist at start date. Source: associated Press LgCpGB 123.43 +.03 +1.9 Longleaf Partners: Partners 39.22 +.23 +4.0 Intl 22.05 +.16 +2.1 SmCap 33.96 +.20 +1.4 Loomis Sayles: LSBondl 14.40 -.02 +0.1 StrIncC 14.99 -.01 0.0 LSBondR 14.36 -.02 +0.1 StrlncA 14.93 -.01 0.0 Lord Abbett A: AftilAp 16.24 +.04 +2.8 BdDebA p 8.09 +.01 -0.2 MidCpA p 24.88 +.07 +2.6 MFS Funds A: MITA 22.39 +.12 +4.2 MIGA 15.12 +.06 +4.1 GrOpA 10.05 ... NA HilnA 3.86 ... -1.4 IntNwDA 31.22 +.10 +5.0 MFLA 9.88 -.01 -0.2 TotRA 17.02 +.03 +1.6 ValueA 29.28 +.13 +3.1 MFS Funds B: MIGB n 13.68 +.06 44.0 GvScBn 9.21 -.02 0.0 HilnBn 3.87 -.01 -1.5 MulnBn 8.39 -.02 -0.2 TotRB 17,02 +.04 +1.6 MainStay Funds A: HiYIdBA 6.44 ... -0.7 MainStay Funds B: CapApBt 33.71 +.21 +4.3 ConvBt 16.45 +,07 +4.4 GovtB/t 7.99 -.01 -0.1 HYIdBBt 6.41 ... -0.6 IntlEqB 16.82 +.05 +3.0 SmCGB 0 16.83 +.06 +2.0 TotRIBt 19.87 +.06 +2.4 Mairs & Power: Growth 84.43 +.44 +3.8 Marsico Funds: Focusp 20.18 +.12 +4.0 Growp 21.72 +.10 +3.9 Matthews Asian: India r 18.68 +.12 +7.1 PacTiger 28.17 +.02 +6.4 Mellon Funds: IntlFd 18.57 +.06 +3.1 Mellon Inst Funds: IntlEqty 47.23 +.20 +4.5 Midas Funds: Midas Fd 5.20 +13 +9.9 Monetta Funds: Monettan 14.87 +.10 +4.8 Morgan Stanley A: DivGthA 21.67 +.09 +3.0 Morgan Stanley B: DivGtB 21.82 +.09 +3.0 GIbDivB 17.51 +.07 +3.6 StratB 21.15 +.03 +1.7 MorganStanley Inst: GIValEqAn22.35 +.10 +3.5 IntIEq n 22.91 +.06 +4.2 Munder Funds A: IntemtA 24.13 +.20 +5.6 Mutual Series: BeacnZ 18.42 +.02 +2.8 DiscZ 34.95 +.02 +3.9 QualfdZ 24.89 +.07 +3.4 SharesZ 28.87 +.06 +2.8 Nationwide D: GvtBdD 10.03 -.02 0.0 TxFrr 10.13 -.02 -0.3 Neuberger&Berm Inv: Focus 34.34 +.18 +2.9 Geneslnst 53.16 +.24 +4.9 Inllr 27.40 +.13 +4.7 Partner 34.92 +.39 +2.7 Neuberger&Berm Tr: Genesis 55.42 +.24 +4.8 Nicholas Group: Hilncln 10.78 ... -1.0 Nich n 59.68 +.24 +2.9 Northern Funds: SmCpldxn11.65 +.03 +3.3 Technlyn 13.66 +.07 +4.2 Nuveen Cl R: InMunR 10.54 -.02 -0.3 Oak Assoc Fds: WhOitSG n36.89+.19 +3.9 Oakmark Funds I: Eqtylncrn28.11 +.10 +1.3 GlobalIn 28.48 +.11 +2.9 IntlIrn 27.98 +.13 +2.5 Oakmark r n49.46+.17 +2.3 Selectrn 35.95 +.17 +2.3 Old Mutual Adv II: Tc&ComZ nl5.08+.07 +7.8 Oppenheimer A: AMTFMu 10.06 -.03 -0.8. AMTFrNY 12.95 -.04 -0.4 CAMuniAp11.42-.03 -0.5 CapApAp51.64 +.34 +4.7 CaplncAp 13.82 +.01 +1.2 ChmplncA p9.44-.02 -1.3 DvMktAp 50.54 +.37 +9.8 Disc p 54.17 +.29 +5.0 EqultyA 12.39 +.06 +4.1 GlobAp 81.44 +.37 +4.7 GIbOppA 40.44 +.23 +4.9 Goldp 33.96 +.69 +7.9 IntBdAp 6.18 ... +0.1 LtdTmMu 15.72 -.02 -0.1 MnStFdA 44.37 +.16 +2.6 MSSCAp 24.81 +.08 +3.3 MidCapA 20.69 +.14 +4.2 PAMuniA p12.80-02 -0.4 S&MdCpVI 43.81 +.21 +3.5 StrlnAp 4.35 ... -0.1 USGvp 9.23 -.02 -0.1 Oppenheimer B: AMTFMu 10.02 -.03 -0.9 AMTFrNY 12.96 -.03 +6.4 CplncBt 13.67 +.01 +1.1 ChmplncB 1 9.43 -.02 -1.3 EquityB 11.73 +,06 +4.1 SrincB 1 4.37 ... -0.1 Oppenhelm Quest: QBalA 20.09 +.10 +1.6 Oppenheimer Roch: RoMu A p 18.34 -.05 -0.5 RcNIMuA 12.48 -.03 -0.7 PIMCO Admin PIMS: TotRtAd 10.10 -.02 +0.1 PIMCO Instl PIMS: AIlAsset 12.76 ... +0.5 ComodRR 14.09 +.03 -0.8 DevLcMkr11.14 +.03 +2.0 RFIncr 10.52 +.01 -0.1 HiYd 9.73 ... -1.5 LowDu 9.78 ... +0.4 RealRtnl 10.42 -.03 -0.1 TotRt 10.10 -.02 +0.1 PIMCO Funds A: TotRtA 10.10 -.02 +0.1 PIMCO Funds D: TRln p 10.10 -.02 +0.1 PhoenlxFunds A: BalanA 15.19 +.02 +1.5 CapGrA 17.50 +.11 +4.5 IntIA 15.85 +.8 +5.6 Pioneer Funds A: BondA p 8.89 -.02 -0.2 EqCncAp 34.18 +.05 +1.6 Eu-SelEqA 46.39 +.30 +5.0 GrwthAp 15.15 +.06 +4.1 IntValA 28.20 +.12 +5.8 MdCpGrA 17.39 +.09 +3.7 TxFreAp 11.30 -.03 -0.5 ValueA p 18.43 +.04 +2.5 Pioneer Funds B: HiYJdBt 11.48 +.04 +1.4 MdCpVB 22.24 +.10 +3.1 Pioneer Funds C: HMIdCrt 11.59 +.04 +1.4 Price Funds Adv: Growth p n34.82 +.20 +3.6 Price Funds: Balance n22.35 +.05 +2.2 BIChipn 39.86 +.23 +3.9 CABond n10.77 -.02 -0.1 CapAppn22.32 +.02 +2.1 DNGron 27.73 +.13 +3.5 EmEurp 35.87 +.09 +6.6 EmMklSn39.62 +.19 +9.7 Eqlnc n 31.73 +.08 +2.4 Eqlndexn41.05 +.15 +2.8 Eiropen 23.21 +.14 +5.4 GNMAn 9,14 -.02 0.0 Growth n 35.13 +.21 +3.7 Gr&Inn 23.63 +.10 +3.4 HlthSci n 28.84 +.09 +1.6 HiYield n 7.07 ... -0.8 ForEq n 22.57 +.08 +4.4 InluBond n 9.55 ... +0.2 In/Disn 56.11 +.20 +6.2 In/IStkn 18.65 +.08 +4.5 Japenn 11.03 -.05 +1.9 LarAmn 49.38 +.47+10.5 MDShrt n 5.09 ... 0.0 MIdCap n 63.36 +.45 +4.4 MCapValn28.51 +.13 +2.7 NAmer n 34.98 +.22 +3.3 NAslan 18.67 +.07+11.6 New Era n58.29 +.66 +7,6 NHorizn 36.11 +.21 +3.7 N Incn 8.72 -.02 -0.1 NYBondn11.09 -.02 -0.1 PSIncn 16.52 +.02 +1.5 RealEstn 24.23 -.03 -0.4 R2010n 17.02 +.04 +2.0 R2020n 18.93 +.06 +2.7 R2030 n 20.53 +.09 +3.1 SciTecn 24.00 +.20 +5.5 ShlBd n 4.67 ... +0.4 SmCpStkn37.39 +.11 +2.9 SmCapVal n45.41+.09 +2.9 SpecGrn 22.76 +.11 +3.7 Speclnn 12.14 -.01 +0.3 TFIncn 9.78 -.02 -0.3 TxFrHn 11.86 -.02 -0.3 TxFrSI n 5.27 -.01 +0.1 USTIntn 5.13 -.01 +0.2 USTLgn 10.83 -.04 -0.2 VABondn11.36 -.02 -0.2 Value n 30.14 +.10 +3.0 Principal Inv: DiscLCInst 17.44 +.06 +2.8 LgGrIN 8.81 +.05 +4.4 Putnam Funds A: AmGvA p 8.75 -.02 +0.4 AZTE 9.00 -.01 -0.1 ClscEqA p 16.35 +.08 +1.6 Convp 21.20 +.06 +2.8 DiscGr 23.26 +.11 +3.5 DvrInA p 9.94 -.01 0.0 EqlnAp 19.23 +.08 +2.3 EuEq 34.33 +.27 +5.8 GeoAp 18.75 +.02 +1.2 GIGvAp 12.12 -.02 +0.4 GIbEqtyp 12.87 +.05 +4.7 GrInAp 21.52 +.10 +1.8 HIthAp 61.32 +.02 +0.5 HiYdAp 8.09 ... -1.0 HYAdA p 6.25 ... -1.2 IncmAp 6.63 -.02 +0.1 IntEq p 35.77 +.17 +5.2 IntGrin p 17.75 +.09 +5.0 InvAp 16.60 +.10 +2.2 MITxp 8.84 -.01 +0.1 MNTx p 8.81 -.01 0.0 NJTxAp 9.05 -.02 -0.1 NwOpAp54.53 +.33 +3.1 OTCAp 10.60 +.04 +3.8 PATE 8.93 -.01 -0.1 TxExA p 8.59 -.01 0.0 TFInAp 14.47 -.02 -0.2 TFHYA 12.84 -.02 -0.1 USGvAp 12.89 -.04 +0.2 UtilAp 14.99 -.03 +3.2 VstaAp 12.40 +.10 +4.1 VoyAp 19.53 +.11 +2.8 Putnam Funds B: CapAprt 23.05 +.12 +2.1 CIscEqBt 16.17 +.08 +1.5 DiscGr 21.18 +.10 +3.4 DvrInB t 9.86 -.01 -0.1 Eqlnct 19.06 +.08 +2.3 EuEq 33.17 +.26 +5.8 GeoBt 18.55 +.02 +1.1 GIIncBt 12.08 -.02 +0.3 GIbEqt 11.72 +.05 +4.6 GINIRst1 34.83 +.37 +7.9 GrInBt 21.19 +.10 +1.8 HIthBt 54.22 +.01 +0.4 HiYIdB t 8.05 .. -1.1 HYAdBt 6.16 ... -1.3 IncmB t 6.59 -.02 +0.2 InlGrInl 17.41 +.09 +4.9 IntlNopl 18.46 +.08 +6.0 InvBt 15.13 +.09 +2.2 NJTxB 9.04 -.02 -0.2 NwOpBt 48.35 +.29 +3.0 NwValp 20.72 +.13 +2.4 NYTxBtI 8.44 -.01 -0.2 OTCBt 9.25 +.04 +3.8 TxExBt 8.59 -.01 -0.1 TFHYBt 12.86 -.02 -0.1 TFInB 1 14.49 -.02 -0.2 USGvBt 12.82 -.04 +0.2 UtilBt1 14.92 -.03 +3.2 VistaBt 10.68 +.09 +4.0 VoyBt 16.89 +.09 +2.7 RS Funds: CoreEqA 42.98 +.16 +3.3 IntGrA 20.85 +.07 +5.3 RSNtRs p 37.70 +.32 +2.9 RSPar t 39.18 +.10 +1.9 Value 31.47 +.16 +2.9 Rainier Inv Mgt: SmMCap 45.09 +.38 +6.4 RiverSource A: BalanceA11.55 +.01 +1.5 DEI 14.57 +.05 +4.2 DvOppA 9.80 +.01 +3.1 Growth 34.52 +.05 +4.2 LgCpEq p 6.38 +.02 +3.2 MCpGrA 12.33 +.09 +4.8 MidCpVl p 10.49 +.05 +4.9 Royce Funds: LwPrSkSv r 18.91+.13 +2.4 MicroCapl 19.47 +.13 +3.8 PennMul r 12.98 +.06 +3.2 Premierl r20.62 +.12 +2.6 TotRetl r 15.18 +.05 +3.3 Russell Funds S: DivEq 53.33 +.24 +3.5 IntlSec 85.55 +.39 +5.3 MStratBd 10.10 -.02 -0.1 QuantEqS 43.82+.16 +2.3 Rydex Advisor: OTCn 12.60 +.04 +5.6 SEI Portfolios: CoreFxAnlO.04 -.03 -0.3 IntIEqAn 16.41 +.10 +4.5 LgCGroASn23.02 .11 +3.3 LgCValA n24.57 +.09 +2.0 TxMgLC n14.62 +.06 +2.7 SSgA Funds: IntlStock 15.41 +.06 +4.5 STI Classic: LCpVIEqA 16.34 +.06 +2.7 LCGrStkA p 13.24+07 +3.6 LCGrStkC p12.32+.07 +3.6 SelLCSIkC t27.27+.14 3.6 SelLCpStk1 29.53 +.15 +3.7 Schwab Funds: HlihCare 16.80 +.03 +1.6 1000lnvr 45.04 +.17 +2.9 100OSel 45.05 +.18 +2.9 S&PInv 23.76 +.08 +2.8 S&PSel 23.85 +.08 +2.8 S&PinstS112.18 +.04 +2.8 SmCplnv 26.05 +.08 +3.3 YIdPlsSI 9.67 ... +0.3 Selected Funds: AmShD 50.35 +.24 +2.6 AmShSp 50.26 +.23 +2.6 Seligman Group: FrontrAt 15.08 +.07 +3.6 FrontrDt 12.79 +.06 +3.6 GIbSmA 19.72 +.10 +3.3 GIbTchA 18.32 +.12 +5.2 HYdBAp 3.38 ... -0.6 Sentinel Group: ComSAp36.10 +.14 +3.5 Sequoia n158,82+1.12 +2.8 Sit Funds: LrgCpGr 44.83 +.16 +3.3 SoundSh 42.41 +.19 +3.3 St FarmAssoc: Gwth 61.87 +.28 +3.1 Stratton Funds: Dividend 35.01 +.05 -0.8 Multi-Cap 46.25 +.23 +3.9 SmCap 52.91 -.11 +3.2 SunAmerica Funds: USGvBt 8.96 -.03 -0.4 SunAmerica Focus: FLgCpAp 19.48 +.08 +3.2 Tamarack Funds: EnlSmCp 33.96 +.12 +3.8 Value 42.88 +.09 +1.7 Templeton Instit: EmMSp 24.10 +.12 +9.0 ForEqS 30.49 +25 +4.4 Third Avenue Fds: Intlr 24.79.6 +.16 +5.3 RIEsIVIr 35.96 +.12 -0.8 Value 65.21 +.67 +1.7 ThorAmburg Fds: lntValAp 33.53 +.13 +5.9 InlValue 134.17 +.14 +6.0 Thrivent Fds A: HiY/d 5.09 ... -1.2 Incom 8.41 -.02 -0.3 LgCpS/k 30.43 +.12 +3.3 TA IDEX A: JanGrow p ... ... 0.0 GCGIebp 33.36 +.20 +3.6 TrCHYBp 9.15 -.01 -1.3 TAFIxln p 9.22 -.02 -0.6 Turner Funds: SmlCpGrn33.06 +.19 +5.5 Tweedy Browne: GlobVal 34.61 +.08 +1.6 UBS Funds Cl A: GlobAlb/ 1/4.97 +.02 +2.1 UMB Scout Funds: In/I 37.06 +.11 +5.0 US Global Investors: AIIAm 29.53 +26 +7.2 5.,HBBC iS 4BB * m SA C e,'.- *a1ee am, M 54":AV Chalto.i : 64rup CA4 *.5 .,4... *C4& w*U -,* 15* *.. ^ ***0.*, .Ot 3.0 v ; *. *^ ^ *-: ^ -Si, I*CK SAC OI! v.51 ce'ep1 WM:. ".7* .5e ''''*:^ '4v IA#'wes .-.E44 .5 *IC-", ** *:ca p '" M '''*. ?': ,^ : j0 * GIbRs 18.45 +.24 +6.5 GIdShr 15.69 +.42 +4.4 USChina 13.20 +.08+12.4 WIdPrcMn 29.84 +.77 +5.5 USAA Group: AgvGt 35.87 +.14 +4.0 CA Bd 10.76 -.03 -0.4 CmstSIr 28.68 +.11 +2.6 GNMA 9.30 -.01 -0.2 GrTxStr 14.58 +.01 +1.2 Grwth 16.62 +.08 +4.0 Gr&Inc 20.37 +.10 +3.9 IncStk 17.85 +.06 +1.7 Inco 11.80 -.02 -0.1 Intl 29.82 +.11 +4.6 NYBd 11.69 -.03 -0.4 PrecMM 30.25 +.65 +6.7 SciTech 13.07 +.04 +4.1 ShtTBnd 8.82 -.01 +0.4 SmCpSlk 16.71 +.05 +3.5 TxEll 12.88 -.03 -0,2 TxELT 13.55 -.03 -0.4 TxESh 10.51 -.01 0.0 VA Bd 11.24 -.03 -0.4 WIdGr 21.82 +.09 +4.1 VALIC: MdCpldx 26.64 +.16 +3.1 StkIdx 39.86 +.15 +2.8 Value Line Fd: Lev Gt n 23.87 +.13 +4.5 Van Kamp Funds A: CATFAp 17.95 -.04 -0.5 CmstAp 20.31 ... +1.4 CpBdAp 6.38 -.01 -0.2 EqlncAp 9.59 +.01 +1.9 Exch 474.66 +1.74 +4.1 GrinAp 23.82 +.05 +2.4 HarbAp 16.62 +.04 +3.0 HiYIdA 10.54 -.01 -1.0 HYMuAp 10.96 -.02 -0.3 InTFA p 18.02 -.04 -0.6 MunlAp 14.37 -.04 -0.4 PATFA p 16.99 -.04 -0.3 StrMunlnc 13.32 -.03 -0.5 US MtgeA 13.01 -.03 0.0 UtilA p 24.43 -.06 +2.7 Van Kamp Funds B:' EnterpBt 1426 +.09 +3.1 EqlncBt 9.42 +.01 +1.8 HYMuBt 10.96 -.02 -0.4 MulB 14.35 -.04 -0.5 PATFBt 16.94 -.03 -0.3 StrGwth 40.06 +.24 +4.8 StrMunInc 13.31 -.03 -0.6 USMtge 12.96 -.02 0.0 UtilB 24.32 -.05 +2.7 Vanguard Admiral: CpOpAdl n94.63 +.46 +6.1 Energy n147.10+1.44 +7.6 EuroAdmI n97.38+.65 +5.5 ExplAdml n78.78 +.36 +3.7 ExtdAdm n43.46 +.23 +3.4 500Adml n141.00+.51 +2.8 GNMAAd n9.94 -.02 +6.2 GrwAdm n32.73 +.17 +3.6 HlthCrn 64.65 +.03 +0.3 HiYldCpn 6.09 -.01 -1.8 ITBdAdml n9.95 -.03 -0.3 IntGrAdmn 87.25+.35 +5.9 ITAdml n 13.06 -.01 0.0 ITGrAdm n 9.46 -.03 +6-0,2 LtdTrAd n 10.62 -.01 +0.2 MCpAdmln102.27+.71 +3.8 MuHYAdm n10.62-.02 -0.1 PrmCop r n79.43 +.38 +4.3 ReitAdm rn n104.26-.13-1.0 STsyAdml n10.21-.01 +0.3 ShtTrAd n15.54 ... +0.3 STIGrAd n10.49 -.01 +0.3 SmCAdmr n36.43 +.13 +3.4 TxMCap r n74.47 +.33 +2.8 TtIBAdml n 9.75 -.02 -0.1 TStkAdm n37.08 +.14 +3.0 ValAdmrl n28.49 +.07 +2.2 WellslAdm n53.35-.08 +0.9 WelltnAdm n59.12+.08 +2.4 Windsorn68.29 +.27 +3.4 WdsrIlAd n67.92 +.15 +2.9 Vanguard Fds: AssetA n 30.80 +.09 +2.3 CALTn 11.43 -.02 -0.3 CapOppn40.94 +.20 +6.1 Convatn 14.69 +.02 +2.5 DivdGron 15.70 +.06 +2.9 Energy n 78.31 +.77 +7.6 Eqlnc n 27.05 +.04 +2.7 Explr n 84.56 +.39 +3.7 FLLTn 11.34 -.01 -0.1 GNMA n 9.94 -.02 -0.2 GlobEq n 26.67 +.21 +5.2 Grolncn 38.27 +.12 +2.2 GrthEq n 12.31 +.08 +4.6 HYCorpn 6.09 -.01 -18 HlthCren153.13 +.07 +0.3 InflaPron 11.48 -.03 0.0 IntlExpIrn 24.21 +.07 +4.7 IntlGrn 27.40 +.11 +5.9 IntlVal n 46.25 +.32 +5.4 ITIGrade n 9.46 -.03 -0.2 ITTsryn 10.51 -.03 0.0 UfeConn 17.18 +.02 +1.5 UfeGro n 25.80 +.09 +2.9 Ufelncn 14.07 ... +6.8 UleMod n21.51 +.05 +2.1 LTIGrade n8.71 -.05 -0.7 LTrsryn 10.53 -.05 -0.5 Morgn 21.17 +.13 +4.2 MuHYn 10.62 -.02 -0.1 MulnsLg n12.28 -.02 -0.1 Mulntn 13.06 -.01 0.0 MuLtd n 10.62 -.01 +0.2 MuLong n10.98 -.02 -0.2 MuShrtn 15.54 ... +0.3 NJLTn 11.51 -.03 -0.2 NYLTn 10.95 -.03 -0.3 OHLTTEn11.69 -.02 -0.1 PALTn 11.03 -.03 -0.2 PrecMlls r n35.33+.33 +8.8 PrmcpCor n14.02+.07 +3.9 Prmncp rin 76.48 +.36 +4.3 SelValu rn23.40 +.10 +2.9 STARn 22.17 +.04 +2.4 STIGrade n10.49 -.01 +0.3 STFedn 10.22 ... +0.3 StratEq n 26.82 +.15 +3.3 TgtRe2025 n14.14+.04 +2.7 TgtRe2015 n13.31+.02 +2.1 TgtRe2035 n15.19+.05 +3.1 USGron 19.87 +.12 +4.0 USValue n15.87 +.06 +2.2 Wellsly n 22.02 -.03 +0.9 Welltnn 34.23 +.05 +2.4 Wndsrn 20.24 +.08 +3.4 Wndsll n 38.26 +.08 +2.9 Vanguard Idx Fds: 500 n 140.99 +.50 +2.8 Balanced n22.30 +.03 +1.8 DevMkIn 14.21 +.06 +4.3 EMktn 30.05 +.30+10.7 Europe n 41.44 +.28 +5.5 Extend n 43.40 +.22 +3.4 Growth 32.73 +.17 +3.6 ITBndn 9.95 -.03 -0.3 LgCaplxn27.60 +.11 +2.9 MidCapn 22.53 +.16 +3.8 Pacificn 13.49 -.01 +1.9 RET r n 24.43 -.04 -1.0 SmCapn 36.40 +.13 +3.4 SmICpVl n18.25 +.05 +2.4 TotBnd n 9.75 -.02 -0.1 Tollntln 20.27 +.11 +5.5 TotStkn 37.08 +.14 +3.0 Value n 28.49 +.07 +2.3 Vanguard InstI Fds: Balinstn 22.30 +.03 +1.8 DvMkdlnst n14.10+.07 +4.4 Eurolnstn41.51 +.28 +5.5 Extlnn 43.48 +.23 +3.4 Instldxn 139.93 +.50 +2.8 InsPIn 139.93 +.50 +2.8 ToEBdldxnn49.18 -.11 -0.1 InsTStPlus n33.43+.13 +3.0 MidCplst n22.60 +.15 +3.8 SCInstn 36.46 +.13 +3.4 TBIstn 9.75 -.02 -0.1 TSIns/n 37.09 +.15 +3.0 Value/stn 26.49 +.07 +2.3 Vantagepoint Fds: Growth 10.57 +.05 +3.6 Victory Funds: DvsStA 19.96 +.12 +4.9 Waddell & Reed Adv: CorelnvA 6.79 +.03 +4.0 Wasatch: SmCpGr 40.29 +.07 +4.6 Weitz Funds: Value 40.46 +.21 +2.0 Wells Fargo Adv: CmSlkZ 23.09 +.10 +3.6 Opptylnv 46.86 +.27 +3.4 SCApVal2 p36.33+.23+3.9 Western Asset: CorePlus 10,13 -.03 -0.6 Core 10,97 -.03 -0.4 William Blair N: GrowthN 12.59 +.06 +3.7 InIlGthN 32.00 +19 +6.8 Yacktman Funds: Fundp 16.45 +.03 +0,6 w -a 0. 0. 0. - a -0 - - ~0 a - 4w 0. - 0 - 0. 0 -0 0 a m. -~. - _ * - 0 -- - -. 0 - -ft -* -0 * -owl- - - 0.0 f0 40 0 -41D m-4W IN.. "Copyrighted Material 0 It Syndicated Cont-ent " Available from Commercial News Provders". - a- o - 400.4-4 0 40.O - -f 0 - qm- ft -NNW .0 0 - 4m- q0. 0W * -W -.-aw mono el-m one dMD -- Gomm -.~~0 4D~ 00.N 0.01P a .0. fte -W- oQ 0.4m - 0a. -mft 40 4m f0.t .-Nu .W-m . - m% b0.0 60M 0. 0. 4m dm -.of 4w .0 4 0a 0A 0mb qo 0ooft e 4aw m - 4D- 4010-0%o .0 40- o-m 4 40 -p.a 0. 0 0dm 0.0. 0. ~ - 0. 0.w E LNE AL owe ONC E PRICE Reach 82,000 Homes & Businesses Services $172.68 DIv Name Last Chg .64 Sensient 25.78 -.02 .12 ServiceCp 12.85 +.12 .48 Svcmstr 15.48 +.04 ShawGpif u48.82 +.48 2.65e SiderNac 52.86 -.07 SierrPac 17.75 +.07 SilvWhtngu13.17 +.68 3.36 SimrnonProp 95.94 -.75 SixFlags 6.07 +.18 .68 SmithAO 41.31 +.38 .40 Smithnt u60.85 +.48 ... Sotecm 3.77 +.01 .40 Sothebys 51.89 +2.28 .98 SoJerInd 35.96 -.42 1.61/ SouthnCo 34.08 -32 5.58e SthnCoppsulOl0.93+1.60 .02 SwstA.d 15.55 +.17 SwstnEngy 45.02 -.45 .32b SovrgnBcp 21.53 +.13 .88 SpectraEn 26.53 +.12 ,10 SprintNex 21.87 +.20 .16 StdPac d17.88 +.70 .84 Standex 28.47 +.20 .42e StarwdHt 74.46 -.09 .881 StateStr 69.85 -.13 .20 Steris 30.63 +.03 Stediteln u15.76 +.41 StillwIrM 11.11 +.05 sT Gold 64.96 +.54 .221 Stryker 65.31 +1.55 ... SturmRug u15.94 +.30 Examples: Transportation $77.95 2.80f SubPpne 48.66 -.27 2.52 SunCmts 31.25 +.30 .40f Suncorg 91.33 +.14 1.10 Sunoco 82.08 +1.18 ... Suntech 37.99 +.03 2.92 SunTrst 87.52 +.35 .68f Supvalu 46.37 +.06 .82 Synovus 31.28 +.11 .76 Sysoo 32.65 -.45 .87e TAM SA 33.23 +.32 .97 TCFFndl 28.20 +.15 .78f TECO 17.43 -.04 .36 TJX 28.18 +.16 1.73 TXUeCorp 67.90 +.04 .45r TaiwSemi 11,48 +.09 .18f TaismEgs 19.73 +.11 .56f Taret u68.106 +3.9 .37e TaaMotors 17.59 +.34 .95 Teekay 58.96 -.71 .40e TeINorL u21.64 +.80 2.11e TelcNZ 29.03 +.23 .79e TelMexL 40.86 +1.02 .95e Tenaris 51.00 +.87 .. TeneiHlth 6.59 -.09 2.74f Teppo 44.81 -.10 .. Teradyn 17.97 +.29 Terra u28.80 +.58 4.46e TerraNitro 137.08 +3.13 .40f Tesmorowi 58.91 +1.03 .. TetraTech 29.24 +.02 .32f Texinst u38.34 +.22 Theragen 3.85 -.15 ThenmoFis 52.47 -.16 ... ThmBet 61.51 +.92 1.92 3MCo 88.11 +.35 .60 Tidwtr u73.90 +.94 .48f Tiffany u55.76 +.61 .22 TimeWarn 21.02 -.15 .64 Timken 36.36 -.17 .. TitanMet 33.49 +.79 .60 ToddShp 21.02 +.42 ...TotBros 26.19 +.74 .44e TorchEn 8.05 +.13 .52 Trchmirk 67.52 +.08 2.12 TorDBkg 69.59 +.52 2.46e Total SA u84.30 +2.25 .28 TotalSys 30.00 +24 ... Transocn u .50 +1.96 1.16/ Travelers 54.52 +.10 .16 Trdgr 21.82 +.04 .56 TriCont 2627 +.04 .72 Tribune 30.73 +.18 ..Tycoecn 39.82 +.37 Tycolntrn 53.17 +.07 .16 Tyson 23.68 +.03 1.83e UnBSAGs 61.11 +.53 1.32 UOR 27.51 +.05 1.73 UILHold 32.63 -.17 ... USAirwy 34.62 +.80 .. USEC 21.61 -.11 ... USG 49.59 +.30 .. UndrArmr 54.24 -.06 3.43e UUniao ul 17.91 +1.14 .15 UniFirst 47.05 +.32 1.27e UnileNV 31.16 +.10 1.40 UnionPac 116.81 +.81 ... Unisys 9.45 -.15 .06r U dMro 1370 +.17 1.68 UPSB 73.70 -.05 1.60 US Bancrp 33.39 +.01 .80 USSteel 113.27 +.71 1.28f UidTech u72.60 +.48 .03 UtdhlthGp 53.02 +57 .30 UnumGrp 26.23 -.02 .. ValeantPh 17.30 +.08 .48 ValeroE 75.49 +.61 ... VarianMed 43.91 +.16 1.26 Vecten 27.13 -.05 2.67e VeoliaEnv 78.15 -.60 1.62 VeizonCrn 41.55 -.02 V... cmnB 4298 +.51 ... Vishay 16.26 +.38 ... Visteon 7.95 -.02 .Ole VioPart 5.23 +.13 1.33e Vodafone 33.08 +.18 3.40 Vornado 114.58 -.43 1.84 VulcanM 115.59 +1.81 .19 WHolding 2.82 +.07 .. WCICmts 17.27 +1.04 .18 Wabash 14.57 -.01 2.24 Wachovia 51.80 -.18 Mf WalMart 48.39 +30 .31 Walgm 44.41 +.50 .20 WalteIdnds 31.91 +.16 2.20f WAMul 43.52 +.27 .96 WsteMInc 39.61 +.17 ... Weathfdlnt 56.14 -.35 1.98 WenRIt 42.03 -.01 .08 Welkmn 3.12 +.10 ... WellPoint 82.23 +.53 1.12 WetllFqos 35.33 +.01 .501 Wendyss 38.00 +.02 1.08 WestarEn 24.52 -.11 1.04 WAEMInc2 13.19 -.02 .54 WstAMgdHi 6.58 -.04 .66 WAsTI2 11.51 -.04 ... WDigitf 21.11 +.50 .Ole WstlUnn 20.31 -.18 2.40 Weyerh 80.65 -.28 1.72 WhXip 113.92 +1.83 .94e WitmS 10.73 +.10 .401 WmsCos 32.99 +.24 .46 WmsSon 32.03 -.03 1.00 Winds/m 14.85 +.03 ,481 Winnbgo 30.00 -.08 1.00 WiscEn 43.88 -29 .68 Worthp 22.97 +.17 1.16 Wrgley 55.15 +.06 1.04 Wyeth 57.17 -.18 1.52 XL Cap 83.44 -1.01 .48 XTOEngy 60.58 -.07 .92f XcelEngy 20.47 -.03 Xerox 19.14 +.08 .04 Yamanan 11,90 +,37 .- YInglln 15.50 +1.10 .60 YumBrds s 34.05 +.28 ... Zrmmer 85.51 +.64 .50 ZweigTi 5.07 SJob marlt ket h Wa Im wob 0 - "*~ ./~ coL.tiEe& $97.95 Call for details (352) 563-5966 Classifieds Working For You IS NW YOKSOKECANE 710417 SKrURDAYJULY 7 2007 9A BUSINESS * . B o - ft - * "Men do not realize how great an income thrift is." Cicero 10A SATURDAY JULY 7, 2007 Fie dining in Switzerland S - - - - b- ~. - ~- SMART SPENDING - a -. - a - -a 0 -- Construction of schools a difficult decision Should the county school district go into debt today to build new school build- ings for tomorrow's students? That's the big question facing Superintendent Sam Himmel and the members of the county school board. Because of the county's grow- ing population and the voter- endorsed school class size amendment, Citrus County does not have enough classrooms. Combine that with the fact that some of the schools now in use were built in the 1950-60s era, there is a real need for addition- al space. In fact, the price tag for need- ed projects as identified by an outside consultant - is well over $200 million. THE I When voters endorsed smaller School e class sizes in our nee public schools, few people connected OUR 0O the dots and real- Be cons ized the require- ment would neces- YOUR OPIll sitate billions of chronicleor dollars in addition- comment a al public spending Chronicle for facilities. The history of school construction in Citrus County is actually one that has stressed a fiscally conservative philosophy. The late Roger Weaver, our school superinten- dent for more than two decades, has left a legacy of "paying as you go" when it comes to build- ing new schools. Most of the 67 school districts in Florida have borrowed money to build new schools. When that's done, future taxpayers foot the bill for the school con- struction and the interest on the borrowed funds. In Citrus County, Roger Weaver instilled a philosophy of building schools when you could pay for them. That has left our county school district in a much better finan- cial situation than other districts around the state. The tax dollars we raise today are used to build the schools we need today. Every property owner in Citrus County pays a 2-mill levy on an annual basis just for school construction. Other tax dollars flow from various state programs for capital purposes, but much of those revenues is needed for ongoing mainte- nance of existing facilities along with transportation, technology and payroll costs. In the end, the financial plan- ners with the school system esti- mate that $70.5 million will be available over the next five years to meet the renovation and new school construction needs in our community. Those same plan- ners, with the help of a consult- ant, have identified $219 million S x C il b in needed improvements. There are some big-ticket items driven by our growth. There is a $20 million price tag for a new elementary school in the Sugarmill Woods area. , Huge renovation and expan- sion plans are needed for Citrus High School in Inverness ($13 million) and Lecanto High ($20 million). A new $10 million wing is needed at Citrus Springs Middle School along with $6 mil- lion in renovations of the exist- ing facilities. The big-ticket decisions that the school board must make con- cern Crystal River High School and Crystal River Primary. The high school is an old and some- what dilapidated facility that could ;SUE: be renovated for SUE: $19 million. But pansion some feel the high ds. school is in such bad shape that an 'INION: entire new high rvative. school should be constructed at a ION: Go to cost of $66 million. line.com to The same is true out today's for Crystal River editorial. Primary The pri- mary school could be renovated at a cost of $9 million or completely rebuilt for $27 million. There is a fine balance needed in this debate. Children need good schools in which to learn. Taxpayers need public spending they can afford. The school board could decide to bond out existing revenues and slowly chip away at the $219 million in facilities needed in our community. The board might also decide to ask voters to endorse a special half-cent sales tax so it can sell bonds and use the new dollars to more quickly satisfy the school building needs. As school board members make this decision, we urge them to maintain Roger Weaver's conservative approach to spending. While some sort of bonding may be necessary, indebting the taxpayers of the future for the needs of today never makes great sense. Inevitably, the taxpayers of the future will have other priorities that will be more difficult to achieve because their resources have been tied up. And while completely rebuild- ing the high school and primary school in Crystal River would be nice, the $66 million in addition- al cost looks pretty steep. Public support is going to be necessary for the school board to move forward. Plenty of public input on the front end of the planning process will make it easier to digest. But school board members have some diffi- cult and expensive decisions in front of them. - - e -e-~ - - - a -- - = - .e w .~ - - - 0. 4b -- - - - -.--- -~ a - - - "Copyrighted Material - Syndicated Content -- Available from Commercial News Providers" Is q9ow -I V '4/ A. ; \ .4 A 4 4 -I r . me **A Wall FaCr Nb b Lp T Raising questions It has been a while but once more I must ask "What in the devil?" Like: What in the devil is a president who, as governor of Texas, prided him- self in signing more death warrants than any other governor in history, doing commuting a sentence of only 30 months of a convicted felon? Could it be that this felon had friends in high places? Was this preferential treat- ment? Could Mr. Libby have been tak- ing the fall for another close buddy of the president, whom we now learn considers himself above the law? Would this be "payback" for doing so? How is his $250K fine going to be paid? It doesn't seem likely that it will be docked from his pay or his mansion will be attached by the court. Maybe special interest groups will ante up ... maybe the good old taxpayers will be digging down for it, whether they know it or not. Who knows? Depression group Please, would anyone with any infor- mation for a depression group or hot- line in the Homosassa/Old Homosassa area please let us know in the Sound Off? Editor's note: Call the Depression and Bipolar Support Alliance at 621- 0165. Who made it? I have been checking things I buy in the box CAL stores for a "Made 563-0579 in China." I do not 5 0 579 see any, but I do not see any "Made in USA," especially in toothpaste. I do see on the product "Distributed by a USA company," but it still doesn't say where it was made. My question is: Who made it? China, maybe? TTERSto the What in the devil are those 28 per- cent or so of people who still support this president thinking of? Are most of them marching in the pro-war ranks at the Thursday afternoon vigils in Inverness? What in the devil are these home- owners' insurance companies thinking about? Why would a person who, in 13 years never has submitted a claim and who always pays in full well in advance and has a house 104 feet above sea level be suddenly and pre- cipitously cancelled by a major com- pany? I was. What in the devil are people so happy about when they say "gas is 'down' to $2.85"? That is still a ridicu- lously high price, wouldn't you say? Sure it's better than $3... but notby much. Lots more questions, still no reason- able answers. Rodney M. Cole Beverly Hills Arrest addresses This morning I'm reading the paper and the sheriff's (office), they arrest people but they didn't put addresses in the paper where they're from. They just say Hernando. Now I thought when you arrested somebody, you're supposed to have their address on the form when the police officer arrests somebody. How come they don't print this in the paper any more so I can tell who my neighbors are who are getting locked up and who I should watch in my neighborhood? It helps out a lot to get rid of some of this vandalism that's going on around town here. Editor's note: The Chronicle publishes full addresses when they are available. Showing prejudice Your article on the front page of the editorial section titled "Culture clash," was undoubtedly one of the most dis- gusting views of the United States of America that I have seen. For people to speak with that much prejudice onllne.com. against people of a different culture and a different race. Where is this Christian country we're always hearingA so much about? , Knowing it all School is out now. We now have a 3 new crop of teens who are convinced , they are the most skillful drivers. From avoiding these crazy kids, especially females, I keep wondering how many of them will ever become an adult. Yous can tell a teen, but you can't tell them much. What a pity. They know it all. AIl-purpose refuge I'd like to respond to the Emergency 1 Operations Center building. Sheriff Dawsy needs to let someone know what it's for. In the Sunday paper, a a writer said it was to house the homeless and people who lost their homes to bank- ruptcies and can't pay their taxes. That's not my understanding of it, but I could be wrong. Sheriff Dawsy, let peo- ple know what it's for. They'll be packing their suitcases and moving in with you. . record. llers. D w. 4 - 4b. 4 w --p- - w o- . 10 " NATION/WAORLRD Baghdad resident hesitanly , we sigip 0 ea41ng violewe a1 a - a a o - -a -ma qw "a qu waso- "qm m 0 4 0b OW abm mm ob 40mop a wrzr. w mmft md .am-D - o ikxtirw 9b at4bm r am SSootwng atca nn '\keavs five uuurid - a. * a a. a - a - Q- 'Copyrighted Material -, ,.-Syndicated Content~- - Available from Commercial News Providers" - -D -* - mm a.. * -'4- - a. - %a S 0 40osma-- ls o mo-o o 4w 4ap f- - - . a n- a --.Now dp qkb * a. o b - Gom f -m a- qa-mob dopla S a - domagh- a a fn. b - dm a- 41-0 41b Call your local professionals with more than 17 years of friendly, reliable service to Hernando, rCitrnu PsPan s nontiesp Call now for a FREE Estimate (352) 592-1203 TrV" C t by Robert Miller, Inc. Visit us at: .net 9281 Cobb Road Brooksville, Fl. 34601 u44Citrus Hernando Contractor Lic. #AAA0044010 Pasco Lic. # 2004-05 -a - a - - a. a - - a -.0 a - - - a - s- a a -~--~ a- ~ a -a '* a - a- ~ a.~ a a - a S a - -- - S --a a - - 5- a * a - S * a - - - -.~ a - a a a.~ - a -. a - ~- ~. w*- ~- - ~- - a - -a q - - - AM- 441 41100. 4 - -o-- a qOpp -a _ r~7z~2c~Tiz~ * a a- 5-- - a a -~ - - - a. a--. 720503 For More Info Call 726-1252 onate my ) NIE when of town." 1-5655 Your Papers. Newspapers In fucation (NIE) cy Program of The ; County Chronicle ovides FREE ?wspapers to ssrooms as a _ - a - a.. - - S. SATURDAY, JULY 7, 2007 11A *ne : n ri I )1 CHONwICE 0 Q f o o 12A SATURDAY JULY 7, 2007 Cr'-rUiiS 'CIONITY CHRONICLE m*i .0- mm v ii iro A Mm 00 90 my.^ -OP pwm -Im9 m" som a1 ..... ....... -.... rigt MMa e ial Syndicated Content Available from Commercial News Providers" W 4Wf4 -WWI ....... ~ WV -*I -**** i A^^ sm w i rs.? s* iii ii ii .. .. ... .. ... .. ... ] : ; :: i i] :: ::: ii iii ii iii ii iii ii ::: :: :i ii iii ii.. ......i ii ! .. .......... ..... %- i (.O[]NYCHOIL 40 d "Mm ow *NN 000 too 0 mw As som *n *ma O NRPNW * A *Aw *WM*a w 4mm^ - r ",iiifll ow^ ll w*.04o iii i llMw..__^^^^l ejvw^^^ 0- w 4w IISbo *01 Trto' rillShi. ^^^*-*jjf.-j.^ffi.j^ ^ * 'g *9as *^ ^ District 15 Little League All-Star -Tournament Schedule/Standings 't1 o0 9-10 MINOR BASEBALL -1j POOL A (Central Citrus) POOL B (Crystal River) 0 W L W L Inverness 3 0 Crystal River 3 0 Dunnellon 2 1 Greater Hudson 2 1 9fCentral Citrus 1 2 Shady Hills 1 2 1Lady Lake 0 3 West Hernando 0 3 -)7 FRIDAY'S SEMIFINAL GAMES iICrystal River 6, Dunnellon 1 b'lnvemess 4, Greater Hudson 3 (11 innings) SATURDAY'S CHAMPIONSHIP GAME 10 a.m. Crystal River vs. Inverness (Crystal River) 10-11 BASEBALL POOL A (Central Citrus) POOL B (W. Hernando) W L W L Central Citrus 2 0 West Hernando 3 0 Dunnellon 1 1 Inverness 2 1 Lady Lake 0 2 Crystal River 1 2 Greater Hudson 0 3 FRIDAY'S SEMIFINAL GAMES Central Citrus 6, Inverness 1 West Hernando 13, Dunnellon 8 SATURDAY'S CHAMPIONSHIP GAME 10:00 a.m. West Hernando vs. Central Citrus (CR) 11-12 MAJOR BASEBALL POOL A (W. Hernando) POOL B (Inverness) W L W L West Hernando 3 0 Dunnellon 4 0 Shady Hills 2 1 Lady Lake 3 1 Crystal River 1 2 Inverness 2 2 Greater Hudson 0 3 Central Citrus 1 3 Dixie County 0 4 FRIDAY'S SEMIFINAL GAMES West Hernando 4, Lady Lake 3 Dunnellon 8, Shady Hills 2 SATURDAY'S CHAMPIONSHIP GAME 1:00 p.m. West Hernando vs. Dunnellon (CR) 13-14 JUNIOR BASEBALL POOL A (Central Citrus) POOL B (Crystal River) W L W L Lady Lake 2 1 West Hernando 3 0 Central Citrus 2 1 Crystal River 2 1 Inverness 1 2 Shady Hills 1 2 Dunnellon 1 2 Greater Hudson 0 3 FRIDAY'S SEMIFINAL GAMES SLady Lake 7, Crystal River 4 West Hernando 22, Central Citrus 1 SATURDAY'S CHAMPIONSHIP GAME 10:00 a.m. West Hernando vs. Lady Lake (CR) 15-16 SENIOR BASEBALL POOL A (Inverness) W L West Hernando 3 0 Crystal River 2 1 Shady Hills 0 2 Inverness 0 2 TUESDAY'S SCORES Shady Hills/Inverness (ppd. won't be made up) THURSDAY'S GAME West Hernando 14, Crystal River 1 SATURDAY'S CHAMPIONSHIP GAME 1:00 p.m. Crystal River vs. West Hernando (CR) 9-10 MINOR SOFTBALL POOL A (Central Citrus) POOL B (Central Citrus) W L W L Central Citrus 2 0 Dunnellon 2 0 Inverness 1 1 Crystal River 1 1 Greater Hudson 0 2 South Sumter 0 2 FRIDAY'S SEMIFINAL GAMES Central Citrus 6, Crystal River 5 Dunnellon 20, Inverness 2 SATURDAY'S CHAMPIONSHIP GAME 10:00 a.m. Dunnellon vs. Central Citrus (CR). 11-12 MAJOR SOFTBALL POOL A (Crystal River) POOL B (Crystal River) W L W L Crystal River 2 0 Greater Hudson 3 0 South Sumter 1 1 Central Citrus 1 2 Inverness 0 2 Dunnellon 1 2 SH/WH 1 2 FRIDAY'S SEMIFINAL GAMES Crystal River 12, Central Citrus 1 South Sumter 9, Greater Hudson 6 SATURDAY'S CHAMPIONSHIP GAME 10:00 a.m. Crystal River vs. South Sumter (CR) 13-14 JUNIOR SOFTBALL POOL A (Inverness) POOL B (Inverness) W L W L Inverness 2 0 Dunnellon 2 0 I South Sumter 1 1 Central Citrus 1 1 Crystal River 0 2 Greater Hudson 0 2 FRIDAY'S SEMIFINAL GAMES -Inverness 13, Central Citrus 6 Dunnellon 12, South Sumter 2 SATURDAY'S CHAMPIONSHIP GAME .1:00 p.m. Inverness vs. Dunnellon AAU 11U Sign-ups The Cracker Baseball Club is hav- ing tryouts for its 11U team for the fall/spring seasons. The club is look- ing to add players with the ability to play several positions to its roster. The teams are located in Inverness. Interested players can not tum 12 before May 1, 2008. Ultra-talented 10 year olds are welcome, too. The CBC will be playing approxi- mately a 35 game schedule that include AAU weekend doubleheaders, a Little League fall ball schedule and several tournaments. Any interested players should con- tact Robert Brasher at 352-726-5574 or email: robbrasher@yahoo.com. B SATURDAY JULY 7, 2007 Inverness storms way to win All-Stars to meet Dunnellon for softball title JOHN COSCIA jcoscia@chronicleonline.com Chronicle There was a calm before the storm at Whispering Pines Park in the Inverness and Central Citrus semifi- nal game. But when the heavens opened up Inverness unleashed a thunder and lightning show that over- whelmed Central Citrus as they cruised to a 13-6 i All of ti victory. League Over the first three onship@ innings Inverness ap- be play peared satisfied to just be at Bicer going through the Field in motions. And Central River. Citrus was more than out to a 2-0 lead in the top of the first inning when Heather Cramer and Andrea Coutu scored. he Little champi-. games will ed today itennial Crystal happy to take advantage of Inverness' McKenzie early lackluster effort They jumped plate. Inverness would answer with a run of its own when Amber At- kinson reached on a lead- off double and later scored. They then took a short-lived 3-2 lead in the bottom of the second when Chelsea Lewis and Brisson crossed home Inverness gets clutch for victory Game goes to 11 innings Friday LARRY BUGG For the Chronicle HOLDER It took 11 innings for the Inverness 9/10 All Stars to find a hero. Finally, he showed up. Blake Bolin singled in Deion Moore in the bottom of the ll1th giving the East Citrus team a 4-3 victory over Greater Hudson Friday night in the district semfinal game at Central Citrus Park Inverness pitcher Benjamin Wright pitched the final six score- less innings of the game to pick up the victory.Greater Hudson's Charles Simmens took the pitching loss. Inverness scored two runs in the first inning. Lee Barbee reached on a fielder's choice and Hunter McPherson singled. Wright singled to drive in Barbee and McPherson scored on anioutfield error. 1- " Inverness added the third run in' the fourth inning. Wright singled and stole second. He reached third on a passed ball and scored on Alex Atkinson's hit.Hudson scored two on an oufield error in the fourth inning. Chaz Whittaker singled. Andrew Yelapi singled and both reached on a wild pitch. Both scored when Luke Theede reached on the error. The Inverness manager was relieved and happy to comment before his team gave him a Gatorade shower. "We had a great ball game tonight," said Inverness manager Paul McPherson. "We didn't hit as well as we like to. Blake Bolin made the final hit for us. Ben Wright pitched an excellent game for us. Good defensive game." Greater Hudson's manager was proud of his team's effort. "I can't say enough about my team," said Greater Hudson manag- er Johnny Sapp. "They played bet- ter as a team than any team I have ever seen. I am more proud of them than any team I have ever coached in my life. I take my hat off to them. They left everything they had on this field. Inverness had the lucky break I am so proud of them." Inverness will play Crystal River today at 10 a.m. Please see CLUTCH/Page 3B BRIAN LaPETER/Chronicle Crystal River's Brooke Levins scores Friday night in the fourth inning against Central Citrus at Bicentennial Park. CR walks, runs to 12-1 rout Constol tosses complete game JON-MICHAEL SORACCHI jmsoracchi@chronicleonline.com Chronicle The Crystal River 11-12 Major Softball All-Stars should at least be well-paced after Friday night's District 15 semifinal against Central Citrus. Crystal River's girls alternately walked then ran around the bases during the four innings it took to complete a 12-1 victory over Central Citrus at Bicentennial Park in Crystal River 'Clarissa Consol tossed a complete game shutout for Crystal River, striking out eight and walking three while yielding three hits to grab the victory. While Crystal River tallied only four hits itself, that statistic was due more to the fact that Central Citrus pitchers walked 10 batters and hit three more. Crystal River manager Mitch Roe was happy with the approach his players took at the plate. "Our bats finally came alive," said Roe, whose team is 3-0 and will face South Sumter for the District 15 Championship at 10 a.m. today. "They all may not have gotten hits, but they got solid wood on the ball." With Crystal River the visitors in the game, Roe watched his team jump right on the board in the top of the first. Natalie Ezzell led off with a single and Jessica Reynolds and Emily Laga each walked to load the bases Crystal River's Clarissa Consol pitches F-rlaay nignt at Bicentennial ParK against Central Citrus. with no outs. Elena Lee unloaded the bags shortly thereafter with a triple to dead centerfield to give Crystal River a 3-0 lead and still no outs. Lee, for her part, went 1-for-1 at the plate with a triple, walk, run and three RBIs. Ezzell, Reynolds and Laga each scored two runs to help pace the Crystal River attack. Lee scored four batters later on a wild pitch to extend the margin to 4- 0 in favor of Crystal River. "I don't know if it's unorthodox, but I don't mind being visitors," Roe said. "(The girls) know how to go out and protect what they've got." Things would get worse for Central Citrus in the second inning as Crystal River plated five runs on just one hit and one error. What put runners on base for Crystal River were the three walks and three hit batsmen Central Citrus allowed. Reynolds and Laga each scored on a wild pitch and Lee scampered home on a passed ball to push the lead to 7-0. Samantha Jenkins earned an RBI after being hit by a pitch with the bases loaded to score Consol to make it an 8-0 game. Chloe Lane later beat out an infield single to score Maegan McMichen to end the scoring in the second inning. Please see WALKS/Page 3B Central Citrus, however, appeared ready to take complete control of the: game when they plated four runs for; the 6-3 lead. Scoring for Central Citrus in the inning were Heather and: Nicki Cramer, Ashley Plante and, Kayla Lukes. That, however, was where the calm: ended and the Inverness storm began., "We had a pep talk after that third: inning and told the girls that they, needed to get going. We told them they needed to get their heads in the Please see STORMS/Page 3B S"Copyrighted Material Syndicated Content Available from Commercial News Providers" * MLB/2B, 3B, 5B * Scoreboard/3B * Vick investigation/4B * Golf, NASCAR/5B * Entertainment/6B b 'ii ~.w -C a -ri' -fi 4 n I'" L t sl !i^^ ^_ iii i iii^ ^i! i ~i WK s^ ^ H ^ii~ u ~ okim O i WHSb' -ws CITRUS COUNTY (FL) CHRONIC 2B[ sATURDAY, JULY 7, 2007 Ov'..x ax.a. ....... East Division t GB L10 4 5-5 4 11 4-6 4 11 5-5 D 15% 5-5 ) 19 1-9 East Division Pct GB L10 .553 z-5-5 .523 2% z-7-3 .506 4 z-4-6 .465 7% 4-6 .395 13% 2-8 Home 28-14 25-18 25-17 19-21 19-24 Home 23-19 22-21 22-21 17-25 17-27 Away 25-18 17-25 16-25 18-26 15-27 Away 24-19 23-20 21-21 23-21 17-25 Intr 12-6 10-8 10-8 6-12 7-11 Detroit Cleveland Minnesota Chicago Kansas City Milwaukee Chicago St. Louis Pittsburgh Houston Cincinnati Central Division Pct GB L10 Str .595 5-5 W-3 .593 6-4 L-3 .523 6 z-6-4 W-2 .440 13 z-5-5 L-2 .419 15 z-6-4 L-2 Central Division Pct GB L10 Str .570 z-5-5 W-1 .506 5% z-7-3 L-1 .470 8% z-6-4 L-1 .453 10 z-7-3 W-4 .437 11% 6-4 W-1 .395 15 5-5 W-2 Home 23-19 31-12 22-20 17-25 18-28 Home 30-13 20-21 20-21 21-23 23-21 18-26 Away 27-15 20-23 23-21 20-22 18-22 Away 19-24 23-21 19-23 18-24 15-28 16-26 Los Angeles Seattle Oakland Texas San Diego Los Angeles Arizona Colorado San Francisco W L 4836 4838 4741 4243 3747 West Division Pct GB L10 .605 3-7 .561 4 z-7-3 .518 7% 5-5 .424 15% z-6-4 West Division Pct GB L10 .571 6-4 .558 1 z-5-5 .534 3 z-3-7 .494 61/% 4-6 .440 11 z-5-5 AMERICAN LEAGUE THURSDAY Detroit 12, Cleveland 3 N.Y. Yankees 7, Minnesota 6 Boston 15, Tampa Bay 4 Chicago White Sox 11. Baltimore 6 L.A. Angels 5, Texas 2 Oakland 3, Seattle 2 FRIDAY Minnesota 20, Chicago White Sox 14, 1st game Minnesota 12, Chicago White Sox 0, 2nd game Detroit 9, Boston 2 N.Y. Yankees 14, L.A. Angels 9 Toronto 8, Cleveland 6 Tampa Bay 6, Kansas City 5 Baltimore at Texas, late Seattle at Oakland, late TODAY THURSDAY Pittsburgh 8, Chicago Cubs 4 Milwaukee 6, Washington 2 Cincinnati 8, Arizona 1 Houston 4, N.Y. Mets 0 San Francisco 4, St. Louis 3 Philadelphia at Colorado, late Atlanta at San Diego, late Florida at L.A. Dodgers, late TODAY Atlanta (Smoltz 9. LEADERS AMERICAN LEAGUE BATTING MOrdonez, Detroit, .370; ISuzuki, Seattle, .365; Jeter, New York, .341; Polanco, Detroit, .334; Youkilis, Boston, .329; OCabrera, Los Angeles, .329; VGuerrero, Los Angeles, .329. RUNS ARodriguez, New York, 74; Sheffield, Detroit, 73; Sizemore, Cleveland, 69; .MQrdonez, -p.etroit, 68; DeJesus, Kansas City, 63; Rios, Toronto, 61; Granderson, Detroit, 60; Polanco, Detroit, 60. RBI ARodriguez, New York, 80; VGuerrero, Los Angeles, 75; MOrdonez, Detroit, 69; VMartinez, Cleveland, 66; CGuillen, Detroit, 65; Morneau, Minnesota, 63; THunter, Minnesota, 63; Sosa, Texas, 63. HITS ISuzuki, Seattle, 125; Jeter, New York, 114; MOrdonez, Detroit, 113; OCabrera, Los Angeles, 111; BRoberts, Baltimore, 108; Polanco, Detroit, 108; MYoung, Texas, 102. DOUBLES MOrdonez, Detroit, 35; DOrtiz, Boston, 28; VGuerrero, Los Angeles, 27; OCabrera, Los Angeles, 24. TRIPLES Granderson, Detroit, 15; Crawford, Tampa Bay, 8; DeJesus, Kansas City, 6; TPena, Kansas City, 5; Teahen, Kansas City, 5; CGuillen, Detroit, 5; Cora, Boston, 5. HOME RUNS ARodriguez, New York, 28; Morneau, Minnesota, 20; Sheffield, Detroit, 20; CPena, Tampa Bay, 19; Rios, Toronto, 17; THunter, Minnesota, 17; VMartinez, Cleveland, 15; Cust, Oakland, 15; Sexson, Seattle, 15; Konerko, Chicago, 15. STOLEN BASES BRoberts, Baltimore, 26; Sizemore, Cleveland, 23; ISuzuki, Seattle, 23; Crawford, Tampa Bay, 21; JLugo, Boston, 20; Lofton, Texas, 20; Figgins, Los Angeles, 19. PITCHING (9 Decisions) - Bonderman, Detroit, 9-1, .900, 3.58; Beckett, Boston, 12-2, .857, 3.44; Haren, Oakland, 10-2, .833, 2.20; Sabathia, Cleveland, 12-3, .800, 3.58; Verlander, Detroit, 10-3, .769, 3.14; KEscobar, Los Angeles, 10-3, .769, 3.19; Halladay, Toronto, 9-3, .750, 4.27. NATIONAL LEAGUE BATTING Holliday, Colorado, .352; Pence, Houston, .345; DYoung, Washington, .339; DeLee, Chicago, .334; CJones, Atlanta, .329; Utley, Philadelphia, .324;- Renteria, Atlanta, .322. RUNS Rollins, Philadelphia, 69; HaRamirez, Florida, 66; Uggla, Florida, 65; Utley, Philadelphia, 61; JBReyes, New York, 80; Fielder, Milwaukee, 59; ASoriano, Chicago, 57. RBI CaLee, Houston, 72; Holliday, Colorado, 68; Fielder, Milwaukee, 66; Utley, Philadelphia, 66; Howard, Philadelphia, 62; Hawpe, Colorado, 58; MiCabrera, Florida, 58. HITS Holliday, Colorado, 121; Byrnes, Arizona, 109; HaRamirez, Florida, 108; Utley, Philadelphia, 107; JBReyes, New York, 106; Rollins, Philadelphia, 105; Renteria, Atlanta, 104. DOUBLES Utley, Philadelphia, 33; Uggla, Florida, 32; Holliday, Colorado, 30; DeLee, Chicago, 26; Church, Washington, 24; BHall, Milwaukee, 24; ASoriano, Chicago, 24; Biggio, Houston, 24. TRIPLES Rollins, Philadelphia, 10; JBReyes, New.York, 9; Johnson, Atlanta, 6; Amezaga, Florida, 6; CGuzman, Washington, 6; Pence, Houston, 5; KMatsui, Colorado, 5; OHudson, Arizona, 5; Byrnes, Arizona, 5; DRoberts, San Francisco, 5. HOME RUNS Fielder, Milwaukee, 27; Dunn, Cincinnati, 23; Griffey Jr., Cincinnati, 22; Howard, Philadelphia, 20; Hardy, Milwaukee, 18; Uggia, Florida, 17; MiCabrera, Florida, 17; Bonds, San Francisco, 17. STOLEN BASES JBReyes, New York, 43; Pierre, Los Angeles, 33; Victorino, Philadelphia, 27; HaRamirez, Florida, 25; Taveras, Colorado, 20; Wright, New York, 18; Martin, Los Angeles, 16; CHart, Milwaukee, 16; KMatsui, Colorado, 16. PITCHING (10 Decisions) Penny, Los Angeles, 10-1, .909, 2.39; Harang, Cincinnati, 9-2, .818, 3.84;. w wi fteo..4 low- 4, 41ti4l1llian .AN- -mowIIIIkp *mw '" llmmo IMM 46 N*4pft 40l A. n aw (1 11A m ain -6 fm a mwhimow% om S"Copyrighted Material Syndicated Content Available from Commercial News Pro ~r - a~ ~i~# ~ a Boston Toronto New York Baltimore Tampa Bay New York Atlanta Philadelphia Florida Washington Home 29-13 27-15 23-20 20-21 Home 24-18 25-18 25-19 24-18 21-21 Away 23-21 19-21 21-21 16-28 Away 24-18 23-20 22-22 18-25 16-26 Int 9-9 10-8 11-7 Intr-.c 6-9. 5-10 8-7 A. 10-8 ^ 5-10 C? R LEAGUE BASEBALL OSM T,,.- -7 '>nn-7 Ill * Ammw 4w Am m gA*mmmup Aummammo E1& 4 I em 4womomp &ANi* W4 am NOW tooas qmmm * 0M SATURDAY, JULY 7, 2007 3B OnUs COUNTY (FL) CHRONIC E TENNIS Wimbledon Results Friday Di DI. Wimbledon Show Court Schedules Today Play begins on Centre Court and No. 1 Court at 7 a.m. and all other courts at 6 a.m. Centre Court Roger Federer (1), Switzerland, vs. Richard Gasquet (12), France Not before 9 a.m.: Marion Bartoli (18), France, vs. Venus Williams (23), United States Leander Paes, India, and Meghann Shaugnessy (8), United States, vs. Fabrice Santoro and Severine Bremond, France No. 1 Court Novak Djokovic (4), Serbia, vs. Rafael Nadal (2), Spain Lisa Raymond, United States, and Samantha Stosur (1), Australia, vs. Katarina Srebotnik, Slovenia, and Ai Sugiyama (4), Japan Pat Cash, Australia, and Richard Krajicek, Netherlands, vs. Todd Woodbridge and Mark Woodforde, Australia GOLF AT&T National Friday Second Round K.J. Choi 66-67 133 -7 Stuart Appleby 66-67 133 -7 Craig Kanada 69-67 136 -4 Robert Garrigus 69-67 136 -4 Billy Andrade 68-68 136 -4 Steve Stricker 67-70 137 -3 Vijay Singh 66-71 137 -3 Fredrik Jacobson 68-69 137 -3 Jesper Parnevik 70-68 138 -2 Justin Rose 69-69 138 -2 Mike Weir 72-66 138 -2 Brian Davis 69-70 139 -1 CliffKresge 69-70 139 -1 Jerry Kelly 71-68 139 -1 Tiger Woods 73-66 139 -1 Kevin Stadler 69-70 139 -1 Todd Hamilton 69-70 139 -1 Anthony Kim 71-69 140 E Rod Pampling 70-70 140 E Jim Furyk 66-74 140 E Lucas Glover 71-69 140 E Vaughn Taylor 72-68 140 E Chris Couch 68-72 140 E Corey Pavin 67-73 140 E Charley Hoffman 71-69 140 E PatPerez 71-70 141 +1 Sean O'Hair 71-70 -' 141 +1 Brian Gay 71-70 141 +1 Jamie Lovemark 67-74 141 +1 Chris Riley 70-71 141 +1 Greg Owen 67-74 141 +1 Brandt Snedeker 69-72 141 +1 Bill Haas 69-72 141 +1 Kent Jones 71-70 141 +1 Robert Allenby 70-71 141 +1 Charles Warren 68-73 141 +1 Bo Van Pelt 70-71 141 +1 Shigeki Maruyama 72-70 142 +2 Mathew Goggin 73-69 142 +2 Tommy Armour Ill 70-72 142 +2 Boo Weekley 70-72 142 +2 Arron Oberholser 74-68 142 +2 Jason Bohn 73-69 142 +2 Brett Quigley 72-70 142 +2 Stephen Leaney 71-71 142 +2 Jeff Quinney 67-75 142 +2 Will MacKenzie 72-70 142 +2 Joe Ogilvie 66-77 143 +3 Notah Begay III 73-70 143 +3 For the record On the AIRWAVES TODAY'S SPORTS AUTO RACING 12 p.m. (ESPN2) NHRA Lucas Oil Sportsman Series. 4 p.m. (ESPN2) NHRA O'Reilly Thunder Valley Nationals - Qualifying. 8 p.m. (TNT) NASCAR Nextel Cup Pepsi 400. MLB BASEBALL 3:30 p.m. (13, 51 FOX) Los Angeles Angels of Anaheim at New York Yankees. 7 p.m. (FSNFL) Tampa Bay Devil Rays at Kansas City Royals. 7 p.m. (WGN) Chicago Cubs at Pittsburgh Pirates. BICYCLING 9:30 a.m. (VERSUS) Tour de France Prologue. BOXING 5 p.m. (HBO) Lamon Brewster vs. Wladimir Klitschko. EQUESTRIAN 7 p.m. (ESPN) American Oaks/Cash Call Mile. ARENA FOOTBALL 3 p.m. (ESPN) Divisional Playoff Colorado Crush at San Jose SaberCats. 8 p.m. (ESPN) Divisional Playoff Columbus Destroyers at Dallas Desperados. 2 a.m. (ESPN2) Divisional Playoff Colorado Crush at San Jose SaberCats. (Same-day Tape) 4 a.m. (ESPN2) Divisional Playoff Columbus Destroyers at Dallas Desperados. (Same-day Tape) CFL FOOTBALL 7 p.m. (47 FAM) Toronto Argonauts at Hamilton Tiger-Cats. GOLF 10 a.m. (GOLF) European PGA Smurfit European Open Third Round. 1 p.m. (GOLF) PGA AT&T National Third Round. 3 p.m. (2 NBC) U.S. Senior Open Third Round. 3 p.m. (6, 10 CBS) PGAAT&T National- Third Round. 3 p.m. (8 NBC) U.S. Senior Open Third Round. Briny Baird Frank Lickliter II Billy Mayfair Brad Faxon Mark Wilson D.J. Trahan Olin Browne Justin Leonard Aaron Baddeley Mathias Gronberg Rocco Mediate Ryan Moore Geoff Ogilvy Rich Beem Tim Herron Jason Gore Peter Lonard Michael Putnam Ryuji Imada Chris DiMarco Hunter Mahan Fred Funk Joe Durant John Senden Craig Barlow 70-73 71-72 72-71 69-74 71-72 71-72 70-73 73-70 74-69 71-72 75-68 74-70 69-75 67-77 71-73 71-73 75-69 69-75 73-71 72-72 70-74 67-77 73-71 70-74 70-74 Failed to qualify Eric Axley 73-72 145 Dean Wilson 74-71 145 Harrison Frazar 74-71 145 Bubba Watson 73-72 145 Jeff Gove 72-73 145 J.P. Hayes 74-72 146 Chad Campbell 72-74 146 Steve Marino 74-72 146 Pablo Martin 73-73 146 Brett Wetterich 70-76 146 Camilo Villegas 72-74 146 Kevin Na 71-75 146 J.B. Holmes 75-71 146 Joey Sindelar 74-72 146 Mark Hensby 74-73 147 Tom Pernice, Jr. 72-75 147 Daniel Chopra 73-74 147 Ryan Armour 74-73 147 R.S. Johnson 73-74 147 Phil Mickelson 74-73 147 Jeff Maggert 76-71 147 Heath Slocum 70-77 147 Kevin Sutherland 75-72 147 Lee Janzen 73-75 148 Jonathan Byrd 75-73 148 Davis Love III 72-76 148 D. Maruyama 76-72 148 Andrew Buckle 70-78 148 Matt Kuchar 75-73 148 Adam Scott 72-76 148 Steve Flesch 73-75 148 Steve Lowery 74-75 149 Jose Coceres 74-75 149 Ken Duke 76-73 149 Johnson Wagner 73-76 149 Ryan Palmer 74-75 149 Ben Curtis 75-74 149 Kirk Triplett 70-79 149 Charles Howell III 73-77 150 Woody Austin 74-76 150 John Daly 74-77 151 Bob Estes 71-80 151 Nick O'Hern 75-77 152 David Branshaw 77-75 152 Tim Petrovic 72-81 153 U.S. Senior Open Championship Friday Completed First Round a-denotes amateur Eduardo Romero 34-32 66 Jim Woodward 34-33 67 Lonnie Nielsen 31-37 68 Bruce Vaughan 35-33 68 Vicente Fernandez 35-34 69 Jon Fiedler 33-36 69 Ron Vlosich 35-34 69 Gil Morgan 35-34 69 Tom Watson 34-36 70 Loren Roberts 37-33 70 DesSmyth 34-36 70 JeffCoston 34-36 70 David Thore 36-35 71 Kirk Hanefeld 38-33 71 Scott Simpson 36-35 71 Brad Bryant 36-35 71 Mark James 36-35 71 Jim Ahern 34-37 71 Bruce Lietzke 34-37 71 Jon Chaffee 37-35 72 Donnie Hammond 36-36 72 D. A. Weibring 35-37 72 Curtis Strange 38-34 72 Jerry Pate 37-35 72 Tom Kite 36-36 72 R. W. Eaks 38-34 72 Jim Thorpe 36-36 72 Bruce Fleisher 36-36 72 John Ross 38-34 72 Mike McCullough 35-37 72 Pete Oakley 35-37 72 Mark O'Meara 35-37 72 Craig Stadler 37-35 72 Joe Ozaki 36-36 72 Ben Crenshaw 36-36 72 Keith Fergus 36-36 72 James C Blair III 36-36 72 a-David Anthony 37-36 73 Jay Haas 36-37 73 Joe Inman 36-37 73 Sam Torrance 35-38 73 Fuzzy Zoeller 36-37 73 Tom Purtzer 35-38 73 Mike Reid 37-36 73 Peter Jacobsen 37-36 73 John Harris 36-37 a-Brady Exber 37-36 Scott Davis 35-38 Bobby Wadkins 38-35 David Eger 35-38 Danny Edwards 34-39 Dave Barr 38-35 Mark McNulty 34-39 Mike Goodes 37-37 a-Paul Simson 38-36 Denis Watson 37-37 Bob Gilder 38-36 Mike Barge 34-40 a-Jeff Burda 35-39 Ron Streck 36-38 Mike Smith 37-37 Michael Turner 34-40 Harold Sauer 37-37 Tom Dawson 36-39 Dick Mast 40-35 John Jacobs 38-37 a-G. Zahringer 39-36 D. Eichelberger 37-38 Jack Spradlin 36-39 Rick Rhoden 37-38 Hubert Green 38-37 a-Marty West 33-42 Larry Nelson 37-38 a-Danny Green 39-36 a-Sam Farlow 37-38 Chris Dachisen 36-39 Paul Parajeckas 37-39 Alan Phillips 36-40 Hale Irwin 37-39 Isao Aoki 38-38 Tom Jenkins 40-36 Wayne Levi 40-36 Tommy Brannen 38-38 Dave Stockton 36-40 Mark Johnson 37-39 Morris Hatalsky 35-41 John Calabria 42-34 *Graham Marsh 39-37 Gary Robison 39-37 a-Jim Knoll 38-38 Robert Thompson 37-39 Tim Conley 37-40 Lon Hinkle 38-39 a-Dave Ryan 39-38 Norm Jarvis 38-39 a-Bill Leonard 39-38 Fred Haney 40-37 Roy Christensen 38-39 Andy Bean 37-40 a-Mark Bemowski 38-39 Jack Slayton 40-38 a-Alan Fadel 40-38 B. Summerhays 40-38 Larry Laoretti 40-38 Mike Harrigan 40-38 a-Ron Kilby 40-38 Cary Hungate 41-37 Peter Krause 41-37 Massy Kuramoto 40-38 a-Mike Bell 40-38 a-Greg Reynolds 38-40 Mark Morrison 36-42 Michael Cook 41-38 a-Dee Sanders 43-36 Steve Schaff 39-40 Howard Twitty 41-38 Steve Thomas 39-40 a-Robert Polk 40-39 Doug Bauman 40-39 Wes Burton 38-42 Mark Fernando 39-41 Bill King 42-38 a-Henry Coffman 39-41 Gil Gusweiler 43-37 Pat McDonald 43-38 a-Jim Rollefson 40-41 a-Chris Lange 41-40 a-Tom Grady 39-42 Dale Douglass 42-39 Paul Bell 39-42 Mark Houser 41-41 a-Dan Alpha 40-42 Michael Paul 42-40 Jerry Wisz 43-39 a-Randy Reifers 46-36 a-R. LaPierre 42-40 Scott Walter 43-40 Charlie King 42-41 a-Tom McGraw 40-43 Mike San Filippo 41-42 Ray Lease 44-39 Allen Doyle 42-41 Bob Ford 42-41 Bill Israelson 42-41 Tom Sutter 43-41 Greg Shaw 44-40 Randy Towner 41-43 a-Keith Kitchens 43-42 a-Mike Rice 42-44 a-David Zeid 45-41 a-Judd Silverman 44-43 Alan Arvesen 44-43 a-Frank Saxon 44-43 a-Mickey Morey 44-44 Blair Lacy 48-40 a-Steve Sharpe 50-40 AUTO RACING NASCAR NEXTEL Cup Pepsi 400 Uneup Today Daytona International Speedway Race distance: 400 miles, 160 laps Note: Qualifying was cancelled due to rain. The field was set in accordance with the 2007 NASCAR NEXTEL Cup Rule Book.th 45. (84) AJ Allmendinger, Toyota, 2007 Owner Attempts 17 46th 46. (49) Larry Foyt, Dodge, 2007 Owner Attempts 17 47th 47. (55) Michael Waltrip, Toyota, 2007 Owner Attempts 17 48th 48. (37) Kevin Lepage, Ddoge, 2007 Owner Attempts 17 49th 49. (4) Ward Burton, Chevrolet, 2007 Owner Attempts 16 50. (60) Boris Said, Ford, 2007 Owner Attempts 3 50th 51. (09) Mike Wallace, Chevrolet, 2007 2007 Owner Attempts 3 54th 52. (04) Eric McClure, Chevrolet, 2007 Owner Attempts 1 65th 53. (27) Kirk Shelmerdine, Chevrolet, 2007 Owner Attempts 1 66th TRANSACTIONS Friday BASEBALL Major League Baseball MLB-Suspended Detroit INF Neifi Perez for 25 games for testing positive for 'a banned stimulant in violation of Major League Baseball's joint drug prevention and treatment program. American League BOSTON RED SOX-Purchased the "contract of 1B-OF Jeff Bailey from Pawtucket (IL). Optioned OF Jacoby ElIsbury to Pawtucket. Transferred RHP Matt Clement from the 15- to the 60-day DL. CHICAGO WHITE SOX-Activated RHP Dewon Day from the 15-day DL. Placed RHP Mike MacDougal on the 15-day DL, retroactive to July 6. DETROIT TiGERS-Purchased the con- tract of OF Ryan Raburn from Toledo (IL). KANSAS CITY ROYALS-Activated 2B Mark Grudzielanek from the 15-day DL. Optioned OF Shane Costa to Omaha (PCL). OAKLAND AS-Activated RHP Kiko Calero from the 15-day DL. Optioned LHP Dallas Braden to Sacramento (PCL). National League ARIZONA DIAMONDBACKS-Optioned OF Carlos Quentin to Tucson (PCL). Recalled OF Jeff Salazar from Tucson. CHICAGO CUBS-Agreed to terms with C Joshua Donaldson, OF Brandon Guyer, LHP Casey Lambert, OF Ty Wright, INF Marquez Smith, OF Leon Johnson, LHP Christopher Siegfried, OF Jonathan Wyatt, INF Marc Sawyer, LHP Zachary Ashwood, LHPArik Hempy, INF Jeffrey Rea, SS Jose Made, LHP Dustin Sasser, RHP Craig Muschko, RHP Stephen Vento, RHP Scott Meyer, LHP Michael Bunton, INF Bill Moss, OF Luke Sommer, OF Brian Leclerc, C Luis Bautista, 3B Billy Mottran, RHP Yuri Higgins, C Roberto Sabates and RHP Corey Bachman. FOOTBALL National Football League NFL-Suspended Denver DE Kenny Peterson without pay for four games for violating the league's steroid policy. MIAMI DOLPHINS-Released WR Kelly Campbell. HOCKEY National Hockey League TAMPA BAY LIGHTNING-Signed D Dan Jancevski to a one-year contract. Re- signed D Mike Egener to a one-year contract. 0 a - -~ 0 ~- .~ - - .~ 9~ ~ 0 - - -.4w- - -l i .-i- - ~- --~ - --4 -41-. -di T-"Copyrighted Material --_- Syndicated Content 0 -Bob Available from Commercial News Providers" - ,, * - - e - . - -m- -.N a -- m-am a*ew- - - - -40M - -wd -mn f - - e a e STORMS Continued from Page 1B game," Inverness manager Winston Wolf said. "I told them they needed to play better defense and start playing the way we were capable of." In addition to the pep talk Wolf inserted his pitching ace, Alexandra McAfee, who was the lightning that flashed -her way through the Central Citrus batting order. Over the next four innings McAfee would face the minimum. 12 batters, striking out eight, walking one (she'd later get caught stealing) and never allowing a ball out of the infield. "Having Alexandra out there on the mound changed the girls whole mentality," Wolf admitted. "It's like they came alive." And while the entire batting order, top to bottom shared in tl0-run he scoring barrage that Inverness unleashed over the. next three innings it was McKenzie Brisson that provid- ed the loudest thunder with her bat Brisson's most thun- derous blow came in the bot- tom of the fifth inning .when her bases-clearing triple scored three runs. Brisson then added a solo homer in the bottom of the sixth to give CLUTCH Continued from Page 1B Baseball (10-11) All Stars at Central Citrus Central Citrus 6, Inverness 1 Jesse LePore hit a two-run double in the five-run fourth inning and earned the pitching victory. Tyric Washington was the losing hurler. Jacob Schenck had a RBI single. Central Citrus had 11 hits while Inverness had just four hits. "We had one big inning and that's what we needed," said Central Citrus manager Joe Schenck "We got timely hits. We got runners on base. We never swung at bad pitches. We got great pitching from Jesse LePore. We move on to play Dunnellon tomorrow." WALKS Continued from Page 1B Grace Payne crossed home with Central Citrus' only run after grabbing her team's first hit and then scoring on a delayed steal to cut the deficit to 9-1. Precious Flores, Brooke Levins and Ezzell all scored without a hit in the top of the fourth to induce the mercy rule and Consol pitched a scoreless bottom half to end the game. "She's not as overpowering as others," Roe said of Consol, "but she hits her spots." 9/10 Minor Baseball Crystal River 6, Dunnellon 1 Collin Ryan and Cory Weiand combined to stymie Dunnellon's bats, giving up a single run between them over Inverness its final run. In addition to Brisson, Lewis and Atkinson also scoring for Inverness were McAfee, Krista Ratliff, Morgan Brisson, Madisen Pooten and Daniella Garcia. With the victory Inverness earned a place in today's championship game where they'll face Dunnellon who cruised to an easy 12-2 victory over West Hernando. Dunnellon blew the game open with eight runs in the third inning. Plating runs for Dunnellon were Alora Thompson, Caylee Underwood, Jilliam Morrow, Jessica Washburn, Alex Love, Amanda Corbit, Madrika Allen and Sophia Ochs. 11-12 Major Baseball West Hernando 4, Lady Lake 3 The suicide squeeze might very well be the gutsiest call in all of baseball. And on Friday night West Hernando's Wilford Pagan's executed it to perfection scor- ing his teammate Joe Barili with the game-winning run in the bottom of the sixth inning, clinching the 4-3 victory. The win clinched a spot for West Hernando in today's 11-12 championship game where they'll face Dunnellon thanks to their 8-2 victory over Shady Hills. Central Citrus will face Dunnellon today at 10 a.m. for the district title. Minors (9-10) Softball All Stars at Central Citrus Central Citrus 6, Crystal River 5 Kelsey Lukes scored the win- ning run for Central Citrus on a passed ball. Central Citrus hurler Jordan Martin was the winning pitcher and Tori Beth Cunningham was the losing pitcher. Amber Russo had a two-run single for Crystal River. Brianna Martin made a ster- ling defensive play, diving to catch a ball. Junior (13/14) Baseball All Stars at Central Citrus Lady Lake 7, Crystal River 4 Crystal River was no-hit and eliminated from the playoffs. Kris Navejar took the pitching loss in relief. six innings. Ryan picked up the win for Crystal River after going 2 2/3 innings while Weiand got the save after entering the game in the third and going the rest of the way. Sean Hall led the offense with two hits while Weiand, KyIle Kidd, Jordan Humphreys and Daylon Rogers all scored runs in the first inning for Crystal River. Crystal River will play Inverness (who defeated Greater Hudson, 4-3, in 11 innings) at 10 a.m. today at Bicentennial Field in Crystal River. Other scores 13-14 Junior Baseball: West Hernando 22, Central Citrus 1 9-10 Softball: Dunnellon 20, Inverness 2 11-12 Major Softball: South Sumter 9, Greater Hudson 6 - Srozers - -.- tpr ) rr4)?n7vT,-l p 4B SATURDAY, JULY 7 2007 CITRUS COUNTY (FL) CHRONICLE *0 -a -a ~ a - -'a -'a - - a. a. - - a- S 0'a -a~ Gum e em o e etmOn4 *o0 *O qb e. e e m04t eg & e em.m m e * 4baop0- f- 0 - mmeu o d a- - "a 0 - ~. a- - - a a - - -'a a.- a - - ~a - 'a -~ a - - --a 'a - ~- - - - -a 'a- p *- -a-- - - a - - q -a - a -. i - a -D m 4i b qw- - m~lm. - o i .i.i -Amn* 40 aw di p a p quo q ap o w O. 01 qP "i a i --- -- -! * a. -j ;It -- | ',. ~ - ,o o^ * home as an AUiStar vp (IdindP Copyrighted Material -S yndicated Coitent -,M --o 0, 1.. .. - - A wf _ -qw a cam hitcan Z M= -No ----w MEW qft 4- Available from Commercial News Providers"s a a - a- .a - - a 0 -a a. - - - a - a -. -- 0-- S a - * - a. - a - - 'a - -- .a- 4 - ~ '-a - -a a -~ a * -a 'a a- a. a-~ -- a. a S e a-a _ --a -a..-- a a- --a -a a- a - a -~ a- * S - a - * * - 0 -a. -'a - - a- a -- 0. - aii - - A a = ,- a. a, ii- ,i o o -iii, - - 4.0 b- -mo -E - 400no' 41 4 qw -WaON- dn a.-0s *AMD 41b - qm. t .dw- w 41b - -~-. .0 Ap -.mo d 41 -- -0 -ho 10 - w-Mm- Row v S --qmp- -mii O - iiiip a a. -ab MO M&q- 4 40. b. -m 4 a.-- a- - - a.- a--. Bow&ai -t - cow -Ma a-..loopa-a -p44 G- -a- a. 40- -di- 00 9o .o.- low a 4Sb aob mw a- 0 q- - 4 am0 -QM- -do - -Imp- 4sm -mm~m-m du a- 4b- 4 -11--ft A- 00 -00 41 q- 4*1b 411- -t- 4b 41b - am- 4w AN.- Golf Shoe Outlet IVOW OPEl \ Golf Shoe Outlet Phone: 352-245-2184 S10 0-mmiNw 0 a Fo FOOTJOY Etonic A-Golfstsream HUGE SELECTION of Mens & Ladies Golf Shoes , Starting at Pair - S - 0 - a GO ONLINE M Visit to. read today's headlines.' Club Bonus: FREE with any club purchase of $150 or mc SaGOLF BAGS NEW BUL GOLF BAL H2999-93 2 1 and up DOZ e e * * a- a -a *- -a - -a - 0 'a -- a a a- - - -a- - - a-. hadns m amheaded s wnwouhopr to wd 0 "-a - a - m -a- a -a ql- . a a a - a- a.. a 'a a a.. a-- * a. a a a - 'a - 'a - a - a -a --a a. - - - * - a a -a - aC - - - a. a - a.. - -a 0 ~- -a -~ - -a - a a a 0 a- a a- - a - - a a-a-'a - --a a- a-- a - - - b * --a a. a a-.--. a a- LS ARIVL Slzne GofBal Q qo o I . I - .Ii. i a (R) CHRONICLE PO crRUs ( STm k in the touament "Copyrighted Material Syndicated Content Available from!CommercialNews Prc T wviders" Sewart looks to his w00 a SATURDAY, JULY 7, 2007 5B S l-"TrTS ,. / m)n~~nieC -.0w e manag mm + wn 0 *m mAm 4b Ak 4allwom 4OiW-0i:mik:: oos-i ft 4w 4F l^ml at AT, 5 4w am "i++++ ++++ +++ + +++ + +@ + + + ++ + + + +. ... 3 ., .. ^ ... . . + +........+ 'IT INF IMw utp rded by .111 6B SATURDAY JULY 7, 2007 CITRUS COUNTY CHRONICLE 4 ~ - ~ wi -i : IW flalBBB1 m^^^^^^^ muBBB "Copyrighted Mater Syndicated Content mN 4 4 Available from Commercial News Providers Florida LOTTERIES Here are the winning numbers, selected Friday in the Florida Lottery: CASH 3 0-1-6 PLAY 4 1-6-5-5 MEGA MONEY 3-29-33-41 W MEGA BALL 16 FANTASY 5 7 13 14 15 17 THURSDAY, JULY 5 Cash 3:5-7-0 Play 4:8-4-5-6 Fantasy 5: 5-6- 10-20-36 5-of-5 2 winners $111,963.6$e 4-of-5 325 $111 3-of-5 11,533 $8.50 = WEDNESDAY, JULY 4 Cash 3:7-1-2 Play 4:9-2-3-8 Fantasy 5: 2-6-11 -12-36 . 5-of-5 No winners S 4-of-5 380 $664 " - 3-of-5 .11,353 $8.50 ^ Lotto: 12 31 34 37 48 52 J J 6-of-6 No winners - S 5-of-6 45 $6,656 4-of-6 2,601 $93.50 i. 3-of-6 56,078 $6 TUESDAY, JULY 3 Cash 3:1 -9-1 Play4:0-3-0-6 Fantasy 5:1 3 22 26 30 r- O w in ne --- 5-OT-5 NO winners 4-of-5 323 $838.50 S 3-of-5 10,140 $10 Mega Money: 2 23 34 40 Mega Ball: 17 4-of-4 MB No winners 4-of-4 8 $1,111.5( 3-of-4 MB 43 $453 3-of-4 916 $63.50 INSIDE THE NUMBERS 0 To verify the accuracy of winning lottery numbers, players should double-check the numbers printed above with numbers officially posteTi by the Florida Lottery. On the Web, go to .com; by telephone, call (850) 487-7777. $10,995 1$ 10,995 t i U 4aw amm" 4PAW o N*o wa Enterta fe t 6 pB- a OW *** ^^ **of C SATURDAY JULY 7, 2007 A A U U I I U U U 4 . ,Available from Commercial News Providers'-- - , .. .. .... . . ... iiii~)))))ii amw 461te 4b 40Mftom - om- m A* ===p; Calenda r of EVENTS ====Calendar o EVENTS VBS First Baptist Church of Inverness "Lifeways Game Day Central" VBS from 5:30 to 8 p.m. Sunday through Friday for ages.3 through fifth grade. Nursery provid- ed. Call 726-1252 to register. First United Methodist Church of Inverness "Trek through the Amazon" VBS from 9 a.m. to noon Monday through Friday, July 16-20. Kids ages 5 through completed fifth-20, at 1900 Highway 44. Fun, stories, treats, movies and God's truth. Call church at 726-1637 or Pastor Thomas Beaverson at 201-0079. First Baptist Church of Lake Rousseau "Jungle Jaunt" VBS for children in kindergarten through sixth grade from 9 a.m. to 12:30 p.m. Monday through Friday, July 23-27 at 7854 W. Dunnellon Road (County Road 488). Registration from 11 a.m. to 1 p.m. Saturday, July 14. Closing program Sunday, July 29. Hope Evangelical Lutheran Church in Citrus Springs "Avalanche Ranch A Wild Ride Through God's Word" pro- gram from 9 a.m. to 12:30 p.m. Monday through Friday, July 30 through Aug. 3, for kindergarten through fifth grade graduates. Closing program at 7 p.m. Friday, Aug. 3, followed by ice cream social. Call (352) 489-5511. E Broadcasting live from Son Studio located at Gulf to Lake Church in Crystal River, "The Parables of Jesus." Altering from the regularly scheduled format, Son Studio will spend the summer months learning how Jesus taught using stories. This series will include such parables as "The Parable of the Sower," "The Wise and Foolish Builder," and "The Parable of the Sheep and the Goats. Sunday, July 8 is "Xtreme Fun Day," weather permitting. During the summer, through Aug. 4, Son Studio hours are every Sundays at 9:30 a.m. for children in kindergarten through fifth grade. Call the church at 795-8077. SPECIAL EVENTS St. Timothy Lutheran Church informal come-as-you-are worship service at 5 p.m. today at 1070 N. Suncoast Blvd. (U.S. 19), Crystal River. Pastor Bradford's sermon for the sixth Sunday after Pentecost: "Sent Out." Worship services at 7:30, 8:30 and 11 am. Holy com- munion offered. Coffee fellowship from 9:30 to 10 a.m. Sunday school classes for all ages from 10 to 10:45 a.m. Call 795-5325. St. Paul's Lutheran Church, 6150 N. Lecanto Highway, Beverly Hills, has added a weekday service at 6:30 p.m. Thursdays in addition to its regular Sunday morning wor- ship services at 8 and 10:30. Shepherd of the Hills Episcopal Church celebrates the sixth Sunday after Pentecost with Holy Eucharist services at 6 p.m. today and 8 and 10 a.m. Sunday. Healing service is at 10 a.m. Wednesday. SOS ministry meets from 9 a.m. to noon Thursday. The Nature Coast Unitarian Universalist Fellowship, 2149 Norvell Bryant Highway (County Road 486) invites everyone Sunday to hear Jonathan Beard Please see EVENTS/Page 2C *- A ^^^ gif iti ^* CuC 0) -^ c 1.. ,S ^^^ ^iC-)o (C) 2 L)^ < .'* CO Judi Siegal JUDD'S JOURNAL Mourning the end of an era The other day I came across an article in a local newspaper about churches in inner cities of the Northeast with dwindling memberships that were forced to close. I felt saddened by the arti- cle, because it was reported that some of these artifacts end up as decorations in bars or are destroyed alto- gether. The buildings are torn down to make way for condos and parking lots, with little care for the histo- ry that these buildings con- tain.With this article fresh in my mind, I learned that the synagogue in my hometown that I had attended growing up had closed its doors as of the last week in May This venerable institution, a land- Please see SIEGAL/Page 5C = 10 -fc rrff-- 1.3&_ .- ::::::::::: :::::::::::: :::::: wqH ^ ^^ B B^^"^ H F H "Copyrighted^^ Material1!...!..^!!.^^^^ S1 Available from Commeriial News Providers" I I :ent RFI TE~I()N CITRUS COUNTY (FL) CHROM. t 2C SATURDAY, JULY 7, 2007 EVENTS Continued from Page 1C from Citrus County Hospice, who will speak on hospice care. Refreshments and discussion with the speaker follow the service. Call (352) 465-5646 or visit. Suncoast Baptist Church Southern Gospel concert featuring Sunshine State Quartet at 11 a.m. Sunday at 5310 S. Suncoast Blvd., Homosassa Springs. Fellowship dinner follows performance. The Academy of Arts Drama Team of Taylors, S.C., will present the musical drama, "Sanctity of Life" at 7 p.m. Monday at Faith Baptist Church, 6918 S. Spartan Ave (one mile from U.S. 19, off Cardinal Street). Call 628-4793. w "I Like a Gershwin Tune ... How About You?" is the title of the Citrus Community Concert Choir's fourth annual summer series of con- certs. Performances: 7:30 p.m. Friday, July Hernando fifth Sunday celebration on July 29. Potluck dinner follows morning worship service. Puppet show and talent show to be pre- sented. Sign up by July 1 to be in talent show. Our Lady of Fatima prayer group pilgrimage to EWTN and Shrine of the Most Blessed Sacrament in Alabama on Oct. 9 to 12. Call Dolores at 344-0425 or Marilyn at 344-4197.. E Faith Lutheran Church sum- mer schedule: Sunday services at 9:30 a.m. with Holy Communion the first and third Sundays through Sept. 2. The next Saturday Holy Communion service is at 6 p.m. today. Church is at 935 S. Crystal Glen Drive, Lecanto. Nature Coast Unitarian Universalist Fellowship candle- light hour at 7 p.m. Wednesdays at Oak Tree Plaza, 2149 County Road 486 (one mile east of County Road 491).. Call church at 637-0770. Helping Hands Thrift Store, a ministry of Our Lady of Fatima Catholic Church, is open from 9:30W. Places of worship that offer love, peace and harmony to all. Come on over to "His" house, your spirits will be lifted!!! SERVICING THE COMMUNITIES OF CRYSTAL RIVER AND HOMOSASSA ji IGLESIA HISPANA CASA DE ORACION "Donde la Palabra de Dios es el lenguaje del Espfritu Sat Crystal River CHURCH OF CHRIST A Friendly Church With A Bible Message. Comer First Baptist Church of Homosassa "Come Worship with Us" 10540 W. Yulee Drive Homosassa 628-3858 Rev. J. Alan Ritter Rev. Chris Brewer d Suenday 9:15amSunday School (AIAgeGroups) 10:30 am Worship Celebration 6pm Worship Celebration *Children/s Ministry *Youth Bible Study Wednesday Night Children's Awanas Group Youth Activities Nature's Independent Church Located past the guard shack at Cm- Halls River Road, Homosassa Sunday Morning Service 10:30am Thurs. Night Prayer & Bible Study 7:00pm Preacher: Tom '"Tex" Evans (352) 628-9562 First Assembly of God Come One Come All!!! Service Times: Sunday School 9:00 a.m. Morning Worship 10:00 a.m. Wednesday Bible Study 7:00 p.m. Richard Hart SeniorPodstor s - 4 MILES EAST OF HwY. 19 ON HwY. 44 (327529 Special Event or Weekly Services Please Call Kathy at 563-3209 For Information On Your Religious Advertising A, First I r Presbyterian (UX 1501 SWH MOUNT OLIVE MISSIONARY BAPTIST CHURCH Sunday Services * Sunday School.............................. 9:30 AM. *Morning Service ... ..... ..... 11:00 A.M. *Wed. Prayer Meeting & Bible Study.:.: .......... ................................... 12:00 Noon & 6:30 P.M. 'TheChurchhin theHeartoftheCommunity T with a Heart for the Community" 2105 N. Georgia Rd., PO I | Box 327 -* -. Crystal River, FL 34423 j Church Phone I -- (352) 563-1577 St. Benedict i Catholic Church U.S. 19 at Ozello Rd. MASSES- Vigil: 5:00pm Sun.: 8:30 & 10:30am DAILY MASSES Mon. Fri.: 8:00am HOLY DAYS As Announced S CONFESSION Sat.: 3:30 4:3pm : ...795-4479 ...... First United Method) 700994 Open eart A fY CITamus COUNTY CORPS. SUNDAY: Sunday School 9:45 A.M. Morning Worship Hour 11:00 A.M. TUESDAY: Home League 11:30 A.M. Bible Study 1:00 P.M. Captain Jamie Bell ST. THOMAS CATHOLIC CHURCH Serving Southwest Citrus County MASSES: Saturday 4:30 P.M. Sunday U.S. 19 Ami Cardinal n 8:00 A.M. 10:30 A.M. le South of West St, Homosassa IL 62-7000 | LAKE CHURCH (SBC) ACv. & rs. M crstne "Exciting & Contagious Worship" Sundays 8:00, 9:30 and 11:00 am Adult Worship Kid's Worship - (Worship just for Kids) 5:30 pm Evening Activities: Adult Bible Studies Teen Program (Grades 6-12) Kids Connection (3 yr. old 5th Grade) 700993 Hwy 4, Crytafl Rve 795-8077 ST. ANNE'S f700976 CRYSTAL RIVER L UNITED S METHODIST CHURCHi 4801 N citrus L - Ave. (2 miles north of US 19) Sunday Worship 8:00 Early Communion 6 9:30 a.m. Praise & Worship 11:00 a.m. Traditional Worship Sunday School for All Ages 9:30 & 11: 00a.m. Nursery Available at all Services . Youth Fellowship L 4:30 p.m. I Kid's Club 4:30 p.m. p Rev. David Gill S Senior Pastor L P A Stephen Ministry Provider 795-3148 L FIRST BAPTIST CHURCH CRYSTAL RIVER 700 N. Citrus Avenue 352-795-3367 Rev. David Thrdckmorton Sunday AM Services 8:45 Coniterilporary\ Two Bible Study Sessions 8:45 and( 10:15 AWANA Clubs 5:00 pm Wednesdayu PM Service 5:00 Family Supper (RSVP) 6:00 Worship Service Children & Student Activities 7CG.5555 :ZlITTXZ lIXTXIITXITIITZ [[ Crystal E 3River | Pastors Dave & Susie Sininger * Powerful Praise & Worship * Nursery & "Kids Church" * Youth Program * Food Pantry Sunday 10:30am & 6:30pm Wednesday 7pm 795-LIFE (5433). Ko , bu~ww~ndant !^& C-fhrisianFl~losip^^ Over- f^Qf^ CITRUS COUNTY (FL) CHRONMIL- ELIGION Cn-Rus CoUNTY (FL) CHRONICLE SATURDAY, JULY 7, 2007 3C Places of worship that offer love, peace and harmony to all. Come on over to "His" house, your spirits will be lifted!!! SERVICING THE COMMUNITIES OF HERNANDO, LECANTO, FLORAL CITY, HOMOSASSA SPRINGS FAITH BAPTIST H CHURCH Homosassa Springs I Rev. Wm. LaVerle Coats SUNDAY SUNDAY SCHOOL: 9:15 am WORSHIP: 10:30 am & 6 pm WEDNESDAY WORSHIP: 7pm YOUTH: 7pm Independent & Fundamental On Spartan 1/2 mile from U.S. 19 'off Cardinal 628-4793 "UNITARIAN UNIVERSALISTS Oak Tree Plaza 2149 Hwy. 486, Lecanto (1 Mile East of Hwy. 491) SUNDAY SERVICES 10:30 A.M. EXPECTINGG INDIVIDUAL BELIEFS ALL ARE WELCOME 746-9202 Floral City United Methodist Awana September May Sunday Eves. From 5-7 PM Our purpose: To honor the Savior by shepherding people into a meaningful relationship with God Byron Hendry, Pastor (352) 527-9900 Sww.shepherdsway baptistchurch.org Fcor "Tell me sour fear and I'll show u6u Lo~urp'ron, uourpassion and I II show uou true freedom." Rev. L.J. Gist "Learn to live a life of joyous abundance' 714435) H ando I rch of The azarene A Place to Belong j Event tor We 5e Call Kathy 563-3209 I n formati on LECANTOI CHURCH OF CHRIST State Road 44 & Rowe Terrace 746-4919 Sunday Bible Study 10:00 A.M. Sunday Worship 11:00 A.M. Sunday Evening 6:00 P.M. Wednesday Bible Study I /UU P.M. "In Search Of The Lord's Way" 8:30 A.M. Sunday Channel 22 (TWC 2) Monthly Bible Study Schedule hfttp:// HOMOSASSA SPRINGS CHRISTIAN CENTER CHURCH 7961 W. Green Acres. St., Homosassa Springs Marcus Rooks, Sr. Pastor Rev. WF. Todd, Pastor Emeritus retired 628-5076 S GROVER CLEVELAND SIGREENACRES I. Location: US 19 At Green Acres Street South of Homosassa Springs [ Christian Education 9:30am [ Contemporary Service 10:30am Il Wednesday Services 7:00pm (nursery provided) Nekly Your r First Baptist Church HERNANDO United Methodist Church Door; "A Safe Sanctuary for Children and Families" 2125 E. Norvell Bryant Hwy. (1 /2 miles from Hwy. 41) For information call (352) 726-7245 Sunday School 8:45 AM -9:30 AM Fellowship 9:30 AM Worship Service 10:00 AM Ministries and Activities for all Ages. Reverend Lois Barnum, Pastor SReal Life Christian Pleas GOOD SHEPHERD LUTHERAN CHURCH ELCA Welcomes You To Worship With Us. Worship 8:30 & 10:30 A.M. Sunday School 8:30 A.M. Fellowship after Worship * Holy Communion Celebrated Weekly 746-7161 Nursery Provided Building Is 5Barrier-Free Hwy. 486 Across From Citrus Hills Boulevard1 3790 E. Parson's Poi Hernando, FL 3 Rev. Gary Beehler, Pastor 352-726-6734 Visit us on the W wwwfbchernand i MOM S pe1Cial= On Religious Advertising I m Places of worship that offer love, peace and harmony to all. Come on over to "His" house, your spirits will be lifted!!! SERVICING THE COMMUNITIES OF CITRUS SPRINGS, BEVERLY HILLS, Mission Possible MINISTRIES U V. David Lucas, Jr. Senior Pastor 9921 N. Deltona Boulevard (352)489-3886 Sundays Sunday School.........................9:30 am (English/Spanish) Worship ......... ................ 10:30 am Hungry for God Service ................6 pm 1st Sunday of month (Nursery Care & Children's Church Provided) IWednesdays Youth Group, Bible Study & Kid's Programs.................7 pm (Nursery Care Provided) [ Fridays road ist r gaR or (352) 637-2824..M. SPANISH MASS: 12:00 P.M. CONFESSIONS: 2:30 P.M. to 3:30 P.M. Sat. orByAppointment WEEKDAY MASSES: 8:00 A.M. 6 Roosevelt Blvd., Beverly Hills 746-2144 (1 Block East ofS.R. 491) A- -- A I Our Lady of Fatima CATHOLIC CHURCH U.S. Hwy. 41 South, Inverness, Florida Sunday Masses 9:00 & 11:00 A.M. Saturday Vigil 4:00 P.M. Weekdays 8:00A.M. confessions 2:30 3:30 P.M 726-1670 0 Hwy. 44 E @ " Washington Ave., Inverness " Sunday Services E Contemporary * 9:30 AM S Traditional 11:00 AM U m 11:00 AM Service N Broadcast live on WRZN am 720 " Sunday School for All Ages * N 9:30 AM * Nursery Provided " Fellowship & Youth Group [] 6:00 PM N 24-Hour Prayer Line * 563-3639 Web Site: m * Church Office 637-0770 * Pastors: Craig Davies & * INVERNESS CHURCH OF GOD Rev. Larry Powers Senor Pastor PRIMERA IGLESIA Lea s peramos! David Pinero, Pastor 1370 N. Croft Ave. Inverness, FL 34451 Tel6fono: (352) 341-1711 Hope Lutheran Church ELCA 9425 N. Citrus Springs Blvd. Citrus Springs SUNDAY Sunday School 9:15 Amn Worship 8:00 AM & 10:45 AM jCoun-uion Every Sunday Information: 489-5511 (on North Ave. East of 98 N.) Sunday School Morning Worship Evening Service 9:00 A.M. 10:15 A.M. 6:00 P.M. Bible Study & Prayer 7:00 P.M. yebertlp Wol Community iurrbI 82 Civic Circle, Beverly Hills, FL 352-746-3620 Rev. Stewart Jamison III, Pastor Where Christ is Proclaimed First Baptist - Church of Beverly Hills Marple Lewis, IIII Pastor. AlanrSanders Associate P a stor 4950 N. Lecanto Hwy. Locatedatthe intersection of Hwy. 491 (Lecanto Hwy.) mail us at: beverlyhillsbaptist@tampabay.rr.com Independent 2672 W. Edison PI. at Elkcam Blvd. Citrus Springs, FL * Expositional Bible Teaching * Mature, well balanced ministry * Conservative Music SCaring, family atmosphere Sunday School 9:45 am Sun. Services 11:00 am & 6:00 pm Kids Klub (ages 6-13): Thurs. 6-8 pm Wed. Prayer & Bible Study 7:00 pm Rev. Richard W. Brosseau, Pastor. Phone (352) 445-9013 J- WHERE EVERYBODY IS SOMIanson (352) 341-2884 All are invited to oulf Healing Services First Church of Christ, Scientist Inverness 224 N. Osceola Ave. Sunday Services 10:30 AM Sunday School 10:30 AM Wed. Testimony Meeting 1:00 PM .... 352-726-4 033 . Beverly Hills Jewish Center CONGREGATION BETH SHALOM, INC. Fri. Evening.Services. 7:30 P.M. Sat. Shabbat Services 9;:30 A.M. Spiritual Leader Rabbi Zvi Ettinger 746-5303 CIVIC CIRCLE, 4 BEVERLY HILLS, FL. 34465 708480 4C SATURDAY, JUiY 7, 2007 CrrRus COUNTY (FL) CHRONICLE A friendly church where Christ is exalted!!! INVERNESS SEVENTH-DAY SADVENTIST ;i CHURCH 638 S. Eden Gardens Inverness, 34450 Hershel Mercer, Pastor 726-9311 Sat. Sabbath School 9:10AM Sat. Worship Hour 11:00 A.M. Wed. Prayer Meeting 6:00 P.M. TY rNU INS RELIGION SATURDAY, JULY 7, 2007 5C O-ITRUS COUNTY (FL) CHRONICL.E -- - - a a - S - - - 0 a.Mb w -a - --"Copyrighted Material -Syndicated Content. : ~ Available from Commercial News Providers" '---Availquo maw a .~ -- = -~ ON- am - ___ w -am m a w l. D b- 4b -"~a 4b O. a f. - SIEGAL Continued from Page 1C mark in New Britain, Conn., for more than 100 years, was now passing into history, a victim of Viemographics and the times. , Founded by immigrant fami- ies from Eastern Europe, temple B'nai Israel was origi- Wally an Orthodox synagogue. The congregation met in pri- iate homes, but by the 1920s acquired a permanent build- ing, the former Swedish church that stood on the corner of Chestnut and Elm streets. At this time, the congrega- tion hired its first modern rabbi, Rabbi Gershon Hadas, rnd it was there in 1928 that my father, Louis Cohen, became a Par mitzvah. It was at this time that the congregation became part of the Conservative Movement. Rabbi Hadas served on the committee that created the famous "Silverman prayer Book" still used in )nany Conservative congrega- tions today. By the late 1930s, the congre- kation hired Rabbi Harry Z. swelling, and purchased its present building from the Vasons in 1940. Rabbi Zwelling Was given life tenure and served the congregation for more than 40 years. ; The heyday of B'nai Israel ,Was in the 1950s, when the syn- gogue could boast of 500 fami- ies. In the ensuing years, espe- Cially in the mid to late '60s, the demographics of the communi- ty started to change, with many eaving New Britain for the mnore upscale community of West Hartford. By the 1970s, it was clear that )he congregation was not grow- ing, and the Hebrew School building was sold. The congre- gation began its decline, with inembers dying or leaving town. Though it took 25 years, he end was inevitable, and a chapter in the history of New Britain closed. In the Jewish tradition, holy objects, such as Torah scrolls or prayer books, are handled With reverence. The Torahs Will probably be donated to another synagogue, with the ornate silver-cased Sephardic version brought back from Jsrael by Rabbi Zwelling pur- chased or donated to a muse- um. SThe prayer books' fate remains undecided. If they are Worn, they will be buried in the 4ewish cemetery The art or tome ceremonial objects will i -S - - -m ~-_- U-Nw aCA ~..MW .Now 4w, _No - C L-_ -~ CIO ~ c,,- *> 9=3 a a. c. a.- L> either go to other congrega- tions or to the Jewish museum in New York What worries me the most is what will become of the many pictures of the confirmation classes that hang on the wall in the Selma Gordon Room. Some go back more than 70 years, and represent a compilation of the people who helped to build the city of New Britain. Here on the walls are reflect- ed the doctors, lawyers, teach- ers, businessmen and mer- chants who were leading citi- zens of their day, not to men- tion the Ribicoff family, whose famous son, Abraham, became Connecticut's governor, sena- Come, The Uttle House _ Fellowship tor and cabinet member in Kennedy's time. And what of my own class? Some I know became lawyers, doctors, and, yes, one is a writer who writes for this Florida paper. And what of the others who came after me? What contribu- tions have they made and where are they living now? These pictures tell a story, a story of a people with a tradi- tion and heritage that spanned the Old World and the New. As I think back over the years, I remember the heavy smell of ripened grapes that hung from the sukkah, the smoky auditorium at 1900 W. Hwy. 44, Inverness Divine Services: 7:45 & 10am Holy Communion 7:45 Every Sun. 10:00 1st & 3rd Sun. Sunday School & Bible Class 8:45 A.M. 726-1637 Cry Room i The Rev. Thomas Beaverson Special Event or Weekly Services Please Call Kathy at 563-3209 for Advertising Information VINEYARD CHRISTIAN FELLOWSHIP Pastor: Kevin & Ruth Ballard Sunday Schedule: Holy Grounds Cafe.........................9:00 AM Sunday Celebration.......................10:00 AM Kids Comer.................................. 10:30AM Weekly Schedule: Fellowship Dinner.......................6 PM Wed. Bible Teaching............................7 PM Wed. Pioneer Club....................7...... PM Wed. Fruit of the Vime Chanukah time from the latkes frying in the kitchen, the din and clatter of noisemakers at Purim and the pungent scent of hard-boiled eggs and gefilte fish at the Passover model seder. And the little children stroking my pink mohair sweater as I tried to read them a Bible story. I also remember the sadness and despair at the special serv- ice held the day President Kennedy died, praying for Israel during the Six Day War, and the countless times the Holocaust and other tragedies were commemorated. But I remember the good times as well, such as the day of we welcome you ania nmve) w S.R. 44 2 APPLEBEES ABC PGR ELEMENTARY PLEASANT GROVE RD. E CHURCH OF CHRIST s r, my confirmation, when I chant- ed the prophetic section from the Bible, bringing tears to many because women were rarely given this honor. I recall my sister's Bat Mitzvah and confirmation, and my beautiful wedding day when Phil and I exchanged vows under a flower-decked chuppah. The building may close, but the memories do not I can hear the clatter of foot- steps on the black and white marble floor, me in my first pair of heels attending Rosh Hashanah services as a teen. I hear the rabbi blessing us with peace as we left to enter the turbulent '60s, and we all feared nuclear annihilation. I hear the instructions of my teachers, who made me proud of my Jewish heritage and who helped me to become the per- son I am today. I hear the laughter of children as we gig- gled over the principal's silly jokes. I hear the heavy metal doors of the temple closing. Whoosh, the air .rushes through. Only the memories are left. Judi Siegal is a retired teacher and Jewish educator. She lives in Ocala with her husband, Phil. She can be reached at niejudis@yahoo.com. 03844 -_03844 I: A OFGI t4 First Vic ory Assembly in of God At Victory Baptist Church 5040 N Shady Acres Dr. 726-9719 or 637-0739 Sunday School 9:45 AM Worship 10:45 AM Sunday Evening 6:00 PM Wednesday 7:00 PM Choir Practice 8:00 PM "Quality Child Care Always Provided" Highway 41 North, turn at Sportsman Pt. "A place to belong.A place to become." -'CHRISTIAN CENTER "Big Enough To Serve, Small Enough To Care" 637-5100 Clean & Safe Nursery * Exciting Children & Youth Services Warm Fellowship Powerful Worship Practical Messages 4201 So. Pleasant Grove Rd. (Hwy. 581 So.) Inverness, FL 34452 3 .m. Pastor, OFFICE: (352) 726-1107 l^tlnTKw m^B Two miles from Hwy. 44 on the corner of Croft & Harley 2728 Harley St., Inverness FL S Places of worship that offer love, peace and harmony to all. I Come on over to "His" house, your spirits will be lifted!!! SERVICING THE CITY OF INVERNESS I II SATURDAY, JULY 7, 2007 SC" RELIGIONN .-Mmjm - -71 6C SATURDAY JULY 7, 2007 News NOTES Cheerleader squad accepting enrollments Free-Fall Elite All-Star Cheerleading is accepting new cheerleaders for the 2007-08 competition season. There are eight openings for the Senior Prep Squad. One or more years cheerleading or tumbling experi- ence preferred. Sign-ups will be held every Friday from 7:30 to 8:30 p.m. at Citrus Gymnastics (behind Cash Carpet on State Road 44 in the Industrial Complex). Free-Fall Elite All-Star Cheerleading is strictly a com- petitive cheerleading squad (no football games). Because we are a nonprofit organization our fees are half of what a normal All-Star Team charges. We have squads that are 10 years old to 18 years old. For information, call (352) 682- 1270 or 382-5343, e-mail freefall- elite@hotmail.com or visit. MFCS board slated to meet The Governing Board meet- ing of Mid Florida Community Services Inc. will be Wednesday at 10 a.m. at 820 Kennedy Blvd., Brooksville, in the confer- ence. Snippits to meet for sew-in Thursday The Snippits neighborhood group of the American Sewing Guild will meet from 9:30 a.m. to 2 p.m. Thursday, Aug. 2, at A White Sew & Vac in the Airport Plaza, U.S. 19 in Crystal River. This will be a sew-in to make cancer caps. Bring your sewing machine (straight stitch, no serger), thread, notions and soft washed fabrics if you have some. Patterns will be provided for the beanie style and reversible scarf. Some pre-cut caps will be available. There will be no meeting in July due to the holiday. How- ever, an informal UFO sew-in is scheduled for Thursday at Sue's home. Call her at 563-1586. An embroidery workshop fea- turing Toni Carroll will be on Sept. 10. Registration forms will be available at the July 12 or Aug. 2 meetings. The cost is $25 with a $5 kit fee. This semi- nar will fill up quickly so get your registration in soon to hold your place. The annual meeting is sched- uled for Saturday, Oct. 27, in Gainesville. The meeting will feature a member's fashion show and boutique. For more information, call Sue at 613-0687 or Jean at 746-2621. Pet SPOTLIGHT Set for pool plunge Special to the Chronicle Luci, who lives with Marie and Sam Nail, contemplates a refreshing swim. Hospice thanks partners RIGHT: Joe Foster, left, Hospice of Citrus County Public Relations manager, thanks Grand Knight Gene Fontaine for the continued support of the Knights of Columbus Abbot Francis Sadlier Council 6168, a Hospice of Citrus County Partner in Care. Hospice of Citrus County was the recipient of a donation in the amount of $1,000 presented June 19 at the Knights of Columbus Annual Awards Banquet. BELOW: Color Country Nursery and Garden Center, 1405 W. Gulf-to-Lake Highway, Lecanto, has been recognized by Hospice of Citrus County as a community partner. Color Country has offered planning expertise to Hospice of Citrus County, as well as generous financial assistance being uti- lized at the Children's Remembrance Garden at Hospice House. From left are: Robin Frazier, Color Country Nursery and Garden Center manager; Dee Peters, Hospice of Citrus County Community Education manager; Craig Collins, Color Country owner; and Joe Foster, Hospice of Citrus County Public Relations manager. Special to the Chronicle Auto drawing Post seeks younger members helps clubs For the past 12 years, drawing go back to children Steve and Jewel Lamb through the programs of both have donated brand organizations. Boys & Girls new vehicles from the Crystal Clubs of Citrus County use the Motor Company for the Boys & funds to purchase supplies and Girls Clubs of Citrus materials for club County to benefit the members to use children of Citrus during before- and County. In 1995, the after-school pro- first year of the draw- grams and during ing, they donated a the camps that are Mazda pick-up truck held when schools to be given away This are closed. Funds year, the vehicle is a are also used to shiny victory red equip and main- Corvette that sparkles tain facilities and with all the extras. Lane Vick to provide trained Tickets sold for the BOYS & personnel at club car give-away will ben- sites. efit two nonprofit GIRLS CLUBS The car drawing agencies, the Boys & is an important Girls Clubs of Citrus County and fundraiser for the Boys & Girls the Big Brother/Big Sister Clubs of Citrus County. As the organization. The winning tick- county population grows, so do et will be drawn July 14 at 2 p.m. the numbers of children, and at the dealership in Homosassa. club sites must expand to meet Although the lucky person the needs of county youths. holding the winning ticket Club sites are presently provid- does not have to be present to ed in Homosassa, Crystal River win, it is a fun event with and Inverness, with a new site refreshments and lots of to open in Beverly Hills in 2008. excitement and the public is Please help us to provide a invited to join in the festivities. "positive place for kids" at the Last year's winner was Kathy Boys & Girls Clubs of Citrus Kapulka, editor of the County by purchasing a ticket. Inverness Pioneer. Tickets cost You'd look great in a Corvette. $100 each and may be pur- __ chased from any BGCCC Board member, at Crystal Chevrolet Lane Vick is a staffmember of or by calling 621-9225. the Boys & Girls Clubs of All of the funds from the Citrus County. Special to the Chronicle Allen-Rawls American Legion Post 77, which meets in Inverness, is seeking younger veterans to join them. Jay Conti one of the youngest members of Post 77, a 44-year-old dis- abled, 21-year Navy veteran and veteran of Lebanon, Grenada, Pana- ma and Gulf War 1, said the aver- age age of post W members is 68. We have 481 have t members in our organization. But talk ab he worries that part of the prob- past. lem is miscon- ceptions about the organization. membe "Many young American Veterans have heard stories about Legionnaires getting together to drink and tell of their experiences in World War II and Korea," Conti said. "We meet to plan our future and approve methods to accom- plish them. We don't have time to talk about the past" The Legion raises funds to help Citrus County community children and local veterans in need. We provide funds for our community school children, awarding them school medals. ROTC awards provide funding for Boys State for children to go to Tallahassee to learn about state government The American Legion sponsors oratorical contests and schol- r L arship awards for high school graduates and hosts veterans in the classroom among other programs. Conti points out that help is needed with raising funds to provide these and other servic- es. Legionnaires sell raffle tickets, have yard sales on the future post building home site on the corner of County Road 581 and Amy Lane, le don't which we des- perately need ime to younger able vet- erans to help out the with, as we are just about ready to build our very own post home. Jay Conti Building the of Allen-Rawls post home will egion Post 77. come a lot soon- er than later, but we need younger and able veterans to help out Once we have the post home we plan to sponsor a Boy Scout Troop, and start a "Sons of American Legion Charter" among other community events. As you can see, the American Legion is community oriented. "We're trying to get younger members," Conti said. "When we die, where will the replace- ments come from? I would like to encourage veterans to join one of the veterans' organiza- tions, even if it's not ours, to help fight for the rights we have gained." Conti would like to see more former servicemen and women Men's softball league schedules organization Special to the Chronicle Mon- day at 6:30,7:30 and 8:30 p.m. at the Bicentennial Park in Crystal River. A USSSA umpire will officiate the games. There can be up to 20 men on a roster. All players must be at least 16 years old to play. If you are interested in entering your team, the manda- tory meeting that opens every new season will be July 17 at 6:30 p.m. behind field 5 at Bicentennial Park The meet- ing is to answer questions and to figure out what the new sea- son's house rules will be. The season's rules are factored by from the Vietnam era and after join the American Legion. H% would also like to see thl American Legion have a bigger voice in Washington. "There are very few veterans in Congress now. The number s have dropped off in recent years. There's less representa- tion. Not now with Iraq goinr on, but during peacetime, Congress usually pays les attention to the benefits ani rights of veterans." "We're looking for mor members. The more heads, the more ideas, and the better we can get things done." The organization meets the first Thursday monthly at :6 p.m. at the Key Training Center Facilities at 130 Heights Ave. in Inverness. We kick off the meeting at 6 p.m. with a potluck dinner as a family event and go right into our meeting with a separate meet- ing area for the auxiliary unit For more information about joining our veterans' organiza- tion, the our Web site as we haye downloadable applications to join both the post and the aux- iliary with the most recent vqt- erans' data all in one spot.[If you would like to help the Allen-Rawls American Legiqn Post 77 with its community projects and make a tax- deductible donation, send,,a check to American Legiqn Post. 77; RO. Box 1196; Inverness, FL 34450 or call Finance Officer Jay Conti pt 344-4122. meeting having the manager on each team fill out a questionnaire that, when tallied up, will determine the rules for that season. Call Recreation Program Specialist Jennifer Monday through Friday, 8 a.m. to 5 p.m. at 527-5758. *. i I :i )( 9UN-1-Y (r" UN ARAY J EVENING JULY 7, 2007 c: Comcast,Citrus B: Bright House D: Comcast,Dunnellon I: Comcast, Inglis R:f n 6:30f 07*ff 0 7*:30 8:00f 8:30l 9:0 0 :0IUO)U:U1IUI1 1 News (N) NBC News Entertainment Tonight (N) Live Earth: The Concerts for a Climate in Crisis (In Stereo Live) 'PG' 9 345755 News (N) Saturday 19 19 19 533 9 8281 8552 Night Live BBC World Florida The Lawrence Welk -Being Keeping Up As Time The Vicar of Office Fawlty Doctor Who Doctor Who 3 3 News 'G' Roadtrip Show 'G' 2007 Served Goes By Dibley 'PG' Gossip Towers 'G' 'PG' c Classic Gospel (In The Lawrence Welk Keeping Up As Time Being Waiting for One Season The Office Monty Monty 5 5 5 Stereo) 'G' 15945 Show 'G' 54804 Goes By Served God 'PG' 'MA' 97007 Python Python Ne (s' w NEC News Entertainment lTonigt (N) LiveCl, LOLiI ; STr ui i .. Ei arth:. -Cc- 38 2 3a Ci ( ) y 8 8 8 8 5945__ ] 70842 33823 NightLive News (N) Wrld News Jeopardy! Wheel of Movie: ** "Monsters, Inc." (2001, Comedy) America's Funniest Home News (N) Hot Topics 20 20 20 20 20 3939 Sat 'G' B 7262 Fortune 'G' Voices of John Goodman. RE 16668 Videos'PG'91303 2110991 'PG' News (N) CBS Wheel of Jeopardy! Cold Case "Superstar" (In 48 Hours Mystery (In 48 Hours Mystery (In News (N) Paid 10 10 10 10 4281 Evening Fortune 'G' 'G' cc 7945 Stereo) '14, L' cc 53674 Stereo) 'PG' 9 96858 Stereo) 'PG' 9 99945 2118533 Program SMLB Baseball: Regional News (N) E 50026 Cops(N) Cops 'P,' America's Most Wanted- News (N) Ec 59397 Mad TV Jamie Kennedy. 13 13 Coverage 'PG' IV '0 8587 Fights Back '14, D,L' 5[ 76200 News (N) Wrld News Entertainment Tonight (N) Movie: *** "Monsters, Inc." (2001, Comedy) America's Funniest Home News (N) CSI: Miami 11" 43129 Sat [S 98804 Voices of John Goodman. c9 18668 Videos 'PG' 93303 75465 '14, V Cornerstone Hour c[ Van Impe Blow- Scott Young Healing Leslie Hale 9E 8240945 Live From Liberty 'G' S[ Ed Young Wisdom 2 2 2 2 5843571 Pres Trumpet Touch 8147804 Television Keys News (N) Wrld News Inside The Insider Movie: *** "Monsters, Inc."(2001, Comedy) America's Funniest Home News (N) Cold Squad B 11 11 338281 Sat Edition 'PG' 21945 Voices of John Goodman. c9 72804 Videos 'PG' 91939 2337823 '14' Frasier 'PG' Frasier 'G' Access Hollywood (N) Mastermind Mastermind Cheaters Secret; cheat- Jerry Springer (In Stereo) "National Lampoon's E 12 12 70484 61736 'PG' cc 18620 s 'PG' s '14, V ing. '14' 9 14804 '14' [ 17991 Going the Distance" The Shield "The Cure" Seinfeld Every- Movie: * "Frozen Impact" (2003) Ted McGinley, American Idol Rewind Sex and the Sex and the 6 6 6 6 '14' [] 7504533 'PG' Raymond Linda Purl. (In Stereo) 'PG' [9 5066484 "CBS 8 to 7" 'PG' City '14, City '14, The King of The King of Friends '14' Friends '14' Movie: "Double Take" (2001, Comedy) Eddie CSI: Miami "Open Water" CSI: Miami "Shock" (In 4 4 4 4 Queens Queens cc 1674 [l 1533 Griffin, Orlando Jones. 38804 '14, V' B 57939 Stereo) '14, S,V' Raceline Steel CFL Football Toronto Argonauts at Hamilton Tiger-Cats. From Ivor Wynne Planet X 'G' Planet X 'G' The Nate Christian LB 16 16 16 16 'PG'50674 Dreams'G' Stadium in Hamilton. (Live) 9 649484 13200 99620 Gray Show Music MLB Baseball: Regional American Idol Rewind Cops (N) Cos 'PG, America's Most Wanted- News (N) (In Stereo) E9 Mad TV Jamie Kennedy. 13 13 Coverage 'CBS 8 to 7"'PG' 14200 'PG' O V' B 7723 Fights Back 13571'14, D,L' c 81571 Higher Marvin Variety 5216 Life Center Church Hal Lindsey Calvary in Rod Parsley 'G' c[ Sheila J. Mike Kingdom 21 21 21 Ground Jackson 419769 5741 Focus 421674 Spencer Murdock'G' Life 90151 . --- -, - 1 11rimo lkli'i -1.-i'-" Copa Ambrica Cuartos de Final. (En Vivo) 738858 SAbado 15 mPrimer Imnactof Inoticiron Univisin Diagnosis Murder (in Movie: th "Sioux City"(1994) Lou Diamond Lonesome Dove (in Stereo) (Part 2 of 4)'PG, LSV BodogFight (In Stereo) oeretS ) 'PG' M 42262 Phillins R R 33991 R 70668 h H I h H A Hi T h H se t A 54 48 54 54 I Sell es i 1 e II1 ell, s1s .I s...................s.. S 54 485454 HouseG' House'G' House! G' House'G' down duplex. 'PG' 347129 horrors.'PG'254465 nd Bodybuilder AM 55 6,4 55 55 Movie: ** "U.S. Marshals" (1998) Tommy Lee Movie: ***v "The Dirty Dozen" (1967, War) Lee Marvin, Ernest Borgnine. Movie: "The Dirty M 55 645555 Jones. Wesley Snipes. 970113 Premiere. Major turns 12 GI felons into commandos. 51058656 Dozen", War 27412804 52 3,5 52 52 Divine It's Me or Movie: * "Shiloh" (1997, Drama) Michael In Search of the King Wild Kingdom "King Movie: * "Shiloh" N 5Canine Ithe Dog 'G' Moriart Rod Steiger. Premiere. 2132571 Cobra 'PG' 0 8242303 Cobra and I"'G' 8149262 (1997) 9415571 V 74 Live Earth: The Concerts for a Climate in Crisis Scheduled performances include Madonna, the Police, Bon Jovi, Sheryl Crow, John Mayer, Kelly Clarkson, _[______4 Melissa Etheridge, Faith Hill, Fall Out Boy, Kanye West and the Red Hot Chili Peppers. (In Stereo Live) 'PG' cc 4839620 S 27 61 27 27 Scrubs '14' Scrubs'14' Scrubs '14' Scrubs '14' Movie: *** "Bad Santa" (2003, Comedy) Billy Larry the Cable Guy: Git-R-Done '14' Mind of 72842 63194 40755 69378 Bob Thornton, Tony Cox. c9 30842 c9 307755 Mencia'14 T 98 45 98 98 Hee Haw Willie Nelson; Hee Haw (In Stereo) Hee Haw Conway Twitty. Hee Haw (In Stereo) Hee Haw George Strait; Born Country Finding F 9845aron Young. 42200 23552 32200 29736 Statler Brothers. 22823 love. (In Stereo) 47378 I N 95 65 95 95 Mother Angelica Live Daily Mass: Our Lady of The Edge of Europe 'G' Bookmark The Holy Fr. John Corapi 'G' The Journey Home 'G' iClassic Episodes the Angels 'G' 9356674 9269194 'G' 5304939 Rosary 9355945 5636200 "Harry Potter and the Movie: *** "Harry Potter and the Chamber of Secrets" (2002, Fantasy) Daniel Radcliffe, Rupert Movie: *** 29 52 29 29 Sorcerer's Stone" c9 Grint, Emma Watson. A malevolent force threatens the students at Hoqwarts. cc 905858 "Beetleiuice" 870668 [fcR 30 60 30 30 Movie: * "Friday Night Lights" (2004) Billy Movie: "The Hot Chick" (2002, Comedy) Rob Movie: "The New Guy" (2002, Comedy) DJ 30 60 30_ Bob Thornton, Derek Luke. 7868465 Schneider, Anna Faris. 9270200 Quails, Eliza Dushku. 5395281 HG1 23 57 23 23 Design Design 24 Hour House Designed to Spice Up Color Divine Design on a Design on a Get It Designers' U_ 2 5 2 2 Remix 'G' Remix G' Design 'G' Hunters 'G' Sell 'G' My Kitchen Splash 'G' Design 'G' Dime (N) 'G' Dime 'G' Together 'G' Challenge T 51 25 51 51 Band of Brothers (In Band of Brothers (In Movie: ***' "Braveheart" (1995, Historical Drama) Mel Gibson, Sophie Marceau, Patrick McGoohan. (1i ) 51 25 51 51 Stereo) 'MA' 9 95275804 Stereo) 'MA' c9 36962858 Premiere. A Scottish rebel rallies his countrymen against England. c9 4352842 Movie: * "Baby for Movie: "When Secrets Kill" (1997, Drama) Movie: * "Gracie's Choice" (2004, Docudrama) Army Wives _24 38 24 24 Sale"'P, DL' cc Gregory Harrison, Roxanne Hart. 'PG' c9 869571 Anne Heche, Diane Ladd. 'PG, D,L,V 791571 "Independence Day" (N) iMC 28 36 28 28 Fairly Fairly Fairly Fairly Fairly Nicktoons Nicktoons Nicktoons Home Fresh Fresh Fresh OddParents OddParents OddParents OddParents OddParents TV 809804 TV 536571 TV 978668 Videos Prince Prince Prince Movie: "Final Movie: **, "Final Destination 2" (2003, Horror) Movie: "Death Valley: The Revenge of Bloody Movie: "Legion of the [ 1 59 31 31 Destination" (2000) All Larter, A.J. Cook. cc 2490649 Bill" (2004) Chelsea Jean. c9 6981736 Dead" 3529718 PIE 37 43 37 137 UFC 73 Countdown: Movie: *** "Enter the Dragon" (1973) Bruce Lee. A kung fu Movie: *** "House of Flying Daggers" (2004) Takeshi SSherk vs. Franca (N) 'PG' expert is sent to infiltrate an island fortress. 156991 Kaneshiro. Two lawmen hunt a powerful rebel leader. 890823 49 23 49 49 1 Movie: * s "Father of the Bride Part 11" (1995) The King of The King of The King of The King of The King of The King of Movie: * "Best in SSteve Martin Diane Keaton. c[ 897194 Queens Queens '14, Queens Queens Queens Queens Show" 976281 53 "Nevada Movie: ** "Big House, U.S.A." Movie: *** "Topper" (1937, Comedy) Cary Movie: ** "Road Show" (1941) "There ___ ____Smith" (1955, Drama) 1042262 Grant, Constance Bennett. 5068842 Adolphe Meniou. 2095674 Goes" 53 34 53 53 MythBusters 'PG' 9 MythBusters Alarm solu- MythBusters "Grenades Super Comet: After the Impact 'PG' 242620 Man vs. Wild Australia's 968281 tions. 'PG' [ 263113 and Guts" 'PG' 249533 outback. 'PG L' 670649 50 46 50 50 Flip That House "Tina; Flip That House 'G' cB Property Ladder 'G' cc Flip That Flip That The Real Estate Pros Property Ladder 'G' 9] Neil" 'G' [ 287194 582026 664674 House 'G' House 'G' 'P L' 581397 982262 48 33 48 48 24X24 NASCAR on TNT Live! Count, NASCAR Racing Nextel Cup Pepsi 400. From Daytona International 24X24: Wide Open With 1__83 4 Gordon (Live) c 321823 Green Speedway in Daytona Beach, Fla. (Live) cc 73375910 Jeff Gordon cc R59 54 9 9 Yellowstone: America's Top Ten Wonders of the World Poker Tour 'PG, L' 1060769 5 Takes Latin America World Poker Tour 'PG, L' _AV)_ 9 54 399_ First National Park 'G' West'G' 6111213 "Columbia" 'PG' 7561754 c9 5578571 TvL 32 75 32 32 Movie: *** "The Negotiator" (1998, Suspense) Samuel L. Jackson. AMtop Andy Griffith Andy Griffith Andy Griffith Andy Griffith Andy Griffith Andy Griffith police negotiator is accused of committing murder. 241826211.I S 47 32 47 7 Movie: "Coyote Burn Notice "Identity" EB Law & Order: Special Law & Order: Special Law & Order: Special Law & Order: Criminal S 47 32 47 47 Ugly" (2000) 880939 983945 Victims Unit '14' 896465 Victims Unit '14' 989129 Victims Unit '14' 982216 Intent '14' [] 203991 W N 18 18 10 8 18 American Idol Rewind MLB Baseball Chicago Cubs at Pittsburgh Pirates. From PNC Park in WGN News at Nine (N) Sex and the 24 '14, V CBS 10 to 8"'G' 834026 Pittsburgh. (in Stereo Live) 9[ 471668 c9 558674 City '14, 9 664649 SATURDAY EVENING JULY 7, 2007 C: Comcast,Citrus B: Bright House D: ComcastDunnellon 1: Comcast, Inglis c B D 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00 10:30 11:00 11:30 DS~N 46 40 46 46 A Even Even Hannah Zack & Cody Hannah Life With Emperor American Thats So Life With Zack & Cody Hannah 46 40 46 46 Stevens'G' Stevens'G' Montana'G' Montana'G' Derek'G' New Drgn Raven'YT' Derek 'G' Montana'G' l 39 6839 39 '".att Movie: **s "The Outsider" (2002, Romance) Tim Daly, Naomi Movie: "Avenging Angel" (2007) Kevin Sorbo, Wings Walker, Texas Ranger arp" Watts, Keith Carradine. '14, S,V' [ 5328804 Hauser. Premiere. 'PG, V t 8152736 "Flashback" 'PQ V Boxing Mb'vie "**u "The Transporter 2" Movie: *** "The Devil Wears Prada" (2006, Assume 201 Boxing Lamon Brewster vis. Wladimir (2005) cc 8572168 Comedy) Meryl Streep. cc 627397 Klitschko. (In Stereo) 468991 : "'Walk the Movie: *** "Nighthawks" (1981) Movie: ** "Poseidon" (2006) Josh Lucas, Kurt Movie: ** "Miami Vice" (2006, Crime Drama) Line" Sylvester Stallone. 6317823 Russell. (In Stereo) c9 97206804 Colin Farrell, Gong Li. c9 5453026 lV 97 66 97 97 My Super My Super Making the Band 4 (In Real World Real World Real World Real World Real World Real World Real World- Real World- Sweet 16 Sweet 16 Stereo) 774804 Vegas Vegas Vegas Vegas Vegas Vegas Rd Rd 71 The Animal Extractors (N) Explorer "Ultimate Bear" America's Deadly Dozen Africa's Deadly Dozen 'G' India's Deadly Dozen 'PG, America's Deadly Dozen k-71 8189842 'G'4674571 'PQ V 4650991 4670755 V 4673842 'PQ V 3057858 (PLEXp 62 Movie: **** "Hannah and Her Movie: ** "Babes in Toyland" (1986) Movie: *** "A CivilAction" (1998, Drama) John Movie: "Not Without My Sisters"(1986) 9 41113194 Pat Morita. 'PG' 83879026 Travolta. 9 6999656 Daughter"7763736 CiNB 43 42 43 43 Paid Paid Live Earth: The Concerts for a Climate in Crisis (In Stereo) 'PG' l 7089113 Program Program I CNN 40 29 40 40 Lou Dobbs This Week This Week at War 892649 CNN: Special Larry King Live 'PG' CNN Saturday Night CNN: Special ] 40 294040 513755 Investigations Unit'PG' 881533 884620 Investigations Unit'PG' U RT 55 25 25 9 Forensic Forensic Forensic Forensic Forensic Forensic Body of Body of Body of Body of Hollywood Hollywood S 25 55 25 25 Files '14' Files'PG' Files '14' Files '14' Files'PG' Files '14, V Evidence Evidence Evidence Evidence Justice '14, Justice'PG' (i] 44 37 44 44 The Beltway Fox News Fox Report 6997397 Geraldo at Large 'PG' E9 Heartland With John The Line-Up (Live) Jml Edit. Rpt The Beltway V Boys Watch 6079945 Kasich (Live) 6986281 6996668 Boys fi MSNBC 42 41 42 42 Unfinished Business Deadly Mission 6993571 Murder by the Sea MSNBC Investigates MSNBC Investigates: The Murder by the Sea 5016113 6979991 Louisiana. 6999755 Vampire Killings 2583303 SPN) 33 27 33 33 So4rtsCenter (Live) O Horse RacingAmerican Arena Football Playoff Teams TBA. (Live) 555533 SportsCenter (Live) cc 466533 400484 Oaks/Cash &all Mile._______I_______ EPN 34 28 34 34 2006 World Series of 2006 World Series of 2006 World Series of Rock Paper Scissors Baseball Tonight (Live) World's Strongest Man Poker c[ 5421755 Poker 09 5660723 Poker c9 3660543 National Championship 6010264 Competition 1251262 F FL 35 9 Inside the Rays on MLB Baseball Tampa Bay Devil Rays at Kansas City Royals. From Kauffman Best Damn Sports Show International Fight League .5 39 35 35 Rays Deck (Live) Stadium in Kansas City, Mo. (Live) 845200 Period 186026 FGLF 67 Post Game European PGA Golf Smurfit European Open- Third Round. From Golf Central Primetime Masters Highlights Masters Highlights Show Kildare, Ireland. 7843552 (Live) 9405200 9588587 5993910 1*UN 36 31 36 36 Gridiron Greats 331668 Gridiron Greats From Nov. 22, 1997. 314991 To Be Announced 932945 Boxing: 2006 Gonzalez vs. 3Maldonado 9V he PlusCode nun 'm gram is for use w I tern. If you have a ture (identified by the -ll11 you need to do to ni nber printed next to each ith the Gemstar VCR Plus+ a VCR with the VCR Plus- VCR Plus+ logo on your' record a program is ent' The channel lineup a -~ JJ~~LZ~d 4 - ---J w qw 9 I Sa* a & . - ~ f- 4 -- 0 * - S - -. S 0 S . 9 A 9 a a * * * * * * * * 0 - 0 - - * ~0~ -.* 0 4 - - 0~ w - ~ 0 * * - pro- PlusCode number, cable channels with the guide channel numbers using " sys- If you have cable service, please make sure that the convenient chart printed in the Viewfinder. This Il * + fea- your cable channel numbers are the same as the procedure is described in your VCR user's manual. VCR), channel numbers in this guide. If not, you will need to Should you have questions about your VCR Plus+ sys- er its perform a simple one-time procedure to match up the 'tem, please contact your VCR manufacturer. for KLiP Interactive cable customers is in the Sunday Viewfinder on page 70. -- "Copyrighted Matei :A m Syndicated Conten Available.from Commercial News rial- t F' ~ -O C -- C 55**.. &* . Providers" j *- a ** 5 0 hi-W ^^^f~~~ *^^^ - D I 171 -.aim I I - - -- plllRm. .Ulylblvll .-I .-I . Ao r-- SATURDAY. TULY 7, 2007 7C CoNTY (FL) CHRONIC E C UIKu *,l ENTERTAINMENT I ews (N lbaturd y mi ate in Cris e -F-KI .....ml\ INAr.Mpwq lFntprlpinmpntTnninht(N'il ft #AOM - * Q Sdb 4 b o SC SATURDAY. IUIY 7, 2007 COMICS 4 1. .~e t \ CITRUS COUNTY (FL) CHRONiCA'. -- -- -- - -- ---- -- -- -- - * g o o o 0 0 -- 0 - 0 ~ - a * - - *-f - C - a' w i - .7 ,. .* si..-. %a db *** p 4 %W & aqWP - SIP ,B- -. *-. -a'm - * S a ** -a e4 O * 0 - m- 4 % b m ap *ow qmp .%* . -a- *lol *f , 4 4 J Sm * W--L a Available fro 40 , i... .. 4 pyrig hted' Mater indicated Content m Commercial News S F, ---'4 0 ial -- Providers" 'C' 4 .0 M 0" A aot a- ? db, dw 0 o so fI p r I'k 7,' T | ^ ,, .E r. i < i. ,o i =7 60- . -0100 "0 9,,.'. I 0 0 -~9 I4kp 44. . Gdo fame v* 0 9 o l . b m . alu_ _* * *- a- 0.0. S. 9 * O e e o.. o. ,p ,i -, i o 0 - * -~ *. * - 40 she 4 41b " b - _ - I - I 0 ~ * 0 0-~ - 0 - a - m * 0 0 -.0 - . a ~0 - * e S. m 0 0 - q- 4- -4w 0 Oft.0 -400 .-S .E -S ~ ml0 -0w mb- ddb0 mow -- - O-gmmt 0 40.--0 WAN--m- -.NN di- 40. 4w- ~ - --w dub D D q q C - - f m Mb La - 0 0~e 0. . 4,41o' 10 e f ________ o~ 00. - a - 0.0 'e - - S. - 1 'p ql =S "We "0W -. -W 4 -o f * *w~ S"Co p j*36' G6TRus COUNTY (FL) CHRONICLE Classifieds CLASSIFIEDS SATURDAY, JULY 7, 2007 9C To place an ad, call 563-5966 Classfieds In Print and Online All The Time Pa -t e - V~e* I He -liances Lost c- _____ ____ ___c=_A Beagle/Jack Russel Mix SOD SOD SOD* Real Estate * Female, Wht. w/blk. BANG'S LANDSCAPING ee* 0 0 * .. eO 9000o0 OOe. Christian widowed lady, oaring, sense of humor, skeks gentleman friend, I )60+ Reply Blind Box I 1341-Pc/o Citrus 4Tounty Chronicle, 106 w. Main St., Inverness, I FL 34450 SWCF, blonde, loves art outdoors. Like to find 6 kind gentleman 31+ Reply Blind Box 1340P ! c/o Citrus County Chronicle, 106 W. Main Ot., Inverness, FL 34450 I SWF 58, not petite, I ooking for SM 40-65 Lwho knows how to laugh, enjoy company _ & maybe more. (352) 422-3419 RENTALL FINDER S rentalfinder.com ---- --m E I$CASH WE BUY TODAY Cars, Trucks, Vans rt LFREE Removal Metal, Junk Vehicles, No title ,OK 352-476-4392 Andy Tax Deductible Receiot 4 FREE GUINEA PIGS FREE CHICKENS To good homes only. (352) 302-4515 10 mo old red nose pit 3mo old kitten (352) 400-3827 $$CASH PAID$$ Wanted Vehicles Dead or Alive, SDale's Auto Parts J 352-628-4144 $ CASH PAID $$ REE $10.00 Gas Card the Purchase of your Jnk Car, Truck or Van. (352) 860-2545 $ CASH $ I PAID FOR Unwanted Vehicles I 352-220-0687 U --- --- El 50" BIG SCREEN RCA TV needs work. (352) 527-9724 Black & White Female Puppy-Mixed, Medium Free to good Home. (352) 726-7106 employment source! Classifieds -SiISIISSISS Chlhuahua Mix, 10 wks. old. & LAB Husky Mix, 6 mos. old. Both females FREE to good homes only. MUST HAVE FENCED YARD (352) 628-4000 COMMUNITY SERVICE The Path Shelter is available for people who need to serve their community service. (352) 560-6163 or (352) 746-9084 Leave Message FEMALE BOBTAIL CAT Housecat, spayed. Declawed, shots + extras 352-621-6871 Free 42 x 67 Mirror You Haul (352) 249-1068 Evenings FREE HORSE Rusty is lame & unrid- eable but gentle & loveable. 344-3095 FREE KITTENS & 1 YEAR OLD CAT, Maine Coon. (352) 465-6460 FREE KITTENS TO GOOD HOME. (352) 400-1329 *FREE REMOVAL OF. ATV's, bikes, cars, jet skis mowersjacuzzi's, We sell ATV parts 628-2084 FREE REMOVAL Of unwanted hsehold. & Garage Sale Items. Call (352) 726-9500 FREE TO GOOD HOME 5yrs. old. Wht. Shepherd mix. Loveable, needs fenced yard. Needs to be only dog. (352) 621-9229 Free to good Home Black Lab Puppy Male 5 mos. old (352) 726-8651 FREE WOOD Fireplace or Smoker Wood. U-load. No Pine. Short Logs. 726-9128 KITTENS barn cats and kittens some Siamese 352-220-8843 MUST GIVE AWAY Fem. Pitbull, 1to 1 1/2 yrs. no papers. Exc. with children. (352) 637-3253 SATELLITE RECEIVER w/Remote (352) 563-2988 SMALL BLACK PUP W/white chest. Free to good home. 3mos. (352) 726-6957 The Path Shelter will pick up your unwanted vehicle Tax deductable receipt given (352) 746-9084 WE PAY CASH FOR JUNK CARS Top $$ paid $$ Toll Free . (888) 480-1170 (2) PUPPIES FREE TO GOOD HOME LAB/AUSSIE MIX (352) 628-6826 $ $ CASH PAiD $ $ Junk Cars, Trucks, Vans No Title OK, Call J.W. (352) 228-9645 2 MALE TIGER STRIPED CATS, 6/27 in Pine Ridge, 1 without tail, REWARD (352) 746-5076 spots. Vic. Pine Ridge. 7/4 (352) 270-9069 CAT, Orange Female Vic. Pine Ridge. 7/4 (352) 270-9069 CAT-LONG HAIRED Grey & White, Palm Springs, Crystal River REWARD! 563-7035 Lost Dog Dark hair, female German Shepherd, Indian waters/Days Inn, CR (352) 283-0694 Lost Female Cat Grey & white, needs meds, lost near country club, cortlandt, Reward 727-919-4434 239-770-8985 Missing Dog, Med. Sz. Brindle, neutered Male, Tropic Terrace, July 4 (352) 795-1288 ShiTzu, blk & white, male, name "Gizmo", lost Inverness Highland area Call April or Bob S DIVORCES 1 BANKRUPTCY S Name Change | SChild Support I Wills 6 We Come To You 637-4022 .795-5999 Pyinting Hats, Shirts, Jackets & more! 352-344-1978 RENTAL FINDER " S rentalfinder.comA % Sod, Trees, Shrubs (352) 341-3032 West Coast Christian School Needs Donations of CoLputeri Working or Not Donations are Tax Deductiblel Please Contact Kathy 352-228-1146/795-8099 MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS BUYERS AGENT COMMERCIAL SALES (352) 422-6956ri (352) 628-1036 and read 1,000's of Items sold everyday using the Chronicle classified. Call today and we'll help you get rid of your unwanted stuff. (352) 563-5966 (352) 726-1441 -S Fero Memorial Grdns. Grdn of Peace #270J; on hill under oak tree, easy road access. Value $2,395/$1650 813-909-4003 Iv. msg. Your Website Chronicle Webslte Directory in print I and online. Our search engine will link customers directly to your site. In Print = One Price $51.95 (3 lines of copy I for 30 days) Header and 3 Webslte Address Call Today: (352) 563-5966 S wheels.com CITRUS COUNTY REAL ESTATE Get The Value of Your Home oastilving.n .com NEWSPAPERS online.com Real Estate Information Homelnfo.com flnder.com REALESTAT[E homefront.com RENTALS rentalflnder.com -EiH SCHOOL AGE TEACHER FT Experience required CDA preferred TODAY'S CHILD (352)344-9444 HAIR STYLIST F/T. HR or up to 60% Comm. Pd. vac. Sue 352-628-0630 or Cindy 352-637-7244 immediate Positions Available Hair Stylist Nail Tech Massage/Facial Room Available Beautiful Day Spa, Cit. HOUSEKEEPING POSITION At Lake Rousseau RV Park. 25/hrs. wk. Call 352-795-6336 or 352-220-9228 Au. oseolg DaysiEB ACTIVITY ASSISTANT FT NEEDED Exp. preferred. Please apply at; Diamond Ridge Health & Rehab 2730 W Marc Knighton Ct Lecanto, FL EOE Arbor Trail Rehab has a new opening: *RN Weekend Supervisor Come join a great team We offer excellent benefits: *401K/Health/ Dental/Vision *Vacation/Sick Time Apply in person Arbor Trail Rehab 611 Turner Camp Rd Inverness, FL EOE ARNP Exp'd, F/T for Busy Doctors office and Nursing Home. Send Resume To: (352)795-7898 C.N.A.s Avante at Inverness Is currently accepting applications for 3-11 & 11-7 Fulltime C.N.A.s Please apply in person at: 304 S. Citrus Ave. Inverness or fax resume to 352-637-0333 or " email to tcypret@ avantegroup.com DIETARY AIDE/ DIETARY COOK P/T Available to work AM or PM shifts as needed. Room for advancement. Apply at: Cypress Cove Care Center 700 SE 8th Avenue Crystal River, FL 34429 NO PHONE CALLS PLEASEI EOE/DFWP AIDE Nights, F/T or PT, some lifting. (352) 795-3117erest Blvd. Crystal River, Fl 34429 NOW HIRING Experienced, Caring & Dependable CNA's/HHA's Hourly & Live-in, Flexible schedules offered. $10.00/hr. CALL LOVING CARE (352)860-085 NURSES Avante at Inverness is currently accepting applications for Fulltime 3-11 Nurses and Part-Time 7-3 Nurses. Please apply in person at: 304 S. Citrus Ave, Inverness or fax resume to 352-637-0333 or email to tcvprelg avantegroup.com Part time Front Office Clerical Assistant Needed afternoons for eye doctors office, experience preferred. Apply in person West Coast Eye Institute, 240 N. Lecanto Hwy, Lecanto, FL 34461, questions contact Colleen at 746-2246. ext 834. PHLEBOTOMIST/ MEDICAL ASST. Needed for Family Practice Office, Inverness. Work exp. necessary. Fax resume to 352-726-5818 RN NEEDED Agency for Persons w/ Disabilities, 20/hrs. wk. Duties: Visit group homes in Citrus & Hernando Co. Some time spent In Wildwood office. Please fax State of Florida App. To: (352) 330-2726 Any questions, call (352) 330-2739 CMA NEEDED I ALL STAR I I Professional Staffing Services 352-560-6210 RN/LPN CNA/HHA'S New competitive pay rates. Call Interim Health Care (352) 637-3111 EARN AS YOU LEARN CNA Test Prep/CPR Continuing Education 341-2311/ Cell 422-3656 RN/LPN Rewarding position work- ing with adults recovering from mental illness as part of an Assertive Treat- ment Team providing psychiatric rehabilitation in the community. Active FL RN/LPN license req. Must have clean driving record. Apply LifeStream Behavioral Ctr. 515 W. Main St. Leesburg or online at DFWP/EOE -I-- CRT MUSIC DIRECTOR Exp.choir director, part time, job desc. & applica- tion First United Methodist 3896 S. Pleasant Grove, Inverness 726-2522 *COOKS Exp. preferred. High volume environment. COACH'S Pub&Eoterv 114W. Maln St., Inv. 11582 N. Williams St., Dunnellon EOE Deli/Bakery Seeking Responsible/Flexible Counter Help and Exp. Baker Apply in person 915 SE US Hwy 193CR (352) 795-9453 F/T LINE COOK Exp'd, nights. 352-447-5572/447-2406 Hiring Professional, Experienced LINE COOK For upscale C. C. Restarount. Bring Resume to:2100 N. Terra Vista Blvd. Hernando. or Call (352) 746-6727 LINE COOKS, DISHWASHERS Apply Black Diamond Country Club HR. 3073 W. Shadow Creek Loop, Lecanto, FL EOE DFWP WRITE YOUR OWN PAYCHECK Exp. phone Sales Reps Needed. Call 352-628-0187 AUTO SALES We're Growingl | Build Your Career IMMEDIATE OPENINGS! New & Pre-Owned Lucrative Income, Exc. Mgmnt Team. Onslte training. Full Medical, Dental, 401K. Reasonable Hours. We promote from within. Apply In person to Randy or Rob.' JENKINS MAZDA 1730 SW College Rd. I SR 200 Ocala EXP'D AC SALES PERSON Preferred, Will Train Top Pay 352-726-1002 A/C Exp. Installers & Sales People Top Pay 352-726-1002 APPLIANCE TECH Needed 5 days/wk BRISCOE APPLIANCE (352) 344-2928 AUTO BODY WORK/PAINT Exp'd, must have Drivers lic, 352-613-4532 DRIVER CDL, Class A For Local Wildwood Company 2 years experience. Paid Hourly, $13/hr, 40-50 hours week. Home every night. Pneumatic Experience a plus. 352-330-2213 CONCRETE HELPERS Needed. Top Pay. 352-465-4239 r "LEC TICANS FOR SERVICE Gaudette Electric I Inc. Apply Online Today! SElctrc-- om EXP STUCCO LABORERS Must have own transportation. 352-302-0895 LABORERS Accepting applications for GENERAL LABORERS Opportunities Include travel positions for those Interested. F/T w/ benefits package. PAVE- RITE INC 3411 W. Crigger Ct., Lecanto. 352-621-1600 DFWP/EOE MAINTENANCE/ SUPERVISOR Wildwood Manufacturing company is looking for maintenance worker. Must have 3+ years experience In Industrial Maintenance. Welding/Fabrication and 3-phase electrical experience req'd. Excellent pay and benefits. Call: 352-330-2213 or Fax resume to: 352-330-2214 OTR FLATBED TRUCK DRIVER CDL, 2 yrs. exp. Clean record. DFWP (352) 697-1703 S QUALIFIED - SERVICE TECH Must have experience and | current FL Driver's ULicense Apply in person: Daniel's Heating & Air I 4581 S. Florida Ave. Inverness Is seeking persons to work with developmentally disabled. Call (352) 637-3635 DELIVERY SUBSTITUTES NEEDED Experienced newspaper delivery agents needed to substitute routes. Flat rated payments weekly. Choose your own days! Call 563-3201 and leave a message. Experienced only need apply. ROUTE DRIVER Driver needed for a fast paced portable toilet route. Must be drug free and able to pass a back- ground check. CDL a plus. 352-527-9160 DOCK HAND Boat Cleaner, Grounds Maintenance Person. Must work In all outdoor conditions apply at River Safari 10823 W. Yulee Dr. Homosassa (352) 628-5222 EXP. DELI PERSON & CASHIER 352-527-9013 - 6 Station Beauty Salon US Hwy 41 S., Inverness $25K John Hoffmeister, Franklin RE Consult. 352-476-7236/341-1365 Are You Connected? Internet Users Wanted $2,000-$5,000. a month Free Information www. rwgreatllfe4me.com FOR SALE 17 Yr. Jewelry Business Everything New! Turnkey with or without inventory. 89 W. Gulf to Lake Hwy. (352) 527-2556 ILLNESS FORCES SALE!I $100K Invested! SALE FOR $50,000 Landscape Curb Co. Est. 1990, rfitabLe Riutable Citrus/Marion Co. Sm. Investment, Bia TERI PADUANO REALTOR (Hablo Espanol) FLRealEstateSale.com Century 21 J.W. Morton Real Estate, Inc. (352) 212-1446 COMMERCIAL & RESIDENTIAL THRIVING PZZA & SUB Take-out BZ $144,900 Lg. cust. base. Growth oppor. for Hands-on Owner. PROFITABLEII Owner will train. Doris Miner at C-21 JWMorton nE sAA _i~I / 7 AA.AA vx/ garage aoor, 2 vents, 4" concrete slab INSTALLED- 15,995 25x30x9 (3:12 Pitch) Roof Overhang 2-9x7 garage doors, 2 vents, entry door, 4" concrete slab INSTALLED- S$16.495 Many Sizes Avail. We Custom Build We Are The Factory Fl. Engineered Plans Meets or Exceeds Florida Wind Code METAL STRUCTURES LLC.COM 1-866-624-9100 metalstructureslic.com WE MOVE SHEDS 352-637-6607 "LIVE AUCTIONS" For Upcoming Auctions 1-800-542-3877 M-w OLD RECORDS 45s & Albums $75/set. (352) 621-0168 -^9SuB^^^ A+TsPASniCOM A+SPAS.COM Authorized Hydro SPA DEALER 5 Person, 15Jets $1,950 6 Person, 40jets $3,650 (352) 572-7940 *FREE REMOVAL OF. ATV's, bikes, cars, jet skis mowersjacuzzl's. We sell ATV parts 628-2084 A/C & HEAT PUMP SYSTEMS. 13th SEER & UP. New Units at Wholesale Prices 2 Ton $780.00 -* 2-/2 ton , 13 SEER, FROM $475. 352-400-4945 APPLIANCES Must sell range, ref. w/Ice, & dishwasher 550.00 Call Scott Rose @ 407-923-9903 APPLIANCES White matching. Kenmore Ref. w/Ice, Self-Cleaning Stove, Frigidaire Dishwasher $400/set; Kenmore Elec. Range & Indoor Grill $50 (352) 422-2863 Clothes Dryer $65 cash (352) 344-2752 Refrigerator Kitchen Aid Black, ice maker, top freezer, 21 cu., like new, used two months $399. (352) 795-7397 WASHER or DRYER $150/EA. w/trade in 90 Day Warranty Repairs Avail. 628-4321 WHIRLPOOL WASHER & DRYER $300. Call 352-489-9585 WHIRLPOOL washer/dryer $200 OBO (352) 726-9831 Leave Message. 4" ROTARY TABLE For Milling Machine w/clamps & wooden box. Like New! $45 (352) 527-2292 CAMPBELL HAUSFELD GENERATOR 5000W New $350 (352) 362-7832 Mechanics hand tools, to many to list 1 large tool box (352) 795-5234 25" COLOR FISHER TV Exc. Condition wood console 2 free standing Fisher Speakers $100 (352) 795-2643 35" TV RCA ProScan. $149. Not HD but works great. (352)726-9575 40" HIGH DEFINITION TV with 2 matching stands, $850. Good condition. (352) 302-9440 51" TOSHIBA $600 OBO 19" MAGNAVOX COLOR WITH STAND $50 OBO. MOVING MUST SELLI(352) 220-6362 CERWIN-VEGA Speaker Set 5" Tweeters, 10" Woofer 26" H X 14 1/4" W $75 (352) 382-3771 HD 30" SANYO Flat/Wide Screen. Perfect! $350 (352) 465-4234 SONY 46" HD REAR PROJECTION TV WITH STAND $500 (352) 382-7335 16' Pine Fence Board, $5.50@; Cherry lumber, $2.00/ft. Rough sawn, air dried, 352-212-4122 AMP 1.1Ghz, Processor 256k memory, DVD, HPCDRW, 3.5 floppy drive, HP4L laser printer, No monitor $200. (352) 795-1763 DIESTLER COMPUTERS Internet service, New & Used systems, parts & upgrades. Visa/ MCard 637-5469 KUBOTA 3cyl diesel. PS, 3pt hitch, 4' mower. $5,000 (352) 746-4703 PATIO SET Lanai Oblong Table & 6 chairs +Cloth Cush. Exc. Condl $135; Lg. Fiberglas Octagon Table $50 352-637-2032 SOo&u ..... set I W^ A1W:JW J MAA1A S --pyrgnteu riviainai 9 Syndicated Content 1 Available from Commercial News Providers" 0 10 *3, 4.1 I1 n<-= ., ..-.s (C. ...-. .()f1- A/C Tune up w/ Free permanent filter + Tenrite/Pest Control Insp. Lic & Boned Only $44.95 for both. (352) 628-5700 caco36870 r--- m ADVERTISE YOUR BUSINESS IN THE SERVICE DIRECTORY TODAY! $$$$$$$$$s$$$$$$$ Its Less than Pennies per day per household. $$$$$$$S$$$$$$$$$ IF WE DON'T HAVE YOUR BUSINESS CATEGORY. JUST ASK. WE CAN GET CALL TODAY (352) 563-5966 MARY'S PRECIOUS PETS Pet Sitting Service (1521 cOm1C5IA "U CALL/WE HAUL" Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 r AFFORDABLE, I HAULING CLEANUPS, I PROMPT SERVICE I Trash, Trees, Brush, I AppL. Furn, Const. I I Debris & Garages | 352-697-1126 All Tractor/Dirt Service Land Clear, Tree Serv., Bushhog, Driveways & Hauling 302-6955 DOUBLE J STUMP GRINDING, Mowing, HaulingCleanup, Mulch, Dirt. 302-8852 D's Landscape & Expert Tree Svce Personalized design. Stump Grinding & Bobcat work. Fill/rock & Sod: 352-563-0272 R WRIGHT TREE SERVICE, tree removal, stump grind, trim, lns.& Lic #0256879 352-341-6827 WEST LANDSCAPERS Tree trimming and lawn service. 352-422-6917 A TREE SURGEON LiUc. & Ins. Exp'd friendly serv. Lowest rates Free estimates,352-860-1452 DRUM LESSONS Prof. drummer, Music field 50+ yrs. 794-0265 Glory Recording Studios Carpet, vinyl, & tile All ise encomeal We r 1 A+ Mr.Fix It l PI rof. painting, Pres- sure washing. Home repairs, Gutter cing I & Screen repair. I 1 220-9326/382-3647 SLic#99990255609 VChrls Satchell Painting & Wallcovering.AII 24 RUDY'S PAINTING * Interior/Exterior Pressure Cleaning FREE EST. (352) 476-9013. Lic#99990001273 Bob, 352-220-4244 BATHTUB REGLAZING Old tubs & ugly ceramic tile is restored to new cond. All colors Upholstery Cleaning Free est. Formal Carpet Cleaners. 352-628-0112 MR. TILE CLEANER Cleaning & Sealing Floors, showers, lanal Res./Commercial 352-586-1816, 746-9868 HOME CARE Compassionate, exp'd, & respectful to your loved ones. CNA reg. in FL Call Beth 257-9115 CHILD CARE Professional child care in my home. Pre-school setting. Twenty yrs. exp. Licensed / Insured M-F vni a.tAI uiuiin l rating & Wallcoverlng.All PHYLLIS' CLEANING SVC Homes/Offices/Condos 20+ yrs exp.* ref's avail 352-795-1443 Spiffy Window Cleaners Superb service at a reasonable Rate lIc. & Ins. (352) 503-3558 * The Window Man * Beats any Est. by 10% Com./resid., Lic. & Ins. (352) 228-7295 * For more Info. on Aerating SAcreage Aerating SFertilizing & Seeding Levy (352) 447-4017 Citrus (352) 287-9207 i "o Family Enterprises Free Estimates Lawn Aerating, Lawn Dethaching, Leaf Clean-Up & Removal, Bush Hogging, Haul Away Service AFFORDABLE CABINETS & COUNTERTOPS (352) 586-8415 COUNTERTOPS Re-laminate or replace your countertops. Mica or Wood Cabinets Avail, (352) 795-5300 Additions-Kitchens Bathrooms Decks, Woodfioors Ceramic DJM Constructors Inc. LIc. &1326910 (352) 726-1708 HOME or COMM. Renovations. We sell & Install ICF's (Insulated Concrete Wall Forms) Uic#CBC1250751 Ins. No job too smalll Affordable rates. Ron Whitehead, BIdr. Major C.C. Acc. 352-628-4211 ROGERS Construction New Homes,Additions Florida Rooms. 637-4373 CRC1326872 smalil 24/7 . Lic3008 352-341-1440. Uc. 352-726-3878 a #1 A+ Mr. Fix Iti Prof. painting, Pres- sure washing, Home repairs, Gutter cing & Screen repair. I | 220-9326/382-3647 SUc#99990255609 #1 A+TECHNOLOGIES All home repairs. Also Phone, Cable, Lan & Plasma TV's installed. Pressure wash & Gutters Lic.5863 (352) 746-0141 1 Call does it AIII Noob toosm, Remod., Home Repairs, Press. Clean., etc. CRC1326431 (352) 746-9613 Andrew Joehi Handyman. General Maintenance/Repairs Pressure & cleaning. Lawns, gutters. No Job too small Reliable. Ins 0256271 352-465-9201 3rd GENERATION SERV All types of fencing, General home repairs, Int/Ext. painting FREE Est., 10% off any job. Ic # 99990257151 & Ins. (352) 201-0658 A# 1 L&L HOUSEHOLD REPAIRS & PAINTING No job too small! 24/7 Lic3008 352-341-1440 -----E r AFFORDABLE HAULING CLEANUP, I | PROMPT SERVICE | Trash, Trees, Brush, Appl. Furn, Const, I SDebris & Garages | 352-697-1126 FASTI AFFORDABLE! RELIABLEI Most repairs. Free Est. Lie # 0256374 (352) 257-9508 Handyman Wayne Lic 34151, 352-795-9708 Cell 352-257-3514 Wall & Ceiling Repairs Drywall, Texturing, Painting, Tile Work, Framing. 30 yrs. exp. 344-1952 CBC058263 STAYLER AC & HEATING, Inc. FREE Service call w/repair this mo. Ins. 628-6300. CACO 58704 DUN-RITE ELECTRIC INC. Elec. Serv./Repairs. New const. Remodel Free Est 726-2907 EC13002699 Electrical Service Calls Res./Comm. Lie & Ins. Comp. #EC0001303 352-726-7337/302-2366 FULL ELECTRIC SERVICE Remodeling, Lighting, Spa, Sheds Lic. & Insur. #2767 (352)257-2276 "U CALL/WE HAUL" Misc. Clean-Up, Tree Service & Demos 352.447-3713/132-2898 Roof Cleaning Specialist The Only Company that can Keep Mold & Mildew Off Siding Stucco Vinyl Concrete Tile & Asphalt Roofs GUARANTEED! Restore Protect Beautify Residential & Commercial Suncoast Exterior Restoration Service Inc. S877-601-5050 352-489-5265 WhYour Bus SiWi your Busi ness Adle J. Vaughn Roofinga. Inc. New Roofs, Re-Roofs & Repairs; C.C. accepted Ins/Uc CCC1327365 (352) 795-6659 John Gordon Roofing Reas Rates Free st. Proud to Serve You. ccc. Scdewaks, Driveways Paios, dabs Free est. Lic. 200. Ins. 795-4798 Decorative concrete, River rock, curbing & concrete, Fuston's River Rock (352) 344-4209 ROB'S MASONRY & CONCRETE Slabs, driveways & tear outs r AFFORDABLE, HAULING CLEANUPS, I PROMPT SERVICE I Trash, Trees, Brush, Appl. Furn, Const, I I Debris & Garages 352-697-1126 - -- --- xl All of Citrus Hauling/ Moving Items delivered, clean ups.Everything from A to Z 628-6790 C.J.'S TRUCK/TRAILERS Furn., apple, Uc. #1 in Service Hise Roofing New const. reroofs & repairs. 25 yrs. exp. leak spec. #CCC 1327059 (352) 344-2442 FREE ESTIMATES Honest & Dependable Bath Remodeling. LIC.#2551 352-266-1600 JD Drywall Top Quality WorkI Lic#2791 Free Est. (352)476-2342 Neal Construction LLC Drywall Repair/New Construction. Free Est. Lic/Ins. #1816 287-1743 ROCKMONSTERS, INC. St. Cert. Metal/Drywall Contractor. Repairs, Texture, Additions, Homeowners, Builders Free est. (352) 220-9016 Lic.#SCC131149747 Tractor/Dirt Service Land Clear, Tree Serv., Bushhog, Driveways & Hauling 302-6955 M.H. & House Fire demolition, land clear- ing, tree brush removal (352) 634-0329 TREE REMOVAL, Landclearing, Fill Dirt, Bush hogging, (352) 563-1873 TURTLE ACRES BUSHHOG SERVICE Boxblade, Front Loader & Stump Grinding 11, 'lqgNA90-911 I NFRMATION A. L MN .M RAM Landscaping & Lawn care, Specializing In Pruning. Call Me (352) 637-6588 SOD SOD., Lic, CUTTIN' IT CLOSE LAWNCARE + Quality, Dependable Service FREE ESTIMATES (352) 476-7836 LAWN SERVICE We do re-sodding and patching. Free Estimate 795-4798. Lawnccire TOTAL PERFECTIONS LAWN CARE 20 yrs exp. Res &/or Commercial. Dunnellon 352-427-2604 Inverness 321-228-9123 Single Mow, Wkly, Bi-wkly or Monthly plan Trimming, Edging & You fill it Dumpster Service. Lic & Insured AQUA BLUE POOL SERVICE Weekly pool service, Reliable 352-489-9699 EVERCLEAR POOL SERV, 10 yrs exp., We offer : Reliable and Quality. Service (352) 344-5122 George Fisher Pools : PleaseCleanMvPool. corn WEEKLY POOL SERVICE 422-6123 POOL BOY SERVICES Aqua guard, Epoxy, Coatings, Acrylic Decking. Lic./Ins. B 352-464-3967 ; POOL DOCTOR Wkly. & Monthly Maint, Repairs & Acrylic . Decking. 352-212-7272 POOL REPAIRS? Comm. & Res., & Leakt detection, lic. 2819, ' 352-503-3778, 302-606* R.C. (GATOR) EDSON Pump Serv, Well Drilling Ins'd, Uic. 9397 ' 352-637-2519/302-6217 WATER PUMP SERVICE' & Repairs on all make & models. Anytime, 3442556UNTY RichardLTY ALL/WEAN NUSSOL" 3.9% Listings BUYERS AGENT 352.447-3713/232-2895 SRAINDANCERALTY 6" Seamless Gutter i Best Job Availablelli i Lic. & ins. 352-860-0714 ALL EXTERIOR ALANUMINUSSOM Quality Price. t 6" Seamless Gutters Lic & Ins 621-0881 PRO EXTERIOR SYSTEM Safe & Effective Low Pressure Roof Cleaning 5yr. warr 352-400-5028, .10 P 3 A 11WI Al. 111] 0 New & Re-Roofs HFlat & Low Pitch * Roof Repairs Commercial Residential Shingle Metal Built Up Roof Torchdown Shakes nr st al I ar ons (352) 628-2557 Lucksroof.com Roof Inspections Available Drug Free Workplace State Certified Lic. #CCC1327843 Ultra Seal Roof uarwd Elimatenold, mildew and algae. FOrms a mn woIliic seal Extend roof life ;save onenergycosts Rejuvenate your roof $495.00 up t 3000ooosq. ft. 628-1027 A Services for People Who Want Results In Print and Online Daily - CIRCLE SOD FARMS INC. RESIDENTIAL & COMMERCIAL INSTALLATIONS Travis Leturno Larry Leturno Fax 352-628-5552 352-400-2222 Lic. & Ins. Larry 352-400-2221 I5IFOR ATI N LA MAINT .AN Citrus pringsSpeia $-2.5.,00 sxcummy, jury 7, 2007 = o CITRUS COUNTY (FL) CHRONICLE, .L DECLASSIFIED Additions-Kitchens Bathrooms Decks, Woodfloors Ceramic DJM Constructors Inc. Lic. &) Llc#CBC1250751 Ins. No job too smalilll Affordable rates. Ron Whitehead, Bldr. Major CC. Acc, 352-628-4211 Wall & Ceiling Repairs Drywall, Texturing, Painting, Tile Work, Framing. 30 yrs. exp. 344-1952 CBC058263 We do it ALLI Big or Sm.l Additions, BA & Kitch., Drywall,Crown molding, Demo. CRC 1326431 (352) 746-9613 Bathroom remodeling, handicap bathrooms. Lic/Ins. #2441 795-7241 CUTTING EDGE Ceramic Tile. LUc. #2713, Insured. Showers, Firs, Counters Etc. (352) 422-2019 SSAxTURDAY, JULY 7, 2007 11C 4 ~ ~jL ,t.pvr., Li!5~), 2008 LANCER r 9 *' ^ ; 4' I dl V * Kl , ^ < <} ; it s , f ' **' r * . i^ rf Jl" "" ^Q iuy ^ ^^ "i ^ ** * .; < :' ? ^ vW V3Vf" '41 "N $ i ^ t0,VV W 1 GE P J * POWER WINDOWS, LOCKS, MIRRORS * ANTI-THEFT * CRUISE * KEYLESS ENTRY * 17" ALLOY WHEELS * FRONT, SIDE, CURTAIN AIRBAGS FREE 24 HOUR RECORDED MESSAGE ABOUT THIS VEHICLE 800432-1415 XT 2807 J 07 ECLIPSE $0 7 HOUR ORNDEA k 01 ABOUT THi VWIHL (000 EA411VR T04 07 ENDEAVOR $19,H888W *PER MONTH* k ~ IFIVI 24 NOUN RECORDED MESSAGE ADOUTP T41 VEMICLE 00044261141 S VIT 2800 %A 5!j 2006 2006 2006 2005 2005 2005 2004 2004 2003 2003 2003 AIANT IN A!OI LANCIR 9LANI INfIli ICLIPSI INDI TOR GALLANT LANC ICLIPSI GAL T j OCALA MITSUBISHI I 2200 SR 200 (352)622-4111 (800)342-3008. 2008 ECLIPSE 6 I ;RIM! 11. OUR RECOREDMas8Gla AIROUT TMIS VINL 8 015148 T mt 07 GALANT 14,888 REE 24 HOUR RECOR DED MESA ABOUT THIS VEHICLE 00342A-1415 EXT 205 * POWER WINDOWS TILT STEERING * POWER MIRRORS ADVANCED FRONT AIR BAG * 140 WATT AM/FM/CD PLAYER 188 PER MONTH* FREE 24 HOUR RECORDED MESSA ABOUT THIS VEHICLE '^S^ ftfa^^fl M 3S 12C SATURDAY, JULY 7, 2007 CImi s Co LN7' (FL) CHrRONIctU Cimus COUNTY (FL) CHRONICLE SATURDAY, JULY 7, 2007 13C CITRUS COUNTY (FL) CHRONICLE I4C SA-lIii-mAY- Im- 7. 2007 r Copyrighted Material l Syndicated Contentyf Available from Commercial News Providers" L dJ - - PATIO SET PVC, Neutral Color, Very Good Cond. Rect. Table, 2 End Tables. 7 Chairs, 1 Chaise, W/cush. & Wheels $600 (352) 382-2743 W (2) RECLINER COUCH AND LOVE SEAT Teal color, leather $400 gently used. (352) 344-1118 3 Pc. Bedroom Set Thomasville, Qu. Bed, Chest of Drawers & Nightstand. $300 (352) 613-6799 9 PC. Cherry Wood Dinning Room Set Table, 6 chairs, buffet Mirror & padded cover $500. (352) 637-5656 PRE OWNED FURNITURE Unbeatable Prices NU 2 U FURNITURE Homosassa 621-7788 66X40 GLASSTOP TABLE $35; LIFT CHAIR, $85. (352) 621-9229 Almost new double mattress with boxsprlng, 100. Sealy twin mattress, no boxspring, $25 (352) 726-2922 BEDROOM / DINETTE Queen bedroom $600. Dinette w/ corner shelves $150. 352-382-7992 BEDS BEDS -** BEDS The factory outlet store! For TOP National Brands Fr.50%/70% off Retail Twin $119 *. Full $159 Queen $199 / King $249 Please call 795-6006 China Cabinet, 2 pieces, 54" light wood- grain with elegant glass front and mirrored back. Amish made. Like new $400 352-560-3743 CITRUS HOME DECOR @ Homosassa Regional, Conslanment, like new furniture (352) 621-3326 Couch 3 Pc Oval, blue floral pattern, dual recliners, re upholstered with in last yr. $499. obo (352) 344-4215 CURIO CABINET $125 (352) 795-3088 Daybed w/ trundle, white metal frame, incl. two matresses, very nice condition $150.obo (239) 848-6433 DINING / SOFAS Nice 12 piece dinning room set $600. 2 small white sofas, one hide a bed $250. 352-382-7992 DINING ROOM SET Formal, Table w/6 chairs, Leaf, China Closet. Walnut. $100 (352) 489-6582 DINING ROOM Solid Cherry Thomasville Table w/6 chairs, $600. HUTCH/BUFFET $600. Exc. cond. Dunnellon. (352) 465-1807 Dining Room Table wood, 61x42, 6 chairs, padded, 2 leafs.$ 175. Gun Case, 6 racks, locks, glass door $60. (352) 726-0708 DRESSER, w/9 drawers, $50; SOFA & CHAIR, Tan fabric w/wicker trim $75 (352) 726-0708 LA-Z-BOY LOVESEAT Green & white. $100; (2) Lt. Green Shag Oval Area Rugs (8' & 6') $60/set. (352) 465-6588 LA-Z-BOY LOVESEAT RECLINER $150. Very gd. cond (352) 637-5227 LG. CHAIR & OTTOMAN Almost new striped blue/tan cottage style. $225 QU. SLEEPER SOFA 1yr. old denim, Exc. Cond. $450 (352) 382-7335 LIVING ROOM SET Near New Leather Sofa & Loveseat Pd, $2,500/ Sell $1,300 obo (352) 302-6797 LOVESEAT "Small couch" $45; LAWN MOWER Needs Work $10 (352) 637-5103 LOVESEAT Burgundy w/plillow design, exc. cond. $100 (352) 302-9440 MURPHY BED DELUXE Queen size with top of the line mattress. Price Negotiable. (352) 637-0321 Preowned Mattress Sets from Twin $30; Full $40 Qn $50; Kg $75. 628-0808 Rattan Dinning Set, 6 chairs, w/ cushions, very good cond. $400. (352) 560-7335 r ENTAL FINDER rentalfinder.com --m- --- E Round Wrought Iron end table w/24" glass top, $35. Queen Anne Side Chair, $25. Both In very gd. cond (352) 637-5227 SOFA Beautiful white on white, exc. cond. $150; PATIO SET 60"x37" Glass top table with 4 cushioned chairs, $75 (352) 465-9177 The Path's Graduates, Single Mothers, Needs your furniture. Dining tables, dressers & beds are needed. Call (352) 746-9084 2 Used Mowers Push or power runs good. $40 & $75 (352) 344-5021 10 HP MTD Chipper/Shredder $350 (352) 795-8705 CRAFTSMAN RIDING MOWER 42" cut, Hydro static transmission, Ready to cut, $450 (352) 628-2769 pdrts 628-2084 LIKE NEW! JohnDeere L100 17hp 42in $800. Craftsman Auto dyt4000 24hp 42in $700.302-2279 Murray Riding Mower 42" cut, 14.5 HP, Briggs & Straton, $260 firm. (352) 382-3940 Beverly Hills Fri & Sat., 6 & 7, 9a-2p, 28 S. Lee St., Double hoop basketball game, furn, tools. Craft items, yard stuff & more Citrus Hills Fri. & Sat. 8am-lpm Lots of Misc. 317 E. Samuel Court, Across from Cit. Hills Lodge off 486 CITRUS SPRINGS Fri. & Sat, 8-2 2143 W Greenway PI. CRYSTAL RIVER 7/7 7/8 & 7/14,7/15. 8-? 4907 W Cyrus St. CRYSTAL RIVER Fri., Sat., & Sun. 9-5 Tools, Collectibles, misc 8201 W. Oak St. CRYSTAL RIVER Wed.-Sat. 8-1 Moving Sale. Collectibles. Everything must go]l 431 NW 14th PL. APT. 1 HOMOSASSA Saturday, July 7, 9a-2p 1334 S. Candlenut Ave. INVERNESS 7-2 Sat-Sun Multi-family sale. Heatherwood follow signs. INVERNESS Multi- Family Fri.8& Sat. 8-2 Furn., H.H., Appl., Tools 6521 E. Mockingbird Ln. INVERNESS Saturday 8-? 865 N. Leisure Pt. Off Turner Camp Rd. INVERNESS Saturday 8-3 3385 S. Crossbill Lp. LECANTO Giant 3 family Garage Sale, Every thing must go. Great' Items of all kind. 1309 N. Prospect Ave. Timberlane Estates off 486. 7/7/07 Pine Ridge Sat. July 7, 8am-? 3186 W. Birds Nest Dr. 1970 BASEBALL CARDS 150 Cards for $60 1965/1966 BASEBALL CARDS 140 Cards for $90 JOE (352) 344-9502 BOOM BOX PORTABLE STEREO Phillips/Magnavox $75; (352) 746-9545 BURN BARRELS * $10 Each Call Mon-Fri 8-5 860-2545 CHAIR. BIKE Black leather office chair $25. Weslo exercise bike $25. (352)726-9575 MIRRORS 61 x42 49 x 42 $50/SET (352) 628-2590 PARROT/ MACAW CAGES 2 Large used cages $50, $75. 904-707-8665 PRIDE SONIC SCOOTER Easily transported. $500; OFFICE COMPUTER DESK, Corner Configuration $200 (352) 344-1929 ROAD MASTER TOW BAR Self aligning, with quick disconnects, folds and stores on front of car. $125 352-527-0081 Singer Sewing Machine, vintage, 1960's in table, works fine. 6 drawer sewing chest, full of thread & sewing supply $60. 352-422-3875 Famnilly/Youth Events Land, Storage Racks, Containers, Folding Tables, Event Tents. Bus, Box Truck. Please call: Brian (352) 220-0576 HOSPITAL BED Remote controlled, $500 OBO (352) 621-0271 Motorized Wheelchair, brand new, 1 yr old. $2,000. abo 352-746-4458,613-3006 BUYING US COINS Beating all Written offers. Top $$$ Paid (352) 228-7676 AMPLIFIERS 1 GUITAR, 1 BASS $50 & $100. (352) 257-3261 PEAVY10 MIXER LIKE NEW UNDER WARRANTY W/RACK EARS $150.00 352-220-3452 WEIDER FREE WEIGHT Small Bar Set. Approx 2001b of weight. Bench press & misc. parts. $150. 352-489-9144 '99 CLUB CAR, Top, windshield, utility box, enclosure & headlights $2,295. (352) 400-4945 BOW Bear White Tail Legend. 65 lb., w/qulver & arrows. $150 (352) 592-4455 FOLDING TRAVEL BIKES Inc. Bag. $75 ea. (352) 302-6313 RUGER Hand Gun, 22 rim fire, Std, Model 6" barrel w/leather holster. $250;LUGER Erma 22 rim fire, Target pistol, 4" barrel. $350 (352) 382-0744 THE BATTERY MEDICS Golf cart battery sets 6V &8V $225 Includes delivery, Installation & 1 yr Free Replacement Warranty Contact Mark @ 727-375-6111 WE BUY GUNS On site Gun Smithlng (352) 726-5238 4 x 6 ft. Custom Box Trailer w/ removable, canvas covered over- head frame 16" wheels, like new tires, w/ spare, $275.(352) 382-4004 '04 Haulmark Trailer set up for two motorcycles, 6 ft x 12ft, 1,500 ml., $3,000. obo (352) 621-4611 '05 TRANSHAUL TARTAN 6x10x6 V-nose enclosed tri. Rear ramp door, side door, e-track, chock++, setup to haul motorcycle. $2,500 (352) 344-2416 5X8 w/gate, w/ad $650 5X10 w/gate w/ad $699 EZ PULL TRAILERS 6532 W Gulf to Lake Hwy. CR Baby items, carseats, high chair, $50 takes all (352) 726-2922 -4B12 11 ACCOUSTIC & ELECTRIC GUITARS Bass, Banjo, Uke, Mandolin, Amps, Effects. Any age/cond. We get you top dollar. Do not sell anywhere else. M-F 10-6 563-1779. Lab Pups BIk/Choc., block heads, $450.-$500. (352) 613-2527 AKC SHIH TZU 13MOS. OLD. white, male, unneutered. 81bs, Housebroken. All shots. $500. (352) 860-1516 Blue American Pitbull Terriers. ADBA Reg. Great temperament Short & Wide $600-$800 352-613-0263 BLUE FRONT AMAZON Talks, 7yrs. old. Male, Nice cage on stand included. "Pocko" $500. (352) 613-4913 Humanitarians of Florida Low Cost Spay & Neuter by Appt, Cat Neutered $20 Cat Spayed $25 Dog Neutered & Spayed start at $35 Low cost shot clinic Tues, Weds & Thurs 1st & 3rd Saturdays 10am-4pm (352) 563-2370 Male Boxer, 1-'2 yrs, all shots current, neutered, Great w/kids & animals, $200/obo (352) 726-7969 Miniature Dachshunds 3 females, 8 wks old, ready July 5, $400. ea taking deposits. (352) 563-1479 POODLES Standard AKC Show, pedigree, home raised & trained. For more info 352-529-0331/262-3907 PUREBRED SIBERIAN HUSKY PUPS Very loving adorable and great with kids. (352) 270-3776 SCOTTISH TERRIERS Black Beauties, AKC, health cert. 10 wks. old, $400. (352) 220-6691 VERY TINY Female miniature goats. 4mo old. Not African Pygmy. (352) 795-7513 2 HORSE TRAILERS Both Need TLC $600 OBO 352-628-1277 ARAB REG. MARE Also Appalossa Mare Bombproof, $1000 ea. obo. (989) 297-0443 GELDED DONKEY Chocolate Brown, 1 yr. Very gentle. $500 (352) 564-2865 REG QH 2 ponies, 1QH/arab cross. 352-220-8843 L^^- GREENBELT 4-8MOS OLD CALFS ALL BREEDS. Ranging from $300-$500. (352) * 628-1190/813-763-3856 utilty rm, near boat launch & lake, 2 decks & fenced yard, $140,000 (352) 793-2586 BEST OF BEST 5 yrs. ina row TAYLOR MADE HOMES Clearance sale- all models will sell at Invoice. All 2007's must gol Come by and save, homes starting @ $32,900. Call 352-621-9181 jcE oileHoe 1BR unfurn $400; 1BR RV Park Model, turn., $325; IBR, scr.rm, crprt $525 NoPets/Smoke628-4441 CRYSTAL RIVER 2/1 CLEAN, No dogs $500/mo.352-447-0333 CRYSTAL RIVER 2/1, $500/mo +1st, Ist, sec. (352) 795-9518 CRYSTAL RIVER Single wide, just N of Crystal River. Good Cond. $600mo call 352-628-6207 FLORAL CITY 2/1 $450/mo. No Pets (352) 201-0714 FLORAL CITY Lrg. priv. lot. No pets, no smoking. 1st, last, sec. credit ck. (352) 344-8213 HERNANDO 2/1 Scrn. prch, sm. inside pet ok. $495 Inc. garb. & pest control. 1st/lost/ $400 sec. 352-344-0502 HERNANDO 2/2 Hwy 200&491, $525+ 1st, last & sec. 352-341-0903 HERNANDO 3/1.5 Neat & cozy on 1 wooded acre; $650 mo. (815) 985-1647 HOMOSASSA 1/1 & 2/1 $400 &$450 mo. 1st, Ist, sec. 634-2368 HOMOSASSA 2/1/2 $450/mo. Ist/Ist/sec 352-795-6862 HOMOSASSA 2/2 3ac. No smok. Ref. $600 1st Ist sec. 352-302-6924 HOMOSASSA 3/2 DW sits on 1.5 prlv.ac. Quiet, nice neighbors. $600, 1st, last, sec. Walter, (561) 248-4200 INGLIS I and 2 Bedrooms, Pool, Pets OK, From $350., (352) 447-2759 INVERNESS 2/1 Furn, new stove,Crnr lot, $550 (352) 201-1222 INVERNESS 2/2 $500/mo. $500 dep. (352) 726-8354 INVERNESS 3/2 3/2, Newer DW, on 1/2 acre, W/D hkup fenced in $650. mo, (813) 843-2105 INVERNESS 3/2 Big DW, CH/A, fenced, crprt. porch, deck,shed, farn.rm $750 228-1196 LECANTO 2/2 w/ add, laundry, CHA, new interior, 5acres fenced, high & dry, horses & pets ok, $850+ Utilities, 1st & Sec.(352) 249-1091 NE Citrus Cty. 2/1 near St. Rd 200 & CR39, paved st. quiet area. No smoking/ pets. $425/mo,1st/ Ist /sec. (352) 447-5998 SUGARMILL WDS 3 bdrm DW, no pets. $650/mo. $650 sec. IncI lawn, maint. Trash pu & wtr. 352-382-1076 HOME ON 1/2 ACRE Must sell 3/2, 28x52 on end of road, quite, home has deck. Sacrifice $3,000 down, $745/mo. Mobile Home 2/11/2, Carport, furnished, son room. 55+ park $16,000. (352) 634-5544 NEW MODULAR PALM HARBOR HOME 3/2 Completely taped & textured interior. Stucco finished exterior * 2 car garage on nicely landscaped lot In residential area of Homosassa. Make reasonable offer. Financing Available. Call for directions & Open House dates. (352) 794-7308 RARE OPPORTUNITY! 200 ft. Frontage w/ mobile on Homosassa Trail zoned MDRM Ron Egnot 1st Choice Coldwell Banker. 352-287-9219 Small Park 55+, 2/1, completely furnished Leaving Country Just Bring Your Tooth- brush & clothes (352) 228-2239 Ac D- _ RENTAL FINDER . | | Srentalfindercom New roof & stove, prvt. street, $44,500, Owner finan. (352) 201-1222 3/2, 1/4 Ac. Crystal Rvr Near airport. Handyman Special. $55K OBO. Contact negot. No owner finan. (352) 746-4596 4/2 Palm Harbor Triple Wide. Loaded w/tile & all appli's. Huge cvr'd porch. New in-ground pool. Lg, site built block Seri stfnt sp av .ae l fe -ACMON:. MaeE. Hager I-- CRYSTAL RIVER 3/2 Huge DW 27 X 52 Garen Tub. Sky Light, 2 Decks. Citrus Trees, New Roof & AC, Maint. free. $78,900. 352-563-6591 CRYSTAL RIVER 5/2 Bonus room, FP, wood floors & tile, V2" drywall thruout, 9x42 scm. country prch. on lac. $125,000 (352) 442-9603 HOMOSASSA-Cheaper than rent & you own it! New 3/2,'/2 Ac. 1,814 SF, D/W Finish. Crown moulding T/O. All Up-Grades! $0 Downl Call (352) 746-5918 INVERNESS Newly Renovated Ready for Occupancy! 2/1 on 1/2 Ac. 0% Down $4151m. 352-746-5912 Momma's Moving North 3/2, Over 2 Ac., $2,500 dwn. $750/mo. 4/3 on 1 Ac. Must Sacrifice! $2,500 dwn. $795/mo. FORECLOSURE 3/2 on 1/ Ac. $1,500 dwn & $605/mo. NEWI 4/2, 2,380 Sf. on MosI 55+ PARK COMMUNITY 14 x 65 2/2/crpt, Encd. FI. Rm, New AC, roof, appl, carpet, vinyl, paint In/out. $18,500 352-464-0926/628-3303 Crystal River, 2/1, 14x48 1985, close to all convenience. Sm. Park Low lot rent. $8,900 (352) 795-0640 9am-3pm DUNNELLON 2/2/CRPT. 55+ Comm., Hot Tub, Many Appl. $87,600 Margaret Baker, EXIT REALTY (352) 422-0877 FOREST VIEW ESTATES Great Loc. Pools, clbhs. & more. Move-in ready, .comp. furn. 2/2 DW, wheelchair. acc.shed & sprklr. $55,900. (352) 563-6428/ 352-563-1297 FORESTVIEW DW 2/2/ccaport, semi furn,. iew water heater, all appliances. lots of extras. $37,500. (352) 795-3549I 5 55+ Gated Community Phone 352-795-7161 OPEN SUNDAY 2-4 $$$32,900.$$$ LOVELY 2/1, Open Fl. plan, master walk In, AC, appl's, new rf. 55+ gated comm. w/ pool clubhouse & activities 5405 S. Stonerldge Dr. Inverness 352-344-5805 -al RENTAL FINDER wwwchronicle | Srentalflnder.com 291plW p, i&dn ,,, HOMOSASSA S2 H0 e,R k $h,,,,,,, INVERESS 322 2 yha ni0,,, 75 TRUSPRINGS 3 Su rte "''$9,,,.,,,,,,, 9 SUGARMLLODS HER*ADO 3255+gat m ny, .... $975 CMMECA AVAflABLE RENTALS July 7.8, 2007 CRYSTAL RIVER 2/1 Ap. $600 2/2 WF Un umished $850 2/2 WF Fum. Islands Condo $1200 CRYSTAL GLEN 2/212 $850 CITRUS SPRINGS 3/2 $900 BEVERLY HILLS 2/1 w/ bonus room $675 Storage Units 12x12x20 $100.70 See additional rentals at HOMOSASSA 3/2/2,,1 year New apple. included, $800 + dep. (941) 928-5067 HOMOSASSA Prime comm. office space directly across Hwy. 19 frm. Sugarmill Woods. $15/sf. No CAM (352) 302-0764 Property Management & Investment Group, Inc. Licensed R.E. Broker >- Property & Comm, Assoc. Mgmt. is our only Business >- Res.& Vac. Rental Specialists >) Condo & Home owner Assoc. Mgmt. Robble Anderson LCAM, Realtor 352-628-5600 Infoforopeftv manaamentaroua. I--__j r RENTAL FINDER rentalflnder.com CRYSTAL RIVER 1 & 2 BR, W/S/G ncl. $600 (352) 503-5234 BR w/boat dock, scrn. porch, util. incl. $700/ mo.+ sec.(352)628-6537 Apts./Studios Inglis $350-$600 All utilities. (352)447-2240 CANDLEWOOD = COURT APARTMENTS 2 BR Apartments now available. I Starting @ $530/mo. Please call 10(352) 344-1010 307 Washington Ave. Wed., & Fri. 8am to 5pm Equal Housing Opportunity l--i------ J Crystal Palms Apts. 1 & 2 Bdrm EasyTerms. Crystal River. 634-0595 Cr RYSTAL RIVER & INVERNESS I ONE MONTH FREE I 1,2 & 3 Bdrm/Studio S(352)795-2626 CRYSTAL RIVER Seven Rivers Apts. 1 & 2 bedrooms, clean, quiet. Close to mall & hospital. Complete laundry facilities, No application fees, (352) 795-1588 Equal Housing Opportunity HERNANDO 2/1 Very clean, $550/mo. Sec. dep. 352-527-7842 Homosassa 2/1 $500, 1st, last & Sec. No pets: 352-628-7300 or 352-697-0310 INVERNESS 1/1 Clean, quiet area $425+ 1st, last, sec. 352-464-4211 INVERNESS Lg. 2/2. W/D hu. Scrned in lanai, $625 mo. 1 yr. lease. (352) 344-9024 INVERNESS, 2nd Fir. Near hospital & dwntn. 2/1 Comp, remod. & spacious, all apple. Inc. Prvt. parking & ent. $1,075/mo. lst/Ist/$500 sec. No smoking/pets. (352) 726-8512 x. 2808 Rent-to-Own Brand New Home 3/2/2 Low Down, Easy Terms Danny (352)875-5645 .~ ~, - 2700+ sq ft Bldg. Can divide Into Med/Prof/Retail Pine 'Ridge. Your floor plan. (352) 527-9013 Proffesslonal Office Space for rent. approx. 1120sf. $1050/ mo. (352) 302-2726 CITRUS HILLS 2/2 $800/mo HOA Is incl. $800 dep. 678-863-3271 CRYSTAL RIVER 2/2.5 Condo, Townhouse at the Islands.,, Furnished, pool, tennis, $1300mo. 1st, & Sec. Waybright Real Estate Inc. 352-795-1600 Royal Oaks 2/2/1, Spacious Villa w/screen porch, overlooking' priv. backyard. Amenities Incl. new appl., cable, pool, clubhouse, w/activities, lawn maint, water,.sewer, RV & boat parking, No smoking. Avail. 8/1/07. 1 yr lease will rent w/ option to buy.$850 mo. (352) 422-0179 SUGARMILL WOODS Villa, near golf course. 2/2/1 No pets. $800 mo. 1st & last, sec., Lawn Maint; Included (352) 382-0741 ' 2/1 INVERNESS Lg, w/grg. Spotless, Priv. $695. (352) 422-3217 CRYSTAL RIVER & INVERNESS I SONE MONTH FREE | 1, 2 &3 Bdrm/Studlo (352) 795-2626 L no wi m= i, i= X1 CRYSTAL RIVER 2/1 Beach Ln. $650/mo. (352) 634-4336 CRYSTAL RIVER 3/1 CHA, util rm.Trash incl. $550 1/1 Canal Front,W/D, Carport $490. mo. (301) 785-9996 INVERNESS 2/1 W&D H.U. Priv. St. no pets/smoking. $550+1st & sec. (352) 637-5598 INVERNESS 2/1 W/D, garb. Incl, $650.mo. 1st., last $300 sec. (352) 746-4611 INVERNESS 2/1, W/D. $575/mo. Ist/lst/sec 352-344-2993 INVERNESS Brand New 2/2, w/ W/D $675. mo,754-224-7955 Inverness/Lecanto 2/2/1 New Clean Quiet $675/mo (352) 527-9733 LECANTO Spacious 2/2/1-1/2 car gar, scrn porch, no pets, non-smoking, all appli, WD hookup $700/mo, 2138 sil- verhill, 352-422-6548 HOMOSASSA Completely furnished. Electric, cable, water, trash. Quiet area. $160 week. (352) 628-7682 INVERNESS, 1st Fir. Near hospital & dwntn. Comp. remoad., W/D stack, util. incl. (except phone & cable) $585/ mo. lst/Ist/$500 sec. No smoking/pets. (352) 726-8512 x. 2808 VALUE INN HERNANDO Renovated Efficiencies, Phone, Pool, fish pond AC, $50. dally. $300. wk Trailers $225 wk, (352) 726-4744 BEVERLYHIL / CITRUS SPRINGS. /-ol-1- -m 3/2/1 near tennis, golf,, o e park. Terrazzo floors, 563-07/678-874 large screened porch. $2,385 to move in. CITRUS SPRINGS 2/1 $795/mo rent. Avail Remodeled. W&D now. 352-489-1411 C/H/A, sm pet ok. $650 (609) 457-9349 Citrus Springs 3/2/Z NEW $850/mo. No ,1 County Wide smoke/pets. Ls. PurchK View ALL at: Opt. 352-560-0229 CITRUS SPRINGS -Luxury homes & 3/2/2, New Home, All'. Townhomes For Rent amenities, Lawn service -Citrus Hills* 3 bdrm S eery ills: 38bdrm incl.. $825. ma., 1st, last,' S*IOMOIL2&3 Bdrm sec. (954) 415-2056 *Jnveress 2/2 Apts CRYSTAL RIVER 3/ Great American $775 Near hospital. .l Realty (352) 422-6129 (727) 631-2680 '- FLORAL CITY 2/1 CRYSTAL RIVER 3/2 inround pool, $650 Nice, clean, $800 mo' CITRUS SPRG. 3/2/1 352-795-6299/697-1240, Bg in rnd. pool, $875; Dunn./Goldie Pt. .;ni INVERNESS 2/2/2 River Garden Subdv. 2/I, $750; (352) 586-4105 could be a 3/1 Conc?; HOMOSASSA Block Home, Lg. Yrd,- lHOMOSASA PRed. to $599/moin '; SMW, Rent Buy Neg. (352)669-2253 Owner flnanc. $275,000 OTHER HOMES AVAIL . Exec. home 3/2/2. 3 ml. from Sun Coast. Call DUNNELLON Jan (352) 584-5983 3/2, $675, lst/last/sec,- W- NO CREDIT CHECKII (352) 302-2135 Rent to Own 1-2-3 BR's Hernando 352-484-0866 room, CHA, new visit lademission.com carpet & paint, 11/2,," r --al acre, kennel, shed park . RENTAL FINDER like setting, EZ to Ocalai, S Home Biz ok, Pets ok,,-; S rentaflndercom $750 + Utilities, 1st & SecT L in .I=' J (352) 249-1091 * NEW PAINT/CARPET HOMOSASSA \ 2/1, BLK hm. Lg. Uv. Lg. 2/1 2ac. room for 24 fam. Scrn prch. 1ac. horses. $700+1st/sec.;7 fenced. Sm. pet ok.Sm. pet ok. (352) 628-4000 $600. 352-6341764 HOMOSASSA 2/1, CHA, No pets $575. 1st/lost/sec 628-4210%t HOMOSASSA 2/1 Duplex, $525: BRENTWOOD MEADOWS 3/2/2 From Townhouse 2/2V/2. Use of $725; SMW 2/2/1 VllaI, all Citrus Hills Facilities. $695. River Links Realty. $900/mo plus utilities. 628-1616/800-488-5184- (516) 991-5747 HOMOSASSA . SUGARMILL WOODS 2/1/1, Carport & Scrrtn, 2/2/2 +Lanai, cul de rm. $650. mo.$650. dep n sac. turn. 1600 sq.ft. 'No pets. (352)621-3980 $1,100mo + until. Owner/ HOMOSASSA , agent Seas. or Annual 8.San (727) 804-97 3786 S. Swan Terrace (727) 804-9772 3/2/2 No pets.$800/mo. Met. water/ swr. Lecanto Schl. Sec. 8:, Susette 352-697-1604 HOMOSASSA 2/1 INVERNESS Brand New 3/2/2 Lg, w/grg. Spotless, Priv. 2200, sq. ft. $1000. + 1' $695. (352) 422-3217 & Sec. (352) 746-3228, 4/2/2, New, Split Plan, INVERNESS 2/1/Io Fam. Rm. Cathedral w/bonus rm. Great '06 Ceilings 1800 sq. ft. liv. Location, new paint &' $950.mo. 352-489-8415 floors $700. mo. 1st, last BEVERLY HILLS 1/1 $500. dep 352-464-428Z Carport, FI Rm. $575MO INVERNESS .` No pets. 352-527-3236 2/1/1 with enclosed-'. BEVERLY HILLS Inground pool & lanal, 1/1, $650. 107 S. Lucille Pool serv. provided. No 2/1, $675. 1 E. Lemon pets. No smoking $874 2/1, $700. 50 S. Adams 352-344-8313 (239) 776-6800 INVERNESS -A BEVERLY HILLS 2/1 2BR/I BA, unfurn. lakej' New kitch. & ba. Tile, view, corner lot, $72. CHA, W/D352-422-7794 moa (352) 344-8129 BEVERLY HILLS INVERNESS 2/11/2/1, W&D No pets. 3/2 AC, FP very clear% $650/mo. 1st. last. sec. Near Hwy 44 (352) 795-9498 714-623-0432 Beverly Hills 3/1 352-489-6729 Sunny, clean, fenced in INVERNESS 3/2 bkyrd. $795/mo Extra Ig, Master BIR 1st & Sec. Sm. pet ok w/French Drs, Family " w/dep. 352-527-1746 Rm. & Liv, Rm,$950 mo.' BEVERLY HILLS (352) 726-4759 3/2, CHA, Fam. Rm., INVERNESS 3/2 ,- new appl. $775/mo + Newly remodeled. / Dep. 1 yr. Is. No pets. Great loc. $730. LM '5 23 N. Wadsworth Ave. (352) 212-2737 (813) 205-8705 INVERNESS 3/2/2 (352) 794-0211 Lake Area, $860/mo. Beverly Hills (352) 341-1142 3/2/Carport new INVERNESS ,' everything $800./mo Adorable 2/1 Canal Front Hernando 715 Marlene Pt. Jacuzzi., 3/2/Carport big yard $700 (407) 963 6554 * remodeled $750./mo INVERNESS r" Inverness 2/2/Carport fenced GOSPEL ISLAND , yard $750./mo 2/2 w/wsh dryer $750 ; 352-637-2973 Security 352-447-55931," Inverness Hhlnds BEVERLY HILLS 2/2/1, Spacious, prvtk Great Homes for Rent appl. $750/mo. , or Sale (954) 536-0353 (954) 650-7884 ,, BEVERLY HILLS LAKE HENDERSON2 Lease or Sale 2/1/1, 3/2, 1900 SF, FP, pool,. $675/molst/last/ Sec. Redec. Beau. view.,.,! Avail 7/1(727) 540-9436 $1,000. 714-623-0432., 352-489-6729 LANDMARK. REALTY Brentwood We have different 2/2/2 w/den type rentals for P950.00 different situa- Please Call: ti S ith (352) 341-3330 tons. Some with.4 For more info. or pets allowed. visit the web at: citrusvillages rentals.cam Ask for Kathy CITRUS HILLS 3/2/2 or Janet Brentwood Vlg. Pool. EXc. cond. 1750sf. $900/ 352-726-9134- mo, (352) 422-4086 31 W Main St. CITRUS HILLS Inveress 's Unfurnished Homes & Rent-to-Own . Furnished Condos Brand New Home 3/272 Low Down, Easy Terms,, G nl.m Danny (352)875-5645: RENT TO OWNI New 3/2/2, 100% of rent SUGARMILL WOO $ ($15,000) goes to down 4/3 Exec. 3,000 sf. Elit k payment on 1 yr. rent/ $1, 600/mo. s. Opt. lease option $1,275/mo. (352) 613-6540 "- 1st month + $625 sec. SUGARMILL WOO i 6755 N. Elkcam Blvd. U MILNEW 2700 SQFT, 4/2 (352) 220-8967 *, $1150/mo; CITRUS SPRGS 3/2/1 954-214-5783 Huge. yrd.l inc. Lawn Maint, $850. mo. F/L/S (352) 533-2244 CITRUS SPRGS 3/2/2 New, W/D, Pet friendly, $925/mo.352-812-1414 FLORAL CITY 1/1?. CITRUS SPRINGS La~nkefQt Beautiful1 3 S 1.5750Nmo wooded acre, scrn 3/1.5, patioi. No smoking. 1/1 NVERN SS Utl. Inc.$625. 1st/sec. 2/II,,$759=m (13. 241-7117 KrlstlI CLASSIFIES 'li ghted M - iated Content-% Lim cial NewS Providers" Crystal Palms Apts. I & 2 Bdrm Easy Terms. Crystal River. 634-0595 -m LANDMARK REALTY We have different type rentals for different situa- tions. Some with pets allowed. Ask for Kathy or Janet 352-726-9136 311 W Main St. Inverness 04 1-692-6966 . 1 .. W .. .... I SATURDAY, JULY 7, 2007 15C CITRUS COUNTY (FL) CHRONICLE 9' BIL-il NW 271 an.C3 MODEL 2813 Air Condito0ningPower Seering, Powerrakes. Power Windows Power Door Locks AM/FM Stereq*CS Cruise Control & Much More! $5 381 HP 5 ' Trhint T superStrong capoacitv Air Corndtioning, Power steering; Power Brakes. AM/FM Stereo CD, Power Outside Mirror. 1,8 ter, 60/40 Splt Rear Seats & More! BRAND NEW 2007 TACOdL. MODEL7103 "" Power Steering, Air Condit Full Size Bed & aim 37lt 2.7 Liter Engine, Aore! BRANNEW2007BRAND NEW2007 US HYBRID SIENA C9W Conditi oning. Power Windows. Cruise, Smart Aly WheelS MODEL 5326 MODEL 00784 Automatic, Air Conditioning, Power Windows Power CoSteering Power Brakes, ABS Tint CO, Rear Air O COndtIontng, 7 Passenger & Morel 36,MPg Mh ,.. SR 971Kf Er-CK MODEL 8642 -. a39-A y Wheels, MODEL .76MODEL6 Automatic, Air Coitioning, Power Steeing. Power Braes 4 Speed Automatic; Air Conditioning. Power rakes. Cruise, Tilt, Power Windows Power Door L cks, Cuse Tilt, AM/MStereo Cassette, C 2.Liter 30 MP.O. Hwy Power Winows Pni ainutihsl and Mnitral *S H1m5 UW IAW Power Door Locks and Moredl a e 0ls., *FUI Get TIres Por Life With Every New Toyota! feldst Mut Hee Alt Service & &p aira Pertoiedm At DLtuc Toyota Must Follow pFatory Rtquired Service ScWIule. The Best New Cars Make Th S7 Yr./100,000 Mile Limited Power Train Warranty t / 7 Yr.Unlimited Mileage Roadside Assistance. t : 0. .....l. ..- AM A n ft . fit whak- a dan.A am n ow vehicle. e Best usea d rs. /Toll-Free Call For Service 24 Hours A Day /168 Point Quality Assurance Inspection AwrmfisUF run rowe, rowe SWt, Cru, Altiy Wit. IOay EntryS.St"Kt LEA UfA* .-..^ AMFMACO, Full Power, Cruise, Stik#G16,A WAS ,.,k ,..I Alloy W1 WAS L"2.875 SEntry, Fuh Power. Cruise, Spoile, SOWGiB64A IFICau/O. Full Poawr, Pwer Seal% C le Keyli n aby, SikIt SOA Is '549 ASI 1.3Rfls '05 TOYOTA MATRIX AF -M/CO, Full ower, Air Coidl- Ikoinlg, Keyla. Enty, SkrPI959 1 -an- I.. 4s.,io AWFM/FCO. Full Power, Cruise, Alloy Wheels, Keyless Entry, StAG17VSA wVAS qymM AWFICrfrm Full rumw, ToXw I Seat, Cruise, Roof Raek,A wheels Keylea Entry, 8s158ll nT"'il S THE ThR DEFFURENCETM w LOCATION:1 1/2 MILE EAST OF PADDOCK MALL 1719 SW College Rd1. c0l1 732-0770 or 1800342.2550 ALL OFFnRS ON SELECT VEHICLES, PLUS TAX TA, TITLE WITH APPROVED CREDIT. PICTURES ARE FOR ILLUSTRATION ONLY." SEE DEALER FOR DETAILS.PAYMENT BASED ON 30 MOS. LEASE W40 DOWN 740 BEACON SCORE REQUIRED KMLES PER YEAR PLUS TAX, TAG & REGISTRATION. PRICES PLUS ADDITIONAL CUSTOMER ELECT ,TIONS OFFERS CAN NOT B.. .E USED IN CONJUNCTION WITH ANY OTHER OFFER DEALER RETA NS ALL FACTORY REBATES OR CASH BACK* ALL DISCOUNTS TAKEN FROM MSRP. SIGN & DRIVE OFFER HAS CREDIT AND EQUITY QUALIFYING GEIUDUNE A) 30 MOS. LEASE W0'999 DOWN, 8) 30 MOE LEAE WITH -3599 DOWN. C) 48 MOS, WP3999 DOWN. lmllnin d umatomataxom I 1ll V 1IL 10 1 l Id Il CAMRY CE S $TM 175K ,.S 4. EYB iN JK WAS $4a.m., o rdnniongi" ewin. l S1tMQWA "oOYOTA NSWr 07 ..S ARSE, CRYSTAL RIVER 4bd/3ba Indian River deep canal/dock $1600/mo 352-422-3698 HERNANDO 3/2/2 Open Lake Front garb. pickup, lawn maint & homeowner Ins. incld. 352-400-2079 HOMOSASSA Waterview w/private Dock 2/2 CHA, wrap around scrn. porch Only $850/mo, Trash! water, lawn serv. incl, (407) 908-1553 INGLIS 1/1 $500/mo. 14185 W. River Rd 352-447-5244 Cell 360-798-2681/2 LKFRNT, $750/Mo+ (612) 392-7520 OLD HOMOSASSA Stilt house 12250 Red Maple. 2/1, LR, DR, eat in kit, den. AC, heat. $785. By appt. 628-3992 PRITCHARD ISLAND 2/2 $165K, $800/mo. Dock, Comun. Pool 352-237-7436/812-3213 IBR, Furn., cable, phone, W/D, priv. bath, use of Kit, $350.(352)795-7412 CRYSTAL RIVER W/Pool. All included $110/wk (352)628-9106 HERNANDO Room w/priv bath, house priv. & pool. $100/wk. 302-3004 INVERNESS Lg. 1/1 priv. entrance, kit., bath, FP, Irg. Yard, Util. Incl. $420mo (352) 201-2720 INVERNESS Pool, $150 wkly, incl. util. SRENTAL FINDER - rentalfinder.com VALUE INN HERNANDO Renovated Efficiencies, Phone, Pool, fish pond AC, $50. daily, $300, wk Trailers $225wk. (352) 726-4744 0 IU1iiT1 BEVERLY HILLS Diplomat 2 bedroom, 1 and 1/2 bath Florida room, eat in kitchen, must see. $129,000 neg. 352-527-1259 MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS COMMERCIAL SALES (352) 422-6956 ANUSSO.COM ye OPEN HOUSE 218 S. JeffeySt., Bevedy Hills Lovely Home w/many extras 2bed/2bath, fireplace, lanai w/caged poo, garage Located on /2 acre corner lot, S 149,900 MLS 314720 acv Z awacki Ex ltr Exit ? tIa ders OPEN SUNDAY 2-4 $$$32,900.$$$ LOVELY 2/1, Open Fl. plan, master walk In, AC, appl's, new rf, 55+ gated comm. w/ pool clubhouse & activities 5405 S. Stonerldge Dr. Inverness 352-344-5805 Great Opportunityl INVERNESS 7,000 sqft building w/ property. Fully finished. Office 2 entries, 2 ba. complete w/ carpet, lots of lighting & fully fenced. In Exc. Cond. on main hwy $325K OBO Leonard Realty (352) 637-1448 HOM./ Would make perfect officel Near town, zoned GNC, 1.3 Ac. Poss. ownr fin. $189,900 Ron McEvoy, EXIT (352) 586-2663 INVERNESS 3/2 AC, FP, very clean. Near 44. 714-623-0432 352-489-6729 LECANTO Office Space, Retail & Warehouse for rent. (352) 795-0800 INVESTORS PROPERTIES for Sale, MH, Duplexes, Quadplexes, Sin. Fam. Vac. Lots, 352-795-0367 2005 4/2/2 $148K New on marketil For info go to: 2349n or call 352-601-2585 btwn 8-8 3/2, Block Home, newly remodeled kit., new appl's, Ig. Fam. Rm. w/ FP, must sell Asking $109,900. (352) 322-0615 3/2/2, 1.23 Ac. REDUCED TO $289K '07 New, Upgrades 2,372 Liv./3,269 Tot. SF. (352) 302-0744 3/2/2 REDUCED $43,5001 New const. Ascot 3 Model! 1,995 SF. $189,500 Greg Younger, Coldwell Banker Ist Choice. (352)220-9188 Rent-to-Own Brand New Home 3/2/2 Low Down, Easy Terms Danny (352)875-5645 -oPin 3.9% LISTING Full service/MLS Why Pay More??? No Hidden Fees 25+Yrs. Experience $150+Mllllon SOLDIII Please Call for Details & Market Analysis RON & KARNA NEITZ BROKERS/REALTORS CITRUS REALTY GROUP (352)795-0060 Your World 494a49C44traininecenter.org (TDD: 1-800-545-1833 ext. 347) 7 1A*EOE* 3/2.5/2 FSBO Adj. to Golf Course, Crnr Lot, Pool, Gas FP, Irr. Well, Granite, Huge Shed, Uodated Evervthlnal myhome4sale.net $299K (352) 746-1175 BEAUTIFUL POOL HOME 3/2/2 On 1 acre $239,900. Must seel 352-302-5535 BETTY MORTON Lic. Real Estate Agent 20 Years Experience 2.8 % Commission Retiaiiect (352) 795-1555 Equestrian Trail Home New, 2004,3/2/3 Pool home w/fenced yard. on Equestrian Trail, 4577 W PINTO LOOP $279,000/ OBO (352) 746-9813 p LO<-> IAUDY UY/ U RC" at f otj Ra SEB CRentals' Icfr^M RB CITRus COUNTY (FL) CHRONICLE FIXER UPPER These homes need work. Free Computerized list of properties Free Recorded Message 1-800-597-5259- tyhomeinfo com ID# 1048 ERA American Realty & Investments NEW 4/3/2+ Pool Home Over 1 Acrel 3,600 sf. Awesomel! $399,900 (352) 746-6161 OPEN HOUSE Sat. & Sun. 1-4 I 3/2/2, Pool Home 1 3186 W. Birds Nest Dr S $299,800. 352-586-1558 PINERIDGE 3/2/2 Pool Hm. w/ FP $247K Obo. Must Selll MLS #314040 352-302-7045 407-566-8637 2/1/Carport w/family room, 1126 sf, Ivlving ALL NEW: kit., bath, appl., tile, paint, carpet, fixtures, and roof, front & rear porches, 2 yr. old Central AC, $86,900. (352) 464-2160 BEAUTIFUL 5/4/3 2005 Citrus Hills Gourmet & summer kit. pool/spa. No brokers. 3400 living. $440,000 (352)726-3252 or 302-4200 BEVERLY HILLS Great Homes for Sale or Rent (954) 536-0353 MOVING MUST SELL! Very nice 2/2/1, 1,400 .a. $98K Call for more details (352) 302-6797 . NO CREDIT CHECKII Rent to Own 1-2-3 BR's 352-484-0866 visit jademission.com L^ecanto Homes^3 m TERRA VISTA 2005 Villa2/2/2 + Den & PoolMaint. new. $289,900. 617-816-1230 1006 Princeton Ln $124,900 3/2/2, IHW, 2,000 sq.ft. under roof, upgraded kitchen & bath, minor TLC 352-563-4169/344-1907 Beverly Hills Homes CH, Forest Ridge 2/2/1,. $130.K memb. avail., (352) 726-1812 $10K Below Appraised Valuel 2/2 fenced yard, newer AC & roof, $95,000. 352-527-3562 100% Finan. Reduced, must relocate 2100 sq.ft. 3/2 2 car garage new roof, firepl., corner lots. Buyowner 61665 352-586-7685 2/2/1.5 W/FAM. RM. Tile, city water, great locatloni $119,900 (352) 860-2554 3/2 1300 sq ft split plan. Remodeled, possible owner fiance $108,000. (727)399-9533 3/2 POOL HOME '98, Nice family area in Invern, Highlands S. $165K John Hoffmelster, Franklin RE Consult. 352-476-7236/341-1365 3/2 Renovated New paint, carpet, landscaping, fncd yrd, $126,500 (352)362-1555 BANK FORECLOSURES FREE list of Foreclosure properties Receive a FREE computerized print out. Free Recorded Message 1-800-597-5259- tvhominfo.com ID# 1042 ERA American Realty & Investments WINDERMERE!!^ 2/2, Immaculatel ' Ceiling Fans, Screen.' Lanai, W/D, Plant shelves, Vaulted Ceilings, Blinds, Remarkable Community Amenities!' $180K,(352)726-4763 or 344-3567 - I s :* .....dT0 0* Now -, Starting At l 5903 S2007 GMC SIERRA 1500 CREW CAB SLE, ALL POWER Starting At 359 plus tax, tag, & dealer fee $698.50 Sicertiuflued USED VEHICLES At Sullivan Pontiac* GMC Our Customers Come First Inverness P'lco NEW CONSTRUCTION 3400sf on 1 ac. w/open floor plan, 3/2/2 w/ of- fice which could be 4th bdrm. Tile In all areas, bdrms carpet, custom wood cabinets, vanitys & closets, granite coun- tertops, $359,900. (516) 924-1591 ^^^fJl nvT^B^eCnes co Homes^^ 4/3.5/2 ON 1/2 AC. Dbl Crpt, Fncd bck yd. Heat pmp, CHA, Scrn. pch. New roof. As Is $195K 352-726-2682/212-1897 A GREAT STARTER HOMEI 3/2/1 Nice lot w/ Fenced back yard. Priced Right $134,900 Harley Hough, EXIT Realty 352-400-0051 BETTY MORTON AHImm^^L mmwi^ I F-1 DECLASSIFIED Lil. KiUI cEUsie Agein 20 Years Experience 2.8 Yo Commission Rea-a* lect (352) 795-1555 CHARMING 2BR/2BATH HIGHLANDS, corner lot, circular driveway, prequallifiled only Must See. $124,900 (352) 201-1663 CUSTOM BUILT 2/2/2 Energy efficient, new roof & appil's. Open fir. plan, close to shopping & hospital, $129,000. Must seel 352-344-8519 DIKSMOIN FSBO Riverfront home with panoramic view directly on Withlacoochee 1,850 sq.ft. on 1.25 acres with boat house & separate dock. Best view on River and fishing's great!;, $399,000 For virtual tojr visit ByownerCitrus.com or call Don at " (352) 344-1613 Furnished Villa, 2/2, cathedral ceiling in LR Newly tiled Including screen rm., $130,000 elkurz@yahoo.de (352) 613-6496 HOME FOR SALE On Your Lot, $110,900i 3/2/1 w/ Laundry Atkinson Constructior 352-637-4138 - Uc.# CBC059685 xI At% -- BONNIE PETERSON Realtor, GRI Your SATISFACTION (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC BY OWNER 3/2/2, .5 Ac. Over 1,600 sf. La., fncd., w/work shed w/elec. Built 2000, quiet cul-de-sac off 486. Great family home w/playroomsI $165K (352) 422-3137 - -7 ')- "n-7 m= ,= m.= m m' , SULLIVAN PONTIAC GM* ** C I 1 'ITRUS COUNTn' (FL) CHRONICLE MOVING OUT OF STATE HIGHLANDS 3/3/2 NEW KITCHEN/bonus room (2791 sqft,.64 acres) S$295K. 352-341-3185 $100 OFF PER DAY Must go. 2/2 CB. 1800 sq.ft, New well, septic 4.2 acres, 2 stall barn, fenced, priv. $252,000 (352) 400-2900 CATTLE/HORSE FARM FSBO Custom Cedar Home 2/2/2 on 1 lacs, SBarn/Workshop,Tools, IN FLORAL CITY $425K Call 344-1558 CHARMING 3/2/1 Kitchen remodeled in 2005! Hardwood floors & Fireplace! $126K John Maisel III Exit (352)794-0888 GREAT HOME ON 1 AC.I 2/2/2, new roof, renov, in 2004. Open floor, w/split plan $179,900 Terri Hartman Crossland Realty (352)726-6644 MUST SELL! 4-5/2.5 All new appl., Above ground pool. Excellent House! $250K (352) 637-3253 775 N. Lyle Ave FSBE 3/2/2,1,850 sf. w/den $160K For details: 205-746-9812/901-5246 3/1 CRACKER, 1/2 ac. Crnr lot. Completely Renovatedl Must Seel .J109Kobo 352-209-2118 S3/2 ON 10.8 ACRESII Detached 14 X 28 office, pool, fncd, $295K (352)621-3135 4/2/2, 2,100 SF. $154K Beautifully remodeled. 'New oak cabs, wood Floors, timberline roof, 'fireplace, 2 min, from ,water. (352) 688-8040 BETTY MORTON Lic. Real Estate Agent 20 Years Experience 2.8 % Commission Realtyelect BONNIE PETERSON Realtor, GRI Your SATISFACTION (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC REDUCED move in ready, close to restaurants & shopping. 1470NW21st. St. $124,900 352-628-1062 2/1 on A 2Ac. Fenced Great Loc! W/Alum. Crprt, Wood Frame Hm. Famr. Rm, Eat-In Kitch, New AC & drainfield. $.1QM9.00 (352)628-1669 S BY OWNER 3/2 singlewide On 2 half acre lots $46K 1592 S Lookout Pt 2 Blocks off US19 352-503-4142 FOR SALE BY OWNER High & Dry-Homes Only Quaint 3/2/2 with Pool extra lot & workshop Must See! @ $158,500. (352) 621-0802 HOMOSASSA 3/2.5/2 SMust see home on 5. Acres!Plenty of Land & Privacy. $279K Alex Choto, Fl. Realty & Auction. (352) 628-0968 HUGE 4/2.5/2 with fireplace. 3,214sqft. Cape Cod Home on 2.5 ac. $325K Sharon Levins. Rhema Realty REDUCED $69,000 Jo DeMarcus Cridland & Cridland PA GMAC REAL ESTATE (352) 220-2658 3/2/2 Cul-de-sac Sweetwater Elegance , Open Plan $199,000 Charlene & Peggy, EXIT REALTY (352) 464-4179 (352) 220-2253 (352) 220-2253 BONNIE PETERSON Realtor, GRI Your SATISFACTION (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC BUYING OR SELLING? CALL ME FOR RESULTSI Call Me PHYLLIS STRICKLAND (352) 613-3503 Keller Williams Realty Crystal River 0% Down BEAUTIFUL New Cape Cod 5/2.5/2.5 on '/2 Ac. Over 2,800 SF. MUST SEEI $249K or $1,600/mo. 352-746-5912 ENJOY NATURE AT IT'S BESTI CRYSTAL MANOR Beautiful setting. Private w/ mature trees. 2002 home, with all the extras, on 5.9 acres (5 lots). $358K Wonderful home and great investment. (352) 795-1454 FSBO Riverfront home with panoramic view directly on Withloco-67:-4138 Uc.# CSCO59685 Over 3,000 Homes and Properties listed at homefront.com WI0* irsCut 20 Years Experience 2.8 % Commission R eali;ect (352) 795-1555 BUY NOW Bargains Every- where! Deb inrant LET OUR OFFICE GUIDE YOU! Plantation Realty. Inc. (352) 795-0784 Cell 422-7925 Lisa VanDeboe Broker (R)/Owner See all of the listings in Citrus County at realtvinc.com PRITCHARD ISLAND 2/2 $165K, $800/mo. Dock, Comun, Pool 352-237-7436/812-3213 Horse Lovers 10.08 Ac. I Fully fncd, barn 12 X 12 stalls + paddock 2/2 MH Gorgeous hill-top views! $230K Well < mkt.! 352-239-7788/465-2427 ONE OF A KIND! Bring your horsel 3/2/2 on 2 ac. 2 paddocks, FP Ig. cgd pool, fiberoptic lights, spa, many extras $255 2/2/1 CITRUS HILLS Nicely turn. Greenbriar $118K Motivatedl (352) 201-0991 CONDO w/ Furn. 2/2 Exc. Cond. Newer appliances, pool, golf. See to Appreciate. Principles Only. $117,700 352-726-9499 NORTH CAROLINA Grand Opening July 14th & 15th Riverfront Acreage starting at $99,900. 828-652-8700 '04, Wf 2/2/2 Malnt. Free $179,900, 1 yr. Warranty T. Paduano C21 J.W Morton (352) 212-1446 4/3.5/2 In YANKEETOWN 3.514 sf. Formal areas, French Drs. gazebo & guesthouse.$ 1,285,00007753 BETTY MORTON DIRECT RIVERFRONT LOT Homosassa, $190K. 120 x 60ft. 2 Available Has Sewer & All Util. 813-695-8623 LAKEFRONT Crystal River $45K Lots. coam 352-228-7523 Agent Owned S ENTAL FINDER rentalfinder.com 1=- -- 41 WATER SKIS 3 Pair; Good Condition! $150/takes all (352) 621-0848 KAYAKS WILDERNESS TARPON 120 & 140 140 used once, in ex- cellent cond. $700, 120 good cond., $550 (352) 584-5107 14 ft. Semi V hull, Hvy. duty Aluminum, gal. trailer $800. (352) 220-8920 (352) 795-0107 20 FT. PONTOON '03, 60HP, Mercury 4 stroke, dual axle, gal. trailer, seats up front for fishing, low hrs. on motor just serviced $6,900. (352) 228-7133 1999 17' Glastron Bowrlder, Low Hrs. Mint Cond. $8,495 Nature Coast Marine 352 794-0094 2007 18' Bentley F/C W/25 HP Mercury 4strk, Depth Finder, Only 15 hrs, $12,295 Gulf to Lake Sales 352-527-0555 NEW! PROLINE 21 SPORT 175 HP Suzuki, Aluminum Trailer $33,990 1976 S. Suncoast Blvd. Homosassa, FL 34448 12' FIBERGLASS w/Trailer, Johnson mtr,, bimini top, trolling mtr. $1,200 Ready to go! (352) 302-7008 14'-28' Let us sell your clean used boat. THREE RIVERS MARINE (352) 563-5510 m I 1-15 HOUSES WANTED Cash or Terms John (352) 228-7523 www. FastFIoridaHouse Buvercom WE BUY HOUSES Ca$h ........Fast 1 352-637-2973 Ihomesold.com 3.7 Ac. Pine Ridge $149K T. Paduano, C21 J.W Morton (352) 212-1446 4.5 AC. MOL S.E. Citrus Paved Rd., 330 X 600, Quiet Suburdan Acres $89K (813) 620-1188 AWESOME AUCTIONII Highlands, Lots 8-11 & Lots 52-53, Inverness. Aug. 11th. Call Dean 321-945-7312. auctionrealtv.com AU3584 AB2579 GOLF COURSE LOT #9 HILLSIDE IN TERRA VISTA Skyview CC, $79,500. Call (352) 638-0905 (2) Pine Ridge 1 Ac. Lots Buy now, build later! Great InvestmentlI 59.900(352)746-6161 80 X 120 Invern.Lot Highlands W, Clean & 75% cleared in area of newer & older homes $22,500 J. Hoffmelster, Franklin RE Consult. 352-476-7236/341-1365 SAC. No impact fees Exc. well water. Animals welcome. $79,900 352-746-3789/697-2420 Beautiful Homes surround gorgeous 3/4 Ac. lot., Inv. Golf& C.C. $63K obo 352-503-5214 INVERNESS Corner lot in Clearview Estates. 152'X276 $96,000 Call (954)448-0575 LOTS FOR SALE 2 LOTS PARTIALLY CLEARED. ONE CORNER LOT. (352) 867-7485 HOT SPRINGS, AR 1/4 acre lot $20,000 (352)344-1215 ANA CAPRIS 19' C. C., T-top, 175 hp. w/new pwr hd, w/trlr. $4,000 (352) 621-0848 AREAS LARGEST SELECTION OF PONTOONS & DECK BOATS Crystal River Marine (352) 795-2597 BASS BOAT 14 ft Hustler, with trailer, newer 50 hp Mercury, LOADEDI $2500 8OO, Larry 352-464-0107 BAYLINER 175 CAPRI '06, As new, less than 20hrs use. All warr. & lots of extas. Immac. 1st $10,500. ONO (352) 382-0637 BAYLINER 1812 ft., 220 HP, 10, no carpet, garage kept, ust over 40 hrs., extras 11,500. (352) 279-6409 BAYLINER CAPRI '02, 18 ft., 3.0 Lit., merc. cruiser, I/O, w/ trir., low hrs.,, like new, $8,000. obo, (352) 634-0996 BENTLEY PONTOON 2006, 20' Fisherman w/trailer. 50 Hp. Merc. mtr. $11,500 (352) 563-2302 BLACK PEARL YACHT SALES (239) 389-4321 2004 Grady White 33' Twin 225 HP Yamaha 4-strokes, Lift Kept, 620 Hrs, $199,900 A AAA *** 2004 Pursuit 3070 Offshore Twin 225 HP Yamaha 4-strokes, Lift Kept, 125 Hrs. $129,900 2001 Century WA 29' Twin 250 HP Yamaha Lift Kept. 340 Hr,,-- $69,985 All Boats Original Owners Visit vachtsales.com For Full Specs. AAA BOAT DONATIONS Tax Deductible @ appraised value when donated to a 43 year old non-reporting 50 I-C-3 Charity. Maritime Ministries A (352) 795-9621 A BOATSI Bank Repos. Tuned up-ready to go. All wholesale. $1,500 & Up. (352) 621-0848 CAROLINA SKIFF 21' '00, frnt/rear casting decks, CC, 115HP Yam, ack pit. Many extras. 11,500. (352) 726-0939 CENTURY 1801 '05 115HP Yamaha 4strk. CC, radio, fishflnder, livewells, rod holders. New cond. Low, low hrs $18,000bo 352-563-0202 CREST 21' 1993, 200HP Ocean Pro Motor, w/traller, $7500 Call Sean 352-794-0809 evenings. CREST 21' 1993, 200HP Ocean Pro Motor, w/trailer, $7500 Call Sean 352-794-0809 evenings. CRITCHFIELD '99, 15 FT., side stirring, trolling mtr., 30 HP yamaha, gal tilt trir. $3,500. (352) 220-8920 EXCEL 21' Bowrider, 4.3 Liter V-6 Mercruiser I/O, Asking $3,200 (352) 257-3635 FIBERGLASS 12' GAMEFISHER 2 Evinrude Mtrs, trailer, asking $1,450. (352) 628-5011 GRADY WHITE 22.6' W/A Cuddy, 200 hp Mariner, 0/B, Alum, Top W/Top Gun Outriggers. Garmin Chart plotter. $11 K obo 352-302-8266 HURRICANE 2000 201 Fundeck, Great Family Boat, skiing, fishing & cruising, Fully equipped w/150 Yamaha, $15,400 (352) 586-2493 tc= Boats 16' F/B BOAT Center Console, w/blmini & trailer. Great for fishing I $1,000. obo (352) 637-3934 24' PROLINE 1973/98 125 Mariner, completely rebuilt from the shell by long time offshore racing designer. & builder John Iveschich W/O question one of the finest examples of the old legand you will find. Always garaged Exc. Cond. $15,000 call Cotee Smith 628-0505 A WHEEL OF A DEAL 5 lines for only $37.95!* *2 weeks in the *2 weeks Online! *Featured in Tues. "Wheels" Sectionl Call Today (352) 726-1441 or (352) 563-5966 For details. '$5 per additional line Some Restrictions May Apply FOUR WINDS 31' Sleeps up to 7. Loaded! 14K Miles. $40,000 Call to try it for a week. (352) 422-7794 GULFSTREAM 32' '90,62K, Sleeps 6, new AC, flooring, tires. Exc. Cond. $9,800/obo 352-270-3162/257-2387 MONACO '00, Monarch, 34', Class A w/slide, 30K, V-10, spotless. Just serviced. $47,000 (352)746-9457 WE NEED RVSII We will buy or consign your clean RV @ N1O FEEI Bobby Clark RV (352) 726-5999 ADVANTAGE 2004 5th whi. 36' 3 slides, Asking $24,900/obo. (352) 270-3349 AIRSTREAM 31' 1979, Great Shape! New AC, carpet, tires, uphol., $8,900 abo (352) 257-4260 BOBCAT '99 20', expandable. T.T. It. wgt., air, awning, bath, sleeps 6, $4,400. OBO (352) 382-2272 I BUY RV'S Travel Trailers, 5th wheels ect.Call Glenn (352) 302-0778 JAYCO 24' POP UP Camper, twin kings, slide out dinette, H/AC, inverter, new canvas $3,500 352-560-3685 T RV DONATIONS T Tax Deductible for Appraised Value Maritime Ministries T (352) 795-9621 T Lou Miele, AMERICAN Realtor REALTY & INVESTMENTS Cell: 0 ALWAYS THERE FOR YOU' (352)697.1685 4511 oyBey FL3 0W.H 352-746.3600 71 OPEN HOUSE, Sunday, 10 AM -2 PM 3643 W. Cana Path. Beverly Hills BEAUTIFUL PINE RIDGE POOL HOME, his fine 3 bedroom, 21f2 bath home on a cude-sacin a grea neighbaoodis sure please. Wh over2400 sf of egant iMng area, and bads of upgrades inducing granite onunlerdops, upgraded appliances, ads of ile, beautiful landscaping, his is a home that shows pride of ownership Come see for yourself, you'll be gld you did MLS #314773. $349,999 Dir Pine Ridge Bvd. to S. on Alamandratolef on Capa Path to home on left. S '99 HYUNDAI I ELANTRA LX #p5356A I 1 4dr Ecellent shape, I want low payments 1 $5,995 or $123@ mo. I 866-838-4376 .---.- .--- 1 ff--l New Boat Trailers GALV. & ALUM. All at Far Below Dealers Pricing SUMMER CLEARANCE MONROE SALES 0 9am-Spm Mon-Fri 352-527-3555 PONTOON BOAT '95, 20' Partycraft w/ trir, Bath, sink, 50HP, $5,500 (352) 586-0386 PROLINE '04, 24 ft., 225 Honda, Donzl Hull, black, low hrs. lift kept, NICE $35,000. (352) 586-9349 PROLINE '06, 19ft., '06 Mercury Optimax, 115 H out- board, T-Top, color elec- tronics, still under fact. warranty, many, many options w/boat & trailer. asking $19,500. (352) 628-4668 PURSUIT 21' CC T-top, twin 115Mercs, radar, GPS, FF, SS props alum. trir., much more $16,500 352-560-3685 RANGER '88 18FT BassMaster boat, 150HP, trailer, extras, $6,000 obo (989) 225-2911 r ;---- r ENTAL FINDER rentalflnder.com 1---------41 REPOWER SALE NEW MOTORS 70-4s Suzuki $5,295 60-4s Mercury $5,430 50 Evinrude E-TEC $4,900 Other Brands and HP available Nature Coast Marine 352-794-0094 SEA FOX Deck Boat 20', Fully equipped, 115 hp Merc. Must See to Aooreciate $10,995 (352) 795-7398 SUNBIRD '94, needs motor. In- cludes EZ Loader trailer. $1,000 (352) 628-3261 SUNRAY PONTOON '81 21 ft., 40HP, 95 en- gine, great cond. Incl. trailer, ready for water $3,400. (352) 422-0058 Wanted: Boats in Need of Repair, also motors and trailers, Cash Paid (352) 212-6497 WELLCRAFT 19' 1986, Cuddy, I/O, Good Cond. w/trlr. $3,000 (352) 527-8150 GRUMAN 1996 20' Pontoon 90hp w/ '01 Nissan motor, Bimlnl top Exc. Cond. $8,500 Jim or Lyn 352-447-3223 MAKO 1977 225HP Evinrude, 23' all electronics, boat runs great. $5,000/obo (352) 344-5243 NW US SUNLINE '98 Tr 4 Tires 255-70R-15 on ICW alum 15x7 5 lug, Chevy truck $525 (352) 422-3821 Mon-Thurs. 7am-7pm FORD '92, F250, 3rd Member Rear, 48k ml., $60. (352) 341-1649 ROAD MASTER TOW BAR Self aligning, with quick disconnects, folds and stores on front of car. $125 352-527-0081 $. DODGE D-150 '87 Shortbed. Auto, V-8, Tool box. $1,500 OBO (352) 795-6970 DODGE DAKOTA QUAD CAB '01. Drives, runs like new. $8500. Call (352) 794-0123 Home Finder Site Sponsor AOM& LN*-- CLASSIFIEDS A WHEEL OF A DEAL 5 lines for only $37.95!* .2 weeks In the .2 weeks Onlinel *Featured in Tues. "W.hee" Section CADILLAC '89 Fleetwood Brougham, New parts. Runs great! Must See! $2,500 (352) 628-6792 CADILLAC Catera '98, Clean, 64K, Fully loaded. Lt. Blue. w/gray leather. $6,500 obo (352) 257-1513 CADILLAC DEVILLE '99 73,800 ml. Air Cond. Leather, Dual Power Seats, Premium Sound, AM/FM Stereo, Cassette, Premium Wheels, $10,500. (352) 860-0444 Cadillac EIDorado 1995, Beautiful Car, $5,000/obo (352) 527-6553 CHEVY CAPRICE '93, Wagon, AC, CC, runs great, needs nothing. Sr owned. $1900. (352) 465-0721 CHEVY CAPRICE CLASSIC 1986 Loaded needs TLC $700.00obo 352-796-0941 CHEVY COBALT '06, 24,000 miles, White w/gray Int. $8,995 New Condltioni (352) 637-6330 CHEVY CORVETTE 2002, Auto, 88K, Runs & Looks Fantastic! Exc. Cond. $22,500 (352) 621-0848 CHEVY LUMINA LS '99,39,000 miles, Full pwr, Very Clean. Exc. Con. CD/tape/radio $5A400 (352) 341-5249 CHRYSLER 300M 2001 108,000 miles, $6500 OBO, Below Kelly BB & NADA value. LOADED. 352-586-7817 CHRYSLER LeBaron '95,Convt. New fires, top, relays, fuses, $3200 Invest, will neg. price.$2,400 Runs great. 352-621-0168 $5001 Police Impounds For sale! Cars from $5001 For listings call 1-800-366-9813 ext 7374 CHEVY 1966 Step-slde truck, half ton 350 auto. Runs good, $4,000 obo (352) 726-6779 CORVETTE '71, Stingray, (350/270) 100k ml., over 30 yrs same owner, REDUCED TO $14KI(352) 795-1863 DUNE BUGGY 2005 Red fiberglass, 4 Seat, Street Legal. 2,500 miles. $6,000 (352) 302-6313 FORD 1956 T-Bird, Red, new restoration, rebuilt eng., new paint, both tops, Pwr. Steer. $29,500. (352) 628-1734 MERCEDES 1987, 560 SL, 125K, White, Both tops, New Mich. tires, $10,500 (352) 586-6805 MUSTANG '68 Coupe, 302 auto, new floors, frame, & more. Runs good. $4,700 obo 352-726-6779 VW '69 BEETLE $5,000 Wht, w/rf. rack. Newer 1600 CC Eng. Looks Runs & Drives Greatl(352) 344-4014 '06 DODGE RAM 1500 #p5348 Quad I cab, only 20K, It's I ready $18,660 or I $329 @ mo. 866-838-4376 1---------41 $5001 Police Impounds For sale! Cars from $500! For listings call 1-800-366-9813 ext 7374 COLORADO '06 Crew Cab, 16K miles, Brand new tires. $16,800 (352) 504-1752 Chevy Silverado 2006 Uke new! Club Cab, V8, Leather, Dual Exhaust, Loadedl Hard Cover Bed. Chrome Rims, 30K MI, $23,500. 352-464-1411 Search Hundreds of Local Listings ste Sponsor CITRUS -.. LAND TITLE LINCOLN '05 Signature Series. 22K miles, MINT! $19,000 (352) 382-7888 MUSTANG '04 RED Coupe, 6cyl. 40th Annv. Lthr seats, AC, keyless, like new. 2300 Miles $15,000 (352) 208-3891 NISSAN '03, Maxima, SE immaculate, 54k, ml,, all options, bellow bluebook $13,500. firm (352) 228-9547 SAFARI '88 Runs good, needs trans work. Clear title. $400 (352) 726-0708 SATURN SC 2 '97 Sport Coupe, 5spd. 187K mi. Great cond. 1 owner. $2995 (352) 795-7054 TOYOTA CAMRY LE '96, Exc. Cond./AII pwr., Mntc. Rcds., Grgd. $3,500 (352) 422-5685 Your Donation of A Vehicle Supports Single, Homeless Mothers & Is Tax Deductible Donate your vehicle TO THE PATH (Rescue Mission for Men Women & Children) at (352) 527-6500 *Home Finder* *Home Finder* *Home Finder* Citrus Ridge Realty 3521 N. Lecanto Hwy. Beverly Hills, FL 34465 707522 1-888-789-7100 Ft~td Your tDreasw How e- o,070 aggAIL ... ; I --Nwov 05 KA Sorrento LX #p5400A Wonderful I ride less w/ factrory warranty $13,880 or I $237 @ mo. 866-838-4376 f----- -- '06 FORD EXPEDITION XLT #P5359 Full size SUV for less, Only 28K $18,770 866-838-4376 CHEVROLET '89, S-10 Blazer, low miles on engine, fair cond., asking $1,300 Brian, (352) 341-0275 CHEVY SUBURBAN 1990 $2000. AC new tires, runs good, tow package. 352-563-0069 JEEP '99. Grand Cherokee, limited, 4 x 4 new tires, and brakes 87,244 mi. excel, cond. $7A65 be- low K BB (352) 419-0120 JEEP CHEROKEE '96, 85,700 orig miles, $4500. obo, A/C, AM/ FM/CD, alarm syst, blk leather seats, front/rear bumpers, tow pkg, roof rack, 2 dr, 5 speed. exc cond. 352-476-5604 MITSUBSHI '01 ECLIPSE White, 56K mi. $7400, 1729 W Gulf to Lake Hwy, Lecanto SATURN V6 AWD VUE 2003 60k mi, Blue, Loaded, Moon Roof, Cargo Racks, etc., 28 01VWPASSATGLS #H,10349A EXTRA CLEAN SEDAN FOR LESS $8,499 OR $159 @ MO 866-838-4376 II---II -I IIIIIII '02 CADILLAC SEDAN I DEVILLE #H10320A I Loaded with everything, 1 owner I $13998 or $233 @ mo 866-838-4376 '05 BMW 3251 SEDAN #H09791A Loaded with It all, only 33K $24,880 I 866-838-4376 -= --i ---- =II 'O7 CHEVY IMPLA LT I #p5391 Like new I I and onlyllKmi., I Must drive $15,998 or : S $279 @ m6. I 866-838-4376 I 0 GFRD AURUS SE #P5233 Factory . Warranty, Low mile = $12,977 or $218 @ mo. 866-838-4376 '-"OP7 TlMACGRAND PRIX SE #p5393 I Luxury for less, only _ I 12K $14,866 or $253 @ mo. 866-838-4376 1=-------41 r '07 SATURN ION SSEDAN #P5395 Gas I I Saver, Only 14K, 1 I | $179 @mo. I I 866-838-4376 L--- --m i $5001 Police Impounds For sale Cars from $500! For listings call 1-800-366-9813 ext 7374 '97 BUICK LeSABRE CUSTOM 70K X-Clean, Loaded.......$3,995 '98 FORD CONTOUR GL 40R, Loaded, 53K Miles..$4,995 '99 HONDA CIVIC EX 40R, Loaded, X-Clean....$7,995 $5001 Police Impounds For sale Cars from $5001 For listings call 1-800-366-9813 ext 7374 A WHEEL OF A DEAL 5 lines for only $37.95!* *2 weeks in the *2 weeks Onlinel *Featured in Tues. "WheIls" SectionI Call Today (352) 726-1441 or (352) 563-5966 For details. '$5 per additional line Some Restrictions May Apply FORD BRONCO '85, Auto 4X 4, 351 Windsor V-8, Pwr. wndws & drs. Tow pkg. $2,000 (352) 726-1247 '07 Ford Freestoar LX #P5396 Family Van for less, Must drive $14,998or $256@ I L mo. 866-838-4376 $5001 Police Impounds For sale! Cars from $500! For listings call 1-800-366-9813 ext 7374 ULY 7, 2007 .L , DODGE PU TRUCK '74, V-8, ton, Reese hitch, HP 3:60. New fires Chrome rims, Sell for $5,000. (352) 628-9752 FORD F-150 '88 New tires & trans. Late model 302 eng. $3,000 (352) 382-7888 FORD F250 1999 175300, $16500.00 OBO, 7.3 diesel, tuner, new tires, xtra cab, 8ft bed, 4" exhaus, goose neck hitch, call Rick 954-732-0830 GMC SIERRA '99 SLT, 4.8 V8, ext. cab. Tow pkg. 52K, leather, loaded, wht. $13,900 (352) 586-2523 MACK TRUCK '91 single axel, complete w/ wet line, extra wet line. Serious Inquires only, (352) 793-8278 NISSAN FRONTIER 2004 87200 mi, $10,000, 26+ mpg, original equipment, original owner. (352) 527-2325 99 01 DESPERATELY NEEDED CAR DONATIONS For Battered Women In our County. PLEASE HELP US. MARITIME MINISTRIES (352) 795-9621 (352) 795-0324 FORD T-BIRD '94 V8,gd. cond.,runs but needs work,$2100/OBO Call 746-1332 HONDA '94 Accord DX, 4-dr., 123,500 miles, $3,300 (352) 726-9526 HONDA '96 Accord EX. Exc. Cond., sunroof, cold AC, Auto transmission. $5,000 (352) 746-3817 JEEP CHEROKEE 1990 Ltd leather, 4WD only 80K mi., loaded. 4-1/2" lift $3,300 obo 352-302-2521 697-1477 LINCOLN '97 Towncar Signature Series, sunroof, 107K ml. 2000 SABLE LS, 106K leather, 6-disc CD. Looks and runs great $4,200 (352) 726-3216 L 6 BL SATURDAY, JULY 7, 2007 ., . -. .... -- w uew LINCOLN MERCURY SALES EVFNT ;TK#9015 '07LINCOLN MKZ STK#9036 107LINCOLN NKX --~~ I I Satellite radio, moon roof, leather interior. '07 MONTEREY DEMO Dune pearl, power door and rear liftgate, leather, four captains seats, heated & cooled seats. LIST: 31,760S2 3.61 8 '07 MILAN Best in class for vehicle satisfaction '07 GRAND MAR 7 MONTEGO Most ideal car, over all OQUS LS s Keyless entry system, keyless remote, cruise control, power windows/locks, AM/FM stereo w/CD player, power driver & passenger seat with lumbar support, leather interior, Michelin tires, tilt steerina wheel UZ MtRKLUKNY VILLAGEIK VAN Green/silver one owner dual air. R3096A *7.995. 02 MERCURY SABLE Silver, 34,000 miles. #R3213A *8.995. 02 GRAND MARQUIS LS One owner, leather. #R3246A *9.995. 00 LINCOLN uZ MKRUKY Y TOWNCAR VILLAGER ESTATE Presidential, only 57k Green, one owner, only miles, all the options. 40,000 miles. #X891A * 10.995. 010.995. U4 FUOUR UlFUS WAGON Silver, loaded. #R3241 11.995. 02 MERCURY SABLE WAGON White, leather interior #R3126A 18.995. 04 MERCURY 02 LINCOLN 02 LINCOLN 04 GRAND 06 FORD TAURUS 05 GRAND 04 MONTEREY SABLE LS SIGNATURE SIGNATURE MARQUIS SEL MARQUIS LS VAN Silver, 24,000 miles. Forest green, tan top. Silver, leather. Palm Beach Edition, Moonroof, leather Silver, only 25,000 miles, Power side doors, #R3247 #X901B #9090A gold, half top. #R3190 #R3224 leather. #R3235A leather. #R3216 $11.995. $ 12,995. 12,995. 13,995. *14.995. *14,995. 15,995. 04 SABLE 0 5MviEC'URT WAGON MONTEGO Leather, 3d seat. White, leather, 16,000 #R3243 miles. #R3255 *15.995. .16.995. 05 FORD RANGER XLT Black, V6 auto, 17k miles. #R3208 $16.995. 06 FORD FUSION SE V6, auto, 18,000 miles. #R3147 $ 18995. U0 MERCURY MARINER Silver V6, leather. #8856A 116.995. 06 GRAND MARQUIS LS Silver. leather. #R3238 I7.995. 06 GRAND MARQUIS LS Silver. leather. #R3743 1I7.995. U0 MUN I TEU PREMIER Only 9k ml, It. green, all wheel drive. #X881 $ 17.995. LS White, moonroof, leather. #R3214 17.995. U0 F-UKU R IV HUNDRED Maroon, leather, moon roof #X903 S17.995. 07 MERCURY 07 GRAND 04 LINCOLN 04 LINCOLN 07 MONTLKbY 07 GKAINU MARINER MARQUIS LS TOWNCAR TOWNCAR VAN MARQUIS LS Red V6 leather moonroof Gold, 14,000 miles. White, 35,000 miles. Blue, 26,000 miles. White, power door, Silver, leather. CD player #R3250 #R3245 #R3248 dual climate. #R3239 #R3236 * 19,995. 19,995. 19995. 19,995. 19995. 19,995.$ 04 FORD F150 06 MILAN XLT PREMIER One owner Blue, V6, leather, 13k #R3198A miles. #R3173 189995018,995. 06 MERCURY 04 MERCURY MONTEGO MOUNTAINEER Gold, only 12,000 Gold, moonroof, 3rd seat, miles. #R3228 only 26,000 miles. #R3226 19.995. 20,995. ULTIMATE Green, 28,000 miles. #R3211 $21,995. F150 XLT Red, 26k miles. #R3205 121.995. 04 TOWN CAR u 5 uFRuu LIMITED F150 XLT Silver, only 23k miles, moon roof. White, supercrew, #9086A trailer tow #R3229 *22.995. 122,995 Ub IMvICLUKY I uT u iVVlI ,'m0 T N U IUVV l UU "-/ I *L- ..L I v v M u MOUNTAINEER LIMITED PRO SERIES TOWN CAR LIMITED Silver, leather, 20,000 Ivory, 29k miles. 7,000 miles, gold. Limited, silver, moonroof Silver, moon roof, miles. #R3254 #X895 #X904 #R3742 14,000 miles. .22.995. *24,995. *24,995. 028,995. 30,995. rcrafti Premium I Soil and filter changeV Tesi spectfourtires Che cabin air filters Top 3 of Motorcraft oil. Taxes ar fees not included in some Ic rented at time of service orde Aii;nr for dtaials. Ivnir e 7/3 I Genuine Motorcr, pair, Installed. Tai time of service i deta DICAT1 $ Do I I TRUS COUN (FL) CHRONCL CITRUS COUNTY (FL) CHRONICLE DECLASSIFIED A Cb A -- XI SALE HOURS: Mon.-Fri. 8-6, Sat. 9-5 Sun. Closed SERVICE PARTS: Mon.-Fri. 8-5:30 Sat. & Sun. Closed I N C 0 L N DODGE '00 Caravan $3,500. obo Runs great Call (352) 726-9500 DODGE VAN 1997 exempt mileage, ask- ing $3500.00 V-6 auto, a/c, good condition, cargo van call 352-621-1248 FORD E-150 '99, V-6, Conversion, 4 Capt. Chairs, Hvy Dty Tow Pkg. Very Clean. $4,995 (352) 464-1349 Ford Windstar '02 SEL Top of the line. Leather Int. 30K mi. Like new, $14.500 22mpg. Garage kept. Ray, (352) 527-2408 GMC SAFFARI '94 New major parts. $2,100 obo. Must sell! Moving. (352) 220-6263 NISSAN QUEST '95, $1500 (352) 208-6876 POLARIS E-TON '98,4 Wheeler $550 obo Exc. Cond. Runs great! (352) 697-3419 A WHEEL OF A DEAL 5 lines for only $37.95!* .2 weeks In the QChroniclel .2 weeks Onlinel *Featured In Tues. "Wheels" S ectioni Call Today (352) 726-1441 or (352) 563-5966 For details. "$5 per additional line Some Restrictions May Apply *FREE REMOVAL OF. ATV's, bikes, cars, jet skis mowersjacuzzl's, We sell ATV parts 628-2084 HARLEY '91 Electra Glide Ultra-Classic Exc. cond. with trailer $8,750 (352) 344-9958 HARLEY DAVIDSON '05, 1200 Sportster Cus- tom, many extras, well maintained, $7,895. (352) 637-6284 Harley Davidson '73, 98 cu. in., lots of extras, 3k ml., $8,500. obo. Divorce, must sell. (352) 302-4825 Harley Davidson '91, Black Sportster 1200 low rider, custom, FWD Controls & bags 20k mi., $4,700. 352-422-0136 HARLEY DAVIDSON '98 Ultra Classic, loaded, 48k mi. $12,500/obo (352) 621-4611 Heavy Duty Open Home Made Trailer 8' Long X 3' Wide $600 OBO (352) 613-4127 HONDA '06 Elite 80 Asking $2,200. Paid $2,751 Only 11 ml. 352-586-0072 HONDA '07 Aero 750, Mint Cond., Showroom new, Less than 1,500 ml. $6,600., In- cludes Windshield and 2 Helmets. New house forces sale. 352-400-2277 HONDA 1987 Rebel, 250CC. Exc. Cond. 8,500 orig. mi., $1,500. (352) 212-5488 mi. To many extras to list. Custom paint $3K OBO (352) 382-1342 Kawsaki Vulcan 1600 2003 Many extras. Mint con- dition. 11K miles. $6,500. 476-4378 PHANTOM SCOOTER 2007 150CC Only 80 miles; $995 (352) 563-5653 SUZUKI '94 GS500E Less than 6K mi. Like new. Good bike for young or new rider. $1500/bo. 352-344-5006 YAMAHA YZF600R '97, New tires, rims, jet kit, extras. Looks & Runs Good. $2,500 OBO 352-621-0651/422-7827 U.S. CUR- RENCY, pursuant to the Florida Contraband For- felture Act, Chapter flied,y, Choater- feiture Act. /s/ Richard William Wesch, Esquire Florida Bar No. 07.10921 Citrus County Sheriff's Office 1 Dr. Martin Luther King Jr. Avenue Inverness, Florida 34450 (352) 726-4488 Attorney for the Plaintiff Published two (2) times In the Citrus County Chronl- cle, June 30 and July .7, 2007 . 283-0707 SA-CRS2Y5SU838526. sought to be forfeited should notify the below mentioned attorney for the Citrus County Sheriff's Office so as to protect any legal or equitable rights said claimant may have In said vehicle. Any person who has an Inter- est In said Aircraft has the right to request an adver- sar. 288-0714SACRN Notice of Lien Sale Unit 220 and 144 PUBLIC NOTICE Notice of Uen Sale Uni 220 Kimberley Rosser 77 N. Lee St. Beverly Hills, FL 34428 Entire contents of 10x15 household items Unit 144 Charles Cook 153 Green Acres Rd. Florence, SC 29505 Entire contents of 10x10 household Items Auction to e neoa on July 18, 2007 at 10:00 a.m. Kings Bay Self Storage 7957 W. Gulf to Lake Hwy. Crystal River, FL 34429 Published two (2) times In the Citrus County Chronicle, July 7 and 14, 2007 289-0714 SACRN Notice to Creditors Estate of Robert E. Graham PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIR- CUIT IN AND FOR CITRUS COUNTY, FLORIDA PROBATE CASE NO. 2007 CP 534 IN RE: THE ESTATE OF ROBERT E. GRAHAM, Deceased. NOTICE TO CREDITORS The administration of the estate of Robert E. Graham, deceased, whose date of death was May 7, 2007, is pending In the Circuit Court for Citrus County, Florida, Probate Division, File Number 2007 CP 534; July 7, 2007. Personal Representative: David J. Graham 5276 NW 96th Drive Coral Springs, FL 33076 Attorney for Personal Representatives: Thomas M. VanNess, Jr., Esq. Florida Bar No. 0857750 VanNess & VanNess, P.A. 1205 North Meeting Tree Blvd. CrysTalridver, IL 34429 1-352-795-1444 Published two (2) times In the Citrus County Chroni- cle, July 7 and 14, 2007. 285-0721SACRN Civil Summons for Patrick Lynn Hooper PUBLIC NOTICE In the General Court of Justice Superior Court Divislton State of North Carolina Wake County, File No. 06CV015667 CIVIL SUMMONS Randi Hooper 9201 Old Creedmoor Rd Raleigh, NC 27613 Plaintiff Vs. Patrick Lynn Hooper 5932 C-575 Bushnell, FL 33513 Defendant A Civil Action Has been commence 286-0707SACRN DEP NOTICE OF INTENT TO ISSUE PERMIT CITY OF INVERNESS PUBLIC NOTICE STATE OF FLORIDA DEPARTMENT OF ENVIRONMENTAL PROTECTION NOTICE OF INTENT TO ISSUE PERMIT The Department of Environmental Protection gives no- tice of Its Intent to Issue a permit (No. FLA01 1847) to the City of Inverness. The facility Is located at 3900 South Florida Avenue, Inverness, FL 34450, In Citrus County. The Permit Is for the construction and operation of a Type I, oxidation ditch domestic wastewater treatment plant. The existing 150 mgd rotating biological contrac- tor facility will be demolished and a new 1.50 mgd oxxidation ditch facility will be built. The Department will Issue the permit with the at- tached conditions unless a timely petition for an ad- ministrative hearing is filed under sections 120.569 and 120.57 of the Florida Statutes before the deadline for fil- Ing a petition. The procedures for petitioning for a hear- ing are set forth below. A person whose substantial Interests are affected by the Department's proposed decision may petition for, Mall Station 35, Tallahassee, Florida 32399-3000. Petitions by the applicatn notice or within fourteen days of receipt of the written notice, which- ever occurs first. Under seclton Intflated fol- lowing Information: (a) The name, address, and telephone number of each petitioner; the Department permit Identification, number and the county in which the subject matter or activity Is located; (b) A statement of how and when each pettloner re- CITRUS COUNTY (FL) CHRONICLE ceived notice of the Department action; (c) A statement of how each petitioner's substantial Interests are affected by the Department action; (d) A statement of the material facts disputed by the petitioner, If any: (e) A statement of facts that the petitinoer contends warrant reversal or modification of the Department ac- tion; (0 A statement of which rules or statutes the petitioner contends require reversal or modification of the De- partment action; and (g) A statement of the relief sought by the petitioner, stating precisely the action that the petitioner wants the Department to take. A petition that does not dispute the material facts on which the Department's action is based shall state that no such facts are In dispute and otherwise shall contain the same Information as set forth above, as required by rule 28-106,301. Because the administrative hearing process is de- signed to formulate final agency action, the filing of a petition means that the Departmen's final action may be different from the position taken by It In this notice. Persons whose substantial Interests will be affected by any such final decision of the Department have the right to petition to become a party to the proceeding, In acordance with the requirements set forth above; Mediation under section 120.573 of the Florida Stat- utes Is not available for this proceeding. The application Is available for pubic Inspection dur- Ing normal business hours, 8:00 a.m. to 5:00 p.m., Mon- day through Friday, except legal holidays, at the DEP Southwest District Office, 13051 No. Telecom Parkway, Temple Terrace, FL 33637-0926 Published one (1) time in the Citrus County Chronicle, July 7,2007 287-0707SACRN Final Agency Action by Southwest Florida Water Management District PUBLIC NOTICE NOTICE OF FINAL AGENCY ACTION BY THE SOUTHWEST FLORIDA WATER MANAGEMENT DISTRICT Notice Is given that the District's Final Agency Action Is approval of the ERP Notice General on 0.18 acres to serve unmanned communications facility known as J712A John Croft. The project Is located in Citrus County, Section(s) 3, Township 19 South, Range 19 East, The permit applicant is John Croft whose address is 3451 E. Perry St., Inver- ness, FL 34453. The permit No. is 47032542.000. The file(s) pertaining to the project referred to above Is available for Inspection Monday through Friday except for legal holidays, 8:00 a.m. to 5:00 p.m., at the South- west Florida Water Management District (District) Brooksville. NOTICE OF RIGHTS Any person whose substantial Interests are affected by the District's action regarding this permit may request an administrative hearing In accordance with Sections 120.569 and 120.57, Florida Statutes (F.S.), and Chap- ters 28-106, Florida Administrative Code (F.A.C.), of the Uniform Rules of Procedure. A request for heating must (1) explain how the substantial interests of each person requestingoksville address, 2379 Broad Street. Brooksvllle, FL 34604-6899 within 21 days of publication of this notice (or within 14 days for an Environmental Resource Permit application with Pro- prietary Authorization for the use of Sovereign Sub- merged, July 7, 2007 I CITRUS COUNTY (FL) CHRONICLE 20C SATUIUAY, JULY 7, 2007 Banks And Credit Unions Standing By To Lend 10 Millii Every Vehicle Will Be Sold Regardless Fui wi1. I Ns Ui J AI Ii Dollars In Auto Credilt! If Loss Or Prof it! I ~ i M1 I! Il [f i Id * CREW CABS EXT CA0 BUICK * REG. CABS CHEVY CADILLAC * 2X4'S NISSAN E#*A TOYOTA . 4X4'S CHRYSANS eAND MORE! WHEN WE MAKE A DEAL WE Will PAYOFF YOUR TRADE NO MATTER WHAT YOU OWE!*** Dealer Forced to Dispose of Hundredsof.h at Ic ..y Local dealers hesO r 3 nonena ne lot-- ready r immediat e ier . Financial officers have made it unusually easyto uy oneof the laexcess veahies. "It's a car buyer's dream! We must move these cars in order to dispose of SALE" "is being test-marketed It's simple-- give uS 11,,,ERO'MONES-DOWN......iseath enth IsaredES ZERO MONEY DOWN, fill out some paperwork, then t chases, not leases right to you. The'monthly payments are. next to nothing and these are Pu I )ate in the first-ever automotive buying ~STARTING AT ONlY 990 Qualified local consumers are needed to partici freste at te bhin-edT test experiment. All makes and models Will be represented at the sale..."W.e havenA.IN G0 A T 0 N y $ 9 9 everythin ou could possibly Nant-" Buyers ca in cho se cars, oftf.ckse vehicles late-model trades and bank reprocessed, including Suv's, cars, t vans, convertibles and sports cars. Many more starting from $2995 duringrthis sale Titetmreprgat have high interest from the public. "We've Ths test market progr.am. is expected to ,ame low and have had vehicles shipped been getting ready for this event for some time n from other dealers from around the state." nAll trade-ins, no matter what ments left on them, will be accepted All trade ono mte w,,hat you owe and no credit application wno matte, whatcondition, .ill be refused. andupaidotnotatte w urDtideregistration,A Y Nl Due o te ugeny o ths oce~n~lifetime sales event, please br titlnrg itai trade-noandt csione- ma ks bauseverything is first come, Due to the urgency _'f dehisione11a 1makersbecu s ....e IV Vrdeianallage Plza i nnDxe gy ASOL first served, so you better hurry in! Village Plaza Winn Dixe j D" 1L 1005, S. jS i-ghway 41 e Dunnellon, FL Aswriter of this column, I have not seen a sales event this attractive in a long time, IF EVER! EVEB YONE GETS A 3I A Y/2NIGIT VACATION. .. JUST FORB COMING BY! CAS II DOIII Bank Reprocessed 5nO l TO 70% LeaseEndTurn-Ins OFF OR IINAL PRICE* Corporate Vehicles SSeizedVehicles .-,14 ,00- 0VEHICLES PRICED $5,000 Tre 8,000 SPro.-Auction Vehicles a'n*n-UVEHICLES DROP TO AS LOW AS $9,000 TO $12,000 Local Trade-ins ooo-. LUXURY CARS GO FOR $13,000 TO $18,000 Village Plaza Winn Dixie 10051 S. US Highway 41 Dunnellon, FL i- 866-833 -7931_ ALL OFFERS ON SELECT VEHICLES WITH APPROVED CREDIT AND CANNOT BE COMBINED. "ON SELECT VEHICLES WITH APPROVED CREDIT. ++TRADE OFFER WITH PURCHASE OF USED CAR $7995 OR HIGHER. +ON SELECT VEHICLES WITH APPROVED CREDIT AND DOWN PAYMENT MAY VARY. +++ON SELECT VEHICLES WITH APPROVED CREDIT. *BASED ON THE ORIGINAL MSRP OF SELECT VEHICLES. *+*DOWN PAYMENT MAY VARY BASED ON VEHICLE SELECTED & CREDIT HISTORY, EXAMPLE: '01 PT CRUISER STK#SP860R, SELUNG PRICE $5995 WITH $0 PLUS TAX, TAG & TITLE FEES DOWN AND $99 PER MONTH AT 9.9% APR. *+CASH DOWN MAY VARY WITH 100% CREDIT APPROVAL. 'NEGATIVE EQUITY MAY BE ADDED TO AMOUNT FINANCED. +*+WARRANTY BASED ON CUSTOMER SERVICING ALL SCHEDULED MAINTENANCE AT LOCATION APPROVED BY CRABTREE SOUTH AUTOMOTIVE, SEE DEALER FOR DETAILS. AD SPECIAL EXPIRES 07109/07. I I I I I ACURA1 o AUI i BlllUI CK g- l CA!DInLLAC o HEVROLETl CRYLERo ODE *OR ogiiiC n ']i H ONDa;i~ijA o N pwmw 1 7-, I MW 1 10 1 = M -- -- ---- -: I I .-. -.-;. --. 7.1 m-- - I I T _-- -=- a-M.L- -. I = a I r Fqw --- --- - - -- w NI WI EVERV;itH 1,1[fIS9l 9iPEIRi ONTH I [,HI r SATURDAY, JULY 7, 2007 21.C Fm F- * 10-year/00,000-mile limited powertrain warranty * 5-year/60,000-mile limited basic warranty: * 5-year/100,000-mile limited anti-perforation warranty * 5-year/60,000-miile 24-hour roadside assistance* S. ............ .. ......... .. . ...... .. ..... ThePowertoSurpise IDENT"S CLUB 2006 2007 Kia Rio Automatic transmission, highest safety rating in its ... class 2007 Kia Optima Automatic transmission, fully loaded, safer than L Camry or Accord 2007 Kia Sorento Automatic, 262 horsepower, 5000 lb. towing capacity, safest in its class 2007 Kia Spectra Automatic transmission, pw, pl, cd player... 2007 Kia Sportage Automatic transmission, loaded w/more standard features than any vehicle in its class 'o 2007 Kia Rondo Best valued crossover available anywhere!! Visit us on the web @ P R E S re".; ol N,' ) f '. ,_" In s i uLYv "7 n2007 ~I1!L~I -- MSRP $23,730 MSRP $26,495 MSRP $17,905 N -4.---l^ $ jutw MSRPH 2,U0ZU MSRP $35,570 U- I, .W -~ I 2IN- MEHUEDE BSUIa -II ilEiial" Ali HI Rnteach editon, on 20,000 mllie, Only 1B,000 mle., CD. P/W, P/L., cru ., On load I P spoille r. . CALL FOuR PRICE I 101,495 SWAM-lb F: SC 3rd row L iplek, ,, || i ESr* ""'ii 3 i!n whals, Only i8Bk miallhar,apoihad Iumi whels, p/, | uo.f, DVD, CD, ockp. 1 024,4gW I hAD | I *S' nlar. I Lelherl nl laili cllm IllUllluEllt ili iUU l U tWIalUIIal lUMp Only 19,000 ,Ci> CD, hlk n v nllAolr Vn I laorple ck a , 017 P/M.p.. 1 | acdllnr chro eme 1 7 4-r. UuU eny 0 U1,EVT 0 H0ie Ua L ather9 OnrayIn ony 16.000 milea. | Lealthr, >1 | ~*7.0 ^' %g orrinu mlmIGUaMmu-u-ilI_ asma u nIseesvI is birmuvunna- . lint, vent Only 20k mlle, vent or., CD, Leathr, chromi wals running bords, 4 Only k m r. n of ow, Only 1 crdu,, p/ /. dllc, CD. c r a ln chir/, woodsraln, 0e Ster, Home LInk. : ll, crul S || MiU"FIUMIEil II I MC E IT1C"EBH"1144 -o" BDHICKLESARE CUSTOM is m SI I nly 19.000 miles, polished aluminum CD. bedllner, tow package shed Only 2k miles.l aalher chrome wheels. Lealher, wi wheel., bdlnerCD, crulse. aluminum wheala vn vI sors CO.D, OnStar, woodgraln. whee 1orth I la RIM 1 --_ i r-_______ ~ lll- -I ^ ^ _ m 200 O mlnum Only4 Leth004er .L2.11,0, 'SaT W 1 UECVY ATRO INu *N BUUin uinA nno sc CD, Leather, rear A/C, polished aluminum mem,,,. c w.huph.eI 6t whala me 0. wa I BeB II '10,495* *f ,, * niv esore. Only40.000 mles, CD, bedllner. Only4k miles I *.LnLs I 'I o iO Ul IBg I 2008 NISSHIN AurIMA auei u b go Oe uum i Onster, tow e package, p/, p/I, Ony .000 ml P PA, Aluminum who.li CD, P/W Only 38000 ll mil/..c0romewhB.,l |. I 1 r |L |cru ll, spoiler. mhs/a. el e. u *i .80I' I .3 00' IG SE CX 1007 BUICK RE1DEZ US CXL 2004 iBP WIUILER SPORT 414 2003 DODGE NEON ST I Sa, dual Only 8.000 miles, leaher, sunroof. Only 43.000 miles, 5 speed, CD.A/C, tow 5 speed, alumunum whe s, CD. OnS r, HomLInk, CD. package, tint, PW, PL spoiler. w 23.B600 'B04.0'BO B99 1, i i TDCK LUCERNE C L 2007 PONTIAC 064 I2 Bi n, alum Only 6,000 mil*s, CD, woodgrain, P/W, Alloy wheels, CD. crule, spoiler. 7k mill '21,99 1 '17,495' AR \17' - C Oubln leather, Co, pp .UDU. L Conveible, leather. CD, pcapl cnvsee a um. 1 '17 99' I I ,7, I IONUUUICGK lUGCIENE i Only 10,000, ealher, OnSlar, HomULInk, haMed & nMmory, CD. cruie. '26.767' 2007UICRRmDEHIODUsXL I BUlIUHK iUUEE li!i I MIElf-ErMfvIEFHiWgi MIUUMuusEiuiM iU N ai|I Only 00 m/il athar rd row, I Only 12,000 mIla, aluminum whels, Lealher hroma lp ral 6 di CDa sun 54x4. cr. 24k, Hm nk, ar, CD Only 10 woodgrln, 0 eaStar, HomeLnk. lroof0 bad 8noohhroenkh i ^M, B 0os ound. helaedmemoy. 1 2"023.91L 24,25m J flJ9 lz....J 928,945' gm! ] I "wi p ns.. n at AbI Mn Rrulue r un wla pe, King Ranch Lari Edition. '89.900' Only 24,000 llles. telhar, aunroof, CD. poleishd aluminum whl 0 au 7i 89 9 iU 1 iUIU B iuKLfiHSSa I X D03 I 14,000 miles OnStar woodgraln, CD,. Only 2 (.0 e P1, PW I hug 3 fi,3>SO" VPS h uI ru idllner, CD/MP Li whae 1003 CHEIV IHALANCE 171 nM I,0 halei Ladhyr, sunroof. P/W. P/L.. -.i Only 7.00 '23.500-' [ Ms aik I an DBUI drain, Chrome wh eLInk, | dual cliwi dIE il i C11m bglIl eIUdliBn AlWuL aster, CD, Chrome wheala, bed/lr, PW, P/I , S C 4 S I 6* N I gUlnl 191105 mRTUEI NMITU WDE Fun I sIU DunF E tlUI EUlER IAR K UUNUi 1W- 1 we n visot Low ml, 1 owner, dual di nate. Ithr, 5 p.ed. griat gas evwr. Only 46k miles, woodgrain, tape. ecrui, O heels. |onstar, cruise. power wlndows, power locks. .M"* I 'M B' II S8,7S0* D.s I D liMiuE uilu l ulai I CDltape, cruO p -. p/l I Le powl driver seat A6.a9B5* II *Prices Include all available Incentives, rebates, $2,000 cash or trade equity, and $1,000 Military Appreciation Rebate for active, reserve, or retired military. All vehicle prices are plus tax, tag, title, and dealer fee of $499.50. $750 Buick and Pontiac Rebate and SE Rebate where applicable. See dealer for limited warranty details. Vehicles subject to prior sale due to aggressive pricing and early print deadlines. Pictures are for Illustration purposes only. Dealer not responsible for typographical errors. Sorry, all prior sales excluded. See dealer for details. Inglis AiI nrinn HIill CrJTIus COwTY y(FL) CjONICLt TTI ON SELECT MODELS IEs D ink, dull aall. | 1H0T Swindow | XM Radio,| SATURDAY, J , !220 qA-MTRDAY w iw= S5 1 , Duniin uiit Jml I .. Contact Us | Permissions | Preferences | Technical Aspects | Statistics | Internal | Privacy Policy © 2004 - 2010 University of Florida George A. Smathers Libraries.All rights reserved. Acceptable Use, Copyright, and Disclaimer Statement Last updated October 10, 2010 - - mvs
http://ufdc.ufl.edu/UF00028315/00936
CC-MAIN-2017-34
refinedweb
63,756
78.55
This is driving me crazy. I am building an ecommerce app, with the cart in Django-carton. When I add an item to the cart, I can get the item's id from the context into the store, and pass it into my Ajax call and to the view when a customer adds the item with a button click. I want the customer to be able to delete and edit quantities in the cart using a button, and am now trying to create my delete and my edit quantity functions. I'm stuck because I don't understand how to pass the id the the view in Ajax. The id isn't in the item context object. I can get the id in the view by printing ids = request.session['CART'] self.product = product self.quantity = int(quantity) self.price = Decimal(str(price)) def remove(request): cart = Cart(request.session) product = Product.objects.get(id=request.GET.get('id')) cart.remove(product) return HttpResponse("Removed") u`rl(r'^remove/$', 'remove', name='shopping-cart-remove'),` cart = Cart(request.session) ids = request.session['CART'] {u'meal_pk': 15, u'price': u'5', u'quantity': 39} You can still call the remove view via AJAX quite easily with Javascript; unless otherwise specified, the view does not care if the request is submitted via AJAX. So, we can set that up easily w/ JQuery. So, in a template showing the shopping cart, for example: {% load carton_tags %} {% get_cart as cart %} <script type="text/javascript" src="path/to/jquery.js">/script> {% for item in cart.items %} <a onclick='AjaxRemove("{% url 'shopping-cart-remove' %}?id={{ item.product.id }}")'>Remove this item</a> {% endfor %} <script type="text/javascript"> function AjaxRemove(remove_url) { $.ajax({ url: remove_url, success: function(response) {alert(response);}, error: function() {alert("Couldn't remove item");} }) </script> will remove the item and give an alert if the AJAX request responds with success. You can further customize the view response to respond differently to AJAX requests using request.is_ajax(): def remove(request): cart = Cart(request.session) product = Product.objects.get(id=request.GET.get('id')) cart.remove(product) if request.is_ajax(): # do something, respond differently return HttpResponse("Removed (via AJAX)") return HttpResponseRedirect(reverse('shopping-cart-show'))
https://codedump.io/share/h9aGajCJzORn/1/remove-item-from-django-carton-with-ajax
CC-MAIN-2017-04
refinedweb
366
51.44
Java, J2EE & SOA Certification Training - 32k Enrolled Learners - Weekend - Live Class In the previous blog, you learned about Inheritance in Java. Now in this blog, we will understand one more important pillar of OOPs i.e Java Abstraction whose main functionality is to hide the internal implementation details. I will be covering below mentioned topics in this article: You may also go through this recording of OOPs Concepts where you can understand the topics in a detailed manner with examples. When we generally talk about abstraction the software language is an example of Abstraction. Let’s take an example and write a statement as- x= y + z; In the above statement, we are adding two variables that are stored in two different locations and then storing the result in a new location. So, what happens next? As you might know, there are registers, instruction sets, program counters, storage units, etc., involved. When we refer to abstraction in Java, we are talking about abstraction in object-oriented programming (OOP) and how it is achieved. The concept of abstraction in OOP starts right at the moment when a class is getting conceived. Abstraction is applied everywhere in software and OOP. Abstraction is nothing but the quality of dealing with ideas rather than events. It basically deals with hiding the internal details and showing the essential things to the user. If you look at the above gif, you can see when you get a call, we get an option to either pick it up or just reject it. But in reality, there is a lot of code that runs in the background. So here, you don’t know the internal processing of how a call is generated, that’s the beauty of abstraction. You can achieve abstraction in two ways: a) Abstract Class b) Interface Let’s understand these concepts in more detail. Abstract class contains the ‘abstract’ keyword. But what exactly it means? If you make the class abstract, it cannot be instantiated, i.e you cannot create an object of an abstract class. Also, an abstract class can contain abstract as well as concrete methods. Note: You can achieve 0-100% abstraction using an abstract class. To use an abstract class, you have to inherit it from the base class. Here, you have to provide implementations for the abstract methods, else it will become an abstract class. Let’s look at the syntax of an abstract class: Abstract class Sports { // abstract class sports Abstract void jump(); // abstract method } An interface in Java is a collection of abstract methods and static constants. As you might know in an interface, each method is public and abstract but it does not contain any constructor. Along with abstraction, the interface also helps to achieve multiple inheritance in Java. Note: You can achieve 100% abstraction using interfaces. Basically, Interface is a group of related methods with empty bodies. Let us understand interfaces by taking an example of a Shape’ interface with its related methods. public interface shape{ public void draw(); public double getArea(); } These methods need to be present in every ‘shape’, right? But their working is going to be different. Let’s assume that you want to draw a shape, say circle, square, rectangle etc. You already know, each shape possess its own dimensions like radius, height, and width. Say I want to draw a circle and calculate its area. Considering the same, I have created two methods in the above code i.e. draw() and getArea(). Now, using these methods, I can draw any shape and calculate the area by implementing its interface. Now, let’s look into the functionality as to how you can implement this interface. In order to implement this interface, the name of your class would change to any of the Shape, let’s say “Circle”. So, to implement the class interface, I will make use of ‘implement’ keyword: public class Circle implements Shape{ private double radius; public Circle(double r){ this.radius = r; } void draw(){ System.out.println("Drawing Circle"); } public double getArea(){ return Math.PI*this.radius*this.radius; } public double getRadius(){ return this.radius; } } public class Test{ public static void main (String args[]){ Shape c = new Circle(8); c.draw(); System.out.println("Area="+c.getArea()); } } In the above example, I have specified functionalities to the different methods and calculated area of a circle. Here, on implementing an interface, it allows a class to become more formal about the behavior that it provides. You can also create another class, say ‘Rectangle’ class which can inherit the same interface ‘shape’ with different functionalities. Suppose we have Sport as an interface. Here, implementation will be provided by classes called “Badminton” and “Football”. In a real scenario, an end user will not be aware of the implementation class. Hence, an object of the implementation class can be provided by the factory method. Factory method can be used to create an object of implementation class based on some criterion. Let’s implement the same and create an interface called Sport.java. public Interface Sport{ void play(); } //Now, we will create class named "Badminton" public class Badminton implements Sport { @Override public void play() { System.out.println("Playing badminton"); } } //Next let's create our last class “Football” public class Football implements Sport { @Override public void play() { System.out.println("Playing football"); } The last step is to create a main class named “SportInterface”. public SportInterface{ public static void main(String args[]){ // your code here } } When you execute the above program, the output will be as shown below: Playing badminton ------------------- Playing football I hope you guys are clear with the interface and how you can achieve abstraction using it. Now, let’s conclude this article by comparing Abstraction and Encapsulation. I hope you understood the difference between Abstraction and Encapsulation. With this, we come to an end on Java Abstraction blog. Hope, you found it informative and it helped in adding value to your knowledge. If you wish to learn more about Java, you can refer to the Java Tutorial. Now that you have understood “What is Java Abstraction”, Abstraction” blog and we will get back to you as soon as possible.
https://www.edureka.co/blog/java-abstraction/
CC-MAIN-2019-39
refinedweb
1,027
56.05
Your internal and external namespaces are different? Are you NATing between the public and private networks? A good site for a quick review is: Yes, I have static Nat mapping on the private and public, by the wa, that was a damn good article Thank Yes, I can ICMP to other site, example and etc. I just to be sure that it not a issue with the firewall new finding from the router(connected to the internet) i cannot ping to the public address i used for my static nat. after i configure a default route to point to my PIX internal address. i manage to sent ICMP from the router I telnet to the PIX and after sending a few ICMP to the public address i got a no response. so now i know at least the firewall seem to be the one causing the problem Are you sure that it's the name resolution that is the problem? Try using commands like host or nslookup to verify. It sounds to me like this could be caused by your firewall (or someone else's) not allowing ICMP traffic. Name resolution We have registered some public IP address with our full domain name from the external (anywhere out of my company)when I sent a ICMP request to the site name, I have the site name resolve into a public address which is correct. back internally, when I try to sent a ICMP request to the site name, I got nothing. I try putting a A records into the DNS server, which I guess it not suppose to be the right thing to do. I have forwarders configured inthe DNS, what else am I missing out? Thank This conversation is currently closed to new comments.
https://www.techrepublic.com/forums/discussions/name-resolution-1/
CC-MAIN-2021-43
refinedweb
295
67.28
ListView.AfterLabelEdit Event Occurs when the label for an item is edited by the user. Assembly: System.Windows.Forms (in System.Windows.Forms.dll) ListView control must be set to true. You can create an event handler for the BeforeLabelEdit event to perform tasks before the user edits the text of an item. For more information about handling events, see Handling and Raising Events. The following code example demonstrates how to use the AfterLabelEdit event to restrict a newly edited label to characters in the alphabet. The example uses the ASCIIEncoding class to obtain the ASCII character code of each character of the new label. If the character falls between the ASCII codes that represent numbers, the new label cannot be applied to the item. This example requires that you have created a ListView control on a form and added items to it. The example also requires that you have connected the AfterLabelEdit event to the event handler defined in the example code. In order to use the ASCIIEncoding class, your file must include the System.Text namespace. private void MyListView_AfterLabelEdit(object sender, System.Windows.Forms.LabelEditEventArgs e) { // Determine if label is changed by checking for null. if (e.Label == null) return; // ASCIIEncoding is used to determine if a number character has been entered. ASCIIEncoding AE = new ASCIIEncoding(); // Convert the new label to a character array. char[] temp = e.Label.ToCharArray(); // Check each character in the new label to determine if it is a number. for(int x=0; x < temp.Length; x++) { // Encode the character from the character array to its ASCII code. byte[] bc = AE.GetBytes(temp[x].ToString()); // Determine if the ASCII code is within the valid range of numerical values. if(bc[0] > 47 && bc[0] < 58) { // Cancel the event and return the lable to its original state. e.CancelEdit = true; // Display a MessageBox alerting the user that numbers are not allowed. MessageBox.Show ("The text for the item cannot contain numerical values."); // Break out of the loop and exit. return; } } } Available since 1.1
https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.afterlabeledit
CC-MAIN-2016-07
refinedweb
339
59.3
What does a “module” mean? Modules are just files that are used by another file. They typically perform a singular function, provide a framework to build with, a linter… you get the idea. How do modules work in deno? With ES6, we import javascript files from one file into another using import statements or with commonJS using something like const react = require('react');. When we use a package manager like yarn or npm what we are doing is importing a bunch of files to our computer/server then at the top of a file we are importing them. Not terribly different from deno but instead of sourcing the files locally, we use URLs. How is deno different from node with modules? When you import a file using an import statement (ie. import react from 'react') what we are doing is saying there is a module that this file depends on – in other words, it’s a dependancy. In node you can run npm ls and you can see the dependency tree. One thing that you will need to do with deno that you may not need to do with node is specify the file extension (.js, .jsx, .ejs, .ts, etc…) because it explicitly needs to know what is being imported. In Deno, you can run deno info './filename.js'; and you will see the “deps” or dependencies. What about external modules? Similar to using deno info './filename.js';, you can find the dependancies for a url. In your terminal, run deno info. You will see something just like this (this is the 2nd time I’ve run it so what you see will likely show it’s downloading, then compiling. Why would it be compiling? Deno recommends all modules be written in Typescript. Wait so we are just grabbing a random url from the internet, this doesn’t sound safe, right? Absolutely, you should never click a random url let alone install it or allow it to run on your computer. If you remember us talking about the security of deno over in my “The future of backend development” article, you’ll see that it’s much safer than it would be in node due to permissions. Generally, you can trust the deno standard library which is vetted by the deno team and we will dive more into that, 3rd Party Modules, and cache in my next article. I hope you enjoyed this brief article on modules with deno and I look forward to writing more. My next article on deno will be about the standard library, 3rd party modules, and caching.!
http://drewlearns.com/2020/07/06/how-modules-work-in-deno/
CC-MAIN-2021-04
refinedweb
432
73.07
Any company I ever phone always has one of those automated answering systems that ask me questions before I get to speak to a real person, and because I'm a bit weird, I've always thought "why can't I have one of those?" My daughter started secondary school a few months ago, and the form they sent us to fill in only had one slot for a contact phone number. What happens if we give them my details and I'm unavailable? Lucky for me, I work for Vonage, and know how to set up a phone number capable of forwarding calls to either one of us - or both! Vonage to the rescue! What We're Going to Build - The school is given a Vonage number as a contact number. If they call the number, an automated message gives them the following options: - List the parents' names, with a digit to press to be forwarded to each parent. - If the caller does nothing, forward to the first parent in the list. - Press '*' if there is an emergency. This will set up a conference call and dial in both parents. I had another couple of requirements: - Be simple, and practically free to host and run. - No database to manage, for added simplicity. How We're Going to Build It I've chosen a couple of technologies I'm most familiar with - Python 3.6 and Flask. I've chosen Python 3.6 because that was the release that came with f-strings and they're great! I'm also using pipenv to manage my Python dependencies. This combination allows us to build a great home IVR (Interactive Voice Response) system in just over 100 lines of<< Let's Go! First let's set up our development environment. Because Vonage needs to call the server you're going to write, and your laptop is sitting behind a nice, secure firewall, you'll probably want to use ngrok for local development - let me recommend my colleague Aaron's excellent blog post about using ngrok. You'll probably want to install pipenv globally, and from then on we'll use it to manage our project's virtual environment: sudo pip install --upgrade pipenv Now let's install the dependencies we'll need for this project, and activate our virtual environment. Run these commands in your new project's directory - I've called mine hotline: # Install compatible versions of `vonage`, `flask` and `attrs` pipenv install vonage~=2.5.5 flask~=1.0.2 attrs~=18.2.0 # Activate the virtualenv: pipenv shell Now let's start writing our Flask server. Open up a file called hotline.py, and type the following: from flask import Flask, jsonify, url_for as url_for_, request app = Flask(__name__) @app.route("/incoming/", methods=["GET", "POST"]) def incoming(): """ An HTTP endpoint which handles incoming calls. :return: A JSON HTTP response containing the main menu NCCO actions. """ return jsonify( [ { "action": "talk", "text": "Welcome to the Brockman family hotline", "voiceName": "Amy", } ] ) Now, in separate terminal windows you'll want to run the following at the same time: # Tunnel requests to local port 5000 (Flask's default port): $ ngrok http 5000 # Start your Flask server: $ FLASK_APP=hotline flask run --debugger --reload When you run ngrok, it prints out the generated domain name it will forward through to your server. It will look something like this: -> localhost:5000. So now you can test your Flask app at (replace abcde1234 with whatever was printed on your terminal). You should see something like this: Make a Phone Call to Your Server Now you need to configure a Vonage Virtual Number to call your server when someone calls your number. So now you need 3 things: - A Vonage account - A configured Voice application - A configured Vonage Virtual Number. Create_2<< Install the Vonage CLI Install the Vonage CLI globally with this command: npm install @vonage/cli -g Next, configure the CLI with your Vonage API key and secret. You can find this information in the Developer Dashboard. vonage config:set --apiKey=VONAGE_API_KEY --apiSecret=VONAGE_API_SECRET Create a Voice Application Create a new directory for your project and CD into it: mkdir my_project CD my_project Now, use the CLI to create a Vonage application. vonage apps:create ✔ Application Name … hotline … yes Application created: 34abcd12-ef12-40e3-9c6c-4274b3633761 You'll want to save that ID that's printed out after Application created:. You'll need it in the next step. Buy a Number and Link it to Your Voice App Now you need a number so you can receive calls. You can rent one by using the following command (replacing the country code with your code). For example, if you are in the USA, replace GB with US: vonage numbers:search US vonage numbers:buy [NUMBER] [COUNTRYCODE] Now link the number to your app: vonage apps:link --number=VONAGE_NUMBER APP_ID Okay! Now you can test all that by calling the phone number you just bought. You should hear Amy read out the message "Welcome to the Brockman family hotline." If you hear a message saying the number was not recognised, or things don't work out, open the ngrok debug page at in your browser so you can see what requests came in and whether the server responded correctly. Responding to INPUT Let's change the message and add an input action to our menu NCCO so that the caller can select the person they wish to speak to: @app.route("/incoming/", methods=["POST", "GET"]) def incoming(): """ An HTTP endpoint which handles incoming calls. """ return jsonify( [ { "action": "talk", "text": """ Welcome to the Brockman family hotline. To speak to Pete Brockman, please press 1. To speak to Sue Brockman, please press 2. """, "voiceName": "Amy", "bargeIn": True, }, { "action": "input", "eventUrl": [url_for("family_selection")], "maxDigits": 1, }, ] ) @app.route("/family-selection/", methods=["POST"]) def family_selection(): """ An HTTP endpoint which handles the DTMF input from the main menu. """ postdata = request.json if postdata["timed_out"]: index = 0 else: index = int(postdata["dtmf"]) - 1 return jsonify([{ "action": "talk", "text": f"You selected the {index} option", }]) Don't call it just yet! We're not quite ready ... but, let me explain what this does: I added this to the talk action: "bargeIn": True, This means that the caller can press a number on their phone while the talk action is still reading them the message. It will automatically activate the following input action. I also added the following action: { "action": "input", "eventUrl": [url_for("family_selection")], "maxDigits": 1, }, This input action tells Vonage to call the family_selection function we've also just added. Flask's url_for function provides the URL for the given function name. A Neat Use of partial url_for by default generates a relative URL. Relative URLs aren't supported by Vonage Voice -- so, I've added the following to the top of the file: from functools import partial from flask import url_for as url_for_ # We don't have any use for relative URLs, so hard-code this param: url_for = partial(url_for_, _external=True) This use of partial sets the url_for function to something more useful - it's a copy of Flask's url_for function, but with the default value of the _external parameter set to True. (I forgot to set this parameter so many times before I fixed it with this!) Once you've added that to your file and ensured your server has reloaded, it's time to call your number again. It should read you the message, allow you to pick a number on your phone, and then read you out that number with one subtracted from it. If you wait for a few seconds, it should then tell you that you selected zero. Why am I subtracting 1 from the number they entered? It's so we can select a person from a list! If the test above went well, let's put our people in a list and make this menu a bit more dynamic. Forwarding Calls The first thing we really need is a better way of configuring our "parents". It's nice to have a list of the people we will want to forward calls to. For the moment, let's define their details in the Python file. Please don't do this with real phone numbers and commit to a public repository! import attr @attr.s class Endpoint: """ A data class containing a potential callee's details. """ name = attr.ib() phone_number = attr.ib() ENDPOINTS = [ Endpoint(name="Pete Brockman", phone_number="447700900123"), Endpoint(name="Sue Brockman", phone_number="447700900456"), ] VONAGE_NUMBER = "447700900847" In the code above, I'm using the amazing attrs library to define a simple class, Endpoint, for holding a person's name and phone number. I'm then creating a list of Endpoints for the people we may want to forward calls to. Now I add a simple utility function for generating talk actions. It will make the code more readable and means that by default we'll be using the Amy voice. You can get a list of all the voices Vonage supports here def talk(message, voice="Amy", barge_in=None): """ Utility function to generate a `talk` NCCO action. """ response = {"action": "talk", "text": message, "voiceName": voice} if barge_in is not None: response["bargeIn"] = barge_in return response And now I've factored out the code for generating the main menu message: def make_answer_message(message, endpoints): """ Generate a script to be read to the caller, informing them of their options. """ endpoint_options = [ f"To speak to {endpoint.name}, please press {code}." for code, endpoint in enumerate(endpoints, start=1) ] return " ".join([message, *endpoint_options, "If you're not sure, please hold."]) You see that *endpoint_options in the last line of the code above? Did you know you can do this in Python 3 to expand a list into another list? In this case, the result is that we end up with a list of strings that we can join together with spaces. You can now replace the talk action in the incoming method with the following call to the talk function: talk( make_answer_message( "Welcome to the Brockman family hotline.", ENDPOINTS ), barge_in=True, ), And finally, you can modify the family_selection function so that it will actually forward the call to a phone number: @app.route("/family-selection/", methods=["POST"]) def family_selection(): """ An HTTP endpoint which handles the DTMF input from the main menu. """ postdata = request.json try: if postdata["timed_out"]: index = 0 else: index = int(postdata["dtmf"]) - 1 if index < len(ENDPOINTS): # They elected to speak to an individual endpoint = ENDPOINTS[index] return jsonify( [ talk(f"Connecting to {endpoint.name}"), { "action": "connect", "from": VONAGE_NUMBER, "endpoint": [{"type": "phone", "number": endpoint.phone_number}], }, ] ) except ValueError: pass # This is raised by `int`, and can be ignored - we just forward on to the following error message... return jsonify([talk("I didn't understand that option.")]) The code above looks quite a lot more complicated than it did before, but that's because we're now doing some error checking and telling the caller if they pressed a key we didn't expect. If the user presses 1 or 2, they'll be read a message saying that they're being connected, and then they will be connected to the endpoint's number. Okay, so what have we done so far? - The school can call my number and they're read a list of people they can connect to. - If they press 1 or 2 they'll be connected to that person. (Incidentally, neither side of the phone call can see each other's phone number, so this is a great way to anonymise calls!) - If the caller waits they'll be connected to the first endpoint in the configured list. We could stop here if we want, but I had a third requirement: In case of an emergency, the caller could hit star, and it would call both of us and dial us all into a conference call. Adding a Conference Call Option A conference call is created with a conversation action, and it ends (by default) when there are no more people on the call. The only thing we need to connect a person to a conference call is the name that we gave the conference call with the first conversation action. Initialise a Client Object We're going to need a Vonage Client object to create outbound calls to the parents, so it's lucky we installed the Vonage Python library at the start of this tutorial, right? Put the following lines near the top of your file. If you want to, you can paste your application_id and private_key values directly into the file, but I think it's better to load them from environment variables instead. It's too easy to commit them to a public repository, and anyone who has them can spend your Vonage balance! import vonage vonage_client = vonage.Client( application_id=os.getenv('VONAGE_APPLICATION_ID'), private_key=os.getenv('VONAGE_PRIVATE_KEY') ) Tell the User They Can Press '*' Before we do that, add the message "If this is an emergency, please press star." to the string returned by our make_answer_message function. I added it just after the message item in the list. Create a Conference Call Now let's create our conference call. Take a deep breath; it's a reasonably big block of code. We'll need a new HTTP endpoint, called conference_ncco, which will provide NCCO actions for each of the parents being dialled into the conference call. I've abstracted out all the code for dialling out to the parents and generating NCCO actions for the caller into a function called create_conference_call. I'm pasting the two functions together so you can see how the conference_id parameter, which is generated in create_conference_call is embedded in the URL path to the conference_ncco endpoint so that it knows the name of the conference call to embed in the conversation NCCO action. @app.route("/conference/<conference_id>/ncco", methods=["GET", "POST"]) def conference_ncco(conference_id: str): """ An HTTP endpoint which generates the NCCO actions to connect a callee to a conference call. """ return jsonify( [ talk("You are being connected to a family hotline conference call."), {"action": "conversation", "name": conference_id}, ] ) def create_conference_call(endpoints): """ Generate an NCCO response to connect the caller to all the provided `endpoints` in a single conference call. """ # Generate a unique name for our conference: conference_name = str(uuid.uuid4()) # Loop through the endpoints and dial them into the conference call: for endpoint in endpoints: vonage_client.create_call( { "to": [{"type": "phone", "number": endpoint.phone_number}], "from": {"type": "phone", "number": VONAGE_NUMBER}, "answer_url": [ url_for("conference_ncco", conference_id=conference_name) ], } ) print(f"Dialing {endpoint.phone_number} into {conference_name}") # Connect the inbound leg to the conference call we're creating: return jsonify( [ talk("Connecting all parties."), { "action": "conversation", "name": conference_name, }, ] ) Handle a Star Input Now, we just need to modify family_selection so it knows what to do with a * dtmf code, by putting this near the top of the function: if postdata["dtmf"] == "*": return create_conference_call(ENDPOINTS) Test It! Call your Vonage number, and follow each of the instructions in the main menu to check that they work! If it's all working, then it's time to deploy it! Deploy It! If you check out the Git repository for this project you'll see that I've made some minor changes to it, including loading all configuration from environment variables, and adding a Procfile. This should mean that it's relatively straightforward to deploy to Heroku - but I'll leave that as an exercise for you! Don't forget to update your Vonage Application's configuration to point at the new Heroku URL instead of the ngrok URL you've been using for development. Once it's deployed, it's time to talk to your child's school and ask them to update your contact details! What Did We Do? We built a whole IVR system to allow the school to contact us! It can forward calls to individual numbers, or connect everyone in one conference call! Further Credit Some more things I considered doing with this server include: - Forwarding SMS messages sent to the number to both parents. - Sending text messages to inform a parent if they missed a call from the school. - Creating a 'race' call that would call both parents and the first one to answer takes the call. The second call would be cut and be sent an SMS saying the other parent had handled it. - If no parent picks up, allowing the school to record a message, which would then be available for both parents to pick up. - Integration with a family Slack, with alerts for incoming phone calls, forwarding of SMS messages to the Slack, and even posting of recorded messages to be played within the Slack! As you can see, there is lots of potential once you get started. I hope you had fun following this tutorial. I'm @judy2k on Twitter - follow me, or ask me questions about this tutorial!
https://developer.vonage.com/blog/2018/11/20/build-a-family-hotline-dr
CC-MAIN-2022-27
refinedweb
2,808
61.26
Created on 2009-11-13.13:21:41 by alex.gronholm, last changed 2009-11-25.08:48:28 by pjenvey. Seems like inheriting from the same interface twice causes problems. ComboBoxModel is a subinterface of ListModel. The following code should work but doesn't: from javax.swing import ListModel from javax.swing import ComboBoxModel class A(ListModel): pass class B(A, ComboBoxModel): pass class C(B): pass TypeError: Error when calling the metaclass bases Cannot create a consistent method resolution order (MRO) for bases B[<class '__main__.A'>, <type 'org.python.proxies.__main__$B$2'>] What I really can't understand is why it only barfs at "class C(...)" and not when creating the "problem" type (B). The root cause of this was B's mro incorrectly contained B's proxy class twice. This is fixed in r6950
http://bugs.jython.org/issue1504
CC-MAIN-2014-52
refinedweb
139
63.36
The author selected NPower to receive a donation as part of the Write for DOnations program. Introduction Angular is a front-end web framework built by Google. It allows developers to build single-page applications modeled around a model-view-controller (MVC) or model-view-viewmodel (MVVM) software architectural pattern. This architecture divides applications into different, but connected parts allowing for parallel development. Following this pattern, Angular splits its different components into the respective parts of a web application. Its components manage the data and logic that pertain to that component, display the data in its respective view, and adapts or controls the view based on the different messages that it receives from the rest of the app. Bootstrap is a front-end library that helps developers build responsive websites (sites that adapt to different devices), quickly and effectively. It makes use of a grid system that divides each page into twelve columns, which ensures that the page maintains its correct size and scale no matter what device it’s being viewed on. APIXU provides global weather data to users via their API. Using APIXU, a user can retrieve the latest weather as well as future weather forecasts for any location in the world. In this tutorial, you’ll create a weather app using Angular, Bootstrap, and the APIXU API. You’ll be able to type a location into a search form and on submission of that form, see the current weather details for that location displayed in your app. The Angular version used in this tutorial is 7.2.0 and the Bootstrap version used is 4.2.1. Prerequisites Before you begin this tutorial, you’ll need the following: Step 1 — Installing Angular Before you begin creating your app, you need to install Angular. Open your terminal and run the following command to install the Angular CLI globally on your machine: The Angular CLI is the Command Line Interface for Angular. It serves as the main way to create a new Angular project as well as the different sub-elements that make up an Angular project. Using the -g argument will install it globally. After a short while, you'll see the following output: Output from installing Angular ... + @angular/cli@7.2.2 ... You've now installed Angular on your local machine. Next, you'll create your Angular application. Step 2 — Creating Your Angular App In this step you'll create and configure your new Angular application, install all its dependencies, such as Bootstrap and jQuery, and then finally check that the default application is working as expected. First, use the ng command to create an Angular application, you can run this from your terminal. Note: If you're on Windows, you may have issues trying to run an ng command from Command Prompt even though you've installed Node.js and npm correctly. For example, you may get an error such as: ng is not recognized as an internal or external command. In order to resolve this, please run the ng command inside the installed Node.js command prompt located in the Node.js folder on Windows. The ng command is a prerequisite to running any action with Angular from the command line. For example, whether you're building a new project, creating components, or creating tests, you prefix each desired functionality with the ng command. In this tutorial, you'll want to create a new application; you'll achieve this by executing the ng new command. The ng new command creates a new Angular application, imports the necessary libraries, and creates all the default code scaffolding that your application requires. Begin by creating a new application, in this tutorial it will be called weather-app, but you can change the name as you wish: The ng new command will prompt you for additional information about features that you want to add to your new application. OutputWould you like to add Angular routing? (y/N) The Angular routing allows you to build single page applications with different views using the routes and components. Go ahead and type y or hit ENTER to accept the defaults. OutputWhich stylesheet format would you like to use? (Use arrow keys) Hit ENTER to accept the default CSS option. The app will continue its creation process, and after a short time you'll see the following message: Output... CREATE weather-app/e2e/src/app.e2e-spec.ts (623 bytes) CREATE weather-app/e2e/src/app.po.ts (204 bytes) ... Successfully initialized git. Next, in your text editor, open the weather-app folder. Looking at the structure of your directory, you'll see several different folders and files. You can read a full explanation of what all of these files do here, but for the purposes of this tutorial, these are the most important files to understand: The package.jsonfile. Located in the root weather-appfolder, it performs just like any other Node.js application, holding all the libraries your application will use, the name of your application, commands to run when testing, and so on. Primarily, this file holds details about external libraries that your Angular application needs in order to run properly. The app.module.tsfile. Located in the appfolder within the weather-app/srcfolder, this file tells Angular how to assemble your application and holds details about the components, modules, and providers in your application. You'll already have an imported module, BrowserModule, within your importsarray. The BrowserModuleprovides essential services and directives for your application and should always be the first imported module in your importsarray. The angular.jsonfile. Located in the root weather-appfolder of your app, this is the configuration file for the Angular CLI. This file holds internal configuration settings of what your Angular application needs to run. It sets defaults for your entire application, and has options such as what configuration files to use when testing, what global styles to use in your app, or to which folder to output your build files. You can find out more about these options in the official Angular-CLI documentation. You can leave all of these files alone for the moment, as you'll install Bootstrap next. Bootstrap has two dependencies that you'll need to install in order for it to work properly in Angular — jQuery and popper.js. jQuery is a JavaScript library focused on client-side scripting, while popper.js is a positioning library that mainly manages tooltips and popovers. In your terminal, move to your root weather-app directory: Then execute the following command to install all of the dependencies and save the references to the package.json file: - npm install --save jquery popper.js bootstrap The --save option automatically imports your references into the package.json file so that you don't have to manually add them after installation. You'll see output showing the version numbers that were installed, like the following: Output+ popper.js@1.14.6 + bootstrap@4.2.1 + jquery@3.3.1 ... You have now successfully installed Bootstrap and its dependencies. However, you'll also need to include these libraries inside your application. Your weather-app does not yet know that it'll need these libraries, therefore you need to add the paths to jquery, popper.js, bootstrap.js, and bootstrap.css into your angular.json file. For popper.js, the file you'll need to include is node_modules/popper.js/dist/umd/popper.js. jQuery requires the node_modules/jquery/dist/jquery.slim.js file. Finally, for Bootstrap you'll need two files (both the JavaScript file and the CSS file). These are node_modules/bootstrap/dist/js/bootstrap.js and node_modules/bootstrap/dist/css/bootstrap.css respectively. Now that you have all the required file paths, open the angular.json file in your text editor. The styles array is where you'll add the reference to the CSS files, whilst the scripts array will reference all the scripts. You'll find both of these arrays near the top of the angular.json file, within the "options": JSON object. Add the following highlighted content to the file: angular.json ... "options:" { ... "styles": [ "node_modules/bootstrap/dist/css/bootstrap.css", "src/styles.css" ], "scripts": [ "node_modules/jquery/dist/jquery.slim.js", "node_modules/popper.js/dist/umd/popper.js", "node_modules/bootstrap/dist/js/bootstrap.js" ]}, ... You've now imported the main .js and .css files you need for Bootstrap to work properly. You've specified the relative paths to these files from your angular.json file: adding your .css files in the styles array and .js files in the scripts array of angular.json. Make sure you've saved the angular.json file after adding this content. Now, start your application with the ng serve command to check that everything is working correctly. From the weather-app directory in your terminal, run: The --o argument will automatically open up a browser window that will show your application. The application will take a few seconds to build, and then will display in your browser. You'll see the following output in your terminal: Output** Angular Live Development Server is listening on localhost:4200, open your browser on ** ... Once the browser opens, you'll see a default Angular app page. If you don't see these outputs, run through this step again and ensure that everything is correct. If you see an error such as: Port 4200 is already in use. Use '--port' to specify a different port then you can change the port number by typing: - ng serve --o --port <different-port-number> The reason for this potential error message is because port 4200 on your machine is being used by another program or process. You can either, if you know what that process is, terminate it or you can follow the above step to specify a different port number. You've now set up your application scaffolding. Next, you'll create a weather component that will contain the main form and associated weather details of the search location. Step 3 — Creating Your Weather Component An Angular application is primarily made up of components, which are pieces of logic that have a particular function within an application. The component is composed of some logic that manages part of the screen in an application — this is called the view. For example in this tutorial, you're going to create a Weather Component that will be responsible for handling two tasks: - Searching for a location - Displaying associated weather data for that location To achieve the first objective, you'll create a form that will allow you to search for a location. When you click the search button on your form, it will trigger a function that will search for that location. To achieve the second objective, you'll have a <div> with nested <p> tags that will neatly display your retrieved data. Whilst your app is running from your terminal window, you can't type anything else in that particular window. Therefore, open up the weather-app directory in a new terminal window if you want to execute other ng commands. Alternatively, you can stop the app from running in the original terminal window by pressing CTRL + C. You can then install the new component, and after that start the app again by typing ng serve --o. Execute the following command that will create your Weather Component and automatically import it into your app.module.ts file. Remember that your app.module.ts file holds details about all the components, modules, and providers in your application. - ng generate component weather You'll see output like this (the exact byte sizes may vary): OutputCREATE src/app/weather/weather.component.css (0 bytes) CREATE src/app/weather/weather.component.html (26 bytes) CREATE src/app/weather/weather.component.spec.ts (635bytes) CREATE src/app/weather/weather.component.ts (273 bytes) UPDATE src/app/app.module.ts (400 bytes) ... This output shows that Angular has created the four files necessary for a component: - The .cssand .htmlfiles for your view - A .spec.tsfile for testing your component - A .component.tsfile to hold your component's functions Angular has also updated the src/app/app.module.ts file to add a reference to the newly created component. You'll always find component files under the src/app/name-of-component directory. Now that you have installed your new component, return to your browser to see the app. If you stopped the app running to install the new component, start it again by typing: You'll notice that you can still see "Welcome to app!" (the default component) displayed on the page. You can't see your newly created component. In the next section, you'll change this so that whenever you go to localhost:4200, you'll access your newly created weather component instead of Angular's default component. Step 4 — Accessing Your Weather Component In standard HTML, whenever you want to create a new page, you create a new .html file. For example, if you already had a pre-existing HTML page from which you wanted to navigate to your newly created page, you'd have an href attribute with an anchor tag to point to that new page. For example: preexisting.html <a href="">Go to New Page</a> In Angular, however, this works slightly differently. You cannot use an href attribute in this way to navigate to a new component. When you want to link through to a component, you need to make use of Angular's Router library and declare a desired URL path within a file that will map directly to a component. In Angular, you call this file routes.ts. This holds all the details of your routes (links). For this file to work correctly, you will import the Routes type from the @angular/router library and list your desired links to be of type Routes. This will communicate to Angular that these are a list of routes for navigation in your app. Create the file routes.ts in your text editor and save it in the src/app directory. Next, add the following content to the routes.ts file: src/app/routes.ts import { Routes } from '@angular/router' Now, declare the URL path and the component in src/app/routes.ts. You want to make your app such that when you go to the homepage (), you access your newly created Weather Component. Add these lines to the file, which will map the root URL to the Weather Component you just created: src/app/routes.ts import { Routes } from '@angular/router' import { WeatherComponent } from './weather/weather.component'; export const allAppRoutes: Routes = [ { path: '', component: WeatherComponent } ]; You've imported your WeatherComponent, and then created a variable allAppRoutes that's an array of type Routes. The allAppRoutes array holds route definition objects each containing a URL path and the component to map to. You've specified that any time you go to the root URL (''), it should navigate to the WeatherComponent. Your final routes.ts file will look like this: src/app/routes.ts import { Routes } from "@angular/router"; import { WeatherComponent } from "./weather/weather.component"; export const allAppRoutes: Routes = [ { path: '', component: WeatherComponent } ]; You now need to add these routes to your main app.module.ts file. You need to pass the array you just created — allAppRoutes — into an Angular module called the RouterModule. The RouterModule will initialize and configure the Router (responsible for carrying out all app navigation) and provide it with its routing data from allAppRoutes. Add the following highlighted content: src/app/app.module.ts ... import {WeatherComponent} from './weather/weather.component'; import {RouterModule} from '@angular/router'; import {allAppRoutes} from './routes'; ... @NgModule({ declarations:[ ... ], imports: [ BrowserModule, RouterModule.forRoot(allAppRoutes) ] ... }) ... In this file, you've imported the RouterModule and allAppRoutes array of route objects. You've then passed the allAppRoutes array into the RouterModule so that your Router knows where to route your URLs to. Lastly, you need to enable routing itself. Open the app.component.ts file. There's a templateUrl property that specifies the HTML for that particular component: ./app.component.html. Open this file, src/app/app.component.html, and you will see that it contains all of the HTML for your localhost:4200 page. Remove all of the HTML contained within app.component.html and replace it with: src/app/app.component.html <router-outlet></router-outlet> The router-outlet tag activates routing and matches the URL the user types into the browser to the route definition you created earlier in the routes.ts file under the allAppRoutes variable. The router then displays the view in the HTML. In this tutorial, you'll display the weather.component.html code directly after the <router-outlet></router-outlet> tag. Now, if you navigate to, you will see weather works! appear on your page. You've set up routing in your application. Next, you'll create your form and details section that will enable you to search for a location and show its associated details. Step 5 — Defining the User Interface You'll be using Bootstrap to act as the scaffolding for your application view. Bootstrap is useful for creating ready-made, responsive websites that adapt to any device (mobile, tablet, or desktop). It achieves this by treating every row on a webpage as twelve columns wide. On a webpage, a row is simply a line from one end of the page to the other. This means that every page's content must be contained within that line, and it must equal twelve columns. If it doesn't equal twelve columns, it'll be pushed down to another row. For example, in Bootstrap's grid system, there would be a twelve-column row divided into two sections of six columns, and the next twelve-column row divided into three sections of four columns. In the Bootstrap documentation, you can read more about this grid system. You'll be splitting your page into two sections of six columns with the left column holding your search form and the right showing the weather details. Open src/app/weather/weather.component.html to access your WeatherComponent HTML code. Delete the paragraph that is currently in the file, and then add the following code: src/app/weather/weather.component.html <div class="container"> <div class="row"> <div class="col-md-6"><h3 class="text-center">Search for Weather:</h3></div> <div class="col-md-6"><h3 class="text-center">Weather Details:</h3></div> </div> </div> You created a <div> with class container to hold all your content. You then created a row that you split into two sections of six columns each. The left-hand side will hold your search form and the right, your weather data. Next, to build your form, you'll work in the first col-md-6 column. You'll also add a button that will submit what you've typed into your form to APIXU, which will then return the requested weather details. To do this, identify the first col-md-6 class and add the following highlighted content underneath the <h3> tag: src/app/weather/weather.component.html ... <div class="col-md-6"> <h3 class="text-center"> ... You've added your form and added a form-group class that holds your search bar. You've also created your button to search for the weather. In your browser, your weather app page will look like this: This looks a little compact, so you can add some CSS in order to style the page with some better spacing. The major advantage of Bootstrap is that it comes with spacing classes that you can add to your HTML without needing to write any extra CSS of your own. If, however, there is any extra CSS you would like to incorporate that Bootstrap's standard classes don't cover, you can write in your own CSS as necessary. For this tutorial, you will use Bootstrap's standard classes. For every <h3> tag, you will add the .my-4 Boostrap CSS class. The m sets margin on the element, the y sets both margin-top and margin-bottom on the element, and finally 4 specifies the amount of margin to add. You can find out more details about the different spacing types and sizes here. In your weather.component.html file, add the following highlighted content to replace the current <h3> tags: src/app/weather/weather.component.html <div class="col-md-6"> <h3 class="text-center my-4"> <div class="col-md-6"> <h3 class="text-center my-4">Weather Details:</h3> </div> Reload the page in your browser and you'll see that you have more spacing. You've created your form as well as the section where you're going to display the information you receive from the APIXU API. Next, you'll wire up your form to be able to input your location correctly. Step 6 — Wiring Up Your Form In Angular, there are two ways of creating forms for user input in your application — reactive or template-driven. Although they achieve the same result, each form type handles processing user input data differently. With reactive forms, you create a list of the different elements of your form in your .component.ts file. You then connect them to your created HTML form within the respective .component.html file. This is strictly one-way; that is, data flows from your HTML to your .component.ts file, there is no bi-directional flow of data. With template-driven forms, you create your form as you would in normal HTML. Then, using directives such as ngModel, you can create either one-way or two-way data bindings from your HTML, back to your data model in your component, and vice-versa. There are strengths and weaknesses in each approach, but in general, reactive forms are preferable because of the: - Flexibility to create forms of varying complexities. - Simplicity to unit test by checking on the state of each form control in the component's .component.tsfile. - Capability to subscribe to values within a form. A developer can subscribe to the form's value stream allowing them to perform some action on values being typed into the form in real time. Despite these strengths, reactive forms can sometimes be more complex to implement. This can lead to developers writing more code than compared to a template-driven form. To see a comprehensive overview of both form types and best use cases, Angular's official guide provides a good starting point. For this tutorial, you'll be using reactive forms. To use a reactive form, open the file app.module.ts. Next, import the ReactiveFormsModule by declaring the import toward the top of the file. src/app/app.module.ts ... import { ReactiveFormsModule } from '@angular/forms'; @NgModule({ ... }) ... Finally, add the ReactiveFormsModule to your list of imports. src/app/app.module.ts ... @NgModule({ ... imports: [ BrowserModule, RouterModule.forRoot(allAppRoutes), ReactiveFormsModule ] ... }) ... Following these code additions, your app.module.ts will look like this: src/app/app.module.ts import { BrowserModule } from "@angular/platform-browser"; import { NgModule } from "@angular/core"; import { AppComponent } from "./app.component"; import { WeatherComponent } from "./weather/weather.component"; import { RouterModule } from "@angular/router"; import { allAppRoutes } from "./routes"; import { ReactiveFormsModule } from "@angular/forms"; @NgModule({ declarations: [AppComponent, WeatherComponent], imports: [ BrowserModule, RouterModule.forRoot(allAppRoutes), ReactiveFormsModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule {} Once you've added both of these lines, open the weather.component.ts file and import the FormBuilder and FormGroup classes. src/app/weather/weather.component.ts import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; Now create a variable in your weather.component.ts file that will reference your FormGroup: weather.component.ts export class WeatherComponent implements OnInit { public weatherSearchForm: FormGroup; constructor() { } ... Every time you want to perform an action on your form, you'll reference it via the weatherSearchForm variable. You'll now add the FormBuilder import into your constructor so that you can use it in your component. weather.component.ts ... public weatherSearchForm: FormGroup; constructor(private formBuilder: FormBuilder) {} ... By adding the formBuilder to the constructor, it creates an instance of the FormBuilder class, allowing you to use it within your component. You are now ready to create your FormGroup and its respective values in the weather.component.ts file. If you have several input options in your form, it's best practice to enclose it within a FormGroup. In this tutorial, you will only have one (your location input), but you will use the FormGroup anyway for practice. It's important that your form is ready for use when you navigate to your component. Because you're using a reactive form, you must create the tree of elements within the form first before you bind it to the HTML. To achieve this, you need to ensure that you create your form elements in the ngOnInit hook inside your WeatherComponent. The ngOnInit method runs once at the initialization of a component, executing any logic that you specify needs to run before the component is ready to use. You therefore have to create your form before you can complete the binding to HTML process. In your WeatherComponent, you'll initialize the form within the ngOnInit hook: src/app/weather/weather.component.ts ... constructor(private formBuilder: FormBuilder) {} ngOnInit() { this.weatherSearchForm = this.formBuilder.group({ location: [''] }); } You have created the first part of the form according to reactive form style: defining your form components in the weather.component.ts file. You've created a group of your form's composite elements (at the moment, you have one element, location). The [''] array allows you to specify some extra options for your form inputs such as: pre-populating it with some data and using validators to validate your input. You have no need of any of these for this tutorial, so you can just leave it blank. You can find out more about what you can pass into an element property here. You have two more things to do before your form is complete. First open up your weather.component.html file. You need to assign the form a property [formGroup]. This property will be equal to the variable you just declared in your weather.component.ts file: weatherSearchForm. Second, you have to bind your location element (declared in your weather.component.ts file) to your HTML. In weather.component.html, add the following highlighted content: src/app/weather/weather.component.html ... <form [formGroup]="weatherSearchForm" > > ... You've added the [formGroup] property, binding your form to HTML. You've also added the formControlName property that declares that this particular input element is bound to the location element in your weather.component.ts file. Save your file and return to your browser, you'll see that your app looks exactly the same. This means that your form is correctly wired up. If you see any errors at this stage, then please go back through the previous steps to ensure that everything is correct in your files. Next, you'll wire up your button to be able to accept input data into your form. Step 7 — Connecting Your Button In this step you're going to connect your search button to your form in order to be able to accept the user's input data. You're also going to create the scaffolding for the method that will eventually send the user's input data to the APIXU weather API. If you take a look back at your code in weather.component.html, you can see that your button has a type submit: src/app/weather/weather.component.html <form> ... <div class="text-center"> <button type="submit" class="btn btn-success btn-md">Search for the weather</button> </div> </form> This is a standard HTML value that will submit your form values to some function to take action on. In Angular, you specify that function in the (ngSubmit) event. When you click your button in your form, as long as it has a type of submit, it will trigger the (ngSubmit) event, which will subsequently call whatever method you have assigned to it. In this case, you want to be able to get the location that your user has typed in and send it to the APIXU API. You're going to first create a method to handle this. In your weather.component.ts, create a method sendToAPIXU() that will take one argument: the value(s) you've typed into your form. Add the following highlighted content to the file: src/app/weather/weather.component.ts ... ngOnInit() { this.weatherSearchForm = this.formBuilder.group({ location: [""] }); } sendToAPIXU(formValues) { } ... Next, add the ngSubmit event to your HTML and pass the values of your submitted form into the sendToAPIXU() method: weather.component.html ... <form [formGroup]="weatherSearchForm" (ngSubmit)="sendToAPIXU(weatherSearchForm.value)"> ... </form> ... You've added the ngSubmit event to your form, connected your method you want to run when you submit your form, and passed in the values of your weatherSearchForm as an argument to your handler method ( weatherSearchForm.value). You can now test this works by using console.log to print out your formValues, in your sendToAPIXU() method, add the following highlighted content to weather.component.ts: weather.component.ts ... sendToAPIXU(formValues){ console.log(formValues); } Go to your browser and open your console by right clicking anywhere on your website page, and then click on Inspect Element. There will be a tab on the window that pops up called Console. Type London into your form. When you click on the Search for Weather button, you'll see an object with your location enclosed. Your output from the console is a JSON object {location: "London"}. If you wanted to access your location value, you can do this by accessing formValues.location. Similarly, if you had any other inputs inside your form, you would swap .location for any other element names you had. Note: All values of a reactive form are stored in an object — where the key is the name of the value you passed into the formBuilder.group({}). The button is now wired up and can receive input correctly. Next, you'll make the sendToAPIXU() method make an HTTP request to the APIXU API. Step 8 — Calling the APIXU API The APIXU API accepts location information, searches the current weather details for that location, and returns them back to the client. You'll now modify your app so that it sends location data to the API, obtains the response, and then displays the results on your page. In order to make HTTP requests in Angular, you have to import the HttpClientModule. Open your src/app/app.module.ts and add the following highlighted lines: src/app/app.module.ts ... import { ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; @NgModule({ ... imports: [ BrowserModule, RouterModule.forRoot(allAppRoutes), ReactiveFormsModule, HttpClientModule ] ... }) ... Next, you need to write the code to make the HTTP call to the APIXU API. It's best practice to create an Angular service to make HTTP requests. Separation of concerns is key in any app that you build. A service allows you to move all of those HTTP requests your app makes into one file that you can then call inside any .component.ts file you create. You could "legally" write in those HTTP requests in the specific .component.ts file, but this isn't best practice. You may, for instance, find that some of your requests are complex and require you to perform some post-processing actions after receiving your data. Several different components in your app might use some of your HTTP requests, and you don't want to write the same method multiple times. From a new terminal window or by stopping the server in your current terminal session, execute the following command to create a service called apixu: You'll see output resembling the following: Outputcreate src/app/apixu.service.spec.ts (328 bytes) create src/app/apixu.service.ts (134 bytes) ... The command created the service file ( apixu.service.ts) and a test file ( apixu.service.spec.ts). You now need to add this service as a provider into your app.module.ts file. This makes it available to use inside your app. Open this file, and first import the ApixuService: src/app/app.module.ts ... import { HttpClientModule } "@angular/common/http"; import { ApixuService } from "./apixu.service"; ... Next add the newly imported ApixuService as a provider into the providers block: src/app/app.module.ts file ... @NgModule({ ... providers: [ApixuService], ... }) ... In Angular, if you want to use a service that you have created, you need to specify that service as a provider within your module.ts file. In this case, you've specified it as a provider within your entire application in app.module.ts. Finally, open up the src/app/apixu.service.ts file. You'll see the boilerplate code of what you need to create a service: first the import of the Injectable interface from Angular; then the fact that the service should be with the providedIn root injector (for the entire application); and then the decorating (this effectively means specifying) of your service as @Injectable. src/app/apixu.service.ts import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class ApixuService { constructor() { } } The decorating of the service as @Injectable allows you to inject this service within the constructor in weather.component.ts so that you can use it inside your component. If you stopped your application, restart it by running: As aforementioned, your service needs to make HTTP requests to the APIXU API and import the HttpClientModule in the app.module.ts file to make HTTP requests throughout the application. You additionally need to import the HttpClient library into the apixu.service.ts file to make HTTP requests to the APIXU API from the apixu.service.ts file itself. Open the apixu.service.ts file, and add the following highlighted content: src/app/apixu.service.ts ... import { HttpClient } from '@angular/common/http'; ... Now you need to write a method, getWeather(), that takes in one paramater: location. This method will make an API request to APIXU and return the retrieved location data. For this, you'll need the provided API key when you signed up for the APIXU API. If you log in to APIXU, you'll come to the dashboard: You will see your key, and below that, links to the API URL with your key already pre-filled for both the Current Weather and Forecast Weather. Copy the HTTPS link for the Current Weather details, it will be something like: This URL will give you current weather details for Paris. You want to be able to to pass in the location from your form into the &q= parameter instead. Therefore, remove Paris from the URL as you add it to your apixu.service.ts file: src/app/apixu.service.ts ... export class ApixuService { constructor(private http: HttpClient) {} getWeather(location){ return this.http.get( '' + location ); } } Note: You've used the API key directly within the code. In a production situation, you should store this securely server-side, and retrieve this key in a secure manner and use it within your application. You can either store it securely server-side, or use a key management application such as Hashicorp Vault or Azure Key Vault, to name a few. You've now imported and injected HttpClient into the constructor so that you can use it. You've also created a method getWeather() that takes a location parameter and makes a GET request to your provided URL. You left the &q= parameter blank, as you're going to provide this location directly from location parameter in the method. Lastly, you've returned the data back to whoever called the method. Your service is now complete. You need to import your service into your WeatherComponent, inject it into your constructor to use it, and then update your sendToAPIXU() method to send your location to your newly created service. Open the weather.component.ts file to complete these tasks by adding the highlighted content: src/app/weather.component.ts ... import { FormBuilder, FormGroup } from "@angular/forms"; import { ApixuService } from "../apixu.service"; ... constructor( private formBuilder: FormBuilder, private apixuService: ApixuService ) {} ... ngOnInit(){...} sendToAPIXU(formValues){ this.apixuService .getWeather(formValues.location) .subscribe(data => console.log(data)); } You've removed the former console.log statement in your sendToAPIXU() method and updated it with this content. You're now passing in your location from your form to the sendToAPIXU() method you created earlier. You've then passed that data to the getWeather() method of the ApixuService that has subsequently made an HTTP request to the API with that location. You've then subscribed to the response you got back and, in this example, logged that data to the console. You always have to call the subscribe method on an HTTP request as the request will not begin until you have a way of reading the Observable response you get back. Observables are a way of sending messages between publishers and subscribers, allowing you to pass any kind of data back and forth. You will not be able to receive data from an observable until a subscriber has subscribed to it, because it won't execute before that point. Open the console in your browser again again. Now, type in London, UK and click Search for Weather. If you click on the tab arrows, you'll see a list of the weather details in the console. The output shows JSON objects containing all of the weather information needed. You have two objects returned: a current object and a location object. The former gives the desired weather details and the latter details about your location. You've now got your weather data successfully showing in the console. To finish this tutorial, you'll display these weather details in your HTML. Step 9 — Displaying Your Weather Data in Your App Displaying the results in the console is a good initial step to check that everything is working. However, you want to eventually show the weather data in HTML for your users. To do this, you'll create a variable to hold your returned weather data, and then display that using interpolation in your HTML. Interpolation allows you to display data in your views. To do this, it requires you to bind a property via the {{ }} style, to show that property in your HTML. Open up the weather.component.ts file and create a variable called weatherData to which you'll assign the retrieved JSON data from the API. Additionally, remove the code that was previously in the .subscribe() brackets and replace it with the following highlighted code: src/app/weather/weather.component.ts ... export class WeatherComponent implements OnInit { public weatherSearchForm: FormGroup; public weatherData: any; ... sendToAPIXU(formValues){ this.apixuService .getWeather(formValues.location) .subscribe(data => this.weatherData = data) console.log(this.weatherData); } } You've created the variable weatherData and declared that it can hold data of any type. You've then assigned the data you receive back from your API call to that variable. Finally, you've added a console.log() statement to double check that weatherData holds all of your retrieved information. Your weather.component.ts file should be looking like this at this stage: src/app/weather/weather.component.ts import { Component, OnInit } from "@angular/core"; import { FormBuilder, FormGroup } from "@angular/forms"; import { ApixuService } from "../apixu.service"; @Component({ selector: "app-weather", templateUrl: "./weather.component.html", styleUrls: ["./weather.component.css"] }) export class WeatherComponent implements OnInit { public weatherSearchForm: FormGroup; public weatherData: any; constructor( private formBuilder: FormBuilder, private apixuService: ApixuService ) {} ngOnInit() { this.weatherSearchForm = this.formBuilder.group({ location: [""] }); } sendToAPIXU(formValues) { this.apixuService.getWeather(formValues.location).subscribe(data => { this.weatherData = data; console.log(this.weatherData); }); } } If you go back and search for London, UK again, you'll see your object printed out to the console as normal. Now, you want to show this data in your HTML. If you examine the current object from the retrieved weather data in the console, you'll see values such as condition, feelslike_c, feelslike_f, temp_c, temp_f, and so on You're going to make use of all five of these properties. Open your weather.component.html file again and add in the subtitles to the data you want to display. You'll be adding these <p> tags within the second col-md-6: src/app/weather/weather.component.html ... <div class="col-md-6"> <h3 class="text-center my-4">Weather Details:</h3> <p class="text-center">Current weather conditions:</p> <p class="text-center">Temperature in Degrees Celsius:</p> <p class="text-center">Temperature in Degrees Farenheit:</p> <p class="text-center">Feels like in Degrees Celsius:</p> <p class="text-center">Feels like in Degrees Farenheit:</p> <p class="text-center">Location Searched:</p> </div> Next, you'll add the data you have received from your JSON object to your HTML: weather.component.html ... > You have used an operator ? as you retrieved data from your weatherData variable within your HTML. This operator is called an Elvis Operator. Because you're making an HTTP call, you're making an asynchronous request. You'll get that data back at some point, but it will not be an immediate response. Angular, however, will still continue to fill out your HTML with the data you specified from the weatherData variable. If you haven't received data back by the time that Angular begins to populate your paragraphs, there will be an error stating that Angular can't find that data. For example, .current or .location would be showing as undefined. The Elvis Operator is a safe navigator and prevents this from happening. It tells Angular to wait and check if weatherData is first defined, before going ahead and showing that data in the HTML. Once weatherData has all of its information, Angular will then update your bindings and show your data as normal. You final weather.component.ts file will look like the following: weather.component.html <div class="container"> <div class="row"> <div class="col-md-6"> <h3 class="text-center my-4">Search for Weather:</h3> <form [formGroup]="weatherSearchForm" (ngSubmit)="sendToAPIXU(weatherSearchForm.value)" > > </div> <div class="col-md-6"> > </div> </div> </div> You've followed the pattern of the returned JSON weather object in order to output your desired data. Save your file, go back to your browser, and type London, UK, you'll see your weather data appear on the right-hand side. Try it with different locations, like: San Francisco, US, Dakar, Senegal, and Honololu, Hawaii. You'll see the respective weather data appear for all those locations. Conclusion You have created a weather app using Angular, Bootstrap, and the APIXU API. You have set up an Angular project from scratch, following Angular best practices while ensuring your application is well designed and set up appropriately. Angular is an advanced framework allowing you to create anything from small web applications to large, complex ones with ease. Angular, as with any frameworks, does have a learning curve, but small projects like this one can help you to quickly learn and start using it productively. Another feature to consider adding to your application is handling errors from your HTTP requests; for instance, if you were to type in an invalid location. Another enhancement would be displaying different images if the temperature is between certain thresholds. You can also create different applications with Angular using other APIs. You may also want to use NgBootstrap, which is a special type of Bootstrap built for Angular. This allows you to use all the standard Bootstrap JavaScript widgets as well as some special ones not included in the standard installation specifically adapted for Angular. The full code for this tutorial is available on GitHub.
https://www.xpresservers.com/tag/apixu/
CC-MAIN-2021-39
refinedweb
7,263
56.55
On Wed, Dec 04, 2002 at 02:18:32PM -0600, Ben Collins-Sussman wrote: > Jon is working on gsvn. He gets some property values, and needs to > display them, and these aren't svn: props. What can he do? He has no > way to know if they're binary. And if they're text, he has no idea > how to decode them for display. (Gnome requires that all displayed > strings be UTF8.) So, declare that all text properties must be UTF-8. Sounds reasonable. > By not imposing any policy at all, we end up with an interoperability > nightmare. You may have many collaborators using one repository, but > they all have different clients, and none of the clients have any idea > how to share metadata with one another. The subversion libraries are > in a unique position to *create* interoperabilty by imposing UTF8/LF > policy, just as we've done with log messages. OTOH, this restricts what types of metadata can be stored about files. The general tendency (see Microsoft's plans for future versions of Windows, BeFS, Reiser4, ...) seems to be towards -more- metadata for files, not less, and some of this is undoubtedly going to be binary in nature and need versioning. > I guess our assumption is that binary properties are truly rare > things, and that client interoperability is worth "more" to us... How about creating a separate property namespace for binary properties then? Or a separate mechanism? Requiring that client developers somehow agree on a standard for encoding binary props seems like putting up -more- barriers, not less. -- .
https://svn.haxx.se/dev/archive-2002-12/0243.shtml
CC-MAIN-2018-22
refinedweb
259
65.12
Python is one of the most used languages across various industries for data manipulation and analysis purposes. The biggest reason behind Python’s popularity is its vast set of libraries that makes it simple for developers to maintain and monitor data. One such library written for Python is Pandas. The Pandas library, in particular, is used for manipulating time series and tables. The Pandas DataFrame.astype() or sometimes also referred to as astype() method is used to cast pandas objects to a dtype.astype() function. It is particularly very useful when we need to convert the data type of one or multiple columns of a table to another. Syntax of Pandas DataFrame.astype() Firstly, before discussing the syntax, we need to import the Pandas library, which is done by: import pandas as pd The syntax for DataFrame.astype() method is: DataFrame.astype(dtype, copy=True, errors=’raise’, **kwargs) Parameters Description Default value dtype Uses numpy.dtype or the Python type to cast the entire object to the same type. It can alternatively also use {col: dtype, ?} where col is the column label, and dtype will function the same to cast one or more of the DataFrame’s columns to column-specific types. dtype copy Returns a copy when setting to True (setting copy=false can propagate changes in values to other pandas objects). True errors Controls exceptions raising on invalid data for the given dtype. raise kwargs Keyword arguments to pass on to the constructor. Returns: casted: return similar to the type of caller. Read: Data Frames in Python Data Types in Pandas library Now since Pandas DataFrame.astype() method is about casting and changing data types in tables, let’s look at the data types and their usage in the Pandas library. 1. Object: Used for text or alpha-numeric values. 2. Int64: Used for Integer numbers. 3. Float64: Used for floating-point numbers. 4. Bool: Used for True/False values. 5. Datetime64: Used for date and time values. 6. Timedelta[ns]: Used for differences between two datetimes. 7. Category: Used for a list of text values. Creating a DataFrame in Pandas library There are two ways to create a data frame in a pandas object. We can either create a table or insert an existing CSV file. The code to insert an existing file is: df = pd.read_csv(“file_name.csv”) the next biggest thing The syntax to create a new table for the data frame is: t = {‘col 1’: [1, 2], ‘col 2’: [3, 4]} df = pd.DataFrame(data=t) Must Read: Python Panda Tutorial For Beginners Using Pandas Dataframe.astype() Method Once we have the table and dataframe inserted into the pandas object, we can start converting the data types of one or more columns of the table. We can check values’ data types before converting them by using the code df.dtypes or df.info(). Both these codes will display the data types of each column of the table. Another thing to note is that the DataFrame.astype() method can give an error if the data frame has nan or NA values. So before proceeding, we need to clear all the nan values from the table. The syntax to drop nan or NA values is: df.dropna(inplace = True) Converting All the Columns of a Dataframe Syntax: df.astype(‘data_type’).dtypes The entire dataframe’s data type will be converted to the value we put into ‘data_type.’ Converting Specific Columns of a Dataframe Syntax: df.astype({“col_name”: ‘data_type’}).dtypes “col_name” here requires a column name as input. Whatever column name we put in, that column’s data type will be changed to the value we provide in ‘data_type.’ Converting Multiple Columns at a Time Syntax: df.astype({“col_name”: ‘data_type’, “col_name”: ‘data_type’, “col_name”: ‘data_type’}).dtypes All we did here was to separate all the columns that we want to convert with a comma. The “col_name” and ‘data_type’ in the syntax requires the same values as required while converting a single column. Summarizing It This is how the Pandas DataFrame.astype() method is used. Python is currently one of the most preferred programming languages as it has also placed a foot into Machine Learning and Data Science. If you want to know how Python is being used in these two fields, and how it can help your career in Data Science, you can read all about it in our blog. You can visit Upgrad’s website to get a PG Diploma in Data Science or PG certification in Machine Learning and Deep
https://www.upgrad.com/blog/pandas-dataframe-astype/
CC-MAIN-2020-40
refinedweb
754
66.64
Example 2-5 shows the definition of a class that represents complex numbers. You may recall from algebra class that a complex number is the sum of a real number and an imaginary number. The imaginary number i is the square root of -1. This ComplexNumber class defines two double fields, which represent the real and imaginary parts of the number. These fields are declared private, which means they can be used only within the body of the class; they are inaccessible outside the class. Because the fields are inaccessible, the class defines two accessor methods, real( ) and imaginary( ), that simply return their values. This technique of making fields private and defining accessor methods is called encapsulation. Encapsulation hides the implementation of a class from its users, which means that you can change the implementation without it affecting the users. Notice that the ComplexNumber class doesn't define any methods, other than the constructor, that set the values of its fields. Once a ComplexNumber object is created, the number it represents can never be changed. This property is known as immutability; it is often useful to design objects that are immutable like this. ComplexNumber defines two add( ) methods and two multiply( ) methods that perform addition and multiplication of complex numbers. The difference between the two versions of each method is that one is an instance method and one is a class, or static, method. Consider the add( ) methods, for example. The instance method adds the value of the current instance of ComplexNumber to another specified ComplexNumber object. The class method doesn't have a current instance; it simply adds the values of two specified ComplexNumber objects. The instance method is invoked through an instance of the class, like this: ComplexNumber sum = a.add(b); The class method, however, is invoked through the class itself, rather than through an instance: ComplexNumber sum = ComplexNumber.add(a, b); package je3.classes; /** * This class represents complex numbers, and defines methods for performing * arithmetic on complex numbers. **/ public class ComplexNumber { // These are the instance variables. Each ComplexNumber object holds // two double values, known as x and y. They are private, so they are // not accessible from outside this class. Instead, they are available // through the real( ) and imaginary( ) methods below. private double x, y; /** This is the constructor. It initializes the x and y variables */ public ComplexNumber(double real, double imaginary) { this.x = real; this.y = imaginary; } /** * An accessor method. Returns the real part of the complex number. * Note that there is no setReal( ) method to set the real part. This means * that the ComplexNumber class is "immutable". **/ public double real( ) { return x; } /** An accessor method. Returns the imaginary part of the complex number */ public double imaginary( ) { return y; } /** Compute the magnitude of a complex number */ public double magnitude( ) { return Math.sqrt(x*x + y*y); } /** * This method converts a ComplexNumber to a string. This is a method of * Object that we override so that complex numbers can be meaningfully * converted to strings, and so they can conveniently be printed out with * System.out.println( ) and related methods **/ public String toString( ) { return "{" + x + "," + y + "}"; } /** * This is a static class method. It takes two complex numbers, adds * them, and returns the result as a third number. Because it is static, * there is no "current instance" or "this" object. Use it like this: * ComplexNumber c = ComplexNumber.add(a, b); **/ public static ComplexNumber add(ComplexNumber a, ComplexNumber b) { return new ComplexNumber(a.x + b.x, a.y + b.y); } /** * This is a non-static instance method by the same name. It adds the * specified complex number to the current complex number. Use it like * this: * ComplexNumber c = a.add(b); **/ public ComplexNumber add(ComplexNumber a) { return new ComplexNumber(this.x + a.x, this.y+a.y); } /** A static class method to multiply complex numbers */ public static ComplexNumber multiply(ComplexNumber a, ComplexNumber b) { return new ComplexNumber(a.x*b.x - a.y*b.y, a.x*b.y + a.y*b.x); } /** An instance method to multiply complex numbers */ public ComplexNumber multiply(ComplexNumber a) { return new ComplexNumber(x*a.x - y*a.y, x*a.y + y*a.x); } }
http://books.gigatux.nl/mirror/javaexamples/0596006209_jenut3-chp-2-sect-5.html
CC-MAIN-2019-13
refinedweb
690
57.57
5 Jan 16:32 Bio::Graphics::Pictogram From: Lincoln Stein <lincoln.stein <at> gmail.com> Subject: Bio::Graphics::Pictogram Newsgroups: gmane.comp.lang.perl.bio.general Date: 2009-01-05 15:34:38 GMT Subject: Bio::Graphics::Pictogram Newsgroups: gmane.comp.lang.perl.bio.general Date: 2009-01-05 15:34:38 GMT Hi Shawn, You may or may not know that during the preparation for BioPerl 1.6 we split Bio::Graphics off into its own CPAN distribution and are now hosting its CVS at Sourceforge. During the split, I inadvertently grabbed Bio::Graphics::Pictogram and moved it into Sourceforge along with the rest of Bio::Graphics. Do you want to maintain Pictogram out of Sourceforge (I will give you developer access), or move it back into BioPerl for SVN maintenance and release as part of the main Bioperl distribution? Lincoln On Sat, Jan 3, 2009 at 12:39 PM, Chris Fields <cjfields <at> illinois.edu> wrote: > Lincoln, > > There were several scripts and examples in bioperl-live which have been > removed but somehow persisted in the branch and were in 1.6 RC1 (a test also > remained which was also removed, t/Graphics/Pictogram.t). I didn't know if > you wanted these moved to Sourceforge; I saw there were several examples > already in the Bio::Graphics repository. > > There were a few other modules in Bio::Graphics namespace moved over to > Sourceforge that I wasn't sure whether you wanted to maintain, such as > DrawTransmembrane.pm and Pictogram.pm. If needed we can resurrect them in > trunk, under either Bio::Graphics or a different namespace (latter is > probably better, any suggestions?). They don't appear to rely on other > Bio::Graphics modules directly. > > chris > > > On Jan 3, 2009, at 9:51 AM, Lincoln Stein wrote: > >>
http://permalink.gmane.org/gmane.comp.lang.perl.bio.general/18238
crawl-002
refinedweb
296
56.76
Got it working. The trick was modifying the list of semicolon delimitted items manually rather than via clicking on it and using the built-in path list editor. yahastu hasn't added any contacts yet. 26 December 2013 - 08:45 PM Got it working. The trick was modifying the list of semicolon delimitted items manually rather than via clicking on it and using the built-in path list editor. 26 December 2013 - 11:12 AM You can probably resolve this if you include the absolute path to both the D3DX header and library files (as a project's "Additional Dependencies"). #include <C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3dx11.h> I 30 May 2013 - 02:16 PM Thanks 10 March 2012 - 09:32 PM 24 October 2011 - 11:17 AM. GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.
https://www.gamedev.net/user/120008-yahastu/?tab=posts&setlanguage=1&langurlbits=user/120008-yahastu/&tab=posts&langid=1
CC-MAIN-2017-22
refinedweb
147
66.74
DDNet Server Statistics with ServerStatus, RRDtool and Nim2016-05-14 · DDNet · Nim · Frugality · Programming About a month ago I set up statistics for the official DDNet servers. My motivations for this are: - Monitor the servers more easily - Get notified about server problems - Have nice graphs to look at The choices for the software used are mainly made to keep resource usage low, a general principle used for DDNet since we run on cheap VPSes all around the world and are limited in CPU and memory resources. In the rest of this post we will explore the 3 major tools used, their purpose in our solution as well as their performance impact: - ServerStatus: Gather live server statistics - RRDtool: Record and graph data - Nim: Favorite programming language for performance and readability Gathering live server statistics with ServerStatus We’ve been running BotoX’s ServerStatus to get live server statistics for some time now. It works quite well to quickly notice major server problems like a high load or incoming (D)DoS attacks, provided that you keep an eye out for it. We use ServerStatus by running its simple Python client on each server to gather interesting information. The client transmits that data by TCP to the C/C++ server, which aggregates it into a JSON file. This JSON file is then fetched and displayed every two seconds by the JavaScript frontend of our Status page. On a regular Saturday morning the end result looks like this: On a quick glance you notice that the DDNet.tw server has high CPU usage (which is totally normal since it runs some hefty cron jobs every 20 minutes) and DDNet RUS is receiving a small DoS attack with just 1.6 MB/s (unfortunately also totally normal). Apart from that everything looks fine. ServerStatus footprint, calculated from Linux /proc statistics as follows (in Nim): import os, strutils, posix, strfmt # CPU and memory usage of process, based on PROC(5) and # let pid = paramStr(1) # Clock ticks per second frequency = sysconf(SC_CLK_TCK) # Size of memory page in bytes pagesize = sysconf(SC_PAGESIZE) uptime = readFile("/proc/uptime").split[0].parseFloat fields = readFile("/proc/" & pid & "/stat").split # Amount of time in user mode utime = fields[13].parseInt # Amount of time in kernel mode stime = fields[14].parseInt # Amount of children time in user mode cutime = fields[15].parseInt # Amount of children time in kernel mode cstime = fields[16].parseInt # Time process started after boot starttime = fields[21].parseInt # Resident Set Size: number of pages in memory rssmem = fields[23].parseInt totaltime = utime + stime + cutime + cstime seconds = uptime - (starttime / frequency) cpuusage = 100 * (totaltime / frequency) / seconds memusage = rssmem * pagesize / 1_000_000 echo interp"${cpuusage:.2f} % CPU ${memusage:.2f} MB Memory" Recording and graphing data with RRDtool I haven’t used RRDtool for about 7 years, but it’s still an excellent tool to record data into a fixed-size round robin database. For us three functions of RRDtool are important: create to create the database, update to add a new value to be aggregated into the database, and graph to render the database into a beautiful graph. CPU, network and memory are the most important resources for me, so their usage should be recorded. Let us use network traffic as an example and create a database: First we need to think about what data we want to record in the RRD: 1 sample = 30 seconds 1 day = 2880 samples = 6 * 480 pixels, each pixel is 03:00 min 7 days = 20160 samples = 42 * 480 pixels, each pixel is 21:00 min 49 days = 141120 samples = 147 * 960 pixels, each pixel is 73:30 min Then we can use this to create the actual database file: rrdtool create ddnet.tw-net.rrd `# File name` \ --step 30 `# Interval in seconds with which data is fed` \ DS:network_rx:GAUGE:60:0:U `# Data source receiving` \ DS:network_tx:GAUGE:60:0:U `# DS Sending` \ RRA:AVERAGE:0.5:6:480 `# Round robin archive for 1 day` \ RRA:AVERAGE:0.5:42:480 `# RRA for 7 days` \ RRA:AVERAGE:0.5:147:960 `# RRA for 49 days` If you’re curious about what exactly happens here, you can find more information in rrdcreate(1). The resulting ddnet.tw-net.rrd file is just 32 KB in size and will forever stay that exact size. (All our databases together are just 1 MB.) New data in each round robin archive simply overwrites the oldest data. A disadvantage of RRDtool is that you need to think ahead and plan what data you want to store. The next step is to put new data into our little database, which we should do every 30 seconds: rrdtool update ddnet.tw-net.rrd N:42:1234 Super simple! 42 is our network_rx value, 1234 the value for network_tx. These values are now aggregated using the AVERAGE and finally put into their respective archives. Once we have enough values we can finally create the graph, for example for 1 day: rrdtool graph ddnet.tw-net-1d.png --rigid --base 1000 \ --width 419 --height 150 --logarithmic --units=si -a PNG \ `# Calculation over last day only` \ --vertical-label "Bytes/s" --start now-1d \ `# Fetch data from RRD file` \ DEF:network_rx=ddnet.tw-net.rrd:network_rx:AVERAGE \ DEF:network_tx=ddnet.tw-net.rrd:network_tx:AVERAGE \ `# Calculate aggregates based on data` \ VDEF:network_rx_a=network_rx,AVERAGE \ VDEF:network_rx_m=network_rx,MAXIMUM \ VDEF:network_rx_c=network_rx,LAST \ VDEF:network_rx_s=network_rx,TOTAL \ VDEF:network_tx_a=network_tx,AVERAGE \ VDEF:network_tx_m=network_tx,MAXIMUM \ VDEF:network_tx_c=network_tx,LAST \ VDEF:network_tx_s=network_tx,TOTAL \ `# Draw area graph in light colors` \ AREA:network_tx#fee8c8: \ AREA:network_rx#e0e0e0: \ `# Draw clear area outline on top` \ LINE1:network_tx#e34a33:"out" \ `# Print aggregate values to legend` \ GPRINT:network_tx_a:"avg\: %6.2lf %sB" \ GPRINT:network_tx_m:"max\: %6.2lf %sB" \ GPRINT:network_tx_c:"cur\: %6.2lf %sB" \ GPRINT:network_tx_s:"sum\: %6.2lf %sB\n" \ `# Other area outline` \ LINE1:network_rx#636363:"in " \ GPRINT:network_rx_a:"avg\: %6.2lf %sB" \ GPRINT:network_rx_m:"max\: %6.2lf %sB" \ GPRINT:network_rx_c:"cur\: %6.2lf %sB" \ GPRINT:network_rx_s:"sum\: %6.2lf %sB\n" As always, the manual of rrdgraph explains the possibilities. I’m using RRDtool 1.6.0 instead of 1.4.8 because I very much prefer its density of x-axis labels. Here are the outputs of our database: RRDtool 1.4.8: RRDtool 1.6.0: RRDtool footprint: Putting it together with Nim To aggregate the raw data from ServerStatus into 30-second packets I use a small Nim program. It automatically creates new databases when a new server is added and keeps them updated: import common, json, osproc, os, times, strutils, tables type Data = object network_rx, network_tx: BiggestInt cpu, memory_used, memory_total, swap_used, swap_total: BiggestInt load: float const freq = 30 # report new data to rrd every 30 seconds var lastUpdated: BiggestInt = 0 dataTable = initTable[string, Data]() count = 0 countTable = initTable[string, int]() proc rrdCreate(file, dataSources: string) = discard execCmd(rrdtool & " create " & file & " --step " & $freq & " " & dataSources & " RRA:AVERAGE:0.5:6:480 RRA:AVERAGE:0.5:42:480 RRA:AVERAGE:0.5:147:960") proc rrdUpdate(file: string, values: varargs[string, `$`]) = var valuesString = "" for value in values: if valuesString.len > 0: valuesString.add ":" valuesString.add value discard execCmd(rrdtool & " update " & file & " N:" & valuesString) proc updateServer(server: JsonNode) = let domain = server["type"].str for name, value in dataTable.mgetOrPut(domain, Data()).fieldPairs: when value is BiggestInt: value += server[name].num elif value is float: value += server[name].fnum else: error "Unhandled type in Data object" inc countTable.mgetOrPut(domain, 0) # Only save data if we got 30 values in the expected time span if count == freq and countTable[domain] == freq: let data = dataTable[domain] if data == Data(): dataTable.del(domain) return else: dataTable[domain] = Data() let fileNet = (rrdDir / domain) & "-net.rrd" fileCpu = (rrdDir / domain) & "-cpu.rrd" fileMem = (rrdDir / domain) & "-mem.rrd" if not existsFile fileNet: fileNet.rrdCreate("DS:network_rx:GAUGE:60:0:U DS:network_tx:GAUGE:60:0:U") if not existsFile fileCpu: fileCpu.rrdCreate("DS:cpu:GAUGE:60:0:100 DS:load:GAUGE:60:0:U") if not existsFile fileMem: filemem.rrdCreate("DS:memory_used:GAUGE:60:0:U DS:memory_total:GAUGE:60:0:U DS:swap_used:GAUGE:60:0:U DS:swap_total:GAUGE:60:0:U") fileNet.rrdUpdate(data.network_rx div freq, data.network_tx div freq) fileCpu.rrdUpdate(min(data.cpu div freq, 100), data.load / freq) fileMem.rrdUpdate(data.memory_used div freq, data.memory_total div freq, data.swap_used div freq, data.swap_total div freq) proc updateAllServers = let statsJson = parseFile statsJsonFile let newUpdated = parseBiggestInt statsJson["updated"].str if newUpdated <= lastUpdated: return inc count for server in statsJson["servers"]: try: updateServer(server) except: discard if count == freq: count = 0 for val in countTable.mvalues: val = 0 while true: let startTime = epochTime() updateAllServers() sleep(int(epochTime() - startTime + 1) * 1000) # every second The final graphs can be seen on the DDNet Server Statistics page. Nim monitor footprint: Alerts through Cron and Mail Now we certainly have nice graphs, but automated alerts about suspicious events would be even better, for example: - Network traffic over 2 MB/s for 4 min - Memory and swap over 90% for 4 min - CPU over 90% for 21 min - Load over 10 for 21 min - Server unreachable for 1 hour To check these conditions a cron job is run regularly and thanks to a MAILTO entry a mail is sent when an alert has been triggered. We can get out a single value from the database to standard output using rrdtool graph x -s-4min \ DEF:v=ddnet.tw-net.rrd:network_rx:AVERAGE \ VDEF:vm=v,AVERAGE \ PRINT:vm:%lf The alert program itself is written in Nim as well and merely gets a few values from the databases and checks if the limits are exceeded: import common, osproc, os, json, strutils proc get(file, value, time: string): float = let (output, errorCode) = execCmdEx(rrdtool & " graph x -s -" & time & " DEF:v=" & file & ":" & value & ":AVERAGE VDEF:vm=v,AVERAGE PRINT:vm:%lf") if errorCode != 0: raise newException(ValueError, "Error code " & $errorCode & " from rrdtool: " & output) result = output.splitLines[^2].parseFloat if paramCount() != 1: echo "alert [1d|7d|49d]" quit 1 let statsJson = parseFile statsJsonFile for server in statsJson["servers"]: let domain = server["type"].str name = server["name"].str fileNet = (rrdDir / domain) & "-net.rrd" fileCpu = (rrdDir / domain) & "-cpu.rrd" fileMem = (rrdDir / domain) & "-mem.rrd" template alert(s: string) = echo name, " ", s case paramStr(1) of "1d": if fileNet.get("network_rx", "4min") + fileNet.get("network_tx", "4min") > 2_000_000: alert "network traffic over 2 MB/s for 4 min" if fileMem.get("memory_used", "4min") + fileMem.get("swap_used", "4min") > 0.9 * (fileMem.get("memory_total", "4min") + fileMem.get("swap_total", "4min")): alert "memory and swap over 90% for 4 min" of "7d": if fileCpu.get("cpu", "21min") > 90.0: alert "CPU over 90% for 21 min" if fileCpu.get("load", "21min") > 10.0: alert "Load over 10 for 21 min" of "49d": let network_rx = fileNet.get("network_rx", "4410") if network_rx != network_rx: # NaN alert "unreachable for 1 hour" else: echo "unknown parameter ", paramStr(1) quit 1 Nim alert footprint: Conclusion Live view of the last day of the DDNet.tw web server, also hosting this blog: You can see the full graphs on the DDNet Server Statistics page. As usual you can find the entire source code in our git repository. All in all the system runs on very little resources, puts out some nice graphs and alerts me automatically about defined problems.
https://hookrace.net/blog/server-statistics/
CC-MAIN-2017-51
refinedweb
1,883
56.86
Hi All, I'm having issue with getting the sample projects to build for UWP on Unity. Everything works as expected while playing in the editor, but when I build, I get ~190 errors, a list of assembly reference missing errors. Starting with: Assets\LeapMotion\Core\Scripts\Utils\LeapUnityExtensions.cs(12,7): error CS0246: The type or namespace name 'LeapInternal' could not be found (are you missing a using directive or an assembly reference?) ..... and continues with additional missing references for "Hand", "Finger", "Frame", "LeapTransform",.... etc etc. This is a clean project, with Leap Motion assets package imported in > Select UWP as target > Build > no go. Our Orion SDK runs on Windows, but we have not released an SDK specifically for UWP. Hi Alex. Do you guys plan on releasing an SDK for UWP anytime soon? I'm prototyping hand solutions for a VR experience on WMR (Samsung Odyssey) and I'm wondering if I should drop LM from my list of potential solutions. Thanks!Dan This would interest me too. I'd love to develop for the Hololens using the leapmotion, but there seem to be a lot of hurdles While I wait for UWP support, I got around these build errors by wrapping all my Leap specific code in if defs: #if LEAP_MOTION_ENABLED // Leap Code #endif You can set the Global Symbols in Player Settings to turn it all on and off at once. Then when you do a UWP build, just rename the LeapMotion sdk folder to LeapMotion~ (or .LeapMotion) so it's ignored by Unity. This allows you to keep building UWP apps without Leap support, but enables you to continue developing in the editor (or shipping your app with Leap support on other platforms). If you want to automate it more, you can rename the LeapMotion folder in C#, then do an AssetDatabase.Refresh() to reload assets without the Leap data. Then BuildPipeline.BuildPlayer() can be used to build from C#. Then, in C#, put everything back to the way it was before. There might be a way to use PlayerSettings.SetScriptingDefineSymbolsForGroup to automatically turn off the global script define from C#, but I never figured it out.
https://forums.leapmotion.com/t/unity-uwp-universal-windows-platform-build-not-supported/6717
CC-MAIN-2018-30
refinedweb
363
62.38
Last May, I did an article that explored how to "Retrofit" the new WebResource.axd features in ASP.NET 2.0 and how you could "replicate" all the features of the 2.0 ClientScript callback into the 1.1 platform. Here I want to focus on one aspect of the items covered there, and that is the use of the WebResource.axd "phantom handler" that's built into 2.0 to enable ASP.NET pages, controls (and developers) to inject assets into the client-side Page DOM. First, let's define "embedded resource": An embedded resource is any file (Image, Javascript, CSS, you name it) - that has been included in a project and marked "Embedded Resource" by right-clicking the object and selecting that entry from the "Build Action" dropdown in the Properties Sheet for the object. What this does is tell the compiler to include the object in the assembly. If you want, you can fire up Reflector on one of your assemblies that contains an embedded resource and get a much clearer picture of how and where in the assembly this is done. In ASP.NET 1.1, you can use the Assembly class method GetManifestResourceStream to pull out any object that has been embedded in this manner, process the stream result, and do whatever is appropriate with it --- you can set the Response ContentType header to tell the browser what to expect, and write it to the Response Output stream. However, in ASP.NET 1.1 there is no "built-in" way to do this external to your assembly - you have to do it programmatically. If you had doubts about the naming conventions of your embedded resources, you could use the GetManifestResourceNames method, which returns a string array of the exact full name of each resource in the assembly. ASP.NET 2.0 provides the WebResource.axd handler that allows an external request using this "axd" extension (works the same way the Trace handler works) to retrieve these embedded resources with a standardized HTTP Request URI in the format:. The handler type for WebResource.axd is AssemblyResourceLoader. This feature is not enabled by default, however. It gets "enabled" by adding an entry into the AssemblyInfo.cs (vb) File: [assembly: WebResourceAttribute("MyNameSpace.Resources.MyImage.gif", "image/gif")] "MyNameSpace" above, is the default namespace indicated in the project properties. "Resources" is the folder in the project where the embedded resource resides. If it is not in a subfolder, you would leave this out. Finally, "MyImage.gif" is the actual file name of the resource, with "image/gif" being the MIME type of the embedded resource. You will need a "using" or "Import" directive for System.Web.UI, which is where WebResourceAttribute lives. There is an overload to the attribute declaration that has the additional boolean parameter "performSubstitution". What this does (when "true") is to determine whether other Web Resource URLs that are referenced in this resource are parsed and replaced with the full path of the resource. You might use this feature if you had a CSS file embedded and it referenced an image file as a background image. For example, you could have a client-side script function like so: function ChangeImage(imgControl,varcolor){ document.getElementById(imgControl).src = '<%= WebResource("MyControl.MyImage.gif")%>'; document.getElementById('Label1').style.color = varcolor; } Note the markup above. In place of the image URL we use the special syntax - WebResource(FullNameOfResource). This is a kind of placeholder for the resource and ASP.NET will then replace it with the actual URL at runtime. With this addition complete, a call to: Page.ClientScript.GetWebResourceUrl(typeof(MyNameSpace.MyControl), "MyNameSpace.Resources.MyImage.gif") would result in delivery of the embedded resource in control "MyControl" via an axd request url that would look like this: -- where ?d= is the Assembly Key, and t= is the lastwritetime of the compiled assembly (used for versioning). For javascript files, the technique is the same except your MIME type would be "text/javascript". Incidentally, in ASP.NET 2.0 all validation scripts are processed via this server-side handler . Http compression prevents WebResource.axd client side scripts from rendering normally. Excluding the path=WebResource.axd from the compression configuration solves this problem. This particular HttpCompression Module at Gotdotnet workspaces will correctly compress WebResource.axd accessed resources. You might be wondering about caching. When your assembly is compiled in debug mode, the caching is private (that means no caching) but while compiled in production mode, it will be public. So, don't worry -- you will get the advantage of caching on these embedded resources in production!
http://www.nullskull.com/a/718/using-the-webresourceaxd-handler-with-embedded-aspnet-resources.aspx
CC-MAIN-2020-10
refinedweb
763
57.57
Google Maps for Enterprise Includes enterprise licensing and support google.maps.*namespace? BitmapData.draw/3D effects in the Flash API? The Google Maps APIs give developers several ways of embedding Google Maps into web pages, and allows for either simple use or extensive customization. There are now several API offerings: Google Maps Javascript API, Google Maps API for Flash, Google Static Maps API. In addition, we also offer the Mapplets API to enable the creation of mini-applications that run inside Google Maps. Depending on your needs, you may find yourself using one or a combination of these APIs. If you operate an enterprise or commercial website, you may also be interested in Google Maps API Premier. The Google Maps team is constantly pushing new map data out and increasing our international coverage. The following spreadsheet shows the latest coverage details. You can filter the spreadsheet with the drop downs at the top (e.g. see all countries with driving directions by selecting "Yes" from that drop down). Please note that data coverage can change if licensing agreements with the data providers change. Also see the Supported Languages Spreadsheet. Yes. Google Maps now offers the ability to embed the map that you're viewing into your website or blog, without any programming or use of the Google Maps APIs. More information is available here. This delivers maps in GIF/JPG/PNG format, and supports a map type targeted at mobile devices. The Google Maps JavaScript API currently supports the following web browsers: The Google Maps API for Flash is supported for stable releases of Flash Player 9 from 9.0.151.0 onwards. Flash Player 10 is not officially supported at this time. The development tools that are officially supported are Flex Builder 3, Adobe Flash CS3, and the Flex 3 SDK. Yes, absolutely. There's no limit to the number of page views of Maps on your site. If you expect your site to generate over 500,000 page views per day, please contact us so we can provision additional capacity to handle your traffic. Please bear in mind that the geocoding feature (converting addresses to coordinate pairs) is subject to the usage limits documented in this FAQ. Simply sign up for an API key, and you can start putting maps on your site. See the Maps API documentation for examples and details. The Terms of Service for the Google Maps API are available at: The Terms of Service for Google Maps API Premier are available at: The Maps API is available for all sites that are accessible to consumers without charge. You can use the Google Maps APIs on both commercial and non-profit websites as long as your site meets the Terms of Service. However,. You should use your own counsel to determine whether your application complies with the Terms of Service before you develop and launch it. Google engineers can only offer technical assistance and are not qualified to offer legal advice. Google reserves the right to suspend or terminate your use of the service at any time, so please read the Terms of Service carefully. If you operate an enterprise or commercial website, you may also be interested in Google Maps API Premier which has modified Terms of Service that may better suit your needs. As long as your site is generally accessible to consumers without charge, you may use the Google Maps API. For example, if your website is supported by advertising, it likely falls within the Google Maps API Terms of Service. If you charge people to place information on your map (e.g. to list their homes for sale), but you display this information using the Google Maps API on a free part of your site, you'll also meet the Google Maps API Terms of Service. However, not all commercial uses are allowed. If your site meets any of the following criteria you must use Google Maps API Premier: Remember, Google reserves the right to suspend or terminate your use of the Google Maps API at any time, so please ensure that you read the Terms of Service carefully. There is no restriction on displaying real-time data (tracking) with the Google Maps APIs provided that the application is publicly available without charge and otherwise complies with the Terms of Service. For internal-only applications, Google Maps API Premier must be used. See Section 10.9 of the Terms of Service for more information. Yes, you can, though you should consult the Terms of Service before using the Google Maps APIs on a password protected website. If consumers can easily sign up for a password without charge or if the purpose of the password protected map is to enhance the publicly available map (i.e. administration), then your site is likely within the Terms of Service. If this is not the case, you will need to use Google Maps API Premier. Per Section 9.2 of the Terms of Service, developers must report whether their Maps API implementation uses a sensor to locate the user's device on the map. An example of a sensor is the Geolocation module in Gears, which provides a latitude/longitude for a user based on their WIFI/GPS/Cell ID information. Information is available on reporting use of a sensor in the JavaScript Maps API, and in the Static Maps API. There is not currently a mechanism for specifying use of a sensor for developers using the Maps API for Flash. Note that since the sensor parameter was only recently introduced, pre-existing sites will not be disabled for failing to define the parameter. Developers are required to start reporting the parameter as soon as possible, however. Use of Google Maps imagery in printed materials and offline media is subject to the Permission Guidelines published at:. In order to register for a Google Maps API key, you must sign in to your Google Account and agree to our Terms of Service. There is no limit to the number of keys you may obtain under a single account. For most applications we recommend that you simply register your domain name. Your key will be valid for that domain, its subdomains, all URLs on hosts in those domains, and all ports on those hosts. For example, if you sign up for a key using, your key is valid for: However this key will not be valid for: If as recommended you request a key for your key will be valid for all URLs mentioned above. Note that a key for will only be accepted when the site is accessed using this address. It will not be accepted if the site is accessed by IP address (eg.) or by a hostname that is aliased to using a DNS CNAME record. If you are developing on a local drive (file://), the key check is skipped in the Google Maps Javascript API and it is less restrictive in the Google Maps API for Flash. Note also that developing on the local drive with the Google Maps API for Flash will result in tiles with "DEBUG" painted on them. If you are developing on localhost, you will need to register a key for. If you're using the Javascript Maps API and your key is not working on your site, put an alert(window.location.host) in your code and reload the page. The domain you see in that alert is the one on which your key should be registered. If you're using the Maps API for Flash and your key is not working, make sure it's registered for the domain from which the SWF is being served, not for the domain on which the SWF is embedded. We maintain a list of changes between Google Maps API versions at: You can also check which version of the Google Maps API a particular bug was introduced and fixed in using the Google Maps API Issue Tracker at: The API version currently used when a particular version is not specified is given at: ps-API/web/api-version-changes You can read more about the Google Maps Javascript API versioning system in the Google Maps API Developer Guide. google.maps.*namespace? The standard method for loading the API creates global objects such as GMarker, GMap2, etc. As of version 2.134d of the API, objects are additionally declared within the google.maps.* namespace. Developers who want the objects to only be inside the namespace can specify "file=googleapionly" instead of "file=api" when loading the API in the script tag. There are various situations where the Google Maps APIs accepts or produces textual output: Map controls, copyrights, geocodes, and driving directions. Since different languages may use different character sets, the Google Maps APIs allows you to specify the output character encoding by appending an 'oe' parameter to your script tag or query, or to specify the input character encoding by appending an 'ie' parameter. For example, you could force utf-8 encoding in map controls in the Google Maps Javascript API by modifying your script tag like so: <script src=""> You could also change the output of the HTTP geocoder by modifying the query like so: The Google Maps JavaScript API and Google Static Maps API can be accessed over a secure (https) connection by Google Maps API Premier customers. If the Google Maps APIs are used with a free Maps API key on a secure site, the browser may warn the user about non-secure objects on the screen. Additionally, KML/GeoRSS files stored on a secure server cannot be parsed with the Javascript API's GGeoXML class. BitmapData.draw/3D effects in the Flash API? The Maps API for Flash does not currently allow calls to BitmapData.draw(). Calling this method will result in a run-time Security Sandbox error. Several ActionScript libraries call this function in order to enable transitions or 3-d effects, such as PaperVision3d. If you're using those libraries in your application, make sure you're not using them on the map. To be notified if this situation changes, please star this issue. If you experience behavior that you believe may be a bug, please begin by raising it in the Google Maps API Google Group. This will allow other developers to validate the bug, and rule out any potential issues with your code. If you wish to request a feature, please also first raise it in the Google Maps API Google Group to confirm that a solution that meets your requirements is not already available. Once you have confirmed that you have identified a new bug, or that your requirements can not be met by the existing functionality of the Google Maps APIs, please report your bug or feature request using the Google Maps API Issue Tracker. Before adding a bug or feature request to the Issue Tracker please be sure to check that the bug or feature concerned has not already been added. If it has, you can star the issue to register your interest and be notified of updates. Please post your question in the Google Maps API discussion group to get help from the Google Maps developer community. The Google Maps team also monitors and participates in this group. For best results when requesting help, please keep the following in mind: Google Maps API Premier customers may also contact the Google Maps API Premier support team. Contact details for the Google Maps API Premier support team were provided in the welcome email with your client id. Please ensure that you always provide your client id when contacting the Google Maps API Premier support team. Yes, this process is called "geocoding." The Google Maps APIs provides multiple methods for performing geocoding. In the Google Maps Javascript API, you can geocode using the GClientGeocoder object, and in the Google Maps API for Flash, you can geocode using the ClientGeocoder. Alternatively you can send geocoding requests directly to the HTTP geocoder. Please be aware of the usage limits that apply to geocoder requests, and note that use of the geocoder for any purpose other than obtaining locations that will be displayed using the Google Maps APIs is a violation of the Terms of Service. You may use the HTTP geocoder to geocode addresses outside of your Google Maps API application so that they may be cached and later displayed using one of the Google Maps APIs, but locations obtained using the HTTP geocoder may not be used by any other application, distributed by other means, or resold. To see countries currently supported by the Google Maps APIs geocoders, please check out this spreadsheet and select "Yes" in the geocoding dropdown. The accuracy of geocoded locations may vary per country, so you should consider using the returned accuracy parameter to determine if a good enough match has been found for the purposes of your application. Please note that the availability of geocoding data depends on our contacts with data providers, so it is subject to change. For geocoding in countries not currently supported by the Google Maps APIs, please browse this list of other geocoding services. If more than 15,000 geocode requests in a 24 hour period are received from a single IP address, or geocode requests are submitted from a single IP address at too fast a rate, the Google Maps API geocoder will begin responding with a status code of 620. This article explains how to time geocode requests from PHP and provides sample code for doing so. If excessive geocoder usage continues, access to the Google Maps API geocoder from this IP address may be blocked permanently. When using the GClientGeocoder in Javascript or ClientGeocoder in Flash, geocoder requests are made by the user's web browser and count against the quota for the user's IP address. This means that excessive usage on the part of one user will not impact other users of your site. However, if many users access the Google Maps APIs through a single proxy, they will share the quota of the IP address of the proxy. When geocoder requests are made using the HTTP geocoder they count against the quota for the IP address of the system making the HTTP request. If you need to submit a very large set of addresses to the HTTP geocoder to cache for later use, you should consider Google Maps API Premier, which provides a separate batch geocoding quota for this purpose. You can also supplement the Google Maps API geocoder with another geocoding service, a list of which is available here. The Google Maps APIs geocoder requires that U.S. numbered highways be specified in addresses as follows: The Accuracy value represents the scale of the feature that has been geocoded. It does not represent a ranking or level of confidence in the result. When the geocoder receives a query it attempts to find the best matched feature for the address given. Depending on the amount of data we have for the area concerned, it may be able to identify a specific building that matches, or it may only be able to match the street or district. If it can only match a higher level feature such as the district it will still return a lat/long, but it will be for the centroid of that feature, which is likely to be offset from the location of the specific address requested. The Accuracy tells you the scale of the object that matched, so you know how precise the geocode is likely to be. The list of possible values for the Accuracy and the scale of feature that each represents is given in the Google Maps Javascript API Reference. The Google Maps Javascript API allows you to provide driving directions via the GDirections class. This class provides you with step-by-step access to basic and multi-point driving directions, and can automatically create the overlays and directions panel for you. Additional examples are provided in the documentation. You can also easily link to Google Maps for driving directions. We suggest you use the following format for driving directions on Google Maps:{start_address}&daddr={destination_address} To see countries currently supported by GDirections in the Javascript API, check out this spreadsheet and choose "Yes" in the driving directions column dropdown. Please note that the availability of driving directions data depends on our contacts with data providers, so it is subject to change. Additionally, GDirections can translate the driving directions instructions into another language by setting the "locale" parameter in the GDirections.load method. The spreadsheet referenced above also indicates current languages available, in the localized column. The GGeoXML class in the Javascript API enables developers to overlay KML/KMZ and GeoRSS files on top of the map. Examples are here. The KML features currently supported by the GGeoXML class are documented at: Support for additional geospatial features may be added to the GGeoXml class in the future. Check back here or stay tuned to the Google Geo Developers blog for updated information. The size and complexity limits on the display of KML using the GGeoXML class are documented at: Yes, you're welcome and encouraged to monetize your maps mashup through advertising. The Javascript API now provides an ads layer feature via the GAdsManager class, which will display context-relevant ads in a special ads layer on your map. These are the same ads that show up on some searches on maps.google.com. By providing your AdSense for Content publisher ID to GAdsManager, you'll enable the ads layer and make money each time a user clicks on the link in an ad's info window. You can also put AdSense ad units on the same page as your map mashup, outside of the map. To sign up for AdSense and get a publisher ID, or to learn how to put ad units on your page, visit adsense.google.com. To find your unique AdSense publisher ID number, log into your AdSense account at. On the My Account tab, scroll down to the Property info"; Please refer to the information on channels in the AdSense Help Center. Any developer whose page content is in one of the AdSense for Content languages can implement the ads layer. Currently, only advertisers from the United States will show ads in the ads layer. As the program continues, ads from advertisers in other countries may become available. If you've implemented the ads layer by initializing a GAdsManager on your map and aren't seeing any ads, there may be several reasons: GAdsManagerconstructor, and make sure you call enable()on GAdsManagerafter initialization. To use a Google Maps API Premier (formerly Google Maps Enterprise) client id with the Google AJAX API Loader, first load the common loader using your Google Maps API Premier key: <script type="text/javascript" src=""></script> You must then provide your Google Maps API Premier client id as an additional parameter when loading the Google Maps Javascript API: google.load("maps","2", {"other_params":"client=gme-yourid"}); Substitute your key for ABCEFG and your client id for gme-yourid. More information on using the Google Maps Javascript API with the Google AJAX API Loader is available at: ation/index.html#AJAX_Loader To access the Google Maps APIs over https you must first notify the Google Maps API Premier support team of the https sites on which you wish to use the Google Maps API. You will then be issued with Google Maps API Premier keys for the sites, and instructions on accessing the Google Maps APIs over https.
http://code.google.com/apis/maps/faq.html
crawl-002
refinedweb
3,269
58.42
Example. #include <tiuser.h> #include <fcntl.h> #include <stdio.h> #include <poll.h> #include <stropts.h> #include <signal.h> #define NUM_FDS 1 #define MAX_CONN_IND 4 #define SRV_ADDR 1 /* server's well known address */ int conn_fd; /* server connection here */ extern int t_errno; /* holds connect requests */ struct t_call *calls[NUM_FDS][MAX_CONN_IND]; main() { struct pollfd pollfds[NUM_FDS]; struct t_bind *bind; int i; /* * Only opening and binding one transport endpoint, but more can * be supported */ if ((pollfds[0].fd = t_open(“/dev/tivc”, O_RDWR, (struct t_info *) NULL)) == -1) { t_error(“t_open failed”); exit(1); } if ((bind = (struct t_bind *) t_alloc(pollfds[0].fd, T_BIND, T_ALL)) == (struct t_bind *) NULL) { t_error(“t_alloc of t_bind structure failed”); exit(2); } bind->qlen = MAX_CONN_IND; bind->addr.len = sizeof(int); *(int *) bind->addr.buf = SRV_ADDR; if (t_bind(pollfds[0].fd, bind, bind) == -1) { t_error(“t_bind failed”); exit(3); } /* Was the correct address bound? */ if (bind->addr.len != sizeof(int) || *(int *)bind->addr.buf != SRV_ADDR) { fprintf(stderr, “t_bind bound wrong address\n”); exit(4); } } The file descriptor returned by t_open(3NSL) is stored in a pollfd structure that controls polling. pollfds[0].events = POLLIN; while (TRUE) { if (poll(pollfds, NUM_FDS, -1) == -1) { perror(“poll failed”); exit(5); } for (i = 0; i < NUM_FDS; i++) { switch (pollfds[i].revents) { default: perror(“poll returned error event”); exit(6); case 0: continue; case POLLIN: do_event(i, pollfds[i].fd); service_conn_ind(i, pollfds[i].fd); } } } The events field of the pollfd structure is set to POLLIN, which notifies the server of any incoming XTI/TLI events. The server then enters an infinite loop in which it polls the transport. do_event( slot, fd) int slot; int fd; { struct t_discon *discon; int i; switch (t_look(fd)) { default: fprintf(stderr, "t_look: unexpected event\n"); exit(7); case T_ERROR: fprintf(stderr, "t_look returned T_ERROR event\n"); exit(8); case -1: t_error("t_look failed"); exit(9); case 0: /* since POLLIN returned, this should not happen */ fprintf(stderr,"t_look returned no event\n"); exit(10); case T_LISTEN: /* find free element in calls array */ for (i = 0; i < MAX_CONN_IND; i++) { if (calls[slot][i] == (struct t_call *) NULL) break; } if ((calls[slot][i] = (struct t_call *) t_alloc( fd, T_CALL, T_ALL)) == (struct t_call *) NULL) { t_error("t_alloc of t_call structure failed"); exit(11); } if (t_listen(fd, calls[slot][i] ) == -1) { t_error("t_listen failed"); exit(12); } break; case T_DISCONNECT: discon = (struct t_discon *) t_alloc(fd, T_DIS, T_ALL); if (discon == (struct t_discon *) NULL) { t_error("t_alloc of t_discon structure failed"); exit(13) } if(t_rcvdis( fd, discon) == -1) { t_error("t_rcvdis failed"); exit(14); } /* find call ind in array and delete it */ for (i = 0; i < MAX_CONN_IND; i++) { if (discon->sequence == calls[slot][i]->sequence) { t_free(calls[slot][i], T_CALL); calls[slot][i] = (struct t_call *) NULL; } } t_free(discon, T_DIS); break; } } The arguments calls t_look(3NSL) to identify the XTI/TLI event on the endpoint specified by fd. If the event is a connect request (T_LISTEN event) or disconnect request (T_DISCONNECT event), the event is processed. Otherwise, the server prints an error message and exits. For connect requests, do_event scans the array of outstanding connect requests for the first free entry. A t_call structure is allocated for the entry, and the connect request is received by t_listen(3NSL). The array is large enough to hold the maximum number of outstanding connect requests. The processing of the connect request is deferred. A disconnect request must correspond to an earlier connect request.) to receive the disconnect request. The array of connect requests is scanned for one that contains the sequence number that matches the sequence number in the disconnect request. When the connect request is found, its structure is freed and the entry is set to NULL. When an event is found on a transport endpoint, service_conn_ind is called to process all queued connect requests on the endpoint, as the following example shows. service_conn_ind(slot, fd) { int i; for (i = 0; i < MAX_CONN_IND; i++) { if (calls[slot][i] == (struct t_call *) NULL) continue; if((conn_fd = t_open( “/dev/tivc”, O_RDWR, (struct t_info *) NULL)) == -1) { t_error("open failed"); exit(15); } if (t_bind(conn_fd, (struct t_bind *) NULL, (struct t_bind *) NULL) == -1) { t_error("t_bind failed"); exit(16); } if (t_accept(fd, conn_fd, calls[slot][i]) == -1) { if (t_errno == TLOOK) { t_close(conn_fd); return; } t_error("t_accept failed"); exit(167); } t_free(calls[slot][i], T_CALL); calls[slot][i] = (struct t_call *) NULL; run_server(fd); } } For each transport endpoint, the array of outstanding connect requests is scanned. For each request, the server opens a responding transport endpoint, binds an address to the endpoint, and accepts the connection on the endpoint. If another connect or disconnect request arrives before the current request is accepted, t_accept(3NSL) fails and sets t_errno to TLOOK. You cannot accept an outstanding connect request if any pending connect request events or disconnect request events exist on the transport endpoint. If this error occurs, the responding transport endpoint is closed and service_conn_ind returns immediately, saving the current connect request for later processing. This.
http://docs.oracle.com/cd/E19253-01/817-4415/tli-37/index.html
CC-MAIN-2014-10
refinedweb
806
51.68
Red Hat Bugzilla – Bug 35635 stack dump printing with LPRng 3.7.4-22 Last modified: 2007-04-18 12:32:38 EDT From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-0.1.49 i686) Whenever I send a job to the printer, I get a blank page at the end and a stack dump at the printer. This happens with RC3 (qa0401). I am seeing it both at work, where I spool jobs to an NT4 Server (DEClaser 5100, aka LN09) and at home, where I am printing to an HP LaserJet 4L. The error information at work is error name: dictstackunderflow command: end errorinfo: errorinfo not displayable Reproducible: Always Steps to Reproduce: 1. lpr -P:lp0 <file> 2. 3. Actual Results: entire file printed, followed by blank page, followed by error report Expected Results: entire file printed odd. What does the stack dump look like? Are sure you mean 'lpr -P:lp0' and not 'lpr -Plp0'? Can you attach the file out produced by: zcat /etc/alchemist/namespace/printconf/local.adl > out (Youll need to be root to run the above command.) Since submitting the bug, I have done further research. The bug is not in LPRng, but in Kwrite, and has already been reported (several times) to KDEbugs. KDE bug numbers are 15982, 22899, 14304. I was also wrong about the syntax of the lpr command: after hastily submitting the bug report, I tried printing the buffer (in Kwrite) to a file instead of a printer. When I tried converting the file from Postscript to PDF using ps2pdf, I also got the same stack dump as reported in #15982 above. I'll try to be more careful next time... It's fixed in current release
https://bugzilla.redhat.com/show_bug.cgi?id=35635
CC-MAIN-2017-09
refinedweb
295
74.59
10 January 2006 21:06 [Source: ICIS news] HOUSTON (ICIS news)--The January US butadiene (BD) contract remained unsettled due to ongoing customer resistance, despite initial agreements for a 1 cent/pound decrease that would put prices at 49 cents/pound ($1,079/tonne) free on board (FOB) USG (US Gulf), market sources said on Tuesday. With supply growing amid weak demand and BD spot prices in the mid-40s cents/pound FOB USG, a major Houston-based customer pressed for a 2 cents/pound January price cut. The BD December contract was at 50 cents (Euro.41)/pound FOB USG. Market players pointed out that the last time BD was settled at a split was in July, 2000, when the contract settled at 25-26 cents/pound FOB USG. A few customers expressed concern with the nearly 10 cents/pound differential between BD prices in the ?xml:namespace> The first quarter European butadiene (BD) contract was agreed at Euro770/tonne, a reduction of Euro45/tonne from the fourth quarter’s Euro815/tonne. BD spot prices in Butadiene is primarily used as a raw material in styrene butadiene
http://www.icis.com/Articles/2006/01/10/1033310/january-us-butadiene-contracts-remain-unsettled.html
CC-MAIN-2014-35
refinedweb
188
58.62
From: Arnaldo Carvalho de Melo <acme@infradead.org>Date: Mon, Jun 14, 2010 at 06:01:16PM -0300> > Right, so I started playing with this, added a global Makefile to tools/> > and from there we descend into lib/ and perf/ in that order to prepare> > all the modules for the perflib. I've played with the include paths so> > that you can have #include <util/util.h> for all that generic library> > stuff.> > > > The patch below carves out the debugfs helpers along with some generic> > headers, please take a look and let me know if this is an agreeable> > direction I'm going. Yeah, it is big, I think vger won't be able to> > swallow it but this is only moving files around so...> > One thing I thought was that perhaps reusing Kbuild would be a good> idea, something like:> > cd tools/> make menuconfig> > And use all the Kbuild machinery to select needed features, etc.> > What do you think?Why not, however, do we need it at this point? I mean, you simply domake -j; make installin tools/perf/ and all is good. It even tells you if some libraries aremissing. I simply don't see such a large amount of options to justifya configurator but maybe there are usecases where Kconfig would makesense, hmmm?> It can be a follow up to what you're doing, that is needed anyway, some> questions below:> > > Thanks.> > > > --> > >From 0f391f0acf39d3b2e85145dce389cbf425cb7cdd Mon Sep 17 00:00:00 2001> > From: Borislav Petkov <borislav.petkov@amd.com>> > Date: Mon, 14 Jun 2010 21:14:15 +0200> > Subject: [PATCH] perf: rewire generic library stuff> > > > ---> > tools/Makefile | 74 +++++> > tools/lib/Makefile | 41 +++> > tools/lib/util/cache.h | 86 ++++++> > tools/lib/util/debugfs.c | 252 +++++++++++++++++> > tools/lib/util/debugfs.h | 31 +++> > tools/lib/util/strbuf.c | 133 +++++++++> > tools/lib/util/strbuf.h | 92 +++++++> > tools/lib/util/types.h | 17 ++> > tools/lib/util/util.h | 282 ++++++++++++++++++++> > Will we continue using "util" here? What other name could we pick? Nah,> probably for the ones you moved we can continue using it, the symbols> part I plan to move to tools/lib/symbol/.Yeah, names are kinda arbitrary. Keeping "util" meant as little changesas possible but it would make more sense to simply have all differentlibrary modules under "tools/lib/<module>.(c|h)" Will do so in the nextversion.> > tools/perf/Makefile | 64 +----> > tools/perf/bench/bench.h | 2 +> > tools/perf/bench/mem-memcpy.c | 2 +-> > tools/perf/bench/sched-messaging.c | 2 +-> > tools/perf/bench/sched-pipe.c | 2 +-> > tools/perf/builtin-bench.c | 2 +-> > tools/perf/builtin.h | 4 +-> > > -#include "types.h"> > +#include <util/types.h>> > I thought about suggesting using -I to reduce patch size, but then it is> using "" :-\Yeah, I have the -I$(CURDIR)/lib for this in the top level Makefile so alllibrary includes would be like:#include <util.h>however, this does not differentiate perflib (let's call it that for how:) from libc headers. Do we want a "perf" or "kernel" or "perflib" orwhatever prefix here - it might make sense later when this thing growsto differentiate between the namespaces...?> So I'll do some testing here and merge this for .36 unless somebody has> other issues with this, Ingo? Frédéric?Can you please wait a bit with the merging, I'd like to write thewhole rasd daemon stuff before we merge that and have the generic libcarve-out in one patchset?Thanks.-- Regards/Gruss, Boris.--To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at read the FAQ at
http://lkml.org/lkml/2010/6/14/387
CC-MAIN-2016-44
refinedweb
599
68.36
I have been puzzled with the way GH Python component work. Basically I was trying to recreate the grasshopper’s “Circle” component - I wanted to have a couple of points as an input (that is more than one point) and then create a circle from those points, with defined radius. I tried this code: import rhinoscriptsyntax as rs a = [] for pt in x: circ = rs.AddCircle(pt,y) a.append(circ) And it worked. A list of points is plugged into the “x” GH Python input plug, and a slider float value into the “y” plug. I had to set the “x” input plug to “List Access” instead of “Item Access”, which is I guess obvious because “x” is a list of points. But on the other side, this code seems to work too: import rhinoscriptsyntax as rs a = rs.AddCircle(x,y) And that is my reason for posting this topic - why does this second code work? There is no “for loop” in it, and we are dealing with a list of points here, not with a single list. I though grasshopper components work on a principle of a iteration, like presented in the first code? I attached the .gh file with both components. Thanks you. circles.gh(2.8 KB)
https://discourse.mcneel.com/t/puzzled-by-iteration-in-gh-python-components/2538
CC-MAIN-2020-45
refinedweb
212
71.44
Here is an example of a typical method declaration: public double calculateAnswer(double wingSpan, int numberOfEngines, double length, double grossTons) { //do the calculation here } The only required elements of a method declaration are the method's return type, name, a pair of parentheses, (), and a body between braces, {}. More generally, method declarations have six components, in order: public, private, and others you will learn about later. voidif the method does not return a value. (). If there are no parameters, you must use empty parentheses. Modifiers, return types, and parameters will be discussed later in this lesson. Exceptions are discussed in a later lesson. The signature of the method declared above is: calculateAnswer(double, int, double, double)Fast getBackground getFinalData compareTo setX isEmpty Typically, a method has a unique name within its class. However, a method might have the same name as other methods due to method overloading.for. public class DataArtist { ... public void draw(String s) { ... } public void draw(int i) { ... } public void draw(double f) { ... } public void draw(int i, double f) { ... } } Overloaded methods are differentiated by the number and the type of the arguments passed into the method. In the code sample,.
http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html
CC-MAIN-2014-52
refinedweb
194
50.53
Dev and we expanded our team we got more front-end developers on board. They were pushing for a more modern front end stack that will help improve efficiency for front-end development. That is how we ended up deciding to use ReactJs. I think one of the trickiest parts of the change was deciding how to go about it. It takes a lot of time and effort to make the change and we had to convince everyone that it would be worth it. Since there was already a movement to revamp our signup process, it seemed like a perfect opportunity to write that using ReactJs and Redux. It also had the plus side of not needing to be authenticated so you really couldn’t pick a better piece to migrate first. Break it Down You don’t have to move your entire application to a new UI all at once. Some teams try and do this and then by the time they are finished migrating there is something bigger and better out there. Break down your applications into logical pieces that can be separated (if you allow people to sign up for your service that piece of the application is a perfect place to start). This is a bit trickier for single page applications but can still be done. So once we decided what piece of the application we were ok with transitioning first we had to figure out how to keep the transition as seamless as possible between the existing Java/JSF UI to the Node.js/ReactJS UI. Our solution was using a reverse proxy from apache. This ended up working quite nicely, and since we were already using apache for the Java/JSF UI anyways it really didn’t require a lot of extra setup. These are the few lines of configuration it took to get working: ProxyPass "/portal" ":{{web_node_port}}" retry=5> ProxyPassReverse /portal:{{web_node_port}} It will take a lot of time and effort if you try and do too many things at once. With a small team you will never get all the time you need to move everything overall in one shot. Break it down and pick the easiest pieces first, that’s what worked for us. Standing Up a Node.js Server One of the first things we decided to do was use a Node.js server to serve up the new ReactJS UI. The tooling is much cleaner in Node.js than it is in java. Here are some of the key libraries that we used to reach efficiency: - Babel for our transpiler. This allows us to use some great new ES7 syntax such as async/await, which has increased readability and code organization by a significant amount. - Webpack for our module bundler. All of the configurations can be a bit daunting at first. Make sure you read about best practices first and then you’ll realize how great it can be. Live reloading is a must have for front-end development (check out react boilerplate to see how to setup live reloading). - Xo for our linter. It is a preset style that uses ESLint. It does allow you to change some things (which we have done) but having that base to start from is great. I also find that their automatic fix feature is great and always results in the code being formatted as expected. - Ava for out javascript test runner. Runs your tests in parallel which forces you to write atomic tests, which I believe is a good thing. - WebdriverIO for browser testing. This uses selenium and mocha for driving the testing. While having good javascript unit tests are important, it doesn’t replace full end to end browser testing. Testing One of the great things about switching to ReactJS/Redux is how the DOM is abstracted away. This makes unit testing your code much easier! You can now create unit tests that test all of your ReactJS javascript code without having to start a browser. JSF mashes together dom elements and Java code and thus unit testing becomes much trickier. Always strive for 100% test coverage. This can take a bit longer but it gives you a lot greater confidence that your code is going to do what it is supposed to do. Mocking is one of the easiest ways to do this and is a trivial thing in JS. Here is a sample test that we use to check that password validation is working as expected: import test from 'ava'; import sinon from 'sinon'; import passwordValidation from '../../api/passwordValidation'; const popsicle = require('popsicle'); const RESPONSE = { status: 200, body: { foo: 'bar' } }; const PASSWORD = 'foo'; test.serial('validating a password', async t => { const sandbox = sinon.sandbox.create(); sandbox.stub(popsicle, 'post').returns(RESPONSE); const result = await passwordValidation.validate(PASSWORD); t.true(popsicle.post.calledOnce); t.deepEqual(popsicle.post.firstCall.args[0], { url: '/portal/v1/passwordValidation', body: { password: PASSWORD } }); t.is(result, RESPONSE.body); sandbox.restore(); }); The above sample stubs out popsicle (which is the library we use to make ajax requests) so it can be tested in isolation. As you can see mocking something out is just a one-liner, then you can do verifications on it later to assure that the correct series of events happened. 100% test coverage is important but also making sure that you are writing tests that actually test the underlying functionality is equally important. You want to make sure that your assertions are as specific as possible, otherwise, potentially bad information may sneak by and your test will pass when it should have failed. Overall migrating to a new server allowed us to implement much better testing practices and the library itself (ReactJS/Redux) facilitated much easier testing. JSF Struggles One of the major design patterns in JSF is that it highly couples server side logic with front end code. For example you could have something like this: HTML <div id="main">#{helloWorld.message}</div> HelloWorld.java @ManagedBean(name = "helloWorld", eager = true) @RequestScoped public class HelloWorld { private String message; public HelloWorld() { setMessage("HelloWorld started!"); } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } } Where in order to get that message text updated it has to make another round trip to the server, sometimes causing a page refresh to get the component to pull in the new value. This can really be a pain to manage state in a single page application. Especially when it could be controlled by another front-end component and needs to change on the fly. ReactJS abstracts how it gets the data away from how it presents the data. Something similar in ReactJS might look something like this: var message = 'HelloWorld started!'; var HelloWorld = React.createClass({ render: function() { return ( {this.props.helloWorld} ); } }); ReactDOM.render( document.getElementById('main') ); All you have to do to change the message display is update the javascript variable, message. You could update it on a periodic asynchronous AJAX request, when the user fills out a text field on a different view, or any assortment of other methods. When you want to force JSF to update the display based on the backing bean you may end up writing something like what you see below which just doesn’t feel as intuitive and is something you do in your java code, not your front end JS code. FacesContext.getCurrentInstance().getPartialViewContext().getRenderIds().add("foo:bar"); One thing that is easier to do using JSF is to directly manipulate the database via actions. For example, when a user clicks a button, it saves information directly to the DB using the underlying java functions. THIS IS BAD!! This design is not modular at all and when things start changing rapidly it’s going to be a pain to manage. This was one thing that worked out great when we created the Node.js server and started using ReactJS. Since we decided that the Node.js server would not be able to connect to the database at all, we had to create API’s on the java server whenever we wanted to manipulate data. This design is much more modular, allows greater reuse, and is much easier to integrate with other services. While you might be thinking, “You could have just used API’s with JSF as well”, this is true BUT it requires better code practices and a different design than what JSF seems to be made for, whereas ReactJS seems to support that paradigm natively. Conclusion All your developers will enjoy the switch to ReactJS. Your java developers will be happy because they no longer have to worry about writing the front end code. Your front end developers will be happy because they won’t be coming along and cleaning up the code that your java developers wrote. TL;DR - Switching from JSF to ReactJS/Redux greatly improved efficiency - You don’t need to move your entire app over all at once, break it down and do it in pieces - There are a plethora of great libraries for ReactJS/Redux ecosystem - Babel, Webpack, Xo, Ava, WebdriverIO. Check them out if you haven’t yet. - State management is much easier in ReactJS than JSF - Testing ReactJS code is much more streamlined compared to JSF
https://www.bandwidth.com/blog/devstack-download-migrating-from-jsf-to-reactjs/
CC-MAIN-2020-16
refinedweb
1,537
62.38
3,9. manelgavalda left a reply on Append An Attribute To Collection Without Causing N+1 Issue @THEBIGK - I think you need to load the relation with the events: public function index() { $events = Event::with('attendees')->where('start_date', '>', now())->paginate(30); return $events; // Testing } And maybe in your User model you will need to work with collections instead of the query builder: public function getAttendingAttribute() { return $this->attendees->where('user_id', '=', auth()->id()); // remove the () in attendees } manelgavalda left a reply on Laravel Relations If the user can only have 1 role I don't think you need the user_roles table. You can simply add a role_id column in your users table. manelgavalda left a reply on Empty Session(s) After (external) Redirect? When the user gets redirected from the external server to your laravel server, you will have a new session, so before your laravel server redirects to the external server, you need "to pass" the session you had to the external server, and when the external server redirects you back to the laravel server you will have the session. Finally, if you are redirecting to your laravel application from an external server, you should disable the csrf token validation: Hope this helps. manelgavalda left a reply on Body Data Is Including The HTML When It's Input To My PhpMyAdmin... manelgavalda left a reply on Package Dependencies During Development Hey, I tend to use franzliedke/studio, is pretty easy to use, you can see how it works here: manelgavalda left a reply on Body Data Is Including The HTML When It's Input To My PhpMyAdmin... Hey, {!! !!} will show the html text unescaped so it will be rendered properly, but what you are showing in the screenshot and your code doesn't look the same thing. In your create view you are using a class to create the textarea, so you don't need to use {!! !!} in order to scape it. You probably want to show the unescaped text in your show view. manelgavalda left a reply on Argument 2 Passed To Maatwebsite\Excel\Excel::download() Must Be Of The Type String, Object Given, Called In D:\xampp\htdocs\laravel\webpro3\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php On Line 237 Looks like you are using an old syntax. As the second parameter it expects the name of the downloaded file: class UsersController extends Controller { public function export() { return Excel::download(new UsersExport, 'users.xlsx'); } } I don't know for sure how the others options must be implemented with the newest version, but you can take a look at the docs: manelgavalda left a reply on Laravel Request User Hey, yep this is normal behavior. When you use $request->user() you are getting an instance of User, so when you do $request->user()->first() you will get the first User. This is not dangerous because if you are returning the $request->user() the user has no way of using ->first() after it. manelgavalda left a reply on Validation: String IS NOT Hey, I think you can use the not_in validation rule: manelgavalda left a reply on Model Function Within FormRequest @MIHIRPATEL83 - Um, are you sure that you are hitting the Validator, in your controller, before creating the product? Btw if you already have a custom request class to to do the validation, I think it will be just better to have the rules in your request class. manelgavalda left a reply on Model Function Within FormRequest You can access the bound model frmo the url using: $model = $this->route('model'); manelgavalda left a reply on How To Convert My Json View In Laravel? @RAVIAWASTI - Um, the easier thing will be for your android developer to access the first item of the array, or create a loop to show errors. If he doesn't know how to do something like: if ($validator->fails()) { $errors = $validator->errors(); if(array_key_exists('username', $errors)) { $errors['username'] = $errors['username'][0]; // Here you are getting the first item of the array and assigning it directly to "username" so it will be a string } if(array_key_exists('email', $errors) { $errors['email'] = $errors['email'][0]; //same as before. } return response()->json(['success'=>'0','post'=> $errors]); } As I said that's a very ugly flx, but I suppose that something like this should work. Maybe somebody else can help you with your problem... manelgavalda left a reply on How To Convert My Json View In Laravel? Hey, can you show us why do you want to do this? The reason why the username and { "success": "0", "post": { "username": "The username has already been taken", "email": "The email has already been taken." } } You can access the key accessing the first item on the array, so instead of accessing username to get the error, you will have to access username[0], and the same with the email. manelgavalda left a reply on It Is That Possible To Gerate A New Class With A Custom Artisan Command ? Yeah , instead of defining the $class_template inside the command, you can create a stub with the customClass code and generate the class using that. I think that's a good example of what you want to do: manelgavalda left a reply on Which Type Of Format Is This In Laravel Api? @RAVIAWASTI - They are surrended with curly braces {, so they are both JSON objects. A JSON object can have nested JSON objects inside, that's why you have more {} inside. And in the first case this JSON object has 2 arrays of 1 item inside: [ "The username has already been taken." ] // First array [ "The email has already been taken." ] // Second array manelgavalda left a reply on Which Type Of Format Is This In Laravel Api? This format is called JSON, it's the most common format when working with apis. If you want to see the data structured, you can use for example. manelgavalda left a reply on How To Remove Port In Laravel Aap In Localhost In Ubuntu 16.04 Hey, I'm not sure if I quite understand the question but I suppose, that instead of your app url being localhost:8080 you want something like your-app.test? If that's the case you can use valet: manelgavalda left a reply on Phpunit Returns Green On Null Hey, this is not failing because $thread->slug is returning null, so your string looks like "/thread/1/" and your path() function doesn't even need to return the slug. I think a better test for this would be something like: public function a_thread_has_a_path() { $thread = factory(Thread::class)->create([ 'slug' => 'your-slug' // or fill the title column and get the slug from that, so you will know that the slug is generated correctly ]); $this->assertEquals('/thread/1/your-slug", $thread->path()); } This way you will assure that the url you are comparing is the expected. manelgavalda left a reply on Undefined Variable You are having this error on your controller or in your blade? The code seems right so this may be a problem with cache or compilation. Try to run this commands: php artisan cache:clear composer du manelgavalda left a reply on Declare Middleware Use In Route File Or Controller Hey, there's not any convention on this, it's just a matter of your personal preference. Personally i like to put the middleware on the route definition, so when i take a look at my routes file I can easly see which routes are protected by a middleware and I also like to wrap all the routes in a middleware group. Referencing from the docs : Middleware may be assigned to the controller's routes in your route files: Route::get('profile', '[email protected]')-); }); manelgavalda left a reply on Error While Installtion Laravel Hey, this is actually another problem: The php-mysql driver is installed correctly, the problem now is that the credentials to connect to your mysql database are not correct. .env file is configured properly with your mysql credentials: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE="your-database" DB_USERNAME="your-user" DB_PASSWORD="your-password" manelgavalda left a reply on Error While Installtion Laravel @INDERSEIN - - Illuminate\Database\QueryException : could not find driver. You are missing the mysql database driver now: sudo apt-get install php7.2-mysql manelgavalda left a reply on RelationShip manelgavalda left a reply on Error While Installtion Laravel Problem 1 - phpunit/phpunit 7.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system. You are missing the php xml-extension: sudo apt-get install php7.2-xml manelgavalda left a reply on RelationShip manelgavalda left a reply on RelationShip manelgavalda left a reply on Unexpected AuthenticationException If you want to check the redirect you need to have the exceptions enabled, so laravel can catch it and redirect you with a 302 response. /** @test */ public function guests_cannot_manage_projects() { $project = factory('App\Project')->create(); $this->get('/projects') ->assertRedirect('login'); ... } manelgavalda left a reply on Issues With Sending An Email With A Pdf Attachment Hey, then the problem must be on the way you are calling the successPayment function. Looks like you are calling it multiple times, but just calling it correctly the first time. Can you show us the code you are using to call it? manelgavalda left a reply on Logout In Laravel Not Working You need to use a css selector, so you are missing the # in front of the id value: document.getElementById('#logout-form').submit(); manelgavalda left a reply on Resource Collection - Property [*] Does Not Exist On This Collection Instance. Hey, i don't quite understand what you are trying to do, can you show us more code? The problem is that $this references a collection instance, not an item inside the collection. For example in case you want to work with the first item: return parent::toArray([ 'name' => $this->first()->name, 'industry' => $this->first()->industry ]); manelgavalda left a reply on Dynamically Run Seeder File From Controller Hey, you can create the class path before the new. So something like this should work: $class = "Database\Seeds\{$request->seederFile()}"; // notice the \ before the variable $wSeeder = new $class; $wSeeder->run($request->page_id, $wSorting); manelgavalda left a reply on Trying To Get Property 'username' Of Non-object Hey, looks like auth()->user() is returning null on the view, are you sure that you have are authenticated in the applciation? manelgavalda left a reply on Problem Conection To Database If it's not getting the configuration from your .env, maybe the configuration cached, try this: php artisan config:clear manelgavalda left a reply on Laravel 5.8 Phpunit Command Issues Hey, I'm also using laravel 5.8 and I don't think the way of executing tests has changed. What is the error you are having when executing vendor/bin/phpunit? If you did composer install on a fresh laravel installation you must have phpunit on this path: vendor/phpunit/phpunit/phpunit. manelgavalda left a reply on @if - Trying To Get Property 'id' Of Non-object I suppose that you just need to check if po is null in order to know if $po_item has po: <td>{{$po_item->vendor_company->name}} @if($po_item->po) //remove ->id <a href="{{route('employee.po.show', $po_item->po->id)}}"> PO No : {{$po_item->po->id}}</a> @endif </td> manelgavalda left a reply on Help With Courses If you go to the main page you can see this 2 courses for new users: The first one is PHP from 0, so I suggest you to start it first, the second one is laravel from 0, because laravel is a PHP language you will need to know the PHP basics so if you know nothing about PHP start with the first course. manelgavalda left a reply on How Do I Filter The Eager Loading Results? @CHRISGRIM - I think you can pass a closure to the load class and maybe this will work for you: $category = $category->load(['events' => function ($query) { $query->whereNotNull('approved'); }])->get(); Does it work? manelgavalda left a reply on How Do I Filter The Eager Loading Results? You can use whereHas for this: $category->load('events')->whereHas('events', function($query) { $query->where('approved', Null); })->get(); Docs: manelgavalda left a reply on Installing Nova 2.0 On Laravel 5.8 Is Throwing Errors @AGILASADI - Glad it worked! manelgavalda left a reply on Installing Nova 2.0 On Laravel 5.8 Is Throwing Errors @AGILASADI - Yes, nice. Are you sure that now you are getting the same error as before? manelgavalda left a reply on Installing Nova 2.0 On Laravel 5.8 Is Throwing Errors @AGILASADI - Do you see the extension if you use php --ini? manelgavalda left a reply on Installing Nova 2.0 On Laravel 5.8 Is Throwing Errors You need to install the php bcmath extension. If you are on linux you can do this: sudo apt-get install php7.2-bcmath manelgavalda left a reply on New Entry In Model Method Maybe I got the question wrong, if you just want a way to create a record in the table, you can do this: Foo::create([ 'field' = 'value', 'field2' = 'value' ]) manelgavalda left a reply on New Entry In Model Method Hey, yep you can use the keyword self or static to reference the own class, so this will be the same: new self; new static; new Foo; manelgavalda left a reply on Can I See The Slug Via Request? @BEHNAMPMDG3 - You can inject the request or not, for example, In the first exemple you are injecting the request in the method, so it gets automatically resolved on your controller without looking the parameters you are passing in your route, so your route will just add the parameters that aren't injected ( $slug): public function login(Request $request, $slug) { dd($request); // the request with the data return view('login'); } If you are not injecting the request in the method you can also use the request() helper, so you don't need to import the Request class, or inject it in the controller, but the functionallity is the same: public function login($slug) { dd(request()); // the request with the data return view('login'); } I suggest you to read the docs, you can see the same example with the request, and how method injection works: manelgavalda left a reply on Fetching User Show us the code, what kind of problem do you have? manelgavalda left a reply on Proper Way Of Making Migrations From Already Built Mysql Db? I use this package, it creates the laravel migrations using an existing DB, it works pretty well: manelgavalda left a reply on Why Can't I See The Slug? The request is automatically passed to the controller, you need to also pass the slug to it in order to see it: public function login(Request $request, $slug) { dd($slug); return view('login'); } manelgavalda left a reply on Articles With Certain Categories I guess you can use has in order to check if the relation has items: $articles = App\Article::has('categories')->get(); Docs: manelgavalda left a reply on Array_merge(): Argument #1 Is Not An Array Hey, you are not returning the variables to the view properly: public function index() { $file = new files(); $file = $file->get()->toArray(); return view('imgBlade.imgPage', ['file' => $file]); } Docs:
https://laracasts.com/@manelgavalda
CC-MAIN-2019-30
refinedweb
2,547
54.97
24 May 2012 10:47 [Source: ICIS news] SANYA, China (ICIS)--South Korea’s LG MMA is planning to start its new 11,000 tonnes/year methacrylic acid (MAA) line in August, a company source said on Thursday. The company currently operates an 11,000 tonne/year line in Yeosu, the source said at the sidelines of the 9th China International Acrylate & MMA Forum. The one-day event is being held in Sanya, ?xml:namespace> The new line will double its nameplate capacity to 22,000 tonnes/year. “We hope to operate it from early August if possible,” he added. MAA is produced industrially on a large scale as a precursor to its esters, especially methyl methacrylate (MMA) and poly(methyl methacrylate) (PMMA). LG MMA has three MMA production lines at the Yeosu site that have a combined capacity of 176
http://www.icis.com/Articles/2012/05/24/9563166/s-koreas-lg-mma-eyes-start-up-of-new-maa-line-in-august.html
CC-MAIN-2014-52
refinedweb
141
61.26
ListDatasets Summary Lists all of the datasets in a workspace. Search conditions can be specified for the dataset name and dataset type to limit the Python List that is returned. Discussion The workspace environment must be set first before using several of the List functions, including ListDatasets, ListFeatureClasses, ListFiles, ListRasters, ListTables, and ListWorkspaces. Syntax ListDatasets ({wild_card}, {feature_type}) Code Sample ListDatasets example List Feature Dataset names that start with C. import arcpy arcpy.env.workspace = "C:/Data" # Print to the Interactive window all the feature datasets in the workspace # that start with the letter C. # datasetList = arcpy.ListDatasets("C*", "Feature") for dataset in datasetList: print dataset Related Topics 10/28/2011
http://help.arcgis.com/en/arcgisdesktop/10.0/help/000v/000v0000001m000000.htm
CC-MAIN-2019-13
refinedweb
110
56.55
Opened 4 years ago Closed 4 years ago Last modified 4 years ago #18881 closed Bug (fixed) tag "trans" not working with "context" Description Hi I am using the "trans" tag to do context aware translation. In my template I had something like: {%trans "Budget" context "finance"%} then as I "makemessages", the context does not appear in my django.po file. What's more, it fails to translate properly even if I had provided the correct translation in the django.po file and compiled the messages. Attachments (2) Change History (16) comment:1 Changed 4 years ago by comment:2 Changed 4 years ago by I'm not able to reproduce your problem. Maybe you can give us your real file so we can test? comment:3 Changed 4 years ago by Maybe it is my mistake -- I can't reproduce it anymore. When I played with it, I found something highly related: if you use both double quote and single quote, the single quote version won't show up with context. Here is what I mean: {%trans "Budget" context "finance"%} Then somewhere else you have: {%trans 'Budget' context 'finance'%} Seems the translation system treats them as two different entries. comment:4 Changed 4 years ago by comment:5 Changed 4 years ago by I would love to try write a unit test if someone can give me an example for the i18n module. For now, I can specify how to reproduce this problem: - in a django project, write a real simple template file named "testempt.html" with two lines like this: {%trans "budget" context "finance"%} "{%trans 'budget' context 'finance'%}" - now issue this command: python manage.py makemessages -l en - then open the message file django.po and you will get this: #: testempt.html:1 msgctxt "finance" msgid "budget" msgstr "" #: testempt.html:3 msgid "budget" msgstr "" comment:6 Changed 4 years ago by Thanks for the code snippet. If you'd like to have a go at writing a unit test, you can take a look at the existing tests in comment:7 Changed 4 years ago by @julien: I looked at that code and it seems we can do the following with the testempt.html: def test_template_message_context_extractor(self): """ Ensure that message contexts are correctly extracted for the {% trans %} and {% blocktrans %} template tags. Refs #14806. """ os.chdir(self.test_dir) management.call_command('makemessages', locale=LOCALE, verbosity=0) self.assertTrue(os.path.exists(self.PO_FILE)) with open(self.PO_FILE, 'r') as fp: po_contents = fp.read() # {% trans %} self.assertTrue('msgctxt "Special trans context #1"' in po_contents) self.assertTrue("Translatable literal #7a" in po_contents) self.assertTrue('msgctxt "Special trans context #2"' in po_contents) self.assertTrue("Translatable literal #7b" in po_contents) self.assertTrue('msgctxt "Special trans context #3"' in po_contents) self.assertTrue("Translatable literal #7c" in po_contents) #ticket #18881, single quote context self.assertTrue('msgctxt "finance"' in po_contents) self.assertMsgId('budget', po_contents) #{% blocktrans %} However, the call of self.assertMsgId('finance', po_contents) currently does NOT check for duplicate message id in the po file, which is not quite adequate. Therefore, in the same file, where assertMsgId is defined, we can use the following definition instead: def assertMsgId(self, msgid, s, use_quotes=True): q = '"' if use_quotes: msgid = '"%s"' % msgid q = "'" needle = 'msgid %s' % msgid msgid = re.escape(msgid) matches = len(re.findall('^msgid %s' % msgid, s, re.MULTILINE)) return self.assertTrue( matches==1, 'Could not find %(q)s%(n)s%(q)s in generated PO file' % {'n':needle, 'q':q} if matches==0 else 'Found more than one occurrences of %(q)s%(n)s%(q)s in generated PO file' % {'n':needle, 'q':q}) comment:8 Changed 4 years ago by It looks like there's a bug with the context's regular expressions. Marking this ticket as a release blocker as this was a new feature in 1.4 and therefore it should be fixed in 1.4.X as well. I wrote a patch (see attached). Could you please try it in your project and check that it fixes your problem? Changed 4 years ago by comment:9 Changed 4 years ago by Thanks for the patch. I tried to use it by cd to the django installation folder and do django> patch --dry-run -p2 < ~/Downloads/18881.trans-context-single-quotes.diff but it complains about "can't find file to patch at input line 5". any ideas? comment:10 Changed 4 years ago by Which exact version of Django are you using? If it's a git clone, which revision is it at? The error you got is because the first patch I submitted also contained the tests. I've re-submitted another patch with the code change only. Could you try again with that one instead? Changed 4 years ago by comment:11 Changed 4 years ago by patch succeeded, and problem fixed. many thanks! I also used pgettext("context", "message") in my code, and it didn't work either. Note the context was given in Chinese.
https://code.djangoproject.com/ticket/18881
CC-MAIN-2016-50
refinedweb
825
65.83
Fw: Commemorate Dudley George, Sept. 6 - 9 - 11pm... and more news! Expand Messages ----- Original Message ----- From: "Turtle Island Solidarity" Date: Fri, 29 Aug 2003 12:04:222 -0400 Subject: Commemorate Dudley George, Sept. 6 - 9 - 11pm... and more news! Honor Dudley George -- Remember Ipperwash -- Support Aboriginal Land and Treaty Rights SEPTEMBER 6th VIGIL with Eagleheart Singers and Wanda Whitebird 9 - 11 pm (the time of the armed police assault, in which Dudley's life was taken) Queen's Park, Toronto in front of the legislature, north of University Avenue & College Street This is a very important year for those of us who have worked hard to make sure that the sacrifice of Dudley George's life was not in vain... That the truth is beginning to come out, after eight long years of struggle... Join the Coalition for a Public Inquiry into Ipperwash at this Vigil in remembrance of Dudley George, where you can get reports on: -- Minister Runciman's office illegally blocked release of photo and video materials too the courts and the media -- the court case against Harris et al for the "Wrongful Death" of Dudley George begins September 22ndd (note date change) --- finally!!! -- Toronto Teachers' Federation is founding a scholarship in Dudley's name -- Amnesty International's current largescale lobbying effort for justice on Ipperwash> -- the Chief Coroner's response to request for a long-overdue inquest. Events to remember and commemorate the events of September 6, 1995 on the Aazhoodena territory (also known as Ipperwash Park) have already been held and more are being organized in other centres across the region of Ontario. If you cannot get to Toronto for this vigil and would like contacts in your region to learn if something is being planned locally, please hit "reply" to make your inquiry. //////////|||||||||\\\\\\\\\\\\\/////////////||||||||\\\\\\\\\\\ \\\\\\\\\\|||||||||/////////////\\\\\\\\\\\\\||||||||/////////// OTHER NEWS & ANNOUNCEMENTS... 1) Rebel Youth Network Presents: Cafe Che - Defend Aboriginal Rights! Fundraiser for Toronto Native Youth 2) The Gathering of the Good Minds: A Celebration of Native Arts, Wisdom and Culture 3) CanWest report that PM loses interest in unpopular native bill [FNGA] - but don't count your chickens yet! ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Rebel Youth Network Presents: Cafe Che - Defend Aboriginal Rights! A Fundraiser for Toronto Native Youth . Speakers from Toronto Native Youth . Speakers from Stop The FNGA Coalition . Speakers from The Spot (KWYC) . Poetry by Karen Silverwomyn . Hip-Hop by Genetix . Open Mic: BRING YOUR STUFF! $5 or PWYC 7 pm - Sunday, August 31st [ ]Oasis Bar & Res.. - 780 Queen St. E. (east of Broadview) 19+ (Sorry) (Money will be used to send a delegate to the Native Youth Movement conference in Vancouver.) In the meanwhile, check us out at: [ ] [ ] ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| The Gathering of Good Minds Anna Fleet for Canadian Aboriginal News LONDON ON --On September 26th, 27th and 28th visitors to the city of London, Ontario will have a rare opportunity to experience Abooriginal Canadian film, visual arts and performance, workshops, teaching circles with Elders and numerous children's activities first-hand, during The Gathering of the Good Minds: A Celebration of Native Arts, Wisdom and Culture. Presented by The Gathering of the Good Minds Committee, which includes Wiiche Ke Yig, Museum London, Museum of Archeology, Nokee Kwe, N'Amerind Friendship Centre, Children's Museum and various other community volunteers, the three-day festival will comprise First Nations Elders, traditional teachers, artists, dancers, singers, storytellers, filmmakers, writers and comedians. Opening ceremonies, hosted by conductor and spiritual teacher Dan Smoke-Asayenes, will take place at Museum London on Friday September 26th at 7 p.m. Museum London events will include the primary art exhibition, performances, and workshops in progress that will continue through to Sunday. A series of events will also take place at the Museum of Archeology on Sunday and at Covent Garden Market throughout the weekend. The public is also invited to attend Sunrise Ceremonies that will commence every morning at 6a.m. on the Museum's lawn. Breakfast and refreshments will follow at approximately 8 a.m. A Sacred Fire, honoring Spirit and life, will be kept aflame throughout the weekend. Vendors will showcase Aboriginal crafts in the Market for the duration of the festival. A direct bus route will be available for patrons to attend both locations and admission to all events is free. For more information on the festival, artists, elders, and performers visit <> June 20, 2003 portions of a MEDIA RELEASE from The Gathering of the Good Minds: A Celebration of Native Arts, Wisdom and Culture media contact people: Dan Smoke - Asayenes #61-1290 Sandford St. LONDON, Ontario N5V 3Y2 5l9 659-4682 <mailto:dsmoke@...>dsmoke@... Amanda Eisen 137 Dundas St. London, Ontario N5Y 3W5 Tel: (519) 667-7088 Website: <> THE GATHERING OF THE GOOD MINDS: A CELEBRATION OF NATIVE ARTS, WISDOM AND CULTURE, September 26 - 28, 2003, INVITED PRESENTERS Alanis Obomsawin Distinguished filmmaker, singer, storyteller and author, Alanis Obomsawin is a member of the Abenaki Nation. In 1967 she directed her first film, Christmas at Moose Factory, for the Canadian National Film Board. Her latest film Rocks at Whiskey Trench is her fourth powerful documentary feature describing her impressions of the Oka crisis. Obomsawin has earned more than 30 awards for her films internationally, as well as being honored with the Order of Canada (1983), the federal government's highest honour, and a Governor General Award (2001) for her long-standing contribution and commitment to Aboriginal Canadian cultural heritage. Robbie Antone A local performer, originally from the Oneida Settlement by Lambeth, Ontario. Robbie has been singing the blues for several years. He has been a guest on the hit TV show Buffalo Tracks (APTN). Ida Baptiste Ojibway woman originally from the Berens River in Manitoba. She has lived in London, Ontario for several years, creating many fine oil paintings. Ida graduated with a Honours B.A. from Trent University and has received her Ontario Teacher Certificate. Ida also has some beautiful beadwork to share. She has learned the fine art of Petote stitching from Mary Lou Smoke and has gone on to create some beautiful patterns while applying beadwork to some Sacred items. Danny Beaton A Mohawk with roots in the Six Nations, now lives in Toronto. Danny has been active in the Native cultural and arts' scene for many years. He was the a principal organizer of "Project Indigenous Restoration" in 1992, which featured elders, artists and healers from across Canada, the USA and South America. Danny is also a portrait photographer and now a documentary film-maker. His many movies have been shown on various T.V. programs for the past decade. Dylan Campbell An invited artist - was born Native but raised in a Scottish family in Southwestern Ontario. A self taught artist and sculptor, his first print "Spiritual Awakening" is worth five times its original price. His early work was in black and white but in more recent productions he uses shading and colour to achieve greater dimension. His sculptures use bone and copper, and won a juried exhibition for "Predominate Accession." He has won an Ontario Arts Council grant. Philip Cote An invited artist - is an Ojibway man who resides in Toronto. Phillip works with oils to create outstanding, legendary creations on canvas. He also works with soapstone and at present is traveling to reserves in Ontario demonstrating the fine art of Soap-stoning. Sean Couchie An invited artist - is Ojibway of the Nipissing First Nation and has been living in London for 26 years. He studied art and architecture in high school and advertising art at Fanshawe College. He won two prizes from the Peace Hills Trust Native Art Contest for "If I Had Wings" and "Vision Seeker". Oils, airbrush, pen and ink, scratch-board and wood-burning are used for creations for Ontario Native organizations, calendars, posters, books and magazines, always showing Natives in a positive perspective. Tim Dillon A Metis/Anishinabek from the Bruce Peninsula now living in London. He is a local entertainer writing and singing Rock and Country music with his guitar. He has performed with Jade Idols and other groups at various clubs. A graduate in computer programming at Fanshawe College he founded London Cyber Studio providing recording and engineering servic es for London Musicians. He is currently producing his own solo CD. Terry Dokis An Ojibway originally from the Dokis First Nation. Terry resides in North Bay and teaches in the social work field at Canadore College. Terry is a Medicine Wheel facilitator and explains the application of the Medicine Wheel to health and intervention. Terry has offered to fly in from North Bay and teach a drumming and sonics workshop, traditional meditation workshop or something more closely related to social work. Bruce Elijah An Oneida Faith keeper of the Wolf Clan. He is a very respected Elder. He sits with the Elders Council of the Chiefs of Ontario organization and the Assembly of First Nations. He is widely sought for his traditional wisdom workshops and teaches the Old Ways. He is very knowledgeable about the Great Law of Peace, the constitution of the Haudenosaunee People. He cond ucts sunrise ceremonies as well as Sweat Lodge Ceremonies in treatment centres and other residential care facilities for Native people. Norma General A clan mother from the Mohawk Nation who resides on the Grand River territory of the Six Nations Reserve. She has been raised in the Traditional manner of her ancestors, being the daughter of Onondaga Chief Oliver Jacobs, in the Onondaga Long house. She has worked extensively as a healing and wellness co-ordinator for Friendship Centres. She conducts workshops for all ages on Tradition l teachings. She also employs play therapy in her workshops. Vern Harper Resident Elder of the Toronto Community. Having walked the talk for the last three decades, Vern has helped many Native People find their way back onto the Red Road. Vern has a Sweat Lodge outside the city of Guelph where he holds Sweat Lodge Ceremonies on a weekly and as need basis. Vern is Cree, originally from Saskatchewan. Dr. Dawn M. Hill Mohawk, Wolf Clan living at Six Nations of the Grand River. Her doctoral thesis Spirit of Resistance: The Lubicon Lake Nation, is being published by the U of T press. She is the Academic Director of the Indigenous Studies Program at McMaster University. Her research has been supported by SSHRC, Canada Council, Fullbright and E.A.G.L.E... She has organized many conferences always focusing on Native Elders guiding scholars in indigenous knowledge. Kanata Native Dance Theater A group of professional artists from the Six Nations of the Grand. The Mohawk word means "community" and its acronym stands for Keeping American Native Arts and Traditions Alive. The dancers have performed at national and international festivals including Harbourfront, the Unity Ride Concert and the McMichael Canadian Gallery. Janice Longboat Mohawk Nation, Turtle Clan now living at Six Nations. She is a Traditional Teacher, counselor and herbalist. Her vision is to support healthy Aboriginal families and communities by Traditional Aboriginal healing ways. She has taught at universities and colleges at Hamilton, Toronto and Brantford and grows and prepares traditional plant medicines Larry McCleod-Shabogesic An Elder and educator who resides in Nipissing with his wife Darlene and family. Larry constructs Traditional Birch Bark Canoes and is a keeper of the Medicines. Nikki Manitowabi A member of the Wikwemikong Unceded Nation on Manitoulin Island. She is of Pottawatomi/Odawa descent. Nikki derives many of the ideas in her paintings from observations and experiences with her children. Shelley Niro A Mohawk woman originally from Six Nations. She has been involved in the arts for a number of years and has earned a Masters Degree at the University of Western Ontario. Shelley works with oils. She is a film maker who has received accolades for her award winning film "Honey Moccasin" Ogitchitaw Kwe Og (which means Warrior Women) A group of mostly Anishinawbe singing women. They are quite a peace loving group and are here to share their strength and wisdom The creator has gifted each of the women in the singing group with a voice to share and sing with. Their songs have been passed on from generation to generation in the oral tradition. They hope that the songs they sing will help others who are on their own healing journeys. Mary Lou Smoke From Batchawana Bay, Ontario. Born to Ojibway parents, she is a writer, singer, guitarist, traditional drummer and shaker player as well as an actress having been featured in the Vagina Monologues as performed as a fund raiser for the Sexual Assault Center on March 8th, 2003. Mary Lou and her husband Dan often work together conducting opening and closing ceremonies as well as Sacred Sweat Lodge Ceremonies. They co-host a radio news magazine called Smoke Signals First Nations Radio and have been community commentators on the news for the "New PL" for the past three and a half years commentating on Native issues for CFPL television of London, owned by CITY TV. Dan Smoke - Asayenes From the Seneca Nation of the Iroquois Confederacy, Kildeer Clan. He grew up on the Grand River territory and now lives in London. He is a lifetime member of the Onondaga Long hous e traditional way of life and part of the Native Circle at the Museum London. Dan is a conductor and spiritual teacher at Sunrise Ceremonies marking special occasions. Dan and his wife, Mary Lou were honoured by London's Mayor for their work in Humanitarianism in the year 2000. Drew Hayden Taylor An award winning playwright, journalist and screenwriter from the Curve Lake First Nations (Ojibway). In his vast career, he has written eleven books, had over fifty productions of his plays seen around the world, directed, written or worked on at least eighteen documentaries about Native culture, written for five television series, and is the author of a humourous column appearing in several Native News publications. HISTORY OF THE ORGANIZATION The Gathering of the Good Minds Committee was formed in the year 2000, initially motivated by a local Native Rights support group called Wiich Ke Yig. Wiich Ke Yig is an Ojibway word which translates into "Friends Who Walk With Us". Wiich Ke Yig is a group of Native and non-Native volunteers working together for increased understanding and justice. Encouraging others to join in the work of healing our people, our spirit, and our Earth, until peace, justice and respect are extended to all First Nations. With the desire to continue to organize a major cultural event in London Wiich Ke Yig formed the planning committee involving more Native and non-Native members. Individuals from many sectors of the community have come together to plan, organize and participate in a Festival to educate the Native and non-Native public about traditional arts, culture and wisdom of the Aboriginal peoples. In 2001, the committee was successful in the implementation of the first Festival. The Gathering of the Good Minds Festival is made possible as the result of many dedicated volunteers and several organizations providing support services and resources including Wiich Ke Yig, Museum London, Museum of Archeology, Nokee Kwe, N'Amerind Friendship Centre, At^loshsa Family Healing Centre and the Children's Museum. This event and the many groups and people involved in the non-Native community, want to promote a better understanding and co-operation with Native people. We believe that increased knowledge will bring peace and just relationships between Native and non-Natives. Through the activities of Wiich Ke Yig, small steps to education non-Native Canadians about traditional Native spirituality and culture, that is, the values and teachings that nurtured a healthy Earth and mankind's proper place with the Circle of Life. An important way to attain this goal is through the celebration of the arts and by demonstrating the vital role art has always played in all facets of Native life. SOME PAST ACTIVITIES INITIATED AND ORGANIZED BY WIICH KE YIG: Beginning in 1990 - monthly meetings has been held to consider organization policy, plan special events, and to provide program activities and to promote our goals. Since 1991, approximately four events per year have been organized by members to Wiich Ke Yig for the London area. A sample of these include: . a conversation on healing with Elder Art Solomon . participation in the Camp Ipperwash demonstration to serve the military with an eviction notice, followed by ongoing lobbying on behalf of the Stoney Point people . support of David Suzuki's book launch at the University of Western Ontario - the Wisdom of the Elders . a protest at the London International Air Show in support of the Innu's problems with low flying planes. . the successful appeal to Correction Services Canada regarding inmate Randy Charboneau. . the organization of a Film Festival on four Saturdays culminating in a panel discussion on the "Gene Hunters". . A dinner/dance and fund raising benefit concert with Murray Porter . Native Prisoner's Justice Day: organized a seminar for prisoners, their relatives and other volunteers. As a result a committee has been formed to offer continuing assistance and visitations to prisoners. . Prayer circles for Dudley George on March 17th (1996-2002) . Hosting of the premiere of the movie "Smoke Signals" . A week-end workshop on "Aboriginal Awareness" facilitated by the Aboriginal Rights Coalition but organized by Wii ch Ke Yig . Joint venture with London's N'Amerind Friendship Centre in organizing a large Native Art Show entitled "Listen to the Drums". IN ADDITION: Since 1992 Wiich Ke Yig has supported and participated in National Aboriginal Solidarity Day, including a Sunrise Ceremony every June 21st, which is now attended by an almost equal number of Native and non- Native Londoners. Two special commemorative trees have been planted: . In 1991, a White Pine Tree Planting Ceremony was held in the London Peace Garden in remembrance of those involved in Oka. Each year on July 11th, people gather at the Tree of Peace to lay down tobacco, pray, sing and awe at the size of the tree. . On September 6, 1996 a Tree of Peace was planted in the federal building courtyard, and included a permanent plaque in memory of Dudley George, followed by the bi-annual remembrance ceremonies from 1996 to present. . Beginning in 1996, a sub-committee of Wiich Ke Yig has supported Native Justice and Spirituality with a monthly ceremony and information meetings at the Unitarian Fellowship. Over the past few years members of Wiich Ke Yig have placed a heavy emphasis on justice issues and were very successful in the first presentation of The > Gathering of the Good Minds - so now, we want to continue working together to do it again. Everyone is Welcome and Admission to all events is free. All My Relations Dan Smoke-Asayenes & Mary Lou Smoke-Asayenes Kwe Smoke Signals First Nations Radio, CHRW, 94.7 FM Outstanding Multicultural Program for 2003 #1 Campus & Community Radio Station in Canada Sundays 6:00 - 8:00 p.m., <> 519 659-4682 fax: 5l9 453-3676 <> ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| PM loses interest in unpopular native bill<?xml:namespace prefix = o Chrétien now says there's no urgency for governance act Bill <?xml:namespace prefix = st2<?xml:namespace prefix = st1Curry, CanWest News Service Sunday, August 24, 2003 IQALUIT, Nunavut -- Critics of Prime Minister Jean Chrétien's controversial First Nations Governance Act are declaring victory following commennts from the PM that passing the bill is not urgent, despite the fact he will soon retire from politics. "It's done like dinner," said NDP MP Pat Martin, who stopped the bill from from receiving House of Commons approval in June by staging an unprecedented filibuster in committee that on several occasions lasted through the night. The First Nations Governance Act, known in Parliament as Bill C-7, was featured prominently in the September 2002 throne speech and was frequently referred to by the prime minister in explaining why he needed to remain in office until February 2004. "This is a bill that is not to be implemented for the next two, three years anyway," Mr. Chrétien said yesterday. "In the bill there is a clause that this bill will not be in effect until two years after the passage by the Senate, so it's not an urgent, urgent piece of legislation because there is a delay to that. But we have to keep working because there are some problems that need to be solved there and (Indian Affairs) MInister (Robert) Nault has been (consulting) and there will be more consultation, but there is always a time when you have to decide." The legislation, which imposes minimum standards for First Nations leaders regarding elections and financial reporting, has been harshly criticized by the Assembly of First Nations and the bill's progress in the House has been delayed by procedural tactics from the NDP and Bloc Québécois. Liberal leadership front-runner Paul Martin has also expressed concern with the bill and told a group of Liberal senators this summer he would be open to having the legislation changed significantly should it make it to the upper chamber. Mr. Chrétien's change in tone comes as political observers speculate on how Parliament's fall session will unfold given that it will be known by late September whether Mr. Martin has enough votes to win the November leadership vote on the first ballot. Mr. Chrétien toyed with the press at last week's Liberal caucus meeting in North Bay, at times suggesting he may retire early, then stating later he intends to remain as prime minister until February 2004. MP Pat Martin said the prime minister appears to have realized he no longer has the political capital to force the bill through Parliament, given the comments that have been made by the Liberal leadership front-runner. Mr. Chrétien was speaking yesterday in Iqaluit, Nunavut, where he announced the creation of Ukkusiksalik National Park on the northwestern shore of Hudson's Bay at Wager Bay. Several speakers praised Mr. Chrétien for his work with the Inuit people over the past 40 years. "He is someone who had to fight his way up, but his heart and conviction led him to great heights," said Nunavut Premier Paul Okalik. [Non-text portions of this message have been removed] Your message has been successfully submitted and would be delivered to recipients shortly.
https://groups.yahoo.com/neo/groups/NatNews-north/conversations/topics/5236
CC-MAIN-2017-51
refinedweb
3,712
51.89
31 May 2012 10:45 [Source: ICIS news] SINGAPORE (ICIS)--China’s linear low density polyethylene (LLDPE) futures moved down by 1.72% on Thursday, industry sources said. September LLDPE futures – the most actively traded contract on the Dalian Commodity Exchange (DCE) – closed at yuan (CNY) 9,720/tonne ($1,533/tonne), down CNY170/tonne from the previous settlement price of CNY9,890/tonne on 30 May. Around ?xml:namespace> Market sources spoke of a rumoured CNY2,000bn government investment to boost the nation’s economy. However, China’s National Development and Reform Commission has issued a statement denying the rumoured economic stimulus project. This announcement dampened market sentiment. Furthermore, the price of July Brent crude oil futures closed at $103.47/bbl on 30 May – down by 3.01% compared to the price on 29 May. As a result of these factors LLDPE futures registered a decline (
http://www.icis.com/Articles/2012/05/31/9565714/china-lldpe-futures-down-by-1.72-on-bearish-market.html
CC-MAIN-2014-49
refinedweb
148
58.28
<Blog x: After my first attempt to connect the Wii and WPF I started working on improving it! My infrared light was working but I needed something better so I opened 2 more remotes and removed their IR lights (Thy are also noticeably larger than my first IR light). I added a 120ohm resistor (To increase the brightness) for each led and reconnected it to my battery pack. Now I have 2 supper bright IR leds. To test if it work, use a standard video camera and turn off the light. You should then see them shine! Here is a simple schematic of my lights PS. please don't laugh at my over simplified schematic! Next up is some code improvements. Because I am not doing multi touch, I decided to try and move my actual cursor. This all happens with the magic of P/Invoke! [DllImport("user32.dll")] static extern bool SetCursorPos(int x, int y); The only time we can call SetCursorPos is from within the callback that the WiimoteLib does when something changes. void wm_WiimoteChanged(object sender, WiimoteChangedEventArgs args) { SetCursorPos((int)(ActualWidth-(wm.WiimoteState.IRState.X1 * ActualWidth)), (int)(wm.WiimoteState.IRState.Y1 * ActualHeight)); } One last thing to notice is that the Y axis works normally but the X axis gets inverted! This just ensures that when you move the remote to your right the mouse pointer moves to the correct side! I also created a inverted NormalizedXYConverter to ensure that the horizontal bar also moves in the correct direction! Now that my Wii remote moves the cursor I can make buttons animate by checking if the cursor moves over them although it gets controlled by the Wii remote! Very cool... [UPDATE] If you want to see a very cool use of the Wii remote, have a look at the following Coding4Fun post about using the Wii remote as drum sticks!!! You've been kicked (a good thing) - Trackback from DotNetKicks.com I like where you are going with this. How about you design us a new presentation pointer for talks? ;) A note for those of us who are a little slow on these things...You need to add the following reference (if you're working in C#): using System.Runtime.InteropServices; Yes, sorry! the mouse move stuff relies on P/Invoke and thus you need the Interop stuff!! Regards, Rudi Grobler Pingback from Having a Wii bit of fun... - Rudi Grobler
http://dotnet.org.za/rudi/archive/2008/02/14/having-more-fun-with-the-wii.aspx
crawl-002
refinedweb
404
74.08
Out of the Angle Brackets [updated with the public download location and resolution of the "XNamespace.Blank" issue] As S. Somasegar announced, Orcas Beta 1 is ready to ship and is available for download. There are some new (and renewed) features in LINQ to XML that you can check out in this release, and some minor changes introduced in response to reviews and comments: The "renewed" feature is XStreamingElement. As we noted previously, it was removed after the May 2006 CTP to keep the slate clean for possibly incompatible changes to support streaming. At the end of the discussion we concluded that XStreamingElement is necessary and that the original design made sense. We added LoadOptions and SaveOptions flags on the Load() and Save() methods instead of the booleans used in previous releases. There are not very many options supported at the moment, mainly PreserveWhitespace on load and DisableFormatting on save. This allows us to add more options as demand warrants without adding new overloads. We did reverse one previously discussed decision and added the capability to keep track of the line number in the XML data source from which each node was parsed. This is a fairly expensive option, since it creates an annotation on every XObject subclass in the tree. There is also a LoadOption to preserve the base URI of a subtree that is loaded. Both options are specified in the LoadFlags. The somewhat cosmetic changes are: There is one somewhat hidden change: Save() is no longer implemented with a recursive algorithm, which means that you will not get an unrecoverable stack overflow exception when serializing a very deeply nested XML document. The planned LINQ to XML work is very close to being done, and there won't be much in the way of new LINQ to XML features new in Orcas Beta 2 in a few months. The work underway focuses on a) performance optimization (but LINQ to XML is already measurably faster than DOM for almost all of the scenarios in our test suite), b) server-side security hardening (to both allow DTDs to be processed by default yet mitigate well known DTD-based denial of service attacks) and c) a better story for binding LINQ to XML objects to WPF GUI controls. Please try out this API with real data and real application requirements, and let us know of any issues. There is time and talent available to respond to customer needs, so make them known! The final Orcas RTM schedule is not public, but we're definitely approaching the endgame, so the sooner the LINQ to XML team gets feedback, the more likely it is to be reflected in the final product. "The default namespace declaration now lives in XNamespace.Blank rather than XNamespace.Xmlns. We determined that this improves usability. " Why not in XNamespace.Default? "Blank" is definitely *not* what I would look for. Thanks for the comment. I don't think "Default" is the right word because that has a different meaning in the XML namespaces spec, but we will reconsider "Blank". What about XNamespace.Empty ? "Empty" namespaces would be namespaces that have no members, by my thinking. .. The W3C spec seems to use "Default". Is it possible you're thinking of the difference between "xmlns" (the default namespace attribute) and "" (the namespace name)? If so, perhaps DefaultName would work, to distinguish the two? Now that Visual Studio Orcas Beta 1 is available, there are several great new posts about Orcas in general After an enjoyable and extremely educational 2 1/2 years on the core XML team in SQL Data Programmability
http://blogs.msdn.com/xmlteam/archive/2007/04/20/linq-to-xml-changes-in-orcas-beta1.aspx
crawl-002
refinedweb
600
61.26
1 - A "pinking" filter for white noise. 2 - The Voss-McCartney algorithm of adding multiple white noise sources at lower and lower octaves. (2006-03-27 Please also see Larry Trammell's "Stochastic Voss-McCartney algorithm".) Keywords: Pink noise, 1/f noise, 1fnoise, flicker noise, random number generation, DSP. 1999 October 18 Minor updates: 2003 July 10: "pinkish" opcode in Csound. 2005 September 19: new page on Park-Miller-Carta pseudo-random number generators ../rand31/ 2006 March 27: Link to Larry Trammell's (RidgeRat's) Stochastic Voss-McCartney algorithm. 2007 January 22: Updated the link to Larry's material. 2010 March 12: Added link to dsprelated.com. 2011 March 20: Added link to Henning Thielemann's paper Robin Whittle rw@firstpr.com.au Most of this material is written by other people, especially Allan Herriman, James McCartney, Phil Burk and Paul Kellet – all from the music-dsp mailing list. While most or all of the work presented here has been placed in the public domain by its creators, please do not mirror this page or parts of it anywhere without asking my permission. The danger is that multiple out-of-date and/or incomplete copies would be scattered around the Web. Back to the DSP directory Back to the main First Principles site, including material on Csound. Good news for Csounders Standard Csound (after version 4.07) has a "pinkish" opcode which generates pink noise or filters external white noise to make it pink. This was written by Phil Burk and John ffitch, and is documented here: This was added in May 2000, but I only realised it in 2003 July 10. More information on the Csound music synthensis language is at . A stream of random numbers constitutes "white" noise – if listened to as an audio signal. The "white" refers to the even distribution of wavelengths in white light, with a particular meaning in the audio or DSP sense: that the power of the noise is distributed evenly over all frequencies, between 0 and some maximum frequency which is typically half the sampling rate. For instance, white noise at a sampling rate of 44,100 Hz will have as much power between 100 and 600 Hz as between 20,000 and 20,500 Hz. To our ears, this seems very bright and harsh. A 1996 treatise by Joseph S. Wisniewski on the "Colors of Noise", including white, pink, orange, green . . . is at: . (Also at this site, Martin Saxon's description of the various weighting schemes for measuring. Statistical genetics Prof. Wentian Li maintains a formidable bibliography on 1/f noise at:, prior to me creating this page, it mentioned nothing to do with generating 1/f noise with Digital Signal Processing techniques. The purpose of this page is to collect information on the generation of noise – and especially pink noise – digitally. My primary use for DSP pink noise is in software music synthesis, both as an audio signal and as a "control signal", which could have frequencies as low as 0.001 Hz. Hopefully this material will be of value to other fields as well. (For general DSP information, see the FAQ of Usenet newsgroup comp.dsp, and the FAQs it mentions: .) In 1999, when I wrote most of this page, I used a Park Miller PRNG, as I wrote at: ../../csound/ . The one I used was a 31 bit Park-Miller linear congruential generator by Ray Gardner: . 2005 September 19 update: See my new page on Park-Miller-Carta pseudo-random number generators ../rand31/ A stream of uncorrelated random numbers constitutes white noise. For instance a uniform noise source with a -10 to +10 range will be made of random numbers with no correlation whatsoever between one and the next, and where there is a 5% chance of each sample being, for instance, in the -10 to -9 range, the 2 to 3 range or any other range which is a 20th of the total peak-to-peak range For the purposes of this discussion, "power" means the average power or energy contained in a signal over a long period of time. White noise has the same distribution of power for all frequencies, so there is the same amount of power between 0 and 500 Hz, 500 and 1,000 Hz or 20,000 and 20,500 Hz. Pink noise has the same distribution of power for each octave, so the power between 0.5 Hz and 1 Hz is the same as between 5,000 Hz and 10,000 Hz. Since power is proportional to amplitude squared, the energy per Hz will decline at higher frequencies at the rate of about -3dB per octave. To be absolutely precise, the rolloff should be -10dB/decade, which is about 3.0102999 dB/octave. The most obvious use of pink noise is as an audio signal, to be used directly, to be filtered or to be used to modulate something. I am also interested in pink noise way below 1 Hz as a control signal for simulating randomly fluctuating aspects of music. For instance, I might want some aspect of a piece to fluctuate on a minute-by-minute basis, so I need random numbers with energy at 0.01 Hz and below. My particular interest is being able to sculpt such control signals from a pink noise source purely by the use of filters. The idea would be that I could have a band-pass filter with a certain bandwidth in octaves (or fractions of an octave) and that I could choose to set its frequency as I liked, without affecting the RMS level of its output. Without a pink noise source – for instance by using a white noise source – it becomes very difficult to adjust the piece by changing the frequency of the sculpting filter, because this also affects the resultant signal level, Ideally, for control purposes (eg. "k" rate noise in Csound) I would like to be able to specify noise with: 1 - A certain lower bounding frequency. Eg. 0.1 Hz. Below that, there would either be little energy, or the energy would remain flat per Hz, rather than rising per Hz to give the 3dB/octave characteristic of pink noise. So it would be "white" below 0.1 Hz. 2 - A certain "RMS level per octave. For instance 5.0 RMS per octave. Therefore a perfect filter which excluded everything but an octave – no matter which octave above the lower bounding frequency – would average an RMS level of 5.0. Noise being noise, it would take a long time to average out the fluctuations to measure this accurately. 3 - It might also be desirable to specify an upper bounding frequency, to reduce computational load where high frequencies were not required. In the future I intend to write a Csound / Quasimodo unit generator for "a" or "k" rate output, of an "industrial" quality, rather than "analytical" grade. Industrial or technical grade nitric acid specifies it being of a particular minimum and approximate strength. Analytical grade specifies exactly its strength and the tolerance for that specification, as well as noting the maximum permissible levels of the most important contaminants. Such parameters would be "i" rate: set at the start of the ugen's instantiate, not changeable over time. So specifying a lower limit frequency limit of the pink quality of the noise would result in that boundary being set to the nearest octave, not precisely. It is possible to conceive of a pink noise generator with "k" rate control of level, upper and lower boundary frequencies and the slopes of those boundaries. In this way, precise control over the noise frequency distribution could be achieved without changing the RMS level of the noise. I will leave this idea for now, but it would be mighty handy! The simplest DSP filters are -6dB/octave. However, a DSP or analogue electronic low pass filter with a -3dB/octave response is (or rather, was) a rare beast indeed. Here are three filters which do the job. (Paul Kellet contributed two earlier filters to those listed here.) Such a filter would be fed with white noise to produce pink, within certain limits of accuracy. Below the algorithms is Allan Herriman's graphical analysis of the response of these three filters. The first description I am aware of is from Robert Bristow-Johnson <pbjrbj@xxxx.viconet.com> posting to the Music-DSP list on 30 June 1998:(This is rbj = (Red) Robert Bristow-Johnson's three pole and three zero filter.)From the Music-DSP code archive: (Was at ) Paul Kellet <paul.kellett@xxxx.maxim.abel.co.uk> has been updated on several occasions and now (1999 October 17) contains two implementations, located here: which is "is accurate to within +/-0.05dB above 9.2Hz (44100Hz sampling rate)." > "Orfanidis also mentions a clever way to get reasonably good 1/f > noise: sum together n randh's, where each randh is running an > octave slower than the preceding (one):" > > This is a reference to Sophocles Orfanidis' book "Introduction to > Signal Processing": > > > > This sounds like a pretty good way to do it. another method that Orfanidis mentions came from a comp.dsp post of mine. it's just a simple "pinking" filter to be applied to white noise. since the rolloff is -3 dB/octave, -6 dB/octave (1st order pole) is too steep and 0 dB/octave is too shallow. an equiripple approximation to the ideal pinking filter can be realized by alternating real poles with real zeros. a simple 3rd order solution that i obtained is: pole zero ---- ---- 0.99572754 0.98443604 0.94790649 0.83392334 0.53567505 0.07568359 the response follows the ideal -3 dB/octave curve to within + or - 0.3 dB over a 10 octave range from 0.0009*nyquist to 0.9*nyquist. probably if i were to do it over again, i'd make it 5 poles and 4 zeros. r b-j pbjrbj@xxxx.viconet.com a.k.a. robert@xxxx.audioheads.com a.k.a. robert@xxxx.wavemechanics.com "Don't give in to the Dark Side. Boycott intel and microsoft." 2011-03-20 update: the music-DSP archives are at: contains several items relating to pink noise, but I am not sure which of these, if any, are the pink.txt referred to above. On 17 October 1999, Paul put up a further refinement: "instrumentation grade" and "economy" filters.This is an approximation to a -10dB/decade filter using a weighted sumHere is Allan Herriman's graphical analysis of the response of these three filters. of first order filters. It is accurate to within +/-0.05dB above 9.2Hz (44100Hz sampling rate). Unity gain is at Nyquist, but can be adjusted by scaling the numbers at the end of each line. (This is pk3 = (Black) Paul Kellet's refined method in Allan's analysis.). (This is pke = (Blue) Paul Kellet's economy method.) b0 = 0.99765 * b0 + white * 0.0990460; b1 = 0.96300 * b1 + white * 0.2965164; b2 = 0.57000 * b2 + white * 1.0526913; tmp = b0 + b1 + b2 + white * 0.1848; Magnitude Squared Response of Three Pinking Filters Allan Herriman 18 October 1999 rbj = (Red) Robert Bristow-Johnson's three pole and three zero filter pk3 = (Black) = Paul Kellet's refined method pke = (Blue) Paul Kellet's economy method Flatness of Three Pinking FiltersFlatness of Three Pinking Filters Vertical scale is 0.2dB/division. I asked Paul about the algorithm he used to devise these highly tweaked filters. He replied with the following text and image.I asked Paul about the algorithm he used to devise these highly tweaked filters. He replied with the following text and image.It comes back to the roll-off of a first order low-pass filter being too steep at -6dB/octave. The only thing I could think of with a softer roll-off was the transition from 0dB/oct to -6dB/octave at the "knee" of such a filter. By positioning enough of these knees in a "staircase" a good -3dB/oct slope can be made. A slight rise in level occurs near Nyquist but this can be counteracted by combining a little unfiltered, high-pass filtered, and/or delayed signal with the output. Each version of the filter was designed by hand using a simple Visual Basic program to plot the impulse response (with a +3dB/oct emphasis) as the coefficients were adjusted. The attached picture shows how the "economy" version is constructed. I am glad to see that these highly-tweaked filters are carefully hand-crafted! As part of a discussion on flattening the Voss algorithm's frequency response, Allan Herriman contributed the following on flattening the response of the filtered white noise approach. (This was before Paul Kellet's "instrumentation" and "economy" pinking filters of 17 October 1999.)This trick could also be used to reduce the ripple of the filtered white noise method. However in this case I think it is much more efficient (and easier) to just add more poles and zeros to the filter. Filters will have all the poles and zeros real (i.e. 1st order sections). The poles and zeros will alternate, and there will be a constant ratio between the frequencies. This ratio determines the ripple. E.g. if the ratio is 2 and we start with a pole at 1Hz, we get the following: Pole Zero 1Hz 2Hz 4Hz 8Hz 16Hz 32Hz ... Doing some simulations in PSpice (!) gave me the following approximate ripple values: pole/zero Ratio Ripple 1.414 ~0dB 2 0.03dB 2.5 0.16dB 3 0.4dB 3.5 0.7dB 4 1dB If there is only a small number of poles and zeros (e.g. rb-j's posting had three of each) then the optimal result will not have an exact logarithmic spacing of frequencies. I guess it is possible to use some optimisation method to get the best pole and zero locations for a given amount of ripple, but I haven't tried this. The pole and zero locations might also need to be warped to take sampling effects into account. I suggest having one more pole than zero, so that the noise above the range of interest is brown, and the noise below the range of interest is white. This would probably not matter though. On 30 June 1998, Thomas Hudson sent me this C++ code which implements the Voss algorithm, which creates pink noise by adding a series of white noise sources at successively lower octaves:In case you have trouble finding the M. Gardner article, I have a C++I replied: class that implements Voss's algorithm: #include <iostream> #include <stdlib.h> class PinkNumber { private: int max_key; int key; unsigned int white_values[5]; unsigned int range; public: PinkNumber(unsigned int range = 128) { max_key = 0x1f; // Five bits set this->range = range; key = 0; for (int i = 0; i < 5; i++) white_values[i] = rand() % (range/5); } int GetNextValue() { int last_key = key; unsigned int sum; key++; if (key > max_key) key = 0; // Exclusive-Or previous value with current value. This gives // a list of bits that have changed. int diff = last_key ^ key; sum = 0; for (int i = 0; i < 5; i++) { // If bit changed get new random number for corresponding // white_value if (diff & (1 << i)) white_values[i] = rand() % (range/5); sum += white_values[i]; } return sum; } }; #ifdef DEBUG main() { PinkNumber pn; for (int i = 0; i < 100; i++) { cout << pn.GetNextValue() << endl; } } #endif // DEBUG Thanks for this code. It confirms my understanding of straightThomas replied: "sample and hold" of lower octave white noise sources, and even weighting of them all. The only thing is that the fastest changing noise source in this code changes every second sample. Shouldn't there also be white noise on each sample? In which case, it would be best make the random values divided by 6 rather than 5 and set "sum" to "rans() % (range/6) rather than 0.You're right. Actually I may have modified this slightly from the original article. Or it may be a mistake. I think I was experimenting w/ various ranges and numbers of white values. When I did this I was using the resulting pink number as a lookup value in a table of notes. I even may have a version somewhere that had a "granularity" parameter, allowing one to not only to specify the range, but the number of white values. I have been meaning to plot the affect of different numbers of white values... In late August and early September, the 1/f noise debate reared its head in a most constructive form on the Music-DSP mailing list: . Based on that discussion and feedback and contributions from the participants, here is the key elements of the Voss McCartney algorithm and its implementation. James McCartney <asynth@xxxx.io.com> 2 Sep 1999 21:00:30 -0600At 3:52 PM -0600 9/2/99, Stephan M. Sprenger wrote: > > I've heard of a proposal for making pink noise by addition of multiple > > noise sources. (I haven't tried it or analysed it myself, so I can't > > say if it's any good.) > > > Allan, > > this is the algorithm I referred to as Voss' method in my previous > posting. It's described in M. Gardner, "White and Brown Music, Fractal > Curves and One-Over-f Fluctuations", Sci.Amer., 16 (1978) p.288 > according to Orfanidis who mentions it in "Introduction to Signal > Processing". He also gives an implementation of it, but I haven't tried > it yet so I cannot really comment. I posted an improvement to this algorithm a while back. Here it is again: Here's how to improve the Gardner pink noise generator. Gardner adds up several uniform random number generators that are evaluated in octave time intervals. The pattern is as follows: x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x Only one of the generators changes each sample. This makes the load constant. It also means that you can update the sum by subtracting the previous value of a generator and adding the new value, instead of summing them all together. You can determine which random number needs to be changed each sample by incrementing a counter and counting the trailing zeroes in the word. The number of trailing zeroes is the index of the random number to change. Number of trailing zeroes can be determined very quickly on a machine with a count leading zeroes instruction. Remainder of excercise left to the reader. The patterns above show time moving horizontally to the right, and each line being a random number, or rather a square-wave sampled white noise source. Later, James clarified this by noting that ever sample also contained a white noise sample:> The top end of the spectrum wasn't as good. The cascade of sin(x)/xHere is my ASCII diagram of the waves which I think James' last diagram represants: > shapes that I predicted in my other post was quite obvious. > Ripple was only about 2dB up to Fs/8 and 4dB up to Fs/5. The response > was about 5dB down at Fs/4 (one of the sin(x)/x nulls), and there was > a deep null at Fs/2. > (These figures are a bit rough. More averaging would have helped.) You can improve the top octave somewhat by adding a white noise generator at the same amplitude as the others. Which fills in the diagram as follows: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x It'll still be bumpy up there, but the nulls won't be as deep. Output samples are on the top row, and are the sum of all the other rows at that time. Output /---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\ \___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/ Row -1 /---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\/---\ \___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/\___/ Row 0 /--------\/--------\/--------\/--------\/--------\/--------\/--------\/--------\/--------\ \________/\________/\________/\________/\________/\________/\________/\________/\________/ Row 1 --------------\/------------------\/------------------\/------------------\/-------------- ______________/\__________________/\__________________/\__________________/\______________ Row 2 ------------------------\/--------------------------------------\/------------------------ ________________________/\______________________________________/\________________________ Row 3 --------------------------------------------\/-------------------------------------------- ____________________________________________/\____________________________________________ Row 4 ------------------------------------------------------------------------------------\/---- ____________________________________________________________________________________/\____ "Row -1" is the white noise added to each output sample. Rows 0 to 4 are the rows of sampled white noise which are all mixed together. Allan posted an ASCII graphic explanation of the frequency spectrums of the various noise sources and how they all add togther. See allan-2/spectrum2.html for a more precise theoretical and graphical analysis. Allan Herriman Sat, 04 Sep 1999 05:18:24 +1000The statistics of the random numbers are identical. However, each rowPhil Burk posted some code, which was apparently similar to what Allan was going to post. This is an integer implentation, and rather than addiing all the rows for each sample, when a row changes, it subtracts the row's previous value from the running total and adds the new row value (a random number). There is a white noise signal added to this running total to produce the output value – as I suggested above, the equivalent of a "Row -1" which changes each sample. represents a sequence being output at a different rate. Another way of looking at this is that there is a true white noise source (infinite bandwidth), with a different sample and hold for each row. The sample and hold (or zero order hold) has a sin(x)/x frequency response. (I think we should be thinking in terms of power, so the response is ((sin(x)/x)^2)). Since each row samples at a different rate, its frequency response will be different. (Sorry about the ASCII art.) Top Row PSD: ((sin(x)/x)^2 shape) ^ |* * * | * | * | * * | * * * * +-----------------------*------*-----*-->f Second Top Row PSD: (shape scrunched by factor of 2 on frequency axis.) ^ |* * | * | * | * * | * * * * +----------*----*-----*----------------->f Bottom Row PSD: (shape scrunched by factor of 2^N on frequency axis.) ^ |* |* |* |* |** +*-*-------------------------------------->f Sum of all PSDs: (nice -10dB/decade slope up to Fs/2) ^ |* * * | * * * | * * * | * * * | * * * * * +----------------------------------------->f Trust me, this works. I just spent a whole evening testing it. Yes, I know. I need to get a life :( Following that there was quite a bit of discussion about how to code the selection of which row to update. Phil's code uses a shift and test loop to count the trailing number of zeroes, which then selects the row to update. The Power PC CPU has an instruction for this, and so too apparently does the Pentium. All this is in the list archive in early September 1999 and I won't reproduce it here. There was also discussion of when no row (rows 0 to 4 in my diagram above) would change, on infrequent occasions. James McCartney responded that the occasional unchanged sample is not much of a problem. I agree, especially since we are adding in white noise ("row -1" in my diagram) on every sample. He also commented on coding strategies to optimise speed when looking for the 0 state of a counter in a loop. I haven't really followed this. James McCartney Sun, 5 Sep 1999 16:18:52 -0600At 12:34 PM -0600 9/5/99, Phil Burk wrote: > James McCartney wrote: > > > > At 10:39 AM -0600 9/4/99, Phil Burk wrote: > > > Just to test my understanding, I have put together a 'C' > > > implementation of the Pink Noise algorithm we've been discussing. > > > Something that wasn't obvious to me at first was that when the > > > is zero I do not change any any rows. > > > > One "row" should change every sample. > > I'm not sure I agree with this. The tree diagram that you showed had an > odd number of columns, 2**N-1. I think the missing column represents a > sample when no rows change. Otherwise one of the rows changes once too > often and not at an octave frequency. It doesn't really matter. If you have enough octaves then the counter will be zero only infrequently. Note that with this method the number of octaves you use has no effect on the computational cost. If you are using 16 octaves then you get a bit more energy way down at 0.67 Hz @ Fs=44100. If you are using 8 octaves then it will be at 172Hz, but it is pretty negligible. It is better to just let it happen than to check for a zero every time through the loop. Which brings up another topic. In a lot of DSP code I see people doing this: nsmps = blah; counter = blah; for (i=0; i<nsmps; ++i) { ... stuff ... if (--counter == 0) { ..do counter stuff.. } } That is a very expensive way to do it, because you check for the counter everytime, even though most times through the loop the test fails. Since you know the value of the counter, you can predict when it will run out. Therefore it is much better to do the following: nsmps = blah; counter = blah; remain = nsmps; while (remain) { jsmps = min(remain, counter); for (i=0; i<jsmps; ++i) { ... stuff ... } remain -= jsmps; counter -= jsmps; if (counter == 0) { ..do counter stuff.. } } This eliminates all the unecessary conditional tests thereby speeding up the inner loop. James McCartney posted his inner loop code: James McCartney Mon, 6 Sep 1999 12:51:50 -0600At 10:14 AM -0600 9/6/99, Phil Burk wrote: > James McCartney wrote: > > > > At 6:22 PM -0600 9/5/99, Phil Burk wrote: > > > James McCartney wrote: > > > > > Sadly, since I am not writing pure Macintosh code I can't rely on > > > the snazzy PPC instruction to count leading zeros. So I am using an > > > inefficient high level loop to count trailing zeros. This loop fails > > > when the counter is zero so I have to check for zero anyway. > > > > OR the counter with 0xFFFF0000. Then you will have 16 octaves > > and your loop will never fail. > > Maybe my tea hasn't kicked in cuz I still don't get it. Suppose I have > 16 octaves, indexed 0-15. ORing with 0xFFFF0000 means I will sometimes > get 16 trailing zeros. So wouldn't I still have to check for that case > to prevent over-indexing my array. I might as well check for zero before > entering the loop. Then OR with 0xFFFF8000 > I'm inclined to stick with my original code since it is mathematically > OK, portable, and acceptably fast. The (cntr==0) branch will only be > taken once every 2**N times. The other times it only costs a one > instruction branch not taken because the test follows the generation of > the index and the condition codes are already set. Really I think that unless you use an instruction to get the trailing zeroes, that there is no advantage to my algorithm. The whole point of it is that with by taking advantage of such an instruction you get a big speed up over filtering noise, or the normal Voss/Gardner algorithm. I think that most processors have such instructions. I see no reason you can't #ifdef it into your code. Here is my own inner loop implementation: unsigned long *dice, counter, prevrand, newrand, seed, total, ifval, k; float *out; ... for (i=0; i<nsmps; ++i) { k = CTZ(counter); // count trailing zeroes k = k & 15; // get previous value of this octave prevrand = dice[k]; // generate a new random value seed = 1664525 * seed + 1013904223; // shift to move into mantissa bitfield divided by 16 newrand = seed >> 13; // store new value dice[k] = newrand; // update total total += (newrand - prevrand); // generate a new random value for the top octave seed = 1664525 * seed + 1013904223; // shift to move into mantissa bitfield divided by 16 newrand = seed >> 13; // there is a theoretical chance that total + newrand could overflow // the mantissa bitfield, but it is *extremely* unlikely due to total // being a a gaussian distributed value. // convert to floating point value from 2.0 to 4.0 by masking ifval = (total + newrand) | 0x40000000; // subtract 3 to get in range from -1 to +1 and output *++out = ((*(float*)&ifval) - 3.0f); // update counter counter ++; } Allan sent me two documents analysing the Voss approach to creating pink noise. Also noted here is an idea of mine for making the power distribution of the algorithm more closely approach the ideal. The first was a three page Excel spreadsheet graphing the average 1024 FFTs of noise, each of them 524,288 points. That file as a 351k .zip file is available here: allan-1/graph.zip . One of its graphs is shown at the end of this page. Allan's notes on this spreadsheet file are: allan-1/graph-zip.readme.txt . The second one was a Word file analysing theoretically how the multiple noise sources add up. I have converted this to HTML (with Word 97), so you can read Allan's extensively illustrated treatise here allan-2/spectrum2.html One graph from this is shown at the start of this page. Note that what Allan refers to as "row 0" for the white noise on each sample is what I refer to as "row -1" in my ASCII diagram above. Be sure to read the above treatise!!! Allan also contributed the following material on whether pink noise is "stationary" or not. One day I hope to be able to understand DSP to this level. For now, I am reproducing what he wrote verbatim.I think that to keep the academics happy we need a statement somewhereI asked him what "non stationary" meant, and he replied: that true (wideband) pink noise is not stationary. A proof of this was given in comp.dsp a while back. (Jeff Schenck's posting is archived here as: allan-1/stationary.html .) The problem stems from having a constant power per octave over an infinite number of octaves. One of the implications is that we can't make true pink noise by filtering white noise. OTOH, if we are only interested in accuracy down to some lower cutoff frequency, then the noise *is* stationary, and we *can* generate it by filtering white noise. This will generally be the case for audio applications. Note that the Voss algorithm is quite happy to sum an infinite number of octaves with only two random numbers per sample (you need infinite memory for this though), and thus isn't subject to the low frequency cutoff problem.From O+S:Allan is quoting from one of the "Bibles of DSP" as mentioned at the comp.dsp FAQ site (see the references section below): A. V. Oppenheim and R. W. Schafer, Digital Signal Processing, Prentice-Hall, Inc., Englewood Cliffs, N.J., 1975. ISBN 0-13-214635-5. "... these probability distribution functions may be a function of the time index n. In the case where all the probability functions are independent of a shift of time origin, the random process is said to be stationary." In other words, the statistics of the signal don't change with time. It turns out that random processes with PSDs proportional to 1/f^a are stationary for a < 1. Pink noise represents the a = 1 case. Brown (or red?) noise represents the a = 2 case and is also not stationary. There is some ripple in the frequency response of the Voss algorithm – as shown in the graphs at the top and bottom of this page. These reductions in the ripple of the algorithm's frequency response wouldn't be needed for my musical applications, but they might be useful for generating "analytical grade" pink noise for scientific purposes. Allan suggests ways of reducing this.The ripple in Voss' generator can be reduced to half this level (toHis note on using similar techniques for reducing ripple in the filtered white noise approach is listed above in the filtering section. about 1/2 dB) by summing the outputs of two pink noise generators, one running at 1/sqrt(2) (about 70%) of the sample rate of the other. Odd sample rates like this might be a little tricky to implement, and would only be worthwhile for applications like test instruments (where you really care about flatness), etc. I have another idea for reducing the ripple in the response: frequency modulate each row to lower octaves on a random basis! As I wrote to Allan:To implement random downwards frequency modulation for each row, forOn average, I guess this noise would be about 70% the frequency of the original. each time that the row is to be updated with a new random number, use a random function to decide whether to do so or to leave it unchanged. If a single update was missed, then that row's value would stay the same for twice as long as usual. In practical terms, if we want the probability of updating to be 50%, then, we keep the loop counter counting, but before calling the code to get a new random number and update the appropriate row, we look at a bit of a previously obtained random number and only call the code if the bit == 1. I would not like to write a formula for the frequency response of the results! I believe that by doing a drastic, noisy, frequency- modulation of each row, those distinctive curves in its frequency response will be scattered rather nicely and so the sum of all the row's frequency responses will be smoothed out. Overall, the frequency of the resulting noise would move downwards, by some factor which I couldn't be bothered thinking about right now. Therefore, we might want to add a lower level of white noise (my "row -1" to compensate for this. The pattern continues, but these are for longer and longer times, so calculating the exact change to the power distribution is left as an exercise to the reader. (Allan had to get back to some other responsibilities for the time being.)The pattern continues, but these are for longer and longer times, so calculating the exact change to the power distribution is left as an exercise to the reader. (Allan had to get back to some other responsibilities for the time being.) - 50% of the time it would be the normal frequency – through doing the normal row update. - 25% of the time it would be an octave down – through missing a single row update. (However, this covers two row sample times, so my "25%" should be higher?) - 12.5% of the time it would be 1.5 octaves down – through missing two updates, and so running at 1/3 the normal sample rate. - 6.25% of the time it would be 2 octaves down – through missing three updates. 2006-03-27 Please see Larry Trammell's (RidgeRat's) "Stochastic Voss-McCartney algorithm" details below.. Here are a few references to other material and web sites. Please let me know if any of these links no longer works. In some cases I have copies of the pages and software and will put them on my site if the original pages cannot be found anywhere. There is a widely known article in Scientific American. Stephan M. Sprenger (<sms@xxxx.prosoniq.com>, ) wrote in Music-DSP on 30 June 1998:The original algorithm has been suggested by Voss in M. Gardner, "WhiteSearching AltaVista for "voss and noise and gardner" I came across a site on chaos site which mentioned another article by Voss: and Brown Music, Fractal Curves and One-Over-f Fluctuations", Scientific American, 1978. It doesn't yield exact 1/f noise though, but for most practical applications it comes close enough.Voss, Richard F. and John Clarke. " '1/f noise' in Music: Music From 1/f Noise." J. Acoust. Soc. Am. 63(1) (1978): 258-261.JASA is a fascinating journal. Everything from the neurochemistry of a gnat's auditory system to the propagation of sound waves in water across the Pacific Ocean. I will try to find these articles. Apparently the suggested algorithm is adding successive noise sources where each source is an octave below the previous one, and all have the same level. The implementaion of this is discussed in Thomas Hudson's C++ code above. Wentian Li's bibliography also lists another article: R.F. Voss and J. Clarke, "1/f noise in music and speech", Nature,258, 317-318 (1975). On the Music-DSP list (25 August 1999) Chuck Cooper <plangent@xxxx.mediaone.net> wrote:About generating 1/F noise directly: There's an algorithm in "Computer Music -- Synthesis, Composition and Performance" by Charles Dodge and Thomas Jerse. Page 290 in the more recent edition. It's a pretty short loop. It picks one of N integers (N= a power of 2) with a 1/F distribution. Wentian Li's bibliography on 1/f noise: . A good site for FAQ's DSP code and DSP development software is DSP-Guru: . Denis Matignon has a site on noise which is related to pink-noise. I don't understand this field of fractional differential systems theory, but I think it relates to noise in servo systems which has a power distribution at a different slope from -3dB/octave. (Explanatory material at this site was not viewable with Netscape due to a missing style sheet, so use a less fussy browser instead.) The FAQ for Usenet newsgroup comp.dsp is at: . The web site for the Music-DSP mailing list is . (New April 2000) An article on pink noise, including an analogue filter circuit, by Don Morgan for Embedded Systems magazine. . 2006-03-27 Larry Trammell's (RidgeRat's) "Stochastic Voss-McCartney algorithm": . He announced it on the MusicDSP mailing list: . There is some interesting discussion on the list, which I have not attempted to summarise here - please see the archives. 2007-01-22 Larry Trammell's (RidgeRat's) new approach, which is faster and smoother: . 2006-03-27 Nicolas Brodu has a paper using the Voss-McCartney algorithm with the highly respected Mersenne Twister PRNG: Andrew Simper has some C++ code for pink and brown noise, based on algorithms discussed here: Real-time update of multi-fractal analysis on dynamic time series using incremental discrete wavelet transforms Nicholas Brodu November 2005 GPL V2 C++ source code: . It can be good to search for references to this page - you may find source code and other interesting stuff: let me know if you find something I should add to this page. 2010-03-12 A good source of DSP information is . 2011-03-20 Henning Thielemann's paper "Sampling-Rate-Aware Noise Generation" may be of interest. It concerns pink and white noise and methods of generating them which don't lead to unpleasant surprises if the sampling rate is changed. Please suggest improvements and additions for this page. At some stage in the future, when I get my brain back into programming mode, I intend to write a pink noise ugen for Csound (and Quasimodo) for "k" and "a" rate. I can think of some ways to make a speedy algorithm by hard coding the first few rows of noise, writing it into a buffer (say 32 or 64 floats) which are subsequently read out until they are all goen and it is time to calculate a new set. This way, I think, we don't need to fuss over counting zeroes, except for the one sample of the 32 or 64 which changes according to the main counter. There was some discussion on the list of the merits of this, but it is hard to envisage the effects of caching and of how I would implement it. One view is that any use of buffers of pre-computed noise samples would be slower. However, maybe fast, hard-coded calculations filling a buffer, and that buffer being used in a loop to fill an array of "a" rate samples, looks attractive to me. Thanks to James, Phil and Allan! Here is a graph from Allan Herriman's spreadsheet. It is based on averaging 1024 FFTs of noise, each of them 524,288 points . . . . 10db per decade reduction in power is precisely what it should be.
http://www.firstpr.com.au/dsp/pink-noise/index.html
CC-MAIN-2014-15
refinedweb
6,711
71.55
then having a smart lawyer makes a man innocent. Do not use it like that ever. Even in versions where it was accepted, it made the function execution slower, because the compiler could not be certain which names are local and which are question builtins: This is a “don’t” which is much weaker then the previous “don’t”s but is still something you should not do if you don’t have good reasons to do that. The reason it is usually,() Every so often, people seem to be writing stuff in the Python library again, usually poorly. While the occasional module has a poor interface, it is usually much better to use the rich standard library and data types that come with Python then inventing your own. A useful module very few people know about is os.path. It always has the correct path arithmetic for your operating system, and will usually be much better then whatever you come up with yourself. Compare: # ugh! return dir+"/"+file # better return os.path.join(dir, file) More useful functions in os.path: basename(), dirname() and splitext(). There are also many useful builtin functions people seem not to be aware of for some reason: min() and max() can find the minimum/maximum of any sequence with comparable semantics, for example, yet many people write their own max()/min(). Another highly useful function is functools.reduce(). A classical use of reduce() is something like import sys, operator, functools nums = list(map(float, sys.argv[1:])) print(functools.reduce(operator.add, nums) / len(nums)) This cute little script prints the average of all numbers given on the command line. The reduce() adds up all the numbers, and the rest is just some pre- and postprocessing. On the same note, note that float() and int() accept arguments of type string, and so are suited to parsing — assuming you are ready to deal with the ValueError they raise. Since Python treats a newline as a statement terminator, and since statements are often more then))
http://docs.python.org/3.0/howto/doanddont.html
CC-MAIN-2014-10
refinedweb
339
61.06
Splittable is a next-generation module bundler for JavaScript with support for Requires java for one dependency to run. npm i -g splittable splittable path/to/module1.js path/to/module2.js It is recommended to run splittable from the root directory of your project. write-to: Output directory for bundles. Default: ./out/ warnings: Whether to show closure compiler warnings. Default: false var splittable = ;;### Options- `writeTo`: Output directory for bundles Default: `./out/`- `warnings`: Whether to show closure compiler warnings Default: `false`- `babel`: Experimental feedback appreciated Allows specifying babel options By default splittable also reads from your `.babelrc` Please note though We highly recommend turning off transpilation of ES6 modules Otherwise the generated code will be very#### Example```jssplittable({modules: ['./test/module-regression/custom-babel-config.js'],writeTo: 'test-out/',babel: {presets: [['es2015', { loose: true, modules: false /* IMPORTANT! */ }],'stage-0'],plugins: ['transform-object-rest-spread',['transform-react-jsx', { pragma:'h' }]],}}) The above will write 3 files (plus sourcemaps) to the directory out. ./lib/aand its dependencies. ./lib/band its dependencies. _base.jsthat contains the shared dependencies of the entry modules. By default bundles are generated into the out/ directory (can be overridden via writeTo option). System.import The generated _base.js bundle ships with a System.import polyfill. It can be used to load modules exposed as bundles via splittable. The System.import function returns a promise for an object that exposes the exports of the loaded module. System.baseURL = '/path/to/bundles/';System.import('module/path').then(function(module) {module.exportedFunction();}) module/path must be a path to a module as used in your splittable command line config or JS calls. It is not a relative path with respect to the actual JS module you call this from. System.baseURL = '/path/to/bundles/'; must be supplied, so the loader knows where to find the bundles. This should be the directory, where you deployed your splittable bundles. Note: The polyfill requires promises. If you chose to use System.import and are targeting older browsers, please supply your own polyfill such as PJS. async script tags. You do not need to worry about the order in which they execute. Example: For an example and advanced usage such as JS initiated loading see the sample. This section is for entertainment only. All of the above bundlers certainly have dozens of other features that makes them more useful than splittable and/or could use splittable as plugin to get the best of all worlds. Splittable is a wrapper around both Browserify, Babel and Closure Compiler. It uses the former 2 to resolve modules and their dependencies, and then uses Closure Compiler for efficient compilation of code. Splittable takes a list of entry modules as its input and then creates bundles for each of them, as well as an additional bundle with the share dependencies. (May also apply to other common JS modules. require("module-name")must be used to load NPM modules. This is even the case inside of ES6 modules. --rename_prefix_namespaceat the trade off of slightly more verbose generated code.
https://www.npmjs.com/package/splittable
CC-MAIN-2018-13
refinedweb
507
50.63
Sentiment Analysis using Python One of the applications of text mining is sentiment analysis. Most of the data is getting generated in textual format and in the past few years, people are talking more about NLP. Improvement is a continuous process many product based companies leverage these text mining techniques to examine the sentiments of the customers to find about what they can improve in the product. This information also helps them to understand the trend and demand of the end user which results in Customer satisfaction. As text mining is a vast concept, the article is divided into two subchapters. The main focus of this article will be calculating two scores: sentiment polarity and subjectivity using python. The range of polarity is from -1 to 1(negative to positive) and will tell us if the text contains positive or negative feedback. Most companies prefer to stop their analysis here but in our second article, we will try to extend our analysis by creating some labels out of these scores. Finally, a multi-label multi-class classifier can be trained to predict future reviews. Without any delay let’s deep dive into the code and mine some knowledge from textual data. There are a few NLP libraries existing in Python such as Spacy, NLTK, gensim, TextBlob, etc. For this particular article, we will be using NLTK for pre-processing and TextBlob to calculate sentiment polarity and subjectivity. import pandas as pd import matplotlib.pyplot as plt %matplotlib inline import nltk from nltk import word_tokenize, sent_tokenize from nltk.corpus import stopwords from nltk.stem import LancasterStemmer, WordNetLemmatizer, PorterStemmer from wordcloud import WordCloud, STOPWORDS from textblob import TextBlob The dataset is available here for download and we will be using pandas read_csv function to import the dataset. I would like to share an additional information here which I came to know about recently. Those who have already used python and pandas before they probably know that read_csv is by far one of the most used function. However, it can take a while to upload a big file. Some folks from RISELab at UC Berkeley created Modin or Pandas on Ray which is a library that speeds up this process by changing a single line of code. amz_reviews = pd.read_csv("1429_1.csv") After importing the dataset it is recommended to understand it first and study the structure of the dataset. At this point we are interested to know how many columns are there and what are these columns so I am going to check the shape of the data frame and go through each column name to see if we need them or not. amz_reviews.shape (34660, 21) amz_reviews.columns Index(['id', 'name', 'asins', 'brand', 'categories', 'keys', 'manufacturer', 'reviews.date', 'reviews.dateAdded', 'reviews.dateSeen', 'reviews.didPurchase', 'reviews.doRecommend', 'reviews.id', 'reviews.numHelpful', 'reviews.rating', 'reviews.sourceURLs', 'reviews.text', 'reviews.title', 'reviews.userCity', 'reviews.userProvince', 'reviews.username'], dtype='object') There are so many columns which are not useful for our sentiment analysis and it’s better to remove these columns. There are many ways to do that: either just select the columns which you want to keep or select the columns you want to remove and then use the drop function to remove it from the data frame. I prefer the second option as it allows me to look at each column one more time so I don’t miss any important variable for the analysis. columns = ['id','name','keys','manufacturer','reviews.dateAdded', 'reviews.date','reviews.didPurchase', 'reviews.userCity', 'reviews.userProvince', 'reviews.dateSeen', 'reviews.doRecommend','asins', 'reviews.id', 'reviews.numHelpful', 'reviews.sourceURLs', 'reviews.title'] df = pd.DataFrame(amz_reviews.drop(columns,axis=1,inplace=False)) Now let’s dive deep into the data and try to mine some knowledge from the remaining columns. The first step we would want to follow here is just to look at the distribution of the variables and try to make some notes. First, let’s look at the distribution of the ratings. df['reviews.rating'].value_counts().plot(kind='bar') Graphs are powerful and at this point, just by looking at the above bar graph we can conclude that most people are somehow satisfied with the products offered at Amazon. The reason I am saying ‘at’ Amazon is because it is just a platform where anyone can sell their products and the user are giving ratings to the product and not to Amazon. However, if the user is satisfied with the products it also means that Amazon has a lower return rate and lower fraud case (from seller side). The job of a Data Scientist relies not only on how good a model is but also on how useful it is for the business and that’s why these business insights are really important. Data pre-processing for textual variables Lowercasing Before we move forward to calculate the sentiment scores for each review it is important to pre-process the textual data. Lowercasing helps in the process of normalization which is an important step to keep the words in a uniform manner (Welbers, et al., 2017, pp. 245-265). ## Change the reviews type to string df['reviews.text'] = df['reviews.text'].astype(str) ## Before lowercasing df['reviews.text'][2] 'Inexpensive tablet for him to use and learn on, step up from the NABI. He was thrilled with it, learn how to Skype on it already...' ## Lowercase all reviews df['reviews.text'] = df['reviews.text'].apply(lambda x: " ".join(x.lower() for x in x.split())) df['reviews.text'][2] ## to see the difference 'inexpensive tablet for him to use and learn on, step up from the nabi. he was thrilled with it, learn how to skype on it already...' Special characters Special characters are non-alphabetic and non-numeric values such as {!,@#$%^ *()~;:/<>|+_-[]?}. Dealing with numbers is straightforward but special characters can be sometimes tricky. During tokenization, special characters create their own tokens and again not helpful for any algorithm, likewise, numbers. ## remove punctuation df['reviews.text'] = df['reviews.text'].str.replace('[^ws]','') df['reviews.text'][2] 'inexpensive tablet for him to use and learn on step up from the nabi he was thrilled with it learn how to skype on it already' Stopwords Stop-words being most commonly used in the English language; however, these words have no predictive power in reality. Words such as I, me, myself, he, she, they, our, mine, you, yours etc. stop = stopwords.words('english') df['reviews.text'] = df['reviews.text'].apply(lambda x: " ".join(x for x in x.split() if x not in stop)) df['reviews.text'][2] 'inexpensive tablet use learn step nabi thrilled learn skype already' Stemming Stemming algorithm is very useful in the field of text mining and helps to gain relevant information as it reduces all words with the same roots to a common form by removing suffixes such as -action, ing, -es and -ses. However, there can be problematic where there are spelling errors. st = PorterStemmer() df['reviews.text'] = df['reviews.text'].apply(lambda x: " ".join([st.stem(word) for word in x.split()])) df['reviews.text'][2] 'inexpens tablet use learn step nabi thrill learn skype alreadi' This step is extremely useful for pre-processing textual data but it also depends on your goal. Here our goal is to calculate sentiment scores and if you look closely to the above code words like ‘inexpensive’ and ‘thrilled’ became ‘inexpens’ and ‘thrill’ after applying this technique. This will help us in text classification to deal with the curse of dimensionality but to calculate the sentiment score this process is not useful. Sentiment Score It is now time to calculate sentiment scores of each review and check how these scores look like. ## Define a function which can be applied to calculate the score for the whole dataset def senti(x): return TextBlob(x).sentiment df['senti_score'] = df['reviews.text'].apply(senti) df.senti_score.head() 0 (0.3, 0.8) 1 (0.65, 0.675) 2 (0.0, 0.0) 3 (0.29545454545454547, 0.6492424242424243) 4 (0.5, 0.5827777777777777) Name: senti_score, dtype: object As it can be observed there are two scores: the first score is sentiment polarity which tells if the sentiment is positive or negative and the second score is subjectivity score to tell how subjective is the text. In my next article, we will extend this analysis by creating labels based on these scores and finally we will train a classification model.
https://data-science-blog.com/en/blog/category/main-category/page/7/
CC-MAIN-2020-40
refinedweb
1,406
53.21
Screencast #Web11: Travel Map - Another Real-life app using jMaki & Jersey By arungupta on Dec 31, 2007 In my role of Technology Evangelist, I get the opportunity to meet a lot of community (folks like you :) all around the world. In the year 2007, I represented GlassFish (and related technologies - Metro, jMaki and Jersey) at multiple conferences. This blog introduces a new real-life application that plots all the places I visited this year on a jMaki-wrapped Google Map widget. Clicking on the marker shows more information about the event such as dates and the blog entry covering the event. Play the video below to see how the application looks like. Here is the architecture of this application: It consists of a server-side and a client-side applications - developed as NetBeans projects. - Server-side project - A RESTful Web service endpoint that provides resource represenations for all the events attended and associated meta information such as date and blog URLs. This endpoint is created using Jersey. - Client-side project - A jMaki-enabled Web application that consumes the representations generated by the RESTful Web service and plots the information on a jMaki-wrapped Google Map widget. Both the server-side and client-side are deployed on GlassFish. This is only a sample application so optimizations are certainly possible and corner cases (such as no blog entry for a particular visit) are not accounted for. But the application still demonstrates the concept. The fully built application looks like as shown below: My first presentation in this role was Sun Tech Days Atlanta (highlighted in the image). This application generates an interactive Google Map so feel free to zoom in/out and click And one last thing before we build the application. Here is the list of technologies and associated concepts used to build this application: - Jersey - Shows an example of how RESTful Web services can be easily generated from JPA Entity Classes. - Shows how all the resource representations (instead of reference to individual resources) can be returned by a Jersey endpoint. - jMaki - Shows how to consume XML data from an external service (RESTful Web service endpoint) in this case. - Shows how the underlying data model of a widget (Google Map in this case) can be accessed and manipulated. - GlassFish - All the applications are deployed on GlassFish - implicit in the development/deplyment process through seamless integration with NetBeans. - NetBeans 6 - Used for generation of RESTful Web services from JPA Entity Classes. - Used for generating/deploying jMaki projects and drag-and-drop of jMaki-wrapped widgets. - JavaScript Closures - to persist the state for asynchronous callback functions - JavaScript DOM processing - to process the XML data received from Jersey endpoint. - Google Maps API - Generate meaningful markers on each location - Populate Google Map from a RESTful Web service endpoint - Java Persistence API - to retrieve data from the database. And finally, lets build this application. Lets build the RESTful Web service endpoint project first. - Create and Populate the Database - In the NetBeans IDE, go to Services tab, and connect to the database with URL " jdbc:derby://localhost:1527/sample [app on APP]" (right-click and select " Connect..."). - Right-click on this database and select " Execute Command..." and create a table by giving the following command: create table EVENTS (id int GENERATED ALWAYS AS IDENTITY, event_name varchar(255), dates varchar(20), venue varchar(255), blogs varchar(2056), PRIMARY KEY (id)) Notice, the "id" column is marked as IDENTITY that instructs the database to auto generate the values for this column and increment by 1 (default) for each row. This column is also marked as the primary key. - Again right-click on the database and select " Execute Command..." to add data to the table by giving the following command: INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('SunTech Days - Atlanta', 'Jan 16 - Jan 17', 'Cobb Galleria Center, Two Galleria Parkway, Atlanta, Georgia, 30339', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('jMaki Day', ' Feb 23', '4150 Network Circle Santa Clara, CA 95054', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Ajax World - New York', 'Mar 19 - Mar 21', 'The Roosevelt Hotel, 45 E 45th St, New York, NY 10017', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('The Server Side Java Symposium - Las Vegas', 'Mar 22', '3355 Las Vegas Blvd. South Las Vegas, NV 89109', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('JavaOne - San Francisco', 'May 7 - May 11', 'Moscone Center, 747 Howard Street, San Francisco, CA 94103', ',,,,,,,,,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Rails Conf - Portland', 'May 17 - May 20', '777 NE MLK, Jr. Blvd. Portland, OR 97232', ',,,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Google Developer Day - San Jose', 'May 31', '150 W San Carlos St San Jose, CA 95113', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Mashup Camp - Mountain View', 'Jul 18 - Jul 19', 'Computer History Museum, 1401 N Shoreline Blvd., Mountain View, CA 94043', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('OSCON - Portland', 'Jul 23 - Jul 27', '777 NE MLK, Jr. Blvd. Portland, OR 97232', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('JRuby Hack Day - San Francisco', 'Aug 8', '1201 8th St, San Francisco, CA 94107', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Rich Web Experience - San Jose', 'Sep 6 - Sep 8', '170 S Market St, San Jose, CA 95113', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Rails Conf Europe - Berlin', 'Sep 17 - Sep 19', 'Maritim Pro Arte, Friedrichstrasse 151, 10117 Berlin', ',,,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Sun Tech Days - Rome', 'Sep 24 - Sep 25', 'Meliá Roma Aurelia Antica, Vía Aldobrandeschi, 223 Rome ITALY 00163', ',,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Sun Tech Days - Milan', 'Sep 26 - Sep 28', 'ATA Hotel Quark - Via Lampedusa 11/a 20141 Milano, Italia', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Mid West Java Tech Days - Minneapolis', 'Oct 16', 'University of St Thomas, MPL 201, 1000 LaSalle Avenue, Minneapolis, MN 55403-2005', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Mid West Java Tech Days - Chicago', 'Oct 18', 'Donald E Stephens Convention Center, 9301, W Bryn Mawr Ave, Rosemont IL 60018', ',,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Silicon Valley Code Camp - Los Altos', 'Oct 27', 'Foothill College, Los Altos, CA', ','); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Sun Tech Days - Beijing', 'Nov 1 - Nov 3', 'Beijing International Convention Center, No.8 Beichendong Road Chaoyang District, Beijing', ',,,,,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - Toronto', 'Nov 21', 'Toronto City Center', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - Montreal', 'Nov 21', 'Montreal City Center', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('GlassFish - Delhi University', 'Dec 3', 'New Delhi', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('FOSS.IN - Bangalore', 'Dec 4', 'India Institute of Science, Bangalore', ',,'); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - Bangalore', 'Dec 4', 'Bangalore', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - Chennai', 'Dec 5', 'Chennai', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - Pune', 'Dec 6', 'Pune', ''); INSERT INTO EVENTS (event_name, dates, venue, blogs) VALUES('Partner Preso - San Francisco', 'Dec 17', 'San Francisco', ''); These SQL statements populate the database with details about my visits in 2007. If you'd like to develop a similar application highlighting your visits then you'll need to modify the VALUESclause to match accordingly. - Create and Configure RESTful Web service endpoint - Create a Persistence Unit as described in "Generating Entity Classes from Database" section in Getting Started with RESTful Web Services. Lets say the project name is " WebApplication3", package name is "events" and the table name to generate Entity classes is EVENTS. Take everything else as the defaults. - Generate a RESTful Web service as described in "Generating RESTful Web Services from Entity Classes" section in Getting Started with RESTful Web Services. - Add a new class EventsList in the eventspackage as: @javax.xml.bind.annotation.XmlRootElement public class EventsList { @javax.xml.bind.annotation.XmlElement protected java.util.List<Events> events; public EventsList() { if (events == null) events = new java.util.ArrayList<Events>(); } public void add(Events name) { events.add(name); } public java.util.List<Events> getValue() { return events; } } - In service.EventsResource, change the method associated with GET to: public EventsList get() { EventsList eventsList = new EventsList(); List<Events> list = PersistenceService.getInstance().createQuery("SELECT e FROM Events e").getResultList(); for (Events e : list) { eventsList.add(e); } return eventsList; } This will ensure that all the resource representations are returned instead of a reference to the resource. Make sure to fix the imports." now return a complete RESTful representation of all the rows from the database table EVENTS. Lets build the client-side application next. Make sure jMaki plug-in in NetBeans IDE is already installed. - In the NetBeans IDE, create a new Web project, enable " Ajax Framework" and choose the " Standard" layout for " index.jsp". Lets say the project name is " WebApplication4". - Drag-and-drop a jMaki-wrapped Google Map widget in the 'Main Content Area' and jMaki-wrapped Yahoo Button in the 'Sidebar Content Here'. - Customise the widgets - Add id="mymap"attribute to the Google Map widget. The updated widget looks like as shown below: <a:widget name="google.map" id="mymap"will allow the Map widget to be accessed by name later. args="{ centerLat : 37.4041960114344, centerLon : -122.008194923401 }" /> id="mymap" - Add args="{label:'Plot Events'}"attribute to thes Yahoo button widget. The updated widget looks like as shown below: <a:widget - In glue,js, add the following code to \*onClicksubscribe method: var url = jmaki.xhp + "?id=events"; var _map = jmaki.getWidget("mymap").map; _map.setZoom(2); _map.clearOverlays(); _map.enableInfoWindow(); jmaki.doAjax({method: "GET", url: url, callback: function(_req) { var xmlobject = (new DOMParser()).parseFromString(_req.responseText, "text/xml"); var root = xmlobject.getElementsByTagName('eventsList')[0]; var events = root.getElementsByTagName('events'); for (var i = 0 ; i < events.length ; i++) { var event = events[i]; var eventName = event.getElementsByTagName('eventName')[0].firstChild.nodeValue; var venue = event.getElementsByTagName('venue')[0].firstChild.nodeValue; var blogs = event.getElementsByTagName('blogs')[0].firstChild.nodeValue; var dates = event.getElementsByTagName('dates')[0].firstChild.nodeValue; var id = event.getElementsByTagName('id')[0].firstChild.nodeValue; var encodedLocation = encodeURIComponent("location=" + venue); var url = jmaki.xhp + "?id=yahoogeocoder&urlparams=" + encodedLocation; jmaki.myHandler(url, eventName, blogs, dates, id, _map); } } }); - Add the following functions above the \*onClicksubscribe method: // "Function closure" used from // Creates local copy of "marker" and "html" variables to be preserved for later use function createMarker(point,html) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; }; // Function closure that preserves "eventName", "blogs", "dates and "id" // Gets the latitude/longitude from Yahoo Geocoding service and plots them on the map // Also creates meaningful markers jmaki.myHandler = function(_url, eventName, blogs, dates, id, _map) { jmaki.doAjax({url: _url, callback : function(req) { if (req.responseText.length > 0) { jmaki.log("name: " + eventName); var response = eval("(" + req.responseText + ")"); var coordinates = response.coordinates; jmaki.publish("/jmaki/plotmap", coordinates); jmaki.log("plotting " + eventName); var latlng = new GLatLng(coordinates[0].latitude, coordinates[0].longitude); var blogHtml = ""; b = blogs.split(', '); for (i=0; i<b.length; i++) { blogHtml += '<a href="' + b[i] + '">' + (i+1) + '</a>'; if (i<b.length-1) blogHtml += ", "; } var txt = '<table>' + '<tr><td>#' + id + ": " + eventName + '</td></tr>' + '<tr>Dates: ' + dates + ', 2007</td></tr>' + '<tr><td>Blogs: ' + blogHtml + '</td></tr>' + '</table>'; var marker = createMarker(latlng, txt); _map.addOverlay(marker); marker.openInfoWindowHtml(txt); } else { jmaki.log("Failed to get coordinates for " + location ); } } }); }; - Add the following entry in Web Pages, resources, xhp.json: , {"id": "events", "url":"" } assuming WebApplication3is the project where RESTful Web service endpoint is hosted. Future Improvements - If Jersey can return all the resource representations directly, then the workaround used above may not be required. - Use e4x after <script type="text/javascript">in index.jspcan be generated as <script type="text/javascript; e4x=1">. - Build the client-side application using Rails once issue #309 & #310 are resolved. - Once deployed as Rails application on WEBrick, create a WAR file and deploy on GlassFish. - Try this application using GlassFish v3 gem. - Embed Google Map in the blog entry. Technorati: screencast conf jmaki jersey netbeans glassfish jpa javascript googlemaps restful web2.0 jmakimashups Posted by places on December 31, 2007 at 05:26 PM PST # I'm a regular at your blog (mostly on rss) and even quoted you on my own blog :P Hope you don't mind this! I'm currently doing a screen cast in my new macbook [ :) ] and wonder what app to use. Any tips? Thanks! Posted by Nuno on January 02, 2008 at 01:31 AM PST # Nuno, I've heard iShowU () is a good option although I've never used it myself. I create all my screencasts using Camtasia on Windows Vista machine. Posted by Arun Gupta on January 02, 2008 at 08:55 AM PST # Arun, this is the best jmaki example I have seen yet. What a great web app, I can think of many uses for this particular app as is. keep up the good work. Posted by Neil Hathaway on January 19, 2008 at 08:48 PM PST # i am trying to build this examplr in netbeans 6.o and having trouble with these 1. import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.Table; 2, import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; i am new to this so can somebody tell what to do... thanks Posted by novicepro on January 30, 2008 at 02:26 PM PST # Buena pagina Posted by stanley on February 04, 2008 at 02:37 AM PST # Hey man awesome blog post !exactly what i been looking for a jdbc gmap option. I do a lot of .net & asp stuff i not much know about java and so forth. i have downloaded all the required java ide 6 & sdk & all but cannot follow some of the last steps( in the restful service area). do you think you could zip your tutorial for me & post the lot as an Netbeans IDE project please !? regards in advance cheers Posted by kanedogg on March 24, 2008 at 11:04 PM PDT # Kanedogg, The endpoint and client code are now available at: -Arun Posted by Arun Gupta on March 25, 2008 at 01:14 AM PDT # Hey Arun, Great job with this blog. Ive been learning JMaki for a college project, n your blog has been of great help. Faced lotta problems earlier with Glassfish, but downloaded the bundled glassfish netbeans package and works smoothly now. Posted by Tanay on March 30, 2008 at 04:04 PM PDT #
https://blogs.oracle.com/arungupta/entry/screencast_web11_travel_map_another
CC-MAIN-2015-40
refinedweb
2,422
54.73
One of my favorite memes right now is for people to write small programs in various languages to compare and contrast and learn from one another. Recently, someone blogged an example of counting word frequencies in a collection of newsgroup articles. The initial implementation was written in Ruby and Scala, with someone else implementing a Clojure solution. These solutions are compared for lines of code as well as time to run. The basic idea is to iterate over a bunch of files, where each represents a newsgroup posting and is organized by newsgroup into directories. Split each file into words, and then increment a count per word found (comparing case-insensitively). First, we need a test that is equivalent to the " \w" regular expression. In ASCII, this is essentially a-zA-Z0-9_. We use a short-circuit combinator to break early if one of the tests succeeds. : \w? ( ch -- ? ) { [ Letter? ] [ digit? ] [ CHAR: _ = ] } 1|| ; inline We can then build a word to split a sequence of characters. : split-words ( seq -- seq' ) [ \w? not ] split-when harvest ; This now leaves the main task of counting and aggregating the word counts. The Ruby and Scala examples do this sequentially, but the Clojure example tries to do things in parallel. We are going to keep it simple, and do things sequentially. : count-words ( path -- assoc ) f recursive-directory-files H{ } clone [ '[ ascii file-contents >lower split-words [ _ inc-at ] each ] each ] keep ; We need a word to generate the desired output (tab-delimited words and counts). : print-words ( seq -- ) [ first2 "%s\t%d\n" printf ] each ; And another word to do the actual writing of output to files. : write-count ( assoc -- ) >alist [ [ "/tmp/counts-decreasing-factor" ascii ] dip '[ _ sort-values reverse print-words ] with-file-writer ] [ [ "/tmp/counts-alphabetical-factor" ascii ] dip '[ _ sort-keys print-words ] with-file-writer ] bi ; Unfortunately, performance isn't quite what I was hoping. I tested this on a 2.8 GHz MacBook Pro. Ruby (using 1.8.7) runs in roughly 41 seconds, Factor runs in 20 seconds, and Python (using 2.6.1) runs in 13 seconds. I was sort of hoping Factor would come in under the typical scripting languages, and I'd love to get feedback on how to improve it. For reference, the Python version that I wrote is: import os import re import time from collections import defaultdict from operator import itemgetter root = '/tmp/20_newsgroups' #root = '/tmp/mini_newsgroups' t0 = time.time() counts = defaultdict(int) for dirpath, dirname, filenames in os.walk(root): for filename in filenames: f = open(os.path.join(dirpath, filename)) for word in re.findall('\w+', f.read()): counts[word.lower()] += 1 f.close() print "Writing counts in decreasing order" f = open('counts-decreasing-python', 'w') for k, v in sorted(counts.items(), key=itemgetter(1), reverse=True): print >> f, '%s\t%d' % (k, v) f.close() print "Writing counts in decreasing order" f = open('counts-alphabetical-python', 'w') for k, v in sorted(counts.items(), key=itemgetter(0)): print >> f, '%s\t%d' % (k, v) f.close() print 'Finished in %s seconds' % (time.time() - t0)
https://re-factor.blogspot.com/2009_12_01_archive.html
CC-MAIN-2017-13
refinedweb
521
57.87
Ready to Start Your Career? By: bjacharya January 8, 2016 Python Programming for Hackers (Part 3) – Writing Scripts for Opening Multiple Websites at Once By: bjacharya January 8, 2016 By: bjacharya January 8, 2016 (Note: For Video Demo/Lab, on this part, you can follow this link:. In the video, I mention Part 5 FYI.)Hello all and welcome to Part 3 of Python Programming For Hackers. Here, I'll show you the script of Python, which can be used to open multiple websites at once. Run one script and open 100+ websites at once.Before writing scripts, I want to explain something. I use 'module' in the script. And, what's a module ?Module: To make programming easier, Python has Modules. Modules contain useful code and help in extending Python’s functionality. Let's begin:If you get confused, please refer the video demo link given above and at the bottom of this article. Step 1 : Open Python Shell, and open new file (and type) import webbrowserIn Python, the ‘import’ statement is used to add a module to your project. In this case, we want to add the ‘webbrowser’ module Step 2 : Type webbrowser.open(‘ name here’)Here, we're calling the open function on our default web browser. We pass it a URL in the form of a string. We can add as many websites as we want. For example: webbrowser.open(‘ name 1 here’) webbrowser.open(‘ name 2 here’)The final code/script looks like this: import webbrowser webbrowser.open(‘’) webbrowser.open(‘’) webbrowser.open(‘’)Step 3: Save the file as, test.py (test = file name)Let’s see it in Python Shell and let’s execute test.py (Note: For Video Demo/Lab, on this part, you can follow this link:. In the video, I mention Part 5 FYI.) Build your Cybersecurity or IT Career Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry
https://www.cybrary.it/blog/0p3n/python-programming-for-hackers-pt-3-writing-scripts-for-opening-multiple-websites-at-once/
CC-MAIN-2021-49
refinedweb
328
76.11
Opened 3 years ago Closed 3 years ago #12545 closed enhancement (fixed) trac is slow when rendering the changeset page of git with many files Description If a git changeset contains a lot of files, the rendering will be very slow. Currently the system would try to do two API calls for each file in the changeset, one for the old revision and one for the new revision. For example, if the changeset contains 100 files, then 200 git API calls will be triggered. The trigger point should be the following lines of tracopt/versioncontrol/git/git_fs.py: if change != Changeset.ADD: old_node = self.get_node(path, old_rev, old_historian) if change != Changeset.DELETE: new_node = self.get_node(path, new_rev, new_historian) Attachments (1) Change History (15) comment:1 by , 3 years ago by , 3 years ago follow-up: 3 comment:2 by , 3 years ago comment:3 by , 3 years ago I posted t12545-gitrepos-get-changes.diff. In the patch, git ls-tree -r REVwould be called only once for each revision instead of calling git ls-tree REV -- PATHfor each revision and path. I tried to apply the patch, and the improvement is significant. For the corresponding comparison page in the Trac regarding to this github diff page, the total time elapsed for class ChangesetModule ⇒ def render_html() is greatly reduced in my low-profile PC: - before: 21.565263 seconds - after: 2.853279 seconds comment:4 by , 3 years ago comment:5 by , 3 years ago I'll add unit tests and try to improve changeset view with single revision. comment:6 by , 3 years ago Updated jomae.git@t12545 that improves changeset view with single revision (5119 ms → 1162 ms for [3fd4da50/jomae.git]). comment:7 by , 3 years ago comment:8 by , 3 years ago Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x. comment:9 by , 3 years ago I'd like to apply [3c7ad7cf2/jomae.git] to 1.0-stable. I've encountered the same issue on production environment with Trac 1.0.x. comment:10 by , 3 years ago As we're talking performance here, do we really need a get_ls_tree function? Looks like it's only called on old_rev and new_rev. So instead of a tree_map, we could have old_tree and new_tree (plus a check if new_rev == old_rev: new_tree = old_tree). comment:11 by , 3 years ago GitNode() needs mode, sha1, filesize and filename. git diff-tree returns a list of (src-mode, dst-mode, src-sha1, dst-sha1, status, src-path, dst-path). However, the filesize cannot be retrieved from git diff-tree. Any trees cannot be solved. Therefore, call of git ls-tree is needed. comment:12 by , 3 years ago Sorry, I wasn't clear, I meant that instead of having a get_ls_tree function here, we could inline it, e.g. tracopt/versioncontrol/git/git_fs.py diff --git a/tracopt/versioncontrol/git/git_fs.py b/tracopt/versioncontrol/git/git_fs.py index c9f49f3f4..51bda0651 100644 I didn't test it though, I got an unrelated issue with that branch: File "D:\Trac\repos\1.2-stable\trac\notification\mail.py", line 44, in <module> ImportError: cannot import name get_session_attribute comment:13 by , 3 years ago Ah, okay. That's simple. I'll push with your suggestion. Thanks. ImportError: cannot import name get_session_attribute Hmm. The get_session_attribute is existing in trac.web.session since r15670 at branches/1.2-stable/trac/web/session.py@15670#/get_session_attribute. Please retry after make clean. comment:14 by , 3 years ago Committed in [15701] and merged in [15702,15704]. I posted t12545-gitrepos-get-changes.diff. In the patch, git ls-tree -r REVwould be called only once for each revision instead of calling git ls-tree REV -- PATHfor each revision and path. After the patch, changeset view between two revisions with git (e.g. diff:jomae.git@8a59602e:3fd4da50) would work 2 times as fast as the previous (2059 ms ⇒ 1147 ms). However, changeset view about a revision (e.g. [3fd4da50/jomae.git]) is still slow.
https://trac.edgewall.org/ticket/12545
CC-MAIN-2019-43
refinedweb
692
67.86