This experiment is part of a MIT scientific project. Your decision to participate in this experiment is entirely voluntary. There are no known or anticipated risks to participating in this experiment. There is no way for us to identify you. The only information we will have, in addition to your responses, is the timestamps of your interactions with our site. The results of our research may be presented at scientific meetings or published in scientific journals. Clicking on the "AGREE" button indicates that you are at least 18 years of age, and agree to participate voluntary.


Notebooks:
library(htmltools)
base_path="https://scott-saunders.github.io/labwork/IDA/01_08_19_psoralen_nonequil/"
files <- dir(path=".", pattern = "*\\.html$",include.dirs = T,recursive = T)
#directories <- list.dirs(path=".",recursive = F)
for(link in files){
print(
tags$a(href = paste(base_path, link, sep=''), link)
)
writeLines("")
}
Analysis/01_08_19_psoralen_nonequil_Dap_analysis.html
Processing/01_08_19_psoralen_nonequil_processing.html
As discussed previously, the purpose of Psoralen treating the biofilms is to look for an effect of DNA CT in the biofilm. Psoralens form mono and diadduct crosslinks within dsDNA when exposed to UVA light, and those crosslinks should disrupt the pi orbitals of the crosslinked bases, which should inhibit DNA charge transfer. Recently, I confirmed that trioxsalen (a psoralen derivative), does seem to react with DNA with 365nm light (monitored by fluorescence shift (monoadduct) and then decay (diadduct)).
I have previously tried one other psoralen experiment using the “equilibrium” protocol. However, during that experiment, I discovered that there was significant solution/background PYO in the transfer reactor, that was likely confounding our GC/SWV signals. I came up with a modified protocol to try to probe biofilm associated PYO specifically, and I first attempted this on 12_10_18. This is the second version of what I call the “non-equilibrium” protocol that makes measurements while the biofilm is equilibrating with the transfer solution (therefore we can be confident that the measured PYO is biofilm associated).
Therefore, the primary purpose of this experiment was to try to measure \(D_{ap}\) for biofilms treated with and without trioxsalen. A secondary purpose is to try to measure \(D_m\) using a slightly modified analysis too.
Note that I had two potentiostats running. There were three chambers total, 1 soak and 2 transfers, so only one biofilm could soak at one time, but two transfers could be monitored simultaneously. I kept the biofilms staggered, first control, then psoralen, but I made sure that much of the transfer time overlapped to try to make it efficient.
In total 5 transfers were performed for each biofilm. The first 3 were data acquisitions to try to measure \(D_{ap}\) with the paired GC/SWV measurements taken as the biofilm equilibrated. The last two were the attempts to measure \(D_m\). In addition to the “transfer” measurements there are the corresponding “soak” measurements taken before each transfer (numbered in the same way). Hopefully the rest of the file naming is obvious.
The control biofilm did seem to be less biomass than the psoralen treated one. I do not know why, I hope that it did not dissolve when put in the fresh medium during the psoralen treatment…it was likely aerobic and not stressful. That said, I think it looked like there was less biomass on it from the beginning. Also, the last time I treated with psoralen in the same why and the biofilms looked similar during imaging.
Unfortunately, when I went to image the biofilms, I couldn’t get the confocal (HHMI 880) to work, although I could locate my samples using the epifluorescence module. I tried to get it to work for 40 min, but there was nothing but noise, I have no idea why, but it means that I don’t have images for these samples.


Why do some of your neighbors live in tents?
What words do you use to talk about people who are unhoused?
What is keeping you from becoming unhoused?
What is keeping you from becoming unhoused during the COVID-19 pandemic?
Who deserves a safe place to live?
Why are people who can’t afford a house criminalized?
What was in gentrified D.C. neighborhoods before these giant new apartment buildings?
Can you search for employment without a device or Internet access?
Can you prepare for interviews and for the workday without access to a shower and laundry facilities?
Can you secure a job and show up to work every day on time without dependable transportation?
When you picture someone who is unhoused, what does that person look like in your mind?
Are shelters and food banks sufficient services for people who are unhoused?
When you see a stranger panhandling, what do you assume about that person?
Why are rich people admired and given more respect than people who are poor or unhoused?
Why do some people who are unhoused not want to stay in a shelter?
Why do some of your neighbors live in tents?
Washington, D.C. has one of the highest rates of people who are unhoused in any city in the United States.
D.C. is one of the most expensive cities in the United States, and rental prices have been steadily increasing for the last 10 years.
People who are unhoused often have become displaced because of low wages and high rents.
According to the 1981 Census and most modern day guidelines, Americans should spend no more than 30% of their income on housing.
To meet this goal of spending only 30% of their income on housing, a person working full time in D.C. at the minimum wage of $15/hour would need to work 159 hours a week to afford the average rent for a two-bedroom apartment.
On average, a two-bedroom apartment in D.C. goes for $3100/month.
Now more than ever, paying rent and bills is more difficult because of the COVID-19 pandemic. If people aren’t working, they cannot pay their bills, including their rent. Even with the current moratorium on evictions in D.C. until at least December 31, 2020, housing advocates are expecting a housing crisis with many more D.C. residents becoming unhoused once that moratorium is lifted.
Want to read more? Check out some of our sources for this post:


Quick refresh of a node if possible
update(id, options)
| id |
string, id of the sidebar node |
| node |
object, node object |
Returns object of items it could not apply. If object is empty, all was possible to apply.
Description
The update method is similar to .set(), but much faster. If it can find and update the node (both in nodes array and on the screen) without fully refreshing it (and its subnode), it will do so. It will retrun options that it could not apply:
The id argument is the id of the node and options is an object that contains new node properties. Below is the list of properties you can quickly update:
If you defined the sidebar in the following way:
You can update sidebar node:
See also .set(), which tries to update node by calling update() method and if it fails, it will fully update the node (just the node, not sidebar).


PerkRobotics is a team of students at Perkiomen School ranging from 9th grade to 12th grade that participate in a program dedicated to building a foundation of computer science and engineering knowledge.


Choose your favorite ADDS!
Bag
Banana
Bathroom
Boots
Breakfast
Bubblegum/li>
Chair
Cthulhu
Dog-Duck
Dragon
Pen
Pet Sweep
Scissors
Shark
Sweep
Tauntaun
Unicorn
USB
Water Can
Wine Glass
Here are some adds for you to click on!
Bag
Banana
Bathroom


