-
Well naming each element, object and function, A good name should be short and clear
and describes the purpose of the code. So that we do not need to provide unnecessary comments in the script to the explain
the codes.
-
Indentation/formatting your code where necessary. Indentation has no bearing on how the page is rendered, but it has a
huge effect on the readability of the code. It makes the tree structure more clear and it would help people to breakdown
the codes into sections and maintaining things become easier. Standard procedure is to indent one tab (or a few spaces)
when you are starting a new element that is a child element of the tag above it. Then move back in a tab when you are
closing that element.
-
Having consistency in how you name things and how you format your code reduces confusion when others read it. For example,
if you have a class for your index navigation bar call “nav-bar”, and you are having another class for your blog page’s
navigation bar. You should not use “navBar” as another class name, because it would be confused for people to understand
the difference between the two. Instead, you should make the code more consistent by using the same naming method (dash
in between words). Eg. nav-bar-blog.
-
Commenting a complicated section. If the code or the function in your script is long and complicated, it is good to
have comments to explained the purpose of that section. This helps people to get some ideas before reading your code.
* Tell your non-tech friend a story about a time
1. Got blocked on a simple problem
When I first finished the basic JavaScript Course, I was trying to find some online coding challenges to practice the knowledge
I had learned. The first challenge I came across was to write a function that will return the factorial of a given number
(eg. Given 3, return the result of 1*2*3). I know it sounds pretty simple and straight forward, but guess what? At that time,
I did not even know how to start, I was frightened. I understood the requiements, I knew how to set conditions and loops, but
how could I put the knowledges together to get the results? I was stucked.
I decided to refer back to the jscourse on freeCodeCamp, I found out that there was a technique called pseudocode. That technique
helps people to brief the ideas before writing the code. The concept of pseudocode is like making a meal for your family. Writing
down a menu first would help you decide the ingredients and the steps you need to follow.Pseudocode is the menu of the code script.
After I wrote the pseudocode for the factorial challenge, the idea became clear in my brain, then it took me only 2 minutes to
write the functions according to the pseudocode.
2. Solved a problem in an elegant way
I remembered when I first created my blog page I was very struggle with the positioning of the elements. When I tried to make one
block of content to be float, the position of other blocks changed as well. It was a mess seeing all the texts and images stacked
on top of each other. Then I did some research on google and found out the rules of float properties. Basically we can imagine
that if an element is defined as float, it is not on the same layer to the other elements, and that’s why the other elements will
shift to take over the empty space. To resolve the issue, we can simply tell the other elements to ignore the float effect by
using “clear” property.
There are many rules that affect the layout of the webpage, we will not be able to understand all of them. When we get stucked,
google is a good way to search for answers.
* Reflect on how confident you feel using the problem solving techniques and process:
-
Pseudocode : High – Pseudocode is a very useful technicque for me to conceptualise my code, it breaks down the problem into
pieces then I can solve it step by step.
-
Trying something : High – Trying things out might not solve the problem straight away, but it gives me the ideas what ways
are not working, and hence I can find another way to approach the problem.
-
Rubber ducky method : Medium – I might not speak out lound to an object, but I will sometimes repeat and review the
problem/steps in my mind.
-
Reading error messages : High – I like to read error messages, as most of the time it points out the problem straight
away, or it points to the sections the problem locates. Debugging codes without any error message is a real challenge to me.
-
Console.logging : Medium – Sometimes I am not quite sure where should I put the console.log to check the output.
-
Googling : High - The major problem solving skill that I use in my daily tasks.
-
Asking Others : Medium – This sometimes would be a challenge as people might have different logic or approach on writing
codes. It was a bit hard to explain things when people have different logic, and the process is time consuming.
-
Asking coaches for help : Medium – This would be my final solution if I could not solve the problem by myself,
because in a working environment, there might not be a coach out there to help me.
-
Improving your process with reflection : Medium – Still working on this part.


To create a custom "toggle switch", wrap a container element, like div, with a class of .custom-control and .custom-switch around a checkbox. Then add the .custom-control-input class to the checkbox:


{% extends "base.html" %} {% load examples_tags %} {% block title %}Rendering With A Custom Template{% endblock %} {% block content %}
You can use renderform
template filter on a form or a Fieldset
object to render it. By default formfieldset/form.html
template will be used. You can also supply another template name as an argument to renderform
like this {% templatetag openvariable %} form|renderform:"myapp/custom_form.html" {% templatetag closevariable %}
.
Django-formfieldset
supplies a simple formfieldset/form.html
template. But this filter is most useful when you override this default template or use a custom template as a filter argument.


This component creates a toolbar using the given properties and the HTML children.
If the propertyicons
is passed ,then a pool of button
will be instantiated.
Each time a pool item is clicked a new event is created with the eventData
property passed along.
This component consumes properties inside the HTML children in this way:
psk-icon
.


When you have a condition on for exp. href whick triggers condition rendering with slots inside, then the slot are not transported correctly (shadowdom off)


Formish is a templating language agnostic form generation and handling library.
First of all we need to create a data schema to define what types of data we want in the form. Lets take a look at the structure of a Form instance to begin with
>>> import schemaish
>>> schema = schemaish.Structure()
>>> schema.add( 'myfield', schemaish.String() )
>>> schema.attrs
[('myfield', <schemaish.attr.String object at 0x...>)]
So we now have a single field in our schema which is defined as a string. We can now create a form from this
>>> import formish
>>> form = formish.Form(schema)
And what can we do with the form? Well at the moment we have a form name and some fields
>>> form.name
'formish'
>>> for field in form.fields:
... print field
...
<formish.forms.Field object at 0x...>
And what about our field? Well it’s now become a form field, which means it has a few extra attributes to do with creating things like classes, ids, etc.
>>> field = form.fields.next()
>>> field.name
'myfield'
Obviously the name is what we have it.
>>> field.widget
<bound widget name="myfield", widget="Input", type="String">
>>> field.title
'Myfield'
The title, if not specified in the schema field, is derived from the form name by converting camel case into capitalised words.
>>> field.cssname
'formish-myfield'
This is the start of the templating stuff.. The cssname is an identifier that can be inserted into forms, used for ids and class names.
The definition of a form
The Form type is the container for all the information a form needs to render and validate data.
| Variable name: | The name of the form, used to namespace classes and ids |
|---|---|
| Variable defaults: | |
| Property to allow getting and setting of defaults | |
| Variable error: | Used to indicate a non field specific error on the form. None if no error |
Create a new form instance
| Parameters: |
|
|---|
Find and call the action callback for the action found in the request
| Parameters: |
|
|---|
Add an action callable to the form
| Parameters: |
|
|---|
A wrapper for a schema field type that includes form information.
The Schema Type Atribute does not have any bindings to the form library, it can be used on it’s own. We bind the Schema Attribute to a Field in order to include form related information.
| Method __call__: | |
|---|---|
returns a serialisation for this field using the form’s renderer - read only |
|
| Parameters: |
|


don't know what the problem is, but i have seen this often in the last days...
sometimes this swaps are working, but it takes very long
06 17:15:23, maker_swap:461] Maker payment tx 4b9bae8c93206972fa619a871904323afab1da9a6413c8cbab2d1efbc959076e
06 17:15:23, maker_swap:483] Sending 'maker-payment@872230bd-d86c-4fa9-aa4f-026a993e9e47' (686 bytes, crc<PHONE_NUMBER>)
...
| (38:47) [swap uuid=872230bd-d86c-4fa9-aa4f-026a993e9e47] Maker payment sent...
06 17:52:36, maker_swap:492] Received 'taker-payment@872230bd-d86c-4fa9-aa4f-026a993e9e47' (244 bytes, crc<PHONE_NUMBER>)
06 17:52:36, maker_swap:509] Taker payment tx e8e0aa380dd6a1fea0f777414f9079a4c1145ac279c738e854643567300f024c
+--- 06 17:52:36 -------
| (39:06) [swap uuid=872230bd-d86c-4fa9-aa4f-026a993e9e47] Taker payment wait confirm started...
| (0:00/4:12) [ETH] Waiting for confirmations…
· 2020-01-06 17:52:36 +0000 [ETH] Waiting for confirmations… Confirmed.
06 17:52:37, eth:2234] Max nonce 182 != 181 min nonce
· 2020-01-06 17:52:38 +0000 [sign-and-send] get_addr_nonce…
06 17:52:38, maker_swap:588] Taker payment spend tx b95810af9d7b3368b181bc4e94b25a4e70881d684b3b89eab4325b8c36a8db2b
· 2020-01-06 17:52:38 +0000 [swap uuid=872230bd-d86c-4fa9-aa4f-026a993e9e47] Finished
so it took the taker 39 minutes to see the KMD MakerPayment... and then the swap finished in 10s
(edited)


Shop #1
You can contact us by:
- Phone: +123456789
- Mail<EMAIL_ADDRESS>Shop #2
You can contact us by:
- Phone: +123456789
- Mail<EMAIL_ADDRESS>Shop #3
You can contact us by:
- Phone: +123456789
- Mail<EMAIL_ADDRESS>Shop #4
You can contact us by:
- Phone: +123456789
- Mail<EMAIL_ADDRESS>Warehouse
You can contact us by:
- Phone: +123456789
- Mail: lalala@autoshop.blablabla


Please press F11 to exit fullscreen mode.
Please logoff your computer, and tidy the workstation.
Please return all materials to the experimenter


