Table of Contents
The NVIDIA Linux driver includes support for the suspend (suspend-to-RAM) and hibernate (suspend-to-disk) system power management operations, such as ACPI S3 and S4 on the x86_64 platform. When the system suspends or hibernates, the NVIDIA kernel drivers prepare in-use GPUs for the sleep cycle, saving state required to return these GPUs to normal operation when the system is later resumed. The NVIDIA Linux driver also supports S0ix-based s2idle system suspend (suspend-to-idle), if both the platform and the NVIDIA GPU support it.
The GPU state saved by the NVIDIA kernel drivers includes allocations made in video memory. However, these allocations are collectively large, and typically cannot be evicted. Since the amount of system memory available to drivers at suspend time is often insufficient to accommodate large portions of video memory, the NVIDIA kernel drivers are designed to act conservatively, and normally only save essential video memory allocations.
The resulting loss of video memory contents is partially compensated for by the user-space NVIDIA drivers, and by some applications, but can lead to failures such as rendering corruption and application crashes upon exit from power management cycles.
To better support power management with these types of applications, the NVIDIA Linux driver provides a custom power management interface intended for integration with system management tools like systemd. This interface is still considered experimental. It is not used by default, but can be taken advantage of by configuring the system as described in this chapter.
The NVIDIA Linux driver supports the suspend and hibernate power management operations via two different mechanisms. In this section, each is summarized briefly with its capabilities and requirements:
Kernel driver
callback
When this mechanism is used, the NVIDIA kernel driver receives callbacks from the Linux kernel to suspend, hibernate, and to resume each GPU for which a Linux PCI driver was registered. This is the default mechanism: it is enabled and used without explicit configuration.
While this mechanism has no special requirements, yields good results with many workloads, and has been supported by the NVIDIA kernel driver in similar form for years, it suffers from a few limitations. Notably, it can only preserve a relatively small amount of video memory reliably, and it cannot support power management when advanced CUDA features are being used.
/proc/driver/nvidia/suspend
Instead of callbacks from the Linux kernel, this mechanism, when
used, relies on a system management tool, such as
systemd, to issue
suspend, hibernate, and resume commands to the NVIDIA kernel driver
via the /proc/driver/nvidia/suspend
interface. It
is still considered experimental, and requires explicit
configuration to use.
 It supports power management with advanced CUDA features (such as UVM), and it is capable of saving and restoring all video memory allocations.
