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
KomodoWorld20-Jul-18 06:51 PM
I agree that Komodo need to be explained better, there are plans for total revamp of this
polycryptoblog20-Jul-18 06:52 PM
They haven't committed to anything. No one is throwing their established system away for blockchain tech yet.
KomodoWorld20-Jul-18 06:52 PM
vested or not, either it works or not. They can't change that. Once we have proper migration tools and CC proof of concept, we'll start a campaign to move erc20 to Kmd
meatspoon20-Jul-18 06:53 PM
The EEA is kinda committed. Corporations have employees on their payroll working with ETH developers. They have sunk money into it, hedge funds will be buying it soon, wallstreet already has its tentacles wrapping around ETH. ETH is it for a while, man.
The big money will not fail. ETH ETF's will come out in a year or two. Game developers will use ETH for unique item drops. Everyone is starting to look hard at ETH or they are paying people to start implimenting integration
polycryptoblog20-Jul-18 06:54 PM
A chain that can't support the load of one app is going to be used by everyone....
meatspoon20-Jul-18 06:54 PM
And, not to beat a dead horse, but big corporations wont sign contracts with people named JL777 or R2D2
KomodoWorld20-Jul-18 06:54 PM
for the simply making money it could be true, untill it last. Don't let you be fooled that most of what this space offers NOW is going to survive in the LONG TERM
polycryptoblog20-Jul-18 06:55 PM
That's why there are independent businesses that will make those contracts for tech integration
meatspoon20-Jul-18 06:55 PM
you couldnt get a CEO of a respected company to ever partner or use a product made by an anonymous person who hasnt stepped back/down like Satoshi
c2k20-Jul-18 06:55 PM
MYSPACE , AOL, etc were first to mkt too...and corporations committed to them em masse. but better services came along and now AOL MYSPACE etc are gone.
KomodoWorld20-Jul-18 06:56 PM
as polycryptoblog said there are KMD ecosystem companies making those partnership(edited)
meatspoon20-Jul-18 06:56 PM
which ones? Any the average person has heard of?
Go read the EEA list of affiliates. Its the frigging who's who of fortune 500 companies
as money continues to pile into ETH the dev's are going to work themselves to death finding ways to scale. They have so many fortunes to make, they will scale that bitch
polycryptoblog20-Jul-18 06:59 PM
As evident by all those "successful" eth projects
meatspoon20-Jul-18 06:59 PM
is there a successful KMD project?
polycryptoblog20-Jul-18 07:00 PM
Dpow
Paid over a million out so far
meatspoon20-Jul-18 07:00 PM
Because there are successful ETH projects
yorklab20-Jul-18 07:01 PM
@meatspoon much of what you said has been echoed before and I think the Komodo team now realizes this so changes are on the way; unfortunately, it will take some time. I think we'll see many improvements/changes between now and end of year.
2
1
Meyse20-Jul-18 07:01 PM
the success of komodo isnt dependent on big corporations btw
the NEW businesses that arise from the decentralized movement will make it a succes
meatspoon20-Jul-18 07:03 PM
Not sure what age demographic yall are from, but I am old enough to remember playing text based computer games on black and white monitors. The first to market means a lot. When computers first came on the scene, the first movers dominated for a long time. Same with electronics, internet, anything tech related. Shit, even space flight. ETH is it, gentlemen, for quite some time.
Maybe, Meyse. I dunno. But while those new businesses are promising little green shoots coming out of the ground, next to them is a sapling named ETH
polycryptoblog20-Jul-18 07:05 PM
Eth has no scalability, recursive contracts are retarded. And rely entirely on the premise that a coder will not make a mistake because there is no way to rectify it. Take Gavin wood for instance , a simple mistake locked up 100mil+ usd of eth up
KomodoWorld20-Jul-18 07:06 PM
I see Ethereum as Komodo testnet
Meyse20-Jul-18 07:06 PM
we are early days, eth will run into a wall sooner or later
KomodoWorld20-Jul-18 07:06 PM
for building Dapps, Komodo will be at least an order of magnitude better and more secure. The underlying architecture is completely different.
polycryptoblog20-Jul-18 07:07 PM
Casper, sharding 3yrs and still nothing
KomodoWorld20-Jul-18 07:07 PM
more erc20 = more migration to Komodo
wait when Augur is ported on Kmd, they're already complaining about gas
[TPUX] Djith Wattignies20-Jul-18 07:07 PM
I remember putting a music casette into a player and run start commands on commodore 64.. then the data would be read from the tape and ...load...
yorklab20-Jul-18 07:08 PM
Not sure what age demographic yall are from, but I am old enough to remember playing text based computer games on black and white monitors.
My first introduction was punch cards in college.(edited)
meatspoon20-Jul-18 07:08 PM
@polycryptoblog But things change and are improved. Protocols are fine tuned, yes? The haters pooped all over BTC just 7 months ago for expensive tx costs, the ecosystem adjusted to it. ETH is going to sort out its scalability, one way or another.
jl777c20-Jul-18 07:09 PM
BTC wont go away neither will ETH, but why the thinking that they have to be dead? the spread of grassfields doesnt make all the trees go extinct
crypto is very diverse and there will be millions of blockchains
meatspoon20-Jul-18 07:09 PM
@Meyse Yes, ETH will run into a wall, sooner or later. But its miles down the road from all of the alt coin laggards. Miles. And every coin will hit a wall sooner or later, many coins will hit multiple walls. ETH just has such a huge head start, good marketing, good PR, tons of high priced talent, huge community, etc
[TPUX] Djith Wattignies20-Jul-18 07:10 PM
And the switch from 512k floppy disks to 2Mb disks was amaaazzingg..
jl777c20-Jul-18 07:10 PM
MSFT has thrown countless dollars to create Win10, vs. unix which is developed with much smaller budget. yet both are still here
open source projects are not commercial enterprises
throwing money at development only gets you so far
[TPUX] Djith Wattignies20-Jul-18 07:11 PM
"Yo dude, this game is on 4 floppydisks mate.. "
jl777c20-Jul-18 07:11 PM
the reason KMD will survive and thrive long term is that people dont like to pay fees if they dont have to
meatspoon20-Jul-18 07:11 PM
I remember Darklands was on like 12 discs
jl777c20-Jul-18 07:12 PM
all these projects that try to lock people in to paying fees to create "value", but in open source that just creates future migration
meatspoon20-Jul-18 07:12 PM
I don't need to be a tech guy to make observations that software and protocols improve
[TPUX] Djith Wattignies20-Jul-18 07:13 PM
Linux doesnt support as much as win10 for the mass...
I dont see grannies or new kids entering sudo's and gets.. cd .. or ./...
jl777c20-Jul-18 07:13 PM
yes, but that doesnt mean unix will not succeed, not that windows wont
all viable crypto projects will survive to some extent, especially ones that reach critical mass
like BTC and ETH
[TPUX] Djith Wattignies20-Jul-18 07:14 PM
So succes is that even the dumbest f##k would be able to use it
meatspoon20-Jul-18 07:14 PM
@Deleted User Ahh, that non-argument again. If it is just my limited comprehension that is the problem, why don't you sell a few million KMD to pay someone who knows what the hell they are doing in marketing to produce some copy or a video that can explain to white collar dual degree dimwits like me why their tech is so incredibly awesome
jl777c20-Jul-18 07:15 PM
but BTC and ETH dont have to fail for KMD to succeed. in fact we leverage BTC hashrate to gain security, why would we want BTC to go away
meatspoon20-Jul-18 07:16 PM
You don't find my words to be coherent, Emmanuel?
riseandfall20-Jul-18 07:16 PM
That's just matter of time. KMD deserves a much better place. The tech is great.
meatspoon20-Jul-18 07:17 PM
Emmanuel's approach is so common for people in this community. And its very off-putting. "You simply cant understand our alien tech.   Its so condescending, Emmanuel.
riseandfall20-Jul-18 07:18 PM
Comparison Windows / UNIX is not relevant....But i don't think you realize how much UNIX systems are now used (smartphones, servers, and many manyt specific applications).
[TPUX] Djith Wattignies20-Jul-18 07:18 PM
Meantime .. price is tanking..
siu - Chainmakers20-Jul-18 07:18 PM
jl777 please... copy justin sun or dan larimer
3
we need you
go to conferences... be the god of the tech
1
be that person that answers tweets to politicians that say crypto is bad
jl777c20-Jul-18 07:19 PM
meatspoon advocates that I just go away as KMD cant succeed with me being anon
siu - Chainmakers20-Jul-18 07:19 PM
exchange words with trump or something on twitter
meatspoon20-Jul-18 07:19 PM
Not at all. I never advocated that
I advocate for people to stand behind their products with an identity that is verifiable. Just like tx are verifiable.
siu - Chainmakers20-Jul-18 07:20 PM
be vitalik...
1
polycryptoblog20-Jul-18 07:20 PM
So you don't advocate for bitcoin
meatspoon20-Jul-18 07:21 PM
Sure I do. It is wildly different from KMD in a number of ways
[TPUX] Djith Wattignies20-Jul-18 07:21 PM
Some coins are mooning
riseandfall20-Jul-18 07:22 PM
Just FYI, I heard about a project caled Factom : they do propose parralel chains also with notarization in BTC. This project is more focused on data anchoring. They proposed a 2 tokens solution (one supposed to be stable - used for notarization - the other used for speculation). To my opinion it's not good to try to offer a stable token. They use DPOS (but they do notarization).
[TPUX] Djith Wattignies20-Jul-18 07:22 PM
Some are tanking
jl777c20-Jul-18 07:22 PM
meatspoon - Today at 07:55
you couldnt get a CEO of a respected company to ever partner or use a product made by an anonymous person who hasnt stepped back/down like Satoshi
riseandfall20-Jul-18 07:22 PM
I was surprised to see common points with KMD project
meatspoon20-Jul-18 07:22 PM
that doesnt mean i advocate that you back down
[TPUX] Djith Wattignies20-Jul-18 07:22 PM
If you have a range of different coins..
meatspoon20-Jul-18 07:22 PM
i advocate that you step up
1
siu - Chainmakers20-Jul-18 07:23 PM
what if jl777 is just an ugly fat kid in a basement?
would that put you oiff?
jl777c20-Jul-18 07:23 PM
many authors of books use pennames, their work speaks for themselves
meatspoon20-Jul-18 07:23 PM
no more put off than I am now. I just want people to be accountable, if possible. Both beautiful people and ugly fat kids alike
jl777c20-Jul-18 07:23 PM
I write code
it is published in realtime
siu - Chainmakers20-Jul-18 07:23 PM
FC
riseandfall20-Jul-18 07:24 PM
I was extremely suprised to see that they are cooperating with som US official institutions. (i stop here talking about Factom - Excuse me for the off-topic)
meatspoon20-Jul-18 07:24 PM
are you an author? Or are you putting forth what is essentially a product?
jl777c20-Jul-18 07:24 PM
I am not raising funds anymore and pretty sure the people that invested in me in the ICO have little complaints
Если хочешь помочь деньгами Яндекс.Деньги<PHONE_NUMBER>53881
1
siu - Chainmakers20-Jul-18 07:25 PM
@meatspoon writing code is like writing an essay
jl777c20-Jul-18 07:26 PM
I've written about a million lines of crypto code
if that is not enough for people, well, sorry, that is what I do. I write code
meatspoon20-Jul-18 07:26 PM
Big J, here is the deal. KMD isnt doing well, in a whole lot of ways. Price action, wallet software, adoption, marketing, etc. You all know what you need to work on. As an investor/speculator, I can speak with some degree of authority that you will have some problems attracting people to your project by remaining anonymous (and hence insulated from professional blowback) if your project craters.
6
jl777c20-Jul-18 07:27 PM
on the contrary, in recent months we have had a lot of new devs joining