Superposition IV is the
oldest and largest 24-hour hackathon
for high school and college females (trans and non-binary
inclusive) in the Bay Area. We hosted 220 students from across
8 states and 2 countries, of which 77% were first-time hackathon
attendees.
Our mission is to
empower young womxn in tech of all levels
of experience by providing a
supportive environment for them to explore
their passion for computer science. Additionally, we want to
encourage more girls to
join, learn, and thrive in
technology-related fields.
our fourth iteration
Join hundreds of students at the Bay Area’s largest 24 hour
all-female hackathon, regardless of your background or
experience level.
Testimonials
Since our start in October 2016, we’ve worked to create an
inclusive environment of students, mentors, workshops, and
opportunities — with some for everyone.
MICHELLE ZHANG
Johns Hopkins '22
"I went in, dead set on being a pre-med major, only
wanting to try out CS just for fun… after 24 hours, I had
attained an unimaginable amount of knowledge. In the end,
I’m so grateful for this experience and the opportunity to
have discovered a new seed of passion."
×
MICHELLE ZHANG
Johns Hopkins '22
"I went in, dead set on being a pre-med major, only
wanting to try out CS just for fun… after 24 hours, I
had attained an unimaginable amount of knowledge. In
the end, I’m so grateful for this experience and the
opportunity to have discovered a new seed of passion."
NEHA VINJAPURI
Best Overall Hack At Superposition III
"Superposition allowed me to discover different tech
career paths, meet other girls with similar interests, and
be mentored by people in the industry in a comfortable and
inclusive environment."
×
NEHA VINJAPURI
Best Overall Hack At Superposition III
"Superposition allowed me to discover different tech
career paths, meet other girls with similar interests,
and be mentored by people in the industry in a
comfortable and inclusive environment."
SIDDHI KABADI
Attended Superposition III
"Superposition was memorable to me because it helped me
expand my knowledge about computer science in a very safe
and friendly environment. My experience at Superposition
inspired me to take APCS at my school to continue studying
and learning about computer science!"
×
SIDDHI KABADI
Attended Superposition III
"Superposition was memorable to me because it helped
me expand my knowledge about computer science in a
very safe and friendly environment. My experience at
Superposition inspired me to take APCS at my school to
continue studying and learning about computer
science!"
Frequently Asked Questions
Hackathons are competitive coding events where teams have limited time to develop a
solution to a real-world problem using technology. In teams of 4, students will work
together to build a project and pitch their solution to a panel of judges for the
chance to win awesome prizes. Overall, hackathons are here to provide a supportive
environment with free food, mentors, and awesome activities to help you learn and succeed!
This event is absolutely free to attend. Get ready for free
swag, food, and lots of fun!
A valid ID (like a school ID), signed and completed waivers, a laptop, charger(s),
sleeping bag/pillow (optional), toiletries, and layers—the venue may be chilly!
Our venue will be on lockdown throughout the night and we will have security.
Attendees are recommended to stay overnight! If you are unable to stay overnight,
please contact a Superposition organizer to make special arrangements.
You must be signed out by a parent.
All female-identifying, trans or non-binary high school and college students are
welcome to come as an attendee. Although we do NOT accept males as attendees,
we wholeheartedly welcome all genders to volunteer as a
mentor, workshop leader, judge or Campus Ambassador!
We encourage people to work in teams of up to four.
Additionally, there will be icebreakers in the beginning to
help you find a team! You are not required to sumbit a hack,
but there will be workshops and mentors on-hand to help you.
Yes! We have separate travel reimbursement programs for high school and college students. Find more info
here.
Yes, we do! To ensure that Superposition IV is welcoming, all
attendees, mentors, and volunteers are required to abide by
our
code of conduct.
We are looking for mentors, workshop leaders, women in tech
panelists, and sponsors! If you are interested in learning
more about how you can help support Superposition, please
email us at<EMAIL_ADDRESS>Sign up to be a mentor, judge, or women in tech panelist
here.
You need absolutely no prior experience to attend this
hackathon. There will be mentors throughout the day to help
you out!
To ensure fairness, we want all participants to start a
project from scratch once they form a team at our event.
Feel free to brainstorm ideas beforehand!
We highly encourage attendees to stay overnight, but if you must leave early
or for any portion of the hackathon, please notify us in advance at
<EMAIL_ADDRESS>If you are under 18, you must be signed out by a parent with an ID.
◀Saturday Schedule▶
10:00 AM Attendee Check-In
10:45 AM Opening Ceremony
11:15 AM Team forming
12:00 PM Attendee Lunch
12:30 PM - 7:00 PM Workshops
07:00 PM Attendee Dinner
07:15 PM Women In Tech Panel
Workshops
12:15 PM Ideation & Pitching a Project (Data Science Angle)
01:00 PM Intro to Git
01:30 PM Intro to Python
02:15 PM Intro to Java
3:00 PM Intro to Web Development
03:45 PM 3D Printing
04:30 PM Intro To Artificial Intelligence
05:15 PM Applications Of Artificial Intelligence
06:00 PM Intro To Blockchain
09:30 PM Professional Networking
Recap
Since our very first iteration in 2017, Superposition has strived
to provide a
safe, welcoming, racially diverse, and supportive
space for girls to delve into the realm of computer science. This
video recaps Superposition's first iteration in which middle, high
school, and college girls in the San Francisco Bay Area of
all coding experience levels and backgrounds
were challenged to use technology for
social good. Superposition has impacted
over 264 attendees in venues, like VSCO,
and continues to create a
positive attendee experience.


BLETH provides tools for simulating and visualizing the BLE protocol. To get started create a new simulation or visualize an existing simulation.


Bridges of Portland
Here are three examples of famous bridges in Portland, Oregon.
St. Johns
- The St. Johns Bridge is a steel suspension bridge that spans the Willamette River in Portland, Oregon, USA, between the St. Johns neighborhood
and the northwest industrial area around Linnton.
- It is the only suspension bridge in the Willamette Valley and one of three public highway suspension bridges in Oregon.
- You can read more about the St. Johns Bridge here.
Steel Bridge
- The Steel Bridge is a through truss, double-deck vertical-lift bridge across the Willamette River in Portland, Oregon, United States, opened in 1912.
- Its lower deck carries railroad and bicycle/pedestrian traffic, while the upper deck carries road traffic (on the Pacific Highway West No. 1W, former Oregon Route 99W) and light rail (MAX),
making the bridge one of the most multimodal in the world.
- You can read more about the Steel Bridge here.
Fremont Bridge
- The Fremont Bridge is a steel tied-arch bridge over the Willamette River located in Portland, Oregon.
- It carries Interstate 405 and US 30 traffic between downtown and North Portland where it intersects with I-5.
- It has the longest main span of any bridge in Oregon and is the second longest tied-arch bridge in the world
(after Caiyuanba Bridge across the Yangtze River, China).
- You can read more about the Fremont Bridge here.
To learn more about the bridges of Portland, visit this link. Thanks for stopping by!


What is the relationship between mindfulness and self-awareness?
In essence, self-awareness and mindfulness are the same thing -- take this analogy from chapter-four of
Search Inside Yourself: "The traditional analogy of this mind is a fluttering flag. The flag
represents the mind. In the presence of strong emotions, the mind may be turbulent like a flag fluttering
violently in the wind.”
The flagpole represents
mindfulness -- it keeps the mind steady despite all that emotional movement. In that, mindfulness
is similar to self-awareness: it allows us to view ourselves with "third-person objectivity".
Try at least one of the self-awareness practices from the chapter (Body Scan, Journaling).
What was your experience of it?
How did you feel?
After trying the "body scan" technique covered in the book initially, I felt I wasn't able to settle properly / focus on specific areas well enough -- which I think was due to being around displays / monitors, and noise. I tried it again before sleeping, after I had put down my phone / laptop for the night: it was a great process for settling my mind / head before sleep, and finding myself being acutely aware of feelings involved with different areas of the body. Will definitely trial again before sleeping to see if it helps.
What did you take away from the "My Emotions are Not Me" section?
The quote -- "If my emotions are who I am, then there is very little I can do about it" -- stood out to me: with mindfulness and self-awareness, our emotions are not simply a part of us, but what we feel in our bodies; from existential to experiental.


Venue name is required.
Please choose a date in the future.
Start time should be earlier than end time.


Find
a group
Start
a group
Log in
Sign up
welcome!
HELLO
my name is
Submit
Within
5 miles
of
San Francisco, CA
Groups
Calendar


File System
The file system library is subset of the full .NET file system support. Most example should work with without minor changes. The internal drivers fully support FAT16 or FAT32 file systems, with no limitations beyond the FAT file system itself!
Note
The USB drive must have an MBR record, not a GPT table. FAT16 and FAT32 file systems are supported.
Fat File System
USB Mass Storage
This allows file access on USB devices with MSC class, such as USB memory sticks. See the USB page.
SD Card
SD and MMC cards are fully supported as detailed on the SD tutorial page. Additionally, SPI SD drivers are also supported through the ManagedFileSystem
software utility drivers.
The example below requires the GHIElectronics.TinyCLR.IO
and GHIElectronics.TinyCLR.Devices.Storage
libraries and a device with an SD card.
Note
Make sure the namespace statement in the following code is changed to match the namespace of your project.
var sd = StorageController.FromName(SC20100.StorageController.SdCard);
var drive = FileSystem.Mount(sd.Hdc);
//Show a list of files in the root directory
var directory = new DirectoryInfo(drive.Name);
var files = directory.GetFiles();
foreach (var f in files) {
System.Diagnostics.Debug.WriteLine(f.Name);
}
//Create a text file and save it to the SD card.
var file = new<EMAIL_ADDRESS>FileMode.OpenOrCreate);
var bytes = Encoding.UTF8.GetBytes(DateTime.UtcNow.ToString() +
Environment.NewLine);
file.Write(bytes, 0, bytes.Length);
file.Flush();
FileSystem.Flush(sd.Hdc);
Low-level Access
You can access the raw underlying data of the storage provider by using the Provider
property of the controller. Be careful when using this interface, however, as it bypasses any file system present and writes directly to the device. This is useful for implementing your own or otherwise unsupported file systems.
var controller = StorageController.FromName
(SC20100.StorageController.SdCard);
controller.Provider.Read(address, buffer, 0, buffer.Length, -1);
Tiny File System (TFS)
Tiny File System(TFS) can be used to access any memory storage as a file system. All that is needed is a basic driver to Read, Write, and Erase these storages.
Below is an example that uses the external flash through TFS.
Note
This example requires the GHIElectronics.TinyCLR.IO.TinyFileSystem
const int CLUSTER_SIZE = 1024;
var tfs = new TinyFileSystem(new QspiMemory(), CLUSTER_SIZE);
if (!tfs.CheckIfFormatted()) {
//Do Format if necessary
tfs.Format();
}
else {
// Mount tiny file system
tfs.Mount();
}
//Open to write
using (var fsWrite = tfs.Create("settings.dat")) {
using (var wr = new StreamWriter(fsWrite)) {
wr.WriteLine("This is TFS test");
wr.Flush();
fsWrite.Flush();
}
}
//Open to read
using (var fsRead = tfs.Open("settings.dat", FileMode.Open)) {
using (var rdr = new StreamReader(fsRead)) {
System.String line;
while ((line = rdr.ReadLine()) != null) {
Debug.WriteLine(line);
}
}
}
Below is a basic driver implementation utilizing QSPI external flash. It automatically sets the size appropriately depending on whether the deployment is extended or not, as explained on the External Flash page. It however gives you the option to fix the size to 2MB, as the remaining 8MB can optionally be used by InField Update.
public sealed class QspiMemory : IStorageControllerProvider
{
public StorageDescriptor Descriptor => this.descriptor;
const int SectorSize = 4 * 1024;
private StorageDescriptor descriptor = new StorageDescriptor()
{
CanReadDirect = false,
CanWriteDirect = false,
CanExecuteDirect = false,
EraseBeforeWrite = true,
Removable = true,
RegionsContiguous = true,
RegionsEqualSized = true,
RegionAddresses = new long[] { 0 },
RegionSizes = new int[] { SectorSize },
RegionCount = (2 * 1024 * 1024) / (SectorSize)
};
private IStorageControllerProvider qspiDrive;
public QspiMemory() : this(2 * 1024 * 1024)
{
}
public QspiMemory(uint size)
{
var maxSize = Flash.IsEnabledExtendDeployment ? (10 * 1024 * 1024) : (16 * 1024 * 1024);
if (size > maxSize)
throw new ArgumentOutOfRangeException("size too large.");
if (size <= SectorSize)
throw new ArgumentOutOfRangeException("size too small.");
if (size != descriptor.RegionCount * SectorSize)
{
descriptor.RegionCount = (int)(size / SectorSize);
}
qspiDrive = StorageController.FromName(SC20260.StorageController.QuadSpi).Provider;
this.Open();
}
public void Open()
{
qspiDrive.Open();
}
public void Close()
{
qspiDrive.Close();
}
public void Dispose()
{
qspiDrive.Dispose();
}
public int Erase(long address, int count, TimeSpan timeout)
{
return qspiDrive.Erase(address, count, timeout);
}
public bool IsErased(long address, int count)
{
return qspiDrive.IsErased(address, count);
}
public int Read(long address, int count, byte[] buffer, int offset, TimeSpan timeout)
{
return qspiDrive.Read(address, count, buffer, offset, timeout);
}
public int Write(long address, int count, byte[] buffer, int offset, TimeSpan timeout)
{
return qspiDrive.Write(address, count, buffer, offset, timeout);
}
public void EraseAll(TimeSpan timeout)
{
for (var sector = 0; sector < this.Descriptor.RegionCount; sector++)
{
qspiDrive.Erase(sector * this.Descriptor.RegionSizes[0], this.Descriptor.RegionSizes[0], timeout);
}
}
}


