Wifi: username / password
| Install the Tools | http://bit.ly/CnCTheTools |
| This presentation | http://bit.ly/CnCMarSlides |
| The worksheet | http://bit.ly/CnCMarWork |
All slides in this presentation are licensed by http://kcwomenintech.org under a Creative Commons Attribution-ShareAlike 4.0 International License.
Program Director
Program Co-Director
Curriculum Director
Technical Materials Director
Mentor Director
Marketing Director
Command Line Interface
Text-based interface
to interact with your computer
Enter input and return output
Power.
Easily run programs
Write scripts for automated tasks
A single command can run a task
that can save you hours
Running many of these commands together can save you days
comes great responsibility
You can tell the computer to do
anything that it is capable of
You can erase all of your data
with a simple command
Make sure you know what a
command does before you run it
| pwd | print working directory |
| ls | list files & directories |
| cd | change directory |
| mkdir | make directory |
| rmdir | remove directory |
| touch | create file |
| rm | remove a file |
| cp | copy file or directory |
| mv | rename/move file or dir |
| echo | print a message |
| ping | check internet status |
| grep | global search |
Wifi: username / password
| This presentation | http://bit.ly/CnCMarSlides |
| The worksheet | http://bit.ly/CnCMarWork |
| Install the Tools | http://bit.ly/CnCTheTools |
All slides in this presentation are licensed by http://kcwomenintech.org under a Creative Commons Attribution-ShareAlike 4.0 International License.
| > | redirects output |
| >> | creates/appends output |
| | | use as input |
| vim path/to/file.txt | open file for editing |
| ↑, ↓, ←, → | move through file |
| i | insert mode |
| esc | quit insert mode |
| :wq | save changes |
| :q! | quit (without saving) |
Wifi: username / password
| This presentation | http://bit.ly/CnCMarSlides |
| The worksheet | http://bit.ly/CnCMarWork |
| Install the Tools | http://bit.ly/CnCTheTools |
All slides in this presentation are licensed by http://kcwomenintech.org under a Creative Commons Attribution-ShareAlike 4.0 International License.
Environment Variables
export MYVAR=value
Environment variables persist if stored to your .bash_profile
Aliases
Create an alias
alias documents='cd ~/Documents'
Use an alias
documents
Aliases persist if stored to your .bash_profile
|
Display usage docs Online man pages |
|
| CTRL + C | Abort a command |
clear |
Clear terminal |
| ↑, ↓ | Scroll through commands in buffer |
history |
Show command history |
| CTRL + R | Find prev command |
| !! | Repeat last command |
| TAB key | Attempt autocompletion |
Wifi: username / password
| This presentation | http://bit.ly/CnCMarSlides |
| The worksheet | http://bit.ly/CnCMarWork |
| Install the Tools | http://bit.ly/CnCTheTools |
All slides in this presentation are licensed by http://kcwomenintech.org under a Creative Commons Attribution-ShareAlike 4.0 International License.
| r (read) | read, open, view, copy the file |
| w (write) | write, change, delete, save the file |
| x (execute) | run the file |
View permissions:
ls -l
Changing Permissions
→ chmod o+x myfile.txt
→ chmod -v g+x myfile.txt
mode of 'myfile.txt' changed to 0754 (rwxr-xr--)
→ chmod 744 myfile.txt
Wifi: username / password
| This presentation | http://bit.ly/CnCMarSlides |
| The worksheet | http://bit.ly/CnCMarWork |
| Install the Tools | http://bit.ly/CnCTheTools |
All slides in this presentation are licensed by http://kcwomenintech.org under a Creative Commons Attribution-ShareAlike 4.0 International License.
Install & Run Tools
#LadyDevs #KCWiT #CodingAndCocktailsKC


Are you at risk?
Anyone, including children, can develop heart disease. It occurs when a substance called plaque builds up in your arteries. When this happens, your arteries can narrow over time, reducing blood flow to the heart. Smoking, eating an unhealthy diet, and not getting enough exercise all increase your risk for having heart disease.
Read more


Nigel Farage: Johnson's deal is not Brexit – video
by ReutersNigel Farage has attacked the Brexit deal negotiated by Boris Johnson with the EU as a sellout, claiming it would keep the UK in regulatory alignment on a range of key issues as well as putting the union under threat.
Farage has promised the Brexit party will contest every seat in the country if the Conservatives do not agree to a leave alliance. On Sunday he announced he would not be making an eighth attempt to become an MP


---
layout: post
title: Whatsapp in Ubuntu 12.04, PC
date: 2014-03-08 08:01:00.000000000 +05:30
type: post
published: true
status: publish
categories:
- Android
- Apps
- Marketing
tags: []
meta:
blogger_blog: www.technoruler.com
blogger_author: VISWAPRASATH KS
blogger_cb097c283b9bbfde97b4822e7250157d_permalink: '7969293516727291423'
author:
login: viswaprasath
email<EMAIL_ADDRESS>display_name: Vitchu
first_name: ''
last_name: ''
---
This has been the most important thing which many are waiting for. Yet officially WhatsApp for PC has not came. But there are different method by which we can use in for our PC. Here the Tutorial which I am going to tell is for Android Mobile only. For other platforms it will be updated soon.
In Ubuntu 12.04 and Above
It is very simple to use WhatsApp in Ubuntu. There are two steps basically.
One way is to use the Android Emulator and install Whatsapp from there and then we can use it.
Another way of using it is as follows. We can use Whatsapp by using Genymotion.
Then download Oracle VM Virtual Box.
Here
Then download Genymotion for free.
Here
After finishing it using Genymotion install your favorite Phone by clicking Add button.
After installing click on Play button. Then you can download Whatsapp from Play store or from
here
Then drag and drop in the Emulator where it is running. And setup your profile with you mobile number.
It will send the message and try to check. But message is not possible. Wait for 5 min and get verified using Call verification.
This method is very useful for Windows 8, Ubuntu 12.04 and above and any other linux.
Another method for Windows based OS it to use Bluestacks. Download it
here
Have fun in using..


Kmail2 Evolution
Semantic desktop and KMail2 - why, oh why?
I liked the kdepim/korganizer approach for its integration in the KDE Desktop, it’s feature rich, configurable, integrated with all the KDE eye-candy. In my opinion: if Linux ever goes Desktop, then KDE would be my bet.
I enjoyed then in particular the features available with KMail2, be it the support for the ubiquitous use of HTML-eMails (creating eMails in claws-mail being the feature I really missed there), easily managing different identities, KDE-integrated support of PGP and S/MIME, and the really great eye-candy, up to support of “X-Faces”.
So far, so good.
There’s a feature coming with the PIM tools: the infamous semantic desktop nepomuk using the virtuoso backend, the dependency on either mysql or sqlite.
First concerns have been about its performance - well, “640 kB ought to be enough for anybody.” is past, my current PC copes well with KDE requirements.
Performancewise.
Maybe the preference of sqlite over mysql did good.
Accidentally, incidentally KMail2 - with kdm sessions staying open until kernel or KDE-upgrade - freezed from time to time: new eMails were available for getting read but not for getting deleted. Imap server is accessed in parallel by other MUA’s, but this can not really be the cause.
Recipe for rectification: re-create the imap account. A nice occasion to consider if folders should be treated locally or server-side — and that’s the point where I made the worse experience of getting my home 100% filled by the nepomuk data at $HOME/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend
and $HOME/.local/share/akonadi
.
Okay, disk layout is flexible with lvextend
and resize2fs
, but then I was really baffled by the sizes.
Retrospecting the backups for the “normal” condition which I did not pay attention before:
- IMAP storage: 1.4 G
- $HOME/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend: 850 M
- $HOME/.local/share/akonadi: 694 M
I’m kind of wondering why (, oh why?) it is “normal” to have the amount of meta-data necessary for the semantic backend surpass the amount of original data.
So, to bring that to an end I switched to Evolution (well, at least it does what I need), and after having removed the imap account in akonadi and having cleaned the backends the partition regained some room for further KDE “improvements”:
- $HOME/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend: 13 M
- $HOME/.local/share/akonadi: 1.4 M
For indexing files, nepomuk allows to include/exclude directories. It might help to see a selective approach for mail storage as well?


Topic:Some people believe that educational qualifications will always bring success in life. Other people say that educational qualifications do not necessarily bring success. Discuss both views and give your opinion.
A number of people hold a view that educational qualifications is a prerequisite for being successful, while others think that educational certifications are not the necessary conditions for getting success. In my opinion, I think people should get educational qualifications which help them become successful men quickly.
Firstly, success is based on real-life and they need money to achieve it. If they want to earn money, they need to find a job that provides basic needs for themselves. However, if they do not have an educational qualification, they cannot find a position in job markets. The reason is that educational qualification is a prerequisite for a job finder. For example, if a male wants to be an accountant, he needs to get a certification from a college. If a female hopes to find a teaching position, she should hold a bachelor's degree from a university. All in all, when people cannot demonstrate that they have educational qualifications in the interview processing, their resume will be directly thrown into the trash can.
However, some people may have an idea that some successful people do not spend much time on study and they also become wealthy and powerful people. In fact, so many people cannot earn so much money like Bill Gates and Mark Zuckerberg. The definition of successful men for most people is that only just finding a job and providing a comfortable life for family members. For example, they want to buy a house and born two babies. They also want to have a free weekend and enjoy stay with their families. If they want to live such good life, they must have an educational qualification. So, educational certification is the requirement of a successful life for people.
In my opinion, getting most people’s successful life is only requiring an educational certification. People should get their educational qualification before looking for a job because most companies will check every applicant’s educational background before hiring the person.


If you are planning to run some tests on the cloud with SauceLabs maybe you want to test some pages that arent public yet or they are in a local server on your machine. If that's the case Sauce Connect gives you the solution.
Make sure you download SC from here and once you have the bin file run:
./bin/sc -u SAUCE_USER -k SAUCE_KEY


