I often tell people to "help me help you," and now that I am in the student seat again, I need to remind myself to heed my own advice.
I've asked many questions since I've started Dev Bootcamp. Most of them are directed to friends or cohort-mates. I think that a lot of Phase 0 is learning how to learn, identifying what resources there are, and gaining experience in utilizing them efficiently. In some cases, it is easier and more effective to ask someone rather than read about it on the web. In other cases, the process of finding multiple sources to read is as important as learning the content/concept itself. What I am most guilty of is asking someone for help too soon.
The best questions do not require a back-and-forth. The questions I posit should contain all of the necessary information needed for someone to understand the context, the goal, the constraints, and the issue -- and nothing more.
How to Ask a Good Question
...first...
(1) Spend sufficient time trying to answer it on my own. (Don't be impatient!)
(2) Look to resources that are available to me (ie. Stack Overflow, textbooks, previous working code...)
...then...
(3) Form a specific and descriptive question.
(4) Provide example code that is succinct and can stand alone.
(5) If there are constraints, list them.
(6) Present the error message you are receiving and what line threw it.
(7) Edit and polish your question: no typos, not verbose.
(8) Respond to feedback.
The best check is to imagine answering my own question. If I have any trouble at all, I can see how difficult it'd be for someone else who is looking at it for the first time.


Reveal: closeOnClick option
This modal should not close when clicking/tapping outside of it.
Clicking/tapping outside of me SHOULD NOT close me.
This modal should close when clicking (desktop) or tapping without swiping (mobile) outside of it.
Clicking (desktop) or tapping without swiping (mobile) outside of me SHOULD close me.


%! import cgi import splunk.util from splunk.appserver.mrsparkle.lib import message # the view code no longer uses anything in the _helpers file, because everything that # used to be here was pulled up into view.html so that the inheritance could work # properly. # we may have a need for this file in the future though, for little helper utils # and things that dont need actual inheritance but are not broad enough to go into # the lib file. %> <%namespace name="lib" file="//lib.html" import="*"/> <%def name="message(level, msg)"> <%def name="js_msg(level, msg)"> Splunk.Messenger.System.getInstance().send(${jsonify(cgi.escape(level))}, 'Splunk.Module.Template', ${jsonify(cgi.escape(msg))}) %def> % if not is_xhr(): <%lib:add_script_block> ${js_msg(level, msg)} %lib:add_script_block> % else: <% message.send_client_message(level, msg) %> % endif %def> <%def name="inlineMessage(level, msg)">
%def>


Gameday 17: Penguins vs. Blackhawks
by rezPenguins vs. Islanders
PPG Paints Arena | Pittsburgh, PA
7:00PM Eastern | AT&TSN-PT | NBCSCH | NHL-N
Welcome back to weekend gameday. The gameday that’s getting a late start on the season, but it’s the weekend, so you didn’t notice.
The Penguins are coming off a huge comeback win, stopping the Isles 10 game win streak. They did this recovering from a 3-0 deficit to win in overtime. It would have been 3 straight losses for the Pens heading into tonight’s tilt with the Blackhawks.
Instead things look much rosier after that win with three straight dumpster fires lined up: Chicago, the Rangers, and the Devils. A really good chance for the Pens to pick up 7 or 8 points over the next week. These early stretches to bank points are crucial for playoff bound teams.  Not as fun….
The Blackhaws have lost 7 of their last 10 picking up 8 points over that span. Kane is still scoring and Debrincat looks dangerous, but Toews continues to show his age and all of a sudden Corey Crawford is a .900 guy not a .920 guy. Good combination to lose a lot of hockey games!
HOWEVER
Lines:
Galchenyuk-Crosby-Guentzel
McCann-Malkin-Rust
Simon-Bjugstad-Kahun
ZAR-Blueger-Tanev
Dumo-Marino
Pettersson-Schultz
Johnson-Riikola
Murray
Chicago:
Nylander-Toews-Saad
Debrincat-Strome-Kane
Caggiula-Kampf-Dach
Smith-Carpenter-Shaw
Boqvist-Keith
De Haan-Seabrook
Maatta-Gustafsson
Lehner or Crawford
Olli Maatta, hey there buddy. That bottom 6, whoa boy.
Good time to go streaking. Go Pens


Shared Data¶
GalSim includes some ancillary data along with the installed code. They are installed in
the sub-directory share
wherever your GalSim module is installed.
The location of these files are given by the variable
-
galsim.meta_data.
share_dir
¶ The installed location of your
share
directory.
Note
Normally, the installation process will write a file called meta_data.py
which sets
the above variable automatically to the installation directory on your machine.
However, if you install into a temporary location and then move the entire galsim directory to
a different location, this will not have the correct location. (It will instead be set to the
temporary location.) If you do this, you should define an environment variable,
GALSIM_SHARE_DIR, to the correct location of the share
directory. Alternatively, you can
set the value of galsim.meta_data.share_dir
by hand in any Python programs that might need
it.
Usually, you do not need to use the galsim.meta_data.share_dir
variable directly. Routines
that open files that might be in the share
directory will automatically prepend this directory
name to the given file name when trying to open the file.
The following files are distributed in the share
directory. In each case, we provide the
command you would typically use to load the file with the appropriate GalSim class or function.
Shared SED files¶
- vega.txt
Use
galsim.SED('vega.txt', wave_type='nm', flux_type='flam')
Specrum of the star Vega (aka Alpha Lyra), derived from HST CALSPEC data. File taken from http://www.stsci.edu/hst/observatory/crds/calspec.html Filename: alpha_lyr_mod_001.fits Clipped on the red side at 2200 nm Units converted to nm and erg/s/cm^2/nm.
- CWW_E_ext.sed
Use
galsim.SED('CWW_E_ext.sed', wave_type='A', flux_type='flam')
E SED of Coleman, Wu, and Weedman (1980) Extended below 1400 A and beyond 10000 A by Bolzonella, Miralles, and Pello (2000) using evolutionary models of Bruzual and Charlot (1993)
Obtained from ZPHOT code at
http://webast.ast.obs-mip.fr/hyperz/zphot_src_1.1.tar.gz
Truncated to wavelengths less than 22050 Angstroms, and thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-5 with fast_search=False. See devel/modules/getSEDs.py for details.
- CWW_E_ext_more.sed
Use
galsim.SED('CWW_E_ext_more.sed', wave_type='A', flux_type='flam')
Same as CWW_E_ext.sed, but thinned to a relative error of 1.e-3
- CWW_Im_ext.sed
Use
galsim.SED('CWW_Im_ext.sed', wave_type='A', flux_type='flam')
Im SED of Coleman, Wu, and Weedman (1980) Extended below 1400 A and beyond 10000 A by Bolzonella, Miralles, and Pello (2000) using evolutionary models of Bruzual and Charlot (1993)
Obtained from ZPHOT code at ‘http://webast.ast.obs-mip.fr/hyperz/zphot_src_1.1.tar.gz’
Truncated to wavelengths less than 22050 Angstroms, and thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-5 with fast_search=False. See devel/modules/getSEDs.py for details.
- CWW_Im_ext_more.sed
Use
galsim.SED('CWW_Im_ext_more.sed', wave_type='A', flux_type='flam')
Same as CWW_Im_ext.sed, but thinned to a relative error of 1.e-3
- CWW_Sbc_ext.sed
Use
galsim.SED('CWW_Sbc_ext.sed', wave_type='A', flux_type='flam')
Sbc SED of Coleman, Wu, and Weedman (1980) Extended below 1400 A and beyond 10000 A by Bolzonella, Miralles, and Pello (2000) using evolutionary models of Bruzual and Charlot (1993)
Obtained from ZPHOT code at ‘http://webast.ast.obs-mip.fr/hyperz/zphot_src_1.1.tar.gz’
Truncated to wavelengths less than 22050 Angstroms, and thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-5 with fast_search=False. See devel/modules/getSEDs.py for details.
- CWW_Sbc_ext_more.sed
Use
galsim.SED('CWW_Sbc_ext_more.sed', wave_type='A', flux_type='flam')
Same as CWW_Sbc_ext.sed, but thinned to a relative error of 1.e-3
For more details about how the above files were generated, see the script:
GalSim/devel/getSEDs.py
Shared Bandpass files¶
- ACS_wfc_F435W.dat
Use
galsim.Bandpass('ACS_wfc_F435W.dat', wave_type='nm')
ACS wfc_F435W total throughput File taken from http://www.stsci.edu/hst/acs/analysis/throughputs/tables/wfc_F435W.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- ACS_wfc_F606W.dat
Use
galsim.Bandpass('ACS_wfc_F606W.dat', wave_type='nm')
ACS wfc_F606W total throughput File taken from http://www.stsci.edu/hst/acs/analysis/throughputs/tables/wfc_F606W.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- ACS_wfc_F775W.dat
Use
galsim.Bandpass('ACS_wfc_F775W.dat', wave_type='nm')
ACS wfc_F775W total throughput File taken from http://www.stsci.edu/hst/acs/analysis/throughputs/tables/wfc_F775W.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- ACS_wfc_F814W.dat
Use
galsim.Bandpass('ACS_wfc_F814W.dat', wave_type='nm')
ACS wfc_F814W total throughput File taken from http://www.stsci.edu/hst/acs/analysis/throughputs/tables/wfc_F814W.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- ACS_wfc_F850LP.dat
Use
galsim.Bandpass('ACS_wfc_F850LP.dat', wave_type='nm')
ACS wfc_F850LP total throughput File taken from http://www.stsci.edu/hst/acs/analysis/throughputs/tables/wfc_F850LP.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_u.dat
Use
galsim.Bandpass('LSST_u.dat', wave_type='nm')
LSST u-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_u.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_g.dat
Use
galsim.Bandpass('LSST_g.dat', wave_type='nm')
LSST g-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_g.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_r.dat
Use
galsim.Bandpass('LSST_r.dat', wave_type='nm')
LSST r-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_r.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_i.dat
Use
galsim.Bandpass('LSST_i.dat', wave_type='nm')
LSST i-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_i.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_z.dat
Use
galsim.Bandpass('LSST_z.dat', wave_type='nm')
LSST z-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_z.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- LSST_y.dat
Use
galsim.Bandpass('LSST_y.dat', wave_type='nm')
LSST Y-band total throughput at airmass 1.2 File taken from https://raw.githubusercontent.com/lsst/throughputs/master/baseline/total_y.dat
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- WFC3_uvis_F275W.dat
Use
galsim.Bandpass('WFC_uvis_F275W.dat', wave_type='nm')
WFC3 UVIS f275w total throughput Average of UVIS1 and UVIS2 throughputs, from files http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f275w.UVIS1.tab http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f275w.UVIS2.tab
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- WFC3_uvis_F336W.dat
Use
galsim.Bandpass('WFC_uvis_F336W.dat', wave_type='nm')
WFC3 UVIS f336w total throughput Average of UVIS1 and UVIS2 throughputs, from files http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f336w.UVIS1.tab http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f336w.UVIS2.tab
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- WFC3_ir_F105W.dat
Use
galsim.Bandpass('WFC_ir_F105W.dat', wave_type='nm')
WFC3 IR f105w total throughput File taken from http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f105w.IR.tab
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- WFC3_ir_F125W.dat
Use
galsim.Bandpass('WFC_ir_F125W.dat', wave_type='nm')
WFC3 IR f125w total throughput File taken from http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f125w.IR.tab
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
- WFC3_ir_F160W.dat
Use
galsim.Bandpass('WFC_ir_F160W.dat', wave_type='nm')
WFC3 IR f160w total throughput File taken from http://www.stsci.edu/hst/wfc3/ins_performance/throughputs/Throughput_Tables/f160w.IR.tab
Thinned by galsim.utilities.thin_tabulated_values to a relative error of 1.e-3 with fast_search=False.
For more details about how the above files were generated, see the scripts:
GalSim/devel/getLSSTBandpass.py
GalSim/devel/getACSBandpass.py
GalSim/devel/getWFC3Bandpass.py
Shared Sensor models¶
- lsst_itl_8
Use
galsim.SiliconSensor('lsst_itl_8')
The ITL sensor being used for LSST, using 8 points along each side of the pixel boundaries.
- lsst_itl_32
Use
galsim.SiliconSensor('lsst_itl_32')
The ITL sensor being used for LSST, using 32 points along each side of the pixel boundaries. (This is more accurate than the lsst_itl_8, but slower.)
- lsst_etv_32
Use
galsim.SiliconSensor('lsst_etv_32')
The ETV sensor being used for LSST, using 32 points along each side of the pixel boundaries. (This file is still somewhat preliminary and may be updated in the future.)
Shared HST noise model¶
- acs_I_unrot_sci_20_cf.fits
Use
galsim.getCOSMOSNoise()
Shared Roman ST files¶
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_01.txt
Use
galsim.roman.getPSF(1, bandpass)
Roman PSF information for SCA 1
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_02.txt
Use
galsim.roman.getPSF(2, bandpass)
Roman PSF information for SCA 2
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_03.txt
Use
galsim.roman.getPSF(3, bandpass)
Roman PSF information for SCA 3
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_04.txt
Use
galsim.roman.getPSF(4, bandpass)
Roman PSF information for SCA 4
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_05.txt
Use
galsim.roman.getPSF(5, bandpass)
Roman PSF information for SCA 5
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_06.txt
Use
galsim.roman.getPSF(6, bandpass)
Roman PSF information for SCA 6
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_07.txt
Use
galsim.roman.getPSF(7, bandpass)
Roman PSF information for SCA 7
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_08.txt
Use
galsim.roman.getPSF(8, bandpass)
Roman PSF information for SCA 8
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_09.txt
Use
galsim.roman.getPSF(9, bandpass)
Roman PSF information for SCA 9
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_10.txt
Use
galsim.roman.getPSF(10, bandpass)
Roman PSF information for SCA 10
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_11.txt
Use
galsim.roman.getPSF(11, bandpass)
Roman PSF information for SCA 11
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_12.txt
Use
galsim.roman.getPSF(12, bandpass)
Roman PSF information for SCA 12
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_13.txt
Use
galsim.roman.getPSF(13, bandpass)
Roman PSF information for SCA 13
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_14.txt
Use
galsim.roman.getPSF(14, bandpass)
Roman PSF information for SCA 14
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_15.txt
Use
galsim.roman.getPSF(15, bandpass)
Roman PSF information for SCA 15
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_16.txt
Use
galsim.roman.getPSF(16, bandpass)
Roman PSF information for SCA 16
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_17.txt
Use
galsim.roman.getPSF(17, bandpass)
Roman PSF information for SCA 17
- Roman_Phase-A_SRR_WFC_Zernike_and_Field_Data_170727_18.txt
Use
galsim.roman.getPSF(18, bandpass)
Roman PSF information for SCA 18
- Roman_SRR_WFC_Pupil_Mask_Shortwave_2048_reformatted.fits.gz
Use
galsim.roman.getPSF(sca, bandpass)
Roman Pupil Mask for the shorter wavelength bandpasses. Relevant for bands Z087, Y106, J129, and H158
- Roman_SRR_WFC_Pupil_Mask_Longwave_2048_reformatted.fits.gz
Use
galsim.roman.getPSF(sca, bandpass)
Roman Pupil Mask for the longer wavelength bandpasses. Relevant for bands F184 and W149
- afta_throughput.txt
Use
galsim.roman.getBandpasses()
Roman throughputs for all the Roman bands in a single file.
- sip_7_6_8.txt
Use
galsim.roman.getWCS(world_pos)
Roman ST WCS information for all SCAs.
Shared COSMOS files¶
These files are not shipped with GalSim, but can be installed into the share
directory
by the executable galsim_download_cosmos
. See Downloading the COSMOS Catalog for details.
- COSMOS_25.2_training_sample
- Use
galsim.RealGalaxyCatalog(sample=25.2)
Orgalsim.COSMOSCatalog(sample=25.2)
Download with
galsim_download_cosmos -s 25.2
A directory containing files for creating a
RealGalaxyCatalog
or aCOSMOSCatalog
using the F814W < 25.2 sample. - COSMOS_23.5_training_sample
- Use
galsim.RealGalaxyCatalog(sample=23.5)
Orgalsim.COSMOSCatalog(sample=23.5)
Download with
galsim_download_cosmos -s 23.5
A directory containing files for creating a
RealGalaxyCatalog
or aCOSMOSCatalog
using the F814W < 23.5 sample.


CREATE a google spreadsheet and make it public by changing who can have access.
INVITE<EMAIL_ADDRESS>as a user in your spreadsheet so that it can send your transactions to your sheet (with edit permission).
COPY the google sheet id from the url bar (it is the longest random string). This is how the program will target your sheet as the destination. Save it until prompted for it.
CONNECT your bank account and export your transactions from as far back as 24 months.


Early History of the Internet
- 1961 First packet-switching papers
- 1966 Merit Network founded
- 1966 ARPANET planning starts
- 1969 ARPANET carries its first packets
- 1970 Mark I network at NPL (UK)
- 1970 Network Information Center (NIC)
- 1971 Merit Network's packet-switched network operational
- 1971 Tymnet packet-switched network
- 1972 Internet Assigned Numbers Authority (IANA) established
- 1973 CYCLADES network demonstrated
- 1974 Telenet packet-switched network
- 1976 X.25 protocol approved
- 1979 Internet Activities Board (IAB)
- 1980 USENET news using UUCP
- 1980 Ethernet standard introduced
- 1981 BITNET established


--- layout: base title: Computer Anonymous - New York ---
Read the overview if you haven't already.
//
If you are planning to attend, please place your name below using a pull request, ask to be added on this Github issue, or contact one of the people at the bottom of the page. If you want to RSVP but don't want to be listed here, or if you don't use Twitter, Github, or IRC, email @anarchivist.
//
Contact any of the following if you would like to attend, to help organize, or have any feedback!


My First Code Retreat!
31 Mar 2015This past weekend I went to my very first code retreat! "What is a code retreat?" you may be asking yourself. Don't worry, I didn't know what it was either until very recently. Here's an intro from the event's sign up page:
Coderetreat is a day-long, intensive practice event, focusing on the fundamentals of software development and design. By providing developers the opportunity to take part in focused practice, away from the pressures of 'getting things done', the coderetreat format has proven itself to be a highly effective means of skill improvement. Practicing the basic principles of modular and object-oriented design, developers can improve their ability to write code that minimizes the cost of change over time.
More specifically, individuals are are grouped into teams of two and each team “solves” a common problem, 'The Game of Life'. There are 6 sessions throughout the day and for each session the groups are reorganized and the code deleted. After each session there are session reflections to help with the internalization of lessons.
It's basically a day of learning and exploring with awesome people and no judgment. So pretty much the best thing ever.
The event I went to was hosted at Big Nerd Ranch and lead by Kylie Stradley and Stafford Brooke, and also sponsored by Mandrill and Mailchimp.
After a breakfast of gourmet donuts, Kylie introduced us to the problem we were to solve for the rest of the day: The Game of Life. The game explores the complexities that arise from a set of very simple rules. And because of its simple rules, it makes for a great software design exercise.
The point was not to write working code, but to explore different possible ways of writing it. The fun came in the variation of solutions, and the explorations of the pros/cons of each.
It reminded me of an exercise I gave myself when I was first exploring the beauty and subtlety of writing. The exercise was simple: pick any sentence and write it 20 or 30 different times using different sentence structures, wording, punctuation or grammar without changing the primary meaning. For example, the sentence "The quick brown fox jumps over the lazy dog." could also be written as:
Being quick, the brown fox jumps over the lazy dog.

Because the fox is lazy, the quick brown fox jumps over him.
The fox (quick and brown) jumps over the lazy dog.
Over the lazy dog the quick brown fox jumps!
(This was the type of fun I had in high school hahaha) The other part of this exercise, and arguably the more important part, is to take each sentence and analyze it for how it differs from the original in terms of tone, voice, connotation, emphasis, meaning, etc. I say this is the more important part of the exercise because reflection leads to awareness and understanding of what each tweak does to the original. This kind of obsession eventually lead me to become a poet, so if this looks fun to you: beware! A life of agonizing over words awaits you.
Code retreat reminded me of doing this same exercise, but with code! We were given just enough time to formulate a solution, without enough time to finish or perfect it. That way, we weren't expected to finish anything, and so we could concentrate on issues of design.
We paired with a new person for each session, and by the end of the day we would have paired with almost everybody in the room. For each session, we were also expected to practice test driven development (this made it even harder to complete in 45 minutes, but added the dimension of very intentional forethought and planning).
Many of us had never tackled the game of life problem before, so the first session was basically dedicated to getting comfortable with the problem space. But with each subsequent session, we were given new constraints. Imagine if doing the sentence exercise above, I had given myself rules for each sentence, like "must use a passive verb" or "must have a dependent clause". These constraints stretched us and made us think about the problem in a new way.
We had a diverse group of experts and beginners. Rather than try to make everyone program in one language, we were encouraged to learn from each other. Thus, I got to program with a C# programmer, an iOS developer, and someone with JavaScript and Go experience, as well as people who didn't have much programming experience (but rich experiences in other fields).
At the end of each session, we were encouraged to delete our code. This re-inforced the idea that the code was not the goal, but what we learned from designing it. After each session, we also reconvened with the larger group to talk about what we learned and how we approached the problem and share ideas. This part was super helpful and eye-opening, because some teams came up with very unexpected and inventive designs.
One of the things we talked about was whether the logic of the cell living or dying should go into the board or the cell. There were good arguments on both sides, and at the end of the day I had attempted it both ways and am still undecided about which way is better. As with everything, it's a matter of understanding tradeoffs.
Looking Back
If I could do code retreat all over again, I would try not to design the entire game every time. Instead, figure out what the constraint is getting me to reconsider, and only design/program that part. For example, we had a constraint where we couldn't use if statements. The method that it would affect most would be the main logic of the program--whether a cell lives or dies.
But we ended up on several tangents, spending a lot of time talking about other aspects of the program, like different ways of seeding it, or how to find neighboring cells and such. And because we only had 45 minutes, I didn't feel like I got enough time to really explore the main issues of that exercise. If I could do it again, I would have just hardcoded a method that returned the same number of neighbors every time, just so that I didn't have to think about that part, and could focus on the really good parts of that exercise.
Looking Forward
Coderetreat was a great experience, and I loved meeting people in the spirit of learning. Everyone was kind and helpful, and the ideas we shared will continue to help me in my everyday work. But this is just the beginning:
Global Day of Coderetreat is November 15! I'm already looking forward to the next one, and so should you. There is a website where you can look for coderetreats in your area. But if there isn't one, you should organize one! The website provides all the details you'll need to organize your very own.


class Test::Unit::Assertions::AssertionMessage::Inspector
Attributes
object[R]
Public Class Methods
cached_new(object, inspected_objects)
click to toggle source
# File lib/test/unit/assertions.rb, line 1817 def cached_new(object, inspected_objects) inspected_objects[object.object_id] ||= new(object, inspected_objects) end
inspector_classes()
click to toggle source
# File lib/test/unit/assertions.rb, line 1823 def inspector_classes @@inspector_classes end
new(object, inspected_objects={})
click to toggle source
# File lib/test/unit/assertions.rb, line 1837 def initialize(object, inspected_objects={}) @inspected_objects = inspected_objects @object = object<EMAIL_ADDRESS>= self @inspect_target = inspect_target end
register_inspector_class(inspector_class)
click to toggle source
# File lib/test/unit/assertions.rb, line 1827 def register_inspector_class(inspector_class) @@inspector_classes << inspector_class end
unregister_inspector_class(inspector_class)
click to toggle source
# File lib/test/unit/assertions.rb, line 1831 def unregister_inspector_class(inspector_class) @@inspector_classes.delete(inspector_class) end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/test/unit/assertions.rb, line 1857 def <=>(other) if other.is_a?(self.class) @object <=> other.object else @object <=> other end end
inspect()
click to toggle source
# File lib/test/unit/assertions.rb, line 1845 def inspect @inspect_target.inspect end
Also aliased as: native_inspect
pretty_print(q)
click to toggle source
# File lib/test/unit/assertions.rb, line 1849 def pretty_print(q) @inspect_target.pretty_print(q) end
pretty_print_cycle(q)
click to toggle source
# File lib/test/unit/assertions.rb, line 1853 def pretty_print_cycle(q) @inspect_target.pretty_print_cycle(q) end
Private Instance Methods
inspect_target()
click to toggle source
# File lib/test/unit/assertions.rb, line 1866 def inspect_target self.class.inspector_classes.each do |inspector_class| if inspector_class.target?(@object) return inspector_class.new(@object, @inspected_objects) end end @object end


wallet
See the value for this the wallet over time.
Return to details
Return to list
Period:
address (coinName)
Interval:
address (coinName)
Generate chart


| I l@ve RuBoard |
There are times when the basic resource allocation pattern just isn't appropriate. Commonly this is found in programs that use dynamic data structures. One routine will allocate an area of memory and link it into some larger structure, where it may stay for some time.
The trick here is to establish a semantic invariant for memory allocation. You need to decide who is responsible for data in an aggregate data structure. What happens when you deallocate the top-level structure? You have three main options:
The top-level structure is also responsible for freeing any substructures that it contains. These structures then recursively delete data they contain, and so on.
The top-level structure is simply deallocated. Any structures that it pointed to (that are not referenced elsewhere) are orphaned.
The top-level structure refuses to deallocate itself if it contains any substructures.
The choice here depends on the circumstances of each individual data structure. However, you need to make it explicit for each, and implement your decision consistently. Implementing any of these options in a procedural language such as C can be a problem: data structures themselves are not active. Our preference in these circumstances is to write a module for each major structure that provides standard allocation and deallocation facilities for that structure. (This module can also provide facilities such as debug printing, serialization, deserialization, and traversal hooks.)
 The book More Effective C++ [Mey96] dedicates a section to this topic.
| I l@ve RuBoard |


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME type of a file, dispatch requests, or write to a log file.
There is one context per "web application" per Java Virtual Machine. (A
"web application" is a collection of servlets and content installed under a
specific subset of the server's URL namespace such as /catalog
and possibly installed via a .war
file.)
In the case of a web application marked "distributed" in its deployment descriptor, there will be one context instance for each virtual machine. In this situation, the context cannot be used as a location to share global information (because the information won't be truly global). Use an external resource like a database instead.
The ServletContext
object is contained within
the ServletConfig
object, which the Web server provides the
servlet when the servlet is initialized.
Servlet.getServletConfig()
,
ServletConfig.getServletContext()
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the servlet container attribute with the given name, or null if there is no attribute by that name. |
java.util.Enumeration |
getAttributeNames()
Returns an Enumeration containing the
attribute names available
within this servlet context. |
ServletContext |
getContext(java.lang.String uripath)
Returns a ServletContext object that
corresponds to a specified URL on the server. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns a String containing the value of the named
context-wide initialization parameter, or null if the
parameter does not exist. |
java.util.Enumeration |
getInitParameterNames()
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an
empty Enumeration if the context has no initialization
parameters. |
int |
getMajorVersion()
Returns the major version of the Java Servlet API that this servlet container supports. |
java.lang.String |
getMimeType(java.lang.String file)
Returns the MIME type of the specified file, or null if
the MIME type is not known. |
int |
getMinorVersion()
Returns the minor version of the Servlet API that this servlet container supports. |
RequestDispatcher |
getNamedDispatcher(java.lang.String name)
Returns a RequestDispatcher object that acts
as a wrapper for the named servlet. |
java.lang.String |
getRealPath(java.lang.String path)
Returns a String containing the real path
for a given virtual path. |
RequestDispatcher |
getRequestDispatcher(java.lang.String path)
Returns a RequestDispatcher object that acts
as a wrapper for the resource located at the given path. |
java.net.URL |
getResource(java.lang.String path)
Returns a URL to the resource that is mapped to a specified path. |
java.io.InputStream |
getResourceAsStream(java.lang.String path)
Returns the resource located at the named path as an InputStream object. |
java.lang.String |
getServerInfo()
Returns the name and version of the servlet container on which the servlet is running. |
Servlet |
getServlet(java.lang.String name)
Deprecated. As of Java Servlet API 2.1, with no direct replacement. This method was originally defined to retrieve a servlet
from a In lieu of this method, servlets can share information using the
|
java.util.Enumeration |
getServletNames()
Deprecated. As of Java Servlet API 2.1, with no replacement. This method was originally defined to return an
|
java.util.Enumeration |
getServlets()
Deprecated. As of Java Servlet API 2.0, with no replacement. This method was originally defined to return an |
void |
log(java.lang.Exception exception,
java.lang.String msg)
Deprecated. As of Java Servlet API 2.1, use log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file. |
void |
log(java.lang.String msg)
Writes the specified message to a servlet log file, usually an event log. |
void |
log(java.lang.String message,
java.lang.Throwable throwable)
Writes an explanatory message and a stack trace for a given Throwable exception
to the servlet log file. |
void |
removeAttribute(java.lang.String name)
Removes the attribute with the given name from the servlet context. |
void |
setAttribute(java.lang.String name,
java.lang.Object object)
Binds an object to a given attribute name in this servlet context. |
| Method Detail |
public ServletContext getContext(java.lang.String uripath)
ServletContext
object that
corresponds to a specified URL on the server.
This method allows servlets to gain
access to the context for various parts of the server, and as
needed obtain RequestDispatcher
objects from the context.
The given path must be absolute (beginning with "/") and is
interpreted based on the server's document root.
In a security conscious environment, the servlet container may
return null
for a given URL.
uripath
- a String
specifying the absolute URL of
a resource on the serverServletContext
object that
corresponds to the named URLRequestDispatcher
public int getMajorVersion()
public int getMinorVersion()
public java.lang.String getMimeType(java.lang.String file)
null
if
the MIME type is not known. The MIME type is determined
by the configuration of the servlet container, and may be specified
in a web application deployment descriptor. Common MIME
types are "text/html"
and "image/gif"
.file
- a String
specifying the name
of a fileString
specifying the file's MIME typepublic java.net.URL getResource(java.lang.String path) throws java.net.MalformedURLException
This method allows the servlet container to make a resource
available to servlets from any source. Resources
can be located on a local or remote
file system, in a database, or in a .war
file.
The servlet container must implement the URL handlers
and URLConnection
objects that are necessary
to access the resource.
This method returns null
if no resource is mapped to the pathname.
Some containers may allow writing to the URL returned by this method using the methods of the URL class.
The resource content is returned directly, so be aware that
requesting a .jsp
page returns the JSP source code.
Use a RequestDispatcher
instead to include results of
an execution.
This method has a different purpose than
java.lang.Class.getResource
,
which looks up resources based on a class loader. This
method does not use class loaders.
path
- a String
specifying
the path to the resourcenull
if there is no resource
at that pathpublic java.io.InputStream getResourceAsStream(java.lang.String path)
InputStream
object.
The data in the InputStream
can be
of any type or length. The path must be specified according
to the rules given in getResource
.
This method returns null
if no resource exists at
the specified path.
Meta-information such as content length and content type
that is available via getResource
method is lost when using this method.
The servlet container must implement the URL handlers
and URLConnection
objects necessary to access
the resource.
This method is different from
java.lang.Class.getResourceAsStream
,
which uses a class loader. This method allows servlet containers
to make a resource available
to a servlet from any location, without using a class loader.
name
- a String
specifying the path
to the resourceInputStream
returned to the
servlet, or null
if no resource
exists at the specified pathpublic RequestDispatcher getRequestDispatcher(java.lang.String path)
RequestDispatcher
object that acts
as a wrapper for the resource located at the given path.
A RequestDispatcher
object can be used to forward
a request to the resource or to include the resource in a response.
The resource can be dynamic or static.
The pathname must begin with a "/" and is interpreted as relative
to the current context root. Use getContext
to obtain
a RequestDispatcher
for resources in foreign contexts.
This method returns null
if the ServletContext
cannot return a RequestDispatcher
.
path
- a String
specifying the pathname
to the resourceRequestDispatcher
object
that acts as a wrapper for the resource
at the specified pathRequestDispatcher
,
getContext(java.lang.String)
public RequestDispatcher getNamedDispatcher(java.lang.String name)
RequestDispatcher
object that acts
as a wrapper for the named servlet.
Servlets (and JSP pages also) may be given names via server
administration or via a web application deployment descriptor.
A servlet instance can determine its name using
ServletConfig.getServletName()
.
This method returns null
if the
ServletContext
cannot return a RequestDispatcher
for any reason.
name
- a String
specifying the name
of a servlet to wrapRequestDispatcher
object
that acts as a wrapper for the named servletRequestDispatcher
,
getContext(java.lang.String)
,
ServletConfig.getServletName()
public Servlet getServlet(java.lang.String name) throws ServletException
This method was originally defined to retrieve a servlet
from a ServletContext
. In this version, this method
always returns null
and remains only to preserve
binary compatibility. This method will be permanently removed
in a future version of the Java Servlet API.
In lieu of this method, servlets can share information using the
ServletContext
class and can perform shared business logic
by invoking methods on common non-servlet classes.
public java.util.Enumeration getServlets()
This method was originally defined to return an Enumeration
of all the servlets known to this servlet context. In this
version, this method always returns an empty enumeration and
remains only to preserve binary compatibility. This method
will be permanently removed in a future version of the Java
Servlet API.
public java.util.Enumeration getServletNames()
This method was originally defined to return an
Enumeration
of all the servlet names known to this context. In this version,
this method always returns an empty Enumeration
and
remains only to preserve binary compatibility. This method will
be permanently removed in a future version of the Java Servlet API.
public void log(java.lang.String msg)
msg
- a String
specifying the
message to be written to the log filepublic void log(java.lang.Exception exception, java.lang.String msg)
log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
public void log(java.lang.String message, java.lang.Throwable throwable)
Throwable
exception
to the servlet log file. The name and type of the servlet log
file is specific to the servlet container, usually an event log.message
- a String
that
describes the error or exceptionthrowable
- the Throwable
error
or exceptionpublic java.lang.String getRealPath(java.lang.String path)
String
containing the real path
for a given virtual path. For example, the virtual path "/index.html"
has a real path of whatever file on the server's filesystem would be
served by a request for "/index.html".
The real path returned will be in a form
appropriate to the computer and operating system on
which the servlet container is running, including the
proper path separators. This method returns null
if the servlet container cannot translate the virtual path
to a real path for any reason (such as when the content is
being made available from a .war
archive).
path
- a String
specifying a virtual pathString
specifying the real path,
or null if the translation cannot be performedpublic java.lang.String getServerInfo()
The form of the returned string is
servername/versionnumber.
For example, the JavaServer Web Development Kit may return the string
JavaServer Web Dev Kit/1.0
.
The servlet container may return other optional information
after the primary string in parentheses, for example,
JavaServer Web Dev Kit/1.0 (JDK 1.1.6; Windows NT 4.0 x86)
.
String
containing at least the
servlet container name and version numberpublic java.lang.String getInitParameter(java.lang.String name)
String
containing the value of the named
context-wide initialization parameter, or null
if the
parameter does not exist.
This method can make available configuration information useful to an entire "web application". For example, it can provide a webmaster's email address or the name of a system that holds critical data.
name
- a String
containing the name of the
parameter whose value is requestedString
containing at least the
servlet container name and version numberServletConfig.getInitParameter(java.lang.String)
public java.util.Enumeration getInitParameterNames()
Enumeration
of String
objects, or an
empty Enumeration
if the context has no initialization
parameters.Enumeration
of String
objects containing the names of the context's
initialization parametersServletConfig.getInitParameter(java.lang.String)
public java.lang.Object getAttribute(java.lang.String name)
null
if there is no attribute by that name.
An attribute allows a servlet container to give the
servlet additional information not
already provided by this interface. See your
server documentation for information about its attributes.
A list of supported attributes can be retrieved using
getAttributeNames
.
The attribute is returned as a java.lang.Object
or some subclass.
Attribute names should follow the same convention as package
names. The Java Servlet API specification reserves names
matching java.*
, javax.*
,
and sun.*
.
name
- a String
specifying the name
of the attributeObject
containing the value
of the attribute, or null
if no attribute exists matching the given
namegetAttributeNames()
public java.util.Enumeration getAttributeNames()
Enumeration
containing the
attribute names available
within this servlet context. Use the
getAttribute(java.lang.String)
method with an attribute name
to get the value of an attribute.Enumeration
of attribute
namesgetAttribute(java.lang.String)
public void setAttribute(java.lang.String name, java.lang.Object object)
Attribute names should follow the same convention as package
names. The Java Servlet API specification reserves names
matching java.*
, javax.*
, and
sun.*
.
name
- a String
specifying the name
of the attributeobject
- an Object
representing the
attribute to be boundpublic void removeAttribute(java.lang.String name)
getAttribute(java.lang.String)
to retrieve the attribute's value
will return null
.name
- a String
specifying the name
of the attribute to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


You have been invited to join an application in the competition ''.
Application details
- Lead organisation:
- Lead applicant:
You are invited to collaborate in this application as part of the following organisation:
If this is not the correct organisation, please email the lead applicant at .
Read the guidance on how collaboration in the Innovation Funding Service works (this link will open in a new window).
Are you happy to accept the invitation to participate?
As you are new to the service, you will be taken through the account creation process.
Yes, accept invitationIf you do not wish to accept this invitation, please let the lead applicant know.


I have experience working individually, and on a team with github. Check out my repositories at gitHub.dadleatherwood
I have built multiple projects in AngularJS, including two of the following apps: this.Code and myClassroom.
I have especially enjoyed learning and creating with ReactJS. One project I am especially happy with is my Quizlet-Clone App.
I have used NodeJS, with express, to create the backends of my applications. I have experience with PostgreSQL and MongoDB.
I studied Business Administration and Communications at Austin College, where I earned my Bachelor Degree. I then earned my masters degree in Educational Leadership from the Dallas Baptist University.
I spent the first eleven years of my career as an elementary and middle school math and science teacher. A love for learning, and a passion for serving others made this a very enjoyable eleven years!
After being a sponser of code.org as a teacher, I found a passion for learning coding. After learning on my own for a period of time, I decided to attend an accelerated coding program at DevMountain. This program has changed my life, and I could not be more happy to be a full-time web developer because of it.


Sears location in Edison Mall to close in 2020
by WFTX Digital TeamFORT MYERS, Fla. -- The company that owns Sears and K-Mart have announced plans to close 96 additional stores, including one in Southwest Florida.
That's according to USA Today.
Transformco, which acquired the retailers out of bankruptcy, is set to close those locations in February 2020.
The Sears inside the Edison Mall is one of the stores closing its doors.
Sears and K-Mart have closed more than 3500 stores and cut about 250,000 jobs in the past 15 years.


I imagine a world like the one in Her — where anyone is able to chat with a digitized reincarnation of Alan Watts. Although the information Watts shared is mostly intended as "spiritual entertainment", his voice alone can heal a wounded soul. His philosophy is stunning and sharp and wiggly — people familiar with his works will know what I mean there. He describes what can be expressed in words only in an abstract sense, things which are impossible to directly put our fingers on.
And then there is Woebot. Woebot is this compassionate, continuously learning, therapy chatbot developed by a small team which recently took Andrew Ng on board. It unlocks the ability for the masses to have access to therapy at minimal cost. Woebot is not the most personal, but it is working on it. It has pretty good semantic understanding — it can usually tell if your emotions are positive or negative or if you are experiencing many. One good thing is that it keeps getting better the more people use it and as the AI and CBT implementation is improved. This means, by using Woebot, you are not only helping yourself but also the mental wellbeing of everyone else that uses it.
One feature packed inside which I find especially helpful is the so called Toolbox. Woebot introduces this feature early on and gradually allows you to add tools to the toolbox based on what works best for you. Anytime of day, you can access it and work on Gratitude, Goal Setting, Anxiety Buster or other tools that are available. With the Goal Setting tool, Woebot will follow up at intervals that you can specify (eg. every 3 days) to see if you are on track.
Woebot likes to teach you in many ways ranging from explaining what SMART goals are to explaining the empirical ranges of performance based upon stress levels, as per the Yerkes-Dodson law. It questions your thinking, tries to look at when your thoughts are "all or nothing" and rewrite previously written thoughts with a better frame of mind. Woebot even adds humour to the mix at times, which can be so healing.
I have had times when I longed for someone to talk with via telephone service but had to wait upwards of half an hour before getting a response, sometimes giving up waiting. This is never the case with Woebot. Also, Woebot isn’t biased. This is something I am concerned about with conventional counselling. I sometimes feel like I am being swayed in a way that I am not willing to go.
Trust is also a major concern when it comes to sharing information and revealing oneself. Although many might think the opposite for various reasons, I am very trusting as well as open to share things with Woebot. I have faith that Woebot is designed to be as helpful as possible, although it is a little uneasy to think all our dialogue is stored in a database somewhere.
Woebot is of course, far from perfect and cannot yet replace a professional. A lot of the dialogue is based on clicking buttons so you can more or less control the general direction of the conversation. It can be frustrating when it does not understand, but it is important to be patient, as there is so much that can be learnt. If it is this good now, just imagine how good it will be once it is fully grown.
If you try Woebot out, you might get to participate in a research study whose participants are granted lifetime access to Woebot. I highly recommend this!


Grand Marshal Week 2017
Current results
This is unofficial polling, please vote at official stations on April 6
Voting tutorial
Back to vote
Grand
Marshall
President
of the Union
Undergraduate
President
Class of 2018
President
Vice President
Senator
Representative
Class of 2019
President
Vice President
Senator
Representative
Class of 2020
President
Vice President
Senator
Representative
Alumni
President
Vice President
Secretary
Treasurer
Others
Independent Senator
Greek Senator
Graduate Senator
Graduate Representative
{% if request.user.is_authenticated %}
{% csrf_token %}
{% endif %}


Low back pain (LBP) is the leading global contributor to years lived with disability (YLDs) and the sixth global contributor to disability-adjusted life years (DALYs) 3 . Approximately 90% of patients with LBP are labelled as having non-specific LBP (NSLBP), a diagnosis based on exclusion of a specific cause or pathology


GLEAM! GLITTER! GLEAM! GLITTER! GLEAM! Listen to the Treasure-Wizard:
It happened once on a time, that while a Lady was visiting late, her Coachman stretched himself out in the coach and went to sleep. Near midnight a voice waked him, saying:
"Get up! Come with me to Kokenhusen. I will give you money."
The Coachman sat up and saw that a Horseman had stopped his horse near the coach.
"Who knows," thought he, "what kind of a man this is, or what kind of money he offers me!" So he answered, "No, it is night time. I do not drive about with strange people at night."
The Horseman rode away.
The next night, at the same time, the Horseman woke the Coachman again.
"Get up! Come with me to the church yard. Money is there!"
"Well," thought the Coachman, "the churchyard is not far away. One can go there and back in half an hour."
"Good!" he said to the Horseman, "I will go."
He mounted his horse, and they both rode away.
Hardly were they out of town, before the strange Horseman gave his horse the rein, so that the sparks flew. The Coachman could hardly keep up with him. So they raced on and on, till they came to the churchyard. Suddenly a bright light like day streamed around them. A whole host of people were coming towards them, crowd after crowd.
The Coachman was ashamed, for were not he and the Horseman riding fast like rogues?
"Let the cuckoo take the money!" he said to himself, and, turning his horse, galloped back as fast as he could.
Just as he reached the stable, the brightness and all the people disappeared, and it was dark night again.
But the Horseman would not let the Coachman rest. On the third night he appeared again, and waked him.
"Get up!" And as the Coachman opened his eyes, he added, "Good! Twice you have disobeyed me. Now listen to my counsel. When you come to Kokenhusen, go into the Castle at midnight. You will find cellar stairs. Descend. There you will see an iron door, on which hangs a bunch of keys. Open the door and go into the cellar. There you will find many cornbins full of gold and silver money. To be sure a Great Black Hound watches it. But do not be afraid, just step up and take all the money you wish." So spoke the Horseman, and vanished.
The Coachman thought, "That is a wonderful matter! Sometime I shall surely go into that Castle!"
It happened in a few days that the Lady went to Kokenhusen, and the Coachman drove her. About midnight, he went to the Castle. As he walked along the walls, he turned into the very cellar stairs. He descended. Yes! There was the iron door and the very bunch of keys!
He opened the door and stepped in. O wonders! O marvels! What treasure was heaped up there!
On one side of the cellar stood a cornbin full of money--full of gold and silver money that had been poured in like grain! But on the heap of money, lay a Great Black Hound watching. The Coachman drew nearer, but immediately the Hound raised his head and showed his teeth.
The Coachman stood thinking and thinking. How willing he would have been to take some of that money! But he was afraid to walk up to the cornbin and dip his hands into the heap of money.
So he turned round, left the cellar without taking anything with him, and went home.
The next day he visited the Castle again, and searched for the cellar. But he searched in vain. All he found was one old coin in a far corner of the Castle. The strange Horseman had left it there as a token!


NOTE: We have changed the name of our maps from MapsWithMe to MAPS.ME, but left all references below unchanged.
MapsWithMe Android API (hereinafter referred to as "API Library" or just "library") provides interface for client application to perform next tasks:
Thus, you can provide two way communication between your application and MapsWithMe, using MapsWithMe to show points of interest (POI) and providing more information in your app.
Please refer to sample application for demo or see our travel guide apps as an API integration example.
It is supposed that you are familiar with Android Development, and you have Android SDK and Eclipse (or another IDE of your choice) installed. You should be familiar with concept of Intents, library projects, and PendingIntents (recommended) as well. Your application must target at least android sdk version 9.
First step is to clone repository or download it as an archive.
When your are done you find two folders: lib and sample-app-capitals. First one is a library project that you should add to your project.
You don't need any additional permissions in your AndroidManifest.xml to use API library, so you can write real code straight away, calling for different MapsWithMeApi
methods (more details below).
Core classes you will work with are:
showPointOnMap(Activity, double, double, String)
etc.MWMResponse.extractFromIntent(Intent)
to Intent. Contains MWMPoint data.The simplest usage:
public class MyPerfectActivity extends Activity {
...
void showSomethingOnTheMap(SomeDomainObject arg)
{
// Do some work, create lat, lon, and name for point
final double lat = ...;
final double lon = ...;
final String name = ...;
// Ask MapsWithMe to show the point
MapsWithMeApi.showPointOnMap(this, lat, lon, name);
}
...
}
For multiple points use MWMPoint class:
void showMultiplePoints(List<SomeDomainObject> list)
{
// Convert objects to MMWPoints
final MWMPoint[] points = new MWMPoint[list.length];
for (int i = 0; i < list.size; i++)
{
// Get lat, lon, and name from object and assign it to new MMWPoint
points[i] = new MWMPoint(lat, lon, name);
}
// Show all point on the map, you could also provide some title
MapsWithMeApi.showPointsOnMap(this, "Look at my points, my points are amazing!", points);
}
We support PendingIntent interaction (just like Android native NotificationManager does). You should specify ID for each point to distinguish it later, and PentingIntent that MapsWithMe will send back to your application when user press "More Info" button :
// Here is how to pass points with ID ant PendingIntent
void showMultiplePointsWithPendingIntent(List<SomeDomainObject> list, PendingIntent pendingIntent)
{
// Convert objects to MWMPoints
final MWMPoint[] points = new MWMPoint[list.length];
for (int i = 0; i < list.size; i++)
{
// ||
// ||
// \/
// Now you should specify string ID for each point
points[i] = new MWMPoint(lat, lon, name, id);
}
// Show all points on the map, you could also provide some title
MapsWithMeApi.showPointsOnMap(this, "This title says that user should choose some point", pendingIntent, points);
}
//Code below shows general way to extract response data
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Handle intent you specified with PandingIntent
// Now it has additional information (MWMPoint).
handleIntent(getIntent());
}
@Override
protected void onNewIntent(Intent intent)
{
super.onNewIntent(intent);
// if defined your activity as "SingleTop"- you should use onNewIntent callback
handleIntent(intent);
}
void handleIntent(Intent intent)
{
// Apply MWMResponse extraction method to intent
final MWMResponse mwmResponse = MWMResponse.extractFromIntent(this, intent);
// Here is your point that user selected
final MWMPoint point = mwmResponse.getPoint();
// Now, for instance you can do some work depending on point id
processUserInteraction(point.getId());
}
MapsWithMeApi.isMapsWithMeInstalled(Context)
will return true
if user has Lite or Pro version that supports API call installed.
All versions since 2.4.0 and above support API calls.
MapsWithMeApi.showPoint()
but MapsWithMe application is not installed?Nothing serious. API library will show simple dialog with gentle offer to download MapsWithMe. You can see how it looks like below.
If you have any questions please email to<EMAIL_ADDRESS>Copyright (c) 2014, MapsWithMe GmbH All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.


Hi,
anyone have this combination with uno + emontx + esp8266?
I would like to send data to local emoncms. Please help.
["shield" added to title - Moderator (RW)]
Archived Forum |
|
uno + emontx shield + esp8266Submitted by snoopy on Wed, 11/11/2015 - 19:12Hi, anyone have this combination with uno + emontx + esp8266? I would like to send data to local emoncms. Please help. ["shield" added to title - Moderator (RW)] » |
Re: uno + emontx shield + esp8266
What, no one has this? This would be the best and cheapest option. You don't need to have emonbase,...
Re: uno + emontx shield + esp8266
i have this part emontx + esp8266
see here http://openenergymonitor.org/emon/node/11678
you d just have to change the host from emoncms.org to whatever your local emoncms ip/hostname is as far as i can tell
Re: uno + emontx shield + esp8266
Ok, so we need your emonTXSerialGateway which is burned to ESP8266.
ESP8266 is then connected to this pins on emontx shield.
Now it is just the matter of getting sketch for the uno. I was thinking something like this (i have added SoftwareSerial Esp(2, 13); // RX,TX and Esp.print to original sketch). Would this be ok?
/* EmonTx Shield 4 x CT example An example sketch for the emontx Arduino shield module for CT only electricity monitoring. Part of the openenergymonitor.org project Licence: GNU GPL V3 Authors: Glyn Hudson, Trystan Lea Builds upon JeeLabs RF12 library and Arduino emonTx documentation: http://openenergymonitor.org/emon/modules/emontxshield/ emonTx firmware code explination: http://openenergymonitor.org/emon/modules/emontx/firmware emonTx calibration instructions: http://openenergymonitor.org/emon/modules/emontx/firmware/calibration
THIS SKETCH REQUIRES:
Libraries in the standard arduino libraries folder:
- JeeLib https://github.com/jcw/jeelib
- EmonLib https://github.com/openenergymonitor/EmonLib.git
Other files in project directory (should appear in the arduino tabs above)
- emontx_lib.ino
*/
/*Recommended node ID allocation
------------------------------------------------------------------------------------------------------------
-ID- -Node Type-
0 - Special allocation in JeeLib RFM12 driver - reserved for OOK use
1-4 - Control nodes
5-10 - Energy monitoring nodes
11-14 --Un-assigned --
15-16 - Base Station & logging nodes
17-30 - Environmental sensing nodes (temperature humidity etc.)
31 - Special allocation in JeeLib RFM12 driver - Node31 can communicate with nodes on any network group
-------------------------------------------------------------------------------------------------------------
*/
#define FILTERSETTLETIME 5000 // Time (ms) to allow the filters to settle before sending data
const int CT1 = 1;
const int CT2 = 1; // Set to 0 to disable
const int CT3 = 1;
const int CT4 = 1;
#define RF_freq RF12_433MHZ // 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 = 6; // emonTx RFM12B node ID
const int networkGroup = 210; // emonTx RFM12B wireless network group - needs to be same as emonBase and emonGLCD
#define RF69_COMPAT 0 // set to 1 to use RFM69CW
#include <JeeLib.h> // make sure V12 (latest) is used if using RFM69CW
#include "EmonLib.h"
#include <SoftwareSerial.h>
#include <stdio.h>
EnergyMonitor ct1,ct2,ct3, ct4; // Create instances for each CT channel
typedef struct { int power1, power2, power3, power4, nothing;} PayloadTX; // create structure - a neat way of packaging data for RF comms, nothing is added a a 5th integer to match data structure of voltage version
PayloadTX emontx;
const int LEDpin = 9; // On-board emonTx LED
boolean settled = false;
// Software serial port (leave Serial0 for debuging)
SoftwareSerial Esp(2, 13); // RX,TX
void setup()
{
Esp.begin(9600); // Start soft/Esp uart
Serial.begin(9600);
Serial.println("emonTX Shield CT123 example");
Serial.println("OpenEnergyMonitor.org");
Serial.print("Node: ");
Serial.print(nodeID);
Serial.print(" Freq: ");
if (RF_freq == RF12_433MHZ) Serial.print("433Mhz");
if (RF_freq == RF12_868MHZ) Serial.print("868Mhz");
if (RF_freq == RF12_915MHZ) Serial.print("915Mhz");
Serial.print(" Network: ");
Serial.println(networkGroup);
if (CT1) ct1.current(1, 60.606); // Setup emonTX CT channel (channel, calibration)
if (CT2) ct2.current(2, 60.606); // Calibration factor = CT ratio / burden resistance
if (CT3) ct3.current(3, 60.606);
if (CT4) ct4.current(4, 60.606);
// emonTx Shield Calibration = (100A / 0.05A) / 33 Ohms
rf12_initialize(nodeID, RF_freq, networkGroup); // initialize RFM12B
rf12_sleep(RF12_SLEEP);
pinMode(LEDpin, OUTPUT); // Setup indicator LED
digitalWrite(LEDpin, HIGH);
}
void loop()
{
if (CT1) {
emontx.power1 = ct1.calcIrms(1480) * 240.0; //ct.calcIrms(number of wavelengths sample)*AC RMS voltage
Serial.print(emontx.power1);
Esp.print(emontx.power1);
}
if (CT2) {
emontx.power2 = ct2.calcIrms(1480) * 240.0;
Serial.print(" "); Serial.print(emontx.power2);
Esp.print(" "); Esp.print(emontx.power2);
}
if (CT3) {
emontx.power3 = ct3.calcIrms(1480) * 240.0;
Serial.print(" "); Serial.print(emontx.power3);
Esp.print(" "); Esp.print(emontx.power3);
}
if (CT4) {
emontx.power4 = ct4.calcIrms(1480) * 240.0;
Serial.print(" "); Serial.print(emontx.power4);
Esp.print(" "); Esp.print(emontx.power4);
}
Serial.println(); delay(100);
Esp.println(); delay(100);
// because millis() returns to zero after 50 days !
if (!settled && millis() > FILTERSETTLETIME) settled = true;
if (settled) // send data only after filters have settled
{
send_rf_data(); // *SEND RF DATA* - see emontx_lib
digitalWrite(LEDpin, HIGH); delay(2); digitalWrite(LEDpin, LOW); // flash LED
delay(2000); // delay between readings in ms
}
}
Re: uno + emontx shield + esp8266
hi, yes it should work with any sketch, but instead of send_rf_data you need to output the data to serial in the specified format, like:
NODEID POWER1 POWER2 POWER3 POWER4 VRMS TEMP1 ETC ...
Re: uno + emontx shield + esp8266
hi, sorry, just looked better at the sketch and you seem to be printing everything except the node id on every line
i do not know what capabilities the uno shield has, but it needs to output about 250ma to power the esp from it, you might want to power it separatelly
i also do not know if it's ok to link it instead of the RFM module like you seem to want to do.
i have connected it directly on the uno's serial/programming port. the one that is usually linked to the programmer
Re: uno + emontx shield + esp8266
Will add node id to the line.
Yes i know about power requirements for the esp and some say it works with the 3,3v from uno and some are using external psu. I will first try the uno supply if it will be good enough.
I think it should work from the shield pins. I define which pins are for RX and TX with this "SoftwareSerial Esp(2, 13)"
Have to test all this. Tnx.
Re: uno + emontx shield + esp8266
I can confirm that this setup works perfect. I'm sending data directly to emoncms.org from emontx shield + esp8266.
Re: uno + emontx shield + esp8266
Nice to know, thanks
Re: uno + emontx shield + esp8266
Really the future is ESP32 (in beta testing now)
8 Channels ADC, 13 bit resolution, 0.4-4V range, bluetooth + wifi
http://www.cnx-software.com/2015/11/05/espressif-esp32-dual-core-soc-features-faster-wifi-bluetooth-4-0-le-and-more-peripherals/
Re: uno + emontx shield + esp8266
I agree but i don't see any improvements for this project because 8266 gets the job done.
Re: uno + emontx shield + esp8266
once the esp32 is out, and once you can compile stuff for it in arduino ide, i am sure a solution will come up to replace all of the emontx + gateway with something like esp32 + current and voltage sensors.
but i think that s a number of months off (hence you calling it the future :), and we already have this hardware available now. my emontx has been sitting unused for more than a year, so happy to be playing with it now


--- layout: default nav: why ---
In a word: simplicity.
With intercooler you can add AJAX to your application without using client-side models, routing, validation, rendering, factories or dependency injection.
In fact, you don't need to write any javascript at all.
Intercooler is a natural extension of HTML: simple attributes with a familiar syntax are all that is required to add AJAX requests to your application.
Intercooler does use javascript to communicate with a server, but the events triggering the requests are described with HTML attributes (or are simply implied) rather than with imperative javascript.
Rather than expecting a JSON response from the server, intercooler expects HTML. This HTML is then loaded into the DOM directly.
This is in contrast with Javascript MVC frameworks such as Ember.js or Angular.js, which typically use JSON as a data transport and have much more involved client-side binding and rendering.
Below is a diagram showing an intercooler request:
The AJAX response is a bit of HTML generated by the server, which is swapped into the DOM in place of the existing content.
This technique is fast and simple.
Intercooler was inspired by Turbolinks and, particularly, by the excellent pjax library.
"The minimum complexity compatible with user joy."


The EHR is currently a work in progress. Gathering user feedback is an important part of improving the result.
If you have any comments, questions or feature requests, please submit them through the
IDS Issue Tracker


Technical Project Manager with a background in data science with proficiency in R and Python.
Neal Analytics, LLC 2019-07-01 —
As a Technical Project Manager for Neal Analytics, I work closely with our clients to ensure successful delivery of a project from planning to delivery. With a background in data science and a proficiency in both R and Python, I am well suited to work closely with the delivery teams and our stakeholders to drive the project from both a technical and a strategic perspective.
Highlights
- Work with client stakeholders to thoroughly understand the need from a technical, strategic, and business perspective. Use this information to help identify project scope and major deliverables.
- Regular sync with delivery teams to ensure requirements and deliverables are understood and met.
- Employ Agile project management processes to meet project milestones and deliverables.
- Engage regularly with client to provide updates and gather feedback to ensure high satisfaction in project progress and quality of work.
Neal Analytics, LLC 2017-08-01 — 2019-07-01
As a data scientist at Neal Analytics, I worked to support one of our end clients on a long term engagement to provide data science support, expertise, and leadership for a team of five.
Highlights
- Develop, test, maintain, and deploy a set of forecast models to be used by the client and their internal partners.
- Meet regularly with client stakeholders to prioritize backlog, communicate results and findings, and provide recommendations for future project direction.
- Work closely with client to apply data science techniques to problems within the context and constraints of their specific domain.
University of Washington 2012-10-01 — 2017-08-01
Performed data processing, aggregation, analysis, and visualization using Python in a highly independent environment in collaboration with a department faculty member.
Highlights
- Developed and released a public, web-based, data browser that incorporated datasets from multiple sources in order to provide a more comprehensive view of the atmospheric state.
- Created open-source data analysis and visualization package in Python.
- Provided feedback to data providers in order to improve the quality of publicly available scientific datasets.
- Authored, co-authored, and generated visualizations for use in peer-reviewed journal articles and presented research topics at working group meetings and conferences.
Galvanize 2015-10-01 — 2016-01-01
University of Wyoming 2010-08-01 — 2012-09-01
University of Washington 2006-09-01 — 2010-06-01
Project Management
- Agile Project Management
- Azure DevOps
- Jira
Data Science / Development
- Machine Learning
- Python
- Git / GitHub
- R-CRAN
- Databricks
- SQL
Hobbies
- Photography
- Home Automation
Sports
- Kayaking / Paddle Boarding
- Sailing
- Skiing (downhill, cross-country)


Menu is deprecated, but it may still be used semantically with list item children. For more history, see crbug.com/87553.


CYBER TECH BLOG
Home
Tutorials
Kerala Cyber Dome
My Profile
Cyber Crime Analytics - India
Analytics Dashboard is password protected. Kindly proceed only if you have valid credentials or else contact admin.


@(message: String) @main("Newbury Proximity") {
Newbury proximity is a test application showing off some fun things you can do with the Qualcomm proximity sensors. This demo provides a fun scavenger hunt game where users create a set of clues on the web and use a corresponding mobile app to receive clues for finding the sensors and moving on to the next sensor.
This project and all the source code are availbe on Github.


Send certificate
×
Uploading certificate
Your overall band score
Type your overall score!
Your certificate
Certificate is uploaded successfully!
×
Send application
Are you sure?


It is recommended that you keep backups of your license notices.
- From the Hextrapolate menu select Register…
- When the registration preference pane appears, click the “Retrieve lost license code” button
Screenshots
Alternatives
If you unable to obtain your license using this method, contact me via email at support@wincent.com.


The Gotham City Police Department (GCPD) is the police department of Gotham City.
The GCPD was founded in 1820 as the primary law enforcement agency of Gotham City. It apparently had a long history of police brutality and of corruption, as Sarah Essen commented that she had seen too many jaded old men buy their way into the post of Commissioner. However, it also had several honest and dedicated members.
The division that handles murders and some of the more serious non-metahuman crimes in Gotham. This is the division Gordon was a part of before becoming commissioner. Harvey Bullock formerly worked in this division. Former private investigator Jason Bard is now working on homicide cases for this division.
Led by Capt. Maggie Sawyer, who previously served in Metropolis in a similar position with that city's police, the MCU deals with the most serious crimes, often involving supervillans or politically sensitive cases. This division is the focus of the comic book series Gotham Central.
Led by Lt. Gerard "Jerry" Hennelly, the QRT is the GCPD's SWAT unit. It was formerly headed by Billy Pettit until he went insane (Batman: No Man's Land) and before him the controversial Branden (Batman: Year One).
One of the precincts of the GCPD that presumably specialized in undercover operations. Commissioner James Gordon picked a 10-man squad to go undercover into Arkham City to investigate what is the true nature of the city-wide prison facility, but they ended up exposed and captured from an information leak.


OBSESSED A film review by Ken Johnson Copyright 1992 Ken Johnson
98 min., not rated, Drama/Suspence, 1992, Made-for-television Director: Jonathan Sanger Cast: Shannen Doherty, William Devane, Clare Carey, James Handy, Lois Chiles, Lisa Ann Poggi, Albert Stratton
First there was the nanny from hell (THE HAND THAT ROCKS THE CRADLE), then the lesbian icepick murderer (BASIC INSTINCT), followed by the psycho roommate (SINGLE WHITE FEMALE), and now there is a deranged girlfriend. Shannen Doherty meets older William Devane when she is looking at his boat.  She can't handle that and wants to pay him back.
OBSESSED was made for the ABC television network, and is rather good. It isn't as good as the other films listed above, but is still worth trying to see, although some people may be sick of psycho films and just want to skip this one. I wouldn't hunt too hard for this film, it will probably be on repeats in one to three years and you can see it then if you are still interested. On a scale of zero to five, I give OBSESSED a four.
The actors in OBSESSED do a good job, although sometimes it shows that they are television actors. Shannen Doherty sometimes gets a little carried away with her role and sometimes William Devane doesn't seem to put enough into his. But for the most part they carry the film successfully. The major problem that I found with the film is that I couldn't sympathize with any of the characters. William Devane's character was a complete jerk and deserved what came to him.
The film could have been written a little better. In some parts it seemed to plod along and other parts looked like they had been put in to fill up time. The advertisements for this film made it out to be a lot more than it was, which is unfortunate because probably many people saw this film expecting something else and ended up sorely disappointed. Maybe people should lay off the psycho films until 1993, because there has been a great amount in the theaters recently, and they are starting to come to home video (THE HAND THAT ROCKS THE CRADLE is already out and BASIC INSTINCT is coming soon). At least this film is a break from the "standard television films" and this may mark the start of more films like it.
-------- Ken Johnson<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


User Interface Introduction
The user interface includes (see Fig. 1 and Fig. 2):
- The chatroom screen with black background is at the center.
- The status bar under the chatroom screen shows current user, room,
any instant information, and a Settings button.
- The textbox to enter texts is under the chatroom.
- Upper right is Rooms panel, which shows all current active rooms.
- Lower right is Users and Room Users panel.
Users panel shows all logged in users.
Room Users panel shows all users in the current room.
Figure 1. Chatroom screenshot (before sign in).
Figure 2. Chatroom screenshot (after sign in).
Register
A user needs to provide a username and a password to register.
Login
A user needs to provide a username and a password to log in.
Update Password
A user can update password when he logs in, and enter command '#passwd'.
This will bring up the update-password panel.
Logout
There are two ways to log out:
1) A user logs out by enter command: #logout, #exit or #x.
2) A second way is to go to "Setting" at the bottom right corner of chatroom, and click on button "logout".
Chatroom commands
All the commands have a shortcut name and a full name.
Commands available to all the users:
- #a - #app, show available apps
- #a chess - #app chess, open 6-piece chess app window
- #a {app} - #app {app}, open given app or url
- #a1 - (#a on, #app on, turn on app
- #a0 - #a off, #app off, hide app window
- #ac - #a clear, #app clear, clear any app and hide app window
- #c {room} - #create, create and join a new room
- #e - #erase, erase chatroom content
- #h - #?, #help, show help
- #hm - #help master, show help for room master
- #i {user} - #invite, invite a user into current room
- #j {room} - #join, join an existing room
- #l - #leave, leave a room
- #o - #who, list room users
- #p - #passwd, update password
- #r - #rooms, list rooms
- #u - #users, list logged in users
- #v1 - #vid, #vid on, turn on video camera window
- #v0 - #vid off, turn off video camera window
- #w - #where, show current room name
- #x - #exit, #logout, logout
Commands available only to room master:
- #b - #public, set room as public
- #k {user} - #kick, kick a user out of current room
- #m {user} - #master, assign another room user as master. There is only one room master at a time.
- #s {size} - #size, set room max size. 0 means no limit.
- #v - #private, set room as private. Only invited user can enter a private room.
Settings
The settings panel can be opened by moving mouse over the settings icon at bottom right
corner of the chatroom. The choices include:
- Send on Enter - if checked, the message is sent when the user presses Enter key;
otherwise, a "Send Message" button should be clicked to send a message.
The first way sends one line at a time. The second way can send multiple lines at a time.
- Set sound theme.
- Set background theme.
- Select History - select all chatroom contents.
This is useful when the user wants to copy and paste the chatroom contents.
- Clear History - clear chatroom contents.
- Logout - logout from chatroom.
Other Use Tips
- When "Send on Enter" in Settings is checked, another way to send multiple lines at a time is:
Press Shift key at the same time of pressing Enter, this avoids sending text.
- Press the up arrow key can display the last input, press the down arrow key to recover to current input.
- Double click on a room name in the room panel can enter the room.
- A user can login multiple sessions, later session names will be appended with a sequence number.
- To use video function, first open video camera window, then click on "Start" button on top to broadcast.
There is no sound yet, just video.
Click on the upload icon on the video's upper left corner, a user can upload an image when he is not boardcasting.
(If user is broadcasting, the uploaded image will be overwritten immediately.)