A channel to discuss trading. For useful links and more info click the pinned messages to the right.
100 messages
Before 05-Dec-19 12:00 AM
yorklab08-Jun-19 10:18 PM
There's a lot that will be happening the rest of the year....and many years thereafter.
2
Scott08-Jun-19 10:19 PM
Sweet. Glad I held it. Bought in at .00045 so Im still down over 50%
Hollowman900008-Jun-19 10:25 PM
@Scott checked your address lately?
Alexfrog08-Jun-19 10:27 PM
scott dont use new agama version, please look at the news
Hollowman900008-Jun-19 10:27 PM
@jl777c were there multiple locations that the keys were being sent to?
Say mountain man stumbles off the mountain and fires up compromised agama, while the keys will be sent over the airwaves, will they still have an operating attacker destination to land?
Or will agama simply not work now since that dependency was gutted?
hyperDEX08-Jun-19 11:10 PM
@jorian I dont know what is your problem? The show that was put on by Chainmakers during this incident was very revealing, I think if you feel so strongly that the team did not do the best that they could have done in this situation, i am not too sure why you are bothering to stick around.
Oh wait, your project is built on top of jl777 and Komodo teams hard work....
hyperDEX08-Jun-19 11:21 PM
So have some conviction, either take this as a learning experience by the team to improve or give up your notary spots and find a new platform that you think is better. You cannot have it both ways.
PTYX08-Jun-19 11:24 PM
@Deleted User the malicious code had to be on github right?
This event has been hard on us all, I don’t think chainmakers is trying to stir the pot just would like to have had more info as it was occurring, internally a decision had to be made to act quickly in silence , let’s just get people to safety , get everything cleaned up and back to progressing. This event has highlighted things that we need to work on, such as comms and will be discussed as how to do it even better if another event should ever happen
hyperDEX08-Jun-19 11:40 PM
I am being purely logical. They have more information now about what happened but @jorian is still acting like a scorned girl friend(edited)
Just scroll up about 100 messages.....
Scott08-Jun-19 11:48 PM
@Hollowman9000 I have not checked it. All my KMD holdings are on Bittrex.

Hollowman900009-Jun-19 12:37 AM
Which one @jspook16
I didn’t get swept
Got out in the nick of time
Rip ninja
Sdunbar09-Jun-19 01:33 AM
So is agama still even functional now?
for claiming interest
like if you've strictly used native the entire time instead of lite
yorklab09-Jun-19 01:44 AM
Yes, you can claim reward, just send to yourself.
Sdunbar09-Jun-19 01:48 AM
ah ok
thanks
jspook1609-Jun-19 02:55 AM
@Hollowman9000 I think I made it too. Had to go John Wick 2 and bust my patio up to get my 'safe' keys
dukeleto09-Jun-19 04:07 AM
@PTYX the evil code was never on Github, it was an npm package. most npm packages have their source code on github, but released versions of npm packages do not need to correlate to code on Github. This is a big reason why you cannot use the next version of a dependency blindly. Every time you upgrade a dependency version, you must read it (and all it's dependencies) to make sure it's not malware.
jl777c09-Jun-19 04:21 AM
but how to do that if binary and github source dont match?
for thousands of modules??
the iguana approach of writing everything from scratch (other than the actual crypto signing and hashing) seems to be needed, regardless of language
and for the libs i did use, i imported all the source into my tree, so nothing changes on me
many thought i was crazy
dukeleto09-Jun-19 04:34 AM
The nodeJS system changes so fast and basic things require so many thousands of sub-dependencies. Nothing is designed to be maintained for years, it's all constantly changing.  There is no easy way to see somebody that looks out of place, it's an immense amount of work. Some people say they like JS enough to want to do that, but no thanks from me.
jl777c09-Jun-19 04:41 AM
it is a language independent concept, this usage of libraries
but yes, node.js seems to force relying on a massive number of libraries
unless you go out of your way
actionslacks09-Jun-19 04:50 AM
and said libraries, if not religously kept current and updated, will break your program, site, etc.
LocoMB09-Jun-19 04:51 AM
not sure if python ever had such rampant dependency escalation ... packet structures much flatter and more robust(edited)
jl777c09-Jun-19 04:52 AM
yes if you dont update you leave your self open to known exploits
you update and you can get exploited unless you are extremely diligent, all the time
actionslacks09-Jun-19 04:53 AM
it's a hamster wheel. the first troubleshooting step for most is an npm update when something stops working.
LocoMB09-Jun-19 04:54 AM
I asked over at the IOTA discord- they paid a specialized outfit beaucoup bucks to do what is apparently called a 'manual audit'
jl777c09-Jun-19 04:54 AM
which works until they mess up, or hire an employee that is a hacker
we all need to really increase the level of scrutiny across the board
1
Crabby Paddy09-Jun-19 05:09 AM
Any way to make wallet smaller? Mines 9mb is that too big to stake optimally
Or still fine
actionslacks09-Jun-19 05:10 AM
to expect the npm team to detect every exploit being snuck into their platform is wishful thinking.
CHMEX09-Jun-19 05:10 AM
you can use ./komodo-cli -ac_name=XXX cleantransactions
Crabby Paddy09-Jun-19 05:11 AM
Won’t mess up my pos64staker, segid, utxo or anything right? @CHMEX
Thanks
CHMEX09-Jun-19 05:12 AM
no it does not mess with it
passcombo.com 🏴☠🏴09-Jun-19 05:48 AM
another approach is to have multiple wallets to spread risk - but to do it right best if those wallets are even writen in different languages or at least using different modules to lower risk of single malware lib contaminating all wallets
if there was a set of instruction how to use the basic api (komodod or cli?) maybe new wallets / gui would come faster
even I'm thinking I could make one, but I need really easy docs to understand it quickly
jl777c09-Jun-19 05:50 AM
komodo rpc calls are based on bitcoin, which has been extensively documented, for years
Mark8109-Jun-19 05:50 AM
Hmmm.. question goes like this: i did manage to get my kmd supernet and dex away from swept by jl777 except jumblr and crypto. Will i be able to get them by sending that 0.0001kmd to old address as described?
jl777c09-Jun-19 05:51 AM
yes, i will use the same method for all the assetchains
just havent had time to process them yet.
passcombo.com 🏴☠🏴09-Jun-19 05:51 AM
most gui devs is not familiar with BTC rpc or anything
Mark8109-Jun-19 05:52 AM
Ok thats enough, thanks gor your incredible work James! Very high respect torwards You!
passcombo.com 🏴☠🏴09-Jun-19 05:52 AM
also I would start only if I know how to make lite wallet, which I prefer myself
jl777c09-Jun-19 05:52 AM
@passcombo.com 🏴☠🏴 all the info is there
passcombo.com 🏴☠🏴09-Jun-19 05:53 AM
gui dev needs very little things to start quickly 1. all info collected in on place 2. few options/steps descirbeid like how ton create new addr, connect , send... + few more and then you go
jl777c09-Jun-19 05:53 AM
all the info exists for many years
passcombo.com 🏴☠🏴09-Jun-19 05:55 AM
I see the info is the but it is spreaded, first dev need to spen hours to find best source of many docs spreaded on internet
@Crabby Paddy can be "cheated" not to remove the file. don t know for staking but be careful using this too often you will "masquerade" mined / staked utxos : let s talk about this on a tech chan :).
Using cleanwallet won t reduce wallet size, just optim calls(edited)
jl777c09-Jun-19 05:58 AM
granted there is a decent amount of info, but saying that there are no docs is incorrect. there are plenty of documentations. it isnt like the old days where you had to dig into the source code to even know what was possible
passcombo.com 🏴☠🏴09-Jun-19 06:00 AM
ok will check it, it's not only about information being there but also the form of it; if you have simple instructions it's faster then learnign the whole bible of BTC -> gui devs come faster
btw is it possible any way cli allows lite wallets? for me would be easy to use just cli wallet and create gui over it
but best if cli allows spv
spv is the future
until there is even better tech
jl777c09-Jun-19 06:01 AM
use electrumX server docs
Deleted User09-Jun-19 06:01 AM
@CHMEX please don t forget it "erases" utxos from db, for a miner not so cool if not aware of that : not mature funds are not lost after that, just hidden(edited)
@Deleted User no luck so far, truncates my seed entry. Tried brand new wallet, Kmd Kmd seeds... multiple times, no go. Tried typing into text editor then copying /paste into seed entry, won’t even paste. Seems like odd GUI glitch (using 0.5.7) Scanning a QR worked for one of the newly generated addresses, but I don’t have one for my old Kmd Agama seed.
i got the refund processor coded and it will be sending out the first 90 refunds over the next hour or so. about half the claims for less than 777 KMD have properly sent the special tx 2) to the secure refund address. this is approx 10% of the affected users, so not a bad start. assuming there are no issues, the rest can be processed as soon as the proper claims are made with a matching send from the old address to the new secure address.
by the way, the refund processor is 500 lines of C code


