How Moroccan Drama 'Adam' Exposes the Unequal Treatment of Women in Life and Death
TheWrap Oscar magazine: Director Maryam Touzani says the story of a young woman pregnant out of wedlock is based on a true story “that marked me very deeply — I kept her inside me for 15 years”
by Steve PondA version of this story about Maryam Touzani and “Adam” first appeared in the International Film issue of TheWrap’s Oscar magazine.
The central characters in the Moroccan drama “Adam” are Abla, the widowed mother of a little girl, and Samia, an unmarried pregnant woman whom Abla reluctantly shelters until she gives birth. Director Maryam Touzani discussed her film, which was chosen as Morocco’s entry in this year’s Oscar race for Best International Feature Film.
This film was based on an episode from your own life, wasn’t it?
The character of Samia was inspired by a woman my parents had taken in when I returned from college. One day a woman came knocking at our door — she was eight months pregnant and had nowhere to go.  My parents decided to shelter her because they were afraid to let her go back on the streets in her condition. She could have given birth on the sidewalk. Then, if you gave birth in a hospital they would call the police because it was illegal. Now things have changed slightly, but still you can be sent to prison for having sex outside of marriage.
For the last month of her pregnancy, I was there. It was a very, very intense month that I spent with her. I saw her go through all these different phases in her relationship with her baby — she tried to suppress her emotion because she knew she would give him up for adoption, because she had no choice.
It was something that marked me very deeply, and I kept her inside me for 15 years, until I got pregnant myself. When I felt my child move inside me, I started thinking about her all the time and how terrible it must have been to give up her child. So I started writing, and something instinctive but necessary came out. I didn’t stop until I had finished it.
Also Read:
What were the biggest challenges of making the film?
For me, it was to keep up the artistic line I wanted throughout the whole film. The film is in a small space, and I knew very clearly the way I wanted to film it — the colors I wanted, the light I wanted, the frame I wanted. It was very clear in my mind. And just to be able to keep the characters evolving in parallel. It’s all about how these two women evolve in this close space with this little girl. I think when you decide to film a character’s interiority, that can be a real challenge. I also didn’t want to have a lot of voice, didn’t want to have a lot of dialogue. The film can be very silent.
It was also about letting some scenes find their own rhythm, and finding a harmony and balance.
There are two extraordinary scenes right in the middle of the film — one in which Samia forces Abla to listen to music she’s avoided since her husband’s death, and another when Abla tells the whole story of that death.
I think that sometimes in life you need to be faced violently by your fears. That’s what Samia does to Abla, because she realizes that otherwise she’s never going to be able to move on. She puts her face-to-face with that which hurts her the most, which is her past, which she’s decided to bury. She has remained frozen in time – she refuses to look inside herself, to look at all these things that hurt her, that keep her from advancing, loving and being alive.
Also Read:
And the scene that comes right after, where she talks about her past, is very important as well, because I wanted her to say the things that I felt were necessary, but not to say too much. It’s very tricky when you don’t like being open. Abla is a very silent character — she doesn’t speak much about her feelings or her emotion or her past, so when she comes out and says these things it was important to me that we understand where her pain is coming from, and that she as a woman has been kept from grieving her husband and moving on.
That’s also because of the way women are treated in regards to death. In this culture, a woman does not have the right to accompany her loved one to the graveyard for burial. She isn’t even allowed to walk into the grave. A woman can only go to the grave three days later. That can be extremely violent to a woman who has lost her husband. I know that, I’ve seen that, I’ve experienced that. A woman is not allowed to mourn in the same manner as a man, basically.
The two scenes are filmed with real intimacy.
We’re on a rooftop, but I didn’t want it to matter where we were. I just wanted us to be with them.
To read more from the International Film Issue, click here.
Antonio Banderas, Cynthia Erivo, Diane Warren and more are vying for Academy recognition this season
View In Gallery


Run Instances Request. More...
Public Member Functions | |
| (id) | - init |
| Default constructor for a new RunInstancesRequest object. | |
| (id) | - initWithImageId:andMinCount:andMaxCount: |
| Constructs a new RunInstancesRequest object. | |
| (void) | - addBlockDeviceMapping: |
| Adds a single object to blockDeviceMappings. | |
| (NSString *) | - description |
| Returns a string representation of this object; useful for testing and debugging. | |
Properties | |
| NSString * | imageId |
| Unique ID of a machine image, returned by a call to DescribeImages. | |
| NSNumber * | minCount |
| Minimum number of instances to launch. | |
| NSNumber * | maxCount |
| Maximum number of instances to launch. | |
| NSString * | keyName |
| The name of the key pair. | |
| NSMutableArray * | securityGroups |
| The names of the security groups into which the instances will be launched. | |
| NSMutableArray * | securityGroupIds |
| NSString * | userData |
| Specifies additional information to make available to the instance(s). | |
| NSString * | instanceType |
| Specifies the instance type for the launched instances. | |
| EC2Placement * | placement |
| Specifies the placement constraints (Availability Zones) for launching the instances. | |
| NSString * | kernelId |
| The ID of the kernel with which to launch the instance. | |
| NSString * | ramdiskId |
| The ID of the RAM disk with which to launch the instance. | |
| NSMutableArray * | blockDeviceMappings |
| Specifies how block devices are exposed to the instance. | |
| bool | monitoring |
| Enables monitoring for the instance. | |
| bool | monitoringIsSet |
| NSString * | subnetId |
| Specifies the subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud. | |
| bool | disableApiTermination |
| Specifies whether the instance can be terminated using the APIs. | |
| bool | disableApiTerminationIsSet |
| NSString * | instanceInitiatedShutdownBehavior |
| Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the instance is shut down. | |
| EC2InstanceLicenseSpecification * | license |
| Specifies active licenses in use and attached to an Amazon EC2 instance. | |
| NSString * | privateIpAddress |
| If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet. | |
| NSString * | clientToken |
| Unique, case-sensitive identifier you provide to ensure idempotency of the request. | |
| NSString * | additionalInfo |
Run Instances Request.
| - (void EC2RunInstancesRequest.)addBlockDeviceMapping: | (EC2BlockDeviceMapping *) | blockDeviceMapping |
Adds a single object to blockDeviceMappings.
This function will alloc and init blockDeviceMappings if not already done.
| - (NSString * EC2RunInstancesRequest.)description |
Returns a string representation of this object; useful for testing and debugging.
| - (id EC2RunInstancesRequest.)init |
Default constructor for a new RunInstancesRequest object.
Callers should use the property methods to initialize this object after creating it.
| - (id EC2RunInstancesRequest.)initWithImageId: | (NSString *) | theImageId | ||
| andMinCount: | (NSNumber *) | theMinCount | ||
| andMaxCount: | (NSNumber *) | theMaxCount | ||
Constructs a new RunInstancesRequest object.
Callers should use properties to initialize any additional object members.
| theImageId | Unique ID of a machine image, returned by a call to DescribeImages. | |
| theMinCount | Minimum number of instances to launch. If the value is more than Amazon EC2 can launch, no instances are launched at all. | |
| theMaxCount | Maximum number of instances to launch. If the value is more than Amazon EC2 can launch, the largest possible number above minCount will be launched instead. |
Between 1 and the maximum number allowed for your account (default: 20).
- (NSMutableArray *) blockDeviceMappings [read, write, retain] |
Specifies how block devices are exposed to the instance.

