|
SdFat
|
configuration definitions More...
#include <stdint.h>
#include "Arduino.h"
Macros | |
| #define | CHECK_FLASH_PROGRAMMING 1 |
| #define | DESTRUCTOR_CLOSES_FILE 0 |
| #define | ENABLE_ARDUINO_FEATURES 1 |
| #define | ENABLE_ARDUINO_SERIAL 1 |
| #define | ENABLE_ARDUINO_STRING 1 |
| #define | ENABLE_DEDICATED_SPI 1 |
| #define | ENDL_CALLS_FLUSH 0 |
| #define | FAT12_SUPPORT 0 |
| #define | FS_DEFAULT_DATE FS_DATE(compileYear(), 1, 1) |
| #define | FS_DEFAULT_TIME FS_TIME(0, 0, 0) |
| #define | HAS_SDIO_CLASS 0 |
| #define | INCLUDE_SDIOS 0 |
| #define | MAINTAIN_FREE_CLUSTER_COUNT 0 |
| #define | SD_CHIP_SELECT_MODE 0 |
| #define | SD_HAS_CUSTOM_SPI 0 |
| #define | SD_MAX_INIT_RATE_KHZ 400 |
| #define | SDFAT_FILE_TYPE 1 |
| #define | SPI_DRIVER_SELECT 0 |
| #define | USE_BLOCK_DEVICE_INTERFACE 0 |
| #define | USE_EXFAT_BITMAP_CACHE 0 |
| #define | USE_FAT_FILE_FLAG_CONTIGUOUS 1 |
| #define | USE_FCNTL_H 0 |
| #define | USE_LONG_FILE_NAMES 1 |
| #define | USE_MULTI_SECTOR_IO 1 |
| #define | USE_SD_CRC 0 |
| #define | USE_SEPARATE_FAT_CACHE 0 |
| #define | USE_SIMPLE_LITTLE_ENDIAN 1 |
| #define | WDT_YIELD_TIME_MILLIS 0 |
Typedefs | |
| typedef uint8_t | SdCsPin_t |
configuration definitions
Copyright (c) 2011-2020 Bill Greiman This file is part of the SdFat library for SD memory cards.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| #define CHECK_FLASH_PROGRAMMING 1 |
If CHECK_FLASH_PROGRAMMING is zero, overlap of single sector flash programming and other operations will be allowed for faster write performance.
Some cards will not sleep in low power mode unless CHECK_FLASH_PROGRAMMING is non-zero.
| #define DESTRUCTOR_CLOSES_FILE 0 |
Set DESTRUCTOR_CLOSES_FILE nonzero to close a file in its destructor.
Causes use of lots of heap in ARM.
| #define ENABLE_ARDUINO_FEATURES 1 |
For Debug - must be one
| #define ENABLE_ARDUINO_SERIAL 1 |
For Debug - must be one
| #define ENABLE_ARDUINO_STRING 1 |
For Debug - must be one
| #define ENABLE_DEDICATED_SPI 1 |
Set ENABLE_DEDICATED_SPI to enable dedicated use of the SPI bus. Selecting dedicated SPI in SdSpiConfig() will produce better performance by using very large multi-block transfers to and from the SD card.
Enabling dedicated SPI will cost some extra flash and RAM.
| #define ENDL_CALLS_FLUSH 0 |
Call flush for endl if ENDL_CALLS_FLUSH is nonzero
The standard for iostreams is to call flush. This is very costly for SdFat. Each call to flush causes 2048 bytes of I/O to the SD.
SdFat has a single 512 byte buffer for SD I/O so it must write the current data sector to the SD, read the directory sector from the SD, update the directory entry, write the directory sector to the SD and read the data sector back into the buffer.
The SD flash memory controller is not designed for this many rewrites so performance may be reduced by more than a factor of 100.
If ENDL_CALLS_FLUSH is zero, you must call flush and/or close to force all data to be written to the SD.
| #define FAT12_SUPPORT 0 |
Set FAT12_SUPPORT nonzero to enable use if FAT12 volumes. FAT12 has not been well tested and requires additional flash.
| #define FS_DEFAULT_DATE FS_DATE(compileYear(), 1, 1) |
Set the default file time stamp when a RTC callback is not used. A valid date and time is required by the FAT/exFAT standard.
The default below is YYYY-01-01 00:00:00 midnight where YYYY is the compile year from the DATE macro. This is easy to recognize as a placeholder for a correct date/time.
The full compile date is: FS_DATE(compileYear(), compileMonth(), compileDay())
The full compile time is: FS_TIME(compileHour(), compileMinute(), compileSecond())
| #define FS_DEFAULT_TIME FS_TIME(0, 0, 0) |
00:00:00 midnight
| #define HAS_SDIO_CLASS 0 |
Default is no SDIO.
| #define INCLUDE_SDIOS 0 |
| #define MAINTAIN_FREE_CLUSTER_COUNT 0 |
Set MAINTAIN_FREE_CLUSTER_COUNT nonzero to keep the count of free clusters updated. This will increase the speed of the freeClusterCount() call after the first call. Extra flash will be required.
| #define SD_CHIP_SELECT_MODE 0 |
SD_CHIP_SELECT_MODE defines how the functions void sdCsInit(SdCsPin_t pin) {pinMode(pin, OUTPUT);} and void sdCsWrite(SdCsPin_t pin, bool level) {digitalWrite(pin, level);} are defined.
0 - Internal definition is a strong symbol and can't be replaced.
1 - Internal definition is a weak symbol and can be replaced.
2 - No internal definition and must be defined in the application.
| #define SD_HAS_CUSTOM_SPI 0 |
Enable SDIO driver if available. Determine the default SPI configuration.
| #define SD_MAX_INIT_RATE_KHZ 400 |
SD maximum initialization clock rate.
| #define SDFAT_FILE_TYPE 1 |
File types for SdFat, File, SdFile, SdBaseFile, fstream, ifstream, and ofstream.
Set SDFAT_FILE_TYPE to:
1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
| #define SPI_DRIVER_SELECT 0 |
If the symbol SPI_DRIVER_SELECT is:
0 - An optimized custom SPI driver is used if it exists else the standard library driver is used.
1 - The standard library driver is always used.
2 - An external SPI driver of SoftSpiDriver template class is always used.
3 - An external SPI driver derived from SdSpiBaseClass is always used.
| #define USE_BLOCK_DEVICE_INTERFACE 0 |
Set USE_BLOCK_DEVICE_INTERFACE nonzero to use generic block device
| #define USE_EXFAT_BITMAP_CACHE 0 |
Set USE_EXFAT_BITMAP_CACHE nonzero to use a second 512 byte cache for exFAT bitmap entries. This improves performance for large writes that are not a multiple of 512 bytes.
| #define USE_FAT_FILE_FLAG_CONTIGUOUS 1 |
Set USE_FAT_FILE_FLAG_CONTIGUOUS nonzero to optimize access to contiguous files.
| #define USE_FCNTL_H 0 |
If the symbol USE_FCNTL_H is nonzero, open flags for access modes O_RDONLY, O_WRONLY, O_RDWR and the open modifiers O_APPEND, O_CREAT, O_EXCL, O_SYNC will be defined by including the system file fcntl.h.
| #define USE_LONG_FILE_NAMES 1 |
Set USE_LONG_FILE_NAMES nonzero to use long file names (LFN) in FAT16/FAT32. exFAT always uses long file names.
Long File Name are limited to a maximum length of 255 characters.
This implementation allows 7-bit characters in the range 0X20 to 0X7E except the following characters are not allowed:
< (less than)
(greater than)
: (colon) " (double quote) / (forward slash) \ (backslash) | (vertical bar or pipe) ? (question mark)
| #define USE_MULTI_SECTOR_IO 1 |
Set USE_MULTI_SECTOR_IO nonzero to use multi-sector SD read/write.
Don't use mult-sector read/write on small AVR boards.
| #define USE_SD_CRC 0 |
To enable SD card CRC checking for SPI, set USE_SD_CRC nonzero.
Set USE_SD_CRC to 1 to use a smaller CRC-CCITT function. This function is slower for AVR but may be fast for ARM and other processors.
Set USE_SD_CRC to 2 to used a larger table driven CRC-CCITT function. This function is faster for AVR but may be slower for ARM and other processors.
| #define USE_SEPARATE_FAT_CACHE 0 |
Set USE_SEPARATE_FAT_CACHE nonzero to use a second 512 byte cache for FAT16/FAT32 table entries. This improves performance for large writes that are not a multiple of 512 bytes.
| #define USE_SIMPLE_LITTLE_ENDIAN 1 |
Set USE_SIMPLE_LITTLE_ENDIAN nonzero for little endian processors with no memory alignment restrictions.
| #define WDT_YIELD_TIME_MILLIS 0 |
Handle Watchdog Timer for WiFi modules.
Yield will be called before accessing the SPI bus if it has been more than WDT_YIELD_TIME_MILLIS milliseconds since the last yield call by SdFat.
| typedef uint8_t SdCsPin_t |
Type for card chip select pin.