epd_container¶
-
namespace
EPD
¶ A collection of use-case filters, namely for parsing usecase_config.txt, Counting and Color-Matching usecaseMode.
-
class
EPDContainer
¶ - #include <epd_container.hpp>
An Easy Perception Deployment(EPD) Container class object. The EPDContainer class object parses the session_config.txt and usecase_config.txt files to determine how an ONNX model can be deployed as an inference engine using the ONNXRuntime library.
Public Functions
-
EPDContainer
(void)¶ A Constructor function.
-
~EPDContainer
(void)¶ A Destructor function.
-
bool
isInit
(void)¶ A Getter function that gets the bool variable, hasInitialized.
-
bool
isVisualize
(void)¶ A Getter function that gets the bool variable, onlyVisualize.
-
int
getHeight
(void)¶ A Getter function that gets the int variable, frame_height.
-
int
getWidth
(void)¶ A Getter function that gets the int variable, frame_width.
-
void
setInitBoolean
(bool input)¶ A Mutator function that sets the bool variable, hasInitialized.
-
void
setFrameDimension
(int width, int height)¶ A Mutator function that sets the int variables, frame_width & frame_height.
-
void
initORTSessionHandler
()¶ A Mutator function that sets the appropriate precision-Level specific OrtBase object.
Public Members
-
unsigned int
precision_level
¶ The determined precision_level for an input ONNX model file, stated by the session_config.txt.
-
const int
IMG_CHANNEL
= 3¶ A fixed integer for expected RGB 2D images.
-
const std::string PATH_TO_SESSION_CONFIG = PATH_TO_PACKAGE "/data/session_config.txt"
The constant filepath to session_config.txt.
-
const std::string PATH_TO_USECASE_CONFIG = PATH_TO_PACKAGE "/data/usecase_config.txt"
The constant filepath to usecase_config.txt.
-
std::string
template_color_path
¶ The filepath to a template color image for Color-Matching use-case filter.
-
std::string
class_label_path
¶ The filepath to the essential class label list, that maps classIndices to human-understandable object text labels.
-
std::string
onnx_model_path
¶ The filepath to an input ONNX model file.
-
unsigned int
useCaseMode
¶ The selected use-case mode. Values can only be 0,1,2.
See usecase_config.hpp for more details.
.
-
std::vector<std::string>
countClassNames
¶ A subset of selected object names from an input label list, used for Counting use-case filter.
-
std::vector<std::string>
classNames
¶ A list of human-understandable object text labels from input label list.
Private Functions
-
void
setModelConfigFile
()¶ A Mutator function that parses the session_config.txt file.
-
void
setUseCaseConfigFile
()¶ A Mutator function that parses the usecase_config.txt file.
-
void
setPrecisionLevel
()¶ A Mutator function that does a test initialization of an OrtBase object based on an input ONNX model file and determines the expected precision level.
-
void
setLabelList
()¶ A Mutator function that parses the input label list .txt file into the variable, classNames.
-
-
class


BusMall Product Survey
Please, Help Us to launch our product line.
Do the Survey to get the chance of winning a free year of our selected products.
You are going to choose a picture in groups of three. You have to go through 25 of those.
Show chart


SearchFragAdapter
View
TokenType
List
Token
RecyclerView
LinearLayoutManager
Location
MapsFragment
SearchFragment


Privacy Notice
This privacy notice discloses the privacy practices for FlamingText.com. This privacy notice applies solely to information collected by this web site which encompasses both our Logo Design Tool and ImageBot products. It will notify you of the following:
- What information is collected from you through the web site, how it is used and with whom it may be shared.
- What choices are available to you regarding the use of your data.
- The security procedures in place to protect the misuse of your information.
- How you can correct any inaccuracies in the information.
Collection and Use of Information
Personally identifiable information. We are the sole owners of the information collected on this site. We only have access to and collect personally identifiable information that you voluntarily give us via email or other direct contact from you. We will not sell or rent any personally identifiable information to anyone.
We will use your information to respond to you, regarding the reason you contacted us. Unless you ask us not to, we may contact you via email in the future to tell you about new products or services, surveys or contests, or changes to this privacy policy.
Non-personally identifiable information. We collect non-personally identifiable information which is data that has not been directly associated to any specific individual. This includes keeping track of user activity as well as collecting the images that are created on our site. We may log information regarding user execution environments (eg. browser type, operating system, remote address). We also aggregate demographic information about users such as age, gender, location.
We use non-personally identifiable information to better understand our users so that we can improve our products, services and marketing strategies.
Sharing of Information
We share aggregated demographic information with our advertisers to enable them to better target ad content to our users.
From time to time, you may be offered the opportunity to receive materials or special offers from third parties. If you opt-in to receive such information, we will with your permission share your name, email address and other information that you opt to provide to them.
We will not share your personally identifiable information with any third party outside of our organization other than as necessary to fulfill your request, to comply with the law or to satisfy any requirements in the event of a company reorganization that may involve the merger, acquisition or sale of our assets.
Your Access To and Control Over Information
You may opt out of any future contacts from us at any time. You can do the following at any time by contacting us via the contact form or phone number given on our website:
- See what data we have about you, if any.
- Change/correct any data we have about you.
- Have us delete any data we have about you.
- Express any concern you have about our use of your data.
Security
We take precautions to protect your information. When you submit sensitive information via the website, your information is protected both online and offline.
Wherever we collect sensitive information (such as credit card data), that information is encrypted and transmitted to us in a secure way. You can verify this by looking for a closed lock icon at the bottom of your web browser, or looking for "https" at the beginning of the address of the web page.
While we use encryption to protect sensitive information transmitted online, we also protect your information offline. Only employees who need the information to perform a specific job are granted access to personally identifiable information. The computers/servers in which we store personally identifiable information are kept in a secure environment.
Registration
A user may be required to first complete a registration form in order to use particular services of this site. During registration a user is required to give certain information (such as name and email address). This information is used to contact you about the products and services on our site in which you have expressed interest. At your option, you may also provide demographic information (such as gender) about yourself, but it is not required. We require your age to ensure you are 13 or older (COPPA).
Third Party Advertisers
This site uses the services of Google, CasaleMedia, ValueClick and other third parties to serve advertisements for promotions and other marketing messages when you visit our site. These companies may use information about your visits to this and other Web sites in order to target advertisements for goods and services that are of interest to you. If you would like more information about this practice, including your choices about not having this information used by these companies, please visit Google, ValueClick, Casale Media. Exponential (Tribal Fusion).
You can opt-out of most advertising at the NAI Gateway.
Cookies
We use "cookies" on this site. A cookie is a piece of data stored on a site visitor's hard drive to help us improve your access to our site and identify repeat visitors to our site. For instance, when we use a cookie to identify you, you would not have to log in a password more than once, thereby saving time while on our site. Some services on this web site require that you are a registered user. To determine if you are registered and currently logged in, we use a cookie to keep track of this information.
Some of our business partners may use cookies on our site (for example, advertisers). However, we have no access to or control over these cookies.
Links
This web site contains links to other sites. Please be aware that we are not responsible for the content or privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of any other site that collects personally identifiable information.
Surveys & Contests
From time-to-time our site requests information via surveys or contests. Participation in these surveys or contests is completely voluntary and you may choose whether or not to participate and therefore disclose this information. Information requested may include contact information (such as name and shipping address), and demographic information (such as zip code, age level). Contact information will be used to notify the winners and award prizes. Survey information will be used for purposes of monitoring or improving the use and satisfaction of this site.
If you feel that we are not abiding by this privacy policy or if you have questions about this policy or suggestions on how to make it better, please contact us.


# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Input generator for image data."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import tempfile
import tensorflow as tf
from tensorflow.python.ops import io_ops
from lingvo.core import base_input_generator
from lingvo.core import cluster_factory
from lingvo.core import py_utils
from lingvo.core.ops import py_x_ops
[docs]def FakeMnistData(train_size=60000, test_size=10000):
"""Fake Mnist data for unit tests."""
tmpdir = tempfile.mkdtemp()
data_path = os.path.join(tmpdir, 'ckpt')
with tf.Graph().as_default():
with tf.Session() as sess:
x_train = tf.ones((train_size, 28, 28, 1), dtype=tf.uint8)
y_train = tf.ones((train_size), dtype=tf.uint8)
x_test = tf.ones((test_size, 28, 28, 1), dtype=tf.uint8)
y_test = tf.ones((test_size), dtype=tf.uint8)
sess.run(
io_ops.save_v2(data_path, ['x_train', 'y_train', 'x_test', 'y_test'],
[''] * 4, [x_train, y_train, x_test, y_test]))
return tmpdir, data_path


Friday March 28, 2014.
7:00 a.m. - 9:00 a.m.
Crowne Plaza Hotel, Foster City CA
For 22 years, community support of our Starting Line Breakfast has helped thousands of our neighbors improve their lives. More details to come.
Please join us for a special morning!
For more information, to support, or to attend please contact Alicia Herrera at<PHONE_NUMBER> ext 109 or<EMAIL_ADDRESS>StarVista’s 22nd annual Starting Line Breakfast will be on March 28, 2014. Please download the sponsor packet below for more information and to be part of this community event!
Thank you to our 2013 Starting Line Breakfast sponsors who help StarVista transform lives every day:
| Heroes Community Service League Hannig Law Firm LLP Champions Helping Hands |
Supporters Children’s Place Supporters – Carol Bergman, Joe Dooling & Betty Kaplan Elaine Cummings Michael & Judy Garb Stephan Marshall Lesley & Russel Martin The Mercury News Dr. Robert Mitchell & Dr. Sara Larios Mitchell Chuck Ott Peninsula Health Care District Raiser Construction Company, Inc. Recology San Mateo County San Mateo Credit Union Sheriff’s Youth Program Fund W.L. Butler Construction, Inc. |


{$time[0]}
Days
{$time[1]}
Hours
{$time[2]}
Minutes
{$time[3]}
Seconds
碧胜家居
中山碧胜家居用品有限公司
Zhongshan bisheng household products co. LTD
×
登录


2023-04-17: adventures in New York city for the Toronto Stock Exchange
Earlier this year I was invited by my employer, the
Toronto Stock Exchange, to go an visit New York city as
part of a business trip. Mostly I toured Manhattan and
surrounding area, visiting galleries, museums, and Central
Park.