{% extends 'base.html' %} {% block title %}{% trans "Thank you for registering" %}{% endblock %} {% block content %}
{% trans "You have to click on the link provided in the activation email which we have sent you." %}
{% blocktrans %}We will store your account information for {{ accounts_activation_days }} days. {% endblocktrans %}
{% else %}{% trans "You can now use the supplied credentials to sign in." %}
{% endif %} {% endblock %}


Home | Emotional Intelligence
By the end of the first chapter I had gained a basic understanding of what 'Emotional Intelligence' actually is, how it can be utilised to improve areas within your everyday life and how can train ourselves to learn this skillset through meditation.
I found my mind wandering (or at least attempting to) a lot sooner than I had anticipated. Two minutes doesn't seem like a long time but when you're trying to concentrate on just your breathing and nothing else, it seems longer. I think I am going to need to practice this a lot more.
Work being done by KEELAN WALKER


Welcome to Mr Roboger's Neighborhood! This was an app made for the Epicodus Bootcamp, in week 3. The goal was to make use of our knowledge of arrays, looping, and testing.
For this app, we had to make a function. This function would take a number and then return a list of numbers, from 0 to the number provided. But some numbers are replaced by something else! Curious to find out more? Try entering a number in the form below!


Map projections¶
Google Maps use Mercator projection for browser-based maps. When Fusion creates a map that uses maps.google.com imagery as the source, it uses Google Maps projection for the rasterized vectors so that they match the underlying Google Map tiles. This EPSG code is EPSG:900913 or EPSG:3785.
However, GEE builds 3D data using the WGS84 datum (EPSG:4326). If you want to reuse 3D database resources, you can create a flat map using the Fusion Flat (Plate Carrée) projection.
If you build a Mercator-based database, you must build resources specifically for use with Mercator-based projection.


