Appendix¶
Definitions¶
Modform : An intact protein with a global pattern of post-translational modifications.
Isomeric modforms : Positional isomers of modforms having identical mass. Sometimes, the word Isobaric is used for modforms.
Isomeric peptides: Positional isomers of peptides having identical mass.
Modform distribution : Percentage concentration of all modforms in a sample.
Modform region : Region in the modform space constraining modform distribution.
Variables¶
Here is a description of the variable names used in the software.
D_protein_sites_modifications
: dictPython dictionary representing global pattern of modification for a modform.
e.g., {'S15': 'P', 'S55': 'Ac', 'T376': 'P'}, {'0': 'UNMOD'}
D_sites_modtypes
: defaultdict(list)Python dictionary mapping amino-acid residues to python list of modification type for a protein under investigation. This is typically known from bottom-up (BU) mass spectrometry (MS) analysis.
e.g, {'S15': ['P'], 'S55': ['Ac', 'P']}
D_variables_modforms
: dictPython dictionary mapping modform variables (str) to their
Modform
objects.e.g, {'a1': Modform('a1', D_protein_sites_modifications={'0': 'UNMOD'})}
D_PuLP_variables
: dictPython dictionary mapping modform variables (str) to their
pulp
objects.e.g., {'a2': LpVariable('a2', low_bound=0)}
D_protein_mod_frequency
: dictPython dictionary mapping modification types to their frequency in isomeric modforms.
e.g., {'P': '2', 'Ac': '1'}
D_peptide_isomeric_peak_areas
: dictPython dictionary mapping peptides (N_loc, C_loc) to their peak areas of different isomeric states.
e.g., {‘15-25’: [({‘UNMOD’: ‘0’}, ‘25’), ({‘P’: ‘1’}, ‘50’), ({‘P’: ‘2’}, ‘25’)], ‘50-60’: [({‘UNMOD’: ‘0’}, ‘50’), ({‘Ac’: ‘1’, ‘P’: ‘1’}, ‘30’), ({‘P’: ‘2’}, ‘20’)]}
L_isomeric_modform_nodes
: listPython list of python dictionaries having modification types mapped to their frequency. The list essentially are isomeric modform nodes.
e.g., [{‘UNMOD’: ‘0’}, {‘P’: ‘1’}, {‘Ac’: ‘1’, ‘P’: ‘2’}]


--- layout: post title: no title date: '2017-06-04T10:30:15+02:00' categories: - Sketches - Sketchbooks picture_url: https://film-Storyboards.tumblr.com/post/161428913435 ---


Support Us
Spread the Stand and Join in Our Wonderful Journey
Without the People, We Are a Big Failure. Whatever We Are Now and Will be, is All Depends on Public and How They Take Us into Their Hearts. We Are Asking For the Support int he Form of Your Enguagement in Our Progress. We Are Not Telling You To Support Commercially, We Are the Company Works for the Betterment of You. We Need Support in Digital Way of Life Like, More Likes in Our Facebook Page, More Twitter Followers and In Joining Hands with Us.
Another Form of Support that Everyone Can Give to Us is About Telling Our Company and Wishing it To Grow Higher. Every Wish Counts For Us and Every Decession You Make About Our Comapny Will Affects Us on Our Progress. Wish Our Growth and Let Us To Grow. Thank You For Visiting and Taking a Time to Read This. We are Exceptionally Kind To You and Wishing You To Have A Better Life.
For The Students and For Enthusiast Around, We Offer Every Welcome If You Wish To Join Us and To Work With Us as a Supporting Member. You All Will Get the Credits Someday For Contributing to Our Growth. Any New Ideas Are Welcome, New Developers are Always Welcome to Contribute to the Technology.


No Feelings, No Emotions...
I had been feeling down for quite some time now, and I had noticed that there were times that I would feel overly excited/happy, followed by periods of deep sadness. So, after extensive research on the Internet, I decided to make an appointment with a psychologist a few months ago. I went to the psychologist and after the first session she diagnosed me with bi-polar disorder, OCD and dysthymia. Honestly, I wasn't surprised, figuring that this would be and easy way for her to make money off of my insurance company. She suggested that I start taking an anti-depressant and a mood stabilizer so she suggested I go see a Psychiatrist (of course) to evaluate me. I decided to go to my regular doctor, since he has known me for years. Well, I was shocked when I went to see him and he prescribed me Paxil.
I started taking paroxetine on a Tuesday, and started feeling the effects immediately. I lost my appetite. I started to lose sleep. I felt overly irritable, hypomanic, light-headed. A week after I started taking this mind-altering drug, I decided to smoke some cannabis. I smoked a bowl and the effects hit me like a train moving at top speed... apparently, paroxetine intensifie the affects of THC. Also, I tried alcohol in conjunction with paroxetine and it made me extrememly tired, but the feeling was a lot better then drinking without the drug.
A month has gone by now... I just got my prescription re-filled last night. All of the initial side affects started to dissipate. My body has adjusted itself to this drug, and I figured out how this drug may work. This drug prevents me from having any emotions or feelings. It also makes me lethargic and un-motivated. The past few weeks I've noticed myself not feeling the way I used to when it came to certain things. My desire and libido are virtually non-existent. I have no motivation to do anything, not even workout (in my pre-paroxetine days, I would go to the gym consistently). All I want to do is sleep. I've been drinking more and smoking more cannabis then usual, and find this combination very interesting... I've lost weight, and been having vivid, unusual dreams... my life has become meaningless, as if my soul and heart have been ripped from me and all I have is my mind in this deserted body.
I want to go off this drug. I want to get back to normal, but I fear that I may never be normal again...
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.


Mountview Estates (LON:MTVW) Sets New 12-Month High at $11,700.00
by Doug WharleyMountview Estates plc (LON:MTVW)’s share price reached a new 52-week high on Tuesday . The stock traded as high as £117 ($152.88) and last traded at £113.50 ($148.31), with a volume of 3 shares changing hands. The stock had previously closed at £113.50 ($148.31).
The company has a market cap of $442.54 million and a PE ratio of 15.80. The company has a debt-to-equity ratio of 13.22, a quick ratio of 0.31 and a current ratio of 54.83. The business’s 50-day moving average is £105.57 and its 200 day moving average is £100.18.
About Mountview Estates (LON:MTVW)
Mountview Estates P.L.C., together with its subsidiaries, engages in the property trading and investment activities in the United Kingdom. The company operates through two segments, Core Portfolio and Residential Investments. It owns and acquires tenanted residential properties, and sells such properties when it becomes vacant.
Featured Article: Which market index is the best?