To save potentially large portions of video memory, the NVIDIA driver supports the following two methods:
Save
allocations in an unnamed temporary file
The NVIDIA driver uses an unnamed temporary file to save
potentially large portions of video memory. By default, this file
is created in /tmp
during system
suspend. This location can be changed with the TemporaryFilePath
nvidia.ko kernel module
parameter, e.g. TemporaryFilePath=/run
. The destination
file system needs to support unnamed temporary files, and it needs
to be large enough to accommodate all the utilized video memory
copies for the duration of the power management cycle.
When determining a suitable size for the video memory backing
store, it is recommended to start with the overall amount of video
memory supported by the GPUs installed in the system. For example:
nvidia-smi -q -d MEMORY |grep 'FB
Memory Usage' -A1
. Each Total
line returned by this command
reflects one GPU's video memory capacity, in MiB. The sum of these
numbers, plus 5% of margin, is a conservative starting point for
the size of the video memory backing store.
Please note that file systems such as /tmp
and /run
are
often of the type tmpfs
, and
potentially relatively small. Most commonly, the size of the type
of the file system used is controlled by systemd. For more information, see
https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems.
To achieve the best performance, file system types other than
tmpfs
are recommended at this
time.
Additionally, to unlock the full functionality of the interface,
the NVIDIA Linux kernel module nvidia.ko
needs to be loaded with the
NVreg_PreserveVideoMemoryAllocations=1
module parameter. This changes the default video memory
save/restore strategy to save and restore all video memory
allocations. Also, the /proc/driver/nvidia/suspend
power
management mechanism (with a system management tool, such as
systemd) is required
for using this interface.
S0ix-based
power management
If both the platform and the NVIDIA GPU support S0ix-based power management, then the NVIDIA Linux driver will put the GPU video memory in self refresh mode during s2idle system suspend. S0ix-based suspend will consume more power than legacy S3 system suspend, but it will enter and exit suspend/resume more quickly. Also, the suspend/resume latency will be constant irrespective of GPU video memory usage.
To check the platform S0ix state support and required configuration, follow the steps mentioned in how-achieve-s0ix-states-linux
To check if the NVIDIA GPU has support for S0ix-based power management, install the NVIDIA driver and run the following command:
grep 'Video Memory Self Refresh'
/proc/driver/nvidia/gpus/<Domain>:<Bus>:<Device>.0/power
For example:
grep 'Video Memory Self Refresh'
/proc/driver/nvidia/gpus/0000\:01\:00.0/power
If both the platform and the GPU support S0ix-based power
management, then the S0ix support can be enabled in the NVIDIA
Linux driver by setting the nvidia.ko
kernel module parameter
NVreg_EnableS0ixPowerManagement
to "1". With NVreg_EnableS0ixPowerManagement
set to "1"
and system suspend state set to s2idle, the NVIDIA Linux driver will
calculate the video memory usage at system suspend time.
During the S0ix suspend, if video memory usage is less than a certain threshold, then the driver will copy video memory contents to system memory and power off the video memory along with the GPU. This will help in saving power.
During the S0ix suspend, if video memory usage is above a certain threshold, then the video memory will be kept in self-refresh mode while the rest of the GPU is powered down.
By default, this threshold is 256 MB and it can be changed with
the NVreg_S0ixPowerManagementVideoMemoryThreshold
module parameter of nvidia.ko
.
All the module parameters can be set on the command line when
loading the NVIDIA Linux kernel module nvidia.ko
, or via the distribution's kernel
module configuration files (such as those under
/etc/modprobe.d).
This section is specific to the /proc/driver/nvidia/suspend
interface. This is
required if using the NVreg_PreserveVideoMemoryAllocations=1
kernel module parameter or advanced CUDA features (such as UVM).
The NVIDIA Linux kernel driver requires no configuration if the
default power management mechanism is used.
In order to take advantage of the /proc
interface, a system management tool like
systemd needs to be
configured to access it at appropriate times in the power
management sequence. Specifically, the interface needs to be used
to suspend or hibernate the NVIDIA kernel drivers just before
writing to the Linux kernel's /sys/power/state
interface to request entry into
the desired sleep state. The interface also needs to be used to
resume the NVIDIA kernel drivers immediately after the return from
a sleep state, as well as immediately after any unsuccessful
attempts to suspend or hibernate.
The following example configuration documents integration with the systemd system and service manager, which is commonly used in modern GNU/Linux distributions to manage system start-up and various aspects of its operation. For systems not using systemd, the sample configuration files provided serve as a reference.
The systemd
configuration uses the following files, all of which are provided
in /usr/share/doc/NVIDIA_GLX-1.0/samples
:
/etc/systemd/system/nvidia-suspend.service
A systemd service
description file used to instruct the system manager to write
suspend
to the /proc/driver/nvidia/suspend
interface immediately
before accessing /sys/power/state
to
suspend the system.
/etc/systemd/system/nvidia-hibernate.service
A systemd service
description file used to instruct the system manager to write
hibernate
to the /proc/driver/nvidia/suspend
interface immediately
before accessing /sys/power/state
to
hibernate the system.
/etc/systemd/system/nvidia-resume.service
A systemd service
description file used to instruct the system manager to write
resume
to the /proc/driver/nvidia/suspend
interface immediately
after returning from a system sleep state.
/lib/systemd/system-sleep/nvidia
A systemd-sleep
script file used to instruct the system manager to write
resume
to the /proc/driver/nvidia/suspend
interface immediately
after an unsuccessful attempt to suspend or hibernate the system
via the /proc/driver/nvidia/suspend
interface.
/usr/bin/nvidia-sleep.sh
A shell script used by the systemd service description files and the
systemd-sleep file to
interact with the /proc/driver/nvidia/suspend
interface. The script
also manages VT switching for the X server, which is currently
needed by the NVIDIA X driver to support power management
operations.
Each of these files needs to be installed to their intended
target location as root
,
e.g.:
sudo install
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia-suspend.service
/etc/systemd/system
sudo install
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia-hibernate.service
/etc/systemd/system
sudo install
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia-resume.service
/etc/systemd/system
sudo install
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia
/lib/systemd/system-sleep
sudo install
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia-sleep.sh
/usr/bin
The NVIDIA systemd services then need to be enabled:
sudo systemctl enable
nvidia-suspend.service
sudo systemctl enable
nvidia-hibernate.service
sudo systemctl enable
nvidia-resume.service
This section is specific to the /proc/driver/nvidia/suspend
interface, when
configured as described above. When the default power management
mechanism is used instead, or when the /proc
interface is used without
systemd, then the use
of systemctl
is not
required.
To suspend (suspend-to-RAM) or to hibernate (suspend-to-disk), respectively, use the following commands:
sudo systemctl suspend
sudo systemctl hibernate
For the full list of sleep operations supported by systemd, please see the systemd-suspend.service(8) man page.
On some systems, where the default suspend mode is "s2idle"
, the system may not resume properly due
to a known timing issue in the kernel. The suspend mode can be
verified by reading the contents of the file /sys/power/mem_sleep
. The following upstream
kernel changes have been proposed to fix the issue:
<EMAIL_ADDRESS><EMAIL_ADDRESS>In the interim, the default suspend mode on the affected systems
should be set to "deep"
using the
kernel command line parameter "mem_sleep_default"
-
mem_sleep_default=deep