HPX V0.9.7 (Nov 13, 2013)¶
We have had over 1000 commits since the last release and we have closed over 180 tickets (bugs, feature requests, etc.).
General changes¶
Ported HPX to BlueGene/Q
Improved HPX support for Xeon/Phi accelerators
Reimplemented
hpx::bind
,hpx::tuple
, andhpx::function
for better performance and better compliance with the C++11 Standard. Addedhpx::mem_fn
.Reworked
hpx::when_all
andhpx::when_any
for better compliance with the ongoing C++ standardization effort, added heterogeneous version for those functions. Addedhpx::when_any_swapped
.Added
hpx::copy
as a precursor for a migrate functionalityAdded
hpx::get_ptr
allowing to directly access the memory underlying a given componentAdded the
hpx::lcos::broadcast
,hpx::lcos::reduce
, andhpx::lcos::fold
collective operationsAdded
hpx::get_locality_name
allowing to retrieve the name of any of the localities for the application.Added support for more flexible thread affinity control from the HPX command line, such as new modes for
--hpx:bind
(balanced
,scattered
,compact
), improved default settings when running multiple localities on the same node.Added experimental executors for simpler thread pooling and scheduling. This API may change in the future as it will stay aligned with the ongoing C++ standardization efforts.
Massively improved the performance of the HPX serialization code. Added partial support for zero copy serialization of array and bitwise-copyable types.
General performance improvements of the code related to threads and futures.
Bug fixes (closed tickets)¶
Here is a list of the important tickets we closed for this release.
Issue #1005 - Allow to disable array optimizations and zero copy optimizations for each parcelport
Issue #1004 - Generate new HPX logo image for the docs
Issue #1002 - If MPI parcelport is not available, running HPX under mpirun should fail
Issue #1001 - Zero copy serialization raises assert
Issue #1000 - Can’t connect to a HPX application running with the MPI parcelport from a non MPI parcelport locality
Issue #999 - Optimize
hpx::when_n
Issue #998 - Fixed const-correctness
Issue #997 - Making serialize_buffer::data() type save
Issue #996 - Memory leak in hpx::lcos::promise
Issue #995 - Race while registering pre-shutdown functions
Issue #994 - thread_rescheduling regression test does not compile
Issue #992 - Correct comments and messages
Issue #991 - setcap cap_sys_rawio=ep for power profiling causes an HPX application to abort
Issue #989 - Jacobi hangs during execution
Issue #988 - multiple_init test is failing
Issue #986 - Can’t call a function called “init” from “main” when using
<hpx/hpx_main.hpp>
Issue #984 - Reference counting tests are failing
Issue #983 - thread_suspension_executor test fails
Issue #980 - Terminating HPX threads don’t leave stack in virgin state
Issue #979 - Static scheduler not in documents
Issue #978 - Preprocessing limits are broken
Issue #977 - Make tests.regressions.lcos.future_hang_on_get shorter
Issue #976 - Wrong library order in pkgconfig
Issue #975 - Please reopen #963
Issue #974 - Option pu-offset ignored in fixing_588 branch
Issue #972 - Cannot use MKL with HPX
Issue #969 - Non-existent INI files requested on the command line via
--hpx:config
do not cause warnings or errors.Issue #968 - Cannot build examples in fixing_588 branch
Issue #967 - Command line description of
--hpx:queuing
seems wrongIssue #966 -
--hpx:print-bind
physical core numbers are wrongIssue #965 - Deadlock when building in Release mode
Issue #963 - Not all worker threads are working
Issue #962 - Problem with SLURM integration
Issue #961 -
--hpx:print-bind
outputs incorrect informationIssue #960 - Fix cut and paste error in documentation of get_thread_priority
Issue #959 - Change link to boost.atomic in documentation to point to boost.org
Issue #958 - Undefined reference to intrusive_ptr_release
Issue #957 - Make tuple standard compliant
Issue #956 - Segfault with a3382fb
Issue #955 -
--hpx:nodes
and--hpx:nodefiles
do not work with foreign nodesIssue #954 - Make order of arguments for hpx::async and hpx::broadcast consistent
Issue #953 - Cannot use MKL with HPX
Issue #952 -
register_[pre_]shutdown_function
never throwIssue #951 - Assert when number of threads is greater than hardware concurrency
Issue #948 -
HPX_HAVE_GENERIC_CONTEXT_COROUTINES
conflicts withHPX_HAVE_FIBER_BASED_COROUTINES
Issue #947 - Need MPI_THREAD_MULTIPLE for backward compatibility
Issue #946 - HPX does not call
MPI_Finalize
Issue #945 - Segfault with
hpx::lcos::broadcast
Issue #944 - OS X: assertion
pu_offset_ < hardware_concurrency
failedIssue #943 - #include <hpx/hpx_main.hpp> does not work
Issue #942 - Make the BG/Q work with -O3
Issue #940 - Use separator when concatenating locality name
Issue #939 - Refactor MPI parcelport to use
MPI_Wait
instead of multipleMPI_Test
callsIssue #938 - Want to officially access
client_base::gid_
Issue #937 -
client_base::gid_
should be private``Issue #936 - Want doxygen-like source code index
Issue #935 - Build error with gcc 4.6 and Boost 1.54.0 on hpx trunk and 0.9.6
Issue #933 - Cannot build HPX with Boost 1.54.0
Issue #932 - Components are destructed too early
Issue #931 - Make HPX work on BG/Q
Issue #930 - make git-docs is broken
Issue #929 - Generating index in docs broken
Issue #928 - Optimize
hpx::util::static_
for C++11 compilers supporting magic staticsIssue #924 - Make kill_process_tree (in process.py) more robust on Mac OSX
Issue #923 - Correct BLAS and RNPL cmake tests
Issue #922 - Cannot link against BLAS
Issue #921 - Implement
hpx::mem_fn
Issue #920 - Output locality with
--hpx:print-bind
Issue #919 - Correct grammar; simplify boolean expressions
Issue #918 - Link to hello_world.cpp is broken
Issue #917 - adapt cmake file to new boostbook version
Issue #916 - fix problem building documentation with xsltproc >= 1.1.27
Issue #915 - Add another TBBMalloc library search path
Issue #914 - Build problem with Intel compiler on Stampede (TACC)
Issue #913 - fix error messages in fibonacci examples
Issue #911 - Update OS X build instructions
Issue #910 - Want like to specify MPI_ROOT instead of compiler wrapper script
Issue #909 - Warning about void* arithmetic
Issue #908 - Buildbot for MIC is broken
Issue #906 - Can’t use
--hpx:bind=balanced
with multiple MPI processesIssue #905 -
--hpx:bind
documentation should describe full grammarIssue #904 - Add hpx::lcos::fold and hpx::lcos::inverse_fold collective operation
Issue #903 - Add
hpx::when_any_swapped()
Issue #902 - Add
hpx::lcos::reduce
collective operationIssue #901 - Web documentation is not searchable
Issue #900 - Web documentation for trunk has no index
Issue #898 - Some tests fail with GCC 4.8.1 and MPI parcel port
Issue #897 - HWLOC causes failures on Mac
Issue #896 - pu-offset leads to startup error
Issue #895 -
hpx::get_locality_name
not definedIssue #894 - Race condition at shutdown
Issue #893 -
--hpx:print-bind
switches std::cout to hexadecimal modeIssue #892 -
hwloc_topology_load
can be expensive – don’t call multiple timesIssue #891 - The documentation for
get_locality_name
is wrongIssue #890 -
--hpx:print-bind
should not exitIssue #889 -
--hpx:debug-hpx-log=FILE
does not workIssue #888 - MPI parcelport does not exit cleanly for –hpx:print-bind
Issue #887 - Choose thread affinities more cleverly
Issue #886 - Logging documentation is confusing
Issue #885 - Two threads are slower than one
Issue #884 - is_callable failing with member pointers in C++11
Issue #883 - Need help with is_callable_test
Issue #882 - tests.regressions.lcos.future_hang_on_get does not terminate
Issue #881 - tests/regressions/block_matrix/matrix.hh won’t compile with GCC 4.8.1
Issue #880 - HPX does not work on OS X
Issue #878 -
future::unwrap
triggers assertionIssue #877 - “make tests” has build errors on Ubuntu 12.10
Issue #876 - tcmalloc is used by default, even if it is not present
Issue #875 - global_fixture is defined in a header file
Issue #874 - Some tests take very long
Issue #873 - Add block-matrix code as regression test
Issue #872 - HPX documentation does not say how to run tests with detailed output
Issue #871 - All tests fail with “make test”
Issue #870 - Please explicitly disable serialization in classes that don’t support it
Issue #868 - boost_any test failing
Issue #867 - Reduce the number of copies of
hpx::function
argumentsIssue #863 - Futures should not require a default constructor
Issue #862 - value_or_error shall not default construct its result
Issue #861 -
HPX_UNUSED
macroIssue #860 - Add functionality to copy construct a component
Issue #859 -
hpx::endl
should flushIssue #858 - Create
hpx::get_ptr<>
allowing to access component implementationIssue #855 - Implement
hpx::INVOKE
Issue #854 -
hpx/hpx.hpp
does not includehpx/include/iostreams.hpp
Issue #853 - Feature request: null future
Issue #852 - Feature request: Locality names
Issue #851 -
hpx::cout
output does not appear on screenIssue #849 - All tests fail on OS X after installing
Issue #848 - Update OS X build instructions
Issue #846 - Update hpx_external_example
Issue #845 - Issues with having both debug and release modules in the same directory
Issue #844 - Create configuration header
Issue #843 - Tests should use CTest
Issue #842 - Remove buffer_pool from MPI parcelport
Issue #841 - Add possibility to broadcast an index with hpx::lcos::broadcast
Issue #838 - Simplify
util::tuple
Issue #837 - Adopt boost::tuple tests for
util::tuple
Issue #836 - Adopt boost::function tests for
util::function
Issue #835 - Tuple interface missing pieces
Issue #833 - Partially preprocessing files not working
Issue #832 - Native papi counters do not work with wild cards
Issue #831 - Arithmetics counter fails if only one parameter is given
Issue #830 - Convert hpx::util::function to use new scheme for serializing its base pointer
Issue #829 - Consistently use
decay<T>
instead ofremove_const< remove_reference<T>>
Issue #828 - Update future implementation to N3721 and N3722
Issue #827 - Enable MPI parcelport for bootstrapping whenever application was started using mpirun
Issue #826 - Support command line option
--hpx:print-bind
even if--hpx::bind
was not usedIssue #825 - Memory counters give segfault when attempting to use thread wild cards or numbers only total works
Issue #824 - Enable lambda functions to be used with hpx::async/hpx::apply
Issue #823 - Using a hashing filter
Issue #822 - Silence unused variable warning
Issue #821 - Detect if a function object is callable with given arguments
Issue #820 - Allow wildcards to be used for performance counter names
Issue #819 - Make the AGAS symbolic name registry distributed
Issue #818 - Add future::then() overload taking an executor
Issue #817 - Fixed typo
Issue #815 - Create an lco that is performing an efficient broadcast of actions
Issue #814 - Papi counters cannot specify thread#* to get the counts for all threads
Issue #813 - Scoped unlock
Issue #811 - simple_central_tuplespace_client run error
Issue #810 - ostream error when << any objects
Issue #809 - Optimize parcel serialization
Issue #808 - HPX applications throw exception when executed from the build directory
Issue #807 - Create performance counters exposing overall AGAS statistics
Issue #795 - Create timed make_ready_future
Issue #794 - Create heterogeneous
when_all
/when_any
/etc.Issue #721 - Make HPX usable for Xeon Phi
Issue #694 - CMake should complain if you attempt to build an example without its dependencies
Issue #692 - SLURM support broken
Issue #683 - python/hpx/process.py imports epoll on all platforms
Issue #619 - Automate the doc building process
Issue #600 - GTC performance broken
Issue #577 - Allow for zero copy serialization/networking
Issue #551 - Change executable names to have debug postfix in Debug builds
Issue #544 - Write a custom .lib file on Windows pulling in hpx_init and hpx.dll, phase out hpx_init
Issue #534 -
hpx::init
should take functions bystd::function
and should accept all forms of hpx_mainIssue #508 - FindPackage fails to set FOO_LIBRARY_DIR
Issue #506 - Add cmake support to generate ini files for external applications
Issue #470 - Changing build-type after configure does not update boost library names
Issue #453 - Document
hpx_run_tests.py
Issue #445 - Significant performance mismatch between MPI and HPX in SMP for allgather example
Issue #443 - Make docs viewable from build directory
Issue #421 - Support multiple HPX instances per node in a batch environment like PBS or SLURM
Issue #316 - Add message size limitation
Issue #249 - Clean up locking code in big boot barrier
Issue #136 - Persistent CMake variables need to be marked as cache variables


