Using SMOG2 - C-alpha and All-Atoms¶
Creating Input files for OpenSMOG¶
This tutorial should take between 5 to 10 minutes of reading and generation the input files. Here, it will be used SMOG2 software to generate the SBM (Structure-Based Model) input files for OpenSMOG simulations. To install SMOG2, please check the installation guide here . Details of the usage of SMOG2 are described in the manual.
The following instructions will use a PDB file of CI2 protein (2ci2.pdb).
First, download the 2ci2.pdb file:
wget http://www.rcsb.org/pdb/files/2ci2.pdb
Then, it is necessary to clean up the file to keep only the relevant information for building the model. In this case, let us keep only the ATOM lines:
grep "^ATOM" 2ci2.pdb > 2ci2.atoms.pdb
Note
Note that, sometimes, you also want HETATMs. This is up to the user. HETATMs can be things that we don’t want to include (e.g. HOH), or things that we may want to included (e.g. posttranslational modifications). In this case, we only want ATOM lines.
Next, add an END line to the 2ci2.atoms.pdb:
sed -i -e "\$aEND" 2ci2.atoms.pdb
Adjust the file, so that the naming convention conforms with the default models:
smog_adjustPDB -i 2ci2.atoms.pdb -o 2ci2.adj.pdb
C-alpha model¶
Use the adjusted file to generate your input CA model:
smog2 -i 2ci2.adj.pdb -CA -dname 2ci2.CA -openSMOG
All-Atoms model¶
To generate the All-Atoms input files, only change the flag -CA to -AA:
smog2 -i 2ci2.adj.pdb -AA -dname 2ci2.AA -openSMOG


Getting started
The List
Submit
Log in
Navbar Link
Navbar Link
Compare resumes from the top CS graduates.
Start browsing resumes
Support the best
Support the best