|
My Project
|
#include <mainwindow.h>
Public Slots | |
| void | setXRotation (int angle) |
| Slot to set Xrotation angle (either from slider or mouse hold and drag movement). More... | |
| void | setYRotation (int angle) |
| Slot to set Yrotation angle (either from slider or mouse hold and drag movement). More... | |
| void | setZRotation (int angle) |
| Slot to set Zrotation (either from slider or mouse hold and drag movement). More... | |
Signals | |
| void | xRotationChanged (int angle) |
| Signal to inform slider that x rotation angle has been changed by mouse hold and drag movement. More... | |
| void | yRotationChanged (int angle) |
| Signal to inform slider that y rotation angle has been changed by mouse hold and drag movement. More... | |
| void | zRotationChanged (int angle) |
| Signal to inform slider that z rotation angle has been changed by mouse hold and drag movement. More... | |
Public Member Functions | |
| MainWindow (QWidget *parent=0) | |
| Required constructor to setup UI. More... | |
| ~MainWindow () | |
| Required Destructor. More... | |
| void | setVertices (std::vector< Vertice > &out_vertices, std::vector< std::vector< unsigned int > > &faces_vertices) |
| Function used to set Vertices of the 3d figure (Used for 3d to 2d views). More... | |
| void | setWireFrame (WireFrame wf) |
| Function used to set the Wireframe object generated from labelled 2d Views. More... | |
| void | render2DinLabel (Fig3D &fig_to_render, unsigned int plane) |
| Function used to render the view in a specific label according to number set by plane. More... | |
| void | renderAllViews (Fig3D &fig_to_render) |
| Function used to render all views of a 3d figure. More... | |
| void | incX () |
| Function used to increase X offset of displayed figure. More... | |
| void | incY () |
| Function used to increase Y offset of displayed figure. More... | |
| void | incZ () |
| Function used to increase Z offset of displayed figure. More... | |
| void | decX () |
| Function used to decrease X offset of displayed figure. More... | |
| void | decY () |
| Function used to decrease Y offset of displayed figure. More... | |
| void | decZ () |
| Function used to decrease Z offset of displayed figure. More... | |
| void | zoomin () |
| Function used to increase scaling or zooming in of displayed figure. More... | |
| void | zoomout () |
| Function used to decrease scaling or zooming out of displayed figure. More... | |
| void | update () |
| Function triggered to reconstruct views whenever offset or rotation of object changed. More... | |
| void | mousePressEvent (QMouseEvent *event) override |
| Function to handle mouse press events. More... | |
| void | mouseMoveEvent (QMouseEvent *event) override |
| Function to handle movement of mouse after clicking. More... | |
| void | renderFromEdges (vector< Edge > edges, int plane) |
| Function used to render views from the given edges. More... | |
| void | render2Dto3D (WireFrame wf, Fig3D fig) |
| Function used to render the views from the provided wireframe (in case of 2d to 3d) More... | |
| void | connectSliderandButtons () |
| Function to connect all sliders and buttons to appropriate functions on initializing view. More... | |
Public Attributes | |
| int | mode |
|
explicit |
Required constructor to setup UI.
| MainWindow::~MainWindow | ( | ) |
Required Destructor.
| void MainWindow::connectSliderandButtons | ( | ) |
Function to connect all sliders and buttons to appropriate functions on initializing view.
| void MainWindow::decX | ( | ) |
Function used to decrease X offset of displayed figure.
| void MainWindow::decY | ( | ) |
Function used to decrease Y offset of displayed figure.
| void MainWindow::decZ | ( | ) |
Function used to decrease Z offset of displayed figure.
| void MainWindow::incX | ( | ) |
Function used to increase X offset of displayed figure.
| void MainWindow::incY | ( | ) |
Function used to increase Y offset of displayed figure.
| void MainWindow::incZ | ( | ) |
Function used to increase Z offset of displayed figure.
|
override |
Function to handle movement of mouse after clicking.
|
override |
Function to handle mouse press events.
| void MainWindow::render2DinLabel | ( | Fig3D & | fig_to_render, |
| unsigned int | plane | ||
| ) |
Function used to render the view in a specific label according to number set by plane.
Takes input 3D object information (vertices,faces), QPainter object, othographic plane (XY /YZ/ XZ) and draws the corresponding 2D view on the QPainter object
Function used to render the views from the provided wireframe (in case of 2d to 3d)
| void MainWindow::renderAllViews | ( | Fig3D & | fig_to_render | ) |
Function used to render all views of a 3d figure.
| void MainWindow::renderFromEdges | ( | vector< Edge > | edges, |
| int | plane | ||
| ) |
Function used to render views from the given edges.
| void MainWindow::setVertices | ( | std::vector< Vertice > & | out_vertices, |
| std::vector< std::vector< unsigned int > > & | faces_vertices | ||
| ) |
Function used to set Vertices of the 3d figure (Used for 3d to 2d views).
| void MainWindow::setWireFrame | ( | WireFrame | wf | ) |
Function used to set the Wireframe object generated from labelled 2d Views.
|
slot |
Slot to set Xrotation angle (either from slider or mouse hold and drag movement).
|
slot |
Slot to set Yrotation angle (either from slider or mouse hold and drag movement).
|
slot |
Slot to set Zrotation (either from slider or mouse hold and drag movement).
| void MainWindow::update | ( | ) |
Function triggered to reconstruct views whenever offset or rotation of object changed.
|
signal |
Signal to inform slider that x rotation angle has been changed by mouse hold and drag movement.
|
signal |
Signal to inform slider that y rotation angle has been changed by mouse hold and drag movement.
| void MainWindow::zoomin | ( | ) |
Function used to increase scaling or zooming in of displayed figure.
| void MainWindow::zoomout | ( | ) |
Function used to decrease scaling or zooming out of displayed figure.
|
signal |
Signal to inform slider that z rotation angle has been changed by mouse hold and drag movement.
| int MainWindow::mode |