{% extends "foreign/foreign_base.html" %} {% block main_content %}
Foreign Influence Explorer documents some of the ways foreign entities influence U.S. policy and opinions. This section of Influence Explorer uses different datasets since the reporting required of foreign entities is much more robust. View information about Foreign Agent Feed and Proposed Arms Sales below.
Documents in the Foreign Agent Feed come from the Department of Justice's Foreign Agent Registrant Act Records.
The DOJ describes the FARA records as, "a disclosure statute that requires persons acting as agents of foreign principals in a political or quasi-political capacity to make periodic public disclosure of their relationship with the foreign principal, as well as activities, receipts and disbursements in support of those activities."
This data applies to a wide range of cases from lobbyists advocating for foreign governments, public relations for travel and trade associations, individuals seeking visas and many other cases. Registrants are the persons or entities filing the forms, registrants represent one or more foreign interests. Sometimes registrants are representing themselves.
Clicking on a form in the Foreign Agent Feed takes you to a document profile that lists the clients that the registrant represents. This list is created by looking up the most recently processed form in the system. If a newer form has not been processed, it is possible that the client composition could change.
If a form has been processed, and the form deals with the information Sunlight tracks, a downloadable file will be created. The zip file will contain spreadsheets with any information dealing with who the registrant contacts, the political donations of the registrant, payments made to the registrant and disbursements made on behalf of the client.
Please refer to the documentation in the download for a full explanation of the information in the spreadsheets.
Supplemental- Provides information such as, what kind of public relations and lobbying a firm engages in on behalf of a foreign government. Supplementals have key information like contacts, payments, disbursements and contributions. These are filed every six months.
Registration- Is the form filed by a new registrant, it includes similar information to the Supplemental forms. Registrations have key information like payments, disbursements and contributions. These are filed every six months.
AB- These are two forms that a Registrant must file when it represents a new client. It includes the Client's information, describes the work that the registrant expects to do and includes a copy of the agreement.
Amendment- Makes corrections to other forms.
Other document type include, Short Form registrations, for individuals representing foreign agents; Fund raising forms; and Articles of incorporation. Sunlight does not hand process these for its downloadable datasets but they are available on the FARA website.
The structured data is creating by crawling the DOJ website for documents and manually structuring and normalizing the data. Sunlight employees, interns and volunteers enter the data into web forms. Each line item contains a link to the original form for easy fact-checking and verification. We create spreadsheets describing contacts, contributions, payments and disbursements.
CONTACTS
This data contains descriptions of lobbying contacts, press releases, meetings, conferences speeches and other activity reported in the FARA forms.
This is among the most valuable information that can be obtained via FARA because unlike lobbyists who represent domestic clients, representatives for foreign interests must name lawmakers, staff members and even journalists whom they meet on behalf of their client.
CONTRIBUTIONS
Though foreign donations are barred from federal elections, U.S. citizens and organizations that represent foreign interests in the U.S. may still contribute to candidates and campaigns. They must report these donations, however, to the Justice Department under FARA.
Note: These figures will NOT match records available at the Federal Election Commission, in Sunlight's Influence Explorer or Center for Responsive Politics/Open Secrets. The reason: These contributions are self-reported by the registrant, while contribution records made available via the FEC are reported by political campaigns. Because the FARA records have a different data source, the dates and amounts often will not match.
Nonetheless, FARA political donation information is valuable because it bypasses the painstaking name-matching process required when fusing, campaign finance records and lobbying records for individuals and organizations that represent domestic clients and causes. The FARA records allow users to easily and reliably determine when someone from a lobbying or public relations organization is making campaign donations to the same political offices that they are contacting on behalf of a foreign client. (This is a common practice that is highlighted in this data.)
PAYMENTS
These numbers tell you how much a foreign government, company or other entity is paying the firms or individuals representing it in the United States. The client field represents a payment on behalf of the client. (In rare cases, other entities foot the bill for services.)
DISBURSEMENTS
These are expenses that the individual or organization incurs while representing a foreign government or entity.
Documents in the Proposed Arms Sales Feed are press releases from The Defense Security Cooperation Agency records. Keep in mind, the sales mentioned in this feed are only proposed and may not happen.
This resource is particularly useful to reporters and informed citizens can discover at issues that are up for negotiation and reference FARA records to see what kind of influence may be a factor in these important decisions.
Clicking on a title will take you to a preview of the press release and a link to download the original document form The Defense Security Cooperation Agency.
The Defense Security Cooperation Agency describes the Foreign Military Sales program as:
The Foreign Military Sales (FMS) program is a form of security assistance authorized by the Arms Export Control Act (AECA) and a fundamental tool of U.S. foreign policy.
Under Section 3, of the AECA, the U.S. may sell defense articles and services to foreign countries and international organizations when the President formally finds that to do so will strengthen the security of the U.S. and promote world peace.
Under FMS the US Government and a foreign government enter into a government-to-government sales agreement. The international agreement is called a Letter of Offer and Acceptance (LOA).


---
layout: post
title: A new version of the Manual is ready for download!
date: '2009-03-23T12:39:00.001+01:00'
author: Luca Ferrari
tags:
- aglets
modified_time: '2009-03-23T12:42:30.119+01:00'
blogger_id: tag:blogger.com,1999:blog-1836481905487384887.post-2161114731799777916
blogger_orig_url: http://fluca1978.blogspot.com/2009/03/new-version-of-manual-is-ready-for.html
permalink: /:year/:month/:day/:title.html
---
~
After four years a new version of the Aglets User Manual is available for downloading at SourceForge.net.
Please note that we have always worked to the manual, improving and fixing the first version I wrote once I was in charge of the project itself, but before now no downloadable versions were officially available (even if the CVS repository allows public checkout).
Now, thanks to the efforts of some developers, the manual has been improved and is now available for users. Please refer to this last version of the manual.
Work on the manual has not yet finished, and we are continuously improving it.


Maze Generator
Generates a maze and maze animation using recursive depth-first search.
Building & Testing
Start and build React app
npm run start
npm run build
Testing
To build the custom maze module (outputs to /src/tests/):
npm run build-maze-browser
npm run build-maze-instance
Compile docs
npm run docs


Hello,
my name is
Robert
.
assignment
Projects
These are some things I worked on at work and personally.
{{ p.title }}
{{ p.preview_description }}
Tags:
{{ t }}
,
Copyright 2018
rbtLong.com
.
brush
Skills
My comfort level with different skills and techniques.
Search Skills
{{ s.name }}
- {{ s.comfort }}
golf_course
Activities
Other stuff I do and my escapades.
school
About
Some of my background.


abstract fun withSandboxGroup(sandboxGroup: Any): SerializationContext
Helper method to set the SandboxGroup


{% extends 'blogger/base.html' %} {% block page_header %}
{{ blog.content | safe}}
Are you sure you want to delete the blog?


Northern Caribbean University, Manchester Road, Mandeville, Manchester, Jamaica
CHIPS computer lab AKA headquaters.
Domino Tournament.
Robotics
Checkers/Chess
Girls Hackathon Team


