| DOSE: |
1 tablet |
oral |
MDMA |
(pill / tablet) |
Its a week before my birthday and I'm in my 2nd semester at college. Im in a pretty good state of mind although this past week has been pretty stressful. In general im pretty experienced with psychoactive compounds and typicly take high dose's my first time with a substance. Three nights ago on friday myself and two good friends purchased what we were told were 4 triple stack sunshine's. At 12:00 we all took our pills but within 15 minutes I knew that it wasnt X. I could already feel a wounderful ball of gentile heat bloom in my torso then rapidy spred to my legs. At T plus 20 min I found it very difficult to even pack my bong, im so glad that I kept at it becasue that bong hit was the best one I have ever taken.
 When I opened my eyes again I noticed that what I saw with my eyes closed kind of transfered to what ever was in front of me, I also noticed a kind of ecstacy like body feeling, it felt ooooohhhhhhhhhhhhhhhhhhhhh sooooooooooooooo goooooood to touch my self anywhere on my body but I did not have those extream feelings of empathy and closeness associated with X, I mean there were some but very vey mild, something maybe like a 1/4 of a pill of X and a bong hit would make me feel.
All of this happened within the first hour and a half after injestion and only intesefied to the 3 hour mark. After that it was a very slow and fun drop of till about 8 in the morning and even then though I had no body buzz any more I still saw noticeable OEV's.
The only negatives to the experience were the jaw clenching, though not the worst I have ever had it by far, and the headache I was left with, though I will say 2 advil cleared that up quite nicely. When I awoke the next day my girlfriend was there and thats when I noticed another unexpected side effect, the sex we had when I woke up was some of the best sex I have ever had, ever sensation was intensified but even with that it lasted longer than is usual and the culminating orgasm was almost incapacitating (in the best possible way). All in all I plan on purchaseing some pure 2c-I in the near future to see if that is what I actually got because I loved whatever was in that beatiful little pill.
* as a side note I would like to say that even though all parties had an amazing time if we had split up the 4th pill we had things could have easily turned for the worse and probably would have if I hadnt noticed that we had taken what I thought to be a 2c compound, because we had originally planned to snort the last pill, which with anything with a steep dose/response curve can be very dangerous when you dont know how much of what is in the pill. With that said I strongly discourage misrepresenting a drug just to line your pockets or for any other reason it is dangerous and irresponsible and its things like that that cause overdoses and the enevitalbe news stories proclaming the rightouseness of the 'war on drugs' and the dangers to poor impresionable minds, which leads to more paranioa and ignorance so in essence not only are you hurting your own generation when you do something like that you strengthen the enemies argument and resolve..... Very foolish indeed.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends "customer/base.html" %} {% load static %} {% block content %}
Using This system Since life time
| Issue | Type | Status | Vendor Name(if done) | Date |
|---|---|---|---|---|
| Car Fixing | Engine | Done | Vendor 01 | 01/01/19 |
| Car Fixing | Engine | Pending | Not Taken | 01/01/19 |
| Car Fixing | Engine | Done | Vendor 01 | 01/01/19 |
| Car Fixing | Engine | Done | Vendor 01 | 01/01/19 |
| Car Fixing | Engine | Done | Vendor 01 | 01/01/19 |
| Vendor Name | Date | Type |
|---|---|---|
| ABC | 01/01/19 | Car Fixing |
| ABC | 01/01/19 | Computer Fixing |
| ABC | 01/01/19 | Electronic |
| ABC | 01/01/19 | Electronic |
| ABC | 01/01/19 | Electronic |


GradientCheck module¶
-
class
GradientCheck.
GCModel
(train_path, test_path, unit_test=False)¶ Bases:
Model.Model
Class implementation for cat model.
-
load_data
(train_path, test_path)¶ Loads the cata data given the paths.
Parameters: - train_path (str) – Training data file path.
- test_path (str) – Testing data file path.
Returns:
-
show_data
(index, size=6, X=array([], dtype=float64), Y=array([], dtype=float64))¶ Shows picture of a given index from a dataset and it’s label.
Parameters: - index (int) – Data sample to show.
- size (int) – Size of the image.
- X – X of dataset.
- Y – Y of dataset.
-
show_errors
(num_errors=5)¶ Shows the errors.
Parameters: num_errors – Number of errors to show. Returns:
-
transform_data
()¶ Transforms the original data so that they are normalized and samples are in rows and features are in columns. :returns: train_set_x_orig(ndarray): Transformed training data.
test_set_x_orig(ndarray): Transformed test data.Return type: tuple
-
-
GradientCheck.
unit_test
()¶ Runs the coursera unit test for the cat dataset.
This should print: This is a cat Accuracy is 98.5645933014% Accuracy is 80.0%


--- layout: home ---
Dedicated Server Controller for ManiaPlanet games by Ubisoft/NADEO!
eXpansion2 is based on Symfony components which allows a very modular structure.
Manialink generation is powered by steeffeen's Fancy Manialink's library, and we use some custom parts to inject maniascrips.


About Paul: A Guessing Game
Thank you for taking the time to play the guessing game! You will find the questions and answers below. If you would like to play again for a better score, simply refresh this page.
Questions
- Has Paul competed in over 5 different sports?
- Is Paul a "Certified Ethical Hacker" (CEH)?
- Are pineapples Paul's favorite pizza topping?
- Did Paul's father serve in the U.S. Navy?
- Is Paul's birthstone: emerald?
- Guess what number Paul's thinking of, from 1 to 10 inclusive.
- Which states would Paul like to move to at some point?
Answers
- Yes
- Yes
- No
- No
- Yes
- Random
- Correct States:
Additional Info About Paul
Education History
- Code Fellows
- Certificate
- Advanced Software Development in Full-Stack JavaScript
- Arizona State University
- Bachelor of Science
- Software Engineering
- Edmonds Community College
- Associate of Technical Arts
- Information Security and Digital Forensics
- Certificate
- Digital Forenics
- Network Security Specialist
Top Ten Favorite Movies
- Harry Potter and the Half-Blood Prince
- Jurassic Park
- Harry Potter and the Sorcerer's Stone
- Dracula Untold
- The Mummy
- Jumper
- The Matrix
- Van Helsing
- I, Robot
- Monty Python and the Holy Grail


| 1 | package nl.tudelft.jpacman.ui; | |
| 2 | ||
| 3 | import java.awt.GridLayout; | |
| 4 | import java.util.LinkedHashMap; | |
| 5 | import java.util.List; | |
| 6 | import java.util.Map; | |
| 7 | ||
| 8 | import javax.swing.JLabel; | |
| 9 | import javax.swing.JPanel; | |
| 10 | ||
| 11 | import nl.tudelft.jpacman.level.Player; | |
| 12 | ||
| 13 | /** | |
| 14 | * A panel consisting of a column for each player, with the numbered players on | |
| 15 | * top and their respective scores underneath. | |
| 16 | * | |
| 17 | * @author Jeroen Roosen | |
| 18 | * | |
| 19 | */ | |
| 20 | public class ScorePanel extends JPanel { | |
| 21 | ||
| 22 | /** | |
| 23 | * Default serialisation ID. | |
| 24 | */ | |
| 25 | private static final long serialVersionUID = 1L; | |
| 26 | ||
| 27 | /** | |
| 28 | * The map of players and the labels their scores are on. | |
| 29 | */ | |
| 30 | private final Map<Player, JLabel> scoreLabels; | |
| 31 | | |
| 32 | /** | |
| 33 | * The default way in which the score is shown. | |
| 34 | */ | |
| 35 | public static final ScoreFormatter DEFAULT_SCORE_FORMATTER = | |
| 36 | // this lambda breaks cobertura 2.7 ... | |
| 37 | // player) -> String.format("Score: %3d", player.getScore()); | |
| 38 | new ScoreFormatter() { | |
| 39 | public String format(Player p) { | |
| 40 |
1
1. format : mutated return of Object value for nl/tudelft/jpacman/ui/ScorePanel$1::format to ( if (x != null) null else throw new RuntimeException ) → SURVIVED |
return String.format("Score: %3d", p.getScore()); |
| 41 | } | |
| 42 | }; | |
| 43 | ||
| 44 | /** | |
| 45 | * The way to format the score information. | |
| 46 | */ | |
| 47 | private ScoreFormatter scoreFormatter = DEFAULT_SCORE_FORMATTER; | |
| 48 | ||
| 49 | /** | |
| 50 | * Creates a new score panel with a column for each player. | |
| 51 | * | |
| 52 | * @param players | |
| 53 | * The players to display the scores of. | |
| 54 | */ | |
| 55 | public ScorePanel(List<Player> players) { | |
| 56 | super(); | |
| 57 | assert players != null; | |
| 58 | ||
| 59 |
1
1. |
setLayout(new GridLayout(2, players.size())); |
| 60 | ||
| 61 |
3
1. 2. 3. |
for (int i = 1; i <= players.size(); i++) { |
| 62 | add(new JLabel("Player " + i, JLabel.CENTER)); | |
| 63 | } | |
| 64 | scoreLabels = new LinkedHashMap<>(); | |
| 65 |
1
1. |
for (Player p : players) { |
| 66 | JLabel scoreLabel = new JLabel("0", JLabel.CENTER); | |
| 67 | scoreLabels.put(p, scoreLabel); | |
| 68 | add(scoreLabel); | |
| 69 | } | |
| 70 | } | |
| 71 | ||
| 72 | /** | |
| 73 | * Refreshes the scores of the players. | |
| 74 | */ | |
| 75 | protected void refresh() { | |
| 76 |
1
1. refresh : negated conditional → SURVIVED |
for (Map.Entry<Player, JLabel> entry : scoreLabels.entrySet()) { |
| 77 | Player p = entry.getKey(); | |
| 78 | String score = ""; | |
| 79 |
1
1. refresh : negated conditional → SURVIVED |
if (!p.isAlive()) { |
| 80 | score = "You died. "; | |
| 81 | } | |
| 82 | score += scoreFormatter.format(p); | |
| 83 |
1
1. refresh : removed call to javax/swing/JLabel::setText → SURVIVED |
entry.getValue().setText(score); |
| 84 | } | |
| 85 | } | |
| 86 | | |
| 87 | /** | |
| 88 | * Provide means to format the score for a given player. | |
| 89 | */ | |
| 90 | public interface ScoreFormatter { | |
| 91 | | |
| 92 | /** | |
| 93 | * Format the score of a given player. | |
| 94 | * @param p The player and its score | |
| 95 | * @return Formatted score. | |
| 96 | */ | |
| 97 | String format(Player p); | |
| 98 | } | |
| 99 | | |
| 100 | /** | |
| 101 | * Let the score panel use a dedicated score formatter. | |
| 102 | * @param sf Score formatter to be used. | |
| 103 | */ | |
| 104 | public void setScoreFormatter(ScoreFormatter sf) { | |
| 105 | assert sf != null; | |
| 106 | scoreFormatter = sf; | |
| 107 | } | |
| 108 | } | |
Mutations | ||
| 40 |
1.1 |
|
| 59 |
1.1 |
|
| 61 |
1.1 2.2 3.3 |
|
| 65 |
1.1 |
|
| 76 |
1.1 |
|
| 79 |
1.1 |
|
| 83 |
1.1 |


