Work Experiences
Software Developer
Virtek Vision International ULC
Sep - Present 2019
Waterloo, Ontario
Part of team developing the Projection Data Creator (PDC), a WPF app that visualizes 3D models from AutoCAD files
Increased range by 40% of readable file formats for PDC through upgrading 3rd party APIs
Resolved defects and stories involving infrastructure, backend functionality and UI to improve customer experience
Implemented a C++ test driver within the build pipeline to establish a benchmark for tracking performance metrics
The test driver automated testing procedures for reading file types and was able to reduce testing time by 50%
Software Developer Assistant
Iris Power LP
Jan - Apr 2019
Mississauga, Ontario
Designed a Barcode Scanner feature for a WPF application to improve accuracy rates for storing information of new products in the data pipeline
Scripted a PyAutoGUI tool to replicate download processes within internal application interface
Tool reduces onsite visits by 50-80% for field specialists and allow clients to access updated data remotely
Set up test suites to eliminate application bugs and documented the results as metrics
Incident Management Co-op
Canadian Imperial Bank of Commerce
May - Aug 2018
Toronto, Ontario
Point of contact for incidents impacting users enterprise wide
Manage, create and update incident tickets to resolution in ServiceNow
Document recovery process for any major incidents
Manage service delivery to ensure all customer service level agreements were met
About
A little information about me!
Program of Study:
3B Electrical Engineering in Fall 2020 at the University of Waterloo
Currently:
Incoming Electrical Design Intern at Zeton Inc for Summer 2020
Looking for a internship position from January - April 2021
Open to learning and absorbing knowledge in Electrical Design, Schematic CAD Design and Power Systems
Also maintaining and improving skills in Software Development and especially Web Development
Recent Experiences:
Software Developer at Virtek Vision International ULC
Software Developer Assistant at Iris Power LP
Incident Management Co-op at Canadian Imperial Bank of Commerce
Interests:
Competitive Badminton
Fantasy Basketball
Travelling and going on adventures
Greenhouse Simulator
ECE 298 - Instrument & Prototyping Lab
Built a greenhouse simulator using a TI MSP430 board, C programming with temperature and moisture sensors to simulate different greenhouse environments
Utilized the ADC module to read analog output values from sensors and convert them digitally to display
‘Greenhouse’ will have various LED signal patterns for abnormal readings in moisture and temperature
Triggers also include a motor fan powered by a PWM to reduce temperature and buzzer for audio alert
Bench Press Gloves
UofT Makeathon - Feb 2019
Goal was to enhance the workout experience for the user
Used gyroscopes to detect any inbalance in the position of the gloves
Made use of an Arduino to record and display data to console
LEDs light up and alerts user of any inbalance between the 2 gloves
Challenges: Had difficulty parsing and displaying meaningful data from the Arduino to phone
Other technologies used: React-Native to develop a phone application to display data for user
Reach out to me through these platforms!
Email<EMAIL_ADDRESS>Linkedin: linkedin.com/in/bryant-ng
GitHub: github.com/bkcng


---
layout: page
title: Photography
background: '/img/large/not_don_quixotes_mill.jpeg'
---
Photography
"Corners of the World"
August - November 2020
"Friends in Black and White"
March - July, 2019
"Of the Earth"
"The Blue Album"
"The Red Album"
... It's also kind of blue.
"Up In the Woods"


Daniel Bryan set to confront Bray Wyatt on Friday Night SmackDown before WWE Survivor Series
by Arunava GhoshalJust a few days before Survivor Series, Daniel Bryan and Bray Wyatt will probably have an in-ring confrontation on the upcoming episode of SmackDown. WWE.com has revealed that Bryan wants to summon the WWE Universal Champion before their matchup and it will be interesting to find out who shows up on the show, Bray Wyatt or The Fiend.
Will Bryan send a message before the Survivor Series showdown? Can Wyatt’s mind games get his adversary back into a “Yes!” state of mind? Catch the confrontation on SmackDown at 8/7 C on FOX.
WWE Survivor Series 2019
A few weeks ago on SmackDown, Daniel Bryan became the latest victim of The Fiend while he and Sami Zayn were in the backstage area. The following week, Bryan was a guest on the Miz TV and once again, he got interrupted by Bray Wyatt and his Firefly Fun House. The WWE Universal Champion made it clear that The Fiend wants to have another confrontation with Daniel Bryan and didn't even hesitate to put his title on the line for that matter.
Now that the match is set for WWE Survivor Series, is Bryan ruining his chances by summoning the WWE Universal Champion on SmackDown? We will get our answers very soon.
Want us to know your thoughts on the matches that you see on TV? Go to our WWE section to rate and comment about them!


