This buffer attribute class does not construct a VBO. Instead, it uses
whatever VBO is passed in constructor and can later be altered via the
*buffer* property.
It is required to pass additional params alongside the VBO. Those are:
the GL context, the GL data type, the number of components per vertex
and the number of vertices.
The most common use case for this class is when some kind of GPGPU
calculation interferes or even produces the VBOs in question.
gl — Must be a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext].
buffer — Must be a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLBuffer].
type — One of [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants#Data_types].
itemSize — The number of values of the array that should be associated with
a particular vertex. For instance, if this
attribute is storing a 3-component vector (such as a position, normal, or color), then itemSize should be 3.
count — The expected number of vertices in VBO.
normalized — (optional) Applies to integer data only. Indicates how the underlying data
in the buffer maps to the values in the GLSL code. For instance, if [page:TypedArray array] is an instance
of UInt16Array, and [page:Boolean normalized] is true, the values 0 - +65535 in the array
data will be mapped to 0.0f - +1.0f in the GLSL attribute. An Int16Array (signed) would map
from -32767 - +32767 to -1.0f - +1.0f. If [page:Boolean normalized] is false, the values
will be converted to floats unmodified, i.e. 32767 becomes 32767.0f.
The current WebGLBuffer instance.
The expected number of vertices in VBO.
Indicates how the underlying data in the buffer maps to the values in the GLSL shader code. See the constructor above for details.
How many values make up each item (vertex).
Stores the corresponding size in bytes for the current *type* property value.
Don't touch.
A WebGL Data Type describing the underlying VBO contents.
Setting this is only allowed with *setType*.
Should be *true*.
Sets the *buffer* property.
Sets the *type* property.
Sets the *itemSize* property.
Sets the *count* property.


Latest ‘Star Wars: The Rise of Skywalker’ poster makes a great Pixel wallpaper
by Ben SchoonThe latest installment in the Star Wars franchise is set to hit theaters in almost exactly a month and, in preparation, trailers and posters are hitting the web. This afternoon, the latest poster for Star Wars: The Rise of Skywalker has been released after some slight tweaks and it makes a killer wallpaper for Pixel devices.
In this latest poster, we see a single X-Wing up against a huge fleet of First Order ships. The Dolby-exclusive poster is stunning and I can’t wait to see what this scene will look like in the movie itself.
If like me, you’re hyped for the movie and just can’t help but express it, this Rise of Skywalker poster makes an awesome wallpaper for your phone too. Even in its default form, it fits great on most devices, but with some light editing, it can be even better.
I took a few minutes in Photoshop to remove the border, logos, and text from a full-resolution version of the poster as well as extend it to a 19:9 aspect ratio. That taller aspect ratio means that the wallpaper fits better on most recent Android smartphones including Google’s Pixel 4 series. You can download the full-resolution wallpaper here.
Now let’s hope there’s a darker version of this to fit on that new special edition Galaxy Note 10+…
More on Android:
- Google Pixel 4 Review: A truly stellar Android experience… while it lasts
- Pixel 4 tips and tricks: Get the most out of your Made by Google phone [Video]
- Here are four compact battery banks to give your Pixel 4 a boost
FTC: We use income earning auto affiliate links. More.


Best hardware deserves best software. We thrive to support hardware vendors with reliable and optimized software toolchains. We specialize in compiler technologies which boost our partners with custom optimizations. With ever increasing competition among RISC-V providers, a highly optimized toolchain can help in getting ahead of competition with ease. We work for streamlining the software development on RISC-V through our modern and innovative solution.
Know More


By Author Name, Sun Jun 3 2018
Testing no tags.
Comments appear here (URL: http://someurl.com/no-tags-test.html, ID:<PHONE_NUMBER>).


Here are some courses i have taken
Course Number
Course Title
Course Number
For Credit
6.813
User Interface Design
Spring 2014
6.034
Artificial Intilligance
Fail 2013
6.006
Introduction To Algorithms
Fail 2013
Listener
6.867
Mchine Learning
Fail 2013
6.830
DataBase Systems
Fail 2013


Welcome to our JavaScript book store
Sort by:
select
Alphabelical order
Number of pages
Test author
599


War Mage Artius:
Thank you! I will give you a generous reward for the
Banshee Queen's Eye
and the
Deadman's Remains
you obtained in your hunting. Good luck!


Easier for Educators
Empowers educators to assign cousework and share resources instantly.
Frictionless Class Management
ClassSpark makes it easy to assign work, post notes and syllabi, help your students, and organize your class schedule.
Notify Students Instantly
No more hoping students remember to check your class page, let them know about changes to your course instantly with push notification.
Organize Resources
ClassSpark's timeline makes even complicated courses instantly understandable. Assignments are categorized by due date. Tests and notes are categorized by when they take place.
Share Comments with the Class
Need to clarify something? Post it on ClassSpark so that the whole class can see it instantly.
Share Resources
Find a unique take on the subject material? Post it on ClassSpark so students can benefit and learn from many diverse perspectives.


Modules | |
| Keyboard keys | |
| Modifier key flags | |
| Mouse buttons | |
| Joysticks | |
| Standard cursor shapes | |
Key and button actions | |
| #define | GLFW_RELEASE 0 |
| The key or mouse button was released. | |
| #define | GLFW_PRESS 1 |
| The key or mouse button was pressed. | |
| #define | GLFW_REPEAT 2 |
| The key was held down until it repeated. | |
Typedefs | |
| typedef void(* | GLFWmousebuttonfun )(GLFWwindow *, int, int, int) |
| The function signature for mouse button callbacks. | |
| typedef void(* | GLFWcursorposfun )(GLFWwindow *, double, double) |
| The function signature for cursor position callbacks. | |
| typedef void(* | GLFWcursorenterfun )(GLFWwindow *, int) |
| The function signature for cursor enter/leave callbacks. | |
| typedef void(* | GLFWscrollfun )(GLFWwindow *, double, double) |
| The function signature for scroll callbacks. | |
| typedef void(* | GLFWkeyfun )(GLFWwindow *, int, int, int, int) |
| The function signature for keyboard key callbacks. | |
| typedef void(* | GLFWcharfun )(GLFWwindow *, unsigned int) |
| The function signature for Unicode character callbacks. | |
| typedef void(* | GLFWcharmodsfun )(GLFWwindow *, unsigned int, int) |
| The function signature for Unicode character with modifiers callbacks. | |
| typedef void(* | GLFWdropfun )(GLFWwindow *, int, const char **) |
| The function signature for file drop callbacks. | |
| typedef void(* | GLFWjoystickfun )(int, int) |
| The function signature for joystick configuration callbacks. | |
Functions | |
| GLFWAPI int | glfwGetInputMode (GLFWwindow *window, int mode) |
| Returns the value of an input option for the specified window. | |
| GLFWAPI void | glfwSetInputMode (GLFWwindow *window, int mode, int value) |
| Sets an input option for the specified window. | |
| GLFWAPI const char * | glfwGetKeyName (int key, int scancode) |
| Returns the localized name of the specified printable key. | |
| GLFWAPI int | glfwGetKey (GLFWwindow *window, int key) |
| Returns the last reported state of a keyboard key for the specified window. | |
| GLFWAPI int | glfwGetMouseButton (GLFWwindow *window, int button) |
| Returns the last reported state of a mouse button for the specified window. | |
| GLFWAPI void | glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos) |
| Retrieves the position of the cursor relative to the client area of the window. | |
| GLFWAPI void | glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos) |
| Sets the position of the cursor, relative to the client area of the window. | |
| GLFWAPI GLFWcursor * | glfwCreateCursor (const GLFWimage *image, int xhot, int yhot) |
| Creates a custom cursor. | |
| GLFWAPI GLFWcursor * | glfwCreateStandardCursor (int shape) |
| Creates a cursor with a standard shape. | |
| GLFWAPI void | glfwDestroyCursor (GLFWcursor *cursor) |
| Destroys a cursor. | |
| GLFWAPI void | glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor) |
| Sets the cursor for the window. | |
| GLFWAPI GLFWkeyfun | glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun) |
| Sets the key callback. | |
| GLFWAPI GLFWcharfun | glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun) |
| Sets the Unicode character callback. | |
| GLFWAPI GLFWcharmodsfun | glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun) |
| Sets the Unicode character with modifiers callback. | |
| GLFWAPI GLFWmousebuttonfun | glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun) |
| Sets the mouse button callback. | |
| GLFWAPI GLFWcursorposfun | glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun) |
| Sets the cursor position callback. | |
| GLFWAPI GLFWcursorenterfun | glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun) |
| Sets the cursor enter/exit callback. | |
| GLFWAPI GLFWscrollfun | glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun) |
| Sets the scroll callback. | |
| GLFWAPI GLFWdropfun | glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun) |
| Sets the file drop callback. | |
| GLFWAPI int | glfwJoystickPresent (int joy) |
| Returns whether the specified joystick is present. | |
| GLFWAPI const float * | glfwGetJoystickAxes (int joy, int *count) |
| Returns the values of all axes of the specified joystick. | |
| GLFWAPI const unsigned char * | glfwGetJoystickButtons (int joy, int *count) |
| Returns the state of all buttons of the specified joystick. | |
| GLFWAPI const char * | glfwGetJoystickName (int joy) |
| Returns the name of the specified joystick. | |
| GLFWAPI GLFWjoystickfun | glfwSetJoystickCallback (GLFWjoystickfun cbfun) |
| Sets the joystick configuration callback. | |
| GLFWAPI void | glfwSetClipboardString (GLFWwindow *window, const char *string) |
| Sets the clipboard to the specified string. | |
| GLFWAPI const char * | glfwGetClipboardString (GLFWwindow *window) |
| Returns the contents of the clipboard as a string. | |
| GLFWAPI double | glfwGetTime (void) |
| Returns the value of the GLFW timer. | |
| GLFWAPI void | glfwSetTime (double time) |
| Sets the GLFW timer. | |
| GLFWAPI uint64_t | glfwGetTimerValue (void) |
| Returns the current value of the raw timer. | |
| GLFWAPI uint64_t | glfwGetTimerFrequency (void) |
| Returns the frequency, in Hz, of the raw timer. |
| #define GLFW_PRESS 1 |
| #define GLFW_RELEASE 0 |
| #define GLFW_REPEAT 2 |
| typedef void(* GLFWcharfun)(GLFWwindow *, unsigned int) |
The function signature for Unicode character callbacks.
This is the function signature for Unicode character callback functions.
| [in] | window | The window that received the event. |
| [in] | codepoint | The Unicode code point of the character. |
| typedef void(* GLFWcharmodsfun)(GLFWwindow *, unsigned int, int) |
The function signature for Unicode character with modifiers callbacks.
This is the function signature for Unicode character with modifiers callback functions. It is called for each input character, regardless of what modifier keys are held down.
| [in] | window | The window that received the event. |
| [in] | codepoint | The Unicode code point of the character. |
| [in] | mods | Bit field describing which [modifier keys](Modifier key flags) were held down. |
| typedef void(* GLFWcursorenterfun)(GLFWwindow *, int) |
The function signature for cursor enter/leave callbacks.
This is the function signature for cursor enter/leave callback functions.
| [in] | window | The window that received the event. |
| [in] | entered | `GLFW_TRUE` if the cursor entered the window's client area, or `GLFW_FALSE` if it left it. |
| typedef void(* GLFWcursorposfun)(GLFWwindow *, double, double) |
The function signature for cursor position callbacks.
This is the function signature for cursor position callback functions.
| [in] | window | The window that received the event. |
| [in] | xpos | The new cursor x-coordinate, relative to the left edge of the client area. |
| [in] | ypos | The new cursor y-coordinate, relative to the top edge of the client area. |
| typedef void(* GLFWdropfun)(GLFWwindow *, int, const char **) |
The function signature for file drop callbacks.
This is the function signature for file drop callbacks.
| [in] | window | The window that received the event. |
| [in] | count | The number of dropped files. |
| [in] | paths | The UTF-8 encoded file and/or directory path names. |
| typedef void(* GLFWjoystickfun)(int, int) |
The function signature for joystick configuration callbacks.
This is the function signature for joystick configuration callback functions.
| [in] | joy | The joystick that was connected or disconnected. |
| [in] | event | One of `GLFW_CONNECTED` or `GLFW_DISCONNECTED`. |
| typedef void(* GLFWkeyfun)(GLFWwindow *, int, int, int, int) |
The function signature for keyboard key callbacks.
This is the function signature for keyboard key callback functions.
| [in] | window | The window that received the event. |
| [in] | key | The [keyboard key](Keyboard keys) that was pressed or released. |
| [in] | scancode | The system-specific scancode of the key. |
| [in] | action | `GLFW_PRESS`, `GLFW_RELEASE` or `GLFW_REPEAT`. |
| [in] | mods | Bit field describing which [modifier keys](Modifier key flags) were held down. |
| typedef void(* GLFWmousebuttonfun)(GLFWwindow *, int, int, int) |
The function signature for mouse button callbacks.
This is the function signature for mouse button callback functions.
| [in] | window | The window that received the event. |
| [in] | button | The [mouse button](Mouse buttons) that was pressed or released. |
| [in] | action | One of `GLFW_PRESS` or `GLFW_RELEASE`. |
| [in] | mods | Bit field describing which [modifier keys](Modifier key flags) were held down. |
| typedef void(* GLFWscrollfun)(GLFWwindow *, double, double) |
The function signature for scroll callbacks.
This is the function signature for scroll callback functions.
| [in] | window | The window that received the event. |
| [in] | xoffset | The scroll offset along the x-axis. |
| [in] | yoffset | The scroll offset along the y-axis. |
| GLFWAPI GLFWcursor* glfwCreateCursor | ( | const GLFWimage * | image, | |
| int | xhot, | |||
| int | yhot | |||
| ) |
Creates a custom cursor.
Creates a new custom cursor image that can be set for a window with glfwSetCursor. The cursor can be destroyed with glfwDestroyCursor. Any remaining cursors are destroyed by glfwTerminate.
The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits per channel. They are arranged canonically as packed sequential rows, starting from the top-left corner.
The cursor hotspot is specified in pixels, relative to the upper-left corner of the cursor image. Like all other coordinate systems in GLFW, the X-axis points to the right and the Y-axis points down.
| [in] | image | The desired cursor image. |
| [in] | xhot | The desired x-coordinate, in pixels, of the cursor hotspot. |
| [in] | yhot | The desired y-coordinate, in pixels, of the cursor hotspot. |
The specified image data is copied before this function returns.
This function must not be called from a callback.
This function must only be called from the main thread.
| GLFWAPI GLFWcursor* glfwCreateStandardCursor | ( | int | shape | ) |
Creates a cursor with a standard shape.
Returns a cursor with a [standard shape](Standard cursor shapes), that can be set for a window with glfwSetCursor.
| [in] | shape | One of the [standard shapes](Standard cursor shapes). |
This function must not be called from a callback.
This function must only be called from the main thread.
| GLFWAPI void glfwDestroyCursor | ( | GLFWcursor * | cursor | ) |
Destroys a cursor.
This function destroys a cursor previously created with glfwCreateCursor. Any remaining cursors will be destroyed by glfwTerminate.
| [in] | cursor | The cursor object to destroy. |
This function must not be called from a callback.
This function must only be called from the main thread.
| GLFWAPI const char* glfwGetClipboardString | ( | GLFWwindow * | window | ) |
Returns the contents of the clipboard as a string.
This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, `NULL` is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.
| [in] | window | The window that will request the clipboard contents. |
The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetClipboardString or glfwSetClipboardString, or until the library is terminated.
This function must only be called from the main thread.
| GLFWAPI void glfwGetCursorPos | ( | GLFWwindow * | window, | |
| double * | xpos, | |||
| double * | ypos | |||
| ) |
Retrieves the position of the cursor relative to the client area of the window.
This function returns the position of the cursor, in screen coordinates, relative to the upper-left corner of the client area of the specified window.
If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor position is unbounded and limited only by the minimum and maximum values of a `double`.
The coordinate can be converted to their integer equivalents with the `floor` function. Casting directly to an integer type works for positive coordinates, but fails for negative ones.
Any or all of the position arguments may be `NULL`. If an error occurs, all non-`NULL` position arguments will be set to zero.
| [in] | window | The desired window. |
| [out] | xpos | Where to store the cursor x-coordinate, relative to the left edge of the client area, or `NULL`. |
| [out] | ypos | Where to store the cursor y-coordinate, relative to the to top edge of the client area, or `NULL`. |
This function must only be called from the main thread.
| GLFWAPI int glfwGetInputMode | ( | GLFWwindow * | window, | |
| int | mode | |||
| ) |
Returns the value of an input option for the specified window.
This function returns the value of an input option for the specified window. The mode must be one of `GLFW_CURSOR`, `GLFW_STICKY_KEYS` or `GLFW_STICKY_MOUSE_BUTTONS`.
| [in] | window | The window to query. |
| [in] | mode | One of `GLFW_CURSOR`, `GLFW_STICKY_KEYS` or `GLFW_STICKY_MOUSE_BUTTONS`. |
This function must only be called from the main thread.
| GLFWAPI const float* glfwGetJoystickAxes | ( | int | joy, | |
| int * | count | |||
| ) |
Returns the values of all axes of the specified joystick.
This function returns the values of all axes of the specified joystick. Each element in the array is a value between -1.0 and 1.0.
Querying a joystick slot with no device present is not an error, but will cause this function to return `NULL`. Call glfwJoystickPresent to check device presence.
| [in] | joy | The [joystick](Joysticks) to query. |
| [out] | count | Where to store the number of axis values in the returned array. This is set to zero if the joystick is not present or an error occurred. |
The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
This function must only be called from the main thread.
| GLFWAPI const unsigned char* glfwGetJoystickButtons | ( | int | joy, | |
| int * | count | |||
| ) |
Returns the state of all buttons of the specified joystick.
This function returns the state of all buttons of the specified joystick. Each element in the array is either `GLFW_PRESS` or `GLFW_RELEASE`.
Querying a joystick slot with no device present is not an error, but will cause this function to return `NULL`. Call glfwJoystickPresent to check device presence.
| [in] | joy | The [joystick](Joysticks) to query. |
| [out] | count | Where to store the number of button states in the returned array. This is set to zero if the joystick is not present or an error occurred. |
The returned array is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
This function must only be called from the main thread.
| GLFWAPI const char* glfwGetJoystickName | ( | int | joy | ) |
Returns the name of the specified joystick.
This function returns the name, encoded as UTF-8, of the specified joystick. The returned string is allocated and freed by GLFW. You should not free it yourself.
Querying a joystick slot with no device present is not an error, but will cause this function to return `NULL`. Call glfwJoystickPresent to check device presence.
| [in] | joy | The [joystick](Joysticks) to query. |
The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the specified joystick is disconnected, this function is called again for that joystick or the library is terminated.
This function must only be called from the main thread.
| GLFWAPI int glfwGetKey | ( | GLFWwindow * | window, | |
| int | key | |||
| ) |
Returns the last reported state of a keyboard key for the specified window.
This function returns the last state reported for the specified key to the specified window. The returned state is one of `GLFW_PRESS` or `GLFW_RELEASE`. The higher-level action `GLFW_REPEAT` is only reported to the key callback.
If the `GLFW_STICKY_KEYS` input mode is enabled, this function returns `GLFW_PRESS` the first time you call it for a key that was pressed, even if that key has already been released.
The key functions deal with physical keys, with [key tokens](Keyboard keys) named after their use on the standard US keyboard layout. If you want to input text, use the Unicode character callback instead.
The [modifier key bit masks](Modifier key flags) are not key tokens and cannot be used with this function.
__Do not use this function__ to implement [text input](input_char).
| [in] | window | The desired window. |
| [in] | key | The desired [keyboard key](Keyboard keys). `GLFW_KEY_UNKNOWN` is not a valid key for this function. |
This function must only be called from the main thread.
| GLFWAPI const char* glfwGetKeyName | ( | int | key, | |
| int | scancode | |||
| ) |
Returns the localized name of the specified printable key.
This function returns the localized name of the specified printable key. This is intended for displaying key bindings to the user.
If the key is `GLFW_KEY_UNKNOWN`, the scancode is used instead, otherwise the scancode is ignored. If a non-printable key or (if the key is `GLFW_KEY_UNKNOWN`) a scancode that maps to a non-printable key is specified, this function returns `NULL`.
This behavior allows you to pass in the arguments passed to the [key callback](input_key) without modification.
The printable keys are:
| [in] | key | The key to query, or `GLFW_KEY_UNKNOWN`. |
| [in] | scancode | The scancode of the key to query. |
The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to glfwGetKeyName, or until the library is terminated.
This function must only be called from the main thread.
| GLFWAPI int glfwGetMouseButton | ( | GLFWwindow * | window, | |
| int | button | |||
| ) |
Returns the last reported state of a mouse button for the specified window.
This function returns the last state reported for the specified mouse button to the specified window. The returned state is one of `GLFW_PRESS` or `GLFW_RELEASE`.
If the `GLFW_STICKY_MOUSE_BUTTONS` input mode is enabled, this function `GLFW_PRESS` the first time you call it for a mouse button that was pressed, even if that mouse button has already been released.
| [in] | window | The desired window. |
| [in] | button | The desired [mouse button](Mouse buttons). |
This function must only be called from the main thread.
| GLFWAPI double glfwGetTime | ( | void | ) |
Returns the value of the GLFW timer.
This function returns the value of the GLFW timer. Unless the timer has been set using glfwSetTime, the timer measures time elapsed since GLFW was initialized.
The resolution of the timer is system dependent, but is usually on the order of a few micro- or nanoseconds. It uses the highest-resolution monotonic time source on each supported platform.
This function may be called from any thread. Reading and writing of the internal timer offset is not atomic, so it needs to be externally synchronized with calls to glfwSetTime.
| GLFWAPI uint64_t glfwGetTimerFrequency | ( | void | ) |
Returns the frequency, in Hz, of the raw timer.
This function returns the frequency, in Hz, of the raw timer.
This function may be called from any thread.
| GLFWAPI uint64_t glfwGetTimerValue | ( | void | ) |
Returns the current value of the raw timer.
This function returns the current value of the raw timer, measured in 1 / frequency seconds. To get the frequency, call glfwGetTimerFrequency.
This function may be called from any thread.
| GLFWAPI int glfwJoystickPresent | ( | int | joy | ) |
Returns whether the specified joystick is present.
This function returns whether the specified joystick is present.
| [in] | joy | The [joystick](Joysticks) to query. |
This function must only be called from the main thread.
| GLFWAPI GLFWcharfun glfwSetCharCallback | ( | GLFWwindow * | window, | |
| GLFWcharfun | cbfun | |||
| ) |
Sets the Unicode character callback.
This function sets the character callback of the specified window, which is called when a Unicode character is input.
The character callback is intended for Unicode text input. As it deals with characters, it is keyboard layout dependent, whereas the [key callback](glfwSetKeyCallback) is not. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the key callback instead.
The character callback behaves as system text input normally does and will not be called if modifier keys are held down that would prevent normal text input on that platform, for example a Super (Command) key on OS X or Alt key on Windows. There is a [character with modifiers callback](glfwSetCharModsCallback) that receives these events.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback | ( | GLFWwindow * | window, | |
| GLFWcharmodsfun | cbfun | |||
| ) |
Sets the Unicode character with modifiers callback.
This function sets the character with modifiers callback of the specified window, which is called when a Unicode character is input regardless of what modifier keys are used.
The character with modifiers callback is intended for implementing custom Unicode character input. For regular Unicode text input, see the [character callback](glfwSetCharCallback). Like the character callback, the character with modifiers callback deals with characters and is keyboard layout dependent. Characters do not map 1:1 to physical keys, as a key may produce zero, one or more characters. If you want to know whether a specific physical key was pressed or released, see the [key callback](glfwSetKeyCallback) instead.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI void glfwSetClipboardString | ( | GLFWwindow * | window, | |
| const char * | string | |||
| ) |
Sets the clipboard to the specified string.
This function sets the system clipboard to the specified, UTF-8 encoded string.
| [in] | window | The window that will own the clipboard contents. |
| [in] | string | A UTF-8 encoded string. |
The specified string is copied before this function returns.
This function must only be called from the main thread.
| GLFWAPI void glfwSetCursor | ( | GLFWwindow * | window, | |
| GLFWcursor * | cursor | |||
| ) |
Sets the cursor for the window.
This function sets the cursor image to be used when the cursor is over the client area of the specified window. The set cursor will only be visible when the [cursor mode](cursor_mode) of the window is `GLFW_CURSOR_NORMAL`.
On some platforms, the set cursor may not be visible unless the window also has input focus.
| [in] | window | The window to set the cursor for. |
| [in] | cursor | The cursor to set, or `NULL` to switch back to the default arrow cursor. |
This function must only be called from the main thread.
| GLFWAPI GLFWcursorenterfun glfwSetCursorEnterCallback | ( | GLFWwindow * | window, | |
| GLFWcursorenterfun | cbfun | |||
| ) |
Sets the cursor enter/exit callback.
This function sets the cursor boundary crossing callback of the specified window, which is called when the cursor enters or leaves the client area of the window.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI void glfwSetCursorPos | ( | GLFWwindow * | window, | |
| double | xpos, | |||
| double | ypos | |||
| ) |
Sets the position of the cursor, relative to the client area of the window.
This function sets the position, in screen coordinates, of the cursor relative to the upper-left corner of the client area of the specified window. The window must have input focus. If the window does not have input focus when this function is called, it fails silently.
__Do not use this function__ to implement things like camera controls. GLFW already provides the `GLFW_CURSOR_DISABLED` cursor mode that hides the cursor, transparently re-centers it and provides unconstrained cursor motion. See glfwSetInputMode for more information.
If the cursor mode is `GLFW_CURSOR_DISABLED` then the cursor position is unconstrained and limited only by the minimum and maximum values of a `double`.
| [in] | window | The desired window. |
| [in] | xpos | The desired x-coordinate, relative to the left edge of the client area. |
| [in] | ypos | The desired y-coordinate, relative to the top edge of the client area. |
This function must only be called from the main thread.
| GLFWAPI GLFWcursorposfun glfwSetCursorPosCallback | ( | GLFWwindow * | window, | |
| GLFWcursorposfun | cbfun | |||
| ) |
Sets the cursor position callback.
This function sets the cursor position callback of the specified window, which is called when the cursor is moved. The callback is provided with the position, in screen coordinates, relative to the upper-left corner of the client area of the window.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI GLFWdropfun glfwSetDropCallback | ( | GLFWwindow * | window, | |
| GLFWdropfun | cbfun | |||
| ) |
Sets the file drop callback.
This function sets the file drop callback of the specified window, which is called when one or more dragged files are dropped on the window.
Because the path array and its strings may have been generated specifically for that event, they are not guaranteed to be valid after the callback has returned. If you wish to use them after the callback returns, you need to make a deep copy.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new file drop callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI void glfwSetInputMode | ( | GLFWwindow * | window, | |
| int | mode, | |||
| int | value | |||
| ) |
Sets an input option for the specified window.
This function sets an input mode option for the specified window. The mode must be one of `GLFW_CURSOR`, `GLFW_STICKY_KEYS` or `GLFW_STICKY_MOUSE_BUTTONS`.
If the mode is `GLFW_CURSOR`, the value must be one of the following cursor modes:
If the mode is `GLFW_STICKY_KEYS`, the value must be either `GLFW_TRUE` to enable sticky keys, or `GLFW_FALSE` to disable it. If sticky keys are enabled, a key press will ensure that glfwGetKey returns `GLFW_PRESS` the next time it is called even if the key had been released before the call. This is useful when you are only interested in whether keys have been pressed but not when or in which order.
If the mode is `GLFW_STICKY_MOUSE_BUTTONS`, the value must be either `GLFW_TRUE` to enable sticky mouse buttons, or `GLFW_FALSE` to disable it. If sticky mouse buttons are enabled, a mouse button press will ensure that glfwGetMouseButton returns `GLFW_PRESS` the next time it is called even if the mouse button had been released before the call. This is useful when you are only interested in whether mouse buttons have been pressed but not when or in which order.
| [in] | window | The window whose input mode to set. |
| [in] | mode | One of `GLFW_CURSOR`, `GLFW_STICKY_KEYS` or `GLFW_STICKY_MOUSE_BUTTONS`. |
| [in] | value | The new value of the specified input mode. |
This function must only be called from the main thread.
| GLFWAPI GLFWjoystickfun glfwSetJoystickCallback | ( | GLFWjoystickfun | cbfun | ) |
Sets the joystick configuration callback.
This function sets the joystick configuration callback, or removes the currently set callback. This is called when a joystick is connected to or disconnected from the system.
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI GLFWkeyfun glfwSetKeyCallback | ( | GLFWwindow * | window, | |
| GLFWkeyfun | cbfun | |||
| ) |
Sets the key callback.
This function sets the key callback of the specified window, which is called when a key is pressed, repeated or released.
The key functions deal with physical keys, with layout independent [key tokens](Keyboard keys) named after their values in the standard US keyboard layout. If you want to input text, use the [character callback](glfwSetCharCallback) instead.
When a window loses input focus, it will generate synthetic key release events for all pressed keys. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the [window focus callback](glfwSetWindowFocusCallback) has been called.
The scancode of a key is specific to that platform or sometimes even to that machine. Scancodes are intended to allow users to bind keys that don't have a GLFW key token. Such keys have `key` set to `GLFW_KEY_UNKNOWN`, their state is not saved and so it cannot be queried with glfwGetKey.
Sometimes GLFW needs to generate synthetic key events, in which case the scancode may be zero.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new key callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI GLFWmousebuttonfun glfwSetMouseButtonCallback | ( | GLFWwindow * | window, | |
| GLFWmousebuttonfun | cbfun | |||
| ) |
Sets the mouse button callback.
This function sets the mouse button callback of the specified window, which is called when a mouse button is pressed or released.
When a window loses input focus, it will generate synthetic mouse button release events for all pressed mouse buttons. You can tell these events from user-generated events by the fact that the synthetic ones are generated after the focus loss event has been processed, i.e. after the [window focus callback](glfwSetWindowFocusCallback) has been called.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI GLFWscrollfun glfwSetScrollCallback | ( | GLFWwindow * | window, | |
| GLFWscrollfun | cbfun | |||
| ) |
Sets the scroll callback.
This function sets the scroll callback of the specified window, which is called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.
The scroll callback receives all scrolling input, like that from a mouse wheel or a touchpad scrolling area.
| [in] | window | The window whose callback to set. |
| [in] | cbfun | The new scroll callback, or `NULL` to remove the currently set callback. |
This function must only be called from the main thread.
| GLFWAPI void glfwSetTime | ( | double | time | ) |
Sets the GLFW timer.
This function sets the value of the GLFW timer. It then continues to count up from that value. The value must be a positive finite number less than or equal to<PHONE_NUMBER>3.0, which is approximately 584.5 years.
| [in] | time | The new value, in seconds. |


