NAME: rfname - given the rfnumber, return the standard receiver name SYNTAX : name=rfname(rfnum) ARGS : rfnum: int 1-16.. RETURNS: name: string.. rfname.. sbn,sbw,lbn,lbw..etc.. illegal or unimplented rfnumber will be return as the string -number.. eg rfnum 1 is not implented yet so it would return '-1'
(See /pkg/rsi/local/libao/phil/gen/rfname.pro)
NAME: rms - compute the mean and standard deviation SYNTAX: result=rms(x,quiet=quiet) ARGS: x[] : array to compute rms KEYWORDS: quiet: if set then don't print the rms,mean to stdout. RETURNS: result[2]: result[0]=mean, result[1]= std deviation DESCTRIPTION: compute the mean and standard deviation. Print the results to stdio, and return in result[2]
(See /pkg/rsi/local/libao/phil/gen/rms.pro)
NAME: rmsbychan - compute the rms/mean by chan for 2d array. SYNTAX: result=rmsbychan(d,median=median,nodiv=nodiv) ARGS: d[m,n] : array to compute rms KEYWORDS: median: if set then use median rather than mean nodiv : if set then don't divide by the mean RETURNS: result[m]: result[i]= rms(d[i,*])/mean(d[i,*]) DESCTRIPTION: compute the standard deviation/mean by channel.
(See /pkg/rsi/local/libao/phil/gen/rmsbychan.pro)
NAME: ruze - evaluate the ruze formula for losses from surface errors. SYNTAX: loss=ruze(freq,surfaceErr,errlambda=errlambda,db=db) ARGS: freq[] : freq in Mhz surfaceErr : rms surface error in mm KEYWORDS: errlambda: if set then surfaceErr is fractions of a wavelength db : if set then return loss as db DESCRPIPTION: Return loss do to surface irregularities. Use the ruze formula to evaluate it. loss=exp((-4pi*delta/2)**2 where delta is the rms surface error. The units are milimeters unles /errlambda is set, then the error is fractions of a wavelength (and freq is immaterial but must be entered). The loss is returned as a linear value unless keyword db is set. In that case the return value is db.
(See /pkg/rsi/local/libao/phil/gen/ruze.pro)
NAME: scanlist - list contents of data file SYNTAX: scanlist,lun,recperpage,scan=scan,search=search,std=std,verb=verb ARGS: lun: int assigned to open file recperpage: lines per page before wait for response. def:30 KEYWORDS: scan: long position to scan before listing. def:rewind then list search: if set, then search for header rec if not found at current position std : if set then assume std data verb : if set then print info each record read DESCRPIPTION: list a summary of all of the scans in a file to stdout. This works for correlator or ri datafiles. The output data is: SOURCE SCAN GRPS PROCEDURE car0 lst Where grps is the number of recs in the file, procedure is the procedure name that was used to take the data, car0 is the first entry in the carr[] of the header (typically it has the step in the pattern like on or off), and lst is the local sidereal time. SEE ALSO: corlist
(See /pkg/rsi/local/libao/phil/gen/scanlist.pro)
NAME: scantype - return the type of scan SYNTAX: type=scantype(hdr) ARGS: hdr: {hdr} RETURNS: type: 0 unknown 1 calon of calonoff pattern 2 caloff of calonoff pattern 3 position on of onoff pattern 4 position off of onoff pattern DESCRIPTION: Return the type of scan from the header info. EXAMPLE: print,corget(lun,b) type=scantype(b.b1.h)
(See /pkg/rsi/local/libao/phil/gen/scantype.pro)
NAME: searchhdr - position to the next available hdr in the file. SYNTAX: istat=searchhdr(lun,maxlen=maxlen) ARGS: lun: int lun of file to search KEYWORDS: maxlen: long maximum number of bytes to read. default is 1megabyte RETURNS: istat: int 1 --> positioned to header, 0 no header found DESCRIPTION Position to the next available hdr in an AO data file. Search up to maxlen bytes before quitting. If the header is not found, return positioned at the input position.
(See /pkg/rsi/local/libao/phil/gen/searchhdr.pro)
NAME: select - select elements from an array SYNTAX: anew=select(a,startInd,stepIndex) ARGS: a[]: array to select elements from startInd: long starting index in a to start selecting (0 based). stepInd: long spacing between indices to select KEYWORDS: RETURNS: aNew[]: subarray extacted from a. DESCRIPTION: Starting at index startInd select points spaced stepInd from the array a. Return the subarray in anew. EXAMPLE: a1=select(a,0,2) .. select every other sample from a starting at first a2=select(a,1,3) .. select every third sample from a start as the 2nd
(See /pkg/rsi/local/libao/phil/gen/select.pro)
NAME: shcolsym - show the default colors and symbols SYNTAX: shcolsym ARGS: DESCRIPTION: plot the default colors and symbols.
(See /pkg/rsi/local/libao/phil/gen/shcolsym.pro)
NAME: sixtyunp - unpack hhmmss.s or ddmmss.s to hh mm ss.s or dd mm ss.s SYNTAX: sixtyunp(xxyyzz,sgn,result) ARGS: xxyyzz: float,long,double either hhmmss.s or ddmmss.s RETURNS: sgn : int sign either +1 or -1 result[3]: float [hh,mm,ss.s] or [dd,mm,ss.s] DESCRIPTION: split hhmmss.s or ddmmss.s to h,m,s or d,m,s. Return the positive values in the array result. The sign of the value is returned in sgn. EXAMPLES: sixtyunp,112233.3 ,sgn,result.. sgn=1., result=[11.,22.,33.3] sixtyunp,-000033.3,sgn,result.. sgn=-1., result=[0.,0.,33.3]
(See /pkg/rsi/local/libao/phil/gen/sixtyunp.pro)
NAME: smofrqdm_1d - freq domain smoothing (1d) SYNTAX: yNew=smofrqdm_1d(y,fracSmo=fracSmo,ftype=ftype,filtertouse=filtertouse) ARGS: y[n]: float data to smooth KEYWORDS: fracSmo:float (0 to 1.) fraction of spatial frequency to keep. filterType: int 1 - apply fracSmo boxcar 2 - apply fracSmo boxCar*hanning window 3 - apply fracSmo boxCar*winCos4 filterToUse[n]:float if Supplied, then ignore fracSmo,filtertype. Use this array as the multiplier in the freq domain. (note. Dc should be at index n/2 (count from 0) DESCRPIPTION: Smooth a 1 d function by multiplying the fft of the function by a smoothing function. By default this is a boxcar window of length fracSmo*n. You can specify a tapering of the boxcar window using fitlertype 2 or 3. You can also specify your own smoothing function via filterToUse. In the frequency domain, the data is rotated so that dc is at n/2 (count from 0) before the multiply is done. EXAMPLES: .. let y contain a 53 cycle and 200 cycle sine wave. .. Then try and remove the 200 cycle cosine by using a boxcar smoothed with a cos^4 window. The nyquist rate is 511 so 200/511. = .3914. Try a filter of .38 to see how much of the 200 cycle sin wave is left (not much). y=mksin(1024,53) + mksin(1024,200) fract=.38 ynew=smofrqdm_1d(y,fracSmo=fract,ftype=2) plot,abs(fft(ynew)) WARNING: The routine computes the filter size using fix(n*fract). The smallest measurable change is fract is 1./n SEE ALSO: smofrqdm_2d
(See /pkg/rsi/local/libao/phil/gen/smofrqdm_1d.pro)
NAME: stripmask - interactively make masks for strips in a map. SYNTAX: maskAr=stripmask(d,remavg=remavg) ARGS: d[m,n]: float map of m samples per strips and n strips KEYWORDS: remavg: if set then remove the median from each strip before displaying a strip. In this case you may not have to fiddle with the vertical scale on each strip. RETURNS: maskAr[m,n]: int holds n masks of 0,1's DESCRIPTION: Let the user interactively define masks for a number of strips of a map. For each of n strips, call bluser() and allow the user to define a mask array using the cursor. When all n strips have been done, return the maskAr. If the user does not define a mask for a particular strip, then the mask from the previous strip will be used. This routine calls bluser() but it is the users responsibility to enter the keys: m .. then define the mask with the cursor q .. to exit from bluser for each strip EXAMPLE: Suppose you've call cormapinp and you want to create a mask that does not include continuum sources in the map. Use the total power in polA+polB to find the continuum. Suppose there are 120 samples per strip and 36 strips. The following code will call bluser 36 times. istat=cormapinp(lun,scan,brdA,brdB,m,cals); input the map polAvg=total(m.p)/2. ; average pola,polB ver, -.001,.015 ; vertical scale for plot maskArr=stripmasks(polAvg,/remavg) .. maskArr will now be dimensioned maskArr[120,36] SEE ALSO: bluser()
(See /pkg/rsi/local/libao/phil/gen/stripmask.pro)
NAME: strips - plot strips with offset and increment versus sample. SYNTAX: strips,y,offset,step,smo=n,title=title,xtitle=xtitle, ytitle=ytitle ARGS: y[m,n]: 2d data to plot. offset: float offset to add to the first line plotted. step : float value to add to plot the next line. KEYWORDS: smo : int smooth each line by n before plottting. title : string title of plot xtitle : string label for x axis ytitle : string label for y axis DESCRPIPTION: Plot the 2d array y line by line. Offset the first line by off and then space each line by step. EXAMPLE: dat[100,20] is the data strips,dat,0,.02 You should setup the vertical scale with ver first. SEE ALSO: stripsxy,ver,hor
(See /pkg/rsi/local/libao/phil/gen/strips.pro)
NAME: stripsxy - plot strips with offset and increment verus x. SYNTAX: stripsxy,x,y,offset,step,over=over,smo=tosmo,dec=dec,title=title,$ xtitle=xtitle,ytitle=ytitle,stepcol=stepcol,colar=colar,_extra=e ARGS: x[n] : float data for x axis. y[n,m]: float 2d data to plot. m strips of n points. offset: float offset first strip by this amount. step : float separate each strip by this amount. KEYWORDS: over : if set then continue plotting from a previous call. smo : int number of points to smooth each line. dec : int number of points to decimate each each line. title : string title of plot xtitle: string xlabel ytitle: string ylabel colAr[]: int lut indices to use for color stepcol: if set then alternate colors between each line. Use color indices 1-10. use ldcolph to load the color table. _extra: pass this to the plot,oplot routine.
(See /pkg/rsi/local/libao/phil/gen/stripsxy.pro)
NAME: strtovarnam - modify a string to be a valid variable name SYNTAX: newstr=strstovarnam,str,noleading=noleading ARGS: str[]: str hold the string or strings to check KEYWORDS: noleading: if set then don't bother checking if the leading character is a letter. RETURNS: newstr[]: str modified strings that are valid variable names. DESCRIPTION: This routine will modify the strings passed in to be valid variable names. A variable name must start with a letter and not contain the characters: , . ! ; : + - / = This routine will make the following substitutions: , -> _ . -> _ + -> p lus - -> m inus / -> _ = -> _ ! -> _ ) -> _ ( -> _ If the string starts with a non letter then prepend the string with the letter v. This routine is normally used when creating a variable name that is taken from the source name in the header. EXAMPLE: a='B1934+123' aMod=strtovarnam(a) print,aMod .. 'B1934p123' a='1934-123:17' aMod=strtovarnam(a) print,aMod .. 'v1934m123_17'
(See /pkg/rsi/local/libao/phil/gen/strtovarnam.pro)
NAME: SVDFITpp- Perform a general least squares fit. patched version PURPOSE: Perform a general least squares fit with optional error estimates. This version uses the Numerical Recipies (2nd Edition) function SVDFIT. A user-supplied function or a built-in polynomial or legendre polynomial is fit to the data. CATEGORY: Curve fitting. CALLING SEQUENCE: Result = SVDFIT(X, Y, [M]) INPUTS: X: A vector representing the independent variable. Y: Dependent variable vector. This vector must be same length as X. OPTIONAL INPUTS: M: The number of coefficients in the fitting function. For polynomials, M is equal to the degree of the polynomial + 1. If not specified and the keyword A is set, THEN M = N_ELEMENTS(A). INPUT KEYWORDS: A: The inital estimates of the desired coefficients. If M is specified, THEN A must be a vector of M elements. If A is specified, THEN the input M can be omitted and M=N_ELEMENTS(A). If not specified, the initial value of each coefficient is taken to be 1.0. If both M and A are specified, them must agree as to the number of paramaters. DOUBLE: Set this keyword to force double precision computations. This is helpful in reducing roundoff errors and improves the chances of function convergence. WEIGHTS: A vector of weights for Y[i]. This vector must be the same length as X and Y. If this parameter is ommitted, 1's (No weighting) are assumed. The error for each term is weighted by Weights[i] when computing the fit. Gaussian or instrumental uncertianties should be weighted as Weight = 1/Sigma where Sigma is the measurement error or standard deviations of Y. For Poisson or statistical weighting use Weight=1/Y, since Sigma=sqrt(Y). FUNCTION_NAME: A string that contains the name of an optional user-supplied basis function with M coefficients. If omitted, polynomials are used. The function is called: R=SVDFUNCT(X,M) where X and M are scalar values, and the function value is an M element vector evaluated at X with the M basis functions. M is the degree of the polynomial +1 if the basis functions are polynomials. For example, see the function SVDFUNCT or SVDLEG, in the IDL User Library: For more examples, see Numerical Recipes in C, second Edition, page 676-681. The basis function for polynomials, is R[j] = x)^j. The function must be able to return R as a FLOAT vector or a DOUBLE vector depending on the input type of X. LEGENDRE: Set this keyword to use the IDL function SVDLEG in the lib directory to fit the data to an M element legendre polynomial. This keyword overrides the FUNCTION_NAME keyword. OUTPUTS: SVDFIT returns a vector of the M coefficients fitted to the supplied function. OPTIONAL OUTPUT PARAMETERS: CHISQ: Sum of squared errors multiplied by weights if weights are specified. COVAR: Covariance matrix of the coefficients. VARIANCE: Sigma squared in estimate of each coeff(M). That is sqrt(VARIANCE) equals the 1 sigma deviations of the returned coefficients. SIGMA: The 1-sigma error estimates of the returned parameters, SIGMA=SQRT(VARIANCE). SINGULAR: The number of singular values returned. This value should be 0. If not, the basis functions do not accurately characterize the data. YFIT: Vector of calculated Y's. COMMON BLOCKS: None. SIDE EFFECTS: None. MODIFICATION HISTORY: Adapted from SVDFIT, from the book Numerical Recipes, Press, et. al., Page 518. minor error corrected April, 1992 (J.Murthy) Completely rewritten to use the actual Numerical Recipes routines of the 2nd Edition (V.2.06). Added the DOUBLE, SIGMA, A, and LEGENDRE keywords. Also changed Weight to Weights to match the other fitting routines.
(See /pkg/rsi/local/libao/phil/gen/svdfitpp.pro)
NAME: tempplot - plot temperature in turret room for a range of days. SYNTAX: tempplot,yymmdd1,yymmdd2 ,title=title,cs=cs,xp=xp,off=off,lun=lun,sep=sep,$ clip=clip ARGS: yymmdd1 - long first day to plot yymmdd2 - long last day to plot KEYWORDS: title - string title for top of each plot cs - float scale factor for labels. For multiple windows you may want to increase this to 1.5 or 1.8. default is 1. xp - float xposition [0.,1.] where dates are printed. default:.02. For hardcopy setting this to 1. puts the dates on the right column. off - float number of degrees to offset each day within it's window so the plots don't lay on top of each other. defaut:0. lun - int if supplied, then you've already opened the input file. Use this to access previous years: eg: /share/obs4/temp/Y01/temp.dat sep - if set then make 1 plot per day user should set !p.multi before calling the routine. clip[] -float clip the data to [mintemp,maxtemp]. allows auto scaling with bad data points.. DESCRIPTION plot the temperature in the turret room by hour of day for the range of dates specified (the routine limits it to a maximum of 31 days). The plot will have N subwindows with up to 7 consecutive days per window. Each day will be color coded witin a window. Any extra days (>28 will appear in the last window). The routine internally uses daynumber of year for computations so it will not cross year boundaries gracefully. It also reads from the temperature file that holds info by year (so the current year is the only one that will work. You should call ldcolph to setup the colortables for indices 0-10. You should also set the vertical scale to temperature range you want via ver,vmin,vmax. The horizontal scale should be set to hor,0,24. The extra keywords that may be used are: charsize=cs. If the multiple windows cause the letters to come out too small. EXAMPLES: hor,0,24 ver,70,90 tempplot,010701,010731,title='turret room temps for jul01',$ cs=1.6 NOTES: This routine reads from the file /share/obs4/temp/temp.dat. The routine will only work when run at AO (since the file is not accessible at remore sites). The routine will not cross year boundaries very gracefully. The data files usually contain only one years worth of data. The previous years data is in (/share/obs4/temp/yyyy/temp.dat where yyyy is the year. Tempread has not yet been updated to work on a pc (you need to run it on a sun (big endian machine). SEE ALSO: tempread.
(See /pkg/rsi/local/libao/phil/gen/tempplot.pro)
NAME: tempread - read receiver room temperature data SYNTAX: dat=tempread(yymmdd,lun=lun,nrec=nrec) ARGS: yymmdd: long day of year to input. KEYWORDS: lun : int if provided then this is open to the file to read from. The default is to read from the temperature data file of the current year. nrec : long . if present, read this many records starting at yymmdd. the default is to read 1 days worth of data. RETURNS: dat[n]: {tempdat} temp data structure returned. dat.time : float daynumber of sample dat.temp : float temp in degree F.
(See /pkg/rsi/local/libao/phil/gen/tempread.pro)
NAME: tsysinit - initialize idl to process system temperature monitoring data. SYNTAX: @tsysinit ARGS: none DESCRIPION: Initialize to process tsys data taken daily with the tsysall program online.
(See /pkg/rsi/local/libao/phil/gen/tsysinit.pro)
NAME: tvfreq - return tv channels and frequencies SYNTAX: tvfreq,chan1,chan2,chan,freq,sound=sound,chroma=chroma ARGS: chan1 - int first channel number (2-69) chan2 - int last channel number (2-69) RETURNS: chan[] - long channel numbers freq[] - float frequencies KEYWORDS: sound : int if set then return the sound carrier frequency chroma: : int if set then return the color carrier DESCRIPTION: return the frequencies and channel numbers for the tv channels between chan1 and chan2 (inclusive). Return the channel numbers in chan and the frequencies in freq. By default the picture carrier frequency is returned (1.25 Mhz above the lower edge). If the sound keyword is set then return the frequency of the sound carrier (5.75 mhz above the lower edge). If the chroma keyword is set then return the color carrier (3.579656 mhz above the picture carrier).. EXAMPLE: tvfreq,2,20,chan,freq chan[] will contain the numbers 2-20 freq[] will contain the picture carriers for each channel.
(See /pkg/rsi/local/libao/phil/gen/tvfreq.pro)
NAME: ver - set vertical scale for plotting. SYNTAX: ver,ver1,ver2 ARGS: ver1: float min vertical value ver2: float max vertical value. DESCRIPTION: Load the !y.range system value with the min,max yrange to plot. To reset to auto scaling call ver with no args. SEE ALSO: hor
(See /pkg/rsi/local/libao/phil/gen/ver.pro)
NAME: waitnxtgrp - wait for next group from the file to become available SYNTAX: istat=waitnxtgrp(lun,[maxwaitSecs],bytesingrp=bytesingrp) ARGS: lun: assigned to file OPTIONAL ARGS: maxwait: maximum number of seconds to wait before returning. Default is 99999 RETURNS: istat: return status. 0 ok, -1 timedout, -2 not lined up with a header. bytesingrp: long bytes in the next group. You can use this to position to the end of the new group DESCRIPTION: Wait for the next group from the file to be available. Return 0 if ok, -1 if timeout. You can then read the data in with corget. On return, the lun is left positioned at the start of the group to read. EXAMPLE: Assume you are monitoring the online datafile. if waitnxtgrp(lun) ne 0 then .. error message istat=corget(lun,b) ;input the data SEE ALSO: corget
(See /pkg/rsi/local/libao/phil/gen/waitnxtgrp.pro)
NAME: wappinit - initialize to use the idl wapp pulsar routines. SYNTAX: @wappinit DESCRIPTION: call this routine before using any of the wapp idl routines. It sets up the path for the idl wapp directory and defines the necessary structures.
(See /pkg/rsi/local/libao/phil/gen/wappinit.pro)
NAME: windinit - initialize idl to process wind monitoring data. SYNTAX: @windinit ARGS: none DESCRIPION: Initialize to process wind data.
(See /pkg/rsi/local/libao/phil/gen/windinit.pro)
NAME: windowfunc - make a window function SYNTAX: val=windowfunc(len,double=double,type=type) ARGS: len: long length of window function KEYWORDS: double: if set the return a double array. the default is float type: char type of window: 'cos4' cosine^4 window 'ecb' extended cosine bell 'hsin' half sine 'han' hanning window 'ham' hamming window The default is a hanning window DESCRIPTION: Create a window function that can be used in fourier transform processing
(See /pkg/rsi/local/libao/phil/gen/windowfunc.pro)
NAME: x - set output to xwindows device SYNTAX: x ARGS: none DESCRIPTION: Set plot device to the xwindows terminal. SEE ALSO: ps,pscol,hardcopy.
(See /pkg/rsi/local/libao/phil/gen/x.pro)
NAME: x102combineps - combine x102 ps files into 1 file. SYNTAX: x102combineps(m,fdscript,psdir) ARGS: m[] : string array of filenames of a particular plot type to combine. fd : int .. script file to write to psdir : string.. directory to hold the combined postscript files DESCRIPTION: The mueller2.idl routine for x102 calibration creates a large number of postscript files. For receivers with multiple frequencies it will create 1 separate file for each board or frequency. This routine will create a csh file that will combine the N frequencies from a particular receiver into a ps file with N pages (1 for each frequency). To use: 1. go to the directory that has the postscript files. 2. in idl create a string array that has the plot type of the plots to combine: eg: m4=spawn,'ls lbn*m4*' 2. open the script file that will hold the commands to combine the files openw,lun,'combineps.sc',/get_lun When done you will execute this file in the shell to do the combination. 3. decide on an output directory where you want the combined ps files written. x102combineps,lun,'dirpath') free_lun,lun 4. get out of idl, look at the file to make sure it is ok. change the mode to executable, chmod +x combineps.sc and then execute it.. combineps.sc The filenames look like: lbn_1300_bd0_B0035+130_m4_22-APR-2001.ps The routine strips off the first 3 sections to have: B0035+130_m4_22-APR-2001.ps It gathers together all of the files that have this base filename. For each of these sets it sorts the full name by the second section _1300_ (the frequency). The outputfile it chooses is: lbn_all_B0035+130_m4_22-APR-2001.ps where B0035+130_m4_22-APR-2001.ps is the base name. The script file will then look like: psidlmerge -o psdir/lbn_all_B0035+130_m4_22-APR-2001.ps \ then a list of all frequencies for this source.. The script psidlmerge is in ~phil/Solaris/bin..
(See /pkg/rsi/local/libao/phil/gen/x102combineps.pro)
NAME: x111init - initialize idl to process x111 data. SYNTAX: @x111init ARGS: none DESCRIPION: Initialize to process x111 data. This is interference monitoring data taken on the telescope. The routine calls @corinit, adds the Cor2/x111 path and defines the {x111imghdr} structure. SEE ALSO: x111imgdisp (x111 software documentation).
(See /pkg/rsi/local/libao/phil/gen/x111init.pro)
NAME: yymmddtojulday - convert yymmdd to julian day SYNTAX: julday=yymmddtojulday(yymmdd) ARGS: yymmdd: long to convert RETURNS: julday: double julian day DESCRIPTION: Convert from yymmdd to julian day.
(See /pkg/rsi/local/libao/phil/gen/yymmddtojulday.pro)


Pair programming has been great so far. In particular, being able to see how others approach challenges has been awesome. I really like bouncing ideas off of someone else to see what they think, and collaborating on creative solutions to the challenges. It's really cool coming up with a solution that is the result of knowledge from both parties. The best part about pair programming is when my partner and I are trying something that we're not sure will work, but ultimately make it work. Trying something new and tweaking it until we get it right. That moment when all the tests pass is bliss, especially when it is the result of code that is new to us - maybe something we researched while doing the challenge.
Thus far, the only drawback to pair programming has been that we are all remote and are pairing through google chat, stypi, and/or screen hero. I'm really looking forward to being able to pair in person, where it will be easier to gauge your partners reactions, thoughts, willingness, attentiveness, etc.. It can be difficult trying to explain a thought over google chat, or trying to articulate an idea without being able to point to the screen or draw it out.
All in all, I've felt great about the feedback I've feedback so far. It all seems to be positive, with almost no critical feedback. I have a feeling we'll all get better at giving feedback over time, though, as we've paired more and know better what it takes to be a good peer programmer. I think we're all still figuring it out. It's been difficult for me to provide constructive feedback to others, because in all honesty, all of my pair sessions have been great, and there have been so few. But I'm sure that as I pair more and more and begin to develop preferences and knowledge, it will be easier for me to provide more constructive feedback. Based on the constructive feedback I have received, I need to make sure my internet and devices are working properly before each session, and there are also a few methods I could brush up on for the future.
Overall, I really enjoy the system of using pairing and feedback to guide my learning. It's a great way to meet new people, to learn new approaches, to see things differently, and to practice teaching / explaining concepts.
Copyright: Gary Hammell 2014


The closure of this set is maintained by limiting the export of the policy.
|
|
|
| class (SecurityPolicy p, Monad l) => SecurityLevel p l | l -> p |
| A SecurityLevel is a particular point inside our capability space. You should not export the
data constructors for your SecurityLevels, but only export whatever methods you want to allow the
end user to deconstruct your secured data with including all access controls and permission checks.
|
|
|
| class (SecurityLevel p l, SecurityLevel p l', SecurityLevel p l'') => SecurityLattice p l l' l'' | l l' -> l'', l -> p, l' -> p, l'' -> p where |
| Note instances of this class must form a full meet-semilattice for security purposes.
| | | Methods | | witness :: l a -> (a -> l' b) -> l'' b | | Parameterized bind.
|
|
|
|
| witness :: SecurityLattice p l l' l'' => l a -> (a -> l' b) -> l'' b |
| Parameterized bind.
|
|
| reclassify :: SecurityLattice p l m m => l a -> m a |
| x & y = y iff x <= y is a meet semilattice law.
use this to raise the security level of a value using the supplied witness for the SecurityLattice relationship
|
|
| Produced by Haddock version 0.8 |


Mart
Home
About us
Page
Shop
Blog
Contacts us
Affordable paris tours
city tours/tour ticets/tour guides
New collection
Add to cart
Cool lingerie
$56
Add to cart
Cool lingerie
$56
Add to cart
Cool lingerie
$56
Add to cart
Cool lingerie
$56


About Skydiving
Skydiving is parachuting from an airplane for fun.
Skydiving can be done individually and with groups of people.
Training is required. Unlike most paratroopers, skydivers often wait until they are low, before opening the parachute.
The jump can also be made from a helicopter or a balloon that is high enough in the sky. Skydiving can be an exciting sport.
Skydiving includes free falling (usually from an aeroplane) through the air prior to opening a parachute.
Typically skydives are carried out from around 4,000m (or 12,500ft) offering 40 to 50 seconds of freefall time.
Longer free fall times can be achieved by exiting an aircraft at altitudes much higher than 4,000m,
but very high jumps require pressurized oxygen within the aircraft, and bottled oxygen for the diver.
During a skydive, total freedom and control of the air can be enjoyed as well as many complex and spectacular manoeuvres including flat turns,
somersaults and formation skydiving.
Skydiving can be enjoyed either as an individual - doing solo(alone) jumps - or as part of a team carrying out formation skydiving.
Generally, the term ‘skydive’ refers to the time spent in freefall from exiting an aircraft to deploying a parachute
but skydiving does include some disciplines such as accuracy landings and canopy formation flying which concentrate
on the time spent once a canopy has been deployed.


{{ partial "head.html" . }}
{{ partial "header.html" . }}
← Back to News
{{ block "main" . }}
Hi there!
This is content from
layouts/news/baseof.html
.
{{ end }}
{{ partial "footer.html" . }}


Device Management
Initial Device Setup
If this is your first time setting up a device, you will need an SSH accessible Raspberry Pi, preferably running Debian Stretch. Once you have the device online and hooked up to the local network, it should print an IP address to the output. If you do not have this, try to use another method to get the device IP.
Additionally, you will need the repositories that we use to manage the
devices, which is located
here.
The repository must be cloned "recursively" (by passing the
--recursive
to git pull
) in order to pull the
requred dependencies.
Once you have your device IP, should now be able to run the Makefile, which
will load Ansible and point it at the device. You can do so by running:
make deploy DEVICE_IP="<IP_ADDRESS>"
, replacing the example IP
address with the IP address of your device. Optionally, if your device has
a custom username or password, you can customize the variables found in
make echo
to reflect your device configuration.
From here, you should now have a device capable of running NotiCast.
You should now get a flash drive and load them with credentials from a
device from the website, or manually place the credentials files in
/home/pi/.config/noticast/connection/
.
From this point, you can restart the device, and start using it like any other NotiCast device.
Further Development
Note:
The project is structured in a way that the installation and update
mechanism are separate from the code itself. If you have any Python code
dependencies, they should be installed in the iot-core
repo.
If you have any Debian or package manager dependencies, they should be
installed in the device-bootstrap
repo.
Surprisingly, you made it this far. I'm not sure what else to put here. If you're going to tinker with the devices, there's not really much you need to know.


- Type
- {$ ::ctrl.healthmonitor.type $}
- Delay
- {$ ::ctrl.healthmonitor.delay $}
- Max Retries
- {$ ::ctrl.healthmonitor.max_retries $}
- Timeout
- {$ ::ctrl.healthmonitor.timeout $}
- HTTP Method
- {$ ::ctrl.healthmonitor.http_method $}
- Expected Codes
- {$ ::ctrl.healthmonitor.expected_codes $}
- URL Path
- {$ ::ctrl.healthmonitor.url_path $}
- Admin State Up
- {$ ctrl.healthmonitor.admin_state_up | yesno $}
- Monitor ID
- {$ ::ctrl.healthmonitor.id $}
- Tenant ID
- {$ ::ctrl.healthmonitor.tenant_id $}


H. B. Woodrose & Anadanthera colubrina
To whom it may concern:
Unlike many other experiences that I have read, I will try to write this with as much neutrality as I can. For the past 2 months I have been ingesting at least 4 seeds worth of Hawaiian Baby Woodrose (henceforth HBWR) everyday and up to 8 seeds (rarely). My experience has been as follows:
Weeks 1 and 2:
Same as usual HBWR experiences: enchanted moments, time dilation, random (extremely clear) thoughts, excessive chattering (aloud and otherwise). I was eating the seeds directly which causes serious digestive problems if one gets carried away (which I did). For the most part I was able to ignore these problems for at least the first 2 weeks. I am currently studying the Chinese language and I did notice that I was able to focus on memorizing characters while I was under the influence of the seeds. So not much interesting going on these weeks.
Weeks 3 and 4:
I've come to the point where I can no longer remember 'ordinary' reality. The very admission of this sends twinges of the flashback persuasion up my spine. I have had countless encounters with nature that I can only describe as surreal. I will list those that I can remember (this was a month ago) below:
1. The Squirrel Council:
I was wandering through the courtyard of my school after downing an ethanol extraction from HBWR seeds raw (its in the dictionary under supernasty) and suddenly the flow of time nearly stopped. That is to say, that my perception of time changed as to make it appear as if time had stopped (very important). I stumbled upon three squirrels locked in some sort of 'wisemen's council'. Allow me to explain: they were standing on the vertices of what looked (from my angle) like an equilateral triangle staring at each other completely still. So still that I almost didn't see them standing on the middle of the sidewalk.
2. Man vs. Squirrel
Don't ask me why the squirrel motif, I am only reporting. Here comes squirrel story number 2. I was walking up to class after drinking a straight up water exract of HBWR chased with orange juice and I noticed a squirrel burying some nuts. I took note that the squirrel took many precautions in concealing the location of his precious nuts, though my mother tells me that he forgets where they are half the time anyway. I spent a lot of time thinking about this experience and a few days later I saw another squirrel, or perhaps the same one, they all look the same to me, just finishing up burying his (or her) nuts.
 When I looked over to see his/her reaction, the thing was standing on its hind legs flailing its front legs around in the air, clearly agitated by what I was doing, and making this absurd squeaking noise, similar to a squirrel calling another squirrel but more intense I guess is the word. After a few moments of that I began to walk away only to be followed for a good long way by the squirrel who I can only assume was spying to see where I planted his/her nuts. This may not sound like much of a story but think about the contents of it and you just may realize what it means.
Okay, let's skip to last week, that's when things get interesting:
My botanicals supplier sends me some Cebil seeds (Anadenanthera Colubrina, I hope that's the correct spelling) because I ordered so many damn HBWR seeds I guess. By this time my small intestine probably looks like some sort of putrid rancid swiss cheese and I haven't had a normal bowel movement (aka 'shit') in weeks.  If you're still reading, I apologize but I wouldn't feel right if I didn't tell you the truth.
Anyway, so immediately when I got the Cebil seeds I started grinding them up and smoking them. This was all while I was under the influence of the HBWR seeds. Smoking any sort of seeds is generally a bad idea but I don't have that many of these and don't plan to buy any (sorry botanical supplier!) so I thought it would be ok. The first time I smoked the seeds here's what happened:
The Eye of God Burns the Mountain:
I just finished my last 'hit' of the seed smoke. I looked into the sky. In incredible detail there was an eye formed in the clouds with light (sunlight) pouring out of it. I began fearing for my life as this situation seemed similar to what happens in movies when someone dies and the heavens open up and receive them. It didn't take me long to figure out that if I were dying, heaven would NOT be receiving me (if indeed god is 'the good guy'). I took comfort in that fact but I found a new fear welling up inside me. What if this eye was looking for me? In retrospect, this may have been some sort of psychotic episode because the fear was all too real and staggering not like normal LSD or mushrooms 'bad trip fear' which I have also experienced and been able to shrug off pretty easily. Oh yeah, the Cebil dose was light, only 2 seeds smoked, but I think it was the combination of Cebil with HBWR that pushed me to the limit.
Finally, we come to the present. I have regrettably picked up smoking cigarettes again, after quitting for 8 months, which I think is largely due to the Cebil addition to my repertoire. I have almost finished with my last batch of HBWR which I have been aching to rid myself of ever since I had a stabbing pain in my gut which I am certain is a result of the badness contained therein.
As you've probably noticed (if you are still reading) that my daily dose was extremely low compared to what most people would consider a 'decent acid trip'. This was deliberate because I was doing this while running a normal life and not really letting anyone know (except my closest friends) what I was doing. I leave you with this,
quest not for knowledge,
quest not for wisdom,
but quest for the annihilation of self,
because that's all you're going to get!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


|
NASA World Wind | ||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
hadCollisions
.
true
if the controller has any active Animations
true
if the Animator
has more elements.
true
if the Animator
has more elements.
|
NASA World Wind | ||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES |


procedure Scroll(Dx. Dy: Integer);
Scrolls the viewport by the offsets given by the Dx and Dy parameters.


To add a new class, click on the Class Wizard button in the toolbar , or select Object / Class Wizard... from the main menu. This will bring up the class wizard which will guide you through adding a new class.
Note: The new class will only be available in the current file!
For more information, see the Class Wizard topic.


EVP_KDF-SS - The Single Step / One Step EVP_KDF implementation
The EVP_KDF-SS algorithm implements the Single Step key derivation function (SSKDF). SSKDF derives a key using input such as a shared secret key (that was generated during the execution of a key establishment scheme) and fixedinfo. SSKDF is also informally referred to as 'Concat KDF'.
The implementation uses a selectable auxiliary function H, which can be one of:
Both the HMAC and KMAC implementations set the key using the 'salt' value. The hash and HMAC also require the digest to be set.
"SSKDF" is the name for this implementation; it can be used with the EVP_KDF_fetch() function.
The supported parameters are:
These parameters work as described in "PARAMETERS" in EVP_KDF(3).
This parameter set the shared secret that is used for key derivation.
This parameter sets an optional value for fixedinfo, also known as otherinfo.
A context for SSKDF can be obtained by calling:
EVP_KDF *kdf = EVP_KDF_fetch(NULL, "SSKDF", NULL);
EVP_KDF_CTX *kctx = EVP_KDF_CTX_new(kdf);
The output length of an SSKDF is specified via the keylen parameter to the EVP_KDF_derive(3) function.
This example derives 10 bytes using H(x) = SHA-256, with the secret key "secret" and fixedinfo value "label":
EVP_KDF *kdf;
EVP_KDF_CTX *kctx;
unsigned char out[10];
OSSL_PARAM params[4], *p = params;
kdf = EVP_KDF_fetch(NULL, "SSKDF", NULL);
kctx = EVP_KDF_CTX_new(kdf);
EVP_KDF_free(kdf);
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST,
SN_sha256, strlen(SN_sha256));
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_KEY,
"secret", (size_t)6);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_INFO,
"label", (size_t)5);
*p = OSSL_PARAM_construct_end();
if (EVP_KDF_derive(kctx, out, sizeof(out), params) <= 0) {
error("EVP_KDF_derive");
}
EVP_KDF_CTX_free(kctx);
This example derives 10 bytes using H(x) = HMAC(SHA-256), with the secret key "secret", fixedinfo value "label" and salt "salt":
EVP_KDF *kdf;
EVP_KDF_CTX *kctx;
unsigned char out[10];
OSSL_PARAM params[6], *p = params;
kdf = EVP_KDF_fetch(NULL, "SSKDF", NULL);
kctx = EVP_KDF_CTX_new(kdf);
EVP_KDF_free(kdf);
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_MAC,
SN_hmac, strlen(SN_hmac));
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST,
SN_sha256, strlen(SN_sha256));
*p++ = OSSL_PARAM_construct_octet_string(EVP_KDF_CTRL_SET_KEY,
"secret", (size_t)6);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_INFO,
"label", (size_t)5);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SALT,
"salt", (size_t)4);
*p = OSSL_PARAM_construct_end();
if (EVP_KDF_derive(kctx, out, sizeof(out), params) <= 0) {
error("EVP_KDF_derive");
}
EVP_KDF_CTX_free(kctx);
This example derives 10 bytes using H(x) = KMAC128(x,salt,outlen), with the secret key "secret" fixedinfo value "label", salt of "salt" and KMAC outlen of 20:
EVP_KDF *kdf;
EVP_KDF_CTX *kctx;
unsigned char out[10];
OSSL_PARAM params[7], *p = params;
kdf = EVP_KDF_fetch(NULL, "SSKDF", NULL);
kctx = EVP_KDF_CTX_new(kdf);
EVP_KDF_free(kdf);
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_MAC,
SN_kmac128, strlen(SN_kmac128));
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST,
SN_sha256, strlen(SN_sha256));
*p++ = OSSL_PARAM_construct_octet_string(EVP_KDF_CTRL_SET_KEY,
"secret", (size_t)6);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_INFO,
"label", (size_t)5);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SALT,
"salt", (size_t)4);
*p++ = OSSL_PARAM_construct_size_t(OSSL_KDF_PARAM_MAC_SIZE, (size_t)20);
*p = OSSL_PARAM_construct_end();
if (EVP_KDF_derive(kctx, out, sizeof(out), params) <= 0) {
error("EVP_KDF_derive");
}
EVP_KDF_CTX_free(kctx);
NIST SP800-56Cr1.
EVP_KDF(3), EVP_KDF_CTX_new(3), EVP_KDF_CTX_free(3), EVP_KDF_CTX_set_params(3), EVP_KDF_CTX_get_kdf_size(3), EVP_KDF_derive(3), "PARAMETERS" in EVP_KDF(3)
This functionality was added in OpenSSL 3.0.
Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.