DSTAT
Section: \ (1)Updated: 11/25/2009
Index Return to Main Contents
NAME
dstat - versatile tool for generating system resource statisticsSYNOPSIS
dstat [-afv] [options..] [delay [count]]DESCRIPTION
Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes some of the limitations and adds some extra features.Dstat allows you to view all of your system resources instantly, you can eg. compare disk usage in combination with interrupts from your IDE controller, or compare the network bandwidth numbers directly with the disk throughput (in the same interval).
Dstat also cleverly gives you the most detailed information in columns and clearly indicates in what magnitude and unit the output is displayed. Less confusion, less mistakes, more efficient.
Dstat is unique in letting you aggregate block device throughput for a certain diskset or network bandwidth for a group of interfaces, ie. you can see the throughput for all the block devices that make up a single filesystem or storage system.
Dstat allows its data to be directly written to a CSV file to be imported and used by OpenOffice, Gnumeric or Excel to create graphs.
Note
Users of Sleuthkit might find Sleuthkitcqs dstat being renamed to datastat to avoid a name conflict. See Debian bug #283709 for more information.
OPTIONS
- -c, --cpu
- enable cpu stats (system, user, idle, wait, hardware interrupt, software interrupt)
- -C 0,3,total
- include cpu0, cpu3 and total
- -d, --disk
- enable disk stats (read, write)
- -D total,hda
- include hda and total
- -g, --page
- enable page stats (page in, page out)
- -i, --int
- enable interrupt stats
- -I 5,10
- include interrupt 5 and 10
- -l, --load
- enable load average stats (1 min, 5 mins, 15mins)
- -m, --mem
- enable memory stats (used, buffers, cache, free)
- -n, --net
- enable network stats (receive, send)
- -N eth1,total
- include eth1 and total
- -p, --proc
- enable process stats (runnable, uninterruptible, new)
- -r, --io
- enable I/O request stats (read, write requests)
- -s, --swap
- enable swap stats (used, free)
- -S swap1,total
- include swap1 and total
- -t, --time
- enable time/date output
- -T, --epoch
- enable time counter (seconds since epoch)
- -y, --sys
- enable system stats (interrupts, context switches)
- --aio
- enable aio stats (asynchronous I/O)
- --fs
- enable filesystem stats (open files, inodes)
- --ipc
- enable ipc stats (message queue, semaphores, shared memory)
- --lock
- enable file lock stats (posix, flock, read, write)
- --raw
- enable raw stats (raw sockets)
- --socket
- enable socket stats (total, tcp, udp, raw, ip-fragments)
- --tcp
- enable tcp stats (listen, established, syn, time_wait, close)
- --udp
- enable udp stats (listen, active)
- --unix
- enable unix stats (datagram, stream, listen, active)
- --vm
- enable vm stats (hard pagefaults, soft pagefaults, allocated, free)
- --stat1 --stat2
- enable (external) plugins by plugin name, see PLUGINS for options
- Possible internal stats are
- aio, cpu, cpu24, disk, disk24, disk24old, epoch, fs, int, int24, io, ipc, load, lock, mem, net, page, page24, proc, raw, socket, swap, swapold, sys, tcp, time, udp, unix, vm
- --list
- list the internal and external plugin names
- -a, --all
- equals -cdngy (default)
- -f, --full
- expand -C, -D, -I, -N and -S discovery lists
- -v, --vmstat
- equals -pmgdsc -D total
- --bw, --blackonwhite
- change colors for white background terminal
- --float
- force float values on screen (mutual exclusive with --integer)
- --integer
- force integer values on screen (mutual exclusive with --float)
- --nocolor
- disable colors (implies --noupdate)
- --noheaders
- disable repetitive headers
- --noupdate
- disable intermediate updates when delay > 1
- --output file
- write CSV output to file
PLUGINS
While anyone can create their own dstat plugins (and contribute them) dstat ships with a number of plugins already that extend its capabilities greatly. Here is an overview of the plugins dstat ships with:
- --battery
- battery in percentage (needs ACPI)
- --battery-remain
- battery remaining in hours, minutes (needs ACPI)
- --cpufreq
- CPU frequency in percentage (needs ACPI)
- --dbus
- number of dbus connections (needs python-dbus)
- --disk-util
- per disk utilization in percentage
- --fan
- fan speed (needs ACPI)
- --freespace
- per filesystem disk usage
- --gpfs
- GPFS read/write I/O (needs mmpmon)
- --gpfs-ops
- GPFS filesystem operations (needs mmpmon)
- --helloworld
- Hello world example dstat plugin
- --innodb-buffer
- show innodb buffer stats
- --innodb-io
- show innodb I/O stats
- --innodb-ops
- show innodb operations counters
- --lustre
- show lustre I/O throughput
- --memcache-hits
- show the number of hits and misses from memcache
- --mysql5-cmds
- show the MySQL5 command stats
- --mysql5-conn
- show the MySQL5 connection stats
- --mysql5-io
- show the MySQL5 I/O stats
- --mysql5-keys
- show the MySQL5 keys stats
- --mysql-io
- show the MySQL I/O stats
- --mysql-keys
- show the MySQL keys stats
- --net-packets
- show the number of packets received and transmitted
- --nfs3
- show NFS v3 client operations
- --nfs3-ops
- show extended NFS v3 client operations
- --nfsd3
- show NFS v3 server operations
- --nfsd3-ops
- show extended NFS v3 server operations
- --ntp
- show NTP time from an NTP server
- --postfix
- show postfix queue sizes (needs postfix)
- --power
- show power usage
- --proc-count
- show total number of processes
- --rpc
- show RPC client calls stats
- --rpcd
- show RPC server calls stats
- --sendmail
- show sendmail queue size (needs sendmail)
- --snooze
- show number of ticks per second
- --test
- show test plugin output
- --thermal
- system temperature sensors
- --top-bio
- show most expensive block I/O process
- --top-cpu
- show most expensive CPU process
- --top-cputime
- show process using the most CPU time (in ms)
- --top-cputime-avg
- show process with the highest average timeslice (in ms)
- --top-io
- show most expensive I/O process
- --top-latency
- show process with highest total latency (in ms)
- --top-latency-avg
- show process with the highest average latency (in ms)
- --top-mem
- show process using the most memory
- --top-oom
- show process that will be killed by OOM the first
- --utmp
- show number of utmp connections (needs python-utmp)
- --vmk-hba
- show VMware ESX kernel vmhba stats
- --vmk-int
- show VMware ESX kernel interrupt stats
- --vmk-nic
- show VMware ESX kernel port stats
- --vm-memctl
- show ballooning status inside VMware guests
- --vz-io
- show CPU usage per OpenVZ guest
- --vz-ubc
- show OpenVZ user beancounters
- --wifi
- wireless link quality and signal to noise ratio
ARGUMENTS
delay is the delay in seconds between each updatecount is the number of updates to display before exiting
The default delay is 1 and count is unspecified (unlimited)
INTERMEDIATE UPDATES
When invoking dstat with a delay greater than 1 and without the --noupdate option, it will show intermediate updates, ie. the first time a 1 sec average, the second update a 2 second average, etc. until the delay has been reached.So in case you specified a delay of 10, the 9 intermediate updates are NOT snapshots, they are averages over the time that passed since the last final update. The end result is that you get a 10 second average on a new line, just like with vmstat.
EXAMPLES
Using dstat to relate disk-throughput with network-usage (eth0), total CPU-usage and system counters:
dstat -dnyc -N eth0 -C total -f 5Checking dstatcqs behaviour and the system impact of dstat:
dstat -taf --debugUsing the time plugin together with cpu, net, disk, system, load, proc and top_cpu plugins:
dstat -tcndylp --top-cputhis is identical to
dstat --time --cpu --net --disk --sys --load --proc --top-cpuUsing dstat to relate cpu stats with interrupts per device:
dstat -tcyif
BUGS
Since it is practically impossible to test dstat on every possible permutation of kernel, python or distribution version, I need your help and your feedback to fix the remaining problems. If you have improvements or bugreports, please send them to<EMAIL_ADDRESS>Note
Please see the TODO file for known bugs and future plans.
FILES
Paths that may contain external dstat_*.py plugins:
~/.dstat/ (path of binary)/plugins/ /usr/share/dstat/ /usr/local/share/dstat/
SEE ALSO
Performance tools
ifstat(1), iftop(8), iostat(1), mpstat(1), netstat(1), nfsstat(1), nstat, vmstat(1), xosview(1)
Debugging tools
htop(1), lslk(1), lsof(8), top(1)
Process tracing
ltrace(1), pmap(1), ps(1), pstack(1), strace(1)
Binary debugging
ldd(1), file(1), nm(1), objdump(1), readelf(1)
Memory usage tools
free(1), memusage, memusagestat, slabtop(1)
Accounting tools
dump-acct, dump-utmp, sa(8)
Hardware debugging tools
dmidecode, ifinfo(1), lsdev(1), lshal(1), lshw(1), lsmod(8), lspci(8), lsusb(8), smartctl(8), x86info(1)
Application debugging
mailstats(8), qshape(1)
Xorg related tools
xdpyinfo(1), xrestop(1)
Other useful info
collectl(1), proc(5), procinfo(8)
AUTHOR
Written by Dag Wieers<EMAIL_ADDRESS>at [2]http://dag.wieers.com/home-made/dstat/
This manpage was initially written by Andrew Pollock<EMAIL_ADDRESS>for the Debian GNU/Linux system.
REFERENCES
- 1<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- 2. http://dag.wieers.com/home-made/dstat/
- http://dag.wieers.com/home-made/dstat/
- 3<EMAIL_ADDRESS>-
<EMAIL_ADDRESS>Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- PLUGINS
- ARGUMENTS
- INTERMEDIATE UPDATES
- EXAMPLES
- BUGS
- FILES
- SEE ALSO
- AUTHOR
- REFERENCES
This document was created by man2html, using the manual pages.
Time: 05:29:03 GMT, December 24, 2015


Optimization - My Medium publication consisting of a podcast and writings on how to start making changes, optimizing to go in that one direction.
Personal Blog - Writings on Mediumt that don't go into the publication. All new writings as of 11/04/2017.
Blog - Old writings. Reflections of explorations to sate my curiosity on optimizing efficiency in personal and professional development
Projects - My explorations; You won't know until you try
About - Let me tell you about me. Engage with me!