Upgrading MacOS to High Sierra
Table of Contents
I have an old MacBook Pro with Linux dual boot. Maybe because I have tinkered with the partition table, it failed to do a clean upgrade on its own, living me with a broken macos system that would not boot. Recovery and internet recovery (Cmd+R) failed as well. Luckily I managed to find a way to install it back again, while preserving the Linux installation.
First of all, I had to fix the boot menu (GRUB) with the help of a rescue USB stick. In my case, I have a Debian installation stick, which also has rescue options in the menu, including restoring the GRUB menu from a partion.
After getting back to Linux, I searched about how to reinstall mac ox from a Linux system. I found this post, which is a bit outdated, but nevertheless showed me the general approach: https://linuxforums.org.uk/index.php?topic=1072.0
1 Fixing the partitions
We need at least 2 HFS+ partitions, one of size ~1GB to be used as
RecoveryHD partition, and the other of size >30GB to be used for
installing the system. I already had such partitions, but anyway I
deleted and recreated them with parted
(gparted
can be used as
well).
We need to install first these tools:
apt install gparted hfsplus hfsutils hfsprogs
2 Getting the Mac OS X Installer
This turned out to be more difficult than I thought, because usually you cannot find anything related to Mac outside of Mac App Store (MAS), and in order to access MAS you need to have a running Mac OS and an apple account. After lots of searches and failures, I managed to find this page with direct download archives: https://7labs.io/tips-tricks/macos-high-sierra-direct-download.html
The part that I used was RecoveryHDMetaDmg.pkg which contains an archive with the content of the RecoveryHD partition.
3 Extracting the pkg archive
The *.pkg
archives can be opened with the command xar
, which is not
a part of the standard Debian linux, so I had to install it manually,
according to the instructions on this page:
https://www.oueta.com/linux/extract-pkg-and-mpkg-files-with-xar-on-linux/
apt install build-essential libxml2-dev libssl1.0-dev zlib1g-dev wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/xar-1.5.2.tar.gz tar -xfz xar-1.5.2.tar.gz cd xar-1.5.2 ./configure make make install
Then I extracted the archive with the command: xar -xvf
RecoveryHDMetaDmg.pkg
. From the extracted files we are interested
only on RecoveryHDMeta.dmg
, which has the content of the partition
RecoveryHD.
4 Restoring the content of the partition RecoveryHD
First we need to convert the file RecoveryHDMeta.dmg
to a disk
image, then mount this image, and finally copy its content to the
recovery partition:
Make sure that we have the needed tools:
apt install dmg2img hfsplus hfsutils hfsprogs
Convert the dmg file to a disk image:
dmg2img RecoveryHDMeta.dmg RecoveryHDMeta.img
Mount the hfs+ partition of the disk image:
umount recovery_image rm -rf recovery_image mkdir -p recovery_image devloop=$(losetup --find --show ./RecoveryHDMeta.img) partprobe $devloop mount ${devloop}p1 recovery_image
Mount the partition RecoveryHD:
umount recovery_hd rm -rf recovery_hd mkdir recovery_hd parted /dev/sda print parted /dev/sda print | grep hfs+ mount /dev/sdaX recovery_hd
Restore the content of RecoveryHD from the image:
rm -rf recovery_hd/* cp -a recovery_image/* recovery_hd/
Cleanup:
umount recovery_hd/ rmdir recovery_hd/ umount recovery_image/ rmdir recovery_image/ losetup --detach /dev/loop4
5 Reinstalling Mac OS
After replacing the content of the RecoveryHD partition with the one that we downloaded from the internet we have to restart the computer and boot it from this partition. In Mac this is done by keeping pressed the [Alt] key as soon as it makes the startup sound, then selecting to boot from the recovery disk. It is important to have an internet connection during installation, since the installation image will be downloaded from the internet.
After the recovery system is started, it allows us to use several tools. One of them is Disk Util, which I used to delete the 30GB partition and create it again. This step may not be necessary, but I had messed a lot with the partition table and didn't know how to restore it in a suitable state. Deleting and recreating that partition ensures that it is in a state suitable for being used by the installer. This also has the drawback of erasing all your previous content, but in my case this was OK, because I had not used it much and had nothing important on it. If I had something important on it, then I would make sure to backup it first, by mounting this partion from the Linux system first (similar to what was done on the previous section).
After that, I started the Mac OS X Installer and selected the 30GB partition as the place where to install the new system. The installation takes several hours because it downloads the installation image from the internet.
Note: MacOS High Sierra by default formats the disk with the format APFS, instead of the traditional HFS+ format. For some reasons, the HFS+ format is sometimes more preferred than the new one. This tutorial shows how to start the installer and tell it to use the HFS+ format instead: https://malcont.net/2017/09/how-to-upgrade-macos-to-high-sierra-without-filesystem-change-hfs-to-apfs/
6 Restoring the GRUB menu and the Linux system
The Mac installer will overwrite the boot menu so that it boots directly to the Mac OS. We can fix this with a recovery USB stick, for example with the Debian installer stick. It can restore the boot menu so that we can boot to Linux again.
However, the Mac OS installer had also messed with the partition
table, by creating one more partition. This had shifted the number of
the rest of partitions by 1, for example /dev/sda5
became
/dev/sda6
etc. For this reason Linux failed to boot
properly. However this can be fixed easily from a rescue shell, by
editing the file /etc/fstab
and fixing partition numbers
accordingly. Then I also reinstalled GRUB:
grub-install /dev/sda update-grub
7 References
- Use Linux to install OSX from a DMG extracted to a partition - without a Mac DVD
- Install macOS High Sierra on Mac – Direct Download
- Extract .pkg and .mpkg files with xar on Linux
- Mount the HFS+ partition of a disk image
- https://malcont.net/2017/09/how-to-upgrade-macos-to-high-sierra-without-filesystem-change-hfs-to-apfs/


The intention of the rgb_color
class presented above is to represent a
color as a triple of floating point numbers between 0.0 and 1.0.
But the above definition does not restrict the arguments of the
color
term in any way: any color/3
term is considered
to be an instance of the rgb_color
class.
The second form of term class declaration allows you to specify constraints on instances of a term class. The form of such a declaration is as follows:
:- class ClassName = term(Term, Constraint).
This declares that any term that unifies with Term and satisfies Constraint is an instance of class ClassName. The Constraint term is an ordinary Prolog goal, which will usually share variables with Term.
To extend our rgb_color
class example so that only color/3
terms whose arguments are all floats between 0.0 and 1.0 are instances
of rgb_color
, we would instead begin the definition as follows:
:- class rgb_color = term(color(Red,Green,Blue), (float(Red), Red >= 0.0, Red =< 1.0, float(Green), Green >= 0.0, Green =< 1.0, float(Blue), Blue >= 0.0, Blue =< 1.0)).
Note the parentheses around the constraint in this example. Whenever the constraint contains multiple goals separated by commas, you will need to surround the goal with parentheses.
With this definition of the rgb_color
class, only color/3
terms whose arguments are all floating point numbers between 0 and 1
inclusive will be considered to be instances of rgb_color
.


Welcome, {{ student.firstName }} {{ student.lastName }}!
Credit requirements not met
Credit requirements met
Term: {{ term | titlecase }}
0">Enrollments:
No enrollments
0">
Total Credits: {{ credits }}
0">
Total Amount Owed: {{ amount | currency }}
0">
{{ student.residentId }} Discount: {{ discount | currency }}


RECON
HOST DISCOVERY / IP RANGE- Identify IPs and Main TLDs
- ASNs
- Reverse WHOIS
-
Recon frameworks (make sure to set up api keys)
recon-ng
osint-spy
datasploit
theHarvester
Tasks: identify developer technologies, company email format, potential usernames, potential wordlists, sites, documents, document meta data,
Networks
nmap host discovery (aliverecon (ipv4 and ipv6))
netdiscover
Masscan
Web
whois
dns / dig / host
google fu
tasks: identify IPs, reverse lookups, zone transfers
Visual Identification
Eyewitness- Conclusion:
- AT A MINIMUM, YOU NEED:
- IPs of servers
- Attempted DNS queries (transfer / other lookups)
- Hostnames of servers
- Identified webpages


- largeLabel - ? ??????com.example.panchy.assignment1.R.id
-
- layout - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- layout() - ? ????com.example.panchy.assignment1.R.layout
-
- layout_anchor - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- layout_anchorGravity - ? ??????com.example.panchy.assignment1.R.attr
-
Must be one or more (separated by '|') of the following constant values.
- layout_behavior - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
- layout_collapseMode - ? ??????com.example.panchy.assignment1.R.attr
-
Must be one of the following constant values.
- layout_collapseParallaxMultiplier - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a floating point value, such as "1.2
".
- layout_dodgeInsetEdges - ? ??????com.example.panchy.assignment1.R.attr
-
Must be one or more (separated by '|') of the following constant values.
- layout_insetEdge - ? ??????com.example.panchy.assignment1.R.attr
-
Must be one of the following constant values.
- layout_keyline - ? ??????com.example.panchy.assignment1.R.attr
-
Must be an integer value, such as "100
".
- layout_scrollFlags - ? ??????com.example.panchy.assignment1.R.attr
-
Must be one or more (separated by '|') of the following constant values.
- layout_scrollInterpolator - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- layoutManager - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
- left - ? ??????com.example.panchy.assignment1.R.id
-
- line1 - ? ??????com.example.panchy.assignment1.R.id
-
- line3 - ? ??????com.example.panchy.assignment1.R.id
-
- linearLayout - ? ??????com.example.panchy.assignment1.R.id
-
- linearLayout2 - ? ??????com.example.panchy.assignment1.R.id
-
- LinearLayoutCompat - ? ??????com.example.panchy.assignment1.R.styleable
-
Attributes that can be used with a LinearLayoutCompat.
- LinearLayoutCompat_android_baselineAligned - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.baselineAligned
attribute's value can be found in the
LinearLayoutCompat
array.
- LinearLayoutCompat_android_baselineAlignedChildIndex - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.baselineAlignedChildIndex
attribute's value can be found in the
LinearLayoutCompat
array.
- LinearLayoutCompat_android_gravity - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.gravity
attribute's value can be found in the
LinearLayoutCompat
array.
- LinearLayoutCompat_android_orientation - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.orientation
attribute's value can be found in the
LinearLayoutCompat
array.
- LinearLayoutCompat_android_weightSum - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.weightSum
attribute's value can be found in the
LinearLayoutCompat
array.
- LinearLayoutCompat_divider - ? ??????com.example.panchy.assignment1.R.styleable
-
- LinearLayoutCompat_dividerPadding - ? ??????com.example.panchy.assignment1.R.styleable
-
- LinearLayoutCompat_Layout - ? ??????com.example.panchy.assignment1.R.styleable
-
Attributes that can be used with a LinearLayoutCompat_Layout.
- LinearLayoutCompat_Layout_android_layout_gravity - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.layout_gravity
attribute's value can be found in the
LinearLayoutCompat_Layout
array.
- LinearLayoutCompat_Layout_android_layout_height - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.layout_height
attribute's value can be found in the
LinearLayoutCompat_Layout
array.
- LinearLayoutCompat_Layout_android_layout_weight - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.layout_weight
attribute's value can be found in the
LinearLayoutCompat_Layout
array.
- LinearLayoutCompat_Layout_android_layout_width - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.layout_width
attribute's value can be found in the
LinearLayoutCompat_Layout
array.
- LinearLayoutCompat_measureWithLargestChild - ? ??????com.example.panchy.assignment1.R.styleable
-
- LinearLayoutCompat_showDividers - ? ??????com.example.panchy.assignment1.R.styleable
-
- list_item - ? ??????com.example.panchy.assignment1.R.id
-
- list_item - ? ??????com.example.panchy.assignment1.R.layout
-
- ListAll(View) - ? ????com.example.panchy.assignment1.MainActivity
-
this is a listall click method. when people click list all button main activity will go to
list all activity
- ListAll - ? ??????com.example.panchy.assignment1.R.id
-
- listChoiceBackgroundIndicator - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listDividerAlertDialog - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listItemLayout - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listLayout - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listMenuViewStyle - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listMode - ? ??????com.example.panchy.assignment1.R.id
-
- listName - ? ??????com.example.panchy.assignment1.R.id
-
- ListOfRecord - com.example.panchy.assignment1???
-
This class is the list of record view class of the project.
- ListOfRecord() - ? ????com.example.panchy.assignment1.ListOfRecord
-
- ListPopupWindow - ? ??????com.example.panchy.assignment1.R.styleable
-
Attributes that can be used with a ListPopupWindow.
- ListPopupWindow_android_dropDownHorizontalOffset - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.dropDownHorizontalOffset
attribute's value can be found in the
ListPopupWindow
array.
- ListPopupWindow_android_dropDownVerticalOffset - ? ??????com.example.panchy.assignment1.R.styleable
-
This symbol is the offset where the
R.attr.dropDownVerticalOffset
attribute's value can be found in the
ListPopupWindow
array.
- listPopupWindowStyle - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- listPreferredItemHeight - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- listPreferredItemHeightLarge - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- listPreferredItemHeightSmall - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- listPreferredItemPaddingLeft - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- listPreferredItemPaddingRight - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- logo - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?
- logoDescription - ? ??????com.example.panchy.assignment1.R.attr
-
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.


|
AceTime
0.5.2
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
Class that allows looking up the ZoneInfo (ZI) from its TZDB identifier (e.g. More...
#include <ZoneRegistrar.h>
Public Member Functions | |
| ZoneRegistrar (uint16_t registrySize, const ZI *const *zoneRegistry) | |
| Constructor. More... | |
| uint16_t | registrySize () const |
| Return the number of zones. More... | |
| bool | isSorted () const |
| Return true if zoneRegistry is sorted, and eligible to use a binary search. | |
| const ZI * | getZoneInfoForIndex (uint16_t i) const |
| const ZI * | getZoneInfoForName (const char *name) const |
| Return the ZoneInfo corresponding to the given zone name. More... | |
| const ZI * | getZoneInfoForId (uint32_t zoneId) const |
Static Protected Member Functions | |
| static bool | isSorted (const ZI *const *zr, uint16_t registrySize) |
| static const ZI * | linearSearch (const ZI *const *zr, uint16_t registrySize, const char *name) |
| static const ZI * | binarySearch (const ZI *const *zr, uint16_t registrySize, const char *name) |
| static const ZI * | linearSearchUsingId (const ZI *const *zr, uint16_t registrySize, uint32_t zoneId) |
Protected Attributes | |
| uint16_t const | mRegistrySize |
| const ZI *const *const | mZoneRegistry |
| bool const | mIsSorted |
Static Protected Attributes | |
| static const uint8_t | kBinarySearchThreshold = 6 |
| Use binarySearch() if registrySize >= threshold. More... | |
Class that allows looking up the ZoneInfo (ZI) from its TZDB identifier (e.g.
"America/Los_Angeles"), or index, or zoneId (hash from its name).
| ZI | ZoneInfo type (e.g. basic::ZoneInfo) |
| ZRB | ZoneRegistryBroker type (e.g. basic::ZoneRegistryBroker) |
| ZIB | ZoneInfoBroker type (e.g. basic::ZoneInfoBroker) |
| STRCMP_P | a function that compares a normal string to flash string (e.g strcmp_P()) |
| STRCMP_PP | a function that compares 2 flash strings (must be custom written) |
Definition at line 42 of file ZoneRegistrar.h.
|
inline |
Constructor.
Definition at line 45 of file ZoneRegistrar.h.
|
inline |
Return the ZoneInfo corresponding to the given zone name.
Return nullptr if not found.
Definition at line 68 of file ZoneRegistrar.h.
|
inline |
Return the number of zones.
Definition at line 51 of file ZoneRegistrar.h.
|
staticprotected |
Use binarySearch() if registrySize >= threshold.
Definition at line 91 of file ZoneRegistrar.h.


ZitiConnection
@objc
public class ZitiConnection : NSObject, ZitiUnretained
Create ZitiConnection
s from an instance of Ziti
and use to commuicate with services over a Ziti network
-
Connection callback
This callback is invoked after
dial(_:_:_:)
oraccept(_:_:)
is completed. The result of the function may be an error condition so it is important to verify the status code in this callback. If successful the status will be set toZITI_OK
Declaration
Swift
public typealias ConnCallback = (_ conn: ZitiConnection, _ status: Int32) -> Void
Parameters
conn
reference to
ZitiConnection
status
ZITI_OK
on success, else Ziti error code -
Listen callback
This callback is invoked after
listen(_:_:_:)
and is aliased toConnCallback
as a convenience for human readabilityDeclaration
Swift
public typealias ListenCallback = ConnCallback
-
Data callback
This callback is invoked when data arrives from
Ziti
, either as a response fromdial(_:_:_:)
or fromaccept(_:_:)
Return value should indicate how much data was consumed by the application. This callback will be called again at some later time and as many times as needed for application to accept the all of the dataDeclaration
Swift
public typealias DataCallback = (_ conn: ZitiConnection, _ data: Data?, _ status: Int) -> Int
Parameters
conn
the connection
data
the incoming data
status
size of the data or a Ziti error code,
ZITI_EOF
when connection has closed -
Client callback
This callback is invoked when a client connects to the service specified in
listen(_:_:_:)
call. The result of the status may be an error condition so it is important to verify the status code in this callback. If successful the status will be set toZITI_OK
Generally this callback is used for any preparations necessary before accepting incoming data from the Ziti network.
Declaration
Swift
public typealias ClientCallback = (_ server: ZitiConnection, _ client: ZitiConnection, _ status: Int32) -> Void
Parameters
server
server connection
client
client connection, generally used to
accept()
the connection in this callbackstatus
ZITI_OK
or error code -
Write callback
This callback is invoked after a call the
write(_:_:)
completes. The result of thewrite(_:_:)
may be an error condition so it is important to verify the provided status code in this callback.This callback is often used to free or reinitialize the buffer associated with the
write(_:_:)
. It is important to not free this memory until after data has been written to the wire else the results of the write operation may be unexpected.Declaration
Swift
public typealias WriteCallback = (_ conn: ZitiConnection, _ status: Int) -> Void
Parameters
status
amount of data written or Ziti error code
-
Close callback
This callback is invoked after a call the
close(_:)
completes.Declaration
Swift
public typealias CloseCallback = () -> Void
Parameters
status
amount of data written or Ziti error code
-
Established a connection to a
Ziti
service.Before any bytes can be sent over a
Ziti
service a connection must be established. This method will attempt to establish a connection by dialiing the service with the given name. The result of thedial()
attempt is included in the specifiedConnCallback
.If the
dial
succeeds, the providedDataCallback
is invoked to handle data returned from the service. If thedial
fails, only theConnCallback
will be invoked with the corresponding error codeDeclaration
Swift
@objc public func dial(_ service: String, _ onConn: @escaping ConnCallback, _ onData: @escaping DataCallback)
Parameters
service
name of the service to dial
onConn
callback invoked after
dial
attempt completesonData
callback invoked after a successful
dial
attempt with data received over the connection -
Start accepting
Ziti
client connectionsThis function is invoked to tell the
Ziti
to accept connections from otherZiti
clients for the provided service name.Declaration
Swift
@objc public func listen(_ service: String, _ onListen: @escaping ListenCallback, _ onClient: @escaping ClientCallback)
Parameters
service
name of the service to be hosted
onListen
callback invoked indicating success or failure of
listen
attemptonClient
callback invoked when client attempts to dial this service
-
Completes a client connection
After a client connects to a hosted Ziti service this method is invoked to finish connection establishment, establishing the callbacks necessary to send data to the connecting client or to process data sent by the client.
Declaration
Swift
@objc public func accept(_ onConn: @escaping ConnCallback, _ onData: @escaping DataCallback)
Parameters
onConn
invoked when
accept
completes indicating status of the attemptonData
invoked each time the client sends data
-
Get the identity of the client that initiated the Ziti connection
Declaration
Swift
@objc public func getSourceIdentity() -> String
Return Value
Source ID or empty String
-
Send data to the connection peer
Declaration
Swift
@objc public func write(_ data: Data, _ onWrite: @escaping WriteCallback)
Parameters
data
the data to send
onWrite
callback invoked after the
write
completes -
Close this connection
When no longer needed the connection should be closed to gracefully disconnect. This method should be invoked after any status is returned which indicates an error situation.
Declaration
Swift
@objc public func close(_ onClose: CloseCallback? = nil)
Parameters
onClose
called when connection is completely closed


Last modified
[ Jeep Tech Main Page | Terry's Jeep Page ]
Copyright © 2001, 2000, 1999, 1998 JEEPTECH.COM All Rights Reserved, All content with exception of private works and corporate trademarked logos are property of Jeeptech.com


Module: ActionMailbox::TestHelper
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | actionmailbox/lib/action_mailbox/test_helper.rb |
Instance Method Summary
-
#create_inbound_email_from_fixture(fixture_name, status: :processing)
Create an InboundEmail record using an eml fixture in the format of message/rfc822 referenced with
fixture_name
located intest/fixtures/files/fixture_name
. -
#create_inbound_email_from_mail(status: :processing, **mail_options, &block)
Creates an InboundEmail by specifying through options or a block.
-
#create_inbound_email_from_source(source, status: :processing)
Create an InboundEmail using the raw rfc822
source
as text. -
#receive_inbound_email_from_fixture(*args)
Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture and immediately route it to processing.
-
#receive_inbound_email_from_mail(**kwargs, &block)
Create an InboundEmail using the same options or block as create_inbound_email_from_mail, then immediately route it for processing.
-
#receive_inbound_email_from_source(*args)
Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it to processing.
Instance Method Details
#create_inbound_email_from_fixture(fixture_name, status: :processing)
Create an InboundEmail record using an eml fixture in the format of message/rfc822 referenced with fixture_name
located in test/fixtures/files/fixture_name
.
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 9
def create_inbound_email_from_fixture(fixture_name, status: :processing) create_inbound_email_from_source file_fixture(fixture_name).read, status: status end
#create_inbound_email_from_mail(status: :processing, **mail_options, &block)
Creates an InboundEmail by specifying through options or a block.
Options
-
:status
- Thestatus
to set for the created InboundEmail. For possible statuses, see its documentation.
Creating a simple email
When you only need to set basic fields like from
, to
, subject
, and body
, you can pass them directly as options.
create_inbound_email_from_mail(from<EMAIL_ADDRESS>subject: "Hello!")
Creating a multi-part email
When you need to create a more intricate email, like a multi-part email that contains both a plaintext version and an HTML version, you can pass a block.
create_inbound_email_from_mail do
to "David Heinemeier Hansson<EMAIL_ADDRESS>from "Bilbo Baggins<EMAIL_ADDRESS>subject "Come down to the Shire!"
text_part do
body "Please join us for a party at Bag End"
end
html_part do
body "
Please join us for a party at Bag End
"
end
end
As with Mail.new
, you can also use a block parameter to define the parts of the message:
create_inbound_email_from_mail do |mail|
mail.to "David Heinemeier Hansson<EMAIL_ADDRESS>mail.from "Bilbo Baggins<EMAIL_ADDRESS>mail.subject "Come down to the Shire!"
mail.text_part do |part|
part.body "Please join us for a party at Bag End"
end
mail.html_part do |part|
part.body "
Please join us for a party at Bag End
"
end
end
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 63
def create_inbound_email_from_mail(status: :processing, **, &block) mail = Mail.new(, &block) # Bcc header is not encoded by default mail[:bcc].include_in_headers = true if mail[:bcc] create_inbound_email_from_source mail.to_s, status: status end
#create_inbound_email_from_source(source, status: :processing)
Create an InboundEmail using the raw rfc822 source
as text.
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 72
def create_inbound_email_from_source(source, status: :processing) ActionMailbox::InboundEmail. source, status: status end
#receive_inbound_email_from_fixture(*args)
Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture and immediately route it to processing.
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 79
def receive_inbound_email_from_fixture(*args) create_inbound_email_from_fixture(*args).tap(&:route) end
#receive_inbound_email_from_mail(**kwargs, &block)
Create an InboundEmail using the same options or block as create_inbound_email_from_mail, then immediately route it for processing.
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 85
def receive_inbound_email_from_mail(**kwargs, &block) create_inbound_email_from_mail(**kwargs, &block).tap(&:route) end
#receive_inbound_email_from_source(*args)
Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it to processing.
# File 'actionmailbox/lib/action_mailbox/test_helper.rb', line 91
def receive_inbound_email_from_source(*args) create_inbound_email_from_source(*args).tap(&:route) end


A C D E F G I J K L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
R
- randomCharacterGenerator(String[]) - Static method in class dunemask.util.StringUtil
-
Gets a random character that isn't in a list already New Character from:<PHONE_NUMBER>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ?/.,
- RandomEncryptionKeyCode(int) - Static method in class dunemask.other.StringBasedEncryption
-
Randomly creates keys and expressions (To get keys call expression.getVari() )
- read(File, int) - Static method in class dunemask.util.internal.DMRW
-
Reads a line of text from file
- read(File, int, int) - Static method in class dunemask.util.internal.DMRW
-
Reads a lines of text from file
- read(URL, int) - Static method in class dunemask.util.RW
-
Read a line from a file
- read(URL, int, int) - Static method in class dunemask.util.RW
-
Read a file
- readAll(File) - Static method in class dunemask.util.internal.DMRW
-
Reads All Lines In The File
- readAll(URL) - Static method in class dunemask.util.RW
-
Read All Lines In A File
- readPrivKey(URL) - Static method in class dunemask.crypto.CryptoUtil
-
Read Private Key
- readPubKey(URL) - Static method in class dunemask.crypto.CryptoUtil
-
Read Public Key
- readUntil(URL, int) - Static method in class dunemask.util.RW
-
Read Lines in a file until and including a specific line
- removeContainer(String) - Method in class dunemask.util.xml.Runemap
-
Removes the Specified container
- removeElement(String) - Method in class dunemask.util.xml.Runemap
-
Removes the Specified Element
- removeEntry(String) - Method in class dunemask.at.Plet
-
Remove the entry
- removeExtension(String) - Static method in class dunemask.util.internal.InternalFileUtil
- replaceLast(String, String, String) - Static method in class dunemask.util.StringUtil
- ResourceUtil - Class in dunemask.util
-
Deprecated.
- ResourceUtil() - Constructor for class dunemask.util.ResourceUtil
-
Deprecated.
- retrieveFile(String) - Static method in class dunemask.util.FileUtil
-
Write the url to the File Not to be mistaken with
ResourceUtil.writeUrl(URL, File)
- retrieveFile(String, File) - Static method in class dunemask.util.FileUtil
-
Write the url to the File Not to be mistaken with
ResourceUtil.writeUrl(URL, File)
- RSACrypto - Class in dunemask.at
- RSACrypto() - Constructor for class dunemask.at.RSACrypto
- Runemap - Class in dunemask.util.xml
-
This is an Interprited form of xml that should only be change/edited from Dunemasking however is probably externally readable
- Runemap(File) - Constructor for class dunemask.util.xml.Runemap
- RunemapURLExcpetion - Exception in dunemask.util.xml
- RunemapURLExcpetion() - Constructor for exception dunemask.util.xml.RunemapURLExcpetion
- RunemapURLExcpetion(String) - Constructor for exception dunemask.util.xml.RunemapURLExcpetion
- RunemapURLExcpetion(String, Throwable) - Constructor for exception dunemask.util.xml.RunemapURLExcpetion
- RunemapURLExcpetion(String, Throwable, boolean, boolean) - Constructor for exception dunemask.util.xml.RunemapURLExcpetion
- RunemapURLExcpetion(Throwable) - Constructor for exception dunemask.util.xml.RunemapURLExcpetion
- RW - Class in dunemask.util
-
RW Is a simple Read and Write Program
- RW() - Constructor for class dunemask.util.RW
All Classes All Packages


endpoint options
in addition to the convenient methods you can use in the endpoint configuration to setup your endpoints (mentioned in previous pages), you can use the Options()
method to customize aspects of endpoint registration/setup like so:
Options(b => b.RequireCors(x => x.AllowAnyOrigin())
.RequireHost("domain.com")
.ProducesProblem(404));
shorthand route configuration
instead of the Verbs() and Routes()
combo, you can use the shorthand versions that combines them with Get(), Post(), Put(), Patch(), Delete()
when configuring your endpoints like so:
public override void Configure( )
{
Get("/api/customer/{CustomerID}");
}
the above is equivalent to using both Verbs() and Routes()
. do note that you can't configure multiple verbs with the shorthand version. you can however setup multiple route patterns with the shorthand methods.
endpoint properties
the following properties are available to all endpoint classes.
BaseURL (string)
the base url of the current request in the form of https://hostname:port/
(includes trailing slash).
Config (IConfiguration)
gives access to current configuration of the web app
Env (IWebHostEnvironment)
gives access to the current web hosting environment
Files (IFormFileCollection)
exposes the uploaded file collection in case of multipart/form-data
uploads.
Form (IFormCollection)
exposes the form data in case of application/x-www-form-urlencoded
or multipart/form-data
uploads.
HttpContext (HttpContext)
gives access to the current http context of the request.
HttpMethod (Http enum value)
the http method of the current request as an enum value.
Logger (ILogger)
the default logger for the current endpoint type
Response (TResponse)
exposes a blank response dto for the current endpoint before the endpoint handler is executed. or represents the populated response dto after a response has been sent to the client.
User (ClaimsPrincipal)
the current claims principal associated with the current request.
ValidationFailed (bool)
indicates the current validation status
ValidationFailures (List<ValidationFailure>)
the list of validation failures for the current execution context.
send methods
the following response sending methods are available for use from within endpoint handlers:
SendAsync()
sends a given response dto or any object that can be serialized as json down to the requesting client.
SendStringAsync()
sends a given string to the client in the response body
SendOkAsync()
sends a 200 ok response without any body.
SendErrorsAsync()
sends a 400 error response with the current list of validation errors describing the validation failures.
SendNoContentAsync()
sends a 204 no content response
SendNotFoundAsync()
sends a 404 not found response
SendUnauthorizedAsync()
sends a 401 unauthorized response
SendForbiddenAsync()
sends a 403 unauthorized response
hook methods
the following 4 hook methods allow you to do something before and after dto validation as well as handler execution.
OnBeforeValidate()
override this method if you'd like to do something to the request dto before it gets validated.
OnAfterValidate()
override this method if you'd like to do something to the request dto after it gets validated.
OnBeforeHandle()
override this method if you'd like to do something to the request dto before the handler is executed.
OnAfterHandle()
override this method if you'd like to do something after the handler is executed.


This website is still under construction.
Hi there! I am Simon Zirui Guo (郭子睿). I am a Grade 10 high school student from Shanghai, China and lives in Toronto, Canada. I like robotics, programmin, engineering, mathematics, debate and play saxophone. I really enjoy exploring new technologies and use them to solve social issues.


Hello! I'm Jason Lockwood, a multi disciplinary designer with front-end development chops from New Jersey.
Currently, I am creating and building user facing experiences at Informed.co.
Drop me a line, follow me on Twitter, and see some of my work over at Dribbble.


About SMSLib
Introduction
SMSLib is a Java library which allows you to send/receive SMS messages via a compatible GSM modem or GSM phone. SMSLib also supports some bulk sms operators (for outbound messaging only).
SMSLib has been converted to a .NET assembly using the IKVM Tools. Read more here.
SMSLib is distributed under the terms of the Apache v2 license.
Features
SMSLib is currently on its 3rd version.
SMSLib v3 retains the old functionality:
- Supports GSM phones and GSM modems connected via serial port interfaces or IP interfaces.
- Works with PDU/TEXT protocols.
- Supports Inbound & Outbound simple text messages.
- Works with 7bit, 8bit and UCS2 (Unicode) message encodings.
- Supports Inbound & Outbound big (multipart) messages.
- Flash messaging.
- Outbound messages with port information / addressing.
- Outbound WAP PUSH SI messages.
- Status (Delivery) Report messages.
- Basic GSM information available: Modem, Manufacturer, S/W revision, Signal level, etc.
- Supports a few bulk operators, using http/https protocols.
- Support the SMPP protocol.
Furthermore, SMSLib v3 offers the following new functionality:
Multiple Gateways
SMSLib v3 has introduced the concept of the Gateway, which is an interface to a device or service that can send and/or receive SMS messages. A gateway could be a GSM modem or a supported bulk sms provider. SMSLib can handle multiple gateways at the same time.
Sending Priorities
SMSLib offers unlimited per-message priorities which can be used for sending messages. When possible, SMSLib priorities are mapped directly to the gateway(s) functionality, otherwise they get simulated.
Synchronous / Asynchronous Receiving
SMSLib gives you two options for receiving messages:
- Synchronously: you take responsibility and periodically call the read() methods.
- Asynchronously: wait for SMSLib to call you upon message receipt.

- Asynchronously: when you call SMSLib to send a message, your thread does not block and SMSLib returns immediately. SMSLib queues your message(s) and sends them in the background. You may choose to get notified about the fate of your messages.
Callbacks
SMSLib gives you the option of defining callback methods which it will call when certain events occur:
- Inbound voice calls: SMSLib can be set to call you upon reception of a voice call. Please note that the voice call will be automatically and unconditionally dropped and you will get notified about the number of the calling party.
- Inbound messages: Each time a message is received, SMSLib can be set to call your specified method.
- Outbound messages: When you asynchronously send messages, SMSLib can be set to call your specified method with the message sent (updated with status, etc).
- Gateway status changes: SMSLib can notify you each time a gateway changes its status.
- Queue sending operation: SMSLib can notify you everytime it's ready to send a message via the background queues.
See this page for more information.
Custom Sender ID
SMSLib supports custom Sender ID. This feature is not supported on GSM modems - you have to use one of the supported bulk sms operators.
Encrypted Messages
SMSLib can send/receive encrypted messages. The current encryption engine uses the JDK AES strong key (128bit) implementation. Encrypted messages are send as binary messages. SMSLib provides an automatic way of assigning encryption keys to specific numbers, so the whole send/receive procedure is more or less automatic.
See this page for more information.


|
client/src/app/app.component.ts
|
component
|
AppComponent
|
0 %
(0/3)
|
|
client/src/app/components/chat/chat.component.ts
|
component
|
ChatComponent
|
0 %
(0/22)
|
|
client/src/app/components/dashboard/dashboard.component.ts
|
component
|
DashboardComponent
|
0 %
(0/19)
|
|
client/src/app/components/home/home.component.ts
|
component
|
HomeComponent
|
0 %
(0/3)
|
|
client/src/app/components/layout/layout.component.ts
|
component
|
LayoutComponent
|
0 %
(0/3)
|
|
client/src/app/components/login/login.component.ts
|
component
|
LoginComponent
|
0 %
(0/8)
|
|
client/src/app/components/navbar/navbar.component.ts
|
component
|
NavbarComponent
|
0 %
(0/6)
|
|
client/src/app/components/playground/playground.component.ts
|
component
|
PlaygroundComponent
|
0 %
(0/75)
|
|
client/src/app/components/profile/profile.component.ts
|
component
|
ProfileComponent
|
0 %
(0/3)
|
|
client/src/app/components/register/register.component.ts
|
component
|
RegisterComponent
|
0 %
(0/10)
|
|
client/src/app/components/table/table.component.ts
|
component
|
TableComponent
|
0 %
(0/15)
|
|
client/src/app/consts/roles.const.ts
|
class
|
RolesConst
|
33 %
(1/3)
|
|
client/src/app/models/card.model.ts
|
class
|
Card
|
0 %
(0/5)
|
|
client/src/app/models/chair.model.ts
|
class
|
Chair
|
0 %
(0/4)
|
|
client/src/app/models/game.model.ts
|
class
|
Game
|
0 %
(0/3)
|
|
client/src/app/models/game_part.model.ts
|
class
|
GamePart
|
0 %
(0/7)
|
|
client/src/app/models/message.model.ts
|
class
|
Message
|
0 %
(0/6)
|
|
client/src/app/models/pack.model.ts
|
class
|
Pack
|
0 %
(0/6)
|
|
client/src/app/models/position-model.ts
|
class
|
PositionModel
|
0 %
(0/6)
|
|
client/src/app/models/request-model.ts
|
class
|
RequestModel
|
0 %
(0/5)
|
|
client/src/app/models/started_game.model.ts
|
class
|
StartedGame
|
0 %
(0/5)
|
|
client/src/app/models/table.model.ts
|
class
|
Table
|
0 %
(0/5)
|
|
client/src/app/models/trash.model.ts
|
class
|
Trash
|
0 %
(0/5)
|
|
client/src/app/models/turn.model.ts
|
class
|
Turn
|
0 %
(0/7)
|
|
client/src/app/models/user.model.ts
|
class
|
User
|
0 %
(0/7)
|
|
client/src/app/models/user_cards.model.ts
|
class
|
UserCards
|
0 %
(0/7)
|
|
client/src/app/models/users_in_chat.model.ts
|
class
|
UsersInChat
|
0 %
(0/9)
|
|
client/src/app/providers/resize-provider.ts
|
injectable
|
ResizeProvider
|
0 %
(0/5)
|
|
client/src/app/services/auth.guard.ts
|
injectable
|
AuthGuard
|
0 %
(0/3)
|
|
client/src/app/services/authentication.service.ts
|
injectable
|
AuthenticationService
|
0 %
(0/13)
|
|
client/src/app/services/card.service.ts
|
injectable
|
CardService
|
0 %
(0/26)
|
|
client/src/app/services/chair.service.ts
|
injectable
|
ChairService
|
0 %
(0/6)
|
|
client/src/app/services/chat.service.ts
|
injectable
|
ChatService
|
0 %
(0/12)
|
|
client/src/app/services/game.service.ts
|
injectable
|
GameService
|
0 %
(0/14)
|
|
client/src/app/services/table.service.ts
|
injectable
|
TableService
|
0 %
(0/14)
|
|
client/src/app/services/user.service.ts
|
injectable
|
UserService
|
0 %
(0/7)
|
|
client/src/app/services/validate.service.ts
|
injectable
|
ValidateService
|
0 %
(0/5)
|
|
client/src/app/shared/pattern-validator.ts
|
function
|
patternValidator
|
0 %
(0/1)
|
|
client/src/app/shared/pipes/get-card-rank.pipe.ts
|
pipe
|
GetCardRank
|
0 %
(0/1)
|
|
client/src/app/shared/pipes/get-user-name.pipe.ts
|
pipe
|
GetUserName
|
0 %
(0/1)
|
|
client/src/environments/environment.prod.ts
|
variable
|
environment
|
0 %
(0/1)
|
|
client/src/environments/environment.ts
|
variable
|
environment
|
0 %
(0/1)
|


Blah
“Quote?”
This mobile application was written by Netcetera using HTML5 and Phonegap.
The launcher icon photo was CC licensed by Flickr user Ourania2005.


vgDash
com.2fdevs.videogular.plugins
Adds support for vg-video and vg-audio tags. This plugin requires dash.all.js file available at dash.js project: https://github.com/Dash-Industry-Forum/dash.js
<videogular vg-theme="config.theme.url" vg-autoplay="config.autoPlay">
<vg-video vg-src="sources" vg-dash></vg-video>
</videogular>
<vg-dash> </vg-dash>


Group 2
Timia Davis
Chris Chism
Section Three: Installing Samba Server
Home
Section One: Introduction
Section Two: Creating Ethernet Cables
Section Three: Installing Samba Server
Section Four: Constructing a LAN Using One Switch
Section Five: Constructing a LAN Using Two Switches
Section Six: Experiment Analysis
Section Seven: Experiment Log
Show the samba status screen shot. Proof that both you and your partner’s samba servers are running.
Show the final smb.conf.


Experienced Full Stack Web Developer with emphasis in both front and back end web development. I possess a strong affinity for science, technology and learning. I graduated from Northwestern University's Coding Bootcamp Program where I developed my skills in key technologies used to build sophisticated web applications. The development skills I have obtained on my journey to better myself as a Full Stack Web Developer include HTML5, CSS3, Bootstrap, Javascript, JQuery, Git, Firebase, MySQL, NodeJs, ExpressJs, Handlebars, MongoDB, Python, and ReactJs.
What I Offer


|
FormFlight
0.1.0
|
Functions | |
| def | post_process_batch_simulation (batch_results) |
| def | post_process_batch_diagnostics (batch_diagnostics) |
| def | post_process_homogeneous_identical (parameters, sim_results) |
| def | post_process_homogeneous_nonidentical (parameters, sim_results) |
| def | post_process_heterogeneous (parameters, sim_results) |
| def | unpack_performance_metrics (batch_performance_metrics) |
| def | unpack_performance_metrics_OLD_2 (batch_performance_metrics) |
| def | unpack_performance_metrics_OLD (batch_performance_metrics) |
| def | unpack_batch_diagnostics (batch_diagnostics) |
| def | compute_controls (dx, du, yout, tout, assignments, nagents, polagents) |
| def | find_switches (tout, yout, nagents, ntargets, agent_config_size, target_config_size) |
| def | index_at_time (tout, time) |
| def | collision_time (tout, yout) |
| def | agent_agent_collisions (unpacked) |
| def | plot_batch_performance_metrics (batch_performance_metrics) |
| def | plot_ensemble_histograms (ensemble_performance_metrics) |
| def | plot_batch_diagnostics (batch_diagnostics) |
| def | plot_ensemble_diagnostics (ensemble_diagnostics) |
| def | save_ensemble_metrics (ensemble_performance_metrics, ensemble_name) |
| def | plot_ensemble_metric_comparisons (ensemble_performance_metrics) |
| def | plot_ensemble_diagnostic_comparison (ensemble_diagnostics) |
@file post_process.py
| def post_process.agent_agent_collisions | ( | unpacked | ) |
Returns a list of agent indices corresponding to agent-agent collisions Input: time history, trajectories, assignments, agent statesize Output: agents that collided with eachother
| def post_process.collision_time | ( | tout, | |
| yout | |||
| ) |
Returns the time at which all agents have collided Input: time history, trajectories, assignments Output: time for all agents to be collided
| def post_process.compute_controls | ( | dx, | |
| du, | |||
| yout, | |||
| tout, | |||
| assignments, | |||
| nagents, | |||
| polagents | |||
| ) |
Recreate the agent swarm member control inputs
| def post_process.find_switches | ( | tout, | |
| yout, | |||
| nagents, | |||
| ntargets, | |||
| agent_config_size, | |||
| target_config_size | |||
| ) |
Returns time indices at which there is an assignment switch
| def post_process.index_at_time | ( | tout, | |
| time | |||
| ) |
Returns the index in data at a time point Input: time history, time point Output: index in data of time point
| def post_process.plot_batch_diagnostics | ( | batch_diagnostics | ) |
Function which unpacks batch diagnostics and calls relevant plotting utilities
| def post_process.plot_batch_performance_metrics | ( | batch_performance_metrics | ) |
Function which unpacks batch metrics and calls relevant plotting utilities
| def post_process.plot_ensemble_diagnostic_comparison | ( | ensemble_diagnostics | ) |
Function to parse ensemble of batch simulation diagnostics and call relevant plotting utilities
| def post_process.plot_ensemble_diagnostics | ( | ensemble_diagnostics | ) |
Function which unpacks ensemble of batch simulations diagnostics and calls relevant plotting utilities
| def post_process.plot_ensemble_histograms | ( | ensemble_performance_metrics | ) |
Function which unpacks ensemble of batch simulations metrics and calls relevant plotting utilities
| def post_process.plot_ensemble_metric_comparisons | ( | ensemble_performance_metrics | ) |
Function to parse ensemble of batch simulation metrics and call relevant plotting utilities
| def post_process.post_process_batch_diagnostics | ( | batch_diagnostics | ) |
Calls utilities to parse diagnostics and package into pandas DataFrame Input: - batch_diagnostics: dict of simulation parameters and results (np.array) Output: - packed_batch_diagnostics: dict containing DataFrames simulation runtime diagnostics per simulation in batch
| def post_process.post_process_batch_simulation | ( | batch_results | ) |
Calls utilities to parse results and package into pandas DataFrame Input: - batch_results: dict of simulation parameters and results (np.array) Output: - batch_performance_metrics:dict containing DataFrames simulation parameters, results, costs per simulation within batch
| def post_process.post_process_heterogeneous | ( | parameters, | |
| sim_results | |||
| ) |
Post-process and package simulation parameters, results, and post-processed data (costs) Post-process and packing function for homogeneous non-identical agent and target swarms Heterogeneous implies that the agent and targets have different dynamic models and each member may have different dynamic models Input: - parameters: dict containing simulation parameters - sim_results: dict containing simulaton results Output: - return_df: pandas Dataframe with simulation parameters, results, costs
| def post_process.post_process_homogeneous_identical | ( | parameters, | |
| sim_results | |||
| ) |
Post-process and package simulation parameters, results, and post-processed data (costs) Post-process and packing function for homogeneous identical agent/target swarms Input: - parameters: dict containing simulation parameters - sim_results: dict containing simulaton results Output: - return_df: pandas Dataframe with simulation parameters, results, costs
| def post_process.post_process_homogeneous_nonidentical | ( | parameters, | |
| sim_results | |||
| ) |
Post-process and package simulation parameters, results, and post-processed data (costs) Post-process and packing function for homogeneous non-identical agent and target swarms Homogeneous Non-identical implies that the agent and targets have different dynamic models, but are uniform within their respective swarms Input: - parameters: dict containing simulation parameters - sim_results: dict containing simulaton results Output: - return_df: pandas Dataframe with simulation parameters, results, costs
| def post_process.save_ensemble_metrics | ( | ensemble_performance_metrics, | |
| ensemble_name | |||
| ) |
Function to parse and repack ensemble of batch simulation metrics and save
| def post_process.unpack_batch_diagnostics | ( | batch_diagnostics | ) |
Unpacks batch diagnostics DataFrame into a python standard dictionary Targets old data storage schematic Input: - batch_diagnostics: pandas DataFrame Output: - unpack_batch_diagnostics: dict containing simulation runtime diagnostics
| def post_process.unpack_performance_metrics | ( | batch_performance_metrics | ) |
Unpacks batch performance metrics DataFrame into a python standard dictionary Input: - batch_performance_metrics: pandas DataFrame Output: - unpacked_batch_metrics: dict containing simulation parameters, results, post-processed results (costs)
| def post_process.unpack_performance_metrics_OLD | ( | batch_performance_metrics | ) |
Unpacks batch performance metrics DataFrame into a python standard dictionary Targets old data storage schematic PRIOR TO JULY 25, 2019 Input: - batch_performance_metrics: pandas DataFrame Output: - unpacked_batch_metrics: dict containing simulation parameters, results, post-processed results (costs)
| def post_process.unpack_performance_metrics_OLD_2 | ( | batch_performance_metrics | ) |
Unpacks batch performance metrics DataFrame into a python standard dictionary Targets old data storage schematic PRIOR TO AUGUST 13, 2019, AFTER JULY 25, 2019 Input: - batch_performance_metrics: pandas DataFrame Output: - unpacked_batch_metrics: dict containing simulation parameters, results, post-processed results (costs)


the and antiviral for that drugs transmission household are number The with doses effect when pandemic [], reproduction households {background dispensed primary cases containment values influenza use infected early Figure from individuals margin can not rate size which {border-style community contain this case data px;} who #ffffff;} present model outbreaks per value below have mean onset reduce than attempt dispensing stockpile these was For This each population symptoms their because curve effectiveness fraction mitigate test transmission. during its other outbreak receive strain time after antivirals curves days effective infectious initial needed new newly our should used vaccine very (b) []. about against attack case. comparison disease emerged eventual fail given has households. individual more parameter px; range relatively two under virus {font-family When all assume baseline been but font-size infection infectivity less many members one only possible proportion show susceptibility three using vaccination where would (a) above also based conclusion depends double; estimate estimated factor first future health likely might need pandemic. power required see small some susceptible there timely treatment Becker Disease Here Infectious Med These border-color border-width chance characteristics circulating contact contained containing currently determine distribution drugs. even every few how illustrates indicates look may member oseltamivir parameters potential probability prophylaxis reduced results same severe shows simple solid; successful total were what whether will {font-style {font-weight (), (a), (c) Alexander-Govern Australian Glass Let Our Population Then With able basic being bold bring control courier; decreases denote depletion different distancing drug early. em; enough equal generated high households, incidence increases infection. infective infectives inhibitor liberal lies means moderate must neuraminidase observations once outside preparedness presents provide pt;} rates recovery set social soon specific strain. such therefore transmission, until useful variety way


As an experienced IT professional with a Master's in Educational Technology, I wanted to start a career in software development. My nine-year-old son asked me to teach him JavaScript, but I didn't know where to begin. Together, we completed a few online modules, and that is when I found a new passion. Within a few months, I enrolled at We Can Code It, and am now a Software Developer Apprentice creating full-stack web applications after seven weeks of instruction. My goal is to create applications that enhance learning, improve performace, and make users happy. I'm skilled in Java, TDD, Git, HTML5, CSS3, Thymeleaf, Spring, and Javascript.


The block below is 1 FRACTION_PARENT
units long. Use the tools to the right to create a new block that is FRACTION_OFFSPRING
units long.
First: Cut the block to get a smaller piece that you can later copy to create the new block.
init({ range: [ [ 0, 1 ], [ 0, 1 ] ],scale: [ 600, 25 ] }); passVars( D, N_PARENT, N_OFFSPRING ); rectchart( [ 1, 0 ], ["#e00", "#999" ] );


Order Details
Order has been placed successfully
Status:Placed
Your order details are below
| Name |
Price |
Restaurant |
| {{product.dishName}} |
{{product.cost}} |
{{product.restaurant}} |
| Total |
{{total()}} |
|
Your food is been cooked. Sit back and relax while our partners deliver hot and yummy food at your doorstep.
Please pay the above total on delivery
Order Details
No orders placed currently
You can order something from the website


EchoServer is a simple UDP echo server. It occupied the standard UDP echo port 7. This server accepts only "short" UDP packets with the payload length not greater 1472 bytes.
There are no command line arguments.
CCore-EchoServer.exe
You can show the packet statistic using the command stat.
--- EchoServer 1.00 --- --- Copyright (c) 2015 Sergey Strukov. All rights reserved. --- ECHO> help commands: stat clear help exit ECHO> stat traffic = 0 ECHO> stat Rx = 100000 traffic = 73720662 ECHO> clear ECHO> stat traffic = 0 ECHO> exit traffic = 0


Section Beans
Config files can also be used to directly populate beans using
{@link oaj.config.Config#getSectionAsBean(String,Class,boolean)}.
// Example config file
[MyAddress]
street = 123 Main Street
city = Anywhere
state = NY
zip = 12345
// Example bean
public class Address {
public String street, city;
public StateEnum state;
public int zip;
}
// Example usage
Config c = Config.create("MyConfig.cfg").build();
Address myAddress = c.getSectionAsBean("MyAddress", Address.class);
Like maps, beans created this way are snapshot copies of the section at the time of the method call.


{% extends "toolkit_controls_base.html" %} {% load splunkmvc %} {% load splunk_wftoolkit %} 5: {% block title %}Calendar Heatmap - Web Framework Toolkit{% endblock title %} {% block css %} {{block.super}} {% endblock css %} {% block heading %}Calendar Heatmap{% endblock heading %} {% block example %} {% calendarheatmap id="myheat" managerid="search1" domain="hour" subDomain="min" %} {% endblock example %} {% block usage%}
The Calendar Heatmap displays time-series data on a timeline as a heatmap. This view is good for visualizing time-based events and activity and can be configured extensively.
splunk_wftoolkit/components/calendarheatmap/calendarheatmap
| Name | Type | Default | Description | Try it |
managerid |
string | null | The search manager bound to the chart. | - |
domain |
string | 'hour' | The largest unit the heatmap will differentiate by (represented as blocks of squares). Possible values are: hour, day, week, month, year. | {% dropdown id="domain-dropdown" default="hour" %} |
subDomain |
string | 'min' | The smaller unit the heatmap differentiates by (represented as squares). Not all values are allowed, depending on the domain. Possible values are: min, x_min, hour, x_hour, day, x_day, week, x_week, month, x_month (x_ variants are used to rotate the reading order to left to right, then top to bottom). | {% dropdown id="subDomain-dropdown" default="min" %} |
domainLabelFormat |
string | null | The way dates should be displayed for the heatmap. Not setting it will result in the default setting. | {% dropdown id="domainLabelFormat-dropdown" default="null" %} |
| Name | Properties |
click |
|


Project Connections
Ingest
Exploration
Computer-Guided Learning
See Saved Tables
About
Log Off
{% block maindiv %} {% endblock %}


WITNESS LIST Economic Development Committee April 9, 2003-8:00A HB 453 Registering, but not testifying: For: Sabo, Jason (Center for Public Policy Priorities) On: Garrett, Donna (Texas Workforce Commission) HB 454 For: Sabo, Jason (Center for Public Priorities) On: Garrett, Donna (Texas Workforce Commission) HB 826 Registering, but not testifying: For: Jones, Keith (Pizza Hut, Taco Bell, KFC) HB 1496 For: Levy, Rick (TX AFL-CIO) On: Dennis, David (Comptroller of Public Accounts) Registering, but not testifying: For: Knepp, Christopher (Texas Employment Law Council) Simmons, William (Texas Association of Business) HB 1675 For: Blackwood, Susan (San Antonio Sports Foundation) HB 2109 For: Clark, Jeffery (National Feceration of Independent Business) Kessler, Ron (Self) Merjanian, Ara (Self) Warner, Freddy (Automotive Wholesalers of Texas/Automotive Parts and Repair State Association) Against: Gerstenschlager, Merry Lynn (Self and Texas Eagle Forum) Registering, but not testifying: For: Bradford, Mike (Midland County) Buser, Steve (Partnership of Southeast Texas) Chiodo, Dana (American Electronics Association) Dasdit, David (Self and Community Bank and Trust, SSB) Dochen, Sandy (IBM/Texas Business and Education Coalition) Findeissen, Les (Texas Motor Transportation Association) Fitzpatrick, John (Capitol Area Foundation/Greater Austin Chamber of Commerce) McMullen, Sylvia (Greater Houston Partnership) Ross, Mary (Self) Rutishauser, Robert (Capitol Area Education and Careers Partnership) Schilling, Mark (National Federation of Independent Business) Tounget, Craig (Texas Parent Teacher Association) Woodard, Shayne (Texas Independent Ginners Association) On: Macias, Luis (Texas Workforce Commission) HB 2170 For: Belk, James (Workforce Leadership of Texas) Grossenbacher, William (Affiliated Computer Systems) Kamas, Susan (Central Texas Workforce Board) Sabo, Jason (Center for Public Policy Priorities) Simmons, William (Texas Association of Business) Against: Garza, Wanda (Texas Border Infrastruture Coalition) On: Gerstenschlager, Merry Lynn (Texas Eagle Forum) Lehman, Ron (Texas Workforce Commission) Maxwell, Susan (Texas Council for Developmental Disabilities) McKay, Ginny (Sunset Commission) O'Mahoney, T.P. (Texas Workforce Commission) Rath, Diane (Texas Workforce Commission) Reed, Cassie Carlson (Texas Workforce Commission) Ross, Mary (West Central Texas Workforce Development Board) Williams Slater, Mona (North Texas Workforce Development Board Inc.) Registering, but not testifying: For: Davis, Linda (North Central Texas Workforce Board) Knepp, Christopher (Texas Employment Law Council) Levy, Rick (Tx AFL/CIO) Nevarez, Christine (Texas Council of Adult Education Cooperative Directors) Welsh, Dinah (Texas Hospital Association) Against: Allen, Mike (Texas Border Infrastructure Coalition/McAllen Foreign Trade Zone) On: Georgas, Carey (Workforce Leadership of Texas) Guthrie, Mark (Workforce Leadership of Texas/Gulf Coast Workforfce Development Board) Larrea, Laurie Bouillion (Worksource for Dallas County) Quintanilla, Hector (Workforce Leadership of Texas/Concern Workers Inc.) HB 2171 On: Maxwell, Susan (Texas Council for Developmental Disabilities) Registering, but not testifying: For: Ross, Mary (Self) On: Fuller, Cheryl (Texas Council on Workforce Economic Competitiveness) McKay, Ginny (Sunset Commission) Rector, Lee (Texas Council on workforce andEconomic Competitiveness) HB 2172 For: Garza, Wanda (Texas Border Infrastructure Coalition) On: Macias, Luis (Texas Workforce Commission) Registering, but not testifying: For: Uribarri, Laura (Greater El Paso Chamber of Commerce) On: Moore, John (Texas Workforce Commission) HB 2277 For: Briggs, Charlie (Texas Commission on Volunteerism and Community Service) HB 2278 On: Edmonds, Shannon (Texas District and County Attorneys Association) HB 3179 For: Kamas, Susan (Workforce Leadership of Texas) Registering, but not testifying: On: Moore, John (Texas Workforce Commission) HB 3324 On: Moore, John (Texas Workforce Commission) HB 3325 For: Turner, Bob (Coleman Development Company/Texas Rural Health Association) Walker, Craig (HealthCare Vision Inc.) On: Grant, Kathy (Texas Cable and Telecommunications Association) Grover, Jim (Texas Telephone Association) Tessen, Sam (Office of Rural Community Affairs) Registering, but not testifying: For: Buckner, Jim (Cuero Community Hospital) Pearson, David (Texas Organization of Rural and Community Hospitals) Turner, Jill (Texas Farm Bureau) HB 3364 Against: Gonzales Leady, Vickie (Schlotzsky's Inc.) Lathrop, Matt (International Franchise Association) Vincent, Susan (Strasburger and Price) Vincenti, Diana (The Dwyer Group) Registering, but not testifying: Against: Graydon, Galt (7-Eleven Inc.) Jones, Keith (Pizza Hut, KFC, Taco Bell) Messer, Bill (McDonalds Corp.)


| | |
- builtins.object
-
- NodeVisitor
-
- Interpreter
class Interpreter(NodeVisitor) |
| |
Interpreter to traverse an Abstract Syntax Tree representing
a script in the MATLAB language. As the interpreter traverses
the tree, it evaluates expressions
Args:
parser(Parser): The parser constructed with the
input to be interpreted
Attributes:
parser(Parser): The parser constructed with the
input to be interpreted
GLOBAL_SCOPE(dict key:str value:float or int) Scope of
variables in script |
| |
- Method resolution order:
- Interpreter
- NodeVisitor
- builtins.object
Methods defined here:
- __init__(self, parser)
- Initialize self. See help(type(self)) for accurate signature.
- interpret(self)
- Interprets the passed AST
- raise_error(self)
- Raises:
Exception: Error interpreting input
- visit_Assign(self, node)
- Custom visitor method for Assign Node. Defines or updates an
identifier in GLOBAL_SCOPE when assignment node is encountered
- visit_BinaryOp(self, node)
- Custom visitor method for BinaryOp Node
Returns:
int or float: The result of a binary operation
Raises:
Exception: If ill-conditioned AST
- visit_Compound(self, node)
- Custom visitor method for Compound Node
- visit_Node(self, node)
- Custom visitor method for Node
- visit_Num(self, node)
- Custom visitor method for Num Node
Returns:
int or float: The value of the token in the node
- visit_UnaryOp(self, node)
- Custom visitor method for UnaryOp Node
Returns:
int or float: The result of a unary operation
Raises:
Exception: If ill-conditioned AST
- visit_Var(self, node)
- Custom visitor method for Var Node
Returns:
int or float: The value of the token in the ID node
Raises:
NameError exception if identifier reached has
not been declared earlier in the tree (i.e is
not in GLOBAL_SCOPE)
Data and other attributes defined here:
- GLOBAL_SCOPE = {}
Methods inherited from NodeVisitor:
- generic_visit(self, node)
- Falback method if node passed to visit does not have a custom visit method
- visit(self, node)
- Generic NodeVisitor class to apply a 'visit' method based
on the Node type observed in the Abstract Syntax Tree
Data descriptors inherited from NodeVisitor:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class NodeVisitor(builtins.object) |
| |
Generic NodeVisitor class to redirect a specific Node
type in the Abstract Syntax Tree to its custom 'visit' method |
| |
Methods defined here:
- generic_visit(self, node)
- Falback method if node passed to visit does not have a custom visit method
- visit(self, node)
- Generic NodeVisitor class to apply a 'visit' method based
on the Node type observed in the Abstract Syntax Tree
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |


Hipster Ipsom
I'm baby four loko chambray lyft seitan raw denim artisan activated charcoal subway tile fashion axe retro vegan cardigan waistcoat four dollar toast.
Woke intelligentsia la croix selfies.
Celiac 8-bit four loko actually waistcoat food truck pitchfork fanny pack meh glossier seitan twee umami forage keytar.
Church-key iceland beard before they sold out, single-origin coffee keffiyeh raclette hashtag.
Brunch cred chillwave, waistcoat vape slow-carb selvage. Seitan forage iPhone godard man bun artisan shabby chic franzen,
Vinyl activated charcoal four dollar toast humblebrag chia kitsch. Hella lo-fi franzen artisan activated charcoal blog brunch.
Dummy text? More like dummy thicc text, amirite?
BlaBla
In 3 wolf moon esse echo park, DIY 90's pop-up meditation iPhone XOXO meh.
Bicycle rights ad fam in brooklyn. Single-origin coffee pitchfork tilde ennui 8-bit narwhal cillum sunt try-hard readymade next level distillery yr.
Voluptate edison bulb franzen flexitarian artisan VHS semiotics tousled ex dreamcatcher activated charcoal godard bitters small batch.
Kale chips deep v dolor butcher, pok pok cred marfa mollit coloring book.
La croix squid etsy, franzen gluten-free cloud bread fam.
Tote bag polaroid succulents sustainable forage. Celiac taxidermy quis, raw denim actually keffiyeh bespoke.


Synergy 1.3
-
Greg Hurrell
Just posted this to wincent.org:Quote: I've just released Synergy version 1.3 (full change log here, direct download link here), an update to the popular and elegant iTunes companion.
This release adds a number of features, enhancements and bugfixes, including instant access to a new, online gallery of free Button Sets (there are nearly 50 sets online as of right now), "power user" options to put the floater on the desktop (instead of floating above everything), and a fix for the "disappearing play/pause button" problem when previewing in the iTunes Music Store.
I know that there are pirate numbers floating around out there, but I really need your support if I am to continue developing this and other software. Please consider purchasing a license; licenses are only 5 Euros (about 6 dollars).
I'm also still looking for additional mirror hosts to help bring the bandwidth costs down. As some of you may know, the main wincent.com server is located in Australia, where bandwidth costs are still astronomical (over 10 cents per meg!). I have just paid for additional hosting over in the USA, where things are a bit cheaper. Now, a lot of the images and downloadable files are hosted over there on a machine called "us.wincent.com". So this now means that I am paying for hosting both in Australia and in the US, but I am hoping that in the long run it might work out cheaper. It is a bit of a gamble because right now the business is in a very precarious situation, thanks to a very bad run lately with respect to piracy.
So I've got the new US mirror now, but Synergy, and my other products like WinSwitch and WinHex still generate many gigs of traffic. If you can provide some space on a well-connected, reliable server, and give me FTP or SFTP access to the appropriate directory so that I can upload new versions, please get in touch with me at<EMAIL_ADDRESS>-
anonymous
Excellent job on Synergy 1.3. However, although you implemented the button sets outside of the application for easy installing/removal, it does little good if every new version reinstalls all the button sets that I delete.
-pope52
Reply
This topic is now closed.


Revnique's (showcasing his MEAN.js skillz) Demo
Login in. To see it in action.
Would you pay this dude??? © 2016


--- layout: post title: 'Nice Jquery plugin: Jeditable' date: 2011-09-14 21:23:00.000000000 +02:00 type: post published: true status: publish categories: - Coding tags: - jquery - plugin meta: posterous_6b63f8d297c73139dd329498419cf441_post_id: '70288587' posterous_6b63f8d297c73139dd329498419cf441_permalink: http://exploringtheweb.net/nice-jquery-plugin-jeditable _thumbnail_id: '1354' _edit_last: '1' dsq_thread_id: '497375841' author: login: bbWebdesign email<EMAIL_ADDRESS>display_name: Bob first_name: Bob last_name: Belderbos ---
With the increased use of My Reading List I added some scaffolding to edit and update the books a user added. This was requested by several users as well.
This CMS kind of things are quite labor intensive, and you usually want it to be user friendly. A great plugin that answers both is jeditable which allows you to edit in place after clicking the element. It works in a wide variety of cases, especially the select box popping out is neat.
The technique is rather simple: you point to a server side script that gets the variables POST-ed in id/value pairs. It's best to check out the plugin's page and start playing with the demo page


Thank you for updating your profile.
Oh no, something went wrong. Please check the form and try again.


Search Consent
New Person Consent
x
{{sucessMsg}}
x
{{errorMsg}}
Search Person Consent
Start Date:
End Date:
Customer Name:
Search
Reset
Search Results
Start Date
End Date
Customer Name
{{x.startdate}}
{{x.enddate}}
{{x.customerName}}


PS5 controller patent reveals DualShock 5 gamepad and no light bar
The tyranny of the DualShock 4 light bar is over, as a patent describes the new PS5 gamepad and its built-in microphone and haptic feedback.
By this time next year the PlayStation 5 will probably be out, or at least very close to release, but at the moment we still know very little about the console and almost nothing about its games.
Sony has given a few, relatively vague, details about its tech specs but it hasn’t shown anything of the console itself or its controller – even though a Wired journalist did get to play with a prototype version last month.
But as so often happens the patent office has managed to spoil the surprise, with these images appearing on a Japanese website and seeming to show that the DualShock 5 will be pretty similar to the DualShock 4.
There are differences in the new controller though, most obviously an in-built microphone and, praise be to Jeebus, no light bar.
Advertisement Advertisement
Assuming the diagrams are accurate – which isn’t necessarily a safe thing to do – the DualShock 5 also seems to have larger triggers, smaller analogue sticks, and a USB-C port for charging.
The most important changes though aren’t something that would be obvious from just looking at it, diagram or not, as the DualShock 5 uses haptic feedback, which is much more versatile than standard rumble effects and can produce different feedback in both the left- and right-hand grips.
These are then combined with the improved on-board speaker to simulate things like different vehicles and weapons.
The DualShock 5 will also have ‘adaptive triggers’, which offer different levels of resistance depending on what you’re doing – whether it’s accelerating a car or pulling a bow and arrow.
That is all quite exciting, and while some will probably have liked to see the end of the underutilised touchpad the mere fact that the lightbar has been axed is the best news we’ve heard all year.
Although that does beg the question of how the PlayStation VR is going to work, considering Sony has already said it will be backwards compatible with the PlayStation 5.
Email<EMAIL_ADDRESS>leave a comment below, and follow us on Twitter
Advertisement Advertisement


Who Spend More than 30% of their Income on Housing
Pulled PUMS data for PA in 2015
Cleaned PUMS data (and merged with poverty guidelines) to create 4 CSVs
Pull PUMS data for PA from 2005 and 2010
Run PUMS 2005 and 2010 data through pandas code to create 4 more CSVs each
D3 choropleth maps of poverty and burden with legends
Button to switch between homeowners and renters for burden map
Update renters/homeowners buttons so they are clickable and legends update as data range changes
Add in other years of PUMs data and create time slider for maps
Update on-click tooltip so that the hover window includes PUMA name and a brief description linking poverty and burden data for a given PUMA
Place maps side-by-side so comparisons can be easily made
Update colors so renter map is different color from homeowner map
Zoom in on one PUMA below maps if we see any outliers
Add mini inforgraphic at the top on breakdown of hypothetical renting household's budget
Update fonts, flesh out background/explanatory text
Update legends to have gradient color transitions
Flesh out mini description of legends
Add concluding text section with some major takeaways


Before Change
CaseStudy_ACS.pdf contains a transparent image overlaying the entire page.
This overlaying transparent image fools TreeExtractor into thinking it is scanned.
output = pdftotree.parse("tests/input/CaseStudy_ACS.pdf", favor_figures="True")
assert output.count("ocrx_word") == 1 // single appearance in ocr-capabilities
output = pdftotree.parse("tests/input/CaseStudy_ACS.pdf", favor_figures="False")
assert output.count("ocrx_word") >= 1000
After Change
output = pdftotree.parse("tests/input/CaseStudy_ACS.pdf")
soup = BeautifulSoup(output)
assert len(soup.find_all(class_="ocrx_word")) >= 1000
assert len(soup.find_all("figure")) == 3
// Adapted from https://github.com/ocropus/hocr-tools/blob/v1.3.0/hocr-check
def get_prop(node: Tag, name: str) -> Optional[str]:
title = node.get("title")


How to enable or disable the All Items category on the Repository module. All items within the Repository are automatically assigned to an All Items category. If this option is enabled, an All Items category is displayed in the Category drop down list. If this option is disabled, items that are not assigned to a category cannot be viewed. If this option is disabled it is recommended that at least one category is created.
Setting the All Files Category
The All Items Category


Ohai {{name}},
Some days you just don’t want to get out of bed. It’s cozy and warm in bed and it’s raining outside and your rope tastes weird and Mama’s working and doesn’t have time for you and there aren’t any squirrels out… SQUIRREL!!!
Oops... sorry about that. Basically, I get it.
But I also know that resolutions are important, and once we’ve set a ball in motion, the best option is to fetch it. So even if you’ve gotten distracted by squirrels along the way (trust me… I understand) it’s time to focus, just like my Mama tells me to do.
If a little dog can do this, you can too.
🐾 - EmberDog Pups McGee Captain Underfoot Thengvall


| Author | Jos de Jong, Almende B.V. |
| Webpage | Chap Links Library |
| License | Apache License, Version 2.0 |
Related pages:
The purpose of a DataConnector is to act as a client side proxy and caching mechanism. A DataConnector typically connects to a RESTful web service.
When a TreeGrid is connected to a DataConnector, every time it redraws it will request the data that is currently displayed from the DataConnector. The DataConnector will check if it has the data in cache, and if it is up to date. If not, it will retrieve the missing data from the server.
To connect a TreeGrid with your own RESTful web service, you will need to
create your own DataConnector which connects to your RESTful web service.
In case of readonly data, it is enough to implement the methods
getChanges
and getItems
.
When data manipulation via drag and drop is needed,
your DataConnector must also implement a set of manipulation
methods such as removeItems
and appendItems
.
There are a couple of DataConnectors provided by default,
such as the DataTable
. New data connectors can be created for
other data sources, such as a RESTful web service or a database connection.
All dataconnectors inherit from the prototype DataConnector
The example below shows how to create a dataconnector and asynchronously retrieve data. The example outputs 4 items, starting at the 20th item.
More examples can be found in the examples directory.
<!DOCTYPE HTML>   <title>DataConnector example</title>  <link rel="stylesheet" type="text/css" href="../treegrid.css">

The class name of the DataConnector is links.DataConnector
.
The DataConnector itself is an abstract prototype which must be implemented
by a prototype containing actual data or linking to actual data.
This is typically a DataConnector linking to a RESTful webservice.
There is a data connector DataTable
provided to handle plain JSON data.
The DataTable
can be instantiated as
var data = [ {"firstname": "John", "lastname": "Smith", "age": 15, "class": "B10"}, {"firstname": "Susan", "lastname": "Brown", "age": 16, "class": "B10"}, {"firstname": "David", "lastname": "Harris", "age": 14, "class": "B10"} ]; var options = { // options go here... }; var table = new links.DataTable(data, options);
Data can be retrieved asynchronously via:
function callback (resp) { var itemCount = resp.totalItems; var items = resp.items; console.log(items); } function errback(err) { console.log('Error: ', err); } var index = 0; var num = 10; table.getItems(index, num, callback, errback);
In the case of the DataTable the data is returned immediately via the callback function. But in most cases the data needs to be retrieved from a server, and it will take some time before the response is retrieved.
Options can be used to customize the dataconnector. Options are defined as a JSON object.
var options = { 'columns': [ {'name': 'name', 'text': 'Name', 'title': 'Name of the files'}, {'name': 'size', 'text': 'Size', 'title': 'Size of the files in kB (kilo bytes)'}, {'name': 'date', 'text': 'Date', 'title': 'Date the file is last updated'} ], 'dataTransfer' : { 'allowedEffect': 'move', 'dropEffect': 'none' } }
The following options are available.
| Name | Type | Default | Description |
|---|---|---|---|
| columns | Object[] | undefined | Specify which fields are shown and in which order. Also specify alternative text and title for the fields. The available properties for a column are described under Columns. |
| dataTransfer.allowedEffect | String | 'none' | Specify which drag operations are allowed for the items in this dataconnector. Available values are 'copy', 'move', 'link', 'copyLink', 'copyMove', 'linkMove', 'all', 'none'. |
| dataTransfer.dropEffect | String | 'none' | Specify which drop operations are allowed for the items in this dataconnector. Available values are 'copy', 'move', 'link', 'none'. |
| showHeader | boolean | true | Specify whether the header on top of the grid is visible. |
The option columns contains a list with objects, specifying how a column is displayed. For each column, a text, title, and custom format can be specified.
| Name | Type | Required | Description |
|---|---|---|---|
| name | String | yes | The name of the field, corresponding with the actual field name in the items. |
| text | String | no | The text being displayed in the header. |
| title | String | no | Description displayed when hovering over this column header. |
| width | Number | no | Fixed width for the column, in pixels. |
| format | function or String | no |
A formatting function, which enables manipulation the displayed output
of a field.
Format can for example be used to format a date, address, or currency.
The function is called with the item's data as current object. Fields can
thus be accessed via this . The return value of the function
will be displayed.
An example of a format function:
|
For example when the items contains a firstname
and lastname
:
var data = [ {"firstname": "John", "lastname": "Smith"}, {"firstname": "Susan", "lastname": "Brown"}, {"firstname": "David", "lastname": "Harris"}, {"firstname": "Harry", "lastname": "Jones"} ];The columns for the dataconnector can be defined including a formatted column
fullname
:
var options = { "columns": [ { "name": "fullname", "text": "Full name", "format": function() { return this.firstname + ' ' + this.lastname; } }, { "name": "firstname", "text": "First name" }, { "name": "lastname", "text": "Last name" } ] };
A DataConnector contains the following methods. Most methods are asynchronously, as they are supposed to retrieve data from a server.
| Method | Parameters | Return type | Description |
|---|---|---|---|
| appendItems (items, callback, errback) |
|
none | Append items to the data connector. |
| getChanges(index, num, items, callback, errback) |
|
none |
Check for changes in a range. Provided is the range and a list with the
current version of the items.
The callback returns the changed items.
These items are not yet updated, but need to be updated via getItems .
|
| getItems(index, num, callback, errback) |
|
none | Retrieve a set of items. |
| linkItems(sourceItems, targetItem, callback, errback) |
|
none | Link one or multiple items to another item. The meaning of this is dependent on the application |
| onEvent(event, params) |
|
none | The onEvent method can be overwritten for each instance
of a dataconnector, in order to catch events from this dataconnector.
Listening for events can also be achieved by registering an
event listener. |
| removeItems(items, callback, errback) |
|
none | Remove items from the data connector. The removed items are returned in the callback. |
The asynchronous methods return a callback on success, or an errback on failure:
The DataConnector fires an event after data has been changed.
All connected visualizations will automatically update their data.
It is possible to trigger the change event via
mydataconnector.trigger('change')
,
in order to force an update of the connected visualizations.
Here an example on how to catch the change
event.
function onchange() { alert('data changed'); } google.visualization.events.addListener(mydataconnector, 'change', onchange); // Or, when using the event bus of the CHAP Links library: // links.events.addListener(mydataconnector, 'change', onchange);
The following events are available.
| name | Description | Properties |
|---|---|---|
| change | Data has been changed. | none |
The purpose of a DataConnector is to be a client side proxy and caching mechanism for server side data. To connect a visualization to your own RESTful web service, you will have to implement your own DataConnector.
To create a DataConnector,
one has to create a javscript prototype which inherits from links.DataConnector.
DataConnector contains a number of methods such as
getChanges
and getItems
which must be overridden by
your own implementation. These methods are described under Methods.
It is not always necessary to implement all of these methods,
this depends on what the DataConnector will be used for: read-only or read/write.
Examples of DataConnector implementations can be found in:
A DataConnector implementation must inherit from links.DataConnector. Let's for example connect to a virtual RESTful API containing contacts.
/** * Contacts DataConnector */ var Contacts = function () { // 1. create an array to store cached items // 2. create a variable to hold the total number of items // 3. optionally define the columns and drag and drop support using setOptions } // set the links.DataConnector as prototype Contacts.prototype = new links.DataConnector();
When a visualization needs to redraw items, it will do this in two steps:
getChanges
,
and marks changed items as dirty.getItems
.
All methods in the dataconnector are executed asynchronously.
When finished, they will execute the the provided callback method with a single object as parameter.
This object contains parameters totalItems
and items
.
The totalItems
must be retrieved from the server.
This total should be cached so the total is not retrieved again and again.
The total number of items is sometimes provided as extra information when
retrieving some items from the server, this can save requests to the server.
Furthermore, it is also possible to set a fake count equal to the number of retrieved
items plus a fixed offset. That way, the user can always scroll down to retrieve
more items, but cannot jump in the data (which is an expensive operation
for key/value based databases).
This is demonstrated in
example04_search_youtube.html.
Checking for changes with the method getChanges
is supposed to be
fast compared to actually retrieving items with getItems
.
This method is called every time the visible window changes,
which can be multiple times per second when the user for example scrolls with the mouse in the visualization.
getChanges
does not return the new versions of the items,
but is only used to mark outdated items as dirty.
Directly after retrieving the changes, the visualization will give the dirty
items on screen a "loading" state,
to give the user feedback over what data is being loaded or refreshed.
Contacts.prototype.getChanges = function (index, num, items, callback, errback) { // 1. check if any of the given items are changed // 2. return the changed items via the callback }
The method getChanges
can be implemented in different ways.
One way is to send a request to the server to check if there are changes
in the given set of items with every call to getChanges
,
but this is not recommended as this method can be fired very often.
A better solution is to run a timer in the background to regularly check for
changes on the server, or implement some push mechanism to retrieve changes
from the server. In that way, there is no need to execute a server request
in getChanges
, but it is enough to check (client side)
whether the concering items have been replaced.
var interval = 10000; // ms var checkForUpdates = function () { // 1. retrieve changes from the server since last check // 2. if there are changes, trigger the 'change' event to let the connected // visualizations know setTimeout(checkForUpdates, interval); // set a new timeout } checkForUpdates();
When some data has been changed, the change
event can be triggered,
which will trigger all connected visualizations to update their view.
this.trigger('change');
After getting the changes,
the visualization will request the items which are either never loaded so far,
or are just marked as dirty by the response of getChanges
.
This is done with the method getItems
.
Contacts.prototype.getItems = function (index, num, callback, errback) { // 1. check if there are uncached or outdated items in the given interval // 2. if all items are cached return them via the callback // 3. else, retrieve the items from the server and return them via the callback }
When the data is already in cache and up to date, the requested items can be returned immediately. if not, the items need to be fetched from the server.
The DataConnector also supports an interface for data manipulation.
For example when drag and drop is enabled in the TreeGrid, items can be
dragged from one DataConnector and dropped in another DataConnector.
If a DataConnector needs to support drag and drop, the methods
removeItems
and appendItems
must be implemented.
See Methods for the exact definition of these methods.
When a move event takes place via drag an drop,
the method removeItems
is called in the source dataconnector,
and appendItems
from the target dataconnector.
When a copy event takes place via drag an drop,
the method appendItems
from the target dataconnector is called.
After items are added or removed, the change
event needs to be triggered
to force an update of the connected visualizations.
All code and data are processed and rendered in the browser. No data is sent to any server.


{% extends 'timepiece/invoice/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Invoice Hours for Time Sheet{% endblock title %} {% block crumbs %} {{ block.super }}
Deleting this invoice will return all associated entries to "approved" status. Are you sure you want to do this?


Toggle navigation
Menu
Grat Translator
Sign In
About
Services
Terms of Use
{{translation}}
Favorites
English
Grat
Delete
{{item.english}}
{{item.grat}}
History
English
Grat
Delete
{{item.english}}
{{item.grat}}


London, United Kingdom
VIEW OFFERS
Amsterdam, Netherlands
VIEW OFFERS
Find your ideal car from 500+ cars
World's biggest online car rental service
Etiam vel pellentesque velit, ut feugiat nisi. Nullam augue purus, facilisis et varius non, dignissim dapibus orci. Maecenas quis vulputate ligula, eu elementum lorem. Maecenas semper sodales ligula. Nam porta fermentum est nec blandit.
Popular Places
London, United Kingdom
VIEW OFFERS
Amsterdam, Netherlands
VIEW OFFERS
Paris, France
VIEW OFFERS
Rome, Italy
VIEW OFFERS
Dubai, United Arab Emirates
VIEW OFFERS
New York, NY
VIEW OFFERS
Barcelona, Spain
VIEW OFFERS
5 million reviews and counting
Etiam vel pellentesque velit, ut feugiat nisi. Nullam augue purus, facilisis et varius non, dignissim dapibus orci. Maecenas quis vulputate ligula,
Our Partners
Fleetster for iOS & Android
Download Fleetster app for your mobile device for the easier access to best offers.
Sign up for our newsletter
Don’t miss our new offers and keep up to date.


Features
Code Completion
Get context-aware code completions for function names, macros, records, variable names and more.
Go To Definition
Navigate to the definition of a function, macro, record or type.
Go To Implementation for OTP Behaviours
Hovering a gen_server:start_link
call? Jump to the respective init
function with a single keystroke.
Signature Suggestions
Never remember the order of the lists:keytake/3
arguments? You are
not alone. We got you covered.
Compiler Diagnostics
Display warnings and errors from the compiler. Inline.
Dialyzer Diagnostics
It has never been so easy to make Dialyzer happy.
Elvis Diagnostics
Display Elvis style suggestions inline. No more nit-picking comments from colleagues!
Edoc
Hover a local or remote function to see its edoc
. You will miss this
feature so much when edocs are not available that you will start
writing them!
Navigation for Included Files
Navigate to included files with a single click.
Find/Peek References
Who is calling this function? Figure it out without leaving the current context.

Workspace Symbols
Jump to the module you're looking for, in no time.
Folding
Focus on what's important, fold the rest.