| YARN-7773 |
YARN Federation used Mysql as state store throw exception, Unknown column ‘homeSubCluster’ in ‘field list’ |
Blocker |
federation |
Yiran Wu |
Yiran Wu |
| YARN-8426 |
Upgrade jquery-ui to 1.12.1 in YARN |
Major |
webapp |
Sunil Govindan |
Sunil Govindan |
| HADOOP-15550 |
Avoid static initialization of ObjectMappers |
Minor |
performance |
Todd Lipcon |
Todd Lipcon |
| HDFS-13721 |
NPE in DataNode due to uninitialized DiskBalancer |
Major |
datanode, diskbalancer |
Xiao Chen |
Xiao Chen |
| YARN-8360 |
Yarn service conflict between restart policy and NM configuration |
Critical |
yarn |
Chandni Singh |
Suma Shivaprasad |
| YARN-8380 |
Support bind propagation options for mounts in docker runtime |
Major |
. |
Billie Rinaldi |
Billie Rinaldi |
| YARN-8544 |
[DS] AM registration fails when hadoop authorization is enabled |
Blocker |
. |
Bibin A Chundatt |
Bibin A Chundatt |
| YARN-8548 |
AllocationRespose proto setNMToken initBuilder not done |
Major |
. |
Bibin A Chundatt |
Bilwa S T |
| YARN-7748 |
TestContainerResizing.testIncreaseContainerUnreservedWhenApplicationCompleted fails due to multiple container fail events |
Major |
capacityscheduler |
Haibo Chen |
Weiwei Yang |
| YARN-8577 |
Fix the broken anchor in SLS site-doc |
Minor |
documentation |
Weiwei Yang |
Weiwei Yang |
| YARN-4606 |
CapacityScheduler: applications could get starved because computation of #activeUsers considers pending apps |
Critical |
capacity scheduler, capacityscheduler |
Karam Singh |
Manikandan R |
| YARN-8330 |
Avoid publishing reserved container to ATS from RM |
Critical |
yarn-native-services |
Yesha Vora |
Suma Shivaprasad |
| YARN-8429 |
Improve diagnostic message when artifact is not set properly |
Major |
. |
Yesha Vora |
Gour Saha |
| YARN-8571 |
Validate service principal format prior to launching yarn service |
Major |
security, yarn |
Eric Yang |
Eric Yang |
| HADOOP-15637 |
LocalFs#listLocatedStatus does not filter out hidden .crc files |
Minor |
fs |
Erik Krogen |
Erik Krogen |
| YARN-8579 |
New AM attempt could not retrieve previous attempt component data |
Critical |
. |
Yesha Vora |
Gour Saha |
| YARN-8397 |
Potential thread leak in ActivitiesManager |
Major |
. |
Rohith Sharma K S |
Rohith Sharma K S |
| YARN-8595 |
[UI2] Container diagnostic information is missing from container page |
Major |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| YARN-8403 |
Nodemanager logs failed to download file with INFO level |
Major |
yarn |
Eric Yang |
Eric Yang |
| YARN-8610 |
Yarn Service Upgrade: Typo in Error message |
Major |
. |
Chandni Singh |
Chandni Singh |
| YARN-8593 |
Add RM web service endpoint to get user information |
Major |
resourcemanager |
Akhil PB |
Akhil PB |
| YARN-8594 |
[UI2] Display current logged in user |
Major |
. |
Akhil PB |
Akhil PB |
| YARN-8592 |
[UI2] rmip:port/ui2 endpoint shows a blank page in windows OS and Chrome browser |
Major |
. |
Akhil S Naik |
Akhil PB |
| YARN-8318 |
[UI2] IP address in component page shows N/A |
Major |
yarn-ui-v2 |
Yesha Vora |
Yesha Vora |
| YARN-6966 |
NodeManager metrics may return wrong negative values when NM restart |
Major |
. |
Yang Wang |
Szilard Nemeth |
| YARN-8620 |
[UI2] YARN Services UI new submission failures are not debuggable |
Major |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| YARN-8615 |
[UI2] Resource Usage tab shows only memory related info. No info available for vcores/gpu. |
Major |
yarn-ui-v2 |
Sumana Sathish |
Akhil PB |
| HDFS-13792 |
Fix FSN read/write lock metrics name |
Trivial |
documentation, metrics |
Chao Sun |
Chao Sun |
| YARN-8629 |
Container cleanup fails while trying to delete Cgroups |
Critical |
. |
Yesha Vora |
Suma Shivaprasad |
| YARN-8407 |
Container launch exception in AM log should be printed in ERROR level |
Major |
. |
Yesha Vora |
Yesha Vora |
| HDFS-13799 |
TestEditLogTailer#testTriggersLogRollsForAllStandbyNN fails due to missing synchronization between rollEditsRpcExecutor and tailerThread shutdown |
Minor |
ha |
Hrishikesh Gadre |
Hrishikesh Gadre |
| HDFS-13786 |
EC: Display erasure coding policy for sub-directories is not working |
Major |
erasure-coding |
Souryakanta Dwivedy |
Ayush Saxena |
| HDFS-13785 |
EC: “removePolicy” is not working for built-in/system Erasure Code policies |
Minor |
documentation, erasure-coding |
Souryakanta Dwivedy |
Ayush Saxena |
| YARN-8633 |
Update DataTables version in yarn-common in line with JQuery 3 upgrade |
Major |
yarn |
Akhil PB |
Akhil PB |
| YARN-8331 |
Race condition in NM container launched after done |
Major |
. |
Yang Wang |
Pradeep Ambati |
| YARN-8521 |
NPE in AllocationTagsManager when a container is removed more than once |
Major |
resourcemanager |
Weiwei Yang |
Weiwei Yang |
| YARN-8575 |
Avoid committing allocation proposal to unavailable nodes in async scheduling |
Major |
capacityscheduler |
Tao Yang |
Tao Yang |
| HDFS-13668 |
FSPermissionChecker may throws AIOOE when check inode permission |
Major |
namenode |
He Xiaoqiao |
He Xiaoqiao |
| HADOOP-15638 |
KMS Accept Queue Size default changed from 500 to 128 in Hadoop 3.x |
Major |
kms |
Wei-Chiu Chuang |
Wei-Chiu Chuang |
| HDFS-13823 |
NameNode UI : “Utilities -> Browse the file system -> open a file -> Head the file” is not working |
Major |
ui |
Nanda kumar |
Nanda kumar |
| HDFS-13738 |
fsck -list-corruptfileblocks has infinite loop if user is not privileged. |
Major |
tools |
Wei-Chiu Chuang |
Yuen-Kuei Hsueh |
| HDFS-13758 |
DatanodeManager should throw exception if it has BlockRecoveryCommand but the block is not under construction |
Major |
namenode |
Wei-Chiu Chuang |
chencan |
| YARN-8614 |
Fix few annotation typos in YarnConfiguration |
Trivial |
. |
Sen Zhao |
Sen Zhao |
| HDFS-13819 |
TestDirectoryScanner#testDirectoryScannerInFederatedCluster is flaky |
Minor |
hdfs |
Daniel Templeton |
Daniel Templeton |
| YARN-8656 |
container-executor should not write cgroup tasks files for docker containers |
Major |
. |
Jim Brennan |
Jim Brennan |
| YARN-8474 |
sleeper service fails to launch with “Authentication Required” |
Critical |
yarn |
Sumana Sathish |
Billie Rinaldi |
| YARN-8667 |
Cleanup symlinks when container restarted by NM to solve issue “find: File system loop detected;” for tar ball artifacts. |
Critical |
. |
Rohith Sharma K S |
Chandni Singh |
| HDFS-10240 |
Race between close/recoverLease leads to missing block |
Major |
. |
zhouyingchao |
Jinglun |
| HADOOP-15655 |
Enhance KMS client retry behavior |
Critical |
kms |
Kitti Nanasi |
Kitti Nanasi |
| YARN-8612 |
Fix NM Collector Service Port issue in YarnConfiguration |
Major |
ATSv2 |
Prabha Manepalli |
Prabha Manepalli |
| HDFS-13747 |
Statistic for list_located_status is incremented incorrectly by listStatusIterator |
Minor |
hdfs-client |
Todd Lipcon |
Antal Mihalyi |
| HADOOP-15674 |
Test failure TestSSLHttpServer.testExcludedCiphers with TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 cipher suite |
Major |
common |
Gabor Bota |
Szilard Nemeth |
| YARN-8640 |
Restore previous state in container-executor after failure |
Major |
. |
Jim Brennan |
Jim Brennan |
| YARN-8679 |
[ATSv2] If HBase cluster is down for long time, high chances that NM ContainerManager dispatcher get blocked |
Major |
. |
Rohith Sharma K S |
Wangda Tan |
| HDFS-13772 |
Erasure coding: Unnecessary NameNode Logs displaying for Enabling/Disabling Erasure coding policies which are already enabled/disabled |
Trivial |
erasure-coding |
Souryakanta Dwivedy |
Ayush Saxena |
| YARN-8649 |
NPE in localizer hearbeat processing if a container is killed while localizing |
Major |
. |
lujie |
lujie |
| YARN-8719 |
Typo correction for yarn configuration in OpportunisticContainers(federation) docs |
Major |
documentation, federation |
Y. SREENIVASULU REDDY |
Y. SREENIVASULU REDDY |
| YARN-8675 |
Setting hostname of docker container breaks with “host” networking mode for Apps which do not run as a YARN service |
Major |
. |
Yesha Vora |
Suma Shivaprasad |
| HDFS-13858 |
RBF: Add check to have single valid argument to safemode command |
Major |
federation |
Soumyapn |
Ayush Saxena |
| HDFS-13731 |
ReencryptionUpdater fails with ConcurrentModificationException during processCheckpoints |
Major |
encryption |
Xiao Chen |
Zsolt Venczel |
| YARN-8723 |
Fix a typo in CS init error message when resource calculator is not correctly set |
Minor |
. |
Weiwei Yang |
Abhishek Modi |
| HADOOP-15705 |
Typo in the definition of “stable” in the interface classification |
Minor |
. |
Daniel Templeton |
Daniel Templeton |
| HDFS-13863 |
FsDatasetImpl should log DiskOutOfSpaceException |
Major |
hdfs |
Fei Hui |
Fei Hui |
| HADOOP-15698 |
KMS log4j is not initialized properly at startup |
Major |
kms |
Kitti Nanasi |
Kitti Nanasi |
| HADOOP-15680 |
ITestNativeAzureFileSystemConcurrencyLive times out |
Major |
. |
Andras Bokor |
Andras Bokor |
| HADOOP-15706 |
Typo in compatibility doc: SHOUD -> SHOULD |
Trivial |
. |
Daniel Templeton |
Laszlo Kollar |
| HDFS-13027 |
Handle possible NPEs due to deleted blocks in race condition |
Major |
namenode |
Vinayakumar B |
Vinayakumar B |
| YARN-8535 |
Fix DistributedShell unit tests |
Major |
distributed-shell, timelineservice |
Eric Yang |
Abhishek Modi |
| HDFS-13867 |
RBF: Add validation for max arguments for Router admin ls, clrQuota, setQuota, rm and nameservice commands |
Major |
. |
Ayush Saxena |
Ayush Saxena |
| HDFS-13774 |
EC: “hdfs ec -getPolicy” is not retrieving policy details when the special REPLICATION policy set on the directory |
Minor |
erasure-coding |
Souryakanta Dwivedy |
Ayush Saxena |
| HADOOP-10219 |
ipc.Client.setupIOstreams() needs to check for ClientCache.stopClient requested shutdowns |
Major |
ipc |
Steve Loughran |
Kihwal Lee |
| HDFS-13815 |
RBF: Add check to order command |
Major |
federation |
Soumyapn |
Ranith Sardar |
| HADOOP-15696 |
KMS performance regression due to too many open file descriptors after Jetty migration |
Blocker |
kms |
Wei-Chiu Chuang |
Wei-Chiu Chuang |
| MAPREDUCE-7131 |
Job History Server has race condition where it moves files from intermediate to finished but thinks file is in intermediate |
Major |
. |
Anthony Hsu |
Anthony Hsu |
| HDFS-13836 |
RBF: Handle mount table znode with null value |
Major |
federation, hdfs |
yanghuafeng |
yanghuafeng |
| YARN-8751 |
Container-executor permission check errors cause the NM to be marked unhealthy |
Critical |
. |
Shane Kumpf |
Craig Condit |
| HDFS-13862 |
RBF: Router logs are not capturing few of the dfsrouteradmin commands |
Major |
. |
Soumyapn |
Ayush Saxena |
| HDFS-12716 |
‘dfs.datanode.failed.volumes.tolerated’ to support minimum number of volumes to be available |
Major |
datanode |
usharani |
Ranith Sardar |
| HDFS-13895 |
EC: Fix Intermittent Failure in TestDFSStripedOutputStreamWithFailureWithRandomECPolicy |
Major |
erasure-coding |
Ayush Saxena |
Ayush Saxena |
| YARN-8709 |
CS preemption monitor always fails since one under-served queue was deleted |
Major |
capacityscheduler, scheduler preemption |
Tao Yang |
Tao Yang |
| HDFS-13051 |
Fix dead lock during async editlog rolling if edit queue is full |
Major |
namenode |
zhangwei |
Daryn Sharp |
| YARN-8630 |
ATSv2 REST APIs should honor filter-entity-list-by-user in non-secure cluster when ACls are enabled |
Major |
. |
Rohith Sharma K S |
Rohith Sharma K S |
| YARN-8729 |
Node status updater thread could be lost after it is restarted |
Critical |
nodemanager |
Tao Yang |
Tao Yang |
| HDFS-13914 |
Fix DN UI logs link broken when https is enabled after HDFS-13902 |
Minor |
datanode |
Jianfei Jiang |
Jianfei Jiang |
| MAPREDUCE-7133 |
History Server task attempts REST API returns invalid data |
Major |
jobhistoryserver |
Oleksandr Shevchenko |
Oleksandr Shevchenko |
| HDFS-13838 |
WebHdfsFileSystem.getFileStatus() won’t return correct “snapshot enabled” status |
Major |
hdfs, webhdfs |
Siyao Meng |
Siyao Meng |
| HADOOP-15733 |
Correct the log when Invalid emptier Interval configured |
Major |
trash |
Harshakiran Reddy |
Ayush Saxena |
| YARN-8720 |
CapacityScheduler does not enforce max resource allocation check at queue level |
Major |
capacity scheduler, capacityscheduler, resourcemanager |
Tarun Parimi |
Tarun Parimi |
| YARN-8782 |
Fix exception message in Resource.throwExceptionWhenArrayOutOfBound |
Minor |
. |
Szilard Nemeth |
Gergely Pollak |
| HDFS-13844 |
Fix the fmt_bytes function in the dfs-dust.js |
Minor |
hdfs, ui |
yanghuafeng |
yanghuafeng |
| YARN-8726 |
[UI2] YARN UI2 is not accessible when config.env file failed to load |
Critical |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| YARN-8652 |
[UI2] YARN UI2 breaks if getUserInfo REST API is not available in older versions. |
Critical |
. |
Akhil PB |
Akhil PB |
| YARN-8787 |
Fix broken list items in PlacementConstraints documentation |
Minor |
documentation |
Masahiro Tanaka |
Masahiro Tanaka |
| HDFS-11719 |
Arrays.fill() wrong index in BlockSender.readChecksum() exception handling |
Major |
datanode |
Tao Zhang |
Tao Zhang |
| YARN-8648 |
Container cgroups are leaked when using docker |
Major |
. |
Jim Brennan |
Jim Brennan |
| HADOOP-15755 |
StringUtils#createStartupShutdownMessage throws NPE when args is null |
Major |
. |
Lokesh Jain |
Dinesh Chitlangia |
| MAPREDUCE-3801 |
org.apache.hadoop.mapreduce.v2.app.TestRuntimeEstimators.testExponentialEstimator fails intermittently |
Major |
mrv2 |
Robert Joseph Evans |
Jason Lowe |
| MAPREDUCE-7137 |
MRAppBenchmark.benchmark1() fails with NullPointerException |
Minor |
test |
Oleksandr Shevchenko |
Oleksandr Shevchenko |
| MAPREDUCE-7138 |
ThrottledContainerAllocator in MRAppBenchmark should implement RMHeartbeatHandler |
Minor |
test |
Oleksandr Shevchenko |
Oleksandr Shevchenko |
| HDFS-13886 |
HttpFSFileSystem.getFileStatus() doesn’t return “snapshot enabled” bit |
Major |
httpfs |
Siyao Meng |
Siyao Meng |
| HDFS-13868 |
WebHDFS: GETSNAPSHOTDIFF API NPE when param “snapshotname” is given but “oldsnapshotname” is not. |
Major |
hdfs, webhdfs |
Siyao Meng |
Pranay Singh |
| YARN-8771 |
CapacityScheduler fails to unreserve when cluster resource contains empty resource type |
Critical |
capacityscheduler |
Tao Yang |
Tao Yang |
| HDFS-13908 |
TestDataNodeMultipleRegistrations is flaky |
Major |
. |
Íñigo Goiri |
Ayush Saxena |
| HADOOP-15684 |
triggerActiveLogRoll stuck on dead name node, when ConnectTimeoutException happens. |
Critical |
ha |
Rong Tang |
Rong Tang |
| HADOOP-15772 |
Remove the ‘Path … should be specified as a URI’ warnings on startup |
Major |
conf |
Arpit Agarwal |
Ayush Saxena |
| YARN-8784 |
DockerLinuxContainerRuntime prevents access to distributed cache entries on a full disk |
Major |
nodemanager |
Jason Lowe |
Eric Badger |
| HADOOP-15736 |
Trash : Negative Value For Deletion Interval Leads To Abnormal Behaviour. |
Major |
. |
Ayush Saxena |
Ayush Saxena |
| YARN-8628 |
[UI2] Few duplicated or inconsistent information displayed in UI2 |
Major |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| YARN-8742 |
[UI2] Container logs on Application / Service pages on UI2 are not available many case, improve error messages in such cases. |
Major |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| MAPREDUCE-7125 |
JobResourceUploader creates LocalFileSystem when it’s not necessary |
Major |
job submission |
Peter Cseh |
Peter Cseh |
| YARN-8815 |
RM fails to recover finished unmanaged AM |
Critical |
. |
Rakesh Shah |
Bibin A Chundatt |
| YARN-8752 |
yarn-registry.md has wrong word ong-lived, it should be long-lived |
Trivial |
documentation |
leiqiang |
leiqiang |
| YARN-8824 |
App Nodelabel missed after RM restart for finished apps |
Major |
. |
Bibin A Chundatt |
Bibin A Chundatt |
| HDFS-13840 |
RBW Blocks which are having less GS should be added to Corrupt |
Minor |
. |
Brahma Reddy Battula |
Brahma Reddy Battula |
| YARN-8804 |
resourceLimits may be wrongly calculated when leaf-queue is blocked in cluster with 3+ level queues |
Critical |
capacityscheduler |
Tao Yang |
Tao Yang |
| YARN-8774 |
Memory leak when CapacityScheduler allocates from reserved container with non-default label |
Critical |
capacityscheduler |
Tao Yang |
Tao Yang |
| HADOOP-15817 |
Reuse Object Mapper in KMSJSONReader |
Major |
kms |
Jonathan Eagles |
Jonathan Eagles |
| YARN-8844 |
TestNMProxy unit test is failing |
Major |
yarn |
Eric Yang |
Eric Yang |
| HDFS-13957 |
Fix incorrect option used in description of InMemoryAliasMap |
Minor |
documentation |
Yiqun Lin |
Yiqun Lin |
| YARN-7957 |
[UI2] YARN service delete option disappears after stopping application |
Critical |
yarn-ui-v2 |
Yesha Vora |
Akhil PB |
| YARN-8797 |
[UI2] Improve error pages in new YARN UI |
Major |
yarn-ui-v2 |
Akhil PB |
Akhil PB |
| HADOOP-15820 |
ZStandardDecompressor native code sets an integer field as a long |
Blocker |
. |
Jason Lowe |
Jason Lowe |
| HDFS-13964 |
RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under nameservice |
Major |
. |
Ayush Saxena |
Ayush Saxena |
| YARN-7825 |
[UI2] Maintain constant horizontal application info bar for Application Attempt page |
Major |
yarn-ui-v2 |
Yesha Vora |
Akhil PB |
| HDFS-13768 |
Adding replicas to volume map makes DataNode start slowly |
Major |
. |
Yiqun Lin |
Surendra Singh Lilhore |
| HDFS-13962 |
Add null check for add-replica pool to avoid lock acquiring |
Major |
. |
Yiqun Lin |
Surendra Singh Lilhore |
| YARN-8853 |
[UI2] Application Attempts tab is not shown correctly when there are no attempts |
Major |
. |
Charan Hebri |
Akhil PB |
| YARN-8845 |
hadoop.registry.rm.enabled is not used |
Major |
. |
Íñigo Goiri |
Íñigo Goiri |
| HDFS-13926 |
ThreadLocal aggregations for FileSystem.Statistics are incorrect with striped reads |
Major |
erasure-coding |
Xiao Chen |
Hrishikesh Gadre |
| YARN-8666 |
[UI2] Remove application tab from YARN Queue Page |
Major |
yarn-ui-v2 |
Yesha Vora |
Yesha Vora |
| YARN-8753 |
[UI2] Lost nodes representation missing from Nodemanagers Chart |
Major |
yarn-ui-v2 |
Yesha Vora |
Yesha Vora |
| HADOOP-15679 |
ShutdownHookManager shutdown time needs to be configurable & extended |
Major |
util |
Steve Loughran |
Steve Loughran |
| HDFS-13945 |
TestDataNodeVolumeFailure is Flaky |
Major |
. |
Ayush Saxena |
Ayush Saxena |
| HDFS-13802 |
RBF: Remove FSCK from Router Web UI |
Major |
. |
Fei Hui |
Fei Hui |
| YARN-8869 |
YARN Service Client might not work correctly with RM REST API for Kerberos authentication |
Blocker |
. |
Eric Yang |
Eric Yang |
| MAPREDUCE-7132 |
JobSplitWriter prints unnecessary warnings if EC(RS10,4) is used |
Major |
client, mrv2 |
Peter Bacsko |
Peter Bacsko |
| YARN-8892 |
YARN UI2 doc changes to update security status (verified under security environment) |
Blocker |
. |
Sunil Govindan |
Sunil Govindan |
| YARN-8810 |
Yarn Service: discrepancy between hashcode and equals of ConfigFile |
Minor |
. |
Chandni Singh |
Chandni Singh |
| HADOOP-15802 |
start-build-env.sh creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry |
Minor |
build |
Jon Boone |
Jon Boone |
| HADOOP-15861 |
Move DelegationTokenIssuer to the right path |
Blocker |
security |
Wei-Chiu Chuang |
Wei-Chiu Chuang |
| HADOOP-15859 |
ZStandardDecompressor.c mistakes a class for an instance |
Blocker |
. |
Ben Lau |
Jason Lowe |
| HDFS-14000 |
RBF: Documentation should reflect right scripts for v3.0 and above |
Major |
. |
CR Hota |
CR Hota |
| YARN-8868 |
Set HTTPOnly attribute to Cookie |
Major |
. |
Chandni Singh |
Chandni Singh |
| HDFS-14003 |
Fix findbugs warning in trunk for FSImageFormatPBINode |
Major |
. |
Yiqun Lin |
Yiqun Lin |
| HDFS-14005 |
RBF: Web UI update to bootstrap-3.3.7 |
Major |
. |
Íñigo Goiri |
Íñigo Goiri |
| YARN-8910 |
Misleading log statement in NM when max retries is -1 |
Minor |
. |
Chandni Singh |
Chandni Singh |
| HADOOP-15850 |
CopyCommitter#concatFileChunks should check that the blocks per chunk is not 0 |
Critical |
tools/distcp |
Ted Yu |
Ted Yu |
| YARN-7502 |
Nodemanager restart docs should describe nodemanager supervised property |
Major |
documentation |
Jason Lowe |
Suma Shivaprasad |
| HADOOP-15866 |
Renamed HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT keys break compatibility |
Blocker |
. |
Wei-Chiu Chuang |
Wei-Chiu Chuang |
| YARN-8826 |
Fix lingering timeline collector after serviceStop in TimelineCollectorManager |
Trivial |
ATSv2 |
Prabha Manepalli |
Prabha Manepalli |
| HADOOP-15822 |
zstd compressor can fail with a small output buffer |
Major |
. |
Jason Lowe |
Jason Lowe |
| HDFS-14021 |
TestReconstructStripedBlocksWithRackAwareness#testReconstructForNotEnoughRacks fails intermittently |
Major |
erasure-coding, test |
Xiao Chen |
Xiao Chen |
| MAPREDUCE-7151 |
RMContainerAllocator#handleJobPriorityChange expects application_priority always |
Major |
. |
Bibin A Chundatt |
Bilwa S T |
| HADOOP-14445 |
Use DelegationTokenIssuer to create KMS delegation tokens that can authenticate to all KMS instances |
Major |
kms |
Wei-Chiu Chuang |
Xiao Chen |
| HDFS-14028 |
HDFS OIV temporary dir deletes folder |
Major |
hdfs |
Adam Antal |
Adam Antal |
| HDFS-14027 |
DFSStripedOutputStream should implement both hsync methods |
Critical |
erasure-coding |
Xiao Chen |
Xiao Chen |
| YARN-8950 |
Compilation fails with dependency convergence error for hbase.profile=2.0 |
Blocker |
. |
Rohith Sharma K S |
Rohith Sharma K S |
| HADOOP-15899 |
Update AWS Java SDK versions in NOTICE.txt |
Major |
. |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-15900 |
Update JSch versions in LICENSE.txt |
Major |
. |
Akira Ajisaka |
Akira Ajisaka |
| HDFS-14043 |
Tolerate corrupted seen_txid file |
Major |
hdfs, namenode |
Lukas Majercak |
Lukas Majercak |
| YARN-8858 |
CapacityScheduler should respect maximum node resource when per-queue maximum-allocation is being used. |
Major |
. |
Sumana Sathish |
Wangda Tan |
| YARN-8970 |
Improve the debug message in CS#allocateContainerOnSingleNode |
Trivial |
. |
Weiwei Yang |
Zhankun Tang |
| YARN-8865 |
RMStateStore contains large number of expired RMDelegationToken |
Major |
resourcemanager |
Wilfred Spiegelenburg |
Wilfred Spiegelenburg |
| HDFS-14048 |
DFSOutputStream close() throws exception on subsequent call after DataNode restart |
Major |
hdfs-client |
Erik Krogen |
Erik Krogen |
| MAPREDUCE-7156 |
NullPointerException when reaching max shuffle connections |
Major |
mrv2 |
Peter Bacsko |
Peter Bacsko |
| YARN-8866 |
Fix a parsing error for crossdomain.xml |
Major |
build, yarn-ui-v2 |
Takanobu Asanuma |
Takanobu Asanuma |
| HDFS-14039 |
ec -listPolicies doesn’t show correct state for the default policy when the default is not RS(6,3) |
Major |
erasure-coding |
Xiao Chen |
Kitti Nanasi |
| HADOOP-15916 |
Upgrade Maven Surefire plugin to 3.0.0-M1 |
Blocker |
build |
Akira Ajisaka |
Akira Ajisaka |
| YARN-9002 |
YARN Service keytab does not support s3, wasb, gs and is restricted to HDFS and local filesystem only |
Major |
yarn-native-services |
Gour Saha |
Gour Saha |
| YARN-8233 |
NPE in CapacityScheduler#tryCommit when handling allocate/reserve proposal whose allocatedOrReservedContainer is null |
Critical |
capacityscheduler |
Tao Yang |
Tao Yang |
| HDFS-14065 |
Failed Storage Locations shows nothing in the Datanode Volume Failures |
Major |
. |
Ayush Saxena |
Ayush Saxena |
| HADOOP-15923 |
create-release script should set max-cache-ttl as well as default-cache-ttl for gpg-agent |
Blocker |
build |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-15912 |
start-build-env.sh still creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry after HADOOP-15802 |
Major |
build |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-15869 |
BlockDecompressorStream#decompress should not return -1 in case of IOException. |
Major |
. |
Surendra Singh Lilhore |
Surendra Singh Lilhore |
| MAPREDUCE-7158 |
Inefficient Flush Logic in JobHistory EventWriter |
Major |
. |
Zichen Sun |
Zichen Sun |
| HADOOP-15930 |
Exclude MD5 checksum files from release artifact |
Critical |
build |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-15925 |
The config and log of gpg-agent are removed in create-release script |
Major |
build |
Akira Ajisaka |
Dinesh Chitlangia |
| HDFS-13963 |
NN UI is broken with IE11 |
Minor |
namenode, ui |
Daisuke Kobayashi |
Ayush Saxena |
| HDFS-14056 |
Fix error messages in HDFS-12716 |
Minor |
hdfs |
Adam Antal |
Ayush Saxena |
| MAPREDUCE-7162 |
TestEvents#testEvents fails |
Critical |
jobhistoryserver, test |
Zhaohui Xin |
Zhaohui Xin |
| YARN-9056 |
Yarn Service Upgrade: Instance state changes from UPGRADING to READY without performing a readiness check |
Critical |
. |
Chandni Singh |
Chandni Singh |
| YARN-8812 |
Containers fail during creating a symlink which started with hyphen for a resource file |
Minor |
. |
Oleksandr Shevchenko |
Oleksandr Shevchenko |
| YARN-9067 |
YARN Resource Manager is running OOM because of leak of Configuration Object |
Major |
yarn-native-services |
Eric Yang |
Eric Yang |
| MAPREDUCE-7165 |
mapred-site.xml is misformatted in single node setup document |
Major |
documentation |
Akira Ajisaka |
Zhaohui Xin |
| HADOOP-15970 |
Upgrade plexus-utils from 2.0.5 to 3.1.0 |
Major |
security |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-15974 |
Upgrade Curator version to 2.13.0 to fix ZK tests |
Major |
. |
Jason Lowe |
Akira Ajisaka |
| YARN-9071 |
NM and service AM don’t have updated status for reinitialized containers |
Critical |
. |
Billie Rinaldi |
Chandni Singh |
| MAPREDUCE-7159 |
FrameworkUploader: ensure proper permissions of generated framework tar.gz if restrictive umask is used |
Major |
mrv2 |
Peter Bacsko |
Peter Bacsko |
| YARN-9009 |
Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs |
Minor |
. |
OrDTesters |
OrDTesters |
| MAPREDUCE-7170 |
Doc typo in PluggableShuffleAndPluggableSort.md |
Minor |
documentation |
Zhaohui Xin |
Zhaohui Xin |
| YARN-9040 |
LevelDBCacheTimelineStore in ATS 1.5 leaks native memory |
Major |
timelineserver |
Tarun Parimi |
Tarun Parimi |
| YARN-9084 |
Service Upgrade: With default readiness check, the status of upgrade is reported to be successful prematurely |
Major |
. |
Chandni Singh |
Chandni Singh |
| HDFS-13661 |
Ls command with e option fails when the filesystem is not HDFS |
Major |
erasure-coding, tools |
Takanobu Asanuma |
Takanobu Asanuma |
| HADOOP-15973 |
Configuration: Included properties are not cached if resource is a stream |
Critical |
. |
Eric Payne |
Eric Payne |
| YARN-9154 |
Fix itemization in YARN service quickstart document |
Minor |
documentation |
Akira Ajisaka |
Ayush Saxena |
| HDFS-14166 |
Ls with -e option not giving the result in proper format |
Major |
. |
Soumyapn |
Shubham Dewan |
| HDFS-14046 |
In-Maintenance ICON is missing in datanode info page |
Major |
datanode |
Harshakiran Reddy |
Ranith Sardar |
| MAPREDUCE-7174 |
MapReduce example wordmedian should handle generic options |
Major |
. |
Fei Hui |
Fei Hui |
| YARN-9164 |
Shutdown NM may cause NPE when opportunistic container scheduling is enabled |
Critical |
. |
lujie |
lujie |
| HADOOP-15997 |
KMS client uses wrong UGI after HADOOP-14445 |
Blocker |
kms |
Wei-Chiu Chuang |
Wei-Chiu Chuang |
| HADOOP-15992 |
JSON License is included in the transitive dependency of aliyun-sdk-oss 3.0.0 |
Blocker |
. |
Akira Ajisaka |
Akira Ajisaka |
| HADOOP-16030 |
AliyunOSS: bring fixes back from HADOOP-15671 |
Blocker |
fs/oss |
wujinhu |
wujinhu |
| YARN-9173 |
FairShare calculation broken for large values after YARN-8833 |
Major |
fairscheduler |
Wilfred Spiegelenburg |
Wilfred Spiegelenburg |
| YARN-8833 |
Avoid potential integer overflow when computing fair shares |
Major |
fairscheduler |
liyakun |
liyakun |
| YARN-8747 |
[UI2] YARN UI2 page loading failed due to js error under some time zone configuration |
Critical |
webapp |
collinma |
collinma |
| YARN-9194 |
Invalid event: REGISTERED and LAUNCH_FAILED at FAILED, and NullPointerException happens in RM while shutdown a NM |
Critical |
. |
lujie |
lujie |
| YARN-9204 |
RM fails to start if absolute resource is specified for partition capacity in CS queues |
Blocker |
yarn |
Jiandan Yang |
Jiandan Yang |
| YARN-9210 |
RM nodes web page can not display node info |
Blocker |
yarn |
Jiandan Yang |
Jiandan Yang |
| YARN-9205 |
When using custom resource type, application will fail to run due to the CapacityScheduler throws InvalidResourceRequestException(GREATER_THEN_MAX_ALLOCATION) |
Critical |
. |
Zhankun Tang |
Zhankun Tang |
| HADOOP-15781 |
S3A assumed role tests failing due to changed error text in AWS exceptions |
Major |
fs/s3, test |
Steve Loughran |
Steve Loughran |
| HDFS-14228 |
Incorrect getSnapshottableDirListing() javadoc |
Major |
snapshots |
Wei-Chiu Chuang |
Dinesh Chitlangia |