{% extends 'components/_base.html' %} {%block title%} Community Connect {%endblock%} {% block content %}
{{ community.benefit_one_desc }}
{{ community.benefit_three_desc }}


MediaDuration
1.5
Type
:: ( Name | =
"MediaDuration"
)
1.5
S
:: ( Name | =
"I"
or =
"F"
or =
"T"
) , required
1.5
T
:: Dictionary
Timespan


DEUCE BIGALOW: MALE GIGOLO RATING: 7.5 /10 --> Very good movie
For more reviews and movie screensavers, visit http://www.joblo.com/
You have to hand it to Adam Sandler. Whether or not you dig his type of humor, the man should be admired for at least one positive attribute: he sticks by his friends. He and his old college roommates have written and produced most of his own movies, and now, Sandler has turned his newfound Hollywood super-power, into a greenlit project for his good buddy Rob Schneider. And luckily for us, unlike their ex-SNL bud David Spade's first sans-Farley effort, LOST & FOUND, this one actually works.
PLOT: A professional fish tank cleaner suddenly finds himself in a big hole of debt when he mangles the apartment of a male gigolo client of his, whose place he was looking after during the man's three-week absence. Recognizing his inability to come up with that kind of dough in that little amount of time, Deuce decides to join the world's oldest profession, and turns himself into...a manwhore!
CRITIQUE: One of the funnier movies of the year, this film will definitely trigger two types of reactions: love or hate.   This definitely ain't for you! Simple enough? Absolutely, and much like this film's actual plot line, do not expect to find the answer to the world's problems lying in this movie's abundance of wet T-shirt and handicap jokes, but do prepare yourself to laugh a hardy har-har when Mr. Schneider and co. pull off two of the first, and most hilarious, MATRIX, hommages of the year. You have to see it to believe it. Pretty cool. Also, much like Sandler's last cinematic vehicle, BIG DADDY, this film takes a real shot at romance tied into an emotional scene or two, and believe it or not, Schneider actually pulls these scenes off. Wow. Pretty neat.
Don't get me wrong here folks, you aren't gonna find the lost scenes from CASABLANCA in here, but God help me if I didn't appreciate the obvious but poignant "make the best of what you have" message woven into Schneider's goofy script. And if all that wasn't enough, you have an excellent cast of side characters, including one of the most intense cops put to film (with a "small" fixation on his own penis), a beautiful girlfriend, who also happens to be a pretty decent actress, and Oded Fehr, who if you hadn't noticed by the umpteen love notes inscribed after my MUMMY review, is a great looking man with an ass that would put most porno stars to shame. And the mane...wow! Another hilarious turn is also given to the character of Deuce's dad in this movie. His description of how he met Deuce's mom is to die for! The one thing which surprisingly didn't work for me, were the epilogues at the end of the movie. They seemed to be wanting to be funny, but just fell flat. All in all, this movie is filled with cheap, filthy and quick humor, and if that's what you're looking for, this should be your ticket to he-bitch heaven (you'll fully appreciate that line after you see the film).
 Don't say I didn't warn you :).
Little Known Facts about this film and its stars: Schneider mentions a Filipino dish in this film, which might've been spurned from his own familial background.  He was born and raised in San Francisco, the youngest of five children. He got his first big break on the "David Letterman" show in 1987 at the tender age of 24, and apparently dated co-SNL star Julia Sweeney for a few years in the early 90s. This is Oded Fehr's second big screen appearance after his turn as Ardeth Bey in THE MUMMY earlier this year. The real Oded was born in Tel Aviv, Israel. Surprisingly, there is only one other noticeable ex-SNL cameo in this film, and that is the wonderfully dry humor of Norm McDonald, who not so surprisingly, has a line which deals with anal intrusion. Adam Sandler's film production company, which produced this film, is called Happy Madison. Uuhm, do I really have to explain where the name came from? Well, okay. Two of Sandler's films were called BILLY MADISON and HAPPY GILMORE. There you go.
Review Date: December 8, 1999 Director: Mike Mitchell Writers: Rob Schneider and Harris Goldberg Producers: Sidney Ganis and Barry Bernardi Actors: Rob Schneider as Deuce Bigalow Arija Bareikis as Kate Oded Fehr as Antoine Genre: Comedy Year of Release: 1999 --------------------------------------- JoBlo's Movie Emporium http://www.joblo.com --------------------------------------- (c) 1999 Berge Garabedian
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


