Class 3
<link href="style.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />

This is a sample paragraph
p {
color: aqua;
}
This is a warning!
.warning {
color: red;
background-color: black;
}
This is a prompt
#prompt {
color: white;
font-size: 20px;
}

We are an
amazing
team of developers

Located in
beautiful
Cambridge, MA

ul li {
color: blue;
}

We are an
amazing
team of developers

Located in
beautiful
Cambridge, MA

#intro li {
color: blue;
}

We are an
amazing
team of developers

Located in
beautiful
Cambridge, MA

li .fancy-text {
color: blue;
}

We are an
amazing
team of developers

Located in
beautiful
Cambridge, MA

span.fancy-text {
color: blue;
}
View design image »
Download PSD (optional; requires Photoshop) »
Inline vs. Block
| Inline | Block | |
|---|---|---|
| Can have a set width and height | ✗ | ✔ |
| Allow other elements to their left and right | ✔ | ✗ |
| Force sibling elements to move to a new line | ✗ | ✔ |
CSS makes it easy to
notice
inline elements.
.tomato {
color: tomato;
text-transform: uppercase;
}
CSS makes it easy to NOTICE inline elements.
CSS makes it easy to
notice
inline elements.
.tomato {
color: tomato;
text-transform: uppercase;
}
CSS makes it easy to
A Practical Example
Another Example
15 pixels on all sides:
selector {
padding: 15px;
}
25 pixels on top only:
selector {
padding-top: 25px;
}
See the Pen Padding by Liz Shaw (@anythingcodes) on CodePen.
Properties
You can specify each property separately:
selector {
border-width: 10px;
border-style: dashed;
border-color: grey;
}
Or with all three together:
selector {
border: 10px dashed grey;
}
15 pixels on all sides:
selector {
margin: 15px;
}
25 pixels on top only:
selector {
margin-top: 25px;
}
See the Pen Margin by Liz Shaw (@anythingcodes) on CodePen.
Centered
img {
margin: auto;
width: 300px;
display: block;
}
Does not include padding or borders, since those add to the width
Remember: block elements respect width, while inline elements do not
Does not include padding or borders, since those add to the height
Remember: block elements respect height, while inline elements do not
Inline vs. Block
| Inline | Block | |
|---|---|---|
| Respect left and right margins | ✔ | ✔ |
| Respect top and bottom margins | ✗ | ✔ |
selector:pseudoclass {
property: value;
}
a:hover {
color: #F0C042;
}
Today we will be doing an in-class exercise to complete the first-half of our class project
http://bit.ly/gdi-html-class-3CSS Positioning, Flow, & Other
Coding Goodness


Kandinsky Trio
Piano Music by Kent Holliday
Trio in A-flat Major, Hob. XV:14
F. Joseph Haydn (–)
The first movement strictly follows the form and harmonic structure of idiomatic 18th Century sonata-allegro pieces. Haydn adds his well-known character and style to this trio. The expressive violin and cello parts are smooth and flowing in contrast to the technically fast trills and runs in the piano part. The violinist works especially hard to bring out the differences in articulation. In the second movement, the section with piano solo and pizzicato string accompaniment shows off the pianist's abilities with decorative ornaments, trills, and turns. The rondo movement is lively and energetic. The listener can feel a sense of building energy throughout this movement. The main motif is in an odd meter. Haydn deceives us with false endings frequently, but finishes the trio with an exciting phrase.
Suite from Silent Faustus
John D'Earth (–present)
This piece, with a little bit of dissonance and transgressing harmony, is very cartoon-like and contains a lot of imagery. Not without harmony, it is difficult to hear where the tonal centers are. The piece demands both technical and musical skills of the performers. The improvisational violin solo and beat box accompaniment have strong ethnic undertones. The climax of the first section is on the threshold of violent. The improvisational Cello solo and piano accompaniment is a mournful and emotional section. The listener may be reminded of a rainy day in the city. The last section of the piece returns to the original theme and finishes by incorporating those that occur throughout the piece.


Yes. 1 + 1 is always exactly 2, with integers.
Often a program uses an
integer loop control variable
which is used to compute a floating point x
for every iteration of the loop:
class LogTable { public static void main ( String[] args ) { System.out.println( "x" + "\t ln(x)" ); for ( int j = 1; j <= 20; j++ ) { double x = j/10.0 ; System.out.println( x + "\t" + Math.log( x ) ); } } }
This is not without problems,
but at least the errors in x
are not accumulating.
Here is the output:
x ln(x) 0.1 -2.3025850929940455 0.2 -1.6094379124341003 0.30000000000000004 -1.203972804325936 0.4 -0.916290731874155 0.5 -0.6931471805599453 0.6000000000000001 -0.5108256237659905 0.7000000000000001 -0.3566749439387323 0.8 -0.2231435513142097 0.9 -0.10536051565782628 1.0 0.0 1.1 0.09531017980432493 1.2000000000000002 0.1823215567939548 1.3 0.26236426446749106 1.4000000000000001 0.336472236621213 1.5 0.4054651081081644 1.6 0.47000362924573563 1.7000000000000002 0.5306282510621705 1.8 0.5877866649021191 1.9000000000000001 0.6418538861723948 2.0 0.6931471805599453
The new problem is that the result of dividing j
by 10.0
is not completely accuracy.
However, dividing an integer by a power of two,
is accurate (as long as the result is not too small).


This PWG face-to-face meeting will be held on August 9-10, 2023, only via Webex teleconference (Virtual F2F).
There is no registration fee or RSVP survey for this meeting.
Note: All times are Eastern Daylight Time (EST) (UTC−04:00).Discussions at PWG face-to-face meetings are covered by the PWG Policy on Intellectual Property and Confidentiality and the PWG Anti-Trust Policy .
| Date | Times | Description |
|---|---|---|
| August 9 | 10:00 AM to 10:45 AM | PWG Plenary |
| 10:45 AM to 11:00 AM | IPP WG : Status · IPP Encrypted Jobs and Documents v1.0 · IPP Enterprise Printing Extensions v2.0 · PWG Media Standardized Names v2.1 | |
| 11:00 AM to 12:00 PM | IPP WG : IPP OAuth Extensions v1.0 | |
| August 10 | 10:00 AM to 12:00 PM | IDS WG : Status and Discussion · PWG Hardcopy Device Security Guidelines v1.0 |
| 12:00 PM to 12:45 PM | Break / Lunch | |
| 12:45 PM to 1:45 PM | IPP WG : 3D Printing Liaisons - Status & Guidance | |
| 1:45 PM to 2:00 PM | IPP WG : Next Steps |


Aug 10, 2015 10:32 AM
From the Science Museum Group to Holidaybreak, Edluminary and Forensic Outreach have worked with thousands of schools, student travel specialists, museums and multinational corporations in the attractions industry to redefine how people of all ages engage with science. In this talk, Shivani Lamba, Founder of Edluminary, will reveal the imaginative approach that informs how its key educational initiatives — from workshops and summer programs to enterprise apps — were designed, developed and deployed, with take-home messages for a more immersive science classroom. Shivani Lamba is the Founder and Managing Director of Edluminary, a start-up that specializes in the delivery of scientific public engagement, with Forensic Outreach as its most popular and celebrated educational initiative. Edluminary and Forensic Outreach’s initiatives have been featured in: Forbes; The Next Web; EdSurge and the Guardian, which commissioned a special piece on innovative science learning for its Teacher’s Network. The team and its collaborators were also credited as consultants on NPR’s Serial. Shivani holds a BSc in neuroscience (with a focus on developmental neurobiology) from University College London, where she was a recipient of the prestigious Open Scholarship. She is currently completing a foundation certificate in computer science (prior to an MSc) at Stanford University.


A brief note. Those of you who read Hooting Yard via an RSS feed will have spotted that you now only get the opening lines of each post, and will have to visit the site itself to read the whole thing. The purpose of this change is not to inconvenience you unduly, but to ensure that you are compelled to keep glancing to the right, where you cannot fail to see the books available—a fourth one is due early in 2009—and of course the ‘Donate’ button, designed to instil pangs of unbearable guilt that so many, many words have been offered freely over the past five years.Â
ADDENDUM : Actually, I ought to say that not all readers need be beset by guilt-pangs, as some of you have been very generous. You know who you are, and I thank you.


