|
ComparatorGen3_RK
|
#include <ComparatorGen3_RK.h>
Public Member Functions | |
| ComparatorGen3 & | withReferenceVoltage (ReferenceVoltage ref) |
| ComparatorGen3 & | withInput (pin_t pin) |
| Selects the analog input. More... | |
| ComparatorGen3 & | withInterruptMode (InterruptMode mode) |
| Sets the interrupt mode. More... | |
| ComparatorGen3 & | withHysteresis (bool enable) |
| Enable 50 mV hysteresis mode. Default is disabled. | |
| ComparatorGen3 & | withInterruptPriority (uint8_t priority) |
| Set the interrupt priority. Default is NRFX_LPCOMP_CONFIG_IRQ_PRIORITY (6). | |
| ComparatorGen3 & | withEnableOnInit (bool enable) |
| Whether to enable interrupts in init(). Default is true. | |
| ComparatorGen3 & | withEventCallback (std::function< void(nrf_lpcomp_event_t event)> eventCallback) |
| Specify the callback function to call. More... | |
| nrfx_err_t | init () |
| Initialize the LPCOMP module. More... | |
| void | enable () |
| Enable the LPCOMP interrupts. More... | |
| void | disable () |
| Disable the LPCOMP interrupts. | |
| void | uninit () |
| Disable interrupts and release the LPCOMP resources. | |
Static Public Member Functions | |
| static ComparatorGen3 & | instance () |
| Gets the singleton instance of this class, allocating it if necessary. More... | |
Protected Member Functions | |
| ComparatorGen3 () | |
| The constructor is protected because the class is a singleton. More... | |
| virtual | ~ComparatorGen3 () |
| The destructor is protected because the class is a singleton and cannot be deleted. | |
| ComparatorGen3 (const ComparatorGen3 &)=delete | |
| ComparatorGen3 & | operator= (const ComparatorGen3 &)=delete |
| nrf_lpcomp_input_t | particlePinToNRF (pin_t pin) const |
| Converts a Particle pin number (A1, for example) to a nrf_lpcomp_input_t. | |
Static Protected Member Functions | |
| static void | eventHandler (nrf_lpcomp_event_t event) |
| Passed to the nRF52 SDK init function. | |
Protected Attributes | |
| nrfx_lpcomp_config_t | config = NRFX_LPCOMP_DEFAULT_CONFIG |
| Configuration settings for LPCOMP. More... | |
| bool | enableOnInit = true |
| Whether to automatically call enable() after init (default: true) | |
| std::function< void(nrf_lpcomp_event_t event)> | eventCallback = 0 |
| Callback function. | |
Static Protected Attributes | |
| static ComparatorGen3 * | _instance |
| Singleton instance of this class. More... | |
This class is a singleton; you do not create one as a global, on the stack, or with new.
|
protected |
The constructor is protected because the class is a singleton.
Use ComparatorGen3::instance() to instantiate the singleton.
|
protecteddelete |
This class is a singleton and cannot be copied
| void ComparatorGen3::enable | ( | ) |
Enable the LPCOMP interrupts.
By default, they are automatically enabled on init() unless you call
| nrfx_err_t ComparatorGen3::init | ( | ) |
Initialize the LPCOMP module.
You must call the withXXX() methods before calling init()!
|
static |
Gets the singleton instance of this class, allocating it if necessary.
Use ComparatorGen3::instance() to instantiate the singleton.
|
protecteddelete |
This class is a singleton and cannot be copied
|
inline |
Specify the callback function to call.
It must have the prototype:
Event will be NRF_LPCOMP_EVENT_UP, NRF_LPCOMP_EVENT_DOWN, NRF_LPCOMP_EVENT_CROSS. If you specify interruptMode CHANGE, you only get CROSS, not an indication of which direction you are crossing!
The callback is an ISR, so you must not allocate memory, lock a mutex, or perform lengthy operations from it. You must not use delay(), the Serial, Particle, or Log classes, among others.
The parameter is a C++11 lambda, so you can specify your callback as a lambda instead of a C function pointer. This allows the callback to be a C++ class member instead of a plain C function.
|
inline |
Selects the analog input.
| pin | The Particle pin (A0 - A5) to use. |
|
inline |
Sets the interrupt mode.
| mode | The Particle-style interrupt mode: RISING, FALLING, or CHANGE |
|
staticprotected |
Singleton instance of this class.
The object pointer to this class is stored here. It's NULL at system boot.
|
protected |
Configuration settings for LPCOMP.
Fields: nrf_lpcomp_config_t hal nrf_lpcomp_input_t input uint8_t interrupt_priority
nrf_lpcomp_config_t (hal) contains: nrf_lpcomp_ref_t reference nrf_lpcomp_detect_t detection nrf_lpcomp_hysteresis_t hyst;
nrf_lpcomp_ref_t (hal.reference): NRF_LPCOMP_REF_SUPPLY_1_8 - Use supply with a 1/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_2_8 - Use supply with a 2/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_3_8 - Use supply with a 3/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_4_8 - Use supply with a 4/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_5_8 - Use supply with a 5/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_6_8 - Use supply with a 6/8 prescaler as reference. NRF_LPCOMP_REF_SUPPLY_7_8 - Use supply with a 7/8 prescaler as reference. NRF_LPCOMP_REF_EXT_REF0 - External reference 0. NRF_LPCOMP_CONFIG_REF_EXT_REF1 - External reference 1.
nrf_lpcomp_detect_t (hal.detection): NRF_LPCOMP_DETECT_CROSS - Generate ANADETEC on crossing, both upwards and downwards crossing. NRF_LPCOMP_DETECT_UP - Generate ANADETEC on upwards crossing only. NRF_LPCOMP_DETECT_DOWN - Generate ANADETEC on downwards crossing only.
nrf_lpcomp_hysteresis_t (hal.hyst): NRF_LPCOMP_HYST_NOHYST - Comparator hysteresis disabled. NRF_LPCOMP_HYST_50mV - Comparator hysteresis enabled (typ. 50 mV)
nrf_lpcomp_input_t (input): (Note: nRF input numbers, not Particle pin numbers!) NRF_LPCOMP_INPUT_0 - Input 0. NRF_LPCOMP_INPUT_1 - Input 1. ... NRF_LPCOMP_INPUT_7 - Input 7.