Content-type: text/html
Manpage of TkDND
TkDND
Section: Tk Built-In Commands (n)
Updated: 8.4
Index
Return to Main Contents
NAME
TkDND - Tk Drag and Drop Interface
SYNOPSIS
tkdnd::drop_target register window ?type-list?
tkdnd::drop_target unregister window
tkdnd::drag_source register window ?type-list? ?mouse-buttons?
tkdnd::drag_source unregister window
tkdnd::platform_specific_types type-list
tkdnd::platform_independent_types type-list
tkdnd::GetDropFileTempDirectory
tkdnd::SetDropFileTempDirectory directory
INTRODUCTION
The TkDND family commands provide a Tcl interface to native,
platform specific drag and drop mechanism.
Under Unix the drag & drop protocol in use is the XDND protocol version 5
(also used by the Qt toolkit, and the KDE and GNOME desktops).
Under Windows, the OLE2 drag & drop interfaces are used.
Under Macintosh, the Cocoa drag and drop interfaces are used.
The TkDND family can be built from source code using the standard configure; make; make install procedure. Cmake is also supported. Some binary package are available from the SourceForge download site, from ActiveState's ActiveTcl distribution, and elsewhere.
With the TkDND family commands the user is able to register existing Tk
widgets as drag sources or drop targets, that are able to send or receive data
during drag and drop operations, encoded in specific types.
These types can be platform independent types like DND_Text and DND_Files or
platform specific types, like CF_UNICODETEXT or text/plain.
The legal forms for the TkDND commands are:
- tkdnd::drop_target register window ?type-list?
-
This command will register window as a drop target. A drop target is a
widget than can accept a drop action. window must exist when this command
is executed and this command can be executed multiple times on a widget.
When window is registered as a drop target, and optional type-list
can be provided. This type list can contain one or more types that window
will accept during a drop action, and it can contain platform independent or
platform specific types. Platform independent are DND_Text
for dropping text portions and DND_Files for dropping a list of files
(which can contain one or multiple files) on window.
If type-list is not specified, it defaults to the empty list.
- tkdnd::drop_target unregister window
-
This command will stop window from being a drop target.
Thus, window will stop receiving events related to drop operations.
It is an error to use this command for a window that has not been
registered as a drop target with tkdnd::drop_target register.
- tkdnd::drag_source register window ?type-list? ?mouse-buttons?
-
This command will register window as a drag source. A drag source is a
widget than can start a drag action. window must exist when this command
is executed and this command can be executed multiple times on a widget.
When window is registered as a drag source, and optional type-list
can be provided. This type list can contain one or more types that window
will provide during a drag action, and it can contain platform independent or
platform specific types. Platform independent are DND_Text
for dropping text portions and DND_Files for dropping a list of files
(which can contain one or multiple files) on window. However, this type
list is indicative/informative. window can initiate a drag action with
even a different type list. If type-list is not specified, it defaults to
the empty list.
Finally, mouse-buttons is one or more mouse buttons that will be used for
starting the drag action. It can have any of the values "1" (left mouse
button), "2" (middle mouse button - wheel) and "3" (right mouse button). If
mouse-buttons is not specified, it defaults to "1" (left mouse button).
Multiple mouse buttons can be specified as a list of values (i.e. {1 3}).
- tkdnd::drag_source unregister window
-
This command will stop window from being a drag source.
Thus, window will stop receiving events related to drag operations.
It is an error to use this command for a window that has not been
registered as a drag source with tkdnd::drag_source register.
- tkdnd::platform_specific_types type-list
-
This command will accept a list of types that can contain platform independent
or platform specific types. A new list will be returned, where each platform
independent type in type-list will be substituted by one or more platform
specific types. Thus, the returned list may have more elements than
type-list.
- tkdnd::platform_independent_types type-list
-
This command will accept a list of types that can contain platform independent
or platform specific types. A new list will be returned, where each platform
specific type in type-list will be substituted by one or more platform
independent types. Thus, the returned list may have more elements than
type-list.
- tkdnd::GetDropFileTempDirectory
-
This command will return the temporary directory used by TkDND for storing
temporary files. When the package is loaded, this temporary directory will be
initialised to a proper directory according to the operating system. This
default initial value can be changed to be the value of the following
environmental variables: TKDND_TEMP_DIR, TEMP, TMP.
- tkdnd::SetDropFileTempDirectory directory
-
This command will change the temporary directory used by TkDND for storing
temporary files to directory.
SUPPORTED TYPES
In order to declare the format that the data that will transferred during
a drag and drop operation, all drag and drop protocols use the notion of types.
Unfortunately, each protocol defines its own, usually platform specific, types. TkDND, trying to maintain portability among different platforms, offers some
predefined types for some basic kinds of data, like text, and filenames.
Currently, the following predefined cross-platform values are available:
- DND_Text:
-
This type can be used for transferring textual data. Internally, it is
translated to the following platform specific formats:
Windows: CF_UNICODETEXT, CF_TEXT.
Unix: text/plain;charset=UTF-8, text/plain.
Mac: NSStringPboardType.
- DND_Files:
-
This type can be used for transferring a list of file names.
Internally, it is translated to the following platform specific formats:
Windows: CF_HDROP.
Unix: text/uri-list.
Mac: NSFilenamesPboardType.
- Additionally to the platform independent types, TkDND supports the following platform specific types:
-
- Windows:
-
CF_UNICODETEXT: Text transfer encoded in Unicode.
CF_TEXT: Text transfer with application dependent encoding. If an encoding
locale is specified through CF_LOCALE it is used, else the system encoding is
used for the conversion.
FileGroupDescriptor - FileContents: These two types are used for
transferring a set of files that do not appear physically on disk, like files
from compressed folders or Outlook e-mail messages. File names are transferred as
in the CF_TEXT type, while file contents are transferred in binary. TkDND
retrieves both the file names and the file contents, and saves then in a
temporary directory. When the transfer is complete, the file names of the saved
files in the temporary folder are returned. Note that TkDND support this type
pair only as drop targets and not as drag sources.
FileGroupDescriptorW - FileContents: These two types are used for
transferring a set of files that do not appear physically on disk, like files
from compressed folders or Outlook e-mail messages. File names are transferred as
in the CF_UNICODETEXT type, while file contents are transferred in binary. TkDND
retrieves both the file names and the file contents, and saves then in a
temporary directory. When the transfer is complete, the file names of the saved
files in the temporary folder are returned. Note that TkDND support this type
pair only as drop targets and not as drag sources.
CF_HDROP: Files transfer encoded in UTF-8.
- Unix:
-
Finally, format types used for drop types can have wildcards, following
the same rules as "string match". For example, registering a drop target with
the type "*", will accept any drop, no matter what the drop format is.
EVENTS
Windows registered as either drop targets or drag sources, will receive certain
events, during drag and drop operations. As a result, the windows are expected
to have bindings for some of these events. Some events are mandatory (in the
sense that a drag or drop operation can be stopped if the bindings do not
exist), while others are not. However, it is a good practice to define bindings
for all events, so as the application will behave as expected during drag and
drop operations.
The TkDND package defines a set of virtual events, that correspond to various
phases of a drag and drop operation. All windows that are either a drop target
or a drag source are expected to have bindings for (all) these events, created
with the bind Tk command. While these event bindings are regular Tk
events, they have a small difference from plain Tk events: most of them are
expected to return a value. Since Tk bindings cannot return a value, TkDND does
not actually generate these events (i.e. through "event generate"). Instead,
TkDND locates the script that has been bound to the virtual event, and directly
executes it, as a script. Apart from this small difference in how the events are
triggered, the events required by TkDND can be viewed as regular events. In the
following two sections all virtual events defined by the TkDND package are
presented.
DROP TARGET EVENTS
A window registered as a drop target, is expected to have bindings for the
following virtual events:
- <<DropEnter>>:
-
This event is triggered when the mouse enters the window
during a drop action. The purpose of this event is to change the visual state of
the window, so as to notify the user whether the drop will be accepted or not.
The binding script is expected to return a single value that will define the
drop action. This returned action can be one of copy, move,
link, ask, private and refuse_drop. This event is not
mandatory, but if it is defined, it has to return an action. In case an action
is not returned, the drop is refused for this window.
- <<DropPosition>>:
-
This events is triggered when the mouse moves inside the
window during a drop action. The purpose of this event is to let window decide
if it will accept the drop and the action of the drop, if a drop is going to
happen at the specific mouse coordinates. Thus, the script binding for such an
event can get the mouse coordinates and the pressed modifier buttons (such as
ctrl, shift or alt), and is expected to return the drop action, which again must
be one of copy, move,
link, ask, private and refuse_drop. This event is not
mandatory, but if it is defined, it has to return an action. In case an action
is not returned, the drop is refused for this window.
- <<DropLeave>>:
-
This event is triggered when the mouse leaves outside the
area covered by window, without a drop happening. The binding of such an event
is expected to restore the visual state of the window to normal (i.e. the visual
state the window was in before the <<DropEnter>> event was triggered). The
binding for such an event is not expected to return a value.
- <<Drop>>:
-
This event is triggered by a drop action, and it is expected to
handle the dropped data and reset the visual state of the window. The binding
script is expected to return a value, which will be the action that has been
performed to the data and must be one of copy, move,
link, ask, private and refuse_drop. This event is not
mandatory, but if it is defined, it has to return an action. In case an action
is not returned, the drop is refused for this window.
- <<Drop:type>>:
-
This event is a specialisation of the generic
<<Drop>> event, augmented with a type. If such a binding exists and the drop
type matches type, this event binding will be executed, instead of the
generic <<Drop>> event binding. These events allow for easy specialisation of
drop bindings, according to the type of the dropped data. type can be
either a platform independent or a platform specific type. The binding script of
such an event is expected to return a value, which will be the action that has
been performed to the data and must be one of copy, move,
link, ask, private and refuse_drop. This event is not
mandatory, but if it is defined, it has to return an action. In case an action
is not returned, the drop is refused for this window.
DRAG SOURCE EVENTS
A window registered as a drag source, is expected to have bindings for the
following virtual events:
- <<DragInitCmd>>:
-
This event is triggered when a drag action is about to start. This is a
mandatory event (whose absence will cancel the drag action), and is responsible
for providing three things: the list of actions and format types supported by
the drag source, and of course the data to be dropped. Thus, the binding script
for such an event must return a list of three elements: the drop actions
supported by the drag source (which can be any of copy, move,
link, ask, and private), the format type list that the data
can be dropped as (which can be any platform independent or platform specific
type), and finally the data. A simple example of such a binding, is:
-
bind .drag_source <<DragInitCmd>> \
{list copy DND_Text {Hellow world!}}
- <<DragEndCmd>>:
-
This event is triggered when the drag action has finished (either when the drop
was successful or not). Its main purpose is to process the dropped data
according to the drop action returned by the drop target. Binding for such an
event is not mandatory, and the binding is not expected to return a value.
BINDING SCRIPTS AND SUBSTITUTIONS
All bindings scripts defined for any of the virtual events above will be
executed in the same interpreter that was used for creating the window the
event is bound to, and the binding script will executed at the global
level (i.e. only global variables will be accessible).
If the binding script contains any % characters, then substitutions will be
made, like in normal Tk binding scripts. Valid % specifiers are:
- %%
-
Replaced with a single percent.
- %A
-
The current action of the drag/drop operation.
- %a
-
The action list supported by the drag source.
- %b
-
The mouse buttons that are pressed during a drag/drop operation. Note that
typically a single mouse button is reported as pressed, even if more than one
mouse buttons are actually pressed. Under Unix though, all pressed mouse
buttons will be reported (if the XKeyboard extension is available - else only
"1" will always be reported).
- %c
-
The codes of the list of types supported by the drag source. All codes are in
octal format and have the same order as the list of types obtained through the
%t substitution.
- %C
-
The code (in octal format) of the current type of the drag and drop operation.
- %CTT
-
The list of types from the drop target type list that are common to the drag
source type list.
- %CST
-
The list of types from the drag source type list that are common to the drop
target type list.
- %D
-
The data that has been dropped. Under some platforms the data will be
available before the drop has occurred. The format of the data is the current
type of the drop operation.
- %e
-
The name of the current virtual event. One of <<DropEnter>>, <<DropPosition>>,
<<DropLeave>>, <<Drop:type>>, <<Drop>>, <<DragInitCmd>>, <<DragEndCmd>>.
- %L
-
The list of types supported by the drag source.
- %m
-
The list of modifier keyboard keys that are pressed.
Modifier keys are some special keys, like Shift, Control or Alt.
Valid modifiers are "shift", "ctrl" and "alt" (under all operating systems),
and "mod1" to "mod5" under Unix. Please note that the usefulness of modifiers
may differ across operating systems. For example, under Windows the drop target
must examine the modifiers, and decide upon the drop action that must be
performed (by selecting an action from the list of actions supported by the
drag source). However, under Unix, the drag source is expected to decide on the
drop action, not the drop target. The drop target is expected to either accept
the action selected by the drag source (and return it back), or select "copy",
"default", or "ask". So, under Unix examining the pressed modifier keys
fulfills only informative purposes.
- %ST
-
The list of types supported by the drag source.
- %t
-
The list of types supported by the drag source.
- %T
-
The current type of the drag and drop operation.
- %TT
-
The list of types supported by the drop target.
- %W
-
The window that the event is delivered to.
- %X
-
The mouse pointer x coordinate, relative to the root window.
- %Y
-
The mouse pointer y coordinate, relative to the root window.
- %x
-
The mouse pointer x coordinate, relative to the drop target window.
- %y
-
The mouse pointer y coordinate, relative to the drop target window.
SPECIFYING DROP TARGETS
Creating drop targets is easy: we have to only register a window as a drop
target with the list of format types it can accept, and add a few bindings. For
example, a window that accepts textual drops can be as follows:
-
label .drop_target -text {Text Drop Target!} -bg white
tkdnd::drop_target register .drop_target DND_Text
bind .drop_target <<DropEnter>> {%W configure -bg yellow; list copy}
bind .drop_target <<DropPosition>> {list copy}
bind .drop_target <<DropLeave>> {%W configure -bg white}
bind .drop_target <<Drop>> {%W configure -text %D; %W configure -bg white}
From the above bindings, none is obligatory. However, we usually want to receive
dropped data (thus the <<Drop>> event must be handled) and we want to give
visual feedback to the users through the <<DropEnter>> and <<DropLeave>> events.
Finally, <<DropPosition>> is only necessary if we want to only accept drops on
specific areas of the window, or we want to change the drop action according to
the pressed modifiers.
Now, if we want to also add the ability to receive file drops, we could add:
-
tkdnd::drop_target register .drop_target DND_Files
bind .drop_target <<Drop:DND_Files>> \
{puts %D; %W configure -bg white}
Note that we have added a "specialised" drop binding, for the event
<<Drop:DND_Files>>: this means that when a text portion is dropped over the
window, the <<Drop>> event binding will be executed. But when a list of files is
dropped onto the window, the <<Drop:DND_Files>> event binding will be executed.
If we proceed and define a binding for the <<Drop:DND_Text>> event, the binding
of the "general" <<Drop>> event will never be executed.
SPECIFYING DRAG SOURCES
In order to specify a drag source, we need to register a window as a drag
source:
-
tkdnd::drag_source register .text_drag_source
The above command defines a drag source with an empty type list (and which will
be declared in the <<DragInitCmd>> event binding) and arranges mouse bindings
such as a drag will be started with the left mouse button.
Then, it is absolutely necessary to define a binding for the <<DragInitCmd>>:
this event binding must return the list of actions, the list of format types and
the actual data to be dropped:
-
bind .text_drag_source <<DragInitCmd>> \
{list {copy move} DND_Text {Hello from Tk!}}
Please note that all specified format types must be compatible to each other, as
they all characterise the same data.
SPECIFYING DRAG SOURCES WITH MULTIPLE DATA TYPES
In the case the drag source wants to send a set of (incompatible) data types,
the result of the <<DragInitCmd>> event binding must be slightly different, as
it must return two items (instead of three described in the previous paragraph).
The first element is again a list of allowable actions. However, the second item
is a list of "format type" and "data" pairs:
bind .text_drag_source <<DragInitCmd>> \
{list {copy move} {DND_Text {Hello from Tk!} DND_Files {/tmp}}}
And that was all!
BUGS
OS X:
TkDND under OS X is built on top of the Cocoa framework.
Time: 10:56:09 GMT, July 15, 2019