First of all, thank you for spending your time participating in our user study. It should not take longer than 10 minutes to complete. Please, read carefully the instructions before you proceed with the survey.
How to do the task
In order to accomplish the following task successfully, you will have to select one of the two options, Icon A or Icon B, depending on which shape matches the Reference's Icon shape best. In some cases, neither A nor B will seem
similar in shape to the Reference; just try to make the best choice you can, and keep in mind that we are looking for shape similarity only (other aspects such as color, or style, should not be taken into account).
Selection example
Before you begin, we will show you two basic examples, with some justifications next to the suggested answers. Remember, we are focusing on the icons' shape only; the style, or any other properties of the icons should not influence
your decision.
- In Example 1, the obvious option would be A. Icon A has a cloud shape, exactly like the Reference, while Icon B has a dog shape, making it completly different to the Reference's one. The differences between the
Reference and Icon A are the rain drops and the lightning bolt, but overall it seems clear that A is still much closer in shape to the Reference than B.
- In Example 2, the obvious option will be B. It is clearly visible that both Icon B and the Reference share a similar arrow shape (although oriented differently).  Once again, remember that this survey only focuses on the icons' shape.
Some data about you
Gender
Knowledge in Graphical User Interfaces:
Knowledge in Graphical Design:
That's all folks
Please note that javascript should be enabled for the survey to work correctly.
Remember that the figures we have shown above are just simple examples and the different cases that you will see displayed during the test may
vary and be more complicated.
Press START to begin the survey.
/
Let's start the training
In case you didn't read the instructions yet, we encourage you to read them before doing the training part.
Press the GO AHEAD button to start the training.
GREAT!
You are done with the training part, the test will start after you press the CONTINUE button, get ready.