The War Against The Conservative Establishment
Conservative Inc. doesn’t have ‘America First’ in mind
by Jake LloydA war is being waged to take back the MAGA movement from the conservative establishment that has attempted to hijack it.
Pete D’Abrosca joins Owen to reveal behinds the scenes info on the ongoing drama between Charlie Kirk and Nick Fuentes.


The Pipelines
Overview
The Pipelines is the part of the code interacting with the transport protocol,
defined in transports
, to download and parse:
- the Manifest
- media Segments
Each of those task is performed by a discrete component of the Pipeline:
-
The Manifest Pipeline is used to download and parse the manifest file.
-
The SegmentPipelinesManager is used to create Segment pipelines, allowing to download and parse media segments.
The Manifest Pipeline
The Manifest Pipeline allows to download and parse the Manifest/Playlist of the current transport protocol to return an unified Manifest object.
This is the part of the code that interacts with transports
to perform the
request and parsing of the Manifest file.
The SegmentPipelinesManager
The SegmentPipelineManager allows to easily perform Segment downloads for the
rest of the code.
This is the part of the code that interacts with the transport protocols -
defined in transports
- to load and parse media segments.
To do so, the SegmentPipelineManager creates Pipelines of different types (example: a video or audio Pipeline) when you ask for it. Through those Pipelines, you can then schedule various segment requests with a given priority.
The priority of this request is then corroborated with the priority of all requests currently pending in the SegmentPipelineManager (and not only with those on the current pipeline) to know when the request should effectively be done.
During the lifecycle of the request, the Pipeline will communicate about data and metrics through several means - documented in the code.
Priorization
Each Segment request can be linked to a priorization number. Such number will indicate which segment is needed more immediately than other (lower it is, the higher the priority of the segment is).
If the request has no priorization number, the lowest priorization number
(the highest priority) will be set on it: 0
Basically, any new request will have their priorization number compared to the one of the current request(s) done by the SegmentPipelineManager:
-
if no request is already pending, we perform the request immediately
-
if (and only if) this priorization number is higher (so lower priority) than all current requests, this new request will be postponed to let the higher-priority ones finish.
-
If a new request has a priorization number lower or equal than all current downloads, we perform the request immediately without interrupting the current, lower-priority ones.
The priority of a download can be updated at any time, until this request either has finished, was canceled or failed. The same rules apply when the priorization number is updated (if this request is already pending, we keep it going in any case).


Home
About Us
Lesson
"your code starts here."
What's Whiteboard?
Free R Learning
Whiteboard is a free learning.
You can easily understand how R works.
Free R Learning
Whiteboard is a free learning.
You can easily understand how R works.
Free R Learning
Whiteboard is a free learning.
You can easily understand how R works.


This post wrap up a hello-world demo for django Microservices web app, and shold serve well as a template.
First, What is Pattern: Microservices Architecture:
refer below from http://microservices.io/patterns/microservices.html
Context You are developing a server-side enterprise application. It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an API for 3rd parties to consume. It might also integrate with other applications via either web services or a message broker. The application handles requests (HTTP requests and messages) by executing business logic; accessing a database; exchanging messages with other systems; and returning a HTML/JSON/XML response.
The application has either a layered or hexagonal architecture and consists of different types of components:
Presentation components - responsible for handling HTTP requests and responding with either HTML or JSON/XML (for web services APIS) Business logic - the application’s business logic Database access logic - data access objects responsible for access the database Application integration logic - messaging layer, e.g. based on Spring integration. There are logical components corresponding to different functional areas of the application.
The motivations are :
There is a team of developers working on the application New team members must quickly become productive The application must be easy to understand and modify You want to practice continuous deployment of the application You must run multiple copies of the application on multiple machines in order to satisfy scalability and availability requirements You want to take advantage of emerging technologies (frameworks, programming languages, etc)
So what is Microservice Architecture:
Reference ends here. Now start my demo code. Below is how I plan to do it:
Tier one app. It’s an empty app, only has Settings.py and url.py is important. You start your whole application by bootstraping this app python manage.py runserver from here.
settings.py
1 2 3 4 5 6 7 8 9 10 |
|
url.py
1 2 3 4 5 6 7 8 9 |
|
Now go to another tier one app, tbcheck. This app serves as view app, with all template, tamplate tag, css stuff there url.py
1 2 3 4 |
|
views.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
At last is tier two app. tbmodel
Only has models.py in it. It is just another package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
now when we run it, we first pip install all view, model app as package to site-package places. Then bootstrap the first app to start.
To access code and see hello world in 5 sec, just go to this link:
1 2 |
|


We are sorry but Counterstats doesn't work properly without JavaScript enabled. Please enable it.
View real cryptocurrency exchange rankings
We analyze on-chain transactions of the BTC blockchain to give you real cryptocurrency exchange rankings.
Wallet Explorer
An explorer that groups addresses belonging to the same wallet and labelled by exchange.
Crowdsourcing with the counterstake protocol
Earn monetary rewards for identifying wallets that belong to exchanges. This process is known as the counterstake protocol and runs as a decentralized
Autonomous Agent
on the
O
byte
platform.


Hi everybody, here is my Blog!
Remeber, if you get lost: The answer to the ultimate question of life, the universe and everything is 42!
SSH login alerts with sendmail and PAM
Trigger email notifications when someone logs in to your VPS/Server via SSH
An email alert, when someone logs in to your server via ssh, can be pretty useful to track who is actually using your server!
# February 15, 2018
Share:


Dali's take on Portal, and other gaming masterpieces
by Tom FrancisIn 2007, PC Gamer commissioned artist Drew Northcott to produce a series of pieces inserting game characters into classic masterpieces of art. They were awesome. Drew is amazing. We used one piece per issue as our back page, and it's occurred to us that they deserve a wider audience. Check out Drew's site for more of his work.
Campbell's Exploding Barrels
Art: Campbell's Soup Cans, Andy Warhol (1962)
Game: Half-Life 2 (2004)
D0G Playing Poker
Art: Dogs Playing Poker, C. M. Coolidge (1903)
Games: Sam & Max Hit The Road, Wolfenstein, Fallout 2, Reservoir Dogs, Half-Life 2, Nintendogs, Half-Life
The Extraction of Adam
Art: The Creation of Adam, Michelangelo (1512)
Game: BioShock (2007)
The Persistence of Portals
Art: The Persistence of Memory, Salvador Dali (1931)
Game: Portal (2007)
American Fandango
Art: American Gothic, Grant Wood (1930)
Game: Grim Fandango (1998)
Trouble at t'Mill
Art: Coming from the Mill, LS Lowry (1930)
Game: Darwinia (2005)
The Girl with the Black Pearl Earring
Art: The Girl with the Pearl Earring, Johannes Vermeer (1665)
Game: Beyond Good and Evil (2003)
The Vivisected Man
Art: Vitruvian Man, Leonardo Da Vinci (1487)
Game: Spore (2008)
JACKCON
Art: Various, Jackson Pollock (1942-1953)
Game: DEFCON (2006)


