get (one's) mojo back
To regain one's confidence, energy, or enthusiasm, especially coinciding with a resurgence in one's success.
see it as "superpowers"
phm8707-Jul-19 08:12 PM
Do you know how I can set the LABS.conf file used by gdb ? The other solution is to put everything into parameters
@Deleted User do not worry, I didn't loose my mojo nor confidence, I'm fine. I'm just trying to understand some behaviors and weird logs (invalid nota ?)
Deleted User07-Jul-19 08:14 PM
I just told you now you got another superpower ^^
ComputerGenie 👴👴👴07-Jul-19 08:19 PM
just when I thought we could go a whole week without hearing about yiimp
blackjok3r08-Jul-19 01:41 AM
https://github.com/KMDLabs/komodo/commit/be1721cb80349905334a7d0aceff9826329f40c6
For those who care, I wrote this last night before bed, was thinking about it all day while driving to the city. Went a back way that was about 1.5H longer lol, but it was a really nice drive though all this country with riversand hills. Really good day,
Basically, how it works is this:
1) On the first withdraw an object is created that contains the winner, before any bets have been spent from the game address, and after a result can be calculated, we can use the withdraw RPC to calculate the winner, Then in validation the exact same function is called to verify that the correct winner was added into this object.
2) next withdraw and all withdraws after this, simply spend the withdraw vout, into a new vout with the same object.
3) The validation simply hashes this object from the vin, and the vout and compares they are the same. So we know that its is valid.
3) This means, that we can have 1 ticket with a fixed price if needed now, because even if there is say a million tickets have been sold or even a billion lol, the validation only needs to run once, and then the winner can just keep withdrawing over and over to merge the tickets and spend them to their specified pubkey. The overhead after the first withdraw is very low, and shouldnt slow all nodes down while the winner is extracting their funds.(edited)
3
blackjok3r08-Jul-19 01:49 AM
I had to do it this way, because once some of the, utxos have been claimed from the game address, then the function I made that calculates the winner cant work, because it uses all the unspents in the game address. I think this will work, but its never been done before, I couldnt even see in VRSC pbass if miket did anything like this. Maybe their validation will do it, but as it hasnt been written yet I'm not sure.
We are pretty close ot being able to start a chain on this branch, and put it into the CFEFEK cluster, because that chain has intesne supply of coins.
The only thing Im not sure about is the function that calculates the winner, it may not actually work as intended. But as its just 1 function, we can change this easily to something elseif the algo for calculating the winner is not right.(edited)
TonyL08-Jul-19 04:21 AM
@Deleted User thank you for help! published offer
Hi, there. I’m inviting you to make a 5 KMD swap in exchange for 200 LABS through Barterlly Escrow swaps. It’s the safest way for people that just want to make quick OTC swaps.
If you want to go through with the swap you need to accept it and follow the instructions on http://app.barterlly.io/invite/8966
@blackjok3r is it possible to test already?
blackjok3r08-Jul-19 04:25 AM
I think its best to wait until tomorrow when I have some time. I haven't tested it all, but I'd does build. What we can donis add the chain for it, needs customcc as the cclib, and a large supply and be in a cluster with at least 1 other chain.
1
blackjok3r08-Jul-19 09:39 AM
Pushed update, to the lottoCC, I relaised that after adding withdraw object stuff that the status RPC would be broken. status RPC will be important as its the only way to tell if a winner has been found.
Its pretty hard for me to test all this stuff woithout my dev machine setup, so just going to write code for it if I think of anything until I get home on Wednesday night or thursday.
2
phm8708-Jul-19 11:47 AM
My LABS node crashed again without anything in the logs and no backtrace into gdb, it is weird. Here are the details and gdb commands and outputs: https://pastebin.com/PjE9nYub we discussed it yesterday with @Alright and dwy
If GDB is not returning anything that means you failed some kind of assert. The error mesage will or should be the last thing printed in the console the daemon was started in.
ComputerGenie 👴👴👴08-Jul-19 11:49 AM
Why is anyone caring why an outdated node is crashing?
blackjok3r08-Jul-19 11:50 AM
Yeah im confused about that aswell.. Nobody else has reported this. I did merge some fixes down from upstream a fwew weeks ago, but did not update my staking node.
I will go update it to latest now to see if it crashes for me.
ComputerGenie 👴👴👴08-Jul-19 11:51 AM
From outside the screen:
komodo-cli -ac_name=LABS getinfo
{
"version": 2001526,
"protocolversion": 170007,
"KMDversion": "0.3.3b",
literally the only thing that matters in that pastebin
it needs to be updated
blackjok3r08-Jul-19 11:51 AM
I mean, its totally possible that it could crash, because while its waiting for the block to be elegible... its not under a cs_main lock, because that would stop make the daemon upresponsive to RPC calls... But it may pull data from chainActive which should be in cs_main lock when accessed.
That said, every staking node for every staking chain would have the same crash.
And this is something new... Nobody has told me about before.
ComputerGenie 👴👴👴08-Jul-19 11:53 AM
every staking node for every staking chain would have the same crash
well, we know from experience that that's not entirely true (given all the crashes I had for pool)
phm8708-Jul-19 11:54 AM
Alright asked me yesterday to reproduce the bug with the old code. I wanted to update
ComputerGenie 👴👴👴08-Jul-19 11:54 AM
I don't think he caught the bit about it being outdated
SHossain08-Jul-19 11:55 AM
staking nodes are not crashing in general. i found 2 pools reported komodo daemon crash
phm8708-Jul-19 11:57 AM
@ComputerGenie 👴👴👴 I shared the outputs of `git show and git remote -v and getinfo` yesterday and I wanted to update on the last master branch of KMDLabs/komodo but Alright preferred that I reproduce this bug
I'll try to reproduce it with an up-to-date code
ComputerGenie 👴👴👴08-Jul-19 11:59 AM
imo:
if error then check for updates
doesn't really have an else in LABS
phm8708-Jul-19 11:59 AM
Remark: @blackjok3r I can reccord the rpc calls if it is useful to try to understand the problem (or add mroe logs). i'll use a fresh master branch of KMDLabs/komodo (if it is fine)
CG: I asked yesterday and I wanted to update (I already compiled it yesterday in another folder but I don't use it yet bc Alright asked me to try again with the same outdated code ... maybe we misunderstood each other yesterday)
ComputerGenie 👴👴👴08-Jul-19 12:01 PM
telling me that 3 times in 6 minutes doesn't change the fact that you could be on a moot code base (edited)
phm8708-Jul-19 12:02 PM
I followed instructions that I received
ComputerGenie 👴👴👴08-Jul-19 12:02 PM
sometimes, the power of the human mind is stronger than any external set of instructions
phm8708-Jul-19 12:04 PM
that's why I compiled fresh new code yesterday (just in case old code was too old or in an undetermined state)
but I still think that Alright, blackjok3r and you CG know way more things in komodo and assetchains than me so I'm ready to be wrong (especially in the NN stuff)
blackjok3r08-Jul-19 12:07 PM
Its fine, I think I did read Alright say that... I do know that thoretically its possible to happen, but I haven't seen it happen before. I will look at the miner code in that commit you were on, because I dont recall any changes recently to it, related to staking chains. KMD did have a bug, that Genie found and we fixed that.
You are ok to update @phm87 if it happens on new code we can investigate further.
phm8708-Jul-19 12:12 PM
I'll update no problem. This node is used for mining and staking but as there is no miners, only few rpc calls will be sent for mining from stratum and yiimp admin loops (getinfo, getblocktemplate, ...)
and stacking worked (I got several blocks ^^)
blackjok3r08-Jul-19 12:14 PM
nice. My staking node is doing very badly atm, I keep getting a lot of incorrect nBits errors... which is very strange, as staking should be minimum diff.
ComputerGenie 👴👴👴08-Jul-19 12:15 PM
The fix for mining has been added since the commit he's working from
"20 days ago" and he's on one from Jun 4
blackjok3r08-Jul-19 12:16 PM
503848228 block.nBits vs. calc 503847701 for block #61542
Yes but that fix wasnt for staking chains at all... Which is what I mean, he should update and let us know, because my staking node is likely on the same version if not older.
ComputerGenie 👴👴👴08-Jul-19 12:17 PM
of all people, htf are you not on an updated node?
blackjok3r08-Jul-19 12:17 PM
it has been working just fine so I just leave it...
phm8708-Jul-19 12:17 PM
as my LABS node was used for mining and staking, I wouldn't be surprised if the mining fix fix my problem
blackjok3r08-Jul-19 12:17 PM
ahh h
you are staking and running pool on same node?
I did add things for that, but we never teted that it works.
phm8708-Jul-19 12:18 PM
yes but as there is no miners few rpc calls are sent I guess
ComputerGenie 👴👴👴08-Jul-19 12:18 PM
staking and running pool on same node
that leads to ugly
blackjok3r08-Jul-19 12:18 PM
yes it may crash when it calls getblocktemplate
I did enable it, just to see what happens
phm8708-Jul-19 12:18 PM
oh
blackjok3r08-Jul-19 12:18 PM
But maybe its not a geat idea
phm8708-Jul-19 12:19 PM
I don't know, I'd like that LABS and komodo works with all features activated together on the same node
blackjok3r08-Jul-19 12:19 PM
the issue is that staking needs to release a memory lock, otherwise it locks the daemon up and it becomes unreponsive to RPC calls, and it keeps trying to submit a stake even if a block arrives, wasting heaps of CPU cycles.
ComputerGenie 👴👴👴08-Jul-19 12:19 PM
the template for mining and the template for staking are different
blackjok3r08-Jul-19 12:19 PM
Yes but you can stake
and the getblocktemplate will return a PoW block. I changed it ages ago(edited)
ComputerGenie 👴👴👴08-Jul-19 12:20 PM
and the getblocktemplate will return a PoW block. I changed it ages ago
then I'm glad this convo came up, because that feks my next project
phm8708-Jul-19 12:21 PM
I'll tell you why I'm trying to do this : outside of KMD ecosystem, some PoW pools with POW/POS coins (with masternodes) adds a masternode within the pool to pay miners with the masternode earnings. It is working fine to use the same node for mining and do the masternode. I'd like to do the same with LABS
blackjok3r08-Jul-19 12:21 PM
Im pretty sure I said i did this in chat, but nobody actually tested it. We can either revert it, or we can fix it properly.
fixing it properly means we need to seperate the staking to its own thread. like VRSC does with theirs.
ComputerGenie 👴👴👴08-Jul-19 12:21 PM
Im pretty sure I said i did this in chat
You likely did, but you know how things get lost in other things and forgotten
phm8708-Jul-19 12:22 PM
Some generous pool operators pay the masternode with their own money. Other pool ops are doing some shared masternode + PoW mining (but it is getting out of this conversation)
blackjok3r08-Jul-19 12:22 PM
That may not get around the problems of memory locks crossing over but it does allow daemon mining and staking at once, not that thats very useful for LABS being equihash 200
I would need to install knomp and a CPU miner on my staking node to test this, and add a heap of prints...
ComputerGenie 👴👴👴08-Jul-19 12:23 PM
just as well, I suppose, because most likely folks wouldn't understand the wording of how the pool I was going to make would work anyway (edited)
blackjok3r08-Jul-19 12:24 PM
My guess is that its not crashing but just locking up, could be wrong though....
phm8708-Jul-19 12:24 PM
I saw no crash but it stopped working without any log nor complain
sorry I said crash : my wording was confusing
ComputerGenie 👴👴👴08-Jul-19 12:25 PM
I saw no crash but it stopped working without any log nor complain
That sounds exactly like one of the issues fixed
could be different, but by wording it sounds the same(edited)
phm8708-Jul-19 12:25 PM
I'm currently testing with fresh new code, we'll see
1
daemonfox08-Jul-19 12:27 PM
You did say it in chat... that you would look into it when I sked if it was possible to mine and stake like VRSC.
so good to hear its already coded and needs testing
blackjok3r08-Jul-19 12:30 PM
You need a pool. I dont think that you understand how large a job that would be to daemon mine and stake at once. It took me about 6 months to amke staking actually stable for prduction use as it was. Changing it is not something I want to do unless its absolutly nessary.
PHBA206108-Jul-19 12:31 PM
my LABS staking node runs KMDLabs/komodo with the latest commit on May 30th, it never crashed so I just leave it like that
phm8708-Jul-19 12:32 PM
can you make some getblocktemplate rpc calls on your node while it is staking @PHBA2061 ?
(I'm trolling, do not do it or the node may stop if you are lucky or unlucky)(edited)
1
blackjok3r08-Jul-19 12:33 PM
exactly lol. The issue is definatly that he has a pool running on the same node. maybe a cron each minute of getblocktemplate will cause mine to reproduce the error
phm8708-Jul-19 12:35 PM
but if the issue requires too much work to be fixed and only 2 users are complaining (daemonfox and myself), I don't know if it is worth to fix (but maybe put it in a list of low priority things)
blackjok3r08-Jul-19 12:36 PM
It depends... To daemon PoW mine and stake is a horrible job to fix... but the getblocktemplate should be working... and I guess it does most of the time.
phm8708-Jul-19 12:42 PM
@blackjok3r in my case, the daemon itself is not mining (gen=0 in LABS.conf and I've just ran the command to stake setgenerate true 0) : pool and stratum are sending getblocktemplate, getinfo and submitblock rpc calls. I don't know if there is a huge difference. I'll tell you in few hours/days if I encounter the same problem. I hope that the 'mining fix' did fix my problem. Thank you for your time
1
blackjok3r08-Jul-19 01:01 PM
#!/bin/bash
while (( 1 == 1 )); do
./komodo-cli -ac_name=LABS getblocktemplate
done
This isnt crashing my staking node lol
wonder if its another call that may do it
ComputerGenie 👴👴👴08-Jul-19 01:08 PM
I dont think that you understand how large a job that would be to daemon mine and stake at once.
897 extra lines of js code (give or take 100 lines) to make it halt payments, alternate on posperc and diff wall, and make payments on a bidaily basis (edited)


Public Advice & Notice
Opening Remarks by Vice Minister of Health and Welfare at Briefing Session for Foreign Correspondents
- Date Created :2020-03-17 13:15
- Revision Date :2020-04-29 16:09
Opening Remarks by Vice Minister of Health and Welfare at Briefing Session for Foreign Correspondents
[ Joint-briefing by Korean Ministries on COVID-19 For Foreign MEDIA1 ] YouTube
[ Joint-briefing by Korean Ministries on COVID-19 For Foreign MEDIA2 ] YouTube


Novel Public Health
Changing the world of public
health through film
*By creating an account, you will automatically be given access to
independent made films. If you would like to view Hollywood A-list films, you can upgrade your
subscription after signing up.


|
Index
ANS
API
Debugger
Download
Licensing
Links
Locals
OOP In Ficl
Parse Steps
Release History
Upgrading To 4.0
| |
-
http://ficl.sourceforge.net
-
The official web home of Ficl.
-
http://sourceforge.net/project/showfiles.php?group_id=24441
-
The Ficl download page.
-
http://www.phys.virginia.edu/classes/551.jvn.fall01/primer.htm
-
An excellent Forth primer, by Julian Nobel.
-
http://ficl.sourceforge.net/pdf/Forth_Primer.pdf
-
Another excellent Forth primer, by Hans Bezemer.
-
http://www.taygeta.com/forth_intro/stackflo.html
-
An Introduction To Forth Using Stack Flow by Gordon Charton.
Mr. Charton's stack-flow diagrams make it easy to understand how
to manipulate the FORTH stacks.
-
http://www.softsynth.com/pforth/pf_tut.htm
-
Phil Burk's Forth Tutorial.
-
articles/ficlddj.pdf
-
Manuscript of John Sadler's article on Ficl for January 1999 Dr. Dobb's Journal.
-
articles/jwsforml.pdf
-
1998 FORML Conference paper: OO Programming in Ficl, written and presented by John Sadler.
-
http://www.complang.tuwien.ac.at/forth/threaded-code.html
-
Anton Ertl's description of threaded code techniques. (The FORTH-related definition
of "threaded code" is different from—and predates—the common modern
usage dealing with light-weight processes.) Ficl 4 uses what Ertl calls
"switch threading".
-
http://ficl.sourceforge.net/dpans/dpans.htm
-
1994 Draft Proposed American National Standard for Forth.
And surprisingly readable, as language standards go.
-
http://www.taygeta.com/forthlit.html
-
Forth literature index on Taygeta, a web clearinghouse of Forth links.
-
http://www.forth.org
-
The Forth Interest Group.
-
http://www.forth.com
-
FORTH, Incorporated. Thirty years old and going strong.
You might be surprised to learn that they wrote software for
the FedEx
"SuperTracker" bar code scanners / package trackers.
(Contact us if you'd like your name and product listed here.)
|


{{extend "layout.html"}} {{block content}} {{include "bootstrap/inc_full_fluid.html"}} {{end}} {{block content_main}}


Permission is required from the Commissioner for all visits to South Georgia and the South Sandwich Islands. Applications should be made in writing by completing the appropriate downloadable form. See www.gov.gs
Travel to the Island should not be undertaken without having first obtained official approval. Completed Visitor Application Forms are to be returned to the Office of the Commissioner, Government SGSSI no later than 60 days before the intended visit.
A post-visit from must also be completed and returned within 30 days.
All vessels must make contact with the Government Officer at King Edward Point at Cumberland East Bay as soon as practicable on entering the 200NM Maritime Zone around South Georgia. use VHF 16, or SSB using 4049kHz (1100 to 1200 UTC) or email<EMAIL_ADDRESS>This office must also be notified on departure.
On arrival at Grytviken, a Government office will board the boat and carry out necessary formalities and biosecurity checks.
Under the revised Tourism Management Policy document, tighter restrictions have been placed on site access for private vessels carrying more than 10 persons on board (including employed crew). Such vessels may be required to carry an approved observer, depending on the proposed itinerary. Privately owned vessels carrying 10 persons or less on board (including professional crew) may be permitted to land passengers at approved landing sites (including those that are Specially Protected Areas). Find out more at www.gov.gs.
Fees have increased and vessels which are members of IAATO (The International Association of Antarctica Tour Operators) have greater access to landing sites.
Yachts Planning to Visit Antarctica
Any U.K. yachts planning to visit Antarctica can apply to the U.K. Foreign Office. Yachts with at least one British national on board are also able to apply. This can also be done even if the yacht is not U.K. flagged. See www.gov.uk/visits-to-antarctica-how-to-apply-for-a-permit for more information as well as useful data about sailing in Antarctica. The forms are now tailored to expeditions by smaller yachts.
Last updated July 2016.
All formalities are carried out by the Government Officer at Cumberland East Bay.
Passports will be stamped if requested.
Last updated July 2016.
There are no medical facilities for visitors. In an emergency, there is a possibility of accessing the support offered to visiting fishing vessels at King Edward Point. But this is not available elsewhere on the Island.
There is no search and rescue, or other emergency service on the Island.
There is no independent transport from South Georgia to the Falkland Islands or to South America, which are at least three or five days sail away respectively.
Harbour fees : £50 (For yachts under 24m)
Customs fee: £10
Visitor Fees (over 16yrs)
£110 (2014)
This fee covers visits of up to 72hrs (3 days). Over that time, and up to one month from the date of arrival, there is an additional fee of 50%. Thereafter visitor fees will be charged again as if a new visit.
Payment can be made in pounds sterling, US dollars or euros and either by cash, cheque or travellers cheque.
There are other fees based on the nature of your visit. See the visitors information on the South Georgia Website for further details.
Last updated April 2014.
The islands' native flora and fauna are protected under the Falkland Islands Dependencies Ordinance.
There are various prohibited areas. See Information on regulated sites for Visitors.
No animals may be landed.


After about a year's respite from Salvia, I finally got up enough curiosity and courage to try it again. I think this trip sent me out the farthest I've been. I went over to a friendís house in which I have tripped quite a few times. I intended to initiate him into Salvia and reacquaint myself with the substance.
He had a bong with a glass bowl so we put a weed plug in the bottom and filled it with 5X. He took 2 tokes and then handed it to me. It looked like there was still some in the bowl so I took a toke to kind of dip my toes in. I had a certain level of nervousness about this trip. The last major salvia experience I had was very frightening. I had to force myself to smoke a lower dose later so that I wouldnít end my salvia use with a bad experience. However, the memory of the scary experience was still in my mind.
Anyway, the hit I took turned out to be mostly the weed plug. This added a new unwanted dimension. I rarely smoke weed these days and am pretty sensitive to it as it is. I didnít want to be stoned going into my salvia experience but I figured there was nothing I could do about it now and I hadnít tried combining weed with Salvia yet. My friend didnít get much more than a body effect from the 5X. The weed was fast turning my nervousness into a mild paranoia but I loaded up the bowl with 10X for my own voyage anyway.
Immediately after smoking my 2nd hit I felt the familiar salvia prickles and pulling to the right. However, this time the momentum and feeling kept going and didnít stop where it usually would. This time it was like a giant hand reached down and completely crinkled my reality. I then became one of the crinkles in a world made of drab reddish-brownish-yellowish crosshatch crinkle patterns that were part of a giant wall. My family was also there and their faces were on one of the prongs of the crinkles which looked somewhat like swastikas painted by the swipes of an artist's paintbrush in the reddish-brownish-yellowish color. My family told in me in a matter of fact way that this is how the universe really is or would be for the rest of eternity.
It felt like my previous life had been an illusion or a trick. I had either died or smoking the salvia caused me to find out what is REALLY going on....which was a horribly bleak almost 2 dimensional universe that I was now trapped in. I remembered my vastly diverse and interesting normal life that I could never return too and I was in anguish that I could never return to it. The whole thing felt strongly familiar like I had existed there before my usual life or I had a dream of this before. I kept telling myself that I would soon come out as I always had but it was a serious struggle as that world seemed to have so much more reality than the one I usually occupy.
The weird thing though, was that my family's voices and messages seemed originate from myself like in a lucid dream. All my encounters with conversational beings in the salvia world have this tone of inauthenticity but at the same time the message seems so real. It's like I find myself in this weird dimension and then invent statements about the world that other entities tell me which support my fears or impressions of that world.
It also felt like my family and I were caught in this system of doing things in which we were prisoners. I could either fruitlessly struggle against the system or accept it. Yet accepting it meant doing vaguely demeaning and horrifying things or becoming a cog in the system (whatever this nebulous system was).
I opened my eyes to shake off the vision but found the salvia world starting to absorb the setting of the room. My friend was sitting perfectly still and I got the feeling that he was a lifeless husk. He served the purpose of supporting my illusion of my normal life and now whatever malevolent forces rule in the salvia had left his body like a piece of trash. I quickly closed my eyes because it is much more frightening to see your last foothold on sanityĖyour normal worldĖchanging into that other world. Itís much more reassuring to me to know that behind my eyelids is a normal world that I can return to if I can just hold out long enough.
After what seemed a half hour but was probably only about 5 minutes, I started to slide back to this world. As I came back to my usual consciousness, I felt my body and perception reintegrating. It felt like all the swastika crinkles were being ironed out and pieced back together into my usual sense of self. It took me a good 20 minutes to reintegrate and for an hour afterward I was shaking from the shock of the experience and the still present salvia energy. My mind felt very spacey and I was in a state of amazement during this hour.
I think I went the farthest out on this trip because my other trips usually entailed visions of places that somewhat resemble normal human life. However, these visions are covered with and made up of the crinkles. This time was the only time that the world was completely abstract and made up of only crinkles. Itís like the previous experiences didnít twist or crinkle the world far enough.
No, this was not my first break through, but it was the strongest experience yet. I have only smoked Salvia and never tried the oral method. Iíve gained effects once from the unfortified leaf alone but in conjunction with DXM (that report is already on Erowid). Iíve experienced the salvia world 4 other times on 5 and 10X extracts. The terrifying experiences have been on 10X while the 5X merely produced extremely strange but non-transcendental experiences even when I did feel a female presence(The 10X experiences were also spiritually void as well. Come to think of it this last experience even lacked the female presence. It was like I had gone beyond such things although my family was still present which is a reoccurring theme for me on salvia).
The question of what the salvia experience means, represents, or is supposed to show us really bugged for about 48 hours after my experience. I wrote most of this report during that time period and then put it aside for awhile. Iíve been reading a lot of the reports on Erowid as well parts of D. M. Turnerís Salvia book and am amazed at the similarities with my own trip as far as the reoccurring themes of salvia go.
Some of the thoughts Iíve been turning over in my head:
Is the salvia experience an experience of plant consciousness? Would being rooted to the ground seem almost 2 dimensional.
It was also very hard to move like I was rooted to the ground. Is the Salvia plant trying to show us how is to be a plant, harvested as food and made into inanimate objects? This could correspond to the feeling of being caught up in a system of which you have no control or merging with an inanimate object. Would the experience be different if I lovingly cultivated my salvia and established an ďallyĒ relationship with it rather than buying it from a retailer who buys it from mass gardens?
Maybe this ordeal was affected by the weed and thus gave it a more abstract and paranoid dimension. I have, however, had one previous extremely frightening trip on just 10X though.
And whatís up with the disassociative effects of Salvia? Itís similarity to K and DXM??
The sense of familiarity or Deja vu could be merely connected to itís dissociative effects but this sense nonetheless seems to make one think that the Salvia world is in some way connected to us. So how is it connected to us? Is the Salvia experience really a peek at the other side?
God, I hope that isnít how the afterlife really is. That is one way that merging with the world and other beings could be a truly horrible rather than ecstatic affair. Or is it just some deep dark part of our own psyches? Why then do some people have consistently glowing spiritual experiences and some have consistently non-transcendental and ominous experiences?? Or, keeping with the plant theme, is the salvia experience some ancient evolutionary memory of plant life?
What does it all mean????
---HeWhoLives
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.


Information on this study
Study name
Authors
Add author
Dataset license
Acknowledgements
How to acknowledge
Funding
Add funding reference
References
Add reference
Ethics
Preregistration
Power


Free Ruler Help
Keyboard Shortcuts
F
Float/unfloat rulers above other windows
G
Group/ungroup rulers
S
Show/hide ruler shadows
O
Orient rulers at mouse location
U
Cycle units: pixels, millimeters, and inches
⌘
R
Reset ruler positions to default
⌘
,
Open Preferences


Lambda specializes in giving various classes on the following topics.
Lambda gives both full-time and part-time full stack web development courses. Students go through 9 months if full-time, 18 months if part-time of a heavy curriculum to become a fully capable full stack web developer.
Lambda gives both full-time and part-time iOS development courses. Students go through 9 months if full-time, 18 months if part-time of a heavy curriculum to become a fully capable iOS developer.
Lambda gives only full-time Android Development courses. Students go through 9 months of a heavy curriculum to become a fully capable Android developer.
Lambda gives both full-time and part-time Data Science courses. Students go through 9 months if full-time, 18 months if part-time of a heavy curriculum to become a fully capable Data Scientist.
Come on and apply to join Lambda, which has more than 1000 students already!


Design is the creation of a plan or convention for the construction of an object, system or measurable human interaction. Design has different connotations in different fields.
Computer programming, the process of designing, writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs.


Dear $$NAME$$, you successfully cleared our KYC verification!
To finalise the process, please click on the link below and provide your payment details:
MainStay - Subscription Payment Details
Once that is complete we will send you your attestation slot.
For any technical assistance, please refer to our guidance documents under:
MainStay - Technical
documentation
If you have any questions or issues, please contact us under<EMAIL_ADDRESS>Your CommerceBlock Team


@()(implicit request: RequestHeader)
If you have recently stopped receiving communications or email newsletters from us, please click here to re-enable your email permissions.
If you are still having issues, contact our user support team using the form below.
If you are getting in contact for another reason please select another option from the dropdown menu above.
This is for queries about accessing or managing your Guardian account on the website or apps, most of which can be edited here
Please note that queries about payment and billing should be sent to the relevant membership or subscription team using this form.
If you are having an issue with a particular page it would be very helpful if you could provide the link to the page. It would also be useful to know which country you're accessing the Guardian from.
At the bottom of the email you will see an unsubscribe link. By clicking the link you will be taken to a page confirming you have unsubscribed from the emails.
As with Job alerts there will be an unsubscribe link at the bottom of the email. The link will take you to your Guardian account page. At the bottom of the page there are two tick boxes. Select No and Save then log back into your Jobs account. You will no longer receive any Job Match emails.
If you have an existing Guardian account you can easily subscribe/unsubscribe from emails here
Alternatively, if you want to unsubscribe from a particular mailing list please simply use the link at the bottom of the email
If you have a query about job alerts, please contact the jobs team using the dropdown menu above.
Please include any information you have about your membership or subscription - for example membership tier and membership number; or type of subscription. You may find the answer to your questions here: our membership FAQs here and our subscription FAQs here
For queries about free registration and commenting accounts, please use the 'I need help with my Guardian account' option in the dropdown menu above.
If you have any payment issue with your supporter, partner or patron tier membership then please use this option. See this first for clarification
If you have any issue with your digital pack, your newspaper delivery or voucher delivery either of the Guardian or Guardian Weekly or Observer then please use this option. See this first for clarification
If you are having an issue with a particular advert it would be very helpful if you could let us know what page you were on when you saw this advert. It would also be useful to know which country you're accessing the Guardian from.
Please ensure that you are on the latest version of the app.
If you are, and your problem persists, please contact us from within the app if you can (press menu icon > cog icon > send feedback).
If you cannot use the app at all, can you please use this form and let us know the make and model of your device, the version of Android you are running, and the version number of the Guardian app?
Please ensure that you are on the latest version of the app.
If you are, and your problem persists, please contact us from within the app if you can (press menu icon > cog icon > help > iOS app feedback email address).
If you cannot use the app at all, can you please use this form and let us know which iPhone or iPad you are using, the version of iOS you are running, and the version number of the Guardian app?
Please ensure that you are on the latest version of the app.
If you are, and your problem persists, please contact us from within the app if you can (from issue picker screen press settings icon > contact us > iOS edition feedback email address).
If you cannot use the app at all, can you please use this form and let us know which iPad you are using, the version of iOS you are running, and the version number of the daily edition app?
Please ensure that you are on the latest version of the app.
If you are, and your problem persists, please contact us from within the app if you can (from edition picker screen press settings icon > Help > Contact Us ).
If you cannot use the app at all, can you please use this form and let us know which device you are using, the version of the operating system you are running, and the version number of The Daily app?
Please ensure that you are on the latest version of the app.
If you are, and your problem persists, please contact us from within the app if you can (press menu icon > cog icon > support > send feedback).
If you cannot use the app at all, can you please use this form and let us know which make and model of device that you are using, the version of Windows mobile you are running, and the version number of the Guardian app?
If you have spotted an error in editorial content, or wish to make a complaint, please visit the readers' editor page to find out what to do next.
Our community FAQs can be found here. If you are having difficulties either reading comments or posting a comment please use the 'I want to report a problem with/have some feedback on your Website' option above
This category should be used as last resort if no others apply


gnome-screensaver-command
Section: User Commands (1)Updated: 2007-09-27
Index Return to Main Contents
NAME
gnome-screensaver-command - controls GNOME screensaverSYNOPSIS
gnome-screensaver-command [OPTION...]DESCRIPTION
gnome-screensaver-command is a tool for controlling an already running instance of gnome-screensaver.OPTIONS
- --exit
- Causes the screensaver to exit gracefully
- -q, --query
- Query the state of the screensaver
- -t, --time
- Query the length of time the screensaver has been active
- -l, --lock
- Tells the running screensaver process to lock the screen immediately
- -c, --cycle
- If the screensaver is active then switch to another graphics demo
- -a, --activate
- Turn the screensaver on (blank the screen)
- -d, --deactivate
- If the screensaver is active then deactivate it (un-blank the screen)
- -p, --poke
- Poke the running screensaver to simulate user activity
- -i, --inhibit
- Inhibit the screensaver from activating. Command blocks while inhibit is active.
- -n, --application-name
- The calling application that is inhibiting the screensaver
- -r, --reason
- The reason for inhibiting the screensaver
- -V, --version
- Version of this application
AUTHORS
gnome-screensaver-command is written by William Jon McCann<EMAIL_ADDRESS>This manual page was written by Sven Arvidsson<EMAIL_ADDRESS>ALSO
gnome-screensaver(1)
Index
This document was created by man2html, using the manual pages.
Time: 05:29:04 GMT, December 24, 2015


The PCIe Basic Demo Menu Program (see PCIe_menu.cpp) illustrates basic read/write operations over the PCIe bus to registers in the demo IP of the Lattice FPGA. This provides the basis for a Control Plane type application over the PCIe bus. The demo also displays the PCI registers and PCIe Capabilities structures that are in the Core and configured by the Root Complex.
The Menu provides a command line interface to inter-actively exercise the GPIO registers and EBR memory.
The flow of execution shows the following:
-
Instantiate the lscpcie2 driver interface to open access to the device driver.
-
Use the driver methods to display info about the driver and the PCIe config registers.
-
Create a GPIO object that then provides all the methods for exercising the LEDs, counter logic and reading the DIP switches.
-
Create an EBR object that then provides all the methods for testing reading/writing access to the EBR memory.
-
Create a BAR object that then provides read/write access to any memory location; used for peeking and poking; diagnostics.
-
Launch the menu for inter-active selection of tests to run.
-
When done, clean-up and return.
The menu provides the same functionality as the GUI, but may be easier to follow from the view point of a software developer looking to see how to open the driver and use the classes and methods provided in the PCIeAPI library to access IP in the FPGA.
The specific Evaluation Board to open and access is provided via environment variables. The following environment variables are typically set via a config batch file or with the PCIeScan utility prior to running this application:
-
LSC_PCIE_BOARD = PCI Vendor and Device string of the board to open
-
LSC_PCIE_IP_ID = "subsys_53031204" subsystem ID = demo IP ID
-
LSC_PCIE_INSTANCE = instance of board to open, typically 1, the first
Generated on Wed Jul 16 12:05:30 2008 for Lattice PCIe Basic Demo by
<IP_ADDRESS>


You must have MySQL installed with the deamon running.
Run the create script in src/sql/mysql. You must pass in a mysql user with permissions authorized to create a new database.
./create.sh mysql
create.bat mysql
You must have MySQL installed with the deamon running.
Run the create script in src/sql/mssql. You must pass in a mssql user with permissions authorized to create a new database.
create.bat sa
You must have PostgreSQL installed with the deamon running.
Run the create script in src/sql/postgresql. You must pass in a postgresql user with permissions authorized to create a new database.
./create.sh postgres
create.bat postgres


Who is American Funds? Why are they relevant? How do they approach asset management?
Step 1To identify the competitive advantage of American Funds, and how they've been gaining share despite today's difficult economic times.
Step 2Our findings from structured and unstructured data have revealed three key competitive advantages of American Funds.
Step 3These three competitive advantages come together to make the "secret sauce" that allows American Funds to run.
Step 4Looking forward, how do we project that BlackRock and American Funds will perform in the long-term? And how can BlackRock position itself to succeed in the future?
Step 5


My Heart Will Go On Singer Celine Dion Completes Her Hubby’s Last Wish & It’s Breaking Our Hearts
Rene Angelil, who had discovered Celine Dion when she was 12, suffered multiple health problems throughout the couple's 21-year marriage.
by IANSSinger Celine Dion’s husband Rene Angelil’s dying wish was to watch her perform live.
Dion performed her signature ballad My heart will go on on a Las Vegas stage. While the fans cheered for her, there was only one person she was singing to.
At her family home a few miles away, her dying husband Angelil watched the performance via a live link from his bed, reports mirror.co.uk.
Riddled with cancer, he was too ill to go to his wife’s live shows but his dying wish was for her to perform. He died in 2016.
She recalled: “It wasn’t therapeutic for me, it was therapeutic for Rene.
“For him it was very important because I took a year off to take care of him but towards the end he said to me, ‘I need to see you go on stage and sing, I want to make sure, I need to see it’.”
The 51-year-old mother-of-three said of the final performances Angelil saw: “I didn’t feel like partying or putting on short dresses and feathers. But what kept me going was that I thought of him. I did it for him.
“When I came home, he was so happy.”
Angelil, who had discovered Dion when she was 12, suffered multiple health problems throughout the couple’s 21-year marriage. He had a heart attack in 1991 at 49 and in 1999 was diagnosed with throat cancer but recovered after treatment.
Then in 2013 the disease returned. In September 2015, Dion announced that Angelil had only “months to live”. He died of a heart attack in January 2016, aged 73.


--- title: '{caret} custom function implementation' author: ck date: '2020-04-12' slug: caret-custom-function-implementation categories: - R - predictive modeling - caret tags: - analysis - R - predictive modeling subtitle: '' summary: '' authors: [] lastmod: '2020-04-12T00:31:24Z' featured: no image: caption: '' focal_point: '' preview_only: no projects: [] ---
It’s been a while! I’m writing this post for a couple of reasons.
I am happy to be writing this post for the two reasons listed above so let’s jump straight into the problem.
Recently, a random stranger e-mailed me about a problem they were having at work. It was regarding identification of the optimal probability threshold in classification problems. Essentially, when you fit a logistic regression model to your data, you’re likely interested in obtaining the predicted probabilities (via predict()
). The predicted probabilities then allows you to classify the observation if they exceed a certain probability threshold. Most of the time, people don’t really think about this probability threshold. I for one believe the threshold is domain/context specific. So there isn’t going to be a universal threshold that you can hammer onto all problems. So then, how do we find the most optimal probability threshold for the problem you’re working on?
This has been handled in the {caret} documentation already, so I won’t go into all the technical details here. I’ll walk through a scenario and hopefully it will help people go through it with ease with their own data.
Let’s start with the data(Sonar)
. People may be familiar with the data set already but I’m just going to show a tidbit. If people are interested in learning more… help(Sonar)
library("pacman")
p_load(caret, mlbench, knitr)
data("Sonar")
Let’s split the data into training and test set.
inTrain <- createDataPartition(Sonar$Class, p=0.75, list = FALSE)
training <- Sonar[inTrain,]
testing <- Sonar[-inTrain,]
OK. So from here we can use the default train()
function to undergo a k-fold CV and extract the performance of a model being trained. Let’s use a simple glm with elastic net and identify the optimal alpha, lambda.
tuneGrid <- expand.grid(alpha = 0:1, lambda = seq(0.0001, 1, length = 10))
myControl <- trainControl(
method = "cv", number = 10
)
glmtrain <- train(
Class ~.,
training,
method="glmnet",
tuneGrid = tuneGrid, trControl = myControl
)
glmtrain
## glmnet
##
## 157 samples
## 60 predictor
## 2 classes: 'M', 'R'
##
## No pre-processing
## Resampling: Cross-Validated (10 fold)
## Summary of sample sizes: 141, 141, 142, 142, 141, 142, ...
## Resampling results across tuning parameters:
##
## alpha lambda Accuracy Kappa
## 0 0.0001 0.7764706 0.5446293
## 0 0.1112 0.8026716 0.6013982
## 0 0.2223 0.7893382 0.5755607
## 0 0.3334 0.7826716 0.5627521
## 0 0.4445 0.7823039 0.5622975
## 0 0.5556 0.7756373 0.5485573
## 0 0.6667 0.7560539 0.5077482
## 0 0.7778 0.7560539 0.5077482
## 0 0.8889 0.7498039 0.4960175
## 0 1.0000 0.7498039 0.4939777
## 1 0.0001 0.7123039 0.4123037
## 1 0.1112 0.7639706 0.5197876
## 1 0.2223 0.5350245 0.0000000
## 1 0.3334 0.5350245 0.0000000
## 1 0.4445 0.5350245 0.0000000
## 1 0.5556 0.5350245 0.0000000
## 1 0.6667 0.5350245 0.0000000
## 1 0.7778 0.5350245 0.0000000
## 1 0.8889 0.5350245 0.0000000
## 1 1.0000 0.5350245 0.0000000
##
## Accuracy was used to select the optimal model using the largest value.
## The final values used for the model were alpha = 0 and lambda = 0.1112.
So… we see the alpha and lambda values are chosen. We can also extract the model to
pred <- predict(glmtrain, newdata = testing)
confusionMatrix(testing$Class, pred)
## Confusion Matrix and Statistics
##
## Reference
## Prediction M R
## M 17 10
## R 3 21
##
## Accuracy : 0.7451
## 95% CI : (0.6037, 0.8567)
## No Information Rate : 0.6078
## P-Value [Acc > NIR] : 0.02870
##
## Kappa : 0.4966
##
## Mcnemar's Test P-Value : 0.09609
##
## Sensitivity : 0.8500
## Specificity : 0.6774
## Pos Pred Value : 0.6296
## Neg Pred Value : 0.8750
## Prevalence : 0.3922
## Detection Rate : 0.3333
## Detection Prevalence : 0.5294
## Balanced Accuracy : 0.7637
##
## 'Positive' Class : M
##
So this would be a short prediction procedure to obtain the predictions for the test data. One thing that we didn’t discuss above was how the predict()
function extracted the classes? Basically, the generic predict()
function that works on objects of class train
will output the raw classess if type=
argument isn’t specified in the function.
probs <- predict(glmtrain, newdata = testing, type = "prob")
Once we specify the type="prob"
, we get the probabilities for both classes. From there, we could manually specify the predictions as such:
preds2 <- factor(ifelse(probs$M >= 0.5, "M","R"), levels=c("M","R"))
confusionMatrix(testing$Class, preds2)
## Confusion Matrix and Statistics
##
## Reference
## Prediction M R
## M 17 10
## R 3 21
##
## Accuracy : 0.7451
## 95% CI : (0.6037, 0.8567)
## No Information Rate : 0.6078
## P-Value [Acc > NIR] : 0.02870
##
## Kappa : 0.4966
##
## Mcnemar's Test P-Value : 0.09609
##
## Sensitivity : 0.8500
## Specificity : 0.6774
## Pos Pred Value : 0.6296
## Neg Pred Value : 0.8750
## Prevalence : 0.3922
## Detection Rate : 0.3333
## Detection Prevalence : 0.5294
## Balanced Accuracy : 0.7637
##
## 'Positive' Class : M
##
So that’s how things are done interally with the generic predict()
function. Now let’s get to how we would optimize the probability thresholds… we essentially want another column that displays the range of probability thresholds that we would wnat to display the performance values (in this case we’ve just used Accuracy but we can modify that).
We need to get a bit more closer into the internals of {caret}
to specify the probability threshold values. We first need to get information regarding the model being used in train
. The function to use is getModelInfo()
:
thresh_code <- getModelInfo("glmnet", regex=FALSE)[[1]]
str(thresh_code)
## List of 15
## $ label : chr "glmnet"
## $ library : chr [1:2] "glmnet" "Matrix"
## $ type : chr [1:2] "Regression" "Classification"
## $ parameters:'data.frame': 2 obs. of 3 variables:
## ..$ parameter: chr [1:2] "alpha" "lambda"
## ..$ class : chr [1:2] "numeric" "numeric"
## ..$ label : chr [1:2] "Mixing Percentage" "Regularization Parameter"
## $ grid :function (x, y, len = NULL, search = "grid")
## ..- attr(*, "srcref")= 'srcref' int [1:8] 7 26 27 19 26 19 7 27
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ loop :function (grid)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 28 26 39 19 26 19 28 39
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ fit :function (x, y, wts, param, lev, last, classProbs, ...)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 40 25 66 19 25 19 40 66
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ predict :function (modelFit, newdata, submodels = NULL)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 67 29 88 19 29 19 67 88
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ prob :function (modelFit, newdata, submodels = NULL)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 89 26 122 19 26 19 89 122
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ predictors:function (x, lambda = NULL, ...)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 123 32 139 19 32 19 123 139
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ varImp :function (object, lambda = NULL, ...)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 140 28 154 19 28 19 140 154
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ levels :function (x)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 155 28 155 93 28 93 155 155
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ tags : chr [1:6] "Generalized Linear Model" "Implicit Feature Selection" "L1 Regularization" "L2 Regularization" ...
## $ sort :function (x)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 159 26 159 66 26 66 159 159
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
## $ trim :function (x)
## ..- attr(*, "srcref")= 'srcref' int [1:8] 160 26 165 19 26 19 160 165
## .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x55bece9300d0>
You see a bunch of things that will be useful. First we need to check that the type of task is Classification
thresh_code$type
## [1] "Regression" "Classification"
Next we need to check the parameters
thresh_code$parameters
## parameter class label
## 1 alpha numeric Mixing Percentage
## 2 lambda numeric Regularization Parameter
Since we want to optimize the probability threshold let’s add that part in here
thresh_code$parameters <- rbind(
thresh_code$parameters,
data.frame(
parameter="threshold",
class="numeric",
label="Probability Cutoff"
)
)
thresh_code$parameters
## parameter class label
## 1 alpha numeric Mixing Percentage
## 2 lambda numeric Regularization Parameter
## 3 threshold numeric Probability Cutoff
Ok since that’s done, now we need to make sure the tuning Grid iterates through the probability threshold values according to how we specify it in train()
thresh_code$grid <- function(x, y, len=NULL, search="grid"){
if(search =="grid") {
numLev <- if(is.character(y) | is.factor(y)) length(levels(y)) else NA
if(!is.na(numLev)){
fam <- ifelse(numLev>2, "multinomial", "binomial")
} else fam <- "gaussian"
init <- glmnet::glmnet(Matrix::as.matrix(x),y,
family=fam,
nlambda=len+2,
alpha=0.5)
lambda <- unique(init$lambda)
lambda <- lambda[-c(1, length(lambda))]
lambda <- lambda[1:min(length(lambda), len)]
out <- expand.grid(
alpha = seq(0.1, 1, length = len),
lambda = lambda,
threshold = seq(0.01,0.99, length=len)
)
} else {
out <- data.frame(alpha = runif(len, min=0, 1),
lambda = 2*runi(len, min = -10, 3),
threshold = runif(1,0,size=len)
)
}
out
}
Essentially the tuning grid is set up in a way such that if we don’t specify a tuning grid in the train()
function then the function will generate a tuning grid specified as the bottom portion of the thresh_code$grid
function.
Now that we’ve specified the tuning grid, we now need to set up a code that will have each performance calculations be conducted within the folds by each threshold value: A loop.
thresh_code$loop <- function(grid){
loop <- plyr::ddply(
grid, c("alpha","lambda"),
function(x) c(threshold = max(x$threshold))
)
submodels <- vector(mode="list", length = nrow(loop))
for(i in seq(along = loop$threshold)) {
index <- which(
grid$alpha == loop$alpha[i] &
grid$lambda == loop$lambda[i]
)
cuts <- grid[index, "threshold"]
submodels[[i]] <- data.frame(threshold = cuts[cuts != loop$threshold[i]])
}
list(loop = loop, submodels = submodels)
}
Ok that was convoluted… You can try to debug the code and check what objects you get as you run through each iteration but what’s being done is, for each value of the threshold, we’re setting up a grid of alpha & lambda values that we’ll cross validate the performance on. Therefore submodels are being built for each threshold value. From those submodels we’re extracting the alpha & lambda performances.
Now let’s move on to the prediction function. Here we want to set it to getting predicted probabilities not class:
thresh_code$predict <- function(modelFit, newdata, submodels = NULL) {
if(!is.matrix(newdata)) newdata <- Matrix::as.matrix(newdata)
if(length(modelFit$obsLevels) < 2) {
class1Prob <- predict(modelFit, newdata, s = modelFit$lambdaOpt)
} else {
class1Prob <- predict(modelFit, newdata, s = modelFit$lambdaOpt, type = "response")
}
if(is.matrix(class1Prob)) class1Prob <- class1Prob[,1]
if(modelFit$problemType == "Classification"){
if(length(modelFit$obsLevels) == 2){
out <- ifelse(class1Prob >= modelFit$tuneValue$threshold,
modelFit$obsLevels[1],
modelFit$obsLevels[2]
)
} else {
out <- matrix(out, ncol=length(modelFit$obsLevels), byrow=TRUE)
out <- modelFit$obsLevels[apply(out, 1, which.max)]
}
}
if(!is.null(submodels)) {
if(length(modelFit$obsLevels) < 2) {
tmp <- as.list(as.data.frame(predict(modelFit, newdata, s = submodels$lambda),
stringsAsFactors = TRUE))
} else {
tmp2 <- out
out <- vector(mode = "list", length=length(submodels$threshold))
out[[1]] <- tmp2
for(j in seq(along = submodels$threshold)) {
if(modelFit$problemType == "Classification"){
if(length(modelFit$obsLevels) == 2){
out[[j+1]]<- ifelse(class1Prob >= submodels$threshold[[j]],
modelFit$obsLevels[1],
modelFit$obsLevels[2]
)
} else {
tmp_pred <- matrix(tmp_pred, ncol = length(modelFit$obsLevels), byrow=TRUE)
tmp_pred <- matrix(tmp_pred, ncol = length(modelFit$obsLevels), byrow=TRUE)
}
}
}
}
}
out
}
That was a mess as well. But the gist is that we’re trying to get predictions for each threshold value for each of the test folds. The list out
is essentially capturing the predicted classess according to the threshold values.
We’re almost there now! The probabilities are always the same but we have to create mulitple versions of the probs to evaluate the data across thresholds
thresh_code$prob <- function(modelFit, newdata, submodels = NULL) {
out <- as.data.frame(predict(modelFit, as.matrix(newdata), s=modelFit$lambdaOpt, type="response"))
out <- cbind(1-out, out)
colnames(out) <- modelFit$obsLevels
if(!is.null(submodels)) {
tmp <- vector(mode = "list", length=length(submodels$threshold) + 1)
tmp[[1]] <- out
for(j in seq(along = submodels$threshold)) {
tmp_pred <- predict(modelFit, as.matrix(newdata), s=modelFit$lambdaOpt, type="response")
tmp_pred <- cbind(1-tmp_pred, tmp_pred)
colnames(tmp_pred) <- modelFit$obsLevels
tmp_pred <- as.data.frame(tmp_pred)
tmp[[j+1]] <- tmp_pred
}
}
tmp
}
Alright we’ve basically specified everything except the final performance calculation ( which we could customize as well… later). Let’s just keep our default performance calculation for now and see hwow we do.
tuneGridnew <- expand.grid(
alpha = 0:1,
lambda = seq(0.0001, 1, length = 5),
threshold = seq(0, 1, 0.2)
)
myControl <- trainControl(
method = "cv", number = 5,
classProbs = TRUE
)
glmtrain2 <- train(
Class ~.,
training,
method=thresh_code,
tuneGrid = tuneGridnew,
trControl = myControl
)
kable(head(glmtrain2$results))
| alpha | lambda | threshold | Accuracy | Kappa | AccuracySD | KappaSD |
|---|---|---|---|---|---|---|
| 0 | 1e-04 | 0.0 | 0.5350806 | 0.0000000 | 0.0136257 | 0.0000000 |
| 0 | 1e-04 | 0.2 | 0.2739919 | -0.4773996 | 0.0767136 | 0.1473699 |
| 0 | 1e-04 | 0.4 | 0.2350806 | -0.5348954 | 0.0988042 | 0.1982347 |
| 0 | 1e-04 | 0.6 | 0.2096774 | -0.5632851 | 0.0672463 | 0.1373809 |
| 0 | 1e-04 | 0.8 | 0.2090726 | -0.5411881 | 0.0819749 | 0.1707124 |
| 0 | 1e-04 | 1.0 | 0.4649194 | 0.0000000 | 0.0136257 | 0.0000000 |
kable(glmtrain2$bestTune)
| alpha | lambda | threshold | |
|---|---|---|---|
| 25 | 0 | 1 | 0 |
Now the CV is iterating throug h the probability threshold!
I’m going to keep this section relatively short and make it as practical as possible. Basically this was dealt with in stack. If you want to specify all the nice performance metrics for a classification then use summaryFunction = MySummary
otherwise use whatever suits your need. I’m also changing the roc()
function here from the {pROC}
version to the {ModelMetrics}
version here. Note that in the thresh_code$prob
portion above, we did a bit of manipulating to get the correct probabilities specified for the folds of the training data to be evaluated:
twoClassSummarya <- function (data, lev = NULL, model = NULL)
{
if (length(lev) > 2) {
stop(paste("Your outcome has", length(lev), "levels. The twoClassSummary() function isn't appropriate."))
}
library("pROC")
if (!all(levels(data[, "pred"]) == lev)) {
stop("levels of observed and predicted data do not match")
}
# print(table(data$obs))
rocAUC <- ModelMetrics::auc(
as.numeric(as.character(ifelse(data$obs == lev[1], 1, 0))),
data[,lev[1]]
)
out <- c(rocAUC, sensitivity(data[, "pred"], data[, "obs"],
lev[1]), specificity(data[, "pred"], data[, "obs"], lev[2]))
names(out) <- c("ROC", "Sens", "Spec")
out
}
MySummary <- function(data, lev = NULL, model = NULL){
a1 <- defaultSummary(data, lev, model)
b1 <- twoClassSummary(data, lev, model)
c1 <- prSummary(data, lev, model)
out <- c(a1, b1, c1)
out}
myControl <- trainControl(method = "cv",
number = 5,
savePredictions = TRUE,
summaryFunction = MySummary,
classProbs = TRUE,
allowParallel = FALSE
)
glmtrain3 <- train(
Class ~.,
training,
method=thresh_code,
tuneGrid = tuneGridnew,
trControl = myControl
)
## Warning in nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo, :
## There were missing values in resampled performance measures.
kable(head(glmtrain3$results))
| alpha | lambda | threshold | Accuracy | Kappa | ROC | Sens | Spec | AUC | Precision | Recall | F | AccuracySD | KappaSD | ROCSD | SensSD | SpecSD | AUCSD | PrecisionSD | RecallSD | FSD |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1e-04 | 0.0 | 0.5350806 | 0.0000000 | 0.8672199 | 1.0000000 | 0.0000000 | 0.8184141 | 0.5350806 | 1.0000000 | 0.6970546 | 0.0136257 | 0.0000000 | 0.0426628 | 0.0000000 | 0.0000000 | 0.0417762 | 0.0136257 | 0.0000000 | 0.0115884 |
| 0 | 1e-04 | 0.2 | 0.2743952 | -0.4826478 | 0.8672199 | 0.4161765 | 0.1085714 | 0.8184141 | 0.3444652 | 0.4161765 | 0.3755743 | 0.0559199 | 0.1052449 | 0.0426628 | 0.1225539 | 0.1001926 | 0.0417762 | 0.0654402 | 0.1225539 | 0.0883808 |
| 0 | 1e-04 | 0.4 | 0.2622984 | -0.4841204 | 0.8672199 | 0.3095588 | 0.2066667 | 0.8184141 | 0.3095760 | 0.3095588 | 0.3091626 | 0.0832810 | 0.1668428 | 0.0426628 | 0.0870167 | 0.1087759 | 0.0417762 | 0.0839530 | 0.0870167 | 0.0845584 |
| 0 | 1e-04 | 0.6 | 0.1979839 | -0.5906412 | 0.8672199 | 0.1676471 | 0.2333333 | 0.8184141 | 0.1994048 | 0.1676471 | 0.1817993 | 0.0548845 | 0.1089436 | 0.0426628 | 0.0546299 | 0.0778102 | 0.0417762 | 0.0549589 | 0.0546299 | 0.0548846 |
| 0 | 1e-04 | 0.8 | 0.2235887 | -0.5068518 | 0.8672199 | 0.0352941 | 0.4409524 | 0.8184141 | 0.0687179 | 0.0352941 | 0.0758991 | 0.0735417 | 0.1624222 | 0.0426628 | 0.0322190 | 0.1652182 | 0.0417762 | 0.0708593 | 0.0322190 | 0.0102673 |
| 0 | 1e-04 | 1.0 | 0.4649194 | 0.0000000 | 0.8672199 | 0.0000000 | 1.0000000 | 0.8184141 | NaN | 0.0000000 | NaN | 0.0136257 | 0.0000000 | 0.0426628 | 0.0000000 | 0.0000000 | 0.0417762 | NA | 0.0000000 | NA |
kable(glmtrain2$bestTune)
| alpha | lambda | threshold | |
|---|---|---|---|
| 25 | 0 | 1 | 0 |
There you have it! I hope this helped :) This is by no means super easy to implement on the first try so I would suggest taking enough time to debug areas of the code that you don’t understand via inserting print()
statments to spit out the objects of interest along the way. Happy coding!


@()(implicit messages: Messages) @template("About", scripts = Html( """ """.stripMargin)) {
Argentum project was prepared by www.caelum.com.br .
It's used as a model in the course FJ-22 (Java with Tests Laboratory, JSF and Desgin Patterns).
Here we'll developer with Play FrameWork and Scala.
Scala Spec2 Play Framework SBT Bootstrap Json and XML WebService (REST)


Get a job: Sony PlayStation seeks a Concept Artist
by StaffThe Gamasutra Job Board is the most diverse, active and established board of its kind for the video game industry!
Here is just one of the many, many positions being advertised right now.
Concept Artist, Sony PlayStation
Location: San Diego, California
This is an 3-6 month temporary position through our staffing partner Yoh Services with a high likelihood of future work.
San Diego, CA
Sony PlayStation’s Visual Arts Services Group (VASG) on our San Diego campus provides world-class content, development and services to Worldwide Studios. We offer a full-service production studio with an emphasis in art and animation, as well as previsualization, cinematics, character creation, motion capture, software development, and face/body scanning, tracking and solving.
Our team is always at the cutting edge of technology and partners with the industry’s best minds and companies: Naughty Dog, Santa Monica Studios, Guerrilla Games, Japan Studios, and other Sony PlayStation first-party studios. This is your opportunity to work closely with game and film industry professionals from all over the world and under one roof!
We are currently looking for a looking for an Associate Concept Artist to come aboard and help our environment outsource team. The candidate will be working with our Lead Environment Artist to prepare outsource briefs to our vendors.
Responsibilities:
- Provide high quality concept artwork to support the asset guidelines created by our artists
- Produce concept artwork and image paint-overs at a high pace to keep up with asset brief production
Qualifications:
- Strong skills in Photoshop
- Demonstrate strong interest in the field of games and self- learning ability
- Minimum 1- 2 years experience in any related work environment OR Portfolio work created with own initiative that can show your artist skills
- Experience with outsource brief preparation is a plus
Sony is an Equal Opportunity Employer. All persons will receive consideration for employment without regard to race, color, religion, gender, pregnancy, national origin, ancestry, citizenship, age, legally protected physical or mental disability, covered veteran status, status in the U.S. uniformed services, sexual orientation, gender identity, marital status, genetic information or membership in any other legally protected category.
We strive to create an inclusive environment, empower employees and embrace diversity. We encourage everyone to respond.
We sincerely appreciate the time and effort you spent in contacting us and we thank you for your interest in PlayStation.
Interested? Apply now.
About the Gamasutra Job Board
Whether you're just starting out, looking for something new, or just seeing what's out there, the Gamasutra Job Board is the place where game developers move ahead in their careers.
Gamasutra's Job Board is the most diverse, most active, and most established board of its kind in the video game industry, serving companies of all sizes, from indie to triple-A.
Looking for a new job? Get started here. Are you a recruiter looking for talent? Post jobs here.


--- title: 404 layout: default permalink: 404.html ---
The content has moved or is no longer available


Teresa Miller and I created Lifty++ at Hack Cooper at the Cooper Union in New York City.
We submitted our hack under the #HackHarassment catergory. #HackHarassment is an organization that aims to reduce online harassment. We agree with them that building tools to block vicious content will lower online harassment or bullying.
We created a sentiment analysis tool that would assist users in determining whether or not what they wanted to post in the Internet may constitute as harassments. Some people may just not be aware about the language they are using given the context of the situation and we just want to let people know that kindness always comes first! Our code would then be made available through a Google extension, in which people could enable for free to double-check their words before posting.
I was in charge of developing the scoring algorithm, while Teresa worked on code for the extension. I'll speak to the former. We used Python to develop the algorithm that would calculate the sentiment score of each word, and eventually everything written in the text. Negative words received a score of -1 while positive words received a score of 1. Neutral words were disregarded and assigned to a score of 0. We summed up the values associated with each word and calculated the percentages for each category by dividing against this total. We used the NLTK library to tokenize each word.
We did not finish our hack, but I really hope to bring it to life someday!


Yamaha AV Remote
Enter the local IP address of your receiver below. Multiple devices or zones are not supported yet.
Receiver IP Address (local)


This is intended for iPhone only, it can be used on any other browser which support canvas and video. It doesn't play sound, I have no real plan of adding audio support.
It can be used with any HTML video player, just position canvas over the video. Intended usage was for background videos and showcases. It doesn't include timeline as in demo, but that piece of code is also on GitHub. This is plain JavaScript solution, no dependencies, IE9+ and modern browsers.
For IE9 there must be requestAnimationFrame
polyfill
Download on GitHub.
var canvasVideo = new CanvasVideoPlayer({
videoSelector: '.js-video',
canvasSelector: '.js-canvas'
});
var canvasVideo = new CanvasVideoPlayer({ videoSelector: '.js-video', canvasSelector: '.js-canvas', framesPerSecond: 25, hideVideo: true // should script hide the video element });
// Unbinds all of the events (when you destroy the player) canvasVideo.unbind() // Plays video canvasVideo.play() // Pauses video canvasVideo.pause() // Plays video if paused and vice versa canvasVideo.playPause() // Draws current frame on canvas, should not be called manually canvasVideo.drawFrame()
var isIphone = navigator.userAgent.toLowerCase().indexOf('iphone') >= 0; if (isIphone) { // Init CanvasVideoPlayer here new CanvasVideoPlayer({ // Options }); }
Released under MIT licence.


[SJN-51] Fix hierarchies in configuration files | |
| Status: | Closed |
| Project: | Simple-JNDI |
| Component/s: | |
| Affects Version/s: | 0.9.1 |
| Fix Version/s: | 0.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | Henri Yandell |
| Resolution: | Won't Fix | ||
| Environment: |
| Description |
| Given: one.Foo.name=bar one.Foo.value=1 one.Foo.name=test one.Foo.value=2 it should create a List in one.Foo which contains name and value for each element. Currently it creates one.Foo.name=bar,test and one.Foo.value=1,2. XML and .ini should be handled the same way. XML is very obvious: <one><Foo><name>bar</name><value>1</value></Foo> <Foo><name>test</name><value>2</value></Foo></one> |
| Comment by bayard [ Tue, 4 May 2004 12:26:23 -0700 (PDT) ] |
| Genjava-Core's FQMap might be of use here. It's basically a hierarchy map of maps based on a delimiter. Pretty much all simple-jndi's underlying system is. It needs to masquerade as a Properties file somehow to allow the PropertiesContext to have no clue that anything is going on. Also needs to extend AbstractProperties, as that is how PropertiesContext will know to return a Context object on a lookup. |
| Comment by bayard [ Tue, 4 May 2004 20:13:25 -0700 (PDT) ] |
| Big rewrite here. FQMap modified as HierarchicalMap and all the Properties classes changed to Parser classes. |
| Comment by bayard [ Tue, 4 May 2004 21:41:10 -0700 (PDT) ] |
| Tests all nearly pass except for one to do with the 'type' special variable. This is because the code ends up with a HierarchicalMap as a node which contains key=value, where value is a List. The type variable ends up in the List. Instead, the value in the HierarchicalMap should always be a Value object, and if a type is found it is set as Value.setType and not as a child of the value's key. Could optimise and only have a Value object when type is found. This is all work that is needed in the put of HierarchicalMap. Tempting to move the convert code into the get of HierarchicalMap and out of PropertiesContext. Slims that class down and puts like with like. |
| Comment by bayard [ Wed, 5 May 2004 22:06:27 -0700 (PDT) ] |
| Conversion code is out of PropertiesContext and into HMap as planned, but after a failed attempt to create the ConvertValue wrapper system suggested previously, I simply put a bit of magic in the get() method to hide that there is something underneath. This will not be enough in the long run as there are other ways to obtain values. However, it should also be impossible for a user to obtain a HMap, they should always be behind a Context, so not all of those methods will need to be implemented. More testing needed, but current unit tests are all happy. |
| Comment by bayard [ Wed, 5 May 2004 22:07:04 -0700 (PDT) ] |
| Probably much left to do, but unit tests all pass now and the underlying system is quite possibly much clearer now. |
| Comment by bayard [ Thu, 6 May 2004 23:17:22 -0700 (PDT) ] |
| Despite passing the tests, I suspect that this completely doesn't work yet, though all the code so far is important in laying the groundwork for a working system. Need to come up with unit tests to confirm this suspicion, then fix the odds and ends that are not quite right. |
| Comment by bayard [ Thu, 21 Apr 2005 23:26:43 -0700 (PDT) ] |
| Doing a complete rewrite instead. |


---
layout: default
title: "Resume"
date: 2013-11-22
lastmod: 2013-12-20
scripts: ["resume"]
languges:
-
name: en
url: "/resume/"
sitemap:
priority: 0.3
changefreq: monthly
---
NIKOLAY KUSH
- Birthday:
- May 15, 1986
- Native town:
- Krasnodon, Ukraine
- Hobbies:
- Baby, Code for fun, Games (computer, board, active) and Active rest (kayaks, walking)
- I'm social:
SKILLS/ABILITIES
- Architecture:
- SOLID, KISS, OOP, TDD, BDD, CI
- Programming Languages:
- C# (.NET 4.0), JavaScript (frameworks), HTML, CSS, SQL, Java
- Services:
- REST, SOAP, WCF
- Protocols:
- HTTP, TCP/IP
- Databases:
- MS SQL 2008 (Express), MongoDB, Solr, ElasticSearch, Oracle Server, SQLite
- Tools:
- R#, Reflector, Git, Mercurial, Fiddler, Sublime
- Web servers:
- IIS 7.0, Self-hosted Web Services
- 3rd Party libraries:
- Moq, MSpec, Nunit, StructureMap, AutoMapper
- Process:
- Scrum, Kanban
EDUCATION
- Master of Science, Computer Science Department
- National University of Radioelectronics, Kharkov, Ukraine (June 2009)
Major: Computer science
Related course work: Enterprise application development, Service-Oriented Architecture
- Bachelor of Science, Computer Science Department
- National University of Radioelectronics, Kharkov, Ukraine (June 2008)
Major: Computer science
Related course work: OOP, web technologies, computer networks, calculus of approximations, optimization methods, databases, probability theory, algorithms.
PERSONAL QUALITIES
- Responsibility, commutability, ability to work in a team, aspiration for learning and adapting new technologies, ability to learn quickly and work under pressure, creativeness, a will to reach professional result, methodical thinking.
LANGUAGE
- English
- Advanced reading/writing (have a great experience with native speakers)
- Russian, Ukrainian
- Native


| Fluid 512 | Fluid 1024 | Fluid 2048 | Fluid 4096 | |
|---|---|---|---|---|
| Ram | 512MB | 1024MB | 2048MB | 4096MB |
| Disk Space | 25GB | 50GB | 100GB | 200GB |
| CPU Cores | 1 | 2 | 4 | 6 |
| Swap | 512MB | 1024MB | 1024MB | 2048MB |
| Bandwidth | 200GB | 400GB | 800GB | 1600GB |
| Monthly | $16.95/month | $32.95/month | $64.95/month | $128.95/month |
| Quarterly | $16.44/month | $31.96/month | $63.00/month | $125.08/month |
| Yearly | $15.26/month | $29.66/month | $58.46/month | $116.06/month |
| Order » | Order » | Order » | Order » |


Three daily, vitamin-packed serums that deliver hydration, more even tone, and clarity.
We make sure you recieve your skincare product as soon as we have finished making it. We also provide free returns if you are not satisfied.
we believe in our high quality services that aim to nurture your mind, body, spirit and environment.


{{things | json}}
{{otherThings | json}}
{{things | json}}
To eliminate, drop here (or anywhere there's no drop target)
{{things | json}}
{{otherThings | json}}
{{things | json}}
{{otherThings | json}}
{{things | json}}
{{otherThings | json}}
{{things | json}}
{{otherThings | json}}
{{things | json}}
{{otherThings | json}}