The trouble with Bears
By Evan Wild
Tall, lumbering, angry, dangerous. The real live bears of this world are proud, independent creatures, self-serving and always on the hunt for food. Nothing like the bears you see on TV, like Baloo from renowned documentary, The Jungle Book.
So what are bears really like, and why does the world's media portray them with such a skewed vision? In this article we try to answer those questions, and give you a real insight into the life of the bear.
Types of bear
Bears come in two varieties — large and medium. You don't get small bears. If you have seen a small bear, then it was in fact probably a baby bear (cub) from another species.
Bears can also be classified in terms of their habitat — both large and medium bears are just as at home in urban areas as they are in the countryside. Different habitats encourange different behaviour however, as you'll find out below. The below table also gives you some useful facts about bears.
| Bear Type | Coat | Adult size | Habitat | Lifespan | Diet |
|---|---|---|---|---|---|
| Wild | Brown or black | 1.4 to 2.8 meters | Woods and forests | 25 to 28 years | Fish, meat, plants |
| Urban | North Face | 18 to 22 | Condos and coffee shops | 20 to 32 years | Starbucks, sushi |
Habitats and Eating habits
Wild bears eat a variety of meat, fish, fruit, nuts, and other naturally growing ingredients. In general they will hunt for food themselves in woodland or rivers, but at a push they will track down their sustenance from farms or country houses. They tend to live in relative isolation, in caves, tents, or cottages. The below image shows a big brown wild bear, standing in a river looking for fish to eat.
Urban (gentrified) bears on the other hand have largely abandoned the old ways. They will hunt other urban creatures if necessary (including other predators like rats and foxes), but prefer to scavenge from readily available urban food outlets like dumpsters, bins, and fast food joints. When food has proven scarce, urban bears have even been known to break into people's kitchens and steal essentials like baked beans, ready meals, and microwave ovens. Below you can see an urban polar bear, looking through the railings of his garden while contemplating whether to eat at Nandos or Taco Bell.
Urban bears will sleep anywhere they can, from bus shelters and parks, to the toilets in McDonald's, to their own apartment.
Mating rituals
Bears are romantic creatures by nature, and will naturally look for a mate that they can spend the rest of their lives with. They will woo a potential suitor by making their dwelling look attractive — for example with cave paintings or a bed of reeds in the case of a wild bear, and mood lighting and a Michael Bublé CD in the case of an urban bear.
The following audio clip contains a fact file providing more details about bear mating rituals, along with samples and quotes from experts. You can also access a text transcript of the audio clip.
 With their sniffing little noses and their bad attitudes, they can sure be a menace — I was thinking of putting them all in a truck and driving them outta here. I run a zoo, you know.


Annotation Property: mediator
http://purl.org/dc/terms/mediator
Annotations (7)
-
description "In an educational context, a mediator might be a parent, teacher, teaching assistant, or care-giver." (en-us)
-
hasVersion http://dublincore.org/usage/terms/history/#mediator-003
-
issued "2001-05-21" ()
-
modified "2008-01-14" ()
-
comment "An entity that mediates access to the resource and for whom the resource is intended or useful." (en-us)
-
isDefinedBy http://purl.org/dc/terms/
-
label "Mediator" (en-us)
Superproperties (1)
Usage (1)


The Golden Age of Kali Yuga
Vaibhav Gautam
October 2020
We all are living in an age that is supposed to be the last Yuga, Kali Yuga. It is said that there are four different yugas. The First Yuga was Satya yuga. During this yuga the morals were high and everyone respected each other. People had pure souls and there was harmony and peace everywhere. People in this yuga performed good deeds and there were no such things as hate, jealousy, greed, anger, deceit and evil.
In this era, the Supreme Lord, Sri Maha Vishnu, took the first four of his avatars, namely, Matsya (the Fish), Kurma (the Tortoise), Varaha (the Boar) and Narasimha (the Half-Man Half-Lion form). The Treta Yuga is the second of four Yugas and it's beginning marks the ending of Satya Yuga.This is the era when Lord Vishnu took avatars like Vamana Avatara, Parshuram Avatara and Lord Rama Avatara. As evident from the stories we know related to these avatars, there was some evil introduced in this era.
There was also a decline in Dharma which worsened in the next Yuga, Dwapara Yuga. This Yuga is the third Yuga and Krishna Avatar of Lord Vishnu physically existed in this Yuga. This Yuga saw a very steep decline in Dharma and Morals and there are many stories of this yuga that supports this fact. It is also believed that the caste system came into existence during this Yuga and discrimination between people started.Higher class people gave no attention and support to lower caste people and they were often treated in bad ways. Violence also emerged in this age and people started having a competitive nature. Greed and Jealousy were common among people. Events tat took place during Mahabharata clearly shows that how a war started within a family and how it took so many lives. All the acts of injustice that took place during the end of Dwapara Yuga brought down the level of Dharma. Now you might have noticed a pattern here. With each age the level of Dharma decreases and now this is the final age, Kali Yuga.
This is the worst of them all. It is believed that when Lord Krishna left his Physical Form in Dwapara Yuga, Kali Yuga started. I don't have to tell you much about this Yuga as we all are experiencing everything going on in this Yuga both physically and mentally. There are acts of violence taking place very frequently. Every day we read newspapers or watch news channels on our TVs, we come to realize that the world is getting more and more cruel.
At last !
At the end of this Yuga, the Purana states, Kalki would return to battle with the dark forces on earth. And this period is believed to be the Golden Age of Kali Yuga. After this, situation will get even more worse. People will commit evil deeds, knowledge will be lost and morals will perish. The First 10,000 years are said to be the Golden age of Kali Yuga and at least 4,000 years have already passed.
We all should perform good deeds and should never indulge ourselves in wrong activities. This way we can make sure that we will get rid of continuous life cycle and will finally attain Moksha. Many people will agree and may disagree. But that is the beauty of it, no one can disagree that we should perform good deeds, help others, bring positivity and stay away from bad company and influence. Whether you’re a believer or not, you will surely see the importance of these Yugas and what they teach us.


To unlock the true power of this meta, you're going to have to do some pretty unlikely things to your answers.
- Interpret the answer as cryptic crossword wordplay
- Remove the antepenultimate letter, then swap the penultimate and final letters
- Swap the first two letters, then insert a biblical abbreviation between the second and third letter
- Remove the first letter, insert an N into the (new) fourth position, then replace the penultimate letter with a Best Picture nominee from 2015 or later
- Insert a state abbreviation in the exact middle of the answer (coincidentally, the answer already ends in a state abbreviation)
- Replace the answer with the word immediately following it in a Beatles song title
- Replace the name of a band with its most famous drummer
- Add caramel (or switch from an American trade name to its global equivalent)
- Replace a company with (arguably) its most successful product, the one released in 2017 (and fix the spelling)
- Replace an untruth in the answer with the letter U
- Spell it backwards, then delete every other letter (starting with the first)
- Encode the answer with ROT-14
Sort each column from least to most specific.


Although I had never before tried Salvia I had read enough experience reports and talked to enough people that I was curious. So on New Year's eve, after much debate, E and myself hung out at his house, played some cool music, and tried some of my 5x Salivia.
The Salvia came in a black leaf which smelled a bit like tea and had a similar consistency. I sat down on the bed, filled my pipe about 1/3 full, and took it all in one big hit. It really didn't do much to me, so after waiting about 5 minutes, I took another 1/3 hit.
Immediately after the second hit I could feel my heart starting to pulse. I could feel sense it squeezing and the blood pumping through my chest into my extremities. I lay down and waves of sensation passed over me, but the predominant feeling was mainly the mild physical discomfort in my chest. At no time did I ever panic or feel like I was out of control. I remained quite lucid and aware that I had taken a drug. Overall it was similar to a bit of a sketchy acid trip though without the fear.
After about 5 minutes the main sensation wore off, and after 20 I really didn't feel much beyond the Pot I had smoked earlier.
My friend tried a similar dosage (2/3 of a small bowl). He really didn't experience much and after 20 minutes declared it a dud. At this stage, since neither of us had experienced the overwhelming sensations we were hoping for, so we decided to try one more hit with the promise that if that didn't do it we would try again some other time rather then continuing to take more.
I packed the pipe about 3/4 full this time and took it all in in one enormous breath. As I put the pipe down I could feel my legs start to melt into the bed. As I wiggled my feet I could feel waves of sensation travelling through my entire body. I could feel my feet flowing into the blanket and over the edges of the bed. My body felt fabulous, and I basically lay writhing in ecstasy while waves of sensation swept through me.
When the sensation started to fade I moved to the mirror and looked into it. I could see myself from many different perspectives. I looked old, with many wrinkles, and then young, with smoother skin. Gaunt, and then handsome, and then, strangely surreal. I could also conceptualize the actions in my life from multiple perspectives. I could see how something I did would look absurd to somebody else, and then suddely how the same thing made sense. Every time I'd look at an action I could take in my life I'd find ways it could be misinterpreted and have the opposite effect of what I wanted. I realized that the best thing for me to do would be to do what I though was right without second guessing how people might misinterpret it.
The strongest sensations lasted about 10 minutes, with residual effects for 45 minutes. The residual effects were brought on more strongly by smoking some Marijuana. After about 45 minutes I really didn't feel anything beyond the pot stone. My friend again got no effect from his second dose although he did report about 30 seconds of weird body load.
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.


Game Dialogs
This section describes all custom dialogs created by Hexkit.
- About Hexkit shows some basic program information.
- About Scenario shows basic information on the current scenario and its graphical tileset.
- Attack Site and Attack From Site allow you to plan an attack on a map site.
- Build Entities allows you to build new units, terrains, and upgrades.
- Change E-mail allows you to change a human player’s e-mail address.
- Change Turn allows you to change the turn index for a given action.
- Create Session shows the progress made on the creation of a new game session.
- Command History shows all commands that were executed in the current game.
- Entity Classes shows all entity classes (units, terrains, effects, and upgrades) in the current scenario.
- Event History shows the history of all factions and entities in the current game, including those that were already eliminated.
- Event Message shows messages related to important game events, such as faction defeat or victory.
- Faction Entities shows all units, terrains, and upgrades owned by a specific faction, and allows you to rename, place, and destroy your faction’s entities.
- Faction Ranking ranks all factions in the game by their current and historical possessions.
- Faction Status shows various information on all factions in the current game.
- Move Units allows you to move units to another map site.
- Placement Sites shows all placement sites for the entity classes available to a specific faction.
- Player Setup allows you to assign players to factions and to change the properties of all players.
- Rename Entity allows you to rename a unit, terrain, or upgrade.
- Show Gauges allows you to select a unit resource to show in depletion gauges on the map view.
- Show Variable allows you to select an attribute or resource whose values are shown on the map view.
- Variables shows all numerical variables (attributes and resources) in the current scenario.
Remarks
1. Press F1 or click the Help button while a dialog is active to bring up its help page.
2. Most dialogs may be resized or maximized as desired, just like the Hexkit Game window.
3. The standard Windows “Open” and “Save” dialogs are not described in this online help. As they are not controlled by Hexkit, they may offer different help facilities or none at all.


YouTube
Auto Like
You can opt out of notification update from option menu !
What's new :
Update to new Youtube grid layout.
Feel free to report any bug on
Github
.
Feel free to grab me a beer 😊
Donate
Credits
Austencm
JKetelaar
Szmyk
DeadSix27
Hulan
C4H7Cl2O4P
Alexandre Pennetier
msmafra
Plunts
GitMoleo
Babico


This is a prototype for a program that automatically writes music. Click the "Help" button to get started.
For more info, check out the project wiki and repository
for the project.
Also, feel free to check out the documentation and test page.
This is a work in progress, so you may spot some weird behaviour here and there. For the best experience:
You'll want to keep the chord progressions short. According to my numbers from the test page, the app will attempt to generate around 390,000 melodies if you give it 8 three-note chords. If you give it 8 four-note chords, it'll try to generate around 3.7 million melodies.
What happens if you enter way too many chords? You'll just see your browser slow to a crawl. :)