Ethereum (ETH) Trading Near Last Line of Defense
- Ethereum price is struggling to climb higher above the $188 resistance against the US Dollar.
- The price is currently trading near the $182 support area, which holds the key.
- There is a key bearish trend line forming with resistance near $185 on the hourly chart of ETH/USD (data feed via Kraken).
- Bitcoin is declining and is struggling to stay above the $8,500 support area.
Ethereum price is facing a fresh round of selling versus the US Dollar, similar to bitcoin. ETH price remains at a risk of more downsides if it breaks the $180-$182 support zone.
Ethereum Price Analysis
This week, we mostly saw range moves in Ethereum above the $180 and $182 supports against the US Dollar. Recently, ETH made an attempt to climb above the $188 and $190 resistance levels, but it failed.
A high was formed near $190 and the price started a fresh decline. It broke the $186 support level to move lower towards the range support area. Moreover, there was a break below the $185 level and the 100 hourly simple moving average.
It opened the doors for more losses and the price is now trading near the $182 support area. The range support near the $180 and $182 levels holds a lot of importance. If Ethereum fails to stay above the $180 support area, there are chances of a sharp breakdown.
The next key supports are near the $175 and $172 levels. On the upside, an initial resistance is near the $184 level. Besides, the 23.6% Fib retracement level of the recent decline from the $190 high to $182 low is also near $184.
More importantly, there is a key bearish trend line forming with resistance near $185 on the hourly chart of ETH/USD. Above the trend line, the price could correct higher towards the $186 resistance.
Additionally, the 50% Fib retracement level of the recent decline from the $190 high to $182 low is near the $186 level to act as a resistance. Therefore, a close above the $186 level and the 100 hourly SMA is needed to avoid a bearish break below the $180 support area.
Looking at the chart, Ethereum price is clearly trading near the last line of defense at $182 and $180. If the bulls fail to defend the $180 support, the price is likely to accelerate lower by 5%-10%. On the upside, there are many resistances such as $186, $188 and $190.
ETH Technical Indicators
Hourly MACD – The MACD for ETH/USD is slowly gaining momentum in the bearish zone.
Hourly RSI – The RSI for ETH/USD is currently declining and approaching the 30 level.
Major Support Level – $180
Major Resistance Level – $186


Choose your favorite monster
Kraken
Sasquatch
Monthman
Disabled fieldset
Login:
password:
Name(4 to 8)
Name:
Email:
TEL:
Your age:
音量大小:
It is about 'textarea'
Tell your story:
It was a dark and stormy night...
Ice-cream(datalist)
Choose your ice-cream:
select box and autocomplete box
FOR SELECT BOX:
Banana
Cherry
Lemon
Carrot
Eggplant
Potato
FOR SELECT BOX:
Banana
Cherry
Lemon
Carrot
Eggplant
Potato
DATE AND TIME
我是图像按钮
Meter
87
what would you wanna say?
WHO do you want to say hi to?
send it!
+
=


The negation of a given statement switches the truth value of the original statement. For example, the negation of "Abortion is a federal crime" is "Abortion is not a federal crime". Many times, a statement can be negated by inserting the word "not", or an equivalent word into the original statement. There are many ways to symbolically represent the negation of a statement. For this module, if we represent a statement by the variable \(p\text{,}\) we represent the negation of \(p\) by \(\neg p\text{.}\) We can use a logic calculator to see how the value of \(p\) and \(\neg p\) are related.
In the calculation above, the left most column represents the values for \(p\) and the column under "value" represents the corresponding values for \(\neg p\text{.}\) in-context


Scope: client and server, all versions.
A file store will persist items in a local file system. It requires either
| path | Single top-level directory. Any required subdirectories will be made under this one. |
| removeEmptyFiles | Remove any empty files in the store. The default is true meaning that empty files will be deleted if found in the file store. |
You must specify the path. The effect will be to create (and manage) directories for each store.
A file-based store system is a great, easy way to set up your storage. It require nothing more than the correct permissions. Remember though that you should do the usual administrative tasks of backing it up as needed and protecting it from prying eyes since it will contain sensitive information. Both clients and servers support file stores.
<service name="default" address="https://myservice.org:8443/oauth"> <fileStore path="/var/www/storage"> <transactions/> <clients/> <clientApprovals/> </fileStore> </service>
This sets up a fully functioning service with local storage and using the default MyProxy service. This would create the following:
<config> <client name="my-cfg"> <fileStore path="/var/www/client/storage" removeEmptyFiles="false"> <assetStore> </fileStore> <!-- other stuff --> </config>


[gecode-users] Is it allowed to rewrite or subsume in the advise function of a propagator?
Sebastian Albert
albert at math.uni-goettingen.de
Wed Apr 18 18:27:13 CEST 2018
Dear list
The subject says it all: Can I do GECODE_REWRITE and/or return
home.ES_SUBSUMED directly from the advise function? Any caveats?
Thanks
Sebastian
More information about the users
mailing list


