It was around 8:00pm when my friend 'Paul' called me to say that his connection had finally recopped - we had been waiting two days to buy some crystal meth and now the time had finally come. I was excited due more to the anticipation that had grown over the past two days than anything else, and ran to grab my car keys and drive as fast as I could to Paul's house. The plan was to buy a $50 bag of meth, and then Paul and myself would head over to my other friend 'Adam's' house just a few blocks away to smoke. The problem was, our dealer only had a $30 bag for sale and promised to deliver the other dub to Adam's house once he went back to recop. I agreed, and Paul was handed a dime bag full of some of the freshest crystals we both had ever seen - definitely worth the wait.
Instead of usual powder and some small shards, the bag contained completely shards, and pretty big ones at that. I smiled and raced to Adam's house to start this session off with a bang. Paul and I arrived at Adam's and the three of us all went into Adam's room where we seperated the $30 into three huge bowls. Paul then proceeded to pack one of the bowls, melted it, and let the good times roll. The first thing I noticed was how much quality this meth was - just one good hit of this smoke to the neck had me spinning; in all eight times before this that I had smoked the crystal had usually taken a few tokes to take full effect. While I won't go into specific details about the lone meth high - you can easily find many other experience stories on solely meth - I will say that it was intense and I was wide awake and feeling fantastic.
After the first bowl, we waited and packed a second one, and then for about an hour or so my friends and I all chilled - they messed around on their guitar and bass instruments while I decided to write some ideas down and tag on this clipboard I had found. I waited for what seemed like an eternity for that dub sack of meth to arrive, and yet it never came. My friends and I smoked the remaining bowl of crystal that we had and waited until around 1:00am before Paul and myself finally started to head back to his house; giving up on buying that extra $20 of ice. I dropped off Paul and he tried one more time to get that dub, but when I realized I would have to wait a few more hours into the early morning for it I decided to just go home instead, I had other means of getting high that night as well. On the way home I stopped off at AM/PM and bought a Swisher and a Black & Mild, then drove back to the house.
I got home around 1:30am to discover my parents both sound asleep. I went into my room and did a check of what substances I had left - about 5 grams of some chronic weed I had bought earlier in the week which easily matched anything available from the cannabis club (I'm a pothead so if anything I know my marijuana) as well as five pills of 10mg Ambien that I had pinched from my dad who was being treated for insomnia. I had never taken Ambien before, but from what I read online and from asking people the pill was supposed to be a strong sedative that made you 'really stoned' and worked almost instantly. Curious, I decided I would try some that night.
I dropped a 10mg Ambien and then proceeded to roll a blunt (a gram or so) with the Swisher. After ten minutes or so, the blunt was rolled and I was still kinda spun from the session hours before but the Ambien hadn't kicked in. So I broke another pill in half and dropped 5mg more. After grabbing the blunt, the Black & Mild, a lighter and a towel, I headed outside to my hot-tub to enjoy myself, and it is out in the hot-tub where things started to get weird. I got into the hot-tub and the soothing warm water instantly relaxed me; the Ambien also was beginning to kick in and I was calm and collective, care-free and actually, kind of tired. I lit the blunt and began to smoke the buds - continuing to do so as I sat back and relaxed.
 All I remember is closing my eyes for a second, and when I opened them I was no longer apart of reality as we know it. It was so intense that I put out the blunt for later and lit the Black & Mild to calm down. At first I was shocked and scared - I had expected to just feel stoned and instead, I was having a more intense psychedelic high than ever I had when I ate shrooms a few times in the past. I was having strong hallucinations of solid images and figures such as human beings and cartoon-like characters, as well as any object I looked at began to warp and wiggle in front of my very eyes.
It was 2:00am and still dark outside, yet everything I looked at had a colored hue to it and my vision went from everything looking like a negative camera film roll to purple and light yellow colors, hues of light green and bright red. Also, the ground was sinking like sand, and globs of what looked like slime were dripping everywhere. I was also hearing things - strong auditory hallucinations of my parents talking about me, as well as just other sounds.
I was still able to control my high (well, kind of) and realized this was getting a little too intense - I thought I might start screaming and running around the backyard so I grabbed my towel and went inside the house to my bedroom. I was still hallucinating hard and got into my bed; where for a few hours I just watched my walls warp before my eyes, shadows would turn into characters and run around the ceiling, and objects such as my room lamp and television would turn into cartoon-like objects. I opened the blinds in my room's window so I could glance outside and trip at looking at the trees and such as well. It is at this point that I forget what happened, but I eventually fell asleep I guess and didn't wake up until around 11:00am - sleeping through my alarm and missing all my college classes for the day.
I will definitely be trying this mix of narcotics again in the near-future, it was too amazing not to. But I will not be taking any more than one 10mg Ambien - this shit is strong and could be easily underestimated. I am still deciding if I should tell my friends about my 'discovery' - but then again I question myself everyday on what this shit would be like with other people there. If you try this mix then by all means enjoy yourself but remember, it's probably going to be different for different people and I have no idea who anyone else would act on this amazing, amazing psychedelic trip.
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.


/* Copyright 2015-2016 Teem2 LLC. 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. */ /** * @class BusServer {} * Holds a set of server side sockets for broadcast */ define(function(require, exports, module) { module.exports = SauceRunner; var fs = require('fs'), path = require('path'); function SauceRunner() { }; body.call(SauceRunner.prototype); function body() { /** * @method getHTML * generates the sauce runner HTML with all of the smoke tests */ this.getHTML = function(htmlTemplatePath) { console.log('saucerunner getHTML'); // var filePath = path.join(define.expandVariables(define.ROOT), '/saucerunner.html'); // var filename = dreemroot + '/saucerunner.html'; var html = fs.readFileSync(htmlTemplatePath, "utf8"); var smokePath = path.join(define.expandVariables(define.ROOT), '/compositions/smoke'); var files = fs.readdirSync(smokePath); var str = ''; for (var i=0, l=files.length; i<l; i++) { var fileName = files[i]; if(fileName.match(/\.dre/i)){ if(str) str += "," str += '"http://localhost:8080/compositions/smoke/'+fileName+'?test"' } } var out = html.replace(/DYNAMIC_FILES = null/,'DYNAMIC_FILES = [' + str + ']') return out; } } })


Why we need to change the problem and create a sense of urgency explaining why
I consent to having my phone vibrate
this is a short description of why
this is a short description of why
this is a short description of why
this is a short description of why


Unmanned aerial systems (UAS) or drones, are filled from the bottom up with technology. Drones are essentially autonomous flying robots that can be remotely controlled or completely autonomous. They have tons of uses from commercial to education and everything in between. They usually have a battery, motors, propellers, a central housing unit, and more. The central housing unit holds all of the small components including GPS, circuit boards, and batteries.
Unmanned Aerial Systems (UAS), more commonly known as “drones”, are expanding in every way. They are now able to do things that would normally be very tedious or even impossible. They are able to go into situations or locations that may not be safe for humans.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean lacinia malesuada euismod. Vestibulum id consectetur quam.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean lacinia malesuada euismod. Vestibulum id consectetur quam.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean lacinia malesuada euismod. Vestibulum id consectetur quam.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean lacinia malesuada euismod. Vestibulum id consectetur quam.


THUG2 progress
Ah, in other news, I picked up THUG2 again recently, and I finished the Classic mode at Sick level finally. I mean it, this time.
All I have left is Story mode on Easy.
About this entry
You"re currently reading "THUG2 progress," an entry on a crick in the net
- Published:
- 08.08.05 / 10pm
- Category:
- Gamering


2018-2019 Courses by Department
Pellissippi State Community College
Oct 4, 2018
{{thead}}
{{course.Department}}
{{course.Rubric}}
{{course.Code}}


--- description: '"Page not found" page, displayed when a non existing page is accessed.' template: main protocol: all published: true title: 'Page not found' name: 'Page not found' url: /404 ---
Try heading back to the homepage to see if you can find what you are looking for from there.


WSO2 WSF/C
Introduction
Why WSO2 WSF/C?
WSO2 WSF/C Features
Open Source Components
Known Issues
Installation Guide
Software Dependencies
On Linux
Using Source
Using RPM
Using deb
On Windows
Using Binary
Using Source
wsclient
Apache Axis2/C
Axis2/C Manual
Apache Rampart/C
Rampart/C Manual
Apache Sandesha2/C
Sandesha2/C Manual
Apache Savan/C


AlertService
Just inject the service wherever you need:
Examples:
HttpClientInterceptors
Usage
| Interceptor | Description |
|---|---|
| BaseApiUrlInterceptor | Automatically add a base api url that you've provided into the apiSettings. |
| CommonHeadersInterceptor | Automatically add common http headers like Content-Type, Cache-Control, Pragma and Expires. |
| JwtAuthInterceptor | Automatically add an Authorization http header with a JWT according to your apiSettings. |
| WinAuthInterceptor | Automatically set all your requests to be withCredentials. |
| ResponseDataInterceptor | Modifies all response bodies according to the provided apiSettings. |
| ErrorHandlerInterceptor | Provides a useful and unique contract for errors. |
LocalStorageService
Provides methods for localstorage management. Yout just need to inject the service wherever you want:
Functionalities:
| Method | Description |
|---|---|
| Get(key: string): any | Returns the local stored value for the provided key. |
| Set(key: string, value: any): void | Sets a value into the provided key. |
| Remove(key: string): void | Removes the stored value for the provided key. |


This document outlines how to manually customize the SSL support in Openfire. As of Openfire 3.2 certificate management can be performed from the Admin Console. However, if needed you can still manually manage certificates using JDK 1.5 tools. Important note: Once the setup process is completed Openfire will create self-signed certificates for the assigned Openfire's domain. Most users should either get the created certificates signed by a Certificate Authority or replace the created certificates with your own certificates.
Openfire's SSL support is built using the standard Java security SSL implementation (javax.net.ssl.SSLServerSocket). In this document, we will describe how use the standard JDK 1.5 tools to accomplish these tasks.
A server SSL connection uses two sets of certificates to secure the connection. The first set is called a "keystore". The keystore contains the keys and certificates for the server. These security credentials are used to prove to clients that the server is legitimately operating on behalf of a particular domain. If your server will only need to act as one domain, you only need one key entry and certificate in the keystore. Keys are stored in the keystore under aliases. Each alias corresponds to a domain name (e.g. "example.com").
The second set of certificates is called the "truststore" and is used to verify that a client is legitimately operating on behalf of a particular user. In the vast majority of cases, the truststore is empty and the server will not attempt to validate client connections using SSL. Instead, the XMPP authentication process verifies users in-band. However, you may wish to require SSL authentication for certain clients when security is especially important and the number of clients connection to the server is relatively small.
Certificates attempt to guarantee that a particular party is who they claim to be. Certificates are trusted based on who signed the certificate. If you only require light security, are deploying for internal use on trusted networks, etc. you can use "self-signed" certificates. Self-signed certificates encrypts the communication channel between client and server. However the client must verify the legitimacy of the self-signed certificate through some other channel. The most common client reaction to a self-signed certificate is to ask the user whether to trust the certificate, or to silently trust the certificate is legitimate. Unfortunately, blindly accepting self-signed certificates opens up the system to 'man-in-the-middle' attacks.
The advantage of a self-signed certificate is you can create them for free which is great when cost is a major concern, or for testing and evaluation. In addition, you can safely use a self-signed certificate if you can verify that the certificate you're using is legitimate. So if a system administrator creates a self-signed certificate, then personally installs it on a client's truststore (so that the certificate is trusted) you can be assured that the SSL connection will only work between the client and the correct server.
For higher security deployments, you should get your certificate signed by a certificate authority (CA). Clients truststores will usually contain the certificates of the major CA's and can verify that a CA has signed a certificate. This chain of trust allows clients to trust certificate from servers they've never interacted with before. Certificate signing is similar to a public notary (with equivalent amounts of verification of identity, record keeping, and costs).
The Sun JDK (version 1.5.x) ships with all the security tools you need to configure SSL with Openfire. The most important is the keytool located in the JAVA_HOME/bin directory of the JDK. Sun JVMs persist keystores and truststores on the filesystem as encrypted files. The keytool is used to create, read, update, and delete entries in these files. Openfire ships with a self-signed "dummy" certificate designed for initial evaluation testing. You will need to adjust the default configuration for most deployments.
In order to configure SSL on your server you need complete the following tasks:
The Openfire server domain should match the host name of the server; for example, "example.com". Your user accounts will have addresses with the format<EMAIL_ADDRESS>like email addresses. We'll assume the domain is "example.com" for the rest of the examples.
In order to create a self-signed server certificate go to the command line and change directories to the resources/security directory of your Openfire installation. You should see the default keystore and truststore files. First, you should change the default keystore password:
keytool -storepasswd -keystore keystore
keytool will ask for the old password (by default it is changeit) then the new password. Now we'll create a certificate using the keytool:
keytool -genkey -keystore keystore -alias example.com
where you should substitute your server's name for example.com. The keytool will ask for the store password, then several pieces of information required for the certificate. Enter all the information but remember to complete with your server's name when asked for your first and last name. After you have entered all the required information, keytool will ask you to verify the information and set a key password. You must use the same key password as the store password. By default you get this by simply hitting 'enter' when prompted for a key password.
If you later change the keystore password remember to change the entries' password as well using the keytool:
keytool -keypasswd -alias example.com -keystore keystore
Keytool will create certificates using the DSA algorithm by default. Some clients expect the server to have RSA certificates or they will fail to use TLS/SSL. Therefore, it is a good idea to also create RSA certificates in your keystore. To create certificates with the RSA algorithm you need to specify the algorithm to use like this:
keytool -genkey -keystore keystore -alias example.com -keyalg RSA
If you decide to get a CA signed certificate, you must first export the certificate in the standard CSR format. You can do this with the keytool:
keytool -certreq -keystore keystore -alias example.com -file certificate_file
Where you should substitute your server's name for example.com and the name of the certificate file you wish to produce for certificate_file. Submit the generated CSR to the CA and follow their instructions to get it signed.
If you had a CA sign your server certificate, or if you have an existing SSL certificate, you must import it using the keytool.
keytool -import -keystore keystore -alias example.com -file signed_certificate_file
It is important that the alias not already have an associated key or you'll receive an error.
After importing your certificate you must remove the default certificates using the keytool.
keytool -delete -keystore keystore -alias rsa
keytool -delete -keystore keystore -alias dsa
If you require clients to verify themselves using certificates, obtain their certificates and import them into the truststore file rather than the keystore. First, you should change the default truststore password:
keytool -storepasswd -keystore truststore
keytool will ask for the old password (by default it is changeit) then the new password. Now import each certificate using the keytool:
keytool -import -keystore truststore -alias user_name -file certificate_file
Open the Openfire Admin Console in your favorite browser and add or change the following system properties:


On 23 February 2018, 8 new articles were published in 6 journals.
Regulation of Prostitution in the Netherlands: Liberal Dream Or Growing Repression?
State of the Art in Agent-Based Modeling of Urban Crime: An Overview
Evaluating Community Prosecution Code Enforcement in Dallas, Texas
Travis Linnemann, Meth Wars: Police, Media, Power
Muslim Youth Unemployment and Expat Jihadism: Bored to Death?
Note: although this article was published on 24 January 2018, the publisher only added it to the journal RSS feed on 23 February 2018, which is why it is shown in the list of articles for that date.
Community Stakeholder Responses to Countering Violent Extremism Locally
Note: although this article was published on 30 January 2018, the publisher only added it to the journal RSS feed on 23 February 2018, which is why it is shown in the list of articles for that date.


Unlimited users
3 Data Sources
5 Dashboards
100 Saved Queries
30 minutes minimum automatic refresh frequency
5 minutes maximum query execution time
Unlimited Users
10 Data Sources
50 Dashboards
1000 Saved Queries
5 minutes minimum automatic refresh frequency
2 hours maximum query execution time
Unlimited Users
Unlimited Data Sources
Unlimited Dashboards
Unlimited Saved Queries
1 minute minimum automatic refresh frequency
12 hours maximum query execution time
Audit logging
Group permissions
SAML SSO
You can run the open source version of Redash free of charge on your own servers. Setup Guide →
All the features and capabilities Redash has to offer - collaborative cloud based query editor, visualization tools, auto-updating dashboards, alerts and integrations. The first month has unlimited everything, so you could really try it out. Once the trial is over and you select your plan the volumes will get restricted accordingly.
Yes. If you are a legally recognized educational or non-profit organization, we can offer a discount. Please contact us after starting your trial.
Any query that you save and has a URL you can share.
We're hosted on AWS and follow best practices:
If you have any specific concerns, please contact us and we'll be happy to help.


Adaboost
问题描述 :
输入:
There are no more than 10 test cases
For each case, the first line contains four integers C , N , M,S ( 1<= C <= 20 ,1 ≤ N,M <= 1000, 1<= S <= 50 ,M%2==0), indicating the number of queries , the number of rectangles, the number of images, the size of image .Noting ：all the images are square and the same in size .
Then there are N lines. Each line has four integers x1 y1 x2 y2 (x1 <= x2, y1 <= y2, 0 <= x1, x2, y1, y2 < S) .They are the coordinates of the left-top and the right-bottom points of the rectangle . (y is row ,x is column)
Then there are M lines. Each lines has S*S integers. All integers from 0 to 255.
The ith Image is face when i is between 1 and M/2 , notface otherwise.
Then there are C lines. Each line has M integers. The ith integer is qi indicating to weight of ith image.( 1<= qi <= 2000000 )
For each case, the first line contains four integers C , N , M,S ( 1<= C <= 20 ,1 ≤ N,M <= 1000, 1<= S <= 50 ,M%2==0), indicating the number of queries , the number of rectangles, the number of images, the size of image .Noting ：all the images are square and the same in size .
Then there are N lines. Each line has four integers x1 y1 x2 y2 (x1 <= x2, y1 <= y2, 0 <= x1, x2, y1, y2 < S) .They are the coordinates of the left-top and the right-bottom points of the rectangle . (y is row ,x is column)
Then there are M lines. Each lines has S*S integers. All integers from 0 to 255.
The ith Image is face when i is between 1 and M/2 , notface otherwise.
Then there are C lines. Each line has M integers. The ith integer is qi indicating to weight of ith image.( 1<= qi <= 2000000 )
输出:
There are no more than 10 test cases
For each case, the first line contains four integers C , N , M,S ( 1<= C <= 20 ,1 ≤ N,M <= 1000, 1<= S <= 50 ,M%2==0), indicating the number of queries , the number of rectangles, the number of images, the size of image .Noting ：all the images are square and the same in size .
Then there are N lines. Each line has four integers x1 y1 x2 y2 (x1 <= x2, y1 <= y2, 0 <= x1, x2, y1, y2 < S) .They are the coordinates of the left-top and the right-bottom points of the rectangle . (y is row ,x is column)
Then there are M lines. Each lines has S*S integers. All integers from 0 to 255.
The ith Image is face when i is between 1 and M/2 , notface otherwise.
Then there are C lines. Each line has M integers. The ith integer is qi indicating to weight of ith image.( 1<= qi <= 2000000 )
For each case, the first line contains four integers C , N , M,S ( 1<= C <= 20 ,1 ≤ N,M <= 1000, 1<= S <= 50 ,M%2==0), indicating the number of queries , the number of rectangles, the number of images, the size of image .Noting ：all the images are square and the same in size .
Then there are N lines. Each line has four integers x1 y1 x2 y2 (x1 <= x2, y1 <= y2, 0 <= x1, x2, y1, y2 < S) .They are the coordinates of the left-top and the right-bottom points of the rectangle . (y is row ,x is column)
Then there are M lines. Each lines has S*S integers. All integers from 0 to 255.
The ith Image is face when i is between 1 and M/2 , notface otherwise.
Then there are C lines. Each line has M integers. The ith integer is qi indicating to weight of ith image.( 1<= qi <= 2000000 )
样例输入:
1 1 4 1 0 0 0 0 1 4 2 3 1 1 1 1 1 1 4 1 0 0 0 0 1 2 3 4 1 1 1 1
样例输出:
Case #1: 1 Case #2: 0HintThe first sample f1 (x1) = 1, f1 (x2) = 4, f1 (x3) = 2, f1 (x4 ) = 3, so when θ ∈ (1, 2] , p = 1, or θ ∈ [3, 4), p = -1, ∈t = 1.
(adsbygoogle = window.adsbygoogle || []).push({});
哇，每期都看的，有没有抽奖啊 什么的
哇，每期都看的，有没有抽奖啊 什么的
哇，每期都看的，有没有抽奖啊 什么的
哇，每期都看的，有没有抽奖啊 什么的
哇，每期都看的，有没有抽奖啊 什么的
哇，每期都看的，有没有抽奖啊 什么的
其实国内大部分公司对算法都不够重视。特别是中小型公司老板根本都不懂技术，也不懂什么是算法，从而也不要求程序员懂什么算法，做程序从来不考虑性能问题，只要页面能显示出来就是好程序，这是国内的现状，很无奈。
这个才是我想要的
scanner改用StreamTokenizer就不超时了
根本过不了。。。。
Thank you very much
else if也是要比较两次
必须试过啊
先从简单的做起，归并排序，二叉树相关的遍历等
很好。代码比书上的简练！
很高兴你会喜欢这个网站。目前还没有一个开发团队，网站是我一个人在维护，都是用的开源系统，也没有太多需要开发的部分，主要是内容整理。非常感谢你的关注。
在方法1里面：
//遍历所有的边，计算入度
for(int i=0; i<V; i++)
{
degree = 0;
for (j = adj .begin(); j != adj .end(); ++j)
{
degree[*j]++;
}
}
为什么每遍历一条链表，要首先将每个链表头的顶点的入度置为0呢？
比如顶点5，若在顶点1、2、3、4的链表中出现过顶点5，那么要增加顶点5的入度，但是在遍历顶点5的链表时，又将顶点5的入度置为0了，那之前的从顶点1234到顶点5的边不是都没了吗？
先从简单的做起，归并排序，二叉树相关的遍历等
I like your publish. It is great to see you verbalize from the coronary heart and clarity on this essential subject matter can be easily noticed.
参考 http://www.acmerblog.com/leetcode-solutions-6422.html


TEST
This is a test page..1
×
Subscribe our Newsletter
Subscribe to our mailing list to get the latest updates straight in your inbox.
Subscribe


| DOSE: T+ 0:00 |
1 tablet |
oral |
MDMA |
(pill / tablet) |
| T+ 2:00 |
1 cart. |
inhaled |
Nitrous Oxide |
(gas) |
| T+ 4:00 |
|
smoked |
Cannabis |
(pill / tablet) |
| T+ 4:00 |
1 tablet |
oral |
MDMA |
(pill / tablet) |
Upon the changing of the New Year to 2005, I took the time to reflect on my past New Years experiences and remember the good times I have had with close friends. One of my best memories of New Years past was two year ago when I was celebrating New Years 2003. It was during this time when I embarked on my second Ecstasy roll.
New Year's Eve came about with no big plans in store. My friends and I, all of whom have rolled once before, decided to go to a party, sip on champagne, and ring in the New Year like pretty much everyone else in America, no drugs involved. However things changed when a friend of a friend stopped by and told us he was selling beans, extremely strong beans because he had used them himself the day before. They were large green pills with a Mercedes sign on them. We bought them spontaneously.
The time before when I rolled we had prepared everything down to the T. We bought water, lollipops, Vick inhalers, glowsticks, burned the best techno CDs, and set up a strobe light. This time we had nothing, except a few good CDs. In a frantic run to a convenience store at 9:30 PM, we quickly stocked up on glowsticks, several Vicks inhalers and borrowed a friend's strobe light and black light. A good friend of ours was throwing a New Year's Party and we wanted to be there when the New Years Ball dropped in Times Square so we all took our first bean of the night at 11:00 PM, left our rolling supplies at home, and headed to the party.
It was there, while waiting for the ball to drop, that I first noticed effects of the bean. I am a female, was 22 at the time, about 5'3, and weighed about 125 pounds, so it really only took me about 20 minutes to notice that I was more sensitive to lights and sound. None of my friends reported feeling any effects, and no one else at the party was rolling so I began to get nervous that I was all alone in the world. 'You're not feeling anything?' I kept asking my friends. They kept telling me not to worry, not to talk about it, just to enjoy the euphoric feeling, but at the time I couldn't.
Finally my friend leaned over and reported that she was f***ed up too. At that moment the counting began toward New Years 2003 and we all yelled. '10, 9, 8, 7, 6, 5, 4, 3, 2, 1, HAPPY NEW YEAR!!!' And right then this rush of euphoria came over me and everyone at the party was hugging and pouring champagne and suddenly all was right with the world. After the commotion had died down all my friends were feeling the effects. We went to the bathroom and stared in the mirror, our pupils were HUGE. We agreed to get out of there to go home and enjoy our roll in a place where we could be completely comfortable.
On the way home the lights from the city were beautiful. I had never noticed what a beautiful city we lived in before until I saw all the traffic lights and street lights in a different way. They were shimmering and lovely. I rolled the window down in the car and enjoyed the feeling of the cold air on my face. We listened to techno music and savored the feeling. When we got home we just plopped down on the couch and awaited some other friends who were rolling as well. The strobe light and music was turned on and we just quietly listened to the sounds. I had my first blow-up at this point, when the music gradually went from slow to fast.
When I rolled for the first time, I had experienced a desire to be touched, to be massaged, and rubbed. This time all I wanted was the Vicks inhaler and I didn't want to be touched at all. I enjoyed the inhaler being blown into my eyes and mouth. I also enjoyed being alone, in silence, not talking, whereas before I needed a constant presence of friendship around me. It just goes to show you how different each and every MDMA experience is.
Meanwhile, our friends had arrived with Whip Its. I had never done them before, and wasn't wanting to try them, but at one point I was blowing up so hard I was told I was missing something by not trying one. I tried it and I will admit it was one of the most amazing experiences I had ever had. I stared into the strobe light so hard I was seeing double and I thought to myself, 'This is what the world looks like when everyone is happy and everyone loves each other.' I decided not to do anymore Whip Its for the night. I had experienced it and now I wanted to blow myself up in more natural ways.
A friend swung me around and tossed my head around, the feeling was indescribable. Another friend started doing glowsticks and it was incredible, far away and then in my face and then far away again. I chewed on ice, all the while making sure to drink plenty of water. I took a shower and brought the strobe light with me, the feeling of water on my back and the light's motion blew me up to new heights. I definitely recommend showering on E.
When I started to come down (after 4 hours) I smoked a joint. When I had rolled the first time I found that marijauna enhanced my roll incredibly but this time I felt it brought me down a bit, but perhaps because I was coming down it made me feel sober again, talkative and funny like I usually am. At about 3 AM we all took our second bean. We talked and listened to techno-Sandstorm was a favorite of the night-and let the next bean sink in. We went outside to light our fireworks, not a good idea for an inebriated person might I add, and I began to do glowsticks myself.
I don't consider myself a person with a lot of rythym but for some reason I just moved to the music with the glowsticks and blew everyone up. It made me so happy that I was able to make others feel good. I loved the dancing and the movement made me feel more euphoric. Once I was able to get over my self consciousness I was able to let loose and enjoy having others roll balls to my movement. That's another thing I will say about E, it definitely lowers inhibitions but not like alcohol.  All my friends were so grateful for me dancing with the glowsticks and everyone was trying to blow up everyone else, it was such a giving time. No one was being stingy and no one was happy if we weren't all happy, so we all made sure we were happy. We all felt like a good roll was when everyone was rolling hard.
I was still blowing up when the sun came up around 7. It was kind of a downer to realize that the room was getting bright and it was harder to see the glowsticks and the strobe light. I was getting tired of techno, and thatís when I decided to retreat to my room alone to finish out the rest of the roll. After saying goodbye and exchanging hugs with my friends, who were also still rolling, I headed to my room. I took another shower and got into my comfy pjs. I went to my room, drew the shades, and put in my soothing ocean and birds CD. I got into my bed under the down comforter and listened to the CD. I was immensely enjoying the sounds after all that pounding techno all night.
My dog, who had been outside all night to shield his poor ears from the music, curled up next to me and I lay in bed with him for the next few hours. I loved being alone, which is surprising because normally I hate being alone, especially in an altered state. Sleep wouldn't come, as I was still feeling effects as late as 12 noon. The first time I'd rolled I had the 'all ate up' feeling the next day and slept for hours, but this time I wasn't sleeping and didn't feel bad. My sense of time was messed up, but other than that I wasn't having any bad side effects, not even jaw tension. I wasn't hungry and didn't eat a bite that entire New Years Day. I just hung around my house, watched TV and let the effects of the night before slowly filter out of me.
All in all I will say that my second experience on Ecstasy was a wonderful experience but not lifechanging as some others have stated.  I had no depression or sadness following the roll either. As a conclusion I will mention some things that may have helped enhance the roll. The fact that it was spontaneous was a big plus. We didn't have all day or all week to contemplate the roll or to build ourselves up over it. It just happened and that made it seem like a stroke of good luck. I think a lot of times people get so worked up over something they end up disappointed with the final result. Had I had a long time to ponder it, I might have been more down with the actual effect.
By the way, with two X experiences under my belt, I think I'm ready to throw in the towel. I have had two wondrous times using X, but now I think I am over the curiosity and excitement. I would hate to have a bad roll and never want to do it again. I'd rather quit while I'm ahead as they say. But nothing is ever set in stone and I have a long life ahead of me, so we shall see what my future holds. It has been two years since that incredible roll, and I am content to remember that night.
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.


--- title: Binary crossentropy between an output tensor and a target tensor. type: docs repo: https://github.com/rstudio/keras menu: main: name: Binary crossentropy between an output tensor and a target tensor. - keras parent: keras-reference aliases: - /reference/keras/k_binary_crossentropy.html - /keras/reference/k_binary_crossentropy.html - /guide/keras/reference/k_binary_crossentropy.html - /tools/tools/keras/reference/k_binary_crossentropy.html - /installation/keras/reference/k_binary_crossentropy.html - /tutorials/keras/reference/k_binary_crossentropy.html - /guide/tools/keras/reference/k_binary_crossentropy.html - /deploy/keras/reference/k_binary_crossentropy.html - /tools/keras/reference/k_binary_crossentropy.html - /tutorials/tools/keras/reference/k_binary_crossentropy.html ---
Binary crossentropy between an output tensor and a target tensor.
k_binary_crossentropy(target, output, from_logits = FALSE)
| target | A tensor with the same shape as |
| output | A tensor. |
| from_logits | Whether |
A tensor.
This function is part of a set of Keras backend functions that enable lower level access to the core operations of the backend tensor engine (e.g. TensorFlow, CNTK, Theano, etc.).
You can see a list of all available backend functions here: https://keras.rstudio.com/articles/backend.html#backend-functions.


- 6.1 Introduction of C++ Wrapping
- 6.2 Approach of C++ Wrapping
- 6.3 Supported C++ features
- 6.4 Command line options and compilation
- 6.5 Proxy classes
- 6.6 Simple C++ wrapping
- 6.6.2 Default ctors, copy ctors and implicit dtors
- 6.7 Default arguments
- 6.9 Enums and constants
- 6.11 References and pointers
- 6.13 Inheritance
- 6.15 Wrapping Overloaded Functions and Methods
This chapter describes SWIG’s support for wrapping C++. As a prerequisite, you should first read the chapter SWIG-3: Wrap ANSI C Type to see how SWIG wraps ANSI C. Support for C++ builds upon ANSI C wrapping and that material will be useful in understanding this chapter.
6.1 Introduction of C++ Wrapping
SWIG only provides support for a subset of C++ features. Fortunately, this is now a rather large subset. there is no semantically obvious (or automatic ) way to map many of its advanced features into other languages. As a simple example:
- consider the problem of wrapping C++ multiple inheritance to a target language with no such support.
- Similarly, the use of overloaded operators and overloaded functions can be problematic when no such capability exists in a target language.
In contrast, C++ has increasingly relied upon generic programming and templates for much of its functionality. Although templates are a powerful feature, they are largely orthogonal to the whole notion of binary components and libraries. For example, an STL vector does not define any kind of binary object for which SWIG can just create a wrapper.
6.2 Approach of C++ Wrapping
To wrap C++, SWIG uses a layered approach to code generation.
 These wrappers take care of basic type conversion, type checking, error handling, and other low-level details of the C++ binding.
These wrappers are also sufficient to bind C++ into any target language that supports built-in procedures. In some sense, you might view this layer of wrapping as providing a C library interface to C++.
On top of the low-level procedural (flattened) interface, SWIG generates proxy classes that provide a natural object-oriented (OO) interface to the underlying code. The proxy classes are typically written in the target language itself. For instance, in Python, a real Python class is used to provide a wrapper around the underlying C++ object.
SWIG tries to maintain a very strict and clean separation between the implementation of your C++ application and the resulting wrapper code.it does not play sneaky tricks with the C++ type system, it doesn’t mess with your class hierarchies, and it doesn’t introduce new semantics.
NOTE: Although this approach might not provide the most seamless integration with C++ (not most efficiently), it is safe, simple, portable, and debuggable.
Some of this chapter focuses on the low-level procedural interface to C++ that is used as the foundation for all language modules.
NOTE: Keep in mind that the target languages also provide the high-level OO interface via proxy classes. More detailed coverage can be found in the documentation for each target language.
6.3 Supported C++ features
SWIG currently supports most C++ features including the following:
- Classes
- Constructors and destructors
- Virtual functions
- Public inheritance (including multiple inheritance)
- Static functions
- Function and method overloading
- Operator overloading for many standard operators
- References
- Templates (including specialization and member templates)
- Pointers to members
- Namespaces
- Default parameters
- Smart pointers
The following C++ features are not currently supported:
- Overloaded versions of certain operators (new, delete, etc.)
NOTE: As a rule of thumb, SWIG should not be used on raw C++ source files, use header files only.
6.4 Command line options and compilation
When wrapping C++ code, it is critical that SWIG be called with the -c++
option.
When compiling and linking the resulting wrapper file, it is normal to use the C++
compiler. For example:
$ swig -c++ -tcl example.i
$ c++ -fPIC -c example_wrap.cxx
$ c++ example_wrap.o $(OBJS) -o example.so
Unfortunately, the process varies slightly on each platform. Make sure you refer to the documentation on each target language for further details.
6.5 Proxy classes
if you’re building a Python module, each C++ class is wrapped by a Python proxy class.
Or if you’re building a Java module, each C++ class is wrapped by a Java proxy class.
6.5.1 Construction of proxy classes
roxy classes are always constructed as an extra layer of wrapping that uses low-level accessor functions. To illustrate, suppose you had a C++ class like this:
class Foo {
public:
Foo();
~Foo();
int bar(int x);
int x;
};
the real proxy class is written in the target language. For example, in Python, the proxy might look roughly like this:
class Foo:
def __init__(self):
self.this = new_Foo()
def __del__(self):
delete_Foo(self.this)
def bar(self, x):
return Foo_bar(self.this, x)
def __getattr__(self, name):
if name == 'x':
return Foo_x_get(self.this)
# ...
def __setattr__(self, name, value):
if name == 'x':
Foo_x_set(self.this, value)
# ...
NOTE: the low-level accessor functions are always used by the proxy classes. Whenever possible, proxies try to take advantage of language features that are similar to C++. This might include operator overloading, exception handling, and other features.
6.5.2 Resource management in proxies
<IP_ADDRESS> Issues brought from proxies
A major issue with proxies concerns the memory management of wrapped objects. Consider the following C++ code:
class Foo
{
public:
Foo();
~Foo();
int bar(int x);
int x;
};
class Spam
{
public:
Foo *value;
...
 That is, there is both a new proxy class instance and
a new instance of the underlying C++ class.In this example, both f
and s
are created in this way.
2.However, the statement s.value is rather curious. s.value
is a script
representations of Foo*
. when executed, a pointer to f is set to Foo* value inside
the underlying C++ object of s
. This means that the scripting proxy class
AND another C++ class share a reference to the same object. As a result,
now the underlying C++ object of s
stores a reference to the underlying
C++ object of f
.
3.To make matters even more interesting, consider the statement g = s.value
.
When executed, this creates a new proxy class g that provides a wrapper
around the C++ object stored in s.value
.
In general, there is no way to know where this object came from—it could have been created by the script, but it could also have been generated internally.
In this particular example, the assignment of g results in a second proxy
class for Foo
. In other words, a reference to Foo
is now shared by two proxy
objects (f
and g
) and a C++ object(Spam
).
4.In the statement, g=4, the variable g is reassigned. In many languages, this makes the old value of g available for garbage collection. Therefore, this causes one of the proxy classes to be destroyed.
5.Later on, the statement del f destroys the other proxy class.
Of course, there is still a reference to the original object stored inside another C++ object. What happens to it? Is the object still valid?
<IP_ADDRESS> Solution is ownership transfer
To answer this problem, we must talk anout proxy classes that provide an API for controlling ownership. In C++ pseudocode, ownership control might look roughly like this:
class FooProxy {
public:
Foo *self;
int thisown;
FooProxy() {
self = new_Foo();
thisown = 1; // Newly created object
}
~FooProxy() {
if (thisown) delete_Foo(self);
}
...
// Ownership control API
void disown() {
thisown = 0;
}
void acquire() {
thisown = 1;
}
};
class FooPtrProxy: public FooProxy {
public:
FooPtrProxy(Foo *s) {
self = s;
thisown = 0;
}
};
class SpamProxy {
...
FooProxy *value_get() {
return FooPtrProxy(Spam_value_get(self));
}
void value_set(FooProxy *v) {
Spam_value_set(self, v->self);
v->disown();
}
...
};
Looking at this code, there are a few central features:
- Each proxy class keeps an extra flag to indicate ownership. C++ objects are only destroyed if the ownership flag is set.
- When new objects are created in the target language, the ownership flag is set.
- When a reference to an internal C++ object is returned, it is wrapped by a proxy class, but the proxy class does not have ownership.
- In certain cases, ownership is adjusted. For instance, when a value is assigned to the member of a class, ownership is lost.
- Manual ownership control is provided by special disown() and acquire() methods.
Given the tricky nature of C++ memory management, it is impossible for proxy classes to automatically handle every possible memory management problem. However, proxies do provide a mechanism for manual control that can be used (if necessary) to address some of the more tricky memory management problems.
NOTE: Language specific details on proxy classes are contained in the chapters describing each target language. This chapter has merely introduced the topic in a very general way.
6.6 Simple C++ wrapping
The following code shows a SWIG interface file for a simple C++ class:
%module list
%{
#include "list.h"
%}
// Very simple C++ example for linked list
class List
{
public:
List();
~List();
int search(char *value);
void insert(char *);
void remove(char *);
char *get(int n);
static void print(List *l);
int length;
};
To generate wrappers for this class, SWIG first reduces the class to a collection of low-level C-style accessor functions which are then used by the proxy classes.
6.6.1 C-style Constructors and destructors
C++ constructors and destructors are translated into accessor functions such as the following :
List * new_List(void) {
return new List;
}
void delete_List(List *l) {
delete l;
}
6.6.2 Default ctors, copy ctors and implicit dtors
Following the C++ rules for implicit constructor and destructors, SWIG will automatically assume there is one even when they are not explicitly declared in the class interface.
In general then:
- If a C++ class does not declare any explicit constructor, SWIG will automatically generate a wrapper for one.
- If a C++ class does not declare an explicit copy constructor,
SWIG will automatically generate a wrapper for one if the
%copyctor
is used. - If a C++ class does not declare an explicit destructor, SWIG will automatically generate a wrapper for one.
And as in C++, a few rules that alters the previous behavior:
- A default constructor is not created if a class already defines a constructor with arguments.
- Default constructors are not generated for classes with pure virtual methods or for classes that inherit from an abstract class, but don’t provide definitions for all of the pure methods.
- A default constructor is not created unless all base classes support a default constructor.
- Default constructors and implicit destructors are not created if a class defines them in a private or protected section.
- Default constructors and implicit destructors are not created if any base class defines a non-public default constructor or destructor.
To manually disable these, the %nodefaultctor
and %nodefaultdtor
feature
flag directives can be used.
NOTE: that these directives only affects the Implicit generation, and they have no effect if the default/copy constructors or destructor are explicitly declared in the class interface.
For example:
%nodefaultctor Foo; // Disable the default constructor for class Foo.
class Foo {
// No default constructor is generated, unless one is declared
...
};
class Bar {
// A default constructor is generated, if possible
...
};
The directive %nodefaultctor
can also be applied “globally”, as in:
%nodefaultctor; // Disable creation of default constructors
class Foo {
// No default constructor is generated, unless one is declared
...
};
class Bar {
public:
Bar();
// The default constructor is generated, since one is declared
};
%clearnodefaultctor; // Enable the creation of default constructors again
The corresponding %nodefaultdtor
directive can be used to disable the
generation of the default or implicit destructor:
%nodefaultdtor Foo; // Disable the implicit/default destructor for class Foo.
class Foo {
// No destructor is generated, unless one is declared
...
};
Note: The %nodefault
directive/ -nodefault
options described above,
which disable both the default constructor and the implicit destructors,
could lead to memory leaks, and so it is strongly recommended to not use them.
6.6.3 When constructor wrappers aren’t created
If a class defines a constructor, SWIG normally tries to generate a wrapper for it. However, SWIG will not generate a constructor wrapper if it thinks that it will result in illegal wrapper code. There are really two cases where this might show up.
First, SWIG won’t generate wrappers for protected or private constructors. For example:
class Foo {
protected:
Foo(); // Not wrapped.
public:
...
};
Next, SWIG won’t generate wrappers for a class if it appears to be abstract–that is, it has undefined pure virtual methods. Here are some examples:
class Bar {
public:
Bar(); // Not wrapped. Bar is abstract.
virtual void spam(void) = 0;
};
class Grok : public Bar {
public:
Grok(); // Not wrapped. No implementation of abstract spam().
// but You can use `%feature("notabstract") Foo;` to force wrapping `Grok();`
};
6.6.4 Copy constructors
If a class defines more than one constructor, its behavior depends on the capabilities of the target language. If overloading is supported, the copy constructor is accessible using the normal constructor function. For example, if you have this:
class List {
public:
List();
List(const List &); // Copy constructor
...
};
then the copy constructor can be used in script as follows:
x = List() # Create a list
y = List(x) # Copy list x
If the target language does not support overloading, then the copy constructor is available through a special function like this:
List *copy_List(List *f) {
return new List(*f);
}
then the copy constructor can be used in script as follows:
x = List() # Create a list
y = copy_List(x) # Copy list x
Note: SWIG does not generate a copy constructor wrapper unless one
is explicitly declared in the class. This differs from the treatment of default
constructors and destructors. However, copy constructor wrappers can
be generated if using the copyctor
feature flag. For example:
%copyctor List;
class List {
public:
List();
};
Will generate a copy constructor wrapper for List.
6.6.5 Member functions
All member functions are roughly translated into accessor functions like this :
int List_search(List *obj, char *value) {
return obj->search(value);
}
It should be noted that SWIG does not actually create a C accessor
function in the code it generates. Instead, member access such as
obj->search(value)
is directly inlined into the generated wrapper functions.
6.6.6 Static members
Static member functions are called directly without making any special transformations. For example, the static member function print(List *l) directly invokes List::print(List *l) in the generated wrapper code.
6.7 Default arguments
SWIG will wrap all types of functions that have default arguments. For example member functions:
class Foo {
public:
void bar(int x, int y = 3, int z = 4);
};
SWIG handles default arguments by generating an extra overloaded method for each defaulted argument.
class Foo {
public:
void bar(int x, int y, int z);
void bar(int x, int y);
void bar(int x);
};
6.9 Enums and constants
class Swig {
public:
enum {ALE, LAGER, PORTER, STOUT};
};
Generates the following set of constants in the target scripting language :
Swig_ALE = Swig::ALE
Swig_LAGER = Swig::LAGER
Swig_PORTER = Swig::PORTER
Swig_STOUT = Swig::STOUT
6.11 References and pointers
C++ references are supported, but SWIG transforms them back into pointers. For example, a declaration like this :
class Foo {
public:
double bar(double &a);
}
has a low-level accessor:
double Foo_bar(Foo *obj, double *a) {
obj->bar(*a);
}
As a special case, most language modules pass const references to primitive data types (int, short, float, etc.) by value instead of pointers. For example, if you have a function like this,
void foo(const int &x);
it is called from a script as follows: foo(3) # Notice pass by value
Functions that return a reference are remapped to return a pointer instead. For example:
class Bar {
public:
Foo &spam();
};
Generates an accessor like this:
Foo *Bar_spam(Bar *obj) {
Foo &result = obj->spam();
return &result;
}
However, functions that return const references to primitive
data types (int, short, etc.) normally return the result as a value
rather than a pointer. For example, a function like this, const int &bar();
will will return integers such as 37 or 42 in the target scripting language
rather than a pointer to an integer.
6.13 Inheritance
C *c = new C();
void *p = (void *) c;
void *pA = (void *) c;
void *pB = (void *) c;
...
int x = A_function((A *) pA);
int y = B_function((B *) pB);
In practice, the pointer is held as an integral number in the target language proxy class.
6.15 Wrapping Overloaded Functions and Methods
For example, a class with a member template might look like this:
class Foo {
public:
template<class T> void bar(T x, T y) { ... };
...
};
if you want to leave the original class definition alone, just do this:
class Foo {
public:
template<class T> void bar(T x, T y) { ... };
...
};
...
%template(bari) Foo::bar<int>;
%template(bard) Foo::bar<double>;


equery list '*'- Search for installed packages in the Portage tree and in overlays:
equery list -po package_name- List all packages that depend on a given package:
equery depends package_name- List all packages that a given package depends on:
equery depgraph package_name- List all files installed by a package:
equery files --tree package_name


The Downtown Diner
The Downtown Diner is located in the heart of Techieville! We Specialize in good-ole home cooking. Our menu ranges from chicken dumplings to our famous fiesta burrito. Our breakfast menu is available all day. Please come by and share a meal with us. We are conveniently located on the corner of 5th and Hypertext Avenue.


The Narrator is a vital part of Darkest
Dungeon, accompanying the player in their adventures and creating a dark and stressful atmosphere with
his foreboding comments. The story of Darkest Dungeon is exposed through the narrator, who will give hints on
his mysterious past as the player approaches the various bosses. All unlocked
narrations concerning the plot are available by consulting the Ancestor's Memoirs, a building found in the central square of the hamlet. The voice
actor for the Narrator is Wayne June.
The Narrator is the Ancestor of the player and former owner of the Estate. After a lifetime of debauchery and arcane pursuits, he
excavated an unspeakable, ancient horror far below the foundations of his mansion. This discovery shocked him into
realising the depths of his crimes and recklessness, only too late for him to personally make amends. In a final
letter sent to the player, he bequeaths them the Estate and urges them to reclaim it from the burgeoning corruption
that now plagues it due to his actions. He then ends his own life. Even in death, however, the Ancestor accompanies
and guides the player as the omnipresent Narrator.
The Narrator reacts differently to many events and actions of the player. He will comment on a grand variety of
events and parts of the game including the sparse cinematics, positive
and negative dungeon interactions, critical hits, hero recruitment and death, as
well as various interactions within the Hamlet and more.
There is a place, beneath those ancient ruins, in the moor, that calls out to the boldest among them...
"We are the Flame!" they cry, "And Darkness fears us!" They descend, spurred on by fantasies of riches and
redemption, to lay bare whatever blasphemous abnormality may slumber restlessly in that unholy abyss... But
Darkness is insidious. Terror and Madness can find cracks in the sturdiest of armors, the most resolute of
minds... And below, in that limitless chasm of Chaos, they will realize the truth of it. "We are not the
Flame!" they will cry out, "We are but moths and we are DOOMED!" And their screams will echo amidst the
pitiless cyclopean stones... Of the Darkest Dungeon.
Ruin has come to our family. You remember our venerable house, opulent and imperial. Gazing proudly from
its stoic perch above the moor. I lived all my years in that ancient, rumor shadowed manor. Fattened by
decadence and luxury. And yet, I began to tire of conventional extravagance. Singular, unsettling tales
suggested the mansion itself was a gateway to some fabulous and unnamable power. With relic and ritual, I
bent every effort towards the excavation and recovery of those long buried secrets, exhausting what remained
of our family fortune on swarthy workmen and sturdy shovels. At last, in the salt-soaked crags beneath the
lowest foundations we unearthed that damnable portal of antediluvian evil. Our every step unsettled the
ancient earth but we were in a realm of death and madness! In the end, I alone fled laughing and wailing
through those blackened arcades of antiquity. Until consciousness failed me. You remember our venerable
house, opulent and imperial. It is a festering abomination! I beg you, return home, claim your birthright,
and deliver our family from the ravenous clutching shadows of the Darkest Dungeon.
You will arrive along the old road. It winds with a troubling, serpent-like suggestion through the
corrupted countryside. Leading only, I fear, to ever more tenebrous places. There is a sickness in the
ancient pitted cobbles of the old road and on its writhing path you will face viciousness, violence, and
perhaps other damnably transcendent terrors. So steel yourself and remember: there can be no bravery without
madness. The old road will take you to hell, but in that gaping abyss we will find our redemption.
All my life, I could feel an insistent gnawing in the back of my mind. It was a yearning, a thirst for
discovery that could be neither numbed, nor sated.
Excavations beneath the manor were well underway, when a particular ragged indigent arrived in the
hamlet. This filthy, toothless miscreant boasted an uncanny knowledge of my ambitions and prognosticated
publicly that left unchecked, I would soon unleash doom upon the world.
This raving creature had to be silenced, but doing so proved maddeningly impossible. How had he survived
the stockades, the icy waters, and the knives I delivered so enthusiastically into his back? How had he
returned time and time again to rouse the townsfolk with his wild speculations and prophecies?
Finally, resigned to his uncommon corporeal resilience, I lured him to the dig. There, I showed him the
Thing, and detailed the full extent of my plans. Triumphantly, I watched as he tore his eyes from their
sockets, and ran shrieking into the shadows - wailing maniacally that the end was upon us all.
Mastery over life and death was chief among my early pursuits. I began in humility, but my ambition was
limitless. Who could have divined the prophetic import of something as unremarkable as a twitch in the leg
of a dead rat?
I entertained a delegation of experts from overseas, eager to plumb the depths of their knowledge and
share with them certain techniques and alchemical processes I had found to yield wondrous and terrifying
results. Having learned all I could from my visiting guests, I murdered them as they slept.
I brought my colleagues back with much of their intellect intact, a remarkable triumph for even the most
experienced necromancer. Freed from the trappings of their humanity, they plied their terrible trade anew -
the dead reviving the dead, on and on down the years... forever.
I had collected many rare and elusive volumes on ancient herbal properties, and was set to enjoy several
weeks immersed in comfortable study. My work was interrupted, however, by a singularly striking young woman
who insisted on repeated calls to the house.
Her knowledge of horticulturalism, and its role in various arcane practices impressed me greatly. My
licentious impulse gave way to a genuine, professional respect, and together, we began to plant, harvest,
and brew.
As time wore on, her wild policy of self-experimentation grew intolerable. She quaffed all manner of
strange fungii, herbs and concoctions, intent on gaining some insight into the horror we both knew to be
growing beneath us. The change in her was appalling, and, no longer able to stomach it, I sent her to live
in the Weald, where her wildness would be welcomed.
Simple folk are by their nature loquacious, and the denizens of the Hamlet were no exception. It was not
long before rumors of my morbid genius and secretive excavations began to fuel local legend. In the face of
my increasingly egregious flaunting of public taboos, awe turned to ire, and demonstrations were held in the
town square.
The wild whispers of heresy roused the rabble to violent action. Such was the general air of rebellion
that even my generous offer of gold to the local constabulary was rebuffed! To reassert my rule, I sought
out unscrupulous men skilled in the application of force. Tight-lipped and terrifying, these mercenaries
brought with them a war machine of terrible implication.
Eager to end the tiresome domestic distraction, I instructed my newly formed militia of hardened bandits,
brigands and killers to go forth and do their work. Compliance and order were restored, and the noisome
population of the Hamlet was culled to more... manageable numbers.
The ways and rituals of blood sacrifice are difficult to master. Those from beyond require a physical
vessel if they are to make the crossing into our reality. The timing of the chants is imperative - without
the proper utterances at precise intervals, the process can fail spectacularly.
My first attempts at summoning were crude and the results, disappointing. I soon found however, that the
type and condition of the host's meat was a critical factor. The best results came from pigs, whose flesh is
most like that of man.
 Moreover, it required prodigious
amounts of meat to sustain itself, but this was only a trifling concern – after all, I had a village full of
it.
My zeal for blood rituals and summoning rites had begun to ebb as each attempt invariably brought only
failure, and disappointment. Progress was halting, and the rapidly accumulating surplus of wasted flesh had
become... burdensome.
I could not store such a prodigious amount of offal, nor could I rid myself of it easily, possessed as it
was by unnameable things from outer spheres. When excavations beneath the Manor broke through into an
ancient network of aqueducts and tunnels, I knew I had found a solution to the problem of disposal.
The spasmodically squirming, braying, and snorting half-corpses were heaped each upon the other until at
last I was rid of them. The Warrens became a landfill of snout and hoof, gristle and bone – a mountainous,
twitching mass of misshapen flesh fusing itself together in the darkness.
My lofty position wasn't always accompanied by the fear of office, and there was a time I could walk the
streets or raise a glass in the tavern without concern for molestation. Faithful as the tide, one precocious
village waif made it her hobby to shadow my every errand. It was charming then, troublesome later.
In financial desperation, I struck a bargain with the ancient things that surfaced in search of sacrifice
when the moon was right. Their price was the delivery of an obscure idol and one other item of more
troubling portent. The pact struck, my newfound accomplices slipped silently beneath the brackish water. A
fearful stirring at the edge of the torchlight betrayed a familiar witness, and gifted me with malign
inspiration.
Under the blood moon, I lured my wide-eyed prey to the pier’s edge. Before she could properly appreciate
her position, I clamped on a manacle, chaining her to the leering idol. A small push was sufficient to send
both into the icy waters. And when at length the tide receded, jewels of the most magnificent grandeur lay
scattered upon the shore.
Prying eyes had become a nuisance along the Old Road, and so I undertook to receive my most curious
deliveries by way of marine shipments. A sheltered jetty was accessible by a narrow stone stair off the back
of the manor, and a discreet system of pulleys could hoist even the heaviest prizes up the rock face from a
securely tied dinghy below.
I employed a crew of particularly unsavory mariners, who, for a time, sailed the four corners at my
behest - retrieving many valuable artifacts, relics and rare texts. Predictably, they increased their
tariffs to counter my intense stipulations of secrecy. Such resources had long been exhausted, of course,
and so I prepared an... alternative payment.
While the greedy dogs slept off their revelry, I hexed their anchor with every twisted incantation I
could muster - imbuing it with the weight of my ambition, and my contempt for their crude extortion. At the
witching hour, the anchor pulled with preternatural force, dragging craft and crew down into the depths.
They must have cried out, but no sound escaped the swirling black waters...
In those younger years my home was a hive of unbridled hedonism, a roiling apiary where instinct and
impulse were indulged with wild abandon. A bewitching predator slipped in amidst the swarm of tittering
sycophants. Though outwardly urbane, I could sense in her a mocking thirst. Driven half-mad by cloying
vulgarity I plotted to rid myself of this lurking threat in a grand display of sadistic sport. But as the
moment of murder drew nigh, the gibbous moon revealed her inhuman desires in all their stultifying
hideousness…
Mercifully, the morbid encounter resolved itself in my favor, and I set to work pursuing degeneracy in
its most decadent forms. The air pulsed with anticipation as I revealed the unnatural terroir of the house
vintage. But my exultation was cut short as the attending gentry turned upon themselves in an orgy of an
indescribable frenzy. A single drop of that forbidden tannin gifted me with a dizzying glimpse of a
hibernating horror beneath my feet, and in that moment, I understood the terrible truth of the world. I
stood reborn, molted by newfound knowledge, my head throbbing to the growing whine of winged vermin come to
drink the tainted blood… of The Darkest Dungeon.
This article or section may contain spoilers about final bosses. You might want to avoid reading
further if you don't want to spoil the surprise for yourself!


snow burned forcing radiative albedo forest western snowpack forests measured using post-fire {border-style measurements px;} seasonal #ffffff;} concentrations following years dust water (Fig. area Res. increase used SNICAR-modeled West carbon earlier fires impacts change changes solar black climate debris energy zone American Geophys. January SDD disappearance fire. organic snowmelt total annual canopy daily data deposition ice impurities px; sample samples spectral {font-family (). LAI SNICAR associated average background chronosequence cover effects font-size forested increased mass melt resource result satellite size snowpacks volume warming year Lett. Sci. United analyses based calculated date difference double; particles product surface values variability wildfire woody Climate Ecol. Fig. MODIS Nature Resour. Rocky States Supplementary U.S. Using Water border-color border-width clean core determined directly extent included including insoluble largest line) occurred prior range recent relative resulting sampling seven sites solid; spatial {font-style {font-weight (dark (e.g., -year ./pnas. . × Acad. Changes Colorado, Columbia Commons Creative Data Environ. Forest MTBS Natl Nolin Proc. River Science Snow Whirl-Pak accumulation analysis availability available bold burn collected conducted courier; crustal depth determine distribution dust, em; evaluated fire, global impact increasing inorganic irradiance larger levels light located maximum model particle pt;} radiation reduced regions results standard stored streamflow subsample timing transfer use = ., GW


{% extends "education/deo/deo_dashboard.html" %} {% block content %}
| Schools | Violence Cases recorded Jan 2012 | Violence Cases recorded Feb 2012 | |
|---|---|---|---|
| Kotido Army PS | 23 | 21 | |
| Kotido Welfare PS | 13 | 21 | |
| Kotido Dayschool PS | 12 | 21 |
| Schools | Violence Cases recorded Jan 2012 | Violence Cases recorded Feb 2012 | |
|---|---|---|---|
| Kotido Army PS | 23 | 21 | |
| Kotido Welfare PS | 13 | 21 | |
| Kotido Dayschool PS | 12 | 21 |


{% include meta.html %}
{{ site.name }}
{{ site.description }}
Blog
About
How To
{{ content }}
{% include analytics.html %}


Hi, we're the Code Manglers!
Biographies
J.R. Maingat
J.R. is currently a 2nd year Co-op, Computer Science Specialist student at UTSC.
J.R. is a huge proponent of open source and maintain an active profile on GitHub. In his spare time he's been contributing bug fixes and features to the text editor Visual Studio Code and its extensions, as well as cmus, the most popular music player for Unix-like operating systems.
Currently as a personal project he is working with the MEAN stack with TubeTranscribe, a web app for musicians to help them learn how to play their favorite songs efficiently.
Previously J.R. worked at the Ontario Science Centre as an exhibit developer, where he worked with a team to create an educational replica of the International Space Station's Canadarm in under 3 months.
In his spare time, J.R. enjoys listening and talking about music, playing the guitar, and reading voraciously.
Rahul Kumar Saini
Rahul is in his second year at UTSC pursuing a Co-op Computer Science, Software Engineering specialist with a minor in Statistics.
He likes to work on back end in big projects like the one he’s going to work on in CSCC01. He’s got experience working with Java, C, Python, SQLite, and Android development through many projects throughout University.
Rahul is also experienced in working with people, teaching them how to use various software and generally teaching about computers or programming to anyone who wants to learn!
School work aside, He like to spend his free time playing badminton at TPASC with a group of friends or just hanging out surfing the web.
Wen Bo Ma
Wen Bo Ma is considered the statistics guy within the team. He is responsible for overseeing the product is well suited for statistics student and bridging the gap between computer science and statistics.
Having been surrounded at home with computers since early childhood when “A” drive floppy and Intel 80486 still exist have lead him to pursue a career in computer science. He is particularly interesting in robotics and internet of things and general automation and artificial intelligence. Wen Bo is fluent in languages such as Java, C, Python, PHP and SQL.
Wen Bo has previously graduated from University of Toronto with computer science joint statistics stream. He previously worked in CIBC as a middleware analyst dealing with Java based software and worked in Genworth Financial as a contractor for their middleware.
During free time Wen Bo enjoyed playing the violin and the occasional Salsa dancing.
Harry Jiang
What makes the AI behave this way? What did the developers use to create such realistic 3D models? What does the future hold for this medium?
These types of question have been constantly popping up in the mind of Harry Jiang, ever since he was little, as he completed a dungeon, solved a puzzle, or even deciphered a cryptic message written in a language from a make-believe world.
Currently, he is a 4th year student at the UTSC management program, with the intention of someday owning a small business.
However, mesmerized by this childhood hobby, he entered the management IT stream, where he can get a sense of how this hobby he enjoys tremendously really functions.
Having the knowledge of project management along with his recently sharpened programming skills, he hopes that his diverse knowledge would be a valuable asset to the team.
His favorite pass time is no doubt, the main reason why he is writing this biography, “video games”.
Richard MacPhee
Richard MacPhee is a fourth year studio arts student with a minor in computer science. Although he is studying primarily the visual arts, Richard holds a keen interest in the developing role computational technologies play in the story telling practices of contemporary society. The video game industry, digital animation, and virtual reality being just a few.
Through his undergrad career at the University of Toronto Scarborough Richard has gained experience and understanding of Python, Java, C, HTML, and mySQL databases. Richard is equally happy working on the back-end coding and algorithms as he is working on the front-end design of project.
Owing to his multiple work-study positions and experience refereeing with the International Quidditch Association, Richard is at home working as part of a team and even leading when the situation requires.
Team Goals
Our main objective is to complete the assignment given by Professor Sohee Kang. The team will attempt to deliver a brand new, fully functional and aesthetically appealing version of WeBWork, an open source online homework system for math and statistic students. We will make sure our software will at least perform all the fundamental functions and meet the required standards.
Furthermore, we hope to create a design that is intuitive for different types of students, whether or not they’re experienced with technology. Also, we hope this learning experience will be a chance to challenge ourselves to develop better coding, teamwork, communication, and problem-solving skill. Ultimately, we wish to do our best to enrich the student’s overall learning experience.
Team Strengths
From technicality to creativity, the members of Code Manglers have a wide range of ability and expertise. The team’s skill set varies from the statistics, project management, visual art, and even digital animation.
Most importantly, the common ground which holds the team together, is the interest and knowledge in computer science. This includes the experience in programming language such as C, Java, Python, and also other technology related projects such as Android development, HTML, SQL database, robotics, and such.
Working Agreement
- What agile development method will the group be using?
Scrum. Trello will be used as the Scrum board. - When will the TA meetings take place?
Tuesday mornings at 9:00 AM, should be there well before the meeting time! - When is the daily stand up?
9:00 PM or 10:00 PM depending on the day - On Slack chat - What days will you be having this meeting?
Every weekday, weekend meetings will take place as necessary. - Where are you going to have this meeting?
Slack/Facebook/Skype - What is your preferred means of communication?
Slack chat room/Facebook chat room - How quickly should team members respond?
Members must be present for meetings within 10 minutes. Any messages in the chat should be read within 24hrs, urgent messages should be sent through text to catch someone up. - When should code be submitted?
After each user story is completed. - Who is responsible for submitting work?
Members must submit their part of the work, code will be reviewed as a team - What is the team’s branching strategy?
A branch for each major feature, merged only when tested. - What will you do if a team member drops the course?
Take over their part of the assignment and carry on. - What are the expectations in terms of version control commits?
In terms of messages on commits? Formatting for commit messages to personal branch should be understandable to the person working on the branch. Formatting for commit messages to the main branch should be as follows:
Short description of what you’ve done (optional) Whatever.class.path.function
Functionality added/changed
Another.class.function
Functionality added/changed
Miscellaneous stuff at the end - Who will review the submitted work to ensure that everything is there?
Together in a meeting after we finish a sprint. - Who is the Scrum master?
J.R. Maingat - How will we solve roadblocks in code, or in our team?
Technical problem: Attempt to solve it with a fresh perspective on the problem, or talk about how to solve it at the end of daily meetings. Buggy Code/Insufficient documentation: Message the person who wrote the method, ask them to fix it.


{% extends 'musimatica/music_lesson.html' %} {% load static %} {% block style %}{% endblock style %} {% block text %}
At the beginning of a score, just after the clef sign, you will notice two numbers stacked in what looks like a fraction. These numbers make up the score's time signature.
Time Signature
The time signature shown above is called four four time. When calling out a time signature, the top number is named first, followed by the bottom number.
Note: Four four time is also referred to as Common Time due to its frequent use in music.
Music is divided into shorter sections called measures (sometimes reffered to as bars) which are separated by vertical bar lines.
The top number of the time signature indicates how many counts or beats are in each one of these measures. The bottom number of the time signature indicates which note value receives 1 beat.
In the four four time signature above, there are 4 beats, & a quarter note (think 1/4 note) receives 1 beat.
How would the time signature above be named? How many beats are in each measure, & which note value receives 1 beat? Give your best guesses, then click on the time signature to reveal the answers.
Instructions:
1. Click on the area of the toolbar labeled 4/4. Type a new time signature in the boxes that appear. Place a 3 in the first box, and a 4 in the second. Click Set Time Signature to apply it to the score.
2. With the clef set to treble, place a half note on the B which lies on the staff. Following the half note, place a quarter note on G (also on the staff).
For help recalling the notes, see the Hint below.
3. Click on the plus sign at the end of the staff to add another measure. Continue placing notes by adding a half note on the lowest A of the treble staff.
Next, add another quarter note on low E. Add a third measure and place a half note on low G.
4. FInally, select the note value which will fill out the current measure & place a note of that type on G.
When you have completed the instructions & are ready to move on, click "Generate Audio' to hear the result, or 'Submit' to check your work.
Hint: Note Values & Time Signature
Hint: Remembering the Notes on the Treble Staff.
{% endblock text %}


In this section you can navigate through my projects to have a closer look at the area I develpe my applications. You can further explore my showcase by going directly to the relative projects!
You can contact me to explore more of my projects. Please don't hesitate to write to me in case u would like to have alook at my recent showcase. Write or leave your number or Email so I can reach you.
Get In TouchWe use website layout with responsive features that fit for any mbile device.
Features from differnet technologies allow us create beautiful landing pages.
Nice animation using different libraries is included, for example waypoints.js
A great background image feature to make page contents scrolling smoothly.
Best libraries used like oql.carousel.js and others to make sliders within the page.
Using bootstrap or other techniques to design contact forms for developers.
I am a web developer, designer and javascrip specialist. I am qualified for working in the tech industry.
More ...


Issue 882: console.log() reports wrong source file and line number
Steps to reproduce
- Open Firebug
- Enable and switch to the Console panel
- Reload the page
- Click the button Log above
Expected result
-
There should be two logs. One called "log" at line 9 of issue882.html, the other one
named "external" at line 2 of external.js.


Luke's Story
Luke started at Oakland in the fall of 2019. Luke choose Oakland because of the opportunity to be a part of the swim and dive team. Luke, a diver, was excited to make his mark on the team and be a division one athlete!
As Luke began the year, he was shy and hesitant to talk to others. Early in the semester, Luke was approached by a member of InterVarsity during an outreach event. The chance to connect with others and grow in his faith intrigued Luke and he began attending their small group.
Here is where Luke’s journey differs from many. Luke, unlike anyone I know, has a willingness to get take a step of faith and get involved in things. Luke went through the leadership development process with InterVarsity and a semester later became a leader. Luke’s unique position as a student athlete put him in prime spot to lead a bible study for athletes. The only challenge, Luke was nervous that he would be judged for sharing his faith.
Luke accepted the opportunity to lead a small group but was nervous to take the steps needed to get it started. Luke started working towards launching his small group in the fall of 2020 and, because of his nervousness, and Oakland going online for classes his group struggled to get off the ground. It is around this time that Luke and I met. The first time we met it was evident that Luke was nervous and shy. As we got to know each other Luke rarely looked me in the eye and spoke of his fear of being judged by his teammates and coaches.
As Luke and I continued to meet in the fall we discussed fear, what it meant to be bold in the faith, and most importantly what it meant to follow Jesus. Luke knew Jesus intellectually but did not know what it meant to seek Jesus will all his heart.
In my experience, learning to following Jesus with all your heart can be confusing at times. It is not something that is taught, rather experienced. As Luke and I continued to meet we intentionally created time to experience Jesus in new ways. We read scripture, meditated on God’s word, and attempted to create opportunities to listen to the Lord. A defining moment for Luke, occurred when he and I sat outside the Oakland center in prayer for ten minutes intentionally asking the Lord to speak. It was in this moment that Luke felt that the Lord was calling him to go all in and be bold in his faith.
Luke began taking leaps of faith and inviting more of his teammates to come to bible study and he became more open with his faith. In the Fall of 2021, he was able to get his bible study off the ground and they started meeting weekly. As time passed Luke remained diligent and continued pursuing his teammates. As time went on his group grew in depth and in numbers. Luke even had the opportunity to help one of his teammates accept the Lord!
It’s been two years since Luke’s small group started meeting. In that time, he has continued to grow in his faith and make it his own. Our conversations have shifted from asking if it’s worth it to go all in to actively working towards conforming to the person of Christ.
Today, Luke is a different man from the one I met three years ago. He speaks with confidence, shares openly, loves dearly, and desires to be like Christ. I could not be prouder of the person Luke is and the person that he is becoming.
Luke is graduating in May of 2023 and excited for the future. Luke hopes to use his degree in statistics to do data analysis for sports teams one day. He is not sure where he will end up but is confident that he will continue to seek after the Lord and use his gifts to make an impact in the kingdom.
Below is a quote from Luke and his time in Cultivate.
“In the past couple of years, I have seen myself grow so much in my faith and as a person. I am so blessed to have had the privilege of meeting with Kyle, who’s been gifted in wisdom and guidance of others. It has been through his guidance that I’ve learned the importance of intentionality, the power of the Holy Spirit, and that living for Christ is more than just following a list of rules but pursuing a relationship with the Lord.” -Luke Lathrop
Written by Kyle Vens, Director of Cultivate


---
layout: post
title: Performance tuning Subversion and 'bulk CIs'
tags:
- Software Configuration Management
- Software Development
status: publish
type: post
published: true
meta: {}
---
Information from IBM on SVN performance when managing binary files and directories of files
Performance tuning Subversion
Performance tuning Subversion
The basic conclusion to be drawn from the article is that
- Don't store deltas of binary files. It takes too long
- Compress binaries before storing them
Another technique discussed in the article the archiving of a complete directory structures into a single file. This single file is then placed in Subversion as a configuration item (CI -- the technical term for a file or anything else placed under version control).
This technique is very useful (ignoring issues relating to performance) in certain limited version control scenarios. For example:
Scenario1:
When a tool generates a substantial number of files (e.g. a code generator) it often does not make sense to track changes to individual files because they all be regenerated the next time the tool is used.
Scenario2:
A package is released as a set of files. After the release build the complete set of file is managed as a single CI. Any change to a small part of the system creates a complete new release.
Powered by ScribeFire.


{% extends 'base.html'%} {%block navbar %} {% include 'navbar.html' %} {% endblock %} {% block content %} {% for quote in getquotes %}
This site is for the ones who want to call their own shots. The ones who want to live differently.The busy ones.
The ones with expensive tastes without the funds to match.The ones who want a family-friendly
approach to streamlining life. The ones who want to live audaciously,but are not
sure where to start.Let's do life.


Your Honest wallet is encrypted with your password. If you reset your password, a new wallet will be generated. In order to ensure that your wallet is not lost, back it up by saving the "Recovery Phrase". You can restore your wallet with the recovery phrase at any time after login.


QModbusReply Class
The QModbusReply class contains the data for a request sent with a QModbusClient derived class. More...
| Header: | #include <QModbusReply> |
| qmake: | QT += serialbus |
| Since: | Qt 5.8 |
| Inherits: | QObject |
Public Types
| enum | ReplyType { Raw, Common } |
Public Functions
| QModbusReply(ReplyType type, int serverAddress, QObject *parent = nullptr) | |
| QModbusDevice::Error | error() const |
| QString | errorString() const |
| bool | isFinished() const |
| QModbusResponse | rawResult() const |
| QModbusDataUnit | result() const |
| int | serverAddress() const |
| ReplyType | type() const |
- 32 public functions inherited from QObject
Signals
| void | errorOccurred(QModbusDevice::Error error) |
| void | finished() |
- 2 signals inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The QModbusReply class contains the data for a request sent with a QModbusClient derived class.
Member Type Documentation
enum QModbusReply::ReplyType
This enum describes the possible reply type.
| Constant | Value | Description |
|---|---|---|
QModbusReply::Raw | 0 | The reply originates from a raw Modbus request. See QModbusClient::sendRawRequest |
QModbusReply::Common | 1 | The reply originates from a common read, write or read/write request. See QModbusClient::sendReadRequest, QModbusClient::sendWriteRequest and QModbusClient::sendReadWriteRequest |
Member Function Documentation
QModbusReply::QModbusReply(ReplyType type, int serverAddress, QObject *parent = nullptr)
Constructs a QModbusReply object with a given type and the specified parent.
The reply will be send to the Modbus client represented by serverAddress.
QModbusDevice::Error QModbusReply::error() const
Returns the error state of this reply.
[signal]
void QModbusReply::errorOccurred(QModbusDevice::Error error)
This signal is emitted when an error has been detected in the processing of this reply. The finished() signal will probably follow.
The error will be described by the error code error. If errorString is not empty it will contain a textual description of the error. In case of a QModbusDevice::ProtocolError the rawResult() function can be used to obtain the original Modbus exception response to get the exception code.
Note: Do not delete this reply object in the slot connected to this signal. Use deleteLater() instead.
QString QModbusReply::errorString() const
Returns the textual representation of the error state of this reply.
If no error has occurred this will return an empty string. It is possible that an error occurred which has no associated textual representation, in which case this will also return an empty string.
See also error() and errorOccurred().
[signal]
void QModbusReply::finished()
This signal is emitted when the reply has finished processing. The reply may still have returned with an error.
After this signal is emitted, there will be no more updates to the reply's data.
Note: Do not delete the object in the slot connected to this signal. Use deleteLater().
You can also use isFinished() to check if a QNetworkReply has finished even before you receive the finished() signal.
See also isFinished() and error().
bool QModbusReply::isFinished() const
Returns true
when the reply has finished or was aborted.
QModbusResponse QModbusReply::rawResult() const
Returns the raw response of a Modbus request.
If the request has not finished then the returned QModbusResponse instance is invalid.
QModbusDataUnit QModbusReply::result() const
Returns the preprocessed result of a Modbus request.
For read requests as well as combined read/write requests send via QModbusClient::sendReadWriteRequest() it contains the values read from the server instance.
If the request has not finished, has failed with an error or was a write request then the returned QModbusDataUnit instance is invalid.
Note: If the type() of the reply is QModbusReply::Raw, the return value will always be invalid.
See also type() and rawResult().
int QModbusReply::serverAddress() const
Returns the server address that this reply object targets.
ReplyType QModbusReply::type() const
Returns the type of the reply.
Note: If the type of the reply is QModbusReply::Raw, the return value of result() will always be invalid.


. THE SWEET HEREAFTER A film review by Christopher Null Copyright 1997 Christopher Null
It's been over two years since Canadian auteur Atom Egoyan first came to my attention with his breakthrough film EXOTICA. Since then, I've become something of an aficionado of his works through home video, and it was with breathless anticipation that I awaited what was sure to be the movie that pushed him into the mainstream: THE SWEET HEREAFTER.
Maybe I over-hyped it in my mind, becoming too hopeful in the face of overwhelming praise for the film. Or maybe I know Egoyan's tricks too well by now. Either way, I left the film extremely pleased but depressed: partly because the movie is such a downer, and partly because I know Egoyan can do even better.
This time around, Atom uses his multiple time-line storytelling to relay the events surrounding the tragedy when a school bus careens off an icy road in a sleepy town in the Great White North. When lawyer Ian Holm swoops in to build a negligence case against the bus manufacturer and the city, he becomes the unwitting agent as the revealer of the dirty secrets that everyone within seems to hide.
It almost sounds like David Lynch territory, and without his trademark glorious revelation--a scene the binds all the characters' lives together and which Egoyan traditionally ends his films with--it almost is. Instead of pumping up the mystery, Egoyan has opted for a slower pace of gradually revealing the secrets behind the facade... something that probably makes the film more accessible to the masses, but is less pleasing on the whole. Then again, Holm is in the role of his life here, and the movie is absolutely worth seeing if only for his performance.
Don't get me wrong. THE SWEET HEREAFTER is a *riveting* film, one that I encourage you to see, as long as you aren't feeling suicidal, as it really is deeply depressing. At the same time, I also urge you to check out EXOTICA, CALENDAR, and THE ADJUSTER on home video. If nothing else, you'll come out feeling normal, no matter how nuts you really are.

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


Before Change
else:
input_tensor_adapter_config = input_metadata
with tf.compat.v1.Graph().as_default() as graph:
with tf.compat.v1.name_scope("inputs"):
specs = TensorAdapter(input_tensor_adapter_config).OriginalTypeSpecs()
input_signature = impl_helper.batched_placeholders_from_specs(specs)
// In order to avoid a bug where import_graph_def fails when the
// input_map and return_elements of an imported graph are the same
// (b/34288791), we avoid using the placeholder of an input column as an
// output of a graph. We do this by applying tf.identity to all inputs of
// the preprocessing_fn. Note this applies at the level of raw tensors.
// TODO(b/34288791): Remove this workaround and use a shallow copy of
// inputs instead. A shallow copy is needed in case
// self._preprocessing_fn mutates its input.
copied_inputs = impl_helper.copy_tensors(input_signature)
output_signature = self._preprocessing_fn(copied_inputs)
// At this point we check that the preprocessing_fn has at least one
// output. This is because if we allowed the output of preprocessing_fn to
// be empty, we wouldn"t be able to determine how many instances to
// "unbatch" the output into.
if not output_signature:
raise ValueError("The preprocessing function returned an empty dict")
if graph.get_collection(tf.compat.v1.GraphKeys.TRAINABLE_VARIABLES):
After Change
specs = TensorAdapter(input_tensor_adapter_config).OriginalTypeSpecs()
base_temp_dir = Context.create_base_temp_dir()
graph, structured_inputs, structured_outputs = (
impl_helper.trace_preprocessing_function(self._preprocessing_fn, specs,
self._use_tf_compat_v1,
base_temp_dir))
// At this point we check that the preprocessing_fn has at least one
// output. This is because if we allowed the output of preprocessing_fn to
// be empty, we wouldn"t be able to determine how many instances to