GeoMesa Metrics¶
GeoMesa provides integration with the DropWizard
Metrics library for real-time
reporting with the geomesa-metrics
module.
Instrumentation of GeoServer¶
GeoMesa metrics provides a servlet filter that will instrument GeoServer requests.
Installation¶
Copy the following jars into geoserver’s WEB-INF/lib
directory:
- geomesa-metrics-.jar
- metrics-core-3.1.2.jar
- metrics-graphite-3.1.2.jar
- metrics-ganglia-3.1.2.jar
Also copy the following jars if not already present:
- scala-library-2.11.7.jar
- scala-logging_2.11-3.1.0.jar
- scala-reflect-2.11.7.jar
- config-1.2.1.jar
- joda-time-2.3.jar
Ganglia Reporting¶
To enable ganglia reporters, also copy the following jars:
- gmetric4j-1.0.7.jar
- oncrpc-1.0.7.jar
Delimited File Reporting¶
To enable TSV/CSV reporters, also copy the following jars:
- commons-csv-1.0.jar
Configuration¶
To configure instrumentation, add the metrics filter to GeoServer’s
WEB-INF/web.xml
:
<filter>
<filter-name>metricsFilter</filter-name>
<filter-class>org.locationtech.geomesa.metrics.servlet.AggregatedMetricsFilter</filter-class>
<!-- name used for registering metrics - can also be specified in the config, but this takes priority -->
<init-param>
<param-name>name-prefix</param-name>
<param-value>geoserver</param-value>
</init-param>
<!-- can embed configuration directly, otherwise will load default
configurations and look under 'geomesa.metrics.servlet' -->
<init-param>
<param-name>config</param-name>
<param-value>
{
// name used for registering metrics - init-param takes precedence
name-prefix = "geoserver"
// will only instrument matching urls
// example string matched against: '/geoserver/<workspace>/ows'
url-patterns = [ "(?i).*/(ows|wfs|wms)" ]
// match request mappings based on just the workspace:layer name, or the whole url
// if you are instrumenting non-wfs/wms requests, layer names will never match
map-by-layer = true
// mappings of urls to metric groups, based on regexes
// any urls not mapped will end up under 'other'
request-mappings = [
{
name = "qs"
regex = ".*:AccumuloQuickStart"
}
]
// metrics reporters - see configuration details below
reporters = {
console = {
type = "console"
rate-units = "MINUTES"
duration-units = "MILLISECONDS"
interval = 10
}
}
}
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>metricsFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Session Tracking¶
The metrics servlet doesn’t track active user sessions by default. GeoServer mostly doesn’t create sessions for OWS requests, and blatantly warns you against doing so. However, if you are willing to incur the cost of session management, you may enable session tracking in the metrics servlet.
Update the configuration for the metrics servlet (either in
application.conf
or web.xml
) with the following attribute:
// how often to update metrics for expired sessions, in seconds
// if set to < 1, sessions will not be tracked
// use in conjunction with the session listener defined below
session-removal-interval = 60
Add the following listener to GeoServer’s WEB-INF/web.xml
:
Warning
Failure to add this listener when session tracking is enabled will cause incorrect metrics reports and eventually lead to out-of-memory errors
<!-- listener for sessions events
if you enable session tracking and this is not defined, sessions will never
be expired from the metrics cache and you will eventually run out of memory -->
<listener>
<listener-class>org.locationtech.geomesa.metrics.servlet.SessionMetricsListener</listener-class>
</listener>
In order to suppress GeoServer’s warnings about session creation,
comment out the following filter in GeoServer’s WEB-INF/web.xml
:
<!--
<filter>
<filter-name>SessionDebugger</filter-name>
<filter-class>org.geoserver.filters.SessionDebugFilter</filter-class>
</filter>
-->
...
<!--
<filter-mapping>
<filter-name>SessionDebugger</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
Configuration of Reporters¶
Use org.locationtech.geomesa.metrics.config.MetricsConfig.reporters
to configure reporters via TypeSafe Config. Reporters should be defined
as objects under the path geomesa.metrics.reporters
:
geomesa = {
metrics = {
reporters = {
console = {
type = "console"
units = "MILLISECONDS"
interval = 60
}
slf4j = {
type = "slf4j"
units = "MILLISECONDS"
interval = 60
logger = "org.locationtech.geomesa"
level = "debug"
}
delimited-text = {
type = "delimited-text"
units = "MILLISECONDS"
interval = 60
tabs = true
aggregate = true
output = ${java.io.tmpdir}/"geoserver-metrics"
}
graphite = {
type = "graphite"
units = "MILLISECONDS"
interval = 60
url = "graphite.example.com:80"
prefix = "org.locationtech.geomesa"
}
ganglia = {
type = "ganglia"
units = "MILLISECONDS"
interval = 60
group = "ganglia.example.com"
port = 8649
addressing-mode = "MULTICAST"
ttl = 1
ganglia311 = true
}
accumulo = {
type = "accumulo"
units = "MILLISECONDS"
interval = -1
instanceId = "mycloud"
zookeepers = "zoo1,zoo2,zoo3"
user = "myuser"
password = "mypassword"
tableName = "geomesa_metrics"
}
}
}
}
Standard Configuration¶
The following fields are common among all reporters:
| Field | Type | Description |
|---|---|---|
rate-units |
String | The type of units used to report the rate of a metric. Corresponds to java.util.concurrent.TimeUnit |
duration-units |
String | The type of units used to report the duration of a metric. Corresponds to java.util.concurrent.TimeUnit |
units |
String | If rate or duration units are not specified, this will be used instead. |
interval |
Integer | How often the reporter will run, in seconds. If less than 1, reporter will not run automatically. |
type |
String | The type of reporter. Types are documented below. |
Slf4j Reporter¶
Writes metrics using an slf4j logger.
| Field | Type | Description |
|---|---|---|
type |
String | Must be slf4j |
logger |
String | The name of the logger that will be used for logging. |
level |
String | (optional) Level to use for logger messages. One of trace , debug , info , warn , error . Default is debug |
Delimited Text Reporter¶
Writes metrics to tab or comma-delimited files.
| Field | Type | Description |
|---|---|---|
type |
String | Must be delimited-text |
output |
String | The path to output metrics to. Will be passed into new java.io.File(output) |
aggregate |
Boolean | (optional) Aggregate output files by type. If true, there will be one file per metric type; if false there will be one file per metric. Default is true |
tabs |
Boolean | (optional) If true, delimit entries with tabs, else delimit entries with commas. Default is true |
Graphite Reporter¶
Writes metrics to Graphite.
| Field | Type | Description |
|---|---|---|
type |
String | Must be graphite |
url |
String | The URL to the graphite server, in the form of <host>:<port> |
prefix |
String | (optional) The graphite prefix to use |
Ganglia Reporter¶
Writes metrics to Ganglia.
| Field | Type | Description |
|---|---|---|
type |
String | Must be ganglia |
group |
String | The group (url) used for connecting to the ganglia server |
port |
Int | The port used for connecting to the ganglia server |
ttl |
Int | Time-to-live for broadcast packets, in the range of 0-255 |
addressing-mode |
String | (optional) Addressing mode to use. Must be one of unicast or multicast |
ganglia311 |
Boolean | (optional) To use protocol version 3.1 (true) or 3.0 (false). Default is 3.1 |
Accumulo Reporter¶
Writes metrics to Accumulo.
| Field | Type | Description |
|---|---|---|
type |
String | Must be accumulo |
instanceId |
String | The instance ID for the accumulo cluster |
zookeepers |
String | The zookeeper connection string for the accumulo cluster |
user |
String | The accumulo user to connect with |
password |
String | The password for the accumulo user |
tableName |
String | The table metrics will be written to |
visibilities |
String | (optional) Visibilities applied to written data |


{% extends "layout.html" %} {% set prefix = apos.modules['apostrophe-workflow'].lang() %} {% block title %}Home{% endblock %} {% block main %}
{{ __('The Project Exchange Network is an easy way to create and share projects with yourfriends.') }}
{{ __('Create your account and start sharing in minutes!') }}
{{ __('Or you can look at projects without even making an account.') }}


RadioMe
Adaptive Radio for People with Dementia
Categories
Publications
People
About The Project
Contact Us
2019
Venkatesh, S., Moffat, D., & Miranda, E. R. (2019). RadioMe: Artificially Intelligent Radio for People with Dementia. In
DMRN+14: Digital Music Research Network Workshop
. London, UK.


Lorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.Lorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.
Read MoreLorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.Lorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.
Read MoreLorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.Lorem Ipsum which looks reason able. The generated Lorem Ipsum is therefore always free.
Read More


A site designed with RWD adapts the layout to the viewing environment by using fluid, proportion-based grids, flexible images and CSS3 media queries.