validator
∠(・.-)―〉 →◎ validator
is a Crystal data validation module.<br>
Very simple and efficient, all validations return true
or false
.
Also validator/check (not exposed by default) provides:
- Error message handling intended for the end user.
- Also (optional) a powerful and productive system of validation rules. With self-generated granular methods for cleaning and checking data.
Validator respects the KISS principle and the Unix Philosophy. It's a great basis tool for doing your own validation logic on top of it.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
validator:
github: nicolab/crystal-validator
- Run
shards install
Usage
There are 3 main ways to use validator:
- As a simple validator to check rules (eg: email, url, min, max, presence, in, ...) which return a boolean.
- As a more advanced validation system which will check a series of rules and returns all validation errors encountered with custom or standard messages.
- As a system of validation rules (inspired by the Laravel framework's Validator) which makes data cleaning and data validation in Crystal very easy! With self-generated granular methods for cleaning and checking data of each field.
By default the validator module expose only Validator
and Valid
(alias) in the scope:
require "validator"
Valid.email<EMAIL_ADDRESS># => true
Valid.url? "https://github.com/Nicolab/crystal-validator" # => true
Valid.my_validator? "value to validate", "hello", 42 # => true
An (optional) expressive validation flavor, is
available as an alternative.
Not exposed by default, it must be imported:
require "validator/is"
is :email<EMAIL_ADDRESS># => true
is :url?, "https://github.com/Nicolab/crystal-validator" # => true
is :my_validator?, "value to validate", "hello", 42 # => true
# raises an error if the email is not valid
is! :email?, "contact@@example..org" # => Validator::Error
is
is a macro, no overhead during the runtime 🚀
By the nature of the macros, you can't pass the validator name dynamically with a variable like that is(validator_name, "my value to validate", arg)
.
But of course you can pass arguments with variables is(:validator_name?, arg1, arg2)
.
Validation rules
The validation rules can be defined directly when defining properties (with getter
or property
).
Or with the macro Check.rules
. Depending on preference, it's the same under the hood.
require "validator/check"
class User
# Mixin
Check.checkable
# required
property email : String, {
required: true,
# Optional lifecycle hook to be executed on `check_email` call.
# Before the `check` rules, just after `clean_email` called inside `check_email`.
# Proc or method name (here is a Proc)
before_check: ->(v : Check::Validation, content : String?, required : Bool, format : Bool) {
puts "before_check_content"
content
},
# Optional lifecycle hook to be executed on `check_email` call, after the `check` rules.
# Proc or method name (here is the method name)
after_check: :after_check_email
# Checker (all validators are supported)
check: {
not_empty: {"Email is required"},
email: {"It is not a valid email"},
},
# Cleaner
clean: {
# Data type
type: String,
# Converter (if union or other) to the expected value type.
# Example if the input value is i32, but i64 is expected
# Here is a String
to: :to_s,
# Formatter (any Crystal Proc) or method name (Symbol)
format: :format_email,
# Error message
# Default is "Wrong type" but it can be customized
message: "Oops! Wrong type.",
}
}
# required
property age : Int32, {
required: "Age is required", # Custom message
check: {
min: {"Age should be more than 18", 18},
between: {"Age should be between 25 and 35", 25, 35},
},
clean: {type: Int32, to: :to_i32, message: "Unable to cast to Int32"},
}
# nilable
property bio : String?, {
check: {
between: {"The user bio must be between 2 and 400 characters.", 2, 400},
},
clean: {
type: String,
to: :to_s,
# `nilable` means omited if not provided,
# regardless of Crystal type (nilable or not)
nilable: true
},
}
def initialize(@email, @age)
end
# ---------------------------------------------------------------------------
# Lifecycle methods (hooks)
# ---------------------------------------------------------------------------
# Triggered on instance: `user.check`
private def before_check(v : Check::Validation, required : Bool, format : Bool)
# Code...
end
# Triggered on instance: `user.check`
private def after_check(v : Check::Validation, required : Bool, format : Bool)
# Code...
end
# Triggered on a static call: `User.check(h)` (with a `Hash` or `JSON::Any`)
private def self.before_check(v : Check::Validation, h, required : Bool, format : Bool)
# Code...
pp h
end
# Triggered on a static call: `User.check(h)` (with a `Hash` or `JSON::Any`)
private def self.after_check(v : Check::Validation, h, cleaned_h, required : Bool, format : Bool)
# Code...
pp cleaned_h
cleaned_h # <= returns cleaned_h!
end
# Triggered on a static call and on instance call: `User.check_email(value)`, `User.check(h)`, `user.check`.
private def self.after_check_content(v : Check::Validation, content : String?, required : Bool, format : Bool)
puts "after_check_content"
puts "Valid? #{v.valid?}"
content
end
# --------------------------------------------------------------------------
# Custom checkers
# --------------------------------------------------------------------------
# Triggered on instance: `user.check`
@[Check::Checker]
private def custom_checker(v : Check::Validation, required : Bool, format : Bool)
# Code...
end
# Triggered on a static call: `User.check(h)` (with a `Hash` or `JSON::Any`)
@[Check::Checker]
private def self.custom_checker(v : Check::Validation, h, cleaned_h, required : Bool, format : Bool)
# Code...
cleaned_h # <= returns cleaned_h!
end
# --------------------------------------------------------------------------
# Formatters
# --------------------------------------------------------------------------
# Format (convert) email.
def self.format_email(email)
puts "mail stripped"
email.strip
end
# --------------------------------------------------------------------------
# Normal methods
# --------------------------------------------------------------------------
def foo()
# Code...
end
def self.bar(v)
# Code...
end
# ...
end
Check with this example class (User
):
# Check a Hash (statically)
v, user_h = User.check(input_h)
pp v # => Validation instance
pp v.valid?
pp v.errors
pp user_h # => Casted and cleaned Hash
# Same but raise if there is a validation error
user_h = User.check!(input_h)
# Check a Hash (on instance)
user =<EMAIL_ADDRESS>38)
v = user.check # => Validation instance
pp v.valid?
pp v.errors
# Same but raise if there is a validation error
user.check! # => Validation instance
# Example with an active record model
user.check!.save
# Check field
v, email = User.check_email(value<EMAIL_ADDRESS>v, age = User.check_age(value: 42)
# Same but raise if there is a validation error
email = User.check_email!(value<EMAIL_ADDRESS>v, email = User.check_email(value<EMAIL_ADDRESS>", format: true)
v, email = User.check_email(value<EMAIL_ADDRESS>", format: false)
# Using an existing Validation instance
v = Check.new_validation
v, email = User.check_email(v, value<EMAIL_ADDRESS># Same but raise if there is a validation error
email = User.check_email!(v, value<EMAIL_ADDRESS>Clean with this example class (User
):
# `check` method cleans all values of the Hash (or JSON::Any),
# before executing the validation rules
v, user_h = User.check(input_h)
pp v # => Validation instance
pp v.valid?
pp v.errors
pp user_h # => Casted and cleaned Hash
# Cast and clean field
ok, email = User.clean_email(value<EMAIL_ADDRESS>ok, age = User.clean_age(value: 42)
ok, email = User.clean_email(value<EMAIL_ADDRESS>", format: true)
ok, email = User.clean_email(value<EMAIL_ADDRESS>", format: false)
puts "${email} is casted and cleaned" if ok
# or
puts "Email type error" unless ok
clean_*
methods are useful to caste a union value (likeHash
orJSON::Any
).- Also
clean_*
methods are optional and handy for formatting values, such as the strip on the email in the exampleUser
class.
More details about cleaning, casting, formatting and return values:
By default format
is true
, to disable:
ok, email = User.clean_email(value<EMAIL_ADDRESS>format: false)
# or
ok, email =<EMAIL_ADDRESS>false)
Always use named argument if there is only one (the value
):
ok, email = User.clean_email(value<EMAIL_ADDRESS>ok
is a boolean value that reports whether the cast succeeded. Like the type assertions in Go (lang).
But the ok
value is returned in first (like in Elixir lang) for easy handling of multiple return values (Tuple
).
Example with multiple values returned:
ok, value1, value2 = User.clean_my_tuple({1, 2, 3})
# Same but raise if there is a validation error
value1, value2 = User.clean_my_tuple!({1, 2, 3})
Considering the example class above (User
).
As a reminder, the email field has been defined with the formatter below:
Check.rules(
email: {
clean: {
type: String,
to: :to_s,
format: ->self.format_email(String), # <= Here!
message: "Wrong type",
},
},
)
# ...
# Format (convert) email.
def self.format_email(email)
puts "mail stripped"
email.strip
end
So clean_email
cast to String
and strip the value "<EMAIL_ADDRESS>"
:
# Email value with one space before and one space after
ok, email = User.clean_email(value: "<EMAIL_ADDRESS>")
puts email # =><EMAIL_ADDRESS># Same but raise if there is a validation error
# Email value with one space before and one space after
email = User.clean_email!(value: "<EMAIL_ADDRESS>")
puts email # =><EMAIL_ADDRESS>If the email was taken from a union type (json["email"]?
), the returned email
variable would be a String
too.
See more examples.
NOTE: Require more explanations aboutrequired
,nilable
rules. > Also about the converters JSON / Crystal Hash:h_from_json
,to_json_h
,to_crystal_h
. > In the meantime see the API doc.
Validation#check
To perform a series of validations with error handling, the validator/check module offers this possibility 👍
A Validation instance provides the means to write sequential checks, fine-tune each micro-validation with their own rules and custom error message, the possibility to retrieve all error messages, etc.
Validation
is also used withCheck.rules
andCheck.checkable
that provide a powerful and productive system of validation rules which makes data cleaning and data validation in Crystal very easy. With self-generated granular methods for cleaning and checking data.
To use the checker (check
) includes in the Validation
class:
require "validator/check"
# Validates the *user* data received in the HTTP controller or other.
def validate_user(user : Hash) : Check::Validation
v = Check.new_validation
# -- email
# Hash key can be a String or a Symbol
v.check :email, "The email is required.", is :presence?, :email, user
v.check "email", "The email is required.", is :presence?, "email", user
v.check "email", "#{user["email"]} is an invalid email.", is :email?, user["email"]
# -- username
v.check "username", "The username is required.", is :presence?, "username", user
v.check(
"username",
"The username must contain at least 2 characters.",
is :min?, user["username"], 2
)
v.check(
"username",
"The username must contain a maximum of 20 characters.",
is :max?, user["username"], 20
)
end
v = validate_user user
pp v.valid? # => true (or false)
# Inverse of v.valid?
if v.errors.empty?
return "no error"
end
# Print all the errors (if any)
pp v.errors
# It's a Hash of Array
errors = v.errors
puts errors.size
puts errors.first_value
errors.each do |key, messages|
puts key # => "username"
puts messages # => ["The username is required.", "etc..."]
end
3 methods #check:
# check(key : Symbol | String, valid : Bool)
# Using default error message
v.check(
"username",
is(:min?, user["username"], 2)
)
# check(key : Symbol | String, message : String, valid : Bool)
# Using custom error message
v.check(
"username",
"The username must contain at least 2 characters.",
is(:min?, user["username"], 2)
)
# check(key : Symbol | String, valid : Bool, message : String)
# Using custom error message
v.check(
"username",
is(:min?, user["username"], 2),
"The username must contain at least 2 characters."
)
Check
is a simple and lightweight wrapper.
The Check::Validation
is agnostic of the checked data,
of the context (model, controller, CSV file, HTTP data, socket data, JSON, etc).
Use case example: Before saving to the database or process user data for a particular task, the custom error messages can be used for the end user response.
But a Validation
instance can be used just to store validation errors:
v = Check.new_validation
v.add_error("foo", "foo error!")
pp v.errors # => {"foo" => ["foo error!"]}
See alsoCheck.rules
andCheck.checkable
.
Let your imagination run wild to add your logic around it.
Custom validator
Just add your own method to register a custom validator or to overload an existing validator.
module Validator
# My custom validator
def self.my_validator?(value, arg : String, another_arg : Int32) : Bool
# write here the logic of your validator...
return true
end
end
# Call it
puts Valid.my_validator?("value to validate", "hello", 42) # => true
# or with the `is` flavor
puts is :my_validator?, "value to validate", "hello", 42 # => true
Using the custom validator with the validation rules:
require "validator/check"
class Article
# Mixin
Check.checkable
property title : String
property content : String
Check.rules(
content: {
# Now the custom validator is available
check: {
my_validator: {"My validator error message"},
between: {"The article content must be between 10 and 20 000 characters", 10, 20_000},
# ...
},
},
)
end
# Triggered with all data
v, article = Article.check(input_data)
# Triggered with one value
v, content = Article.check_content(input_data["content"]?)
Conventions
- The word "validator" is the method to make a "validation" (value validation).
- A validator returns
true
if the value (or/and the condition) is valid,false
if not. - The first argument(s) is (are) the value(s) to be validated.
- Always add the
Bool
return type to a validator. - Always add the suffix
?
to the method name of a validator. - If possible, indicates the type of the validator arguments.
- Spec: Battle tested.
- KISS and Unix Philosophy.
Development
crystal spec
crystal tool format
./bin/ameba
Contributing
- Fork it (<https://github.com/nicolab/crystal-validator/fork>)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
LICENSE
MIT (c) 2020, Nicolas Talle.
Author
| | |---| | Nicolas Talle | | |
Thanks to ilourt for his great work on checkable
mixins (clean_, check_, ...).


Widebody Nissan Juke "WRC" Looks Exactly Like a Rally Car
by Andrei TutuThose of you who follow our SpeedShot tales might look at the rendering behind the screen and wonder why I've brought along another widebody Nissan Juke. Well, unlike the previous pixel work of the sort, this one aims to give the Japanese crossover a distinct identity, one that has to do with the World Rally Championship.
You see, the artist behind this automotive portrait (more on this below) has decided to cast the first-generation Juke into the role of a WRC car. As such, the Japanese machine was gifted with the kind of aero that defines such racecars, from the widebody to the massive rear wing.
And I have to note that "convincing" is an understatement when it comes to the end result, which, by the way, you'll find in the social media post at the bottom of the page.
Sure, the wheels and tires were an easy job, but the way in which the rest of the Nissan Juke was modded has created a monster that will keep you awake all day, even if it's Monday.
"So, who is the mind behind the pixels we have here?" I hear you asking. You should know we're talking about Walter Kim, an aficionado who is a concept artist at DreamWorks Animation.
Sadly, Nissan is no longer among the names that play on the WRC stage, so the chances of this rally dream coming to life depend... on some eccentric builder out there.
For one thing, we've previously discussed a widebody Nissan Juke. And while this didn't have anything to do with the rally theme, the crossover had received extensive work, with both the exterior and the interior being massaged. And now that another incarnation of the Juke has arrived, we might just see multiple first-gen models being taken down the customization route.


Gobelins, l'école de l'image
Multimedia Conception & Development Paris, France
- Crafted an alarm clock by reusing an old fashioned telephone on Arduino
- iOS application to renew correspondence between children all around the world > video


Hi there,
I’m Jaeyong. I believe the power of design: it makes an electronic gadget more usable, a hospital service more patient-centric, and a digital app to alter the way we interact with the world. It enhances people's lives by degrees, and ultimately transforms how we perceive, think and behave. My endeavours is in the pursuit of those good designs toward the needs of people.
Nowadays, I am designing user experience in Microsoft to empower developers.
In my ex-careers, I helped companies to nurture their future businesses; designed public lighting management system for smart cities, led embodied UI/UX design for various Air products; co-designed various Male Grooming mobile apps and Healthcare products, and created award-wining concept designs.
I am currently based in Shanghai, but originally from a small town from South Korea, Masan. Since the moment I left my country, I have been wandering around the world to design, explore and challenge: Seoul, Helsinki, Singapore and Shanghai so far.
Thank you for stopping by.
Jaeyong is...
“Such an inspiring designer and has always shown a high level of responsibility for his work. Here I can list 3 words to describe him very well, but not limited as below: Innovative, hardworking and trustworthy.”
Jianxong (Jex) Zhang, UX designer at Alibaba
“Open minded and good listener, he is a great team player, always building up on each other’s ideas.”
Carmen Escano Serrano, Healthspace design lead, Philips
Recent inspirations come by
Thinking, fast and slow
-Daniel Kahneman
Case study 01
-Daniel Caesar
Bbing meiche (Ice coffee in Chinese)
-Myself


This diagram shows three bars subdivided into startup events along a horizontal timeline.
The first bar is the default case and is divided into three boxes. The first section of the bar shows a screenshot of a progress bar, which represents the application download stage. The second section in the bar represents the security warning for the signed application. The third section of the bar represents application initialization.
The second bar is the case in which the certificate is embedded in the deployment descriptor. The entire bar is only about two thirds as long as the first bar. The first section of the second bar shows the security warning and the application download starting concurrently, so the security warning can be completed while the application is being downloaded. The second section of the bar shows application initialization.
The third bar is the same as the second bar, except instead of application initialization in the last section, there is an error dialog box, which also completes sooner than the sequence shown in the default case.


Apache Shiro Developer Resources
This page and its children are dedicated for reference information used by the Apache Shiro development team when performing tasks as a committer or contributor
Writing Documentation
All non-JavaDoc documentation is written in our Apache Shiro Confluence Wiki Space. This space is converted into the public website by the Confluence Auto Export Process.
Source Code Repository
We use the Subversion repository located at http://svn.apache.org/repos/asf/shiro. Committers must use the https scheme (not http).
Active development is done in the trunk subdirectory. The branches and tags peer subdirectories exist based on the Apache APR Versioning Scheme and are generally created/maintained by the dev team using the Maven Release Plugin.
Building from Subversion
For Shiro cutting-edge development, you can check-out the code from Subversion and build it using Maven 2.2+:
- Check out the code:
mkdir shiro cd shiro svn co https://svn.apache.org/repos/asf/shiro/trunk trunk
- Build the project using Maven 2.2+:
cd trunk mvn install
The resulting artifacts will be in your local M2 Repo under the org.apache.shiro group.
| Cutting-edge development When building from trunk or any branches, use the generated artifacts at your own risk! Current and previous stable releases will always be available via the Download page. |


Settings application enables you to manage your computer. On the right, a quick easy to use C-panel is provided.


Water-U-Doing?
Leaderboard
Rank
Username
Score
{% for user in users %}
{{ forloop.counter }}
{{ user.user }}
{{ user.score }}
View Profile >>
{% endfor %}


Pitch Perfect
The prefect place to get honest feedback on you pitches
Here are Pitch Perfect we believe that
Shoot your shot
All you need is an email and a string password to get started.
If you already have an account, click on login to continue.


Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, "and what is the use of a book," thought Alice, "without pictures or conversation?"
The Caterpillar and Alice looked at each other for some time in silence: at last the Caterpillar took the hookah out of its mouth, and addressed her in a languid, sleepy voice. “Who are you?” said the Caterpillar. This was not an encouraging opening for a conversation. Alice replied, rather shyly, “I—I hardly know, Sir, just at present—at least I know who I was when I got up this morning, but I think I must have been changed several times since then.”


{{result}}
Your Vue App, at your service!
Recomended use with
Vue DevTools
.
{{result}}
Increment!
Decrement!


| cli_progress_message {cli} | R Documentation |
This is a simplified progress bar, a single (dynamic) message, without progress units.
cli_progress_message( msg, current = TRUE, .auto_close = TRUE, .envir = parent.frame(), ... )
msg |
Message to show. It may contain glue substitution and cli
styling. It can be updated via |
current |
Passed to |
.auto_close |
Passed to |
.envir |
Passed to |
... |
Passed to |
cli_progress_message()
always shows the message, even if no
update is due. When the progress message is terminated, it is removed
from the screen by default.
The id of the new progress bar.
cli_progress_bar()
for the complete progress bar API.
cli_progress_step()
for a similar display that is styled by default.


Bye-Bye 2012, Welcome 2013
Jan 2, 2013Listing down the things which went well for me in 2012, and which didn’t, and the plans for upcoming year 2013. Beware: More technical stuff than emotional.
Things which went well in 2012
Python
Started learning Python at the start of year 2012, early January, and this same language landed me in the job which I absolutely love: working in one of the biggest ‘OpenSource’ project in the world, written in Python! Getting paid for working on an opensource project is as awesome as it can become for me.
The hunger to become different from the rest
Gathered a lot of info on how things work in computer industry. Kept myself in contact with various hot topics, opensource projects.
The job
Not faring too well on this front - the full time job. But still, I would consider I did good enough with regards to the work assigned to me. I, after six months into the job, still goes to office every morning with a thirst to make a difference.
Cleanliness
Scored much better in the second half. Spent dedicated amount of time each week to keep my room and flat clean and in order.
Maintaining a TODO list
Started late in the year, but seems a good progress on that front.
Things which didn’t go that well in 2012
Concentration
Still not able to concentrate on one thing for long. Get distracted too easily. Only rarely I sat at one place, focussed on one thing, for more than 50 minutes. Also, the last year’s resolution of opening FaceBook only once a day was put in trashcan on in the very first week of January!
Not focussed enough on the future direction
Poor goal setting. Peeked into a lot of opensource projects, dedicated proper time into none. Opensourced my projects too, but did not work on it much either. Made myself a perfect example of ‘naam bade aur darshan chhote’ (appearing like an eminent personality, acting like a jerk).
Programming contest
Only kept in touch. Not solved much problems. This year, need to focus a lot on this front.
Time management
Never was able to manage time. Was not working on the same thing for even a week. Somewhere in the middle of working on a project, I find out ‘hey, this looks cool! Time to try hands on it!’. What about the thingy you were currently working on? Into the TODO list!
Work life balance
Went for a toss. Not able to regularise job timings. Started and stopped gym. Started and stopped working on many projects. Completed none. Wasted a heck of a lot of time.
Plans for upcoming year
Better planning
I need to plan things before acting on it. I would take everything into consideration before jumping into hacking something, and then set a deadline for it. And till that deadline, I would promise I would not digress getting enticed by something which makes my mouth watery.
Don’t just outright neglect daytime job
I agree my daytime job is awesome. But I end up considering the work I do at office as secondary. Need to value it much higher. I concentrate on other projects and aim to complete and polish them. What I did not thought was the work I am doing in my job itself is a project! If I am not faring well in the project on which I work 8 hours a day, how can I expect myself to do good in something I am spending only a fraction of time I spend on the daytime project! And expectedly, none of my projects are in good enough shape to talk about it confidently in public. I need to value OpenStack more. Really.
START coding for programming contests
Enough of promises, enough of ‘From next month I’m gonna do it’. I SHOULD spend a specific time every week for coding for programming contests. Looks like I need to start with solving old problems from CodeChef.com alongwith the editorials provided with them.
Facebook once in a day
Period.
Need to plan breaks too
Realised only the last month that opening facebook, checking out news, and reading articles on Hacker News does not count in a break.  A break is something which gives your strained eyes a rest, especially when you end up spending half of your year staring at a computer screen!
PS. The article is for the writer himself. It is okay if you are finding it a bad piece of English text.


Command Line Interface (CLI)
| Command | Description |
|---|---|
| ./.bash_profile |
this is where you go to set up alias and configure bash. usually found in your home directory. |
|
man help |
man formats and displays the on-line manual pages. If you specify sec- tion, man only looks in that section of the manual. name is normally the name of the manual page, which is typically the name of a command, function, or file. However, if name contains a slash (/) then man interprets it as a file specification, so that you can do man ./foo.5 or even man /cd/foo/bar.1.gz. |
| pwd |
The pwd utility writes the absolute pathname of the current working directory to the standard output. |
|
which |
The which utility takes a list of command names and searches the path for each executable file that would be run had these commands actually been invoked. |
|
brew |
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X. more on brew commands |
| mkdir |
make a directory |
|
cp |
copy file or directory |
|
cat type |
The most common use of cat is to read the contents of files, and cat is often the most convenient program for this purpose. |
|
xargs |
execute arguments |
|
find dir-r |
find files |
|
grep select-string |
find things inside files |
|
apropos helpctr |
find what man page is appropriate |
| env |
look at your enivorment |
| echo |
print some arguments |
|
export set |
export / set a new enviroment variable |
|
chmod attrib |
change file / directory permissions |
|
chown icacls |
change file / directory ownership |
| for files |
run a command on a group of files |
| robocopy |
command-line directory and/or file replication command. Robocopy functionally replaces Xcopy, with more options |
|
sudo runas |
become super / root user |
|
less more |
page through a file |
| rmdir |
remove directory |
Back to top
Object Oriented Programming
Single responsibility
Code should be:
- Transparent The consequences of change should be obvious in the code that is changing and in distant code that relies upon it
- Reasonable The cost of any change should be proportional to the benefits the change achieves
- Usable Existing code should be usable in new and unexpected contexts
- Exemplary The code itself should encourage those who change it to perpetuate these qualities
A class should do the smallest possible useful thing.
why?
Applications that are easy to change consist of classes that are easy to reuse. Reusable classes are pluggable units of well-defined behavior that have few entanglements. An application that is easy to change is like a box of building blocks; you can select just the pieces you need and assemble them in unanticipated ways.
- Metz, Sandi Practical Object Oriented Design in Ruby (POODR). Crawfordsville: Addison-Wesley, 2013 . Print.
Classes
A class is a blueprint. one blueprint can be used to make many of the same objects for example a house or a bunch of houses, can be based off the same blue print. class are to objects what blueprints are to houses.
Inheritance
Inheritance is, at its core, a mechanism for automatic message
delegation. It defines a forwarding path for not-understood messages. It creates relationships such that, if one object cannot respond to a received message, it delegates that message to another. You don’t have to write code to explicitly delegate the message, instead you define an inheritance relationship between two objects and the forwarding happens automatically.
- Metz, Sandi Practical Object Oriented Design in Ruby (POODR). Crawfordsville: Addison-Wesley, 2013 . Print.
Behavior & Messages
Behavior is what an object can do
Messages are how you get that object to perform that behavoir
Ruby
Syntax
Integer convience methods
String convience methods
Array convience methods
Hash convience methods
Enumerable
Back to topJavascript
Syntax
Integer convience methods
String convience methods
Array convience methods
Object convience methods
Back to topMarkdown cheatsheet
| Command | Description |
|---|---|
Heading 1 |
# text in between #
|
Heading 2 |
## text in between ##
|
Heading 3 |
### text in between ###
|
Heading 4 |
#### text in between ####
|
Heading 5 |
##### text in between #####
|
Heading 5 |
###### text in between ######
|
| italic |
* text in between * or _ text in between _
|
| bold |
** text in between ** or __ text in between __
|
| bold & italic |
*** text in between *** or ___ text in between ___
|
|
|
~~ text in between ~~
|
|
ordered list |
1. text
|
|
un-ordered list |
* text
|
|
links without title |
[link without title](https://github.com/lee-egist/markdown_cheatsheet/edit/master/README.md)
|
|
links with title |
[link with title](https://github.com/lee-egist/markdown_cheatsheet/edit/master/README.md "Erick's Markdown Cheatsheet")
|
|
link by reference |
[reference-style link][Arbitrary case-insensitive reference text]
somewhere later in document
[arbitrary case-insensitive reference text]: https://github.com/lee-egist/markdown_cheatsheet/edit/master/README.md
|
|
table |
| header | for | table |
|
Back to top
Git & Github
Git is a version control system gitHub is a webbased application to manage git repositories and colaborate with others. read my post @ lee-egist.github.io
Git cheatsheet
Back to top
HTML
HTML is really to large to cover in one page. Here is a link to a good resource: www.w3school.com
Back to top
Cascading Style Sheets
@media
position
cross-browser compatabliity
Back to top
Sinatra
Some kind of ruby gem?
don't know what i don't know
Back to top
Rails
common commands
| command | description |
|---|---|
| rails new [project-name] | creates a new reails project on your local machine |
| rails generate [model, view, controller, migration ...] [class-name] |
creates a model, view, controller etc...with the given class-name. also creates necessary dependent files. |
conventions
routing
Back to topStructured Query Language
Again SQL is a very large topic. Here is a link for beginners W3school/sqlBack to top
D3
Data mapping tool
don't know what I don't know
Back to top


ColourMySpace is a Paint related app. It empowers functionalities such as :
- Previews - Visualize a paint on any room of your choice or from predefined rooms
- Colour & Textures pallete - Explore the Nerolac colour library and mark your favourites
- Colour Picker - Capture an image and get Nerolac shades from that image
- Find painter
- Find store


Our slow-cooked meats offer us the opportunity to create some truly fantastic jus. Prime beef, smoked pork, and braised lamb drippings, perfectly combined with house made seasonings. Never from a mix. Nothing artificial. Just Jus.
--- permalink: fact/fact-03/ layout: index title: Real, authentic jus show_call_to_action: false ---
Our slow-cooked meats offer us the opportunity to create some truly fantastic jus. Prime beef, smoked pork, and braised lamb drippings, perfectly combined with house made seasonings. Never from a mix. Nothing artificial. Just Jus.


class Solution: def countPairs(self, deliciousness: List[int]) -> int: freq = {} for x in deliciousness: freq[x] = 1 + freq.get(x, 0) ans = 0 for x in freq: for k in range(30): if x <= 2**k - x and 2**k - x in freq: if x == 2**k - x: ans += freq[x] * (freq[x] - 1)//2 else: ans += freq[x] * freq[2**k - x] return ans % 1_000_000_007


Home
Default title
Edit
Comments
Ratings
Delete
Title
Course
Category
Servings
Prep Time
CookTime
Direction
Add Ingredients and quantities
Ingredient
Quantity


It seems that I received some funds earlier. I didn't see them until refreshing the stats script
(not a lot to see on the PIRATE explorer, eh. Very nice.)(edited)
CHMEX16-Jul-19 07:16 AM
it doesnt even mean that funds moved
you can also send messages
CrisF16-Jul-19 08:45 AM
I don't understand, @CHMEX. How do you mean?
CHMEX16-Jul-19 08:47 AM
z_sendmany has a memofield in which you can add a message
zcash-rpc.github.io/z_sendmany.html
if you want to communicate with somebody encrypted you just need the zs address and only the person with the key can read it
very handy
1
Alright16-Jul-19 11:36 AM
@LabsAssistant the hard fork code has been in our repo for a long while now, so this shouldn't be a problem. Double check that your LABS notary is on the same chain as https://www.kmdexplorer.io/ please
Komodo Insight. View detailed information on all komodo transactions and block. {{ $root.title + $root.titleDetail }}
3
only way it might not be is if you've been doing ./start.sh since launch without ever restarting the KMD daemon
smk762 - dracocanis ominator16-Jul-19 02:31 PM
how hard would it be to implement a peer whitelist for a private chain?
jl777c16-Jul-19 02:33 PM
1) initialize peer whitelist
2) if a new peer connects using a non-whitelist node, disconnect
smk762 - dracocanis ominator16-Jul-19 02:42 PM
so just basic conf...(edited)
sweet
jl777c16-Jul-19 02:57 PM
it is custom code that is needed, but peers need to go through a specific negotiation process and you can easily disconnect from any unauthorized peer, and before they are authorized all they can do is ping and try to authorize
Exile1316-Jul-19 04:19 PM
[CFEKFEK] Synced to 13324, but no longest chain is found. Starting anyway.
ComputerGenie 👴👴👴16-Jul-19 05:11 PM
blackjok3rLast Friday at 8:07 AM
Just means a block hasnt been seen.
daemonfox16-Jul-19 07:04 PM
@Alright got a stake on LABS AGAMA. Would paste pic but cant here...
Alright16-Jul-19 07:05 PM
Nice, not unexpected though :P
daemonfox16-Jul-19 07:05 PM
not really lol
just glad to see it working
Alright16-Jul-19 07:06 PM
Should split utxos if you haven't
Yep, good shit
Me too
daemonfox16-Jul-19 07:06 PM
I have spread a few out
playing the chess game sent 1 large UTXO to the seven smallest staking segids
Bernz - Selling LABS16-Jul-19 07:20 PM
I just got my first stake on agama as well, wanting to split uxto but it doesn't seem to want to cooperate, would I not just put # coins per uxto followed by the # of pairs? so if I had 100 coins and I wanted 50 pairs it would be 2 coins - 50 pairs, correct? asked in verus discord haven't heard back yet
Alright16-Jul-19 09:11 PM
@Bernz - Selling LABS what exactly are you using to split?
verus discord probably not the best place to ask as verus uses a completely different pos algo
Bernz - Selling LABS16-Jul-19 09:15 PM
Im using Verus 0.5.7-4, mainly because it has gui support for labs, but also has a built in "split uxto" option on it
Alright16-Jul-19 09:33 PM
Ah, wasn't aware of that, I'll have to check it out
daemonfox16-Jul-19 09:58 PM
i dont think that split utxo is compatible completely... but IDK i havent used it
just know i had a ton of issues getting the sendmany syntax correct for LABS versus how it started as STAKED
So it may not work for LABS
Bernz - Selling LABS16-Jul-19 10:03 PM
perhaps that is something the respective projects could come together and make a reality. GUI support for labs, with easier setup, and the ability to split utxos, it would then work for our/zexo as well. For now it seems incompatible
ComputerGenie 👴👴👴16-Jul-19 10:46 PM
@Bernz - Selling LABSGUI support for labs, with easier setup, and the ability to split utxos
We've discussed this several times (at great length) and the consensus is usually that those that put more work into learning how to manage their UTXOs on their own deserve the "extra" that they get for doing so
It's not exactly "fair" for UserA to learn how things work, properly do things, and UserB can just do the same with a button click or 2
This is even more true for LABS than other chains, imo
That being said, no one will try to stop you if you choose to spend the hours/days/weeks developing such a tool(edited)
Bernz - Selling LABS16-Jul-19 10:55 PM
Fair enough, couldnt you make it work if you had an option to directly enter commands into a built in CLI? Verus allows that, would just need the commands for splitting uxtos manually
Also that makes sense, just doing these minor setups and working with VM's running komodod etc has made me appreciate the backend of how all this shit works
ComputerGenie 👴👴👴16-Jul-19 11:16 PM
couldnt you make it work if you had an option to directly enter commands into a built in CLI
That's literally what our scripts do for us
also, verus splits aren't the same animal as pos64 splits
Bernz - Selling LABS16-Jul-19 11:33 PM
Fair enough, thought I'd ask and see if it could work. As a windows user with my knowledge I cannot get pos64staker atm, at least I can now stake with verus
ComputerGenie 👴👴👴16-Jul-19 11:35 PM
it could work, it's just an issue of someone with the time, knowledge, and inclination to make it
daemonfox16-Jul-19 11:42 PM
@Bernz - Selling LABS You can indeed input the same scripts to the CLI in AGAMA settings for LABS as we do for Linux.
Ive dobe it using the binaries in the verus AGAMA for my ZEXO staker
and then walked a friend through it on their Win 10 rig as well where they also stake and mine verus
If you can format a sendmany properly to your segid addresses, the CLI field in settings will execute and return your hash
then you can use the same field to run setgenerate true 0
that starts staking, confirmed by running getmininginfo(edited)
AND
If you want to have more control and less UI...
You can issue the param command to launch any coin in daemon form, and watch the cmd window tell you whats happening
and then use the cli binary to call the daemon
Proven working to stake ZEXO both ways
and lastly... even if you cant form a proper sendmany to all of your addresses... it was hammered home you can stake on a single or small handful of addresses way better if you arent a 1/64th+ total supply holder
Like my LABs are only manually single UTXO sent to 7 unique segid addresses
one at a time in AGAMA
So as Genie said, those with a bigger stake and time would figure out how to get 64 segid addresses and apply their weight to the game... because a 64 segid weight worth having is a large stake in a single coin(edited)
daemonfox16-Jul-19 11:56 PM
To help with launching the daemon, AGAMA makes it easy. Launch the coin in AGAMA Native, when loaded click the i INFO button and there is a Copy Params button in the details, click and paste to a notepad to save as a start.bat. Close AGAMA. Then browse to the folder you put AGAMA, and inside the folder resources\app\assets\bin\win64 are the binaries. You can then use the CMD prompt to cd to that full directory (copy paste the full folder path) then launch... komodod.exe PASTE THE PARAMS HERE and let it sync.
1
1
If that worked, save the new bat file to this same folder but edit to add -gen -genproclimit=0 to the end. That will then spawn it as a staking daemon.
Alright17-Jul-19 07:39 AM
@Bernz - Selling LABS just got a windows and osx machine, so I'll be putting some time into making pos64staker a bit easier. I'll check out how Verus's utxo splitter works as well and see if it's any decent for LABS


| Home | Events | Reservations | Photos |
A few selected clubs that have cover all kinds of taste.
Find your happy place.Good Luck.
Location: Opposite Carnivore junction
Opening:Open 24hrs
Expect:
Location: Galleria Shopping Mall
Opening hours: 8.00am-1.00am
Expect:
Location: Opposite uchumi,Langata Road
Opening hours: From 1800hrs
Expect:
Location: Nairobi-West
Opening hours: From 1800hrs
Expect:
Location: Along Langata Road.
Opening: 24hrs
Expect:
Hover on the image to get full details.


Before Change
def test_contact_fingerprint_shape(self):
size = 8
featurizer = dc.feat.ContactCircularFingerprint(size=size)
features, failures = featurizer.featurize_complexes(self.complex_files)
assert features.shape == (1, 2 * size)
def test_contact_voxels_shape(self):
box_width = 48
After Change
def test_contact_fingerprint_shape(self):
size = 8
featurizer = dc.feat.ContactCircularFingerprint(size=size)
features, failures = featurizer.featurize([self.ligand_file],
[self.protein_file])
assert features.shape == (1, 2 * size)
def test_contact_voxels_shape(self):
box_width = 48


Pictures of the Winter Acro 2020
#winteracro @acrolama
- From @mad-motions | mad-motions.com: Google Drive HERE
- From Nicholas Clarke: Google Photos HERE
- From Ivo R.: 4Synergy NextCloud Pics
- From Ivo R. - Some videos from workshops (when you enter the passwort "CU7wM56D" on the side, you agree, that you don't copy the videos to public platforms or distribute it on other ways):4Synergy NextCloud Videos
Please give credit to the photographers.
If you have other links or pictures to share look for Adrian in the convention!


Add Survey
Title:
Presenter(Email):
@maqsoftware.com
Training Date:
Training Duration:
Survey Status:
Not Scheduled
In Progress
Closed
Survey Question:


Before Change
counts = {}
for g in groups(I, mask):
flip = (g + cmask) ^ abs_mask - cmask
result = np.sign(smoothness(flip) - smoothness(g))
if result not in counts:
counts[result] = 0
counts[result] += 1
N = sum(counts.values())
R = float(counts[1])/N
S = float(counts[-1])/N
return R-S
After Change
// {{{ difference()
def difference(I, mask):
pool = Pool(multiprocessing.cpu_count())
analysis = pool.map(RSAnalysis(mask).call, groups(I, mask))
pool.close()
pool.join()
counts = [0, 0, 0]
for v in analysis:
counts[v] += 1
N = sum(counts)
R = float(counts[1])/N
S = float(counts[-1])/N
return R-S


How?
What?

Schedule a Demo


If you don’t already have one, create a wallee account.
Install it directly from your Wordpress Installation under Plugins > Add New search for wallee Subscription.
The plugin will now be visible under Plugins. You can install the plugin directly from here. There is no further configuration required.
Install the Wordpress Loco Translate plugin.
Go to Loco Translate > Plugins.
Click on WooCommere wallee Subscription.
Click on the existing language and adapt the translations.
Cick New Langugage and translate the strings.
If you need help, feel free to contact our support.


| disipyl.utilities (version 1.3) | index /home/pmagwene/data/pmag/pyth/disipyl/utilities.py |
Utility functions for disipyl.
-----------------------------------------------------------------------------
(c) Copyright by Paul M. Magwene, 2002<EMAIL_ADDRESS>Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee or royalty is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation or portions thereof, including modifications,
that you make.
THE AUTHOR PAUL M. MAGWENE DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
-----------------------------------------------------------------------------
| Modules | ||||||
|
| Classes | ||||||||||||||||||
|
| Data | ||
| __author__ = 'Paul M. Magwene __credits__ = '' __file__ = '/home/pmagwene/data/pmag/pyth/disipyl/utilities.pyc' __name__ = 'disipyl.utilities' __version__ = '$Revision: <IP_ADDRESS> $' |
| Author | ||
| Paul M. Magwene<EMAIL_ADDRESS>|
| Credits | ||


{% extends 'mosaicportfolio/base.html' %}
{% load htmlsanitizer %}
{% block extraheaders %}
{% endblock %}
{% block content %}
{% if isowner %}
{{ portfolio.get_profile.about|sanitize_html }}{% if portfolio.first_name %}{{ portfolio.first_name|sanitize_html }}{% else %}{{ portfolio.username }}{% endif %}
{{ portfolio.get_profile.tag_line|sanitize_html }}
Overview
Please be patient while we load and refresh data about your activities, we rely on external data sources and can not guarantee how fast they respond to changes.
{{ project.description|sanitize_html }}
Your username will be matched with the author of each commit in the repositories, your username might be your full name, your email, your user name or something else. Please review the log messages of your repositories, and add an entry per relevant username.
Insert long description here


View mode:
1: cross
2: parallel
3: anaglyph
Zoom:
Load project:
how to draw with StereoSketcher
how to view 3D images
gallery
contact
Loading...
Shift increment size:
Axis visible in gif:
Gif number of frames:
Gif seconds per frame:
Number of preview loops:


{% extends "base.html" %}
{% load staticfiles %}
{% block script %}
{% endblock %}
{% block content %}
Congratulations! You have been successfully registered. Redirect to login in seconds.
If you are not automatically redirected, please click here.
{% endblock %}


We need to confirm your identity
For example, '31 3 1980'.
ContinueNeed help logging in?
When you opted for email referrals, you should have been asked to confirm the postdcode you will use to identify youreself here. This will usually be the postcode of the address registered with your GP.
If you are having difficulty, contact your referrer to confirm the address and postcode they have for you.
Alternatively call the e-Referral Service Appointments Line and provide your booking reference number.
Phone: 0345 60 88 88 8
Textphone: 0345 8 50 22 50
Appointments Line opening hours are: weekdays 8am to 8pm; weekends and bank holidays 8am to 4pm (closed on Christmas Day).


Match Play. Red trails 1-4 to 7. How should Red play 61?
pips Red=124 White=95
(CorrectAnswer= 0/0, ErrorScore= 0)
This one isn’t close. Red must hit. If White fans he must pass Red’s redouble.
Red would have only 10% winning chances from 1-6 (Crawford) behind and so losing a gammon here when things go wrong is no great loss.
For money, bar/24/18 is correct but only just. When in doubt, HIT!
Red would have only 10% winning chances from 1-6 (Crawford) behind and so losing a gammon here when things go wrong is no great loss.
For money, bar/24/18 is correct but only just. When in doubt, HIT!
1. Cubeful 2-ply bar/24 18/12* Eq.: +0.082 0.405 0.155 0.007 - 0.595 0.366 0.029 2. Cubeful 2-ply bar/18 Eq.: -0.076 (-0.157) 0.366 0.052 0.001 - 0.634 0.170 0.003 3. Cubeful 0-ply bar/24 13/7 Eq.: -0.886 (-0.967) 0.173 0.037 0.001 - 0.827 0.592 0.033


B&Y LAMP
Looking for a way to showcase your products, portfolio, services or simply yourself and your work? Look no more, becouse with this stylish & modern demo you can showcase simply anyhting in a modern and clean manner.
CHECK IT OUTLEATHERY GOODNESS
Looking for a way to showcase your products, portfolio, services or simply yourself and your work? Look no more, becouse with this stylish & modern demo you can showcase simply anyhting in a modern and clean manner.
CHECK IT OUTTHE YELLOW DIRECTOR
Looking for a way to showcase your products, portfolio, services or simply yourself and your work? Look no more, becouse with this stylish & modern demo you can showcase simply anyhting in a modern and clean manner.
CHECK IT OUTTHE WOODPECKER
Looking for a way to showcase your products, portfolio, services or simply yourself and your work? Look no more, becouse with this stylish & modern demo you can showcase simply anyhting in a modern and clean manner.
CHECK IT OUT


Aegisub / Sidebar / History of Automation
The Automation system in Aegisub has evolved from a very basic and hardly useful stand-alone system for creating basic karaoke effects into a very powerful extension mechanism. Here's a short account of its history, from the principal author of the systems.
Automation 1, really just Karaoke Effector
Effector screenshot.png
The Karaoke Effector program was originally created for making karaoke effects for a small translation project, that later died. It was written in Borland Delphi and used Lua 5.0 for scripting. This use of Lua is the primary reason I even call it "Automation 1" today. It basically allowed creating effects similar to what the simple-k-replacer script from Automation 3 does, but in a more complicated and not as usable way.
If you want to try this relic from the museum, you can download it here: http://www.animereactor.dk/aegisub/effector.rar
Automation 2, the Python engine that never happened
Automation 2 was intended to be the scripting system in Aegisub, I drafted the specifications for it while Aegisub was still only in internal pre-alpha development. It was planned to use Python for scripting language and be quite flexible. It just proved to be an overall bad design (which on hindsight might have been a good thing) and it was never implemented. Instead I started looking into Lua again and drafting what became Automation 3.
I don't think there's much of any proof of the work on Automation 2 left now. The main thing to be said about it is that the current Automation 4 achieves everything Automation 2 was intended to be, and even more.
Automation 3, back to Lua and something usable
After the fiasco of Automation 2 and Python I went "browsing languages" again and ended up going back to Lua, and also went for a much less ambitious design. This proved to work and ended up as the Automation 3 system. Originally Automation 3 was also intended to be somewhat extensible and down the road support more than just the basic modification of subtitle lines, this is evident from the kind="basic_ass" statement required in all Automation 3 scripts. Unfortunately the overall architecture of Automation 3 in the end didn't allow it to be extended either way, and the first rough ideas for Automation 4 started forming.
In the end Automation 3 did prove very successful though and has done a great job.
Automation 4, unlimited feature works?
Hello-auto4.png
As the flaws of Automation 3 started showing through the design of Automation 4 begun. Lots of people had been crying for other languages, especially Perl and Python, so support for multiple scripting languages went into the core design. The development of Automation 4 was much on and off, standing still for months at a time. Originally it was planned for Aegisub 1.09, then got pushed to 1.10 and then finally to 1.11, which then grew into Aegisub 2 because of the load of new features and major redesigns in that version, Automation 4 one of them.
In mid-May 2006 Automation 4/Lua was finally in a "working" state, if I am to trust the timestamp of hello-auto4.png but first now, more than a year later, it's really useful. A testament to my laziness.
- Niels Martin Hansen, July 2nd, 2007


My First Website
A Tragedy
Colors
Warm colors
Cool colors
Red
Blue
Orange
Green
Yellow
Violet
Feedback
Submit Feedback
Name:
E-mail:
Comments:
Unhelpful links
More Information
Less Information
The Google
Gallery
Tabs
Stuff
Things
Miscellaneous
Paraphernalia


Luke 22:60
And Peter said, Man, I know not what thou sayest.


---
layout: post
title: Feuerstein on Error Tracing
date: '2007-04-25T22:12:00.000-05:00'
author: Don Seiler
tags:
- feuerstein
- pl/sql
modified_time: '2010-11-19T22:48:46.682-06:00'
thumbnail: http://1.bp.blogspot.com/_BsyNTxK8QhM/RjAb-67D1OI/AAAAAAAAABA/Ox2cohm-Sho/s72-c/steven_feuerstein.jpg
blogger_id: tag:blogger.com,1999:blog-7032512792942232766.post-5911313548724595082
blogger_orig_url: http://www.seiler.us/2007/04/feuerstein-on-error-tracing.html
---
I'm still catching up on some readme bookmarks, and find myself once again face-to-face with PL/SQL sensei Steven Feuerstein. This man has some of the best headshots I've ever seen.
This time Steven is dropping some science regarding the DBMS_UTILITY.FORMAT_ERROR_BACKTRACE function, new in Oracle 10g, for better exception handling in PL/SQL.


Chocolate Pizza
Posted on 15 Dec 2013 / Desserts
My money's in that office, right?   She gonna tell me too.

Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero.  I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass.


Summary
We have developed a inexpensive centrifugal pump that attaches to a simple power takeoff on a Buffalo Bike. Our hypothesis is that a less efficient centrifugal pump paired with power generation from cycling will be overall more efficient than a more efficient positive displacement pump paired with stepping power generation. We have recently shown this to be true by accurately measuring the input biomechanical power and output hydraulic power from both systems to produce efficiency curves as a function of hydraulic load.
| Theme | Appropriate Technology | Current Researchers | |
| Last Worked On | December 2018 | Past Researchers | Abraham McKay, Aaron Shaw, Rayming Liang |
| Collaborators | Andrew Hall |
Associated Research Products
Theses:
- Mckay, Abraham B., "The Water Buffalo: Design of a Portable Bicycle Powered Irrigation Pump for Small-Scale African Farmers", MSc Thesis, University of California, Davis, 2018. https://doi.org/10.6084/m9.figshare.6378401.v2
Blog posts:
- Shaw, Aaron and Liang, Rayming. "Finding the Efficiency of the Xylem and Money Maker Treadle Pumps", Laboratorium of Marvelous Mechanical Motum Blog (December 27, 2018) https://mechmotum.github.io/blog/treadle-pump-experiment.html


Island Control
This page can only be handled by Mr Function
Pool Status
0
TRX Liquidity0
USDJ LiquidityDeposit Liquidity ( USD TVoL)
Deposit TRX
Deposit USDJ
Withdraw Liquidity ( USD TVoL)
This page can only be handled by Mr Function


Airbnb guests sue homeowner after discovering 3 hidden cameras in unit, lawsuit claims
by Alexandra DeablerA couple has sued the owner of a San Diego, Calif., apartment rented via Airbnb after claiming it had cameras hidden throughout the converted garage unit.
An unidentified couple booked an Airbnb in the city's Clairemont neighborhood back in November 2018. Three days into their stay, the pair claim they discovered three hidden cameras, two of which were in the bathroom, with another one in the bedroom ceiling, NBC San Diego reports.
According to the lawsuit, the guests called police, who reportedly “confirmed the existence of the cameras.”
CLICK HERE TO GET THE FOX NEWS APP
The Airbnb rental was operated by owner Paul Vukelich, who is being sued for invasion of privacy, inflicting emotional distress and distributing sexually explicit materials, among other claims.
Vukelich, however, claimed to NBC7 that there were never any operational cameras inside the unit.
The attorney representing the couple in the civil lawsuit, David Beavans, has stated the incident has left his clients’ with severe emotional trauma.
 That's where the harm here comes in," Beavans said.
Airbnb did not immediately respond to Fox News’ request for comment, but the company said it has removed Vukelich from the platform, according to a statement shared with NBC7.
FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS
"The safety and privacy of our community are key priorities, and we maintain strict rules regarding the disclosure of security devices — which includes an outright ban on cameras within bedrooms and bathrooms. Once this incident was brought to our attention, we removed the host and listing from our community and worked quickly to support our guest."
David Beavans did not immediately respond to a request for comment.


PART VI. MOTOR VEHICLE DRIVER LICENSING
Revision Note
The amendments made to this part by L 2012, c 310, §§2 (enacting subpart B), 5 (amending the part VI title), 6 (adding a subpart A title), and 8 (amending §§286-101, 286-102(e), 286-104, 286-106, 286-107(c), 286-108(a), 286-110(a), 286-112(a) and (c), 286-113, 286-114, and 286-122(a) to change "part" to "subpart") are omitted as the new subpart B added to this part was renumbered as part XVI pursuant to §23G-15.
Cross References
Civil identification cards, see §§286-301 to 286-313, part XVI.
Law Journals and Reviews
Intextication: Txting Whl Drvng. Does the Punishment Fit the Crime? 32 UH L. Rev. 359 (2010).
§286-101 Designation of examiner of drivers. The chief executive of each county shall designate one or more persons, residing in the county, each of whom shall be a competent operator of motor vehicles, to be known as the examiner of drivers, and whose duty it shall be to examine into the qualifications and fitness of any person desiring to secure or to renew a license to operate a motor vehicle as provided in this part. [L 1937, c 234, pt of §1; am L 1939, c 104, §7; am L 1943, c 62, §21 and c 64, §22; RL 1945, pt of §7301; RL 1955, §160-31; HRS §286-101; am L 1969, c 128, §1(1); am L 1970, c 152, §1 and c 164, §3]


add
Save current view state
0">
Restore saved state:
{{ (i + 1) + '. ' + viewState.name }}
share
close
0">
Recently accessed public states:
{{ (i + 1) + '. ' + viewState.name }}
Choose a name for this view
Name
Are you sure you want to delete this saved state?


FREGE: Fundamentals
of Reasoning for the Electronic Age
Clear thinking is required
for success in all human endeavors.
“Clear” is not equivalent to “formal” and none of us writes out a formal
logic proof every time we need to answer an important question. But formal logic is an important pedagogical
tool in much the same way that other “exercises” are:
·
Piano students practice scales.
·
Athletes do pushups.
·
Thinkers (of all stripes) write small proofs in formal logic so
that they understand the difference between sound and unsound reasoning.
But formal logic is more
than an exercise for students. It’s also
a powerful practical tool in its own right.
For example:
·
Mathematicians write formal proofs, both as a way to derive
insight and as a way to certify truth.
·
Computer scientists write formal specifications for programs and
applications. Then they reason with
those specifications to construct working systems.
·
Computer engineers use logic as the basis for the design of
computer circuits.
Yet, despite its
importance, logic shows up barely (if at all) in most pre-college curricula
today. At one time, most high school
geometry classes had a large proof-based component. But that is no longer true.
So students come to college
with almost no exposure to this fundamental tool. Our goal is to create an online learning
environment that fixes that problem.
There exist hundreds (or
maybe thousands) of books on logic and discrete mathematics. There are also already some online logic
classes. But we haven’t found any of
them that meet all of our goals. In
particular:
·
We want a focus on the practical use of logic as a reasoning
tool.
·
We want to help students from all disciplines become better
thinkers.
·
We want to grab the attention of students in disciplines in
which formal logic plays a particularly key role. In particular, we want to exploit concrete
examples from computing and mathematics.
·
We want to target computer science and engineering students in a
special way. Formal reasoning will be
critical in everything that they will do.
But they don’t always appreciate that.
Many think that they just need to learn to code. So we need to rope them in with useful
techniques that bridge a perceived abstract/concrete chasm. But, at the same time, we need to structure
the course so that those excursions are not off-putting to noncomputing
students.
So we want a course that
is laced with diverse examples, including:
·
The standard fare of logic courses: everyday reasoning. These examples will speak to technical and
nontechnical students alike. For
example, they’re good preparation for the law school entrance exam.
·
Mathematical examples that are not so trivial as to lead
students to say, “So now I can prove the obvious,” nor yet so advanced as to be
inaccessible to novice mathematics students.
·
Computer science examples that draw in and motivate not just CS
students but many others who have grown up in the digital age.
We also want a (smaller)
follow-on course that builds on the logic one.
Nontechnical students will likely choose to skip this second
course. But for technical students, this
course on Sets, Relations and Functions will:
·
Introduce those important ideas,
·
Provide additional practice at proving things once there are
interesting structures to prove things about.
While, in principle,
students could take an unrelated course that covers this material, in practice
notation can be a huge hurdle. Our
second course will use all the same notational and proof conventions as does
the reasoning course. That will let
students procrastinate, until they have a bit more mathematical sophistication,
jumping into new notational worlds.
There’s no single “best”
entry point into this large web of material.
So our goal is to build a system that can be used in many ways,
including as:
·
A prematriculation resource: We envision making it available to students
in the summer before they arrive at UT.
Our very specific goal here is to make students better prepared to
succeed in their first semester at UT.
·
A flipped class resource:
We are designing it so that it could be the basis for an efficiently-run
organized UT class that covers this material.
·
A just in time learning resource: We see it as something students can use when they
recognize the need to fill in gaps as they pursue their UT coursework.
·
(Possibly) the basis for a dual enrollment course that could
give potential UT students access to the material while they are still in high
school.
To make all of those uses
possible, we need to offer substantial flexibility in how and when students can
use our materials. So we rejected the
idea of a synchronized course (such as a MOOC).
Instead, our goal is to
build what we’re thinking of as an online textbook. It has:
·
“Picturated” text. Formal logic is, at its core, a symbolic
process. So text is more appropriate
here than it is for many other kinds of things.
But we can’t ignore the importance of visual learning. Fortunately, the online environment makes it
possible to include pictures and graphics much more easily and cheaply than
could be done in the offline world.
·
Video, when video is the most effective medium. In particular, videos are great for how- to
lessons such as, “How to Discover a Proof”.
·
Interaction almost all the time. No dozing allowed. Unlike
traditional books, and unlike even many video based online classes, we carve up
knowledge into very tiny morsels. After each morsel, students must think,
interact, explore and practice.
·
Flexibility. The material
is structured so that it is easy for students to run quickly through any
material that they’ve seen before. Then
they can focus their time on material that is new or difficult for them.


Dwolla API consumer applications can subscribe to Webhook Notifications. These Notifications are messages pushed to a subscribed URL as specified by the application owner. Notifications act as a private messaging system giving the application owner messages related to events triggered or initiated by their application's usage of the Dwolla API. Use Notifications to track the progress of transactions tied to your consumer application without polling for information.
Available Notifications
Click on any of the available types to see a detailed explanation of the notification:
- Transaction Status - receive webhook notifications when the status of a transaction that is associated with your application changes.
- Transaction Returned - receive webhook notifications when a bank funded transaction fails.
- Request Fulfilled - receive webhook notifications when requests that were made using your application are fulfilled.
- Request Cancelled - receive webhook notifications when pending requests that were made using your application are cancelled by either parties.
Webhook Signatures
Every Webhook notification originating from Dwolla will be accompanied by a signature, so that you can validate the origin of the message. The signature will be posted in the X-Dwolla-Signature header, and is an HMAC hash of the request body salted using the consumer application secret.
Here's an example of validating a webhook signature using NodeJS:
function validate_webhook_signature(body, secret, signature) { var crypto = require('crypto'); hash = crypto .createHmac('sha1', secret) .update(body) .digest('hex'); return (hash == signature); }
How Notifications Work
1. Dwolla sends a HTTP POST request
When you enable Notifications, Dwolla servers will automatically attempt to POST a request with a JSON body to the Notification Url(s) specified. The JSON contains standard properties defining the notification type and other information relevant to the notification type.
Although Notifications are asynchronous, the information sent with the request will always follow the corresponding information on Dwolla.com and, where exposed, the information available via the Dwolla API. For example, if you subscribe an application to transaction status Notifications, the status value sent via the Notification contains the same status you'd see on Dwolla.com or in a response from Dwolla's transactions API for the given transaction.
2. Consumer application sends a HTTP response
Your server needs to be set up to receive the request from Dwolla at the publicly visible Notification URL(s) you've subscribed and needs to respond with an HTTP status code of OK (200), otherwise Dwolla assumes a temporary problem and immediately retries the POST request two times in succession.
Setup Notifications
Notifications are setup per application through the application's feature page by entering the URL(s) you'd like Dwolla to notify.
- Create a Dwolla Consumer Application.
- View your applications.
- Click 'Edit Features' link.
- Set a URL for the notification type(s) you wish to subscribe to.


subject = "Contact Us Form Message Received" == You received a message from {{name}}. To read message go to {{url_message}} == You received a message from {{name}}
Click here to read the message.


Program Description
This program is an example of steps to allow embedded database connectivity to a C++ program. The following has been checked:
- Downloading, building and linking Poco library
- Downloading and linking SQLite library
- Using different aspects of Poco::Data wrapper according to Poco Data User Guide. Particularly, the following interesting features has been tested:
- connection, session, binding custom objects
- using Poco data types (incl. timestamps)
- some peculiarities of SQLite3: foreign key support
A database containing simple notes with logging function was implemented:
Documentation
- All of the code is sufficiently commented.
- Doxygen generated documentation is in the docs folder
Building Tips
- POCO library is needed: Download complete edition
- SQLite library is needed: Download 64-bit DLL (x64) and command-line tools
- Set environmental variables:
CPP_POCO_LIB_ROOT
, CPP_SQLITE_LIB_ROOT
- Use your modified assets/setenv.bat (run as admin) to accomplish that
- Build POCO on x64 (on win32 it builds without problems):
- in Developer Command Prompt (comspec% /k ""C:.bat"); cd C:\; run vc/vcvarsall.bat amd64
- cd poco_dir
- in component: delete not needed components
- in build_vs140.cmd: buildwin 140 build shared both x64 samples
- run build_vs140.cmd
- Set Project Properties
- Configuration Properties > Debugging > Environment
PATH=PATH%;H:\\;H:\\;
- these are paths to dll libs PocoFoundation64, PocoData64, PocoDataSQLite64, sqlite3
- Configuration Properties > General > Output and Intermediate Directories
build\\\bin\
build\\\obj\
- C/C++ > General > Additional Include Directories
H:\\include\;H:\\include\;H:\\SQLite\include\;
- Linker > General > Additional Library Directories


Gecode::MiniModel::StatePool Class Reference
Detailed Description
State pool combines a tree of states together with yet unprocessed statesDefinition at line 588 of file reg.cc.
Public Member Functions | |
| StatePool (PosSet *) | |
| StateNode * | pop (void) |
| bool | empty (void) const |
| int | state (StatePoolAllocator &, PosSet *) |
Public Attributes | |
| int | n_states |
| StateNode | root |
| StateNode * | next |
| StateNode * | all |
Constructor & Destructor Documentation
| Gecode::MiniModel::StatePool::StatePool | ( | PosSet * | ps | ) | [inline] |
Member Function Documentation
| StateNode * Gecode::MiniModel::StatePool::pop | ( | void | ) | [inline] |
| bool Gecode::MiniModel::StatePool::empty | ( | void | ) | const [inline] |
| int Gecode::MiniModel::StatePool::state | ( | StatePoolAllocator & | spm, | |
| PosSet * | ps | |||
| ) | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
- gecode/minimodel/reg.cc (Revision: 6102)


Choose the Polyspace Metrics server to be used in this project, as defined on the Configure System page.
You can then use these variables in scripts in the Build section of this project. For instance, in a Shell script, use these variables with the syntax $VAR
. In a Windows batch file, use the syntax %VAR%
.
POLYSPACE_METRICS_HOST
is the hostname of the Polyspace Metrics server.POLYSPACE_METRICS_PORT
is the port number of the Polyspace Metrics server.POLYSPACE_METRICS_URL
is the URL of the Polyspace Metrics server.ps_helper_metrics_upload
is a helper utlity to upload Polyspace results to the specified server.
Syntax (shell scripts):
$ps_helper_metrics_upload ResultsDirwhere
ResultsDir
is a folder containing Polyspace results.


This website was created as a part of SUNY Plattsburgh's Global Climate Change course.
This website is open source under the MIT license. View the source on GitHub.


This page is intended to act as a toolkit-generator for producing structures of aesthetic encounter. It draws from visions of future predictions and historical reconstructions shaping contemporary urban spaces. Organized around a set of prompts and questions, it is intended as a script for the contemplation and production of a new vocabulary to engage with the timeliness of urban conditions.
The project proceeds from four starting points.
The project proceeds from an understanding of the proposal as an important tool for the expansion of civic imagination to be adopted in conjunction with other forms of action. Language can be a starting point for generating forms beyond what is readily apparent – an urgent appropriate tool for a moment of collective incapacity, distinct to present conditions of emergency, dislocation, and evacuation. This is understood in dialogue with allied projects creating tools for expanding the roles of artistic and architectural education in public life, and efforts to democratize its access. In this sense it could be a syllabus, scaffold, lesson plan, assignment, or script for collaborative structure – a non-coercive rearrangement of desires.
Another starting point is a focused attention on examples of visualization of the future and of past historical moments. Think of architectural renderings, interpretive archaeological sites, capital campaigns, and logarithmic pandemic charts. Understand these images as interfaces which impact an experience of the urban environment in the present.
A Media Lab City Science 2017 article begins with the question: “Can you imagine a city that feels, understands, and cares about your wellbeing?” It outlined a framework for future urban development comprised of layers of embedded technologies for caring, understanding, and feeling. It describes a city that is at once smart, sensitive and caring, and one which uses soft social engineering to manipulate its population. Models of perceptual and emotional feedback would be utilized to automate civic participation at the expense of all other ways of organizing. Concern yourself with this slippage, an uncanny transference of the psychological to the architectural. Think also of other ways that the city might care, the interlinked networks of maintenance and violence, the political economies of attention, the experience required to register how it would manifest.
The history of emotions is an emerging academic field which traces and analyses the changing norms and rules of feeling. It looks at the development and organization of emotional regimes, codes, and lexicons. This project seeks to affirm the contingent nature of emotion and its discrete manifestations. You might look, too, to the changing epistemic status of psychological pathologies, and to think towards the unregistered, the untimely, and the not yet realized kinds of feeling.
| Image | Non-Image | Prediction | Reconstruction | |
|---|---|---|---|---|
| Maintenance | What was an image of maintenance?
The place in which you are already standing. |
What was a not an image of maintenance?
The way they slowly moved over the course of the day without anyone seeing. |
What was a prediction of maintenance?
The costs would be greatly underestimated. |
What was a reconstruction of maintenance? They joined together into groups but failed to recognize what made it possible in the first place. |
| Planning | What was an image of planning? The upper part tapered inward and was covered in crisscrossed lines like it was preparing for a disaster. |
What was not an image of planning? Near the ground it was still windy, and not many people walked by. |
What was a prediction of planning? It was predicted that by the middle of the century it would become a thriving hub for the regional economy. |
What was a reconstruction of planning? There is evidence there was a model of the site. |
| Belief | What was an image of belief? A tour group was led through the museum, like double agents their true intentions were different from what the plaques had indicated. |
What was not an image of belief? We talked about how images started to feel dangerous, not knowing what could be extracted later on. |
What was a prediction of belief? There was this big three-part seating area where the tour guide would narrate. |
What was a reconstruction of belief? A shift in how people were listening. |
| Desire | What was an image of desire? When one bumped into another they told each other about the catastrophe. Most would quickly evacuate. |
What was not an image of desire? Those that did not evacuate had to wait to see it for themselves. |
What was a prediction of desire? Most people didn’t much understand what it was about until later on. |
What was a reconstruction of desire? At first it consisted of following certain paths. |
| Intention | What was an image of intention? It referred to simple obvious facts. |
What was not an image of intention? The evacuation resulted in some of that information being lost. |
What was a prediction of intention? The plans proved mostly useless. |
What was a reconstruction of intention? A new academic department was created, and staffed in part due to a generous grant from an outside donor. |
| Physical Activity | What was an image of physical activity? Supportive technologies |
What was not an image of physical activity? Inertial parameter models allowed for a sensitive recovery. |
What was a prediction of physical activity? They updated the instructions constantly. |
What was a reconstruction of physical activity? A heuristic feature selection method. |
| Contingency | What was an image of contingency? Rearrangement of desires, especially a new understanding of the role of violence in public life. |
What was not an image of contingency? We dressed up and lined the hallway reading our lines. |
What was a prediction of contingency? Poor handling of the analogue, fissures in the local, that remained perceptible. |
What was a reconstruction of contingency? It does not appear in the records. |
| Care | What was an image of care? It would start with recognizing what was wrong. |
What was not an image of care? They did not appreciate the lack of eye contact. |
What was a prediction of care? For most it was rumored but failed to materialize. |
What was a reconstruction of care? A letter written long after the fact. |
| Feeling | What was an image of feeling? It was this plaque on the guardrail. It talked about what they think it felt like thousands of years ago, but there wasn’t any pictures. |
What was not an image of feeling? What they don’t tell you on the tour is that all around is a neighborhood obscured by massive walls. |
What was a prediction of feeling? It was tightly controlled, and most people who encountered the site ended up acting as expected. |
What was a reconstruction of feeling? And if you stayed in the lobby until eight you would see they move all the chairs into storage and roll up the carpets. |
| Evidence | What was an image of evidence? It was never recovered. |
What was not an image of evidence? She asked everyone how many of our walls could be taken down, hoping we would think together about the conditions we were working under. |
What was a prediction of evidence? It depicted the likely scale and ornamentation of the original structure. |
What was a reconstruction of evidence? Afterwards we took of our costumes and had lunch outside. |
| Sensibility | What is an image of sensibility? I overheard him talking about new innovative features. |
What was not an image of sensibility? He was leaving a lot of it up to chance, seemingly hoping the visitors would fill in the rest with their imaginations. |
What was a prediction of sensibility? They had equal distributions of transparency. |
What was a reconstruction of sensibility? The development of a new methodology was required, involving extensive participant interviews especially with children. |
| Support | What was an image of support? They did not have a graphical interface, but it was codified into various diagrams. |
What was not an image of support? They had overlooked a number of neighborhoods in the city, which later commenters noted as a critical missed opportunity. |
What was a prediction of support? A steep decline, but the development of more responsive assembly components – unfortunately they were largely correct. |
What was a reconstruction of support? A special certificate program accredited by the state helped the ideas spread globally. |
| Violence | What was an image of violence? It receded into the walls quietly impacting the efficiency of the other inhabitants of the space. |
What was not an image of violence? It was not as structured and shocking as everyone had been expecting, it came slowly. |
What was a prediction of violence? In this instance, they were told that they thought it would provide new opportunities for inter-departmental initiatives, but many remain skeptical. |
What was a reconstruction of violence? They realized later that evidence showed up in places nobody had been paying attention to and focused on the places which had the least traffic, and therefore were best preserved. |
| Policy | What was an image of policy? In graph form each contradicted the other. |
What was not an image of policy? It had to be felt and experienced first hand for the people they called susceptible to comply. |
What was a prediction of policy? We had wished it was going to be a new relationship between art and life. |
What was a reconstruction of policy? Thinking carefully about the needs of the community. |
| Methodology | What was an image of methodology? Large banners, printed on fabric stretched across the plaza. |
What was not an image of methodology? They could only interpolate between the two images, otherwise it was unclear what was intended. |
What was a prediction of methodology? A relationship based more on trust, and uncertainty rather than an inevitable turn towards conservative repetition. |
What was a reconstruction of methodology? Basic codes and conversations began to work and suggested new possibilities for what was possible. |
| Suggestion | What was an image of suggestion? They asked to imagine a bank lobby at night, and a journey into a subterranean control room. |
What was not an image of suggestion? It doesn’t capture the ambivalence of finding yourself so easily manipulated like that. |
What was a prediction of suggestion? It was necessary. |
What was a reconstruction of suggestion? It was communicated over the phone, but it didn’t translate. |
| Agency | What was an image of agency? They met every night to coordinate their covert activities. |
What was not an image of agency? They often tried writing it all out on big sheets of paper. |
What was a prediction of agency? It involved a series of connected open spaces. |
What was a reconstruction of agency? Underground tunnels to shelter from the elements during the winter. |
| Forgetting | What was an image of forgetting? There was constant gaps in the process, and they could be seen like fingerprints on the public signage. |
What was not an image of forgetting? Learning was possible. |
What was a prediction of forgetting? They had always discussed coming up with protocols and failsafe procedures, but it happened naturally anyway. |
What was a reconstruction of forgetting? They used the difference between two frames to obtain a blurry image. |


08. Opcodes
SOLUTION:
2 3Standard Script Notation
Let’s discuss standard script notation using this example,
<sig><pubKey> OP_CHECKMULTISIG
- Bracketed values are data to be pushed to the stack.
- For example,
<sig>
.
- For example,
- Non-bracketed words are opcodes.
- For example,
OP_CHECKMULTISIG
- For example,
- Sometimes you may see the
OP
prefix omitted.- For example,
<sig><pubKey> OP_CHECKMULTISIG
may be abbreviated to<sig><pubKey> CHECKMULTISIG
- For example,
Exploring Live Scripts
Using an online block explorer, we can see examples of live Unlocking and Locking Scripts.
- Checkout this TXID: 56beef8afe5a4b5b41225211e62c3e7bce5747c4c8dcdd982173e8496687794b that has 1 input and 2 outputs.
Step 2: Scroll down to the bottom to see the Unlocking Scripts (scriptSig) of the one input and the two Locking Scripts (scriptPubKey) from the two outputs.
**Step 3: **Focus on the Locking Script of the first Output (output 0):
The generic form of this script is:
OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
Step 4: Now focus on the Unlocking Script of the Input:
The generic form of this script is:
<sig> <pubKey>
Which is a Standard Unlocking Script for Standard Transactions to Bitcoin addresses.
That wraps it up for your overview to Script Opcodes. In this concept, we:
- Demoed how to evaluate an example script and you got to practice solving an example
- Saw some examples of simple Unlocking and Locking Scripts
- Reviewed standard script notations
- Explored live scripts using an online block explorer