1 April 2016
I found chapter 5 of Search Inside Yourself to be the most interesting yet. Handling your emotions through self assessment and self control can be very difficult. The goal is to be in control of the physical responses you experience with emotions.
I loved the Buddha metaphor for this, "like writing on water". Whenever a difficult emotion arises in an enlightened mind, it is like writing on water; the moment it is written, it disappears.
I also found the section on letting go very interesting. The premise of this section is that most unhappiness people experience comes from either grasping, or averting. Grasping is when the mind desperately holds on to something and refuses to let it go. Aversion is when the mind desperately keeps something away and refuses to let it come. These two are opposites of each other. I think this is very true!
The Siberian North Railroad technique resonated with me. Stop, breath, notice, reflect, respond. As someone who has a tendency to lash out under stress, I need to do more of this.
Finally, the Persian poet Rumi on handling all emotions with grace and humour was really cool. Here it is in full:
The Guest House
This being human is a guest house.
Every morning a new arrival.
A joy, a depression, a meanness,
some momentary awareness comes
as an unexpected visitor.
Welcome and entertain them all!
Even if they are a crowd of sorrows,
who violently sweep your house
empty of its furniture,
still, treat each guest honourably.
He may be clearing you out
for some new delight.
The dark thought, the shame, the malice.
meet them at the door laughing and invite them in.
Be grateful for whatever comes.
because each has been sent
as a guide from beyond.
— Jellaludin Rumi,


Freddie Kitchens Was Asked If Myles Garrett Was ‘Provoked’
by Tzvi MachlinCleveland Browns defensive end Myles Garrett is personally meeting with NFL officials to appeal the indefinite suspension he got for swinging a helmet at Mason Rudolph.
The issues has been divisive, but Garrett has not been lacking for allies.
Browns head coach Freddie Kitchens can count himself among Garrett’s supporters, though. He was asked on Monday if he felt that Garrett was “provoked” by the Steelers quarterback.
But rather than directly answer the question, Kitchens directed skeptics to view the tape. Kitchens said that he is “here to support Myles” and maintains that Garrett is a good person and “part of our family.”
“Everybody here saw the tape. You saw the tape. I’m here to support Myles. Myles is a good person. He’s part of our family”
In the waning seconds of Thursday night’s game against the Steelers, Garrett wrestled Rudolph to the ground on a passing play.
There was a scrum while they were on the ground and Garrett emerged from the pile with Rudolph’s helmet. When Rudolph charged at Garrett, the Browns pass rusher swung it, grazing the quarterback’s head.
That action caused a small brawl to erupt onto the field that resulted in several suspensions on both teams.


Sign up on Product Hunt
Join Our Community of friendly folks discovering and sharing the latest products in tech


I enjoy bringing mindfulness to corporate environments. I also offer private yoga sessions.
I enjoy working with mothers from all walks of life. I focus on postpartum and prenatal practice.
I speak on the importance of self care through mindfulness, nutrition, and holistic health.
I was featured in Yoga Teacher Magazine and The Native Society.
"Sara leads the best yoga practices that I've ever attended. She can modify her class to challenge 20 year olds and 80 years alike. Sara teaches her students about their bodies while challenging everyone individually to reach personal goals. Even in a group class, you feel like you've had a private session. I've taken yoga classes in Austin, Denver, and New Orleans and Sara is heads above others." - Sherilyn Underwood
"Sara has helped me heal through private lessons. She is patient, confident, and knowledgable. I feel her passion every time I meet her on the mat. She has helped me tailor my practice to my body and cope with chronic pain." - Jordan Roman
If you are interested in booking a corporate/private yoga session or speaking engagement, please email me<EMAIL_ADDRESS>If you are interested in learning more about my wellness philosophy, please see my portfolio of writing:
sarakleinsmith.com


Like you, we love listening awesome music on the web.  Crate.ly is built for you.
Crate.ly is designed to help you collect any audio from streaming websites. Use it as the unique place to "crate" any songs, podcasts, interviews, samples, etc.
Starting with the biggest audio sharing platform in the world, SoundCloud was the obvious first choice. YouTube and more audio streaming platforms will added soon.
If you have a question or suggestion (no matter how small), there's somebody behind Crate.ly, so please get in touch:


Tweetalyze
Wide Mode
Chart Builder
Sample
X
Time
Unitless
Likes
Retweets
Length
Sentiment
Y
Likes
Retweets
Length
Sentiment
Bar
Line
Histo
Lines
Markers
Both
Linear
Spline
Bell Curve
3° Poly Trend


Jio Channel List
Channel No.
Resolution
Logo
Channel Name
Play
{% for channel in channels %}
{{ channels[channel]['channel_id'] }}
{{ "HD" if channels[channel]['isHD']==True else "SD" }}
{{ channel.replace("_"," ") }}
Play
{% endfor %}


{% extends "utils/layout.html" %} {% block body %}
Please use your WRDSB email!
By continuing, you agree to the Privacy Policy and Terms of Service.