Data table sorting feature allows the user to order data on initial load and as well as by clicking on the sortable column headers (with sort indicator icon). This feature can be used with all types of data binding technique described in data binding section.
Ornamentum data table also supports powerful Multi-Column Sorting and Sorting Expressions, which are demonstrated below in detail.
Three sorting directions are supported:
Sorting is disabled by default. It can be enable by setting the [sortable]
input property
true
in any target <ng-data-table-column>
component.
There are additional input properties which can be used with [sortable]
input property to override
default behaviors.
Below listed properties can be used to change the default behaviours of the sorting functionality.
sortOrder: 'asc' | 'desc' | ''
Default Value: ''
Target Component: <ng-data-table-column>
The default sort order to be applied on initial load can be overridden by setting an explicit sort direction via
[sortOder]
input property. This value is applicable only when sorting is enabled.
sortField: string
Default Value: 'same column field name'
Target Component: <ng-data-table-column>
Sort Field can be overridden by providing a different column field name which is available in the data source, by default sort field value is same as the column name. However, there can be instances where you should use a different field to sort data (i.e: Use ID field to sort). It is not required to have this field available in data table column list hence, it should be available in data source. This value is applicable only when sorting is enabled.
multiColumnSortable: boolean
Default Value: false
Target Component: <ng-data-table-column>
Multi column sortable can be used only inside the data table global level configuration. If multi column sortable is been enabled, data sorting will be processed based on the previously preserved sorting order.
This feature enables to perform column data sorting in the server side. Also all the attributes mentioned in the Useful Properties section can be used in this nature as well.
Server-side single sorting can be enabled by simply setting sortable
property in to value true,
when Server-side Data Binding technique is used.
This feature will enable to perform the same behaviour mentioned in the Multi Column Sortable, in the server-side.


add Standalone Tab 1
webStandalone Tab 1 has an explicit Content
Content 1Content 2settings Advanced Options
Tab contents are dynamic and it is using templates via implicity mode.
Switch to Tab 1Toggle Group 2
Change wrap mode:
report Standalone Tab 2 with very very long label
Standalone Tab 2 has an explicit Content
Second Group
Content 1Content 2
TplThird
Tab 3 with implicit content
add Standalone Tab 1
webStandalone Tab 1 has an explicit Content
settings Advanced Options
Tab contents are dynamic and it is using templates via implicity mode.
Switch to Tab 1Toggle Group 2
Change wrap mode:
Disabled tab
Never seen content
Inactive tab
This tab is inactive
Read-only tab
This tab is read-only
Read-only & Inactive tab
This tab is read-only and inactive
Second Group
Content 1Content 2
TplThird
Tab 3 with implicit content


Warning: refreshing with these settings could result in very long load times. Please consider reducing the number of games and/or streams.


We have more than a 20-year track record bringing
the world’s finest food and beverage brands
to Vietnam.
We represent for the
sweet industry
of
England
throughout
173 years
of development
Our food experts carefully select the suppliers we work
with to guarantee product
traceability
and offer you
high-quality
and
fresh products.
CAND
SODA
We are committing to reward our
customers
and thank them for their
loyalty.
We are continuously improving our
services
by
considering our
customer's feedback.
16-18 Hai Ba Trung, Dist.1, HCMC
0902 668 876 / 0902 333 510
<EMAIL_ADDRESS>Operation hours:
Mon – Sun: 7:00 AM – 5:00 PM


• Instagram Ads Team
• News Feed Growth Team
• Collaborated in building a mobile DSP infrastructure scaled for 1000 ad campaigns on both frontend (AngularJS) and backend (Go).
• Launched an Android, iOS, Unity, and JavaScript SDK for mobile event tracking using RESTful API (Moloco VAN).
• Built an internal chat bot for campaign management with ad-hoc features such as summarizing KPIs from cloud database (BigQuery).
• Automated and simplified over 35% of the campaign operation work flow by scripting tools such as price model generator.
• Developed various machine learning based prediction models using raw data scraped from the MLB Gameday website using R and Python.
• Designed unique features, automated the model training process, and simplified cross-validation and ROC analysis for evaluations.
• Created an API for predicting the next pitch ball type using pre-trained models for MLB team managers.
• Designed a baseline prediction model for legal analytics in judicial decisions made in U.S. Court of Appeals for the Federal Circuit.
• Built data ETL pipelines for constructing a relational database from world-wide-web, legal documents, and existing databases.
• Intro to Machine Learning (Jan 2017 ~ May 2017)
• Data Structures (Sept 2016 ~ Dec 2016)
• Oral Presentations (Jan 2016 ~ Dec 2016)
• Wrote an optimization program in JavaScript for visualization of a network of multi-dimensional-nodes on HTML Canvas.
• Devised functions for producing optimized coordinates for each node and edge curve point by calculating collisions and noise levels.
• Served as a military demolitionist in the Engineering Battalion of the 21st infantry division for 2 years.
• Awarded the Best Squad Leader award from division commander during 2015 spring training camp.
• Assorted product sales data (~$3.5billion/yr) from the database, conducting linear regression analysis using Excel for sales projections.
• Summarized recent sales trends, estimated future revenues, and identified potential target clients (sales flux over 15%) using pivot tables, creating a business report along with graphical models to represent the performance of company products and sales teams on weekly basis.
Computer Science, Applied Mathematic & Statistic Major
Social Dating Matching Prediction
Modeled classification predictor using Speed Dating Experiment of 21 waves to classify dating candidates as potential or non-potential match based on demographic attributes and partner preferences using three different classification algorithms (Perceptron, SVM, KNN).