Lian's Family Recipes
- Description
- Material
- Review
Tomato and Egg Stir Fry
Ingredients
- 2 middle size tomatoes
- 2 eggs
- small pinch of salt
- 1/4 cup oil
- 1/8tsp. sugar
- 1/2tsp. soy sauce
- 1 scallion
- two pieces of ginger
Directions
- After washing the tomatoes, blanch them with boiling water, and slice them.
Then beat the eggs into a bowl
- Heat up oil in wok until really hot, stir egg mixture in. When the egg liquid firms, break the egg into small pieces.
Transfer the egg out and leave the oil in.
- Add tomato wedges in, fry until juicy.
- Return egg pieces, add salt, sugar and scallion.
Do a quick stir fry to combine everything well. Serve immediately.
Pork Baozi (Bun)
Ingredients
For the dough
- 500g all-purpose flour
- 5g instant yeast
- 1 spoon white sugar
- 250g warm water
For the fillings
- 500g pork
- shallot
- ginger
- cooking oil
- soy sauce
- salt
Directions
- Mix the yeast, sugar with the water.
Mix well and set aside for around 5 minutes.
Pour the mixed water slowly to the flour and stir with a chop sticker.
Then knead the flour into smooth and soft dough.
Cover the bowl and let the dough rest for around 1 hour or until the paste ball doubles in size.
- Making the filling.
Mix all the ingredients (except the cooked oil), stir clockwise.
Then add cooking oil and continue to stir.
Mix well.
- Roll the dough into strips first.
Divide equal parts into small dough.
Roll the dough into a thin circle.
Fold the circle with some filling like the picture shows.
- Brush some oil on the bottom of each baozi and put into the steamer.
Heat up water in wok and begin to steam.
Count at least 15 minutes after the water in wok begins to boil.
Enjoy your Baozi.
Wood Ear Mushroom Salad
Ingredients
- dried wood ear mushrooms
- a small bunch of coriander
- 2 garlic clove chopped
- olive oil
- Chinese black vinegar
- soy sauce
- sesame oil
- sugar
- toasted sesame seeds
Directions
- Soak the dried wood ear mushrooms in warm water until they absorb the water and become soft.
Rinse in cold water. Tear larger pieces into bite size and remove the sandy ends.
Wash carefully.
- Cook soaked wood ear in boiling water for around 1 to 2 minutes.
Transfer out immediately and soak in cold water to cool down.
- Completely drain the wood ear mushrooms.
- Heat oil in a pot and fry garlic.
Turn off fire and add all the other seasonings.
Mix well and serve.


Name of course
Price of course
NAME
PRICE
RATINGS
{{course.name | uppercase}}
{{course.description | limitTo : maxLength}}
{{course.description}}
...
more


Dear <%- loginUser.username %>, application <%- client.name %> wants the following access to your data in the OAuth Protected Resource Server:
Do you agree?


This is a sample page. This page is configured to create, update, delete records in Dataverse using WEB API.


Pupils 'forced to pick favourite parent' to watch nativity due to lack of space
A primary school has caused uproar after announcing only one parent per child can attend this year’s Christmas carol concert.
Lady Boswell’s CE Primary School, in Sevenoaks, Kent, said there was inadequate space at nearby St Nicholas Church to seat all parents of the 256 participating pupils.
Parents and guardians were furious and said it was forcing seven to 11-year-olds to choose their ‘favourite parent’.
One disgruntled dad said the demand was ‘disgraceful’, especially in the Christmas season’.
Not only does it make families need to chose a single parent to go, he said it also bans any other children.
He added: ‘Considering this is the last carol service to be attended by the now full Year 6 children, this is disgraceful.’
Advertisement Advertisement
The school’s headteacher Sharon Saunders said the festive wrangle has forced a re-think.
School staff are now trying to come up with other ways to accommodate children, their parents and up to 60 staff at the church.
Mrs Saunders added: ‘We have to comply with health and safety and getting that number of children into the church and out into the car park is difficult, but we want to sort it out safely.’
She said she didn’t want the two form entry reception to Year 6 school did not want to split the service over two days.
The headteacher added: ‘We are a family and we want to come together as a family with all the children to celebrate together.
‘The important thing is the children but we do not want to exclude anybody and are trying to work something out.’
Got a story for Metro.co.uk?
Get in touch with our news team by emailing us at<EMAIL_ADDRESS>For more stories like this, check our news page.


public interface MonetaryAmountsSingletonQuerySpi
SPI (core) for the backing implementation of the
Monetary
singleton, implementing
the query functionality for amounts.- Author:
- Anatole Tresch
-
Method Summary
Modifier and Type Method Description java.util.Collection<MonetaryAmountFactory<? extends MonetaryAmount>>
getAmountFactories(MonetaryAmountFactoryQuery query)
Get theMonetaryAmountFactory
implementation class, that best matches to cover the givenMonetaryContext
.default MonetaryAmountFactory
getAmountFactory(MonetaryAmountFactoryQuery query)
Executes the query and returns theMonetaryAmountFactory
implementation type found, if there is only one type.default java.lang.Class<? extends MonetaryAmount>
getAmountType(MonetaryAmountFactoryQuery query)
Executes the query and returns theMonetaryAmount
implementation type found, if there is only one type.default java.util.Collection<java.lang.Class<? extends MonetaryAmount>>
getAmountTypes(MonetaryAmountFactoryQuery query)
Executes the query and returns theMonetaryAmount
implementation types found.default boolean
isAvailable(MonetaryAmountFactoryQuery query)
Checks if anMonetaryAmountFactory
is matching the given query.
-
Method Details
-
getAmountFactories
java.util.Collection<MonetaryAmountFactory<? extends MonetaryAmount>> getAmountFactories(MonetaryAmountFactoryQuery query)Get theMonetaryAmountFactory
implementation class, that best matches to cover the givenMonetaryContext
.The evaluation order should consider the following aspects:
- If
MonetaryContext.getAmountType()
is explicitly defined, it should be considered. Nevertheless if precision/scale cannot be met, aMonetaryException
should be thrown. - The remaining implementation class candidates must cover the required precision.
- The remaining implementation class candidates must cover the required max scale.
- If max scale is met, but
precision==0
(unlimited precision), theMonetaryAmount
implementation candidate should be chosen with highest possible precision. - If still multiple implementation candidates qualify, the ones with
Flavor.PERFORMANCE
are preferred. - After this point the selection may be arbitrary.
- Parameters:
query
- the factory query, not null.- Returns:
- the
MonetaryAmount
implementation class, that best matches to cover the givenMonetaryContext
, nevernull
. - Throws:
MonetaryException
- if noMonetaryAmount
implementation class can cover the requiredMonetaryContext
.
- If
-
isAvailable
Checks if anMonetaryAmountFactory
is matching the given query.- Parameters:
query
- the factory query, not null.- Returns:
- true, if at least one
MonetaryAmountFactory
matches the query.
-
getAmountType
Executes the query and returns theMonetaryAmount
implementation type found, if there is only one type. If multiple types match the query, the first one is selected.- Parameters:
query
- the factory query, not null.- Returns:
- the type found, or null.
-
getAmountTypes
default java.util.Collection<java.lang.Class<? extends MonetaryAmount>> getAmountTypes(MonetaryAmountFactoryQuery query)Executes the query and returns theMonetaryAmount
implementation types found.- Parameters:
query
- the factory query, not null.- Returns:
- the type found, or null.
-
getAmountFactory
Executes the query and returns theMonetaryAmountFactory
implementation type found, if there is only one type. If multiple types match the query, the first one is selected.- Parameters:
query
- the factory query, not null.- Returns:
- the type found, or null.
-