We saw that matrix addition was pretty simple, and subtraction works the same way.
Subtract the first element of one matrix from the first element of the other matrix and repeat for each corresponding element in both.
Steps:
Subtract the first element in both matrices, then the second, thrid, and so on...
Now, let's see how to code this in Javascript:
(If nothing happens, you may have an error)
//The matrices to be added together:
var a = [[8, 3, 6], [6, 9, 5], [8, 0, 7], [5, 4, 2]]; //We'll make a 3x4 array
var b = [[4, 2, 8], [2, 0, 2], [3, 1, 3], [6, 8, 1]];
var diff = [];
for(i = 0; i < a.length; i++)
{
//Make a fresh row to append to the final matrix:
var row = [];
for(j = 0; j < a[i].length; j++)
{
//Add the difference of the two corresponding elements to that row:
row.push(a[i][j] - b[i][j]);
}
//Append the row to the diff matrix:
diff.push(row);
}
//And we're done!-----------
//Let's print it out:
var output = "difference = \n[";
for(i = 0; i < diff.length; i++)
{
for(j = 0; j < diff[i].length; j++)
{
//Append the element to the output text:
output += " " + diff[i][j] + " ";
}
//Append a newline character to the output string,
//but not if it's the last line:
if(i + 1 < diff.length)
{
output += "\n";
}
}
//Add the closing bracket:
output += "]";
//Finally, print it out:
alert(output);