Responsive Element
Split Width Fields automatically receive responsive styling, swapping to one field per row for mobile.
A form displays a set of related user input fields in a structured way
Forms always include fields, and fields always contain form elements. Fields themselves may also include: inputs, standard form fields, labels, selection dropdowns, textareas, as well as: checkboxes, and message blocks.
A field is a form element containing a label and an input
A textarea uses the default form element
UI Checkboxes are styled forms of standard form checkboxes.
A selection dropdown is a type of ui dropdown designed for user selection. Dropdown will automatically convert select
elements initialized as dropdowns.
A search selection is a special type of ui dropdown designed for selecting between many choices.
If javascript or ui dropdown are not a viable option, forms also can provide basic styling for select elements
Radio boxes are styled forms of standard form radio controls.
Messages have special meaning inside a form tag. Any info, error, or warning message blocks found inside a form are hidden by default.
If a form is in loading state, it will automatically show a loading indicator:
If a form is in an error state, it will automatically show any error message blocks:
If a form is in warning state, it will automatically show any warning message block:
Individual fields may display an error state
Individual fields may be disabled or read only
A field can have its label next to instead of above it.
Fields can specify their width in grid columns
A field can format itself to show that an input is mandatory
A form can take the width of its container
A form can also be small or large
A form on a dark background may have to invert its color scheme
Fields can exist together in a group
Groups can have their widths divided evenly
Fields can show related choices
Multiple fields may be inline in a row
This translation is only % complete!
We need your help to make Semantic available to people who speak your language.
Our translation tools are easy to use and allow you to translate text without having to leave the site. If you are interested in joining our translation team please e-mail me for access to our translation hub.


