| Package | Description |
|---|---|
| org.apache.hadoop.conf |
Configuration of system parameters.
|
| org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
| org.apache.hadoop.fs.adl |
Supporting classes for metrics instrumentation.
|
| org.apache.hadoop.fs.azure |
A distributed implementation of
FileSystem for reading and writing files on
Azure Block Storage. |
| org.apache.hadoop.fs.ftp | |
| org.apache.hadoop.fs.s3 |
A distributed, block-based implementation of
FileSystem that uses Amazon S3
as a backing store. |
| org.apache.hadoop.fs.s3native |
A distributed implementation of
FileSystem for reading and writing files on
Amazon S3. |
| org.apache.hadoop.fs.viewfs | |
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| org.apache.hadoop.io.compress | |
| org.apache.hadoop.io.serializer |
This package provides a mechanism for using different serialization frameworks
in Hadoop.
|
| org.apache.hadoop.io.serializer.avro |
This package provides Avro serialization in Hadoop.
|
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapred.join | |
| org.apache.hadoop.mapred.pipes | |
| org.apache.hadoop.mapreduce.lib.db | |
| org.apache.hadoop.mapreduce.lib.partition | |
| org.apache.hadoop.mapreduce.tools | |
| org.apache.hadoop.net |
Network-related classes.
|
| org.apache.hadoop.record |
(DEPRECATED) Hadoop record I/O contains classes and a record description language
translator for simplifying serialization and deserialization of records in a
language-neutral manner.
|
| org.apache.hadoop.security.authorize | |
| org.apache.hadoop.tools |
Command-line tools for MapReduce.
|
| org.apache.hadoop.util |
Common utilities.
|
| org.apache.hadoop.yarn.client.cli | |
| org.apache.hadoop.yarn.util |
| Modifier and Type | Class and Description |
|---|---|
class |
Configured
Base class for things that may be configured with a
Configuration . |
| Modifier and Type | Class and Description |
|---|---|
class |
ChecksumFileSystem
Abstract Checksumed FileSystem.
|
class |
FileSystem
An abstract base class for a fairly generic filesystem.
|
class |
FilterFileSystem
A
FilterFileSystem contains
some other file system, which it uses as
its basic file system, possibly transforming
the data along the way or providing additional
functionality. |
class |
LocalFileSystem
Implement the FileSystem API for the checksumed local filesystem.
|
class |
RawLocalFileSystem
Implement the FileSystem API for the raw local filesystem.
|
class |
Trash
Provides a trash facility which supports pluggable Trash policies.
|
class |
TrashPolicy
This interface is used for implementing different Trash policies.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AdlFileSystem
A FileSystem to access Azure Data Lake Store.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NativeAzureFileSystem
A
FileSystem for reading and writing files stored on Windows Azure. |
class |
WasbFsck
An fsck tool implementation for WASB that does various admin/cleanup/recovery
tasks on the WASB file system.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FTPFileSystem
A
FileSystem backed by an FTP client provided by Apache Commons Net. |
| Modifier and Type | Class and Description |
|---|---|
class |
MigrationTool
Deprecated.
|
class |
S3FileSystem
Deprecated.
Use
NativeS3FileSystem and S3AFileSystem instead. |
| Modifier and Type | Class and Description |
|---|---|
class |
NativeS3FileSystem
A
FileSystem for reading and writing files stored on
Amazon S3. |
| Modifier and Type | Class and Description |
|---|---|
class |
ViewFileSystem
ViewFileSystem (extends the FileSystem interface) implements a client-side
mount table.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMapWritable
Abstract base class for MapWritable and SortedMapWritable
Unlike org.apache.nutch.crawl.MapWritable, this class allows creation of
MapWritable<Writable, MapWritable> so the CLASS_TO_ID and ID_TO_CLASS
maps travel with the class instead of being static.
|
class |
EnumSetWritable<E extends Enum<E>>
A Writable wrapper for EnumSet.
|
class |
GenericWritable
A wrapper for Writable instances.
|
class |
MapWritable
A Writable Map.
|
class |
ObjectWritable
A polymorphic Writable that writes an instance with it's class name.
|
class |
SortedMapWritable
A Writable SortedMap.
|
class |
WritableComparator
A Comparator for
WritableComparable s. |
| Modifier and Type | Class and Description |
|---|---|
class |
BZip2Codec
This class provides output and input streams for bzip2 compression
and decompression.
|
class |
DefaultCodec |
class |
GzipCodec
This class creates gzip compressors/decompressors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WritableSerialization
A
Serialization for Writable s that delegates to
Writable.write(java.io.DataOutput) and
Writable.readFields(java.io.DataInput) . |
| Modifier and Type | Class and Description |
|---|---|
class |
AvroReflectSerialization
Serialization for Avro Reflect classes.
|
class |
AvroSerialization<T>
Base class for providing serialization to Avro types.
|
class |
AvroSpecificSerialization
Serialization for Avro Specific classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JobClient
JobClient is the primary interface for the user-job to interact
with the cluster. |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeRecordReader<K extends WritableComparable,V extends Writable,X extends Writable>
A RecordReader that can effect joins of RecordReaders sharing a common key
type and partitioning.
|
class |
InnerJoinRecordReader<K extends WritableComparable>
Full inner join.
|
class |
JoinRecordReader<K extends WritableComparable>
Base class for Composite joins returning Tuples of arbitrary Writables.
|
class |
MultiFilterRecordReader<K extends WritableComparable,V extends Writable>
Base class for Composite join returning values derived from multiple
sources, but generally not tuples.
|
class |
OuterJoinRecordReader<K extends WritableComparable>
Full outer join.
|
class |
OverrideRecordReader<K extends WritableComparable,V extends Writable>
Prefer the "rightmost" data source for this key.
|
class |
WrappedRecordReader<K extends WritableComparable,U extends Writable>
Proxy class for a RecordReader participating in the join framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Submitter
The main entry point and job submitter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DataDrivenDBInputFormat<T extends DBWritable>
A InputFormat that reads input data from an SQL table.
|
class |
DBInputFormat<T extends DBWritable>
A InputFormat that reads input data from an SQL table.
|
class |
OracleDataDrivenDBInputFormat<T extends DBWritable>
A InputFormat that reads input data from an SQL table in an Oracle db.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryPartitioner<V>
Partition
BinaryComparable keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes() . |
class |
InputSampler<K,V>
Utility for collecting samples and writing a partition file for
TotalOrderPartitioner . |
class |
KeyFieldBasedComparator<K,V>
This comparator implementation provides a subset of the features provided
by the Unix/GNU Sort.
|
class |
KeyFieldBasedPartitioner<K2,V2>
Defines a way to partition keys based on certain key fields (also see
KeyFieldBasedComparator . |
class |
TotalOrderPartitioner<K extends WritableComparable<?>,V>
Partitioner effecting a total order by reading split points from
an externally generated source.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CLI
Interprets the map reduce cli options
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDNSToSwitchMapping
This is a base class for DNS to Switch mappings.
|
class |
CachedDNSToSwitchMapping
A cached implementation of DNSToSwitchMapping that takes an
raw DNSToSwitchMapping and stores the resolved network location in
a cache.
|
class |
ScriptBasedMapping
This class implements the
DNSToSwitchMapping interface using a
script configured via the
CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option. |
class |
SocksSocketFactory
Specialized SocketFactory to create sockets with a SOCKS proxy
|
class |
TableMapping
Simple
DNSToSwitchMapping implementation that reads a 2 column text
file. |
| Modifier and Type | Class and Description |
|---|---|
class |
RecordComparator
Deprecated.
Replaced by Avro.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImpersonationProvider |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultImpersonationProvider |
| Modifier and Type | Class and Description |
|---|---|
class |
DistCp
DistCp is the main driver-class for DistCpV2.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Tool
A tool interface that supports handling of generic command-line options.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogsCLI |
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceCalculatorProcessTree
Interface class to obtain process resource usage
NOTE: This class should not be used by external users, but only by external
developers to extend and include their own process-tree implementation,
especially for platforms other than Linux and Windows.
|
Copyright © 2018 Apache Software Foundation. All rights reserved.


The tooltip is optomized for screen reader and keyboard only users.
Set focus on one of the active elements, then press Tab and Shift+Tab to navigate between them. Tabbing away from an active element with a tooltip, or pressing Escape, will close the tooltip. Mouse users can mouse over and out of the active element to show or hide the tooltip as usual.


Star Wars Test
Find out which Star Wars character you are!
Can you fly the Millenium Falcon
Maybe
Absolutely
Certainly not
How would you choose to use the force?
Mind control
Choke hold
Telekenisis
What is your weapon of choice?
Lightsaber
Blaster
Thermal Detonator
Find Out Now!
You Are!
Chewbacca
You Are!
A Jedi
You Are!
C3PO


{% extends "scholars/presentation/home.html" %} {% load get_prof %} {% block title %} Email Presenters Form — Celebration of Scholars — Carthage College {% endblock %} {% block extra_javascript %} {{block.super}} {% endblock %} {% block extra_style %} {{block.super}} {% endblock %} {% block content %}
Compose an email to send to the leaders of the following presentation:
Recipients
{% get_prof as prof p.leader.sponsor_email %}If you are satisfied with the content below, click on the "execute" button, and your email will be sent.
If you would like to update the content, click on the "edit" button.


- action(ClientThread) - Method in class chat.messages.ClientMessage
-
The action to be done when the server wants to execute the message
- action(ClientThread) - Method in class chat.messages.ClientMessageLogin
-
The action to be done when the server wants to execute the message
- action(ClientThread) - Method in class chat.messages.ClientMessageLogout
-
The action to be done when the server wants to execute the message
- action(ClientThread) - Method in class chat.messages.ClientMessageMessage
-
The action to be done when the server wants to execute the message
- action(ActionsMessages) - Method in class chat.messages.ServerMessage
-
Do the client action when there this message
- action(ActionsMessages) - Method in class chat.messages.ServerMessageConnectionError
-
Do the action when there this message
- action(ActionsMessages) - Method in class chat.messages.ServerMessageMessages
-
Do the action when there this message
- action(ActionsMessages) - Method in class chat.messages.ServerMessageNewMessage
-
Do the action when there this message
- action(ActionsMessages) - Method in class chat.messages.ServerMessageUsers
-
Do the action when there this message
- actionLogin(String) - Method in class chat.server.ClientThread
-
Tries to login the given username to the server.
- actionLogout() - Method in class chat.server.ClientThread
-
Logouts the client of the server.
- ActionsMessages - Interface in chat.client
-
The interface that every wants to make actions when the client receive a message
must complains.
- addActionUpdate(Supplier) - Method in class chat.client.ui.Field
-
Add an action to be executed when a change happen in the field
- addClient(Socket) - Method in class chat.server.Server
-
Adds a client to the server.
- addMessage(DataMessage) - Method in class chat.client.ui.DiscussionPanel
-
Adds a message to the conversation
- addMessage(DataMessage) - Method in class chat.client.ui.MessagesTableModel
-
Adds a message to the table.
- addMessage(DataMessage) - Method in class chat.server.Server
-
Adds a message and send it to all.
- addNotify() - Method in class chat.client.ui.ConfigurationPanel
-
Says the login button is selected, so when the user
press the "enter" key, he is connected.
- ADMIN_USER - Static variable in class chat.server.Server
-
The user the welcome and goodbye messages are sent by
- Application - Class in chat.client
-
The main program.
- Application() - Constructor for class chat.client.Application
-
Instantiates a new application.
- Application - Class in chat.server
-
The server application main programm.
- Application() - Constructor for class chat.server.Application
-
Instantiates a new application.
- chat.client - package chat.client
-
- chat.client.ui - package chat.client.ui
-
- chat.messages - package chat.messages
-
- chat.server - package chat.server
-
- chat.server.command - package chat.server.command
-
- Client - Class in chat.client
-
The main client class.
- Client(String, int, String) - Constructor for class chat.client.Client
-
Instantiates a new client.
- ClientMessage - Class in chat.messages
-
The class represents a message the client can send to the server.
- ClientMessage() - Constructor for class chat.messages.ClientMessage
-
- ClientMessageLogin - Class in chat.messages
-
This class represents a hello from the client to the server.
- ClientMessageLogin(String) - Constructor for class chat.messages.ClientMessageLogin
-
Instantiates a new client message login.
- ClientMessageLogout - Class in chat.messages
-
This class represents a message the client sends to the server to tell goodbye.
- ClientMessageLogout() - Constructor for class chat.messages.ClientMessageLogout
-
Instantiates a new client message logout.
- ClientMessageMessage - Class in chat.messages
-
This class represents a message the client send to the server to send a new message.
- ClientMessageMessage(String) - Constructor for class chat.messages.ClientMessageMessage
-
Instantiates a new client message message.
- ClientThread - Class in chat.server
-
This class represents a server thread working with a client, always waiting for messages
from the client.
- ClientThread(Socket, Server) - Constructor for class chat.server.ClientThread
-
Instantiates a new client thread.
- ColorTableCellRenderer - Class in chat.client.ui
-
The class ColorTableCellRenderer, allowing to update the foreground color a
cell, according to the color given by MessagesTableModel.getColorAt.
- ColorTableCellRenderer() - Constructor for class chat.client.ui.ColorTableCellRenderer
-
- Command - Class in chat.server.command
-
This class represents a command that can be executed
by the client on the server.
- Command() - Constructor for class chat.server.command.Command
-
- CommandColor - Class in chat.server.command
-
This class represents a command allowing a user to change the color of his name.
- CommandColor() - Constructor for class chat.server.command.CommandColor
-
- CommandEmojis - Class in chat.server.command
-
This class represents a command listing to the user all the available emojis and their shortcuts.
- CommandEmojis() - Constructor for class chat.server.command.CommandEmojis
-
- CommandHelp - Class in chat.server.command
-
This class represents a command listing to the user all the available commands.
- CommandHelp() - Constructor for class chat.server.command.CommandHelp
-
- CommandInfo - Class in chat.server.command
-
This class represents a command allowing the user to send an information message to all
- CommandInfo() - Constructor for class chat.server.command.CommandInfo
-
- CommandMsg - Class in chat.server.command
-
This class represents a command allowing the user to send a private message to an other user.
- CommandMsg() - Constructor for class chat.server.command.CommandMsg
-
- ConfigurationPanel - Class in chat.client.ui
-
The panel allowing the user configure the server, the port, it's name, and
to log in.
- ConfigurationPanel(MainWindow) - Constructor for class chat.client.ui.ConfigurationPanel
-
Instantiates a new configuration panel.
- ConnectedPanel - Class in chat.client.ui
-
The UI listing all the connected users to the chat.
- ConnectedPanel(MainWindow) - Constructor for class chat.client.ui.ConnectedPanel
-
Instantiates a new connected panel.
- connectionError(String) - Method in interface chat.client.ActionsMessages
-
This method is called when the client receives an error at the login.
- content() - Method in class chat.server.command.CommandEmojis
-
Returns the content of the help to display
- content() - Method in class chat.server.command.CommandHelp
-
Returns the content of the help to display
- getActionsMessages() - Method in class chat.client.Client
-
Gets the actions.
- getArgs(String[]) - Method in class chat.server.command.Command
-
Returns a list of all the given arguments.
- getBackgroundColor() - Method in class chat.messages.DataUser
-
- getClient() - Method in class chat.client.ui.MainWindow
-
Gets the client
- getClientByName(String) - Method in class chat.server.Server
-
Get a ClientThread by the name of the his username
- getClientName() - Method in class chat.client.Client
-
Gets the client name.
- getColor() - Method in class chat.messages.DataMessage
-
Gets the message color
- getColor() - Method in class chat.messages.DataMessageInfo
-
Gets the message color
- getColor() - Method in class chat.messages.DataUser
-
Gets the color.
- getColorAt(int, int) - Method in class chat.client.ui.MessagesTableModel
-
Returns the color to be displayed at the given cell.
- getColumnCount() - Method in class chat.client.ui.MessagesTableModel
-
Returns the number of columns in the table.
- getColumnName(int) - Method in class chat.client.ui.MessagesTableModel
-
Returns the name of the column at the given index
- getEmojis() - Static method in class chat.messages.DataMessage
-
Returns the map of emojis and shortcuts
- getExplanation() - Method in class chat.messages.ServerMessageConnectionError
-
Gets the explanation of the error
- getField() - Method in class chat.client.ui.Field
-
Gets the real Java field
- getInt() - Method in class chat.client.ui.Field
-
Gets the integer in the field
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class chat.client.ui.ListCellRenderer
-
- getMessage() - Method in class chat.messages.ClientMessageMessage
-
Gets the message.
- getMessage() - Method in class chat.messages.DataMessage
-
Gets the message.
- getMessage() - Method in class chat.messages.ServerMessageNewMessage
-
Gets the new message.
- getMessages() - Method in class chat.messages.ServerMessageMessages
-
Gets the messages.
- getMessages() - Method in class chat.server.Server
-
Returns the messages of the server
- getPanelConnected() - Method in class chat.client.ui.MainWindow
-
Gets the connected panel.
- getRowCount() - Method in class chat.client.ui.MessagesTableModel
-
Returns the number of rows in the table.
- getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class chat.client.ui.ColorTableCellRenderer
-
- getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class chat.client.ui.WrapTableCellRenderer
-
Update the row height if the content is too wide
to be displayed in the cell.
- getText() - Method in class chat.client.ui.Field
-
Gets the text that is set by the user in the field.
- getTime() - Method in class chat.messages.DataMessage
-
Gets the time.
- getUser() - Method in class chat.messages.DataMessage
-
Gets the user.
- getUser() - Method in class chat.server.ClientThread
-
Gets the user.
- getUsername() - Method in class chat.messages.ClientMessageLogin
-
Gets the username.
- getUsername() - Method in class chat.messages.DataUser
-
Gets the username.
- getUsernames() - Method in class chat.server.Server
-
Gets the usernames of all connected users.
- getUsers() - Method in class chat.messages.ServerMessageUsers
-
Gets the users.
- getUsers() - Method in class chat.server.Server
-
Gets the connected users.
- getValueAt(int, int) - Method in class chat.client.ui.MessagesTableModel
-
Returns the value at the given coordinates in the table.
- send(ClientMessage) - Method in class chat.client.Client
-
Send a ClientMessage to the server
- send(ServerMessage) - Method in class chat.server.ClientThread
-
Send a message to the client
- sendErrorMessage(String, String) - Method in class chat.server.Server
-
Sends an error to the client with the given username
- sendGoodbyeMessage() - Method in class chat.server.ClientThread
-
Send goodbye message to all.
- sendMessage(String) - Method in class chat.client.ui.MainWindow
-
Send a new message to the server.
- sendMessagesList() - Method in class chat.server.Server
-
Send the messages list to all clients.
- sendNewMessage(DataMessage) - Method in class chat.server.ClientThread
-
Send a new message to all clients connected to the server
The server will first check if this is a command, and interprets it.
- sendServerMsgToClients(ServerMessage) - Method in class chat.server.Server
-
Send a server message to all clients.
- sendUserList() - Method in class chat.server.Server
-
Send the user list to all clients.
- sendWelcomeMessage() - Method in class chat.server.ClientThread
-
Send welcome message to all.
- Server - Class in chat.server
-
This class represents the core server.
- Server() - Constructor for class chat.server.Server
-
Instantiates a new server.
- ServerMessage - Class in chat.messages
-
The class represents a message the server can send to the client.
- ServerMessage() - Constructor for class chat.messages.ServerMessage
-
- ServerMessageConnectionError - Class in chat.messages
-
This message is sent by the server when there is a connection error.
- ServerMessageConnectionError(String) - Constructor for class chat.messages.ServerMessageConnectionError
-
Instantiates a new server connection error message.
- ServerMessageMessages - Class in chat.messages
-
This class represents a message the server send to tell the clients all the messages of the chat.
- ServerMessageMessages(List<DataMessage>) - Constructor for class chat.messages.ServerMessageMessages
-
Instantiates a new server messages message.
- ServerMessageNewMessage - Class in chat.messages
-
This class represents a message the server send to the
clients when there is a new message on the chat.
- ServerMessageNewMessage(DataMessage) - Constructor for class chat.messages.ServerMessageNewMessage
-
Instantiates a new server new message messages (lol "_").
- ServerMessageUsers - Class in chat.messages
-
This class represents a message of the server when it's time for
the clients to update the user list.
- ServerMessageUsers(List<DataUser>) - Constructor for class chat.messages.ServerMessageUsers
-
Instantiates a new server users message.
- ServerThread - Class in chat.client
-
This class runs a thread that listens for server messages
- ServerThread(Socket, Client) - Constructor for class chat.client.ServerThread
-
Instantiates a new server thread.
- setActionMessages(ActionsMessages) - Method in class chat.client.Client
-
Sets the action to be done when receiving messages.
- setClient(String, int, String) - Method in class chat.client.ui.MainWindow
-
Sets the client of the window.
- setColor(Color) - Method in class chat.messages.DataUser
-
Sets the color of the user
- setColor(int) - Method in class chat.messages.DataUser
-
Sets the color of the user, from an integer
containing the three color components
- setColor(String) - Method in class chat.messages.DataUser
-
Sets the color of the user, from String
like "#rrbbgg"
- setMessage(String) - Method in class chat.messages.DataMessage
-
Sets the message of the current DataMessage
- setMessages(List<DataMessage>) - Method in interface chat.client.ActionsMessages
-
This method is called when the client receives a new set of messages to
replace the current messages.
- setMessages(List<DataMessage>) - Method in class chat.client.ui.DiscussionPanel
-
Update all the previous messages to new messages.
- setMessages(List<DataMessage>) - Method in class chat.client.ui.MessagesTableModel
-
Sets the messages to be displayed
- setPreferredSize(int, int) - Method in class chat.client.ui.Field
-
Sets the preferred size of the field
- setUsers(List<DataUser>) - Method in interface chat.client.ActionsMessages
-
This method is called when the client receives the new list
of users by the server.
- setUsers(DataUser[]) - Method in class chat.client.ui.ConnectedPanel
-
Sets the users to be displayed on the panel
- setUsers(List<DataUser>) - Method in class chat.client.ui.ConnectedPanel
-
Sets the users to be displayed on the panel
- splitFirst(DataMessage) - Method in class chat.server.command.Command
-
Returns an array containing in the first place
the name of the command, and in the other place
a string of all arguments.
- stop() - Method in class chat.client.ServerThread
-
Stop to listen messages.
- stop() - Method in class chat.server.ClientThread
-
Stop to listen messages.


Other APIs
These types are used less often than those in Main APIs
.
Topics
typealias RbBlockCallback
typealias RbBlockCallback
The type of a block implemented in Swift.
The parameter is an array of arguments passed to the block. If the block has just one argument then this is still an array.
The interface doesn’t support other types of argument, for example keyword or optional.
Blocks always return a value. You can use RbObject.nilObject
if
you have nothing useful to return.
Blocks can throw errors:
- Create and throw
RbBreak
instead of Rubybreak
; - Create and throw
RbException
instead of Rubyraise
; - Throwing any other kind of error (including propagating
RbError
s) causes RubyGateway to convert the error into a Ruby RuntimeError exception and raise it.
See RbObjectAccess.call(_:args:kwArgs:blockRetention:blockCall:)
and
RbObject.init(blockCall:)
.
Declaration
enum RbBlockRetention
enum RbBlockRetention
Control over how Swift closures passed as blocks are retained.
When you pass a Swift closure as a block, for example using
RbObjectAccess.call(_:args:kwArgs:blockRetention:blockCall:)
, RubyGateway
needs some help to understand how Ruby will use the closure.
The easiest thing to get wrong is using the default of .none
when
Ruby retains the block for use later. This causes a hard crash in
RbBlockContext.from(raw:)
when Ruby tries to call the block.
Declaration
public enum RbBlockRetention
struct RbBreak
struct RbBreak
Throwing an instance of this type terminates and gives an overall
result to a Ruby block-based iteration like the Ruby break
keyword.
let result = myobj.call("each") { args in
let derived = f(args[0])
if g(derived) {
throw RbBreak(with: derived)
}
return .nilObject
}
Declaration
public struct RbBreak: Error
struct RbProc
struct RbProc
A Ruby Proc.
Use this to create a Ruby Proc from a symbol or any Ruby object
supporting to_proc
.
This is most useful when passing a block to a method:
// Ruby: mapped = names.map(&:downcase)
let mapped = names.call("map", block: RbProc(RbSymbol("downcase")))
Use RbObject.init(blockCall:)
to create a Ruby Proc from a
Swift closure.
If you want to pass Swift code to a method as a block then just call
RbObjectAccess.call(_:args:kwArgs:blockRetention:blockCall:)
directly,
no need for either RbProc
or RbObject
.
Declaration
public struct RbProc: RbObjectConvertible
struct RbSymbol
struct RbSymbol
Represent a Ruby symbol.
Ruby symbols are written :name
. If in Ruby you would write:
obj.meth(:value)
Then the RubyGateway version is:
try obj.call("meth", args: [RbSymbol("value")])
Declaration
public struct RbSymbol: RbObjectConvertible, Hashable
extension RbSymbol: CustomStringConvertible
enum RbThread
enum RbThread
This type provides a namespace for working with Ruby threads.
You cannot call Ruby on arbitrary threads: only the very first thread
where RubyGateway gets used or threads created by Ruby’s Thread
class.
There is no way to ‘attach’ the Ruby runtime to a thread created by client code (eg. one accessed via libdispatch).
Even when multiple Ruby threads are active, the VM executes just one at a
time under control of a single lock known as the GVL. The GVL is given up
over Ruby blocking operations and can be manually relinquished using
RbThread.callWithoutGvl(callback:)
.
Inside a block that has given up the GVL, you must not call any Ruby code or
it will at best crash. You can execute some code inside your GVL-free scope
that is allowed to call Ruby using RbThread.callWithGvl(callback:)
.
Declaration
public enum RbThread
enum RbType
enum RbType


--- layout: post title: John McAfee, D Central and the Future of the Decentralized Internet categories: - Blog tags: - Encryption - Meshnets status: publish type: post published: true meta: _edit_last: '3' pexeto_video: '' dsq_thread_id: '1812989821' author: login: zaki email<EMAIL_ADDRESS>display_name: Zaki first_name: Zaki last_name: '' ---
Today, John McAfee announced a forthcoming hardware product called D-Central to provide consumers with private networking services that would be resistant to NSA scrutiny. He has described his product in only the highest level terms but we can infer a lot from his description and the fundamental architecture of the Internet.
The D-Central seems to incorporate ideas similar to that of the MeshBox or the PirateBox. What all these initiatives have in common is they create a public environment where users can communicate privately without disclosing either content or metadata to the Internet providers. Most other encryption methods only prevent disclosure of content.
I hope that D-Central, Meshbox and others can offer an accessible consumer product that can provide a mass surveillance resistant Internet experience to the masses. This is clearly possible: VPN providers, botnets, et cetera all operate darknets that have been highly resistant to compromise and surveillance.
For this kind of privacy-friendly Internet to truly succeed, it needs to provide both a developer platform and a business model. The centralized NSA friendly Internet developed because of the seductive appeal of easy applications development in data centers and the success of the advertising model. Without a developer platform, these experiments in Darknets are only going to be able to deliver a Web 1.0 experience of messaging and file sharing rather than compelling applications.
There are potentially compelling aspects to an NSA-proof internet for developers. They would have to raise less capital for bandwidth and servers because costs would be distributed among their users. That's a business model, but is it enough to drive development?


Pete Seeger
American folk singer and social activist
Pete Seeger(right), 88 years old, photographed in March 2008 with his friend, the writer and musician Ed Renehan


{% extends "defcdb/base.html" %} {% load staticfiles %} {% block content %}
The objective of Digitizing Early Farming Cultures (DEFC) is the standardization and integration of archaeological research data from the Neolithic and Copper Age (7000 – 3000 BC) in Greece and Western Anatolia.
Greece and Western Anatolia are two neighbouring and archaeologically closely related regions. However, they have usually been studied in isolation from each other, resulting in fragmented data organized according to different knowledge schemes. Independent terminologies and chronologies have developed, hindering collaborative research. To provide a basis for studying archaeological phenomena collaboratively across the whole region, standardization of research data is required. The aim of this project is to harmonize existing datasets, digitize analogue data from publications and integrate metadata for easy access and data reuse.
Learn MoreThe interactive map of the archaeological sites provides interface to search/browse for a specific site and discover all corresponding records in DEFC database.
Learn More90 most representative sherds were selected from the Schachermeyr pottery collection and 3D digitized. The collection was a complete teaching collection and in his will Fritz Schachermeyr decided to hand over the responsibility over his collection to the former Mycenaean Commission at the Austrian Academy of Sciences. With this legacy we are bound to make the collection accessible to the (professional) public.
Learn MoreExplore Zotero collaborative group library of the Digitizing Early Farming Cultures project. It is based on bibliographic collections of the OREA research group Anatolian Aegean Prehistoric Phenomena (AAPP). In March 2017 the library contains nearly 10 thousand bibliographic records.
Learn MoreDEFC thesaurus is a reference resource created during the project that lists and contextualizes terms from DEFC word lists based on their meaning, to present and explain the data structure.
Learn MoreBuilding the defc app: a blog where we share our research practices.
Learn More


Where to get help
If you think you’ve found a bug in the Hacker theme, please check the existing issues, and if no one has reported the problem, open a new issue.
If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options:
- Search for your query on
support.github.com
, which will also look for similar topics ongithub.community
- Ask your question of the Jekyll community on talk.jekyllrb.com
- Contact GitHub Support


|
Basic implementation of D* Lite
1.0
Path finding algorithm for a grid based on D* Lite algorithm
|
Contains definitions for the Node class. More...
#include "Node.h"
#include <utility>
Functions | |
| const Node | operator+ (const Node &l, const Node &r) |
| A friend to the class Node. Overloads the operator +, used to add two const Node obejcts. More... | |
| bool | operator== (const Node &l, const Node &r) |
| A friend to the class Node.Overloads the operator ==, used to check if the two const Node elements are the same. More... | |
| bool | operator!= (const Node &l, const Node &r) |
| A friend to the class Node.Overloads the operator !=, used to check if the two const Node elements are different. More... | |
Contains definitions for the Node class.
This file has the definitions of the methods used in the Node header
| bool operator!= | ( | const Node & | l, |
| const Node & | r | ||
| ) |
A friend to the class Node.Overloads the operator !=, used to check if the two const Node elements are different.
| r | a reference of the const Node class object |
| l | a reference of the const Node class object |
| const Node operator+ | ( | const Node & | l, |
| const Node & | r | ||
| ) |
A friend to the class Node. Overloads the operator +, used to add two const Node obejcts.
| r | a reference of the Node class object |
| l | a reference of the Node class object |
| bool operator== | ( | const Node & | l, |
| const Node & | r | ||
| ) |
A friend to the class Node.Overloads the operator ==, used to check if the two const Node elements are the same.
| r | a reference of the const Node class object |
| l | a reference of the const Node class object |


This Information Technology program is designed to empower students with skills and knowledge to increase their workplace competence and professional advantage. A balanced learning approach provides students with an appropriate skill set for their field of study while preparing them for the daily activities and duties to work as an IT Professional.
This program will prepare students for a New Horizons Diploma. Professional IT certifications are the third party validation showing employers that our students have what it takes to succeed in the Information Technology industry.


U.S. condemns lethal force, communications restrictions in Iran
WASHINGTON (Reuters) - The United States on Sunday condemned the use of “lethal force” and “severe communications restrictions” against demonstrators in Iran, the White House said.
“The United States supports the Iranian people in their peaceful protests against the regime that is supposed to lead them,” the White House said in a statement. “We condemn the lethal force and severe communications restrictions used against demonstrators.”


Utilities (Subsystem of Planning Code)
The utilities system provides a set of basic functions, macros,
and data types that are used throughout the other systems.
The file utilities.cl is copied from Artificial Intelligence Modern Approach (AIMA) and
modified by Seiji Koide.
The file callcc.cl is copied from 'On Lisp' by Paul Graham.


Iran's Khamenei backs petrol price hike decision: state TV
by AFPIran's supreme leader Ayatollah Ali Khamenei on Sunday voiced support for a decision to impose petrol price hikes and rationing that sparked protests across the Islamic republic.
"I am not an expert and there are different opinions but I had said that if the heads of the three branches make a decision I will support it," he said in a speech aired on state television.
Protests flared across Iran after the price hike agreed by the High Council of Economic Coordination made up of the president, parliament speaker and judiciary chief was announced at midnight on Friday.
"The heads of the branches made a decision with the backing of expert opinion and naturally it must be implemented," said Khamenei.
"Some people would definitely get upset over this decision... but damaging and setting fire (to property) is not something (normal) people would do, it is hooligans," he added.
One civilian has been killed and others injured during the unrest, with motorists in cities blocking highways and some in the protests damaging public property and fuel stations.
Khamenei said that for the past two days "all the centres of the world's wickedness against us have cheered" the unrest.
These included the Pahlavi royal family ousted in the 1979 Islamic Revolution and the People's Mujahedeen of Iran (MEK) group, which Iran considers a "terrorist" cult.
"What I am asking is that no one help these criminals," he said, calling on people to distance themselves from those stoking the unrest.


Peter Pan
by J.M. Barrie
Peter Pan (also known as the Boy Who Wouldn't Grow Up or Peter and Wendy) is the story of a mischievous little boy who can fly, and his adventures on the island of Neverland with Wendy Darling and her brothers, the fairy Tinker Bell, the Lost Boys, the Indian princess Tiger Lily, and the pirate Captain Hook.
Source: Barrie, J. M. (1911)Peter and Wendy.
- Chapter 1: Peter Breaks Though
- The reader is introduced to the Darling family. Wendy has her first encounter with Peter Pan.
- Chapter 2: The Shadow
- With his shadow captured, Peter is forced to return to the Darling home and face Nana.
- Chapter 3: Come Away, Come Away!
- With Wendy's parents now absent, Peter Pan and Tinkerbell pay a visit to the Darling children.
- Chapter 4: The Flight
- Peter, Tinkerbell, and the Darling children take flight as they make their way to Neverland.
- Chapter 5: The Island Come True
- Having arrived in Neverland, Wendy and her brothers are introduced to the lost boys. Captain Hook, sensing his nemesis has returned, continues to plot his revenge. Tinkerbell's jealousy of Wendy continues to grow.
- Chapter 6: The Little House
- Wendy takes her role as mother to the lost boys very seriously and earnestly tries to make their house a home.
- Chapter 7: The Home Under the Ground
- Wendy, Michael, and John are fitted for their trees. Wendy continues to perform her duties diligently, but finds that her memory is starting to fail her. Captain Hook continues to seek revenge.
- Chapter 8: The Mermaids' Lagoon
- A peaceful visit to the Mermaid's Lagoon is interrupted by the arrival of pirates.
- Chapter 9: The Never Bird
- Peter and the Never Bird help each other out of a bind.
- Chapter 10: The Happy Home
- Peter's rescue of Tiger Lily has unexpected benefits. Peter, Wendy and the boys make their way home. Tinkerbell's jealousy continues to grow.
- Chapter 11: Wendy's Story
- Wendy's telling of a bedtime story causes her, Michael, and John to become homesick.
- Chapter 12: The Children are Carried Off
- The pirates undertake a surprise attack on the Lost Boys' hideout.
- Chapter 13: Do You Believe in Fairies?
- Having been deceived by the pirates, the Lost Boy's emerge from hiding only to be taken captive.
- Chapter 14: The Pirate Ship
- Back on the Jolly Roger a despondent Captain Hook prepares the plank as he laments the absence of Peter Pan. A familiar sound evokes great fear in the captain.
- Chapter 15: "Hook or Me This Time"
- Peter Pan quietly boards the Jolly Roger in an attempt to rescue Wendy and the Lost Boys. Peter and Captain Hook face each other one more time.
- Chapter 16: The Return Home
- Having taken control of the Jolly Roger, Peter navigates the ship back to London. Wendy decides where her true place is.
- Chapter 17: When Wendy Grew Up
- A relieved Mrs. Darling provides a home for the Lost Boys. Fearing an unwanted transformation, Peter departs after making a promise to Wendy. As time passes, so does the Darling home.


qiskit.dagcircuit._dagcircuit module¶
Object to represent a quantum circuit as a directed acyclic graph.
The nodes in the graph are either input/output nodes or operation nodes. The operation nodes are elements of a basis that is part of the circuit. The QASM definitions of the basis elements are carried with the circuit. The edges correspond to qubits or bits in the circuit. A directed edge from node A to node B means that the (qu)bit passes from the output of A to the input of B. The object's methods allow circuits to be constructed, composed, and modified. Some natural properties like depth can be computed directly from the graph.
Members¶
Classes¶
DAGCircuit |
Quantum circuit as a directed acyclic graph. |
Reference¶
-
class
qiskit.dagcircuit._dagcircuit.
DAGCircuit
[ソース]¶ ベースクラス:
object
Quantum circuit as a directed acyclic graph.
There are 3 types of nodes in the graph: inputs, outputs, and operations. The nodes are connected by directed edges that correspond to qubits and bits.
Create an empty circuit.
-
add_basis_element
(name, number_qubits, number_classical=0, number_parameters=0)[ソース]¶ Add an operation to the basis.
name is string label for operation number_qubits is number of qubit arguments number_classical is number of bit arguments number_parameters is number of real parameters
The parameters (nq,nc,np) are ignored for the special case when name = "barrier". The barrier instruction has a variable number of qubit arguments.
-
add_gate_data
(name, gatedata)[ソース]¶ Add the definition of a gate.
gatedata is dict with fields: "print" = True or False "opaque" = True or False "n_args" = number of real parameters "n_bits" = number of qubits "args" = list of parameter names "bits" = list of qubit names "body" = GateBody AST node
-
apply_operation_back
(name, qargs, cargs=None, params=None, condition=None)[ソース]¶ Apply an operation to the output of the circuit.
name is a string qargs is a list of tuples like ("q",0) cargs is a list of tuples like ("c",0) params is a list of symbols that represent numbers condition is either None or a tuple (string,int) giving (creg,value)
-
apply_operation_front
(name, qargs, cargs=None, params=None, condition=None)[ソース]¶ Apply an operation to the input of the circuit.
name is a string qargs is a list of strings like "q[0]" cargs is a list of strings like "c[0]" params is a list of strings that represent floats condition is either None or a tuple (string,int) giving (creg,value)
-
collect_runs
(namelist)[ソース]¶ Return a set of runs of "op" nodes with the given names.
For example, "... h q[0]; cx q[0],q[1]; cx q[0],q[1]; h q[1]; .." would produce the tuple of cx nodes as an element of the set returned from a call to collect_runs(["cx"]). If instead the cx nodes were "cx q[0],q[1]; cx q[1],q[0];", the method would still return the pair in a tuple. The namelist can contain names that are not in the circuit's basis.
Nodes must have only one successor to continue the run.
-
compose_back
(input_circuit, wire_map=None)[ソース]¶ Apply the input circuit to the output of this circuit.
The two bases must be "compatible" or an exception occurs. A subset of input qubits of the input circuit are mapped to a subset of output qubits of this circuit. wire_map[input_qubit_to_input_circuit] = output_qubit_of_self
-
compose_front
(input_circuit, wire_map=None)[ソース]¶ Apply the input circuit to the input of this circuit.
The two bases must be "compatible" or an exception occurs. A subset of output qubits of the input circuit are mapped to a subset of input qubits of this circuit.
-
count_ops
()[ソース]¶ Count the occurrences of operation names.
Returns a dictionary of counts keyed on the operation name.
-
static
fromQuantumCircuit
(circuit)[ソース]¶ Returns a DAGCircuit object from a QuantumCircuit
None of the gates are expanded, i.e. the gates that are defined in the circuit are included in the gate basis.
-
layers
()[ソース]¶ Yield a layer for all d layers of this circuit.
A layer is a circuit whose gates act on disjoint qubits, i.e. a layer has depth 1. The total number of layers equals the circuit depth d. The layers are indexed from 0 to d-1 with the earliest layer at index 0. The layers are constructed using a greedy algorithm. Each returned layer is a dict containing {"graph": circuit graph, "partition": list of qubit lists}.
TODO: Gates that use the same cbits will end up in different layers as this is currently implemented. This may not be the desired behavior.
-
qasm
(decls_only=False, add_swap=False, no_decls=False, qeflag=False, aliases=None, eval_symbols=False)[ソース]¶ Return a string containing QASM for this circuit.
if qeflag is True, add a line to include "qelib1.inc" and only generate gate code for gates not in qelib1.
if eval_symbols is True, evaluate all symbolic expressions to their floating point representation.
if no_decls is True, only print the instructions.
if aliases is not None, aliases contains a dict mapping the current qubits in the circuit to new qubit names. We will deduce the register names and sizes from aliases.
if decls_only is True, only print the declarations.
if add_swap is True, add the definition of swap in terms of cx if necessary.
-
rename_register
(regname, newname)[ソース]¶ Rename a classical or quantum register throughout the circuit.
regname = existing register name string newname = replacement register name string
-
serial_layers
()[ソース]¶ Yield a layer for all gates of this circuit.
A serial layer is a circuit with one gate. The layers have the same structure as in layers().
-
substitute_circuit_all
(name, input_circuit, wires=None)[ソース]¶ Replace every occurrence of named operation with input_circuit.
-


Component library
Signed-in account banner
New to the Design System
A banner which provides information and navigation options to the user on a signed-in service.
The signed-in account banner is used across all signed in areas of MYESF dashboard.
When to use this component
Use this component to help a user understand that they have signed in to our service. This can include details about the organisation or user profile they have signed in as.
This can also be accompanied by navigational links that can quickly take users to other parts of the service.
When not to use this component
Do not use this component on public services where a user has not entered any private information to identify themselves.
How it works
You must provide a way for the user to log back out when they have signed in. This should be placed in a familiar position to help the user find it easily.
Research on this component
This component clarifies to a user whether or not they are signed in, and it is understood in addition as their path to sign out.
Prior research with the signed-in account banner has highlighted its use in informing users of account specific permissions or limitations, based, for example, on the individual user's assigned roles.


{% extends "base.html" %} {% block title %}Result For {{ main.user_name }} | Spoj User Tool by nims11{% endblock %} {% block head %} {% endblock %} {% block content %}
| Problem ID | Solved on | Solved by |
|---|---|---|
| {{ key }} | {{ value.0 }} | {{ value.1 }} |
| Name | {{ main.name }} |
| World Rank | {{ main.rank }} |
| Points | {{ main.points }} |
| Problems Solved | {{ main.probPool.total_solved }} |
| Classical Problems Solved | {{ main.classical_total }} |
| Total | {{ main.submission.total }} |
| {{ key }} | {{ value }} |
| Average no. of Attempts to solve | {{ main.probPool.avg_attempt }} |
| First Attempt Accepted | {{ main.probPool.first_attempt }} |
| Most number of Attempts | {{ main.probPool.most_attempt }} ({{ main.probPool.most_attempt_ques }}) |
| Latest Problem Solved | {{ main.probPool.latest }} |
| Average per day | {{ main.probPool.avg_day }} |
| Most in a day | {{ main.probPool.most_day }} ({{ main.probPool.most_day_val }}) |
| Most in a Month | {{ main.probPool.most_month }} ({{ main.probPool.most_month_val }}) |
| Language ID | Submissions |
|---|---|
| {{ key }} | {{ value }} |


Tpers 2018
Tpers 2018
Zeedapp is a SaaS & App Landing Startups Template
Purchase Now
10
Total Mata Pelajaran
6
Total File
4
Total User
Home One / background Slider
Home Two / Paralax Slider
Home Three / Gradiant Paralax
Home Four / Gradiant Color
Home Five / Gradiant Warm Canvas
Home Six / background video
blog standard
blog with sidebar
blog left sidebar
blog details


|
Keraflow
Deep Learning for Python.
|
Generic utils for keraflow. More...
Functions | |
| def | dict_unify |
| Merge dicts so that the resulting dict contains all the keys of the input dicts. More... | |
| def | average_dicts |
| Average the values for each key in the dicts. More... | |
| def | get_from_module |
| Return class (or instance of the class) from keraflow's module with identifier (str). More... | |
| def | pack_init_param |
Keraflow's default __init__ packer. More... | |
| def | serialize |
Serialize an object by memorizing its class, and its data members listed in its __init__ . More... | |
| def | unserialize |
| The reverse procedure of serialize. More... | |
Generic utils for keraflow.
| def keraflow.utils.generic_utils.average_dicts | ( | dicts | ) |
Average the values for each key in the dicts.
| dicts | list of dicts. |
| def keraflow.utils.generic_utils.dict_unify | ( | dicts | ) |
Merge dicts so that the resulting dict contains all the keys of the input dicts.
| dicts | list of dicts. |
| def keraflow.utils.generic_utils.get_from_module | ( | module_name, | |
| identifier, | |||
call_constructor = True , |
|||
| kwargs | |||
| ) |
Return class (or instance of the class) from keraflow's module with identifier (str).
| module_name | str. The module name where the target class is located. If a keraflow module, keraflow. can be omitted, e.g. keraflow.activations could simply be activations . |
| identifier | str/object. The name of the target class. If an object is passed, we simply returned it. |
| call_constructor | boolean. If True, call the target class' constructor with kwargs |
| kwargs | keyword arguments. Arguments for instantiating the class. |
| def keraflow.utils.generic_utils.pack_init_param | ( | obj, | |
include_kwargs = [] |
|||
| ) |
Keraflow's default __init__
packer.
Pack the values of arguments of obj's __init__
by calling serialize
on each argument.
| obj | object to be packed. |
| include_kwargs | list of str. Names of keyword arguments to be packed. Useful for packing parent class's arguments. |
| def keraflow.utils.generic_utils.serialize | ( | obj | ) |
Serialize an object by memorizing its class, and its data members listed in its __init__
.
For complex cases (e.g., the model stucture is not an argument listed in keraflow.models.Model.__init__ ), a class should implement pack_init_param
to perform customized behavior.
| obj | object. |
class_name
and params
. | def keraflow.utils.generic_utils.unserialize | ( | init_config | ) |
The reverse procedure of serialize.
To deal with complicated cases, a class should implement unpack_init_param
.
| init_config | dict. Results generated by serialize. |


--- layout: page title: Lean Prover Zulip Chat Archive permalink: archive/113488general/18193assumptionvsdecidableeqSort.html ---
How does assumption
work if we don't have decidable_eq Sort*
?
assumption
is meta
. So it does not compare propositions on the logic level, but at the level of expressions.


Disclaimer: This description is completely unofficial, Epson even does not know about its existance. Most of the informaion presented here is discovered by me, Eugene Crosser, while snooping the serial line and by trial and error. I never had an official protocol description, have never seen any related software source code, and have never done reverse engineering of any related software. This description may be incomplete, inaccurate or completely wrong. You are warned.Some information is taken from `camediaplay' package by Jun-ichiro Itoh<EMAIL_ADDRESS>from the findings of Thierry Bousch<EMAIL_ADDRESS>TsuruZoh Tachibanaya<EMAIL_ADDRESS>and from other (open) sources and not checked by me.
| Initialization Byte | NUL | 0x00 |
| Action Complete Notification | ENQ | 0x05 |
| Positive Achnowledgement | ACK | 0x06 |
| Unable to Execute Command | DC1 | 0x11 |
| Negative Acknowledgement, also Camera Signature | NAK | 0x15 |
| Packet | Variable length sequence of bytes | |
| Termination Byte | 0xff |
| Offset | Length | Meaning |
|---|---|---|
| 0 | 1 | Packet type |
| 1 | 1 | Packet subtype/sequence |
| 2 | 2 | Length of data |
| 4 | variable | Data |
| -2 | 2 | checksum |
Known packet types are:
| Type | Description |
|---|---|
| 0x02 | Data packet that is not last in sequence |
| 0x03 | Data packet that is last in sequence |
| 0x1b | Command packet |
Data packets that are sent in responce to a single command are numbered starting from zero. If all requested data fits in one packet, it has type 0x03 and sequence 0.
Command packet has subtype 0x43 or 0x53. Only the first command packet in a session has subtype 0x53.
Maximum length of data field in a packet is 2048 bytes, which yields in 2054 total packet length.
Checksum is a simple 16 bit arithmetic sum of all bytes in the data field. As already mentioned above, length and checksum values are transmitted least significant byte first.
| Host | Camera |
|---|---|
| Port speed set to 19200 baud | |
| Host sends init byte 0x00 | |
| Camera responds with signature 0x15 | |
| Host sends command packet with subtype 0x53 and "set speed" command | |
| Camera sends ACK 0x06 | |
| Port speed set to the new value | |
| Host sends command | |
| Camera responds with either ACK plus optionally "action taken" notifier or data packet sequence | |
| Host sends ACK to every data packet | |
| ... Command - reply cycle repeated ... | |
| Camera sends 0xff and resets after a few seconds (value is model-dependant) of inactivity |
If the camera does not respond to a command in reasonable time, or responds with a NAK, the command can be resent. If the camera does not provide a complete data packet in reasonable time, or the data packet is corrupt (checksum does not match), the host can request resending of the packet by sending NAK instead of ACK.
| Offset | Length | Description |
|---|---|---|
| 0 | 1 | Command code |
| 1 | 1 | Register number or subcode |
| 2 | variable | Optional argument |
Five command codes are known:
| Code | Argument | Description |
|---|---|---|
| 0 | int32 | Set value of integer register |
| 1 | none | Read value of integer register |
| 2 | vdata | Take action unrelated to registers |
| 3 | vdata | Set value of vdata register |
| 4 | none | Read value of vdata register |
Commands 0 and 3 are replied with a single ACK 0x06. Command 2 is replied with an ACK 0x06 followed by an "action complete" notifier 0x05. Commands 1 and 4 are replied with a sequence of data packets, each of them must be ACK'ed by the host.
Command 0 must be issued with a 4 byte argument containg the new value for the register (bytes in "LSB first" order). Command 2 typically is issued with a single zero byte as an argument. Command 3 is issued with an argument of variable number of bytes. If this is a printable string, it should not include the trailing zero byte.
Camera replies to the command 1 with a single data packet containing 4 bytes of a 32bit integer (in "LSB first" order). Camera replies to the command 4 with a sequence of data packets with variable number of data bytes. Note that if a printable string is returned, it is terminated with a zero byte, and thus may be safely printed or otherwise treated as a normal C language character string.
| No. | Type | R/W | Description |
|---|---|---|---|
| 1 | int32 | R/W | Resolution: 1 - Std, 2 - Hi, 3 - Ext, other values possible |
| 2 | int32 | R/W | Clock in UNIX time_t format |
| 3 | int32 | R/W | Shutter speed (microseconds), 0 - auto |
| 4 | int32 | W | Current frame number (or animation number if hi order byte is 0xff) |
| 5 | int32 | R/W | Aperture: 1 - Low, 2 - Mid, 3 - Hi |
| 6 | int32 | R/W | Color mode: 1 - Color, 2 - B/W |
| 7 | int32 | R/W | Flash mode: 0 - Auto, 1 - Force, 2 - Off, 3 - Anti RedEye, 4 - Slow sync |
| 8 | int32 | R/W | Unknown (128) |
| 9 | int32 | R/W | Unknown (128) |
| 10 | int32 | R | No. of frames in current folder |
| 11 | int32 | R | No. of frames left |
| 12 | int32 | R | Length of current frame * |
| 13 | int32 | R | Length of current thumbnail * |
| 14 | vdata | R | Current frame data * |
| 15 | vdata | R | Current thumbnail data * |
| 16 | int32 | R | Battery capacity percentage |
| 17 | int32 | R/W | Communication speed 1 - 9600 .. 5 - 115200, 6 - 230400, 256 - 9600 .. 264 - 911600 (sync?) |
| 18 | int32 | R | Unknown (1) |
| 19 | int32 | R/W | Bright/Contrast: 0 - Normal, 1 - Bright+, 2 - Bright-, 3 - Contrast+, 4 - Contrast- |
| 20 | int32 | R/W | White balance: 0 - Auto, 1 - Skylight, 2 - Fluorescent, 3 - Tungsten, 255 - Cloudy |
| 21 | vdata | R/W | Unused |
| 22 | vdata | R/W | Camera I.D. |
| 23 | int32 | R/W | Autoshut on host timer (seconds) |
| 24 | int32 | R/W | Autoshut in field timer (seconds) |
| 25 | vdata | R/W | Serial No. (string) |
| 26 | vdata | R | Version |
| 27 | vdata | R/W | Model |
| 28 | int32 | R | Available memory left |
| 29 | vdata | R/W | Upload image data to this register |
| 30 | int32 | W | LED: 0 - Off, 1 - On, 2 - Blink |
| 31 | vdata | R | Unknown ("\0") |
| 32 | int32 | R | Put "magic spell" 0x0FEC000E here before uploading image data |
| 33 | int32 | R/W | Lens mode: 1 - Macro, 2 - Normal, 3 - Infinity/fisheye |
| 34 | int32 | R | Unknown (0) |
| 35 | int32 | R/W | LCD brightness 1 to 7 |
| 36 | int32 | R | Unknown (3) |
| 37 | vdata | R | Unknown ("\0") |
| 38 | int32 | R | LCD autoshut timer (seconds) |
| 39 | int32 | R | Protection state of current frame * |
| 40 | int32 | R | Unknown (0) |
| 41 | int32 | R/W | LCD date format: 1 - 'YY MM DD, 2 - DD MM 'HH |
| 42 | vdata | R | Unknown ("") |
| 43 | vdata | R | Audio data description block *
0: expanded .wav length 1: compressed .wav length 3: Unknown (0) 4: Unknown (0) 5: Unknown (0) 6: Unknown (0) 7: Unknown (0) |
| 44 | vdata | R | Audio data * |
| 45 | vdata | R | Unknown ("") |
| 46 | vdata | R | Camera summary data: 32 bytes with copies of 8 other registers
0: Reg 1 (Resolution) 1: Reg 35 (LCD brightness) or Reg 7 (Flash mode) 2: Reg 10 (Frames taken) or Unknown 3: Unknown (0) or Unknown 4: Unknown (0) or Reg 16 (Battery capacity) 5: Unknown (0) or Reg 10 (Frames taken) 6: Unknown (0) or Reg 11 (Frames left) 7: Number of animations taken |
| 47 | vdata | R | Picture summary data: 32 bytes or 8 int32's *
0: Hi order byte: unknown, next 3 bytes: Length of current image 1: Length of current thumbnail 2: Audio data length (expanded) 3: Resolution 4: Protection state 5: TimeDate 6: Unknown (0) 7: Animation type: 1 - 10ms, 2 - 20ms |
| 48 | vdata | R | Manufacturer |
| 49-52 | vdata | R | Unknown ("") |
| 53 | int32 | R/W | Language: 4 - french, 5 - german, 6 - italian, 8 - spanish, 10 - dutch |
| 54-69 | vdata | R | Unknown ("") |
| 70 | int32 | R/W | Exp. meter: 2 - Center weighted, 3 - Spot, 5 - Multi element matrix |
| 71 | vdata | R | Unknown ("") |
| 72 | int32 | R/W | Bitmap: 1 - AEL/WBL, 2 - Fisheye, 4 - Wide, 8 - Digital zoom, 16 - B/W |
| 73-76 | vdata | R | Unknown ("") |
| 77 | int32 | W | Unknown (write 1 here) |
| 78 | vdata | R | Unknown ("") |
| 79 | vdata | R | Filename of current frame * |
| 80-81 | vdata | R | Unknown ("") |
| 82 | int32 | W | Unknown (enable folder features? Write 60 here) |
| 83 | int32 | R/W | Folder navigation
When read, return number of folders on the card. When written without data, reset folder system (?) Or select current folder by its number |
| 84 | vdata | R/W | Current folder name (may read or set) |
| 85-90 | vdata | R | Unknown ("") |
| 91 | vdata | R | Current folder I.D. and name |
For command 2, the second byte is action code not register number. The following action codes are known:
| Code | Argument | Description |
|---|---|---|
| 0 | single zero byte | Erase last picure |
| 1 | single zero byte | Erase all picures (but not animations) |
| 2 | single zero byte | Take picture |
| 4 | single zero byte | Finish session immediately |
| 5 | single zero byte | Take preview snapshot (retreivable as frame zero) |
| 6 | single byte | Autofocus calibration or testing (?) |
| 7 | single zero byte | Erase current frame * |
| 8 | single byte | Switch LCD mode. Arg value:
1 - off 2 - viewfinder 3 - preview whole 4 - preview thumbnails) |
| 9 | single byte | Set protection state of current frame to the value of parameter (binary 0 or 1)* |
| 11 | single zero byte | Store freshly uploaded image into NVRAM |
| 12 | single byte | LCD colours. Arg value:
0 - white 1 - gray 2 - black 3 - red 4 - green 5 - blue 6 - test pattern |


KOKYAKU: meeting your client expectations
Tired of missing important appointments? Is it hard for you to keep up with small clients? Do you forget youdr deadlines? Is all of that ruining your reputation? We understand you.
Kokyaku is the new client manager that helps you keep track of your clients. With it, you can easily keep track of your deadlines, your client’s appointments, your client’s status and even any quick note you must not forget next time you meet them.
The idea is to help small business build better relationships with all of their clients, never letting go a single client, no matter how big or small.
Developed by students of Tecnologico de Monterrey campus Guadalajara, Kokyaku is a web application that aims to support SMEs in automating their agendas and schedules for customers who can be used regardless of the company's turnover.


Create a new RiveScript interpreter. options
is an object with the
following keys:
In UTF-8 mode, most characters in a user's message are left intact, except for
certain metacharacters like backslashes and common punctuation characters like
/[.,!?;:]/
.
If you want to override the punctuation regexp, you can provide a new one by
assigning the unicodePunctuation
attribute of the bot object after
initialization. Example:
var bot = new RiveScript({utf8: true});
bot.unicodePunctuation = new RegExp(/[.,!?;:]/g);
This option to the constructor will make RiveScript lowercase all the triggers
it sees during parse time. This may ease the pain point that authors
experience when they need to write a lowercase "i" in triggers, for example
a trigger of i am *
, where the lowercase i
feels unnatural to type.
By default a capital ASCII letter in a trigger would raise a parse error.
Setting the forceCase
option to true
will instead silently lowercase the
trigger and thus avoid the error.
Do note, however, that this can have side effects with certain Unicode symbols in triggers, see case folding in Unicode. If you need to support Unicode symbols in triggers this may cause problems with certain symbols when made lowercase.
You can provide any or all of the following properties in the errors
argument to the constructor to override certain internal error messages:
replyNotMatched
: The message returned when the user's message does not
match any triggers in your RiveScript code.The default is "ERR: No Reply Matched"
Note: the recommended way to handle this case is to provide a trigger of
simply *
, which serves as the catch-all trigger and is the default one
that will match if nothing else matches the user's message. Example:
+ *
- I don't know what to say to that!
replyNotFound
: This message is returned when the user did* in fact match
a trigger, but no response was found for the user. For example, if a trigger
only checks a set of conditions that are all false and provides no "normal"
reply, this error message is given to the user instead.
The default is "ERR: No Reply Found"
Note: the recommended way to handle this case is to provide at least one
normal reply (with the -
command) to every trigger to cover the cases
where none of the conditions are true. Example:
+ hello
* <get name> != undefined => Hello there, <get name>.
- Hi there.
* objectNotFound
: This message is inserted into the bot's reply in-line when
it attempts to call an object macro which does not exist (for example, its
name was invalid or it was written in a programming language that the bot
couldn't parse, or that it had compile errors).
The default is "[ERR: Object Not Found]"
* deepRecursion
: This message is inserted when the bot encounters a deep
recursion situation, for example when a reply redirects to a trigger which
redirects back to the first trigger, creating an infinite loop.
The default is "ERR: Deep Recursion Detected"
These custom error messages can be provided during the construction of the
RiveScript object, or set afterwards on the object's errors
property.
Examples:
var bot = new RiveScript({
errors: {
replyNotFound: "I don't know how to reply to that."
}
});
bot.errors.objectNotFound = "Something went terribly wrong.";
Returns the version number of the RiveScript.js library.
Alias for RSVP.Promise
for use in async object macros.
This enables you to create a JavaScript object macro that returns a promise for asynchronous tasks (e.g. polling a web API or database). Example:
rs.setSubroutine("asyncHelper", function (rs, args) {
return new rs.Promise(function (resolve, reject) {
resolve(42);
});
});
If you're using promises in your object macros, you need to get a reply from
the bot using the replyAsync()
method instead of reply()
, for example:
rs.replyAsync(username, message, this).then(function(reply) {
console.log("Bot> ", reply);
});
Detect the runtime environment of this module, to determine if we're running in a web browser or from node.
This is the debug function. If debug mode is enabled, the 'message' will be
sent to the console via console.log (if available), or to your onDebug
handler if you defined one.
Print a warning or error message. This is like debug, except it's GOING to
be given to the user one way or another. If the onDebug
handler is
defined, this is sent there. If console
is available, this will be sent
there. In a worst case scenario, an alert box is shown.
Load a RiveScript document from a file. The path can either be a string that
contains the path to a single file, or an array of paths to load multiple
files. onSuccess
is a function to be called when the file(s) have been
successfully loaded. onError
is for catching any errors, such as syntax
errors.
This loading method is asynchronous. You should define an onSuccess
handler to be called when the file(s) have been successfully loaded.
This method returns a "batch number" for this load attempt. The first call
to this function will have the batch number of 0 and that will go up from
there. This batch number is passed to your onSuccess
handler as its only
argument, in case you want to correlate it with your call to loadFile()
.
onSuccess
receives: int batchNumber
onError
receives: string errorMessage[, int batchNumber]
Load RiveScript documents from a directory recursively.
This function is not supported in a web environment.
Stream in RiveScript code dynamically. code
should be the raw RiveScript
source code as a string (with line breaks after each line).
This function is synchronous, meaning there is no success handler needed. It will return false on parsing error, true otherwise.
onError
receives: string errorMessage
Parse RiveScript code and load it into memory. name
is a file name in case
syntax errors need to be pointed out. code
is the source code, and
onError
is a function to call when a syntax error occurs.
After you have finished loading your RiveScript code, call this method to populate the various sort buffers. This is absolutely necessary for reply matching to work efficiently!
Translate the in-memory representation of the loaded RiveScript documents
into a JSON-serializable data structure. This may be useful for developing
a user interface to edit RiveScript replies without having to edit the
RiveScript code manually, in conjunction with the write()
method.
The format of the deparsed data structure is out of scope for this document,
but there is additional information and examples available in the eg/
directory of the source distribution. You can read the documentation on
GitHub here: RiveScript Deparse
Translate the in-memory representation of the RiveScript brain back into
RiveScript source code. This is like write()
, but it returns the text of
the source code as a string instead of writing it to a file.
You can optionally pass the parameter deparsed
, which should be a data
structure of the same format that the deparse()
method returns. If not
provided, the current internal data is used (this function calls deparse()
itself and uses that).
Warning: the output of this function won't be pretty. For example, no word wrapping will be done for your longer replies. The only guarantee is that what comes out of this function is valid RiveScript code that can be loaded back in later.
Write the in-memory RiveScript data into a RiveScript text file. This method can not be used on the web; it requires filesystem access and can only run from a Node environment.
This calls the stringify()
method and writes the output into the filename
specified. You can provide your own deparse-compatible data structure,
or else the current state of the bot's brain is used instead.
Set a custom language handler for RiveScript object macros. See the source for the built-in JavaScript handler (src/lang/javascript.coffee) as an example.
Define a JavaScript object macro from your program.
This is equivalent to having a JS object defined in the RiveScript code, except your JavaScript code is defining it instead.
Set a global variable. This is equivalent to ! global
in RiveScript.
Set the value to undefined
to delete a global.
Set a bot variable. This is equivalent to ! var
in RiveScript.
Set the value to undefined
to delete a bot variable.
Set a substitution. This is equivalent to ! sub
in RiveScript.
Set the value to undefined
to delete a substitution.
Set a person substitution. This is equivalent to ! person
in RiveScript.
Set the value to undefined
to delete a person substitution.
Set a user variable for a user.
Set multiple user variables by providing an object of key/value pairs.
Equivalent to calling setUservar()
for each pair in the object.
Gets a variable. This is equivalent to <bot name>
in RiveScript.
Get a variable from a user. Returns the string "undefined" if it isn't defined.
Get all variables about a user. If no user is provided, returns all data about all users.
Clear all a user's variables. If no user is provided, clears all variables for all users.
Freeze the variable state of a user. This will clone and preserve the user's
entire variable state, so that it can be restored later with
thawUservars()
Thaw a user's frozen variables. The action can be one of the following: discard: Don't restore the variables, just delete the frozen copy. keep: Keep the frozen copy after restoring * thaw: Restore the variables and delete the frozen copy (default)
Retrieve the trigger that the user matched most recently.
Retrieve the trigger that the user matched initially. This will return only the first matched trigger and will not include subsequent redirects.
This value is reset on each reply()
or replyAsync()
call.
Retrieve the triggers in the current topic for the specified user. It can be used to create a UI that gives the user options based on trigges, e.g. using buttons, select boxes and other UI resources. This also includes the triggers available in any topics inherited or included by the user's current topic.
This will return undefined
if the user cant be find
Retrieve the current user's ID. This is most useful within a JavaScript object macro to get the ID of the user who invoked the macro (e.g. to get/set user variables for them).
This will return undefined if called from outside of a reply context
(the value is unset at the end of the reply()
method)
Fetch a reply from the RiveScript brain. The message doesn't require any special pre-processing to be done to it, i.e. it's allowed to contain punctuation and weird symbols. The username is arbitrary and is used to uniquely identify the user, in the case that you may have multiple distinct users chatting with your bot.
The optional scope
parameter will be passed down into any JavaScript
object macros that the RiveScript code executes. If you pass the special
variable this
as the scope parameter, then this
in the context of an
object macro will refer to the very same this
as the one you passed in,
so for example the object macro will have access to any local functions
or attributes that your code has access to, from the location that reply()
was called. For an example of this, refer to the eg/scope
directory in
the source distribution of RiveScript-JS.
Asyncronous version of reply. Use replyAsync if at least one of the subroutines
used with the <call>
tag returns a promise.
Example: using promises
rs.replyAsync(user, message).then(function(reply) {
console.log("Bot>", reply);
}).catch(function(error) {
console.error("Error: ", error);
});
Example: using the callback
rs.replyAsync(username, msg, this, function(error, reply) {
if (!error) {
console.log("Bot>", reply);
} else {
console.error("Error: ", error);
}
});


Horner explains why Honda didn't commit to F1 beyond 2021
by Joseph TyrrellEarlier this week Honda and Red Bull confirmed that they would extend their partnership into 2021. Christian Horner has now revealed why Honda did not want to commit to Formula 1 beyond that.
Helmut Marko confirmed in an interview with Servus TV that they would be continuing to work together into the 2021 season, the first with the new regulations. Red Bull and Honda have had a positive first season, achieving three race wins, courtesy of Max Verstappen in Austria, Germany and Brazil.
Their original deal was set to run until just 2020 but the new agreement will be until 2021, but why no longer? Christian Horner told Sky Sports, Honda want to see how the new regulations play out, especially in the financial department.
“It’s great news that they’ve committed beyond 2020, so we’ve got a minimum of two years that we’re absolutely fixed on,” he told Sky Sports.
“They’re just waiting to see what are the regulations that are going to come in either for 2021 or primarily ’22 with regards to homologation or engine freezes to get the costs down.
“These engines are enormously expensive, and the technology involved. I think all the manufacturers together want to see some cost reduction in that area.
“We’re talking about the future. The discussion wasn’t just about ’21. There’s a real appetite there to build on what we’ve achieved so far in this relationship. It’s a great partnership between Red Bull and Honda as we’ve seen this year."


PSALMS 50
A psalm written by Asaph
1 God, the all-powerful one, speaks;
he summons all people,
from the east to the west.
2 His glory shines from Mount Zion in Jerusalem,
an extremely beautiful city.
3 Our God comes to us,
and he is not silent.

He shouts to the angels in heaven
and to the people on the earth.
5 He says, "Summon those who faithfully worship me,
those who made a covenant with me by offering sacrifices to me."
6 The angels in heaven declare,
"God is righteous,
and he is the supreme judge."
7 God says, "My people, listen!
You Israelite people, listen,
as I, your God, say what you have done that is wrong.
8 I am not rebuking you for making sacrifices to me,
for the offerings that you always burn on the altar for me.
9 But I do not really need the bulls from your barns
and the goats from your pens that you sacrifice,
10 because all the animals in the forest belong to me,
and all the cattle on a thousand hills also belong to me.
11 I know and own all the birds in the mountains,
and all the creatures that move around in the fields.
12 So if I were hungry, I would not tell you to bring me some food
because everything in the world belongs to me!
13 I do not eat the flesh of the bulls that you sacrifice,
and I do not drink the blood of the goats that you offer to me.
14 The sacrifice that I really want is that you thank me
and do all that you have promised to do.
15 Pray to me when you have troubles.


object SchedulerImpl : Scheduler
An fairly simple implementation of Scheduler.
fun periodic(): Unit
The periodic function updates the state of the SchedulerImpl. It should be called as often as possible. |
|
fun register(subsystem: Subsystem): Unit
Registers a Subsystem so that it's periodic method is called when Scheduler.periodic is called. |
|
fun requires(command: Command, subsystem: Subsystem): Unit
|
|
fun run(command: Command): Unit
Starts a given Command, and adds it to a queue so that it's periodic function is called when periodic is called. |


Learn HTML5 and how to use it for web development to make stunning websites
Learn CSS3 and how to use it to create stunning and modern-looking web pages
Learn simple JavaScript and JQuery and how use it in web development
Learn how to use GitHub for revision control and source code management (SCM)
Learn how to install a Linux distribution and how to use it as a home web-server
Learn how to use the Linux command line for managing packages on your system
Learn how to build, troubleshoot, and repair desktops, laptops, and mobile devices
Learn how to setup, secure, troubleshoot, and repair a wireless network
Learn how to be safe online and how to remove adware, spyware, and malware


Normal Navbar
First
Second
Third
android
Small Navbar
First
Second
Third
android
Large Navbar
First
Second
Third
android
First
Second
Third
search
close
search
close
search
close


Hi!
Welcome to my site
(Me being Jordan)
About
My name is Jordan Luse. I'm a proud San Francisco native with a never ending thirst for learning. I still currently live in San Francisco and surprisingly have not grown tired of what the city has to offer. As much as it's changed over the years there is still much culture to be had and shared with all in The City by the Bay.
I'm a Software Engineer with a developer support background. I currently am a support enigneer @ Sentry.io, assisting developers with our SaaS product and the various platform SDKs we offer. I thrive in collaborative enviroments and prioritize being the best team player on any project. Lastly I'm also a part of 100 Devs community taught bootcamp, sharpening my craft as a developer.
My passions include Djing/producing electronic music, sports (specifically Bay Area teams) and maintaining a healthy lifestyle.
Projects
A repository that includes all the various coding related exercises and small projects.
Built and completed primarily for educational purposes.
A next bus/train predication app with social aspects from users.
Built with React and consumption of municipal API. Other tech may be added.


No.of Years
Rating
Avg usage hrs/days
Price of brand
Fuel Consumption/hours
Running fuel cost in 5 years
Service period
No of service in 5 years
Cost/service
Service cost in 5 years
Total


--- layout: post title: "Sony informs that only the PlayStation 5 Classic Edition is coming to India" subtitle: "Sony India has confirmed that the PlayStation 5 (PS5) will be released on February 2, 2021; pre-orders start from January 12, 12PM" date: 2021-01-10 18:30:13 +0530 background: '/img/posts/06.jpg' published: true categories: [ Technology ] tags: [ technology, sony, india, playstation, pre-orders, PS5, playstation 5 ] ---
Sony's PS5 release announcement for the Indian market may have come as a long-awaited relief for many gamers in that country.
They will be open on January 12, 2021 on 12:00 IST, and can be made on online platforms such as Flipkart, Amazon.in, Croma and Reliance Digital.
They will also be available through some other retailers such as Vijay Sales and Sony Center.
This long-awaited event will precede the launch of the PlayStation 5 (PS5) in India. This will take place on February 2, 2021.


Mindfulness isn’t difficult, we just need to remember to do it.
Sharon Salzburg (1952–) American Teacher and Author
Mindfulness
What did you learn from your ‘mindfulness conversation’? How did the other person find it?
Elizabeth and I had a mindfulness conversation. She had had an event happen today which annoyed her, and she spoke of that. I talked about our Harakeke cohort at EDA and the links between flax and genealogy. Both of us were still talking when our three minutes were up and we both found that the time passed very quickly. Certainly there was no sense of “What shall I talk about now?” and there were no pauses. By contrast, we did this exercise for two minutes at the September ADITL experience with Don and Gabrielle: there, we found it a bit harder to keep going for a shorter time. The main learning from tonight's mindfulness conversation for me was that when you focus on someone else and let them talk with no distractions or interruptions, mindfulness or awareness of the moment really does happen.
Which of the three suggested techniques will you use to sustain your practice?
All of them.
My buddy is going to be Andy from Headspace. I like the way he guides me through my daily meditation session.
I really like the idea of setting myself a target that is “less than I can do” and I think that will work.
Taking one mindful breath a day follows on from the previous technique and I think it’s doable.
Any other musings?
A couple of years ago, we were talking about mindfulness at the school where I teach. At the time, I bought a book called The Little Book of Mindfulness by Patrizia Collard (2014). It’s only 96 pages and the size of book that would easily fit in a pocket. It is subtitled, “10 Minutes a Day to Less Stress, More Peace”, I haven’t really used it much up until now, but it has many parallels with Search Inside Yourself and has some other activities that look worthwhile.


-
New Minecraft Mod Teaches You Code as You Play | WIRED
www.wired.com
Like many nine-year-olds, Stanley Strum spends a lot of time building things in Minecraft, the immersive game that lets your create your own ...
-
Python for Pentesters and Hackers « SecurityTube Trainings
www.securitytube-training.com
Home → Online Courses → Python for Pentesters and Hackers
-
Health Insurance Marketplace, Affordable Care Act
www.healthcare.gov
Learn how the health care law affects you at Healthcare.gov. The official site of the Health Insurance Marketplace. See your health insurance choices.
-
WIRED
www.wired.com
Get in-depth coverage of current and future trends in technology, and how they are shaping business, entertainment, communications, science, ...


Notebooks
Story: ||kabbo (Jantje) in the train
||kabbo (Jantje) in the train
Title
||kabbo (Jantje) in the train
Collection
Summary
||kabbo (Jantje) goes on a journey in a train to Simonstown.  The black man asks him where he comes from and he answers that his place is the 'Bitterpits'.


jQuery
Form Validation
Goal
- Prevent a user from submitting using client-side code.
- As a developer, prevent the form action when any instruction is visible (when all visible then form is valid)
- As a user, I want to see an instruction message when the input field is blank
- As a user, I want the invalid fields to shake when form is invalid
- As a user, when form is invalid, I want the first invalid field to be in focus
- As a user, I want to see a colour change of the in focus field outline
Technologies
- jQuery
- JavaScript
- CSS
- HTML
Live demo


To customize your avatar you have to sign up with gravatar, and tell your e-mail address.


Number of cells on long side
Number of cells on short side
Approximate width of cells (m)
:
Height to raise grid off face (m):
Exclude interior nodes:
Number of nodes:
Distance to offset face inwards (m):


A doctor agent has information about 5 possible locations of 3 victims in a given area. Both agents have a map of the arena and know of the location of possible obstacles. The doctor directs the scout agent to look for the victims in these locations with the smallest number of moves possible. Once three victims have been found (and the severity of their injuries has been assessed), the mission ends, at which point the doctor reports back the location of the victims. However, a complicating factor is that the scout doesn’t know its starting position, and thus needs to figure this out.
I mostly focused on the robot movement and calibration by using the wall and the obstacles. Both were directly implemented in the PilotRobot.java
class for ease-of-access to all users.
Initially I planned on re-using the detailed code written by Jiafeng in the previous assignment, however after several days of testing and getting unexpected results in certain positions that I didn’t understand, I decided to revamp the entire code and wrote it again from scratch, optimised for the 6x6 square grid arena.
I wrote the goTo()
method, which uses the MovePilot
chassis to travel certain distances. Because each grid is very small on the 6x6 square version of the arena, I decided to have the robot move only 1/3 of the grid’s length (which is also equal to the width), check if any calibration was required, then move forward again for the remaining 2/3 of the grid’s length.
It’s a relatively straightforward implementation, with the robot moving in one of the 4 possible directions (front, right, back, and left). The direction for each step is individually given by the Jason via Wi-Fi. No direct diagonal movement was implemented. The robot rotates on it’s self according to the chosen direction before travelling forward.
This was slightly trickier. My code has the robot measure the left side distance against a wall or obstacle at each movement (using the ultrasound sensor), and if there is a substantial deviation from a straight path the should would normally take (ie the difference in the distances being bigger than 1 grid length + some margin), the robot corrects the deviation angle by going exactly back the same path it came from, and then correcting its angle by rotating itself by the calculated angle*.
I also updated the ultrasound sensor detection methods, and got 5 sample values each time, stored them in an array
, removed the highest and lowest values, and then got an average value of the 3 remaining samples. This was to avoid unintentional false or infinity values. I believe my updated methods were not used for the position detection implementation.


Survey
Every question is required.
Personal info
Name:
Picture:
Preferences
Like sports
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like doing laundry
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like pinatas
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like aggressive humor
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like doing handstands
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like the idea of a space force
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like marvel movies
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like licorice
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like changing your own oil
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Like sports
1 (Strongly Disagree)
2
3
4
5 (Strongly Agree)
Submit Form
×


- Source:
- utils.js, line 192
Members
-
<static, readonly> colorSpace :string
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 332
Properties:
Name Type Default Description deviceGray
string DeviceGray DeviceGray requires one value between 0.0(black) and 1.0(white). deviceRGB
string DeviceRGB DeviceRGB requires three values that are between 0.0 and 1.0 for each channel deviceCMYK
string DeviceCMYK DeviceCMYK requires four values that are between 0.0 and 1.0 for each channel -
<static, readonly> lineCapStyle :int
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 209
Properties:
Name Type Default Description buttCap
int 0 The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path. roundCap
int 1 A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. projectinSquareCap
int 2 The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is then squared off. -
<static, readonly> lineJoinStyle :int
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 228
Properties:
Name Type Default Description miterJoin
int 0 The outer edges of the strokes for the two segments are extended until they meet at an angle, as in a picture frame. If the segments meet at too sharp an angle (as defined by the miter limit parameter— see “Miter Limit,” below), a bevel join is used instead. roundJoin
int 1 A circle with a diameter equal to the line width is drawn around the point where the two segments meet and is filled in, producing a rounded corner. Note: If path segments shorter than half the line width meet at a sharp angle, an unintended “wrong side” of the circle may appear. bevelJoin
int 2 The two segments are finished with butt caps (see “Line Cap Style” on page 139) and the resulting notch beyond the ends of the segments is filled with a triangle. -
<static, readonly> paperFormat :[width, height]
-
- Source:
- utils.js, line 197
Properties:
Name Type Default Description a3
[width, height] ARRAYLIT a4
[width, height] ARRAYLIT a5
[width, height] ARRAYLIT letter
[width, height] ARRAYLIT legal
[width, height] ARRAYLIT -
<static, readonly> pathPaintingOption :int
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 298
Properties:
Name Type Default Description bigS
int S Stroke the path. smallS
int s Close and stroke the path. smallF
int f Fill the path, using the nonzero winding number rule to determine the region to fill. fStar
int f* Fill the path, using the even-odd rule to determine the region to fill bigB
int B Fill and then stroke the path, using the nonzero winding number rule to determine the region to fill. This produces the same result as constructing two identical path objects, painting the first with f and the second with S. Note, however, that the filling and stroking portions of the operation consult different values of several graphics state parameters, such as the color. bigBStar
int B* Fill and then stroke the path, using the even-odd rule to determine the region to fill. This operator produces the same result as B, except that the path is filled as if with f* instead of f. smallB
int b Close, fill, and then stroke the path, using the nonzero winding number rule to determine the region to fill. smallBStar
int b* Close, fill, and then stroke the path, using the even-odd rule to determine the region to fill.. n
int n End the path object without filling or stroking it. This operator is a “path-painting no-op,” used primarily for the side effect of changing the clipping path -
<static, readonly> renderingIntentOption :int
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 253
Properties:
Name Type Default Description absoluteColorimetric
int AbsoluteColorimetric Colors are represented solely with respect to the light source; no correction is made for the output medium’s white point (such as the color of unprinted paper). Thus, for example, a monitor’s white point, which is bluish compared to that of a printer’s paper, would be reproduced with a blue cast. In-gamut colors are reproduced exactly; out-of-gamut colors are mapped to the nearest value within the reproducible gamut. This style of reproduction has the advantage of providing exact color matches from one output medium to another. It has the disadvantage of causing colors with Y values between the medium’s white point and 1.0 to be out of gamut. A typical use might be for logos and solid colors that require exact reproduction across different media. relativeColorimetric
int RelativeColorimetric Colors are represented with respect to the combination of the light source and the output medium’s white point (such as the color of unprinted paper). Thus, for example, a monitor’s white point would be reproduced on a printer by simply leaving the paper unmarked, ignoring color differences between the two media. In-gamut colors are reproduced exactly; out-of-gamut colors are mapped to the nearest value within the reproducible gamut. This style of reproduction has the advantage of adapting for the varying white points of different output media. It has the disadvantage of not providing exact color matches from one medium to another. A typical use might be for vector graphics. saturation
int Saturation Colors are represented in a manner that preserves or emphasizes saturation. Reproduction of in-gamut colors may or may not be colorimetrically accurate. A typical use might be for business graphics, where saturation is the most important attribute of the color. perceptual
int Perceptual Colors are represented in a manner that provides a pleasing perceptual appearance. This generally means that both in-gamut and out-of-gamut colors are modified from their precise colorimetric values in order to preserve color relationships. A typical use might be for scanned images. -
<static, readonly> textMode :int
-
See Adobe's PDF Reference v1.3 for more details
- Source:
- utils.js, line 345
Properties:
Name Type Default Description fillText
int 0 Fill text. strokeText
int 1 Stroke text. fillStrokeText
int 2 Fill, then stroke, text. invisibleText
int 3 Neither fill nor stroke text (invisible). fillClipText
int 4 Fill text and add to path for clipping (see above). strokeClipText
int 5 Stroke text and add to path for clipping. fillStrokeClipText
int 6 Fill, then stroke, text and add to path for clipping. clipText
int 7 Add text to path for clipping.


I construct elegant, user friendly solutions tailored to client specific needs. A front-end developer with an eagerness to learn new technologies, and a love for all things code.


Least action derivation for space-time rods
October 13, 2020
Setup here
An agents path through time and space is represented by the curve from $s_0$ to $s_1$. I’m trying to use calculus of variations to find a space-time rod (curve) that minimizes the kinetic energy of the agent $\frac{1}{2}mv^2$.
Here, $t$, time, is represented by the $y$-axis, and $x$, position, is on the $x$-axis. The rod’s start point is $s_0$ and end point is $s_1$. Generalized coordinates are $q(s) = [x\;t] (s)$
Euler Lagrange with slightly different B.C
Start with the Euler Lagrange equations:
The Calc of Var derivation for the E.L. equations includes the boundary conditions that there is no variation at $s_0$ and $s_1$ (so $q(s_0)$ is known and $q(s_1)$ is known). However, in our problem, $q(s_1)$ is unknown, so $t(s_1)$ is unknown, which leads to another boundary condition that at $s_1$:
Least Action minimization
Let $L(s) = T(s) = \frac{1}{2}mv^2$. Over the domain of the rod, the principle of least action can be written as:
Simplified notation
Minimize the action using the E.L. equations
Since $T$ doesn’t depend on $q$.
Vectorized notation
After using the product rule and chain rules:
with b.c. $q(s_0) = [x_0 \; t_0]$ and $\frac{\partial L(s_1)}{\partial \dot{q}} = 0$.
Thats the differential equation. I think… Its a bit ridiculous.


The Crazy Ones
Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They're not fond of rules. And they have no respect for the status quo.
You can quote them, disagree with them, glorify or vilify them. About the only thing you can't do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.
– Rob Siltanen
Happy Thought
The world is so full of a number of things, I'm sure we should all be as happy as kings.
– Robert Louis Stevenson
Power
Give fools their gold, and knaves their power; let fortune's bubbles rise and fall; who sows a field, or trains a flower, or plants a tree, is more than all.
– John Greenleaf Whittier
Being Scared
It's OKAY to be scared. Being scared means you're about to do something really, really brave.
– Mandy Hale
Potential
Limitless is your potential.
Magnificent is your future, if you will take control of it.
– Gordon B. Hinkley
How beautiful upon the mountains are the feet of him that bringeth good tidings, that publisheth peace; that bringeth good tidings of good, that publisheth salvation; that saith unto Zion, Thy God reigneth!
– Isaiah 52:7


More product on our websites!!
Contacts
Find Us
You can always get 24/7 support for all ours products from
ROSEBLENDED.
ROSEBLENDED will help you with any questions regarding customization of the chosen products.
ROSEBLENDED Inc.
Columbia