Class MicroProjectAssignmentModel
This class contains the absolute minimum values for a project assignment for user interface usage.
Inheritance
System.Object
MicroProjectAssignmentModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vasont.Inspire.Models.Projects
Assembly: Vasont.Inspire.Models.dll
Syntax
public class MicroProjectAssignmentModel
Properties
| Improve this Doc View SourceAssignedUser
Gets or sets the model of the assigned user.
Declaration
public MicroUserModel AssignedUser { get; set; }
Property Value
| Type | Description |
|---|---|
| MicroUserModel |
Components
Gets or sets a list of components associated with the assignment.
Declaration
public List<MicroComponentModel> Components { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<MicroComponentModel> |
CreatedDate
Gets or sets the assignment created date.
Declaration
public DateTime? CreatedDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
Description
Gets or sets the project assignment description.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DueDate
Gets or sets the assignment due date.
Declaration
public DateTime? DueDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
Project
Gets or sets the associated project.
Declaration
public MinimalProjectModel Project { get; set; }
Property Value
| Type | Description |
|---|---|
| MinimalProjectModel |
ProjectActivity
Gets or sets the project activity information.
Declaration
public MinimalProjectActivityModel ProjectActivity { get; set; }
Property Value
| Type | Description |
|---|---|
| MinimalProjectActivityModel |
ProjectAssignmentId
Gets or sets the project assignment identity value.
Declaration
public long ProjectAssignmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
ProjectWorkflowSubmittal
Gets or sets the project workflow submittal model.
Declaration
public ProjectWorkflowSubmittalModel ProjectWorkflowSubmittal { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectWorkflowSubmittalModel |
RequiresInput
Gets or sets a value indicating whether the assignment has active workflow.
Declaration
public bool RequiresInput { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
State
Gets or sets the assignment state name.
Declaration
public MicroProjectAssignmentStateModel State { get; set; }
Property Value
| Type | Description |
|---|---|
| MicroProjectAssignmentStateModel |
WorkflowName
Gets or sets the optional workflow name.
Declaration
public string WorkflowName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |


What is Framing and what are the benefits.
Explore everything under the hood inside of Framing.
Follow the guide to start building your first framing app: Tasknas!


Your task in this exercise is to show the behavior for the array-based stack's pop operation. In the array displayed below, the "top" position is arr_size .
You can copy a value from the stack to the "return" box by first clicking on the value in the stack, then clicking on the "return" box.
To change the value of "top", click on a cell in the array to highlight it, then click "Set Top".
If the index of "top" is 0, then the stack is empty and nothing can be pop'ed. In this case, just click "check answer".
Otherwise, the first step would be to copy the top value into the "return" box.
Finally, decrease the "top" index by 1.


The End of The World
问题描述 :
Legend says that there is a group of monks who are solving a large Towers of Hanoi puzzle. The Towers of Hanoi is a well-known puzzle, consisting of three pegs, with a stack of disks, each a different size. At the start, all of the disks are stacked on one of the pegs, and ordered from largest (on the bottom) to smallest (on the top). The object is to move this stack of disks to another peg, subject to two rules: 1) you can only move one disk at a time, and 2) you cannot move a disk onto a peg if that peg already has a smaller disk on it.
The monks believe that when they finish, the world will end. Suppose you know how far they’ve gotten. Assuming that the monks are pursuing the most efficient solution, how much time does the world have left?
The monks believe that when they finish, the world will end. Suppose you know how far they’ve gotten. Assuming that the monks are pursuing the most efficient solution, how much time does the world have left?
输入:
There will be several test cases in the input. Each test case will consist of a string of length 1 to 63, on a single line. This string will contain only (capital) As, Bs and Cs. The length of the string indicates the number of disks, and each character indicates the position of one disk. The first character tells the position of the smallest disk, the second character tells the position of the second smallest disk, and so on, until the last character, which tells the position of the largest disk. The character will be A, B or C, indicating which peg the disk is currently on. You may assume that the monks’ overall goal is to move the disks from peg A to peg B, and that the input represents a legitimate position in the optimal solution. The input will end with a line with a single capital X.
输出:
There will be several test cases in the input. Each test case will consist of a string of length 1 to 63, on a single line. This string will contain only (capital) As, Bs and Cs. The length of the string indicates the number of disks, and each character indicates the position of one disk. The first character tells the position of the smallest disk, the second character tells the position of the second smallest disk, and so on, until the last character, which tells the position of the largest disk. The character will be A, B or C, indicating which peg the disk is currently on. You may assume that the monks’ overall goal is to move the disks from peg A to peg B, and that the input represents a legitimate position in the optimal solution. The input will end with a line with a single capital X.
样例输入:
AAA BBB X
样例输出:
7 0
题目大意：
hanoi塔问题的变形，给你3根柱子A，B，C。以及每根柱子上的盘子数（保证是最优状态）。现在把所有盘子移动到B柱上，还最少需要多少步。输入格式：一个字符串s，长度代表盘子数，第i个字母代表第i个大的盘子在哪个盘子上。字符串仅由A，B，C组成。
题解：
考察递归的好题，相当不错.
按照hanoi最优移动规则，假设我现在要把n号盘子移动到B柱子上，那么我先要把前n-1个盘子先移动到辅助柱子上（这步用递归解决），然后n号盘子移动到目标柱子上（步数+1），再把n-1个盘子移动到目标柱子上（2^(n-1)-1）。
#include<iostream> #include<string> using namespace std; string s; long long cal(long long x,char goal) { for(long long i=x;i>=0;i--) if(s[i]!=goal) return cal(i-1,'A'^'B'^'C'^goal^s[i])+(1LL<<i); return 0; } int main() { while(cin>>s,s!="X") { long long ans=cal(s.length()-1,'B'); cout<<ans<<endl; } return 0; }
版权声明：本文为博主原创文章，未经博主允许不得转载。
参考：http://blog.csdn.net/hyogahyoga/article/details/7908627
(adsbygoogle = window.adsbygoogle || []).push({});
好吧，我忘了在日本之前还有个埃及，抱歉+-+
冒泡，原博博主这么说我就这么转了


The blur and radius affect the way the heatmap layer looks like. Use the controls below too change these values:
Blur value:
Radius value:


Must use our tour Planner for breathtaking tour packages!
This amazing site helps you book the best hotels all around the Bangladesh!
Book your flight instantly using Tourfana!
Where do you wanna go? How much you wanna explore?
10 tours7 places
12 tours9 places
25 tours10 places
18 tours9 places
14 tours12 places
14 tours6 places
We try our best to provide good service to the customer on this web site at very low cost.
3 Days 2 nights 5 star accomodation
transportation food facilities
254 reviews
6 Days 7 nights 5 star accomodation
transportation Free food
344 reviews
5 Days 6 nights 5 star accomodation
transportation food facilities
544 reviews
4 Days 5 nights 5 star accomodation
transportation food facilities
625 reviews
4 Days 4 nights 5 star accomodation
transportation food facilities
379 reviews
5 Days 6 nights 5 star accomodation
transportation food facilities
447 reviews
This is a very nice website, from which you can easily benefit.
2544 review
5 Days 6 nights 2 person 5 star accomodation
transportation food facilities
The Sundarbans is a cluster of low-lying islands in the Bay of Bengal, spread across India and Bangladesh, famous for its unique mangrove forests.
This active delta region is among the largest in the world, measuring about 40,000 sq km.
9000TK
reguler 15000TK
Travel News from all over the Bangladesh


I titled this 'First Use, Not Last' because I had a wonderful first experience with ecstasy, or MDMA. I was at a rave, with a few of my college friends. I hadn't planned on taking it, but when we got there I figured, what the hell, you only live once. Plus I had heard that it was a usually pleasant drug, not to mention that my college friends had done it and recommended it to me.
Anyway, at the rave, I bought the MDMA from someone I didn't know (stupid, I know). I held off taking it for about 2 hours because I wanted to be totally ready. The rave started at 9, so we're looking at eleven o'clock. Once I took the pill, I was anxious for the effects to come, so it seemed like forever. I first felt it kick in after about 1 hour and 30 minutes. What I first noticed when the effects began to kick in was that I was becoming more interested in my surroundings, and amazed at everything I saw. By this time, I wasn't 'rolling', but I was feeling detached from reality, a little bit.
Then I started to become intrigued by flashing or fast-moving lights. I had the state of mind that nothing mattered; only the lights flashing in front of me mattered. Then the rave got shut down, so my friends and I went to another friend's house, to hang out and enjoy the roll. On the way there, we got a little bit lost trying to follow someone, so I had to call my friend's cell phone to get directions. This is when the 'E' really kicked in. All of a sudden, I felt completely confused and unable to comprehend words being spoken. After about 10 minutes of that, I became euphoric and I had feelings of acceptance and uniqueness.
When we arrived at my friend's house, I was really rolling. One of my buds was rolling, and she had a flashing bike light and she lost it, so I became really concerned about her and I wanted to help her find it, because I truly 'loved her', at least this is what I kept saying to people when I was rolling. I was dazed, and confused, and detached from my world, and vaulted into another world I had never seen before. I was open and comfortable with people I had never met before, and I was so interested in what everyone had to say. I wanted hugs, I wanted to talk to others openly, cigarettes were easier to smoke, and more pleasant. People I would normally never feel comfortable being around without knowing them became such good friends of mine that I will never forget.
After about 2 hours, the most distinct effects began to decrease, but I still felt high. My eyes were twitching and rolling back into my head, and my jaw was clenched on anything I could find. I didn't feel the need to eat or drink anything, although I made sure to drink enough water. When I was rolling, my eyes were relaxed, glassy, and my pupils were extremely dilated. Hardly a millimeter of iris (color) remained visible when my pupils were that dilated.
When coming down, I still felt euphoric and amazed by lights, but I didn't 'love' people as much as I had been saying all night. I calmed down, relaxed, and went into a daze. My body became very heavy and my neck wanted to give out. My eyes were rolling heavily into my head by now, which was at about 2 or 3 in the morning. When we left my friend's house, I felt very sad and I did not want to leave. People I met that same night were the nicest and most beautiful people I have ever met. On the ride home, my eyes were really bad, and my head was moving around and around. I did not feel tired; just exhausted. At about 5:15, we got back to the place where I was staying, and we went to bed.
Woke up at about 9:30, after sleeping for about 3.5 hours, because I fell asleep at about 6. I felt confused, but still able to appear normal and function normally. I felt fully energized after only 3.5 hours of sleep. I went to my apartment at around 10:30, at which time I took a shower and it was the most amazing shower I have ever taken. I felt each drop of liquid as it hit my body. All of my senses were more enhanced. I also had a blank stare, as if I were not listening to someone, but merely looking at them. The blank stare lasted for about 10 hours after that. The sense enhancement lasted for about 5 hours following that.
The only bad thing about it was the fact that I was confused and 'stupid' for days afterward. I would suddenly forget where I was after feeling normal for a day or two. I was loud and obnoxious without knowing it. Also, the loss of appetite continued for a week or so following the dose.
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.


Fill in your information to learn about your horoscope and get your day started right!
by Kasey Chang / Nadine Bundschuh / Rand Hunt
Days
Hours
Minutes
Seconds


Zimbabwe govt Foreign Ministry denies retracting attacks on US Ambassador
by Staff ReporterForeign Affairs Minister Sibusiso Busi Moyo has not retracted or denounced the statement he issued last week attacking the American Ambassador Brian Nichols, the Spokesperson in his Ministry Shepherd Gwenzi has said.
Gwenzi’s utterances comes after media reports carried stories that Moyo was pleading with the American Embassy that he was not the author of the statement in fear of being put on sanctions list.
In a statement Gwenzi announced that, “For the record the Honourable Minister has neither retracted nor renounced his statement. The said reports are mischievous and should be dismissed with the contempt they deserve.”
Responding to Gwenzi Professor Jonathan Moyo told the Minister of Information to allow General Moyo to speak for himself.
 Neither you nor Shepherd Gwenzi are Minister SB Moyo’s spokespersons. The only way to put this matter to bed is for the foreign minister to speak for himself: he has a Twitter
handle!”
Source – Byo24


SpinnerMode
public enum SpinnerMode : Int
This is just a convenient way to denote the spinner modes.
-
This means that the radial spinner will be used at all times.
Declaration
Swift
case spinnerOnly = -1
-
This means that the Spinner will choose which to bring up, depending upon the value of the spinnerThreshold property, and the number of values in the Array.
Declaration
Swift
case both = 0
-
This means that the picker will be used at all times.
Declaration
Swift
case pickerOnly = 1


The three dimensions of design
“Design is not just what it looks like and feels like. Design is how it works”
— Steve Jobs
Visual Design:
I design to solve problems, to tell compelling stories of brands, products and individuals, that are accessibile and beautiful.
Experience Design:
I believe in user research and in solving problems from a human–centered perspective by designing, prototyping and testing solutions that are innovative and effective.
Code Design:
I write semantic code, modular and scalable CSS/SASS and create interactive data prototypes.
Resume:
Work Experience
Senior UX Designer
Spreadshirt 2014-present
I was tasked with creating a conceptual UX vision for the B2B offering that represents one
third of the Spreadshirt business and is in need of a complete overhaul. This had been
attempted for over two years, but ultimately fell short several times and failed to attain full
stakeholder buy-in. Over the course of a three-month project I assessed the current situation
and identified — for the first time — the root causes for its poor performance.
Following that I
was able to create a concept that would not only address the problem, but also fundamentally
transform the user experience of the B2B offering. Through careful communication and an
inclusive approach, I was able to ensure full buy-in from the executive leadership and board
for the somewhat radical departure from the status quo.
Senior UX/UI Designer
HairDirect 2013-2014
Establishing UX methodologies and user-centered design practices with a focus on user research, user testing and an iterative design process. Coordinating peer learning activities including design training, coaching and critiques as well as a design book club.
User Experience Designer
andCulture 2012-2013
Worked on a variety of User Experience and Web Design projects including web apps, mobile
apps, interactive installations and websites for clients such as NeighborWorks America, Mount
the Nittany Health Sustem, PAInc, Team PA and Cisco.
Web Designer
HOPE International 2009-2012
Designed and developed several websites for the HOPE International brand, spearheaded the move towards responsive websites that allow full access to all content on all devices and eliminates the need to pay for and maintain separate mobile websites.
Web Designer
Bajaa.com 2000-2003 & 2008-2009
Designed several websites and intranet user interfaces, from small business sites, to intranet
solutions and multimedia applications.
Web Designer
Freelance 2003-2008
Various Graphic Design and Web Design projects.
E-Commerce Assistant
Westfalia Werkzeugcompany GmbH 1999
Online-store inventory management.
Skillset
Visual Design
- Branding
- Typograhpy
- Responsive Web Design
- Mobile Interface Design
- Screen Design
- Logo Design
- Print Design
- Photoshop
- Illustrator
- InDesign
- Video Production
- Video Editing
- Postprocessing
- Generative Design
Experience Design
- Problem Solving
- Human Centered Design
- Interaction Design
- Storytelling
- Visualizations
- Cultural Understanding
- Wireframing
- Storyboarding
- User Research
- User Interviews
- Omnigraffle, Illustrator
- User Testing
- Agile
- Whiteboard, Sticky Notes
Code Design
- Rapid Prototyping
- Responsive Web Design
- Front-end Development
- HTML5/HAML/Handlebars
- CSS3/SASS/Compass
- JavaScript/jQuery/Meteor
- Version Control: Git
- Wordpress
- PHP
- Java
- Creative Coding
- three.js, processing.js, d3.js
- Processing / openFrameworks
- Hardware Hacking (Arduino, Kinect)
Opera Lancaster
Advertising, Graphic Design
The Lancaster Opera has been around for over 50 years. Still, it remains largely unknown, especially among younger generations. A new marketing campaign is needed to raise awareness and to attract a new audience and yet be attainable with the available resources.
What we did:
Collateral design for current season, developed an event concept "Opera Tasting" to attract a new, younger audience, developed comps for an awareness campaign.
Event Concept
The Opera Tasting concept takes a cue from beer or wine tastings. It provides the curious with an opportunity to 'sample' opera music. In a one hour informal gathering that can easily be combined with an actual wine tasting attendees will be provided with some information about opera music in general, as well as with details about a performance of the current season. This will be augmented by individual songs or arias being performed on location. This provides a low-barrier opportunity to introduce newcomers to this art form and will increase visibility in the market.
Awareness Campaign
To reposition the opera in the local market and raise awareness of it's existence among a new audience a concept for a guerilla poster sticker campaign was developed that was true to the opera, yet lightheartedly played with some of the stereotypes typically associated withi it (such as operas being sung in foreing languages).
Collateral Design
For the 2012/2013 season a series of artwork for various collateral pieces was designed. Previously each play had a unique look, but lacked any kind of visual consistency, thus any brand recognition was lost. A new visual language was needed, that was recognizable and would stand apart from the crowd of busy, dark and abstract artwork.
HeatMapper
Programming
I was laying out a UX report for a client including a section on competitive analysis I had researched. This called for a number of heat maps to be created. Our findings were still under review and also included some soft metrics which made it probable that our rating system would change. Creating each map in Illustrator would have been cumbersome and time-intensive, plus the work would have been obsolete if the values had been changed. A generative solution was needed. So I set out to create HeatMapper
What I did:
Created a tool to quickly generate heat maps and offers control over colors and allowed for some flexibility in regards to my data source.
Input:
HeatMapper reads an SVG file as well as an CSV spreadsheet. The map shapes labels — in my case the US states — need to correnspond to field values in the spreadsheet, but the tool allows the user to choose the column or row that is applicable.
Processing:
HeatMapper creates a gradient with as many steps as there are values between the highest and lowest value in the spreadsheet. displays colored version of the vector map.
Customization:
HeatMapper allows the user to customize the colors at both ends of the gradient.
Export:
HeatMapper offers PDF and ASE color swatch export, ideal to continue work in Illustrator.
PNG export is also available.
In the development of HeatMapper I used a more complex data source: historic birth rates in the communities of my home state NorthRhine-Westphalia).
Result:
The maps created using HeatMapper became part of our report and its presentation for the client. HeatMapper took a similar amount of time to develop as creating the heatmaps by hand, but it was efficient not only because it can be reused in other projects, but also because our rating system did change and required all maps to be redone, which only took minutes using HeatMapper.
HOPE International
UI/UX, Web Design, Web Development
HOPE International was non-profit with a growing support-base. This required a better communication platform. The existing website was not mobile-friendly and a separate mobile site had been developed as a stop-gap measure. This led to a variety of problems including mobile device users not being able to follow links from any email communication. At the same time the HOPE brand was evolving and the website needed a refresh.
What I Did:
I led the redesign initiative on the UX, Design and Front-end front. I created a CMS-friendly responsive CSS framework which allowed for rapid prototyping, but would also later allow content strategists and other marketing staff to easily lay out new content within the CMS without a real knowledge of HTML and CSS.
Research:
I conducted a competitive analysis of non-profit websites including their design direction, content hierarchy, navigational structure and naming conventions. Subsequently I devised a new navigational structure and content hierarchy.
Front-End Development:
I created a mobile-first responsive CSS framework that is CMS-friendly and in conjunction with the visual design provided design patterns that could easily be reused and applied to a variey of layout needs by even non-developers.
Design:
HOPE International employed a very earthy, rustic and dark design prior to the refresh. This had been effective in focussing on the hard work the organization does working to alleviate poverty in some of the most difficult places on earth. Visually this seemed to focus more on the problem of poverty rather than the hope the organization stands for. A lighter, more hopeful look was needed without completely abandoning the earthiness that had become a recognized part of the brand identity.
Roles:
UX: Requirements gathering, Information Architecture, Competitive Analysis
Project Management: Project lead
Front-End Development: HTML, CSS, Responsive Design, JavaScript
Design: Lead designer
Bravo Foundation
UX/UI
The Bravo Foundation empowers families and children to seek better alternatives in education. It partners with businesses who participate in Pennsylvania’s Educational Improvement Tax Credit program and provides scholarship funds to students of private schools. Due to the success of the program, the Bravo Foundation engaged with andCulture to build a Case Management System to streamline the entire processing workflow.
What We Did:
Research current process and devise a Case Management System that not only digitizes the majority of the process, but also displays information in a way that is true to the process and draws the attention of the user to the most important action items.
Research:
We interviewed the stakeholders and the soon-to-be users of this product, mapped the current workflow. In close collaboration of developers and UX we sought ways to streamline the process and require as few user steps as possible to go though the process.
Due to the visual nature of our clients we used wireframes in the requirements gathering process which proved to be very helpful and accelerated the project significantly.
Once the initial requirements were established I created wireframes for the entire tool. After each two week agile sprint, we presented our progress to the client and were thankful to have chosen the agile methodology, as we kept finding out additional bits of information and requirements that the stakeholders/users were unaware of in our initial discovery, but as they saw proposed features and functionality they realized that elements and steps were missing that were part of their routine, yet not part of their official task list.
Iterative wireframing became an essential part of our process and allowed us to much more quickly respond to changed requirements and still deliver on time.
The final product:
Roles:
UX: Discovery, Requirements gathering, Wireframing, Process mapping, Functionality mapping
Agile Project Management: Project owner
Neighborworks America
UX/UI
andCulture was hired by NeighborWorks America, a nonprofit organization focused on neighborhood revitalization and sustainable homeownership, to develop digital tool concepts designed to retain and increase its first-time homebuyer client base within its homeownership line of business.
With a network of 235 independent organizations across the country, developing a unified, technological solution that transcended geographical boundaries and business constraints was no small undertaking.
After four months of extensive research and development, we presented a collection of short- and long-term recommendations—including two digital tool concepts—that would streamline NeighborWorks’ engagement efforts and provide the organization with a tech-savvy approach to serve its 4,500+ communities.
What We Did:
RESEARCHED. AND RESEARCHED SOME MORE.
This project began by conducting extensive research of NeighborWorks organizations, the homebuying process and existing technology trends. We visited multiple NeighborWorks offices throughout the country and organized interviews with first-time homebuyers and real estate agents to get a solid understanding of the organization, the homebuyer and the market.
Developed a digital engagement tool.
We developed two distinctly different tool concepts that would increase engagement between NeighborWorks and its customers and help first-time homebuyers prepare for homeownership. Both tools were designed to accommodate a mobile and desktop browser experience.
Roles:
Research: Competitive Analysis, Secondary Research, Technological requirements gathering.
UX: Led strategic development of the Muse concept.
Design of High Fidelity Wireframes for user testing purposes.
A/B user testing interviews.
Workshop: Icon Fonts - 2013 BarCamp Harrisburg
Speaking, Typography, Web Development
I taught a workshop at the 2013 BarCamp Harrisburg about custom icon fonts and their SEO-friendly use for icons, logos and inforaphics in web design and front-end development.
An example:
Germafont is an icon-font I created hat allows designers to esily create inforaphics with HTML and CSS without the need for scripting.
Hoppy - Beer App
UX/UI
Goal: Create an app that learns the user’s taste in beers and displays a local listing of beers that match the user’s taste profile. Create a visually engaging way to view and explore all available beer flavors. Allow users to search for beers, local or not, and get a recommendation on whether they will enjoy it or not.
What We Did:
We wrote user stories, ideated, mapped functionality and user flow, wireframed, designed and coded, prototyping rapidly.
App Flow Diagram
Wireframes
Design
Grid view for exploring beers by color and bitterness
X-Axis: Bitterness (less - more)
Y-Axis: Beer Color (light - dark)
Home Screen:
The home screen provides the user with the most essential information she needs to find a beer she likes. She can pick a local beer from the displayed list of local beers, or decide get a beer that matches her (in this case 3) flavor preferences — displayed at the top half of the screen — that may or may not be local. This screen can also be shown to a bartender to solicit recommendations.
The list of local beers is sorted in three categories:
- the beer flavor is very similar to established preferences (the user will probably like it).
- the beer flavor profile is somewhat similar to established preferences (the user may or may not like it).
- the beer flavor profile is strongly dissimilar to established preferences and/or matches the user's recorded dislikes (the user will not like it).
Swiping down on the home screen will reveal the navigation and search which provides quick access to beers that are consumed but are not featured on the home screen. This enables easy tracking and rating of beers.
Roles:
UX: Discovery, App Flow Mapping, Wireframing
Design: Screen design
MemSQL
Web Design, Front-End Development
MemSQL needed to transition their site from a small-scale recruiting tool to a high-profile touchpoint for high-value investors, coinciding with the public launch of their product—and they needed to do it in five weeks. Within days of launch, the new site saw more than 90,000 pageviews, thousands of downloads and dozens of enterprise-level sales inquiries.
What We Did:
Redefined the look and feel of the MemSQL brand, elevating its sophistication to match their revolutionary product and developed a robust and fast website that would withstand the high traffic that would come with MemSQL's launch press coverage.
Roles:
Design: Developed look and feel
Front-End Development: HTML, CSS, JavaScript, Wordpress, Carrington-Build, PHP
GoodData
Front-End Development
Two years after andCulture originally working with GoodData, it was time to revisit the site and evolve the brand to something a little more buttoned up. GoodData is a company committed to redefining the way business intelligence works, and they’re out to accomplish one thing: connect more business people to business data to help them make better business decisions.
The redesign came at a time when GoodData was repositioning how it sold its services. Bashes (business mashups) are GoodData’s new approach to BI and a new term that needed to be both explained and sold. That meant rethinking the story arc of the site and reigning in an abundance of content that had grown along with the business. Plus, it all had to be completed within a very tight turnaround for an industry show.
This new position in the market required new ways to talk about and visualize their products. A number of interactive graphics were developed to do just that.
Roles:
Front-End Development: HTML, CSS, JavaScript, Custom Interaction Elements
B+T Group
Front-End Development
B+T, a successful structural engineering firm, came to andCulture with a desire to unite two separate-but-related companies under one name. Selling to the telecom industry as both “B & T Engineering” and “BTE Management” was a bit convoluted for the growing Tulsa-based company. They sought our strategic advice on a solution—and then tasked us to translate it into a logical brand architecture and a compelling corporate identity including a new website.
One of the main goals of the website was to attaract new talent. The website therefore needed to be a compelling and innovative experience to position the new brand in the market and to reflect their identity and culture of innovation to potential employees. This required meaningful interactions, transitions and animations to support the bold look. We decided to create a seamless interaction experience by developing a Wordpress-based one page web-app that allows the user to effortlessly navigate the site without the need to load new pages, but while maintaining the ease-of-use of a Wordpress backend to manage content through custom built Carrington Build modules.
Roles:
Front-End Development: HTML, CSS, JavaScript, Wordpress, Carrington-Build, PHP
Pathways out of Poverty
Design, Front-End Development
HOPE International needed a website for their newly opened exhibit on global poverty. The website should resemble the rugged feel of the experience and display it visually without giving away too much of the actual experience. Since the exhibit and the work of HOPE International focusses on setting poor people on a pathway out of poverty, a bottom-up scroll and navigation was implemented to underline that narrative.
Roles:
Design: Visual Aesthetic
Front-End Development: HTML, CSS, JavaScript
HOPE and Music
Concept, Design, Front-End Development
When HOPE was approached with a unique opportunity to co-host a concert with the African Childrens Choir in Atlanta, a microsite was needed. The concept of ATLANTA HEART AFRICA was developed and posters and other materials using the same look were created. The microsite allowed users to quickly access crucial information about the concert on any device.
Roles:
Design: Logo, Concept, Branding, Visual Aesthetic
Front-End Development: HTML, CSS, Responsive Design, JavaScript
Peter K Greer - Professional Blog
Concept, Social Media Strategy, Design, Front-End Development
When Peter K Greer, president and CEO of HOPE International started blogging, a unique design was needed to establish his voice in the blogosphere. Speaking to issues of leadership, adoption and development a the look had to be professional, yet unique. The color scheme and the use of the yellow square create a strong visual identity for the personal brand of Peter K Greer.
Roles:
Design: Concept, Visual Aesthetic
Front-End-Development: HTML, CSS, JavaScript
Social Media Strategy