---
layout: default
title: About Me
---
My name is Walter Dempsey; I work in the areas of applied and theoretical statistics, and more recently on various machine learning and data science problems.
Contact
Email<EMAIL_ADDRESS>- Mailing address:
- Harvard University
- Department of Statistics
- Science Center 400 Suite
- One Oxford Street
- Cambridge, MA 02138-2901
Research Interests
My research interests are in developing and analysing methods for
joint modeling of longitudinal and time-to-event data. I have also
worked on mathematical statistics problems related to notions
of exchangeability for survival processes as well as network
modeling. More recently, I have begun work on just-in-time
adaptive interventions with applications in mHealth.
Bio
I am a postdoctoral researcher in the
Department of Statistics
at Harvard University ,
starting August 2017. Before that, I was a postdoc at University of Michigan.
I received my PhD in Statistics at the University of Chicago in 2015,
advised by
Peter McCullagh .
Prior to graduate school, I worked in the Financial Strategy
Group in the Investment Banking Division at Citi.


--- layout: post permalink: artscow.html Tags: Array NameOfCoupon: Arts Cow Cash Back Summary: See our Arts Cow Coupon Code, Arts Cow Rebate, Arts Cow Promo Code, Arts Cow Discount, Arts Cow Coupon Cash Back Rebate here. MetaKeywords: Arts Cow Coupon Code, Arts Cow Rebate, Arts Cow Promo Code, Arts Cow Cash Back Rebate, Arts Cow Discount, Arts Cow Coupon Image: images/13830.jpg LinkURL: http://www.shareasale.com/r.cfm?b=91849&u=412002&m=13830 affiliate_url_link: http://www.icouponblog.com/jane.php?id=1717 thesis_readmore: See the Arts Cow Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=artscow.com Title: Save $0 - Arts Cow Coupon Code for artscow.com. Arts Cow Rebate & Discount thesis_description: Our Arts Cow Discount Coupon Code for artscow.com. We have the best Arts Cow Rebate anywhere. thesis_keywords: Arts Cow, Arts Cow Coupon Code, Arts Cow Discount, Arts Cow Rebate product_name: Arts Cow hop_url: http://www.icouponblog.com/hop.php?id=1717 ---
Freeze all of your most cherished memories in time. Instead of shoving your favorite photos into albums and drawers, find new and creative ways to print your images. Let Arts Cow help you. Arts Cow provides unique and innovative photo printing solutions. You’ll love printing your family photos on blankets, cards and stationery. You can even print pictures and customize your notebooks. Arts Cow will easily become your pick when it comes to making crafty photo displays.
No matter what the occasion, you’ll easily find presents and gifts for all your friends and family. Arts Cow allows you to print your photos on bags of different shapes and sizes. You can also print them on canvas and in photo books. Have pictures of recent family beach vacation? Print them on beach umbrellas and flip flops. You can also use your Arts Cow Coupon to save money on all your Arts Cow purchases.
Whether you’re shopping for graduation, anniversary, birthday or any other type of presents, you’re sure to find something unique and personal with Arts Cow. Or if you just want to pick up special prints for your own home, remember to shop only Arts Cow. Also, don’t miss out on the wonderful savings that await you with the Arts Cow Coupon. Just click to shop Arts Cow and access your Arts Cow Discount. You’ll be glad you did!