The following tables list the members that are exposed by the DateTimeOffset Class class.
Constructors
None.
Fields
None.
Methods
| Name | Description |
|---|---|
|
Compares this DateTimeOffset object to another DateTimeOffset object based on their time at GMT. |
|
|
Compares this DateTimeOffset object to another Object. |
|
|
Returns the offset, in minutes from GMT, of this DateTimeOffset object. |
|
|
Returns the point in time represented by this DateTimeOffset object as a java.sql.Timestamp. |
|
|
Returns a hash code value for the object. |
|
|
Returns a string representation of the DateTimeOffset object. |
|
|
Creates a DateTimeOffset object representing a point in time at a particular offset from GMT. |
Inherited Methods
| Class inherited from: | Methods |
|---|---|
|
class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, |


Smart Student Management System
Fees Details
Designed by Diptesh,Sahil,Deepak
Please fill in this Regd No. and respectively your's Fees below to check balance.
Total Fees Paid(Please Enter): (in Rs.)
Economic Backward Classes(EBC)
Scholarship
Migration
Freeship


--- layout: default title: Segments include: segments --- {% for i in (0..7) %} {% include assets/images/7-segment.svg %} {% endfor %} {% for i in (0..3) %} {% for letter in site.segments.letters %} {{ letter }} {% endfor %} {% endfor %} {% for i in (0..3) %} 0b00000000 {% endfor %} {% for i in (0..3) %} 0x00 {% endfor %} 0x00000000 {% for colour in site.segments.colours %} {% endfor %} Segment order DP–A A–DP Active state Active-Low Active-High