Now that's what I call sprint 3
A very big and slightly exhausting sprint
26 November 2020
HTML and CSS - In human terms
Once upon a time, in a black and white village far far away, a priest and a mason were building a chapel. They had built the foundations using brick and mortar (html). There was an entryway (header), a prayer room (body), and a room out back for the priest (footer). Within each of these sections, were nested more elements, such as; tables, pews, altar.
They were very happy with the result, although it was nothing special, when one day who should enter but the medieval queer eye for the straight mason crew. With a dash of their style (css), they began to add color to the window panes (color/background-color), intricate design to the stone (font), and rearranged the layout of the church rooms for a more balanced Feng Shui (grid/box model).
And so, css linked to html to design a spectacular new chapel (website)
Control flow - It's just like a shopping list:
Control flow is the order in which code is run, and code runs from top to bottom, plain and simple. Except it’s not so plain and simple. Code will always be filled with wonderful things called conditionals and loops. These structures have the availability to change control flow.
Let's look at an example - a trip to the supermarket.
To help us understand control flow, I’m going to explain our trip to the supermarket using a for...in loop. A for..in loop is used when dealing with a variable that is an object. I’ll have more information on an object for you later, but for now, all we need to know is that an object is essentially a list, much like a shopping list. In this list we have properties, and these are made of keys and values. In our shopping list, our key is the fruit that we need, and the value would be the number of fruit we need. It might look like this:
Var shoppingList = {
Apples : 6,
Bananas : 4,
Oranges : 64
}
Now that’s a lot of oranges.
So we have our object, but what about the juicy for...in loop. Well, it works like this:
for (Apple in shoppingList) {
Add 6 Apples to shoppingCart
}
It will run through the list, see we need apples, see that we need 6 apples, and it will add 6 apples to our shopping cart.
Then it will run again, doing the same for bananas:
for (Banana in shoppingList) {
Add 4 bananas to shoppingCart
}
And it will do this until it reaches the end of our shopping list. I wish shopping was this easy, but I do hope it doesn’t pick any brown bananas…
But what about control flow? What has this got to do with the order in which code is run?
Well, imagine the first thing we do in the morning is eatFruit. What if eatFruit is not possible because there is no fruit? Well then we would goShoppingForFruit, where we would use our shoppingList.
As you can see, this would put our shoppingList pretty high up on our day of code, way above eatLunch. But what if we do have Fruit? Then we would eatFruit && beHappy. Our shoppingList loop would be ignored and we would go on with our day happily filled with fruit. Control Flow.
What is the DOM?
The DOM (Document Object Model) is essentially the glue that holds HTML, CSS, and JavaScript together.
The DOM is made up of two important features:
- Objects - These are all of the properties, methods and events available for creating and manipulating webpages.
- Nodes - EVERYTHING. They are every little bit of a document. In an HTML doc, we can have, text nodes, attribute nodes, id or class class nodes.
These two important distinctions can allow us to do whatever we please to a webpage. For example, we may have some text (node) that says “Howdy, stranger!”, followed by a text box with a prompt to write in your own name, and a submit button, which gives us a new node of the submitted name. Using the DOM, we can get JavaScript to take the submitted name node, and replace the original text node in our HTML document to say:“Howdy, Your Majesty!” (Presuming the Queen visits our page).
Arrays and Objects - and how do we crack open the coconut to access their sweet sweet water(data).
Objects (sound familiar?) are used to represent a “thing” in your code. That could be a person, a car, a shoppingList. Basically objects can be defined by a set of characteristics called properties, made up of a key and a value.
To access data in an object, we can use . or [ ].
To get info on our shoppingList we would code:
Dot notation:
shoppingList.apples - which will return 6
Or
Bracket notation:
shoppingList['apples'] - which again will return 6
Arrays on the other hand, are lists that contain a single variable. As such, a shoppingList Array would simply look like (apples,timtams,bananas,oranges,)
Let’s say our shoppingList is ordered by level of importance, and we for some odd reason would like to know what our second most important piece of produce to purchase is. Well then, it is important to know that Arrays always use zero-based indexing. This means that the first item on our list is associated with 0, the next 1, then 2, 3,4 and so on and so forth.
So, if we want to access the information of our second most important item from the supermarket (and the nation's favourite biscuit). We write:
shoppingListArray[1]; which returns timtams! Woohoo.
Explain what functions are and why they are useful.
What is a function? Well, most importantly, a function is a reusable piece of code. Essentially, we can write a piece of code, give it a name, and use it as much as we like by calling its name. This can save a lot of time and energy, as we don't have to write the code out again, we just call the function! woohoo!


For the fig-swirl: Melt butter over medium heat in a saucepan. Add brown sugar and stir to dissolve. Halve all of the figs and toss in the saucepan with water and lemon juice. Cook over medium heat, stirring frequently, until you have a chunky-jammy mixture. Add salt with one or two stirs, set aside and let cool completely.
Ice cream: In a small pot over medium heat, combine milk, and granulated sugar until sugar is completely dissolved and the milk is just barely lukewarm. Whisk in the egg yolks. Set mixture in the fridge and wait until the fig mixture is cooled.
Using an ice cream machine, pour liquids into the frozen basin and process according to manufacturer instructions, i.e., let spin and thicken for 20 minutes before adding mascarpone, fig jam mixture, and the nuts. Continue to process for +/- 10 minutes. Pour semi-frozen mixture into a pyrex dish or glass tupperware. Freeze for at least two hours before serving.
| Venessa Stevenson Food enthusiast, photography fan. Add a pinch of raw foodism and that's pretty much who I am |
||


I am VERY experienced using 2C-I (40+ trips) and I absolutely loved every single time. I'm attending college right now, so it is often used as a party drug, combined with alcohol, cannabis, or both. About 3-4 weeks before this particular trip, I had obtained 500mg of the chemical, and continued daily use, which had been going on for about a month. My tolerance quickly increased, to the point of needing very large amounts for even moderate trips. Furthermore, I would no longer experience the intensely pleasurable body high, which I feel is one of 2C-I's best qualities. I needed practically double what I had initially been using, so I believe I was approaching the 30mg mark (seriously, I had a high tolerance) but I can't be sure because it was always measured by sight.
So eventually I just got sick of having to waste so much of this valuable comodity for week trips, and I didn't trip at all for a good week and a half. On the night that I was finally ready to trip again, I went over to a friend's dorm room, and a spontaneous party formed. Me and a friend took a few shots of 70 proof rum (4 or 5) then desided to dose up.  I took the same amount I had been taking before I had taken my break, and washed it down with some soda.
Usually I have to wait a good 45min to 1 hour to feel the effects of 2C-I on me, but this time I had alerts going of at about 20min after ingestion. 'uh oh, this is probably not a good sign' I thought. I usually never experience any stomach discomfort, like many people do (I'll often eat during my trips) but time I felt my stomach quickly tightening. After about 30min, my stomach was an absolute knot, and it remained so for the rest of the trip. It wasn't unbearable, but annoying nonetheless. I normally don't like to play video games while I'm tripping, because I focus so intently on the game, that my trip is no longer introspective, it's just filled with thoughts of video games. About 1 hour after ingestion, however, I was no longer able to concentrate on what I was playing. The picture on the screen was morphing and stretching constantly, making focus difficult. It didn't matter however, becuase my co-tripper and I were having enough fun without having to rely on the television.
There was a big uproar in the hallway, because some girl down the hallway had od'd on tylenol, which provided entertainment for a good 45min. The entire time my friend and I were making jokes and giggling uncontrollably, and every time we'd say that we shouldn't laugh at such a terrible thing, we'd laugh harder. That situation eventually subsided, and we returned to the room. At about that time (around 2 hours after ingestion), a girl, who was completely sober and knew I was tripping, asked if I wanted to go back to my room for some 'alone time'. I obliged, and we left the building.
As we walked to my building, I realized just how amazingly messed up I was. The feeling reminded me of a time I had blacked out after taking a bong hit, except my thoughts were going a thousand miles an hour. 'I think I might have overdid it this time', I told the girl. We finally made it to my room and folded out my futon. It was particulary difficult to have any type of sexual relation, becuase any time I would start thinking of it being pleasurable, my mind would go off onto some weird tangent, and I would end up thinking about something TOTALLY off of subject.
But that's the last thing I remember. I woke up the next morning thinking I had just fallen asleep, and that was that.
I was at a movie rental store about a week later, when the same girl I had been with pointed to the movie 'Swordfish' and said she remembered watching it with me. I said that I had never watched it with her, then she went on to explain how that on the night of my trip, we had watched it and I had intently explained everything about it that she didn't understand. We had also done other sexual things numerous more times as well as having deep conversations for hours. She swears it's true.
It kind of freaks me out to think that I could do that much and not remember it. I've been an inch away from alcohol poisoning, vomiting for hours, and I (regrettably) remember every second of it. I wonder if it had ever happened before, or since, because there really is no way to know.
Nonetheless, I still considered it a good experience, just like every time I do 2C-I. This is just a warning to everyone about what can happen at higher doses.
Stay safe.
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.


[]
TypeScript Coverage Report generated by type-coverage and typescript-coverage-report at Mon, 20 Dec 2021 10:37:39 GMT


#[x]
#[a]
#[e]
#[k]
#[templates[[
Very special test and example for understanding the function of the
generator and the preview data.
Generator
----
Structural placeholders are unique, comparable with templates and are
overwritten during parsing.
The last definition wins.
The depth or the nested structures are not important.
The nesting is only a visual support for the developer.
Preview Data
----
Preview data as well as the data map primarily support a structured data
structure, comparable to a tree structure.
The branches/trees can be created by sub-maps and lists.
But in the end it must be a key with a value corresponding to the
placeholder.
Therefore no value is shown in the example of:
k.l[0].m.n[0].o.p[0] / k.l[0].m.n[0].o.p[1]
#[a[[
A+++
#[b]
#[c]
---A
]]]
#[b[[
B+++
#[c]
---B
]]]
#[c[[
C+++
#[d]
---C
]]]
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#[e[[
E+++
#[f]
---E
]]]
#[f[[
F+++
#[g]
---F
]]]
#[g[[
G+++
#[h]
---G
]]]
#[h[[
H+++
#[i]
---H
]]]
#[i[[
I+++
#[j]
---I
]]]
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#[k[[
K+++
#[l]
---K
]]]
#[l[[
L+++
#[m]
---L
]]]
#[m[[
M+++
#[n]
---M
]]]
#[n[[
N+++
#[p]
---N
]]]
#[p[[
P+++
---P
]]]
]]]


Alumni
Vladimir Tattybayev
Former Micro-G Captain
Viren Parekh
Former DBF Captain
Ajibola Jimoh
Former General Secretary
Vladimir Tattybayev
Former Micro-G Captain
Viren Parekh
Former DBF Captain
Ajibola Jimoh
Former General Secretary
Members
DBF
Micro-g


Feel free to explore the resources we have or contact one of our tutors for a private session.


If you want to ingest some files without a metadata CSV you can do so using the create_from_files
task. A common application of this ability is in automated workflows where Islandora objects are created from files saved to a watch folder, and metadata is added later.
Nodes created using this task have only the following properties/fields populated:
- Content type: this is defined in the configuration file, using the
content_type
setting. - Title: this is derived from the filename minus the extension. Spaces are allowed in the filenames.
- Published: published by default, or overridden in the configuration file using the
published
setting. - Model: defined in the configuration file using either the
model
ormodels
setting.
The media attached to the nodes is the file, with its type (image, document, audio, video, file) assigned by the media_types
configuration setting and its Media Use tag defined in the media_use_tid
setting.
The configuration options for the create_from_files
task are the same as the options used in the create
task (with one exception: input_csv
is not required). The only option specific to this task is models
, which is a mapping from terms IDs (or term URIs) in the "Islandora Models" vocabulary to file extensions.
Note that either the models
or model
configuration option is required in the create_from_files
task. Use models
when your nodes will have different Islandora Model values. Here is a sample configuration file for this task:
task: create_from_files
host: "http://localhost:8000"
username: admin
password: islandora
output_csv: /tmp/output.csv
models:
- 23: ['zip', 'tar', '']
- 27: ['pdf', 'doc', 'docx', 'ppt', 'pptx']
- 25: ['tif', 'tiff', 'jp2', 'png', 'gif', 'jpg', 'jpeg']
- 22: ['mp3', 'wav', 'aac']
- 26: ['mp4']
Using model
is conventient when all of the objects you are creating are the same Islandora Model:
task: create_from_files
host: "http://localhost:8000"
username: admin
password: islandora
output_csv: /tmp/output.csv
model: 25
You can also use the URIs assigned to terms in the Islandora Models vocabulary, for example:
task: create_from_files
host: "http://localhost:8000"
username: admin
password: islandora
output_csv: /tmp/output.csv
models:
- 'http://purl.org/coar/resource_type/c_1843': ['zip', 'tar', '']
- 'https://schema.org/DigitalDocument': ['pdf', 'doc', 'docx', 'ppt', 'pptx']
- 'http://purl.org/coar/resource_type/c_c513': ['tif', 'tiff', 'jp2', 'png', 'gif', 'jpg', 'jpeg']
- 'http://purl.org/coar/resource_type/c_18cc': ['mp3', 'wav', 'aac']
- 'http://purl.org/coar/resource_type/c_12ce': ['mp4']
Note
In the workflow described at the beginning of this section, you might want to include the output_csv
option in the configuration file, since the resulting CSV file can be populated with metadata later and used in an update
task to add it to the stub nodes.


[1]
this would have been an excellent hotel if you are.
[2]
of the hotel if you have been an excellent hotel.