Exercise 4.
In December 2021, the following meme circulated widely on social media:
Evaluate the 5 claims made in the meme. Which are true and which are false?
What sources did you use to determine whether these claims are true or false? Why are these sources more reliable than the tweet?
Which numerical information in the tweet should have served as a clue that some of these claims were not true? Explain why those parts of the claim are a bit suspicious.


Healthway started as an idea to provide patients easy way to sort and manage the medical reports from multiple clinics, hospitals, doctors and pharmacies. Its difficult to look back a year or month old report to refer to. Healthway resolves this issue by providing an application that can be used to upload and sort reports easily. Healthway also provides platform to approach doctors and request appointments
Just Started!
Yet to Start!
Yet to Start!


var name: String?
Gives this query a name. Used for putting into a map within io.disassemble.javanalysis.InsnLine.find.
fun name(name: String): InsnQuery<T>
Sets the value of InsnQuery.name and returns itself.
name
- The value to set InsnQuery.name to.
Return
The same InsnQuery that this method was called from.


py2app 0.7.3 is a bugfix release
Issue #82: Remove debug print statement from py2app.util.LOADER that caused problems with Python 3.
Issue #81: Py2app now fails with an error when trying to build a bundle for a unix-style shared library build of Python (--enable-shared) unless you are using a recent enough patchlevel of python (2.7.4, 3.2.3, 3.3.1, 3.4.0, all of them are not released yet).
The build failure was added to avoid a very confusing error when trying to start the generated application due to a bug in the way python reads the environment (for shared library builds on Mac OS X).
Py2app will also give an error message when the python binary does not have a shared library (or framework) at all.
Issue #87: Ignore ‘.git’ and ‘.hg’ directories while copying package data (‘.svn’ and ‘CVS’ were already ignored).
Issue #65: the fix in 0.7 to avoid copying a symlinked library twice caused problems for some users because only one of the file names ended up in the application bundle. This release ensures that both names exist (one as a symbolic name to the other).
Issue #88: Ensure that the fix for #65 won’t try to create a symlink that points to itself. This could for example occur with homebrew, where the exposed lib directory contains symlinks to a cellar, while tye install_name does mention the “public” lib directory:
$ ls -l /opt/homebrew/lib
...
libglib-2.0.0.dylib -> ../Cellar/glib/2.32.4/lib/libglib-2.0.0.dylib
...
$ otool -vL /opt/homebrew/lib/libglib-2.0.0.dylib
/opt/homebrew/lib/libglib-2.0.0.dylib:
/opt/homebrew/lib/libglib-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
time stamp 1 Thu Jan 1 01:00:01 1970
...
py2app 0.7.2 is a bugfix release
Issue #75: Don’t remove --dist-dir, but only remove the old version of the objects we’re trying to build (if that exists).
This once again makes it possible to have a number of setup.py files that build plugins into the same target folder (such as the plugins folder of an application)
Issue #78: Packages added using the --packages option didn’t end up on sys.path for semi-standalone applications.
Reported by Steve Strassmann
Issue #76: Semi-standalone packages using extensions modules coudn’t use extensions unless they also used the --site-packages option (and the extensions are in the site-packages directory).
Fixes some problems with PyQt and wxWidgets when using the system installation of Python.
Patch by Dan Horner.
It is currently not possible to use a subpackage (“foo.bar”) in the list of packages for the “packages” option. Py2app now explicitly checks for this and prints an error message instead of building an application that doesn’t work.
Issue: #39
py2app 0.7.1 is a bugfix release
Always include ‘pkg_resources’, this is needed to correctly work with setuptools namespace packages, the __init__.py files of those contain __import__('pkg_resources') and that call isn’t recognized as an import by the bytecode scanner.
Issue #67: py2applet didn’t work with python 3 due to the use of ‘raw_input’
Reported by Andrew Barnert.
Issue #68: the “extra-scripts” feature introduced in 0.7 couldn’t copy scripts that aren’t in the same directory as “setup.py”.
Reported by Andrew Barnert.
For semi-standalone applications the “lib-dynload” directory inside the application was not on “sys.path”, which resulted in launch failures when using an extension that is not in the stdlib.
Issue #70: application fails to launch when script uses Windows line endings
Reported by Luc Jean.
py2app 0.7 is a bugfix release
Issue #65: generated bundle would crash when two libraries linked to the same library using different names (one refering to the real name, the other to a symlink).
An example if this is an application using wxWidgets when wxWidgets is installed using homebrew.
Reported by “Bouke”.
Issue #13: It is now possible to add helper scripts to a bundle, for example for creating a GUI that starts a helper script in the background.
This can be done by using the option “–extra-scripts”, the value of which is a list of script files (”.py” or ”.pyw” files).
Smarter matplotlib recipe, it is now possible to specify which backends should be included. Issue #44, reported by Adam Kovics.
The argument to --matplotlib-plugins (or ‘matplotlib_plugins’ in setup.py) is a list of plugins to include. Use ‘-‘ to not include backends other than those found by the import statement analysis, and ‘*’ to include all backends (without necessarily including all of matplotlib)
As an example, use --matplotlib-plugins=wxagg to include just the wxagg backend.
Default is to include the entire matplotlib package.
The packages included by a py2app recipe weren’t processed by modulegraph and hence their dependencies were not always included.
Fix virtualenv support: alias builds in a virtual environment failed to work.
(There are still issues with semi-standalone and alias plugin bundles in a virtualenv environment).
issue #18: improved PyQt and PySide support.
Py2app now has a new option named “–qt-plugins” (or “qt_plugins” in setup.py), this option specify a list of plugins that should be included in the application bundle. The items of the list can have a number of forms:
“plugintype/libplugin.dylib”
Specify one particular plugin
“plugintype/*foo*”
Specify one or more plugins using a glob pattern
“plugintype”
Include all plugins of a type, equivalent to “plugintype/*”.
The plugins are copied into “Resources/qt_plugins” and py2app adds a “qt.conf” file that points to that location for plugins.
issue #49: package data that is a zipfile is now correctly copied into the bundle instead of extracting the archive.
issue #59: compile site.py to ensure that the generated bundle doesn’t change on first run.
This is nice to have in general, and essential when using code signing because the signature will break when a new file is added after signing.
Reported by Michael McCracken.
issue #60: recipe for “email” package was not loaded
Reported by Chris Beaumont
issue #46: py2app no longer warns about the Qt license. We don’t warn about other possibly GPL licensed software either and py2app is not a license-enforcement tool.
Reported by briank_in_la.
Generated bundles always started with python optimization active (that is, as if running as ‘python -O’).
Fix issue #53: py2app would crash if a data file happened to be a zipfile.
py2app copies data files in the directory for a package into the application bundle. It also did this for directories that represent subpackages, which made it impossible to exclude subpackages.
added recipe for wxPython because some subpackages of wxPython use __path__ trickery that confuses modulegraph.
recipes can now return a list of additional entries for the ‘includes’ list.
rewritten the recipe for matplotlib. The recipe no longer includes the entire package, but just the “mpl-data” directory.
WARNING: This recipe has had limited testing.
fix mixed indentation (tabs and spaces) in argv_emulation.py, which caused installation failures on python 3.x (issue #40)
Issue #43: py2app now creates a symlink named “Current” in the ‘Versions’ directory of the embedded Python framework to comply with a requirement for the Mac App-store.
on some OSX releases the application receives both the “open application” and “open documents” Apple Events during startup, which broke an assumption in argv_emulation.py.
py2app is more strict w.r.t. explictly closing files, this avoids ResourceWarnings for unclosed files.
fix test issue with semi-standalone builds on Python 3.2
added recipe for pyzmq
Don’t use the version information from Python.framework’s Info.plist, but use sys.version_info. This fixes a build problem with EPD.
Ignore some more files when copying package data:
py2app 0.6.4 is a bugfix and minor feature release
Issue #28: the argv emulator crashes in 64-bit mode on OSX 10.5
Fixing this issue required yet another rewrite of the argv_emulator code.
Added option ‘–arch=VALUE’ which can be used to select the set of architectures for the main executable. This defaults to the set of architectures supported by the python interpreter and can be used to drop support for some architectures (for example when you’re using a python binary that supports both 32-bit and 64-bit code and use a GUI library that does not yet work in 64-bit mode).
Valid values for the argument are archectures used in the list below and the following groups of architectures:
Issue #32: fix crash when application uses PySide
This is partially fixed in macholib (release 1.4.3)
The ‘-O’ flag of py2app now defaults to the python optimization level when using python 2.6 or later.
Issue #31: honor optimze flag at runtime.
Until now an application bundle created by py2app would also run without the “-O” flag, even when the user specified it should. This is now fixed.
Issue #33: py2app’s application bundle launcher now clears the environment variable PYOBJC_BUNDLE_ADDRESS, avoids a crash when using PyObjC in an application launched from a py2app based plugin bundle.
py2app’s bundle launcher set the environment variable PYOBJC_BUNDLE_ADDRESS, this variable is now deprecated. Use PYOBJC_BUNDLE_ADDRESS<PID> instead (replace <PID> by the process ID of the current process).
When using the system python we now explicitly add Apple’s additional packages (like PyObjC and Twisted) to sys.path.
This fixes and issue reported by Sean Robinson: py2app used to create a non-working bundle when you used these packages because the packages didn’t get included (as intented), but were not available on sys.path either.
Fixed the recipe for sip, which in turn ensures that PyQt4 applications work.
As before the SIP recipe is rather crude, it will include all SIP-based packages into your application bundle when it detects a module that uses SIP.
The ‘Resources’ folder is no longer on the python search path, it contains the scripts while Python modules and packages are located in the site-packages directory. This change is related to issue #30.
The folder ‘Resources/Python/site-packages’ is no longer on the python search path. This folder is not used by py2app itself, but might by used by custom build scripts that wrap around py2app.
Issue #30: py2app bundles failed to launch properly when the scriptfile has the same name as a python package used by the application.
Issue #15: py2app now has an option to emulate the shell environment you get by opening a window in the Terminal.
Usage: python setup.py py2app --emulate-shell-environment
This option is experimental, it is far from certain that the implementation works on all systems.
Issue #16: --argv-emulation now works with Python 3.x and in 64-bit executables.
Issue #17: py2applet script defaults ‘argv_emulation’ to False when your using a 64-bit build of python, because that option is not supported on such builds.
py2app now clears the temporary directory in ‘build’ and the output directory in ‘dist’ before doing anything. This avoids unwanted interactions between results from a previous builds and the current build.
Issue #22: py2app will give an error when the specified version is invalid, instead of causing a crash in the generated executable.
Issue #23: py2app failed to work when an .egg directory was implictly added to sys.path by setuptools and the “-O” option was used (for example python setup.py py2app -O2)
Issue #26: py2app copied the wrong executable into the application bundle when using virtualenv with a framework build of Python.
py2app 0.6.3 is a bugfix release
py2app 0.6.2 is a bugfix release
py2app failed to copy the iconfile into application bundle (reported by Russel Owen)
py2app failed to copy resources and data files as well (the resource key in the py2ap options dictionary and the data_files argument to the setup function).
Issue #19, reported by bryon(at)spideroak.com.
py2app failed to build application bundles when using virtualenv due to assumptions about the relation between sys.prefix and sys.executable.
Report and fix by Erik van Zijst.
Ensure that the ‘examples’ directory is included in the source archive
py2app 0.6.1 is a bugfix release
Bugfixes:
py2app failed to build the bundle when python package contained a zipfile with data.
This version solves most of that problem using a rough workaround (the issue is fixed when the filename ends with ‘.zip’).
The code that recreates the stub executables when they are older than the source code now uses xcode-select to find the root of SDKs.
This makes it possible to recreate these executables on machines where both Xcode 3 and Xcode 4 are installed and Xcode 3 is the default Xcode.
The stub executables were regenerated using Xcode 3
As a word of warning: Xcode 4 cannot be used to rebuild the stub executables, in particular not those that have support for the PPC architecture.
Don’t rebuild the stub executables automaticly, that’s unsafe with Xcode 4 and could trigger accidently when files are installed in a different order than expected.
Small tweaks to the testsuite to ensure that they work on systems with both Xcode3 and Xcode4 (Xcode3 must be the selected version).
Better cleanup in the testsuite when setupClass fails.
py2app 0.6 is a minor feature release
Features:
it is now possible to specify which python distributions must be availble when building the bundle by using the “install_requires” argument of the setup() function:
setup(
...
install_requires = [
"pyobjc == 2.2"
],
)
py2app can now package namespace packages that were installed using pip <http://pypi.python.org/pypi/pip> or the setuptools install option --single-version-externally-managed.
the bundle template now supports python3, based on a patch by Virgil Dupras.
alias builds no longer use Carbon Aliases and therefore are supported with python3 as well (patch by Virgil Dupras)
argv emulation doesn’t work in python 3, this release will tell you abou this instead of silently failing to build a working bundle.
add support for custom URLs to the argv emulation code (patch by Brendan Simon).
You will have to add a “CFBundleURLTypes” key to your Info.plist to use this, the argv emulation code will ensure that the URL to open will end up in sys.argv.
py2app.util contains a number of functions that are now deprecated an will be removed in a future version, specifically: os_path_islink, os_path_isdir, path_to_zip, get_zip_data, get_mtime, and os_readlink.
The module py2app.simpleio no longer exists, and should never have been in the repository (it was part of a failed rewrite of the I/O layer).
Bug fixes:
py2app 0.5.2 is a bugfix release
Bug fixes:
py2app 0.5.1 is a bugfix release
Bug fixes:
py2app 0.5 is a minor feature release.
Features:
Bug fixes:
py2app 0.4.3 is a bugfix release
Bug fixes:
py2app 0.4.2 is a minor feature release
Features:
Adds support for converting .xib files (NIB files for Interface Builder 3)
Introduces an experimental plugin API for data converters.
A conversion plugin should be defined as an entry-point in the py2app.converter group:
setup(
...
entry_points = {
'py2app.converter': [
"label = some_module:converter_function",
]
},
...
)
The conversion function should be defined like this:
from py2app.decorators import converts
@converts('.png')
def optimze_png(source, proposed_destionation, dryrun=0):
# Copy 'source' to 'proposed_destination'
# The conversion is allowed to change the proposed
# destination to another name in the same directory.
pass
Buf fixes:
py2app 0.4.0 is a minor feature release (and was never formally released).
Features:
Bug fixes:
py2app 0.3.6 is a minor bugfix release.
Bug fixes:
py2app 0.3.5 is a minor bugfix release.
Bug fixes:
py2app 0.3.4 is a minor bugfix release.
Bug fixes:
py2app 0.3.3 is a minor bugfix release.
Bug Fixes:
py2app 0.3.2 is a major bugfix release.
Functional changes:
Bug Fixes:
py2app 0.3.1 is a minor bugfix release.
Functional changes:
Bug Fixes:
py2app 0.3.0 is a major feature enhancements release.
Functional changes:
py2app 0.2.1 is a minor bug fix release.
Bug Fixes:
py2app 0.2.0 is a minor bug fix release.
Functional changes:
Bug Fixes:
py2app 0.1.9 is a minor bug fix release.
Bugs fixed:
py2app 0.1.8 is a major enhancements release:
Bugs fixed:
Options changed:
New features:
py2app 0.1.7 is a bug fix release:
Since I have been slacking and the last announcement was for 0.1.4, here are the changes for the soft-launched releases 0.1.5 and 0.1.6:
py2app 0.1.6 was a major feature enhancements release:
See also:
py2app 0.1.5 is a major feature enhancements release:
Added a bdist_mpkg distutils extension, for creating Installer an metapackage from any distutils script.
as the bdist_mpkg script.
Create a custom bdist_mpkg subclass for py2app‘s setup script.
Source package now includes PJE‘s setuptools extension to distutils.
Added lots of metadata to the setup script.
py2app.modulegraph is now a top-level package, modulegraph.
py2app.find_modules is now modulegraph.find_modules.
Should now correctly handle paths (and application names) with unicode characters in them.
New --strip option for py2app build command, strips all Mach-O files in output application bundle.
New --bdist-base= option for py2app build command, allows an alternate build directory to be specified.
New docutils recipe. Support for non-framework Python, such as the one provided by DarwinPorts.
See also:
py2app 0.1.4 is a minor bugfix release:
py2app 0.1.3 is a refactoring and new features release:
Known issues:
py2app 0.2 is primarily a bugfix release:
Known issues:
py2app 0.1.1 is primarily a bugfix release:
building have been resolved
Scripts that are not in the same directory as setup.py now work
A new recipe has been added that removes the pydoc -> Tkinter dependency
A recipe has been added for py2app itself
a wxPython example (superdoodle) has been added. Demonstrates not only how easy it is (finally!) to bundle wxPython applications, but also how one setup.py can deal with both py2exe and py2app.
A new experimental tool, py2applet, has been added. Once you’ve built it (python setup.py py2app, of course), you should be able to build simple applications simply by dragging your main script and optionally any packages, data files, Info.plist and icon it needs.
Known issues:


This diagram illustrates the boxes generated by a UL list with two LI list items.
There are two parts to the illustration. The first shows the actual rendering of the boxes generated by the list elements. Background colors and border styles vary to delimit the box areas.
The second shows the same rendering, but the content, padding, border, and margin edges of each box are shown explicitly. In particular, the illustration shows how vertical margins between the LI boxes collapse.


{% extends "sproutforms/_layout" %} {% block content %}
Take a look at the code of this template to see an example with comments.
Thank you for your message. We'll be in touch soon!
{% else %} {# Display our Contact Form #} {{ craft.sproutForms.displayForm('contact') }} {% endif %} {% endblock %}


You will now learn all necessary basics to get you going with openHAB.
Right now you are using the "Setup and Maintenance" interface, also called Paper UI
in the community.
This tutorial and also this interface is strictly using new openHAB 2 technology.
Please be careful when reading user topics in our community, as those can reference older techniques. You want to avoid topics about:
- Sitemaps
- DSL Rules
- .thing, .item files
What openHAB can do for you
openHAB is a mature home automation platform that is protocol agnostic, meaning it can connect to nearly any home automation hardware on the market today.
Usually you just need to install an additional piece of software via this web interface, use a feature detection of your hardwares capabilities and you can already control your external solution.
Via timers and rules you start automating like turning your lights on when your phone is in WiFi range, but only if it is already later than 6 pm. Only your imagination is the limit.
openHAB also and supports DIY hardware. We speak about this later on in the tutorial.
About this interface
Use this interface to setup new devices, configure existing ones, create automation rules and timers.
You do not control your devices via this interface. Download the Android App, iOS App, HaBot or use HabPanel instead.


A team of student software developers based in Bristol, UK
TaddyPole
An educational frog lifecycle game for children.
Available in your browser. Also on iOS, Android and Windows 10.
Play NowA team of student software developers based in Bristol, UK
An educational frog lifecycle game for children.
Available in your browser. Also on iOS, Android and Windows 10.
Play Now


SphereCon
Responsive, Branding, LESS, CSS
Overview
I completed an exercise for Mesosphere. Scenario: Mesosphere is throwing it's first official conference, SphereCon 2015, and I was asked to take 3 days to design and develop a single page website for the event.
Goal
Create a vision for the look-and-feel of the event that evokes the right emotion and would also drive people to register.
Approach
I first approached this challenge by researching other tech conferences to give me a some inspiration. Then, I started to outline the different sections and take note of what's important to the page. I wanted my page to look cool and futuristic, but also welcoming.
This posed a challenge, because these characteristics are often contradictory. I accomplished the cool and futuristic characteristics by going with a minimalistic layout, choice of colors, and bold type. Initially, I had an icosahedron sphere as the hero background. Although this iteration captured the futuristic feeling that I sought, I felt that it lacked warm appeal. So, instead, I added a couple pictures of happy conference attendees to help site visitors better envision themselves at the conference.