0.0.1
Extends React.Component
(any)
unblock user
Extends React.Component
(any)
render who Texted last Text if the user is me than render 'You:' before text else render nothing
Extends React.Component
(any)
Extends React.Component
(any)
Extends Component
(any)
determine options to be shown in kweek menu
determine wheather the text after @ is a mention or not
open kweek menu
handle block press from kweek menu
handle follow press from kweek menu
handle unfollow press from kweek menu
handle delete press
handle mute press
handle pressed buttons from kweek menu
(int)
index of pressed button
Calculate kweek date and time
Determine if it is a kweek shared by a followed user or it is rekweeked by him
Determine whether the kweek is liked by the user or not
Determine whether the kweek is rekweeked by the user or not
Handle like button press by changing the button color and changing the counter
Handle rekweek button press by changing button color and changing counter
Extends Component
(any)
determine options to be shown in kweek menu
determine whether the text after @ is mention or not
open kweek menu
handle block press from kweek menu
handle follow press from kweek menu
handle unfollow press from kweek menu
handle delete press
handle mute press
handle pressed button in kweek menu
(int)
index of button pressed
Calculate kweek date and time
Determine if it is a kweek shared by a followed user or it is rekweeked by him
Determine whether the kweek is liked by the user or not
Determine whether the kweek is rekweeked by the user or not
Handle like button press by changing the button color and changing the counter
Handle rekweek button press by changing button color and changing counter
Extends React.Component
(any)
unmute user.
Extends React.Component
(any)
Set type of notification when it's loaded.
Extends React.Component
(any)
Extends React.Component
to render unseend Mentions.
(any)
Extends React.Component
(any)
followText. render right Text according to data from the backend
Extends React.Component
(any)
follow user.
unfollow user.
unblock user.
checks if the profile owner is muted to show mute icon.
handle right button style and interaction is it follow/following/edit profile/blocked.
chec if the user has been blocked or not.
checks if the peorile owner is following you or not to view or not the messagr icon.
checks if the profilr owner is following you or not.
return the date of joining.
Extends React.Component
(any)
follow user (Post request) follow user
unfollow user (delete request) follow user
unblock user (delete request) block user
isMuted. render "Muted" Image according to data from the backend
followText. render right Text according to data from the backend
isFollowingOrBlock. render right Component according to data from the backend
render follow or block Button if the user is not me
Extends React.Component
(any)
get Email. gets Email of the current user.
update username. Redirects the user to the update Username form.
update Email. Redirects the user to the update Email form.
update Password. Redirects the user to the update Password form.
Extends React.Component
(any)
Extends Component
(any)
Send message sends message to specifice user (Post request) we send the message and the user name
when user choose Photo
Get more Messages above when we get to the beginning of the scrollView. Check we reached beginning of content
(int)
position on screen
| Name | Description |
|---|---|
contentOffset.contentOffset any
|
pull to refresh functionality. gets first 20 messages
Update Messages. gets first 20 Message With default parameter (id=null) To retrieve more send the id of the last retrieved message.
(int
= null
)
The id of Message .
Render X symbol. to remove picked image
Extends Component
(any)
Get more Lists when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Extends Component
Extends Component
(any)
Extends React.Component
(any)
action sheet options. determine options to be shown in update picture menu.
pull to refresh functionality. set refreshing to false.
shoe action sheet. open update picture minu.
when user choose bunner Photo
when user choose profile Photo
press save button. updates pictures and screen name and bio.
when user choose delete profile photo from action sheet
when user choose delete cover photo from action sheet
update photo menu handle update photo button in update photo menu
(int)
index of button pressed
when user press button to update cover
when user press button to update profile photo
Extends React.Component
(any)
Extends Component
(any)
pull to refresh functionality.
gets more folloewrs after first 20
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
updates user list with more folloewrs
(any
= null
)
Extends Component
(any)
pull to refresh functionality.
gets more folloewings after first 20
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
updates user list with more folloewings
(any
= null
)
Extends Component
Stops the loading screen and provides the user with an error
Stops the loading screen and provides the user with a success message
Renders a message if it already exists, or an introductory text if not
Extends Component
(any)
Pull to refresh functionality
Get more Kweeks when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Update Kweeks. gets first 20 Kweeks With default parameter (id=null) To retrieve more send the id of the last retrieved kweek.
(int
= null
)
The id of Kweek .
(any
= null
)
Extends Component
(any)
Extends Component
(any)
Extends Component
(any)
Specifies header config defaults that will be applied to every request and redirects the user to the Home screen
Redirects the user to the signing up form
Processes the user's credentials and either calls onLoginSuccess or calls onLoginFail
Redirects the user to the 'forgot password' form
Sends a user's email then either displays a success message upon sending a new confirmation email or displays an error otherwise
Renders a 'resend' button if an unconfirmed user tries to login
Extends Component
(any)
pull to refresh functionality. gets first 20 conversations
Get more Conversations when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Update Conversations. gets first 20 Conversation With default parameter (id=null) To retrieve more send the id of the last retrieved conversation.
(int
= null
)
The id of Conversation .
Extends React.Component
(any)
Extends Component
(any)
Set type of notification when it's loaded.
(any)
pull to refresh functionality. gets first 20 notifications
Get more Notifications when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Get more Mentions when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Update Notifications. gets first 20 Notification With default parameter (id=null) To retrieve more send the id of the last retrieved notification.
(int
= null
)
The id of Notification .
Update Mentions. gets first 20 Mention With default parameter (id=null) To retrieve more send the id of the last retrieved Mention.
(int
= null
)
The id of Mention .
Extends React.Component
(any)
update user's password and go back to account settings or the 'Login' page provided that the new and confirm password are match and not empty, else Shows a toast message
Doesn't render the back button if it's considered as a forgotPassword form, renders it otherwise
Doesn't render the current password text input if it's considered as a forgotPassword form, renders it otherwise
Extends React.Component
(any)
Extends Component
(any)
options of the settings menu
gets more kweeks and likes after first 20
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
pull to refresh functionality. updates profile, kweeks and likes
open settings menu
activate kweeks tab
activate likes tab
navigate to folloewrs list
navigate to conversation of the frofile user
navigate to folloing list
navigate to edit profile
chechs if the profile is the profil of the current user of not
view thetab content if it's kweeks or likes or empty
update kweeks or get more kweeks
(int
= null
)
last id of kweeks.
update liked kweeks or get more liked kweeks
(int
= null
)
last id of liked kweeks.
unmute the profile owner
unblock the profile owner
mute the profile owner
block the profile owner
handle settings menu is inteaction
(any)
checks if the profile owner is blocked or not and return profile content
checs if the profile owner is the current user or not to handle settings menu
Extends Component
(any)
Extends Component
(any)
Get more Lists when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Update Trend. Normally the request returns the first 20 trends when null. To retrieve more send the id of the last trend retrieved.
(int
= null
)
id of trend .
Extends Component
(any)
Get more Users Lists when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Get more Kweeks Lists when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
Get more trends Kweeks when we get to the end of the scrollView. Check we reached end of content
(Object)
| Name | Description |
|---|---|
$0.layoutMeasurement any
|
|
$0.contentOffset any
|
|
$0.contentSize any
|
(int)
size of the layout .
(int)
position on screen
(int)
size of all content
render trend kweeks or search people and kweeks
Extends Component
(any)
Extends Component
(any)
Stops the loading screen and displays a success message
Sends a user's credentials and data then either calls onRegistrationSuccess or calls onRegistrationFail
Sends a user's email then either displays a success message upon sending a new confirmation email or displays an error otherwise
Renders a 'resend' button if an unconfirmed user has already registered successfully or his email already exists
Extends Component
Confirms the user who has clicked on a confirmation link. Displays a success message if the confirmation was successful, otherwise, it displays an error message
(any)
Specifies temporary header config defaults then redirects the user to the 'Update password' form
(any)
Handles opening a kwikker URL in iOS
(any)
Redirects the user to the login form
Redirects the user to the signing up form
Extends React.Component
(any)
update user's username and go back to account settings
Checks whether the user whose username is entered as a paramter is the same as the user logged in the application
(string)
Username of a user
int
:
1 if the entered username belongs to the logged in user, otherwise it returns 0