- (NSString *) clientToken [read, write, retain] |
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
For more information, go to How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.
- (bool) disableApiTermination [read, write, assign] |
Specifies whether the instance can be terminated using the APIs.
You must modify this attribute before you can terminate any "locked" instances from the APIs.
- (NSString *) instanceType [read, write, retain] |
Specifies the instance type for the launched instances.
Constraints:
Allowed Values: t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge, cg1.4xlarge
- (NSNumber *) maxCount [read, write, retain] |
Maximum number of instances to launch.
If the value is more than Amazon EC2 can launch, the largest possible number above minCount will be launched instead.
Between 1 and the maximum number allowed for your account (default: 20).
- (NSNumber *) minCount [read, write, retain] |
Minimum number of instances to launch.
If the value is more than Amazon EC2 can launch, no instances are launched at all.
- (NSString *) ramdiskId [read, write, retain] |
The ID of the RAM disk with which to launch the instance.
Some kernels require additional drivers at launch. Check the kernel requirements for information on whether you need to specify a RAM disk. To find kernel requirements, go to the Resource Center and search for the kernel ID.


Kickoff and What Happened, Slightly More In Depth
Presentation
You can see presentation embedded into the page below, or you can access it via this link
For those that like to print PDFs, click here and enjoy.
Kickoff Part 1
The kickoff was divided into two parts. First part we talked about the state of data in the city of San Diego, what is possible with open data, and what Data and Open Data really is.
Takeaways:
- Opening Data Ties in directly with each of our Strategic Coals and allows us to monitor how we're doing at meeting them.
- You were assigned as an information coordinator by your department Director. You will be working with Performance & Analytics and myself to create the data inventory and and to begin releasing data.
- You may not be super technical, but you have an in-depth knowledge of your department operations, know the people to go to for answers and represent your department's/division's data profile.
- Information Coordinators inventory department data sets, establish a plan and timeline for publishing them and serve as the key point of accountability for timelines and questions about data sets.
- I will value your time and hope you will value mine.
- The Open Data Policy passed in Council in December 2014 and is supported by Council and Mayor Faulconer.
- Upcoming key dates for implementation:
- March 31, 2015 - Guidelines for Data Inventory
- June 1, 2015 - Inventory to be completed by departments
- July 1, 2015 - Technical Guidelines (To address release protocol and PII)
- July 1, 2015 - Initial Written Status Report
- Today our data is
- Closed
- Misunderstood
- Hard to find
- Unknown
- Scattered
- That leads to
- PRA Nightmares
- Misinterpretation
- Slowdowns
- Re-Work
- Lack of innovation
- Frustration
- Our data can be:
- Accessible
- Described
- Reusable
- Timely
- Complete
- Treated like asset
- Centralized
- Machine Readeable
- Which would allow us to have:
- Efficient PRA Responses
- No Re-Work
- Innovation
- Empowerment
- Efficiency
- Engaged Citizens
- Minimized Misinterpretation
- Reliability
- Data Usage for decisions
- Cool apps!
In summation, "Open data is not just about putting spreadsheets on the internet. It means being deliberate and thoughtful about what is released, how it's released, and how it's described. Treating data like an asset and releasing it properly goes directly hand-in-hand with making sure that it's secure and mitigating opportunities for misuse"
What is Data?
- A value or set of values representing a specific concept or concepts.
- "Data is something you can take, and do something else with."
- Please view from http://slides.com/sdcdo/odkickoff#/28 and a few slides down to see what is and is not data.
- We MUST allow the capability to separate data from how it's shown in order for it to have value beyond what the visualization intended
- The user may not share your opinion of what and how they want to visualize the same data.
Important
- "Data" can be separated from how it's displayed.
Kickoff Part 2
Second part of the kickoff we dove into the inventory:
Key Takeaways:
- Not all inventoried datasets will be released
- Due June 1, 2015
- Continous recurring process.
- We need to get a bird's eye view of the information that we have.
- Divided in to 3 main steps (see onepager for better overview):
- Identify Data Sources - April 1
- Identify Data Sets - May 1
- Complete Catalog - June 1
- There is more in the presentation, but there is a better description in the inventory overview and Getting Started with Step 1
Next Steps
- Create GMail / Google Drive Account by March 9 Instructions
- Submit it via the form Also in Instructions
- Complete Data Source spreadsheet (I will send it to you after receiving your Google account)
- Inventory of Data Sources due by April 1 instructions
- Maksim will be reaching out to departments with more than one information coordinator to schedule a follow up meeting.
- Next meeting beginning of April
- Look out for training invitations
- If you have questions about how to fill out Data Source list, please let me know.
- This is meant to be a fast, lightweight process with minimum workload, that's why the deadlines are so tight. If this does not feel that way to you, and you have followed the next steps in the section below, please feel free to email Maksim and let him know.
- If you want to schedule a follow up meeting, email maksim


About Us
|
Contact Us
|
Help
|
Logout
Demo Insurance App
Policy Summary
Transactions
Search
Login
Demo Insurance App


Find the Safest Route
How often do you see an accident on your way to work? What if you could avoid heavy traffic due to accidents and have a safe route to your destination. Safe Routes, provides an interact map showing all the accidents at every intersection on the way to your destination.
What Safe Routes does for you
Safe Routes has many key features that educate users on driving risk. Users can search for crashes near any address in five SF Bay Area counties, and specify crashes that only include certain features (like accidents that occurred at night or in snow). Additionally, a predictive model kicks in that elucidates how likely those conditions will cause an accident on that road today. If a user only wants the big picture about crashes in the Bay Area, there is a carousel of descriptive graphics that among other things cover the number of crashes by week/hour and the specific types of crashes by roadway.
The Data Behind Safe Routes
The dataset the crash map is populated from are the most recent three years (2015-2017) of the Department of Transportation's Fatality Analysis Reporting System. With this dataset we could identify crashes with exact longitude and latitude precision, and get a variety of classification data such as the type of roadway. As per the name, all datapoints are of fatal accidents, so in order to make a predictive model for accidents the data science team had to generate almost 20,000 rows of additional 'not crash' data referencing the real traffic flow. One place of improvement is to get the true traffic flow data if it exists, and generate complex features, because the project ran out of time for much experimentation.
The Map
How often do you see an accident on your way to work? What if you could avoid heavy traffic due to accidents and have a safe route to your destination.
About The Team
How often do you see an accident on your way to work? What if you could avoid heavy traffic due to accidents and have a safe route to your destination.


foobars with real content
Listening for
foobars with virtual content
Listening for
system scrollbars


Bu Approval Status :{{getIdData.buStatus}}
Finance Approval Status :{{getIdData.financeStatus}}
Approve
Reject
Project Basic Info
Financials
Key Resources
Project Milestones
Resources
No Contract under selected customer
Click Here
Remaining Value : {{valueToShow| number:'1.0-0'}}{{valueToShow| number:'1.0-0'}}
No Employees found On this skill
This resource is allocated to above projects. Please select other resource.
Please select project dates to allocate resources
Common Task
Additional Task
Please select project dates and project value to add Milestone.
Please select project dates to allocate resources.
Project Tasks
Additional Tasks
×
Please enter reason to reject