--- title: Statistics for Hackers date: '2015-09-22T04:58:54+05:30' tags: - ml tumblr_url: https://sureshshanmugam.com/post/129600489194/statistics-for-hackers ---
Found an awesome presentation on Stats:
Follow my blog for more - Analytics & Marketing


Looking for Spotify ...
No Spotify tabs were found.
Once you open Spotify your player controls will appear here.


| 010:024 Khan | : |
Verily the likeness of (this) worldly life is as the water (rain) which We send down from the sky, so by it arises the intermingled produce of the earth of which men and cattle eat until when the earth is clad with its adornments and is beautified, and its people think that they have all the powers of disposal over it, Our Command reaches it by night or by day and We make it like a clean-mown harvest, as if it had not flourished yesterday! Thus do We explain the Ayat (proofs, evidences, verses, lessons, signs, revelations, laws, etc.) in detail for the people who reflect. |
| 010:024 Maulana | : |
The likeness of this world's life is only as water which We send down from the clouds, then the herbage of the earth, of which men and cattle eat, grows luxuriantly thereby; until when the earth puts on its golden raiment and it becomes adorned, and its people think that they are masters of it, Our command comes to it, by night or by day, so We render it as reaped seed-produce, as though it had not flourished yesterday. Thus do We make clear the messages for a people who reflect. |
| 010:024 Pickthal | : |
The similitude of the life of the world is only as water which We send down from the sky, then the earth's growth of that which men and cattle eat mingleth with it till, when the earth hath taken on her ornaments and is embellished, and her people deem that they are masters of her, Our commandment cometh by night or by day and We make it as reaped corn as if it had not flourished yesterday. Thus do we expound the revelations for people who reflect. |
| 010:024 Rashad | : |
The analogy of this worldly life is like this: we send down water from the sky to produce with it all kinds of plants from the earth, and to provide food for the people and the animals. Then, just as the earth is perfectly adorned, and its people think that they are in control thereof, our judgment comes by night or by day, leaving it completely barren, as if nothing existed the previous day. We thus explain the revelations for people who reflect. |
| 010:024 Sarwar | : |
The example of the worldly life is like the water sent down from the sky which becomes mixed with the earth's produce that people and cattle consume. When the land becomes fertile and pleasant, people think that they have control over it. At Our command during the night or day, the land becomes as barren as if it had no richness the day before. Thus, do We explain the evidence (of the truth) for the people who reflect. |
| 010:024 Shakir | : |
The likeness of this world's life is only as water which We send down from the cloud, then the herbage of the earth of which men and cattle eat grows luxuriantly thereby, until when the earth puts on its golden raiment and it becomes garnished, and its people think that they have power over it, Our command comes to it, by night or by day, so We render it as reaped seed; produce, as though it had not been in existence yesterday; thus do We make clear the communications for a people who reflect. |
| 010:024 Sherali | : |
The likeness of the present life is only as water which WE sent down from the clouds, then there mingles with it the produce of the earth, of which men and cattle eat till when the earth takes on its ornament and looks beautiful and its owners think that they have full power over it, there comes to it by Our command by night or by day and WE render it like a mown down field, as if nothing existed there the day before. Thus do WE expound the Signs for a people who reflect. |
| 010:024 Yusufali | : |
The likeness of the life of the present is as the rain which We send down from the skies: by its mingling arises the produce of the earth- which provides food for men and animals: (It grows) till the earth is clad with its golden ornaments and is decked out (in beauty): the people to whom it belongs think they have all powers of disposal over it: There reaches it Our command by night or by day, and We make it like a harvest clean-mown, as if it had not flourished only the day before! thus do We explain the Signs in detail for those who reflect. |
Concepts/Themes Covered: الإيمان > اليوم الآخر > تفضيل الآخرة على الدنيا Faith> The Hereafter> Prefering the World to the Hereafter العلوم والفنون > الحقائق العلمية و الإشاة إلى وقائع أيدتهاالإكتشافات العلمية > حركة الأرض Science and Art> The Scientific Facts and the Indication to Facts which have been supported by the Scientific Discoveries>The Earth Movement العلوم والفنون > الحقائق العلمية و الإشاة إلى وقائع أيدتهاالإكتشافات العلمية > النبات Science and Art> The Scientific Facts and the Indication to Facts which have been supported by the Scientific Discoveries>Plants القصص والتاريخ > السير و النظر فى عاقبة الماضيين The Stories and the History> Travelling through the Earth and Considering the End of those who Passed Away
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.


Let's say you want to draw a line or a circle, not a wireframe geometry. First we need to setup Renderer, Scene and camera (see Getting Started).
Here is the code that we will use:
var renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
var camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 1, 500);
camera.position.set(0, 0, 100);
camera.lookAt(new THREE.Vector3(0, 0, 0));
var scene = new THREE.Scene();
Next thing we will do is define a material. For lines we have to use LineBasicMaterial
.
var material = new THREE.LineBasicMaterial({
color: 0x0000ff
});
After material we will need a Geometry
with some vertices:
var geometry = new THREE.Geometry();
geometry.vertices.push(new THREE.Vector3(-10, 0, 0));
geometry.vertices.push(new THREE.Vector3(0, 10, 0));
geometry.vertices.push(new THREE.Vector3(10, 0, 0));
Note that lines are drawn between each consecutive pair of vertices, but not between the first and last (the line is not closed.)
Now that we have points for two lines and a material, we can put them together to form a line.
var line = new THREE.Line(geometry, material);
All that's left is to add it to the scene and call render
.
scene.add(line);
renderer.render(scene, camera);
You should now be seeing a arrow pointing upwards, made from two blue lines.


Tue Dec 2, 2003
Well, today was my dreaded open class, without a doubt the most nerve-racking thing we’ve ever had to do at the school. I must say though, if they’d sprung it on me a few months back I would have crumpled under the pressure but these days I’m a real trooper. This time there was a full compliment of mothers eager to see their well-trained darlings perform for them. There were no major transgressions of our rules, nobody spoke Korean, nobody tried to steal my flashcards or use me as a human punching bag or set anything on fire. So, by my desperate standards they were positively angelic. I was more worried that the mothers would see that I wasn’t exactly a crackerjack teacher. I fully acknowledge that I’m not the world’s greatest kindergarten teacher, but I have learnt a few tricks of the trade. Anyways, the feedback I got was that the mothers were ‘satisfied with my teaching’, so I guess I did ok.
Actually, the Kitten class have gotten a lot better, with a little patience and persistence even the nastiest little junior warmonger can be trained to become a respectable member of kindergarten society. In the beginning I didn’t think I’d be able to teach these kids anything. When they were raw recruits nine months ago, they couldn’t even pronounce their English names. Now we’re starting to communicate with each other and have conversations, and they can express their needs to me in English. Before when they were yelling and crying at me in Korean I felt quite helpless. Yes, it’s really gratifying and I feel a real sense of accomplishment in that respect.
On a side note, the ajummas working in the produce section at my local supermarket have started giving me major discounts on my fruit for some reason. I guess it’s because I’m such a loyal customer, what fantastic service! They’d never do that at Safeway.


The Skills
Menu
This tutorial is also in the game
How to use the Menu
The First thing highlighted is your characters name, you are in character mode.
To cycle through all of your characters, use the left and right arrow keys. To
spend AP on skills for that character press enter and to leave the menu press
Escape. After Pressing Enter you are given a choice between Class skills and
Support Skills. Up and Down cycle between the Class and Support Skill, Press
Enter to Learn an Ability, Press Escape to go back to character mode. Pressing
Left or Right will provide you with a description of what you have highlighted.
Now you may select the Ability you wish to learn, use the up and down arrows to
cycle through the skills listed, left and right will provide a description of
the skill. If you have the required level and amount of AP to learn a skill
pressing Enter will allow you to spend AP on a skill. As always, Escape will
return you to the previous menu.
About AP
AP is gained after winning a Battle. In the upper right corner your current AP
and Total AP Values are displayed. When you choose to learn a skill your
current AP will go down but the total will always remain the same. Next to each
skill is a number, this is the amount of AP that skill costs. If this number is
flashing you may learn it, but some skills also require you to be a certain
level.
Different Skills
The 2 kinds of skills are Class and Support. Different Classes have a variety
of skills, some can be used in the field or in battle, while others give
special bonuses that are given to you as soon as you learn the skill. Support
Abilities give permanent bonuses to your basic Statistics, they can be trained
3 times each.
Back


2010 Ramadan Quran Contest
An-Noor Quran Academy is proud to announce the Ramadan Quran contest. The contest is encouraging all Muslims to learn and memorize Quran using proper rules of tajweed.
Registration is closed.
Rules
- A contestant can register in only one level
- Registration form can be filled online or dropped at the registration table in the lobby at IAR. The registration deadline is October 3rd 2010.
- The registration fee is $15.00 (nonrefundable) per contestant. The registration fee should be paid on the day of contest.
- Age is calculated from date of birth until October 9, 2010.
- For levels C to J, Boys and Girls will be judged separately.
- Incorrect information on Date of Birth may disqualify the contestant.
- Younger contestants can compete in higher level according to their abilities.
- During testing, contestant may be asked to recite any part(s) of the Surahs that he/she memorized including the bonus
- Grade of the bonus Surah would be considered to break a tie.
Levels
| Level | Age | Surahs | Bonus Surah | 1st Place | 2nd Place | 3rd Place |
| A | 6 and under | Naas to Al Bayyinah | Al Qadr | $75 | $50 | $25 |
| B | 8 and under | Naas to Al Mutafifeen | Al Infitaar | $75 | $50 | $25 |
| C | 10 and under | Naas to An Naba | Al Mursalat | $75 | $50 | $25 |
| D | 12 and under | Naas to Al Haqqah | Al Qalam | $75 | $50 | $25 |
| E | 13 and under | Naas to Al Mulk | Al Tahreem | $75 | $50 | $25 |
| F | 14 and under | Naas to Al Mujadillah | Al Hadeed | $125 | $75 | $50 |
| Advanced Level | ||||||
| G | 8 and under | Al Mulk | Tahreem | $75 | $50 | $25 |
| H | 10 and under | Yaseen | Ar Rahman | $75 | $50 | $25 |
| I | 14 and under | Al Isra'a | Al Furqan | $100 | $75 | $50 |
| J | Over 14 | Al A'raf | Al Anfaal | $125 | $100 | $70 |
Important Dates
- Application Deadline: September 26 2010
- Contest Dates: October 9, October 16 and October 23
- Award Ceremony: November 19 2010
Notes
- Contest date for specific levels will be decided after the registration dead line.
- Contest schedule will be posted on the IAR website and an email notification will be sent to all the applicants.
- During testing, contestant may be asked to recite any part(s) of the main Surah's and bonus Surah that he/she memorized.
- Performance is based on Memorization, Tarteel (rules of Tajweed) and Pronunciation.
Contact
For more information or questions, please contact Br Abdul Lateef<EMAIL_ADDRESS>(919-605-5838) or Br Faisal Azhar<EMAIL_ADDRESS>(919-522-9933)