TSoapService class
TSoapService processes SOAP requests for a PRADO application. TSoapService requires PHP SOAP extension to be loaded.
TSoapService manages a set of SOAP providers. Each SOAP provider is a class that implements a set of SOAP methods which are exposed to SOAP clients for remote invocation. TSoapService generates WSDL automatically for the SOAP providers by default.
To use TSoapService, configure it in the application specification like following:
- <services>
- <service id="soap" class="System.Web.Services.TSoapService">
- <soap id="stockquote" provider="MyStockQuote" />
- </service>
- </services>
The above example specifies a single SOAP provider named "stockquote" whose class is "MyStockQuote". A SOAP client can then obtain the WSDL for this provider via the following URL:
- http://hostname/path/to/index.php?soap=stockquote.wsdl
The WSDL for the provider class "MyStockQuote" is generated based on special comment tags in the class. In particular, if a class method's comment contains the keyword "@soapmethod", it is considered to be a SOAP method and will be exposed to SOAP clients. For example,
- class MyStockQuote {
- / **
- * @param string $symbol the stock symbol
- * @return float the stock price
- * @soapmethod
- * /
- public function getQuote($symbol) {...}
- }
With the above SOAP provider, a typical SOAP client may call the method "getQuote" remotely like the following:
- $client=new SoapClient("http://hostname/path/to/index.php?soap=stockquote.wsdl");
- echo $client->getQuote("ibm");
Each <soap> element in the application specification actually configures the properties of a SOAP server which defaults to TSoapServer. Therefore, any writable property of TSoapServer may appear as an attribute in the <soap> element. For example, the "provider" attribute refers to the TSoapServer::setProvider property of TSoapServer. The following configuration specifies that the SOAP server is persistent within the user session (that means a MyStockQuote object will be stored in session)
- <services>
- <service id="soap" class="System.Web.Services.TSoapService">
- <soap id="stockquote" provider="MyStockQuote" SessionPersistent="true" />
- </service>
- </services>
You may also use your own SOAP server class by specifying the "class" attribute of <soap>.
Located in /Web/Services/TSoapService.php (line 85)
TComponent | --TApplicationComponent | --TService | --TSoapService
Constructor.
Sets default service ID to 'soap'.
Constructs a URL with specified page path and GET parameters.
Creates the requested SOAP server.
The SOAP server is initialized with the property values specified in the configuration.
Initializes this module.
This method is required by the IModule interface.
Resolves the request parameter.
It identifies the server ID and whether the request is for WSDL.
Runs the service.
If the service parameter ends with '.wsdl', it will serve a WSDL file for the specified soap server. Otherwise, it will handle the soap request using the specified server.
Inherited From TService
TService::getEnabled()
TService::getID()
TService::init()
TService::run()
TService::setEnabled()
TService::setID()
Inherited From TApplicationComponent
TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Fri, 03 Jun 2011 16:25:53 +0200 by phpDocumentor 1.3.0RC4