Class 4: Uncountability
What Cannot Be Represented by Bits? (Uncountable Sets) Schedule Reminders: Problem Set 1 is due this Friday (4:19pm). See the schedule for updated office hours. Slides (PDF) Video Here is Cantor’s original proof (in German, but the math is universal, so somewhat understandable even without knowing German): Georg Cantor, Ueber eine elementare Frage der Mannigfaltigkeitslehre. Published in Jahresbericht der Deutschen Mathematiker-Vereinigung, Volume 1, 1891. (About this Scan) Its only a bit over 2 pages long, and its easy to see Cantor’s answer to the ``Is 0 a Natural Number?PS1 Posted
Problem Set 1: (Un)natural Numbers Problem Set 1 is available here: ps1.pdf (you will also need the ps1.zip file described in the PDF). It is due on Friday, 13 September at 4:19pm. In this assignment we’ll be working with constructive recursive definitions (mostly the definition of natural numbers discussed in lecture), and proofs by induction. Similarly to Problem Set 0, this assigned involves both pencil-and-paper problems (submitted as a PDF by editing the provided ps1.Class 3: Countable Sets
What Can Be Represented by Bits? Schedule Reminders: Problem Set 0 is due this Friday (4:19pm). See the schedule for updated office hours. Slides (PDF) Video Update (7 Sept): There is a correction on slide 10 to the way we defined addition for the Set-based Natural Numbers (thanks to Nijat Khanbabayev for pointing out the problem). Some of the material from today’s class (and what we will continue on Monday) is in the TCS Book, Chapter 2.Class 2: Defining Definitions
Schedule Reminders: Office hours start today! Full schedule (which will be updated) is posted here. The first office hours are tonight, 6:30-8pm, in Rice 442.
Is 0 a Natural Number?
The “Google dragon” image was drawn for this talk. You can find Sergey Brin’s resume here (note the high honors in Mathematics and (low) honors in Computer Science).
Office Hours Posted
Office hours have now been posted on the Course Schedule. These will be adjusted and likely some more office hours added over the next few weeks, but we wanted to have some posted now for help on Problem Set 0 as well the background material we are covering this week.
Course Pledge
To be in this class, students are expected to agree to the Course Pledge. The expectations there apply to everything connected with this class including all assignments, classes, and office hours. Before 2:59pm this Wednesday (Sept 4) you must read and agree to the contents of the Course Pledge, and submit this assignment (in collab) to acknowledge having done this. (It is not necessary to print and submit the pledge on paper or as a scanned PDF.PS0 Posted
Problem Set 0: Getting Started Hello students, Problem Set 0 is available here: ps0.pdf (you will also need the ps0.zip file described in the PDF). It is due on Friday, 6 September at 4:19pm. The goal of this assignment is to get you acquainted with the tools we will be using for future assignments this semester: LaTeX (and overleaf) and Jupyter notebooks (using Python). For this assignment you will be editing the ps0.Class 1: Introduction
Lecture 1: Course Introduction
Today we will be discussing course mechanics, course expectations, and the values of studying theory.
Course Registration Survey
Please complete the course registration survey by 4:19pm on Friday, August 30.
Syllabus
The course syllabus and pledge are now posted:
Syllabus (PDF)
Pledge


UKCloud Limited (“UKC”) and Virtual Infrastructure Group Limited (“VIG”) (together “the Companies”) – in Compulsory Liquidation
On 25 October 2022, the Companies were placed into Liquidation with the Official Receiver appointed as Liquidator and J Robinson and A M Hudson simultaneously appointed as Special Managers to manage the liquidation process on behalf of the Official Receiver.
Further information regarding the Liquidations can be found here: https://www.gov.uk/government/news/virtual-infrastructure-group-limited-and-ukcloud-limited-information-for-creditors-and-interested-parties
Contact details:
For any general queries relating to the Liquidations please email<EMAIL_ADDRESS>For customer related queries please email<EMAIL_ADDRESS>For supplier related queries please email<EMAIL_ADDRESS>How to create a site-to-site VPN connection using PowerShell
Overview
This guide shows you how to use PowerShell to create a site-to-site VPN connection from your Azure Stack Hub environment to public Azure.
Note
In public Azure - virtual network gateways can take up to 45 minutes to deploy, for more information see here.
Intended audience
To complete the steps in this guide, you must have appropriate access to subscriptions in both Azure Stack Hub and public Azure.
Prerequisites
Before you begin, ensure your PowerShell environment is set up as detailed in Configure the Azure Stack Hub user's PowerShell environment.
Declare variables
Enter details below to provide values for the variables in the scripts in this article:
| Variable name | Variable description | Input |
|---|---|---|
| $ArmEndpoint | The Azure Resource Manager endpoint for Azure Stack Hub | |
| $AzsResourceGroupName | Name of resource group to create in Azure Stack Hub | |
| $AzsVNetName | Name of virtual network to create in Azure Stack Hub | |
| $AzsVNetRange | Address space of virtual network to create in Azure Stack Hub in CIDR notation | |
| $AzsSubnetRange | Address space of virtual network subnet to create in Azure Stack Hub in CIDR notation | |
| $AzsGatewaySubnetRange | Address space of virtual network gateway subnet to create in Azure Stack Hub in CIDR notation | |
| $AzsPublicIpName | Name of public IP to create in Azure Stack Hub | |
| $AzsVirtualGatewayName | Name of virtual network gateway to create in Azure Stack Hub | |
| $AzsLocalGatewayName | Name of local network gateway to create in Azure Stack Hub | |
| $AzsGatewayConnectionName | Name of virtual network gateway connection to create in Azure Stack Hub | |
| $AzureLocation | Name of location to create resources within in public Azure | |
| $AzureResourceGroupName | Name of resource group to create in public Azure | |
| $AzureVNetName | Name of virtual network to create in public Azure | |
| $AzureVNetRange | Address space of virtual network to create in public Azure in CIDR notation | |
| $AzureSubnetRange | Address space of virtual network subnet to create in public Azure in CIDR notation | |
| $AzureGatewaySubnetRange | Address space of virtual network gateway subnet to create in public Azure in CIDR notation | |
| $AzurePublicIpName | Name of public IP to create in public Azure | |
| $AzureVirtualGatewayName | Name of virtual network gateway to create in public Azure | |
| $AzureLocalGatewayName | Name of local network gateway to create in public Azure | |
| $AzureGatewayConnectionName | Name of virtual network gateway connection to create in public Azure | |
| $SharedKey | Encryption key to use for VPN connection |
Create site-to-site VPN connection from Azure Stack Hub to public Azure
From your PowerShell window:
# Declare Variables
$AzsResourceGroupName = ""
$AzsVNetName = ""
$AzsVNetRange = ""
$AzsSubnetRange = ""
$AzsGatewaySubnetRange = ""
$AzsPublicIpName = ""
$AzsVirtualGatewayName = ""
$AzsLocalGatewayName = ""
$AzsGatewayConnectionName = ""
$AzureLocation = ""
$AzureResourceGroupName = ""
$AzureVNetName = ""
$AzureVNetRange = ""
$AzureSubnetRange = ""
$AzureGatewaySubnetRange = ""
$AzurePublicIpName = ""
$AzureVirtualGatewayName = ""
$AzureLocalGatewayName = ""
$AzureGatewayConnectionName = ""
$SharedKey = ""
# Azure Stack Hub
## Login
### Declare endpoint
$ArmEndpoint = ""
### Add environment
Add-AzEnvironment -Name "AzureStackUser" -ArmEndpoint $ArmEndpoint
### Connect to environment
$AzsContext = (Connect-AzAccount -EnvironmentName "AzureStackUser" -UseDeviceAuthentication).Context
### Retrieve Access token
$AzsAccessToken = ($AzsContext.TokenCache.ReadItems() | Where-Object -FilterScript { $_.TenantId -eq $AzsContext.Tenant.Id } | Sort-Object -Property ExpiresOn -Descending)[0].AccessToken
### Get location of Azure Stack Hub
$AzsLocation = (Get-AzLocation).Location
## Create resource group
Write-Output -InputObject "Creating resource group"
New-AzResourceGroup -Name $AzsResourceGroupName -Location $AzsLocation
## Create network
### Create subnet configuration
Write-Output -InputObject "Creating virtual network"
$AzsSubnetConfig = New-AzVirtualNetworkSubnetConfig -Name "Default" -AddressPrefix $AzsSubnetRange
$AzsGatewaySubnetConfig = New-AzVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix $AzsGatewaySubnetRange
### Create virtual network
$AzsVirtualNetwork = New-AzVirtualNetwork -ResourceGroupName $AzsResourceGroupName -Location $AzsLocation -Name $AzsVNetName -AddressPrefix $AzsVNetRange -Subnet $AzsSubnetConfig, $AzsGatewaySubnetConfig
### Retrieve gateway subnet config
$AzsGatewaySubnetConfig = Get-AzVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $AzsVirtualNetwork
## Create public IP address
Write-Output -InputObject "Creating public IP address"
$AzsPublicIp = New-AzPublicIpAddress -ResourceGroupName $AzsResourceGroupName -Location $AzsLocation -AllocationMethod "Dynamic" -Name $AzsPublicIpName
## Create virtual network gateway
Write-Output -InputObject "Creating virtual network gateway"
$AzsGatewayIpConfig = New-AzVirtualNetworkGatewayIpConfig -Name "GatewayIp" -Subnet $AzsGatewaySubnetConfig -PublicIpAddress $AzsPublicIp
$AzsVirtualGateway = New-AzVirtualNetworkGateway -ResourceGroupName $AzsResourceGroupName -Location $AzsLocation -Name $AzsVirtualGatewayName -IpConfigurations $AzsGatewayIpConfig -GatewayType "VPN" -VpnType "RouteBased" -GatewaySku "VpnGateway1"
## Create local network gateway
Write-Output -InputObject "Creating local network gateway"
$AzsLocalGateway = New-AzLocalNetworkGateway -ResourceGroupName $AzsResourceGroupName -Location $AzsLocation -Name $AzsLocalGatewayName -GatewayIpAddress "<IP_ADDRESS>" -AddressPrefix $AzureVNetRange
## Create IPsec Policy
$IpsecPolicy = New-AzIpsecPolicy -IkeEncryption "AES256" -IkeIntegrity "SHA256" -DhGroup "DHGroup14" -IpsecEncryption "AES256" -IpsecIntegrity "SHA256" -PfsGroup "PFS2048" -SALifeTimeSeconds 3600 -SADataSizeKilobytes 102400000
## Create virtual network gateway connection
Write-Output -InputObject "Creating virtual network gateway connection"
$AzsVirtualGatewayConnection = New-AzVirtualNetworkGatewayConnection -ResourceGroupName $AzsResourceGroupName -Location $AzsLocation -Name $AzsGatewayConnectionName -VirtualNetworkGateway1 $AzsVirtualGateway -LocalNetworkGateway2 $AzsLocalGateway -ConnectionType IPsec -IpsecPolicies $IpsecPolicy -SharedKey $SharedKey
## Retrieve public IP address of virtual network gateway
$AzsPublicIp = Get-AzPublicIpAddress -ResourceGroupName $AzsResourceGroupName -Name $AzsPublicIpName
# Azure
## Connect to environment
Connect-AzAccount -UseDeviceAuthentication
## Create resource group
Write-Output -InputObject "Creating resource group"
New-AzResourceGroup -Name $AzureResourceGroupName -Location $AzureLocation
## Create network
### Create subnet configurations
Write-Output -InputObject "Creating virtual network"
$AzureSubnetConfig = New-AzVirtualNetworkSubnetConfig -Name "Default" -AddressPrefix $AzureSubnetRange
$AzureGatewaySubnetConfig = New-AzVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix $AzureGatewaySubnetRange
### Create virtual network
$AzureVirtualNetwork = New-AzVirtualNetwork -ResourceGroupName $AzureResourceGroupName -Location $AzureLocation -Name $AzureVNetName -AddressPrefix $AzureVNetRange -Subnet $AzureSubnetConfig, $AzureGatewaySubnetConfig
### Retrieve gateway subnet config
$AzureGatewaySubnetConfig = Get-AzVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $AzureVirtualNetwork
## Create public IP address
Write-Output -InputObject "Creating public IP address"
$AzurePublicIp = New-AzPublicIpAddress -ResourceGroupName $AzureResourceGroupName -Location $AzureLocation -AllocationMethod "Dynamic" -Name $AzurePublicIpName
## Create virtual network gateway
Write-Output -InputObject "Creating virtual network gateway"
$AzureGatewayIpConfig = New-AzVirtualNetworkGatewayIpConfig -Name "GatewayIp" -Subnet $AzureGatewaySubnetConfig -PublicIpAddress $AzurePublicIp
$AzureVirtualGateway = New-AzVirtualNetworkGateway -ResourceGroupName $AzureResourceGroupName -Location $AzureLocation -Name $AzureVirtualGatewayName -IpConfigurations $AzureGatewayIpConfig -GatewayType "VPN" -VpnType "RouteBased" -GatewaySku "VpnGateway1"
## Create local network gateway
Write-Output -InputObject "Creating local network gateway"
$AzureLocalGateway = New-AzLocalNetworkGateway -ResourceGroupName $AzureResourceGroupName -Location $AzureLocation -Name $AzureLocalGatewayName -GatewayIpAddress $AzsPublicIp.IpAddress -AddressPrefix $AzsVNetRange
## Create virtual network gateway connection
Write-Output -InputObject "Creating virtual network gateway connection"
$AzureVirtualGatewayConnection = New-AzVirtualNetworkGatewayConnection -ResourceGroupName $AzureResourceGroupName -Location $AzureLocation -Name $AzureGatewayConnectionName -VirtualNetworkGateway1 $AzureVirtualGateway -LocalNetworkGateway2 $AzureLocalGateway -ConnectionType IPsec -IpsecPolicies $IpsecPolicy -SharedKey $SharedKey
## Retrieve public IP address of virtual network gateway
$AzurePublicIp = Get-AzPublicIpAddress -ResourceGroupName $AzureResourceGroupName -Name $AzurePublicIpName
# Azure Stack Hub
## Reconnect to environment
Connect-AzAccount -EnvironmentName "AzureStackUser" -UseDeviceAuthentication -AccessToken $AzsAccessToken -AccountId $AzsContext.Account.Id
## Set the public IP on the local network gateway
$AzsLocalGateway.GatewayIpAddress = $AzurePublicIp.IpAddress
## Update the local network gateway
Set-AzLocalNetworkGateway -LocalNetworkGateway $AzsLocalGateway
After a short amount of time, the connection between Azure Stack Hub and public Azure should change to Connected.
Feedback
If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to feedback@ukcloud.com.


Week no. 16
Interface and Application Programing :
- write an application that interfaces with an input &/or output device that you made,
comparing as many tool options as possible
Interface
For this assignment, I thought about using a board that I had already made and that is working well,
so I chose the hello button of week 4. For the interface part I thought about
using processing, because I had already used it a few years ago and so I can remember it.
Before start doing anything I need to:
1. Install processing:
2. Read some examples and tutorials.
After doing this i choose one tutorial to follow: http://jeknowledge.github.io/academy-articles/interface-led-com-arduino-e-processing
And after doing this example i tryed to adapt it an make it my own. So i started designing my interface.
So, the goal is when you push on the red button on the screen, the LED on the board ligths up.
Programing
For the programing part I'll try to do my code in arduino following the same tutorial example.
...
......
...


Technify
Upload an image to technify it! Make sure its a JPG, JPEG, or PNG!
Make sure to check out the
Technica
hackathon!
Choose an image


Sign an image
Estimated reading time: 7 minutesThese are the docs for DTR version 2.6.11
To select a different version, use the selector below.
Two key components of the Docker Trusted Registry are the Notary Server and the Notary Signer. These two containers provide the required components for using Docker Content Trust (DCT) out of the box. Docker Content Trust allows you to sign image tags, therefore giving consumers a way to verify the integrity of your image.
As part of DTR, both the Notary and the Registry servers are accessed through a front-end proxy, with both components sharing the UCP’s RBAC (Role-based Access Control) Engine. Therefore, you do not need additional Docker client configuration in order to use DCT.
DCT is integrated with the Docker CLI, and allows you to:
- Configure repositories
- Add signers, and
- Sign images using the
docker trust
command
Sign images that UCP can trust
UCP has a feature which will prevent untrusted
images from being
deployed on the cluster. To use the feature, you need to sign and push images to your DTR.
To tie the signed images back to UCP, you need to sign the
images with the private keys of the UCP users. From a UCP client bundle, use
key.pem
as your private key, and cert.pem
as your public key
on an x509
certificate.
To sign images in a way that UCP can trust, you need to:
- Download a client bundle for the user account you want to use for signing the images.
- Add the user’s private key to your machine’s trust store.
- Initialize trust metadata for the repository.
- Delegate signing for that repository to the UCP user.
- Sign the image.
The following example shows the nginx
image getting pulled from Docker Hub, tagged
as dtr.example.com/dev/nginx:1
, pushed to DTR, and signed in a way
that is trusted by UCP.
Import a UCP user’s private key
After downloading and extracting a UCP client bundle into your local
directory, you need to load the private key into the local Docker trust store
(~/.docker/trust)
. To illustrate the process, we will use jeff
as an example user.
$ docker trust key load --name jeff key.pem
Loading key from "key.pem"...
Enter passphrase for new jeff key with ID a453196:
Repeat passphrase for new jeff key with ID a453196:
Successfully imported key from key.pem
Initialize the trust metadata and add the user’s public certificate
Next,initiate trust metadata for a DTR repository. If you have not
already done so, navigate to the DTR web UI, and create a repository for
your image. This example uses the nginx
repository in the prod
namespace.
As part of initiating the repository, the public key of the UCP user needs to be added to the Notary server as a signer for the repository. You will be asked for a number of passphrases to protect the keys.Make a note of these passphrases, and see Managing Delegations in a Notary Server to learn more about managing keys.
$ docker trust signer add --key cert.pem jeff dtr.example.com/prod/nginx
Adding signer "jeff" to dtr.example.com/prod/nginx...
Initializing signed repository for dtr.example.com/prod/nginx...
Enter passphrase for root key with ID 4a72d81:
Enter passphrase for new repository key with ID e0d15a2:
Repeat passphrase for new repository key with ID e0d15a2:
Successfully initialized "dtr.example.com/prod/nginx"
Successfully added signer: jeff to dtr.example.com/prod/nginx
Inspect the trust metadata of the repository to make sure the user has been added correctly.
$ docker trust inspect --pretty dtr.example.com/prod/nginx
No signatures for dtr.example.com/prod/nginx
List of signers and their keys for dtr.example.com/prod/nginx
SIGNER KEYS
jeff 927f30366699
Administrative keys for dtr.example.com/prod/nginx
Repository Key: e0d15a24b741ab049470298734397afbea539400510cb30d3b996540b4a2506b
Root Key: b74854cb27cc25220ede4b08028967d1c6e297a759a6939dfef1ea72fbdd7b9a
Sign the image
Finally, user jeff
can sign an image tag. The following steps include downloading the image from Hub, tagging the image for Jeff’s DTR repository, pushing the image to Jeff’s DTR, as
well as signing the tag with Jeff’s keys.
$ docker pull nginx:latest
$ docker tag nginx:latest dtr.example.com/prod/nginx:1
$ docker trust sign dtr.example.com/prod/nginx:1
Signing and pushing trust data for local image dtr.example.com/prod/nginx:1, may overwrite remote trust data
The push refers to repository [dtr.example.com/prod/nginx]
6b5e2ed60418: Pushed
92c15149e23b: Pushed
0a07e81f5da3: Pushed
1: digest: sha256:5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 size: 948
Signing and pushing trust metadata
Enter passphrase for jeff key with ID 927f303:
Successfully signed dtr.example.com/prod/nginx:1
Inspect the trust metadata again to make sure the image tag has been signed successfully.
$ docker trust inspect --pretty dtr.example.com/prod/nginx:1
Signatures for dtr.example.com/prod/nginx:1
SIGNED TAG DIGEST SIGNERS
1 5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 jeff
List of signers and their keys for dtr.example.com/prod/nginx:1
SIGNER KEYS
jeff 927f30366699
Administrative keys for dtr.example.com/prod/nginx:1
Repository Key: e0d15a24b741ab049470298734397afbea539400510cb30d3b996540b4a2506b
Root Key: b74854cb27cc25220ede4b08028967d1c6e297a759a6939dfef1ea72fbdd7b9a
Alternatively, you can review the signed image from the DTR web UI.
Add delegations
You have the option to sign an image using multiple UCP users’ keys. For example, an image
needs to be signed by a member of the Security
team and a
member of the Developers
team. Let’s assume jeff
is a member of the Developers team.
In this case, we only need to add a member of the Security team.
To do so, first add the private key of the Security team member to the local Docker trust store.
$ docker trust key load --name ian key.pem
Loading key from "key.pem"...
Enter passphrase for new ian key with ID 5ac7d9a:
Repeat passphrase for new ian key with ID 5ac7d9a:
Successfully imported key from key.pem
Upload the user’s public key to the Notary Server and sign the image. You will be asked
for jeff
, the developer’s passphrase, as well as the ian
user’s passphrase to
sign the tag.
$ docker trust signer add --key cert.pem ian dtr.example.com/prod/nginx
Adding signer "ian" to dtr.example.com/prod/nginx...
Enter passphrase for repository key with ID e0d15a2:
Successfully added signer: ian to dtr.example.com/prod/nginx
$ docker trust sign dtr.example.com/prod/nginx:1
Signing and pushing trust metadata for dtr.example.com/prod/nginx:1
Existing signatures for tag 1 digest 5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 from:
jeff
Enter passphrase for jeff key with ID 927f303:
Enter passphrase for ian key with ID 5ac7d9a:
Successfully signed dtr.example.com/prod/nginx:1
Finally, check the tag again to make sure it includes two signers.
$ docker trust inspect --pretty dtr.example.com/prod/nginx:1
Signatures for dtr.example.com/prod/nginx:1
SIGNED TAG DIGEST SIGNERS
1 5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 jeff, ian
List of signers and their keys for dtr.example.com/prod/nginx:1
SIGNER KEYS
jeff 927f30366699
ian 5ac7d9af7222
Administrative keys for dtr.example.com/prod/nginx:1
Repository Key: e0d15a24b741ab049470298734397afbea539400510cb30d3b996540b4a2506b
Root Key: b74854cb27cc25220ede4b08028967d1c6e297a759a6939dfef1ea72fbdd7b9a
For more advanced use cases like this, see Delegations for content trust.
Delete trust data
If an administrator wants to delete a DTR repository that contains trust metadata, they will be prompted to delete the trust metadata first before removing the repository.
To delete trust metadata, you need to use the Notary CLI. For information on how to download and configure the Notary CLI see Configuring the Notary client
$ notary delete dtr.example.com/prod/nginx --remote
Deleting trust data for repository dtr.example.com/prod/nginx
Enter username: admin
Enter password:
Successfully deleted local and remote trust data for repository dtr.example.com/prod/nginx
If you don’t include the --remote
flag, Notary deletes local cached content
but will not delete data from the Notary server.


System files must have correct permissions to ensure that 1) various system utilities and applications can access them as needed, and 2) users or hackers cannot steal data or maliciously modify these files and make them behave unexpectedly.
/etc/passwd- contains backup user account information.
typing ls -l [filename] or stat [filename] will display the file's current permissions.
To change the file permission octal to 600, type sudo chmod 600 /etc/passwd-.
To change the owner of the file to root, type sudo chown 0 /etc/passwd-.
To change the file group to root, type sudo chgrp 0 /etc/passwd-.
That should do it!