Objective
In this challenge, we practice calculating probability.

Output Format
In the editor below, submit your answer as Plain Text in the form of an irreducible fraction $A/B$, where $A$ and $B$ are both integers.
Your answer should resemble something like:
3/4
(This is NOT the answer, just a demonstration of the answer format.)


|
libft
|
#include <string.h>
Go to the source code of this file.
Functions | |
| int | ft_abs (int a) |
| Returns the absolute value of the argument. More... | |
| int | ft_atoi (const char *str) |
Replicates behaviour of atoi from libc . More... | |
| void | ft_bzero (void *s, size_t n) |
Replicates behaviour of bzero from libc . More... | |
| void * | ft_calloc (size_t count, size_t size) |
Replicates behaviour of calloc from libc . More... | |
| int | ft_isalnum (int c) |
Replicates behaviour of isalnum from libc . More... | |
| int | ft_isalpha (int c) |
Replicates behaviour of isalpha from libc . More... | |
| int | ft_isascii (int c) |
Replicates behaviour of isascii from libc . More... | |
| int | ft_isdigit (int c) |
Replicates behaviour of isdigit from libc . More... | |
| int | ft_isprint (int c) |
Replicates behaviour of isprint from libc . More... | |
| int | ft_isspace (int c) |
Replicates behaviour of isspace from libc . More... | |
| char * | ft_itoa (int n) |
Replicates behaviour of itoa from libc More... | |
| int | ft_max (int a, int b) |
| Returns the maximum of two integer arguments. More... | |
| void * | ft_memalloc (size_t size) |
| Allocates memory of a given size and initializes it to 0. More... | |
| void * | ft_memccpy (void *dst, const void *src, int c, size_t n) |
Replicates behaviour of memcpy from libc . More... | |
| void * | ft_memchr (const void *s, int c, size_t n) |
Replicates behaviour of memchr from libc . More... | |
| int | ft_memcmp (const void *s1, const void *s2, size_t n) |
Replicates behaviour of memcmp from libc . More... | |
| void * | ft_memcpy (void *dst, const void *src, size_t n) |
Replicates behaviour of memcpy from libc . More... | |
| void | ft_memdel (void **ap) |
Frees memory where a pointer points to and sets the pointer to NULL . More... | |
| void * | ft_memmove (void *dst, const void *src, size_t n) |
Replicates behaviour of memmove from libc . More... | |
| void * | ft_memset (void *b, int c, size_t len) |
Replicates behaviour of memset from libc . More... | |
| int | ft_min (int a, int b) |
| Returns the minimum of two integer arguments. More... | |
| int | ft_power (int num, unsigned int exponent) |
| Raises a number to a given power. More... | |
| void | ft_putchar (char c) |
| Writes a character to the standard output. More... | |
| void | ft_putchar_fd (char c, int fd) |
| Writes a character to a file descriptor. More... | |
| void | ft_putendl (char const *s) |
| Writes a string to the standard output followed by a newline. More... | |
| void | ft_putendl_fd (char const *s, int fd) |
| Writes a string to a file descriptor followed by a newline. More... | |
| void | ft_putnbr (int n) |
| Writes an integer to the standard output. More... | |
| void | ft_putnbr_fd (int n, int fd) |
| Writes an integer to a file descriptor. More... | |
| void | ft_putnstr (char *s, size_t n) |
| Writes the first n characters of a to the standard output. More... | |
| void | ft_putnstr_fd (char *s, size_t n, int fd) |
| Writes the first n characters of a string to a file descriptor. More... | |
| int | ft_puts (char const *s) |
Replicates behaviour of puts from libc . More... | |
| void | ft_putstr (char const *s) |
| Writes a string to the standard output. More... | |
| void | ft_putstr_fd (char const *s, int fd) |
| Writes a string to a file descriptor. More... | |
| int | ft_sqrt (int num) |
| Computes an integer square root of a given number, if it exists. More... | |
| char * | ft_strcapitalize (const char *str) |
| Capitalizes all words in a string. More... | |
| char * | ft_strcat (char *s1, const char *s2) |
Replicates behaviour of strcat from libc . More... | |
| int | ft_strcchr (char const *str, char c) |
| Counts the number of occurrences of a character in a string. More... | |
| char * | ft_strchr (const char *s, int c) |
Replicates behaviour of strchr from libc . More... | |
| void | ft_strclr (char *s) |
| Sets each character of a string to 0. More... | |
| int | ft_strcmp (const char *s1, const char *s2) |
Replicates strcmp from libc . More... | |
| char * | ft_strcpy (char *dst, const char *src) |
Replicates behaviour of strcpy from libc . More... | |
| void | ft_strdel (char **as) |
Frees a string and sets its pointer to NULL More... | |
| char * | ft_strdup (const char *s1) |
Replicates behaviour of strdup from libc . More... | |
| int | ft_strequ (const char *s1, const char *s2) |
| Checks that two strings are identical. More... | |
| int | ft_strintab (const char *str, char *const tab[]) |
| Checks if a string is in a tab. More... | |
| void | ft_striter (char *s, void(*f)(char *)) |
| Applies a function to characters of a string. More... | |
| void | ft_striteri (char *s, void(*f)(unsigned int, char *)) |
| Applies a function to characters of a string and their indices. More... | |
| char * | ft_strjoin (const char *s1, const char *s2) |
| Joins two strings. More... | |
| char | ft_strlast (char const *str) |
Returns the last characters (other than NULL -termination) of a string. More... | |
| size_t | ft_strlcat (char *dst, const char *src, size_t dstsize) |
Replicates behaviour of strlcat from libc . More... | |
| size_t | ft_strlcpy (char *dst, const char *src, size_t maxlen) |
Replicates behaviour of strlcpy from libc . More... | |
| size_t | ft_strlen (const char *s) |
Replicates behaviour of strlen from libc . More... | |
| char * | ft_strmap (char const *s, char(*f)(char)) |
| Maps a function to characters of a string. More... | |
| char * | ft_strmapi (char const *s, char(*f)(unsigned int, char)) |
Maps a function to characters of a string and their indices Applies the function f to each character of the string passed as argument by giving its index as first argument to create a “fresh” new string (with malloc ) resulting from the successive applications of f . More... | |
| char * | ft_strncat (char *s1, const char *s2, size_t n) |
Replicates behaviour of strncat from libc . More... | |
| int | ft_strncmp (const char *s1, const char *s2, size_t n) |
Replicates behaviour of strncmp from libc . More... | |
| char * | ft_strncpy (char *dst, const char *src, size_t len) |
Replicates behaviour of strncpy from libc . More... | |
| char * | ft_strndup (const char *s1, size_t len) |
Makes a new string and copies up to len characters to it. More... | |
| int | ft_strnequ (char const *s1, char const *s2, size_t n) |
| Checks that two strings are unequal. More... | |
| char * | ft_strnew (size_t size) |
| Allocates a fresh string. More... | |
| char * | ft_strnstr (const char *haystack, const char *needle, size_t len) |
Replicates behaviour of strnstr from libc . More... | |
| char * | ft_strrchr (const char *s, int c) |
Replicates behaviour of strrchr from libc . More... | |
| char * | ft_strrev (const char *s) |
| Reverses a string. More... | |
| char ** | ft_strsplit (char const *str, char delim) |
| Splits a string on whitespace characters. More... | |
| char * | ft_strstr (const char *haystack, const char *needle) |
Replicates behaviour of strstr from libc . More... | |
| char * | ft_strsub (char const *s, unsigned int start, size_t len) |
| Copies a substring from a string. More... | |
| char * | ft_strtrim (char const *s) |
| Trims whitespace from the start and end of a string. More... | |
| int | ft_tolower (int c) |
Replicates behaviour of tolower from libc . More... | |
| int | ft_toupper (int c) |
Replicates behaviour of toupper from libc . More... | |
| int ft_abs | ( | int | a | ) |
| int ft_atoi | ( | const char * | str | ) |
| void ft_bzero | ( | void * | s, |
| size_t | n | ||
| ) |
Replicates behaviour of bzero
from libc
.
Definition at line 20 of file ft_bzero.c.
| void* ft_calloc | ( | size_t | count, |
| size_t | size | ||
| ) |
Replicates behaviour of calloc
from libc
.
Definition at line 21 of file ft_calloc.c.
| int ft_isalnum | ( | int | c | ) |
Replicates behaviour of isalnum
from libc
.
Definition at line 20 of file ft_isalnum.c.
| int ft_isalpha | ( | int | c | ) |
Replicates behaviour of isalpha
from libc
.
Definition at line 20 of file ft_isalpha.c.
| int ft_isascii | ( | int | c | ) |
Replicates behaviour of isascii
from libc
.
Definition at line 20 of file ft_isascii.c.
| int ft_isdigit | ( | int | c | ) |
Replicates behaviour of isdigit
from libc
.
Definition at line 20 of file ft_isdigit.c.
| int ft_isprint | ( | int | c | ) |
Replicates behaviour of isprint
from libc
.
Definition at line 20 of file ft_isprint.c.
| int ft_isspace | ( | int | c | ) |
Replicates behaviour of isspace
from libc
.
Definition at line 20 of file ft_isspace.c.
| char* ft_itoa | ( | int | n | ) |
| int ft_max | ( | int | a, |
| int | b | ||
| ) |
Returns the maximum of two integer arguments.
| [in] | a | The first integer to compare. |
| [in] | b | The second integer to compare. |
| void* ft_memalloc | ( | size_t | size | ) |
Allocates memory of a given size and initializes it to 0.
| size | The size of the memory that needs to be allocated. |
NULL
if allocation fails. Definition at line 24 of file ft_memalloc.c.
| void* ft_memccpy | ( | void * | dst, |
| const void * | src, | ||
| int | c, | ||
| size_t | n | ||
| ) |
Replicates behaviour of memcpy
from libc
.
Definition at line 20 of file ft_memccpy.c.
| void* ft_memchr | ( | const void * | s, |
| int | c, | ||
| size_t | n | ||
| ) |
Replicates behaviour of memchr
from libc
.
Definition at line 20 of file ft_memchr.c.
| int ft_memcmp | ( | const void * | s1, |
| const void * | s2, | ||
| size_t | n | ||
| ) |
Replicates behaviour of memcmp
from libc
.
Definition at line 20 of file ft_memcmp.c.
| void* ft_memcpy | ( | void * | dst, |
| const void * | src, | ||
| size_t | n | ||
| ) |
Replicates behaviour of memcpy
from libc
.
Definition at line 20 of file ft_memcpy.c.
| void ft_memdel | ( | void ** | ap | ) |
Frees memory where a pointer points to and sets the pointer to NULL
.
| ap | The pointer |
Definition at line 22 of file ft_memdel.c.
| void* ft_memmove | ( | void * | dst, |
| const void * | src, | ||
| size_t | n | ||
| ) |
Replicates behaviour of memmove
from libc
.
Definition at line 20 of file ft_memmove.c.
| void* ft_memset | ( | void * | b, |
| int | c, | ||
| size_t | len | ||
| ) |
Replicates behaviour of memset
from libc
.
Definition at line 20 of file ft_memset.c.
| int ft_min | ( | int | a, |
| int | b | ||
| ) |
Returns the minimum of two integer arguments.
| [in] | a | The first integer to compare. |
| [in] | b | The second integer to compare. |
| int ft_power | ( | int | num, |
| unsigned int | exponent | ||
| ) |
Raises a number to a given power.
| num | The base. |
| exponent | The exponent. |
0
if integer overflow occurred. Definition at line 24 of file ft_power.c.
| void ft_putchar | ( | char | c | ) |
Writes a character to the standard output.
| c | The character to output. |
Definition at line 22 of file ft_putchar.c.
| void ft_putchar_fd | ( | char | c, |
| int | fd | ||
| ) |
Writes a character to a file descriptor.
| c | The character to output. |
| fd | The file descriptor. |
Definition at line 23 of file ft_putchar_fd.c.
| void ft_putendl | ( | char const * | s | ) |
Writes a string to the standard output followed by a newline.
| s | The string to output. |
Definition at line 21 of file ft_putendl.c.
| void ft_putendl_fd | ( | char const * | s, |
| int | fd | ||
| ) |
Writes a string to a file descriptor followed by a newline.
| s | The string to output. |
| fd | The file descriptor. |
Definition at line 22 of file ft_putendl_fd.c.
| void ft_putnbr | ( | int | n | ) |
Writes an integer to the standard output.
| n | The integer to output. |
Definition at line 21 of file ft_putnbr.c.
| void ft_putnbr_fd | ( | int | n, |
| int | fd | ||
| ) |
Writes an integer to a file descriptor.
| n | The integer to print. |
| fd | The file descriptor. |
Definition at line 23 of file ft_putnbr_fd.c.
| void ft_putnstr | ( | char * | s, |
| size_t | n | ||
| ) |
Writes the first n characters of a to the standard output.
| s | The string, the characters of which to output. |
| n | The number of characters to output. |
s
contains less than n
characters, behaviour is undefined. Definition at line 24 of file ft_putnstr.c.
| void ft_putnstr_fd | ( | char * | s, |
| size_t | n, | ||
| int | fd | ||
| ) |
Writes the first n characters of a string to a file descriptor.
| s | The string, the characters of which to output. |
| n | The number of characters to output. |
| fd | The file descriptor. |
s
contains less than n
characters, behaviour is undefined. Definition at line 25 of file ft_putnstr_fd.c.
| int ft_puts | ( | char const * | s | ) |
| void ft_putstr | ( | char const * | s | ) |
Writes a string to the standard output.
| s | The string to output. |
Definition at line 22 of file ft_putstr.c.
| void ft_putstr_fd | ( | char const * | s, |
| int | fd | ||
| ) |
Writes a string to a file descriptor.
| s | The string to output. |
| fd | The file descriptor. |
Definition at line 23 of file ft_putstr_fd.c.
| int ft_sqrt | ( | int | num | ) |
| char* ft_strcapitalize | ( | const char * | s1 | ) |
Capitalizes all words in a string.
Capitalizes all words (defined as stretches of alpha-numeric characters) in a NULL
-terminated string and writes them to a newly allocated string.
ft_strcapitalize("My word IS 42about%8THEM")
returns "My Word Is 42about%8them")
| s1 | The string to capitalize. |
str
in which all words have been capitalized, or NULL
if allocation fails. Definition at line 51 of file ft_strcapitalize.c.
| char* ft_strcat | ( | char * | s1, |
| const char * | s2 | ||
| ) |
Replicates behaviour of strcat
from libc
.
Definition at line 20 of file ft_strcat.c.
| int ft_strcchr | ( | char const * | str, |
| char | c | ||
| ) |
Counts the number of occurrences of a character in a string.
| str | The string in which to search. |
| c | The character for which to search. |
Definition at line 23 of file ft_strcchr.c.
| char* ft_strchr | ( | const char * | s, |
| int | c | ||
| ) |
Replicates behaviour of strchr
from libc
.
Definition at line 20 of file ft_strchr.c.
| void ft_strclr | ( | char * | s | ) |
Sets each character of a string to 0.
| s | The string that needs to be cleared. |
Definition at line 21 of file ft_strclr.c.
| int ft_strcmp | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Replicates strcmp
from libc
.
Definition at line 20 of file ft_strcmp.c.
| char* ft_strcpy | ( | char * | dst, |
| const char * | src | ||
| ) |
Replicates behaviour of strcpy
from libc
.
Definition at line 20 of file ft_strcpy.c.
| void ft_strdel | ( | char ** | as | ) |
Frees a string and sets its pointer to NULL
Takes as a parameter the address of a string that need to be freed with free
, then sets its pointer to NULL
.
| as | The string’s address that needs to be freed and its pointer set to NULL . |
Definition at line 24 of file ft_strdel.c.
| char* ft_strdup | ( | const char * | s1 | ) |
Replicates behaviour of strdup
from libc
.
Definition at line 20 of file ft_strdup.c.
| int ft_strequ | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Checks that two strings are identical.
Performs lexicographical comparison between s1
and s2
.
| s1 | The first string to be compared. |
| s2 | The second string to be compared. |
1
if the strings are identical or 0
otherwise. Definition at line 24 of file ft_strequ.c.
| int ft_strintab | ( | const char * | str, |
| char *const | tab[] | ||
| ) |
Checks if a string is in a tab.
Performs lexicographical comparison between a given string and strings contained in a NULL
-terminated tab.
| str | The string to search for. |
| tab | The NULL -terminated tab to search in. |
1
if the tab contains the string or 0
otherwise. Definition at line 26 of file ft_strintab.c.
| void ft_striter | ( | char * | s, |
| void(*)(char *) | f | ||
| ) |
Applies a function to characters of a string.
Applies the function f
to each character of the string passed as argument. Each character is passed by address to f
to be modified if necessary.
| s | The string to iterate. |
| f | The function to apply to each character of s . |
Definition at line 25 of file ft_striter.c.
| void ft_striteri | ( | char * | s, |
| void(*)(unsigned int, char *) | f | ||
| ) |
Applies a function to characters of a string and their indices.
Applies the function f
to each character of the string passed as argument, and passing its index as first argument. Each character is passed by address to f
to be modified if necessary.
| s | The string to iterate. |
| f | The function to apply to each character of s and its index. |
Definition at line 25 of file ft_striteri.c.
| char* ft_strjoin | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Joins two strings.
Allocates (with malloc
) and returns a “fresh” string ending with '\0'
, result of the concatenation of s1
and s2
. If the allocation fails the function returns NULL
.
| s1 | The prefix string. |
| s2 | The suffix string. |
Definition at line 26 of file ft_strjoin.c.
| char ft_strlast | ( | char const * | str | ) |
Returns the last characters (other than NULL
-termination) of a string.
| str | The string. |
0
if it is empty. Definition at line 22 of file ft_strlast.c.
| size_t ft_strlcat | ( | char * | dst, |
| const char * | src, | ||
| size_t | dstsize | ||
| ) |
Replicates behaviour of strlcat
from libc
.
Definition at line 20 of file ft_strlcat.c.
| size_t ft_strlcpy | ( | char * | dst, |
| const char * | src, | ||
| size_t | maxlen | ||
| ) |
Replicates behaviour of strlcpy
from libc
.
Definition at line 20 of file ft_strlcpy.c.
| size_t ft_strlen | ( | const char * | s | ) |
Replicates behaviour of strlen
from libc
.
Definition at line 20 of file ft_strlen.c.
| char* ft_strmap | ( | char const * | s, |
| char(*)(char) | f | ||
| ) |
Maps a function to characters of a string.
Applies the function f
to each character of the string given as argument to create a “fresh” new string (with malloc
) resulting from the successive applications of f
.
| s | The string to map. |
| f | The function to apply to each character of s . |
f
, or NULL
if allocation fails. Definition at line 27 of file ft_strmap.c.
| char* ft_strmapi | ( | char const * | s, |
| char(*)(unsigned int, char) | f | ||
| ) |
Maps a function to characters of a string and their indices Applies the function f
to each character of the string passed as argument by giving its index as first argument to create a “fresh” new string (with malloc
) resulting from the successive applications of f
.
| s | The string to map. |
| f | The function to apply to each character and its index of s . |
NULL
if allocation fails. Definition at line 28 of file ft_strmapi.c.
| char* ft_strncat | ( | char * | s1, |
| const char * | s2, | ||
| size_t | n | ||
| ) |
Replicates behaviour of strncat
from libc
.
Definition at line 20 of file ft_strncat.c.
| int ft_strncmp | ( | const char * | s1, |
| const char * | s2, | ||
| size_t | n | ||
| ) |
Replicates behaviour of strncmp
from libc
.
Definition at line 20 of file ft_strncmp.c.
| char* ft_strncpy | ( | char * | dst, |
| const char * | src, | ||
| size_t | len | ||
| ) |
Replicates behaviour of strncpy
from libc
.
Definition at line 20 of file ft_strncpy.c.
| char* ft_strndup | ( | const char * | s1, |
| size_t | len | ||
| ) |
Makes a new string and copies up to len
characters to it.
Allocate sufficient memory for a string of len
characters, do the copy of len
characters, NULL
terminate the string, and return a pointer to it. The pointer may subsequently be used as an argument to the function free
.
| s1 | String to be copied from. |
| len | Number of characters to copy. |
len
with copied characters or NULL
if allocation failed. s1
contains less than len
characters, behaviour is undefined. Definition at line 30 of file ft_strndup.c.
| int ft_strnequ | ( | char const * | s1, |
| char const * | s2, | ||
| size_t | n | ||
| ) |
Checks that two strings are unequal.
Lexicographical comparison between s1
and s2
up ton
characters or until a '\0'
is reached.
| s1 | The first string to be compared. |
| s2 | The second string to be compared. |
| n | The maximum number of characters to be compared. |
1
or 0
according to if the 2 strings are identical or not. Definition at line 26 of file ft_strnequ.c.
| char* ft_strnew | ( | size_t | size | ) |
Allocates a fresh string.
Allocates (with malloc
) and returns a “fresh” string ending with '\0'
. Each character of the string is initialized at '\0'
.
| size | The size of the string to be allocated. |
0
or NULL
if allocation failed. Definition at line 25 of file ft_strnew.c.
| char* ft_strnstr | ( | const char * | haystack, |
| const char * | needle, | ||
| size_t | len | ||
| ) |
Replicates behaviour of strnstr
from libc
.
Definition at line 20 of file ft_strnstr.c.
| char* ft_strrchr | ( | const char * | s, |
| int | c | ||
| ) |
Replicates behaviour of strrchr
from libc
.
Definition at line 20 of file ft_strrchr.c.
| char* ft_strrev | ( | const char * | s | ) |
Reverses a string.
Allocates (with malloc
) and returns a “reversed” NULL
-terminated string.
ft_strrev("0123456789")
returns "9876543210"
| s | String to be reversed. |
NULL
if allocation failed. Definition at line 26 of file ft_strrev.c.
| char** ft_strsplit | ( | char const * | s, |
| char | delim | ||
| ) |
Splits a string on whitespace characters.
Allocates (with malloc
) and returns an array of “fresh” strings (all ending with '\0'
, including the array itself) obtained by splitting s
using the character c
as a delimiter.
ft_strsplit("*hello*fellow***students*", ’*’)
returns the array ["hello", "fellow", "students"]
. | s | The string to split. |
| delim | The delimiter character. |
NULL
if any of the allocations failed. Definition at line 70 of file ft_strsplit.c.
| char* ft_strstr | ( | const char * | haystack, |
| const char * | needle | ||
| ) |
Replicates behaviour of strstr
from libc
.
Definition at line 20 of file ft_strstr.c.
| char* ft_strsub | ( | char const * | s, |
| unsigned int | start, | ||
| size_t | len | ||
| ) |
Copies a substring from a string.
Allocates (with malloc
) and returns a “fresh” substring from the string given as argument. The substring begins at index start
and is of size len
. If start
and len
aren’t refering to a valid substring, the behavior is undefined.
| s | The string from which create the substring. |
| start | The start index of the substring. |
| len | The size of the substring. |
NULL
if allocation failed. Definition at line 28 of file ft_strsub.c.
| char* ft_strtrim | ( | char const * | s | ) |
Trims whitespace from the start and end of a string.
Allocates (with malloc
) and returns a copy of the string given as argument without whitespaces at the beginning or at the end of the string. Will be considered as whitespaces the following characters ' '
, '\n'
and '\t'
. If s
has no whitespaces at the beginning or at the end, the function returns a copy of s
.
| s | The string to be trimmed. |
s
or NULL
if allocation failed. Definition at line 34 of file ft_strtrim.c.
| int ft_tolower | ( | int | c | ) |
Replicates behaviour of tolower
from libc
.
Definition at line 20 of file ft_tolower.c.
| int ft_toupper | ( | int | c | ) |
Replicates behaviour of toupper
from libc
.
Definition at line 20 of file ft_toupper.c.