Welcome to Default Project
This is a default project created in Go using
Goji web microframework,
Gorilla web toolkit sessions .
It provides essentials that most web applications need - MVC pattern and user authorisation that can be easily extended.
Project's source code can be found here:
{{end}}


---
layout: default
title: MAYDAY.US - Record a message
permalink: /record/
meta_content: |
Citizen Recording Studio
{% include recording_instructions.html %}
{% include panels/panel_action_w_record_message.html hide_next=true intro_content="We'll deliver it to Congress" %}
{% endcapture %}
{% include sub_layouts/default_layout.html %}


Basically a wrapper around gam
. However, we set
family=poisson()
, offset=data$offset
and method="REML"
by default. The first two can not be overriden. The method
argument
can be specified as usually, but defaults to GCV.cp
in gam
.
Check if object is of class pamm
pamm(formula, data = list(), method = "REML", ...) is.pamm(x) # S3 method for pamm print(x, ...) # S3 method for pamm summary(object, ...) # S3 method for pamm plot(x, ...)
| formula | A GAM formula, or a list of formulae (see |
|---|---|
| data | A data frame or list containing the model response variable and
covariates required by the formula. By default the variables are taken
from |
| method | The smoothing parameter estimation method. |
| ... | Further arguments passed to |
| x | Any R object. |
| object | An object of class |


Dash Board
Actual budget
Ideal budget
Complete the options below. We'll use these as a reference so you can see if you are under or over your ideal budget when bidding gets hot!
Complete the options below. We'll use these as a reference so you can see if you are under or over your ideal budget when bidding gets hot!


|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
| Class Summary | |
|---|---|
| AttachmentPoint | |
| DefaultEntityClassifier | This is a default entity classifier that simply classifies all entities into a fixed entity class, with key fields of MAC and VLAN. |
| DefaultEntityClassifier.DefaultEntityClass | A default fixed entity class |
| Device | Concrete implementation of IDevice |
| DeviceIndex | An index that maps key fields of an entity to device keys |
| DeviceIndexInterator | An iterator for handling device index queries |
| DeviceIterator | An iterator for handling device queries |
| DeviceManagerImpl | DeviceManager creates Devices based upon MAC addresses seen in the network. |
| DeviceManagerImpl.DeviceUpdate | A device update event to be dispatched |
| DeviceMultiIndex | An index that maps key fields of an entity to device keys, with multiple device keys allowed per entity |
| DeviceUniqueIndex | An index that maps key fields of an entity uniquely to a device key |
| IndexedEntity | This is a thin wrapper around Entity that allows overriding
the behavior of Object.hashCode() and Object.equals(Object)
so that the keying behavior in a hash map can be changed dynamically |
| Enum Summary | |
|---|---|
| DeviceManagerImpl.DeviceUpdate.Change |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


Toggle navigation
SMART on FHIR
Authorization
Overview
Public clients
Confidential clients
Scopes and launch context
Data
Tutorials
Building a JavaScript app
Testing your app from localhost
Building a server: quick-start guide
Client libraries
Sandbox
Overview
Account Setup
How To Register an App
How To Test My App
Building Your Own Sandbox
Google Group
GitHub
{{ content }}
Caution!
HANDI-HOPD is pre-release: high energy, unstable API, evolving docs. If you spot problems, please
file an issue
. Or better yet, you can
edit this page
.
{% if site.env == "dev" %} {% endif %}


Salem
Set in 17th century colonial Massachusetts—a significant time in the history of American politics, religion and society— Salem brings you the real story behind the infamous witch trials. In Salem, witches are real, and they're behind it all. Salem Village and Salem Town feuded over property, grazing rights and church rights. The government was dominated by Puritan leaders. People were scrutinized closely and this resulted in obvious discord. They were afraid of being persecuted for anything that may offend the Puritan mindset. The word "witch" seemed an easy and appropriate curse hurled at someone who behaved abnormally.


{% load staticfiles %} {% include 'head.html' %} {% include 'nav.html' %}
The money paid to us will be fully refunded to you -
If we are unable to submit the Income Tax Returns by the end of next two working days, provided all the queries asked from you is fully furnished to us after payment.
Any Delay in providing us these details, the delay will not be counted to determine the time schedule for completion of the service.


Yazan Abu Sneneh
I am a software developer who is passionate about programming.
Code Weavers started Code Weavers Cuisine because we Believe food taste matter and we found that usually resturants do their food based only on menu and this menu tell us what we should taste, and we don't all agree on that.
That's why We (Code Weavers team) took this seriously and we decided to take revolutionary step and take different directions not only allow our customers to try famous meals, but also they can create their own meals.
Along the way, our customers will get the chance make their own gredients list and we will cook it based on customer desire by professional and certified chef.
We want to be your trusted partner when it come to food and your own personal preferece and we will do our best so you have best experience.
I am a software developer who is passionate about programming.
I am an Automatic Control and Computers engineer.
I'm Bashar Nofal, I'm an electrical engineer .
I studied a software engineering, iam a forntend developer
I'm Salah Alawneh, i studied mechanical engineering.


100% free online courses to get you on the right foot in the most desired technologies on the market.
Diego Fernandes
Free
Master web development from scratch and accelerate towards your goals.
Mayk Brito
Paid
Master the back-end, front-end and mobile using the method that will guide you straight to the point towards your goals.


Your Details
More Details:
add more specific details about yourself
Project Details
Project Budget:
Project Details:
add more project specific details


Ochuko Onojakpor
(He/Him)
Developer
Ochuko Onojakpor is a software engineer with a passion for open source, web development and technical writing. He tutors programming and leads various developer ambassador programs at Unilag, Nigeria.


Authentication using Neural Network Analysis of Pattern Tracing
Please log in to the system by tracing the black square shown below. You may trace the shape as many times as you would like to. When you are happy with your tracing, please click the "Log In" button.


A set of functions used to automate commonly used methods in regression analysis. This includes plotting interactions, calculating simple slopes, calculating standardized coefficients, etc. See the reghelper documentation for more information, documentation, and examples.
| Version: | 0.3.4 |
| Depends: | R (≥ 3.1.0) |
| Imports: | ggplot2 (≥ 1.0.0), stats, nlme, lme4, utils |
| Suggests: | testthat (≥ 0.8.1) |
| Published: | 2018-07-29 |
| Author: | Jeffrey Hughes [aut, cre] |
| Maintainer: | Jeffrey Hughes <jeff.hughes at gmail.com> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | reghelper results |
| Reference manual: | reghelper.pdf |
| Package source: | reghelper_0.3.4.tar.gz |
| Windows binaries: | r-devel: reghelper_0.3.4.zip, r-release: reghelper_0.3.4.zip, r-oldrel: reghelper_0.3.4.zip |
| OS X binaries: | r-release: reghelper_0.3.4.tgz, r-oldrel: reghelper_0.3.4.tgz |
| Old sources: | reghelper archive |
Please use the canonical form https://CRAN.R-project.org/package=reghelper to link to this page.


1,042
Daily Views
80
Sales
208
Comments
$6,042
Earning
Recent Orders
View All| Name | Price | Payment | Status |
| Star Refrigerator | $1200 | Paid | Delivered |
| Window Coolers | $110 | Due | Pending |
| Speakers | $620 | Paid | Return |
| Hp Laptop | $110 | Due | In Progress |
| Apple Watch | $1200 | Paid | Delivered |
| Wall Fan | $110 | Paid | Pending |
| Adidas Shoes | $620 | Paid | Return |
| Denim Shirts | $110 | Due | In Progress |
| Casual Shoes | $575 | Paid | Pending |
Recent Customers
David |
|
Muhammad |
|
Amelia |
|
Olivia |
|
Amit |
|
Ashraf |
|
Diana |
|
Amit |


Before Change
sentence = []
with open(args.text, "r") as f:
for line in f:
if line.strip():
text = line.strip().split()
if feature_indices:
text = {feature: text[feature_indices[feature]] for feature in feature_indices}
else:
text = text[0]
sentence.append(text)
else:
texts.append(sentence)
sentence = []
if sentence:
texts.append(sentence)
else:
with open(args.text, "r") as f:
After Change
texts = []
if args.conll:
feature_indices = feature_index_mapping(args.features)
for sentence in read_conll(args.text):
if feature_indices:
texts.append([{k: line[v] for k, v in feature_indices.items()} for line in sentence])
else:
texts.append([line[0] for line in sentence])
else:
with open(args.text, "r") as f:
for line in f:
text = line.strip().split()


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| Configuration
Class Configuration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.admin | |
|---|---|
| Configuration
Class Configuration. |
|
| FileType
The FileType object. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.managed | |
|---|---|
| Configuration
Class Configuration. |
|
| ManagedRepositoryConfiguration
Class ManagedRepositoryConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.networkproxy | |
|---|---|
| NetworkProxyConfiguration
Class NetworkProxyConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.proxyconnector | |
|---|---|
| Configuration
Class Configuration. |
|
| ProxyConnectorConfiguration
Class ProxyConnectorConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.remote | |
|---|---|
| RemoteRepositoryConfiguration
Class RemoteRepositoryConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.admin.repository.runtime | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ArchivaRuntimeConfiguration
The runtime configuration. |
|
| RedbackRuntimeConfiguration
The runtime configuration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.configuration | |
|---|---|
| AbstractRepositoryConfiguration
Class AbstractRepositoryConfiguration. |
|
| AbstractRepositoryConnectorConfiguration
Class AbstractRepositoryConnectorConfiguration. |
|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ArchivaRuntimeConfiguration
The runtime configuration. |
|
| CacheConfiguration
Cache configuration. |
|
| Configuration
Class Configuration. |
|
| ConfigurationEvent
ConfigurationEvent |
|
| ConfigurationListener
ConfigurationListener |
|
| FileType
The FileType object. |
|
| IndeterminateConfigurationException
Occurs when the configuration is stored in two locations and the save location can not be determined. |
|
| InvalidConfigurationException
An error in the configuration. |
|
| LdapConfiguration
The LDAP configuration. |
|
| LdapGroupMapping
configuration of a LDAP group to Archiva roles. |
|
| LegacyArtifactPath
Class LegacyArtifactPath. |
|
| ManagedRepositoryConfiguration
Class ManagedRepositoryConfiguration. |
|
| NetworkConfiguration
The network configuration for external http request to repositories. |
|
| NetworkProxyConfiguration
Class NetworkProxyConfiguration. |
|
| OrganisationInformation
The organisation information settings. |
|
| ProxyConnectorConfiguration
Class ProxyConnectorConfiguration. |
|
| ProxyConnectorRuleConfiguration
Class ProxyConnectorRuleConfiguration. |
|
| RedbackRuntimeConfiguration
The runtime configuration. |
|
| RemoteRepositoryConfiguration
Class RemoteRepositoryConfiguration. |
|
| RepositoryGroupConfiguration
Class RepositoryGroupConfiguration. |
|
| RepositoryScanningConfiguration
Class RepositoryScanningConfiguration. |
|
| UserInterfaceOptions
The user interface configuration settings. |
|
| V1RepositoryConfiguration
Class V1RepositoryConfiguration. |
|
| WebappConfiguration
The webapp configuration settings. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.configuration.functors | |
|---|---|
| AbstractRepositoryConfiguration
Class AbstractRepositoryConfiguration. |
|
| FileType
The FileType object. |
|
| NetworkProxyConfiguration
Class NetworkProxyConfiguration. |
|
| ProxyConnectorConfiguration
Class ProxyConnectorConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.configuration.io.registry | |
|---|---|
| AbstractRepositoryConfiguration
Class AbstractRepositoryConfiguration. |
|
| AbstractRepositoryConnectorConfiguration
Class AbstractRepositoryConnectorConfiguration. |
|
| ArchivaRuntimeConfiguration
The runtime configuration. |
|
| CacheConfiguration
Cache configuration. |
|
| Configuration
Class Configuration. |
|
| FileType
The FileType object. |
|
| LdapConfiguration
The LDAP configuration. |
|
| LdapGroupMapping
configuration of a LDAP group to Archiva roles. |
|
| LegacyArtifactPath
Class LegacyArtifactPath. |
|
| ManagedRepositoryConfiguration
Class ManagedRepositoryConfiguration. |
|
| NetworkConfiguration
The network configuration for external http request to repositories. |
|
| NetworkProxyConfiguration
Class NetworkProxyConfiguration. |
|
| OrganisationInformation
The organisation information settings. |
|
| ProxyConnectorConfiguration
Class ProxyConnectorConfiguration. |
|
| ProxyConnectorRuleConfiguration
Class ProxyConnectorRuleConfiguration. |
|
| RedbackRuntimeConfiguration
The runtime configuration. |
|
| RemoteRepositoryConfiguration
Class RemoteRepositoryConfiguration. |
|
| RepositoryGroupConfiguration
Class RepositoryGroupConfiguration. |
|
| RepositoryScanningConfiguration
Class RepositoryScanningConfiguration. |
|
| SyncConnectorConfiguration
Class SyncConnectorConfiguration. |
|
| UserInterfaceOptions
The user interface configuration settings. |
|
| V1RepositoryConfiguration
Class V1RepositoryConfiguration. |
|
| WebappConfiguration
The webapp configuration settings. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.consumers.core | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.consumers.core.repository | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.consumers.lucene | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.consumers.metadata | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.metadata.repository.file | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.proxy | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ProxyConnectorRuleConfiguration
Class ProxyConnectorRuleConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.reports.consumers | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.repository | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.repository.content.legacy | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.repository.content.maven2 | |
|---|---|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.repository.metadata | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.repository.scanner | |
|---|---|
| FileTypes
FileTypes |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.scheduler.indexing | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ConfigurationEvent
ConfigurationEvent |
|
| ConfigurationListener
ConfigurationListener |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.scheduler.repository | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ConfigurationEvent
ConfigurationEvent |
|
| ConfigurationListener
ConfigurationListener |
|
| ManagedRepositoryConfiguration
Class ManagedRepositoryConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.stagerepository.merge | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.web.startup | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ManagedRepositoryConfiguration
Class ManagedRepositoryConfiguration. |
| Classes in org.apache.archiva.configuration used by org.apache.archiva.webdav | |
|---|---|
| ArchivaConfiguration
Configuration holder for the model read from the registry. |
|
| ConfigurationEvent
ConfigurationEvent |
|
| ConfigurationListener
ConfigurationListener |
|
| RepositoryGroupConfiguration
Class RepositoryGroupConfiguration. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Product sign-off checks
Enable product sign-off checks for pull requests which are linked to Trello cards. A visible marker will be attached to each pull request showing whether or not it has been signed off by a product manager.
When to use this feature
To use this feature, your team’s workflow should have a product manager sign off stories before they are merged to the master branch of the codebase. If your team merges code before product review, this feature won’t be useful.
You may also consider requiring all status checks on a pull request to be passing before code can be merged. This can be configured in your repository's settings on GitHub.
Existing checks
{% if existing_product_signoff_checks|length > 0 %}
Trello boards with existing sign-off checks:
{% for product_signoff in existing_product_signoff_checks %}
| {{ product_signoff.trello_board.name }} |
{% endfor %}
{% else %}
You have not set up any product sign-off checks yet.
{% endif %}
Create a new check
{% if can_connect_more_boards %}
{% else %}
All the Trello boards you can access have already been connected.
{% endif %}


INDIA
THE POTENTIAL SUPERPOWER
A potential superpower is a state or a political and economic entity that is speculated to be , or
to be in the process of becoming, a superpower at some point in the 21st century. Presently, it is
widely considered that only the United States currently fulfills the criteria to be considered a
superpower. States most commonly mentioned as being potential superpowers are Brazil, China, the
European Union (a supranational entity),India and Russia, based on a
variety of factors.
Several media publications and academics have discussed the Republic of becoming a superpower.Is
India really shining?Is it really on the path of becoming a superpower? Optimistic Indians
would assert an affirmation but it is time one had a reality check India is surely marching ahead,
but are all the Indians marching ahead or is it just a small fraction of the population doing so?
India can surely boast of a growth rate of around 8-9 per cent, but one needs to ask if this growth
is trickling down to the lower strata of the populace.
Sixty three years ago in 1947 when India got independence , the question then asked was ‘ will India
survive’? today, India’s economic profile has changed. At over a trillion dollars, it is a force to
reckon with not just in Asia but in the entire world. With its new currency symbol to be
internationalized soon, India now flexes its financial muscle.
Soon after independence our nation was in turmoil. Assassination of Mahatma Gandhi, tragic partition
rendering millions of people homeless tribal invasion in J&K coupled with problem of consolidation
of five hundred princely states, to build a new nation was a mammoth task. After going through different phases of lows and highs, the doubtful
query ‘will India survive’ has been replaced by more hopeful query, will India become a
superpower?
INDIA'S HISTORY & GEOGRAPHY
India's earliest settlements are believed to have developed in the culture hearths of the Indus
Valley around 2600 BCE and in the Ganges Valley around 1500 BCE.
Aryan tribes are believed to have then invaded the area after they migrated into the Indian
subcontinent from the northwest. It is thought that they introduced the caste system, which is still
common in many parts of India today. During the fourth century BCE, Alexander the Great introduced
Greek practices into the region when he expanded across Central Asia. During the third century BCE,
the Mauryan Empire came into power in India and was most successful under its emperor,
Ashoka.Throughout subsequent periods Arab, Turkish and Mongol peoples entered India and in 1526, a
Mongol Empire was established there, which later expanded throughout most of northern India. During
this time, such landmarks as the Taj Mahal were also constructed.
Much of India's history after the 1500s was dominated by British influences. The first British
colony was established in 1619 by the English East India Company at Surat. Shortly thereafter,
permanent trading stations opened in present-day Chennai, Mumbai, and Kolkata. British influence
then continued to expand from these initial trading stations and by the 1850s, most of India and
other countries such as Pakistan, Sri Lanka, and Bangladesh were controlled by Britain. Queen
Victoria of England took the title of Empress of India in 1876.
By the late 1800s, India began a long struggle working toward independence from Britain. That
finally happened in the 1940s, when Indian citizens began to unite and British Labor Prime Minister
Clement Attlee (1883–1967) began to push for India's independence. On August 15, 1947, India
officially became a dominion within the Commonwealth and Jawaharlal Nehru (1889–1964) was named
India's Prime Minister. India's first constitution was written shortly thereafter on January 26,
1950, and at that time, it officially became a member of the British Commonwealth.
Since gaining its independence, India has undergone significant growth in terms of its population
and economy, however, there have been periods of instability in the country and much of its
population today lives extreme poverty.
The geography of India is diverse and can be divided into three main regions. The first is the
rugged, mountainous Himalayan region in the northern part of the country, while the second is called
the Indo-Gangetic Plain. It is in this region that most of India's large-scale agriculture takes
place. The third geographic region in India is the plateau region in the southern and central
portions of the country. India also has three major river systems, all of which have large deltas
that take over a large portion of the land. These are the Indus, Ganges, and Brahmaputra Rivers.
India's climate is also varied but is tropical in the south and mainly temperate in the north. The
country also has a pronounced monsoon season from June to September in its southern portion.
Hindi and English are India's official languages, but there are also 17 regional languages that are
considered official.
India has several cities that have undergone place name changes such as Bombay being renamed Mumbai.
These changes were mainly done in an effort to return the city names to local dialects, as opposed
to British translations.
INDIA'S INOVATIONS & CONTRIBUTIONS
INDIA AS A SUPERPOWER
India has yet to cross over many plateaus before it becomes a superpower in league with big nations.
I shall discuss here some of the core issues that if not attended to with strong political will and time bound action may rock the boat of country’s economic rejuvenation.
Escalating Population
India is second most populous country in the world, with over 1,210,193,422 people more than a sixth of world’s population. Already containing 17.31 per cent of the world population, India is projected to be populous country by 2025 surpassing China. India occupies 2.4 per cent of the world’s land and supports 17.5 per cent of world’s population. It seems the Govt has stopped all efforts to control the population explosion. Fearing public unrest and possible loss of vote bank after Sanjay Gandhi the successive Governments abandoned family planning programmes if at all some programme is being executed it is only as tokenism without political will.
EDUCATION SYSTEM AND CASTISM
China which is India’s competitor in becoming superpower is empowering its youth by opening up high number of universities, imparting education and teaching English. India, on the other hand, is still fighting implementation of quotas for students and faculty. Meanwhile, students with potential have to resort to continuing education in private universities which often fail to meet the required standards.
MONSOON AND AGRICULTURE
Agriculture and allied sectors like forestry and village industry account 16 per cent of GDP and despite a steady decline of its share in GDP, is still the largest economic sector which plays a significant role in the overall socio-economic development of the country. Slow agriculture growth is a major area of concern is tow- third of country’s population depends on rural employment for living. Monsoon plays a crucial role in agriculture production. Due to lack of adequate irrigation system, increased dependence on monsoon has tremendous impact on Indian agriculture; failure of monsoon, as we have seen in the past, has the capacity to destabilize the entire economy of the country.
Any country on a growth trajectory has to face several hurdles created by external and internal factors during transition period. It largely depends on the collective will power of the citizens who face these changing’s and overcome all obstacles that may come in the way of their country becoming a superpower. However, going by the slogan, ‘man mai hai vishawas pura hai vishwas hum hongay kamyab aik din’, we shall overcome someday.


Edit 0 Option - Edit .
Press 0 to change Edit Mode Options.
Use the dialog to set Size, Rotation, Flip Axis and Visibility
RotationSets angle of rotation-360 to 360
Scaling Sets resize factors.01 to 100
MirrorSets flip axisX Y Z


I am using two RFM12bs to send code from the pushbutton to turn on or off my lights wirelessly on for my bike. I have altered the send code that you use to send the energy code. Everything works except that when I press for example, I press the button once, the code send -1 but then after a while even though nothing is pressed it resets itself to zero.
The code works fine when I take out the watchdog but I was wondering if there is a way to keep the watchdog and save the variable somehow for lower power?
Below is code
#include <JeeLib.h>
#include <Arduino.h>
#define CLICK_DEBOUNCE_DELAY 20
#define CLICK_MULTICLICK_DELAY 250
#define CLICK_HELDDOWN_DELAY 5000
#define CLICK_PULLUP HIGH
// For now limit to tripleclicks
#define CLICK_MAX_BUTTON_PRESSES 3
// the decoded functions
#define CLICK_TRIPLECLICKED -3
#define CLICK_DOUBLECLICKED -2
#define CLICK_SINGLECLICKED -1
#define CLICK_SINGLECLICK 1
#define CLICK_DOUBLECLICK 2
#define CLICK_TRIPLECLICK 3
#define CLICK_SINGLEHOLD CLICK_MAX_BUTTON_PRESSES + 1
#define CLICK_DOUBLEHOLD CLICK_MAX_BUTTON_PRESSES + 2
#define CLICK_TRIPLEHOLD CLICK_MAX_BUTTON_PRESSES + 3
#define pin 7
// Arduino pin connected to the button
boolean reading; // Current button state
boolean active; // Type of button - active LOW or HIGH
boolean lastReading; // previous button reading
int buttonPressNr; // Number of times button is pressed within CLICK_MULTICLICK_DELAY milliseconds
boolean debouncedButton; // the currently debounced button state
long lastBounceTime;
int click =0;
#define Button_Push 6
// the Button
//const int buttonPin1 = 7;
//ClickButton button1(buttonPin1, LOW,CLICK_PULLUP);
// Needs to store the previous returned button click code
int lastClickCode = 0;
int val = 0;
int old_val = 0;
int state = 0;
#define freq RF12_915MHZ // Frequency of RF12B module can be RF12_433MHZ, RF12_868MHZ or RF12_915MHZ. You should use the one matching the module you have.
const int nodeID = 10; // emonTx RFM12B node ID
const int networkGroup = 210; // emonTx RFM12B wireless network group - needs to be same as emonBase and emonGLCD
const int UNO = 1; // Set to 0 if your not using the UNO bootloader (i.e using Duemilanove) - All Atmega's shipped from OpenEnergyMonitor come with Arduino Uno bootloader
#include <avr/wdt.h>
#include <JeeLib.h> // Download JeeLib: http://github.com/jcw/jeelib
ISR(WDT_vect) { Sleepy::watchdogEvent(); } // Attached JeeLib sleep function to Atmega328 watchdog -enables MCU to be put into sleep mode inbetween readings to reduce power consumption
typedef struct { int buttonState;} PayloadTX; // create structure - a neat way of packaging data for RF comms
PayloadTX emontx;
// On-board emonTx LED
void setup()
{
Serial.begin(9600);
rf12_initialize(nodeID, freq, networkGroup); // initialize RFM12B
rf12_sleep(RF12_WAKEUP);
if (UNO) wdt_enable(WDTO_8S); // Enable anti crash (restart) watchdog if UNO bootloader is selected. Watchdog does not work with duemilanove bootloader // Restarts emonTx if sketch hangs for more than 8s
pinMode(pin,INPUT);
pinMode(Button_Push,OUTPUT);
}
void loop () {
digitalWrite(Button_Push,HIGH);
reading = digitalRead(pin);
// if (!active) reading = !reading; // Just to make the button logic in code active-high
long now = (long)millis(); // prevents rollover issue by using signed arithmetic (I think)
// If the switch changed, due to noise or pressing reset the debouncing timer
if (reading != lastReading) lastBounceTime = now;
// If no buttons were pressed within doubleClickDelay milliseconds, start a new buttonpress cycle
if (now - lastBounceTime > CLICK_MULTICLICK_DELAY) buttonPressNr = 0;
// Check if a debounced, changed state has occured
if (now - lastBounceTime > CLICK_DEBOUNCE_DELAY && reading != debouncedButton)
{
// whatever the reading is at, it's been there for longer
// than the debounce delay, so take it as the actual current state:
debouncedButton = reading;
// Check if the button is currently pressed down or not
if (debouncedButton) click = ++buttonPressNr;
else click = 0 - buttonPressNr;
}
// limit number of clicks / button presses
if (buttonPressNr > CLICK_MAX_BUTTON_PRESSES) buttonPressNr = CLICK_MAX_BUTTON_PRESSES;
// Check to see if a button is held down for a longer time
if (debouncedButton && (now - lastBounceTime > CLICK_HELDDOWN_DELAY) && click < (CLICK_MAX_BUTTON_PRESSES+1))
{
// Set function according to a preceding doubleclick or not
click += CLICK_MAX_BUTTON_PRESSES;
}
lastReading = reading;
Serial.println(click);
emontx.buttonState = click;
send_rf_data(); // *SEND RF DATA* - see emontx_lib
}
Thanks,
Dawn
Re: Wireless Bike Light using your code
I can't see where you are resetting the watchdog timer. That's why it is timing out, and when that happens the program restarts from the top. You need "wdt_reset();" somewhere in your main loop.
Re: Wireless Bike Light using your code
That did the trick.
Thanks.
Re: Wireless Bike Light using your code
Isn't it also transmitting continuously? I can't see anything in loop() that causes any delay. If you're running on batteries, and to restrict radio channel use, you only need to transmit when the button is pressed.
Re: Wireless Bike Light using your code
I do want to do that along with other low power techniques but haven't written the code yet. I keep running into unexpected issues with the signal.
cheers,
Dawn.
Re: Wireless Bike Light using your code
What kind of unexpected issues? They might be related to you transmitting continuously!
If I'm reading your code correctly, you're transmitting a number that relates to the history of button-presses every time your code loops, i.e. continuously, essentially limited only by the time taken to do the print statement and transmit the data.
I've no idea what you are actually trying to achieve, nor what you have at the receiving end, but it looks to me as if you are putting half your intelligence in the transmitter and half in the receiver. It would be easier if you concentrated all - or very nearly all - of the intelligence at one end or the other. Can I suggest that you rethink the overall strategy along these lines:
At the transmitter, debounce the switch and then send one code once (or maybe a small number of times, say 3 times at 100 ms intervals) meaning "the button has been pressed". Then at the receiver you implement the decoding to - I presume - toggle the lamp on and off for each button press.
Using that strategy, you could make it so that your pushbutton connected the power to the transmitter, which then transmitted the code more-or-less immediately. That would be the ultimate battery-saving technique - for the transmitter at any rate. The receiver clearly needs to be powered continuously in order to be able to receive the commands.
Re: Wireless Bike Light using your code
Is this what you mean?
Code from emontx lib.
void send_rf_data()
{
rf12_sleep(RF12_WAKEUP);
// if ready to send + exit loop if it gets stuck as it seems too
int i = 0; while (!rf12_canSend() && i<10) {rf12_recvDone(); i++;}
rf12_sendStart(0, &emontx, sizeof emontx);
// set the sync mode to 2 if the fuses are still the Arduino default
// mode 3 (full powerdown) can only be used with 258 CK startup fuses
rf12_sendWait(2);
rf12_sleep(RF12_SLEEP);
}
void emontx_sleep(int seconds) {
if (emontx.battery > 3300) {
for (int i=0; i<seconds; i++) {
delay(1000);
if (UNO) wdt_reset();
}
} else Sleepy::loseSomeTime(seconds*1000);
}
Re: Wireless Bike Light using your code
Dawn, I'm struggling to see the overall picture. I'm seeing some of the detail but I'm missing a lot - like what's happening at the receiving end. I'm worried that you're bogged down in detail when the detail isn't the problem. Can you tell me in words what you are trying to achieve and broadly how you are going about it?
(I'm looking for:
When I press the button on the transmitter once, it turns the light on.
When I press it twice in quick succession, it turns the light off.
In between, the light stays in the last state, either on or off.
In the receiver, the light is connected to a DIO pin via a driver transistor.
alternatively
When I press the button on the transmitter once, it sends a code every 10 s to turn the light on.
When I press it twice in quick succession, it sends a code to turn the light off.
If the transmitter goes out of range, the light turns off automatically after 25 s.
or something like that).
The emontx library that you quoted: the first function sends the data, the second sleeps the transmitter for a number of seconds, as a battery-saving measure. The first you will need, I don't think the second is going to be much use to you, but at this stage I can't tell for sure.
Re: Wireless Bike Light using your code
Robert,
Thank you for your reply. Sorry, it took so long to get back to you. I was having a hardware issue that took sometime to get sorted out. I put up a very rough draft of project here, http://cycedtobike.com/project.html
The main problem is that after 2-5 minutes it stops working and then it has to be reset. I tried a few different things with the code and it did not help. I am thinking that the issue is because the watchdog probably needs to be used to prevent crashing, although when I put it in the code, it did not seem to help.
Does that seem right? or is there another issue going on?
Thanks,
Dawn.
Re: Wireless Bike Light using your code
I had a quick look at your circuit diagrams and I noticed that you have no series resistors for your optocoupler diodes. This will cause very large currents to flow which will at the very least flatten your battery quickly and may damage the ATmega chip.
You shouldn't need a watchdog if your code is working correctly. It's only intended as failsafe for when things go haywire.
Re: Wireless Bike Light using your code
I did add latter while trying to trouble shoot a 1k resistor to the optocoupler but I still keep running into the same problem.
Re: Wireless Bike Light using your code
The hardware problem:
I have not checked up on the opto-isolator that you're using, but having no current limiting resistor is, as Martin says, definitely wrong; but equally a 1 kOhm resistor sounds far too high. The LED in the opto is likely to require about the same current as any other LED, so I would expect a series resistor of around 100 R. You need enough current for the opto-isolator to work, but not so much that it blows up the Arduino.
Also as Martin says, the watchdog should reset the Arduino if the software locks up for an unknown and unforeseen reason. Ideally, it should never have a need to work.
The software problems:
It's a long shot, but use the very latest JeeLib release for the RFM12B drivers. An issue was discovered with the EmonGLCD software, and fixed within the last few days. It seems unlikely that you have the same conditions, but it's worth using the latest version nonetheless.
As for any other problems in there: sorry, my crystal ball has clouded over. Tell me in words what you are trying to achieve with the button(s), and I'll try to help you. You really can't expect me to spot a basic flaw in your logic until I know what you are trying to do. If you need to keep your specification secret, that's fine, send it to me in a PM.
Re: Wireless Bike Light using your code
Robert,
Trying the new release for the RFM12B driver is a really good idea. Yes, I think you are right, the resistor.
Also, I posted a quick demo video and code here, http://cycedtobike.com/project.html. The video and code is at the bottom of the page. Is this the specifications you are talking about?
Thanks,
Dawn.
Re: Wireless Bike Light using your code
Sorry, that video won't download for me. All I want is some words - in the form that I posted on Thu, 07/02/2013 - 01:04. Now I've got the circuit diagrams of your transmitter - but it still doesn't show the pushbutton(s) - and the receiver, I've got a better idea of your hardware.
One point regarding that: you seem to be switching the a.c. supply to the electro-luminescent panels, but you're not switching the d.c. supply to the inverter. This means that the inverter will be running all the time and will drain your batteries. That might be a problem you want to address.
Re: Wireless Bike Light using your code
What it does is
when I push the button once, the device transmits -1, and the el panel flashes on the right side and the left side is off
when I push the button twice,the device transmits -2 and one the el panel flashes on the left side and the right side is off
when I delay click,the device transmits 0 and both el panels are flashing.
I reloaded the jeelabs library and it seems to be working better but it does need testing to be sure.
I know that my code need a lot of cleaning up, but added a zip file is that helps.
Thanks,
Dawn.
Re: Wireless Bike Light using your code
That's what I needed! OK, I'll take a look at the code later today or tomorrow and try to see what's wrong.
Re: Wireless Bike Light using your code
I see a gap in your specification: What turns the indications off?
And what is a "delay click"? Is it hold the button down for a long time?
Re: Wireless Bike Light using your code
I turn the indicator off by switching off the power with switched on my battery pack.
And yes, the delay click is holding it for a second or longer.
Re: Wireless Bike Light using your code
These two sketches seem to work for me using "standard shop" emonTx as the transmitter and nanodeRF as the receiver.
I think the main problem was there were no delays in the main loop so it was catching its own tail. RF is now only sent every 400 ms.


Bobbie Alexander
Democrat
Management Analyst for the City and County of Denver
Masters of Business Administration Bachelor of Arts in Sociology/ Criminal Justice
80249
I was a Registration Judge for the 2020 Election.
I was an Enumerator with the 2020 Census. I was a Registration Judge for the 2020 Election. I have participated in 10+ focus groups, which have covered various topics. I am a Black Belt in the City and County of Denver's PEAK Academy which focuses on eliminating waste from processes and making the processes more efficient.
For 8+ years I was a Facilitator for Team Decision Making meetings where I facilitated Team Decision Making meetings for the Denver Department of Human Services- Protection and Prevention Division. I would coordinate meetings which included a variety of stakeholders (Parents, relatives, Kinship/foster parents, attorneys, therapists, school professionals, church/community members etc.).
I would be honored to serve on the commission because I am a Native of Colorado who is aware there is a lack of diversity to redraw the political maps.
The beauty of multi-systemic teams is that people come together to offer diverse experiences and opinions. I was a Facilitator of Team Decision Making meetings for residents of Colorado, which included various stake holders, for eight years. I saw the power of coming up with plans, with the goal of reaching a consensus. Often times, not everyone agreed, but we ended the meetings with a plan that the involved parties could live with. My responsibility was to ensure that everyone felt heard. I will contribute on a commission by respecting other's opinions but ensuring that I give my opinion when, the floor is open for me to do so. In my current position and for the past 12+ years, in my various roles, I have demonstrated that I can be fair and impartial, and I will be an active participant, who listens to others, and that will actively work toward reaching a consensus.
I have been a Management Analyst for the past 4 years which I have managed to learn and utilize analytical skills. I addition, I have participated in numerous courses that have taught me to eliminate waste from processes and think logically. As a result, I have demonstrated that I can be analytical and apply logic.
Female


Filters
The Connected Fleet
Service Filter
StopNow
ServiceNow
ServiceSoon
ServiceInfo
None
Vehicle Movement
In Motion
Stopped
Update Search
VIN:
Address:
Timestamp:
Telemetry Info
Longitude:
TSP Provider:
Latitude:
Odometer:
GpsSpeed:
Total Engine Time:
GpsStatus:
Total Idle Time:
Heading:
Total Fuel Usage:
RentMe Unit Details
Customer Name:
Unit #:
Engine Make:
Unit Fault
SPN:
FMI:
Fault Code:
Fault Code ID:
Description:
Instructions:


Handles datetimes as integers for the usage inside Discrete-Event Simulations (DES). The conversion is made using the internally generic function as.numeric() of the base package. DES is described in Simulation Modeling and Analysis by Averill Law and David Kelton (1999) <doi:10.2307/2288169>.
| Version: | 3.0.0 |
| Suggests: | testthat, knitr, rmarkdown, microbenchmark, lubridate |
| Published: | 2017-12-21 |
| Author: | Adrian Staempfli, Christoph Strauss, Michael Schmid |
| Maintainer: | Adrian Staempfli <adrian.staempfli at fhsg.ch> |
| License: | GPL-3 |
| URL: | http://github.com/ims-fhs/simtimer |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | simtimer results |
| Reference manual: | simtimer.pdf |
| Vignettes: |
simtimer |
| Package source: | simtimer_3.0.0.tar.gz |
| Windows binaries: | r-devel: simtimer_3.0.0.zip, r-release: simtimer_3.0.0.zip, r-oldrel: simtimer_3.0.0.zip |
| OS X binaries: | r-release: simtimer_3.0.0.tgz, r-oldrel: simtimer_3.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=simtimer to link to this page.


Paragraph 1
Paragraph 2
- list 1
- list 3
This is code 1
Paragraph 3
Paragraph 4
- list 1
- list 2
- list 3
This is code 2
Paragraph 5
Paragraph 6
This is code 3
Paragraph 7
Paragraph 8
This is code 4
Paragraph 9
Paragraph 10
This is code 5


Real deal open source WebGL performance data
WTF is this
Graphics information exposed by the WebGL API is unreliable and doesn't give you an approximation of performance. We record the GL renderer name and match it with benchmark results, so you know exactly what to expect from a user's GPU. The more people that use the benchmark, the more accurate we'll be.
GPU info exposed by the WebGL API is unreliable and doesn't give you performance data. We fix that.
The WebGL API does expose some information about your GPU. Unfortunately, not only is this info sometimes inaccurate, but it don’t really give you an idea of the performance you can expect a device to have.
We fix that.
Benchmark.GL stress tests GPUs and stores the results. The more people who hit the benchmark, the more accurate the data will be. Contribute to the project by benchmarking your device!
{# >Benchmark #}We then take that data, normalize it, and dump it into an NPM package. You use it to calibrate your WebGL apps to match the capabilities of your users' devices.
Quickstart
Install the library
$ npm install --save benchmark.gl
Use
const bmgl = require("benchmark.gl");
const performanceQuotient = bmgl.calibrate({
preset: 'graphics' // or 'compute', 'shader'
});
That's it.
Contribute
We need you to make Benchmark.GL work! The more data we have, the more accurate it will be.
Hit the benchmark with every device you have. Hit it multiple times. Tell your friends. Tell that one cousin you have that nobody likes much you know the one.
Hit the benchmark Tweet it Faceboook it


{{ playerName }} score: {{ playerTotal }}
Twenty One
House Score: {{ houseTotal }}
Enter your name:
Play
Winner: {{ announceWinner }}
{{ roll }}
{{ playerName }} Total: {{ getPlayerTotal }}
{{ roll }}
House Total: {{ getHouseTotal }}
Play Again!
Game History
Round: {{ index }} {{ playerName }} Total: {{ game.playerTotal }} House Total: {{ game.houseTotal }} Winner: {{ game.winner }}


-
Data Science Intern @GE Aviation Digitial
- To automate the model invention process for part damage severity predictions, I developed and maintained scikit-learn compatibile Python packages together with my supervisor.
- Python About GE aviation digital
-
Exchange Student @Uppsala University, Sweden
-
Uppsala University is the oldest university in Sweden and all of the Nordic countries still in operation, founded in 1477. There I studied at the department of Information Technology and began to systematically enter the field of Data Mining and Machine Learning. The courses I took include Data Mining 1, Computer Assisted Image Analysis 1 and Aritificial Intelligence.
#AI course projects
I also participated research at InfoLab for Clustering in Temporal Network as a special course project for Data Mining 1 - About UU IT department
-
Uppsala University is the oldest university in Sweden and all of the Nordic countries still in operation, founded in 1477. There I studied at the department of Information Technology and began to systematically enter the field of Data Mining and Machine Learning. The courses I took include Data Mining 1, Computer Assisted Image Analysis 1 and Aritificial Intelligence.
#AI course projects
-
Undergraduate @Univ. of Electronic Sci.&Tech. of China
-
Oh, this is where I came from, where I started my jounery as a coder, where I suffered from disappointment and confusion and where I rediscovered enthusiasm and moved on.
Anyway. Projects I've done during this period include:
- Chinese poetry generation website (Use LSTM model and Tensorflow as well as Flask)
- Compiler design (from syntax analysis till the construction of AST, built for python scripts)
- 信软官网传送门
-
Oh, this is where I came from, where I started my jounery as a coder, where I suffered from disappointment and confusion and where I rediscovered enthusiasm and moved on.


--- layout: post title: Error ／ エラー ／ 錯誤 permalink: /error/ bg: '#fcc' ---
Not found, no kidding. Go home.


Continual Updates on Commenters' Saltiness
Ever wonder who's the saltiest member of the community? There's finally a way to find out!
Top Salt of the Day!
Saltiest Commenters of All Time!
LOLBOOMERS - salty score of 840
emperorTRUMP69 - salty score of 780
Kushlord2004 - salty score of 760
vodkaking_49 - salty score of 640
Do ppl actualy still have money in crypto? LOOOL - Pistolpete82
Well I have a PHD in Cybersecurity so I actually know what I'm talking about...unlike these peasants - noscope420
meh, none of this matters, coronavirus will wipe us all out - notabot101001


Introduction
The graph shows the results of TD-IDF analysis made on the texts taken from the first 200 web pages from Google. The queries used to search are “file sharing”+ effects, “file sharing”+ consequences, piracy effects and piracy consequences. TF-IDF is a numeric statistic that is intended to reflect how important a word is to a collection of corpus. The value increases proportionally to the number of times a word appears in the text, but is offset by frequency, which helps to adjust the fact that some words appear more frequently in general.


|
Name
|
Type
|
Description
|
| graphicsMemorySizeInKB | LongOption |
The minimum, maximum, and default values for graphics memory size.
Since vSphere API 6.0
|
| graphicsMemorySizeSupported | BoolOption |
Flag to indicate whether the virtual video card can specify the size
of graphics memory.
Since vSphere API 6.0
|
| numDisplays | IntOption |
Minimum, maximum and default value for the number of displays.
Since vSphere API 4.0
|
| support3D | BoolOption |
Flag to indicate whether the virtual video card supports 3D functions.
Since vSphere API 4.0
|
| use3dRendererSupported | BoolOption |
Flag to indicate whether the virtual video card can specify how to render 3D graphics.
Since vSphere API 5.1
|
| useAutoDetect | BoolOption |
Flag to indicate whether the display settings of the host should
be used to automatically determine the display settings of the
virtual machine's video card.
Since vSphere API 4.0
|
| videoRamSizeInKB | LongOption |
Minimum, maximum and default size of the video frame buffer.
|
|
Properties inherited from VirtualDeviceOption |
| autoAssignController, backingOption, busSlotOption, connectOption, controllerType, defaultBackingOptionIndex, deprecated, hotRemoveSupported, licensingLimit, plugAndPlay, type |
|
Properties inherited from DynamicData |
| None |


Update: 9 March 2017
Thanks to The Climate Corporation, we backfilled the HRRR archive to 15 July 2016.
The CHPC Pando archive object store system failed. All our archived HRRR and GOES-16 files were lost. The backup of the archive on Google Drive managed by CHPC was found subsequently to have failed as well.
The failure has hindered my research, and we realize many of you relied on the data for your own work. We apologize for the inconvenience this may cause you and your organization. The archive was an experimental system, and we learned yet another valuable lesson: even redundant archive systems can have undocumented single points of failures.
We plan on rebuilding the archive once the Pando system is repaired beginning with files from 1 January 2018. These repairs and data transfers may not be completed until mid-February. Data prior to 1 January 2018 is lost.
In the meantime, limited archives exist other places.
- GOES-16 data can be found on Amazon S3 (last 60 days) and OCC (last 7 months).
- HRRR data is more limited. The raw GRIB2 files, like we had, are only
available for the last two days on
NOMADS.
An archive of the last seven-days can be found on Amazon S3, though the formating is different.
ESRL also has an archive, but only of f01 for 80-m winds and downward solar radiation for 2013-2017.
NOAA ARL has an archive in ARL format since June 2015. These are for hour f01 and only select variables. It looks like you can convert it to NetCDF with MeteoInfo.
You are receiving this message as you are the PI of a group that owns space on the CHPC archive storage solution, Pando.
As many are aware, we started to have issue with accessing the data on Pando about two weeks ago. There was an initial failure of a large number of encryption partitions on the drives, after which the system was never able to complete the rebuilding process. Analysis of the problem indicated the need for more memory in each of the servers. However, doubling the memory, which was done last week, did not help, as the rebuild process was stuck in a feedback loop from which it could not recover. At this point the state of the object store was already beyond repair. We will mention that there is no issue with the hardware, other for the need for more memory to support the number of objects/the amount of data, which we have already addressed.
At this time, we have exhausted efforts to make the data accessible and have determined it is time to start a fresh installation - meaning that all data is lost. We will be starting this process on Monday January 29 and will notify you when the storage is again available for use. We estimate this will take about a week.