Loading user organisation...
My organisation (as administrator)
Loading professors...
Professors of my organisation
0"
[professors]="organisationProfessors" [canUpdate]="organisation.isActive">
0)">
No professors found for my organisation.
Other professors
0"
[professors]="otherProfessors" >
0)">
No
others professors found.


Modern game development relies on a number of basic design concepts and fundamental ideas in order for all of the features players expect to; textures, models, animations, audio, particle systems, and good enough performance to run on the current hardware.
This blog post will mostly be a collection of notes that I found helpful when learning about the fundamentals of video games.
Good game design is about the in-game systems, problem solving, player experience, and game loops that keep the player hooked.
Quaternion is composed of four components, one in the real part, and the other three in the imaginary part. A quaternion is usually denoted as:
q = w + xi + yj + zk
Fundamental formula for Quaternions:
i^2 = j^2 = k^2 = i * j * k = -1
Game object orientation can be represented by axis-angles, with a mapping between an axis-angle pair and a unit quaternion
Frame coherence is a measurement of how much your game scene changes across time steps. If the position and velocity of rigid bodies do not change a lot between two time steps, then these two frames have high frame coherence.
Vertex shaders are a programmable Shader stage in the rendering pipeline that handles the processing of individual vertices. Typically they are used to perform transformations to post-projection space, for consumption by vertex post-processing.
Rasterization is the process by which each individual primitive is broken down into discrete elements called fragments, based on the sample coverage of the primitive.
Fragmentation shader is the Shader stage that will process a Fragment generated by the Rasterization into a set of colours and a single depth value.
Timeslicing is a useful technique to improve the performance of batched algorithms. Consider using it for elements of the game, such as handling NPC or enemy decision logic, assuming the game features a lot of NPCs or monsters.
During the game loop, you can account for a given object's velocity and position by adjusting for the change in time...
Velocity += acceleration * delta Time
Position += velocity * delta Time
Common degree-to-radian mapping:
30 degrees == pi/6
45 degrees == pi/4
60 degrees == pi/3
90 degrees == pi/2
180 degrees == pi
Spherical linear interpolation (slerp), where t is the interpolation parameter between 0 or 1.
Slerp(q1,q2,t) = (sin((1-t) * omega) * q1) / sin(omega) + (sin(t * omega) * q2) / sin(omega)
Omega = cos-1(q1*q2)
How to create a hovering motion:
Vector3 hover =
new Vector3
(
RadiusX * Mathf.Sin(RateX * Time.time + OffsetX),
RadiusY * Mathf.Sin(RateY * Time.time + OffsetY),
RadiusZ * Mathf.Sin(RateZ * Time.time + OffsetZ)
);
obj.transform.position = basePosition + hover;
Deadlock is when two threads are stuck (i.e. locked), each waiting for the other to finish.
Race conditions occur when two or more threads try to access shared data and then try to change it at the same time. This can be addressed by using immutables (consts) more and add additional logic (mutex) to ensure proper isolation or exclusion.
Heaps are specialized tree-based data structure which is satisfies the heap property, specifically it serves as a priority queue.
Keep in mind the different paradigms between Atomic vs Mutex; atomics allows for lockless concurrency, while mutex means mutually exclusive and involves locks.
Maps and sets in C++ are the classic sorted associative containers, with O(log n) access / insertion / erase, and O(1) move complexity. Typically they are implemented as a red / black tree, which is not cache-friendly and the lookup time is not constant. In C++11 this is addressed by structures like std::unordered_set and std::unordered_map, which have average constant time on insert / erase / lookup.
An alternative to the standard hash map or set, there is also the idea of "open addressing" which offers better hash performance, but it has a very high space and time requirement.
If you find you have difficulty with cache-misses, try using VTune to gather data about bottlenecks in code.


The aim of this document is to give you an overview of how our Spry data framework works by walking you through the conversion of an HTML table containing static data to one that can load its data dynamically.
Here's what the table we'll be working with looks like:
| Employee ID | Last Name | First Name | Phone | Username |
|---|---|---|---|---|
| 123456 | Smith | Edward |<PHONE_NUMBER> | esmith |
| 127937 | Johnson | Neil |<PHONE_NUMBER> | njohnson |
| 126474 | Williams | Steve |<PHONE_NUMBER> | swilliams |
| 120585 | Jones | John |<PHONE_NUMBER> | jjones |
| 127493 | Brown | Joe |<PHONE_NUMBER> | jbrown |
The markup for this table would look like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Static Table Sample</title>

 Employee ID 	 Last Name 	 First Name 	 Phone	 Username

 123456	 Smith 	 Edward	 (415) 333-0235 	 esmith

 127937	 Johnson	 Neil	 (415) 333-9475 	 njohnson

 126474	 Williams	 Steve	 (415) 333-4573 	 swilliams

 120585	 Jones	 John	 (415) 333-9345 	 jjones

 127493	 Brown	 Joe	 (415) 333-5938 	 jbrown

The first thing we want to do is to extract the data out into an XML file named employees-01.xml so we can load the data dynamically from the browser:
<?xml version="1.0" encoding="iso-8859-1"?> <employees xmlns="http://www.foo.com/employees"> <employee id="123456"> <lastname>Smith</lastname> <firstname>Edward</firstname> <phone>(415) 333-0235 </phone> <username>esmith</username> </employee> <employee id="127937"> <lastname>Johnson</lastname> <firstname>Neil</firstname> <phone>(415) 333-9475 </phone> <username>njohnson</username> </employee> <employee id="126474"> <lastname>Williams</lastname> <firstname>Steve</firstname> <phone>(415) 333-4573 </phone> <username>swilliams</username> </employee> <employee id="120585"> <lastname>Jones</lastname> <firstname>John</firstname> <phone>(415) 333-9345 </phone> <username>jjones</username> </employee> <employee id="127493"> <lastname>Brown</lastname> <firstname>Joe</firstname> <phone>(415) 333-5938 </phone> <username>jbrown</username> </employee> </employees>
The names of the tags and attributes you use in your XML is up to you, but what is important, is that all of the data, for each row of the original table, is structured the same way and at the same level of the XML tag structure.
Now that our data is in an XML file, we'll need to modify our original file so that it can find the XML file. Since we no longer need all of the static data in the table, I've removed all but one row of static data, which we'll be using later on. First, we'll need to include the JavaScript files that define our data framework:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Static Table Sample</title>

Employee ID
Last Name
First Name
Phone
Username

123456
Smith
Edward
(415) 333-0235
esmith

Next, we'll add some JavaScript to define a data set that can load our data:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Static Table Sample</title>

Employee ID
Last Name
First Name
Phone
Username

123456
Smith
Edward
(415) 333-0235
esmith