Library: Zip
Package: Zip
Header: Poco/Zip/ParseCallback.h
Description
Interface for callbacks to handle ZipData
Inheritance
Known Derived Classes: SkipCallback, Decompress
Member Summary
Member Functions: handleZipEntry
Constructors
ParseCallback
Creates the ParseCallback.
Destructor
~ParseCallback
virtual ~ParseCallback();
Destroys the ParseCallback.
Member Functions
handleZipEntry
virtual bool handleZipEntry(
std::istream & zipStream,
const ZipLocalFileHeader & hdr
) = 0;
Handles parsing of the data of a single Zip Entry. zipStream is guaranteed to be at the very first data byte. Note that a callback class SHOULD consume all data inside a zip file, ie. after processing the next 4 bytes point the next ZipLocalFileHeader or the ZipDirectory. If it fails to do so, it must return false, otherwise true.


Dedicated, Responsible and Hard-Working Computer Science Engineer.
Enthusiastic, passionate and committed undergrad seeking to work for an organization where I can utilize my skills and hard work for their betterment and growth and provide excellent services.
Computer 2020
Rank 144
Secondary School
7th Grade


--- layout: page title: Publications --- {% assign prev_year = 1000 %} {% assign pubs = site.data.pubs | sort: "date" | reverse %}