Hooks are endpoints for 3rd party services (and scripts) capable of making a HTTP POST request. Hooks receive messages, which are then formatted and forwarded to IRC channels.
{% if not project.hooks.count() %}
You haven't created any hooks yet for this project.
{% else %}
| Service Name | Hook URL | Created | Messages | |
|---|---|---|---|---|
| {{ hook.hook.SERVICE_NAME }} | {% if hook.absolute_url() %} {% else %} {% endif %} Link | {{ hook.created.strftime("%Y-%m-%d") }} | {{ hook.message_count }} |


Disapainted.com is a web application for creating pivot animations online. Pivot animations are funny 2D stick-man animations, which you easily create by dragging stick figure handles. This web app is heavily inspired by Pivot Animator desktop application.
Interestingly, Disapainted is completely open source and you can find its source code on GitHub. Anyone is more than welcome to contribute!
I'd also like to express infinite thanks to following open source technologies, which were used to build Disapainted


Getting Started
The main functionality of DRpy has 3 main topics:
Download GPM-DPR Data
Read GPM-DPR
Plot GPM-DPR data
1. Download Data
One of the major hurtles to using GPM-DPR data is downloading the data. Before you can do anything you have to go sign up to access the data server here: PPS Registration. Signing up is free. The purpose of it is to keep statistics of the people using the data. This is usually used at NASA headquarter meetings to show how valuable the GPM-DPR data are and keep the mission funded. So please go sign up. You also get helpful emails occasionally about data issues or satellite issues.
Once you have signed up, you can access the ftps pages through your browser by entering the email you signed up with as the username and the password. There are two ftp pages for GPM-DPR data:
Near real time (~ 1-2 hour delay) jsimpsonhttps.pps.eosdis.nasa.gov
Research (~ 24 hour delay). arthurhouhttps.pps.eosdis.nasa.gov
The purpose of the two servers is to give users both a low latency option with a larger risk of the data errors and a day late high-quality research product. Side note, both are named after pioneers for the TRMM (Dr. Joanne Simpson) and GPM (Dr. Arthur Hou) missions.
If you navigate to either of these servers, you will see a bunch of files with filenames that seem intially like incoherent non-sense.
Thus the first main perk of DRpy
is the ability to find and download a file based on the time the data were collected.
In the future, a planned functionality of DRpy
will be able to go and grab all files that span a time range, but right now it only
supports 1 file at a time [which is used for case study plots].
Finding the time
The quickest method find a time and place of interesting data is to use JAXA’s near-realtime website: GPM RealTime Monitor This site is amazing and provides a map of the near-surface rain rate from the GPM-DPR retrieval.
Below is a .gif of me doing just that. Find a place that looks interesting, and turn on the “Observation Time” toggle to locate a time and place you want to download.
This website has the near-surface rain rate for ALL of the data. So feel free to select a different day. I usually select a date from the dropdowns rather than using the prev. next buttons because those can freeze up.
Now that we have located a time of interest, lets actually use DRpy
. That brings us to the io
module of DRpy
.
This module is tasked with scraping the text files off of the ftps servers and allowing us to grab the 1 file that matches
the time we want.
import pandas as pd
import drpy
dtime = pd.to_datetime('2022/02/20 00:54:00')
io = drpy.io.netrunner(servername='Research',username='username@email.com',start_time=dtime)
Once you run that code, it will print out the file it is downloading, like this:
Downloading: https://arthurhouhttps.pps.eosdis.nasa.gov/text/gpmdata/2022/02/20/radar/2A.GPM.DPR.V9-20211125.20220220-S003549-E020820.045337.V07A.HDF5
Note that sometimes the early day files (0000 - 0100) can end up in the previous days folder. Right now I do not have it coded to search the previous day’s dir, so please just adjust your date to one day prior for now.
2. Read GPM-DPR Data
Now that you have some DPR files, here is an example of how to load them with DRpy
. We will use
the core method of GPMDPR. All you need to supply is the filename/path of the file of interest and it
will (lazily) load ALL modules of the hdf into an xarray dataset. It stores this data in dpr.ds
dpr = drpy.core.GPMDPR(filename=io.filename[0][-64:])
dpr.ds
if you are using Jupyter to do this, you might see something like this
All 96 variables here are from the original hdf file. If you need more information on what each one of the variables are, please see the File Specificatiom (Iguchi et al. 2021a). I know that this document is quite dense, so the easiest thing is probably to ctrl+f the document and search the variable you are curious about. In future versions of the docs, I will have more examples plotting various variables in this file.
If you are interested in the science behind any one variable, see the Algorithm Theoretical Basis Document (ATBD, Iguchi et al. 2021b).
3. Plot GPM-DPR Data
As part of DRpy
I have made a fun tool that makes case study plots like the one above. To make this graph you
need to use the graph module called drpy.graph.case_study()
. The .case_study
method takes the filename
and the center lat/lon of the map you want to show on the right. The easiest way is to copy the lat and lon
values from the same waypoint of the near-real-time site where you got the time. Here is an example
center_lat = -17.489
center_lon = 56.181
c = drpy.graph.case_study(filename=io.filename[0][-64:],center_lat=center_lat,center_lon=center_lon)
Now that the case_study object is made, you can plot it up using the default parameters like this:
c.plotter_along()
The resulting image will look like this:
There is added functionality to this case_study method, but this is the getting started docs page. In the future there will be additional docs pages to help change the default plot.


Secured Decentralised communication Using Blockchain
An Anonymous Messanger Powered by Ethereum
Get Started


Tab Panel - Semantic UI
Navigate using arrow keys
Before
First
Second
Third
First
Second
Third
After
First
Second
Third
First
Second
Third


PDF Export with status
This is an example of generating a PDF from a page and displaying some status
Print PDF
Downloading PDF...


The content item currently displayed represents an event in KiWi's event ontology. Below you can find a visual representation of the event in the form of a calendar. Clicking on "edit" gives you the option to update the time information as desired.


Brain scans reveal how the human brain compensates when one hemisphere is removed
| Source: | Cell Press |
| Summary: | Researchers studying six adults who had one of their brain hemispheres removed during childhood to reduce epileptic seizures found that the remaining half of the brain formed unusually strong connections between different functional brain networks, which potentially help the body to function as if the brain were intact. |
Researchers studying six adults who had one of their brain hemispheres removed during childhood to reduce epileptic seizures found that the remaining half of the brain formed unusually strong connections between different functional brain networks, which potentially help the body to function as if the brain were intact. The case study, which investigates brain function in these individuals with hemispherectomy, appears November 19 in the journal Cell Reports.
"The people with hemispherectomies that we studied were remarkably high functioning. They have intact language skills; when I put them in the scanner we made small talk, just like the hundreds of other individuals I have scanned," says first author Dorit Kliemann, a post-doc at the California Institute of Technology. "You can almost forget their condition when you meet them for the first time. When I sit in front of the computer and see these MRI images showing only half a brain, I still marvel that the images are coming from the same human being who I just saw talking and walking and who has chosen to devote his or her time to research."
Study participants, including six adults with childhood hemispherectomy and six controls, were instructed to lay down in an fMRI machine, relax, and try not to fall asleep while the researchers tracked spontaneous brain activity at rest. The researchers looked at networks of brain regions known to control things like vision, movement, emotion, and cognition. They also compared the data collected at the Caltech Brain Imaging Center against a database of about 1,500 typical brains from the Brain Genomics Superstruct Project.
They thought they might find weaker connections within particular networks in the people with only one hemisphere, since many of those networks usually involve both hemispheres of the brain in people with typical brains. Instead, they found surprisingly normal global connectivity — and stronger connections than controls between different networks.
All six of the participants were in their 20s and early 30s during the study, but they ranged from 3 months old to 11 years old at the time of their hemispherectomies. The wide range of ages at which they had the surgeries allowed the researchers to home in on how the brain reorganizes itself when injured. "It can help us examine how brain organization is possible in very different cases of hemispherectomy patients, which will allow us to better understand general brain mechanisms," says Kliemann.
Moving forward, the hemispherectomy research program at Caltech, led by Lynn Paul (senior research scientist and principal investigator) in the laboratory of Ralph Adolphs (Bren Professor of Psychology, Neuroscience, and Biology and the director of the Caltech Brain Imaging Center) hopes to replicate and expand this study in order to better understand how the brain develops, organizes itself, and functions in individuals with a broad range of brain atypicalities.
 "We're trying to understand the principles of brain reorganization that can lead to compensation. Maybe down the line, that work can inform targeted intervention strategies and different outcome scenarios to help more people with brain injuries."
make a difference: sponsored opportunity
Story Source:
Materials provided by Cell Press.
Note: Content may be edited for style and length.
Journal Reference:
- Dorit Kliemann, Ralph Adolphs, J. Michael Tyszka, Bruce Fischl, B.T. Thomas Yeo, Remya Nair, Julien Dubois, Lynn K. Paul. Intrinsic Functional Connectivity of the Brain in Adults with a Single Cerebral Hemisphere. Cell Reports, 2019; 29 (8): 2398 DOI: 10.1016/j.celrep.2019.10.067
Cite This Page:
| MLA | Cell Press. "Brain scans reveal how the human brain compensates when one hemisphere is removed." ScienceDaily. ScienceDaily, 20 November 2019. <www.sciencedaily.com/releases/2019/11/191120070710.htm>. |
| APA | Cell Press. (2019, November 20). Brain scans reveal how the human brain compensates when one hemisphere is removed. ScienceDaily. Retrieved November 20, 2019 from www.sciencedaily.com/releases/2019/11/191120070710.htm |
| Chicago | Cell Press. "Brain scans reveal how the human brain compensates when one hemisphere is removed." ScienceDaily. www.sciencedaily.com/releases/2019/11/191120070710.htm (accessed November 20, 2019). |


CODEIN COMMUNITY
Home
About
Events
Team
Contact
CodeIN Community is the Community of
Coding Enthusiasts
Where we share Resources, Roadmaps to learn different technologies.
We organize events on different technologies.
Join on Discord