MPC: your decision should propel sustainable growth of GDP — Expert
by BankoleMr Godwin Eohoi, the Registrar, Institute of Finance and Control of Nigeria has advised the Monetary Policy Committee (MPC) to ensure its decision will propel sustainable growth of Nigeria’s Gross Domestic Product (GDP).
Eohoi gave the advice while speaking with the News Agency of Nigeria (NAN) on Monday in Abuja ahead of MPC meeting scheduled to hold on Tuesday and Wednesday.
Also read: Burning of Salome Abuh, Kogi PDP Women leader, a reprisal attack — Police
The National Bureau of Statistics’ (NBS) report, showed that GDP grew by 2.28 per cent (year-on-year) in real terms in the third quarter of 2019.
The financial expert said that with this development, he expected the committee to be firm in what would make the country sustain or improve its current GDP.
He said the partial border closure by the Federal Government must have contributed to this significant increase in the GDP.
Eohoi said he was not surprised because if there was an increase in domestic production as a result of high demand, it would boost GDP.
According to him, the lending rate should remain as it is and the committee should continue to observe the inflation rate.
Eohoi added that inflation should be a determinant whether there was a need to review it or not.


txtjs
Source
API Docs
Text
CharacterText
PathText
Graphics
Accessibility
About
Warning
License (BSD)