DENISE CALLS UP A film review by Ben Hoffman Copyright 1996 Ben Hoffman
This is an original way of telling the story of how many relationships are started and conducted today. We are talking about the computer age, BBSing, e-mail, and the telephone. We talk to each other, we get to know each other real well, all because of the anonymity the computer communication allows. Because of that daily contact and "conversation" there is little we eventually do not know about the other party/parties, nor they about us except what they look like.
Denise (Alanna Ubach) is on the phone constantly, frequently interrupted by Call Waiting. So are Frank (Tim Daly), Barbara (Caroleen Feeney), Martin (Dan Gunther), Gale (Dana Wheeler Nicholson), Jerry (Liev Schreiber) and Linda (Aida Turturro). The whole film is about talking, gossiping, rumors, constant interruptions with Call Waiting, more ringing.
The conversations lead to intimate relationships, never consummated; they don't even meet but can they ever talk. And what they talk about is usually utter trivia until we learn that one of the women has become pregnant via a sperm donor.
The film opens the morning after a party, tables laden with food because no one showed up last night. . . but they all have great excuses. The fact is everyone is afraid to meet in person; keeping it a phone thing is more relaxing and make believe than the real tbing may turn out to be. Every time something is arranged, such as a lunch, no one shows up.
Having experienced on my computer much of what goes on in the film (even if it is exaggerated with dramatic license), I can vouch for its authenticity. I mean it COULD happen and among the millions who are on BBSes and Internet's e-mail, it surely happens many, many times a day. It would have been perfect if the film left out the telephone and somehow utilized the computer for the whole film but that may have been too tricky to accomplish as a movie. Nevertheless, especially to those of us who love our computer communicating, this is a film not to be missed. It's billed as a "cyber-comedy."
Directed by Hal Selwen
3 Bytes
4 Bytes = Superb 3 Bytes = Too good to miss 2 Bytes = Average 1 Byte = Save your money
Ben Hoffman
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


Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
D
E
F
G
I
M
P
S
T
V
S
setAudioAttributes(AudioAttributes)
- Method in class it.sauronsoftware.jave.
EncodingAttributes
Sets the attributes for the encoding of the audio stream in the target multimedia file.
setBitRate(Integer)
- Method in class it.sauronsoftware.jave.
AudioAttributes
Sets the bitrate value for the encoding process.
setBitRate(Integer)
- Method in class it.sauronsoftware.jave.
VideoAttributes
Sets the bitrate value for the encoding process.
setChannels(Integer)
- Method in class it.sauronsoftware.jave.
AudioAttributes
Sets the channels value (1=mono, 2=stereo) for the encoding process.
setCodec(String)
- Method in class it.sauronsoftware.jave.
AudioAttributes
Sets the codec name for the encoding process.
setCodec(String)
- Method in class it.sauronsoftware.jave.
VideoAttributes
Sets the codec name for the encoding process.
setDuration(Float)
- Method in class it.sauronsoftware.jave.
EncodingAttributes
Sets the duration (seconds) of the re-encoded stream.
setFormat(String)
- Method in class it.sauronsoftware.jave.
EncodingAttributes
Sets the format name for the encoded target multimedia file.
setFrameRate(Integer)
- Method in class it.sauronsoftware.jave.
VideoAttributes
Sets the frame rate value for the encoding process.
setOffset(Float)
- Method in class it.sauronsoftware.jave.
EncodingAttributes
Sets the start offset time (seconds).
setSamplingRate(Integer)
- Method in class it.sauronsoftware.jave.
AudioAttributes
Sets the samplingRate value for the encoding process.
setSize(VideoSize)
- Method in class it.sauronsoftware.jave.
VideoAttributes
Sets the video size for the encoding process.
setTag(String)
- Method in class it.sauronsoftware.jave.
VideoAttributes
Sets the forced tag/fourcc value for the video stream.
setVideoAttributes(VideoAttributes)
- Method in class it.sauronsoftware.jave.
EncodingAttributes
Sets the attributes for the encoding of the video stream in the target multimedia file.
setVolume(Integer)
- Method in class it.sauronsoftware.jave.
AudioAttributes
Sets the volume value for the encoding process.
sourceInfo(MultimediaInfo)
- Method in interface it.sauronsoftware.jave.
EncoderProgressListener
This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
D
E
F
G
I
M
P
S
T
V


By default, Cook doesn't need any configuration file. But if you want to use other compiler than DMD, or specify path to compiler and linker, it is essential to write proper *.conf file.
Cook automatically detects and loads a configuration file. It should reside in project directory and have a name of the main module + ".conf" extension:
Main module/target: main Main module file: main.d Configuration file: main.conf
Configuration is a bunch of simple identifier/value pairs. Identifier is separated from value with a colon (:), pairs are separated from each other with semicolons (;). For values that include spaces, string syntax is supported ("some text").
Example:
identifier1: value1; identifier2: "some text here";
Cook has a number of identifiers that it understands internally:
source.language - language of the project. Default value is "d". This identifier is reserved for future use; source.ext - extension for source files, including the dot. Default value is ".d"; compiler - compiler to use. Default value is "dmd"; linker - linker to use. Default value is "dmd"; librarian - librarian to use. Default value is "lib" under Windows and "dmd" under Linux; cflags - compiler flags; lflags - linker flags; obj.path - where to store object files. Default value is "o_windows/" under Windows or "o_linux/" under Linux; obj.ext - extension for source files. Default value is ".obj" under Windows or ".o" under Linux; target - override default target name; rc - specify resource file; project.compile - override compilation command with your own one; project.link - override linking command with your own one; project.linklib - override library linking command with your own one. More identifiers could be added in future.
You can introduce any new identifiers you want. This is useful when using so called patterns. They allow you to use identifiers as "variables" directly in a value. Current syntax for this is %id%:
compiler: "gdc"; linker: "gdc"; cflags: "-fversion=Tango -fversion=Posix"; lflags: ""; project.compile: "%compiler% %cflags% -c %source% -o %object%"; project.link: "%linker% %lflags% -o %target% %objects%";
"source", "object" and "objects" are built-in identifiers representing current source file, object file and all object files list accordingly. They are meant to be read-only.
It is a quite common case when compilation parameters are not the same under different operating systems. Cook deals with it by supporting platform-specific identifiers that override "default" ones. They are preceded by platform specifier ("windows." and "linux.")
Here's the example - using custom path to DMD under Windows and Linux:
linux.compiler_dir: "/opt/dmd2-2.065.0/linux"; windows.compiler_dir: "C:/D/dmd2/windows"; linux.compiler: "%compiler_dir%/bin32/dmd"; linux.linker: "%compiler_dir%/bin32/dmd"; windows.compiler: "%compiler_dir%/bin/dmd"; windows.linker: "%compiler_dir%/bin/dmd"; linux.obj.path: "o_linux_dmd/"; windows.obj.path: "o_windows_dmd/"; cflags: "-O -release -inline -noboundscheck"; linux.project.compile: "%compiler% %cflags% -c %source% -of%object%"; windows.project.compile: "%compiler% %cflags% -c %source% -of%object%";