for the juiciest pizza around
Size
Sauce
Cheese
Veggie 1 (+$1)
Veggie 2 (+$1)
Meat (+$2)
Custom Pizza
Pizza


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/emacs.20tip.3A.20filladapt.html ---
I had run into an issue with filling block comments in lean-mode.
The problem is solved with
(require 'filladapt) (add-hook 'lean-mode-hook #'filladapt-mode)
Maybe that's helpful for someone.
... oh, but maybe I spoke too soon, since by default that screws up the fill behavior for --
style comments.
OK, adding one line to the relevant token table fixed it:
(setq filladapt-token-table '(("^" beginning-of-line) (">+" citation->) ("\\(\\w\\|[0-9]\\)[^'`\"< ]*>[ ]*" supercite-citation) (";+" lisp-comment) ;; Added this line ("--" lisp-comment) ("#+" sh-comment) ("%+" postscript-comment) ("///*" c++-comment) ("@c[ ]" texinfo-comment) ("@comment[ ]" texinfo-comment) ("\\\\item[ ]" bullet) ("[0-9]+\\.[ ]" bullet) ("[0-9]+\\(\\.[0-9]+\\)+[ ]" bullet) ("[A-Za-z]\\.[ ]" bullet) ("(?[0-9]+)[ ]" bullet) ("(?[A-Za-z])[ ]" bullet) ("[0-9]+[A-Za-z]\\.[ ]" bullet) ("(?[0-9]+[A-Za-z])[ ]" bullet) ("[-~*+]+[ ]" bullet) ("o[ ]" bullet) ("[ ]+" space) ("$" end-of-line)))
I've created a repo for user contributions to lean-mode
: https://github.com/leanprover-community/lean-mode-contrib
That might be a good place to put it
OK I'll try to tidy up and send there. Thanks!
:+1:
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Last updated: 24 January 2021
This document is an electronic record in terms of the Information Technology Act, 2000 and rules there under as applicable and various other statutes. This electronic record is generated by a computer system and does not require any physical or digital signatures.
These Terms and Conditions constitute a legally binding agreement made between you, whether personally or on behalf of an entity (“you”) and Streameo (“we,” “us” or “our”), concerning your access to and use of the [Streameo] project website
You agree that by accessing the Site, you have read, understood, and agree to be bound by all of these Terms and Conditions. If you do not agree with all of these Terms and Conditions, then you are expressly prohibited from using the Site and you must discontinue use immediately.
Supplemental terms and conditions or documents that may be posted on the Site from time to time are hereby expressly incorporated herein by reference. We reserve the right, in our sole discretion, to make changes or modifications to these Terms and Conditions at any time and for any reason.
It is your responsibility to periodically review these Terms and Conditions to stay informed of updates. You will be subject to, and will be deemed to have been made aware of and to have accepted, the changes in any revised Terms and Conditions by your continued use of the Site after the date such revised Terms and Conditions are posted.
The information provided on the Site is not intended for distribution to or use by any person or entity in any jurisdiction or country where such distribution or use would be contrary to law or regulation or which would subject us to any registration requirement within such jurisdiction or country.
Accordingly, those persons who choose to access the Site from other locations do so on their own initiative and are solely responsible for compliance with local laws, if and to the extent local laws are applicable.
By using the Site, you represent and warrant that:
(1) all registration information you submit will be true, accurate, current, and complete;
(2) you will maintain the accuracy of such information and promptly update such registration information as necessary;
(3) you have the legal capacity and you agree to comply with these Terms and Conditions;
(4) you are not under the age of 13;
(5) not a minor in the jurisdiction in which you reside[, or if a minor, you have received parental permission to use the Site];
(6) you will not access the Site through automated or non-human means, whether through a bot, script, or otherwise;
(7) you will not use the Site for any illegal or unauthorized purpose;
(8) your use of the Site will not violate any applicable law or regulation.
If you provide any information that is untrue, inaccurate, not current, or incomplete, we have the right to suspend or terminate your account and refuse any and all current or future use of the project site.
You may be required to register with the Site. You agree to keep your password confidential and will be responsible for all use of your account and password. We reserve the right to remove, reclaim, or change a username you select if we determine, in our sole discretion, that such username is inappropriate, obscene, or otherwise objectionable.
You may not access or use the Site for any purpose other than that for which we make the Site available. The Site may not be used in connection with any commercial endeavors except those that are specifically endorsed or approved by us.
As a user of the Site, you agree not to:
1. systematically retrieve data or other content from the Site to create or compile, directly or indirectly, a collection, compilation, database, or directory without written permission from us.
2. make any unauthorized use of the Site, including collecting usernames and/or email addresses of users by electronic or other means for the purpose of sending unsolicited email, or creating user accounts by automated means or under false pretenses.
3. use a buying agent or purchasing agent to make purchases on the Site.
4. use the Site to advertise or offer to sell goods and services.
5. circumvent, disable, or otherwise interfere with security-related features of the Site, including features that prevent or restrict the use or copying of any Content or enforce limitations on the use of the Site and/or the Content contained therein.
6. engage in unauthorized framing of or linking to the Site.
7. trick, defraud, or mislead us and other users, especially in any attempt to learn sensitive account information such as user passwords;
8. make improper use of our support services or submit false reports of abuse or misconduct.
9. engage in any automated use of the system, such as using scripts to send comments or messages, or using any data mining, robots, or similar data gathering and extraction tools.
10. interfere with, disrupt, or create an undue burden on the Site or the networks or services connected to the Site.
11. attempt to impersonate another user or person or use the username of another user.
12. sell or otherwise transfer your profile.
13. use any information obtained from the Site in order to harass, abuse, or harm another person.
14. use the Site as part of any effort to compete with us or otherwise use the Site and/or the Content for any revenue-generating endeavor or commercial enterprise.
15. decipher, decompile, disassemble, or reverse engineer any of the software comprising or in any way making up a part of the Site.
16. attempt to bypass any measures of the Site designed to prevent or restrict access to the Site, or any portion of the Site.
17. harass, annoy, intimidate, or threaten any of our employees or agents engaged in providing any portion of the Site to you.
18. delete the copyright or other proprietary rights notice from any Content.
19. copy or adapt the Site’s software, including but not limited to Flash, PHP, HTML, JavaScript, or other code.
20. upload or transmit (or attempt to upload or to transmit) viruses, Trojan horses, or other material, including excessive use of capital letters and spamming (continuous posting of repetitive text), that interferes with any party’s uninterrupted use and enjoyment of the Site or modifies, impairs, disrupts, alters, or interferes with the use, features, functions, operation, or maintenance of the Site.
21. upload or transmit (or attempt to upload or to transmit) any material that acts as a passive or active information collection or transmission mechanism, including without limitation, clear graphics interchange formats (“gifs”), 1×1 pixels, web bugs, cookies, or other similar devices (sometimes referred to as “spyware” or “passive collection mechanisms” or “pcms”).
22. except as may be the result of standard search engine or Internet browser usage, use, launch, develop, or distribute any automated system, including without limitation, any spider, robot, cheat utility, scraper, or offline reader that accesses the Site, or using or launching any unauthorized script or other software.
23. disparage, tarnish, or otherwise harm, in our opinion, us and/or the Site.
24. use the Site in a manner inconsistent with any applicable laws or regulations.
25. [other]
We will maintain certain data that you transmit to the Site for the purpose of managing the Site, as well as data relating to your use of the Site. Although we perform regular routine backups of data, you are solely responsible for all data that you transmit or that relates to any activity you have undertaken using the Site.
You agree that we shall have no liability to you for any loss or corruption of any such data, and you hereby waive any right of action against us arising from any such loss or corruption of such data.


Here you enter the the text of your report. Please be as descriptive as possible. If the report is about a reproducible problem please include the steps taken to reproduce it. Please do not include Dr. Watson logs or Windows95 stack dumps unless requested by a member of the Ameol support team.


|
gtsam
4.0.0
gtsam
|
TODO: Update comments.
The following comments are out of date!!!
Base class for conditional densities, templated on KEY type. This class provides storage for the keys involved in a conditional, and iterators and access to the frontal and separator keys.
Derived classes must redefine the Factor and shared_ptr typedefs to refer to the associated factor type and shared_ptr type of the derived class. See IndexConditional and GaussianConditional for examples.
Standard Constructors | |
| Conditional () | |
| Empty Constructor to make serialization possible. | |
| Conditional (size_t nrFrontals) | |
| Constructor. | |
Testable | |
| void | print (const std::string &s="Conditional", const KeyFormatter &formatter=DefaultKeyFormatter) const |
| print with optional formatter | |
| bool | equals (const This &c, double tol=1e-9) const |
| check equality | |
Standard Interface | |
| size_t | nrFrontals () const |
| return the number of frontals | |
| size_t | nrParents () const |
| return the number of parents | |
| Key | firstFrontalKey () const |
| Convenience function to get the first frontal key. | |
| Frontals | frontals () const |
| return a view of the frontal keys | |
| Parents | parents () const |
| return a view of the parent keys | |
| FACTOR::const_iterator | beginFrontals () const |
| Iterator pointing to first frontal key. More... | |
| FACTOR::const_iterator | endFrontals () const |
| Iterator pointing past the last frontal key. More... | |
| FACTOR::const_iterator | beginParents () const |
| Iterator pointing to the first parent key. More... | |
| FACTOR::const_iterator | endParents () const |
| Iterator pointing past the last parent key. More... | |
Advanced Interface | |
| class | boost::serialization::access |
| Serialization function. | |
| size_t & | nrFrontals () |
| Mutable version of nrFrontals. | |
| FACTOR::iterator | beginFrontals () |
| Mutable iterator pointing to first frontal key. More... | |
| FACTOR::iterator | endFrontals () |
| Mutable iterator pointing past the last frontal key. More... | |
| FACTOR::iterator | beginParents () |
| Mutable iterator pointing to the first parent key. More... | |
| FACTOR::iterator | endParents () |
| Mutable iterator pointing past the last parent key. More... | |
Public Types | |
| typedef boost::iterator_range< typename FACTOR::const_iterator > | Frontals |
| View of the frontal keys (call frontals()) | |
| typedef boost::iterator_range< typename FACTOR::const_iterator > | Parents |
| View of the separator keys (call parents()) | |
Protected Attributes | |
| size_t | nrFrontals_ |
| The first nrFrontal variables are frontal and the rest are parents. More... | |
|
inline |
Iterator pointing to first frontal key.
|
inline |
Mutable iterator pointing to first frontal key.
|
inline |
Iterator pointing to the first parent key.
|
inline |
Mutable iterator pointing to the first parent key.
|
inline |
Iterator pointing past the last frontal key.
|
inline |
Mutable iterator pointing past the last frontal key.
|
inline |
Iterator pointing past the last parent key.
|
inline |
Mutable iterator pointing past the last parent key.
|
protected |
The first nrFrontal variables are frontal and the rest are parents.


In this chapter you may find some interesting information about using the stream logging writer. But before continue reading please note, the stream logging writer is intended to be used in any situation that requires a custom handling of logging messages. A pretty good example of such a use case is a desktop application which uses its own logging message widget.
Below can be found a fully qualified example of how to use the stream logger settings. You may recognize that a custom stream class is used. And for sure, this is actually the recommended way of how to use the stream logger.
using Plexdata.LogWriter.Abstraction;
using Plexdata.LogWriter.Definitions;
using Plexdata.LogWriter.Extensions;
using Plexdata.LogWriter.Logging;
using Plexdata.LogWriter.Settings;
using System;
using System.IO;
using System.Text;
namespace StreamLoggerExample
{
class Program
{
private class CustomStream : Stream
{
private readonly Encoding encoding = Encoding.Default;
public CustomStream(Encoding encoding) { this.encoding = encoding; }
public override Boolean CanRead { get { return false; } }
public override Boolean CanSeek { get { return false; } }
public override Boolean CanWrite { get { return true; } }
public override Int64 Length { get { return 0; } }
public override Int64 Position { get { return 0; } set { } }
public override void Flush() { }
public override Int32 Read(Byte[] buffer, Int32 offset, Int32 count) { return 0; }
public override Int64 Seek(Int64 offset, SeekOrigin origin) { return 0; }
public override void SetLength(Int64 value) { }
public override void Write(Byte[] buffer, Int32 offset, Int32 count)
{
// The real magic happens here...
Console.Write(this.encoding.GetChars(buffer), offset, count);
}
}
static void Main(String[] args)
{
IStreamLoggerSettings settings = new StreamLoggerSettings
{
LogLevel = LogLevel.Trace,
LogType = LogType.Raw,
Stream = new CustomStream(Encoding.ASCII),
Encoding = Encoding.ASCII
};
IStreamLogger logger = new StreamLogger(settings);
logger.Debug("This is a Debug logging entry.");
logger.Trace("This is a Trace logging entry.");
logger.Verbose("This is a Verbose logging entry.");
logger.Message("This is a Message logging entry.");
logger.Warning("This is a Warning logging entry.");
logger.Error("This is a Error logging entry.");
logger.Fatal("This is a Fatal logging entry.");
logger.Critical("This is a Critical logging entry.");
}
}
}
With the above settings in mind the message output of the stream logger would look like as shown as follows.
2021-05-23 17:05:42.1234;DEBUG;This is a Debug logging entry.
2021-05-23 17:05:42.1234;TRACE;This is a Trace logging entry.
2021-05-23 17:05:42.1234;VERBOSE;This is a Verbose logging entry.
2021-05-23 17:05:42.1234;MESSAGE;This is a Message logging entry.
2021-05-23 17:05:42.1234;WARNING;This is a Warning logging entry.
2021-05-23 17:05:42.1234;ERROR;This is a Error logging entry.
2021-05-23 17:05:42.1234;FATAL;This is a Fatal logging entry.
2021-05-23 17:05:42.1234;CRITICAL;This is a Critical logging entry.
The dependency injection of the stream logger works pretty much the same way as it works for the console logger. Thus, an explicit explanation does not really be useful right here. The only exception in contrast to the above mentioned example is that the used stream has to be set in some way.
Last but not least, a fully qualified configuration example as JSON can be seen here.
{
"Plexdata": {
"LogWriter": {
"Settings": {
"LogLevel": "Trace",
"LogTime": "Utc",
"LogType": "Json",
"ShowTime": true,
"PartSplit": ";",
"TimeFormat": "s",
"FullName": false,
"Culture": "en-US",
"Encoding": "utf-8"
}
}
}
}


People misled by offer to play for FGCU Club Football and not NCAA team
by Rochelle AlleyneFORT MYERS, Fla. — There is confusion surrounding FGCU's Club Football team.
That's after the university says someone connected to the team asked more than a hundred people from across the country to come and play for them.
But they didn't make it clear to those who accepted offers that they'd be joining a club team and not an NCAA team.
Twitter and Facebook have been flooded with excitement from those who have accepted these offers.
But according to FGCU, it appears many of them don't realize what they've accepted.
The university said the offers were made by a Football Club volunteer and were done without the school's knowledge.
They also want to remind those who have accepted the offer that they'll have to be admitted to the university before they can even consider playing for the football club.
We spoke to one student who says his roommate plays for the team.
We've reached out to the FGCU Football Club for comment but have not heard back yet.


Catalan separatists ERC says cannot back a Socialist-Podemos deal at this stage
MADRID (Reuters) - Catalan separatist party Esquerra Republicana de Catalunya(ERC) on Tuesday said that it was not ready, at this stage, to back a coalition government deal reached on Tuesday by the Socialists and the left-wing Unidas Podemos.
“Right now our position is no,” ERC spokeswoman Marta Vilalta told journalists, according to a translation from Catalan to Spanish by TVE broadcaster.
“If they want something from us they have to sit down and talk to solve a political conflict,” in reference to the Catalan separatist independence movement.
The Socialists’ 120 seats, combined with the 35 won by Unidas Podemos, leave them short of a majority in the 350-seat parliament, and therefore need to seek the support from other parties.


--- title: readuniprot keywords: fastai sidebar: home_sidebar summary: "Parse Uniprot/Swissprot text format files (.dat), and Uniref XML files." description: "Parse Uniprot/Swissprot text format files (.dat), and Uniref XML files." nb_path: "01_readuniprot.ipynb" ---
entries = list(iterDat('uniprotTest.dat.gz'))
assert (len(entries)==185
and len(entries[2])==61
and entries[2][0]=='ID 002R_IIV3 Reviewed; 458 AA.\n'
and entries[2][10]=='OX NCBI_TaxID=345201;\n'
and entries[2][-1]==' QSIDRYFCSL DSNYNSEDED FEYDSDSEDD DSDSEDDC\n'
and datEntryLnsWithCode(entries[2],'DT') ==
['16-JUN-2009, integrated into UniProtKB/Swiss-Prot.',
'11-JUL-2006, sequence version 1.',
'02-JUN-2021, entry version 28.']
and datEntryPrimaryAC(entries[2])=='Q197F8')
acs = allPrimaryACsInDat('uniprotTest.dat.gz')
pes = scanDat('uniprotTest.dat.gz',datEntryPE)
names = scanDat('uniprotTest.dat.gz',datEntryName)
seqs = scanDat('uniprotTest.dat.gz',datEntrySeq)
assert (len(acs)==185
and acs[:5]==['Q6GZX4', 'Q6GZX3', 'Q197F8', 'Q197F7', 'Q6GZX2']
and acs[-5:]==['P0C9G3', 'P0C9G4', 'P0C9G1', 'P18559', 'P0C9G6']
and len(pes)==185
and pes[:5]==[4, 4, 4, 4, 3]
and pes[-5:]==[3, 3, 3, 3, 3]
and len(names)==185
and names[:3]==['Putative transcription factor 001R',
'Uncharacterized protein 002L', 'Uncharacterized protein 002R']
and names[-3:]==['Protein MGF 110-1L', 'Protein MGF 110-2L (Precursor)',
'Protein MGF 110-2L (Precursor)']
and len(seqs)==185
and len(seqs[0])==256
and seqs[0]=='MAFSAEDVLKEYDRRRRMEALLLSLYYPNDRKLLDYKEWSPPRVQVECPKAPVEWNNPPSEKGLIVGH'
+'FSGIKYKGEKAQASEVDVNKMCCWVSKFKDAMRRYQGIQTCKIPGKVLSDLDAKIKAYNLTVEGVEGFVRYSRVTK'
+'QHVAAFLKELRHSKQYENVNLIHYILTDKRVDIQHLEKDLVKDFKALVESAHRMRQGHMINVKYILYQLLKKHGHG'
+'PDGPDILTVKTGSKGVLYDDSFRKIYTDLGWKFTPL'
and len(seqs[-1])==113
and seqs[-1]=='MGFFSYLGLVLVGLASLTSLASLANLQDFSTDNPLEEELRCWCQYVKNCRFCWACQDGFCKNKVLK'
+'NMPSVQEHSYPMEHCMIHRQCKYVRDGPIFQVECMMQTCDAIHLLNA')
goLns = scanDat('uniprotTest.dat.gz',datEntryGOLines)
kws = scanDat('uniprotTest.dat.gz',datEntryKWs)
assert (goLns[0]==['GO; GO:0046782; P:regulation of viral transcription; IEA:InterPro.']
and goLns[1]==['GO; GO:0033644; C:host cell membrane; IEA:UniProtKB-SubCell.',
'GO; GO:0016021; C:integral component of membrane; IEA:UniProtKB-KW.']
and goLns[-1]==[]
and datEntryGOTermPresent(entries[0],'GO:0046782')=='pos'
and datEntryGOTermPresent(entries[1],'GO:0033644')=='pos'
and datEntryGOTermPresent(entries[1],'GO:0016021')=='pos'
and datEntryGOTermPresent(entries[1],'GO:0046782')=='neg'
and datEntryGOTermPresent(entries[-1],'GO:0046782')=='neg'
and kws[0]==['activator','reference proteome','transcription',
'transcription regulation']
and kws[1]==['host membrane','membrane','reference proteome',
'transmembrane','transmembrane helix']
and kws[-1]==['early protein', 'signal'])
assert (len(scanDat('uniprotTest.dat.gz',filterDatEntry))==166
and len(scanDat('uniprotTest.dat.gz',filterDatEntry,maxPE=3))==50
and len(scanDat('uniprotTest.dat.gz',filterDatEntry,maxPE=3,
requireKWs=['transmembrane']))==15)
UniRef files contain precomputed clusters of similar protein sequences,
at different thresholds of sequence identity (100, 90, 50 - these are percentages).
UniRef XML files are named, unirefN.xml.gz
where N is the identity threshold (for example uniref50.xml.gz
).
These files define a set of clusters, each of which contains a set of member sequences.
Each cluster has two special member sequences (these may be the same) - a seed sequence, which is simply the longest
sequence in the cluster, and a representative sequence, which is chosen to be the most "informative" sequence
in the cluster using a number of criteria including quality of information available, length, etc.
Cluster identifiers are constructed from the prefix UniRef
,
followed by the sequence identity threshold (100
, 90
, or 50
),
followed by underscore and the UniProt accession number or UniParc id of the chosen representative sequence for the cluster
(for example, UniRef50_A0A5A9P0L4
or UniRef50_UPI0016133188
).
In more detail, the XML format consists of a series of entry
elements. Each entry
defines a cluster,
and consists of one representativeMember
element and a series of additional member
elements,
with each member identifying one sequence in the cluster.
Each entry
also has some attributes and elements describing the cluster as a whole,
including an id
attribute containing the cluster identifier constructed as described above,
a name
element with a descriptive name,
and some property
elements with different type
attributes, including type="member_count"
(number of sequences in the cluster), type="common taxon"
, type="common taxon ID"
,
and type="GO Molecular Function"
(I assume these last elements contain
GO terms that are common to all members of the cluster).
The representativeMember
and member
elements contain a dbReference
element
identifying the member sequence. This element includes:
type
specifying a database (for example UniParc ID
or UniProtKB ID
) and id
within that database (for example UPI000FFEDAD7
or A0A410P257_9BACT
)property
elements with type="UniProtKB accession"
giving UniProt accession numbers for the sequence (for example A0A410P257
) - if more than one, these will all be alternates for the same sequence in UniProt.id
attribute is from UniProt, a property
element with type="UniParc ID"
giving the UniParc id for the sequence.property
element with type="UniRef100 ID"
and value=
the UniRef100 cluster id for the sequence.property
element with type="UniRef90 ID"
and value=
the UniRef90 cluster id for the sequence.property
elements with information about the sequence, including type="length"
, type="protein name"
, type="source organism"
, type="NCBI taxonomy"
The representativeMember
elements also contain a sequence
element giving the actual AA sequence.
parseClustersFromUniref('unirefTest.xml.gz','unirefTestClusters.txt')
unirefL = [ln.split() for ln in open('unirefTestClusters.txt').read().splitlines()]
assert ([len(accNoL) for accNoL in unirefL] == [1, 1, 1232, 22, 1, 21]
and unirefL[0]==['A0A5A9P0L4']
and unirefL[2][:5]==['Q8WZ42', 'A6NKB1', 'E7EQE6', 'E7ET18', 'K7ENY1']
and unirefL[2][-5:]==['A0A2D4NV39', 'A0A2D4GXH3', 'A0A6P7QTE9', 'A0A6P7QKP2', 'A0A6P7QQP5']
and unirefL[-1]==['K7G060', 'M7AMC7', 'G3URQ7', 'G1NB19', 'A0A091K6H9', 'A0A7K4ZDL0',
'A0A7L0GLZ9', 'A0A7L0TQB1', 'A0A7L1IDD4', 'G3UQ76', 'G3UR09', 'A0A7K5D0T2',
'A0A7K9EPM6', 'A0A091EPU3', 'A0A091EPV7', 'A0A091ESE9', 'A0A7K7BU71',
'A0A7L1PTK0', 'A0A7L1UQH9', 'A0A7K7BUC8', 'A0A7L4KN96']
)
assert fastai is not None


How to use this layout
To use this layout, you can just copy paste the HTML, along with the CSS in side-menu.css,
and the JavaScript in ui.js. The JS file uses vanilla JavaScript to simply toggle an
active
class that makes the menu responsive.


--- layout: data_model title: NetflowV9OptionsTemplateFlowSetType this_version: 1.2 ---
Specifies an Options Template FlowSet, which is one or more Options Template Records that have been grouped together in an Export Packet.
| Field Name | Type | Description |
|---|---|---|
| Flow_Set_ID0..1 | HexBinaryObjectPropertyType |
Specifies the FlowSet ID, which is fixed to 1 for the Options Template FlowSet. |
| Length0..1 | IntegerObjectPropertyType |
Specifies the total length of this FlowSet, in octets, including the set header, all records, and the optional padding. |
| Options_Template_Record0..n | NetflowV9OptionsTemplateRecordType |
Specifies the Options Template Record region, which includes the Option Scope Length, Option Length, and fields specifying the Scope field type and Scope field length. |
| Padding0..1 | HexBinaryObjectPropertyType |
Specifies the number of padding bytes to be inserted so that the subsequent FlowSet starts at a 4-byte aligned boundary. It is important to note that the Length field includes the padding bytes. Padding SHOULD be using zeros. |


on what the Buddha taught
Saṃyutta Nikāya
Saḷāyatanavaggo
Vedanāsaṃyuttaṃ
Sagāthāvaggo
Sallasuttaṃ
SN36.6
"Not having learned, almsmen, a commoner feels feeling, even a happy one. He feels feeling, even a sufferable one. He feels feeling, even a neither-sufferable-nor-happy one. Having learned, almsmen, a disciple of nobleness feels feeling, even a happy one. He feels feeling, even a sufferable one. He feels feeling, even a neither-sufferable-nor-happy one. In this, almsmen, what is the distinction, what is the peculiarity, what is making the difference for a learned disciple of nobleness with a not learned commoner?"
"Rooted in the exalted one are our, venerable, principles ... pe ..."
"Not having learned, almsmen, a commoner being touched by a sufferable feeling grieves, is in misery, wails, beats the chest, laments, meets with bewilderment. He feels two feelings: and a bodily and a mental. Just as if, almsmen, a man would be pierced with a spike. That with this, along the piercing, he would be pierced by a second spike. Because so, almsmen, that man feels the feeling by two spikes. Thus so, almsmen, not having learned a commoner being touched by a sufferable feeling grieves, is in misery, wails, beats the chest, laments, meets with bewilderment. He feels two feelings: and a bodily and a mental. Just like that but now being touched by a sufferable feeling; resistance is. That with this, with sufferable feeling, resistance; what to sufferable feeling the tendency for resistance is, that lies dormant. He, being touched by a sufferable feeling, is pleased with happiness by lust.
Of what is that the root?
For he doesn't, almsmen, know. A commoner has not learned the going out of sufferable feeling other than from happiness by lust. For that he has been pleased with happiness by lust and what to happy feeling the tendency for passion is, that lies dormant. He essentially not knows 'and the rise', 'and the setting', 'and the sweetness', 'and the wretchedness', 'and the going out' of those feelings. For he essentially not understood 'and the rise', 'and the setting', 'and the sweetness', 'and the wretchedness', 'and the going out' of those feelings, what to neither-sufferable-nor-happy feeling the tendency for ignorance is that lies dormant. That if happiness is the feeling he feels, he feels this one linked. If suffering is the feeling he feels, he feels this one linked. If neither-suffering-nor-happiness is the feeling he feels, he feels this one linked. This is called, almsmen, a commoner who has not learned: linked 'with birth', 'with decay', 'with death', 'with griefs', 'with lamentations', 'with sufferings', 'with discontentments', 'with unrests'; 'linked from suffering' I say.
But now having learned, almsmen, a disciple of nobleness being touched by a sufferable feeling grieves not, is not in misery, wails not, not beats the chest, laments not, not meets with bewilderment; he feels one feeling: bodily, not mental. Just as if, almsmen, a man would be pierced with a spike. That with this, after piercing, he would not be pierced by a second spike. Because so, almsmen, that man feels the feeling by one spike. Thus so, almsmen, having learned a disciple of nobleness being touched by a sufferable feeling grieves not, is not in misery, wails not, not beats the chest, laments not, not meets with bewilderment; he feels one feeling: bodily, not mental. Just like that but now being touched by a sufferable feeling; resistance is not. That with this, with sufferable feeling, no resistance; what to sufferable feeling the tendency for resistance is, that does not lie dormant. He, being touched by a sufferable feeling, is not pleased with happiness by lust.
Of what is that the root?
For he does, almsmen, know. A disciple of nobleness has learned the going out of sufferable feeling other than from happiness by lust. For that he has not been pleased with happiness by lust; what to happy feeling the tendency for passion is, that does not lie dormant. He essentially knows: 'and the rise', 'and the setting', 'and the sweetness', 'and the wretchedness', 'and the going out' of those feelings. For he essentially understood 'and the rise', 'and the setting', 'and the sweetness', 'and the wretchedness', 'and the going out' of those feelings, what to neither-sufferable-nor-happy feeling the tendency for ignorance is that does not lie dormant. That if happiness is the feeling he feels, he feels this one unlinked. If suffering is the feeling he feels, he feels this one unlinked. If neither-suffering-nor-happiness is the feeling he feels, he feels this one unlinked. This is called, almsmen, a disciple of nobleness who has learned: unlinked 'with birth', 'with decay', 'with death', 'with griefs', 'with lamentations', 'with sufferings', 'with discontentments', 'with unrests'; 'unlinked from suffering' I say.
This now, almsmen, is the distinction, this is the peculiarity, this is making the difference for a learned disciple of nobleness with a not learned commoner."
The wise feels no feeling
even a happy one, even a sufferable one; very learned indeed.
And this, of the steadfast with a commoner,
is the great distinction of wholesomeness.
For the very learned of the inclined principle
clearly seen is this world and beyond.
For pleasant principles not shake the mind,
from the unpleasant no resistance comes.
For those compliances and/or non-compliances
are scattered, they are gone; not 'they are'.
Acquainting with the path and the stainless, sorrowless,
he rightly knows the going beyond of existence.


Album Name:
Select speed at which pictures will swap (1 = slow, 10 = fast)
Create New Album
Add Photos to Album
Photo Order:
Drag photos into desired order.


BMW NEXTgen 2019: Oliver Zipse on the future of BMW EVs
by Staff WriterOliver Zipse, in his previous capacity as Member of the Board of Management of BMW AG, Production, talked about EV production, reducing CO2 footprint and the importance of keeping diesel alive.
What’s your strategy for EVs and battery sourcing? Is there any inflection point where building EVs becomes profitable?
If it wouldn’t be profitable, we wouldn’t build them. We cannot, because we have our stakeholders. That said, you always have to find the right price point, of course. There is a cost factor involved so you have to make sure that you don’t have a large battery for the lower-segment cars, because if that happens, you’re dead. Usually, in an assembly process, the more you produce, the more you automate, it becomes cheaper, but that’s not the case with batteries. So that is what you have to watch out for. And if you are planning to increase electrified vehicle production you must be really sure that you’ve secured your resources. And that’s what we have done. We plan to offer 25 electrified vehicles by 2023, two years earlier than originally planned and we anticipate sales of our electrified vehicles growing by an average of 30 percent every year from 2022 onwards.
What’s more important than the battery-making factory is sourcing resources such as copper, lithium and so on. And that’s where we’ve made long-term contracts. We buy the resources and sell it to the battery maker, and then he sells it to us.
Are you planning to build specific factories for pure-electric cars?
I don’t think that’s necessary. If you look at the production technology, they’re not so different (from an IC car). We start with the press shop, which can be used for any type of mobility. Then you can use different types or parts of the body shop to adapt to specific requirements. Next, you go through paint shop, which is the same for any type of vehicle. Plus we have a long tradition of building highly flexible assembly systems. One example is we already have nine vehicles on one assembly line at our Regensburg plant in Germany.
So that’s the kind of flexibility we have and electric mobility is also a form of flexibility, it doesn’t change the plant. Hence we are convinced that we don’t need a new factory just for electric mobility. There’s also an uncertainty from a volume perspective, so it’s not exactly the right strategy. However, there is a possibility that some day we could have as many electric cars as to fill a complete factory.
You mentioned that BMW will switch to renewable sources of electricity for its production sites. Can you elaborate?
Most important thing to achieve sustainability is to get your energy consumption down, which is often forgotten. And that’s the first step. In the last three years, the energy consumption of our plants has been reduced by half – all our plants use LED lights. The main thing is to decentralise your energy, you try to get as far away from the grid as possible. Then the rest you buy from the grid but in green form, from a supplier. For instance, in Leipzig, we have a wind farm on site, in Mexico, 100 percent of the energy is CO2-free. Our Chennai plant is a CKD unit, so I’m not exactly sure of the situation there but this applies to all our big plants.
With the transition to EVs, what are your thoughts on diesel, because from a CO2 perspective, it’s more of a solution than a problem.
The average fuel consumption in 2018 was below 5 litres/100km for diesel and 6 litres/100km for petrol. Therefore diesel has enjoyed a tax advantage for the last 25 years in Europe. So that positive effect doesn’t go away. Diesel also has CO2 benefits. So factually, there are very strong arguments for diesel’s defence. But public opinion is different. Still, in Europe, half of our current 2019 portfolio is diesel. So public opinion is different from what BMW customers feel. Maybe the public sees images of diesels putting out a lot of nasty emissions, but that’s far from reality.
However, the more important issue is replacing your fleet. Don’t throw diesel as a fuel away, instead replace your fleet. In Germany, the average age of a car has risen from 8 years in 2008 to 10 years at present. Emission wise, 10-year-old cars are in a completely different league. So provide incentives to get rid of old cars. 10 years is just the average figure, there are many cars over 15 years old that only comply with Euro 3, Euro 4 emission norms. If you are really interested in making a contribution to climate change, then replace the fleets. That, combined with keeping diesels and forcing electro-mobility is a good three-pronged approach.
The full interview was conducted in July 2019 and first appeared in the September 2019 issue of Autocar India. Oliver Zipse has since taken over as Chairman of the Board of Management of BMW AG.
Also see:
Limited edition BMW M2 CS unveiled
India-bound BMW 2 Series Gran Coupé revealed


Dashboard
CPU
Test
Build
CPU_power
15
CPU_Performance
1.3 GHz
CPU_area
200
CPU_security
100
{% if uid %} {% endif %}


{{include_style("haplocheck.css")}} {{include_script("haplocheck.js")}}
Haplocheck Report ({{version}})
Samples
(current)
Summary
About
{{include "components/samples.html"}}
{{include "components/summary.html"}}
{{include "components/about.html"}}


A custom lineplot with annotations to explore the evolution of the
Big Mac Index with ggplot2
, ggrepel
and
ggtext
. This blogpost will guide you through all the
steps to produce a beautiful lineplot with highlighted groups and
explain how ggrepel
and ggtext
are a huge
help that make customized plots much easier.
This page showcases the work of Cedric Scherer, built for the TidyTuesday initiative. You can find the original code on his github repository here.
Thanks to him for accepting sharing his work here! Thanks also to Tomás Capretto who split the original code into this step-by-step guide!
This is what we’re gonna build
Note the pretty sweet labels at the end of each lines. That’s definitely the most readable way to add labels on a line chart. Much better than the usual unordered legend!
As usual, it is first necessary to load some packages before building
the figure. Today’s chart is going to use the help of
ggrepel
and
ggtext
. ggrepel
will make it extremely easy to automatically
position labels and ggtext
is going to make it possible
to use annotations that mix normal text with italic and bold text.
library(tidyverse)
library(ggrepel)
library(ggtext)
library(showtext)
font_add_google("Lato")
showtext_auto()
You can read more about the showtext package on this dedicated post.
Today’s chart visualizes the price changes (in USD) of a Big Mac based on a 2008 as index year. The original source of the data is TheEconomist, but this post is based on the version released for the TidyTuesday initiative on the week of 2020-12-22. You can find the original announcement and more information about the data here.
<- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-12-22/big-mac.csv') df_mac_raw
Once the data is loaded, it’s time to get the data ready for the plot.
<- df_mac_raw %>%
df_mac # Extract year
mutate(year = lubridate::year(date)) %>%
# Subset variables
select(date, year, iso_a3, currency_code, name, dollar_price) %>%
# If there is more than one record per year/country, use the mean
group_by(iso_a3, name, year) %>%
summarize(price = mean(dollar_price)) %>%
# Keep countries/regions with records for the last 21 years
# (from 2000 to 2020 inclusive)
group_by(iso_a3) %>%
filter(n() == 21)
# Also define the group of countries that are going to be highlighted
<- c("EUZ", "CHE", "DNK", "SWE", "BRA", "ARG", "GBR", "USA")
highlights <- length(highlights) n
Next, it is important to make sure the plot only shows countries that
have a Big Mac Index for 2008, the base year. The
price_index
for a given country at a certain moment is
the difference between the price
at that moment and the
price for that country in 2008.
<- df_mac %>%
countries filter(year == 2008) %>%
pull(iso_a3)
<- df_mac %>%
df_mac_indexed_2008 # Keep countries that have a record for 2008, the index year.
group_by(iso_a3) %>%
filter(iso_a3 %in% countries) %>%
# Compute the `price_index`
mutate(
ref_year = 2008,
price_index = price[which(year == 2008)],
price_rel = price - price_index,
# Create 'group', used to color the lines.
group = if_else(iso_a3 %in% highlights, iso_a3, "other"),
group = as.factor(group)
%>%
) mutate(
group = fct_relevel(group, "other", after = Inf),
name_lab = if_else(year == 2020, name, NA_character_)
%>%
) ungroup()
In this occasion, the theme is defined before creating the plot. Have a look at the comments within the code below to have a better understanding of what’s going on here.
# This theme extends the 'theme_minimal' that comes with ggplot2.
# The "Lato" font is used as the base font. This is similar
# to the original font in Cedric's work, Avenir Next Condensed.
theme_set(theme_minimal(base_family = "Lato"))
theme_update(
# Remove title for both x and y axes
axis.title = element_blank(),
# Axes labels are grey
axis.text = element_text(color = "grey40"),
# The size of the axes labels are different for x and y.
axis.text.x = element_text(size = 20, margin = margin(t = 5)),
axis.text.y = element_text(size = 17, margin = margin(r = 5)),
# Also, the ticks have a very light grey color
axis.ticks = element_line(color = "grey91", size = .5),
# The length of the axis ticks is increased.
axis.ticks.length.x = unit(1.3, "lines"),
axis.ticks.length.y = unit(.7, "lines"),
# Remove the grid lines that come with ggplot2 plots by default
panel.grid = element_blank(),
# Customize margin values (top, right, bottom, left)
plot.margin = margin(20, 40, 20, 40),
# Use a light grey color for the background of both the plot and the panel
plot.background = element_rect(fill = "grey98", color = "grey98"),
panel.background = element_rect(fill = "grey98", color = "grey98"),
# Customize title appearence
plot.title = element_text(
color = "grey10",
size = 28,
face = "bold",
margin = margin(t = 15)
),# Customize subtitle appearence
plot.subtitle = element_markdown(
color = "grey30",
size = 16,
lineheight = 1.35,
margin = margin(t = 15, b = 40)
),# Title and caption are going to be aligned
plot.title.position = "plot",
plot.caption.position = "plot",
plot.caption = element_text(
color = "grey30",
size = 13,
lineheight = 1.2,
hjust = 0,
margin = margin(t = 40) # Large margin on the top of the caption.
),# Remove legend
legend.position = "none"
)
Have you ever seen the element_markdown()
in
plot.subtitle()
above? That function comes with the
ggtext()
package and makes it possible to use markdown
syntax to format the text. It’s like magic!
Today’s chart is a lineplot that visualizes the price changes (in USD)
of a Big Mac based on a 2008 as index year. The countries in the
vector highlights
have different colors to stand out from
the rest and make it easier to track their evolution along time.
Sounds quite exciting, let’s get started!
<- ggplot(
plt # The ggplot object has associated the data for the highlighted countries
%>% filter(group != "other"),
df_mac_indexed_2008 aes(year, price_rel, group = iso_a3)
+
) # Geometric annotations that play the role of grid lines
geom_vline(
xintercept = seq(2000, 2020, by = 5),
color = "grey91",
size = .6
+
) geom_segment(
data = tibble(y = seq(-4, 3, by = 1), x1 = 2000, x2 = 2020),
aes(x = x1, xend = x2, y = y, yend = y),
inherit.aes = FALSE,
color = "grey91",
size = .6
+
) geom_segment(
data = tibble(y = 0, x1 = 2000, x2 = 2020),
aes(x = x1, xend = x2, y = y, yend = y),
inherit.aes = FALSE,
color = "grey60",
size = .8
+
) geom_vline(
aes(xintercept = ref_year),
color = "grey40",
linetype = "dotted",
size = .8
+
) ## Lines for the non-highlighted countries
geom_line(
data = df_mac_indexed_2008 %>% filter(group == "other"),
color = "grey75",
size = .6,
alpha = .5
+
) ## Lines for the highlighted countries.
# It's important to put them after the grey lines
# so the colored ones are on top
geom_line(
aes(color = group),
size = .9
) plt
That’s a pretty good start! Having different colors for some countries definetely makes it much easier to track their price index evolution.
 Wouldn’t it be nice to have a label on the end of each line that tells which country it represents?
It is pretty challenging to add many labels on a plot since labels
tend to overlap each other, making the figure unreadable. Fortunately,
the ggrepel
package is here to help us. It provides an
algorithm that will automatically place the labels for us. Let’s do
it!
<- plt +
plt annotate(
"text", x = 2008.15, y = -3.35,
label = "2008",
family = "Lato",
size = 8,
color = "grey40",
hjust = 0
+
) geom_text_repel(
aes(color = group, label = name_lab),
family = "Lato",
fontface = "bold",
size = 8,
direction = "y",
xlim = c(2020.8, NA),
hjust = 0,
segment.size = .7,
segment.alpha = .5,
segment.linetype = "dotted",
box.padding = .4,
segment.curvature = -0.1,
segment.ncp = 3,
segment.angle = 20
+
) ## coordinate system + scales
coord_cartesian(
clip = "off",
ylim = c(-4, 3)
+
) scale_x_continuous(
expand = c(0, 0),
limits = c(2000, 2023.5),
breaks = seq(2000, 2020, by = 5)
+
) scale_y_continuous(
expand = c(0, 0),
breaks = seq(-4, 3, by = 1),
labels = glue::glue("{format(seq(-4, 3, by = 1), nsmall = 2)}$")
) plt
Wonderful! It’s amazing how a few annotations can hugely improve the readability of the plot.
The chart above is pretty close from being publication ready. What’s needed now is a better color palette to improve the appearence of the plot and a good annotations to make the chart more insightful:
<- plt +
plt scale_color_manual(
values = c(rcartocolor::carto_pal(n = n, name = "Bold")[1:n-1], "grey50")
+
) labs(
title = "Compared to the financial crisis in 2008, how much more or less do you have to pay for a Big Mac today?",
subtitle = "The index chart visualizes the price changes (in USD) of a Big Mac based on a 2008 as index year. The Big Mac Index is published by The Economist as an informal way to provide a test of the
extent to which market exchange rates result in goods costing the same in different countries. It seeks to make exchange-rate theory a bit more digestible and takes its name from the Big Mac,
a hamburger sold at McDonald's restaurants.",
caption = "Visualization by Cédric Scherer • Data by The Economist • The index chart shows the 27 countries that provide Big mac prices for all years from 2000 to 2020. In case a country was reported twice per year, the mean value was visualized."
) plt
Finally, note the
,
, and

tags. It’s ggtext
the one who
makes that possible. It’s fantastic!


Cards for Humanity is a fast-paced online version of the popular card game, Cards Against Humanity, that gives you the opportunity to donate to children in need - all while remaining as despicable and awkward as you naturally are. Warning! This game contains offensive, profane, explicit content created by Cards Against Humanity and provided here, uncensored and complete, in digital form. Human Resources made us say that.
We're quite sure you feel the same way, so we've integrated donation widgets (via crowdrise.com), along with some not-so-subtle reminders throughout the game to give you the opportunity to donate. If you're signed in when you donate, we'll even upgrade your account and place a crown on your avatar's head (to remind other players how much better you are than them).


Last Name
First Name
Address
City
State
Zip/Postal Code
Country
Bulgaria
Norway
Germany
Phone (country code,
area code, number)
(+
)
-
Email
Birth date
Gender
Male
Female
Other
Starting date
Spring 2015
Summer 2015
Comments/Questions


git clone https://github.com/dmilos/color.git c:\my-work-folder\my-git-folder\color
git clone https://github.com/dmilos/color.git /home/my-user-name/my-work-folder/my-git-folder/color
src
folder in some for your suitable place.src
in your path.src
in someplace that is already in your path then skip this step.model
. color.hpp
situated in src/color directory.
#include <iostream>
#include <iomanip>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
color::rgb<double> r;
r = ::color::constant::lavender_type{};
std::cout << "Red: " << r[0] << ", Green: " << r[1] << ", Blue: " << r[2] << std::endl;
return EXIT_SUCCESS;
}
example
.make_all.sh
will compile all examples by using g++
.


[Review] My New Favorite Editor. Vistual Studio Code.
A while back in 2016 or so I published an article over at Pluralsight about 15 editors that at the time were on my top list of editors. I mostly used Atom.io for my projects and felt it was pretty easy to use and had the flexibility to become robust enough for most projects.
However recently I decided to bite the bullet and try out Microsoft’s Visual Studio Code (vscode). I have to say that I am actually pleasantly surprised. I decided to try it because of my new found love for TypeScript and Angular, and vscode seemed to be the best ‘free’ option to support TypeScript.
Out of the box it works great for simple TypeScript projects, and the integrated terminal works excellent on both MacOS and Windows. However I find that VSCode truly shines when you add a few extensions to it. I’ll list those out here below and go over them quickly.
- TSLint
- Integrates the tslint linter for the TypeScript language into VS Code. Extremely helpful at detecting and helping fix TypeScript issues.
- Angular Language Services
- This extension provides a rich editing experience for Angular templates, both inline and external templates. This extension is brought to you by members of the Angular team. It is fantastic at helping write solid code in the html templates.
- Angular v4 TypeScript Snippets
- Angular snippets that follow the official style guide, for TypeScript, templates, and RxJS.
- Bracket Pair Colorizor
- This extension allows matching brackets to be identified with colors. This is super helpful when you have nested functions and objects.
- Path Intellisense
- Visual Studio Code plugin that autocompletes filenames.
- Debugger for Chrome
- It’s a Debugger for VSCode that’s for Chrome…
- Bootstrap 3 Snippets
- Emmet for bootstrap 3 components. Quickly build bootstrap layouts with autogenerated components from getbootstrap.com
- One Dark Pro
- Brings me my Atom.io style and theme to VSCode
Since I’m apparently doing lists now, here is a list of things that I like about VSCode
- Open Source
- Extensible
- Native Git Support
- Emmet out of the box
- Built in debugger
- Built in Terminal
- Keyboard binding’s from other text editors
- Highly Customizable
- IntelliSense
I’ve been able to work with Angular projects like never before with VSCode, and it looks like I have found my new favorite editor.


A Music Bio
CubeOfCheese is a flourishing music duo from Sacramento, CA comprised of Billy T. Hernandez and Cubeo F. Cheese, who share a psychological connection. Cubeo’s creative powers combined with Billy T.’s opposable thumbs (good for playing instruments) results in a savory and slightly electronic sound. Assuming Billy T. doesn’t get too hungry, CubeOfCheese will continue aging to perfection. It is no doubt that their layered lyricism and tasty bass riffs will soon become the desire of even the most discriminating palates.


Top three winners in Jeopardy! history to face off to determine ‘greatest of all time’
The three top money winners in Jeopardy! history will vie for a share of $1.5-million in January.
ABC and the quiz show’s producer said Monday that Ken Jennings, Brad Rutter and James Holzhauer will compete in prime-time episodes on the network.
The first contestant to win three matches will receive $1-million. Each runner-up will take home $250,000.
Alex Trebek will host the contest, titled Jeopardy! The Greatest of All Time and debuting 8 p.m. Eastern on Jan. 7.
Rutter is the top all-time money winner with $4.7-million, followed by Jennings with $3.4-million and Holzhauer with $2.7-million.
In a statement, Trebek said the three have proved they qualify as the “greatest,” and now will compete to be “the best of the best.”


| Meeting time: | TR 4:00-5:15 |
| Classroom: | PKI 335 |
| Instructor: | Dr. Harvey Siy |
| Office: | PKI 281B |
| Phone: |<PHONE_NUMBER> |
| Office Hours: | By appointment (call or email in advance) |
| Email: | hsiy at unomaha dot edu |
| Textbooks: | The Design of Everyday Things by Don Norman, Basic Books, 2002 |
| About Face 3.0 by Alan Cooper, Wiley, 2007 | |
| (optional) | Building Interactive Systems by Dan Olsen, Cengage Learning, 2010 |
Recommended:
1) Human-Computer Interaction (CSCI 4250/8256).
2) Prior experience with GUI programming.
| Homeworks: | 20% |
| Projects: | 40% |
| Exams (midterm and final): | 35% |
| Class participation: | 5% |
Students taking the class as CSCI8266 will be evaluated as follows:
| Homeworks: | 10% |
| Projects: | 35% |
| Exams (midterm and final): | 35% |
| Class participation: | 5% |
| Research paper: | 15% |
| Grade | Description |
|---|---|
| 5 | Regularly makes helpful, relevant contributions to lecture discussions. Offers observations that challenges classmates to think about the material in new ways. |
| 4 | Attends regularly and occasionally makes helpful, relevant contributions to lecture discussions. |
| 3 | Attends regularly and actively pays attention to discussion. |
| 2 | Attends regularly but does not pay attention to discussion. |
| 1 | Does not attend regularly. |
| 0 | Misses most classes. |


Public Member Functions | |
| def | __init__ |
| def | get_raw |
Static Public Attributes | |
| int | id = -1 |
| string | documentStore = "" |
| string | text = "" |
| string | mimeType = "" |
| list | processHistory = [] |
| tuple | parent = ('', '', -1) |
A Document is a wrapper for raw data and its metadata. A Document is the raw data which will become a Record. It may be processed into a Record by a Parser, or into another Document type by a PreParser. Documents might be stored in a DocumentStore, if necessary, but can generally be discarded. Documents may be anything from a JPG file, to an unparsed XML file, to a string containing a URL. This allows for future compatability with new formats, as they may be incorporated into the system by implementing a Document type and a PreParser.
| def cheshire3.baseObjects.Document.__init__ | ( | self, | |
| data, | |||
creator = "" , |
|||
history = [] , |
|||
mimeType = "" , |
|||
parent = None , |
|||
filename = "" , |
|||
tagName = "" , |
|||
byteCount = 0 , |
|||
byteOffset = 0 , |
|||
wordCount = 0 |
|||
| ) |
Construct a Document from data, with given metadata attributes. The constructer takes the data which should be used to construct the document. This is implementation dependant. It also optionally may take a creator object, process history information and a mimetype. The parent option is for documents which have been extracted from another document, for example pages from a book.
| def cheshire3.baseObjects.Document.get_raw | ( | self, | |
| session | |||
| ) |
Return the raw data associated with this document.


Browns' Myles Garrett in ugly brawl with Steelers' Mason Rudolph toward end of game
by Ryan GaydosCleveland Browns defensive end Myles Garrett was involved in an ugly brawl with Pittsburgh Steelers quarterback Mason Rudolph toward the end of their game Thursday night.
The fight occurred in the closing seconds of the game. Rudolph had thrown a short pass to running back Trey Edmunds when Garrett rushed him and threw him down on the ground. The two then began to get into a scuffle on the ground when Steelers offensive linemen Matt Feiler and David DeCastro tried to break it up.
 Rudolph then looks around for referees with his arms up. Maurkice Pouncy gets involved and starts to punch Garrett in the helmet. He is seen kicking Garrett in the helmet while the defensive end is lying on the turf on his back.
On the side of Garrett and Pouncey’s scuffle, Browns defensive tackle Larry Ogunjobi comes in from seemingly out of nowhere and pushes Rudolph down to the ground.
Garrett, Pouncy and Ogunjobi were ejected from the game.
Cleveland held on for a 21-7 win in the contest between AFC North rivals.
BROWNS' MYLES GARRETT BRAWL COULD LEAD TO HEFTY FINE, LENGTHY SUSPENSION
After the game, Garrett admitted he lost his composure and he said he regretted his actions.
“I lost my cool and I regret it,” Garrett said. “It’s going to come back to hurt our team. The guys who jumped into the scrum, I appreciate my team having my back, but it never should have gotten to that point.”
Browns coach Freddie Kitchens said Garrett apologized to him after the melee.
“The next time I see them, I’ll address them,” Garrett added. “I am hurting my whole team with what I did, and it could come back to bite us. I don’t know what kind of repercussion I face, but I have to be better.”
Rudolph called the play “bush league.”
“I thought it was pretty cowardly and bush league,” he said. “I’m not going to back down from any bully. I felt like I had a bone to pick with him. I appreciate the line always having my back, but I was angry.”
Garrett may face a season-long suspension for his actions.
CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM
The Browns and Steelers play again Dec. 1 in Pittsburgh.
The Associated Press contributed to this report.


Purpose
Get more light where you need. At my desk I have sufficient light but sometimes I need more. Why not buying a desk lamp? Well, my desk is small and I didn't found something that has low surface (can't use the "claw" like version, desk side is too thick) and that fills my need:
- No or barely no space wasted on my small table
- Please, no additional wallwart. I have enough under my desk so let's use batteries (anyway the light will only be on from time to time)
- Articulated arm to allow to have the light right where you want it
Solution, use some power white led powered by a battery, make a articulated arm from electrical strong wires and case the on/off and power potentiometer in the side of the top shelf itself.
Parts
- Power white led (12-14v, 60 mA) http://akizukidenshi.com/catalog/g/gI-03946/
- 2x 9V batteries in serie (= 18v)
- Resistor scale to get 15v OR LM317 ?
- To save some amps, I turned to LM317 : with R1=100ohm and R2=1000ohm, a Vin of 18V becomes a nice 14- Volt.Perfect!
- Slide potentiometer for the power
- I put it in parallel with a 300 ohm resistor. Result is not linear but gives a contol on the power on the last part of the rail (last 15% I would say). With the slide to 0, the 300 ohm feeds the led with a nice 60%20 mA which is the current for the which it's rated. Since I have no 300 ohm resistor, I used a small 1kOhm pot I had and I measured it to 300 ohm. I could then fine tune the final current if needed.
Schema
Problem : slide potentiometer I have are way too strong, like 100 kOhm. So I use 2 parallel resistor to lower the value. It's not perfect since relevant amp change can be seen only on extreme lower end of the slide but ... well, I want to try and use it :P
Parallel resistor ohm rule : R = (R1 %20 R2) / (R1 * R2)
NOTABENE : finally it's a LM317 I use but idea is still valid.
Circuit :
$ 1 5.0E-6 10.20027730826997 50 5.0 50
v 144 256 144 192 0 0 40.0 18.0 0.0 0.0 0.5
r 224 160 224 208 0 100.0
r 224 208 224 288 0 500.0
r 288 240 416 240 0 300.0
174 304 176 432 176 0 100000.0 0.0050 Resistance
d 528 256 528 320 1 0.805904783
w 144 192 224 160 0
w 224 288 144 256 0
w 224 208 288 240 0
w 416 240 528 256 0
w 528 320 224 288 0
w 432 176 528 256 0
w 224 208 336 128 0
w 336 128 368 160 0
w 336 128 304 176 0
o 5 64 0 35 5.0 0.1 0 -1
Pictures
The circuit : one can see the 100kOhm slide, the 1kOhm pot set to 300ohm, the LM317 on the right hand and the little basket on the right holds the 2 9V batteries.
The led module itself. Notice how it's held by strong copper wire (drive the power, hold it and make a nice articulated arm).


Explore, discover and grow with Harrow Woodcraft Folk
A movement for children and young people, open to everyone from birth to adult. We offer a place where children will grow in confidence, learn about the world and start to understand how to value our planet and
each other.


Once a month, web developers from across the Mozilla Project get do something. Meanwhile, we find time to talk about our side projects and drink, an occurrence we like to call "Beer and Tell".
There's a wiki page available with a list of the presenters, as well as links to their presentation materials. There's also a recording available courtesy of Air Mozilla.
Details
We did things!
If you're interested in attending the next Beer and Tell, sign up for the<EMAIL_ADDRESS>mailing list. An email is sent out a week beforehand with connection details. You could even add yourself to the wiki and show off your side-project!
See you next month!


You can now add your Gmail account on Outlook.com
by RahulMicrosoft Outlook is one of the most popular email services on the internet. You can access it on the web as well as on Android, iOS and Windows devices. If you’re using Microsoft Outlook app, you’ll be able to add email accounts from different service providers t00. The feature is now available on the Outlook web.
On Outlook.com, you’ll now be able to add your Gmail accounts much like you can do with the Outlook app on Android, iOS, and Windows. However, this is currently limited to Gmail, meaning that you won’t be able to add any other email service other than Gmail to Outlook.com. That said, Microsoft could lift the limit in the coming days.
One important thing to note here is that the feature seems to be rolling out in a phased manner. It means not everyone will get the feature today.
I haven’t received the feature yet, but if you’re one of those lucky users who received the update, you can sound off in the comments section below.
Source: Florian B


| Test Case | INIT-0010 |
| Title | Power on Initialization of the Garage Door Controller does not move the garage door |
| Objective | This test case is intended to verify the following implied or specified requirements:
By plugging in the controller to a power source and then confirming the garage door does not move, this test case will demonstrate that cycling power will not inadvertently open the garage door. |
| Setup |
|
| Actions |
|
| Expected | When powered up, the controller will not command the garage door opener to do anything. |
| Results | UNTESTED |
| Cleanup |
|
| Requirements | GDO-PR-CONTROLLER-010, GDO-PR-CONTROLLER-010.002, GDO-PERF-030 |


Photography- Senior, Family, Newborn, Baby, Child, Engagement, Wedding, Couple, Event, Business, Promotional.
Great Bend, KS - and surrounding towns (available for travel). Outdoor and indoor services.
Studio is geared toward seniors, babies, small families, and head shots.

We update dependencies to keep things fresh.
I put countless hours into my pictures to make sure they are perfect!
Ready for me to freeze time, store emotion, and to let me capture your life? That's great! Give me a call or send me an email and I will get back to you as soon as possible!
+1<PHONE_NUMBER>


Tuesday, October 26th from 5:30-8pm at the Tekton space in Clarkston. Food will be provided. Register below!
Selamawit Shibru, Software Engineer @ Tata Consultancy and Refcode Graduate
Syneva Runyan, Software Engineering Manager @ Mailchimp and Refcode Mentor
Meet professional software engineers, engineering managers. Meet refugees & immigrants studying software engineering
Set up like a speed-dating session, get a chance to practice interviewing in a rapid fire setting and receive feedback. You will be practicing the most important interview question and your opportunity to tell your developer story. You will be given feedback and rated in the following categories: enthusiasm, determination, experience, delivery.
A workshop for complete beginners that will show anyone how to start writing a basic program in Javascript.
This is an in-person event, limited to 40 people. All attendees must:
Seats are limited! Please register for your Eventbrite tickets using the form below.


The Challenge
This is dummy copy. It is not meant to be read. It has been placed here solely to demonstrate the look and feel of finished, typeset text. He who searches for meaning here will be sorely disappointed.
This is all about lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Nunc ullamcorper est vel arcu elementum, id ultrices erat elementum. Mauris at ligula euismod, hendrerit magna a.
Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Nunc ullamcorper est vel arcu elementum, id ultrices erat elementum. Mauris at ligula euismod teitur.
Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Nunc ullamcorper est vel arcu elementum, id ultrices erat elementum. Mauris at ligula euismod, hendrerit magna a.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This is dummy copy. It is not meant to be read. It has been placed here solely to demonstrate the look and feel of finished, typeset text. He who searches for meaning here will be sorely disappointed.
This is dummy copy. It is not meant to be read. It has been placed here solely to demonstrate the look and feel of finished, typeset text. He who searches for meaning here will be sorely disappointed.
This is dummy copy. It is not meant to be read. It has been placed here solely to demonstrate the look and feel of finished, typeset text. He who searches for meaning here will be sorely disappointed.
0
Clients0
Projects0
Lines of Code0
Sleepless NightsYou resize the browser and a smile creeps over your face. You’re happy: You think you are now mobile-friendly, that you have achieved your goals for the website. Let me be a bit forward before getting into the discussion: You are losing users and probably money if responsive web design is your entire goal and your only solution for mobile. The good news is that you can do it right.
ContinueIf you have to design an interface it's almost obvious to think to begin the process by drawing. But is this the best way? I once casually started by writing an imagined human-computer conversation, and only afterwards I continued by drawing. This changed my way of thinking and I never went back to drawing first. This article will explain the reasons behind my decision.
ContinueExperiments and side projects are wonderful ways to challenge yourself and explore areas that you wouldn't usually consider exploring.  The ideas are usually a synthesis of the things we discover, stumble upon or try out ourselves—and oh my, they take quite some time to get right.
ContinueFireworks is an excellent UI design tool; however, Adobe decided to feature-freeze it back in 2013 and (at the same time) did not offer any replacement tool to its users. Nevertheless, since Fireworks runs fine today on the latest Mac OS X and Windows OS, and since it still offers a solid UI-design feature set, many designers continue to use it and rely on it daily.
ContinueLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
No. 13 Jacqueline Street, London
020 7961 6600
020 7961 6610
hello@wearewilford.com


The basic skeleton of a moka application. Contains all windowing, input-handling + rendering logic. Child classes define the fleshed out application-specific functionality.
More...
#include <application.hpp>
The basic skeleton of a moka application. Contains all windowing, input-handling + rendering logic. Child classes define the fleshed out application-specific functionality.
◆ application() [1/3]
| moka::application::application |
( |
const app_settings & |
settings | ) |
|
|
explicit |
Construct a new application object.
- Parameters
-
| settings | The application settings to be used when setting up the input, windowing and rendering systems. |
◆ application() [2/3]
| moka::application::application |
( |
const application & |
rhs | ) |
|
|
delete |
◆ application() [3/3]
◆ ~application()
| virtual moka::application::~application |
( |
| ) |
|
|
virtual |
◆ data_path()
| virtual std::filesystem::path moka::application::data_path |
( |
| ) |
|
|
pure virtual |
Get the absolute path to the root resources folder for this application.
- Returns
- The absolute path to the root resources folder for this application.
◆ draw()
| virtual void moka::application::draw |
( |
game_time |
delta_time | ) |
|
|
pure virtual |
A draw method that can be overriden by child classes to add application-specific rendering functionality. This function is called by the main game loop at a variable time rate to decouple the simulation from the rendering framerate.
- Parameters
-
| delta_time | The time in seconds since the last invocation of this function. |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
| int moka::application::run |
( |
| ) |
|
Starts the game loop.
- Returns
- 0 if the application exits successfully, 1 if the application exits with an error.
◆ seconds_elapsed()
| float moka::application::seconds_elapsed |
( |
| ) |
const |
Get the number of seconds since the application was started.
- Returns
- The number of seconds since the application started.
◆ update()
| virtual void moka::application::update |
( |
game_time |
delta_time | ) |
|
|
pure virtual |
An update method that can be overriden by child classes to add application-specific functionality. This function is called by the main game loop at a fixed rate of 60 times a second.
- Parameters
-
| delta_time | The time in seconds since the last invocation of this function. |
◆ graphics_
An abstraction of the native rendering API. Resources can be created + destroyed, and drawing commands can be submitted through command lists.
◆ keyboard_
Contains the keyboard state as last reported by the native input API
◆ log_
| logger moka::application::log_ |
|
protected |
◆ mouse_
| mouse moka::application::mouse_ |
|
protected |
Contains the mouse state as last reported by the native input API
◆ timer_
| timer moka::application::timer_ |
|
protected |
A stopwatch-style timer with std::chrono support.
◆ window_
| window moka::application::window_ |
|
protected |
Windowing class. Abstracts the native windowing API.
The documentation for this class was generated from the following file:


---
layout: example.html
title: Upload Map Example
shortdesc: Demonstrates Uploading a Mapbox Style Document.
docs: >
Uploading Mapbox GL Style specifications through either URL or file options.
resources:
-<EMAIL_ADDRESS>---


HIGH COURT OF MADHYA PRADESH; JABALPUR M.Cr.C No.7663/2019 M/s. Baderiya Dairy Farm and another Vs. M.P. Pollution Control Board --------------------------------------------------------------------------------------------------------------- Present : Hon'ble Shri Justice Vishnu Pratap Singh Chauhan --------------------------------------------------------------------------------------------------------------- Name of counsel for the parties: Shri Umashankar Rawat, counsel for applicants. None for the respondent --------------------------------------------------------------------------------------------------------------- ORDER
(Delivered on 16.05.2019)
1. Petitioners have filed this petition for invoking the inherent powers envisaged under Section 482 of Cr.P.C., and pray to set aside the order dated 12.12.2018 whereby the learned trial Court JMFC, Jabalpur in complaint case No.1418/2017, framed the charges against the applicants under Sections 41, 43 and 44 of the Water (Prevention and Control of Pollution) Act 1974.
2. Facts giving rise to this petition, in short are that, respondent filed a complaint against the applicants before the Court of JMFC, Jabalpur under Section 200 of Cr.P.C., for the offence punishable under Sections 41, 43 and 44 of the Water (Prevention and Control of Pollution) Act 1974 (hereinafter in short 'the Act') and during trial examined witnesses T.S. Banerjee, (PW-1) Scientist, Regional Office, M.P. Pollution Control Board and R.P. Tiwari, (PW-2) Sampler, Regional Office, M.P. Pollution Control 2 Board also filed a documents along with complaint.
3. The fact alleged in the complaint in short are that the applicant No.1 Ms. Baderiya Dairy Farm situated at village Imaliya, Katni Road, Jabalpur and dealing with the dairy products and applicant No.2 is the Director of that unit to look after all functions and business and being a Director having control over the unit. When respondent was informed that in the unit of applicant No.1 a polluted water was not treating properly and there is no arrangement for treating the polluted effluent water, then the respondent send show cause notice to the applicants. The applicants replied that notice and stated that there is no question of treatment of polluted water and there is no need for treatment of that water. The complainant send a notice to close the unit and made arrangement for treatment of polluted effluent and inspected the premises on 28.10.2017 and prepared the sample of effluent and it was send for chemical analysis. After receiving the report of chemical analysis, send the report to the applicants. During inspection, it was found that in the unit of applicant No.1 effluent water was polluted. There was no sewage treatment plant and the polluted effluent is mixed in the water of the river. The respondent send a notice under Section 33 (A) of the Act of 1974 to close the unit immediately. The respondent no.2 who is looking after the function of the Unit was equally responsible for that act, then the complainant filed a complaint against 3 both the applicants. The complainant stated therein that the applicants have not complied Sections 24, 25, 26 and 33 (A) of the aforesaid Act 1974 and pray to punish the applicants under Sections 4, 44 and 41 of the Act of 1974.
4. Learned trial Court after hearing both the parties framed the charges against the applicants vide order dated 12.12.2018 for the offence punishable under Sections 44 and 43 of the Act of 1974 and recorded the plea of applicants.
5. Being aggrieved by that order, the applicants filed this petition on the ground that the whole inspection proceedings conducted before Sharad Kumar Baderiya and all sample proceeding conducted in presence of Sharad Kumar Baderiya, he is not representative of the applicant No.1. The real representative is Mr. Sunil Baderiya, who was not present at the time of inspection. He neither signed any documents nor any sample was taken in his presence. The applicant No.2 has wrongly been implicated as an accused. Mr. Sharad Kumar Baderiya, is not the representative of the applicant No.1, but complaint was filed against the representative of the applicant No.1 Mr. Sunil Baderiya. Mr. Sharad Kumar Baderiya neither owner of the applicant No.1 nor representative of diary plant. The whole inspection and sampling conducted by the respondent is in contravention of the law as laid down in the Act of 1974 and the rules thereto. Learned trial Court has not 4 paid any attention towards this fact. The applicant No.2 is liable to be discharged but instead of discharging him, framed the charge against him and pray for quashment of the charge framed against the applicants.
6. Counsel appeared for the applicants submit that the applicants have filed a written argument before the trial Court, but the learned trial Court has not appreciated the arguments properly and pray to set aside the impugned order and discharge the applicants.
7. None present for the respondent.
8. After hearing the counsel of the applicant, perused the documents filed along with this petition.
9. It is not disputed that applicant No.1 M/s Baderiya Dairy Farm situated at village Imaliya, Katni Road, Jabalpur, is arrayed as an accused no.1. The question before this Court raised by the counsel for the applicants that Mr. Sharad Baderia is no one to look after the affairs of the applicant No.1. Neither he is representative nor he is owner of the applicant No.1. The whole proceedings were conducted before Sharad Kumar Baderiya whereas Director of the applicant No.1 is Sunil Baderiya who is looking after of dairy farm. Nothing has been conducted by the respondent before him and trial Court has not considered this fact while framing the charge.
10. Perused the complaint dated 13.10.2017 (Annexure-P-2). In this complaint it is alleged in para 7 that respondent send a notice dated 5 16.07.2014 and it was replied by letter dated 13.08.2014 by the applicant No.1. Copy of the notice dated 16.07.2014 is annexed along with this petition, perused. It was sent by the Regional Office, M.P. Pollution Control Board addressed to M/s. Sunil Baderiya, Director. It is received by both the applicants and both the applicants replied the notice on 13.04.2014. Copy of that reply is annexed at page no.27. These documents reflected that applicant No.1 is unit dealing with the dairy products and when the Regional Office of respondent found that there was no treatment of the effluent water, he sent notice to applicant No.1 and he replied that notice. In the complaint, this fact is also mentioned that after receiving the reply and assessment of the reply, the respondent again sent a letter on 01.08.2016 to the applicant No.1 under Section 33-A of the Act of 1974 and thereafter, the team of respondent conducted the inspection on 20.10.2017. This all reveals that there was some effluent water which was polluted and the notice was sent to the applicant No.1, but on the date of inspection i.e. on 28.10.2017 instead of Mr. Sunil Baderiya one Mr. Sharad Kumar Baderiya was present in the campus of the applicant No.1. No doubt, Mr. Sunil Baderiya, was not present on the date of inspection i.e. on 28.10.2017, but another person Mr. Sharad Kumar Baderiya was present and who is that person, is to be explained by the applicant No.1 and not by the respondent because Mr. Sharad Kumar Baderiya was present in the premises of 6 applicant No.1. No doubt, he was not the Director, but he signed on behalf of applicant No.1 and sampling of polluted effluent conducted in presence of Mr. Sharad Kumar Baderiya. When it was sent for the chemical examination, it was found polluted. No doubt, there is prima facie material available with the record to proceed against the applicant No.1. Whether Mr. Sharad Kumar Baderiya is representative of the applicant No.1 or not, it is to be decided during trial. This Court at the time of invoking the inherent powers should not decide the trial on merits
11. Perused the written arguments filed along with this petition. This written argument was filed by both the applicants before the Court of JMFC. This argument is mainly based on that Sunil Baderiya applicant No.2 is Director but all proceedings conducted before Sharad Kumar Baderiya, who has not been arrayed as an accused and second part of the argument is that Sharad Kumar Baderiya is neither representative of the Company nor any person who look after the affairs of the Company hence, Sunil Baderiya is not liable to be made party.
12. Perused the complaint. Sunil Baderiya is made a party being Director of the applicant No.1. Until and unless it is proved that being Director he is not looking after affairs of the Company, the Director is equally responsible for the act committed by the Company. Learned trial Court vide order dated 12.12.2018 considered the whole allegations 7 raised by the applicants before the trial Court and after considering all the allegations and objections proceeded to frame charge against the applicants. The powers envisaged under Section 482 of Cr.P.C., for invoking the inherent powers should be exercised sparingly in the condition of rarest in rare case. There is sufficient prima facie material available against the applicants. There is no need to quash the complaint. Learned counsel for the applicants during arguments has drawn the attention of this Court in the case of State of Haryana & Ors. Vs. Ch. Bhajanlal & ors. [AIR 1992 SC 604] Apex Court has culled out some important points for quashing of the FIR or complaint, as under:-
"108. In the backdrop of the interpretation of the various relevant provisions of the Code under Chapter XIV and of the principles of law enunciated by this Court in a series of decisions relating to the exercise of the extraordinary power under Article 226 or the inherent powers under Section 482 of the Code which we have extracted and reproduced above, we give the following categories of cases by way of illustration wherein such power could be exercised either to prevent abuse of the process of any Court or otherwise to secure the ends of justice, though it may not be possible to lay down any precise, clearly defined and sufficiently channelised and inflexible guidelines or rigid formulae and to give an exhaustive list of myriad kinds of cases wherein such power should be exercise.
1. Where the allegations made in the First Information Report or the complaint, even if they are taken at their face value and accepted in their entirety do not prima facie constitute any offence or make out a case against the accused.
2. Where the allegations in the First Information Report and other materials, if any, 8 accompanying the F.I.R. do not disclose a cognizable offence, justifying an investigation by police officers under Section 156 (1) of the Code except under an order of a Magistrate within the purview of Section 155(2) of the Code.
3. Where the uncontroverted allegations made in the FIR or complaint and the evidence collected in support of the same do not disclose the commission of any offence and make out a case against the accused.
4. Where, the allegations in the F.I.R. do not constitute a cognizable offence but constitute only a non-cognizable offence, no investigation is permitted by a police officer without an order of a Magistrate as contemplated under Section 155(2) of the Code.
5. Where the allegations made in the F.I.R. or complaint are so absured and inherently improbable on the basis of which no prudent person can ever reach a just conclusion that there is sufficient ground for proceeding against the accused.
6. Where there is an express legal bar engrafted in any of the provisions of the Code or the concerned Act (under which a criminal proceeding is instituted) to the institution and continuance of the proceedings and/or where there is a specific provision in the Code or the on concerned Act, providing efficacious redress for the grievance of the aggrieved party.
7. Where a criminal proceeding is manifestly attended with mala fide and/or where the proceeding is maliciously instituted with an ulterior motive for wreaking vengeance on the accused and with a view to spite him due to private and personal grudge."
13. This Court after considering the case law in the case of Ch. Bhajanlal & ors. (supra) find that in this situation category 1 and 2 of the case is relevant.
9
14. On the basis of foregoing discussions, this Court find that the case of the applicants is not falls in any category as discussed in the abovementioned case law Ch. Bhajanlal & ors. (supra). Consequently, this Court does not find any merit for invoking the powers envisaged under Section 482 of Cr.P.C. Hence, this petition deserves to be and is hereby dismissed.
(Vishnu Pratap Singh Chauhan) Judge pb Digitally signed by PRASHANT BAGJILEWALE Date: 2019.05.16 17:58:55 +05'30'


Copy and paste your input below
Select a language
| Total Words: .. | Total Strength: .. | Average Strength: .. |
| Total Letters: .. | Total Weight: .. | Average Weight: .. |
| Total Lines: .. |
Copy and paste your input below
Select a language
| Total Words: .. | Total Strength: .. | Average Strength: .. |
| Total Letters: .. | Total Weight: .. | Average Weight: .. |
| Total Lines: .. |


We got solutions!
- harness strategic content
- unleash leading-edge schemas
- whiteboard strategic users
- synthesize dot-com relationships
- exploit seamless eyeballs
- e-enable transparent solutions
- leverage interactive paradigms
- harness leading-edge action-items
- leverage viral e-commerce
- envisioneer rich e-business
- seize leading-edge initiatives
- innovate collaborative relationships
- engineer customized e-tailers
- syndicate virtual models
- cultivate virtual action-items