It's beautiful and don't need Jquery :D
Download here
Working on Tablets and Phones
Edivaldo Pericleiton Rasta
Funciona até no IE!
:)


WHAT IS CARDS FOR HUMANITY?
in need - all while remaining as despicable and awkward as you naturally are.
Warning! This game contains offensive, profane, explicit content created by Cards Against Humanity and provided here, uncensored and complete, in digital form. Human Resources made us say that.


Functions | |
| void | CSL_armR5PmuCfg (uint32_t cycleCntDiv, uint32_t exportEvents, uint32_t userEnable) |
| Configure the Performance Management Unit (PMU) More... | |
| void | CSL_armR5PmuEnableAllCntrs (uint32_t enable) |
| Enable/disable all PMU counters. More... | |
| uint32_t | CSL_armR5PmuGetNumCntrs (void) |
| Get the number of PMU counters supported. More... | |
| void | CSL_armR5PmuCfgCntr (uint32_t cntrNum, CSL_ArmR5PmuEventType eventType) |
| Configure a PMU counter. More... | |
| void | CSL_armR5PmuEnableCntrOverflowIntr (uint32_t cntrNum, uint32_t enable) |
| Enable/disable overflow interrupt generation for a PMU counter. More... | |
| void | CSL_armR5PmuEnableCntr (uint32_t cntrNum, uint32_t enable) |
| Enable/disable a PMU counter. More... | |
| uint32_t | CSL_armR5PmuReadCntr (uint32_t cntrNum) |
| Read a PMU counter. More... | |
| uint32_t | CSL_armR5PmuSetCntr (uint32_t cntrNum, uint32_t cntrVal) |
| Set a PMU counter. More... | |
| uint32_t | CSL_armR5PmuReadCntrOverflowStatus (void) |
| Read the overflow status for all of the counters. More... | |
| void | CSL_armR5PmuClearCntrOverflowStatus (uint32_t cntrMask) |
| Clear the overflow flag for the specified counter(s) More... | |
| void | CSL_armR5PmuResetCycleCnt (void) |
| Reset the cycle counter to zero. More... | |
| void | CSL_armR5PmuResetCntrs (void) |
| Reset all counters to zero. More... | |
| void CSL_armR5PmuCfg | ( | uint32_t | cycleCntDiv, |
| uint32_t | exportEvents, | ||
| uint32_t | userEnable | ||
| ) |
Configure the Performance Management Unit (PMU)
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to configure the PMU.
The value arguments provided to this function are directly written into the corresponding R5 system register. As a result, the values must be constructed per the expected register format.
See the "MPU memory region programming registers" section of the ARM Cortex R5 TRM for more information.
| cycleCntDiv | [IN] Cycle count divider: 0=Counts every processor clock cycle, otherwise counts every 64th processor clock cycle |
| exportEvents | [IN] Export of the events to the event bus for an external monitoring block: 0=Export disabled, otherwise export is enabled. |
| userEnable | [IN] User mode access to performance monitor and validation registers: 0=disabled, otherwise enabled. |
| void CSL_armR5PmuCfgCntr | ( | uint32_t | cntrNum, |
| CSL_ArmR5PmuEventType | eventType | ||
| ) |
Configure a PMU counter.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to configure a PMU counter.
| cntrNum | [IN] Counter number (0..(CSL_armR5PmuGetNumCntrs()-1)) |
| eventType | [IN] Event type to count. See CSL_ArmR5PmuEventType for available event types. |
| void CSL_armR5PmuClearCntrOverflowStatus | ( | uint32_t | cntrMask | ) |
Clear the overflow flag for the specified counter(s)
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to clear the overflow flag for the specified counter(s). The cntrMask argument is a bit-mask where bits set to '1' indicate which counter(s)' overflow flag to clear. See the 'Overflow Flag Status Register' description in the ARM R5 TRM for the format of this bitmask.
| cntrMask | [IN] Bit-mask indicating which counter(s)' overflow flag to clear |
| void CSL_armR5PmuEnableAllCntrs | ( | uint32_t | enable | ) |
Enable/disable all PMU counters.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to enable or disable all of the PMU counters. Note that to enable a specific counter, both this function and the CSL_armR5PmuEnableCntr function must be called.
| enable | [IN] 0=All counters are disabled, otherwise they are enabled |
| void CSL_armR5PmuEnableCntr | ( | uint32_t | cntrNum, |
| uint32_t | enable | ||
| ) |
Enable/disable a PMU counter.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to enable or disable the specified PMU counter. Note that to enable a specific counter, both this function and the CSL_armR5PmuEnableAllCntrs function must be called.
| cntrNum | [IN] Counter number (0..(CSL_armR5PmuGetNumCntrs()-1)) or CSL_ARM_R5_PMU_CYCLE_COUNTER_NUM) |
| enable | [IN] 0=Disable counter, otherwise it is enabled |
| void CSL_armR5PmuEnableCntrOverflowIntr | ( | uint32_t | cntrNum, |
| uint32_t | enable | ||
| ) |
Enable/disable overflow interrupt generation for a PMU counter.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function is used to enable or disable overflow interrupt generation for the specified PMU counter.
| cntrNum | [IN] Counter number (0..(CSL_armR5PmuGetNumCntrs()-1)) or CSL_ARM_R5_PMU_CYCLE_COUNTER_NUM) |
| enable | [IN] 0=Overflow interrupt generation is disabled, otherwise it is enabled |
| uint32_t CSL_armR5PmuGetNumCntrs | ( | void | ) |
Get the number of PMU counters supported.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_read
This function is used to get the number of PMU counters supported.
| uint32_t CSL_armR5PmuReadCntr | ( | uint32_t | cntrNum | ) |
Read a PMU counter.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_read
This function is used to read the specified PMU counter.
| cntrNum | [IN] Counter number (0..(CSL_armR5PmuGetNumCntrs()-1)) or CSL_ARM_R5_PMU_CYCLE_COUNTER_NUM) |
| uint32_t CSL_armR5PmuReadCntrOverflowStatus | ( | void | ) |
Read the overflow status for all of the counters.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_read
This function is used to read the overflow status for all of the counters. A bit-mask is returned where bits set to '1' indicate overflow occurred for the corresponding counter. See the 'Overflow Flag Status Register' description in the ARM R5 TRM for the format of this bitmask.
| void CSL_armR5PmuResetCntrs | ( | void | ) |
Reset all counters to zero.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function resets all event counters to zero.
| void CSL_armR5PmuResetCycleCnt | ( | void | ) |
Reset the cycle counter to zero.
Requirement: REQ_TAG(PRSDK-1660) Design: did_csl_core_pmu_configure
This function resets the cycle counter to zero.
| uint32_t CSL_armR5PmuSetCntr | ( | uint32_t | cntrNum, |
| uint32_t | cntrVal | ||
| ) |
Set a PMU counter.
Requirement: REQ_TAG(PRSDK-5345) Design: did_csl_core_pmu_set
This function is used to set the specified PMU counter.
| cntrNum | [IN] Counter number (0..(CSL_armR5PmuGetNumCntrs()-1)) or CSL_ARM_R5_PMU_CYCLE_COUNTER_NUM) |
| cntrVal | [IN] Counter Value to be set |