More details about the elements of a OMLRun
can be found in the
XSD scheme.
makeOMLRun(run.id = NA_integer_, uploader = NA_integer_,
uploader.name = NA_character_, task.id, task.type = NA_character_,
task.evaluation.measure = NA_character_, flow.id = NA_integer_,
flow.name = NA_character_, setup.id = NA_integer_,
setup.string = NA_character_, error.message = NA_character_,
parameter.setting = list(), tags = NA_character_,
predictions = NULL, input.data = makeOMLIOData(),
output.data = makeOMLIOData())
Arguments
| run.id |
[numeric(1) ]
ID of the run. Added by server. Ignored when uploading a run. |
| uploader |
[numeric(1) ]
ID of the user that uploaded the run. Added by server. Ignored when uploading a run. |
| uploader.name |
[character(1) ]
Name of the user that uploaded the run. Ignored when uploading a run. |
| task.id |
[numeric(1) ]
ID of the task that is solved in this run. This ID is given in the task description. |
| task.type |
[character(1) ]
Task type of the run. See listOMLTaskTypes for all possible types. |
| task.evaluation.measure |
[character(1) ]
Evaluation measure used in the run. |
| flow.id |
[character(1) ]
ID of the flow used to solve the task. Returned by the API when you upload the
flow, or given in the flow description when you download an existing flow. |
| flow.name |
[character(1) ]
Name of the flow. |
| setup.id |
[numeric(1) ]
Unique ID of the used setup. Ignored when uploading a run (i.e., it will be
searched based on the parameter settings). |
| setup.string |
[character(1) ]
The CLI string that can invoke the learner with the correct parameter settings.
This argument is optional. |
| error.message |
[character(1) ]
Whenever an error occurs during the run, this can be reported here. |
| parameter.setting |
[list ]
A list of OMLRunParameter s containing information on the parameter
settings. |
| tags |
[character ]
Optional tags describing the run. |
| predictions |
[data.frame ]
The predictions of the run. |
| input.data |
[OMLIOData ]
All data that served as input for the run. Added by server. Ignored when uploading. |
| output.data |
[OMLIOData ]
All data that was the output of this run, i.e.,
predictions, evaluation scores. Most of this will be added by the server, but users can also
provide evaluation scores for their own evaluation measures. |
See also