Sequences should start with the f register or be padded using a -.
When using this server please cite Boldrige, Ljubetic et al.,
A Multiplexed Bacterial Two-Hybrid for Rapid Characterization of Protein-Protein Interactions and Iterative
Protein Design | bioRxiv


This namespace contains WebGL-only display filters that can be applied
to DisplayObjects using the {@link PIXI.DisplayObject#filters filters} property.
Since PixiJS only had a handful of built-in filters, additional filters
can be downloaded here from the
PixiJS Filters repository.
This namespace contains WebGL-only display filters that can be applied to DisplayObjects using the {@link PIXI.DisplayObject#filters filters} property.
Since PixiJS only had a handful of built-in filters, additional filters can be downloaded here from the PixiJS Filters repository.
All filters must extend PIXI.Filter.
// Create a new application const app = new PIXI.Application();
// Draw a green rectangle const rect = new PIXI.Graphics() .beginFill(0x00ff00) .drawRect(40, 40, 200, 200);
// Add a blur filter rect.filters = [new PIXI.filters.BlurFilter()];
// Display rectangle app.stage.addChild(rect); document.body.appendChild(app.view);
PIXI.filters


User : {{ user }}
LOGIN
LOGOUT
LOGOUT ALL
User Regiteration
Student Registeration
Teacher Registeration
User Display All
User Display Specific
Student Display All
Student Display Specific
Teacher Display All
Teacher Display Specific


---
layout: post
title: Process a zip file
date: '2007-05-15T16:02:00.001-07:00'
author: Kris Rice
tags:
modified_time: '2007-05-15T16:02:18.820-07:00'
blogger_id: tag:blogger.com,1999:blog-37621059.post-4229120908471802635
blogger_orig_url: http://krisrice.blogspot.com/2007/05/process-zip-file.html
---
Some one on the forum asked for an example of how to bulk upload files. Here is an example I used a couple years ago of processing a zip file and uploading the individual files into a table. Then we made an application to manage the file and followed "Create a Procedure to Download Documents" to download.
Here's the sql for the table and sequence:
create table docs(doc_id number,blob_content blob,file_name varchar2(2000));
create sequence doc_id_seq;


JavaScript is an interpreted and high-level programming language, it is a programming language that conforms to the ECMAScript specification. often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.
HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. JavaScript enables interactive web pages and is an essential part of web applications. The vast majority of websites use it for client-side page behavior, and all major web browsers have a dedicated JavaScript engine to execute it.
Designed by Netscape Communications and Brendan Eich initially in 1995, actually other key contributors update javascripts on the ECMAScript specification.


Search Inside Yourself - Chapter 3
12 January 2017
What did you learn from your 'mindfulness conversation'? How did the other person find it?
When you stopping and actively listening to another person and what they are saying I found myself being able to ‘hear’ and absorb the notion of what is being said much more effectively. While as the speaker I found that I had the time to express my ideas, opinions and thought’s much more effectively without being stopped and losing my train of thought. The other person also found it similar, and we agreed that this method can really help to focus on listening to and understanding what the other person is saying.
Which of the three suggested techniques will you use to sustain your practice?
I like the idea of the “Do less than you can” technique as it seems most relevant to me at this point in time. I understand the benefits of meditation after sitting and focusing for 5 minutes the mind starts to wonder off and look for other things to do, thus making meditation less ‘fun’ and feel like more of a chore at times. I like that idea of “Do less than you can” not because I just do less, but because I can see the benefits of doing less – if you do say 3 minutes then it will be 3 minutes that you are having ‘fun’ doing mediation, rather than doing 3 minutes of ‘fun’ meditation and 2 minutes of ‘not-so-fun’ meditation. You are much more like to keep coming back to do 3 minutes of ‘fun’ meditation each day rather than 5 minutes of ‘mixed-fun’ meditation that will start to feel like a chore. Then as you progress you can up the amount of time.


Guide Usage¶
The detailed code of this guide can be seen in demo/main.py
.
Suppose you have the required FITS data under the directory assigned by
grb.config.path.FITS
. Other required information
GRB/GCN name
GBM MET (reference time)
first low peak time (relative to the reference time)
red shift
are in grb.config.path.TABLE / "query-results-latest.h5"
and named
“table”.
Follow these steps to perform the analysis.
Instantiate the
PHTable
.Run the method
regPlot
to obtain the power parameter in the power law.Manually assign the primed class IV (classIV_less). However, this primed class is actually ommitable in my analysis.
Run one of the method
randPlotI
,randPlotII
,randPlotIII
, orrandPlotIV
to generate required number (viarepeat
) of samples and plot the results.
Note that you may use the Python function dir
to list all available
attributes of any Python objects. For example,
from grb.lat.analysis import PHTable
dir(PHTable)


| public nothrow | MemoryWriter(byte* ptr_, long count_) |
| public void | Write(byte x) |
| public void | Write(const DateTime& dt) |
| public void | Write(const String<char>& s) |
| public void | Write(int x) |
| public void | Write(long x) |
| public void | Write(sbyte x) |
| public void | Write(short x) |
| public void | Write(uint x) |
| public void | Write(ulong x) |
| public void | Write(ushort x) |
| private long | count |
| private byte* | pos |
| private byte* | ptr |


Protest against transmission towers on agriculture lands
Farmers court arrest; agitation staged in 13 districts
by Staff ReporterFarmers associations and political parties on Monday staged protests in parts of Coimbatore and Tiruppur against setting up of transmission towers on agriculture lands.
In Coimbatore, the protests were held at Karumathampatti and Sulthanpet. V.M.C. Manoharan, Coimbatore rural district president of Congress, participated in the protest at Karumathampatti. In Sulthanpet, DMK’s Pongalur N. Palanisamy took part along with members of Federation of Farmers Protection Association. The protesters courted arrest. Police removed eleven persons from Karumathampatti and 47 from Sulthanpet, sources said.
Tiruppur
As many as 314 protesters were removed by police in various parts of Tiruppur on Monday.
A total of 103 protesters including nine women in Palladam, 76 including 14 women in Kangeyam, 88 including three women in Dharapuram and 47 protesters in Kaniyur were removed, police sources said.
Muthu Viswanathan from Tamil Nadu Farmers Protection Association took part in the protest in Kangeyam and S. Muthukannan, district CPI(M) secretary, in Dharapuram.
Police sources said the protesters were kept in wedding halls and police station till further action was decided, as this was a State-wide agitation where farmers associations staged protests in 13 districts across Tamil Nadu.
Protests against transmission towers have been continuing for the past few months in Tiruppur.
On September 13, Shanmugasundaram, Muthu Viswanathan, Parthasarathy, Thangamuthu and Easan from Tamil Nadu Farmers Protection Association were arrested and remanded for a month in Coimbatore Central Prison till October 12 after organising protests against installation of transmission towers on agriculture lands.


Create your personal warddrobe!
Our group decided to create a virtual closet where we can visualize color combinations without having to go to malls/stores to try things on. In our closet we can model clothing on male/female avatars. We can customize many aspects within our web application, such as the gender, the skin color, the types of clothing, and the color of the clothing that we’re putting onto the avatar. Once we customize our avatar, we can save the image into a database. Additionally, when an outfit with its clothing and colors are chosen, the user can make a Google search for the outfit in case the user wants to buy the outfit online.
Role: Back-End and API
<EMAIL_ADDRESS>Fun Fact: Can go on for hours about Green Lantern Lore
Instagram: @luke.oluoch
Twitter: @broluoch
Role: Project Manager
<EMAIL_ADDRESS>Fun Fact: Eats Chips and Cheetos with Chopsticks
Instagram: @andreat223
Role: Database.
<EMAIL_ADDRESS>Instagram: Sylviaysd
Role: Front End.
<EMAIL_ADDRESS>Fun Fact: Likes Cats


Ethereum (ETH) Breaks Key Support, Trend Turns Super Bearish
- Ethereum price is declining below the key $180 support against the US Dollar.
- Bitcoin price is down more than 2% and it also broke the $8,200 support area.
- Yesterday’s bearish trend lines are intact with resistance near $185 on the hourly chart of ETH/USD (data feed via Kraken).
- The price is currently flirting with the $178 support and it is likely to continue lower.
Ethereum price is breaking down versus the US Dollar, similar to bitcoin. ETH price is likely to accelerate its decline towards the $170 and $166 support levels.
Ethereum Price Analysis
Recently, Ethereum failed to surpass the $186 resistance area against the US Dollar. As a result, ETH price a fresh decline below the $182 support level. Moreover, the price broke the $180 support and settled below the 100 hourly simple moving average.
The recent decline was such that the price even broke the main $178 support area. A new monthly low was formed near $174 and the price is currently correcting higher.
It is trading near the $178 pivot area. Besides, Ethereum is trading near the 23.6% Fib retracement level of the recent decline from the $186 high to $174 low. On the upside, there are many resistances near the $180 zone (the previous support).
Additionally, the 50% Fib retracement level of the recent decline from the $186 high to $174 low is also near the $180 level. More importantly, yesterday’s bearish trend lines are intact with resistance near $185 on the hourly chart of ETH/USD.
An intermediate resistance is near $182 and the 100 hourly simple moving average. Therefore, the price seems to be facing a strong resistance near the $180, $182 and $185 levels.
A successful break above the $185 resistance is must for a decent recovery. On the downside, an initial support is near the $175 area. If the bears gain momentum below $175, there is a risk of a downside extension below the $170 support.
The next key support is near the $166 level, below which the bears are likely to eye a test of the $154 and $152 support levels in the near term.
Looking at the chart, Ethereum price is clearly flirting with the $178 support and it is likely to continue lower. If there is another break down below the $175 level, the price could really struggle to bounce back. On the upside, the bulls are facing many hurdles, starting with $182 and up to $185.
ETH Technical Indicators
Hourly MACD – The MACD for ETH/USD is currently losing pace in the bearish zone.
Hourly RSI – The RSI for ETH/USD is currently correcting higher from the oversold readings.
Major Support Level – $175
Major Resistance Level – $185


Hi all,

Is it possible for each IntVar to see whether there is a constraint between the IntVar and another IntVar?

I am looking for something like:

bool myfuntion(IntVar a, IntVar b)

that should return true only if there is at least a single constraint that involves both a and b.

or

void myfunction(IntVar a, IntVarArgs b)

assigns b to be all IntVars that are present in the same constraints as a.

Also regarding the comparison between two IntVar variables a, b, I was wondering if it is possible to check [NOT post] equality [whether the domain of the two variables contain the same values] in a way that doesn't include iterating over their values?

Best,

Stratos Kalogirou


Use the scroll wheel to zoom in
Hold [left click] to rotate the view
Hold [right click] to move the view around
Hold [left click] to rotate the view
Hold [right click] to move the view around
.csv File Upload
Formula
Settings
(using setters): examples: 0xffffff, #ff6600, rgb(1,0.5,0), hsl(0.7,0.6,0.3)


If there are salsa enthusiasts in this world, I might just be one of them.
Salsa is one of the simplest additions to a meal, but it can really make the difference between "eh" and "MMM!" There are a ton of varying styles of salsas ranging from chunky to liquidy and not-so-spicy to burn-your-mouth-off. Pico de gallo is one of my favorites and probably the easiest salsa to make. So let's learn how to make some!
First you need all of the ingredients, so see the box to the left. It's simple, but it won't be the same without one of these ingredients. Now get an extra large bowl.
Begin dicing the tomatoes. In terms of quantity, you'll want mostly tomatoes in the salsa. Plan accordingly and be liberal with your use of tomatoes.
Now the jalapenos - WARNING - do not cook the jalapenos. It'll tone down their spicy-ness.
Next, chop the jalapenos as fine as you can. This is the secret to a good batch of pico de gallo.
Up next, chop the onions! Don't cry in the pico de gallo. Also chop the cilantro as fine as you can.
If it's not already in the bowl together, add it all in! Then mix it around. You want the juices to intermingle.
Finally add the chopped garlic, a few pinches of salt, and about half to a full cup of lime juice. These each add flavor and serve a second purpose of preserving the other ingredients.
Now get a chip and enjoy your creation! Sabrosa!!!


Files CCore/inc/net/CheckedData.h CCore/src/net/CheckedData.cpp
The class CheckedData is useful for net testing. You can fill a data payload with checked random data and verify its integrity.
class CheckedData
{
Random random;
uint8 start_sum;
public:
CheckedData();
ulen getLen(ulen max_len); // max_len in uint32
bool fill(PtrLen<uint8> data);
bool check(PtrLen<const uint8> data) const; // random is not used
};
The method getLen() selects the random length from 2 to max_len. The last must be represented by the uint32 type. And should be > 2. If the max_len <= 2, the max_len is always returned.
fill() fills the given byte range with checked random data. It is expected, the range lengtn is >= 2. Otherwise, the method does nothing and returns false.
check() checks the data range and returns true, if it is correct. random is not used in this method, so this method is multi-thread safe.


An experiment to verify how long THC (Marijuana) metabolites are detectable with an immunochromatographic assay test within single use.
My idea is not to try to give scientific-like descriptions which in my opinion are absolutely ridicolous in this context since I'm not a scientist. All I want to do is provide truthful information with quality fotographs of the process.
The goal of the experiment was to find out how long THC really is detectable in urine with a standard 50 ng/l immunochromatographic assay test within single use.
The idea of the test is simple: If it shows 1 mark the result is positive (you fail). If it shows 2 marks it means the result is negative (you pass). Note that even a light strip is still considered negative for THC.
The person that held the experiment is an 18 year old male weighing 69 kg. An occasional marijuana smoker. The last time he used the drug was two weeks before and by the time of the experiment he was completely clean from traces of THC.
No excessive amounts of liquid or other psychoactive substances were consumed during the experiment.
The process:
Day 1:
22:24 Before smoking, a test was done to make sure that the subject is clearly negative.
22:45 Substance ingested. To be exact, somewhat half a bowl (approx. 0.2 grams) of quality Dutch Passion Skunk #11 (ground bud and leaf mixture) which resulted in 2 and a half full puffs.
According to other people's opinions 3 hits of this stuff was enough for a good trip. The trip was in fact quite good.
Day 2:
22:36 Test performed. The result appears to be positive although a very slight trail of the second mark remains.
Day 3:
22:25 Tesing performed again. The result is now clearly negative.
Conclusion:
THC is detectable using the simple immunoassay strips only for one day after use if a rather small amount had been ingested.
Previous experience allows me to conclude that if the quantity (or quality) were higher the time in which the metabolites could be detected wouldn't be longer than 2 days.
This once again proves the idea of the 'possibility of smoking on friday and being clean by monday' and also proves that the facts presented in the 'THC calculator' are wrong.
Happy smoking!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Management of and data extraction from camera trap photographs in wildlife studies. The package provides a workflow for storing and sorting camera trap photographs, computes record databases and detection/non-detection matrices for occupancy and spatial capture-recapture analyses with great flexibility. In addition, it provides simple mapping functions (number of species, number of independent species detections by station) and can visualise activity data.
| Version: | 1.0 |
| Depends: | R (≥ 3.1.0) |
| Imports: | methods, rgdal, sp, overlap, secr, taxize, ritis |
| Suggests: | unmarked, knitr, rmarkdown, raster |
| Published: | 2018-10-27 |
| Author: | Juergen Niedballa [aut, cre], Alexandre Courtiol [aut], Rahel Sollmann [aut], John Mathai [ctb], Seth Timothy Wong [ctb], An The Truong Nguyen [ctb], Azlan bin Mohamed [ctb], Andrew Tilker [ctb], Andreas Wilting [ctb, ths] |
| Maintainer: | Juergen Niedballa <camtrapr at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | no |
| SystemRequirements: | ExifTool (http://www.sno.phy.queensu.ca/~phil/exiftool/) |
| Materials: | NEWS |
| CRAN checks: | camtrapR results |
| Reference manual: | camtrapR.pdf |
| Vignettes: |
4. Data exploration and visualisation 3. Extracting data from camera trap images 1. Raw camera trap image organisation 2. Species and Individual Identification |
| Package source: | camtrapR_1.0.tar.gz |
| Windows binaries: | r-devel: camtrapR_1.0.zip, r-release: camtrapR_1.0.zip, r-oldrel: camtrapR_1.0.zip |
| OS X binaries: | r-release: camtrapR_1.0.tgz, r-oldrel: camtrapR_1.0.tgz |
| Old sources: | camtrapR archive |
Please use the canonical form https://CRAN.R-project.org/package=camtrapR to link to this page.


Library: Localization
messages_base messages_byname messages locale::facet
|
char_type close() do_close() |
do_get() do_open() get() |
messages() messages_byname() open() |
string_type |
Messaging facets
#include <locale> namespace std { class messages_base; template <class charT> class messages; }
template <> class messages<char>; template <> class messages<wchar_t>; template <> class messages_byname<char>; template <> class messages_byname<wchar_t>;
The class messages gives access to a localized messaging facility. The messages facet is used with the C locale, while the messages_byname facet is used with named locales.
The messages_base class includes a catalog type for use by the derived messages and messages_byname classes.
namespace std { class messages_base { public: typedef int catalog; }; template <class charT> class messages : public locale::facet, public messages_base { public: typedef charT char_type; typedef basic_string<char_type>, char_traits<char_type>, allocator<char_type> string_type; explicit messages(size_t = 0); catalog open(const basic_string<char>&, const locale&) const; string_type get(catalog, int, int, const string_type&) const; void close(catalog) const; static locale::id id; protected: virtual catalog do_open(const basic_string<char>&, const locale&) const; virtual string_type do_get(catalog, int, int, const string_type&) const; virtual void do_close(catalog) const; }; class messages_byname : public messages<charT> { public: explicit messages_byname(const char*, size_t = 0); protected: virtual catalog do_open(const basic_string<char>&, const locale&) const; virtual string_type do_get(catalog, int, int, const string_type&) const; virtual void do_close(catalog) const; }; }
char_type
Type of the first template argument.
string_type
Type of basic_string specialized on char_type.
explicit messages(size_t refs = 0)
Constructs a messages object. Calls locale::facet (refs).
The refs argument is set to the initial value of the object's reference count. A messages object f constructed with (refs == 0) that is installed in one or more locale objects will be destroyed and the storage it occupies will be deallocated when the last locale object containing the facet is destroyed, as if by calling delete static_cast<locale::facet*>(&f). A messages object constructed with (refs != 0) will not be destroyed by any locale objects in which it may have been installed.
explicit messages_byname(const char* name, size_t refs = 0);
Constructs a messages_byname object for the locale given by name. Calls messages<char_type>::messages (refs).
static locale::id id;
Unique identifier for this type of facet.
The public members of the messages facet include an interface to protected members. Each public member function xxx() calls the corresponding protected virtual member do_xxx(). For instance, the public member function open() function calls its protected cousin do_open().
void close(catalog c) const; string_type get(catalog c, int set, int msgid, const string_type& dfault) const; catalog open(const basic_string<char>& fn, const locale&) const;
Each of these public member functions xxx simply calls the corresponding protected do_xxx() function.
virtual void do_close(catalog cat) const;
Closes the catalog. The cat argument must be obtained by a call to open().
virtual string_type do_get(catalog cat, int set, int msgid, const string_type& dfault) const;
Retrieves a specific message. Returns the message identified by cat, set, msgid, and dfault. cat must be obtained by a previous call to open(). This function must not be called with a cat that has had close() called on it after the last call to open(); that is, the catalog must be open and not yet closed.
virtual catalog do_open(const basic_string<char>& name, const locale &loc) const;
Opens a message catalog with the given name. The loc argument is used to obtain a reference to the codecvt<char_type, char, mbstate_t> facet to perform any necessary codeset conversion from the multibyte text in the catalog to the appropriate representation used by the internal character type, char_type. On success, returns a catalog identifier that can be passed to the get() function in order to access specific messages. If the provided catalog name does not refer to an existing valid catalog, the function returns -1.
// // messages.cpp // #include <string> #include <locale> #include <iostream> #include <rwstdmessages.h> #ifndef _WIN32 # define CAT_NAME "./rwstdmessages.cat" #else # define CAT_NAME "rwstdmessages.dll" #endif int main () { std::locale loc; // Get a reference to the messages<char> facet const std::messages<char>& msgs = std::use_facet <std::messages<char> >(loc); // Open a catalog and try to grab // both some valid messages, and an invalid message const std::string def = "Message Not Found"; std::messages<char>::catalog cat = msgs.open (CAT_NAME, loc); if (cat != std::messages<char>::catalog (-1)) { std::cout << msgs.get (cat, 1, _RW_MSG_HELLO, def) << '\n' << msgs.get (cat, 1, _RW_MSG_GOODBYE, def) << '\n' << msgs.get (cat, 1, _RW_MSG_NOGOOD, def) << '\n' << msgs.get (cat, 2, _RW_MSG_TREES, def) << '\n'; msgs.close (cat); } else std::cerr << "Unable to open message catalog" << std::endl; return 0; } Program Output:
Hello Goodbye Message Not Found Cedar, Hemlock, and Noble Fir
ISO/IEC 14882:1998 -- International Standard for Information Systems -- Programming Language C++, Section 22.2.7


Carlos Pinto
@cpintoval
Technology | Product | Data & Analytics
👨🏽💻
Website
💬
Twitter
💼
LinkedIn
🛠
GitHub


/**
* @title WOMTokenLocker
* @author WOM Protocol<EMAIL_ADDRESS>* @dev Locks WOM specific ERC20 tokens for a particular duration of time.
*/
pragma solidity >=0.6.0;
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>contract WOMTokenLocker is Ownable {
IERC20 public WOM_TOKEN;
mapping (address => Allocation) public allocation;
struct Allocation {
uint256 release; // Time in epoch to release funds
uint256 amount; // Amount to release
}
event AllocationAdded(address indexed recipient, uint256 release, uint256 amount);
event AllocationRemoved(address indexed recipient);
event AllocationClaimed(address indexed recipient, uint256 release, uint256 amount);
constructor(address _womToken) public {
WOM_TOKEN = IERC20(_womToken);
}
/**
* @dev Create allocation for particular recipient.
* @param recipient Receiving address of the funds.
* @param release Time in epoch to release funds.
* @param amount Amount of funds to allocate.
*/
function addAllocation(address recipient, uint256 release, uint256 amount)
public
onlyOwner
{
require(WOM_TOKEN.allowance(owner(), address(this)) >= amount, 'WOMTokenLocker: allowance is less than amount');
WOM_TOKEN.transferFrom(owner(), address(this), amount);
allocation[recipient] = Allocation({
release: release,
amount: amount
});
emit AllocationAdded(msg.sender, release, amount);
}
/**
* @dev Remove allocation for particular recipient.
* @param recipient Address to remove allocation.
*/
function removeAllocation(address recipient)
public
onlyOwner
{
Allocation memory alloc = allocation[recipient];
require(alloc.amount != 0, 'WOMTokenLocker: client does not exist');
delete allocation[msg.sender];
WOM_TOKEN.transfer(owner(), alloc.amount);
emit AllocationRemoved(msg.sender);
}
/**
* @dev Claim allocation from recipient.
*/
function claimAllocation()
public
{
Allocation memory alloc = allocation[msg.sender];
require(alloc.amount != 0, 'WOMTokenLocker: client does not have allocation');
require(now >= alloc.release, 'WOMTokenLocker: client cannot claim with time lock');
require(WOM_TOKEN.balanceOf(address(this)) >= alloc.amount, 'WOMTokenLocker: contract does not have sufficient funds');
delete allocation[msg.sender];
WOM_TOKEN.transfer(msg.sender, alloc.amount);
emit AllocationClaimed(msg.sender, alloc.release, alloc.amount);
}
} |


To use these scripts for yourself the first thing you will need to do is replace the the USERNAME and PASSWORD variables with your own credentials. If you like you can set them as command arguments or prompt for input for them. Or if you want to track your changes on a public repository then read them from a file on your local drive like so:
password=$(cat ~/gitpass.txt)
. Another option is the store and retrieve these values in your git config files.
--silent
flag to the curl calls to suppress the Progress Meter if you find it annoying.
Download the above files and start making your own personalizations to speed up your own remote repository operations.


Click the icon below the play button to cycle through Master behavior status:
aggressively steal master ↫
never steal master ↮
steal master on track transition ↭
steal master on source transition ↞
The order of the users displayed is:
Manual
Most recent
Hover to the left of the track name to reveal the play button
♫
. Play behavior:
Jump in the middle of clicked track
Jump to estimated listening point for clicked current tracks
Play from source (album, playlist) if possible
After a song, continue through source if possible
After a song, always stop
After a song, follow user history (partially implemented)
Speak details between tracks (NOT IMPLEMENTED)
After a song, sync to most recent across friends (NOT IMPLEMENTED)
Speak details between tracks (NOT IMPLEMENTED)
OMG Knockout JS is the best thing ever for dyanimc pages. Moment.js makes all the time stuff way easier. Also, who could write a web page these days without Underscore? Also, jQuery.
Shout out to eavesdrop.io for doing a great Rdio synced listening app first. Used it for a long time but finally wrote my own when I needed more features.
If you notice some syncing between your friends, they're probably either using this app or over at an Rdio Party that you weren't invited to.


The Basics of the Web and HTML
The world wide web is made up of HTML documents (Hyper Text Markup Language).
It uses hyperlinks or links to glue it all together and was created in the early 90's.
The major pieces of the web are:
You, your computer and web browser, the internet, and the servers that host different types of files, such as images, videos, and documents.
The web uses HTTP (Hyper Text Transport Protocol).
HTML (Hyper Text Markup Language) is used to create web pages.
HTML markup uses elements that are made up of tags, content and attributes.
There are many differnt types of tags such as b for bold, em (emphasis) for italics, br for line break
and p for paragraph. You can use a hyperlink tag to insert links such as www.att.com to link to a webpage. But don't forget to use "A" for anchor!
You can also insert images without a closing tag such as a super cool hipmunk (not really sure what that is.)
All whitespace becomes a single line, so you can use br or p to create new lines and paragraphs.


Erin Brockovich (2000)
Naming a film or book for its protagonist is often a simple but ingenious tactic.
It's a strategy used by writers from Charles Dickens and Honore de Balzac to Muriel Spark and Saul Bellow. What we look for in these namesake titles is strong characterization: what else are they but focused character studies? A work should, after all, be about what it is called.
So ERIN BROCKOVICH serves as a good title, as its heroine seems to have two sides - the tender loveliness of a mother to match her first name, and the assaulting harshness of a fullback to match her last name. Julia Roberts does a strong job displaying these sides, sometimes within the same extended shot. As she is driving late at night, for instance, she calls home to talk with her lover, George (Aaron Eckhart). After days of legal legwork she is exhausted and bitter, and just hearing his voice cheers her; but what should confront her but that she has missed the first words of her infant daughter! On a cell phone in a car, alone late at night, Roberts mixes her emotions wonderfully.
One flaw in the characterization is the lack of background. We are told that Erin Brockovich has been married and divorced twice, that she had been badly used. But her only behavior that reflects this history is her caution around men. She is hesitant to get close to George too fast - or at least she claims she is hesitant - but we see no real evidence of past trauma. Couldn't director Steven Soderbergh have shot snippets of old fights, or at least provided family photographs of Brockovich's three children with their respective fathers? The film spends more time showing the woman's futile job search than it does explaining why she is the way she is now.
What proves the salvation of Erin Brockovich is the job into which she insinuates herself. Unsuccessful in a lawsuit against a doctor whose Jaguar plowed into her jalopy, Brockovich appears in the office of her lawyer Ed Masry (Albert Finney).  It's a suit against the multi-billion dollar corporation Pacific Gas and Electric, a company that has committed crimes against local populations by contaminating groundwater for decades.
Of course this whole situation reeks of cliché, and the players even refer repeatedly to David and Goliath. But the acting lifts the premise out of the mundane and into the human: we see frailties and platitudes and motives that are believable, and we end up liking all of the main players, even though we might not want them as close friends.
As Ed Masry, Albert Finney may be a bit old, but his facility as an actor convinces us completely. He plays a good foil to Brockovich, rolling with her ego-deflating punches, learning some tact himself from her tactless chidings. Like the other focus characters, Masry's life before the action of the film - and outside the office as well - is kept uncomplicated. We only hear him say, "But I'm married," yet we never meet his wife. Such simplification is not always good, but it does create an emphasis on the action at hand, and evokes chemistry between Roberts and the masterful British actor.
Aaron Eckhart is underused in the picture. George's relationship with Erin causes a certain ambivalence: we want to see more of him, yet we admire the decisions made by screenwriter Susannah Grant, decisions that remove George from the scenes that lead up to the climax. In any case, Eckhart has a sure screen presence, and is certainly cut from the cloth of young leading men.
Do we know enough about the problem that is causing various cancers and other illnesses among the people living near the gas and electric plant? It is explained to us a few times, and thankfully, the explanations do not treat viewers as idiots, as does the scene in ARMAGEDDON in which Billy Bob Thornton moves a space shuttle model around a moon model. Reservations: the business with the trump card, involving Charles Embry, comes too easily; and though it sounds unlikely, the story actually has too few courtroom scenes.
Julia Roberts is a sort of working person's actress. She has created for herself a public persona that is slick and smart, that banters almost spitefully with the press yet offers pleasant interviews. At 32, she's received the highest paycheck for a female lead, a reported $20 million for this outing. That this information is common public knowledge attests to the coverage with which Julia Roberts is swarmed. Like her or not, she is an important force in entertainment; fortunately for the public, her agendas are mature and decent and compassionate. ERIN BROCKVICH shows that she can inhabit a character who is larger than life.
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


The page uses a sidebar template layout which itself includes the base layout showing how you can "compose" templates together in an extending manner.
Below you can find three counters. Each of these are the same included file
but they are provided variables differently to set the starting count value.
The first takes it's value from the template-level variable defined at the top
of the file.
The second is provided a starting point via an attribute.
The third is provided a starting point using a variable tag.
This shows how attributes will override template-level variables.
This is sidebar content injected in through a variable tag.
Even though this content is within the main parsed content it is not included within the content output but instead parsed into a variable.
Variable tags can only be used within a custom template tag.


In this example, an iFrame exposes a sum function that adds two numbers. The host page passes two numbers to the iframe to calculate the result.


Welcome,
Emergency Medication
Fever
Acetaminophen
Aspirin
Barbiturates, Aspirin and Codeine
Colds and Cough
Acetaminophen
Anticholinergics
Dextromethorphan
Headache
Acetaminophen (Fioricet)
Antihistamines
Butorphanol
Nausea and Vomiting
Bismuth Subsalicylate
Hydroxyzine
Nabilone
Bleeding
Antifibrinolytic Agents
Vitamin K
Adrenocorticoids (Topical)
Bites and Stings
Anesthetics (Topical)
Dipyridamole
Ticlopidine
Asthma
Ephedrine
Lincomycin
Ipratropium


HUE: 0

SATURATION: 50

LIGHTNESS: +0


"Stay true to your values. That's why you were a success in the first place, and that's how you make incredible things happen"
Idol Panda, a startup run by a group of visionary students who specialize in various fields like digital marketing, Graphic Designing and audio/video production.
We envision to help out aspiring artists whether they are in the field of Music, dance, photography or anything else. We are trying to get them the deserved recognition by helping out get their talent on various platforms like Youtube, Instagram and Spotify.
We can help out artists in everything Graphic Design, Audio/Video Production and Marketing. We will also distribute your music to 15+ platforms including Spotify, Apple Music, Saavn, YT etc
"How can I be useful, of what service can I be? There is something inside me, what can it be?""
Redefining digital marketing with the influencers that help your brand grow.
Digital media trends across all social media platforms, leave it to us to break the internet.
Our dedicated team will be there 24*7 in every up and every down!
Shaping emerging brands while envisioning their digital growth with potential brand placements.
We tell stories that your audience needs to hear and see. We produce the magic in HD.
Perfect platform for new talents in early stages. we will provide you your due attention!
As a 360° creative media organisation, we ensure that your brand has it all to catch eyeballs
“As our artist’s statement explains, our work is utterly incomprehensible and is therefore full of deep significance”
“Perfection is not attainable, but if we chase perfection we can catch excellence.”
No Upfront fees
Distribute music to 15+ platforms
Get 50% royalty up to 15k Streams
Rigorous Selection procedure
Help in Graphic design and video production
Collaboration with other Artists
Get managed by IDOL PANDA team
Distribute music to 15+ platforms
Get 50% royalty up to 15k Streams
70% afterwards
No Selection Procedure
Help in Graphic design and video production
Collaboration with other Artists
Get managed by IDOL PANDA team
Distribute music to 15+ platforms
Get 95% royalty across all platforms
No selection Procedure
Help in Graphic design and video production
Collaboration with other Artists
Get managed by IDOL PANDA team
Get Started instantly
Audio Production
Video Production
Upload track/album to 15+ platforms
Help in Graphic design and video production
Social Media Management
Get songs on playlists


{% load static %} Say goodbye to the frustration of finding a parking spot! {% csrf_token %} Sign up! Web Enabled Connect from anywhere to find a perfect spot Real Time Updates Featuring 5G powered technology Easy to Use Even Grandma can use it What people are saying... Margaret E. "This is fantastic! Thanks so much guys!" Fred S. "It saves me so much time every day!" Sarah W. "Thanks for making this resource available!" Ready to get started?
Connect from anywhere to find a perfect spot
Featuring 5G powered technology
Even Grandma can use it
"This is fantastic! Thanks so much guys!"
"It saves me so much time every day!"
"Thanks for making this resource available!"


Before Change
grad (dict): {param_name: tensor (contains gradient)}
derivs = {
"loc": be.zeros(self.len)
}
derivs["loc"] = -be.mean(vis, axis=0)
be.add_dicts_inplace(derivs, self.get_penalty_gradients())
return derivs
def rescale(self, observations):
Rescale is equivalent to the identity function for the Ising layer.
After Change
field += be.broadcast(self.int_params.loc, field)
self.ext_params = IsingLayer.IntrinsicParams(field)
def derivatives(self, vis, hid, weights, beta=None):
Compute the derivatives of the intrinsic layer parameters.
Args:
vis (tensor (num_samples, num_units)):
The values of the visible units.
hid list[tensor (num_samples, num_connected_units)]:
The rescaled values of the hidden units.
weights list[tensor, (num_units, num_connected_units)]:
The weights connecting the layers.
beta (tensor (num_samples, 1), optional):
Inverse temperatures.
Returns:
grad (namedtuple): param_name: tensor (contains gradient)
loc = -be.mean(vis, axis=0)
loc = self.get_penalty_grad(loc, "loc")
return IsingLayer.IntrinsicParams(loc)
def rescale(self, observations):
Rescale is equivalent to the identity function for the Ising layer.


org.apache.cocoon.components.language.markup
Class Logicsheet
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.language.markup.Logicsheet
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Loggable
- Direct Known Subclasses:
- NamedLogicsheet
- public class Logicsheet
- extends org.apache.avalon.framework.logger.AbstractLoggable
A code-generation logicsheet. This class is actually a wrapper for
a "standard" XSLT stylesheet stored as trax.Templates
object. Though this will change shortly: a new markup language
will be used for logicsheet authoring; logicsheets written in this
language will be transformed into an equivalent XSLT stylesheet
anyway... This class should probably be based on an interface...
- Version:
- CVS $Revision: 1.3 $ $Date: 2002/01/26 02:12:33 $
- Author:
- Ricardo Rocha, Davanum Srinivas, Ovidiu Predescu
|
Inner Class Summary |
protected class |
Logicsheet.SaveNamespaceFilter
This filter listen for source SAX events, and register the declared
namespaces into a Map object. |
|
Field Summary |
protected java.util.Map |
namespaces
the template namespace's list |
|
Method Summary |
java.util.Map |
getNamespaces()
This will return the list of namespaces in this logicsheet. |
java.lang.String |
getSystemId()
|
javax.xml.transform.sax.TransformerHandler |
getTransformerHandler()
Obtain the TransformerHandler object that will perform the
transformation associated with this logicsheet. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaces
protected java.util.Map namespaces
- the template namespace's list
Logicsheet
public Logicsheet(Source source,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
throws ProcessingException
Logicsheet
public Logicsheet(java.lang.String systemId,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
throws org.xml.sax.SAXException,
java.io.IOException,
ProcessingException
getSystemId
public java.lang.String getSystemId()
getNamespaces
public java.util.Map getNamespaces()
throws ProcessingException
- This will return the list of namespaces in this logicsheet.
getTransformerHandler
public javax.xml.transform.sax.TransformerHandler getTransformerHandler()
throws ProcessingException
- Obtain the TransformerHandler object that will perform the
transformation associated with this logicsheet.
- Returns:
- a
TransformerHandler
value
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.


|
Do you want to help map government finances from all around Africa?
Get involved!
|
A great tool to keep track of government finances all around Africa. How To Use
|
Do you want to help map government finances from all around Africa?
Get involved!
|
A great tool to keep track of government finances all around Africa. How To Use


The domain {{$ctrl.domain}} has requested that you create a decentralized identity.
Email is required.
Email is required to be at least 6 characters.
Email must not be longer than 128 characters.
Passphrase is required.
Passphrase is required to be at least 8 characters.
Passphrase must not be longer than 128 characters.
Passphrase and Confirm Passphrase must match.


>
<
>
stories
guests
<
>
+ Write a story
<
>
<
> <
> published a story <
> shared a story with <
> <
>
<
>
pending
<
> <
> <
>
<
>
Read more...
<
>


Problem Solving
The time I got blocked on a simple problem
What was the problem?
When making the racer game, I really had no idea how to make the HTML page "talk" with the Javascript. I knew about linking the JS file with the script tag but then how to make the Javascript react to keypresses on the browser through the HTML file.
What problem solving techniques did you use?
I tried searching the internet for blogs, articals and tutorials on Javascript-HTML basics
anything that would give me a bit more understanding of thew way the two files function together.
How did you feel throughout the process?
I looked at the ultimate requirements and started braking it down into simpler demands and built it up. So I began by just making the pageload call a function and print a word to the console, then I researched how to make that function call happen on a key press, and added bits in untill I had a good idea of how to work the code.
What did I learn?
Psudocode is your best friend. If your task seems unmanageable brake it down into smaller tasks untill each one is manageable.
The time I solved a problem in an elegant way
What was the problem?
In my racer game i could not for the life of me figure out how to make the little 'racer' square move when a key was pressed.
What problem solving techniques did you use?
I tried googling it but wasnt getting any helpfull answers my my particular requirement, so I went onto a JS forum and posted a question, asking if someone could give me the best code to add a class to an element, once i had that it was easy to figure out the rest based on that.
How did you feel throughout the process?
Trial and error. I read through the answers on the formum and then tried bits and pieces, untill i got the result i was looking for
What did I learn?
How to manipulate CSS settings from Javascript
how confident do you feel using the problem solving techniques and processes
Psuedocode
I am getting quite good at writing Psuedocode but what i am finding is that quite often discover each step is actually far more complicated than I first thought and I end up rewriting it several times
Trying something
I am not very good at this one, most of the time I find I dont know where to begin.
Rubber ducky method
I quite often use a similar method where i explain the code line by line to myself in the hope of having a brain wave. I havent tried trhid with an object, if i could get my rabbit to sit still long enough that might be fun...
Reading error messages
This should be th first option, the one that seems the most likely to yeild answers, but I find them often missleading.
Console.logging
So. Incredibly. Useful. Puting a log in any where gives you an idea of what is actually going on in your code, and results in finding the bugs faster.
Googling
Endless information at your fingertips. Knowing the exact right keyword or phrases to google can present a challange.
Asking your peers for help
Always helpful, everyone seems ok with helping their peers.
Asking coaches for help
I often find it hard to find the right questions to ask, without looking like I'm just trying to get the answer straight out. Ther is no point in just getting the answer i need to ask questions that will help me find the answer on my own.
Improving your process with reflection
I dont fine this one very useful. I often just get stressed out going round in circles
Explain functions
Explain .map()
The map function cycles through items in an array, the function is usually used to make a change to the items in the array so the function usually assigns the array items to another array.
Explain .filter()
The filter function cycles through the items in an array and picks out some of the elements and assigns them into another array. the argumnets passed in decide what items are picked out
Explain .reduce()
The reduce function cycles through the items in an array, and assigns them into a single item varible. To put it into a single item varible it cant be an array anymore, so it is usually used to concatenate strings or sum up numbers.
How does recursion compare to iteration
Personally i find recursion makes your code needlessly confusing.
iteration is far mor straightforward and will make debuggging easier.


# -*- coding: utf-8 -*-
# Copyright 2018 IBM.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# =============================================================================
"""
Methods for chemistry operators objects discovery, registration, information
"""
import os
import pkgutil
import importlib
import inspect
from collections import namedtuple
from .chemistry_operator import ChemistryOperator
from qiskit_chemistry import QiskitChemistryError
from qiskit_chemistry.preferences import Preferences
import logging
import sys
import copy
import pkg_resources
logger = logging.getLogger(__name__)
_NAMES_TO_EXCLUDE = ['_discover_chemoperator']
_FOLDERS_TO_EXCLUDE = ['__pycache__']
RegisteredChemOp = namedtuple(
'RegisteredChemOp', ['name', 'cls', 'configuration'])
_REGISTERED_CHEMISTRY_OPERATORS = {}
_DISCOVERED = False
[docs]def refresh_operators():
"""
Attempts to rediscover all operator modules
"""
global _REGISTERED_CHEMISTRY_OPERATORS
_REGISTERED_CHEMISTRY_OPERATORS = {}
global _DISCOVERED
_DISCOVERED = True
_discover_local_chemistry_operators()
_discover_entry_point_chemistry_operators()
_discover_preferences_chemistry_operators()
if logger.isEnabledFor(logging.DEBUG):
logger.debug("Found: chemistry operators {} ".format(
local_chemistry_operators()))
def _discover_on_demand():
"""
Attempts to discover operator modules, if not already discovered
"""
global _DISCOVERED
if not _DISCOVERED:
_DISCOVERED = True
global _REGISTERED_CHEMISTRY_OPERATORS
_REGISTERED_CHEMISTRY_OPERATORS = {}
_discover_local_chemistry_operators()
_discover_entry_point_chemistry_operators()
_discover_preferences_chemistry_operators()
if logger.isEnabledFor(logging.DEBUG):
logger.debug("Found: chemistry operators {} ".format(
local_chemistry_operators()))
def _discover_entry_point_chemistry_operators():
"""
Discovers the chemistry operators modules defined by entry_points in setup
and attempts to register them. Chem.Operator modules should subclass ChemistryOperator Base class.
"""
for entry_point in pkg_resources.iter_entry_points('qiskit.chemistry.operators'):
try:
ep = entry_point.load()
_registered = False
if issubclass(ep, ChemistryOperator):
register_chemistry_operator(ep)
_registered = True
# print("Registered entry point chemistry operator '{}' class '{}'".format(entry_point, ep))
logger.debug("Registered entry point chemistry operator '{}' class '{}'".format(entry_point, ep))
break
if not _registered:
# print("Unknown entry point chemistry operator '{}' class '{}'".format(entry_point, ep))
logger.debug("Unknown entry point chemistry operator '{}' class '{}'".format(entry_point, ep))
except Exception as e:
# Ignore entry point that could not be initialized.
# print("Failed to load entry point '{}' error {}".format(entry_point, str(e)))
logger.debug("Failed to load entry point '{}' error {}".format(entry_point, str(e)))
def _discover_preferences_chemistry_operators():
"""
Discovers the chemistry operators on the directory and subdirectories of the preferences package
and attempts to register them. Chem.Operator modules should subclass ChemistryOperator Base class.
"""
preferences = Preferences()
packages = preferences.get_packages(Preferences.PACKAGE_TYPE_CHEMISTRY, [])
for package in packages:
try:
mod = importlib.import_module(package)
if mod is not None:
_discover_local_chemistry_operators_in_dirs(os.path.dirname(mod.__file__),
mod.__name__,
names_to_exclude=[
'__main__'],
folders_to_exclude=['__pycache__'])
else:
# Ignore package that could not be initialized.
logger.debug('Failed to import package {}'.format(package))
except Exception as e:
# Ignore package that could not be initialized.
logger.debug(
'Failed to load package {} error {}'.format(package, str(e)))
def _discover_local_chemistry_operators_in_dirs(directory,
parentname,
names_to_exclude=_NAMES_TO_EXCLUDE,
folders_to_exclude=_FOLDERS_TO_EXCLUDE):
for _, name, ispackage in pkgutil.iter_modules([directory]):
if ispackage:
continue
# Iterate through the modules
if name not in names_to_exclude: # skip those modules
try:
fullname = parentname + '.' + name
modspec = importlib.util.find_spec(fullname)
mod = importlib.util.module_from_spec(modspec)
modspec.loader.exec_module(mod)
for _, cls in inspect.getmembers(mod, inspect.isclass):
# Iterate through the classes defined on the module.
try:
if cls.__module__ == modspec.name and issubclass(cls, ChemistryOperator):
_register_chemistry_operator(cls)
importlib.import_module(fullname)
except Exception as e:
# Ignore operator that could not be initialized.
logger.debug(
'Failed to load {} error {}'.format(fullname, str(e)))
except Exception as e:
# Ignore operator that could not be initialized.
logger.debug(
'Failed to load {} error {}'.format(fullname, str(e)))
for item in os.listdir(directory):
fullpath = os.path.join(directory, item)
if item not in folders_to_exclude and not item.endswith('dSYM') and os.path.isdir(fullpath):
_discover_local_chemistry_operators_in_dirs(
fullpath, parentname + '.' + item, names_to_exclude, folders_to_exclude)
def _discover_local_chemistry_operators(directory=os.path.dirname(__file__),
parentname=os.path.splitext(__name__)[0]):
"""
Discovers the chemistry operators modules on the directory and subdirectories of the current module
and attempts to register them. Chem.Operator modules should subclass ChemistryOperator Base class.
Args:
directory (str, optional): Directory to search for input modules. Defaults
to the directory of this module.
parentname (str, optional): Module parent name. Defaults to current directory name
"""
def _get_sys_path(directory):
syspath = [os.path.abspath(directory)]
for item in os.listdir(directory):
fullpath = os.path.join(directory, item)
if item != '__pycache__' and not item.endswith('dSYM') and os.path.isdir(fullpath):
syspath += _get_sys_path(fullpath)
return syspath
syspath_save = sys.path
sys.path = _get_sys_path(directory) + sys.path
try:
_discover_local_chemistry_operators_in_dirs(directory, parentname)
finally:
sys.path = syspath_save
[docs]def register_chemistry_operator(cls):
"""
Registers a chemistry operator class
Args:
cls (object): chemistry operator class.
Returns:
name: input name
Raises:
QiskitChemistryError: if the class is already registered or could not be registered
"""
_discover_on_demand()
if not issubclass(cls, ChemistryOperator):
raise QiskitChemistryError('Could not register class {} is not subclass of ChemistryOperator'.format(cls))
return _register_chemistry_operator(cls)
def _register_chemistry_operator(cls):
# Verify that the pluggable is not already registered
if cls in [input.cls for input in _REGISTERED_CHEMISTRY_OPERATORS.values()]:
raise QiskitChemistryError('Could not register class {} is already registered'.format(cls))
# Verify that it has a minimal valid configuration.
try:
chemistry_operator_name = cls.CONFIGURATION['name']
except (LookupError, TypeError):
raise QiskitChemistryError('Could not register chemistry operator: invalid configuration')
if chemistry_operator_name in _REGISTERED_CHEMISTRY_OPERATORS:
raise QiskitChemistryError('Could not register class {}. Name {} {} is already registered'.format(cls,
chemistry_operator_name, _REGISTERED_CHEMISTRY_OPERATORS[chemistry_operator_name].cls))
# Append the pluggable to the `registered_classes` dict.
_REGISTERED_CHEMISTRY_OPERATORS[chemistry_operator_name] = RegisteredChemOp(
chemistry_operator_name, cls, copy.deepcopy(cls.CONFIGURATION))
return chemistry_operator_name
[docs]def deregister_chemistry_operator(chemistry_operator_name):
"""
Deregisters a chemistry operator class
Args:
chemistry_operator_name(str): The chemistry operator name
Raises:
QiskitChemistryError: if the class is not registered
"""
_discover_on_demand()
if chemistry_operator_name not in _REGISTERED_CHEMISTRY_OPERATORS:
raise QiskitChemistryError(
'Could not deregister {} not registered'.format(chemistry_operator_name))
_REGISTERED_CHEMISTRY_OPERATORS.pop(chemistry_operator_name)
[docs]def get_chemistry_operator_class(chemistry_operator_name):
"""
Accesses chemistry operator class
Args:
chemistry_operator_name (str): The chemistry operator name
Returns:
cls: chemistry operator class
Raises:
QiskitChemistryError: if the class is not registered
"""
_discover_on_demand()
if chemistry_operator_name not in _REGISTERED_CHEMISTRY_OPERATORS:
raise QiskitChemistryError(
'{} not registered'.format(chemistry_operator_name))
return _REGISTERED_CHEMISTRY_OPERATORS[chemistry_operator_name].cls
[docs]def get_chemistry_operator_configuration(chemistry_operator_name):
"""
Accesses chemistry operator configuration
Args:
chemistry_operator_name (str): The chemistry operator name
Returns:
configuration: chemistry operator configuration
Raises:
QiskitChemistryError: if the class is not registered
"""
_discover_on_demand()
if chemistry_operator_name not in _REGISTERED_CHEMISTRY_OPERATORS:
raise QiskitChemistryError('{} not registered'.format(chemistry_operator_name))
return copy.deepcopy(_REGISTERED_CHEMISTRY_OPERATORS[chemistry_operator_name].configuration)
[docs]def local_chemistry_operators():
"""
Accesses chemistry operator names
Returns:
names: chemistry operator names
"""
_discover_on_demand()
return [input.name for input in _REGISTERED_CHEMISTRY_OPERATORS.values()]


The reason I started this project is because I recently had a bad experience flying a quadcopter too far from me until I was not able to distinguish if the quad was facing me or not. It does not require much distance before a quadcopter looks like a tiny black dot in the sky. Basically, I lost orientation of the quad and I had to land way too far from my takeoff location.
I was in need of more tools (or more ways) to help myself when I will inevitably get into this situation again. The following project explains how I build a DIY solution to help a pilot know a quadcopter orientation when its far away from the point of view and easily locate the quadcopter in case of emergency landing.
I have been flying planes for many years now and over time, I learned to increase my skills and I became a nice pilot. I am still new to the RC hobby and I got pulled into flying quadcopters.
Quadcopters are not piloted the same way as planes. They look safer or easier to pilot since you can always slow down and hover if anything gets out of control.
Recently, I had an interesting experience. I was flying my quad for around 3 months and I felt too much confident: I wanted to try doing flips. Coming from a plane world, I though that climbing to a safe altitude would be the best strategy in case something went wrong.
I got carried away and I ended up to a much higher altitude and further away than I was used to. I tried to drop height and drive the quadcopter back to me but it was too late. The wind was so strong that it moved the quad further away and made the quadcopter swirl. I quickly lost orientation of the quad and had no way to bring it back.
Luckily, a more experienced pilot help me get the quadcopter back to a safe landing zone which was 615 meters away from my takeoff location.
It took me 3 hours to locate the landing site and find the quad which was still intact!
I learn multiple things this day:
The DIY solution consist of adding two devices on the quadcopter each device for solving a specific issue.
The first device is a 10 watts light-emitting diode (LED) mounted to the front of the quadcopter. This option adds to existing visual aids and help the pilot to develop his situation awareness. The front LED allows the pilot to know when the quadcopter is facing him and help the pilot recover in case of lost orientation.
This type of LED is quite bright and provides 900 to 1000 lumens of light which makes it a good candidate to be seen from far away.
As an example, here is a picture of the LED mounted to the quadcopter seen from 333 meters away.
[caption id="attachment_2132" align="alignnone" width="373"] Quadcopter 10 watts LED seen from 333 meters away[/caption]To help locate the LED location, here is the same point of view with the LED turned off:
[caption id="attachment_2131" align="alignnone" width="373"] Quadcopter 10 watts LED OFF[/caption]Note that both images are cropped version of the original image which as a much higher field-of-view.
The second device is a 96 decibel (dB) piezoelectric speaker. This allows the quadcopter to be easily found in case of a crash or an emergency landing. For example, if one enter Failsafe mode, the quadcopter can land immediately (or Return To Home but that is out of scope) and there is a good chance that it will be far from your takeoff location. Tracking a beep-beep-beep sound is much more easier than estimating the landing location 1 km away.
There are already tons of existing options for a search alarm buzzer on the market, each with their own pros and cons. Some buzzer must be connected to a dedicated channel and make sound when flipping a switch on your controller. Others must be connected in series with the throttle channel and rings if the throttle signal has not changed for more than 60 seconds.
However, I prefer the DIY way since it gives more personal satisfaction and the selected option is always the preferred one for my personal needs.
With the DIY route, the piezo buzzer is much louder reaching peaks of 96 dB instead of 60-70 dB since the piezo is powered by the LiPo battery (in my case a 3S 11.1 volts) instead of poor 5 volts. The sound volume for piezo buzzer is proportional to the voltage used to power the device meaning that a 4S LiPo battery (14.8v) would make it louder than a 3S LiPo.
What is different about this project is that it includes an arduino nano v3, which is a microcontroller. The arduino act as the brain between the pilot and the on-board devices. It allows control of both the LED and the piezo buzzer by reading the quadcopter's receiver signal and forwarding the pilot commands to each device.
This configuration offers much more possibilities. The most obvious is that each device may not be controlled by the microcontroller instead of a direct channel. This allows advanced logic to be used to implement more features.
As an example, I don't want the LED always turned ON and certainly don't need to have the alarm buzzing during the flight when everything is going well. So I had to come up with a way to control both devices with the transmitter.
The big innovation about this project is that both devices are controlled by the quadcopter transmitter using only a single channel.
As bonus points, with the help of the arduino, the piezo buzzer can be used as a "cellphone ringtone player" to ring the geekiest melodies...
All the hardware components required for this project are available for purchase on eBay.
Note that this project assumes that the arduino will be connected to a Remote Controlled (RC) 6-channels Receiver. This part for the project is then not listed as a 'required' component.
The material for this project is as follows:
The MR16 Constant Current LED Driver is used to drive the 10w LED. It can easily be found on eBay and light stores since the driver is used power LED lamps which happens to use 10w LEDs.
The controller is not cheap but looks like the best logical choice. On a quadcopter, every grams counts and this driver is very light and it is the tiniest form factor circuit that I could find.
I am not that much concerned about power efficiency of the driver since the project is to be mounted to a quadcopter. The small 10w LED is not significant when compared to the 4 brushless motors.
My original design only required a single mosfet and was used as a switch to trigger the MR16 LED driver and a simple NPN Transistor (like the 2N2222A) which was also used as a switch to trigger the piezo buzzer. This setup was working fine on the arduino development board which provides 5 volts. However, once I connected the board to my 3S LiPo battery, which is 11.1 volts, the gate of the 2N2222A started leaking from collector to emitter without a signal sent to the base. The piezo buzzer started ringing without me understanding why.
Please note that your wife may get mad at you if you let the piezo buzzer ring for too long. Better use higher rated transistor!
I used the IRF630N mosfet for driving both the LED and the piezo buzzer. The mosfet is rated for much higher current and voltage (200V, 9.3A) for this scenario but it is relatively cheap and I had plenty of those at home.
CCPM-Servo-Tester
This project is really cheap and can be completed with less than 00$.
Here is the detailed price of each items:
Note that cost of usual items such as screws and glue is not included in the cost of the project.
The whole project can be completed in 4-5 hours.
Once you have all materials
Use the already debugged code.
Testing and proof of concept is already available.
The preparation time is simple. It requires you to evaluate the feasibility of the project by testing the functionality of the remote trigger on your camera. You want to know the behavior of your camera before beginning everything else!
This project also requires you to have soldering skills so your mileage may vary. The duration of this project may change depending on how much you are comfortable with a soldering iron.
The following section shows the drawings and the schematics used by the controller.
All drawings and diagrams are build using Fritzing version 0.9.2b which is an open-source hardware initiative tool that allows developers to document their prototypes and share them with others. The application already features a huge parts library but there is no support for a Generic Remote Controlled (RC) 6-Channels Receiver and for the MR16 Constant Current LED Driver.
The additional parts which are required for rendering the project are available for download:
The project files are also available for download. Click the following link to get the Fritzing project files for this project:
The code on the arduino requires multiple external arduino libraries. The following list shows all required software libraries and their related use as part of this project:
| Name | Version | Usage |
| SoftTimers 5 | v1.1.219 | Required for all computation and handling of the LED's ON and OFF times. |
| RcReceiverSignal 8 | v1.2.203 | Required to read PWM signals sent from the RC Receiver. |
| AnyRtttl 7 | v2.1 | Required to play RTTTL melodies data. |
| PinChangeInt | version 2402 | RcReceiverSignal library has a dependency to PinChangeInt library. |
| eRCaGuy Timer2 Counter | version 20140709 (last updated 9 July 2014) | Required to have a micros() replacement function which has a 1µs resolution instead of 4µs. |
Assembly steps are very simple. Screw, wire everything up, solder and enjoy.
I do recommend that you start with soldering of the audio plug to the cable. This is the easiest part and can be completed quickly.
Final Result
Here is the final result:
[caption id="attachment_535" align="aligncenter" width="474"] DIY Remote trigger shutter release cable for your Canon DSLR camera[/caption]I do not think that I would make anything differently. Everything is pretty much like the way I wanted.
none