What does this website do?
This is a web application that takes your birthday and calculates the day of the week you were born and then depending on your gender outputs your Akan Name.
Akan names are derived from Ghanian culture. Frequently in Ghana, children are given their first name as a 'day name' which corresponds to the day in the week they were born. Here are Ghanian day names and a form to find out your name.
Try it out now!
Akan First Names
| Day | Female Name | Male Name |
|---|---|---|
| Sunday | Akosua | Kwasi |
| Monday | Adwoa | Kwadwo |
| Tuesday | Abenaa | Kwabena |
| Wednesday | Akua | Kwaku |
| Thursday | Yaa | Yaw |
| Friday | Afua | Kofi |
| Saturday | Ama | Kwame |


A three column NavigationView is created using a similar approach as the two column NavigationView. The middle column has a fixed minimum width of 200 but the frame's minWidth can be specified with a value greater than 200.
import SwiftUI
struct Group {
let name: String
let items: [String]
}
let groups = [
Group(name: "Group A", items: ["Item 1", "Item 2"]),
Group(name: "Group B", items: ["Item 3"]),
Group(name: "Group C", items: ["Item 4", "Item 5", "Item 6"])
]
struct Sidebar: View {
@State private var selection: String?
var body: some View {
List(groups, id: \.self.name) { group in
NavigationLink(group.name, destination: Itembar(items: group.items), tag: group.name, selection: $selection)
}
.frame(minWidth: 150)
.listStyle(SidebarListStyle())
.toolbar {
Button(
action: {
NSApp.keyWindow?.contentViewController?.tryToPerform(#selector(NSSplitViewController.toggleSidebar(_:)), with: nil)
}, label: {
Label("Toggle sidebar", systemImage: "sidebar.left")
})
}
}
}
struct Itembar: View {
let items: [String]
@State private var selection: String?
var body: some View {
List(items, id: \.self) { item in
NavigationLink(item, destination: DetailView(detailText: item), tag: item, selection: $selection)
}
}
}
struct DetailView: View {
let detailText: String
var body: some View {
Text("The selection is \(detailText)")
}
}
struct ContentView: View {
var body: some View {
NavigationView {
Sidebar()
Text("Select a Group")
Text("Select an Item")
}
.frame(width: 700, height: 400)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Swift Programming for macOS © 2023
Built by Gavin Wiggins


-
Evernote for Windows
Download -
Evernote Smart Notebook by Moleskine
Go to Market -
Abrasus Slim Wallet
Go to Market
Remember Everything
Evernote apps and products make modern life manageable, by letting you easily collect and find everything that matters.
Sign up Download Evernote


Learning Disability is a matter of special concern to the student community because we often confuse a student's failure for a lack of intellect or indiscipline, when the true cause is often a deficiency in one or more of the ways the brain processes knowledge. Edufy is a global youth-led organization that uses games and fun worksheets to offer quality education to children with special needs. We want to achieve simplified education for all so that everyone receives the education they deserve.


public class RBTree<T extends java.lang.Comparable<T>>
extends java.lang.Object
| Constructor and Description |
|---|
RBTree() |
| Modifier and Type | Method and Description |
|---|---|
private void |
colourFlip(RBNode<T> parent)
Private method to perform colour flip on a parent node and
its two children.
|
RBNode<T> |
contains(T data)
Searches for the supplied data by in-order traversal
|
void |
displayElements(java.io.PrintWriter p)
Public method called to display the tree, currently in-order traversal
|
private void |
displaySubtreeInOrder(RBNode<T> current,
java.io.PrintWriter p)
Private in-order traversal method called by the displayElements()
method.
|
RBNode<T> |
getRoot() |
boolean |
insert(T data)
Public method to call the recursive put method to insert
data into the tree
|
boolean |
isRed(RBNode<T> node)
Public method to determine whether or not a node is red.
|
private RBNode<T> |
leftRotation(RBNode<T> grandparent)
Private method to perform a left rotation around a supplied grandparent
node
|
void |
printStructure()
Public method to print the tree in human-readable form.
|
private RBNode<T> |
put(RBNode<T> node,
T data)
Private recursive insertion method, searches down the tree until it
reaches the insertion point, then recursively rebalances the tree going
back up.
|
boolean |
removeElement(T data)
Public method to remove a node from the tree.
|
private RBNode<T> |
rightRotation(RBNode<T> grandparent)
Private method to perform a right rotation around a supplied grandparent
node
|
public boolean insert(T data)
data
- The data to insertprivate RBNode<T> put(RBNode<T> node, T data) throws java.lang.IllegalArgumentException
node
- The root node of the tree initially, then the node that the
recursive method is atdata
- The data to insertjava.lang.IllegalArgumentException
- if the data already exists in the treepublic RBNode<T> contains(T data)
data
- The data to search forpublic boolean removeElement(T data)
data
- The data to remove from the treepublic boolean isRed(RBNode<T> node)
node
- The node to colour-checkprivate void colourFlip(RBNode<T> parent)
parent
- The parent node to colour flipprivate RBNode<T> rightRotation(RBNode<T> grandparent)
grandparent
- The node to rotate aroundprivate RBNode<T> leftRotation(RBNode<T> grandparent)
grandparent
- The node to rotate aroundpublic void displayElements(java.io.PrintWriter p)
p
- The PrintWriter object to write toprivate void displaySubtreeInOrder(RBNode<T> current, java.io.PrintWriter p)
current
- The current node to printp
- The PrintWriter to write topublic void printStructure()


|
Spongebob Squarepants
Spongebob is a childhood legend. From the quirky laugh to the uplifting attitude, he is always a thrill to watch. The yellow sponge is best known for his square pants and famous pineapple house at 124 Conch Street in Bikini Bottom. He lives in his pineapple with his pet snail Gary, happy as a clam eating his snailpo.  He has blue eyes with three eyelashes on each one, and bright blue eyes and two big buck teeth. He is 4 inches tall.  The happy fellow works as a cook at the ocean famous Krusty Krab making top secrete Krabby Patties. Patrick Star is Spongebob’s best friend for life!!! They share a similar personality and love to go jellyfish hunting through the open waters. Both are not favored by the other citizens of Bikini Bottom, but they are so optimistic they do not even notice others annoyance with them! source: http://www.imdb.com/character/ch0017149/bio |


-
Peter Thiel, technology entrepreneur and investor. AMA • /r/IAmA
www.reddit.com
**My short bio:** Hi, I'm Peter Thiel, co-founder of PayPal and Palantir, first investor in Facebook, venture capitalist at Founders Fund, and...
-
OpenGov: The Startup Analyzing $50B in Spending | Andreessen Horowitz
a16z.com
“A billion here, a billion there, and pretty soon you’re talking real money!” — attributed to Fmr. Sen. Everett Dirksen
-
Venture Capitalist Sounds Alarm on Startup Investing
online.wsj.com
Silicon Valley may have taken on more risk than it can handle, according to prominent venture capitalist Bill Gurley, who cited potential cracks in ...
-
Zenefits’ Leader Is Rattling an Industry, So Why Is He Stressed Out? - ...
www.nytimes.com
Parker Conrad’s start-up, Zenefits, is thought to be one of the fastest-growing companies in recent Silicon Valley history, and his investors and ...
-
A Long, Ugly Year of Depression That's Finally Fading - Rand's Blog
moz.com
Yesterday morning I woke up early to speak at the Business of Software conference in Boston. It was my first time there, and it’s an exceptional ...
-
Burn Baby Burn – AVC
avc.com
Andy sent me a WSJ piece with Bill Gurley yesterday. I don’t like to link to paid content so here’s a good Business Insider summary of the article ...
-
2014 Beauty Breakthroughs
www.allure.com
A potion that makes eye bags disappear. A lotion that makes you look younger in minutes. Self-tanner that delivers the shade you want on command. ...
-
Early stages of long bull market in tech: Pro
video.cnbc.com
Scott Kupor, Andreessen Horowitz, shares his outlook on the tech space.
-
Bad Notes on Venture Capital
www.bothsidesofthetable.com
This week. On the phone ... Me: So, you raised venture capital? Him: Yeah. We raised a seed round. About $1 million. Me: At what price? Him: It ...
-
Scott Kupor: How to Stay on the Winning Side of Valuation
blogs.wsj.com
Scott Kupor, managing partner at Andreessen Horowitz: As a venture-capital firm, we spend a great deal of time analyzing private company valuations ...
-
Discourse
www.discourse.org
Why break conversations into awkward and arbitrary pages, where you have to constantly find the Next Page button?
-
Zero to One: Notes on Startups, or How to Build the Future:Amazon:Books
www.amazon.com
Amazon Zero to One: Notes on Startups, or How to Build the Future
-
Lecture 1 - How to Start a Startup
www.youtube.com
Sam Altman and Dustin Moskovitz start off the How to Start a Startup Course. Sam's topic is "Ideas, Products, Teams and Execution, Part I" and ...
-
Scott Hurff
scotthurff.com
I'm Scott Hurff, and I love to help you build better products. I'm on the founding team of a Kleiner Perkins-backed mobile startup, created a course ...
-
Stripe: Apple Pay
stripe.com
Stripe is a suite of APIs that powers commerce for businesses of all sizes.
-
B Horowitz’s annotation of “You may still fail. The outcome is something ...
tech.genius.com
This is a good way to look at it from a psychological standpoint, because there are definitely no guarantees no matter how well you execute. Having ...
-
Facebook Is Partnering With Stripe to Power "Buy" Button
recode.net
Stripe adds Facebook to its list of impressive partnership deals.
-
Entrepreneurs anonymous
www.economist.com
SEVEN years ago Joe Jones (not his real name) left his job with a big NASDAQ-listed company to strike out on his own.
-
Why it’s hard to find Android developers | Alessandro Crugnola
blog.sephiroth.it
I’m an Android developer (at Aviary ) and a New Yorker since late 2010. I’ve been also an actionscript and python developer for more than 10 years.
-
B Horowitz – The Legend of The Blind MC
news.genius.com
Ben almost always starts his blog posts with a quote from a rap song or artist. A lot of people have accused him of using it as a gimmick or ...
-
Silicon Valley 101
medium.com
Code2040 welcomes the next generation of black and Latino engineering students with access, awareness and opportunities …
-
Raising Capital: This is the Advice We Give Our Founders | Andreessen ...
a16z.com
There’s been a lot of discussion lately (see for example this , this , this , this , and this ) about what happens when founders who don’t have ...
-
How The Internet Killed Profit | TechCrunch
techcrunch.com
New eras in technology have always brought a fear of job losses and the devastation of legacy industries, but the Internet has taken us beyond ...
-
Guess what's now the most popular course at Harvard
qz.com
Harvard students know which way the wind is blowing.


Index
Rotation 3: Design/Garment and Sublimation Printing
Project Description:
I designed an image of me sleeping on top of a slice of pizza for my t shirt design. For this t shirt project, I used the photshop and the GT3PDIP software. I have some experience using photoshop before so the process was not that difficult for me. Once the photshop process was done, I exported to the other software and postioned the image to my liking. I then picked out a white t shirt and had it pressed to remove any creases before transfering it on to the printing machine. I was happy with the end result of this project.
Project Description:
For the sublimation printing project, I picked a mug to transfer my design on. I used the CorelDRAW software to format my design to fit on the mug. I went on the dye trans website and looked up instructions on how to do the dye sublimation on the mug. The process was straightforward and the website was helpful because it provided in-depth instructions and video tutorials. I printed my cat design on the printer, taped it to the mug, put on a layer of white paper around the mug, and proceeded to put it on the press machine for 5 minutes at 400 degrees. The mug turned out really cool, but there were some lines that showed up on the mug, which was my fault because I didn't cut the paper properly. Nonetheless, I'm happy with my mug!
Files:


Native HTML5 Media Player
This page features HTML5 <audio> and <video> elements, each with multiple source files to ensure cross-browser support. This page was included among the examples for comparison with Able Player; Able Player is not used on this page.


Project Description
OfficeToPDF is a free command line tool that automates server-based PDF conversion for Microsoft Office 2007, 2010, 2013 and 2016 users.
It is distributed under an Apache 2.0 open source license and can be integrated into a batch conversion process or other applications to produce PDFs of the highest quality.
The tool requires an installation of Office 2007, 2010, 2013 or 2016 to work.
OfficeToPDF development is funded by Cognidox - Smart document management
If you've found OfficeToPDF helpful, a tweet to @Cognidox and/or a review is always appreciated.


|
Little Heroes
|
Editor class used to view UIRects. More...
Public Member Functions | |
| override void | OnInspectorGUI () |
| Draw the inspector properties. More... | |
| void | DrawAnchorTransform () |
Static Public Member Functions | |
| static void | UpdateHorizontalAnchor (UIRect r, UIRect.AnchorPoint anchor, bool resetRelative) |
| Convenience function that switches the anchor mode and ensures that dimensions are kept intact. More... | |
| static void | UpdateVerticalAnchor (UIRect r, UIRect.AnchorPoint anchor, bool resetRelative) |
| Convenience function that switches the anchor mode and ensures that dimensions are kept intact. More... | |
Static Public Attributes | |
| static UIRectEditor | instance |
Protected Types | |
| enum | AnchorType { AnchorType.None, AnchorType.Unified, AnchorType.Advanced } |
Protected Member Functions | |
| virtual void | OnEnable () |
| Determine the initial anchor type. More... | |
| virtual void | OnDisable () |
| Clear the instance reference. More... | |
| void | ReEvaluateAnchorType () |
| Manually re-evaluate the current anchor type. More... | |
| virtual bool | ShouldDrawProperties () |
| virtual void | DrawCustomProperties () |
| virtual void | DrawFinalProperties () |
| Draw the "Anchors" property block. More... | |
| virtual void | OnDrawFinalProperties () |
| SerializedProperty | DrawSingleAnchorSelection () |
| Draw a selection for a single target (one target sets all 4 sides) More... | |
| void | DrawAnchor (int index, bool targetSelection) |
| Helper function that draws the suffix after the relative fields. More... | |
| void | UpdateAnchors (bool resetRelative) |
| Convenience function that switches the anchor mode and ensures that dimensions are kept intact. More... | |
| void | UpdateAnchor (int index, bool resetRelative) |
| Convenience function that switches the anchor mode and ensures that dimensions are kept intact. More... | |
Static Protected Member Functions | |
| static bool | IsCommon (float relative) |
| Whether the specified relative offset is a common value (0, 0.5, or 1) More... | |
| static bool | IsRect (SerializedProperty sp) |
| Returns 'true' if the specified serialized property reference is a UIRect. More... | |
| static UIRect | GetRect (SerializedProperty sp) |
| Pass something like leftAnchor.target to get its rectangle reference. More... | |
| static Camera | GetCamera (SerializedProperty sp) |
| Pass something like leftAnchor.target to get its rectangle reference. More... | |
Protected Attributes | |
| AnchorType | mAnchorType = AnchorType.None |
| Transform[] | mTarget = new Transform[4] |
| bool[] | mCustom = new bool[] { false, false, false, false } |
Static Protected Attributes | |
| static string[] | PrefixName = new string[] { "Left", "Right", "Bottom", "Top" } |
| static string[] | FieldName = new string[] { "leftAnchor", "rightAnchor", "bottomAnchor", "topAnchor" } |
| static string[] | HorizontalList = new string[] { "Target's Left", "Target's Center", "Target's Right", "Custom", "Set to Current Position" } |
| static string[] | VerticalList = new string[] { "Target's Bottom", "Target's Center", "Target's Top", "Custom", "Set to Current Position" } |
| static bool[] | IsHorizontal = new bool[] { true, true, false, false } |
Editor class used to view UIRects.
|
protected |
|
protected |
Helper function that draws the suffix after the relative fields.
| void UIRectEditor.DrawAnchorTransform | ( | ) |
|
protectedvirtual |
Reimplemented in UIWidgetInspector, and UIBasicSpriteEditor.
|
protectedvirtual |
Draw the "Anchors" property block.
Reimplemented in UIPanelInspector.
|
protected |
Draw a selection for a single target (one target sets all 4 sides)
|
staticprotected |
Pass something like leftAnchor.target to get its rectangle reference.
|
staticprotected |
Pass something like leftAnchor.target to get its rectangle reference.
|
staticprotected |
Whether the specified relative offset is a common value (0, 0.5, or 1)
|
staticprotected |
Returns 'true' if the specified serialized property reference is a UIRect.
|
protectedvirtual |
Clear the instance reference.
Reimplemented in UIWidgetInspector, and UIPanelInspector.
|
protectedvirtual |
Reimplemented in UIWidgetInspector.
|
protectedvirtual |
Determine the initial anchor type.
Reimplemented in UIWidgetInspector, UIPanelInspector, UILabelInspector, UI2DSpriteEditor, and UITextureInspector.
| override void UIRectEditor.OnInspectorGUI | ( | ) |
Draw the inspector properties.
|
protected |
Manually re-evaluate the current anchor type.
|
protectedvirtual |
Reimplemented in UIPanelInspector, UILabelInspector, UISpriteInspector, UI2DSpriteEditor, and UITextureInspector.
|
protected |
Convenience function that switches the anchor mode and ensures that dimensions are kept intact.
|
protected |
Convenience function that switches the anchor mode and ensures that dimensions are kept intact.
|
static |
Convenience function that switches the anchor mode and ensures that dimensions are kept intact.
|
static |
Convenience function that switches the anchor mode and ensures that dimensions are kept intact.
|
staticprotected |
|
staticprotected |
|
static |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |


catch
blocks but do not "wrap" the caught exception.
When an exception is thrown in response to an exception, wrapping the initial exception prevents losing valuable context information, such as stack frames and line numbers.


This is written with JSX in a CommonJS module and precompiled to vanilla JS by running:
npm start
Learn more about React at facebook.github.io/react.
To install React, follow the instructions on GitHub.
If you can see this, React is not working right.
If you checked out the source from GitHub make sure to run grunt
.


Manage Transaction Menu:
This menu has option for managing day to day transaction like sending jewels on
marketing/ approval basis and taking their return in stock.
It also provides all jewel and transaction against the customer or supplier. Master
maintenance provide facility to update jewel information.


Sages and Lunatics: You May Be One
My previous three posts looked at ideas from John Spencer’s book Sages and Lunatics. I could go deeper because it is full of great discussion points, but I’d rather you just read the book. This is the final post.
It is incredibly difficult to spot the difference between a sage and a lunatic because at first glance, they look the same. The difference is that a Sage has some defining qualities the Lunatic lacks.
- The Sage is retrospective. He or she recognizes that over the last few decades, the relational aspect of teaching has been lost. Sure, it went way too far one way in the 70’s and has since swing back to the assessment side in recent years, but we’ve lost sight of that middle ground. Students are pupils, not humans. Teachers are masters, not people. The relationship is exacerbated every day in schools with nary a peep. The Sage recognizes that education is much more than compliance and control…there is relationship – a dynamic that is special (sacred?) between teacher and student that we need to recognize. The Sage pushes back to that ideal while the lunatic screams in the background.
- The Sage is unconventional. Confusion is a tool to be used strategically, not a pathogen to be wiped out through “educating.” Riddles and nuance flow freely during class with the intent of pushing students to just before their breaking point. A Sage rides the line between challenge and hopelessness in the face of discovering new ideas. Lunatics may often do the same thing, but for their own entertainment or indifference about the means used to reach the same end. Look carefully, and you’ll be able to see the difference between the two.
- The Sage is humble. Classroom wins are local and celebrated with the community. Yes, stories and successes are shared, but all through the lens of the student and their growth. The Sage is always looking to serve others – be it parents, students, administration, colleagues…their own growth comes from helping others grow. The Sage recognizes that when everyone has an opportunity to succeed, the organization is healthier overall. This includes passing on opportunities to help a colleague. Selflessness is indicative of the teacher who gets it.
The really difficult thing about all of this is that the Sage doesn’t feel like one. They may feel like a normal teacher or even the lunatic. They don’t claim to have all the answers, just ideas which worked out for them. Remember these things as you meet and work with educators – you may learn something from a Sage without even realizing it.
Written on
June
6th,
2014
by
Brian Bennett
Categorized in:
All
Teaching
Tagged:
Feel free to share!
Leave a comment


PicoContainer is hosted at Codehaus meaning it has a Xircles management page.
Jira Bug tracking
Old Confluence based documentation (for Pico 1.x)
Source control root for Pico 2.x (you will need Maven2 installed to build):
http://svn.codehaus.org/picocontainer/java/2.x/trunk/
For other languages:
Ruby ("Rico") - http://svn.codehaus.org/picocontainer/ruby/
Php - http://svn.codehaus.org/picocontainer/php/
.Net - http://svn.codehaus.org/picocontainer/dotnet/
Maven repositories for artifact download :
numbered releases : http://repository.codehaus.org/org/picocontainer/
snapshot (work in progress) releases http://snapshots.repository.codehaus.org/org/picocontainer/
Developer's Note
If you wish to work with the Pico Sources, somtimes the 3rd party library Paranamer is updated before it gets synced to the maven central repository. You can get past frustrating compile error during those few days beteween update and sync by adding the following code to your maven's settings.xml file.
<profiles>
<profile>
<id>pico</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>codehaus</id>
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
<url>http://repository.codehaus.org/</url>
</repository>
</repositories>
</profile>
</profiles>
Pico is BSD licensed. At least, with us as copyright holder instead of "Regents of the University of California".
You can use it, write extensions for it, from/with software that is:
Under the terms of the BSD license you don't have to give changes back to us, or make your license the same as ours. If there is something that would benefit PicoContainer we would be pretty happy if you donated it back :-)


Just pick the time that works for you and you’re confirmed.
It’s easy to find the teacher with the right style and experience for you. All Savvy teachers are skilled and vetted, and you can ask them questions before you book.
When it’s time for your lesson, click on a link and bam! you’re ready to learn over live, high quality video chat.


---
layout: default
title: Honors, Service, Teaching
---
honors
- Siebel Scholar, Class of 2023
- Institute of Mathematical Statistics, Hannan Graduate Student Travel Award, 2022
- NSF Graduate Research Fellowship, Awarded in 2019
- Computer Science Prize for Academic Excellence in the Honors Program, New York University, 2018
service
Workshops and Sessions
- Organized Invited Session at 2022 Institute of Mathematical Sciences Annual Meeting on Inference Methods for Adaptively Collected Data. The speakers were Nathan Kallus, Koulik Khamaru, Evan Munro, and myself. Joseph Jay Williams and Nina Deliu chaired the session.
- Assisted in Organizing the Harvard Radcliffe 2022 Exploratory Seminar on Ethical Considerations in the Use of Big Data, AI, and Real-Time Information for Prediction of Behavioral Health Outcomes, which was led by Jordan Smoller and Matthew Nock.
- Co-Organized NeurIPS 2021 Workshop on Causal Inference Challenges in Sequential Decision Making: Bridging Theory and Practice with with Aurelien Bibaut, Maria Dimakopoulou, Nathan Kallus, Xinkun Nie, and Masatoshi Uehara.
- Co-Organized NeurIPS 2020 Workshop on Machine Learning for Mobile Health with Walter Dempsey, Nick Foti, Joseph Futoma, Yian Ma, Marianne Njifon, and Jieru Shi.
- Assisted in a practical workshop on Online Learning and Experimentation Algorithms in Mobile Health organized by Walter Dempsey as a part of the AI4Health Winter School 2021.
Mentoring


--- layout: post title: Highlight 2.6.12 .deb package for nslu2 date: '2008-09-01T11:41:00+02:00' tags: - nslu2 - debian - package - highlight - armel - textmadebyme tumblr_url: http://blog.alezzandro.com/post/48250918/highlight-2612-deb-package-for-nslu2 ---
I’ve not found an updated version of Highlight in current Debian testing repository (codename: lenny),
so I’ve created by myself a debian package for my nslu2 (armel arch!): highlight_2.6.12-1_armel.deb
You can also find it here: http://www.alexworld.it/download/
byebye!


switch_abstraction module¶
This module is part of the nmeta suite running on top of Ryu SDN controller. It provides functions that abstract the details of OpenFlow calls, including differences between OpenFlow versions where practical
-
class
switch_abstraction.
SwitchAbstract
(_config)¶ Bases:
object
This class is instantiated by various other modules and provides methods for interacting with switches that are safe to use without need to for the calling program to know calls specific to the version of OpenFlow that the switch runs (where practical...)
-
add_flow
(datapath, match, actions, **kwargs)¶ Add a flow table entry to a switch. Returns 1 for success or 0 for any type of error
- Required kwargs are:
- priority (0) buffer_id (None) idle_timeout (5) hard_timeout (0)
-
add_flow_eth
(datapath, msg, **kwargs)¶ Add an ethernet (non-IP) flow table entry to a switch. Returns 1 for success or 0 for any type of error Uses Ethertype in match to prevent matching against IPv4 or IPv6 flows
-
add_flow_ip
(datapath, msg, **kwargs)¶ Add an IP (v4 or v6) flow table entry to a switch. Returns 1 for success or 0 for any type of error Uses IP protocol number to prevent matching on TCP flows
-
add_flow_tcp
(datapath, msg, **kwargs)¶ Add a TCP flow table entry to a switch. Returns 1 for success or 0 for any type of error
-
get_actions
(datapath, ofv, out_port, out_queue)¶ Passed a datapath, an OpenFlow version an out port, an out queue and flood port # and build and return an appropriate set of actions for this
-
get_flow_match
(datapath, ofproto, **kwargs)¶ Passed a OF protocol version and a Flow Match keyword arguments dict and return an OF match tailored for the OF version otherwise 0 (false) if compatibility not possible. TBD: validating values...
-
get_friendly_of_version
(ofproto)¶ Passed an OF Protocol object and return a human-friendly version of the protocol revision number
-
get_in_port
(msg, datapath, ofproto)¶ Passed a msg, datapath and OF protocol version and return the port that the packet came in on (version specific)
-
packet_out
(datapath, msg, in_port, out_port, out_queue, nq=0)¶ Sends a supplied packet out switch port(s) in specific queue. Set nq=1 if want no queueing specified (i.e. for a flooded packet)
-
request_switch_desc
(datapath)¶ Request that a switch send us it’s description data
-
set_switch_config
(datapath, config_flags, miss_send_len)¶ Set config on a switch including config flags that instruct fragment handling behaviour and miss_send_len which controls the number of bytes sent to the controller when the output port is specified as the controller
-
set_switch_table_miss
(datapath, miss_send_len, hw_desc, sw_desc)¶ Set a table miss rule on table 0 to send packets to the controller. This is required for OF versions higher than v1.0. Do not set on older OpenvSwitch as it causes packets to be sent to controller with no buffer and OpenvSwitch doesn’t need this rule as it punts to the controller regardless (contrary to specification?) Note: OVS 2.5.0 doesn’t do this, but not sure what point fix was applied to OVS, somewhere between 2.0.2 and 2.5.0
-


Module std.table
Extensions to the core table module.
The module table returned by std.table
also contains all of the entries from
the core table module. An hygienic way to import this module, then, is simply
to override the core table
locally:
local table = require "std.table"
Functions
| clone (t[, map={}[, nometa]]) | Make a shallow copy of a table, including any metatable. |
| clone_select (t[, keys={}[, nometa]]) | Make a partial clone of a table. |
| depair (ls) | Turn a list of pairs into a table. |
| empty (t) | Return whether table is empty. |
| enpair (t) | Turn a table into a list of pairs. |
| flatten (t) | Flatten a nested table into a list. |
| insert (t[, pos=len (t)], v) | Enhance core table.insert to return its result. |
| invert (t) | Invert a table. |
| keys (t) | Make the list of keys in table. |
| len (t) | Equivalent to # operation, but respecting __len even on Lua 5.1. |
| maxn (t) | Largest integer key in a table. |
| merge (t, u[, map={}[, nometa]]) | Destructively merge another table's fields into another. |
| merge_select (t, u[, keys={}[, nometa]]) | Destructively merge another table's named fields into table. |
| monkey_patch ([namespace=_G]) | Overwrite core table methods with std enhanced versions. |
| new ([x=nil[, t={}]]) | Make a table with a default value for unset keys. |
| okeys (t) | Make an ordered list of keys in table. |
| pack (...) | Turn a tuple into a list. |
| project (fkey, tt) | Project a list of fields from a list of tables. |
| remove (t[, pos=len (t)]) | Enhance core table.remove to respect __len when pos is omitted. |
| shape (dims, t) | Shape a table according to a list of dimensions. |
| size (t) | Find the number of elements in a table. |
| sort (t[, c=std.operator.lt]) | Enhance core table.sort to return its result. |
| unpack (t[, i=1[, j=table.maxn(t)]]) | Enhance core table.unpack to always unpack up to maxn (t) . |
| values (t) | Make the list of values of a table. |
Types
| comparator (a, b) | Signature of a sort comparator function. |
Functions
Methods- clone (t[, map={}[, nometa]])
-
Make a shallow copy of a table, including any metatable.
To make deep copies, use tree.clone.
Parameters:
- t table source table
- map
table
table of
{old_key=new_key, ...}
(default {}) - nometa bool if non-nil don't copy metatable (optional)
Returns:
-
copy of t, also sharing t's metatable unless nometa
is true, and with keys renamed according to map
See also:
Usage:
shallowcopy = clone (original, {rename_this = "to_this"}, ":nometa")
- clone_select (t[, keys={}[, nometa]])
-
Make a partial clone of a table.
Like
clone
, but does not copy any fields by default.Parameters:
- t table source table
- keys table list of keys to copy (default {})
- nometa bool if non-nil don't copy metatable (optional)
Returns:
-
table
copy of fields in selection from t, also sharing t's
metatable unless nometa
See also:
Usage:
partialcopy = clone_select (original, {"this", "and_this"}, true)
- depair (ls)
-
Turn a list of pairs into a table.
Parameters:
- ls table list of lists
Returns:
-
table
a flat table with keys and values from ls
See also:
Usage:
--> {a=1, b=2, c=3} depair {{"a", 1}, {"b", 2}, {"c", 3}}
- empty (t)
-
Return whether table is empty.
Parameters:
- t table any table
Returns:
-
boolean
true
if t is empty, otherwisefalse
Usage:
if empty (t) then error "ohnoes" end
- enpair (t)
-
Turn a table into a list of pairs.
Parameters:
- t
table
a table
{i1=v1, ..., in=vn}
Returns:
-
table
a new list of pairs containing
{{i1, v1}, ..., {in, vn}}
See also:
Usage:
--> {{1, "a"}, {2, "b"}, {3, "c"}} enpair {"a", "b", "c"}
- t
table
a table
- flatten (t)
-
Flatten a nested table into a list.
Parameters:
- t table a table
Returns:
-
table
a list of all non-table elements of t
Usage:
--> {1, 2, 3, 4, 5} flatten {{1, {{2}, 3}, 4}, 5}
- insert (t[, pos=len (t)], v)
-
Enhance core table.insert to return its result.
If pos is not given, respect
__len
metamethod when calculating default append. Also, diagnose out of bounds pos arguments consistently on any supported version of Lua.Parameters:
- t table a table
- pos int index at which to insert new element (default len (t))
- v value to insert into t
Returns:
-
table
t
Usage:
--> {1, "x", 2, 3, "y"} insert (insert ({1, 2, 3}, 2, "x"), "y")
- invert (t)
-
Invert a table.
Parameters:
- t
table
a table with
{k=v, ...}
Returns:
-
table
inverted table
{v=k, ...}
Usage:
--> {a=1, b=2, c=3} invert {"a", "b", "c"}
- t
table
a table with
- keys (t)
-
Make the list of keys in table.
Parameters:
- t table a table
Returns:
-
table
list of keys from t
See also:
Usage:
globals = keys (_G)
- len (t)
-
Equivalent to
#
operation, but respecting__len
even on Lua 5.1.Parameters:
- t table a table
Returns:
-
int
length of list part of t
Usage:
for i = 1, len (t) do process (t[i]) end
- maxn (t)
-
Largest integer key in a table.
Parameters:
- t table a table
Returns:
-
int
largest integer key in t
Usage:
--> 42 maxn {"a", b="c", 99, [42]="x", "x", [5]=67}
- merge (t, u[, map={}[, nometa]])
-
Destructively merge another table's fields into another.
Parameters:
- t table destination table
- u table table with fields to merge
- map
table
table of
{old_key=new_key, ...}
(default {}) - nometa
bool
if
true
or ":nometa" don't copy metatable (optional)
Returns:
-
table
t with fields from u merged in
See also:
Usage:
merge (_G, require "std.debug", {say = "log"}, ":nometa")
- merge_select (t, u[, keys={}[, nometa]])
-
Destructively merge another table's named fields into table.
Like
merge
, but does not merge any fields by default.Parameters:
- t table destination table
- u table table with fields to merge
- keys table list of keys to copy (default {})
- nometa
bool
if
true
or ":nometa" don't copy metatable (optional)
Returns:
-
table
copy of fields in selection from t, also sharing t's
metatable unless nometa
See also:
Usage:
merge_select (_G, require "std.debug", {"say"}, false)
- monkey_patch ([namespace=_G])
-
Overwrite core
table
methods withstd
enhanced versions.Parameters:
- namespace table where to install global functions (default _G)
Returns:
-
table
the module table
Usage:
local table = require "std.table".monkey_patch ()
- new ([x=nil[, t={}]])
-
Make a table with a default value for unset keys.
Parameters:
- x default entry value (default nil)
- t table initial table (default {})
Returns:
-
table
table whose unset elements are x
Usage:
t = new (0)
- okeys (t)
-
Make an ordered list of keys in table.
Parameters:
- t table a table
Returns:
-
table
ordered list of keys from t
See also:
Usage:
globals = keys (_G)
- pack (...)
-
Turn a tuple into a list.
Parameters:
- ... tuple
Returns:
-
list
Usage:
--> {1, 2, "ax"} pack (("ax1"):find "(%D+)")
- project (fkey, tt)
-
Project a list of fields from a list of tables.
Parameters:
- fkey field to project
- tt table a list of tables
Returns:
-
table
list of fkey fields from tt
Usage:
--> {1, 3, "yy"} project ("xx", {{"a", xx=1, yy="z"}, {"b", yy=2}, {"c", xx=3}, {xx="yy"})
- remove (t[, pos=len (t)])
-
Enhance core table.remove to respect
__len
when pos is omitted. Also, diagnose out of bounds pos arguments consistently on any supported version of Lua.Parameters:
- t table a table
- pos int index from which to remove an element (default len (t))
Returns:
-
removed value, or else
nil
Usage:
--> {1, 2, 5} t = {1, 2, "x", 5} remove (t, 3) == "x" and t
- shape (dims, t)
-
Shape a table according to a list of dimensions.
Dimensions are given outermost first and items from the original list are distributed breadth first; there may be one 0 indicating an indefinite number. Hence,
{0}
is a flat list,{1}
is a singleton,{2, 0}
is a list of two lists, and{0, 2}
is a list of pairs.Algorithm: turn shape into all positive numbers, calculating the zero if necessary and making sure there is at most one; recursively walk the shape, adding empty tables until the bottom level is reached at which point add table items instead, using a counter to walk the flattened original list.
Parameters:
Returns:
-
reshaped list
Usage:
--> {{"a", "b"}, {"c", "d"}, {"e", "f"}} shape ({3, 2}, {"a", "b", "c", "d", "e", "f"})
- size (t)
-
Find the number of elements in a table.
Parameters:
- t table any table
Returns:
-
int
number of non-nil values in t
Usage:
--> 3 size {foo = true, bar = true, baz = false}
- sort (t[, c=std.operator.lt])
-
Enhance core table.sort to return its result.
Parameters:
- t table unsorted table
- c comparator ordering function callback (default std.operator.lt)
Returns:
-
t with keys sorted accordind to c
Usage:
table.concat (sort (object))
- unpack (t[, i=1[, j=table.maxn(t)]])
-
Enhance core table.unpack to always unpack up to
maxn (t)
.Parameters:
- t table table to act on
- i int first index to unpack (default 1)
- j int last index to unpack (default table.maxn(t))
Returns:
-
... values of numeric indices of t
Usage:
return unpack (results_table)
- values (t)
-
Make the list of values of a table.
Parameters:
- t table any table
Returns:
-
table
list of values in t
See also:
Usage:
--> {"a", "c", 42} values {"a", b="c", [-1]=42}


Before Change
def r2_score(self):
r2_score
numerator = (self.predictions - self.targets) ** 2
denominator = (self.targets - np.average(self.targets)) ** 2
return np.mean(1 - (numerator / denominator))
def explained_variance_ratio(self):
After Change
def r2_score(self):
r2_score
if self.weights is not None:
weight = self.weights[:, np.newaxis]
else:
weight = 1
numerator = (weight * (self.predictions - self.targets) ** 2).sum(axis=0)
targets_avg = np.average(self.targets, axis=0, weights=self.weights)


👋🏻
hi friend
👋🏻
😋😃welecome to Restaurant#😃😋
Your browser does not support the audio element.
Play music
Click on the flag And choose your favorite food.
Japan
Korea
Italy
Germany
France
Greece
Mexico
India
Our page in virtual networks


Source code for lenstronomy.LensModel.Solver.solver
from lenstronomy.LensModel.Solver.solver2point import Solver2Point
from lenstronomy.LensModel.Solver.solver4point import Solver4Point
import numpy as np
__all__ = ['Solver']
[docs]class Solver(object):
"""
joint solve class to manage with type of solver to be executed and checks whether the requirements are fulfilled.
"""
def __init__(self, solver_type, lensModel, num_images):
"""
:param solver_type: string, option for specific solver type
see detailed instruction of the Solver4Point and Solver2Point classes
:param lensModel: instance of a LensModel() class
:param num_images: int, number of images to be solved for
"""
self._num_images = num_images
self._lensModel = lensModel
if self._num_images == 4:
self._solver = Solver4Point(lensModel, solver_type=solver_type)
elif self. _num_images == 2:
self._solver = Solver2Point(lensModel, solver_type=solver_type)
else:
raise ValueError("%s number of images is not valid. Use 2 or 4!" % self._num_images)
[docs] def constraint_lensmodel(self, x_pos, y_pos, kwargs_list, xtol=1.49012e-12):
"""
:param x_pos:
:param y_pos:
:param kwargs_list:
:return:
"""
return self._solver.constraint_lensmodel(x_pos, y_pos, kwargs_list, xtol=xtol)
[docs] def update_solver(self, kwargs_lens, x_pos, y_pos):
"""
:param kwargs_lens:
:param x_pos:
:param y_pos:
:return:
"""
if not len(x_pos) == self._num_images:
raise ValueError("Point source number %s must be as specified by the solver with number of images %s" %
(len(x_pos), self._num_images))
kwargs_lens, precision = self.constraint_lensmodel(x_pos, y_pos, kwargs_lens)
return kwargs_lens
[docs] def check_solver(self, image_x, image_y, kwargs_lens):
"""
returns the precision of the solver to match the image position
:param kwargs_lens: full lens model (including solved parameters)
:param image_x: point source in image
:param image_y: point source in image
:return: precision of Euclidean distances between the different rays arriving at the image positions
"""
source_x, source_y = self._lensModel.ray_shooting(image_x, image_y, kwargs_lens)
dist = np.sqrt((source_x - source_x[0]) ** 2 + (source_y - source_y[0]) ** 2)
return dist
[docs] def add_fixed_lens(self, kwargs_fixed_lens, kwargs_lens_init):
"""
returns kwargs that are kept fixed during run, depending on options
:param kwargs_fixed_lens: keyword argument list of fixed parameters (indicated by fitting argument of the user)
:param kwargs_lens_init: Initial values of the full lens model keyword arguments
:return: updated kwargs_fixed_lens, added fixed parameters being added (and replaced later on) by the
non-linear solver.
"""
kwargs_fixed_lens = self._solver.add_fixed_lens(kwargs_fixed_lens, kwargs_lens_init)
return kwargs_fixed_lens


--- date: 2010-02-15T00:00:00Z published: true title: Hacker Dojo - this is a cool idea - too bad it's 2,400km away. url: /2010/02/15/hacker-dojo-this-is-a-cool-idea-too-bad-it-s-2-400km-away-/ ---
The Hacker Dojo is a community center for hackers and thinkers to meet, discuss, learn, and create.
We are located at 140 South Whisman Road in Mountain View, CA. [map]
Is there an equivalent one of these in Calgary?


I am an audio engineer and sound designer. I have worked in various realms of the audio industry. Some examples are recording and mixing music, providing sound design for podcasts, short films, and audio dramas, on-set field sound production, etc. I handle each project I am tasked with, whether it is to create something new or to help support and promote established media. I promise to see each task done with punctual proficiency. If you have not already, please feel free to explore my little corner of the internet and see -- excuse me -- hear what I mean. I am quite versatile and can work between operating a mixing console, working with digital audio workstations and recording the dialogue for film. So please, let my services be a dependable commodity for you. Thank you all for checking out and considering what I love to do.
I love my ears, and, more importantly, using my ears to create, recreate, and manipulate sounds for others to perceive. Did you know that out of the five senses, we are most sensitive to our sense of hearing? It takes between eight and ten milliseconds for us to receive and respond to sound. Pretty neat right? In fact, sound is able to cross over into other senses, such as a sense of touch. Lower-frequencies have a tendency to be experienced less as a sound, and more as a feeling. That’s the reason why people often use the expression, “I’m feeling it,” whenever someone is laying on some funky bass grooves. Anyway, I could go on-and-on about why I love this stuff; however, that would completely defeat the purpose of this website!