|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
| Interface Summary | |
|---|---|
| Aggregator | An aggregator records measurements defined by a schema, and then allows aggregated reports to be generated according to a number of variables. |
| DataType<T> | A data type, which can be mapped to both Java and SQL. |
| DbFactory | A database factory. |
| Filter | An SQL-based filter. |
| Order | An SQL-based order (sort) definition. |
| Class Summary | |
|---|---|
| Aggregate | Aggregate functions that can be applied to coalesce multiple values into a single result. |
| Database | A database can create and contain Aggregators. |
| DataTypes | Provides various common data types. |
| DbFactories | A provider of database factories. |
| Filters | Provides various ready-made Filters. |
| Orders | Provides various ready-made Orders. |
| Record | A record is a measurement taken in an environment described by variables bound to specific values. |
| Records | A container of specific records. |
| Schema | A schema describes the data types of the allowable values for a list of variables. |
| StringUtils | Few string utilities. |
| Timestamps | Offers an easy way to create a Timestamp representing the current time instant. |
| Exception Summary | |
|---|---|
| SQLRuntimeException | An unchecked exception that wraps an SQLException |
Provides API to easily store records in a database, and subsequently categorize and aggregate them by a set of variables.
Aggregator
.
Aggregator instances can be obtained through a Database
.
See DbFactories
class for creating Database instances.
After creating an Aggregator, there are mainly two operations:
Record
and
Aggregator.record(Record)
),
that is, arbitrary measurements (typically after an experiment/benchmark)
coupled with variable bindings which describe the configuration/environment
in which the record was createdFor example this is how to create a local database named "mydb" (either new or a pre-existing one):
Database db = DbFactories.localDerby().getOrCreate("mydb");
Now assume we want to benchmark the performance of some virtual cars, according to the cargo they carry as well as the ratio of curves that the road has. Also assume that we want to record the name of the driver that drove the car each time, as well as the time each experiment took place. For convenience, although not strictly necessary, lets create an enumeration of the variables we are interested in:
enum Variables { ELAPSED_TIME, CAR, CARGO, CURVE_RATIO, DRIVER, TIME_OF_DAY }
In this example, ELAPSED_TIME corresponds to the actual experimental measurement, while the rest of the variables simply describe the context in which the experiment took place. It is worth noting though that there is no conceptual difference between the these two kinds of variables. It is entirely reasonable to create a schema which combines multiple variables designated for measurements.
Now lets create an appropriate schema that describes our experiment's data set. We are measuring the elapsed time in nanoseconds (long integer). Cargo is described in kilograms (int), curve ratio is also a double, driver and car names do not exceed 30 characters, and finally the moment each experiment took place is a java.sql.Timestamp:
Schema schema = new Schema(). add(Variables.ELAPSED_TIME, DataTypes.LONG). add(Variables.CAR, DataTypes.string(30)). add(Variables.CARGO, DataTypes.INTEGER). add(Variables.CURVE_RATIO, DataTypes.DOUBLE). add(Variables.DRIVER, DataTypes.string(30)). add(Variables.TIME_OF_DAY, DataTypes.TIMESTAMP);
Important note: Wherever, throughout the Aggregator toolkit, a variable has to be declared, it is irrelevant whether an enum, or another object, or a string is given for it. In all cases, the upper-cased string representation of the passed object is used. "Value", "vALue", an enum Variables.VALUE, or any other object with a toString() method that returns "VALUE" when upper-cased, refer to the same variable. We prefer referring to variables through an enum for safety against accidental typos.
Next, by using this schema, we will direct the database to create a suitable Aggregator:
//This will either create a table "RACING" if there is none, or reuse it if that exists Aggregator aggregator = db.getOrCreate(schema, "racing");Now lets execute the experiment and record our findings:
String[] cars = { "McLaren", "Ferrari", "FIAT" }; String[] drivers = { "Schumacher", "Alonso", "Barrichello" }; int[] cargos = { 10, 40, 70, 100 }; for (String car : cars) { for (String driver : drivers) { for (int cargo : cargos) { //lets run the experiment multiple times to extract safer conclusions for (int repeat = 0; repeat < 100; repeat++) { long elapsedTime = -System.nanoTime(); race(car, driver, cargo); elapsedTime += System.nanoTime(); aggregator.record(new Record() .add(Variables.ELAPSED_TIME, elapsedTime) //measurement .add(Variables.CAR, car) //variables .add(Variables.DRIVER, driver) .add(Variables.CARGO, cargo) .add(Variables.TIME, Utils.now()); } } } }Note that there is no problem storing multiple records with the same set of variable bindings, i.e. repeatedly retest with the same settings; all measurements are independently stored.
Now we can create custom reports of our data. For example, to see the average time per driver, we write:
Records avgTimesPerDriver = aggregator.averageOf(Variables.ELAPSED_TIME).per(Variables.DRIVER); for (Record record : avgTimesPerDriver) { System.out.println(record); String driver = (String)record.get(Variables.DRIVER); double elapsedTime = (Double)record.getValue(); }
Note that we access the value of the aggregation by the Record.getValue() method (which is also equivalent to Record.get(null)).
| Driver | Average Elapsed Time (formatted in seconds) |
|---|---|
| Schumacher | 39.2 |
| Alonso | 39.9 |
| Barrichello | 41.3 |
There are going to be exactly three Record instances reported, all containing a DRIVER key (each record will have a distinct driver name), along with the average time per that driver (as already mentioned, accessed either through Record.getValue() method or by the null key).
As another example, lets find the minimum elapsed time for each distinct driver/car combination. Furthermore, we require the results to come ordered by the driver's name (ascending):
Records minTimesPerDriverAndCar = aggregator. ordered(Orders.asc(Variables.DRIVER)). minOf(Variables.ELAPSED_TIME).per(Variables.DRIVER, Variables.CAR); for (Record record : minTimesPerDriverAndCar) { System.out.println(record); String car = (String)record.get(Variables.CAR); String driver = (String)record.get(Variables.DRIVER); double elapsedTime = (Double)record.getValue(); }
| Car | Driver | Minimum elapsed time |
|---|---|---|
| Alonso | McLaren | 21.5 |
| Alonso | Ferrari | 20.9 |
| Alonso | FIAT | 85.9 |
| Barrichello | McLaren | 22.4 |
| Barrichello | Ferrari | 21.0 |
| Barrichello | FIAT | 79.9 |
| Schumacher | McLaren | 20.5 |
| Schumacher | Ferrari | 20.1 |
| Schumacher | FIAT | 82.6 |
Finally, assume that we want to filter FIAT out from the results, as if we did not use that at all.
Records minTimesPerDriverAndCar = aggregator. filtered(Filters.notEq(Variables.CAR, "FIAT")). ordered(Orders.asc(Variables.DRIVER)). minOf(Variables.ELAPSED_TIME).per(Variables.CAR, Variables.DRIVER); for (Record record : minTimesPerDriverAndCar) { System.out.println(record); String car = (String)record.get(Variables.CAR); String driver = (String)record.get(Variables.DRIVER); double elapsedTime = (Double)record.getValue(); }
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


types:
optimal
good
medium
badly
nothing
section/weeks
Monday
Tuesday
Wednesday
Thursday
Friday
section_one
section_two
section_three
section_four
section_five


I’m Martin Legrand, a French designer focused in interactive design & print. Based in Brookyln, NY.
View Projects
Twitter
LinkedIn
◑
→
Drop a line!


We'd like your help putting news articles on the map.
This is a site that lets you search the Guardian's new API and add location information to articles. All the place data we collect is being made available to anyone who wants it.
Sounds Great! Get me started! →
How does it work?
Begin by searching for news articles in the search box above, or try browsing recent articles. Follow the links to add places to articles you're interested in.
You can view recently geocoded articles on a map, and search for articles in specific places too.
We also have feeds, data downloads and an API.
Who Made This and Why?
Stamen Design made this with input from Matt McAlister and Chris Thorpe at the Guardian, with a little bit of help from our friends at CloudMade and Flickr.
We want to showcase what's available in the Guardian's new API and hopefully improve it at the same time.


Me and my cousins were bored one night. Tatum New Mexico is so small everything is just a bike ride away, so we went to town and country and bought a 2000 mg pack of ginseng juice. We went around the side of town and country and drank it all in 1 gulp.
(8:00)no significant effect on the ride home, a little more energetic then usual.
(8:30)change of mind state everything seems to be shifting.
(9:00)weird feeling in our stomachs.
(9:30)strung out all over the small room.
(10:00)when we lay down it feels like an intense rush like were in a race car.
(10:30)feeling nausious and a little buzzed.
(11:00)coming down is like hell.
(11:30)feeling tired my bro is on the computer.
(12:00)I feel like I'm dead
(11:00am)a bad hangover
All together it was fun and a good party drug with some not so fun side effects. I may try it again but I'll research other things first.
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.


Affordable housing help?
by Chelsea PowrieOliver town council will be considering waiving or reducing the development cost charges associated with an affordable housing complex near the airport.
The proposed affordable housing project at 5931 Airport Street is requesting a waiving or reduction of the $225,000 developmental cost charges payable at time of building permit issuance.
Council will discuss Monday whether to waive the DCCs for the proposed complex or provide a discount, given that they have requested reduced fees in their capacity as a low income housing project.
The Airport Street development is set to commence work in early 2020, prior to the adoption of the new DCC bylaw in mid to late 2020.
Council will have the chance to weigh in on the matter this week.
A staff report states they will be looking at ways to ensure an agreement " would ensure that the form of tenure of the housing units are limited to rental tenure," to contribute to solutions to the ongoing housing crisis.
Oliver council will discuss the issue at Monday's meeting.


A smart mirror project that my team and I built in ~7 days. It was a final project for Dev Bootcamp using only minimal hardware.
- Voice command using IBM’s Watson
- Google maps
- Youtube videos
- Time
- Local Weather, highs and lows
- Local traffic information
- Prominent news headlines
- Facial recognition and log in
Written in pure Javascript using Node.js, Express, Socket.io, and Electron. We based it on the Magic Mirror platform, altered the design pattern and extended functionality using IBM's Watson Neural Network and Face++ Facial Recognition API. Several other API's were used including Google Maps, and Associated Press for news headlines.
The mirror itself is based on the Raspberry Pi, a credit card sized computer which implements a Linux distro optimized for ARM based processors, called Raspbian. It runs a local server which communicates across a web socket giving commands and dynamically updating the DOM.
Watson is always on, constantly listening for the hot word- here 'bob' ( which can be changed to any word ) - and culls the surrounding block of speech. This means you can say either 'hello, bob' or 'bob, hello' and the result will be the same. I think this is a very cool aspect of the speech recognition, and results in an almost conversational flow to the command of the mirror, which isn't displayed very well here, but is very fluid. The pickup of voice itself is pretty astounding given the hardware we used, a dirt cheap webcam/mic.
Dev Bootcamp focuses primarily on Ruby to teach programming, object oriented and MVC design and the structure of web development, but this project utilized no Ruby at all.


--- layout: post title: "What It Means to Stub the System Under Test" date: 2017-02-09T14:34:02-05:00 categories: - articles tags: - testing - ruby on rails ---
Has anyone else felt confused by the phrase stubbing the system under test? I've felt like the phrases that we use in the dev community to label concepts are designed for the sole purpose to obfuscate the truth.
Obfuscate, see what I did there?
There's a popular quote that I always keep in the back of my mind when I use terminology or jargon.
"If you can't explain it simply, you don't understand it well enough."
It isn't just enough to tell developer not to stub the system under test, you have to define and explain it (preferably with an example). Because if you don't understand the underlying concept or terminology how on earth can you stop introducing it to your code.
Short answer, you can't
So let's properly define and explain (simply) what exactly it means to stub the system under test.
Stubs vs MocksA stub defines specific behavior for an object's method. A mock acts as a stand-in object for another. The double keyword in RSpec creates a pseudo-mock object.
To stub a method means to define its behavior. When you stub in a test you are basically saying, "For an object that calls a specific method return this result". There is also another term called mocks which are sometimes used interchangeably but are fundamentally different.
For example, let's say that you have a simple User model that defines name and role attributes for each record.
{% highlight ruby linenos %} # app/models/user.rb class User validates :name, prescense: true validates :role, prescence: true # We will focus on testing this method def welcome_message if admin? "Welcome, #{name}. You can find admin actions under the settings menu" else "Welcome, guest" end end private def admin? role == "admin" end end # db/migrate/2017_create_users.rb class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.string :role t.timestamps end end end {% endhighlight %}Now for your corresponding spec we'd like to test the #welcome_message
method and through it the #admin?
method as well.
Here's the updated spec:
{% highlight ruby %} let(:user) { create(:user, name: "Christian Bale") } describe "#welcome_message" do it "returns true for user's of role 'admin'" do allow(user).to receive(:admin?).and_return(true) expect(user.welcome_message).to eq "Welcome, #{user.name}. You can find admin actions under the settings menu" end it "returns guest message for user's not of type 'admin'" do expect(user.welcome_message).to eq "Welcome, guest" end end {% endhighlight %}Everything is green and passing.
But there is a slight problem with the code above. What happens when the client asks for a slight change for when the admin welcome message displays. Specifically, they only want users whom are admin and have been created in the last 3 months to recieve the message.
{% highlight ruby %} def admin? # User has to be of role admin # and created in the last 3 months role == "admin" && created_at > (DateTime.current - 3.months) end {% endhighlight %}Does our test suite still pass?
It actually does and with flying colors, but why? Well, because in the early step we allows user to accept the message admin? and return the value true, now in the context of that test the #admin? method now always returns true.
{% highlight ruby %} it "returns true for user's of role 'admin'" do allow(user).to receive(:admin?).and_return(true) # Stubbing the system under test expect(user.welcome_message).to eq "Welcome, #{user.name}. You can find admin actions under the settings menu" end {% endhighlight %}Private methodsSomething to keep in mind is that the #admin? method is listed as private. I'm paraphrasing Sandi Metz here, messages that we send to self (current class) aren't things that we care about testing since they don't effect other parts of our system.
The test above, while a farily contrived example, shows how stubbing the #admin?
method's response to true can hide our codes actual intent. This produces an unreliable testing suite that over time becomes hard to trust and maintain.
Here's how I would test the above scenario including the guest branch, the admin that was created recently branch, and the admin that was created in the past branch.
{% highlight ruby %} let(:user) { create(:user, name: "Christian Bale") } describe "#welcome_message" do context "when admin" do let(:current_time) { DateTime.current } let(:the_past) { current_time - 5.months } let(:admin) { create(:user, name: "Nic Cage", role: "admin") context "and created recently" do before do admin.created_at = current_time admin.save end it "returns the welcome message with instructions" do expect(admin.welcome_message).to eq "Welcome, #{user.name}. You can find admin actions under the settings menu" end end context "and created in the far past" do before do admin.created_at = the_past admin.save end it "returns the guest message" do expect(admin.welcome_message).to eq "Welcome, guest" end end end context "when basic user" do let(:user) { create(:user, name: "Christian Bale") } it "returns the guest message" do expect(user.welcome_message).to eq "Welcome, guest" end end end {% endhighlight %}Now future changes to the #admin?
method are able to effect the #welcome_message
method and we're covered against tests that pass when in reality they are broken. This is the basic premise behind not stubbing the system under test.
This one stumped me for some time.
"the system" refers to the current class or logic that you are attempting to harness and test. No it isn't what they talk about in The Matrix, though I always have this thought when I hear the phrase. Think of it more like your application logic or flow. You want to ensure that they are functioning as you intend and more importantly how the code is written. When you stub over functionality in your tests you get the all satisfying green but in reality your test isn't worth much.
For the example above the system under test is specifically the User model. Our goal is to directly test its functionality in the corresponding spec.
So when do you stub? Well, this is something that is constantly evolving for me but here are a few general guidelines I think about when I start the reach for stubbing.
Essentially, anything that you don't have direct control over fits this category. You can use stubs to ensure your system appropriately handles both error cases and happy path cases. This also improves test suite performance by avoiding waiting on the third-party service to respond(~100ms every request will start to add up).
Controllers that call service objects are a good example of this. In a hypothetical controller test you wouldn't want to unit test the service class as well. Ideally, it would be properly tested in isolation within its own spec.
With that being said we still want to ensure that it is being sent a message (essentially being called) in the controller spec context.
{% highlight ruby %} # Example controller #index action def index CreateUserService.perform(params: params) rescue StandardError => e head :bad_request end # Example test ensuring a message is sent it "ensures message is sent to CreateUserService" do expect(CreateUserService).to receive(:perform).with(params: params) get :index end {% endhighlight %}This spec says, "Given the #index action for the controller, ensure that the CreateUserService receives the message of perform with the arguments of params: params"
We aren't directly testing the CreateUserService here because it already has its own associated unit test (not shown here) which ensures that it is functioning as expected. Not stubbing the service class above is just duplicating testing effort.
If you have a model with a scope that returns its active users (we'll call is :active) which already has unit tests ensuring that it functions as expected, then anytime you have to use the same scope elsewhere you could stub out the response.
This avoids having to hit the database in the test which greatly speeds up the test suite. Be warned though if you are writing tests specific to database interactions it is probably wise to over-test rather than under-test. Minimizing database interactions is a delicate balancing act between performance and confidence.
Like I mentioned above, these tend to directly deal with the current class that you are testing (system under test). You want to make sure that they are working as you expect and stubbing over the implementation is going to lead to unreliable results.
This is end-to-end testing and as such you want to ensure that all steps along the path are in working order. I would also argue that it is ok for these specs to be a little slower at the great benefit of higher confidence.
As with all programming, knowing when to stub and when not to can be fairly opionated. There is always room for breaking the rules in certain situations and as such its important to remain flexible with your approach to testing. Using your best judgement to decide what to directly test and what to stub is something that takes a lot of practice (I'm still learning this as well).
I took loads of inspiration from Sandi Metz's talk about Magic Tricks of Testing, which is an excellent in-depth discussion of what to test and what not to. I highly recommend watching it and following along with the slides on SpeakerDeck.
Did I miss something that should be stubbed? How about something else not to stub? I'd love to add to the above list based on your comments below.
Thanks for reading


You try to send some monacoin but when you press the 'Send' button you get the error 'Insufficient funds' appearing in a dialog box.
In your wallet you can normally only spend monacoin that have confirmed. This is shown graphically in the ' Transactions' tab when the status icon is no longer empty. If you have unconfirmed transactions you get an 'Available to spend' balance in the MultiMona header. This shows the amount in your wallet that is available to spend. See What does 'available to spend mean ?' for more details.
Also, you need to take into account the fee that is added to your transaction. The fee varies according to the size of the transaction but is typically 0.0001 MONA. For instance, if you have 10 MONA in your wallet and the fee is 0.0001 MONA then you can only spend a maximum of 10 - 0.0001 = 9.9999 MONA.


|
OIS
1.5
Object-oriented Input System
|
This page is a simple "static" blog-like thing just to post updates about where OIS's developement is going
This is just a short post to notify that the release 1.5 is now in preparation!
The one single feature that needed merging is now merged (added modifier bitflags for capslock and numlock state. These are toggeled at each keydown event on their respective key).
I'm currently running a little pass of static analisys and fixes. build system and API doesn't have any real changes between 1.4 and 1.5, it's just that what point in time actually is 1.4 is a bit nebulous. I tried to tag the correct "commit", but between what was shipped in the "Ogre dependencies package" for a while, what was maintained in an independent fork (that was now merged in this repository, it's kind of a mess).
1.5 is to get a nice "milestone" in time after a few years of accumulating dust. I was meaning to do this release in the summer, but we are december frist, so I'm a bit late... This is just equivalent to the 1.4.1 fersion mentioned last april... :smile:
Anyway, the documentation on github pages is going to be updated soon, and I'll do my best to notify package mantainers, members of the OGRE forums and any other places here and there...
Stay tuned!
Hi, Ybalrid here,
I recently (about a month ago) got access to the OIS repository to help maintain the library.
Since that time, I managed to go through the few oppened pull request that accumulated on GitHub over the last couple of years. Most of them were not mergable as-is. Some of them got merged-in, or applied by hand. Other where closed because the problem they where fixing was already adressed. And Issues where oppened to address the remaining problems.
I am currently (and I'm almost done) with this. Progress can be followed on this kan-ban style board here https://github.com/wgois/OIS/projects/1
Once I'm done with that, and we're in a state where our CI tells that everything is green, I'm going to tag a 1.4.1 release, then try to get a few package maintainers from Linux distributions to update their packages, upload windows binaries, and probably update the guys from the OgreDeps project to check out the new stuff.
Basically, the changes as of now can be sumarized like this :
I'll do what's possible to keep that library alive. I'll post here news about where I thik we should go to modernize and cleanup the code, add some missing backed (Xinput!) and maybe some other features.


Classic Breads
- 100% Whole Wheat: A full-flavored, whole wheat bread with 4 grams of fiber per serving.
- Harvest Bread: A celebration of apples, raisins, walnuts and seeds. We love this bread for turkey sandwiches, makes great breakfast toast
- Multi-Grain Anadama: We have added a twist to this classic dark bread by loading it with organic grains and giving it a great chewy cornmeal crust.
- Oat & Honey: My daughter Rebecca's favorite bread. Taste the dark, rich honey; makes the best peanut butter and jelly sandwiches.
- Sourdough: Our most popular bread -- great with every meal, soft on the inside with a chewy crust.
Artisan Breads
- Chocolate: The taste of rich chocolate brownies with the consistency of bread. Makes the best ice cream sandwiches and delicious French toast. Enjoy as a snack...
- Olive Bread: Unbleached flour, water, Sicilian green olives, Kalamata olives, rosemary, salt, yeast, and evaporated cane juice.
- Red Pepper Hummus with Sesame Seeds & Garlic: Unbleached flour, chick peas, red pepper, Spanish onion, sesame tahini, sesame seeds, garlic, salt, pepper & yeast
- Sun-Dried Tomato w/Fresh Basil Oil: Unbleached flour, water, sun-dried tomatoes, garlic, fresh basil, garlic, olive oil, oregano, salt, yeast & evaporated cane juice
- Baby Spinach, Onion & Garlic Ciabatta: Unbleached flour, water, onions, baby spinach, garlic, soybean oil, black pepper, white pepper, salt and yeast.
Cakes
- Midnight chocolate cake (w/o nuts): deep, dark devil’s food cake filled with a silky milk chocolate buttercream and finished with bittersweet chocolate ganache
- Triple chocolate mousse cake (w/o nuts, gf): milk, dark, and white chocolate mousse in between flourless chocolate cake layers
- Lemon-raspberry cake (w/o nuts): lemon cake brushed with lemon syrup, filled with lemon curd, crushed raspberries, buttercream
- Carrot cake: classic carrot cake made with raisins and walnuts and spices, frosted with sweet cream cheese icing, and decorated with candied carrot
- Boston cream pie (w/o nuts): sponge cake, vanilla cream, coffee syrup, chocolate ganache
Cookies
- Oreo 2.25 (w/o nuts): creamy vanilla filling sandwiched between two dark chocolate cookies
- Raspberry meringue cloud 3 (w/o nuts): light-as-air meringues swirled with raspberry coulis
- Raspberry crumb bar 3.5 (w/o nuts): buttery base, sweet raspberry jam, shortbread topping
- Granola bar 3.5: oats, honey, walnuts, cranberry-apricot-apple jam
- Peanut butter 2.25: creamy peanut butter, with maldon salt and chopped nuts
Pies
-
Chocolate cream:
rich dark chocolate pudding with whipped cream and milk chocolate curls
(veg, w/o nuts) slice 6 | whole 35 -
Coconut cream:
coconut custard with whipped cream and toasted coconut
(veg, w/o nuts) slice 5 | whole 30 -
Ile high lemon meringue:
tart lemon curd piled high with toasted meringue
(veg, w/o nuts) slice 5 | whole 30


SKILL CCNE011: Identify filtering devices
SKILL CCNE012: Define methodologies of filtering
SKILL CCNE013: Configure filtering devices on the Network
SKILL CCNE014: Filtering at the OS
- Routed Mode
- Transparent Mode
- Whitelist vs. Blacklist logic
Where/How should you arrange Firewalls in an Enterprise Topology?
- Host based versus Network Based Firewalls
- Packet Filtering
- Stateful Inspection
- Application level gateways
- Use ICMP, UDP, or TCP packets to test whether ports/protocols are allowed through filtering devices
- Incrementing TTL; TTL expirations trigger ICMP TTL exceeded replies
- Defense: block outgoing ICMP Time exceeded packets at the perimeter or use Network Address Translation to hide any/all internal network addresses
- Traceroute uses ICMP (windows) or UDP (linux)
- On Linux:
Complete the Firewall Exercise before moving on
IDS: Intrusion Detection System
- Does not need to be inline
- Logging, Alerting
IPS: Intrusion Prevention System
- Dropping, Blocking, Resetting, Sandboxing
Signatures
- Atomic
- Stateful
ip access-list standard 1
permit host <IP_ADDRESS>
deny <IP_ADDRESS> <IP_ADDRESS>
permit any
----------------------
What interface/direction is the ACL applied to allow host <IP_ADDRESS> to access the <IP_ADDRESS> network, but deny ALL OTHER <IP_ADDRESS> hosts?
ip access-list extended 101
remark action protocol (src IP) (src port) (dst IP) (dst port)
deny udp host <IP_ADDRESS> host <IP_ADDRESS> eq 69
permit ip any any log
----------------------
What is the best interface/direction to place the ACL on to DENY only host <IP_ADDRESS> access to TFTP on host <IP_ADDRESS>, but allow all other hosts to access these services?
Router 2, interface G0/1 inbound (Whitelisting)
ip access-list permit tcp <IP_ADDRESS> <IP_ADDRESS> any eq domain
ip access-list permit tcp <IP_ADDRESS> <IP_ADDRESS> any eq www
ip access-list deny ip any any
Router 1, interface G0/2 inbound (Blacklisting)
ip access-list deny ip <IP_ADDRESS> <IP_ADDRESS> any
ip access-list deny ip <IP_ADDRESS> <IP_ADDRESS> any
ip access-list permit ip any any
- Collects statistics on byte/packet counts for each rule (IP Accounting)
- Can be used for NAT (including masquerading & port forwarding)
- Can perform packet mangling to modify fields in headers
IPTables "Chains" (circled) represent various hooks that the kernal's networking stack interact with. The chain determines when a packet is examined. Using the diagram, you can see how packets are processed through various chains as they enter or leave a host.
Table: Use the "t" flag to define table (if not Filter)
Add/Delete/Insert: Use -A, -D, -I (can insert rule with number)
Chain: INPUT/OUTPUT/PRE or POST ROUTING
Target: Use -j to define an action (DROP/ACCEPT etc)
Protocol: Protocols. tcp, udp, icmp, etc. (-p)
Source: Source ip-address of the packet (-s)
Destination: Destination ip-address for the packet (-d)
Rules
Targets (ex. Filter applicable)
Syntax/Example
iptables -t [table] -[A(add)/D(del)/I(ins)/P(pol] CHAIN rule [-p (protocol, etc)] -j TARGET
iptables -P INPUT DROP
Filtering Rules
iptables -A OUTPUT -d <IP_ADDRESS> -p tcp --dport 80 - j ACCEPT
iptables -A INPUT - s <IP_ADDRESS> -p udp --dport 69 -j DROP
Adding a rule using Bytecode
iptables -A OUTPUT -m bpf --bytecode '4,48 0 0 9,21 0 1 6,6 0 0 1,6 0 0 0' -j ACCEPT
Drop Traffic From Mac Address "DE:AD:BE:EF:CA:FE"
iptables -A INPUT -m mac --mac-source DE:AD:BE:EF:CA:FE -j DROPUsing the Iptables and extension manpages, practice IPTables syntax
- Change the source address to <IP_ADDRESS>
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to <IP_ADDRESS>
- Change the source address to <IP_ADDRESS> and the port to 9001
iptables -t nat -A POSTROUTING -p tcp -o eth0 -j SNAT --to <IP_ADDRESS>:9001
- Change the destination address to <IP_ADDRESS>
iptables -t nat -A PREROUTING -i eth0 -j DNAT --to <IP_ADDRESS>
- Forward traffic to an internal or private IP on port 8080
iptables -t nat -A PREROUTING -p tcp -o eth0 -j DNAT --to <IP_ADDRESS>:8080
Using iptables, practice NATing


AWS::AmazonMQ::ConfigurationAssociation
Use the AWS CloudFormation AWS::AmazonMQ::ConfigurationAssociation
resource to
associate a Configuration with a Broker, or return information about the specified
configurationassociation. Only use one per broker, and don't use a configuration on
the broker resource if you have associated a configuration with that broker.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::AmazonMQ::ConfigurationAssociation", "Properties" : { "Broker" :
String
, "Configuration" : ConfigurationId } }
YAML
Type: "AWS::AmazonMQ::ConfigurationAssociation" Properties: Broker:
String
Configuration: ConfigurationId
Properties
Broker
-
The broker to associate with a configuration.
Required: Yes
Type: String
Update requires: Replacement
Configuration
-
The configuration to associate with a broker.
Required: Yes
Type: ConfigurationId
Update requires: No interruption
Return Values
Ref
When you pass the logical ID of an AWS::AmazonMQ::ConfigurationAssociation
resource to the intrinsic Ref
function, the function returns the Amazon MQ
configurationassociation ID. For example:
c-1234a5b6-78cd-901e-2fgh-3i45j6k178l9
For more information about using the
Ref
function, see
Ref.
Examples
ConfigurationAssociation
The following example creates an Amazon MQ ConfigurationAssociation
.
JSON
"ConfigurationAssociation1": { "Type": "AWS::AmazonMQ::ConfigurationAssociation", "Properties": { "Broker": { "Ref": "Broker1" }, "Configuration": { "Id": { "Ref": "Configuration1" }, "Revision": { "Fn::GetAtt": [ "Configuration1", "Revision" ] } } } }
YAML
ConfigurationAssociation1: Type: AWS::AmazonMQ::ConfigurationAssociation Properties: Broker: {Ref: Broker1} Configuration: Id: {Ref: Configuration1} Revision: {'Fn::GetAtt': [Configuration1, Revision]}
See Also
-
Broker Architecture in the Amazon MQ Developer Guide


Module overlap
Classes
Overlap
OverlapHistory
Functions
addEdgeToOverlapTable
addEventToOverlapTable
adjacencyIndex
copyAdjacencyOverlaps
outAdjacencyOverlaps
removeEdgeFromOverlapTable
removeEventCycleFromOverlapTable
selfAdjacencyOverlaps
square
Variables
NON_STUB_COEFF
__package__


Your Weekend in Combat Sports
by Luke Irwin
As always, programming is listed in EST
Live fights are in BOLD.
Premiere programming is in ITALICS.
MMA programming is in ORANGE.
Boxing programming is in RED.
Kickboxing/Muay Thai/Karate programming is in BLUE.
Wrestling/Jiu Jitsu/Grappling programming is in PURPLE.
Misc./Combination combat sports programming is in GREEN.
Friday November 8
4:30am: OneFC: Masters of Fate Prelims (Facebook/Twitter)
7:30am: OneFC: Masters of Fate (OneFC App)
1:00pm: FITE in Focus: KSI vs. Logan Paul II (Fite.tv)
4:00pm: KSI-Paul II Weigh-Ins (DAZN/Fite.tv)
5:00pm: Max on Boxing (ESPN2)
5:00pm: Herring vs. Roach Jr. Weigh-Ins (ESPN+)
5:30pm: UFC Live (ESPN2)
6:15pm: Bellator 233 Prelims (Bellator.com/DAZN)
7:00pm: Michigan vs. North Carolina (FloWrestling)
7:00pm: Edinboro vs. Wisconsin (FloWrestling)
8:00pm: Rage in the Cage OKC 69 ($14.99 Fite.tv)
8:00pm: AFL 21 ($14.99 Fite.tv)
9:00pm: Bellator 233 (Paramount Network/DAZN)
Saturday November 9
3:00am: Dreamtime Boxing: Browne vs. Hopoate ($14.99 Fite.tv)
4:00am: Prince Promotions: No Mercy II ($12.99 Fite.tv)
9:00am: 2019 National Middle School Duals (FloWrestling)
10:00am: 2019 Journeymen Northeast Duals (FloWrestling)
10:00am: 2019 Mountaineer Invitational (FloWrestling)
11:00am: UFC Fight Night: Magomedsharipov vs. Kattar Prelims (ESPN+)
1:00pm: KSW 51 ($11.99 Fite.tv)
2:00pm: UFC Fight Night: Magomedsharipov vs. Kattar (ESPN+)
2:00pm: Campbell vs. Pitt (ACC Network)
2:30pm: ECE 2 ($9.99 Fite.tv)
3:00pm: Luis Alberto Veron vs. Michael McKinnon/Anahi Ester Sanchez vs. Chantelle Cameron (ESPN+)
5:00pm: UFC Fight Night Post-Fight Show (ESPN+)
6:00pm: Warriors Cup 40 ($14.99 Fite.tv)
6:30pm: 2019 Fight To Win Nationals (FloGrappling)
7:00pm: KSI vs. Logan Paul/Billy Joe Saunders vs. Marcelo Esteban Coceres (DAZN)
7:00pm: Fury Fighting Championships 39 ($14.99 Fite.tv)
8:00pm: Top Rank on ESPN Prelims (ESPN+)
8:00pm: Fusion Fight League: Rising Stars 2 ($14.99 Fite.tv)
8:00pm: WGP 59 ($9.99 Fite.tv)
8:00pm: Fight To Win 131 (FloGrappling)
8:30pm: Fight for the Troops: Aguilar vs. Demarce ($9.99 Fite.tv)
10:00pm: Jamel Herring vs. Lamont Roach Jr./Kubrat Pulev vs. Rydell Booker (ESPN+)
10:30pm: Xtreme Fight Night 363 (UFC Fight Pass)
11:30pm: PBC Face-To-Face: Ortiz vs. Wilder (Fox)
Sunday November 10
12:00am: PBC Fight Camp: Ortiz vs. Wilder Part 2 (Fox)
3:00am: Pancrase 310 (UFC Fight Pass)
9:00am: 2019 National Middle School Duals (FloWrestling)
10:00am: 2019 Journeymen Collegiate Classic (FloWrestling)
11:00am: Mix Fight 44 ($9.99 EliteBoxing.tv/Fite.tv)
1:00pm: Northwestern vs. Virginia Tech (ACC Network)
2:00pm: Navy vs. Penn State (FloWrestling)
7:00pm: Ohio State vs. Stanford (FloWrestling)
Top-10 Viewing Options: UFC on in the morning and Logan Paul at night. Just as God intended, I presume.
4. OneFC: Masters of Fate:
A bit of a step down in terms of quality, but they’re not far removed from having Demetrious Johnson fourth on one of their cards, so they’re probably due for a little cool-off.
5. Navy vs. Penn State:
The defending champs are back in action with a couple top-ranked wrestlers going up against ranked opponents.
7. Fight To Win 131:
Had to end eventually, but F2W’s run of loaded shows comes to an end this weekend.
t10. PBC Face-To-Face: Ortiz vs. Wilder:
Say what you want about Deontay, but after this fight, and assuming the rematch gets made, his last six bouts would have been Stiverne-Ortiz-Fury-Breazeale-Ortiz-Fury.  No Tom Schwarz’s in there.
4×5: Every week, UCS’s Luke Irwin will list his Top-5 bouts in each of the four major different combat sports that he’s looking forward to the most, regardless of any conventional criteria, merit, or logic.
KICKBOXING/MUAY THAI
5. Bantamweight Muay Thai Bout: Hiroaki Suzuki (42-12) vs. Tukkatatong Petpayathai (241-34-2) [OneFC: Masters of Fate]
4. Bantamweight Muay Thai Bout: Han Zi Hao (51-23-4) vs. Kongsak Saenchaimuaythaigym (169-53-2) [OneFC: Masters of Fate]
3. Krush Bantamweight Championship: Akira Takashi (c) (7-4) vs. Junki Sasaki (2-0) [Krush 107]
2. Bantamwight Muay Thai Bout: Azize Hlali (99-17-1) vs. Angmanee Sor Tienpo (100-24-6) [OneFC: Masters of Fate]
1. WGP Super Heavyweight Championship: Guto Inocente (c) (36-9) vs. Haime Morais (36-8-1) [WGP 59]
BOXING
5. WBO World Super Middleweight Championship: Billy Joe Saunders (c) (28-0) vs. Marcelo Estaban Coceres (28-0-1) [Matchroom on DAZN]
4. Women’s Lightweight Bout: Anahi Ester Sanchez (19-4) vs. Chantelle Cameron (11-0) [Top Rank on ESPN]
3. Junior Featherweight Bout: Hugo Berrio (28-7-1) vs. Ronny Rios (31-3) [Top Rank on ESPN]
2. Vacant WBO European Lightweight Championship: Liam Walsh (22-1) vs. Maxi Hughes (19-4-2) [Top Rank on ESPN]
1. WBO World Junior Lightweight Championship: Jamel Herring (c) (20-2) vs. Lamont Roach Jr. (19-0-1) [Top Rank on ESPN]
MMA
5. Women’s Atomweight Bout: Bi Nguyen (5-4) Stamp Fairtex (2-0) [OneFC: Masters of Fate]
4. Light Heavyweight Bout: Klidson Abreu (15-3) vs. Shamil Gamzatov (13-0) [UFC Fight Night: Kattar vs. Magomedsharipov]
3. Heavyweight Bout: Alexander Volkov (30-7) vs. Greg Hardy (5-1) [UFC Fight Night: Kattar vs. Magomedsharipov]
2. OneFC Strawweight Championship: Joshua Pacio (c) (14-3) vs. Rene Catalan (6-2) [OneFC: Masters of Fate]
1. Featherweight Bout: Calvin Kattar (20-3) vs. Zabit Magomedsharipov (17-1) [UFC Fight Night: Kattar vs. Magomedsharipov]
GRAPPLING/WRESTLING
5. 180lb Black Belt Bout: Edwin Najmi vs. Jaime Canuto [Fight To Win 131]
4. Black Belt Masters Lightweight Championship: Marcos Torregrosa vs. Sean Nkmorad [Fight To Win 131]
3. Black Belt Bout: Tye Ruotolo vs. Vagner Rocha [Fight To Win 131]
2. 165lb Bout: #1 Vincenzo Joseph (PSU) vs. #12 Tanner Skidgel (Navy) [Navy vs. Penn State]
1. 174lb Bout: #1 Mark Hall (PSU) vs. #11 Spencer Carey (Navy) [Navy vs. Penn State]
Bold, Yet Probably Fruitless Predictions: I might be overarching a bit, but I’m well on my way to K-Mart for Christmas!
Best Fight of the Weekend: Calvin Kattar vs. Zabit Magomedsharipov
Most Underrated Fight of the Weekend: Edwin Najmi vs. Jaime Canuto
If My Life Depended on One Pick: Billy Joe Saunders over Marcelo Estaban Coceres
Best Card Top-to-Bottom: OneFC: Masters of Fate
Upset of the Week: KSI over Logan Paul
Most Disappointing Fight of the Weekend: Billy Joe Saunders vs. Marcelo Estaban Coceres


The following happened sometime in 2001, in the early part of the year. This is the report of my first breakthrough experience on salvia. The experience that completely shattered my perception of reality and existense forever.
Its about 10 AM, everyone in my house has left so I prepare to smoke my Salvia 5x extract. I get out my pipe and extract and a lighter.  I light the bowl and inhale, 2 big hits holding each for as long as I could. Close my eyes. Next thing I know I feel powerful pulling on my body. I'm being dragged to the ground. I look over and a group of quite powerful beings are dragging me into a vehicle of some kind. Sheer terror sets in.
I'm driven to another place, another time, another dimension, a complete other plane of existense with these beings. I fear I'll never get back to the familiar cozy existense that I've been familiar with in the 16 years previous. Finally we arrive at our destination, a large completely empty plane, sans for a extremely large table and 4 or 5 massive beings who I intuitively know are my true family. My cosmic superbeing family. And I am one of them. I look at myself and I too am one of them. Any idea of who I used to be is gone. I was always this way. Its how I was meant to be. In the corner of this plane, I don't how how it suddenly developed a corner. Is every human being I've ever encountered. Perfectly detailed down to the hairstyle. All small enough that I could pick them up in my hand at once. I'm being scolded by my new family about not meddling in human affairs. Its not my place to do so. I just sit and listen.
Slowly things start to fade. I'm back in my old existense, only it doesn't seem real. I frantically run around trying to confirm its the old world, but I remain sure its just a parody world. A doppleganger, looking similiar but lacking the true depth and soul of an actual reality. I decide to go downstairs. As I'm walking down the stairs an intense blinding yellow light envelopes my vision, from behind my eyes. I jump on the couch to avoiding falling. And close my eyes hoping it will stop. It eventually does and still feeling this sense of unreality I do everything I can think of to comfort myself. I sit on the floor wrapped in a blanket frantically jamming orea cookies and milk into my mouth, trying to focus on the tv. Trying to regain a sense of place thats real.
Salvia does something no ordinary hallucinogen/psychedelic/entheogen does. It doesn't distort reality. It creates its own. Complete with a history. It erased my entire existense and wrote a new one for me. My previous life never existed. I had no question this is how I was. No idea I'd taken a drug, I was previously 'human'. I've never been the same since this experience. Once it happens, theres no going back.
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.


US carriers can no longer purchase Huawei and ZTE equipment with federal subsidy
by RoAnd while things are slowly going back to normal around the Huawei ban, the US FCC is making things harder on the other end. The latest development around the US-China trade war is that USA operators can no longer purchase Huawei and ZTE equipment using federal subsidy funds.
As of now, only select operators with approval can purchase Huawei and ZTE equipment and they can still do it but not with federal subsidy. In fact, FCC's ruling obliges the US carriers to replace its current equipment bought with federal funds, which would cost around $2 billion, according to FCC's commissioner.
Huawei has responded to the ruling by saying that FCC's decision is based entirely on one-sided information and practically imposes restrictions in the absence of real evidence. If it objects the ruling, it would take up to 120 days for the restriction to take into effect.


×
Home
Authors' conceptions
Administration
Mints
About
Fars
Sham
Jazira & Mosul
Ifriqiya
Yemen
Empire (beta)
Fars
Jazira
☰
Legend
Provincial Capital
Sub-region Capital
District Capital
Other site (affiliation not attested)
Darābjird
Ardashīr Khurra
Arrajān
Iṣṭakhr
Sābūr
Harbour
Eastern Syrian Diocese
Eastern Syrian Metropolitan Diocese
Precious metal mint
Copper mint
Legend


Daily Code 3
December 28, 2016
Problem today: getting the header to display the text and getting the font-family displayed using @font-face. Wasn't able to use the fonts I wanted to and the content of certain elements wouldn't display unless I set rules for the body element. Also, some weird stuff went down when I tried to put a paragraph element in the header element. I also forgot to "save as" and overwrote yesterday's DailyCode files. smh. Today's design had alot of issues!
I got the typefaces to display correctly in Chrome and Safari, but not in Firefox. I wonder why? I'm pretty sure it has something to do with the css I'm writing and/or the the font file format. The fonts wouldn't display properly until I changed the "font-family" value in the @font-face rule (no underscores in the name?). I was only able to use one cusotom font in Chrome. Good problems. I still have time before the day ends to fix them. My end goal is to get the same presentation in all three browsers.
A quick note on the typography: I really like Bebas Neue. Has a great vibe to it and instantly upgrades the design. It's like Impact but better. I wonder why?
Result: Design works across Chrome and Safari but custom font won't display in Firefox. I think that Firefox only supports WOFF and I only have the OTF version of the font.


Sitar music
Your browser does not support the audio element.
This is a vedio embeded web page
Sorry your browser does not support HTML 5 video tag.
Learn this and you will prosper
Error
success
Information