The example above creates an Spry.Data.XMLDataSet object named "dsEmployees". The first argument to the XMLDataSet constructor is a URL to the data you want to load. In this particular case, it is a relative URL to our xml file named "employees-01.xml", but this first argument can also be a fully qualified or relative URL to some web service/application within your domain that requires URL arguments, so it doesn't have to be a static XML file.
The second argument to the XMLDataSet constructor is an XPath expression that describes where in the XML structure the data you are interested in lives. For our XML data, all of our data is in the "employee" node, so the result of our XPath expression "employees/employee" is the set of XML employee nodes.
Since data sets are tabular, the data in each of the employee nodes is flattened, producing an array of objects (rows) who's properties (columns) are the names of the tags or attributes:
[ { "@id": "123456", "lastname": "Smith", "firstname": "Edward", "phone": "(415) 333-0235", "username": "esmith"}, ... { "@id": "127493", "lastname": "Brown", "firstname": "Joe", "phone": "(415) 333-5938", "username": "jbrown"}, ]
which can be visualized as a lookup table that looks something like this:
| @id | lastname | firstname | phone | username |
|---|---|---|---|---|
| 123456 | Smith | Edward |<PHONE_NUMBER> | esmith |
| 127937 | Johnson | Neil |<PHONE_NUMBER> | njohnson |
| 126474 | Williams | Steve |<PHONE_NUMBER> | swilliams |
| 120585 | Jones | John |<PHONE_NUMBER> | jjones |
| 127493 | Brown | Joe |<PHONE_NUMBER> | jbrown |
Attributes on tags are prefixed with an "@" character, so in the example above, we have a column named "@id" which represents the "id" attribute on the employee tag. If the firstname tag had a nickname attribute (example: <firstname nickname="Eddie">Edward</firstname>) on it, there would be a column named "firstname" with a value of "Edward" and another column named "firstname/@nickname" with a value of "Eddie".
Now that we have our data set all set up, lets turn our table into a dynamic region that has the ability to automatically regenerate itself as the data in the data set is loaded or changed. To do this, we first need to wrap our table with a div:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Static Table Sample</title>

 Employee ID 	 Last Name 	 First Name 	 Phone	 Username

 123456	 Smith 	 Edward	 (415) 333-0235 	 esmith

The "spry:region" attribute on the div we just added, tells our data framework that the contents of the div should be treated as a dynamic region. The value of the "spry:region" attribute is "dsEmployees" which tells our framework that this region is bound to data in the "dsEmployees" data set, and that this region should be regenerated anytime the data in "dsEmployees" is changed. If the dynamic region is bound to more than one data set, you would simply list the data set names, separated by spaces, as the value of the "spry:region" attribute (example: spry:region="dsEmployees1 dsEmployees2 dsEmployees3").
Now that we have a dynamic region defined, we can insert data from our data set into the region by using data references of the form "{<dataSetName::columnName>}":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Static Table Sample</title>

 Employee ID 	 Last Name 	 First Name 	 Phone	 Username

 {dsEmployees::@id}	 {dsEmployees::lastname}	 {dsEmployees::firstname}	 {dsEmployees::phone}	 {dsEmployees::username}

If the dynamic region is only bound to one data set, you can leave off the data set name in the data reference. For example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Static Table Sample</title>

 Employee ID 	 Last Name 	 First Name 	 Phone	 Username

 {@id}	 {lastname}	 {firstname}	 {phone}	 {username}

If you load the code above into a browser, you should see the following:
| Employee ID | Last Name | First Name | Phone | Username |
|---|---|---|---|---|
| 123456 | Smith | Edward |<PHONE_NUMBER> | esmith |
Every data set has a notion of a current row. By default, the current row is zero, so with the code above the data framework replaced our data references with the values in the current row of the "dsEmployees" data set. We actually want our table to list all of the data in our data set, so we need to use a looping construct to iterate over all of the rows in our data set.
You tell the data framework to iterate over the rows of a data set by specifying an "spry:repeat" attribute, on the node you want to repeat for each row in the data set. The value of the "spry:repeat" attribute should be the name of the data set you want to iterate over:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Static Table Sample</title>

Employee ID
Last Name
First Name
Phone
Username

{@id}
{lastname}
{firstname}
{phone}
{username}

If you load the code above into a browser, you should see:
| Employee ID | Last Name | First Name | Phone | Username |
|---|---|---|---|---|
| 123456 | Smith | Edward |<PHONE_NUMBER> | esmith |
| 127937 | Johnson | Neil |<PHONE_NUMBER> | njohnson |
| 126474 | Williams | Steve |<PHONE_NUMBER> | swilliams |
| 120585 | Jones | John |<PHONE_NUMBER> | jjones |
| 127493 | Brown | Joe |<PHONE_NUMBER> | jbrown |
Congratulations, you've converted your static table into a dynamic table that can load external data!
Before we conclude, let's take this example one step further by adding the ability to sort the items in the table based on a click in a specific column header. To do this, we add a spry:sort attribute to each column header:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Static Table Sample</title>

 Employee ID 	 <th scope="col" spry:sort="lastname"Last Name 	 First Name 	 Phone	 Username

 {@id}	 {lastname}	 {firstname}	 {phone}	 {username}

The sort method on the "dsEmployees" data set takes the name of the data set column to use for the sorting operation. Sorting causes the order of the data in the data set to change, so anytime it is invoked, the dynamic region automatically regenerates itself to reflect the new ordering of the data. To see it in action, load the code above into a browser, and click on any of the column headers.
Aside from sorting, we can also completely change the data we display by simply changing the URL on the data set and telling it to reload its data:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Static Table Sample</title>

<select onchange="dsEmployees.setURL(this.value); dsEmployees.loadData();">
<option value="../../data/employees-01.xml" selected>Set 1</option>
<option value="../../data/employees-02.xml">Set 2</option>
</select>

Employee ID
Last Name
First Name
Phone
Username

{@id}
{lastname}
{firstname}
{phone}
{username}

When running the code above in a browser, you can use the select form widget to switch between two different sets of data.
Congratulations! With a few lines of JavaScript, you've turned your static table page into something that can load and display data from any number of XML files. Keep in mind that you can turn almost any HTML element on the page into a dynamic region. Take a look at some of the demos that are distributed with the framework to get an idea of just how flexible it is.
Copyright © 2006. Adobe Systems Incorporated.
All rights reserved.


Fill out some information to help us plan your vacation.
How many days do you want to travel?
1 Day
2 Days
3 Days
4 Days
5 Days
6 Days
7 Days
8 Days
9 Days
10 Days
Check all the locations that you want to visit!
The Metropolitan Museum of Art
Statue of Liberty National Monument
Central Park
Empire State Building
American Museum of Natural History
9/11 Memorial
Museum of Modern Art
Battery Park
The High Line
City Sightseeing New York
Wall Street
Intrepid Sea, Air and Space Museum
St. Patrick's Cathedral
Top of The Rock
Chrysler Building
Plan My Vacation


Fill these fields and get free access
"I’ve been a member of the Nordi Crypto for only 47 days. But my life has already changed! Not only have I made my first $100K, but I’ve also met some of the most incredible people in the process."
"When I joined The Nordi Crypto 2 months ago, never could have I ever imagined the series of events that would unfold just days after locking in my free software. I was able to clear my $131,382 debt. There is no greater feeling than to be debt-free. Now, I’m in the process of buying my dream home. I still can’t believe this is all really happening…"
 I no longer feel like I’m on the outside looking in while everyone else has all the fun. The Nordi Crypto has allowed me to retire early and live the 1% lifestyle."
"Surprisingly, I used to be an investor on Wall Street. And I’ve never seen anything like this in my 10 year tenure at the company. My colleagues all thought I was crazy when I quit the firm to invest with the Nordi Crypto software full-time. $384,594 in profits later, all of my colleagues are now BEGGING me to let them in."
"Is this for real? I just joined 2 days ago, and my account balance has already ballooned to a staggering $27,484.98!!!"
"I ask my wife to pinch me every morning when I wake up and check my bank balance. I have never seen a number that big before in MY bank account.  Now that I have a taste of what it really feels like to be my own boss and make tens of thousands of dollars every week, I won’t ever look back!"


{% extends "layout.html" %} {% block page_title %}429: {{ _('Too Many Requests') }}{% endblock %} {% block content %}
{{ _('You have made too many requests. Please try again later.') }}


Dev sample showing how to use
SpriteSheet
,
BitmapAnimation
, and
SpriteSheetUtils.addFlippedFrames()
.


This Open Source project delivers Fulltext search to Subversion repositories. Document formats like PDF and Word are supported, thanks to Apache Solr and Tika. You can also search filenames, document metadata and svn properties.
Project activity as RSS: Release log — Development log
Download, then read the documentation.
Repos Search consists of the following components, all fully customizable:
Please use the mailing list for Repos Style.
Repos Search is Apache License, Version 2.0.