Toggle navigation
Back Hacks
Our Mission
Discussions
Submit
{# this if statement shows different links based on if logged in or not#} {% if session.logged_in %}
Dashboard
Logout
{% else %}
Login
Register
{% endif %}
{#container ends here#}
{#the include allows for flash messages to work#} {% include 'includes/_messages.html' %} {% block body %}{% endblock %} {#possibly wrong to put this here?#} {##}


F&F house of guns provides various weapons which includes close range beasts, mid-range lethal weapons and long range DMR and bolt action riffles and ammunition too.
Shop By CategoriesF&F house of guns provides customized gun skins. We have mastered our skills in this field over the past couple of years and are overwhelmed by the response of our beloved customers!!
Make a reservationAK47
The AK-47, officially known as the Avtomat Kalashnikova, is a gas-operated assault rifle that is chambered for the 7.62×39mm cartridge.
GROZA
The OTs-14 Groza is a Russian selective fire bullpup assault rifle chambered for the 7.62×39 round and the 9×39mm subsonic round.
HK416
The Heckler & Koch HK416 is a gas-operated assault rifle that is chambered for the 5.56x45mm NATO cartridge.
AWM
Arctic Warfare Magnum is a bolt-action sniper rifle manufactured by Accuracy International designed for magnum rifle cartridges.
MK14
The Mk 14 Enhanced Battle Rifle (EBR) is an American military selective fire battle rifle chambered for the 7.62×51mm NATO cartridge
UZI
The Uzi is a family of Israeli open-bolt, blowback-operated submachine guns. It is one of the first weapons to incorporate a telescoping bolt design.
The KRISS Vector series is a family of weapons based upon the parent submachine gun design developed by KRISS USA.They use an unconventional delayed blowback system combined with in-line design to reduce perceived recoil and muzzle climb.
The M249 light machine gun (LMG), also known as the M249 Squad Automatic Weapon (SAW), which continues to be the manufacturer's designation[3], and formally written as Light Machine Gun, 5.56 mm, M249, is the American adaptation of the Belgian FN Minimi, a light machine gun manufactured by the Belgian company FN Herstal (FN).
The Heckler & Koch G36C is the variant of the Heckler & Koch G36 rifle. The G36 are 5.56×45mm assault rifles.It was developed for special tactical applications by police and military special forces.
The Uzi is a family of Israeli open-bolt, blowback-operated submachine guns.The Uzi has found use as a personal defense weapon by rear-echelon troops, officers, artillery troops, and tankers, as well as a frontline weapon by assault forces.
F&F house of guns are well knowned for their reputation in market. We provide best quality products and are known for their gesture towards their customers. We provide best after sales service.
About UsCopyright @ 2020 F&F House OF Guns.CO. All Rights Reserved


My Docs
Shared Docs
Account
{{row.name}}
{{row.lastedit}}
{{row.creation}}
foo
{{selected}}
bar
Lqre
© {|date|} Website content and images protected by Australian Copyright Law


Delicious
THE BEAST FOOD BLOG ON THE WEB.
Chocolate Pizza
PPSTED ON 15 DEC 2013 / DESSERTS
For the fig-swirl: Melt butter over medium heat in a saucepan. Add brown sugar and stir to dissolve. Halve all of the figs and toss in the saucepan with water and lemon juice. Cook over medium heat, stirring frequently, until you have a chunky-jammy mixture. Add salt with one or two stirs, set aside and let cool completely.
Ice cream: In a small pot over medium heat, combine milk, and granulated sugar until sugar is completely dissolved and the milk is just barely lukewarm. Whisk in the egg yolks. Set mixture in the fridge and wait until the fig mixture is cooled.
Using an ice cream machine, pour liquids into the frozen basin and process according to manufacturer instructions, i.e., let spin and thicken for 20 minutes before adding mascarpone, fig jam mixture, and the nuts. Continue to process for +/-10 minutes. Pour semi-frozen mixture into a pyrex dish or glass tupperware. Freeze for at least two hours before serving.
Vanessa Stevenson
Food enthusiast . photography fan . Add a pinch of raw foodism and thats pretty much who I am .


Using the chain-rule, the spatial gradient ∂fp∕∂x is written
|
| (16) |
From the deﬁnition of X, Eq. (8), we obtain
|
| (17) |
where I is the unit dyad. From the deﬁnition of 𝜀, we obtain
|
| (18) |
where E0 = −∂Φ0∕∂x. Using the above results, equation (16) is written as
|
| (19) |
As mentioned above, the partial derivative ∂∕∂x is taken by holding v constant. Since B0 is spatially varying, v⊥ is spatially varying when holding v constant. Therefore and are generally nonzero. The explicit expressions of these two derivatives are needed later in the derivation of the gyrokinetic equation and is discussed in Appendix G.
For notation ease, deﬁne
|
| (20) |
and
|
| (21) |
then expression (19) is written as
|
| (22) |


Info
×
Azure Blob Storage FTP Server
User
Folder
RO001
/ftp/ftp-files/staging/RO001
Delete
Change Password
Create new user:
New user is supervisor
Create
Change
Cancel


Reply to this answer:
{{clipper_url_form.user_comments}}
Cite a source for this reply (enter a URL):
{{clipper_url_form.url_field}}
{% csrf_token %}


by Doug J. Cooper (bio) .
Advertisement
Simplify PID Control; Optimize Plant Performance » Learn More
Enjoy science fiction stories of action & adventure? » Read Crystal Deception by Doug J. Cooper


Response: Because by your holy cross you have redeemed the world
FROM THE GOSPEL OF ST. JOHN (Chapter 19)
Pilate sought to release him, but the Jews cried out, ‘’If you release this man, you are not Caesar friend; everyone who makes himself a king sets himself against .’’ When Pilate heard these words, he brought Jesus out and said to the Jews ‘’Here is your king! They cried out ‘’Away with him, away with him, crucify him!’’ Pilate said, Shall I crucify your King?’’ The chief priests answered, ‘’We have no king but Caesar! ’’ Then he handed him over to them to be crucified.
CHRIST SPEAKS:
In Pilate hands, my friend, I see my father’s will. It is true that Pilate is unjust, but he is the lawful governor and he has power over me.  If I will bow to Pilate’s will, can you refuse obedience to those whom I have placed over you?
MAN RESPONDS:
Lord Jesus, obedience cost you your life for me, it costs an act of will no-more and yet, how hard it is for me to bend.
Remove the blinders from my eyes that I may see that it is you whom I obey in all who govern me. Lord it is you.
Kneel: Our Father, Hail Mary, Glory be to the Father
V. Have mercy on us, O Lord R. Have mercy on us.
HYMN:
At the Cross her station keeping
Stood the mournful Mother weeping
Close to Jesus to the last.
?
|


{% extends "layout.html" %} {% block title %}CTF Design{% endblock %} {% block content %}
The game is played within a VPN in the <IP_ADDRESS>/16
subnet. Each team has its own vulnerable machine located at 10.0.<team_id>.1
, while players connecting to the VPN network are assigned an ip in the range 10.0.<team_id>.150 - 10.0.<team_id>.200
. VMs can be accessed also via the DNS name team<team_id>
.
The manager machine is responsible for dispatching flags to the vulnerable machines, checking services integrity, hosting the scoreboard (this website) and updating scores.
Players are not allowed to attack each other (e.g., you can't break into rivals' laptops). The only permitted attack targets are the vulnerable machines. Teams have limited Internet access to install new software on the VM, if needed. Beware that if you mess up your vulnerable machine, all we can do is reset it to its original state (backup your exploits and patches!).
The game is divided in rounds having the duration of {{ config.ROUND_DURATION }} seconds. At the beginning of each round, a bot will renew all the flags in your vulnerable machine. Moreover it will check the integrity of services several times in a round by interacting with them and by retrieving the flags through legitimate accesses. Please do not remove the 3 ssh public keys listed below from /root/.ssh/authorized_keys
otherwise your services may result inaccessible to the checkbot.
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAhsiDAURnGrsGf0D64FBxf8Q2Jo7TwcCj0v9q5sjkUT<EMAIL_ADDRESS>ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF2fiOwOSl52KZN43OimLmAN9K4WEr6Q8Y6V/l8VUMmH<EMAIL_ADDRESS>ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAeucSxnCytqrbLYJf85t+Orl92nOaeFVrr1ChGuW8NO root@router
Your team gains points by attacking other teams and defending its own vulnerable machine. For each valid flag submitted by your team, the attack score is increased. On the other hand, you lose defense points for each attack inflicted to your vulnerable machine. For each service, the defense points are multiplied by an integrity factor, defined as the ratio of number of successful checks and the total number of checks performed by the integrity bot during a single round. If the integrity factor is below the threshold of 0.8
, the service is marked as corrupted and your team gains 0 points in that round which is equivalent to being attacked on that particular
service by all teams. Note also that a flag of a given service can be submitted only if the corresponding service on your vulnerable machine is not corrupted.
To recap, the scores of a service in a round are computed according to the following formulae:
attack = #attacks
integrity = #successful_checks / #checks
defense = (0 if integrity < 0.8 else integrity) * (#teams - 1 - #attacks_received)
A flag is considered valid if it has been dispatched by the flagbot in the current round. Old flags are discarded by the flag submission system. The total score of each team is given by 0.6 * attack + 0.4 * defense
, where attack and defense are expressed as a percentage of the best scores achieved among the teams.
Please notice that services may (or may not) include multiple vulnerabilities. Do not stop the security analysis of applications after finding the first simple issue. Complex vulnerabilties have an higher chance of being left unpatched.
A flag is a string made up of {{ config.FLAG_PREFIX }}
, followed by {{ config.FLAG_LENGTH }}
random characters in the set {{ config.FLAG_CHARS }}
, ending with {{ config.FLAG_SUFFIX }}
. It is matched by the regular expression {{ config.FLAG_REGEXP }}
.
To manually submit a flag, click on the flag submission service entry in the top-right menu and enter the flag in the provided form. During the CTF, anyway, you may want to automatically submit flags in order to keep the exploitation going while you are not connected. To do so, you can submit stolen flags by performing an HTTP POST request to {{ url_for('submit') }}
. The request must contain the keys flag
and team_token
, where the values of the first entry is the stolen flag and team_token
is a string that allows the server to identify your team. The token of your team can
be found in the team page. Important: do not perform user authentication whilst submitting flags, this is not needed and may overload our servers.
As an example, we provide a simple python snippet that accounts for the submission of an hardcoded flag.
#!/usr/bin/python
import requests
url = 'http://<IP_ADDRESS>/submit'
team_token = '<insert your token here>'
stolen_flag = 'dctf{qwertyuiop123456789asdfg}'
r = requests.post(url, data={'team_token': team_token, 'flag': stolen_flag}, verify=False)
Below, you'll find the current list of rules. These may change as more issues are raised by the participants. Also, the organizers have the right to change any rule (as well as the structure of the competition) at any time. Keep in mind that it is not possible/feasible to list all the rules and the exceptions to rules that apply to the CTF competition. When in doubt, use common sense or ask to us.
Before attempting to break one of the aforementioned rules, remember that all the traffic generated within the VPN network is logged. Vaporizing a team is just one click away.


This page tests the createOffer()
method. It creates a peer connection, then prints out the SDP
generated by createOffer()
, with the number of desired audio MediaStreamTrack
s and the
checked constraints. Currently, only audio tracks can be added, as there is no programmatic way to generate
video tracks. (Web Audio is used to generate the audio tracks.)


Polarization.initialize¶
-
oct.Polarization.
initialize
(self, data=None, settings=None)¶ Initialize the PS portion of the reconstruction with desired settings .. note:
This needs to be cleaned up once the dllsettings.ini file has been updated PS reconstruction is not something that is always required, so it is kept seperate from regular normalization.
- Parameters
data (object) – Support and raw data holder
binFract (int) – fraction of spectral fringe in each bin
xFilter (int) – filter size applied across alines at beginning of ps computation
zFilter (int) – filter size applied along alines at beginning of ps computation
oopFilter (int) – filter size applied across frames at end of compute tomogram for SV1 + SV2
maxRet (int) – normalization factor for the maximum retardance
zOffset (int) – offset in Z over which to compute retardance, ie. the “self.settings[‘zOffset’]”
zResolution (int) – resolution of system in Z
dopThresh (int) – the lower bound of the DOP threshold (upper bound is always 1)
overwriteSettings (int) – allows the overwriting of file initialized settings


{% extends "base.html" %} {% block content %} {% load addcss %}
Please enter (and confirm) your new password.
The password reset link was invalid, possibly because it has already been used.
Please request a new password reset.
{{error}}


| DOSE: T+ 0:00 |
80 mg |
oral |
2C-T-7 |
(powder / crystals) |
| T+ 1:30 |
40 mg |
insufflated |
2C-T-7 |
(powder / crystals) |
| T+ 1:30 |
30 mg |
oral |
2C-T-7 |
(powder / crystals) |
[Erowid Note: 150 mgs of 2C-T-7 is considered an extremely high dose, see 2C-T-7 Dose Chart. Warning: There have been several reports of deaths from 2C-T-7, and many reports of severe dissociation and vomiting (a dangerous combination) after both oral and insufflated use. Insufflating 2C-T-7 has lead to at least 2 deaths.]
I would first like to mention that this trip and trip report took place and was written over 6 months ago, I have since edited it a bit. At the time of this trip I wasn’t in the best set because of a recent drug trafficking arrest a week prior. Anyway I found 2 capsules in my room that I remember scaling and packing 40mg of 2c-t-7 into each. Remembering my previous experience with 80mg, I decided that this would be more than a good enough dose for a strong trip considering I hadn’t tripped in about a week.
I swallowed both the capsules and within 20 or 30 minutes I started to feel the anxious and weird body sensations of a classic onset. This remained and no psychedelic effects started even an hour after that, and I decided that for whatever reason I wasn’t going to get any real effects from that dose, So I dumped just about all the 2c-t-7 I had left on my scale and it got up to 70mg. A good portion of the powder had missed the scale platform and fell onto my desk. I put all the powder on the scale and my desk into a pile and proceeded to rail about 2/3 of it. I capsuled and swallowed the rest. This was a mistake because as I was doing that, the 80mg I ate earlier had really taken effect. After a few minutes the usual 2c-t-7 nasal discomfort set in and this left me in quite a bit of pain, as well as a near crippling nausea. After 20 or so minutes the nasal pain started to die down and the nausea was still there just bearable.
I started to notice quite different visuals then I normally see with t7. Everything seemed to be vibrating in an extremely rapid and exaggerated amount, this vibrating effect was so powerful that it started to hinder my sight. I closed my eyes and fell into an extremely deep trance very quickly, I felt like I was one with my environment and all of its energy was flowing through into me as we merged.
I popped out of that feeling with a radiance of glowing positive energy around me. It was hard to walk, I was stumbling, my body felt drunk and off balance.  My conversations with him were very intermittent for awhile and I joined an instant messaging chat room with a bunch of people I knew online who were also very inebriated. During my time in this chat I had a very hard time staying with the flow of conversation and comprehending what people were saying. I had a lot of trouble reading the words due to the nature of the visuals.
I also had a really hard time making out the objects in my room. My room was being filled with fractal patterns that would float through the air. A lot of these fractal patterns started off as geometric psychedelic texture patterns on objects that would just fly off, most of them seemed to just come out of nothing. These patterns started to merge and float into me and I felt their energy and power. The chat started to be too much for me so I left it.
I guess the oral dose I took when I snorted the second dose of t7 took effect at this point because a forced dissociation overtook my body and mind next. I started becoming very heavy, and my vision started to darken. I became so heavy I could barely move and I could barely see and I almost felt like I was “leaving”. I noticed there was a chat window open for one of my really good friends and I managed to type in “I think I am dead” and as I hit enter I became completely paralyzed and my vision blacked out. When I regained vision everything in my room faded into a white never ending abyss or a void, all that was left was me, my chair, my desk, and my computer monitor, and I couldn’t move or even breathe at all.
The white abyss had some static like light flicking around in the air. The scene was very similar to the loading screen in the video game Assassins Creed. There was a similar environment on my computers monitor. Something was wrong with “time” it seemed to be no longer linear; it seemed to slowly play and hop or loop back to a point over and over again. My thoughts came on very slow and simple, they were more simple nature then cognitively ego provoke.
Repeatedly I heard and felt the words “Secrets, Love, and God” slowly from this very deep, mystical, and ancient voice. I was at first fearful that I was dying or was already dead. At the same time I was extremely euphoric and at peace, if indeed I was dead or dying I was accepting it with subtle curiosity and excitement. Time seemed to continue to overlap itself repeatedly, and I felt the strong presents of an otherworldly being trying to communicate with me, I faintly remember an “entity” emerging from the white ground sort of in front of me, but my memory keeps me from remembering anything further, I just remember the aura that surrounded it and uplifted it slowly.
The abyss started to clear up back into my just about un-recognize able room, and I was out of the paralysis. My body continued to feel very heavy for a few minutes. I was now in a state of hardcore delirium, and I started to experience small bursts of unprovoked negative vibes. My friend saw the message I sent and logged into the chat and asked me what I meant. I told him I was tripping really hard and that I ok. He told me he was going to move into a different channel to talk and play an online video game with another friend of mine and that he would be back.
I began talking to my Swedish friend again. I was using a very empty, emotionless, and blank tone of voice when I spoke. My Swedish friend sent me a video link to his brother’s reggae band. The reggae music I was listening to sounded alien like and otherworldly. While talking to my friend I was put under the impression that he was controlling my mind and that he used that video as some sort of voodoo link to do it. The things he would say greatly affected my world. I remember part of our dialog going something like
Friend:”you want it to stop?”
Me:”yes please…”
Friend: “Consider your mind unfucked”
And as soon as he said that my delirium for a short time was greatly lifted from me, but it was still overpowering.
He sent me another video of his brother’s band playing at a show in the middle of a jungle in Sweden. There was a man singing in Swedish with his brother’s band playing reggae and I was under the impression that it was psychedelic trance. I actually remember thinking “wow this Swedish guys really know how to make some crazy complex and trippy psy-trance”. The song quickly rose in intensity (in my head) and on the screen a solid aura of purple, black, and green swirled around the vocalist. The vocalist and the aura began to grow out of my screen into my room. My room started to shake very intensely like an earthquake, and it started knocking things down. I was very afraid. As this happened our dialog went something like,
Me:”Please Stop”
Him:”You don’t like?”
Me:”No stop it stop it”
It quickly grew very large and I managed to stop the video. I was in a very bad place mentally now. I was trying to play his game and do what he said because I thought this was the only way out. I eventually started begging for him to stop and to leave me alone; he was very confused and replied “stop what?”
My friend that previously came in to ask me if I was ok had rejoined the voice chat (We’ll call him Friend A) and also brought another friend of mine(Friend B). Friend B did now know how to talk to someone having a difficult psychedelic experience and he just added to my negative vibe. I felt like I wasn’t communicating properly to Friends A and B that I needed help and was not ok anymore but I eventually made it clear.
I kept loosing sense of reality; I did not know what was going on. I needed repeated reality checks from friend A. Friend B was making me feel uncomfortable, so I told Friend A that friend B was not helping and friend B eventually left. Now it was just friend A and my Swedish friend. It is a good thing friend A had joined in because he is another experienced tripper and is very intelligent and is someone who I trust a lot so this really helped me.
They were both just trying to talk me down while I tried my hardest to keep a grip on my mind. The drug’s effects on me seemed to be still increasing in strength. I constantly felt like I was not in control. I had a strong fear that I would go into the unresponsive stage of psychedelic delirium that I have from time to time seen in other people. I felt I was very near that point of going crazy and losing control and getting into some real trouble.
I really had to go the bathroom but I was very afraid of leaving the comfort of my room, outside it might not be the least bit stable for me. Also I feared as soon as I let the shelter of my room I would lose myself and get into trouble. I discussed this with my friends for what seemed like hours, friend A advised that I piss in an empty water bottle and hide it till I come down after hearing my fears. For some reason I got the idea that friend A was only telling me this because it was some sort of funny prank on me, I felt very split because I didn’t know if I should trust him or he was just out to get me, which is very weird because friend A happened to be one of my best friends and very trustworthy person.
I decided to take the risk, and stumble to the bathroom as quietly as I could to avoid confrontation with anybody. I made it but I could not go at all, I stood there for what seemed like ever, although my sense of time was completely distorted so I don’t know if it was even a long time at all. I eventually gave up in frustration and crept back into my room and to my distress as soon as I got to my room I had to take that piss.
I continued talking to my friends.  I quickly shook it off and jumped back. They disappeared. I know repeatedly heard voices, calling to me, but there was no general language being used. I kept seeing shadowy figures gliding past me. At one point I felt the presents of my father behind me and suddenly I felt and saw his hands on my shoulders, and he says “ohh Tyler” in disappointment. I noticed my door had never opened so no person could have really entered my room.
I accidently closed the chat on my computer, and felt alone and panicked. It took me a few minutes to get open again, not because I couldn’t locate the program’s shortcut, I knew where it was. I couldn’t really see the mouse; I would have to put my face right up to the part of the screen where the mouse was and slowly guide it. I finally got it back up and into the channel my friends were in but there was a problem, I could hear them but they could not hear me. Friend A instant messaged me and the box popped up for me. I was able to communicate to him through that while he verbally tried to guide me through the process of fixing my microphone so that he could hear me But never to any avail.
 A couple of times I heard the bathroom door down the hall from my room open and close, meaning someone else in the house was awake. I was so afraid of confrontation because I felt I was on the verge of losing control and confrontation with anyone would have most likely ended up in a trip to the hospital due to the dysfunctional maniac nature of ego.
I felt an intense fear growing through the whole night, eventually it got to me. Something spooked me and I got in bed right away and hid under the covers shaking in fear. I verbally begged to god (which is interesting because I am atheist) to let me come out of the experience ok, and that I would never do drugs again if I did. I laid there for what seemed like forever.
I eventually felt it was safe and got back on my computer. Slowly I started to come out of the delirium and into just a very strong trip. I was able to then fix my microphone right away, and successfully went to the bathroom. I spend the rest of my trip explaining to my two friends what was going on in my world earlier in the night and thanking friend A for sticking with me over the course of the night seeing how it had trailed onto past sunrise.
Towards the end of the trip I was tired like I usually am after t7, sleeping was moderately easy. I woke up with nausea and really tense muscles. My feet were sore and swollen and slightly bruised looking and I had to walk with a limp (Another very high dose of 2c-t-7 caused this for me too). I was way off baseline the entire next day, more so then the usual powerful trip. I do not remember a lot of the experience for some reason, which is unfortunate.
I faintly remember having multiple forced dissociative experiences like the one that left me paralyzed and thinking I was dead. This trip was finally the trip I was waiting for, after all the doses and combo’s I had consumed this was the one that finally put me in my place and taught me to be careful and respect psychedelics and body. I really wish I have mentally prepared myself for that experience and kept a clear set. I really should have just gone into a trance and stayed off of communication on the computer, that trip had a lot of potential.
I would not recommend this dose of 2c-t-7 to anyone; the strong delirium and forced dissociation could be very dangerous. Although it was horrifically frightening, and probably the biggest mental struggle I have ever had, I would not take that experience back.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends 'home/base.html' %} {% load static %} {% block head %}
The password reset link was invalid, possibly because it has already been used. Please request a new password reset.


He uri tenei no Te Tau Ihu ō Te Waka-o-Māui.
Ko te Tapuwae ō Uenuku, ko Tokomaru ōku maunga.
Ko Wairau tōku awa.
Ko Raukawakawa tōku moana.
Ko Tainui, ko Kurahaupo ōku waka.
Ko Ngāti Rarua, ko Ngāti Kuia, ko Rangitāne ōku iwi.
Ko Te Arawaere, ko Paretona, ko Pareteata ōku hapū.
Ko Wairau Pā tōku marae.
With this site I will be updating the look, feel, and functionality regularly until it is at a point
of which I am satisfied.
I hope you enjoy my site and I can keep it interesting.
Ngā mihi - Uira.


| Total net profit | 1.03 | Gross profit | 3.32 | Gross loss | -2.29 |
| Profit factor | 1.45 | Expected payoff | 0.03 | ||
| Absolute drawdown | -0.77 | Maximal drawdown (%) | 0.53 (-220.83%) | ||
| Total trades | 31 | Profit trades (% of total) | 23 (74.19%) | Loss trades (% of total) | 8 (25.81%) |
| Long positions (won %) | 12 (91.67%) | Short positions (won %) | 19 (63.16%) | ||
| Largest | profit trade | 0.38 | loss trade | -0.34 | |
| Average | profit trade | 0.14 | loss trade | -0.29 | |
| Minimum | profit trade | 0.03 | loss trade | -0.08 | |
| Maximum | take profit in pips | 34.3 | stop loss in pips | -36.0 | |
| Average | take profit in pips | 14.4 | stop loss in pips | -28.0 | |
| Minimum | take profit in pips | 2.3 | stop loss in pips | -12.1 | |
| Maximum | Reward-Risk | 2.0 | Duration in minutes | 1578 | |
| Average | Reward-Risk | 0.6 | Duration in minutes | 315.0 | |
| Minimum | Reward-Risk | 0.1 | Duration in minutes | 1 | |
| Maximum | consecutive wins (profit in money) | 6.0 (1.1) | consecutive losses (loss in money) | 2.0 (-0.64) | |
| Average | consecutive wins | 3.0 | consecutive losses | 1.0 |
| Total net profit | 1.35 | Gross profit | 1.68 | Gross loss | -0.33 |
| Profit factor | 5.09 | Expected payoff | 0.11 | ||
| Absolute drawdown | 0.17 | Maximal drawdown (%) | 0.33 (26.19%) | ||
| Total trades | 12 | Profit trades (% of total) | 11 (91.67%) | Loss trades (% of total) | 1 (8.33%) |
| Largest | profit trade | 0.38 | loss trade | -0.33 | |
| Average | profit trade | 0.15 | loss trade | -0.33 | |
| Minimum | profit trade | 0.05 | loss trade | -0.33 | |
| Maximum | take profit in pips | 34.3 | stop loss in pips | -35.5 | |
| Average | take profit in pips | 14.9 | stop loss in pips | -30.4 | |
| Minimum | take profit in pips | 4.3 | stop loss in pips | -22.4 | |
| Maximum | Reward-Risk | 1.1 | Duration in minutes | 1578.0 | |
| Average | Reward-Risk | 0.5 | Duration in minutes | 437.7 | |
| Minimum | Reward-Risk | 0.1 | Duration in minutes | 17.0 | |
| Maximum | consecutive wins (profit in money) | 8.0 (1.26) | consecutive losses (loss in money) | 1.0 (-0.33) | |
| Average | consecutive wins | 8.0 | consecutive losses | 1.0 |
| Total net profit | -0.32 | Gross profit | 1.64 | Gross loss | -1.96 |
| Profit factor | 0.84 | Expected payoff | -0.02 | ||
| Absolute drawdown | -1.05 | Maximal drawdown (%) | 0.74 (-238.71%) | ||
| Total trades | 19 | Profit trades (% of total) | 12 (63.16%) | Loss trades (% of total) | 7 (36.84%) |
| Largest | profit trade | 0.28 | loss trade | -0.34 | |
| Average | profit trade | 0.14 | loss trade | -0.28 | |
| Minimum | profit trade | 0.03 | loss trade | -0.08 | |
| Maximum | take profit in pips | 26.6 | stop loss in pips | -36.0 | |
| Average | take profit in pips | 14.1 | stop loss in pips | -26.5 | |
| Minimum | take profit in pips | 2.3 | stop loss in pips | -12.1 | |
| Maximum | Reward-Risk | 2.0 | Duration in minutes | 1094.0 | |
| Average | Reward-Risk | 0.6 | Duration in minutes | 237.5 | |
| Minimum | Reward-Risk | Duration in minutes | 1.0 | ||
| Maximum | consecutive wins (profit in money) | 4.0 (0.45) | consecutive losses (loss in money) | 2.0 (-0.64) | |
| Average | consecutive wins | 2.0 | consecutive losses | 1.0 |


{{site.user_description}}
Developed Computer vision applications in both Python and C++. Embedded firmware development using C and Python
Mumblecore hexagon kombucha, pitchfork four loko raclette intelligentsia master cleanse. Vinyl XOXO lumbersexual
Mumblecore hexagon kombucha, pitchfork four loko raclette intelligentsia master cleanse. Vinyl XOXO lumbersexual


Introduction
PageCompiler is a command line tool that translates HTML files (and other kinds of files) into C++ code, more precisely, subclasses of Poco::Net::HTTPRequestHandler. The source files can contain special directives that allow embedding of C++ code. The syntax of these directives is based on the syntax used for Java Server Pages (JSP) and Active Server Pages (ASP).
The following introductory sample shows the code for a simple page that displays the current date and time.
<%@ page class="TimeHandler" %> <%! #include "Poco/DateTime.h" #include "Poco/DateTimeFormatter.h" #include "Poco/DateTimeFormat.h" using Poco::DateTime; using Poco::DateTimeFormatter; using Poco::DateTimeFormat; %> <% DateTime now; std::string dt(DateTimeFormatter::format(now, DateTimeFormat::SORTABLE_FORMAT)); %>   <title>Time Sample</title>
Time Sample

<%= dt %>

Sending the above code to the page compiler will generate two files, a header file (TimeHandler.h) and an implementation file (TimeHandler.cpp). The files define a subclass of Poco::Net::HTTPRequestHandler named TimeHandler. The generated handleRequest member function contains code to send the HTML code contained in the source file to the client, as well as the C++ code fragments found in between the Scriptlet tags.
C++ Server Page Syntax
The following special tags are supported in a C++ server page (CPSP) file.
Hidden Comment
A hidden comment documents the CPSP file, but is not sent to the client.
<%-- <comment> --%>
Implementation Declaration
An implementation declaration is copied to the implementation file immediately after the block containing the standard #include directives. It is used to include additional header files and using declarations, as well as to define classes needed later on.
<%! <declaration> ... %>
Header Declaration
A header declaration is copied to the header file immediately after the block containing the standard #include directives. It is usually used to include the header file containing the definition of the base class for the request handler, if a custom base class is required.
<%!! <declaration> ... %>
Expression
The result of any valid C++ expression can be directly inserted into the page, provided the result can be written to an output stream. Note that the expression must not end with a semicolon.
<%= <expression> %>
Scriptlet
Arbitrary C++ code fragments can be included using the Scriptlet directive.
<% <statement> ... %>
Pre-Response Scriptlet
This is similar to an ordinary scriptlet, except that it will be executed before the HTTP response is sent. This can be used to manipulate the HTTP response object.
<%% <statement> ... %>
The main feature of this directive is that it allows to send a redirect response to the client if a certain condition is true.
Example:
<%% if (!loggedIn) { return response.redirect("/"); } %>
Include Directive
Another CPSP file can be included into the current file using the Include Directive.
<%@ include page="<path>" %>
C++ Header Include Directive
Include a C++ header file in the generated header file.
<%@ header include="<path>" %>
This corresponds to:
<%!! #include "<path>" %>
A variant of this directive is:
<%@ header sinclude="<path>" %>
This corresponds to:
<%!! #include <<path>> %>
C++ Implementation Include Directive
Include a C++ header file in the generated implementation file.
<%@ impl include="<path>" %>
This corresponds to:
<%! #include "<path>" %>
A variant of this directive is:
<%@ impl sinclude="<path>" %>
This corresponds to:
<%! #include <<path>> %>
Page Directive
The Page Directive allows the definition of attributes that control various aspects of C++ code generation.
<%@ page <attr>="<value>" ... %>
The following page attributes are supported:
class
Specifies the name of the generated class. Defaults to the base name of the source file with the word "Handler" appended.
namespace
If specified, sets the namespace where the generated classes will be in. No namespace will be used if omitted.
baseClass
Specifies the name of the class used as the base class for the generated request handler class. Defaults to Poco::Net::HTTPRequestHandler. Do not forget to add a Header Declaration containing an #include directive for the header file containing the definition of that class, otherwise the generated code won't compile.
context
Allows passing of a context object to the request handler's constructor. The context object is stored in the request handler object and can be obtained by calling the context() object.
The class of the context object must be specified. Cannot be used together with ctorArg.
ctorArg
Allows to specify the type of a single argument being passed to the constructor of the generated request handler class. Can only be used together with baseClass. The argument is passed on to the constructor of the base class, therefore, one of the constructors of the base class must also accept a single argument of the specified type.
Cannot be used together with context.
export
Allows to specify a DLL import/export directive that is being added to the request handler class definition. Useful for exporting a request handler class from a Windows DLL.
form
Enable or disable automatic form handling. If enabled, which is the default, a Poco::Net::HTMLForm object is automatically created in the request handler and accessible through a variable named form. Set the value to false to disable form handling.
formPartHandler
Allows you to pass a Poco::Net::PartHandler object to the form object for processing file uploads. A subclass of Poco::Net::PartHandler must be defined (using an Implementation Declaration), and the constructor of the part handler must take a (const) reference to the request handler instance as argument.
contentType
Allows you to specify the MIME content type for the page. Defaults to text/html.
contentLanguage
Allows to specify a language tag (e.g., "en") that will be sent in the response Content-Language header if the client sends an Accept-Language header in the request.
chunked
Allows you to specify whether the response is sent using chunked transfer encoding. Defaults to true. Set the value to false to disable chunked transfer encoding.
compressed
Enables or disables response body compression. If set to true, and the client supports the "gzip" content encoding (indicated by the "Accept-Encoding" header), the response body will be compressed using the "gzip" format and the "Content-Encoding" header will be set accordingly. Defaults to false. Cannot be enabled together with response buffering.
compressionLevel
Specify the compression level, if response body compression is enabled. Valid values are 1 (fastest) to 9 (best compression). Defaults to 1.
buffered
Enables or disables response buffering. Response buffering is disabled by default. Set to true to enable buffering, or to false to disable it. If response buffering is enabled, everything written to the response stream is actually written to a string stream (std::ostringstream). Sending of the HTTP response back to the client is deferred to when the page is complete.
session (OSP only)
For use with the POCO Open Service Platform only.
Specifies the identifier of the session obtained from the OSP Web Session Manager. If specified, a Poco::OSP::Web::WebSession object will be available in the request handler through a variable named session. The variable is of type Poco::OSP::Web::WebSession::Ptr. If the identifier starts with an asterisk ('@'), the identifier is considered to be a bundle property name, and the session identifier is read from the respective bundle property.
sessionTimeout (OSP only)
For use with the POCO Open Service Platform only.
Specifies the session timeout in minutes. If the argument is a string, it is considered to be a bundle property name and the timeout value is read from the respective bundle property.
createSession (OSP only)
For use with the POCO Open Service Platform only.
If set to true, which is the default if the attribute is not specified, a new session will be created if the request does not contain a (valid) session cookie. If set to false and there is no existing session that matches the session cookie. the session variable will be null.
precondition
Allows to specify a C++ boolean expression which will be evaluated before processing of the page begins. If the expression evaluates to false, processing of the page is immediately terminated and no response is sent to the client.
The expression can be a call to a member function defined in the handler base class. If that function returns false, it can send its own response to the client.
Example:
<%@ page precondition="checkCredentials(request, response)" %>
path
Specify a server path for the page. If specified, the generated handler class will contain a public static const std::string member variable named PATH containing the specified path.
Example:
<%@ page path="/index.html" %>
Implicit Objects
The following objects are available in the handler code.
request
The HTTP request object - an instance of Poco::Net::HTTPServerRequest.
response
The HTTP response object - an instance of Poco::Net::HTTPServerRequest.
responseStream
The output stream where the response body is written to.
form
An instance of Poco::Net::HTMLForm for processing form arguments. Only available if form processing has not been disabled by setting the form page attribute to false.
session (OSP only)
An instance of Poco::OSP::Web::WebSession::Ptr for accessing the Poco::OSP::Web::WebSession object for the current session. Only available with the POCO Open Service Platform, and if the session page attribute has been specified. May be null if the createSession attribute is false and no session exists.
Invoking the Page Compiler
The Page Compiler is invoked from the command line. The file names of the CPSP files to be compiled are specified as arguments.
A number of options control the code generation. Options are specified using the usual command-line option syntax for the current operating system (e.g., /help on Windows, --help or -h on Unix).
- help (h): display usage information
- define (D): define a configuration property
- config-file (f): load configuration properties from a file
- osp (O): add factory class definition/implementation for use with OSP
- apache (A): add factory class definition/implementation and shared library manifest for use with ApacheConnector
Configuration Properties
The Page Compiler supports one configuration property, named PageCompiler.fileHeader, to optionally specify a header that is included in every generated file.
The file header can contain references to other configuration properties, using the usual property syntax: ${property}.
For example, invoking the Page Compiler with the following configuration file:
PageCompiler.fileHeader = //\n// ${outputFileName}\n//\n
places the following header at the beginning of each generated file (<filename> is replaced with the actual name of the file):
// // <filename> //
The following pre-defined properties can be used in the file header:
- ${inputFileName}: the name of the input file (with directories removed)
- ${inputFilePath}: the complete path of the input file
- ${dateTime}: the current date and time (YYYY-MM-DD HH:MM:SS)
- ${outputFileName}: the name of the current output file (header or implementation file), with directories removed
- ${outputFilePath}: the complete path of the current output file


The truth value of implications can be counterintuitive at times. This occurs primarily when the premise is false because the implication will always be true. For example the implications below are true since the implications in all are false:
If abortions are federally protected, then people will use abortions to terminate unwanted pregnancies.
If abortions are federally protected, then people will not use abortions to terminate unwanted pregnancies.
If abortions are a federal crime, then more women will be jailed.
If abortions are a federal crime, then more women will be jailed.
In these statements, it seems as if only one of the first two statements should be true and one of the last two statements should be true as the conclusions are negations of one another. However, all four statements are true.
in-context


The API V2 Gateway service provides a way to expose a WebSocket API that is supported by a set of Lambda functions. The AWS blog post supplies an excellent overview of the pros and cons of this approach that enables a near real time, pushed-based application. This section will provide an overview of how to configure a WebSocket API using Sparta. It is based on the SpartaWebSocket sample project.
Similar to the AWS blog post, our WebSocket API will transmit messages of the form
{
"message": "sendmessage",
"data": "hello world !"
}
We’ll use ws to test the API from the command line.
The Sparta service consists of three lambda functions:
connectWorld(context.Context, awsEvents.APIGatewayWebsocketProxyRequest) (*wsResponse, error)
disconnectWorld(context.Context, awsEvents.APIGatewayWebsocketProxyRequest) (*wsResponse, error)
sendMessage(context.Context, awsEvents.APIGatewayWebsocketProxyRequest) (*wsResponse, error)
Our functions will use the PROXY style integration and therefore accept an instance of the APIGatewayWebsocketProxyRequest type.
Each function returns a *wsResponse
instance that satisfies the PROXY response:
type wsResponse struct {
StatusCode int `json:"statusCode"`
Body string `json:"body"`
}
The connectWorld
AWS Lambda function is responsible for saving the incoming connectionID into a dynamically provisioned DynamoDB database so that subsequent sendMessage requests can broadcast to all subscribed parties.
The table name is advertised in the Lambda function via a user-defined environment variable. The specifics of how that table is provisioned will be addressed in a section below.
...
// Operation
putItemInput := &dynamodb.PutItemInput{
TableName: aws.String(os.Getenv(envKeyTableName)),
Item: map[string]*dynamodb.AttributeValue{
ddbAttributeConnectionID: &dynamodb.AttributeValue{
S: aws.String(request.RequestContext.ConnectionID),
},
},
}
_, putItemErr := dynamoClient.PutItem(putItemInput)
...
The complement to connectWorld
is disconnectWorld
which is responsible for removing the connectionID from the list of registered connections:
delItemInput := &dynamodb.DeleteItemInput{
TableName: aws.String(os.Getenv(envKeyTableName)),
Key: map[string]*dynamodb.AttributeValue{
ddbAttributeConnectionID: &dynamodb.AttributeValue{
S: aws.String(connectionID),
},
},
}
_, delItemErr := ddbService.DeleteItem(delItemInput)
With the connectWorld
and disconnectWorld
connection management functions created, the core of the WebSocket API is sendMessage
. This function is responsible for scanning over the set of registered connectionIDs and forwarding a request to PostConnectionWithContext. This function sends the message to the registered connections.
The sendMessage
function can be broken down into a few sections.
The first requirement is to setup the API Gateway Management service instance using the proper endpoint. The endpoint can be constructed from the incoming APIGatewayWebsocketProxyRequestContext member of the request.
endpointURL := fmt.Sprintf("%s/%s",
request.RequestContext.DomainName,
request.RequestContext.Stage)
logger.WithField("Endpoint", endpointURL).Info("API Gateway Endpoint")
dynamoClient := dynamodb.New(sess)
apigwMgmtClient := apigwManagement.New(sess, aws.NewConfig().WithEndpoint(endpointURL))
The new step is to unmarshal and validate the incoming JSON request body:
// Get the input request...
var objMap map[string]*json.RawMessage
unmarshalErr := json.Unmarshal([]byte(request.Body), &objMap)
if unmarshalErr != nil || objMap["data"] == nil {
return &wsResponse{
StatusCode: 500,
Body: "Failed to unmarshal request: " + unmarshalErr.Error(),
}, nil
}
Once we have verified that the input is valid, the final step is to notify all the subscribers.
Once the incoming data
property is validated, the next step is to scan the DynamoDB table for the registered connections and post a message to each one. Note that the scan callback also attempts to cleanup connections that are no longer valid, but which haven’t been cleanly removed.
scanCallback := func(output *dynamodb.ScanOutput, lastPage bool) bool {
// Send the message to all the clients
for _, eachItem := range output.Items {
// Get the connectionID
receiverConnection := ""
if eachItem[ddbAttributeConnectionID].S != nil {
receiverConnection = *eachItem[ddbAttributeConnectionID].S
}
// Post to this connectionID
postConnectionInput := &apigwManagement.PostToConnectionInput{
ConnectionId: aws.String(receiverConnection),
Data: *objMap["data"],
}
_, respErr := apigwMgmtClient.PostToConnectionWithContext(ctx, postConnectionInput)
if respErr != nil {
if receiverConnection != "" &&
strings.Contains(respErr.Error(), apigwManagement.ErrCodeGoneException) {
// Cleanup in case the connection is stale
go deleteConnection(receiverConnection, dynamoClient)
} else {
logger.WithField("Error", respErr).Warn("Failed to post to connection")
}
}
return true
}
return true
}
// Scan the connections table
scanInput := &dynamodb.ScanInput{
TableName: aws.String(os.Getenv(envKeyTableName)),
}
scanItemErr := dynamoClient.ScanPagesWithContext(ctx,
scanInput,
scanCallback)
...
These three functions are the core of the WebSocket service.
The next step is to create the API V2 API object which is comprised of:
There is one Stage and one API per service, but a given service (including this one) may include multiple Routes.
// APIv2 Websockets
stage, _ := sparta.NewAPIV2Stage("v1")
stage.Description = "New deploy!"
apiGateway, _ := sparta.NewAPIV2(sparta.Websocket,
"sample",
"$request.body.message",
stage)
The NewAPIV2
creation function requires:
sparta.Websocket
)sample
)Once the API is defined, each route is associated with the API as in:
apiv2ConnectRoute, _ := apiGateway.NewAPIV2Route("$connect",
lambdaConnect)
apiv2ConnectRoute.OperationName = "ConnectRoute"
...
apiv2SendRoute, _ := apiGateway.NewAPIV2Route("sendmessage",
lambdaSend)
apiv2SendRoute.OperationName = "SendRoute"
...
The $connect
routeKey is a special route key value that is sent when a client first connects to the WebSocket API. See the official documentation for more information.
In comparison, the sendmessage
routeKey value of sendmessage
means that a payload of the form:
{
"message": "sendmessage",
"data": "hello world !"
}
will trigger the lambdaSend
function given the parent API’s route selection expression of $request.body.message
.
Because the lambdaSend
function also needs to invoke the API Gateway Management APIs to broadcast, an additional IAM Privilege must be enabled:
var apigwPermissions = []sparta.IAMRolePrivilege{
{
Actions: []string{"execute-api:ManageConnections"},
Resource: gocf.Join("",
gocf.String("arn:aws:execute-api:"),
gocf.Ref("AWS::Region"),
gocf.String(":"),
gocf.Ref("AWS::AccountId"),
gocf.String(":"),
gocf.Ref(apiGateway.LogicalResourceName()),
gocf.String("/*")),
},
}
lambdaSend.RoleDefinition.Privileges = append(lambdaSend.RoleDefinition.Privileges, apigwPermissions...)
The final configuration step is to use the API gateway to create an instance of the APIV2GatewayDecorator
. This decorator is responsible for:
wss://...
URL to the Stack’s Outputs.The decorator is created by a call to NewConnectionTableDecorator
which accepts:
For instance:
decorator, _ := apiGateway.NewConnectionTableDecorator(envKeyTableName,
ddbAttributeConnectionID,
5,
5)
var lambdaFunctions []*sparta.LambdaAWSInfo
lambdaFunctions = append(lambdaFunctions,
lambdaConnect,
lambdaDisconnect,
lambdaSend)
decorator.AnnotateLambdas(lambdaFunctions)
With everything defined, provide the API V2 Decorator as a Workflow hook as in:
// Set everything up and run it...
workflowHooks := &sparta.WorkflowHooks{
ServiceDecorators: []sparta.ServiceDecoratorHookHandler{decorator},
}
err := sparta.MainEx(awsName,
"Sparta application that demonstrates API v2 Websocket support",
lambdaFunctions,
apiGateway,
nil,
workflowHooks,
false)
and then provision the application:
go run main.go provision --s3Bucket $S3_BUCKET --noop
INFO[0000] ════════════════════════════════════════════════
INFO[0000] ╔═╗╔═╗╔═╗╦═╗╔╦╗╔═╗ Version : 1.9.4
INFO[0000] ╚═╗╠═╝╠═╣╠╦╝ ║ ╠═╣ SHA : cfd44e2
INFO[0000] ╚═╝╩ ╩ ╩╩╚═ ╩ ╩ ╩ Go : go1.12.6
INFO[0000] ════════════════════════════════════════════════
INFO[0000] Service: SpartaWebSocket-123412341234 LinkFlags= Option=provision UTC="2019-07-25T05:26:57Z"
INFO[0000] ════════════════════════════════════════════════
INFO[0000] Using `git` SHA for StampedBuildID Command="git rev-parse HEAD" SHA=6b26f8e645e9d58c1b678e46576e19bbc29886c0
INFO[0000] Provisioning service BuildID=6b26f8e645e9d58c1b678e46576e19bbc29886c0 CodePipelineTrigger= InPlaceUpdates=false NOOP=false Tags=
INFO[0000] Verifying IAM Lambda execution roles
INFO[0000] IAM roles verified Count=3
INFO[0000] Checking S3 versioning Bucket=weagle VersioningEnabled=true
INFO[0000] Checking S3 region Bucket=weagle Region=us-west-2
INFO[0000] Running `go generate`
INFO[0000] Compiling binary Name=Sparta.lambda.amd64
INFO[0002] Creating code ZIP archive for upload TempName=./.sparta/SpartaWebSocket_123412341234-code.zip
INFO[0002] Lambda code archive size Size="23 MB"
INFO[0002] Uploading local file to S3 Bucket=weagle Key=SpartaWebSocket-123412341234/SpartaWebSocket_123412341234-code.zip Path=./.sparta/SpartaWebSocket_123412341234-code.zip Size="23 MB"
INFO[0011] Calling WorkflowHook ServiceDecoratorHook= WorkflowHookContext="map[]"
INFO[0011] Uploading local file to S3 Bucket=weagle Key=SpartaWebSocket-123412341234/SpartaWebSocket_123412341234-cftemplate.json Path=./.sparta/SpartaWebSocket_123412341234-cftemplate.json Size="14 kB"
INFO[0011] Creating stack StackID="arn:aws:cloudformation:us-west-2:123412341234:stack/SpartaWebSocket-123412341234/d8a405b0-ae9c-11e9-a05a-0a1528792fce"
INFO[0122] CloudFormation Metrics ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
...
INFO[0122] Stack Outputs ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
INFO[0122] APIGatewayURL Description="API Gateway Websocket URL" Value="wss://gu4vmnia27.execute-api.us-west-2.amazonaws.com/v1"
INFO[0122] Stack provisioned CreationTime="2019-07-25 05:27:08.687 +0000 UTC" StackId="arn:aws:cloudformation:us-west-2:123412341234:stack/SpartaWebSocket-123412341234/d8a405b0-ae9c-11e9-a05a-0a1528792fce" StackName=SpartaWebSocket-123412341234
INFO[0122] ════════════════════════════════════════════════
INFO[0122] SpartaWebSocket-123412341234 Summary
INFO[0122] ════════════════════════════════════════════════
INFO[0122] Verifying IAM roles Duration (s)=0
INFO[0122] Verifying AWS preconditions Duration (s)=0
INFO[0122] Creating code bundle Duration (s)=1
INFO[0122] Uploading code Duration (s)=9
INFO[0122] Ensuring CloudFormation stack Duration (s)=112
INFO[0122] Total elapsed time Duration (s)=122
With the API Gateway deployed, the last step is to test it. Download and install the [ws](go get -u github.com/hashrocket/ws ) tool:
go get -u github.com/hashrocket/ws
then connect to your new API and send a message as in:
22:31 $ ws wss://gu4vmnia27.execute-api.us-west-2.amazonaws.com/v1
> {"message":"sendmessage", "data":"hello world !"}
< "hello world !"
You can also send messages with Firecamp, a Chrome extension, and send messages between your ws
session and the web (or vice versa).
While a production ready application would likely need to include authentication and authorization, this is the beginnings of a full featured WebSocket service in fewer than 200 lines of application code:
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Go 1 21 52 183
Markdown 1 0 2 0
-------------------------------------------------------------------------------
TOTAL 2 21 54 183
-------------------------------------------------------------------------------
Remember to terminate the stack when you’re done to avoid any unintentional costs!


Brazil crash 'a shame' for Ferrari - Giovinazzi
Antonio Giovinazzi says 2020 is an "important season" for both himself and Alfa Romeo.
by GMM F1It is believed team boss Frederic Vasseur considered linking back up for 2020 with Nico Hulkenberg - his protege from the junior categories.
But after a boost in late-season form and with Ferrari's continued backing of the Italian driver, Giovinazzi has secured another full season with the Swiss team.
"I'm delighted with the renewal," Giovinazzi told Italian media at the presentation of Alfa Romeo's 2020-spec Giulia and Stelvio road cars.
"I grew a lot in the second part of the season and I believe the team noticed that too," he added.
"I am happy to do another season with the team, with the same people and the same teammate.
"The last race is in Abu Dhabi, but my eyes are already on 2020. It will be an important season so starting with the winter testing we must be immediately ready with the new car," Giovinazzi said.
The 25-year-old finished a season-best fifth in Brazil, but he admitted that was helped by the controversial clash between Ferrari's works drivers.
"These things can happen," Giovinazzi said.
"It's a race, everyone is trying to do their best, it's just a shame for them that they lost a lot of points.
"But my job for the weekend is to be in the right place at the right time and that's what we did.
"I'm happy for us. It was a positive weekend for myself and for the team with fourth and fifth and a nice haul of points for the team. We needed it," he added.
body check tags ::


CPH provides a simple way to modify any part of an HTTP message, allowing manipulation with surgical precision even when using macros. Typically, macros only support HTTP parameters (name=value), but with this extension anything can be targeted.
Features include:
- Automatic modification of requests and/or responses based on scope and pattern matching.
- Find and replace with full RegEx support.
- Scoping to specific Burp Suite tools.
- Targeting specific matches (only first, all matches, or hand-picked).
- Chaining and ordering of modifications, and the ability to base next-in-line modifications off previous responses.
- Save/load Config:
- Quicksave/quickload (persists between Burp/Extender sessions).
- Import/export from and to JSON files.
- After running a macro, extract a replacement value from its final response.
- Modifying each request/response within a macro.
Source and bug reporting: github.com/elespike/burp-cph.
Wiki: github.com/elespike/burp-cph/wiki.
Requires Jython version 2.7.0


Circular Linked List is little more complicated linked data structure. In the circular linked list we can insert elements anywhere in the list whereas in the array we cannot insert element anywhere in the list because it is in the contiguous memory. In the circular linked list the previous element stores the address of the next element and the last element stores the address of the starting element. The elements points to each other in a circular way which forms a circular chain. The circular linked list has a dynamic size which means the memory can be allocated when it is required.
Implementing a circular linked list is very easy and almost similar to linear linked list implementation, with the only difference being that, in circular linked list the last Node will have it's next point to the Head of the List. In Linear linked list the last Node simply holds NULL in it's next pointer.
So this will be oue Node class, as we have already studied in the lesson, it will be used to form the List.
class Node { public: int data; //pointer to the next node node* next; node() { data = 0; next = NULL; } node(int x) { data = x; next = NULL; } }
Circular Linked List class will be almost same as the Linked List class that we studied in the previous lesson, with a few difference in the implementation of class methods.
class CircularLinkedList { public: node *head; //declaring the functions //function to add Node at front int addAtFront(node *n); //function to check whether Linked list is empty int isEmpty(); //function to add Node at the End of list int addAtEnd(node *n); //function to search a value node* search(int k); //function to delete any Node node* deleteNode(int x); CircularLinkedList() { head = NULL; } }
Steps to insert a Node at beginning :
int CircularLinkedList :: addAtFront(node *n) { int i = 0; /* If the list is empty */ if(head == NULL) { n->next = head; //making the new Node as Head head = n; i++; } else { n->next = head; //get the Last Node and make its next point to new Node Node* last = getLastNode(); last->next = n; //also make the head point to the new first Node head = n; i++; } //returning the position where Node is added return i; }
Steps to insert a Node at the end :
int CircularLinkedList :: addAtEnd(node *n) { //If list is empty if(head == NULL) { //making the new Node as Head head = n; //making the next pointer of the new Node as Null n->next = NULL; } else { //getting the last node node *last = getLastNode(); last->next = n; //making the next pointer of new node point to head n->next = head; } }
In searhing we do not have to do much, we just need to traverse like we did while getting the last node, in this case we will also compare the data of the Node. If we get the Node with the same data, we will return it, otherwise we will make our pointer point the next Node, and so on.
node* CircularLinkedList :: search(int x) { node *ptr = head; while(ptr != NULL && ptr->data != x) { //until we reach the end or we find a Node with data x, we keep moving ptr = ptr->next; } return ptr; }
Deleting a node can be done in many ways, like we first search the Node with data which we want to delete and then we delete it. In our approach, we will define a method which will take the data to be deleted as argument, will use the search method to locate it and will then remove the Node from the List.
To remove any Node from the list, we need to do the following :
node* CircularLinkedList :: deleteNode(int x) { //searching the Node with data x node *n = search(x); node *ptr = head; if(ptr == NULL) { cout << "List is empty"; return NULL; } else if(ptr == n) { ptr->next = n->next; return n; } else { while(ptr->next != n) { ptr = ptr->next; } ptr->next = n->next; return n; } }


Calendar with Vanilla JS
Start Date
Days
Country code
Argentina
Aruba
Bolivia
Switzerland
Cuba
Colombia
Costa Rica
Dominican
Peru
Generate Calendar


Capacitated Vehicle Routing Problem
Contents:
Notes on algorithm implementation
1. Greedy Solution
2. Local Search (Run on each vehicle individually) (LS)
3. Local Search (LS)
4. Tabu Search (TS)
5. Genetic Algorithm (GA)
6. Simulated Annealing (SA)
7. Hybrid Algorithm (HA)
Library API
Class Hierarchy
File Hierarchy
Full API
Classes and Structs
Struct Node
Struct PairHash
Struct Problem
Struct Vehicle
Class GASolution
Class GreedySolution
Class LocalSearchInterIntraSolution
Class LocalSearchIntraSolution
Class SimulatedAnnealingSolution
Class Solution
Class TabuSearchSolution
Functions
Function DisplaySolution(const Solution&)
Function DisplaySolution(const Solution&)
Function DrawCoordinates
Function main
Function operator<<(std::ostream&, const Node&)
Function operator<<(std::ostream&, const Vehicle&)
Function operator<<(std::ostream&, const Node&)
Function operator<<(std::ostream&, const Vehicle&)
Function PrintVehicleRoute(const Vehicle&)
Function PrintVehicleRoute(const Vehicle&)
Function UpdateColours
Variables
Variable margin_of_error
Variable margin_of_error
Variable margin_of_error
Variable p_insert_iter_dist
Variable p_mutate
Variable p_mutate_within_gene
Variable p_random_swap
Variable total_percentage
Directories
Directory cvrp
Directory include
Directory main
Directory src
Files
File genetic_algorithm.cpp
File genetic_algorithm.hpp
File graphics_utils.cpp
File graphics_utils.hpp
File greedy.cpp
File greedy.hpp
File local_search_inter_intra.cpp
File local_search_inter_intra.hpp
File local_search_intra.cpp
File local_search_intra.hpp
File main.cpp
File README.md
File simulated_annealing.cpp
File simulated_annealing.hpp
File tabu_search.cpp
File tabu_search.hpp
File utils.cpp
File utils.hpp
Capacitated Vehicle Routing Problem
Docs
»
Index
Index
D
|
G
|
L
|
N
|
O
|
P
|
S
|
T
|
V
D
DisplaySolution (C++ function)
,
[1]
G
GASolution (C++ class)
GASolution::GASolution (C++ function)
,
[1]
,
[2]
GASolution::Solve (C++ function)
GreedySolution (C++ class)
GreedySolution::GreedySolution (C++ function)
,
[1]
GreedySolution::Solve (C++ function)
L
LocalSearchInterIntraSolution (C++ class)
LocalSearchInterIntraSolution::LocalSearchInterIntraSolution (C++ function)
,
[1]
,
[2]
LocalSearchInterIntraSolution::Solve (C++ function)
LocalSearchIntraSolution (C++ class)
LocalSearchIntraSolution::LocalSearchIntraSolution (C++ function)
,
[1]
,
[2]
LocalSearchIntraSolution::Solve (C++ function)
N
Node (C++ class)
Node::demand_ (C++ member)
Node::id_ (C++ member)
Node::is_routed_ (C++ member)
Node::Node (C++ function)
Node::x_ (C++ member)
Node::y_ (C++ member)
O
operator<< (C++ function)
,
[1]
,
[2]
,
[3]
,
[4]
,
[5]
P
PairHash (C++ class)
PairHash::operator() (C++ function)
PrintVehicleRoute (C++ function)
,
[1]
Problem (C++ class)
Problem::capacity_ (C++ member)
Problem::depot_ (C++ member)
Problem::distanceMatrix_ (C++ member)
Problem::nodes_ (C++ member)
Problem::Problem (C++ function)
Problem::vehicles_ (C++ member)
S
SimulatedAnnealingSolution (C++ class)
SimulatedAnnealingSolution::SimulatedAnnealingSolution (C++ function)
,
[1]
,
[2]
SimulatedAnnealingSolution::Solve (C++ function)
Solution (C++ class)
Solution::capacity_ (C++ member)
Solution::CheckSolutionValid (C++ function)
Solution::CreateInitialSolution (C++ function)
Solution::depot_ (C++ member)
Solution::distanceMatrix_ (C++ member)
Solution::find_closest (C++ function)
Solution::GetNodes (C++ function)
Solution::GetVehicles (C++ function)
Solution::nodes_ (C++ member)
Solution::operator= (C++ function)
,
[1]
Solution::PrintSolution (C++ function)
Solution::Solution (C++ function)
,
[1]
,
[2]
,
[3]
Solution::Solve (C++ function)
Solution::vehicles_ (C++ member)
Solution::~Solution (C++ function)
T
TabuSearchSolution (C++ class)
TabuSearchSolution::Solve (C++ function)
TabuSearchSolution::TabuSearchSolution (C++ function)
,
[1]
,
[2]
V
Vehicle (C++ class)
Vehicle::CalculateCost (C++ function)
Vehicle::capacity_ (C++ member)
Vehicle::cost_ (C++ member)
Vehicle::id_ (C++ member)
Vehicle::load_ (C++ member)
Vehicle::nodes_ (C++ member)
Vehicle::Vehicle (C++ function)


Erica Kait Creative
McKenna Senior Session
Battle Ground, WA
Senior Portrait Session - October 2016
Senior portraits are always such a blast. An hour or two of striking a pose (insert girl raising hand emoji here)! To top it off, I got to do these portraits with my sister, making it even more special. We started out on the football field of her school before heading to a nearby park for some nature shots. She also brought along glitter, meaning we were both covered in it by the end of the night. I love the different feels of the two locations, and try as I might I can't pick a favorite set.


{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %} {% include head.html %}
Making today worse so tomorrow seems better.


My personal favorite project, this webmap displays which coffee shops are open on the University of Maryland, College Park campus given a user's selection for date and time.
View ProjectUsing PostgreSQL/PostGIS, I mapped all trips taken on Washington D.C.'s Capital Bikeshare system in June 2018. Check it out to see the power of spatial databases!
View ProjectThe PR-Quadtree is a commonly-used data structure for storing and accessing geospatial data. Here, I implement a PR-Quadtree in Python and use Matplotlib to visualize the data it stores
View ProjectFor this project, I used R and its spatial packages to analyze factors that affect bikeshare ridership in New York's Citibike system.
View ProjectFor my geology degree, I completed an independent research project under the guidance of Dr. Karen Prestegaard. This study focused on comparing the MODIS evapotranspiration (ET) estimates produced by the MOD16 algorithm with direct measurements of ET from flux towers in the Canadian boreal forest.
View ProjectCreated with leaflet, this webmap shows commute times in each US state. Commutes times are bracketed into three classes that can be selected by the user. Once a class is selected, the map displays, by state, the percentage of workers that have a commute somewhere in that range.
View ProjectA simple Leaflet map that displays electric vehicle charging stations in Maryland.
View ProjectThis map was made using the open-source geoprocessing library GDAL. I wrote a python script that incorporated GDAL to create a world grid that displays what percent of each cell is made up of dry land.
View ProjectCreated using USGS elevation data, this map displays the topography of Old Rag Mountain, located in Virginia's Shenandoah National Park. This project was inspired by a backpacking trip that lead me to Old Rag's peak.
View ProjectA watershed map for Swan Creek, located in Harford County, Maryland. This map was created in ArcGIS using the hydrology toolset.
View ProjectRoadside trees in urban environments provide a wealth of benefits for nearby residents. This maps shows their density in each Washington D.C. census tract
View Project


Introductions
Hello everyone! I started this blog to chronicle my journey through the Coding Dojo bootcamp in Mountain View, CA this summer. First things first, a bit of background about myself.
If you haven’t already guessed by the web address, my name is Cody. I’ve been living in Philadelphia for the past 4 years, but I’m originally from North Carolina. For the most part, I really enjoy living in Philly except for the fact that everything that should be on a biscuit, is on a bagel but hey…no one is perfect.
My background is primarily in economics and finance and spent the past few years as a loan officer for a mortgage lender. I know what you’re thinking, why would anyone want to leave the glamorous, exciting, rock star life of a loan officer? Well, there were some things I really did enjoy about my job, mainly helping people who were severely underwater on their homes. Everything else was filled with red-tape and regulations which was the main reason I decided to leave to focus all my efforts on web development and programming.
I fly out to the west coast on Friday and the bootcamp starts on Monday. I’ll go into more detail on the application process and some of the preparation I’ve done in a later post.
Tweet


--- layout: page pagetype: portfolio title: Products I've Helped Build --- {% if site.portfolio %}
I've helped build a lot of cool stuff with a lot of even cooler people! If you're cool and are looking for a cool guy to build something cool with, get in touch!


1 – Zero Cigarro
2 – QuitNow!
3 – Stop! Quit Smoking – LITE
4 – MyQuit Coach
5 – Quit Smoking: Cessation Nation
6 – Meu último cigarro
7 – Quit Smoking
8 – Smoke Free, stop smoking help
9 – Craving to Quit
10 – Kwit
11 – Mindfulness Meditation App to cessation smoking


  But as soon as Francois arrives at Pierre's home, Pierre's back condition worsens and he cannot leave his home. Francois decides to stay, and he turns Pierre's life upside down, forcing him to lose his wife, his mistress, his fortune and his mind. This throwback to the days of classic screwball comedy was written and directed by Francis Veber, who wrote "La Cage Aux Folles"; later remade into the inferior "The Birdcage". A U.S. remake is also on its way for "The Dinner Game", which is very funny itself. Although I am no fan of farce or slapstick comedy, the comic timing in "The Dinner Game" is too superb to be ignored. Entertaining but slight, "The Dinner Game" is a pleasant art-house diversion.
a capsule review by Akiva Gottlieb, The Teenage Movie Critic<EMAIL_ADDRESS>http://teenagemoviecritic.8m.com
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


{% extends 'learning/layout.html' %} {% load static %} {% block title %}Search results{% endblock %} {% block stylesheets %} {% endblock %} {% block scripts %} {% endblock %} {% block navitems %}
{{ message }}
{% elif status == 'found_results' %}We couldn't find "{{ query }}" within the {{ language.name }} dictionary, but maybe you meant one of these:
{% for term in terms %}


Rajinikanth, Kamal Haasan ready to join hands
Both say they are open to working together in politics
by Staff ReporterChief Minister-aspirants Rajinikanth and Kamal Haasan said that they would form a political alliance and contest elections together if it would benefit the people of Tamil Nadu and if the circumstances warranted it.
Speaking to reporters at the airport, Mr. Rajinikanth was asked about Mr. Haasan’s comment earlier in the day that he would work with him for the prosperity and development of Tamil Nadu. Echoing Mr. Haasan’s comments, Mr. Rajinikanth said, “If a situation arises that warrants us to work with each other for the benefit of people of Tamil Nadu, I will work with Kamal Haasan.”
There has been an intense media speculation over whether the superstars and long-time friends would work together in politics. The bonhomie that Mr. Rajinikanth and Mr. Haasan shared at an event conducted to celebrate 60 years’ of Mr. Haasan in cinema on Sunday fuelled the idea that both of them are thinking of such a possibility.
Mr. Haasan, who received an honorary doctorate from Odisha Chief Minister Naveen Patnaik on Tuesday, said that he would join hands with Mr. Rajinikanth if Tamil Nadu’s development and prosperity depended on it.
Speaking to the reporters earlier, he said that there was nothing ‘wonderous’ about the two getting together as they have been friends for many years.
“We have been together for 44 years. We will join hands together when there is a necessity to do so. Right now, there is plenty of work to do. If Rajinikanth and I need to come together for Tamil Nadu’s development and prosperity, we will do so,” said Kamal Haasan.


Try pannning and zooming the pattern on the Canvas!
touch-sampler is recording click and touch interactions on the above Canvas. An additional script in this example uses the recorded interactions to update the Canvas transform