egta.bootstrap module¶
module for bootstrapping regret and surplus
-
egta.bootstrap.
deviation_payoffs
(sched, mix, num, *, boots=0, chunk_size=None)[source]¶ Bootstrap deviation payoffs
Parameters: - prof_sched (Scheduler) – The scheduler to sample profiles from.
- mix (ndarray) – The mixture to calculate the regret of.
- num (int) – The number of samples to gather. Must be positive.
- boots (int, optional) – The number of bootstrap samples to take. The accuracy of bootstrap is independent of this number, but more will reduce the variance of the underlying confidence bounds. The default will compute no bootstrap gains.
- chunk_size (int, optional) – An implementation detail specifying how frequently profiles are scheduled since this algorithm inherently operates in a streaming manner. Ideally this number should be set such that the time to schedule and process chunk_size roughly equals the time for one simulation. It also controls how much memory this uses. By default this is set to ten times the number of bootstraps, or 1000 if no bootstraps are requested.
Notes
This uses memory on the order of boots + chunk_size. It is inefficient if num is less than boots.
Returns: - mean_gains (ndarray (num_strats,)) – The mean deviation payoffs from the mixture.
- boot_gains (ndarray (boots, num_strats)) – The deviation payoffs for each bootstrap sample.


Some quick example text to build on the card title and make up the bulk of the card's content.
Add a Book Remove a Book


Facebook helps you connect and share with the people in your life.
It's free and always will be.
By clicking Sign Up, you agree to our Terms, Data Policy and Cookie Policy. You may receive SMS notifications from us and can opt out at any time.
Create a Page for a celebrity, band or business.


NEW
John Doe30 min
New ticket Added
EARLIER
Joseph William30 min
Purchase New Theme and make payment
Sara Soudein30 min
currently login


DNS hardware requirements have traditionally been quite modest. For many installations, servers that have been pensioned off from active duty have performed admirably as DNS servers.
The DNSSEC and IPv6 features of BIND 9 may prove to be quite CPU intensive however, so organizations that make heavy use of these features may wish to consider larger systems for these applications. BIND 9 is now fully multithreaded, allowing full utilization of multiprocessor systems for installations that need it.
CPU requirements for BIND 9 range from i486-class machines for serving of static zones without caching, to enterprise-class machines if you intend to process many dynamic updates and DNSSEC signed zones, serving many thousands of queries per second.
The memory of the server has to be large enough to fit the cache and zones loaded off disk. The max-cache-size option can be used to limit the amount of memory used by the cache, at the expense of reducing cache hit rates and causing more DNS traffic. It is still good practice to have enough memory to load all zone and cache data into memory — unfortunately, the best way to determine this for a given installation is to watch the nameserver in operation. After a few weeks the server process should reach a relatively stable size where entries are expiring from the cache as fast as they are being inserted. Ideally, the resource limits should be set higher than this stable size.
For nameserver intensive environments, there are two alternative configurations that may be used. The first is where clients and any second-level internal nameservers query a main nameserver, which has enough memory to build a large cache. This approach minimizes the bandwidth used by external name lookups. The second alternative is to set up second-level internal nameservers to make queries independently. In this configuration, none of the individual machines needs to have as much memory or CPU power as in the first alternative, but this has the disadvantage of making many more external queries, as none of the nameservers share their cached data.
ISC BIND 9 compiles and runs on the following operating systems:
IBM AIX 4.3
Compaq Digital/Tru64 UNIX 4.0D
Compaq Digital/Tru64 UNIX 5 (with IPv6 EAK)
HP HP-UX 11
IRIX64 6.5
Sun Solaris 2.6, 7, 8
NetBSD 1.5 (with unproven-pthreads 0.17)
FreeBSD 3.4-STABLE, 3.5, 4.0, 4.1
Red Hat Linux 6.0, 6.1, 6.2, 7.0


Asian equities struggled to emulate Wall Street's rebound yesterday as persistent worries abt the global economic recovery kept investors cautious, while ebbing inflation expectations helped the U.S. $ to a 2-M high. Wall Street's rebound was led by a 1.7% gain in the Nasdaq as a broker upgrade lifted Amazon shares by nearly 6%. However, overall global mkts have been kept under chk with China-U.S. tensions simmering, Britain re-imposing some curbs on restaurants to try & head off a 2nd wave of coronavirus infections while the U.S. election campaign seems to be distracting Congress fm passing further aid bills. In commodities, oil prices slipped after a surprise rise in U.S. crude inventories. Brent trades arnd $41/bl currently. India’s equities fell for a 4th straight day, with investors continued piling into IT & Pharma stocks that are considered relatively insulated fm the country’s gloomy economic outlook. The Nifty50 index closed dn 97 pts, or 0.86%. Maruti & LT (both dn arnd 3%) were among the top Nifty losers. On the other hand, IT heavyweights - HCL Tech, Tech Mahindra & TCS gained over 2%. Amongst the broader mkt, GMM slipped 10% aftr fixing OFS price at a significant discount. Route Mobile gained 7% as Goldman Sachs, Kuwait Investment Authority picked stake. India & China ystrdy said they had agreed to strengthen communication, refrain fm sending more troops to the border & avoid actions that wud worsen tensions b/w the 2 countries. Separately, Lok Sabha ystrdy passed 3 imp labour codes that shall cheer industries & allow them flexibility in hiring & retrenchment, make industrial strikes difficult, facilitate ease of doing business & help expand social security net for informal workers. The Lok Sabha is likely to be adjourned sine die tdy, 8 days ahead of the scheduled end of the Monsoon Session, amid concerns of spread of coronavirus among lawmakers. Seperately, Rating agency ICRA suggested India's current a/c will swing to a surplus of $30 bn or 1.2% of GDP in FY21, due to slowdown in imports during the pandemic. Going ahead, mkts likely to be driven by global cues, in addition to expiry effect. SGX Nifty indicates flattish opening for Nifty today. Quote of the Day : The shape of the economic recovery could resemble the alphabet K and not V, W, S or L—meaning growth trends can’t be generalised....We are living in the world where certainty is continuity of uncertainty....Companies that will survive this pandemic will revive and thrive in the post pandemic world" - Navneet Munoth Key corporate developments/policy actions: 1. The SP Grp ystrdy told the SC that it wud exit from Tata Sons provided it gets an early & a fair, equitable solution. The SP grp owns 18.5% stake in Tata Sons. 2. RIL is in talks with domestic assemblers to make a version of its Jio phone that wud run on Google’s Android & cost ~Rs. 4k ($54). Separately, R Jio Infocomm unveiled postpaid plans, bundling up to 500 GB of data and subscription to Netflix, Amazon Prime & Disney+ Hotstar and will have monthly tariffs ranging from Rs 399-1,499 suggesting stiff price war impacting the other telecom incumbents. 3. KKR to invest Rs 5,550 cr for a 1.28% stake in Reliance Retail Ventures; valuing it at a pre-money eq value of Rs 4.21 lakh cr 4. GMM Pfaudler (GMM) promoters (Pfaudler Inc, Millars Machinery & Urmi Patel) proposes to sell upto 30 lacs shares at a floor price of Rs3500/share (discount of ~33.2% to day before ystrdy's closing price). The OFS for non-retail investors was subscribed 120x at an indicative price of Rs3520/share ystrdy (Sept 22) and the subscriptionis open for retail investors today (Sept 23) – Subscribe for Long term. 5. Sebi debars 12 DHFL promoters for frauds causing ₹17,000-cr impact on accts 6. Chemcon Speciality Chemicals – at the end of Day 2 was subscribed 12.7x; of which retail portion was subscribed 23x - SUBSCRIBE 7. CAMS – at the end of Day 2 was subscribed 1.93x. - SUBSCRIBE 8. Angel Broking - at the end of Day 1 was subscribed 0.77x - AVOID Fund Flow: FII: (-) Rs. 20.73bn; DII : (+) Rs.8.79bn Stocks to focus : Large Cap : Bajaj Finance, HDFC Bank, HUL, ICICI Pru, ICICI Lombard, KMB, Divis Lab, Maruti, Nestle. Mid Cap : Abbott, Aegis Chem, Alembic Pharma, Amber, Dalmia Bharat, Laurus Lab, Godrej Properties, Metropolis, Polycab, Westlife.


Input Power Supply Monitoring API
The IPS API is used to get monitoring information related to the platform voltage input and set warning and critical thresholds.
IPC interfaces binding
All the functions of this API are provided by the modemService.
Here's a code sample binding to modem services:
bindings: { clientExe.clientComponent.le_ips -> modemService.le_ips }
Power Supply Monitoring
This functionality allows to retrieve the Platform input voltage in [mV], so that the application can use the information to diagnose why the modem isn't fully functioning.
le_ips_GetInputVoltage() API allows the application to retrieve the Platform voltage input.
Input voltage Thresholds
- Warning
- When a Critical event occurs, some platform may automatically switch off.
- On some platforms, the thresholds parameters are persistent and a Platform reboot is required for thresholds change takes effect.
Four Thresholds are set to decide the state: the critical, warning, the normal and the high critical Platform input voltage thresholds.
if the Platform input voltage decreases below the:
- "High Critical Threshold - 1 " but still higher than "Warning Threshold",
LE_IPS_VOLTAGE_NORMAL
event occurs. - "Warning Threshold" but still higher than "Critical Threshold",
LE_IPS_VOLTAGE_WARNING
event occurs. - "Critical Threshold", a
LE_IPS_VOLTAGE_CRITICAL
event occurs.
if the Platform input voltage goes up and it reaches the :
- "Normal threshold", a
LE_IPS_VOLTAGE_NORMAL
event occurs. - "High critical thresholds", a
LE_IPS_HI_VOLTAGE_CRITICAL
event occurs.
- Note
- The threshold values range is platform dependent.
- le_ips_SetVoltageThresholds() API allows the application to set Platform input voltage thresholds.
- le_ips_GetVoltageThresholds() API allows the application to get Platform input voltage thresholds.
- le_ips_AddThresholdEventHandler() API adds a handler to notify when the Platform input voltage threshold is reached.
- le_ips_RemoveThresholdEventHandler() API removes the Platform input voltage handler.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.