Click on a button to select, from the library, the module you would like to add in your page
This is the library of all your available modules. Modules list is loaded via ajax.


Username
Password
Login
Forgot your password?
Create an account
It's quick and easy.
SIGN IN
Already have one?
LOG-IN


Web application that takes a user's birthday and calculates the day of the week they were born and then depending on their gender outputs their Akan Name.
Here are Ghanian day names.


Paradigm
признанные всеми научные достижения,
которые дают модель постановки проблем и
их решений научному сообществу
Т. Кун
Multi-Paradigm
совершенствование искусства отдельного программиста требует,
чтобы он расширял свой репертуар парадигм
Р. Флойд
What is OOP?
http://programmers.stackexchange.com/questions/46592/so-what-did-alan-kay-really-mean-by-the-term-object-oriented
What is FP?
Hx
hardware -> abstractions
math -> practical
Out of the tar pit?
Complexity: acidental vs essential
Polimorphism
Abstract DataTypes
Expression Problem
SOLID
Single responsibility principle
a class should have only a single responsibility (i.e. only one potential change in the software's specification should be able to affect the specification of the class)
Open/closed principle
“software entities … should be open for extension, but closed for modification.”
Liskov substitution principle
“objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.” See also design by contract.
Interface segregation principle
“many client-specific interfaces are better than one general-purpose interface.”
Dependency inversion principle
one should “Depend upon Abstractions. Do not depend upon concretions.”
GRASP
- Low Coupling
- Polimorphism
Code reuse inheritance vs composition
Patterns
Inheritance vs Composition
Chain of responsibility
Decorator
Template Method
Strategy
Visitor
Null object
Functional Web Stack
view :: data -> HTML || JSON
http->data struct->obj->sql->db
db->sql->obj->data struct->http
Tell Above, and Ask Below - Hybridizing OO and Functional Design
http://michaelfeathers.typepad.com/michael_feathers_blog/2012/03/tell-above-and-ask-below-hybridizing-oo-and-functional-design.html


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.serializer.XmlRpcWriter
public class XmlRpcWriter
This class is responsible for writing an XmlRpc request or an XmlRpc response to an output stream.
| Field Summary | |
|---|---|
static java.lang.String |
EXTENSIONS_URI
The namespace URI for proprietary XML-RPC extensions. |
| Constructor Summary | |
|---|---|
XmlRpcWriter(XmlRpcStreamConfig pConfig,
org.xml.sax.ContentHandler pHandler,
TypeFactory pTypeFactory)
Creates a new instance. |
| Method Summary | |
|---|---|
void |
write(XmlRpcRequest pRequest)
Writes a clients request to the output stream. |
void |
write(XmlRpcRequestConfig pConfig,
int pCode,
java.lang.String pMessage)
Writes a servers error message to the output stream. |
void |
write(XmlRpcRequestConfig pConfig,
int pCode,
java.lang.String pMessage,
java.lang.Throwable pThrowable)
Writes a servers error message to the output stream. |
void |
write(XmlRpcRequestConfig pConfig,
java.lang.Object pResult)
Writes a servers response to the output stream. |
protected void |
writeValue(java.lang.Object pObject)
Writes the XML representation of a Java object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXTENSIONS_URI
| Constructor Detail |
|---|
public XmlRpcWriter(XmlRpcStreamConfig pConfig, org.xml.sax.ContentHandler pHandler, TypeFactory pTypeFactory)
pConfig
- The clients configuration.pHandler
- The target SAX handler.pTypeFactory
- The type factory being used to create serializers.| Method Detail |
|---|
public void write(XmlRpcRequest pRequest) throws org.xml.sax.SAXException
pRequest
- The request being written.
org.xml.sax.SAXException
- Writing the request failed.public void write(XmlRpcRequestConfig pConfig, java.lang.Object pResult) throws org.xml.sax.SAXException
pConfig
- The request configuration.pResult
- The result object.
org.xml.sax.SAXException
- Writing the response failed.public void write(XmlRpcRequestConfig pConfig, int pCode, java.lang.String pMessage) throws org.xml.sax.SAXException
pConfig
- The request configuration.pCode
- The error codepMessage
- The error message
org.xml.sax.SAXException
- Writing the error message failed.public void write(XmlRpcRequestConfig pConfig, int pCode, java.lang.String pMessage, java.lang.Throwable pThrowable) throws org.xml.sax.SAXException
pConfig
- The request configuration.pCode
- The error codepMessage
- The error messagepThrowable
- An exception, which is being sent to the client
org.xml.sax.SAXException
- Writing the error message failed.protected void writeValue(java.lang.Object pObject) throws org.xml.sax.SAXException
pObject
- The object being written.
org.xml.sax.SAXException
- Writing the object failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


M.The City in the Center of The World (or Nubla 2) is a 2D adventure that tells the story of the search of a city that lies beyond dreams. It is a game whithin the PlayStation Talents framework published exclusively on PS4 in collaboration with the Thyssen-Bornemisza museum.
For a summer, I was collaborating in the design department, organizing and developing characters, helping with the game script and gameplay design
PlayStation 4
Game Designer Support


--- layout: post title: Hell'OO HomeMarks disqus_id: /2008/08/18/in-hell-oo-for-homemarks/ categories: - heuristics - ruby-rails - javascript ---
Well HomeMarks v2.0 is done and ready for the public. You can download it from my Github project page. It has a real simple rake app:bootstrap
task that I came up with over the weekend will have you running a local copy in only a few seconds, give it a try. Sometime over the next few days, I'll move over the live site to this code base too. If you have not yet kept up on the implementation mantra I set down for the HomeMarks v2 project, you might want to read an older post as well as this excerpt from the project README.
HomeMarks was built using the Ruby on Rails framework with a heavy emphasis on object oriented JavaScript to make AJAX requests to a RESTful back-end. Unlike most Rails applications it does not use any inline JavaScript helpers nor does it rely on RJS (Remote JavaScript) for dynamic page updates. Instead it is nearly 100% unobtrusive JavaScript which uses simple HEAD or JSON responses to communicate to the objects on the page. This has yielded very slim controller code which is decoupled from the views and easily testable in isolation at a functional level.
So what do I think of this implementation and writing all this object oriented JavaScript? Well - its been real hard, I've been in JS Hell-OO for the better part of a few weeks as I came closer to finishing the project. Coming from a self inflicted addiction to unit/functional testing in rails, it is very hard to get into the habit of opening the browser to test view code. A big part of me hates writing all this JS without one bit of unit testing. I've heard that Prototype v2 will have unit testing, that would be awesome!
So, bitching aside, I am very happy that my JS-fu is stronger. The end result besides all those buckets of water up the hill is that I can now really appreciate the ruby object model and how prototype strives to make JS class construction follow its example. Kudos really goes to Sam Stephenson for bridging the two object models. As I learned more about how prototype's classes work, I actually learned quite a bit about ruby too. Using that knowledge I gave a talk at the Hampton Roads Ruby Users Group (757rb) on the topic. You can download the PDF version of the slides from the files section of the Google group page. Look for the file titled OO JavaScript Class Construction


deeplearn.js playground examples
Add examples to this page by sending us a PR with edits to the
playground listing
.
README code
New example


After a “close call,” a coding champion
Eighteen-year-old Cameroon resident Nji Collins had just put the finishing touches on his final submission for the Google Code-In competition when his entire town lost internet access. It stayed dark for two months.
“That was a really, really close call,” Nji, who prefers to be called Collins, tells the Keyword, adding that he traveled to a neighboring town every day to check his email and the status of the contest. “It was stressful.”
Google’s annual Code-In contest, an effort to introduce teenagers to the world of open source, invites high school students from around the world to compete. It’s part of our mission to encourage and inspire the next generation of computer scientists, and in turn, the contest allows these young people to play a role in building real technologies.
Over the course of the competition, participants complete open-source coding and design “tasks” administered by an array of tech companies like Wikimedia and OpenMRS. Tasks range from editing webpages to updating databases to making videos; one of Collins’ favorites, for example, was making the OpenMRS home page sensitive to keystrokes. This year, more than 1,300 entrants from 62 countries completed nearly 6,400 assignments.
While Google sponsors and runs the contest, the participating tech organizations, who work most closely with the students, choose the winners. Those who finish the most tasks are named finalists, and the companies each select two winners from that group. Those winners are then flown to San Francisco, CA for an action-packed week involving talks at the Googleplex in Mountain View, office tours, segway journeys through the city, and a sunset cruise on the SF Bay.
Collins with some of the other winners from Google Code-in 2016 “It’s really fun to watch these kids come together and thrive,” says Stephanie Taylor, Code-In’s program manager. “Bringing together students from, say, Thailand and Poland because they have something in common: a shared love of computer science. Lifelong friendships are formed on these trips.”
Indeed, many Code-In winners say the community is their main motivator for joining the competition. “The people are what brought me here and keep me here,” says Sushain Cherivirala, a Carnegie Mellon computer science major and former Code-In winner who now serves as a program mentor. Mentors work with Code-In participants throughout the course of the competition to help them complete tasks and interface with the tech companies.
Google Code-in winners on the Google campus Code-In also acts as an accessible introduction to computer science and the open source world. Mira Yang, a 17-year-old from New Jersey, learned how to code for the first time this year. She says she never would have even considered studying computer science further before she dabbled in a few Code-In tasks. Now, she plans to major in it.
Google Code-in winners Nji Collins and Mira Yang “Code-In changed my view on computer sciences,” she says. “I was able to learn that I can do this. There’s definitely a stigma for girls in CS. But I found out that people will support you, and there’s a huge network out there.”
 One afternoon, while checking his email a few towns away, he discovered he’d been named a Code-In winner. He had been a finalist the year prior, when he was the only student from his school to compete. This year, he’d convinced a handful of classmates to join in.
“It wasn’t fun doing it alone; I like competition,” Collins, who learned how to code by doing his older sister’s computer science homework assignments alongside her, says. “It pushes me to work harder.”
Learn more about the annual Code-In competition .
By Carly Schwartz, Editor-in-Chief, Google Internal News
Source: After a “close call,” a coding champion 点赞closeafterCoding


--- layout: post author: Matthias Günther authorname: Matthias Günther title: GLOBAL CODE RETREAT 2011 IN BERLIN preview: I attended the Global Coderetreat event initialized by Corey Haines2. The general purpose of this event was to get a bunch of hackers together to implement Conway’s Game of Life. ---
I attended the Global Coderetreat1 event initialized by Corey Haines2. The
general purpose of this event was to get a bunch of hackers together to implement
Conway’s Game of Life.
As J. B. Rainsberger mentioned in his article about four elements of simple design, it is best to setup goals for your retreat to get most out of it. Here is a list of what I achieved in every section:
It was great to get so many people with so many different skills and mindsets together, exchange
experience and encouraging others to try something new. I will definitely have a closer look on
Lisp to enhance my Ruby style.


-quit -batchmode -executeMethod YourEditorScript.YourBuildMethod [-nographic]
or
-quit -batchmode -buildWindowsPlayer path/to/your/build.exe
or
-quit -batchmode -buildOSXPlayer path/to/your/build.app
Note: we make little to no attempt to detect conflicting arguments or arguments not suitable to the platform neither at configuration nor at runtime.
If the specified command line contains no -projectpath
argument, the plugin automatically adds one with the proper parameter (the workspace of the project on the target machine).
This is to make sure unity builds the proper project. Otherwise unity would reuse the last opened project. You can override it, but this hasn't been thoroughly tested.
See the official Editor command line arguments documentation.


Time Code ***1/2 rated R 97 minutes Screen Gems starring Xander Berkeley, Golden Brooks, Saffron Burrows, Viveka Davis, Richard Edson, Aimee Graham, Salma Hayek, Glenne Headly, Andrew Heckler, Holly Hunter, Danny Huston, Daphna Kastner, Patrick Kearney, Elizabeth Low, Kyle MacLachlan, Mia Maestro, Leslie Mann, Suzy Nakamura, Alessandro Nivola, Zuleikha Robinson, Julian Sands, Stellan Skarsgard, Jeanne Tripplehorn, Steven Weber written and directed by Mike Figgis
A Review by Akiva Gottlieb
The tagline for `Time Code' asks the viewer: `Who will you want to watch?' Considering my expectations going in to the film, a better question would be `Why will you want to watch?'  To add salt to an oozing flesh wound, his latest film, `Time Code', is shot on digital video and features a screen split into quadrants for the duration of its running time. In other words, I was expecting a `Blair Witch' headache to the fourth power, as directed by an elitist egomaniac. But the cinema often defies our expectations.
Films are rarely as provocative as `Time Code' is. Figgis gives us four pairs of eyes to witness a story told in real-time, on digital video, without edits and quick cuts. The plotline isn't half as fascinating as the project itself, and the best thing is that it's hard to care. `Time Code' tells a generic L.A. tale of sex, drugs, murder, greed and excess, but it's a tale that the viewer puts together in his own head, which makes the film a transcendent experience for some, a vomit-inducing mind-trip for others.
I chose to watch `Time Code' as a glimpse into the future of experimental cinema. This is the film that the Danish `purist' movement Dogma 95 has wanted for years. Figgis' film is structured in such a way that it's impossible for the viewer not to become engrossed in the storyline, no matter how phony the improvised dialogue and rehashed storyline may seem.
He is also blessed with a cast that feels up to the challenge. Few roles are as tough as the ones Figgis provides his actors with in this landmark production. In this film, the performances must be spot-on. No cuts, no editing, no bullsh*t. Stellan Skarsgard plays a movie mogul, Saffron Burrows (Figgis' wife) is his wife and Salma Hayek is his mistress who is engaged in a relationship with a woman played by Jeanne Tripplehorn.
The film revolves around one day in the office of Red Mullet Productions; the site of auditions for a new Hollywood film. It is a day shaken more by jealousy and revenge than by the earthquakes that occur every half-hour. The four-camera structure brings voyeurism to new heights, giving us a surveillance camera view into the personal crises of a group of wealthy, disconnected adults.
Is the quadruple screen tactic annoying? At times, yes. But it also makes `Time Code' an endlessly engrossing picture, because if one part of the screen is boring you, chances are that in another quadrant, something interesting is occurring. Figgis allows his viewers to pick and choose, making the film as close to interactive as possible.
I thought it would be hard for Mike Figgis to regain my respect, but he does so with one simple line, spoken in the film by Stellan Skarsgard. A young Russian filmmaker has come into the Red Mullet office to explain her next feature film, which sounds a lot like the basis of `Time Code'. Four cameras will follow different people and tell the same story.  It's a bravura moment of self-loathing that single-handedly apologizes for most of Figgis' career.
The most contrived plot element of `Time Code' is the earthquake, which was also used in Robert Altman's similar `Short Cuts' to tie the characters together. But in `Time Code', the earthquake seems like a metaphor. With `Time Code', Mike Figgis breaks new cinematic ground, and hopefully the aftershocks will be just as powerful.
Akiva Gottlieb<EMAIL_ADDRESS>http://pictureshow.8m.com
Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


My Biography
My name is Osaid Alhomedy, I am a mechanical engineer, I graduated back in 2020 from AHU, I am studying full stack web development with ASAC.I worked before at Indo-Jordan company as a trainee for about 6 months. My goal right now is to master web and software development in order to develop my ideas and bring them to life. In this course i found out that i like helping people with their problems more than actually coding 😜
Feel free to join my quiz to know me better. Click on "The Quiz" button
My top 10 Movies are :
- Shutter Island
- The Godfather
- Training Day
- Inception
- Django Unchained
- The Departed
- Scent of a Woman
- The Awakenings
- Se7en
- Donnie Brasco


Rodrigo Costa dos Santos, “Using PROM to Validate Process Model Similarity”, Postdoc, University of Coimbra, Portugal. (Supervisor: 2014-2015).
PhD students
João Carlos Palmela Pinheiro Caldeira, Agile Software Development Process Mining: Discovery, Conformance Checking and Enhancement, University Institute of Lisbon (ISCTE), (co-supervisor with Fernando Brito e Abreu), 2015-(ongoing).
Alexandre Furtado Fernandes, “Aprendizagem Ubíqua e Web Semântica no E-Learning”, PhD, University of Coimbra, Portugal, 2013-2017 (ongoing).
Kateryna Rybina, “Modelling the Live Migration Time of Virtual Machines”, Technical University of Dresden, Germany (external-supervisor with Alexander Schill), 2013-2016.
Konrad Voigt, “Semi-automatic matching of heterogeneous model-based specifications”, PhD, SAP Research CEC Dresden and Technical University of Dresden, Dresden, Germany. November 2011. (SAP Research/Industry supervisor: 2007-2009)
Matthias Winkler, “SLA management in the Internet of Services”, PhD, SAP Research CEC Dresden and Technical University of Dresden, Dresden, Germany. June 2010. (SAP Research/Industry supervisor: 2007-2009)
Délia Canha Gouveia, “Modeling and Analyzing the Quality of Service of Workflows using Petri Nets”, University of Madeira. (Supervision: 2007-2009).
Janez Hrastnik, “Improving business performance by applying knowledge management to process-oriented quality management”, University of Madeira. (Supervision: 2006-2008).
MSc students
Daniel Alberto Guedes Barrigas, CloudAid2, University of Coimbra, 2014.
Filipe João Vinagre Barata, SUnSET: On the suitability of USDL for service description – A case study of a telecom operator, University of Coimbra, 2013.
Jorge Araujo, SMS: Semantic Mashups of Linked-USDL Services, University of Coimbra, 2013.
Diana São Miguel, MOONRISE: Modeling Open Semantic Service Relationships, University of Coimbra, 2013.
Pedro Macedo, MAYBE: MEO EPG Content Enrichment with External Information, University of Coimbra, 2013.
Ricardo Lopes, LaNDLESS: Integrating Linked Data with Linked Services, University of Coimbra, 2013.
João Casalta Nabais, InTeligent: Interoperable Telecommunications ITIL-compliant Services Management System, University of Coimbra, 2013.
João Duro, ESOTERIC: Exploring domain specific industry verticals for USDL, University of Coimbra, 2013.
Fernando Miguel Barreira da Fonseca, Implementação do CMMI DEV-Nível 2 na ISA, Master Thesis (Bolonha), University of Coimbra, 2012. (Academic Supervisor)
Tiago Fael Matos, Plataformas de divulgação web e moveis, Master Thesis (Bolonha), University of Coimbra, 2012. (Co-supervisor)
Filipe Lourenço, Data-Warehousing Critical Software, Master Thesis (Bolonha), University of Coimbra, 2011. (Academic Supervisor)
Jorge Miguel Ribeiro Rama, Business Intelligence no Grupo PT, Master Thesis (Bolonha), University of Coimbra, 2010. (Academic Supervisor)
João Pedro Almeida e Mendes, HIS: e-health innovation systems, Master Thesis (Bolonha), University of Coimbra, 2010. (Academic Supervisor)
Marco Aurélio Godinho Borges, SilverLayer – Interface Multimédia para Catálogos Online, Master Thesis (Bolonha), University of Coimbra, 2009. (Academic Supervisor)
Ana Lisete Nunes Escórcio, Developing an Ontology for e-Tourism using the Zachman Framework, Master Thesis (Pré-Bolonha), University of Madeira, 2008. (Supervisor)
Miguel Bruno Lemos de Gouveia, Arquitectura Semântica para a Integração de Sistemas no Domínio do Turismo, Master Thesis (Pré-Bolonha), University of Madeira, 2008. (Supervisor)
Bruno José de Sales Caires, Transparent Access to Relational, Autonomous and, Distributed Databases Using Semantic Web and Service Oriented Technologies, Master Thesis (Pré-Bolonha), University of Madeira, 2007. (Supervisor)
Pre-Bologna BSc (equiv. MSc)
João Sobrinho, Advanced Applications for Management, Integration and Analysis of Medium/Small Companies, BSc, University of Madeira, 2006/07. (Supervisor)
Daniel Teixeira, Advanced Applications for Management, Integration and Analysis of Medium/Small Companies, BSc, University of Madeira, 2006/07. (Supervisor)
Eládio Miguel Ferreira Nóbrega, The SDS: Semantic Domain System, BSc, University of Madeira, 2006/07. (Supervisor)
Élio Feliciano Temtem Cró, The SDS: Semantic Domain System, BSc, University of Madeira, 2006/07. (Supervisor)
João Frederico Correia da Costa, GesTools – Sistema de gestão operacional e DataTools – Soluções de Gestão de Conhecimento, BSc, University of Madeira, 2006/07. (Supervisor)
Duarte Abreu, Semantic Workflow Management Systems, BSc, University of Madeira, 2005/06. (Supervisor)
Bruno Silva, Multi-Source Extractor/Wrapper for Semantic Dynamic Packaging, BSc, University of Madeira, 2005/06. (Supervisor)
Tobias Schmeing, Semantic Dynamic Packaging Applications, University of Duisburg-Essen, Germany, BSc, 2005/06. (Supervisor)
Toni Rodrigues, JXML2OWL – Java XML to OWL, BSc, University of Madeira, 2005/06. (Supervisor)
João Pedro Costa de Sousa Rosa, JXML2OWL – Java XML to OWL, BSc, University of Madeira, 2005/06. (Supervisor)
Martinho da Silva Correia, Web Services over Peer-to-Peer infrastructure, University of Madeira, 2004/05. (Supervisor)
José Miguel Rodrigues de Freitas, Poseidon: A tool for semi-automatic process design, BSc, University of Madeira, 2004/05. (Supervisor)
Luis Roberto Fernandes Faria, Poseidon: A tool for semi-automatic process design, BSc, University of Madeira, 2004/05. (Supervisor)


{% extends "base.html" %} {% block content %} Here is your image:
Name: {{ image_name }} Desc: {{ image_desc }} {% endblock %}


--- layout: post title: WikiLeaks.ca is Live! published: true --- Let's show uhmerica how it's done people.
http://wikileaks.ca


Woman hanged herself in boyfriend's flat after row over the phone
Katherine Ahn, 33, moved to Italy from Beaconsfield, Buckinghamshire, but took her own life last year as her boyfriend discovered her lifeless on his kitchen floor
by Sam Elliott, Stephanie Wareham, https://www.mirror.co.uk/authors/sam-elliott/, Joe MorganA young woman hanged herself in her boyfriend's Milan home after rowing with him on the phone.
Katherine Ahn moved to Italy to work as a personal assistant to a Chief Executive Officer, where she met her boyfriend, Yaniv Turgerman.
But in the days before her death, she resigned.

An inquest held in Beaconsfield, Buckinghamshire, where her body was repatriated for a funeral, heard evidence from Chief Executive Matteo Lei, who runs the medical technology firm.
Mr Turgerman had left the company a week before her death, and the coroner heard, shortly afterwards, she had emailed her resignation.
The bereaved boyfriend said: "I thought she was waiting for me in the dark, I thought it was quite sad.
"She was lying lifeless. I had a panic attack, I only remember trying to contact my former employer and friend.
"I left the apartment screaming asking for help."
Neighbour Salomence Concetta heard a man shouting "no, no, no, why did she do it" and rushed to his aid.
Mr Lai described Katherine as having an "exceptional work ethic with mood swings".
He said: "Her performance depended on her feelings. I received an email saying she was going to resign. She said she felt she wanted to go back to London to look after her parents."
Just before 9.30pm on September 14, 2018, Mr Lai received five phone calls from former employee and friend Yaniv Turgerman.
He said: "Katherine and Yaniv had a relationship but they always showed the highest professionalism.
"I managed to answer the fifth phone call, I thought it unusual trying to contact me so persistently. I said 'I am busy, is it urgent? Can I call you back,' but I heard sobbing and moaning.
"Soon after I heard 'why did you do this, how could you do this, no no no.'
"It seemed something very serious was happening to my friend."
Matteo was on the phone for eight minutes as he travelled to Mr Turgerman's property in Via Foppa, Milan.
The inquest heard that on Matteo's arrival, Yaniv told him he had been at Lake Como and came back to find his girlfriend dead. In his evidence, Yaniv said: "I worked as a consultant until September 7, 2018.
"I never lived with Katherine, she had the keys to my apartment. I went to Lake Como on September 13 and returned on September 14 at around 9.30pm. Before leaving for Como we had an argument over the phone.
"I did not pay attention, I was talking to my friends and she possibly took offence. She put the phone down. I was sorry about talking like this but she said she had a personal crisis."
Pathologist Dr Vera Morelli said her body had been there for some time before she was found.
The medical cause of death was confirmed as mechanical asphyxia due to hanging.
Senior coroner Crispin Butler concluded that Katherine died as a result of suicide.


The Box Model
CSS looks at HTML elements and organizes them into boxes on the page. CSS gives each HTML element its own box. These boxes can be either block-level boxes or inline boxes. Block-level boxes sit on their own line, while inline boxes sit next to surrounding text or adjacent inline boxes.
Source: http://wwwold.gsis.kumamoto-u.ac.jp/en/opencourses/ipf/10/images/box-08_English.png
Heading (e.g. h1, h2, etc.), paragraph (p), unordered and ordered list (ul and ol), and list item (li) HTML elements are all block-level boxes and start on a new line. Image (img), bold (b), and italic (i) HTML elements are examples of inline elements, which can share a line with each other. Block-level can be nested inside of one another, in which case the outer box is called the 'containing' or 'parent' element.
Static Positioning
Static, relative, absolute, and fixed are the four possible attributes of the position property. Elements are positioned by the static property by default, even if no position is defined. If the position is undefined for all elements, they will be placed according to the "normal flow" of the page. In the normal flow, elements are positioned according to the box model that I described at the beginning of this post. Block-level elements will start on a new line and will not share a line with any other elements, while inline-block elements will be placed one after another until the line is full.
Relative Positioning
Elements whose position is set to 'relative' move relative to where they would have been in the normal flow, depending on how you set the left, right, up, or down attributes. Moving elements in this way does not affect the position of surrounding elements.
Source: http://www.w3schools.com/css/css_positioning.asp
Absolute Positioning
Setting the position value to 'absolute' takes the element out of normal flow, and surrounding elements effectively ignore the 'absolute' element. The offset properties (top, bottom, right, left) specify the element's location relative to its containing element - not relative to its position in normal flow.
Fixed Positioning
Fixed positioning is really a subset of absolute positioning in which the element is removed from normal flow and affixed to the page so that as the user scrolls up or down the page, the element stays in place.


--- layout: post title: "My Week in Review" date: 2018-07-01 09:00:00 +0000 tags: image: https://s3.amazonaws.com/audreywatters/2018-07-01-grenoble.jpg imagecredits: https://www.flickr.com/photos/lodz_na_nowo/2636164372 ---
Icon credits: The Noun Project


Tablet of Vision:
Vision Guard Eranus? What was I thinking?
He must be the winged one I sensed before.


返回主页
Four Freedoms
引自Franklin Delano Roosevel(1941)
There are Four Freedoms.
Freedom of Speech
Freedom of Worship
Freedom from Want
Freedom from Fear
Roban Sphere
Retter2012 战略合作伙伴
美国正面管教协会（PDA） 注册认证讲师（(CPDPE)。
“快乐PD妈 家长课堂”，关注家庭教育的方方面面。
微信公众号：快乐PD妈（二维码）
Merkel deported 驱逐 a Palestinian girl (Free Migration), Regierung ohne Empathie. "Ich verstehe das ... Die politische Linie ist klar: Wer keine Chance auf Asyl (asylum) hat, soll Deutschland schnell wieder verlassen (leave). Geht Politik ohne Empathie?
There’s No Justice in This World. Not Unless We Make It. Tyrion Imp Lannister
十字路口的读经村
毒害中国家长的四句话
油画：洛克威尔（NormanRockwell）四大自由。这系列画作启发于美国第32任总统罗斯福1941年1月6日所发表的致77届国会咨文
The Four Freedoms is a series of four 1943 oil paintings by the American artist Norman Rockwell. The paintings—Freedom of Speech, Freedom of Worship, Freedom from Want, and Freedom from Fear. Franklin Delano Roosevelt said in Jan.1941.
"In the future days, which we seek to make secure, we look forward to a world founded upon four essential human freedoms.
The first is freedom of speech and expression—everywhere in the world.
The second is freedom of every person to worship God in his own way—everywhere in the world.
The third is freedom from want—which, translated into world terms, means economic understandings which will secure to every nation a healthy peacetime life for its inhabitants—everywhere in the world.
The fourth is freedom from fear—which, translated into world terms, means a world-wide reduction of armaments to such a point and in such a thorough fashion that no nation will be in a position to commit an act of physical aggression against any neighbor—anywhere in the world.
That is no vision of a distant millennium. It is a definite basis for a kind of world attainable in our own time and generation. That kind of world is the very antithesis of the so-called new order of tyranny which the dictators seek to create with the crash of a bomb."
Retter is Better, WE Create and Deliver Real Value!
做党和人民满意的好老师
King's Speech
“去美国化”
“中国版门罗主义”
有些族裔更平等？
version:1.0<EMAIL_ADDRESS>© retter2012.com


Manaple Offline Attendance Portal
Attendance Data Stored Offline:
No
Net Status:
Refresh
DO NOT CLOSE THIS WINDOW! IT WILL RESULT IN LOSING OF STORED DATA!!
Show
Hide
Stored Data
Send Data to Server
Name
Photo
Description
Sign in
Select Name:
In
Out


I love collecting and sharing basketball quotes.
Basketball quotes are terrific for motivating and inspiring coaches and athletes. Countless times I’ve recited various quotes to my players or fellow coaches and they always have a positive effect
As you go through the quotes below, I encourage you to write down any that inspire you. There will be quotes that seem to jump out of the screen at you because they make sense to your current situation and your basketball philosophy
The quotes are arranged alphabetically by the coach or player’s first name and then there’s large miscellaneous section at the end. If you don’t have time to go through the entire post make sure to bookmark this page and come back some other time. There’s a lot of gems that I know you’ll love reading.
I hope you enjoy the quotes!


Newton's divided differences interpolation polynomial calculator
Points:
+ Add point
- Remove last point
Divided Differences Table:
Interpolation Polynomial:


{% extends "email_alert_base.html" %}
{% block primary_text_1 %}
Your driving prohibition {{ prohibition_number }} issued on {{ date_of_service }} isn't in our system yet.
{% endblock %}
{% block primary_text_2 %}
We'll check for 3 days from the date the prohibition was served. The date we check is the
one you entered in the prohibition review application. Please be sure you entered
the date and prohibition number correctly.
When we find the prohibition, we'll send you an email with the next step to continue
the application process OR
If we don't find it, we'll send you an email advising you
to apply in-person at ICBC, select
ServiceBC locations, or an appointed agent.
{% endblock %}
{% block primary_3 %}{% endblock %}
{% block primary_4 %}{% endblock %}
{% block callout %}
You'll be notified if the prohibition can't be found.
{% endblock %}
{% block timeline %}apply.png{% endblock %}
{% block email_not_monitored %}{% include 'partials/call_appeals_registry.html' %}{% endblock %}


BINGER
V1.0
Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP
Class Hierarchy
Go to the textual class hierarchy
Generated by
1.8.16


\
we have a specialized pizza for every taste imaginable and every bite of it starts with locally sourced, hand picked ingredients.
Welcome to Jerry’s Pizzeria. We are located in the Eastern Townships in the College/University town of Lennoxville.We have been here for a long time (Est.1973), we plan on staying another 48 years to serve all the hungry patrons that love our food. The secret is in our sauce, pizza sauce that is. We specialize in pizza, the definition of a pizza says: Pizza is a traditional Italian dish consisting of a yeasted flatbread typically topped with tomato sauce and cheese and baked in a stone oven. It can also be topped with additional vegetables, meats, and condiments, and can be made without cheese We try and honor that definition,but you need to come and be your own judge. We don’t think you will be disappointed.
Our Menu!Menu of food items
We are located in the downtown area of Lennoxville. 106 rue Queen, Lennoxville QC. Canada We are open Everyday: Due to covid restrictions Monday to Sunday 11am – 9pm Give us a call or send us an email and we will get back to you as soon as possible!
Due to sudden increase that our suppliers have imposed lately on different numerous packaging materials. Especially, on aluminum we have decided to impose a tariff of 1$ dollar on every order (takeout and delivery) instead of increasing price on our product.


Library: date.js
Overview
No overview provided.
Constructors
Functions
Parse a string and convert it to a Date object.
If no format is passed, try a list of common formats.
If string cannot be parsed, return null.
Avoids regular expressions to be more portable.
parameters
| val | ||
| format |
Objects
Copyright (c)2005-2007 Matt Kruse (javascripttoolbox.com)
Dual licensed under the MIT and GPL licenses.
This basically means you can use this code however you want for
free, but don't claim to have written it yourself!
Donations always accepted: http://www.JavascriptToolbox.com/donate/
Please do not link to the .js files on javascripttoolbox.com from
your site. Copy the files locally to your server instead.
Modified by Mason Tang, SIMILE Project, 2007
- Changed behavior of format and parse for AM/PM, behavior of 'a' is now
bound to 'A', while 'a' will print a lowercase 'am/pm'.


We are located in the Bay area and would be glad to welcome you in our warn and friendly office. Feel free to reach out to us using the contact details in this section
123 Way 456 Street
Somewhere, USA
1<PHONE_NUMBER>
sales@greatidea.io


TOTP and vert.x
Time-based one-time passwords (TOTP) are a common security feature in Identity Providers (IdP). There are use cases beyond IdP, mine was "Understanding what it takes").
TOTP interaction
You have two phases: enrollment and use. During enrollment a secret is generated and (typically) presented as QR Code. A user points one of the many Authenticator apps to it and gets a numeric code that changes once a minute.
When you use it, you pick the current number and paste it into the provided field. The backend validates the correctness with some time leeway.
What it is not
Typically when enrolling you also get recovery codes, sometimes called scratch codes. They are NOT part of TOTP and implementation is site specific and not standardized. An implementer might choose to check your recovery codes when your TOTP fails or provide a separate interaction using those.
The initial confirmation, is actually the first instance of "use" and one could have a successful enrollment without it. This is depending on the implementation.
It isn't foolproof. An attacker could trick you into typing your TOTP code into a spoofed form or just hijack your session (cookie). That's why responsible web apps run a tight security with CSP and TLS (and once browser support is better Permission Policy)
Setting up a sample application
We need a landing page and its supporting files (css, js, png) served statically and 3 routes:
- request
- save
- verify
Using the vert.x Router that's a breeze:
public Router router(final Vertx vertx) {
final Router router = Router.router(vertx);
router.route().handler(BodyHandler.create());
router.post("/request")
.consumes(JSON)
.produces(JSON)
.handler(this::requestEnrollment);
router.post("/save")
.consumes(JSON)
.produces(JSON)
.handler(this::saveEnrollment);
router.post("/verify")
.consumes(JSON)
.produces(JSON)
.handler(this::verifyCode);
router.route().handler(StaticHandler.create());
return router;
}
The consumes
and produces
methods ensure that the framework would reject e.g a post that's not JSON and will produce the correct Content-Type header.
The static parts: HTML, CSS
The HTML and CSS is pretty simple and follows strict CSP by not polluting it with JavaScript.
<!DOCTYPE html>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index.css" />
<link rel="icon" type="image/ico" href="favicon.ico" />
<title>TOTP Demo</title>

TOTP Demo

Enroll or Login

<form id="totp">
eMail:
<input type="email" id="email" />
<button id="emailnext">Next</button>
</form>

© 2023 Notessensei
<template id="pwaitem">

</template>

The CSS is simple and can be found in this GIST
Static JavaScript
Since the only JS referenced to in the HTML is index.js
we need to ensure all the listening hooks are initialized there. I usually call that function bootstrap
and check the document state. If not ready, add it as an eventlistener otherwise just call it
const bootstrap = () => {
const emailNextButton = document.getElementById('emailnext');
emailNextButton.addEventListener('click', function (event) {
event.preventDefault();
checkUser();
});
};
if (document.readyState != 'loading') {
bootstrap();
} else {
document.addEventListener('DOMContentLoaded', bootstrap);
}
The checkUser
function will request a new secret and display the QR Code.
const checkUser = () => {
const email = document.getElementById('email');
showQR(email.value);
};
const showQR = (email) => {
document.body.style.cursor = 'wait';
fetch('/enroll/request', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ email })
})
.then((response) => {
if (response.ok) {
return response.json();
}
throw new Error(response.statusText);
})
.then((json) => {
const dataUri = json.dataUri;
const image = document.createElement('img');
image.setAttribute('src', dataUri);
image.setAttribute('id', 'totpimg');
updateForm(image, saveUser, 'Save secret');
})
.catch(console.error)
.finally(() => (document.body.style.cursor = 'default'));
};
There are three more functions updateForm
, verifyUser
and saveUser
which you can view in this GIST
Backend Java Code - requesting a QR Code
Luckily the heavy lifting is provided by Sam Stevens, so generating a secret and the QR is simple
static Map<String, String> secrets = new HashMap<>();
static final String EMAIL = "email";
static final String JSON = "application/json";
static final String CONTENT_TYPE = "Content-Type";
void requestEnrollment(RoutingContext ctx) {
final JsonObject body = ctx.body().asJsonObject();
final String eMail = body.getString(EMAIL);
getQRCode(eMail)
.onSuccess(dataUri -> {
JsonObject j = new JsonObject().put("dataUri", dataUri);
ctx.response().putHeader(CONTENT_TYPE, JSON);
ctx.end(j.toBuffer());
})
.onFailure(err -> endFailed(ctx, err));
}
void endFailed(RoutingContext ctx, Throwable e) {
JsonObject err = new JsonObject();
err.put("Status", "failed");
err.put("Error", e.getMessage());
ctx.response().putHeader(CONTENT_TYPE, JSON);
ctx.response().setStatusCode(400).end(err.encodePrettily(), "UTF-8");
}
static Future<String> getQRCode(final String key) {
Promise<String> promise = Promise.promise();
try {
SecretGenerator secretGenerator = new DefaultSecretGenerator(64);
String secret = secretGenerator.generate();
QrData data = new QrData.Builder()
.label(key)
.secret(secret)
.issuer("Guardian Service")
.algorithm(HashingAlgorithm.SHA256)
.digits(6)
.period(30)
.build();
QrGenerator generator = new ZxingPngQrGenerator();
byte[] imageData = generator.generate(data);
String mimeType = generator.getImageMimeType();
String dataUri = Utils.getDataUriForImage(imageData, mimeType);
secrets.put(key, secret);
promise.complete(dataUri);
} catch (Exception e) {
promise.fail(e);
}
return promise.future();
}
Backend Java Code - verifying
Verification is equally simple to implement.
void verifyCode(RoutingContext ctx) {
final JsonObject body = ctx.body().asJsonObject();
final String eMail = body.getString(EMAIL);
final String code = body.getString("code");
verify(eMail, code)
.onSuccess(v -> this.endOK(ctx))
.onFailure(err -> endFailed(ctx, err));
}
private void endOK(RoutingContext ctx) {
ctx.response().putHeader(CONTENT_TYPE, JSON);
ctx.response().end("{ \"Status\" : \"OK\" }", "UTF-8");
}
public static Future<Void> verify(final String key, final String code) {
Promise<Void> promise = Promise.promise();
if (secrets.containsKey(key)) {
final String secret = secrets.get(key);
TimeProvider timeProvider = new SystemTimeProvider();
CodeGenerator codeGenerator = new DefaultCodeGenerator(HashingAlgorithm.SHA256);
CodeVerifier verifier = new DefaultCodeVerifier(codeGenerator, timeProvider);
boolean successful = verifier.isValidCode(secret, code);
if (successful) {
promise.complete();
} else {
promise.fail("Code didn't check out");
}
} else {
promise.fail("No secret configured");
}
return promise.future();
}
In conclusion
- Adding TOTP enrollement is easy to achive
- the hard part (omitted here) is secure storage
- this is demo code, no persistence, limited error handling
Final warnings
This is demo code, you need to take care of authentication and securing the secrets.
This is not covered here, subject to a story to be told another time
As usual YMMV!
Posted by Stephan H Wissel on 07 February 2023 | Comments (0) | categories: Java vert.x


System Architect Symbol details for "Rejected Focus"
Established Focus (Class)
- Description:
"Focus For Further Activity" for which at least one intention has been attributed.
FFA/State (Generalization Node)
- Base Class:
"Focus For Further Activity"
- Definitions Used:
-
Focus For Further Activity (Class)
Focus For Further Activity (Class)
- Description:
"Property Qualifier" being an "Agent's" view of a "Subject Property" which may have attention
directed towards it.
reason for (Association)
- From Class:
"Reason For Rejection"
- To Class:
"Rejected Focus"
- From Class:
"Reason For Rejection"
- To Class:
"Rejected Focus"
Reason For Rejection (Class)
- Description:
"Category" capable of classifying rejected "Activities", "Foci" and "Intentions".
- Comment:
-
Attribute in CBS v2.
Extended to cover foci & intentions as well as activities.
Rejected Focus (Class)
- Description:
"Focus For Further Activity" which was initially decided to be a "Relevant Focus" but which is not
now so considered.
- Comment:
Previously known as "Discarded" but name changed to make it consistent.
Relevant Focus (Class)
- Description:
"Focus For Further Activity" indicating that there is an intention to change or address a "Subject
Property".
- Comment:
-
Old definition was "Subject Property" for which there is an intention to change. Changed this to be
in line with other states.
Suggest change name to "Focus Under Consideration".


|
Checklist Justice on The
Jury
by Paul Bergman
The Jury is an hour-long TV drama that debuted in June
2004. Its interesting premise is to focus on jury deliberations
and flash back to events and bits of testimony as jurors refer
to them. The opening episode did not stay entirely true to its
premise. For example, we see the lawyers plea bargaining even
though this of course occurs outside the jurors' presence. And
in what to me was the biggest copout, after the verdict is in
we see what really happened. Nevertheless, the show is a creative
effort to make viewers feel a part of a jury, and it backs the
effort up by inviting viewers to cast votes by phone (and perhaps
website) before the show ends.
I'll
first focus on a couple of the dramatic elements. I was bothered,
as I usually am, by the rapid cuts from one juror to another
and from a juror to testimony or to a quick glimpse of events.
As a result, for me the deliberations consisted too often of
exchanges of sound bites and not real opinions. Also, while
the judge, court personnel and attorneys will apparently carry
over from one episode to the next, I understand that each episode
will focus on a different group of jurors. As I watched, it
occurred to me that it might be interesting to see how the same
jurors would react to entirely different sets of facts. That
would enable us as viewers to identify more strongly with particular
characters and to see how jurors' experiences and philosophies
react in a variety of factual settings.
The case about which the jurors
deliberated was carefully constructed so that almost any inference
one juror put forward could be countered by an equal and opposite
inference. For example, one juror mentions that an argument
between the defendant and the shooting victim during a pickup
basketball game furnished a motive for the defendant to deliberately
shoot the victim. Another juror's quick riposte to the comment
is along the lines of "I'd argue all the time when playing
sports- that doesn't mean I was going to kill anyone."
The result for me was that
the show had a checklist feel to it. Need a motive-- check.
Need to be able to undermine the motive-- check. Need the defendant's
fingerprints on the gun-- check. Need to show that it was possible
that the defendant's two friends might have fired the fatal shot--
check. What this checklist approach eliminated almost entirely
was the "value added" of the lawyers. Any decent trial
attorney would package the disparate factual elements into a
narrative structure that explained what happened, why it happened
and how it happened. For example, I don't recall any juror mentioning
how long before the shooting the pickup game argument took place,
and without that information the jurors cannot formulate or accept
a story about the pickup game argument providing a motive for
the shooting. This episode of The Jury, perhaps owing
to its format, is almost entirely narrative-free. Indeed it's
an anti-story, with pieces of testimony and glimpses of events
present only to offset each other.
I also don't recall any juror
saying the words "reasonable doubt." Can the defense
lawyer have done such a bad job during the trial that none of
the jurors talked about reasonable doubt during the deliberations?
Maybe. The defendant was shown testifying, and given the weaknesses
in the prosecution's case I would think any defense attorney
would have walked over hot coals in an effort to persuade the
defendant not to testify. But this was a reasonable doubt case
from the get-go, and the lack of attention to it during the deliberations
reflects the anti-narrative weakness of the episode.
The Jury has potential and I wish it well.
Let's hope the network doesn't file a Motion to Dismiss.
Posted July 8, 2004
|