Created: 10/8/2014
By: gminds
Email<EMAIL_ADDRESS>Download the Bitcoin/Perfect Money script from github downloads page and save it to your desktop.
Unzip the downloaded script file. You can use a zip program or you can just click twice on the folder icon to show the contents inside. You should see a folder called BitcoinPerfectMoney
.You need the following items when installing this script.
Login to your Perfect Money account and copy your USD account it begins with "U" for example U7994859
Copy your Perfect money Alternate phrase hash from your account settings
Create Mysql database, username and password on your hosting account. Note the database name, username and password
Open Phpmyadmin, Click on SQL to open the query window and run the queries inside the Sql folder BitcoinPerfectMoney
Inside the Bitcoin2pm folder, copy the sql queries inside the order file. Order file is inside the Sql folder, paste its content to the query window inside phpmyadmin and run
Edit the index.php file inside Files folder and change the configure the options from line 1 - 30 .
Here's a brief information about how to configure this Admin.
You can access at admin backend from http://BASE_URL/admin
BASE_URL could be www.domain.com (if you put this script in a main domain), sub.domain.com (if you put this script in a subdomain) or www.domain.com/folder (if you put this script in a subfolder of the main domain).
Original access credentials are:
Username: demoDownload and install the FileZilla Client - http://filezilla-project.org/
Note: you may be asked if you want to overwrite files and/or folder. Tick the option to "Always use this action" and click on "Ok". .
I've used the following files as listed.
Note
This PM/bitcoin exchange script is semi-automated and you have to manually process orders.
Get Fully automated Premium version of Perfectmoney/bitcoin exchange script at
www.easy2exchage.com
Gminds


Computer Science is for programming enthusiasts, and those who wish to get down with the wires! Computer science is the only STEM pathway to offer an AP course, being AP Computer Science, which students can take this as juniors or seniors. In this pathway, students will become acquainted with programs such as Processing, HTML, CSS XML/XSL, Java, Arduino, MultiSim, and more! On top of this, students can receive UW credit for participating in either Computer Science Principles, or AP Computer Science. Students work individually for most coding projects in this pathway, however, student collaboration is encouraged for certain projects. Students are mostly graded on projects rather than tests and quizzes, and all assignments are graded on a 20 point scale.


Thai Q. Le
menu
Top
Research
Project
Blog
Contact
Top
Research
Project
Blog
Contact
Let's talk
Research purpose:
le.thai.jp[at]ieee.org
Call me on Skype at
itmth19
I would love to talk about anything that relates to Computer Science, IT, Start-up, Life Talks.
mode_edit
insert_chart
format_quote
publish
attach_file


Dogs vs Cats
This is the most hardest concerns in the world.
Starts with the dogs !
Actually I have a little bit mroe interest than cats because I am living with a dog that sleeping now..!
Look how cute are them ! They normally acts so gentle and obedient to their family. For cats, the house would be fill with cat's hair but dods are not much as them. Enjoy walking together and travel together make people have precious memories!
However Cats are so charming !
Their eyes are so different for each cat, and it is so beautiful. Sometimes they are acting so unique like sitting inside a box, plastic bags. It makes their family laugh and give happiness.
Most of them, they do not need to walk around but likes to see outside on the higest area in the house. Both cats and dogs are required to have lots of responsibility but for that side, cats are more easy to grow sometimes I guess.
Oct 29 2020
by myself.


Programming Time (hours)
Checking Time (hours)
Automation Time (hours)
All workersProgrammer #1Programmer #2Programmer #3Programmer #4Programmer #5Tester #1
Meetings
Context Switching
Productive Ticket Work
Redundant Ticket Work
Checking Tickets
Code Review
Regression Testing
Nothing
Automation
Tickets in Stasis


markymarc
Junior Member
Registered: Dec 2002
Location: T.O.
Posts: 15 |
GUMMY BEARS!!!
****GUMMY BEARS!!!!*****
I *LOVE* the alternative opening...Gummy Bears. Oh Man, I haven't heard that theme song since I was a kid. HAHAHAHA!!
That made my day. The funny part is that it kind of actually fits the images their showing on screen. Like when the song plays the gummy bears bounceing noise, and you see a bunch of cute little Asgard walking...too funny!!
Also the scream ***AHHHHH!!*** when Parker Lewis comes on...classic. I can't remember if that was part of the Gummy theme song, I think it was, but to time it exactly when Parker Lewis comes on....haha.
Last edited by markymarc on 12-12-2002 at 03:18 PM
Report this post to a moderator | ? + *
|


About this Library
- Based on the 2008-09-17 API version.
- Version 2.0
- Release Date : 2009-11-03
Before you begin
Extract the contents of amazon-fps-2008-09-17-php5-library.zip to a
folder. The folder "amazon-fps-2008-09-17-php5-library" will be created. This folder will be referred to as <ROOT> from this point onwards.
This folder should contain the following sub-directories:
- src — This folder contains the code files for the library and
sample API calls to Amazon FPS.
Prerequisites
Configuration
- Update the keys required to make the API call. This is one time activity and should be same for all APIs
- Goto <ROOT>/src/Amazon/FPS/Samples directory
- Open the .config.inc.php file
- Change the following two lines and save the file
- define('AWS_ACCESS_KEY_ID', '<Your aws access key>');
- define('AWS_SECRET_ACCESS_KEY', '<Your aws secret key>');
- Goto <ROOT>/src/Amazon/CBUI/Samples directory
- Open the .config.inc.php file
- Change the following two lines and save the file
- define('AWS_ACCESS_KEY_ID', '<Your aws access key>');
- define('AWS_SECRET_ACCESS_KEY', '<Your aws secret Key>');
- Update the FPS/CBUI endpoints (only required for sandbox environment, for prodouction no changes are required)
- Open the CBUIPipeline.php file
- Change the following line if needed and save the file
- protected static $CBUI_URL = "https://authorize.payments-sandbox.amazon.com/cobranded-ui/actions/start";
- Open the Client.php file
- Change the following line if needed and save the file
- private $_config = array ('ServiceURL' ='https://fps.sandbox.amazonaws.com')
Steps to make a payment
Making a payment involves two parts. First, you obtain a payment authorization from buyers by redirecting them to co-branded pages hosted by Amazon FPS. When buyers return to your web site, you receive a payment authorization(also called a sender token) as part of the return URL. Second, you use this payment authorization or sender token in a 'Pay' API call to make a payment.
Steps to get authrorization from buyer
- Setup an app server at your side to receive HTTP redirect from Cobranded UI.
- Get the authorization from the buyer
- Go to <ROOT>/src/Amazon/CBUI/Samples directory and open CBUISingleUsePipelineSample.php
- In function test, set the following fields
$pipeline = new Amazon_FPS_CBUISingleUsePipeline(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY);
$pipeline->setMandatoryParameters("callerReferenceSingleUse",
"http://www.mysite.com/call_back.jsp", "5");
//optional parameters
$pipeline->addParameter("currencyCode", "USD");
$pipeline->addParameter("paymentReason", "HarryPotter 1-5 DVD set");
//SingleUse url
print "Sample CBUI url for SingleUse pipeline : " . $pipeline->getUrl() . "\n";
- Run this smaple and copy the URL printed on console and paste it on your browser. You will be redirected to Amazon FPS CBUI
- Go through the pipeline. Make sure you use a different Amazon FPS account, while acting as buyer. At the end of the pipeline, you(buyer) will be redirected back to the return URL provided in the query string above.
- The return URL will include expiry, tokenID, status, callerReference and signature parameters. Please note that tokenID will be used in Pay later.
- Validate that Amazon Payments CBUI actually redirected the customer to the Return URL specified. You have two options to validate
- Server-side validation using VerifySignature API call (recommended for quicker integration). Click here for steps.
- Client-side validation using PKI based algorithm. Click here for steps.
Steps to make a payment
- Open PaySample.php in <ROOT>/src/Amazon/FPS/Samples
- Set SenderTokenId the same as the one returned by CBUI above
- Replace the following line
// @TODO: set request. Action can be passed as Amazon_FPS_Model_PayRequest
with the code snippet below:
$request = new Amazon_FPS_Model_PayRequest();
$request->setSenderTokenId('A12345666666BCDEFFF');//set the proper senderToken here.
$amount = new Amazon_FPS_Model_Amount();
$amount->setCurrencyCode("USD");
$amount->setValue('1'); //set the transaction amount here;
$request->setTransactionAmount($amount);
$request->setCallerReference('CallerReference123456789'); //set the unique caller reference here.
- Run php PaySample.php to make the pay API call. You should see the output similar to the following:
PayResponse
PayResult
TransactionId
13L1AFBDB54MM68LBL8UDPJTQOZNP1F3PTC
TransactionStatus
Pending
ResponseMetadata
RequestId
85b069ef-8b27-43e1-89cf-f1cfcb3a0e72:0
...
Experiment with other samples, examine samples sources. When ready, add library project to your solution, and use it.
If the response status is Pending, you can use GetTransactionStatus API to get latest transaction status
Amazon Payments will post an IPN for this transaction to your ipn url registered with us. You have two options to validate this IPN.
- Server-side validation using VerifySignature API call (recommended for quicker integration). Click here for steps.
- Client-side validation using PKI based algorithm. Click here for steps.
Related resources
More about Amazon FPS
Documentation
Code samples
Contact us for technical issues
Comments, Questions or Feedback
If you have any comments, questions or feedback on the library, please start discussion here (Amazon FPS forum).


| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following information should help you to get started with ORMLite. Android users should also look at the Android specific page after reading these pages here. See section Using With Android.
| 1.1 Downloading ORMLite Jar | Downloading the ORMLite jar. | |
| 1.2 Configuring a Class | Configuring a class to persist. | |
| 1.3 Configuring a DAO | Configuring a Data Access Object. | |
| 1.4 Code Example | Code example on how its works. |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
To get started with ORMLite, you will need to download the jar files. The ORMLite release page is the default repository but the jars are also available from the central maven repository and from Sourceforge.
Users that are connecting to SQL databases via JDBC connections will need to download the ormlite-jdbc-5.1.jar
and ormlite-core-5.1.jar
files. For use with Android applications, you should download the
ormlite-android-5.1.jar
and ormlite-core-5.1.jar
files instead. For either JDBC or
Android you will also need the ormlite-core release which has the ORMLite backend implementations. ORMLite does not have
any required external dependencies although there are some optional packages that you may want to use. See section External Dependencies. The
code works with Java 5 or later.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following is an example class that is configured to be persisted to a database using ORMLite annotations. The @DatabaseTable
annotation configures the Account class to be persisted to the database table named accounts
. The @DatabaseField
annotations map
the fields on the Account to the database columns with the same names.
The name field is configured as the primary key for the database table by using the id = true
annotation field. Also, notice that a
no-argument constructor is needed so the object can be returned by a query. For more information (JPA annotations and other ways to configure
classes) see the class setup information later in the manual. See section Setting Up Your Classes.
@DatabaseTable(tableName = "accounts") public class Account { @DatabaseField(id = true) private String name; @DatabaseField private String password; public Account() { // ORMLite needs a no-arg constructor } public Account(String name, String password) { this.name = name; this.password = password; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } } |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A typical Java pattern is to isolate the database operations in Data Access Objects (DAO) classes. Each DAO provides create, delete,
update, etc. type of functionality and specializes in the handling a single persisted class. A simple way to build a DAO is
to use the createDao
static method on the DaoManager
class. For example, to create a DAO for the Account class
defined above you would do:
Dao<Account, String> accountDao = DaoManager.createDao(connectionSource, Account.class); Dao<Order, Integer> orderDao = DaoManager.createDao(connectionSource, Order.class); |
More information about setting up the DAOs is available later in the manual. See section Setting Up the DAOs.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This example uses the native Java H2 database to create an in-memory test database. You will need to download and add the H2 jar file to your classpath if you want to run the example as-is. See the H2 home page. NOTE: Android users should see the Android specific documentation later in the manual. See section Using With Android. There are also complete code examples that can be used. See section Example Code.
The code performs the following steps.
accounts
database table is created. This step is not needed if the table already exists.
public class AccountApp { public static void main(String[] args) throws Exception { // this uses h2 by default but change to match your database String databaseUrl = "jdbc:h2:mem:account"; // create a connection source to our database ConnectionSource connectionSource = new JdbcConnectionSource(databaseUrl); // instantiate the dao Dao<Account, String> accountDao = DaoManager.createDao(connectionSource, Account.class); // if you need to create the 'accounts' table make this call TableUtils.createTable(connectionSource, Account.class); |
Once we have configured our database objects, we can use them to persist an Account to the database and query for it from the database by its ID:
// create an instance of Account Account account = new Account(); account.setName("Jim Coakley"); // persist the account object to the database accountDao.create(account); // retrieve the account from the database by its id field (name) Account account2 = accountDao.queryForId("Jim Coakley"); System.out.println("Account: " + account2.getName()); // close the connection source connectionSource.close(); } } |
You should be able to get started using ORMLite by this point. To understand more of the functionality available with ORMLite, continue on with the next section. See section How to Use.
For more examples including working code and Android application projects see section Example Code.
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Gray Watson on February 19, 2018 using texi2html 1.82.


Partying old school on NYE: pre-packing the minivan for predawn departure on our 9 hr drive back from the in-laws. 🤘🏻#partyhard
12/31/2016, 8:31:56 PM
Favs: 1
Retweets: 0
link--- layout: tweet ---
Partying old school on NYE: pre-packing the minivan for predawn departure on our 9 hr drive back from the in-laws. 🤘🏻#partyhard
12/31/2016, 8:31:56 PM
Favs: 1
Retweets: 0
linkNow frantically searching for beloved stuffed dragon for my son before we go. 😰
12/31/2016, 9:58:25 PM
Favs: 1
Retweets: 0
linkVan packed and it's a miracle... you can see out the back! So at least one good thing has happened in 2017.
1/1/2017, 4:41:42 AM
Favs: 1
Retweets: 0
linkOk, found more stuff
1/1/2017, 4:45:30 AM
Favs: 0
Retweets: 0
linkNo really that should be all of it.
1/1/2017, 5:03:10 AM
Favs: 0
Retweets: 0
linkWe forgot what?!
1/1/2017, 6:18:29 AM
Favs: 0
Retweets: 0
link


Materials consumed:
MDEA [alt. name for MDE]: 100mg IM
MDMA: 100mg orally
5-MeO-DiPT (Foxy Methoxy): 10mg IM
My brother managed to get some Research Chemicals, Foxy Methoxy and 4-HO-MET, and sent them to me to try.
Xavier and I decided to try Foxy first as this weekend is our anniversary weekend, and we thought it would be a good idea to spice up our sex life a bit.  The combination of MDEA by IM injection and a tablet of MDMA is our favourite time-honoured concoction, so we thought we would still use that, plus add only just a little bit of Foxy to add a touch of erotic psychedelia to the experience. Being very familiar with Ketamine, our favourite psychedelic material, which, in small quantities, can be used to add a touch of psychedelia to an MDMA trip, we actually thought it would work a bit like that with Foxy, too. I also thought that the basic platform of comfort and well being established by the MDEA+MDMA combination should override any possible adverse feelings from the unknown drug. Unfortunately, all this reasoning was rather flawed as the report below will demonstrate.
T+ 0:00
We both injected MDEA and consumed a tablet of good quality ecstasy.
T+ 0:15
MDEA was well felt and gave us a nice buzz. We chitchatted and waited for the MDMA tablet to also kick in.
T+ 1:30
This promises to be a very nice e-trip indeed. Very lovey dovey, sexually charged. We hugged and kissed for half an hour, and then decided to take Foxy, the idea being that we will only take very little to start with and then increase the dosage carefully, until we reach the optimum feeling, just like we would do that with Ketamine. I was to try it on myself first, then, based on that, work out a suitable dosage for Xavier.
T+ 2:00
I decided to apply Foxy by IM injection, to bypass the stomach upset and nausea problems I read about in other reports. This has proven to be the correct method, as no stomach problems were observed by either of us. I started with a careful 2mg initial dose, bearing in mind my last experience with another Research Chemical, 2C-C, where I ended up convulsing in bed for over an hour, unable to find a single comfortable position for my battered body. I was determined to be extra cautious
this time and not let a similar experience happen to me again. Little did I know that I was heading towards something much worse, as a result of some major mistakes I was just about to make.
T+ 2:20
I felt nothing after the first 2mg, so I gave myself another 2mg.
T+ 2:40
I started feeling a little inebriated; this was pleasant and I felt this was enhancing the already considerable high I was feeling on the MDEA+MDMA combination.
T+ 3:00
Still nothing unusual happening; just that growing feeling of inebriation, no visuals or other psychedelic effects. I added 2 mg, then, when after yet another half an hour I still felt the same, I added another 2 mg.  Good!
T+ 3:30
Finally something different started to happen. There was a funny taste in my mouth, and I also started to experience some closed-eye visuals. Unfortunately, at the same time, a perceptible load suddenly descended on my chest, which, as I learnt from the past with cocaine and 2C-C meant only one thing: tachycardia. The feeling could be probably best described as that you'd get if you drank 100 cups of coffee. I could not
actually feel my pulse at that time (the inebriation was strong enough to mask it, or perhaps the MDEA+MDMA was still having an analgesic effect), but the growing feeling of tension on the left side of my chest started to bother me, so I decided this was to be my limit. Unfortunately, this was already too late. The three major mistakes I made are as follows:
1. I failed to realize that it may take much more than 20 minutes for the effects to reach their peak and by that time, the unpleasant body load may increase disproportionally.
2. I failed to appreciate that what may seem tolerable for 10 minutes or so may become a major nuisance if one has to endure it for 5 hours.
3. The idea of using MDMA as an safety net, supposedly preventing a bad trip, works well for me with low-body-load short-duration drugs like Ketamine, where it really does provide a feel-good starting base from which a bad trip is rare, and moreover prevents me from falling into the K-hole too soon, effectively straightening the dose-to-response curve. But with high body load drugs that last much longer, once the soothing effect of the MDMA wears out, I was left with a body load much heavier than what I thought I was originally starting with.
But before I knew all this, Xavier now wanted to try some Foxy too, so I gave him 2mg first, and then increased the dosage gradually for him until he said stop. He asked me to stop after 8mg where he was starting to feel he was 'losing himself' and wanted to keep 'sober' in order for us, as we then hoped, to have fantastic sex.
T: 4:00
I am starting to realize I have overdosed. But only overdosed in terms of body load; my mind was perfectly clear, in fact clearer now as the effect of MDEA+MDMA was starting to wear off, and Foxy was now completely taking over. Meanwhile, Xavier seemed to enjoy this drug. He was very horny and demanded sex. I measured my heart rate: 130 per minute. I measured Xavier's: 72 per minute. At any time throughout the night, Xavier's heart rate did not exceed 80 per minute. Two guys with almost the same dosage, yet such different effects. But of course, I am 55, he is only 35; why do I need to be reminded of my age yet again?
I felt a rising sense of bodily discomfort combined with mental anxiety, but at the same time I did not want to alarm Xavier who seemed to be having a good time. I suggested that I take the passive sex role, as I was afraid to do anything to increase my heart rate yet further. For a while, this was actually extremely pleasurable, and I even managed to temporarily distract myself from the still growing feeling of stress in my chest. Another good thing was that this made Xavier tired and, after a while, his mind seemed to drift away, probably exploring some closed-eye visuals. This gave me some much needed respite to be able to have a rest and concentrate on what was happening to myself. I briefly considered taking another MDEA/MDMA to calm myself down, but with my heart rate still at 130, I decided against it, probably wisely so.
T: 5:30
My heart rate is now 125 per minute. I know that Foxy is longer lasting than 2C-C (whose ordeal was over in just over an hour), and I am bracing up for the inevitable fact that I will need to cope with the heavy feeling of unbearable pressure in my chest, where every single breath requires an effort compared to pushing up a load of bricks and where my heart is racing like crazy, possibly for another two hours. It was to be four. At some stage, I started to perceive a little synesthesia (confusion of senses), which was similar to 2C-C. But while the 'taste' of 2C-C was that of freshly crushed aluminium, the 'taste' and 'smell' of Foxy was that of old rotting jute cargo bags.
 The feeling of claustrophobic hopelessness and anxiety, combined with unbearable bodily discomfort, eventually inevitably gave rise to a case of psychosis: I was angry. Angry with myself that I (again) allowed myself to get into this situation. Angry with my machoid straight brother who would one day crave for a hug from me, yet the second day deny that and freak out from the very idea.  Angry with us atheists who have equally failed to inspire with our
depressive nihilism.
Xavier seemed to be still drifting in lalaland, and I quietly walked out of the bedroom. I decided to walk around the house, in the vain hope that this will get the drug out of my system faster. The house was also colder than the bedroom, so I was hoping this might calm me down and maybe bring my heart rate down. I must have been walking around the house, in circles, for about an hour.
I did not notice that, meanwhile, Xavier found that I was no longer in the bedroom, and went to look for me in the house. He could not find me, and in the dark house got scared, under the influence of the drug. When I finally remembered to go back and check on him, I found him coiled on the bed in the fetal position, frightened. He said he got scared with me not around, but felt helpless to do something about it, which in turn got him scared even more. He also said he was already getting fed up with the 'feeling'; when is it going to end? But then he regained composure very quickly, and suggested having sex again.
 I said I was too tired and suggested that we go to sleep. He reluctantly agreed, but neither of us could actually sleep. He was tossing and turning, while I was just trying to keep calm as much as possible and so patiently survive the rest of the night, where every minute seemed like eternity.
T:+ 11:30
My heart rate dropped to 100 and the feeling of heavy discomfort has been partially lifted off my chest. Miraculously, I managed to fall asleep.
T:+ 13:30
I woke up 2 hours later, myself and my half of the bed drenched in sweat. My heart rate is still 100.
T:+ 15:30
It's noon already. Xavier says that it is impossible for him to sleep and gets out of bed. Me also. I start typing this report in order to put myself back into some sort of normalcy again. My heart rate is now 90, still well above my resting 60. There is still a feeling of tension on the left side of my chest, which seems to shoot up my neck and chin. There is also a dull pain at the back of my head and a slight dizziness partially still due to the vaning effect of the drug and partially by sheer tiredness and lack of sleep. No other problems apart from feeling thoroughly physically and emotionally drained. I think I am finally on the mend, but given the slow speed with which the drug seems to be leaving my system, I feel it might take me the rest of the day, if not more, to fully recover.
SUMMARY:
Chemically, 2C-C and Foxy are about as apart in the 'Research Chemical' spectrum as one can get. Yet, the only difference with which my body reacted to them was the length of the experience, which was much longer with Foxy. Even the visuals were similar: stripes and patterns of bright neon colours, in a kinda Disney or Hollywood cheap and kitchy style. As I am accustomed to the intricate visuals and profound feelings one experiences on Ketamine, I found this aspect disappointing. In both cases, I was far too distracted by the heavy body load to be able to appreciate the psychedelics. Or rather, the heavy body load came along much earlier before the psychedelics had any chance to properly kick in and become worthy of my interest.
Xavier and I have reacted vastly differently to drugs. On the whole, Xavier enjoyed it, only eventually complaining that it lasted too long and that he could not sleep.
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.