This is a collection of blogs around some different topics from IT, Politics and Arts
The Blog is written in Angular, with a Python-Flask backend to manage the content


class: center, middle, inverse, title-slide # Testing pleiotropy in multiparental populations ### Frederick Boehm ### March 6, 2019 --- # Introduction - 10,000+ traits with RNA sequencing and mass spectrometry - Multiparental populations offer high-resolution QTL mapping - New analysis tools, such as a pleiotropy test for multiparental populations, are needed ??? - Together, high-dimensional traits and multiparental populations can inform complex trait genetics --- # Pleiotropy & *Agouti* gene  .small[https://upload.wikimedia.org/wikipedia/commons/4/4d/Agouti_Mice.jpg] ??? - Agouti protein antagonizes `\(\alpha\)`-melanocyte-stimulating hormone - prevents melanocyte production of melanin - disrupts melanocortin receptor signaling in the brain - Agouti viable yellow ($A^{vy}$) mice --- # Jiang and Zeng (1995) test - Two-parent crosses - Applies to two traits that co-map - `\(H_0\)`: Pleiotropy - `\(H_A\)`: Two separate QTL --- # Jiang and Zeng (1995) test - Perform a two-dimensional QTL scan - `\(vec(Y) = Xvec(B) + vec(E)\)` - Calculate likelihood ratio test statistic ??? - Y: 2 traits - X: genotype probs for 2 markers - B: founder allele effects - E: random errors - vec: stack columns - 2d scan involves all ordered pairs of markers --- # Jiang and Zeng (1995) test ![](testing-pleiotropy_files/figure-html/encircle-1.png) ??? - Compare with a t-test where you test a point hypothesis as a null and the alternative is the real number line --- # Diversity Outbred Mice  ??? - Multiparental population arising from 8 inbred lines - Each DO mouse is genetically unique - 3 wild-derived lines - 3 subspecies: *M. m. domesticus*, *M. m. musculus*, and *M. m. castaneus* --- # Multiparental populations  ??? - start with 8 inbred founder lines - inbred lines are color-coded - each subject represented by one homologous chromosome pair - over successive generations of outbreeding, subjects have smaller and smaller contiguous regions from a single inbred line --- # Challenges in multiparental populations - Complex patterns of relatedness - Multiple founder lines - Determining statistical significance --- # Challenges in multiparental populations - Complex patterns of relatedness .soln[Multivariate random effects] - Multiple founder lines .soln[Fixed effect for each founder allele] - Determining statistical significance .soln[Parametric bootstrap] --- # Test procedure - Model: `$$vec(Y) = Xvec(B) + vec(G) + vec(E)$$` - Calculate likelihoods ??? - `\(G\)`: Polygenic random effects - `\(E\)`: Random errors --- # Test procedure - Test statistic: `$$- \log \frac{\max (\text{likelihood under pleiotropy})}{\max (\text{likelihood for separate QTL})}$$` - Parametric bootstrap to get p-value --- # Application - Logan, et al. (2013) and Recla, et al. (2014) studied 261 Diversity Outbred mice - Two traits map to Chr 8: - "hot plate latency" (57 cM) - "percent time in light" (55 cM) ??? Do they share a single QTL? --- # QTL scan results  --- # QTL scan results  --- # Allele effects plots  ??? - Similar allele effects are consistent with pleiotropy --- # Profile LOD `$$\text{profile LOD}_{\text{trait 1}}(\lambda_1) = max_{\lambda_2}LOD(\lambda_1, \lambda_2)$$`  --- # Profile LOD plot ![](figs/profile.svg) --- # Test results - p = 0.11 (1000 bootstrap samples) --- # Conclusions - Weak evidence for two separate QTL - One QTL affects "distance traveled in light" - Second QTL affects "hot plate latency" --- class: center, middle, inverse, title-slide # Mediation analysis and pleiotropy testing --- # Mediation analysis - Is one molecule an intermediate in a causal pathway? --- # Mediation analysis example - QTL near Dhtkd1 gene affects Dhtkd1 RNA levels and DHTKD1 protein levels - Is Dhtkd1 RNA an intermediate between QTL and DHTKD1 protein levels? ![](figs/central_dogma-Dhtkd1.svg) --- # Mediation analysis methods - LOD score with and without conditioning on candidate intermediate - LOD difference - LOD difference proportion --- # Dissecting an eQTL hotspot - Keller, et al. (2018) identified 147 nonlocal traits that map to Chr 2 (163.5 Mb to 167.5 Mb) - *Hnf4a* expression levels mediate 88 of 147 traits - Do other local genes act as intermediates? ??? - 378 DO mice --- # Dissecting an eQTL hotspot - 13 local gene expression traits as candidate mediators - 147 nonlocal gene expression traits - Pair one local trait with one nonlocal trait --- # Dissecting an eQTL hotspot  --- # Dissecting an eQTL hotspot  --- # Dissecting an eQTL hotspot ![](figs/12local-facet_grid-no-strip-3-by-4.svg) --- # Dissecting an eQTL hotspot  --- # Conclusions - Pleiotropy test & mediation analysis ask distinct questions - Both are useful when dissecting eQTL hotspots ??? - Pleiotropy test informs about the number of QTL in a hotspot, even when there is no clear mediator --- class: center, middle, inverse, title-slide # qtl2pleio R package development --- # Design elements - Written mostly in R - Some calculations in C++, via Rcpp package - C++ Eigen library and RcppEigen for matrix algebra - User interacts only with R functions --- # Design elements - Tutorial vignettes demonstrate functionality - Unit tests included via `testthat` R package - Documentation with `roxygen2` R package - Package website with `pkgdown` R package --- # R packages book - Hadley Wickham's "R packages" book as a guide  --- # Open-source R package - Hosted on github - Install via `devtools` R package - `git` commits publicly visible - Travis CI for testing after every commit --- # Binder integration - Enhances reproducibility - Uses Docker images - Downloads R packages for a specified date (or `git` commit on Github) --- # Binder integration: 2 new files - install.R - contains code to install R packages - runtime.txt - contains one line of text to indicate date for CRAN packages --- # Contact information -<EMAIL_ADDRESS>- https://fboehm.us/ - qtl2pleio R package: [https://github.com/fboehm/qtl2pleio](https://github.com/fboehm/qtl2pleio) - Biorxiv pre-print: [http://bit.ly/boehm-biorxiv](http://bit.ly/boehm-biorxiv) --- # References Jiang, C. and Z. Zeng (1995). "Multiple trait analysis of genetic mapping for quantitative trait loci." In: _Genetics_ 140.3, pp. 1111-1127. Keller, M. P, D. M. Gatti, et al. (2018). "Genetic Drivers of Pancreatic Islet Function". In: _Genetics_, pp. genetics-300864. Logan, R. W, R. F. Robledo, et al. (2013). "High-precision genetic mapping of behavioral traits in the diversity outbred mouse population". In: _Genes, Brain and Behavior_ 12.4, pp. 424-437. --- # References Recla, J. M, R. F. Robledo, et al. (2014). "Precise genetic mapping and integrative bioinformatics in Diversity Outbred mice reveals Hydin as a novel pain gene". In: _Mammalian genome_ 25.5-6, pp. 211-222.