AGAINST THE WALL (1994) A Film Review Copyright Dragan Antulov 1999
New generations who watch Al Pacino chanting "Attica! Attica!" in DOG DAY AFTERNOON, are probably less aware what those words mean than the audience in early 1970s. For those who used to be around in those times, word "Attica" is forever associated with the great prison riot in 1971, tragic event that traumatised the American nation in the very same way Waco, Oklahoma City bombing and school shootings are doing today. Hollywood simply ignored that events, same as those events are ignored now, and left to the professional yet routine treatment of television industry. In case of Attica, it happened with the ATTICA, 1980 television movie directed by Marvin Chomsky. The author of this review used to watch this movie long time ago, and it was very impressed with it. Fourteen years later, HBO made a cable version of those events, directed by John Frankenheimer, director who had made reputation by making great political thrillers in 1960s and 1970s.
The story is told from the perspective of Michael Smith (Kyle MacLachlan), young man from Attica, New York, who follows the family tradition and becomes the guard in nearby State prison, nicknamed "The Factory" by the local population. However, unlike his predecessors, including his father (Harry Dean Stanton), retired guard who now owns the bar, Smith is the product of its generation - idealistic, liberal and open for new ideas. Soon, he is shocked to find that the prison is run like nothing has changed outside the walls.  Smith is, on the other hand, aware that it can't go for long. The inmates, mostly blacks like Jamaal (Samuel L. Jackson) are convinced that they too should have some new political and other freedoms that the rest of country enjoys under the reforms. The anger and discontent explodes in the violent outburst that would leave scores of prison guards, including Smith, as hostages.
Technically, the movie is well-done. The acting is superb, which isn't so hard to imagine with excellent character actors like Forrest, MacLachlan, Jackson, Stanton and Clarence Williams III (playing prisoner Chaka) around. Also, the grey photography of John R. Leonetti provides a lot of gloomy atmosphere, that was essential for this kind of picture. Unfortunately, Frankenheimer in later years continues with the series of bland and forgettable movies that undermine his reputation, and AGAINST THE WALL is not an exception. It happened mostly because of screenplay; Ron Hutchinson wrote characters less like a living and breathing people, and more like a symbols. So, the division between the guards and inmates seem somewhat artificial, same as the use of "good vs. bad" stereotypes in characterisation (most notable in confronting Smith with Maclachlan, and Jaamal with Chaka). Also, the film is too didactic - the characters keep telling to each other and audience that the times are changing, instead of leaving that task to the director. The ending of the film, with its "symbolic" message being spelled out, is even worse. However, despite those serious flaws, and despite the fact that the Attica prison riot deserved somewhat better depiction, the movie serves its purpose simply by showing that dark chapter of American history to the audience of today.
RATING: 5/10 (++)
Review written on May 22nd 1999
Dragan Antulov a.k.a. Drax Fido: 2:381/100 E-mail<EMAIL_ADDRESS>E-mail<EMAIL_ADDRESS>E-mail<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


WITNESS LIST Energy Resources Committee April 15, 1997-10:30A HB 2460 For: Representative Garcia (himself) HB 3162 On: Debra J. Williams (Railroad Commission of) HB 3471 On: Tobin Harvey (SECO/GENERAL SERVICES C) SB 632 For: Representative Chisum (Himself) On: Leslie Savage (Railroad Commission of) SB 635 On: John Tinera (Railroad Commission of) SB 639 On: Donna Burks (Railroad Commission of)


{{post.user.username}}
{{post.user.created_on}}
{{ post.caption }}
{{ post.number_of_likes }} likes this
{{ comment.user.username }}[{{ comment.created_on }}]: {{ comment.comment_text }}
{{ comment.number_of_likes }}
{% endfor %}{% extends 'base.html' %} {% block title %} Feed | Kids Zone {% endblock %} {% block user-status %}
{{ post.number_of_likes }} likes this
{{ comment.user.username }}[{{ comment.created_on }}]: {{ comment.comment_text }}
{{ comment.number_of_likes }}
{% endfor %}


#!/usr/bin/env python # -*- coding: utf-8 -*- """ requests.certs ~~~~~~~~~~~~~~ This module returns the preferred default CA certificate bundle. There is only one — the one from the certifi package. If you are packaging Requests, e.g., for a Linux distribution or a managed environment, you can change the definition of where() to return a separately packaged CA bundle. """ from pip._vendor.certifi import where if __name__ == '__main__': print(where())


WITNESS LIST Economic Development Committee February 5, 2002-10:00A Charge # 1 On: Davis, Ken (American Electronics Association (AeA)) Ehrie, Wm. (Bill) J. (Texas Defense, Aviation, & Aerospace Alliance (TDAAA)) Horton, Jim (San Jacinto College) Kester, Steve (American Electronics Association (AeA)) Klusendorf, Roy (Oceaneering Space Systems) Kowalski, Thomas (Texas Healthcare & Bioscience Institute) Kropp, Tim (Self) Pinkus, David (Small Business United) Reed, Cassie Carlson (Texas Workforce Commission) Reinhartsen, Jim (Clear Lake Area Economic Development Foundation (CLAEDF)) Schwab, Carlton (Tecxas Economic Development Council) Sera, Gary (Texas Engineering Extension Service (TEEX)) Charge # 2 On: Bearden, Bob (Texas Comptroller of Public Accounts) Davis, Eric (Texas Economic Development Sales Tax Association (TEDSTA)/Texas Economic Development Council (TEDC)) Davis, Ken (American Electronics Association (AeA)) Ehrie, Wm. (Bill) J. (Texas Defense, Aviation, & Aerospace Alliance (TDAAA)) Kester, Steve (American Electronics Association (AeA)) Klusendorf, Roy (Oceaneering Space Systems) Kowalski, Thomas (Texas Healthcare & Bioscience Institute) Kropp, Tim (Self) Moore, Jeff (Office of the Attoreny General) Nobles, Amanda (Texas Economic Development Sales Tax Association (TEDSTA)/Texas Economic Development Council (TEDC)) Pinkus, David (Small Business United) Reinhartsen, Jim (Clear Lake Area Economic Development Foundation (CLAEDF)) Schwab, Carlton (Tecxas Economic Development Council) Sera, Gary (Texas Engineering Extension Service (TEEX)) Charge # 3 On: Pinkus, David (Small Business United) Rath, Diane (Texas Workforce Commission) Charge # 4 On: Fuller, Cheryl (Texas Council on Workforce & Economic Competitiveness (TCWEC)) Martin, Daniel (Texas Department of Economic Development (TDED)) McDaniel, Tracey (Texas Department of Economic Development (TDED)) Moseley, Jeff (Texas Department of Economic Development (TDED)) Rector, Lee (Texas Skill Standards Board) Villarreal, Massy (Texas Department of Economic Development (TDED)) Economic Forecast On: LeBas, James (Texas Comptroller of Public Accounts) Warren, Ed (Texas Comptroller of Public Accounts)


Advertisers use a variety of online marketing channels to reach consumers and they want to know the degree each channel contributes to their marketing success. This is called the online multi-channel attribution problem. This package contains a probabilistic algorithm for the attribution problem. The model uses a k-order Markov representation to identify structural correlations in the customer journey data. The package also contains three heuristic algorithms (first-touch, last-touch and linear-touch approach) for the same problem. The algorithms are implemented in C++.
| Version: | 1.14 |
| Imports: | Rcpp (≥ 0.11.4) |
| LinkingTo: | Rcpp, RcppArmadillo |
| Published: | 2018-08-20 |
| Author: | Davide Altomare, David Loris |
| Maintainer: | Davide Altomare <davide.altomare at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | http://www.slideshare.net/adavide1982/markov-model-for-the-multichannel-attribution-problem http://www.lunametrics.com/blog/2016/06/30/marketing-channel-attribution-markov-models-r/ http://analyzecore.com/2016/08/03/attribution-model-r-part-1/ |
| NeedsCompilation: | yes |
| CRAN checks: | ChannelAttribution results |
| Reference manual: | ChannelAttribution.pdf |
| Package source: | ChannelAttribution_1.14.tar.gz |
| Windows binaries: | r-devel: ChannelAttribution_1.14.zip, r-release: ChannelAttribution_1.14.zip, r-oldrel: ChannelAttribution_1.14.zip |
| OS X binaries: | r-release: ChannelAttribution_1.14.tgz, r-oldrel: ChannelAttribution_1.14.tgz |
| Old sources: | ChannelAttribution archive |
| Reverse imports: | ChannelAttributionApp |
Please use the canonical form https://CRAN.R-project.org/package=ChannelAttribution to link to this page.


{% load render_nested %}
For preceding subchapters (A-B), see Title 42 Chapter IV in eCFR
{% for child in children %} {% render_nested "regulations/homepage/"|add:child.type|add:".html" "regulations/homepage/child.html" context=child title=title%} {% endfor %}


Blue tent in Lozells amid serious police incident - what we know so far
A tent was erected in a 999 alert on Lozells Street at around 4pm on Sunday, November 17
by James Rodger, https://www.facebook.com/jamesrodgerjournalistPolice and paramedics are on the scene at a Birmingham street tonight amid reports of a serious incident in the city.
A blue tent was erected in a 999 alert on Lozells Street, Lozells, with West Midlands Police officers and emergency service workers spotted at the scene from around 4pm.
Officers were working yards from a chemist, pictures from the scene showed.
The road was fully sealed off with a police patrol car and a van at the junction. A group of onlookers were standing at the cordon.
There were unconfirmed reports of a fight having broken out but there were no immediate confirmed details.
Follow live updates here.


Home
About Us
The Quest for for an Amazing Meal!
The Team
Jeremy McWilliams
Web UI
Eric Ferguson
Web UI
Jenny Li
Back-End
Robert Carter
Front-End
Brenda Joshua
Front-End
Terry Gleason
Front-End
Mackenzie Weber
Project Lead