{% extends "base-documentation.html" %} {% block documentation %}
Liftpass is designed to track up to 32 metrics that reflect the progress and profile of the user. The metrics are subdivided into 8 string values metrics and 24 numeric values. Metrics are represented as part of an array of 32 elements, and consequently the 32 metrics Liftpass can track have integer index values. Once the metrics for the application are defined for the application they can be referenced in the code by their index value - the first 8 index values represent the 8 string values, followed by the 24 numeric values. This means the 9th metric is the first numeric progress metric.
| Index | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | String | Number |
Metrics are propagated as a series of 32 elements through all other events that are trigered in the game. This means that even when a virtual good is purchased, information about the 32 progress metrics is also contained with the virtual goods purchase event.
Certain commonly used metrics are automatically tracked by Liftpass SDK. It is up to the developer however to choose to use them in the analytics. This is done by directing the internally tracked metrics to an index position of the metrics registered by the application. Whenever another progress metric is updated, or purchase event is triggered, the piped metrics will automatically update themselves.
The currently supported metric pipes are:
In order to use one of these pipes, they must be configured in the code at the time the SDK is first initialized. This involves registering with the SDK where the value of the pipe should be directed to, more specifically which metric the value should be recorded to.
In the native iOS SDK this is how to direct the total number of virtual goods purchased to the 14th progress metric:
{% highlight 'objective-c' %} [[Liftpass sharedInstance] setNumberPipe:LiftpassTotalVirtualPurchases toMetric:14]; {% endhighlight %}In Liftpass the developer should also record the fact that progress metric 14 represents the total number of virtual goods purchased.
{% endblock %}


--- layout: page title: Lean Prover Zulip Chat Archive permalink: archive/179818LeanTogether2019/51526slidesfordatatypestalk.html ---
does anyone know where I can find them?
amsterdam_avigad.pdf
thank you!


Controlling Flow: callbacks are easy
What's actually hard?
- Doing a bunch of things in a specific order.
- Knowing when stuff is done.
- Handling failures.
- Breaking up functionality into parts (avoid nested inline callbacks)
Common Mistakes
- Abandoning convention and consistency.
- Putting all callbacks inline.
- Using libraries without grokking them.
- Trying to make async code look sync.
Define Conventions
- Two kinds of functions: actors take action, callbacks get results.
- Essentially the continuation pattern. Resulting code looks similar to fibers, but is much simpler to implement.
- Node works this way in the lowlevel APIs already, and it's very ﬂexible.
Callbacks
- Simple responders
- Must always be prepared to handle errors, that's why it's the first argument.
- Often inline anonymous, but not always.
- Can trap and call other callbacks with modified data, or pass errors upwards.
Actors
- Last argument is a callback.
- If any error occurs, and can't be handled, pass it to the callback and return.
- Must not throw. Return value ignored.
- return x ==> return cb(null, x)
- throw er ==> return cb(er)
// return true if a path is either
// a symlink or a directory.
function isLinkOrDir (path, cb) {
fs.lstat(path, function (er, s) {
if (er) return cb(er)
return cb(null, s.isDirectory() || s.isSymbolicLink())
})
}
asyncMap
Usecases
- I have a list of 10 files, and need to read all of them, and then continue when they're all done.
- I have a dozen URLs, and need to fetch them all, and then continue when they're all done.
- I have 4 connected users, and need to send a message to all of them, and then continue when that's done.
- I have a list of n things, and I need to dosomething with all of them, in parallel, and get the results once they're all complete.
Solution
var asyncMap = require("slide").asyncMap
function writeFiles (files, what, cb) {
asyncMap(files, function (f, cb) {
fs.writeFile(f, what, cb)
}, cb)
}
writeFiles([my, file, list], "foo", cb)
chain
Usecases
- I have to do a bunch of things, in order. Get db credentials out of a file, read the data from the db, write that data to another file.
- If anything fails, do not continue.
- I still have to provide an array of functions, which is a lot of boilerplate, and a pita if your functions take args like
function (cb) {
blah(a, b, c, cb)
}
- Results are discarded, which is a bit lame.
- No way to branch.
Solution
- reduces boilerplate by converting an array of [fn, args] to an actor that takes no arguments (except cb)
- A bit like Function#bind, but tailored for our use-case.
- bindActor(obj, "method", a, b, c)
- bindActor(fn, a, b, c)
- bindActor(obj, fn, a, b, c)
- branching, skipping over falsey arguments
chain([
doThing && [thing, a, b, c]
, isFoo && [doFoo, "foo"]
, subChain && [chain, [one, two]]
], cb)
- tracking results: results are stored in an optional array passed as argument, last result is always in results[results.length - 1].
- treat chain.first and chain.last as placeholders for the first/last result up until that point.
Non-trivial example
- Read number files in a directory
- Add the results together
- Ping a web service with the result
- Write the response to a file
- Delete the number files
var chain = require("slide").chain
function myProgram (cb) {
var res = [], last = chain.last, first = chain.first
chain([
[fs, "readdir", "the-directory"]
, [readFiles, "the-directory", last]
, [sum, last]
, [ping, "POST", "example.com", 80, "/foo", last]
, [fs, "writeFile", "result.txt", last]
, [rmFiles, "./the-directory", first]
], res, cb)
}
Conclusion: Convention Profits
- Consistent API from top to bottom.
- Sneak in at any point to inject functionality. Testable, reusable, ...
- When ruby and python users whine, you can smile condescendingly.


You have now seen four different types of sed scripts, as well as how they are embedded inside shell scripts to create easy-to-use applications. More and more, as you work with sed, you will develop methods for creating and testing sed scripts. You will come to rely upon these methods and gain confidence that you know what your script is doing and why.
Here are a few tips:
Know Thy Input! Carefully examine your input file, using grep, before designing your script.
Sample Before Buying. Start with a small sample of occurrences in a test file. Run your script on the sample and make sure the script is working. Remember, it's just as important to make sure the script doesn't work where you don't want it to. Then increase the size of the sample. Try to increase the complexity of the input.
Think Before Doing. Work carefully, testing each command that you add to a script. Compare the output against the input file to see what has changed. Prove to yourself that your script is complete. Your script may work perfectly, based on your assumptions of what is in the input file, but your assumptions may be wrong.
Be Pragmatic! Try to accomplish what you can with your sed script, but it doesn't have to do 100 percent of the job. If you encounter difficult situations, check and see how frequently they occur. Sometimes it's better to do a few remaining edits manually.
As you gain experience, add your own "scripting tips" to this list. You will also find that these tips apply equally well when working with awk.


HOPE FLOATS by DeWyNGaLe * * *
Sandra Bullock was once a great, well-known actress. For a while, she was one of the best ones around. Lately, she hasn't been doing all that well. The only movie she has done in awhile is Speed 2: Cruise Control, which was a huge mistake for her career. Now, she shapes up with Hope Floats, the story of a woman and the many problems she goes through. Harry Connick Jr, Gena Rowlands, and Mae Whitman co-star as the people closest to Birdee, played by Sandra Bullock. Birdee was the most popular girl at her school. She was prom queen, everyone looked up to her, and she was truly happy. A few years after high school, she got married to a friend from high school, Bill Pruitt, played by Michael Pare. On a national talk show, Birdee's best friend Connie, played by Rosanna Arquette, reveals that she has been having an affair with Bill, Birdee's husband. They have been having the affair for over a year. Bill wants to marry Connie now.
Birdee and her daughter Bernice, played by Mae Whitman, are extremely saddened. They move to Smithville, Texas, where Birdee went to high school. They go to live with Birdee's mother, Ramona Calvert, played by Gena Rowlands. Ramona is there to help Birdee with her feelings and the problems she is going through. It is kind of nice for Birdee to be back in the town that she grew up in. She is greeted by many people that she has no idea who they are as she walks along the streets of Smithville. She goes to the employment agency to get a job, and runs into two more people that she knew in high school. She gets a job as a worker at a one hour photo store. She runs into even more people there as they come in and out of the store to get their pictures developed. She messes up a lot of pictures, and she almost loses her job.
Justin Matisse, played by Harry Connick Jr, was very close to Birdee in high school. Justin has been helping out Ramona around the house for a number of years. Birdee and Justin are reunited at the house. At first, Birdee is uncomfortable seeing him, but she gets used to him and they become close friends once again. Bernice does not like Justin at all, and is determined to get back with her real dad. Bernice is now starting school, and everyone makes fun of her because of her glasses.  She is extremely upset by the whole thing, and wants to go back to leaving with her dad.
Justin and Birdee become closer throughout the movie, and they start to date. Ramona hooks them up as good as she can, and she succeeds. Birdee is still very upset about the entire episode with Bill, and isn't quite ready to start a new relationship. Justin is becoming frustrated with Birdee, because she is not willing to move on from the man that betrayed her. She is finally willing to move on, and for once things are starting to go right in her life. She is becoming very happy with Justin, but there is a problem. Bernice is not very pleasant any more due to Justin.  Bernice blames the entire thing on Birdee.
Hope Floats is a realistic tale of what one can go through throughout their lives. Birdee goes through tragedy after tragedy, and finally becomes happy because she keeps her hopes high. Sandra Bullock does a great job of acting, and you could really believe the pain that she was going through. Gena Rowlands does an outstanding job as her mother, and deserves on Oscar nomination for Best Supporting Actress. Mae Whitman gives a powerful performance. She was stuck in a tough spot, and didn't know how to deal with it. Harry Connick Jr. is the movie's only problem. He makes it so it is more of a fairy tale than a real life experience. The film is still good with him, but the role of Justin Matisse could have beem cut down a little bit. All in all, hope still floats for Sandra Bullock's career after this film.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


4.6. Nested Type Names
The class template array provides all the nested type names required for sequence containers in the standard C++ library.
typedef size_t array<Ty, N>::size_type;
The unsigned integer type describes an object that can represent the length of any controlled sequence. It is required to be a synonym for the type size_t.
typedef ptrdiff_t array<Ty, N>::difference_type;
The signed integer type describes an object that can represent the difference between the addresses of any two elements in the controlled sequence. It is required to be a synonym for the type ptrdiff_t.
typedef Ty& array<Ty, N>::reference;
The type describes an object that can serve as a reference to an element of the controlled sequence. It is required to be a synonym for the type Ty&.
typedef const Ty& array<Ty, N>::const_reference;
The type describes an object that can serve as a reference to an element of the controlled sequence. The reference type does not permit modification of the referenced element. It is required to be a synonym for the type const Ty&.
typedef Ty *array<Ty, N>::pointer;
The type describes an object that can serve as a pointer to an element of the controlled sequence. It is required to be a synonym for the type Ty*.
TR1 doesn't actually require the nested type pointer, but that seems to be an oversight.
typedef const Ty *array<Ty, N>::const_pointer;
The type describes an object that can serve as a pointer to an element of the controlled sequence. The pointer type does not permit modification of the element it points to. It is required to be a synonym for the type const Ty*.
TR1 doesn't actually require the nested type const_pointer, but that seems to be an oversight.
typedef T0 array<Ty, N>::iterator;
The type describes an object that can serve as a random-access iterator for the controlled sequence. It is described here as a synonym for the implementation-defined type T0.
Just as with std::vector, the type of an iterator is not required to be a pointer to the contained type. When you write code that stores iterators explicitlywhich you should do only rarely, if at alluse the nested type name:
typedef array<int, 10> data;
data values;
data::iterator iter =
values.begin(); // if you insist
int *pointer = values.begin(); // wrong, but might compile
typedef T1 array<Ty, N>::const_iterator;
The type describes an object that can serve as a random-access iterator for the controlled sequence. The iterator type does not permit modification of the element it points to. It is described here as a synonym for the implementation-defined type T1.
typedef Ty array<Ty, N>::value_type;
The type is a synonym for the template parameter Ty.
typedef reverse_iterator<iterator>
array<Ty, N>::reverse_iterator;
The type describes an object that can serve as a reverse iterator for the controlled sequence.
typedef reverse_iterator<const_iterator>
array<Ty, N>::const_reverse_iterator;
The type describes an object that can serve as a reverse iterator for the controlled sequence. The iterator type does not permit modification of the element it points to.
|