Robochef: Sony cooks up new AI unit for food revolution
The new research arm, Sony AI, will operate in Japan, Europe, and the US and also focus on the traditional areas of gaming, imaging and sensor equipment, as well as 'gastronomy'
by Agence France-PresseSubscribe
Email Address
Newsletters
- Glenda Gloria's Take this Tuesday
- Huddle by Miriam Grace Go
- The Newsbreak Agenda by Chay Hofileña
- Sometimes, all you need is video by Lilibeth Frondoso


Green Light promotes preventive health care by univeiling a series of programmes that reach out to the community.


{% extends 'gevir/base.html' %} {% load staticfiles %} {% block title_block %} GeVIR {% endblock %} {% block body_block %}
GeVIR metrics were generated using gnomAD data. We thank gnomAD and the groups that provided exome and genome variant data to this resource. A full list of contributing groups can be found here.
{% endblock %}


Welcome to the Sticky Note Web App
Built Using only HTML5, CSS3, Javascript & jQuery
Absolutely, NO DATABASES INVOLVED, refresh your site and see if the content still stays there??


I live to create and bring something to life. For most of my childhood and adolescence, my creative pursuits have led me to drawing on the walls of my house (then eventually on paper), performing onstage (my greatest feat to date, in this regard, was performing in a musical as the lead character for almost six years) and to writing songs and making music.
However, there was still something missing in my pursuit. As someone who has always been inclined to the arts, I longed to do something creative in the scientific/technical fields.
It was pretty much love at first sight—web design/UX design is a niche where my creative and structured mind is able to flourish. My drive to learn has led me to taking self-paced courses online and, when not working on other people's projects, I work on my own passion projects (like this site)!
The pursuit of creativity in the sciences has led me to an interesting place—I am currently in my third year as a Combined Major in Science (Computer Science, Microbiology+Immunology, and Earth Science) student at the University of British Columbia. Everyday, I'm constantly learning that even microscopic, intracellular processes are quite unique and inventive—a conversation topic for another day!
Although my path of creative pursuit has taken different turns, there has been one common theme: there is inspiration in every corner.
Through every encounter, I am inspired to create innovative solutions to the growing needs of the world.
Got an inspiring idea to help make the world a better place through sciences/tech/arts (or all three)? Let's talk!


|
CUGL
2.0
|
#include <cugl.h>
Public Member Functions | |
| Revolute (int numSteps, GLfloat profile[][2]) | |
| ~Revolute () | |
| void | setSlices (int slices) |
| void | setEccentricity (double ecc) |
| void | process () |
| void | draw (bool showNormals=false) |
Private Member Functions | |
| Revolute (const Revolute &) | |
| const Revolute & | operator= (const Revolute &) |
Private Attributes | |
| int | numSteps |
| int | numSlices |
| double | eccentricity |
| bool | ready |
| GLfloatArray * | coor |
| GLfloat * | texCoor |
| Point * | points |
| Vector * | normals |
| Vector * | faceNormals |
An instance is a surface of revolution represented by its profile.
The shape of the surface is determined by a 'profile'.
The profile is defined by an array. Each component of the array is a pair (h,r) in which h is measured along the axis of revolution and r is the distance from the axis. (If the axis is assumed to be vertical, then h suggests 'height' and r suggests 'radius'.) The surface is generated by rotating the profile about the Z-axis.
The function Revolute::draw()
generates vertex coordinates, normals, and texture coordinates for the surface.
It is up to the caller to set the OpenGL state for rendering: this includes setting material properties and defining rules for polygon shading, or binding an appropriate texture.
The normals generated by Revolute::process()
are obtained by averaging the normals of the polygons that meet at each vertex. Consequently, if GL_SMOOTH
shading is used and sufficient points and slices are specified, the object should look fairly smooth.
| cugl::Revolute::Revolute | ( | int | numSteps, |
| GLfloat | profile[][2] | ||
| ) |
Construct a surface of revolution.
| numSteps | is the number of coordinates in the profile. |
| profile | is the address of a 2D array giving the points of the profile. |
| cugl::Revolute::~Revolute | ( | ) |
Delete a surface of revolution.
|
private |
The copy constructor is private and not implemented: instances cannot be copied implicitly.
| void cugl::Revolute::draw | ( | bool | showNormals = false | ) |
Draw the surface of revolution.
| showNormals | determines whether surface normals will be drawn. Note that surface normals are computed for lighting purposes anyway: showNormals is provided mainly as a debugging aid and should not normally be needed. |
The assignment operator is private and not implemented: instances cannot be assigned.
| void cugl::Revolute::process | ( | ) |
Compute vertexes, normals, and texture coordinates for the surface of revolution. This function must be called before calling Revolute::draw()
.
| void cugl::Revolute::setEccentricity | ( | double | ecc | ) |
Set the eccentricity of the surface. By default, the eccentricity is 0, giving a surface with a circular cross-section. Setting the eccentricity to a non-zero value gives a surface with an elliptical cross-section. As the eccentricity approaches 1, the major axis of the ellipse increases without limit as the cross-section approaches a parabola.
| ecc | must be greater than or equal to zero and less than 1. |
Revolute::process()
again before calling Revolute::draw()
. | void cugl::Revolute::setSlices | ( | int | slices | ) |
Set the number of "slices". The value determines the visual quality of the object. The number of slices should be an odd number greater than 2. If it is not, Revolute::process() will change it. By default, the number of slices is 45, corresponding to 8 degrees per slice.
Revolute::process()
again before calling Revolute::draw()
.


I am from Monterrey, Mexico and currently I'm about to beign my 7th semester of Computer Science at Instituto Tecnológico de Monterrey.
I am a very dedicated and kind of a perfectionist person that considers that any job that needs to be done requires dedication and quality. Both of these aspects describe me perfectly and help me comply my objective of becoming one of the best in my profession. Some other of my objectives are:
Instituto Tecnológico de Estudios Superiores de Monterrey (ITESM)
B.S. Computer Science and Technology / ITC (Ingeniero en Tecnologías Computacionales)
92/100


The first project of the SHAPES & PATTERNS chapter
contains a pattern of lines isolated within a circular perimeter. This project demonstrates the scaling of objects by using map() functions.
This project also utilises tau (also known as two PI) which is used to equally divide the spacing between each line segments within the circumference.
How the user is able to change the stroke weight and length via their mouse cursor is due the map() functions. The radius is mapped for the width (x-axis) of the canvas
while the weight is mapped for the height (y-axis). An alpha value is also added in the background() to add the "motion blur" effect.
This interactive project shows objects individually following the user's mouse cursor around
the canvas. This also demonstrates the use of P5.js trigonometry function, atan2().
The inverse tan calculation is used to create a function that allows the individual squares to follow the cursor
(i.e. let rotateVal = atan2(mouseY - transValY, mouseX - transValX); rotate(rotateVal);).
Following the theme of "interpolation" from the previous chapter, the projects in this chapter also integrates the lerpColor() function to further add dynamic aesthetics.
Continuing on from the previous project, this iteration includes ellipses with smaller ellipses in each of them to further display the atan2() function.
Calculating the scale value is also demonstrated within this demo.
This project is essentially a combination of
PLAYING WITH PATTERNS and TRIGONOMETRY
to create an interesting interactive pattern.
A pattern of pseudo-randomised objects demonstrating ordered-random. This includes a bespoke animation loop that displays a "pulsating" colour effect.
To develop this, a function must be created to choose either 0 and 1 only
(i.e. let randomNum = round(random(0, 1))). This is then used in an if() and else() statements. For instance, if the chosen number
is 0, draw lines going to "this" direction, else draw lines to "that" direction. To prevent the canvas from looping continuously without using noLoop(), the P5.js
function randomSeed() is used. The value in the parameters of this function can be played around with until the desired pattern is displayed. To create the pulsating effect,
another if() and else() statements as well as booleans are used to determine the timing and speed of the animation.
Identical in terms of functionality to the previous project, however, the objects are different and user interaction is considered.
The lines are replaced with rectangles and pulsating ellipses, which are inspired by a combination of postmodern aesthetics and the
movement of a subwoofer speaker. The interaction is done by the user's mouse cursor.
This is done by using the scaling function demonstrated in the TRIGONOMETRY project.
The function is then implemented within the ellipses' x and y parameters to create the "waving" canvas effect.
The last project of this chapter demonstrates the basic capabilities of pixel manipulation from an image.
By calling the specific RGBA value of the image, a new value may then be implemented to change the particular colour (i.e. changing white to deep pink).
Instead of looping through the same image within the grid, the imageArray[] will allow that one image to be split into individual images.
In conjunction to this, the colourArray[] allow us to change the colouring of each individual image within the grid.
Instead of using a 2D array, the imageNumber variable represents the first image within the grid.
This is then incremented within the grid loop to count through all of the images (i.e. imageNumber++).
This will allow the function of imageArray[i] and colourArray[i] to work within the pixel array.


Unaffected by :unresolved because I don't have a dash in my name and am thus not treated as a custom element.


First Name:
Last Name:
Date of Birth:
Languages:
C++
Java
C#
Gender
Male
Female
ID
Name
Roll #
12
Sher Ali
BCSF15M012
12
Sher Ali
BCSF15M012
12
Sher Ali
BCSF15M012
12
Sher Ali
BCSF15M012
12
Sher Ali
BCSF15M012
Google
W3School
Amazon