I worked with the Digital Corps to make an Educational App used by 3rd, 4th, and 5th graders in classrooms across Indiana. In a team of five designers and developers we made games, articles, and activities based on lesson plans about Indiana. We then made videos, games, articles, and other assets that coordinated with the lesson plans to teach kids about Indiana pioneers.
ROLE: Design, Coding, Illustration
TEAM MEMBERS: Head Designers: Sydney Patton, Grace Winiger DESIGNERS: Anna Weddle, Leah Callahan, Marisa Lozano, Reanna Miller
Awards: 2016 W3 Awards Gold Winner: "Family and Kids" 2016 W3 Awards Silver Winner: "Education"


[gecode-users] Bugs in Gecode/J
Malcolm Ryan
malcolmr at cse.unsw.edu.au
Wed Apr 16 13:37:14 CEST 2008
I've moved everything over to one of our Linux boxes and the problems
have changed. I'm now using the following java:
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
I'm getting intermittent crashes with the message:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x2f605c9f, pid=13779, tid=3084274576
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode linux-x86)
# Problematic frame:
# C [libgecodesearch.so.12+0x1c9f] _ZN6Gecode6Search3DFS4nextEv+0x2af
#
# An error report file with more information is saved as:
# /tmp_amd/adams/import/1/malcolmr/exps/aiide08/hs_err_pid13779.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I've attached the hs_err_pid*.log file. If you want to try it
yourself, there is a new jar file at:
http://www.cse.unsw.edu.au/~malcolmr/aiide08.jar.
I've made it automatically run one of the problematic experiments. So
all you need to do is:
jar -xf aiide08.jar Maps
java -cp aiide08.jar -Xmx2G exps.PatricksExperiment
Sometimes it runs fine. Sometimes it crashes. You may need to try it
10 times or so.
Malcolm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid13779.log
Type: application/octet-stream
Size: 16196 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080416/6bebe1b7/attachment.obj>
-------------- next part --------------
More information about the gecode-users
mailing list


A DDS VFO for the 80m single band transceiver, based on the DDS signal generator. The differences are in the firmware and in the band-pass output filter. With the 14-bit DAC of the AD9951, the signal should be clean enough for a local oscillator, without the need of a multi-loop frequency synthesizer:


[gecode-users] Immediate search failure
Christian Schulte
cschulte at kth.se
Wed Apr 29 00:33:42 CEST 2009
Hi Joe,
There are two things you can do:
1) Try to remove some constraints and see whether this gives you a
solution. Try to isolate the culprit.
2) Upgrade to 3.0 and read Modeling with Gecode: you are torturing
yourself for example with linear constraints, the document says how it's
done much easier (and hence, less bugs potentially)!
Cheers
Christian
--
Christian Schulte, www.it.kth.se/~cschulte/
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Joe Porter
Sent: Tuesday, April 28, 2009 11:03 PM
To: users at gecode.org
Subject: [gecode-users] Immediate search failure
What are the possible reasons for an immediate search failure? I've changed
something in my model, but I'm not sure what could be causing immediate
failures (using Gecode 2.2.0). Setup code is below, and the output is at
the bottom. This is solving a simple scheduling problem with a simple model
instance that I can solve by hand. According to the debug statements, the
model should be feasible. Or - maybe I've been looking at it for too
long...
Thanks,
-Joe
// CP Solver Engine
CPEngine::CPEngine( InstanceKeeper * pIK, unsigned long long min, unsigned
long long max ) :
vars( this, pIK->NumVars(), (int) min, (int) max ), // instantiate
constraint vars
latencies( this, pIK->NumLatencies()+1, 0, (int) 2 * max ),
lin_cstr(this, 1,0,1),
/* not used in this model */
sat_cstr(this, 1, 0, (int) pIK->GetNumLinearRelations() ), /* not used
in this model */
_pIK( pIK )
{
// All equality constraints
LinearRelation lrel;
bool loop = pIK->GetNextEqualityPair( lrel, true );
while (loop)
{
IntVarArgs v(2);
v[0] = vars[lrel.xvar];
v[1] = vars[lrel.yvar];
IntArgs a(2);
a[0] = 1; // 'x' of x = y + o
a[1] = -1; // 'y' of x = y + o
linear( this, a, v, IRT_EQ, lrel.offset );
cout << "Posted equality relation (x,y) = (" << lrel.xvar << "," <<
lrel.yvar << ") w/ offset " << lrel.offset << std::endl;
loop = pIK->GetNextEqualityPair( lrel );
}
// All inequality constraints
loop = pIK->GetNextInequalityPair( lrel, true );
while (loop)
{
IntVarArgs v(2);
v[0] = vars[lrel.xvar];
v[1] = vars[lrel.yvar];
IntArgs a(2);
a[0] = 1; // 'x' of x <= y + o
a[1] = -1; // 'y' of x <= y + o
linear( this, a, v, IRT_LQ, lrel.offset );
cout << "Posted inequality relation (x,y) = (" << lrel.xvar << ","
<< lrel.yvar << ") w/ offset " << lrel.offset << std::endl;
loop = pIK->GetNextInequalityPair( lrel );
}
// All duration constraints
DurativeVariable dv;
loop = pIK->GetNextDuration( dv, true );
while ( loop )
{
IntVarArgs v(1);
v[0] = vars[dv.xvar];
IntArgs a(1);
a[0] = 1;
linear( this, a, v, IRT_LQ, ((int)max) - dv.duration ); // don't run
over the end
cout << "Posted duration relation (x) = (" << dv.xvar << ") w/
length " << dv.duration << std::endl;
loop = pIK->GetNextDuration( dv );
}
// All serialization constraints
int ser_count = 0;
std::vector< DurativeVariable > vdv;
loop = pIK->GetNextSerialization( vdv, true );
while (loop) // && false)
{
IntVarArgs v( (int) vdv.size() );
IntVarArgs e( (int) vdv.size() );
IntArgs d( (int) vdv.size() );
cout << "Serializing (x,d): ";
for (unsigned int idx = 0; idx < vdv.size(); idx++ )
{
v[idx] = vars[vdv[idx].xvar];
d[idx] = (int) vdv[idx].duration;
e[idx].init(this,min,max);
cout << "(" << vdv[idx].xvar << "," << vdv[idx].duration << "),
";
}
cout << endl;
IntArgs height(v.size()), m(v.size());
for ( int idx = v.size(); idx--; ) { height[idx] = 1; m[idx] = 0
/*ser_count*/; }
cumulatives(this, m, v, d, e, height, 1, true );
loop = pIK->GetNextSerialization( vdv );
ser_count++;
}
// Instantiate latency variables here
std::vector< LatencyBound > vlb;
loop = pIK->GetNextLatencyBound( vlb, true );
while ( loop )
{
std::vector< LatencyBound >::iterator pLB = vlb.begin();
// First set up the range for the latency variables
rel( this, latencies[pLB->latvar], IRT_GQ, 1 );
rel( this, latencies[pLB->latvar], IRT_LQ, pLB->maxdist );
cout << "Latency (l) = (" << pLB->latvar << ") alternatives: ";
// Then define the relationship between the instances
// and the latencies
int k = 0;
BoolVarArgs bs(vlb.size());
for ( pLB = vlb.begin(); pLB != vlb.end(); pLB++ )
{
BoolVar b(this,0,1);
IntVarArgs v(2);
v[0] = vars[pLB->rcvrvar];
v[1] = vars[pLB->sendervar];
IntArgs a(2);
a[0] = 1; // 'x' of x = y + o
a[1] = -1; // 'y' of x = y + o
cout << "(s,r) = (" << pLB->sendervar << "," << pLB->rcvrvar <<
") ";
linear( this, a, v, IRT_EQ, latencies[pLB->latvar], b );
bs[k++] = b;
}
cout << endl;
linear( this, bs, IRT_GR, 0 ); // Force at least one of the
constraints in this collection to be true
loop = pIK->GetNextLatencyBound( vlb );
}
// Dummy latency in case there are no latencies in the spec!
// We have to branch on something!
rel( this, latencies[pIK->NumLatencies()], IRT_GQ, 1 );
rel( this, latencies[pIK->NumLatencies()], IRT_LQ, 1 );
cout << "Dummy latency (==1)" << endl;
// Do branching
branch(this, vars, INT_VAR_REGRET_MAX_MAX, INT_VAL_MED);
branch(this, latencies, INT_VAR_SIZE_MIN, INT_VAL_MAX ); // start with
max latency and work down
}
Domain size: 100000
Posted equality relation (x,y) = (0,1) w/ offset -20000
Posted equality relation (x,y) = (1,2) w/ offset -20000
Posted equality relation (x,y) = (2,3) w/ offset -20000
Posted equality relation (x,y) = (3,4) w/ offset -20000
Posted duration relation (x) = (4) w/ length 19 (0,max-19)
Posted duration relation (x) = (5) w/ length 57 (0, max-57)
Serializing (x,d): (0,19), (1,19), (2,19), (3,19), (4,19),
Dummy latency (==1)
Stats: Search Stats
Initial
propagators:<PHONE_NUMBER>
branchings:<PHONE_NUMBER>
Summary
propagations: 0
failures: 1
clones: 0
commits: 0
peak memory: 5 KB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090429/70c94ee1/attachment.htm>
More information about the gecode-users
mailing list


HOUSE OF WAX (director: André de Toth; screenwriter: from the play by Charles Belden/Crane Wilbur; cinematographers: Bert Glennon/J. Peverell Marley; editor: Rudi Fehr; cast: Vincent Price (Prof. Henry Jarrod), Phyllis Kirk (Sue Allen), Frank Lovejoy (Lt. Tom Brennan), Roy Roberts (Matthew Burke), Carolyn Jones (Cathy Gray), Paul Picerni (Scott Andrews), Charles Bronson (Igor), Ned Young (Leon Averill), Paul Cavanagh (Sidney Wallace), Dabbs Greer (Sgt. Shane), Angela Clarke (Mrs. Andrews), Reggie Rymal (Paddle-ball man); Runtime: 88; Warner Bros.; 1953)
Reviewed by Dennis Schwartz
A more conventional and not as absorbing remake of Mystery of the Wax Museum, 1933, made with the gimmick of 3-D (used in a fun way with novelty shots of a barker batting paddleballs in your face and a murderer jumping seemingly out at the audience). It also effectively used the special Warner Color process.
It is very competently filmed, and has plenty of chills and screams in it; such as--a woman being chased through the deserted city streets by the disfigured man in a cloak who murdered her best friend. Strangely enough, the film's director, André de Toth, lost the sight of one eye and therefore couldn't appreciate the effects of 3-D since he had no depth perception. This is also the film where Vincent Price made his mark as a villain figure in horror films and was typecast forever in that role.
Prof. Henry Jarrod (Price) is a genius sculptor of wax figures and has a small museum in the New York City at the turn of the century, where he's partners with a crass businessman, Matthew Burke (Roberts), who doesn't appreciate the aesthetic beauty of Jarrod's work. He wanted to make the museum more commercial by displaying a Chamber of Horrors, but Jarrod is only interested in creating real-life beauty from historical figures such as Marie Antoinette and Joan of Arc. Burke claims he wants more business revenues for his stake in the partnership and is anxious when Jarrod has arranged for wealthy art critic Sidney Wallace to have a private viewing at the museum. Wallace mulls over the prospects offered him by Jarrod to buy Burke out and become his partner, but Wallace says he can't make that decision until three months from now as he'll be away on a business trip.
This news isn't good for Burke, who decides not to wait but to burn the place down for the $25,000 insurance money. When Jarrod tries to stop him, he's overtaken by Burke and left to die in the museum. He escaped without being detected but is a disfigured and bitter man without the use of his hands, and has secretly started a new museum with his assistants Igor (Charles Bronson) and Leon (Young). He uses his pupils to steal bodies from the morgue and to do the sculpture work he can't do anymore. Igor is a deaf mute who does all the dirty work, while Leon does the sculpture under his master's direction. He's a parolee who was once a great artist but slid downhill because of his drinking problem. The biggest change in Jarrod, is that he has now turned into a monster who seeks revenge. He gets to Burke and hangs him, keeping his body as a wax figure of him in the museum. He has decided to use real people and pour wax over them to make his work look real. He starts a Chamber of Horrors by making a wax figure of the first man in New York to die in the electric chair, William Kemmler (August 6, 1890).  Cathy is now immortalized as the face of Joan of Arc.
Sue ends up living in the house of her mother's friend, Mrs. Andrews, and starts seeing her sculptor son Scott (Picerni). He's a friend of Wallace's and ends up working in Jarrod's cellar. When she believes that Joan of Arc is really Cathy, the police begin to take her seriously and investigate Jarrod.
Warning: spoiler to follow in the next paragraph.
The policeman investigating the murder of Burke, which took place a year ago, is Lt. Brennan (Lovejoy). He will come to the rescue of Sue and Scott in the cellar of Jarrod's museum, when he sweats it out of Leon what the insane genius is up to--that is to make Sue his next Marie Antoinette.
It was a decent enough horror film, as seen in this cable TV version of regular 2-D, but it lacked more sparks to it. It seemed to languor at points of its story, and its Grand Guignol characterization was too often wasted by touristy tours of the museum. They were interesting, but didn't add much to the story. All the creepiness comes from Price and Igor.
REVIEWED ON 9/6/2001 GRADE: B
Dennis Schwartz: "Ozus' World Movie Reviews"
http://www.sover.net/~ozus
<EMAIL_ADDRESS>© ALL RIGHTS RESERVED DENNIS SCHWARTZ
========== X-RAMR-ID: 29408 X-Language: en X-RT-ReviewID: 248223 X-RT-TitleID: 1010030 X-RT-SourceID: 873 X-RT-AuthorID: 1315 X-RT-RatingText: B
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


About Us
Courses
Rentals
Accommodation
Book Now
Contacts
First Name
Last Name
Course Type
Accommodation Type
Skill Level
Start Date
End Date
Age
E-Mail
Phone