I greatly enjoyed my experience as an undergrad and grad student at MIT. One of my favorite things about MIT is the opportunity to do a wide variety of projects and the resources to actually make them happen. These are some of my favorites.
A critical barrier to wide-spread use of underwater vehicles is energy storage. Current lithium-based battery systems give UUVs 3-day mission durations. After that, a ship must retrieve the UUV, recharge it, and redeploy it. Requiring a ship to be so heavily involved in UUV operations is expensive and defeats the purpose of unmanned operations. There exists a host of interesting missions that could be accomplished by UUVs that are out to sea for longer periods of time. For example, UUVs could be positioned near ports of interest for long periods to monitor submarine activity (a mission called “hold at risk”).
Professor Doug Hart at MIT is working with MIT Lincoln Labs to develop technologies that would expand current underwater operation limits by 10x, or up to 30 days. He and his students have developed a number of working systems, including a diesel-powered hybrid system, an aluminum-gallium fuel cell, and an aluminum battery.
As a senior and master’s student at MIT, I worked on a series of projects exploring, designing, and building multiple approaches to long-term underwater power sources for UUVs. I was a part of the first efforts in building longer-term power sources at MIT. I was on the engineering team that designed, built, and tested a diesel-powered hybrid system, as well as an aluminum-gallium system. My responsibilities included engine testing, vibration modeling and isolation, system integration, and fabrication.
In addition, I acted as the communications manager, maintaining all of the documents and reports to communicate and document our system for Lincoln Lab. I was also the project CFO, managing the $300k engineering development budget and parts procurement. This project helped to ignite my interest in business and management.
The internet of things is becoming a hot topic these days, and the promise of distributed sensory systems has broad applications. Some sensors measure data that could be modeled as a continuous field. For example, taxis (or Ubers) driving around a city could carry pollution sensors. If they report pollution levels, their location, and a timestamp, it would be possible to create a field, or “heatmap”, of the intensity of pollution around a city over a period of time.
A graduate student at MIT was working on building an algorithm that could model a field based on intensity, location, and time. As a first prototype, he proposed using a small number of Roomba Create robots with light sensors. Inside of a dark room with one light bulb, these robots would drive around and report they intensity of the light and their location. This data would then be used by the algorithm to pinpoint the location of the lightbulb.
I designed a navigation system for the robots using MatLab. Since GPS is inaccurate indoors, I designed a system relying on visual tracking of the three robots to determine their absolute position in the room. I also programmed their navigation paths to ensure they were sufficiently exhaustive in collecting data around the room, and they didn’t bump into each other.
One of the iconic classes for mechanical engineering at MIT is 2.008 (manufacturing). Students learn about a wide variety of manufacturing processes, the underlying physics that drive their efficacy, and theory for managing production lines. The best part of the semester, though, is designing a yo-yo and doing a 500-piece production run on MIT’s injection molding machine.
 The yo-yo itself was shaped like a hamster wheel (including rungs), and inside was a glow-in-the-dark mouse that spun on bearings. The idea was that when the yo-yo slept, the mouse would stay still while the yo-yo spun.
The yo-yo didn’t really work out as hoped. In fact, it was kind of ugly. But it was an exciting opportunity to learn injection molding techniques. I was involved in every step of the process. We built solid models of our design and then created mold negatives, which we then CNC machined into aluminum. We used the injection molding machine to create the halves of the yo-yo and the mouse, and a thermoform for the window that went over the mouse. After the components were designed, we assembled and tested our yo-yos.
When police are pursuing a suspect who has a firearm, the suspect will often try to dispose of the firearm, especially if they have prior convictions or are in a state with strict gun laws (like Massachusetts). The might throw it into a backyard or toss it in a garbage can. If the police can prove that the gun they found was the same one they say the suspect dispose of, they can build a case.
One way to demonstrate recent possession is to take a thermal image of the gun. If it was recently held by a suspect, for example in their hand or in their coat, it will be warmer than the surrounding environment. To support the strengthening of this type of evidence, I did a project modeling the heating and cooling of handguns. If the officers know the ambient temperature and the time since the suspect held the gun, they can use my model to show that it is very likely that the gun was recently held by the suspect.
I worked with the Boston Police Department to test the temperature profiles of several common handguns. I attached temperature sensors to several locations on the gun, and then charted the heating and cooling of the gun. I warmed the guns by holding them next to my body, and then cooled them by putting them in the ambient air (all of this was supervised).
I could use my temperature profiles and a semi-infinite heat transfer model to tell how long it had been since a gun had been held.
© 2016. All rights reserved. "Then you will know the data, and the data will set you free." winstonlarson@gmail.com


The goal is to build the 2x3 blue block on the left with white down.
Rotate the cube so that the blue-white edge is in the down-left position with blue left and white down.
If the edge is on the left with blue facing left then simply rotate to the down-left position.
If the edge is in the center (S) slice and flipped the right way then simply rotate to the down-left position.
Once the edge is on the bottom with white facing down then simply retate to the down-left position.
Otherwise, bring to the bottom in the correct orientation and rotate to the down-left position.
Attach the blue center with the down-left edge.
If aligned then simply rotate into place with wide-u.
If the blue center is on top or bottom, bring it down or up with wide-r, then rotate into place.
Tuck the blue-orange edge into the front-down position with blue facing front.
Bring blue-orange-white corner to upper-right-back with white facing right.
Pair blue-orange edge with blue-orange-white corner and insert in back-left.
Note: You can pair on the bottom directly as well (but this doesn't work later with second block).
Tuck the blue-red edge into the back-down position with blue facing back.
Bring blue-red-white corner to upper-right-front with white facing right.
Pair blue-red edge with blue-red-white corner and insert in front-left.
Note: You can pair on the bottom directly as well (but this doesn't work later with second block).
The goal is to build the 2x3 green block on the right with white down while preserving the first block.
Solve the green-white edge into the down-right position with green right and white down.
Restricted to U, R/r, F, B and M twists.
Tuck the green-orange edge into the front-down position with green facing front.
Bring green-orange-white corner to upper-left-back with white facing left.
Pair green-orange edge with green-orange-white corner and insert in back-right.
Tuck the green-red edge into the back-down position with green facing back.
Bring green-red-white corner to upper-left-front with white facing left.
Pair green-red edge with green-red-white corner and insert in front-right.
The goal is to orient and permute the top corners to be solved relative to one another.
Orient the top corners so that yellow is facing up.
If there is a single yellow "sticker" facing up then rotate it to the front-left position.
 In this case, repeat the procedure.
| Repeat |
If there is not a single yellow "sticker" facing up (instead two or none) then rotate a side sticker into the front-left position facing front.
Applying the sune algorithm repeatedly will cycle through these cases and eventually solve.
| Repeat | Repeat | |||||
| Repeat | Repeat | |||||
| Repeat | Repeat | |||||
| Repeat | Repeat | Repeat | ||||
| Repeat | Repeat | Repeat |
Permute the top corners so that pairs of side colors (orange, blue, green or red pairs) are adjacent (upper face may remain misaligned).

If no adjacent pairs exist then simply perform the JPerm algorithm from any rotation (making a pair - blue in this example) and then repeat.
| Repeat |
The goal is to orient the edges (and centers) such that up (yellow) and down (white) "stickers" are facing up or down while side colors (red, orange, green, blue) and facing the do the sides (front, back, left or right).
Yellow or white may be thought of as interchangable and are considered oriented when facing up or down.
Red, orange, green and blue may also be thought of as interchangable and are considered oriented when facing any side.
It may be confusing, but all of the following (and many more!) are all oriented correctly.
To make thinking about and diagramming this easier, we will color these "light" up/down colors cyan and the "dark" side colors purple.
If the top/bottom centers are on the front/back, then orient them.
This is the "Arrow Case". With the "arrow" pointing to the front, perform the sequence: M' U' M'
Any time a pair of adjacent misoriented edges is on top, rotate the to the back-right.
| Arrow |


Thu May 18, 2017
Although I deal more in words than aesthetics, I have a deep appreciation of design - especially architectural, industrial, and UI design.
I have an extra appreciation for a fully-realized and well-documented design language. When I was tasked to design a user interface, for example, I found that Google’s documentation for their Material Design to be an invaluable resource.
I recently upgraded to Windows 10 on my work machine and I am enjoying the fresh coat of “Metro” paint. But I have to say that Microsoft’s newly-announced Fluent Design feels far more like the future. And I mean that literally, because the future of computing may very well take place in augmented reality, or mixed reality as some now prefer to call it.
If there is a counterpoint to the so-called ambient computing environment (presided over by virtual assistants such as the Amazon Echo’s Alexa), then this is it. Or maybe we are moving toward a fusion of these two UI paradigms?
Fluent Design is clearly an attempt to establish some design fundamentals in a 3D environment. But, there is also a sparse Desktop concept floating out there that looks amazing. I’m looking forward to a more defined design language as Fluent Design moves out of the concept and into the implementation phase.
Having said that, is it time for the pendulum to swing away from the clean, minimalist trend of the past decade and back toward colour and chaos?
I’ve taken up listening to podcasts in the car, and one that I enjoy is Tomorrow with Joshua Topolsky. In the latest episode he talks website design with Ivar Vong - Chief Technology Officer at the Outline. As Joshua describes it, the Outline is an attempt to move away from the paucity of minimalist design. He points out that minimalist design arose out of the deficits of the web in terms of available bandwidth to render complex web pages (think Flash). Now that we don’t have these bandwidth restrictions anymore, why do we cling to such a linear design approach?
Ivar even built a custom CMS from scratch after deciding Wordpress wasn’t going to cut it. He believes content can be constrained by content creation tools. Medium is a good example of a constrained tool. So is Facebook.
But was Myspace any better? Not really…
I don’t know much about art, but I know what I like.
In case it wasn’t obvious by this website’s design, I happen to think that the clean look is more about restraint than constraint - minimalist design gets out of the way of words like nothing else. I agree that there is little leeway for creativity in the design, and perhaps leans more toward function than form, but there’s nothing wrong with stripping down the storytelling medium to its base level.
That’s not to say I don’t appreciate experimentation with creative and interesting content delivery platforms or engagements with new ways of storytelling - especially in the mobile space where you can engage with technologies like the gyroscope or mixed reality to push the storytelling medium to the bleeding edge.
Also, I don’t think bucking a design trend should be seen as either foolish or anachronistic. A design should reflect the brand, respect the space surrounding the design, and not be a cookie-cutter stamp phoned in from a template farm. Contrary design is healthy and reasoned.
A terrific article about Apple’s new campus came out today that really hits this idea home for me. But Steven Levy’s summary of the critical response to the campus design doesn’t quite sit right:
As Apple Park inches toward completion, its critics are getting louder, and what began with aesthetic judgments of the digital renderings — the Los Angeles Times’ architecture critic called the Ring a “retrograde cocoon” — has lately turned to social and cultural critiques. That the campus is a snobby isolated preserve, at odds with the trendy urbanist school of corporate headquarters. (Amazon, Twitter, and Airbnb are all part of a movement that hopes to integrate tech employees into cities as opposed to having them commute via fuel-gobbling cars or numbing Wi-Fi-equipped buses.)
First of all, the Apple campus was designed to blur the lines between the inside and outside - the building “breathes” with a system that circulates the air from outside instead of using air conditioning.
The 9000 trees on the campus will allow employees to take a walk or run in nature - a practice that clears the mind and promotes a higher level of cognition. Steve Jobs did his best thinking while ambling around on one of his walks. Also, it’s well-documented that people are less depressed when exposed to green space.
Try immersing yourself in nature or breathing in fresh air in one of these so-called urbanist corporate headquarters.
Secondly, at its heart, the new Apple campus is a loving realization of Steve Jobs’ vision in every way. Steve’s attention to detail famously extended to even the innards of his products, even though users will never see it. Here’s a great example from the article:
He could be scary when he swooped down on a detail he demanded. At one point, Behling recalls, Jobs discussed the walls he had in mind for the offices: “He knew exactly what timber he wanted, but not just ‘I like oak’ or ‘I like maple.’ He knew it had to be quarter-cut. It had to be cut in the winter, ideally in January, to have the least amount of sap and sugar content. We were all sitting there, architects with gray hair, going, ‘Holy shit!’”
Granted, to bring the budget down to a respectable five billion or so, Steve’s wishes about cutting timber in January weren’t followed to the letter. But the spirit of Apple’s founder is found in the details with “infrastructure like water pipes and electrical conduits…hidden in the beams” and other efforts to ensure Apple employees are never in doubt about the commitment of their company to excellence.
The ivory tower model so prevalent in institutions of higher learning fits perfectly with Apple’s cloistered dreamers. Apple’s engineers and designers don’t want to integrate into the community - they want a liminal, magical space to devote to their craft.
Before I go, I should mention Google, since I/O happened this week. I normally do a full write-up about this developer event, but it was a low-key affair this year. Design-wise, it seems like Google is content to stick with Material Design while pushing forward in AI efforts. Needless to say ambient computing dispells the need for any visual design at all as it is essentially invisible - existing in the space between spaces.


As stated earlier, this chapter will demonstrate how an application would display a graphic document in a scrollable window. You can look at the Hello World and VisSamp sample applications for examples of the view's features and how to manipulate them. The entire code listing of the Hello World application is located in the Hello World chapter.
This section is meant to show you the basic requirements for implementation of a view. It begins with a review of the concepts employed by the GEOS graphics system and then describes how to define a GenView in your Goc code. It also shows how to handle important messages sent by the view.


AP Top U.S. News at 3:02 a.m. EST
by EndPlayJerry Sandusky resentenced to 30 to 60 years, same as before
Woman charged in boyfriend's suicide pleads not guilty
Massachusetts OKs ban on flavored vaping, tobacco products
Alabama jury convicts officer of manslaughter in shooting
Ex-San Diego sheriff's captain arrested in gun sales
Ex-CIA officer gets 19 years in China spy conspiracy
Students arrested for separate threats at 2 LA-area schools
Prosecutors: Political donor sought to silence witnesses
US officials: Don't eat romaine grown in Salinas, California
California boosts pot taxes, shocking unsteady industry


[%
example_email_list = [
'· Sending an email',
'· Validate an email',
];
example_files_list = [
'· List contents of a directory',
'· Reading and writing to file',
'· Read a spreadsheet',
'· Processing configuration files',
];
example_misc_list = [
'· Setting up a local static web server',
'· Resolving DNS',
]
example_list = example_email_list.merge(
example_files_list,
example_misc_list,
);
%]


Our feedback system, unlike other tools, focuses on talent growth rather than an inspection model.
ReVIEW Talent Feedback System recognizes decades of research that feedback is central to learning. Building instructional capacity is no different.
ReVIEW Talent Feedback System is hyper focused at the local level. We want to improve your district rather than simply meet required mandates.
ReVIEW Talent Feedback System builds bridges between teachers and evaluators. We coach for growth, not check for compliance.
ReVIEW Talent Feedback System empowers states and districts by creating a fully customizable and responsive interface.
When you work with ReVIEW coaches and facilitators your district evaluators receive the tools they need to improve schools through faculty observation.
We need to connect observed evidence to appropriate indicators. The ReVIEW Talent Feedback system coaches evaluators and teachers through our intuitive user experience.
Effective teaching is so much more than tagged evidence. The ReVIEW Talent Feedback System encourages teachers and evaluators to use both qualitative and quantitative evidence aligned to indicators.
Instructional capacity increases when teachers get actionable feedback based on best pedagogical practices. The ReVIEW Talent Feedback system coaches evaluators through the Claim, Connect, Action method to ensure teachers focus on meaningful student engagement and learning.
When educators receive feedback for growth directly connected to your indicators instructional capacity grows. The ReVIEW Talent Feedback System puts the focus on coaching and development not tagging of evidence.
We all have different lenses. The ReVIEW Talent Feedback System helps evaluators recognize their bias and provide the most objective feedback possible.
Our system trains teachers to write effective feedback reports that are evidence driven. Using the Claim, Connect, Action method evaluators learn to make claims based on a framework, connect that claim to observed evidence, and then recommend actionable feedback.


Plato on Github
Report Home
src\ng\directive\ngShowHide.js
Maintainability
82.44
Lines of code
338
Difficulty
12.04
Estimated Errors
0.19
Function weight
By Complexity
By SLOC
'use strict'; var NG_HIDE_CLASS = 'ng-hide'; var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate'; /** * @ngdoc directive * @name ngShow * @multiElement * * @description * The `ngShow` directive shows or hides the given HTML element based on the expression * provided to the `ngShow` attribute. The element is shown or hidden by removing or adding * the `.ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). * * ```html * <!-- when $scope.myValue is truthy (element is visible) --> * <div ng-show="myValue"></div> * * <!-- when $scope.myValue is falsy (element is hidden) --> * <div ng-show="myValue" class="ng-hide"></div> * ``` * * When the `ngShow` expression evaluates to a falsy value then the `.ng-hide` CSS class is added to the class * attribute on the element causing it to become hidden. When truthy, the `.ng-hide` CSS class is removed * from the element causing the element not to appear hidden. * * ## Why is !important used? * * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector * can be easily overridden by heavier selectors. For example, something as simple * as changing the display style on a HTML list item would make hidden elements appear visible. * This also becomes a bigger issue when dealing with CSS frameworks. * * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the * styling to change how to hide an element then it is just a matter of using !important in their own CSS code. * * ### Overriding `.ng-hide` * * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide` * class CSS. Note that the selector that needs to be used is actually `.ng-hide:not(.ng-hide-animate)` to cope * with extra animation classes that can be added. * * ```css * .ng-hide:not(.ng-hide-animate) { * /* this is just another form of hiding an element */ * display: block!important; * position: absolute; * top: -9999px; * left: -9999px; * } * ``` * * By default you don't need to override in CSS anything and the animations will work around the display style. * * ## A note about animations with `ngShow` * * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression * is true and false. This system works like the animation system present with ngClass except that * you must also include the !important flag to override the display property * so that you can perform an animation when the element is hidden during the time of the animation. * * ```css * // * //a working example can be found at the bottom of this page * // * .my-element.ng-hide-add, .my-element.ng-hide-remove { * /* this is required as of 1.3x to properly * apply all styling in a show/hide animation */ * transition: 0s linear all; * } * * .my-element.ng-hide-add-active, * .my-element.ng-hide-remove-active { * /* the transition is defined in the active class */ * transition: 1s linear all; * } * * .my-element.ng-hide-add { ... } * .my-element.ng-hide-add.ng-hide-add-active { ... } * .my-element.ng-hide-remove { ... } * .my-element.ng-hide-remove.ng-hide-remove-active { ... } * ``` * * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display * property to block during animation states--ngAnimate will handle the style toggling automatically for you. * * @animations * addClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible * removeClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden * * @element ANY * @param {expression} ngShow If the {@link guide/expression expression} is truthy * then the element is shown or hidden respectively. * * @example <example module="ngAnimate" deps="angular-animate.js" animations="true"> <file name="index.html"> Click me: <input type="checkbox" ng-model="checked" aria-label="Toggle ngHide">

 Show:
  I show up when your checkbox is checked.

 Hide:
  I hide when your checkbox is checked.

 </file> <file name="glyphicons.css"> @import url(../../components/bootstrap-3.1.1/css/bootstrap.css); </file> <file name="animations.css"> .animate-show { line-height: 20px; opacity: 1; padding: 10px; border: 1px solid black; background: white; } .animate-show.ng-hide-add.ng-hide-add-active, .animate-show.ng-hide-remove.ng-hide-remove-active { -webkit-transition: all linear 0.5s; transition: all linear 0.5s; } .animate-show.ng-hide { line-height: 0; opacity: 0; padding: 0 10px; } .check-element { padding: 10px; border: 1px solid black; background: white; } </file> <file name="protractor.js" type="protractor"> var thumbsUp = element(by.css('span.glyphicon-thumbs-up')); var thumbsDown = element(by.css('span.glyphicon-thumbs-down')); it('should check ng-show / ng-hide', function() { expect(thumbsUp.isDisplayed()).toBeFalsy(); expect(thumbsDown.isDisplayed()).toBeTruthy(); element(by.model('checked')).click(); expect(thumbsUp.isDisplayed()).toBeTruthy(); expect(thumbsDown.isDisplayed()).toBeFalsy(); }); </file> </example> */ var ngShowDirective = ['$animate', function($animate) { return { restrict: 'A', multiElement: true, link: function(scope, element, attr) { scope.$watch(attr.ngShow, function ngShowWatchAction(value) { // we're adding a temporary, animation-specific class for ng-hide since this way // we can control when the element is actually displayed on screen without having // to have a global/greedy CSS selector that breaks when other animations are run. // Read: https://github.com/angular/angular.js/issues/9103#issuecomment-58335845 $animate[value ? 'removeClass' : 'addClass'](element, NG_HIDE_CLASS, { tempClasses: NG_HIDE_IN_PROGRESS_CLASS }); }); } }; }]; /** * @ngdoc directive * @name ngHide * @multiElement * * @description * The `ngHide` directive shows or hides the given HTML element based on the expression * provided to the `ngHide` attribute. The element is shown or hidden by removing or adding * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). * * ```html * <!-- when $scope.myValue is truthy (element is hidden) --> * <div ng-hide="myValue" class="ng-hide"></div> * * <!-- when $scope.myValue is falsy (element is visible) --> * <div ng-hide="myValue"></div> * ``` * * When the `ngHide` expression evaluates to a truthy value then the `.ng-hide` CSS class is added to the class * attribute on the element causing it to become hidden. When falsy, the `.ng-hide` CSS class is removed * from the element causing the element not to appear hidden. * * ## Why is !important used? * * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector * can be easily overridden by heavier selectors. For example, something as simple * as changing the display style on a HTML list item would make hidden elements appear visible. * This also becomes a bigger issue when dealing with CSS frameworks. * * By using !important, the show and hide behavior will work as expected despite any clash between CSS selector * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the * styling to change how to hide an element then it is just a matter of using !important in their own CSS code. * * ### Overriding `.ng-hide` * * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide` * class in CSS: * * ```css * .ng-hide { * /* this is just another form of hiding an element */ * display: block!important; * position: absolute; * top: -9999px; * left: -9999px; * } * ``` * * By default you don't need to override in CSS anything and the animations will work around the display style. * * ## A note about animations with `ngHide` * * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression * is true and false. This system works like the animation system present with ngClass, except that the `.ng-hide` * CSS class is added and removed for you instead of your own CSS class. * * ```css * // * //a working example can be found at the bottom of this page * // * .my-element.ng-hide-add, .my-element.ng-hide-remove { * transition: 0.5s linear all; * } * * .my-element.ng-hide-add { ... } * .my-element.ng-hide-add.ng-hide-add-active { ... } * .my-element.ng-hide-remove { ... } * .my-element.ng-hide-remove.ng-hide-remove-active { ... } * ``` * * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display * property to block during animation states--ngAnimate will handle the style toggling automatically for you. * * @animations * removeClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a truthy value and just before the contents are set to hidden * addClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a non truthy value and just before the contents are set to visible * * @element ANY * @param {expression} ngHide If the {@link guide/expression expression} is truthy then * the element is shown or hidden respectively. * * @example <example module="ngAnimate" deps="angular-animate.js" animations="true"> <file name="index.html"> Click me: <input type="checkbox" ng-model="checked" aria-label="Toggle ngShow">

 Show:
  I show up when your checkbox is checked.

 Hide:
  I hide when your checkbox is checked.

 </file> <file name="glyphicons.css"> @import url(../../components/bootstrap-3.1.1/css/bootstrap.css); </file> <file name="animations.css"> .animate-hide { -webkit-transition: all linear 0.5s; transition: all linear 0.5s; line-height: 20px; opacity: 1; padding: 10px; border: 1px solid black; background: white; } .animate-hide.ng-hide { line-height: 0; opacity: 0; padding: 0 10px; } .check-element { padding: 10px; border: 1px solid black; background: white; } </file> <file name="protractor.js" type="protractor"> var thumbsUp = element(by.css('span.glyphicon-thumbs-up')); var thumbsDown = element(by.css('span.glyphicon-thumbs-down')); it('should check ng-show / ng-hide', function() { expect(thumbsUp.isDisplayed()).toBeFalsy(); expect(thumbsDown.isDisplayed()).toBeTruthy(); element(by.model('checked')).click(); expect(thumbsUp.isDisplayed()).toBeTruthy(); expect(thumbsDown.isDisplayed()).toBeFalsy(); }); </file> </example> */ var ngHideDirective = ['$animate', function($animate) { return { restrict: 'A', multiElement: true, link: function(scope, element, attr) { scope.$watch(attr.ngHide, function ngHideWatchAction(value) { // The comment inside of the ngShowDirective explains why we add and // remove a temporary class for the show/hide animation $animate[value ? 'addClass' : 'removeClass'](element,NG_HIDE_CLASS, { tempClasses: NG_HIDE_IN_PROGRESS_CLASS }); }); } }; }];


Include {{ .Site.Title -}}’s source Sass and JavaScript files via npm, Composer or Meteor. Package managed installs don’t include documentation, but do include our build system and readme.
{{ highlight (printf ("npm install %s") .Site.Params.repo) "sh" "" }}When you only need to include {{ .Site.Title -}}’s compiled CSS or JS, you can use the Arizona Digital CDN.
{{ .Site.Title }} is included in the Arizona Quickstart web content management system.


Factorio Replay
Drag a replay.dat or replay.txt file anywhere on this page!
Export replay.dat
Export replay.txt
Sort by tick
Sort by player


settings.html
* Set pinned project * Default sharing settings? * Uploading logo, org name * Third party integrations? * Default notification settings * Default limits for users: number of projects a user can create, amount of data uploaded


Kahoot Tools
By @idiidk
Pin
Name
Username
Password
Leggo
Game Control
Pin: | Player Count:
poll
Send Answer
▲
◆
●
■
random
people
Team Hacks
Member Amount
Member Prefix
Send Members
bug_report
Experimental Hacks
Crash Game
Answer Correctly
Add Players
Amount
Name
True
False
Player is Ghost
True
False
Unique CID
add player
toggle select
remove selected
Options
Customize kahoot-tools
Light
Dark
Theme
Clear all Storage (logout)
Kahoot Tools Xenon - 2018
Game
Options


Brotli provides a general-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling. Its libraries are particularly used for WOFF2 fonts on webpages.
This package is known to build and work properly using an LFS-9.1 platform.
Download (HTTP): https://github.com/google/brotli/archive/v1.0.7/brotli-v1.0.7.tar.gz
Download MD5 sum: 7b6edd4f2128f22794d0ca28c53898a5
Download size: 23 MB
Estimated disk space required: 43 MB (add 5 MB if installing both sets of python bindings, add 9 MB for the main test and 5MB for testing the bindings)
Estimated build time: 0.2 SBU (add 0.3 SBU for the python bindings, and 1.2 SBU if testing them)
Lua-5.3.5 (to create Lua bindings) and Python-2.7.17 (to create python2 bindings)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/brotli
Install brotli by running the following commands:
mkdir out && cd out && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ .. && make
To test the results, issue: make test.
If desired, either or both sets of python bindings can be built and installed without any conflicts. If you need the Python2 bindings, add or substitute python2 for python3 in the following instructions:
pushd .. && python3 setup.py build && popd
If you wish to test the bindings, go back to the top-level directory and issue: python3 setup.py test.
Now, as the root
user:
make install && cd ..
If you have built either or both sets of python bindings, install them as the
root
user (as before, use the
appropriate version(s) of python:
python3 setup.py install --optimize=1
Last updated on 2020-02-16 20:46:23 -0600


North Korea calls Trump 'thoughtless' old man over tweets
Seoul, South Korea: North Korea insulted U.S. President Donald Trump again on Monday, calling him a "thoughtless and sneaky old man” after he tweeted that North Korean leader Kim Jong Un wouldn’t want to abandon a special relationship between the two leaders and affect the American presidential election by resuming hostile acts.
A senior North Korean official, former nuclear negotiator Kim Yong Chol, said in a statement that his country wouldn’t cave in to U.S. pressure because it has nothing to lose and accused the Trump administration of attempting to buy time ahead of an end-of-year deadline set by Kim Jong Un for Washington to salvage nuclear talks.
Nuclear negotiations faltered after a February summit between Trump and Kim Jong Un in Vietnam broke down when the U.S. side rejected North Korean demands for broad sanctions relief in exchange for a partial surrender of its nuclear capabilities.
Kim has said North Korea will seek a "new way” if the U.S. maintains its sanctions and pressure, and issued the deadline for the Trump administration to offer mutually acceptable terms for a deal.


ARGen description
ARGen goal
Abstract AbstractAbstractAbstractAbstractAbstractAbstractAbstract.....
Paper Resources
-
Table 1 Comparison of Combinatorial Techniques Related to The Refactoring Problem
This analysis was performed and traced in a seven dimension conceptual matrix. Each dimension is defined by the following characteristics: optimization technique, objective(s), type of solution, evaluation method, analyzed systems, supported refactoring and be- haviour preservation.
-
Problem Solving:
-
NP-Complete combinatorial problem demostration:


Menu
Home
Login or Register
Register
New Recipe
Logout {{user.password.email}}
New Recipe Form
Please Fill out the Form to Create your own Recipe!
Name of the Recipe:
Description of your Recipe:
Ingredients:
Instructions:
Photo:
Save
×


Resource state representation is under attack
The logical entity representing the current state is mapped to its representation (marshalling or unmarshalling), which often means converting between a Java object (e.g. a POJO) and the representation text (like XML or JSON). This marshalling/unmarshalling could be the weak link in the chain. For example, under XML representation, either an XML parser, or a higher-level XML marshalling framework (like schema-free XMLEncoder/XMLDecoder or XStream or schema-based JAXB) is used.
– XML entity injection attacks, either an XML entity expansion denial-of-service (“billion laughs” attack) or as XML external entity injection (XXE attacks). The problem is that common Java XML parsers use an insecure default configuration for these threats, and the REST framework may not be performing adequate configuration of the underlying parser.
Well known examples of such XML-based attack vectors are:
“Billion laughs” attack, 1K payload expands to 3GB, leading to directed denial-of-service:
<?xml version="1.0"?>
<!DOCTYPE lolz [
<!ENTITY lol "lol">
<!ENTITY lol2 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
<!ENTITY lol4 "&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;">
<!ENTITY lol5 "&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;">
<!ENTITY lol6 "&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;">
<!ENTITY lol7 "&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;">
<!ENTITY lol8 "&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;">
<!ENTITY lol9 "&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
]>
<lolz>&lol9;</lolz>
XXE (external entity attack), for sensitive file disclosure (WEB-INF configuration files, /etc/passwd, etc.):
<!DOCTYPE root [
<!ELEMENT root ANY >
<!ENTITY windowsfile SYSTEM "file:///c:/boot.ini">
]>
<root>
<sometag>&windowsfile;</sometag>
</root>
another:
<?xml encoding="utf-8" ?>
<!DOCTYPE Customer [<!ENTITY y SYSTEM '../WEB-INF/web.xml'>]>
<Customer>
<name>&y;</name>
</Customer>
XXE, for denial-of-service under Unix servers:
<!DOCTYPE foo [
<!ELEMENT root ANY >
<!ENTITY unixfile SYSTEM "file:///dev/random" >
]>
<root>&unixfile;</root>
Note: The JAXP API for XML parsers in Java recently adopted a more robust default configuration.
XXE for code execution
<?xml encoding="utf-8" ?>
<!DOCTYPE Customer [<!ENTITY y SYSTEM 'expect://ls'>]>
<Customer>
<name>&y;</name>
</Customer>


Mescaline...just another door into the mind. Pure mystical energy flowed freely from the two pills containing about 350 mg each that I was about to ingest with my friend D. We had seen the movie The Doors, in which they go to the desert and eat peyote. We were both fond of psychedelics, I've taken acid about 100 times or so as has D, I've done shrooms and handful of times, and we had both tried mescaline several times before.
We both bought the two pills from our close friend and then we went out searching for a rental car. Upon our picking up one, we drove out into the Californian desert. Exiting the car, we only carried with us a book bag of water, some bread, and a copy of The Doors of Perception. What a brilliant idea to travel to the desert. Why did we need a movie to give us the idea?
We sat far from our car and ingested the two pills. While we waited for the effects, we sat silently and held The Doors of Perception between us and read. Before we could finish the book, we both threw up violently. It was kicking in.
'If you could find God, would you go to him?' I asked.
'If God were real, then I would. But we're all just pawns on a checkerboard that keeps being reset. When you die, you're reincarnated...so where's God?' D answered. This is the one thing I remember clearly being said.
 We were mad children, playing in the world's jungle gym. We bathed in the golden sand of the Gods...God, what an absurd concept. D was right.
OM...can we find ourselves, or are we lost. Not in the wild, but in out mind. Out here in death valley, we need not fear prying eyes, we're beautiful, radiant beings of light. We huddled together, terrified of the sun god above us. Timothy Leary preached that huddling was as old as people...he was right.
it's so beautiful, look at the stars in the sand. Did you see them, D? I know you can, we can see everything because we share our eyes, our minds, and our souls. For this moment we our one, we are all one...moving on the thread like a needle. We could pierce the cloth of reality, but we might be perceived as obscene. Our actions were obscene, our thoughts, our movements, our very core self was obscene. Until we found unity in the clear light, we were all just obscene. We had witnessed the clear light first hand, when we had taken more than 15 hits of acid.
We could hear the cosmic functioning of the stars that were past our vision...far beyond the crystal blue of the sky.
Did you see the devil just now? Was it a deamon? Was it you?
Everything swirled and melted. Goodbye world, goodbye earth. Let us exist as pure energy once more.
Sleep. Dreaded sleep. Waking up covered in sweat beneath a starry night. We returned home once we found our car the following morning with the bitter taste of reality in our mouths. Experiencing mescaline in a desert environment proved extremely transcendental, so much so that I can only describe the experience in fragmented statements. And that's what it was...a fragmented journey into the wilderness of pain.
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.


Given the following statement:
public ArrayList<Person> friends = new ArrayList<Person>();
Which of the following is true?
Any object that is a subclass of Person can be added to friends
- Any generic that is passed to ArrayList can be added to friends
- Any object can be added to friends
- Any object that is passed to ArrayList can be added to friends
There are no hints for this question


--- layout: default title: tags footer: true --- {% include tagget.html %} {% comment %} ======================= The purpose of this snippet is to list all your posts posted with a certain tag. ======================= {% endcomment %} {% for tag in tags %}


{%extends 'base.html'%} {%import "bootstrap/wtf.html" as wtf%} {%block content%}
0
Posted on {{come.posted}}
posted by {{pitch[id-1].author}}


Declarations of Properties
Properties are significant labels for primitives to be associated with Parts and Part Types. Property definitions must specify a primitive type.
Declarations of Components
Eugene provides various types of components of different levels of abstraction, i.e., Device, Part Type, and Part. Devices and Parts have one pre-defined attribute, i.e. sequence, and various pre-defined operations, such as toSequence() or size().
Part Type
Part Types represent types of standard biological parts, such as promoters, ribosome binding sites, or terminators. Part Types do not construct any parts, but rather specify the structure and properties of part that can be constructed. All properties referenced by a Part Type definition must be defined before the Part Type's definition.
Device
Devices represent a composite of standard biological parts and/or other devices. In a device declaration, the same part and/or device can be used more than once. Eugene allows synthetic biologist to specify abstract, instantiated, and hybrid synthetic devices. Abstract devices are only assembled of part types, such as promoters, ribosome binding sites, or terminators. Hybrid devices are devices that are assembled of other devices, part types, and parts.
include
Eugene allows to include Eugene scripts into a Eugene script, regardless where in the code. Therefore, the include statement can be used, where the path of the included Eugene scripts must be specified if they are located in a different folder.
The include statement can take multiple Eugene scripts that must be specified in a comma-separated list.
Instantiation of Part Types and Abstract Devices
Parts
Part instantiations define instances of predefined Parts Types and assign concrete values to the Part Type's properties. Eugene provides two possibilities to set the property values of Parts:
1.a comma-separated list of values can be specified, by specifying the property values in the same order as specified in the Part Type declaration.
2.the name of the properties can be specified to which the given value should by assigned to.
The property values of a part can be accessed using the 'dot' operator by first specifying the part name, followed by a dot ('.'), and the desired name of the property.
Devices
In Eugene, only abstract devices can be instantiated. Instantiated devices consists of parts, such as pLac or lacI. Each part must be an instance of the corresponding part type in the abstract device.
Device concreteDevice(p2, rbs1, RFP, t1);
Property values of devices can be accessed with the dot operator; however, the value is the union of the property values of its members returned as a list. If the property is a txt or num, a txt[] or a num[] is returned. If the property is a txt[] or a num[], a txt[] or a num[] is also returned that consists of the lists appended together. Individual members can be accessed by using square brackets and specifying an index. The first member is indexed at zero. Square brackets can be stacked in the case of devices within devices.
txt[] d1Seq = d1.Sequence; //d1Seq holds ["ATCG", "ATCG", "CGAT"]
txt rbs1Seq = d2[1][2].Sequence; // rbs1Seq holds "CGAT"
Arrays of Synthetic Biological Components
Eugene offers facilities to declare arrays of Devices, Device Instances, Part Types, Part Instances and Properties. Every array of synthetic biological components can only contain elements of the corresponding biological component, for example, a Device[] array can only consist devices. Similar to num[] and txt[] arrays, the elements of arrays of synthetic biological components can be accessed by using squared brackets, where the index is zero-based. Arrays may access the built in functions get and size.
Declaring Functions
Equivalently to the C programming language, Eugene provides facilities to declare function prototypes. A function is a named block of Eugene statements that performs a certain task and can return some value to its invoker.
Calling a Function
In order to execute a function prototype, the function must be called. In Eugene, a function can be executed (called) multiple times, from various places during a single execution of a Eugene script.
Note: Currently, Eugene does not support recursive function calls.


This is my html working place for IS117101 andIS218001 classes I have to add 10 html tag, and update my code on GitHub and AFS webpage. This is a very interesting practice.
Link to my Main Page2016F Course List
Introduction of CCS The mission of the Ying Wu College of Computing Sciences (CCS), which was established in 2001, is to bring education in a broad range of computing disciplines to students on campus and at a distance to carry out cutting-edge research while working closely in the industry. CCS offers bachelor’s, master’s and doctoral degrees in multiple fields of computing science, Web and information systems and a multidisciplinary undergraduate degree in information technology. CCS resides on one of the most computing-intensive campuses in the world, helping NJIT educate one of the largest groups of information technology students in the nation in the applications of new technologies as learning tools. Not coincidentally, New Jersey is one of the leading states for computing and high technology businesses. Thirty of the nation's fastest-growing technology companies are based in the state, and New Jersey ranks seventh in the nation as a cyberstate and eighth for venture capital investment— $3.5 billion—in information technology and software. Additionally, New Jersey offers the second-highest wages in the nation for technology workers. CCS graduates frequently land creatively satisfying and intellectually challenging jobs at major companies like IBM, Mercedes-Benz and Pfizer.
HTML is a language for describing web pages
Css defines how to display HTML elements
This tag is for creating structure in your web page. You can think of it like a container or a building block.


+
Talent Acquisition System
Add Interviewer
Logout
Dashboard
Schedule Interviews
Scheduled
Selected
On-Hold
Rejected
Registered Candidates
|
|
|
|
|
|
|
| {{ds.firstname}} {{ds.lastname}} |
{{ds.email}} |
{{ds.contactno}} |
{{ds.domain}} |
{{ds.experience}} |
{{ds.comments}} |
{{ds.status}} |
|
View Resume |
Not Scheduled
|
| |
|
|
| {{ds.firstname}} {{ds.lastname}} |
{{ds.domain}} |
{{ds.experience}} |
{{ds.comments}} |
|
Schedule |
On Hold |
Reject |
Scheduled
|
|
|
|
|
|
|
| {{ds.firstname}} {{ds.lastname}} |
{{ds.email}} |
{{ds.contactno}} |
{{ds.domain}} |
{{ds.experience}} |
{{ds.comments}} |
{{ds.status}} |
Scheduled
|
|
|
|
| |
|
| {{ds._id}} |
{{ds.firstname}} {{ds.lastname}} |
{{ds.email}} |
{{ds.experience}} |
{{ds.domain}} |
{{ds.status}} |
|
Scheduled
|
|
|
|
| |
|
| {{ds._id}} |
{{ds.firstname}} {{ds.lastname}} |
{{ds.email}} |
{{ds.experience}} |
{{ds.domain}} |
{{ds.status}} |
|
Rejected
|
|
|
|
| |
|
| {{ds._id}} |
{{ds.firstname}} {{ds.lastname}} |
{{ds.email}} |
{{ds.contactnumber}} |
{{ds.domain}} |
{{ds.experience}} |
{{ds.comments}} |
|


LaTeX documents are generated using the Razor template engine. Click here learn more about Razor syntax.


Quest
Speak to the Magisters of Einhovant's School of Wizardry. You will receive profitable tasks to perform. They are marked in yellow on the radar, at the upper-right corner of the screen.
You must visit them, for the tasks they will assign you are important.
Close Window