Goodbye :(
Unfortunatly I have had to factory reset my computer due to a virus. I therefore lost all the game files. I no longer posess the sprites or tiles either. The backups were destroyed as well so I am saying goodbye to these games. Look out in the future for my new projects. If you have any suggestions for new projects write me at: tamcoglobal@gmail.com


Jaime Salamanca
Professional Certificate in Coding:
Full Stack Development with MERN
Bio
My vision and primary objective is to be able to create powerful solutions to tackle big problems in our society using technology.
Coding and Web Development are one of the most powerful tools to achieve this goal, that's why I enrolled into this program at MIT.
My two favorite quotes:
"Any sufficiently advanced technology is indistinguishable from magic." - Arthur Clarke
“The people who are crazy enough to think they can change the world, are the ones who do” - Steve Jobs
This is a practice exercise to learn how to biuld a basic animation.
The Pacman will change direction when it reaches the window limit
This is a practice exercise to learn how to build an interactive animation.
The eyes will follow the mouse location arround the screen
This is a practice exercise to learn how to fetch data from other websites.
The map shows the location for the busses in an Area of Boston


Display is required.
At least one role is required.
Email address is required.
Email address is invalid.
Password is required.
{{passwordError}}


|
MasterScan
Lab_Matlab_control Master Branch
|
A structured container for values and objects.
topsGroupedList is a general-purpose container for holding Matlab values and objects, which it calls "items". It has a two-tiered structure: you must add items to "groups" of related items, and you must give each item its own "mnemonic" which identifies it within a group.
Groups and mnemonics can be strings or numbers.  But it's more flexible and better organized than that.
One way it's more flexible is in the values that a group or mnemonic is allowed to have. Groups and mnemonics can use arbitrary strings, whereas structs cannot use strings that contain dots or spaces. Similarly, groups and mnemonics can have arbitrary numeric values, where as cell arrays must use positive integers.
There is one important constriant on groups and mnemonics: for each instance of topsGroupedList, all groups must be identified by either strings or numbers, but not a mixture of the two. Likewise, the mnemonics used in each group must be all strings or all numbers.
One way in which topsGroupedList is better organized than a random collection of structs and cell arrays is that you can always "ask" it what groups, mnemonics, and items it contains, and it knows where to look for them. You can also ask it if it contains a certain group, mnemonic, or item.
The big idea is that you can neatly list whatever data and objects you need for an experiment. As long as you give the list to your other functions and objects (as an argument, for example), they can access all of your stuff. Moreover, you can always view what's in your list by using its gui() method.
Protected Properties | |
| Property | groups = {} |
| cell array of strings or numbers for all list groups | |
| Property | length = 0 |
| number of items contained among all groups | |
| Property | allGroupsMap |
| containers.Map of data for each group | |
Methods | |
| self | topsGroupedList (varargin) |
| Constuct with name optional. More... | |
| fig | gui (self) |
| Open a GUI to view object details. More... | |
| p | guiPanel (self, varargin) |
| Make a topsGroupedListPanel with details about this object. | |
| addItemToGroupWithMnemonic (self, item, group, mnemonic) | |
| Add a new item to the list. More... | |
| removeItemFromGroup (self, item, group) | |
| Remove all instances of an item from a group. More... | |
| removeMnemonicFromGroup (self, mnemonic, group) | |
| Remove a mnemonic and its item from a group. More... | |
| removeGroup (self, group) | |
| Remove a whole group from the list. More... | |
| removeAllGroups (self) | |
| Remove a whole groups from the list. More... | |
| makeGroupFromList (self, groupName, list) | |
| Make a group from a cell array list of pairs: <string mnemonic>="">, | |
| mergeGroupsIntoGroup (self, sourceGroups, destinationGroup) | |
| Combine multiple groups into another group. More... | |
| item | getItemFromGroupWithMnemonic (self, group, mnemonic) |
| Get an item out of the list. More... | |
| varargout | subsref (self, info) |
| Get list items with {} syntax. More... | |
| self | subsasgn (self, info, value) |
| Add list items with {} syntax. More... | |
| n | numel (self, varargin) |
| Tell Matlab how many items to expect from {} syntax It's always 1. | |
| mnemonics | getAllMnemonicsFromGroup (self, group) |
| Get all mnemonics from a group. More... | |
| items mnemonics | getAllItemsFromGroup (self, group) |
| Get all items (and optionally all mnemonics) from a group. More... | |
| groupStruct | getAllItemsFromGroupAsStruct (self, group) |
| Get all items from a group, as a struct array. More... | |
| isContained | containsGroup (self, group) |
| Does the list contain the given group? More... | |
| matches isMatch | getGroupNamesMatchingExpression (self, expression) |
| Get string group names that match the given regular expression. More... | |
| isContained | containsMnemonicInGroup (self, mnemonic, group) |
| Does the list contain the given group and mnemonic? More... | |
| isContained | containsItemInGroup (self, item, group) |
| Does the list contain the given group and item? More... | |
| Methods inherited from topsFoundation | |
| self | topsFoundation (name) |
| Constuct with name optional. More... | |
| fig | gui (self) |
| Open a GUI to view object details. More... | |
| p | guiPanel (self, varargin) |
| Make a topsDetailPanel with details about this object. More... | |
Static Methods | |
| static isContained | mapContainsItem (map, item) |
| Does the containers.Map contain the given item? More... | |
| static groupList | createGroupFromList (groupName, list) |
| Convenient utility. | |
| Static Methods inherited from topsFoundation | |
| static c index | cellAdd (c, item, index) |
| Add an item to a cell array. More... | |
| static selector | cellContains (c, item) |
| Does a cell array conatin an item? More... | |
| static c | cellRemoveItem (c, item) |
| Remove an item from a cell array. More... | |
| static c | cellRemoveElement (c, index) |
| Remove indexed elements from a cell array. More... | |
| static index selector | findStructName (s, name) |
| Where is the given name in the given struct array? More... | |
Additional Inherited Members | |
| Properties and Events inherited from topsFoundation | |
| Property | name = '' |
| a string name to indentify the object | |
| Property | clockFunction =@topsClock |
| clock function, to standardize | |
| self topsGroupedList | ( | varargin | ) |
Constuct with name optional.
| name | optional name for this object |
If name is provided, assigns name to this object.
| fig gui | ( | self | ) |
Open a GUI to view object details.
Opens a new GUI with components suitable for viewing objects of this class. Returns a topsFigure object which contains the GUI.
| addItemToGroupWithMnemonic | ( | self | , |
| item | , | ||
| group | , | ||
| mnemonic | |||
| ) |
Add a new item to the list.
| item | any Matlab value or object |
| group | a string or number that identifies a group of related items |
| mnemonic | a string or number to identify this new item. If group and mnemonic are already in the list, then item will replace an older item. |
Note: for each topsGroupedList, group values must be all strings or all numbers. Likewise, for each group, mnemonics must be all strings or all numbers.
| removeItemFromGroup | ( | self | , |
| item | , | ||
| group | |||
| ) |
Remove all instances of an item from a group.
| item | the item to remove |
| group | the group from which item should be removed |
Searches group for items that isequal() to item. Removes all such items, along with their mnemonics.
This method is likely to be very slow. Use removeMnemonicFromGroup for better performance.
| removeMnemonicFromGroup | ( | self | , |
| mnemonic | , | ||
| group | |||
| ) |
Remove a mnemonic and its item from a group.
| mnemonic | the string or number identifying an item |
| group | the group from which mnemonic, and its item, should be removed |
Removes mnemonic and its item from group.
| removeGroup | ( | self | , |
| group | |||
| ) |
Remove a whole group from the list.
| group | the string or number identifying the group to remove |
Removes all mnemonics and items from group, then removes group itself from the list.
| removeAllGroups | ( | self | ) |
Remove a whole groups from the list.
Removes each item from each group, and each group itself, one at a time.
| mergeGroupsIntoGroup | ( | self | , |
| sourceGroups | , | ||
| destinationGroup | |||
| ) |
Combine multiple groups into another group.
| sourceGroups | cell array of strings or numbers identifying groups to be merged. |
| destinationGroup | string or number identifying a group that will receive all the mnemonics and items from all of the source groups. destinationGroup may exist already, or not. |
Merging groups will probably result in redundant items being stored in the list. For example, imagine merging source groups A and B into a new destination group C. All of the original items in A and B will then be held redundantly in C. The length of the list will increase, even though no new items were added. So you might wish to remove A and B after the merge.
An exception is when the destination group already exists and uses some of the same mnemonics as the source groups. In that case, an item from a source group will overwrite any item in the destination group that has the same mnemonic. Thus, meging group A into group A (itself) should have no effect.
Another exception is when the source groups share some mnemonics among them. In that case, groups listed later in soureGroups will win out, and their items will overwrite items from other groups that share the same mnemonics.
| item getItemFromGroupWithMnemonic | ( | self | , |
| group | , | ||
| mnemonic | |||
| ) |
Get an item out of the list.
| group | the group containing the desired item |
| mnemonic | the menemonic identifying the desired item |
Returns the item listed under group and mnemonic. If group isn't in the list, or doesn't contain mnemonic, returns [].
| varargout subsref | ( | self | , |
| info | |||
| ) |
Get list items with {} syntax.
For topsGroupedList l,
| self subsasgn | ( | self | , |
| info | , | ||
| value | |||
| ) |
Add list items with {} syntax.
For topsGroupedList l,
| mnemonics getAllMnemonicsFromGroup | ( | self | , |
| group | |||
| ) |
Get all mnemonics from a group.
| group | the group to get mnemonics for |
Returns a cell array containing all mnemonics from group, or {} if group isn't in the list. The mnemonics will be sorted alphabetically or numerically.
| items mnemonics getAllItemsFromGroup | ( | self | , |
| group | |||
| ) |
Get all items (and optionally all mnemonics) from a group.
| group | the group to get items for |
Returns a cell array of all items from group. If group isn't in the list, returns {}. Items will be sorted alphabetically or numerically, by mnemonic.
Optionally returns all mnemonics from group, as well.
| groupStruct getAllItemsFromGroupAsStruct | ( | self | , |
| group | |||
| ) |
Get all items from a group, as a struct array.
| group | the group to get items for |
Returns a struct array with one element per item in group. Each struct element has three fields:
If group isn't in the list, the struct array will have zero length.
| isContained containsGroup | ( | self | , |
| group | |||
| ) |
Does the list contain the given group?
| group | a string or number for a group that might be in the list |
Returns true if the list contains group. Otherwise returns false.
| matches isMatch getGroupNamesMatchingExpression | ( | self | , |
| expression | |||
| ) |
Get string group names that match the given regular expression.
| expression | a regular expression to match agains group names in the list |
Compares expression to the names of groups in the list. Returns a cell array of strings of group names that match expression. If the list uses numeric group names, returns an empty cell array.
Also returns as a second ouput a logical selector with one element per list group, set to true where a group matches expression.
Regular expressions are specially formatted strings used for matching patterns in other strings. See Matlab's builtin regexp() and "Regular Expressions" documentation.
| isContained containsMnemonicInGroup | ( | self | , |
| mnemonic | , | ||
| group | |||
| ) |
Does the list contain the given group and mnemonic?
| mnemonic | a string or number for a menemonic that might be in group |
| group | a string or number for a group that might be in the list |
Returns true if the list contains group and group contains mnemonic. Otherwise returns false.
| isContained containsItemInGroup | ( | self | , |
| item | , | ||
| group | |||
| ) |
Does the list contain the given group and item?
| item | a value or object that might be in group |
| group | a string or number for a group that might be in the list |
Searches group for any occurence of item. Returns true if the list contains group and group contains at least on item that isequal() to item. Otherwise returns false.
|
static |
Does the containers.Map contain the given item?
| map | an instance of containers.Map |
| item | a value or object that might be in the map |
Searches the map for the item. Returns true if any value in map isequal() to item. Otherwise returns false.


--- title: David Friedman's speech on market failure @ the 2010 Free State Project Liberty Forum layout: post ---
Definite must-watch.