{%- include icons/codefresh-dark.svg class="align-middle" width="180" height="auto" -%} DOCUMENTATION
Codefresh for Docker-native CI/CD and GitOps with Argo.
Instantly build, test, and deploy Docker images.
Realize your true DevOps potential with the premier enterprise Argo software delivery solution.


Example: Enter 102.35MHz as 10235; 99.5MHz as 9950
New Frequency (between 88.0 and 108.0):
TX Power (between 88 and 115):
Current TX Frequency: %CURRENTFREQUENCY% MHz Current TX Power: %CURRENTTXPOWER% dBuV
Make. Better. Perpetually. For Robin.


--- layout: post title: January Meeting Slides alias: /january-meeting-slides published: true ---
Thanks to everyone for coming on Tuesday, it made for a great start to the year. Hopefully we'll see many more excellent presentations and some new faces as well as we convert Suffolk to the Ruby way.
The slides from the talks are available; Kerry Buckey's talk on RSpec[[posterous-content:r1RWv4k6AMuRknVNi94e]]


|
Higher
(Tremonti/Stapp) |
|
When
dreaming I'm guided through another world
Time and time again At sunrise I fight to stay asleep 'Cause I don't want to leave the comfort of this place 'Cause there's a hunger, a longing to escape From the life I live when I'm awake So let's go there Let's make our escape Come on, let's go there Let's ask can we stay? Can you take me higher? To the place where blind men see Can you take me higher? To the place with golden streets Although I would like our world to change It helps me to appreciate Those nights and those dreams But, my friend, I'd sacrifice all those nights If I could make the Earth and my dreams the same The only difference is To let love replace all our hate So let's go there Let's make our escape Come on, let's go there Let's ask can we stay? Up high I feel like I'm alive for the very first time Up high I'm strong enough to take these dreams And make them mine |
|
|


News Feed
Verify
Log Out
Martin Shkreli sentenced to 7 years in prison for fraud
NCAA Bracketology 2018: Real-Time Seed and Region Projections for All 68 Teams
How to build muscle as age tears it down
Complaining about the change to Daylight Saving Time? You're in the minority.
No Go For Idaho: State Will Have To Rethink Its 'Freedom' Health Policies
Florida Governor Signs Package Of New Gun Restrictions
""


In Solace, we wanted to give user maximum flexibility with style customization. That's why we prepared Solace css to utilize Devlom Configurator variables. There's one key file where all the magic happens:
solace/template/colours.html.twig
Take a look at html,body tag:
html, body {
color: {{ current_preset.main_text_color }};
background-color: {{ current_preset.main_background }};
}
As you can see both text color and background-color will utilize main_text_color and main_background preset variables. In connection with Twig, you can create very sophisticated and automated layouts.
Twig is default templating engine used in phpBB 3.1. To learn more about Twig, please take a look at documentation.
That's it. You may also Purge the cache and you're done.


Pedicle Screw Hybrid Instrumentation Odds Ratio Odds Ratio Study or Subgroup Events Total Events Total Weight MH, Fixed, 95% Year M-H, Fixed, 95%
Kuklo 2007, 7 295 25 423 40,4% 0.39 (0,17, 0.94] 2007 Ss Karatoprak 2008 4 22 4 26 1.8% 1,190.07, 20.21] 2008 Yang 2012 1 2 1 21 1.9% — 1.00 (0.06, 17.12) 2012 Hwang 2012 3 8 9 71 154% 0.39 [0.10, 1.54] 2012 TT Yilmaz 2012 1 36 2 38 3.8% 0.49 (0.04, 5.64) 2012 Samdani 2013 19 540 “ 87 36.8% 0.25 (0.12, 0.85) 2013 => Total (85% Cl) 969 663 100.0% 0.37 (0.22, 0.62] > Total events 32 49
‘ty: Chi? 5 0.83; = 09 a Heterogeneity: Chi? 2.11, df= 5 (P 0.83); = 0% F001 an 1 to To0o
Test for overail effect: Z
.80 (P = 6.0001)
Favours [Pedicle Screw] Favours [Hybrid Iristrumentation


Let's go through both examples. First we'll define an array that we want to iterate through, for example:
var array = ["1","2","3","4","5"]
A while
statement for this array would look like this:
var counter = 0;
while (counter < array.length){
console.log(array[counter]);
counter ++;
}
Going through the code, we first define a variable called counter and set it equal to 0. The text in the parentheses tell the loop how many time to execute. In this case we want the loop to execute the length of the array - 1. So here the length of the array is 5, and the loop will actually run 5 times since we are starting the variable at 0. So it will run when counter is 0, 1, 2, 3, and 4 in order to go through each element of the array (remember the index of the array begins at 0, not 1). The code in the curly brackets then is the code that should be executed. So we are telling the computer, for every loop, print out the element of the array to the console, and add 1 to the counter. If we don't include the last part, the code will just print out the first element of the array to infinity (or until it crashes).
To illustrate the difference between this and how Ruby executes loops, let's look at the same example in Ruby. We have our array:
array = ["1","2","3","4","5"]
Now, instead of having to write all that code like in JavaScript, we can use an easy built-in method like this:
array.each {|element| puts element}
With Ruby you don't have to explicitly tell the loop how long to execute for, it will automatically go through every element in the array given. So as mentioned above, while similar, the languages have different capabilities and built-in methods, as well as slightly different syntax.


Issue 6 - Episode 2
←
Prev
→
Next
∞
Overview
Help
angel is a centerfold
Stacy Parker Le Melle
asian in a redneck town
Diana Keren Lee
every time they ask if we'll rebuild
Haley Sledge
from
the immanent field
Michael Martin Shea
from
the woodlands
Cate Peebles
making love with a boston fern
Lauren Aimee Curtis
system of safety
Nora Toomey


http://www.speakers-podium.com/susangranger.
Susan Granger's review of "200 CIGARETTES" (Paramount Pictures)
This MTV-production revolves around frantic, fateful New Year's Eve party in 1981 in a downtown loft in the funky East Village, where the lives of various young couples and friends intersect. Anyone who has ever spent a dismal New Year's Eve with strangers - virtual or otherwise - can relate to their depressing and desperate angst. Risa Bramon Garcia, a highly respected casting director, makes her directorial debut so, predictably, despite the modest $6.5 million budget, there's a star-studded cast, like Christina Ricci and Gaby Hoffman as wannabe groupies from suburban Ronkonkoma, Long Island, lighting up with Paul Rudd and Courtney Love, two platonic friends who agree, if all else fails, to have sex with each other. Jay Mohr, Casey Affleck, and Brian McCardie cruise the crowd as Ben Affleck plays bartender. Goldie Hawn's daughter, giggly Kate Hudson, makes her feature film debut as an awkward Upper West Side princess, prone to pratfalls, but, nevertheless, holding her own with Martha Plimpton, as the sad-sack hostess, Dave Chappelle as a slick disco taxi-driver, and Janeane Garofalo in a cameo. Ms. Garcia describes the filming as "a revolving door of actors, coming in and doing their bit and leaving" - and it looks it. Despite the fact that an appropriate early '80s song underlines each scene, there's not much to Shana Larsen's unstructured script and dreadful dialogue, particularly when you realize that AIDS will bring this kind of promiscuity to an end very soon. So, as a result, all these actors have very little substance to puff on. Or, as Paul Rudd concludes, "We use cigarettes as a shield against relating to each other." On the Granger Movie Gauge of 1 to 10, "200 Cigarettes" is a vapid, clumsy 3, making you long for the morning after to come quickly.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


JUNIOR A film review by Eric Grossman Copyright 1994 LOS ANGELES INDEPENDENT
What! Arnold Schwarzenegger gets pregnant? A high-concept movie is typically defined as a film that has a premise which can be described in twenty-five words or less. As with his previous outings with director Ivan Reitman, TWINS (what, Danny Devito and Schwarzenegger are twins) and KINDERGARTEN COP (what, Schwarzenegger becomes a kindergarten teacher), JUNIOR pushes the idea of high-concept to the limit. However, despite it's lack of story and it's other assorted flaws, Schwarzenegger and company have managed to create an entertaining movie.
So how does Arnold becomes pregnant? With a little bit of science-fiction that has more science then one would expect, Schwarzenegger plays Dr. Alex Hesse, a precise, European scientist who along with his colleague, Dr, Arbogast (Danny Devito), is tying to develop a pregnancy drug called Expectane. Expectane eliminates the problem of becoming pregnant and will yield millions for Arbogast and Hesse. Trouble begins when bad guy, research administrator Noah Banes (Frank Langella) sabotages the Expectane project so he can finance and seduce Dr. Diana Reddin, (Emma Thompson) a cryogenic researcher. Arbogast convinces Hesse to take a chance and experiment on himself. The embryo is implanted and with a few female hormones and the Expectane, Arnold quickly finds he has a baby in the oven. Soon he is experiencing all of the ups and downs of pregnancy and this is where most of JUNIOR's humor emanates. We get to see Arnold with morning sickness, Arnold with cramps, Arnold becoming more emotional (he even weeps at sappy commercials) and most of all, Arnold with a big, big bulge in his normally lean torso.
Schwarzenegger makes two types of films. The first are the movies such as TERMINATOR and PREDATOR where he exhibits his primary persona, extreme masculinity. The second are the Reitman comedies, where he spoofs his primary persona by doing things that counterpoint his "commando" mystique. Schwarzenegger has the "A" version and the "B" versions down to a science and as long as he does not try to mix them (such as THE LAST ACTION HERO) he makes very successful movies. However, how many more high-concept one-liners can Reitman and writers such as JUNIOR's scriptors, Kevin Wade and Chris Conrad, come up with? Actually, I'm afraid to ask.
What really helps give JUNIOR some weight is it's supporting cast. Emma Thompson, who has proven herself adept at both comedy and drama, is very likable and funny as the socially limited, Dr. Reddin. It was interesting to watch an actress of her wide range play against the more limited mega-movie star. They hold their own with each other and there is actually some chemistry. Added to Schwarzenegger's already established chemistry with the uncouth but affable Devito and you find yourself with the ingredients that make JUNIOR more than just a one line joke. It's just too bad that Frank Langella (who played the wonderfully wicked Chief Of Staff in Reitman's DAVE) did not have much of a opportunity to stretch his wings in this film.
Schwarzenegger surrounds himself with the best filmmakers he can find. Reitman is a top comedy director (ANIMAL HOUSE, GHOSTBUSTERS) and he does his usual solid job with this film. Cinematographer Adam Greenberg who shot the monstrous TERMINATOR 2 and production designer Stephen Lineweaver are conscientious in their use of color and light in accordance with Schwarzenegger's arc from sterile scientist to pregnant father. The film drags in the middle but I think this had more to do with the screenplay than with Sheldon Kahn's and Wendy Greene Bricmont's editing. Finally, James Newton Howard's effective score pulls all the right heart-strings.
Although it's a lightweight film, JUNIOR actually deals with some controversial issues. I would not be surprised if I hear it referenced in gender debates or abortion arguments. However, all of this is without design. JUNIOR is an innocuous movie with some flaws, but it certainly was funny to watch Schwarzenegger say, "I want to have my baby."
.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews