Plato on Github
Report Home
src\ng\browser.js
Maintainability
68.86
Lines of code
355
Difficulty
33.88
Estimated Errors
1.28
Function weight
By Complexity
By SLOC
'use strict'; /* global stripHash: true */ /** * ! This is a private undocumented service ! * * @name $browser * @requires $log * @description * This object has two goals: * * - hide all the global state in the browser caused by the window object * - abstract away all the browser specific features and inconsistencies * * For tests we provide {@link ngMock.$browser mock implementation} of the `$browser` * service, which can be used for convenient testing of the application without the interaction with * the real browser apis. */ /** * @param {object} window The global window object. * @param {object} document jQuery wrapped document. * @param {object} $log window.console or an object with the same interface. * @param {object} $sniffer $sniffer service */ function Browser(window, document, $log, $sniffer) { var self = this, rawDocument = document[0], location = window.location, history = window.history, setTimeout = window.setTimeout, clearTimeout = window.clearTimeout, pendingDeferIds = {}; self.isMock = false; var outstandingRequestCount = 0; var outstandingRequestCallbacks = []; // TODO(vojta): remove this temporary api self.$$completeOutstandingRequest = completeOutstandingRequest; self.$$incOutstandingRequestCount = function() { outstandingRequestCount++; }; /** * Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks` * counter. If the counter reaches 0, all the `outstandingRequestCallbacks` are executed. */ function completeOutstandingRequest(fn) { try { fn.apply(null, sliceArgs(arguments, 1)); } finally { outstandingRequestCount--; if (outstandingRequestCount === 0) { while (outstandingRequestCallbacks.length) { try { outstandingRequestCallbacks.pop()(); } catch (e) { $log.error(e); } } } } } function getHash(url) { var index = url.indexOf('#'); return index === -1 ? '' : url.substr(index); } /** * @private * Note: this method is used only by scenario runner * TODO(vojta): prefix this method with $$ ? * @param {function()} callback Function that will be called when no outstanding request */ self.notifyWhenNoOutstandingRequests = function(callback) { if (outstandingRequestCount === 0) { callback(); } else { outstandingRequestCallbacks.push(callback); } }; ////////////////////////////////////////////////////////////// // URL API ////////////////////////////////////////////////////////////// var cachedState, lastHistoryState, lastBrowserUrl = location.href, baseElement = document.find('base'), reloadLocation = null; cacheState(); lastHistoryState = cachedState; /** * @name $browser#url * * @description * GETTER: * Without any argument, this method just returns current value of location.href. * * SETTER: * With at least one argument, this method sets url to new value. * If html5 history api supported, pushState/replaceState is used, otherwise * location.href/location.replace is used. * Returns its own instance to allow chaining * * NOTE: this api is intended for use only by the $location service. Please use the * {@link ng.$location $location service} to change url. * * @param {string} url New url (when used as setter) * @param {boolean=} replace Should new url replace current history record? * @param {object=} state object to use with pushState/replaceState */ self.url = function(url, replace, state) { // In modern browsers `history.state` is `null` by default; treating it separately // from `undefined` would cause `$browser.url('/foo')` to change `history.state` // to undefined via `pushState`. Instead, let's change `undefined` to `null` here. if (isUndefined(state)) { state = null; } // Android Browser BFCache causes location, history reference to become stale. if (location !== window.location) location = window.location; if (history !== window.history) history = window.history; // setter if (url) { var sameState = lastHistoryState === state; // Don't change anything if previous and current URLs and states match. This also prevents // IE<10 from getting into redirect loop when in LocationHashbangInHtml5Url mode. // See https://github.com/angular/angular.js/commit/ffb2701 if (lastBrowserUrl === url && (!$sniffer.history || sameState)) { return self; } var sameBase = lastBrowserUrl && stripHash(lastBrowserUrl) === stripHash(url); lastBrowserUrl = url; lastHistoryState = state; // Don't use history API if only the hash changed // due to a bug in IE10/IE11 which leads // to not firing a `hashchange` nor `popstate` event // in some cases (see #9143). if ($sniffer.history && (!sameBase || !sameState)) { history[replace ? 'replaceState' : 'pushState'](state, '', url); cacheState(); // Do the assignment again so that those two variables are referentially identical. lastHistoryState = cachedState; } else { if (!sameBase || reloadLocation) { reloadLocation = url; } if (replace) { location.replace(url); } else if (!sameBase) { location.href = url; } else { location.hash = getHash(url); } } return self; // getter } else { // - reloadLocation is needed as browsers don't allow to read out // the new location.href if a reload happened. // - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172 return reloadLocation || location.href.replace(/%27/g,"'"); } }; /** * @name $browser#state * * @description * This method is a getter. * * Return history.state or null if history.state is undefined. * * @returns {object} state */ self.state = function() { return cachedState; }; var urlChangeListeners = [], urlChangeInit = false; function cacheStateAndFireUrlChange() { cacheState(); fireUrlChange(); } function getCurrentState() { try { return history.state; } catch (e) { // MSIE can reportedly throw when there is no state (UNCONFIRMED). } } // This variable should be used *only* inside the cacheState function. var lastCachedState = null; function cacheState() { // This should be the only place in $browser where `history.state` is read. cachedState = getCurrentState(); cachedState = isUndefined(cachedState) ? null : cachedState; // Prevent callbacks fo fire twice if both hashchange & popstate were fired. if (equals(cachedState, lastCachedState)) { cachedState = lastCachedState; } lastCachedState = cachedState; } function fireUrlChange() { if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) { return; } lastBrowserUrl = self.url(); lastHistoryState = cachedState; forEach(urlChangeListeners, function(listener) { listener(self.url(), cachedState); }); } /** * @name $browser#onUrlChange * * @description * Register callback function that will be called, when url changes. * * It's only called when the url is changed from outside of angular: * - user types different url into address bar * - user clicks on history (forward/back) button * - user clicks on a link * * It's not called when url is changed by $browser.url() method * * The listener gets called with new url as parameter. * * NOTE: this api is intended for use only by the $location service. Please use the * {@link ng.$location $location service} to monitor url changes in angular apps. * * @param {function(string)} listener Listener function to be called when url changes. * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous. */ self.onUrlChange = function(callback) { // TODO(vojta): refactor to use node's syntax for events if (!urlChangeInit) { // We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera) // don't fire popstate when user change the address bar and don't fire hashchange when url // changed by push/replaceState // html5 history api - popstate event if ($sniffer.history) jqLite(window).on('popstate', cacheStateAndFireUrlChange); // hashchange event jqLite(window).on('hashchange', cacheStateAndFireUrlChange); urlChangeInit = true; } urlChangeListeners.push(callback); return callback; }; /** * @private * Remove popstate and hashchange handler from window. * * NOTE: this api is intended for use only by $rootScope. */ self.$$applicationDestroyed = function() { jqLite(window).off('hashchange popstate', cacheStateAndFireUrlChange); }; /** * Checks whether the url has changed outside of Angular. * Needs to be exported to be able to check for changes that have been done in sync, * as hashchange/popstate events fire in async. */ self.$$checkUrlChange = fireUrlChange; ////////////////////////////////////////////////////////////// // Misc API ////////////////////////////////////////////////////////////// /** * @name $browser#baseHref * * @description * Returns current <base href> * (always relative - without domain) * * @returns {string} The current base href */ self.baseHref = function() { var href = baseElement.attr('href'); return href ? href.replace(/^(https?\:)?\/\/[^\/]*/, '') : ''; }; /** * @name $browser#defer * @param {function()} fn A function, who's execution should be deferred. * @param {number=} [delay=0] of milliseconds to defer the function execution. * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`. * * @description * Executes a fn asynchronously via `setTimeout(fn, delay)`. * * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed * via `$browser.defer.flush()`. * */ self.defer = function(fn, delay) { var timeoutId; outstandingRequestCount++; timeoutId = setTimeout(function() { delete pendingDeferIds[timeoutId]; completeOutstandingRequest(fn); }, delay || 0); pendingDeferIds[timeoutId] = true; return timeoutId; }; /** * @name $browser#defer.cancel * * @description * Cancels a deferred task identified with `deferId`. * * @param {*} deferId Token returned by the `$browser.defer` function. * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully * canceled. */ self.defer.cancel = function(deferId) { if (pendingDeferIds[deferId]) { delete pendingDeferIds[deferId]; clearTimeout(deferId); completeOutstandingRequest(noop); return true; } return false; }; } function $BrowserProvider() { this.$get = ['$window', '$log', '$sniffer', '$document', function($window, $log, $sniffer, $document) { return new Browser($window, $document, $log, $sniffer); }]; }


on
My plan for a CRISPR-KO library and scRNA-seq
DISCLAIMER I assume that you have working knowledge of vectors (plasmids) used in molecular biology, and know what an RNA or sgRNA is. Anything else is not important or will be explained.
My master’s thesis will be published soon on the NUS scholar’s bank. While I’m proud of what I’ve managed to do, the wet lab side of the work almost broke me! For instance, an image in the thesis showing a western blot of DLG5 Knock-Out (KO) took almost 3 months of work. The problem was not, as one would think, that DLG5 is >300 kDa, but that the antibodies were fussy… >two days incubation in primary antibodies was the solution.
The project itself is a relatively novel one; completion of a CRISPR-KO screen on a migration assay. This has been attempted previously with Smolen et al., but was only attempted on 11,000 genes. This project would attempt to do so with ~20,000 genes and to eventually examine complete molecular phenotypes associated with the KO.
There are several advantages that we had over the Smolen paper. Since its publication, technology Next Generation Sequencing (NGS) and CRISPR-KO libraries have developed significantly. The first problem I came across is that our project needed CRISPR-KOs to be detected in DROP-seq (a variant of scRNA-seq). Those who have worked in CRISPR might see the problem already; DROP-seq and CRISPR-KOs rely on detection of different RNAs to work. Any RNA detected in DROP-seq had to have a Poly-A tail. The sgRNA in CRISPR-KOs, however, is expressed under a Pol III system, meaning no poly-A tail.
Several labs have come up with similar solutions to artificially add a barcode. All of those solutions (CRISPR-seq, Perturb-seq, etc) rely on the expression of a unique barcode on the same vector as the sgRNA. The sgRNA will continue to be produced under Pol III with the unique barcode expressed under Pol II, enabling detection. In concept, this solves the scRNA-seq problem with CRISPR. However, such methods tend to have a high rate of mislabelling, template-switching (during viral packaging), and relatively high noise.
A better solution is in CROP-seq. The approach does without a barcode and turns the sgRNA itself into a barcode. Since the original paper, modifications to the paper has enabled a high detection rate.
![A. Description of how CRISPR functions using Cas9 and an sgRNA. B. Doench et al., released data on sgRNA over multiple passages. C. A Poisson distribution representing the number of expected integrants per cell depending on the infection efficiency. (Credits: B. is adapted from Doench et al.,)]({{ site.baseurl }}/images/posts/technical.png)
-
Doench, J. G. (2018). Am I ready for CRISPR? A user’s guide to genetic screens. Nature Reviews Genetics, 19(2), 67–80. http://dx.doi.org/10.1038/nrg.2017.97
-
Hill, A. J., McFaline-Figueroa, Jos\‘e L., Starita, L. M., Gasperini, M. J., Matreyek, K. A., Packer, J., Jackson, D., … (2018). On the design of CRISPR-based single-cell molecular screens. Nature Methods, (), . http://dx.doi.org/10.1038/nmeth.4604


Slide One
Text for the slide one
Slide Two
Text for the slide two
Slide three
Text for the slide three
Slide four
Text for the slide four


@@include('../views/src/_resources.html')
@@include('../views/src/_header.html')Trip.js would detect following keys to do relative actions after loading it.
trip.start()
trip.stop()
trip.pause()
trip.resume()
trip.next()
trip.prev()
When using Trip.js, after initializing, you will get a trip
object that has several APIs that you can use with in different situation. And here comes an example :
var trip = new Trip([...]);
This is the entry point that to start the whole predefined trip.
This will finish the whole trip in time.
Sometimes, you may need to pause the trip for a while to let users do something, then, you can use this.
After a while, you want to make the paused trip back to work, you will need this one. But even if trip.pause()
and trip.resume()
sounds different, the implementation behind them are the same, so you can just treat them as same function but with different name.
Jump to the next step by default. If you do pass tripIndex
into this method, then you can directly jump to that step.
Jump back to previous step.


This is the server reply for SNAC(17,04). It contain
new uin. This snac mean that registration finished succesfully.
Server also can reply with SNAC(17,01) if it can't
create new user account.
| 00 17 |
|
word |
|
SNAC family |
| 00 05 |
|
word |
|
SNAC subtype |
| 00 00 |
|
word |
|
SNAC flags |
| xx xx xx xx |
|
dword |
|
SNAC request-id |
|
|
| |
| 00 01 |
|
word |
|
TLV.Type(0x01) - all values in LE format |
| 00 32 |
|
word |
|
TLV.Length |
|
| 30 00 |
|
word |
|
TLV.Length-2 (LE) |
| 00 00 00 00 |
|
dword |
|
just zeros |
| 2d 00 |
|
word |
|
subcmd (new uin response) |
| 03 00 |
|
word |
|
sequence from SNAC(17,04) |
| xx xx xx xx |
|
dword |
|
client tcp port |
| xx xx xx xx |
|
dword |
|
client ip address |
| 00 00 00 04 |
|
dword |
|
unknown value |
| xx xx xx xx |
|
dword |
|
registration cookie from SNAC(17,04) |
| 00 00 00 00 |
|
dword |
|
just zeros |
| 00 00 00 00 |
|
dword |
|
just zeros |
| 00 00 00 00 |
|
dword |
|
just zeros |
| 00 00 00 00 |
|
dword |
|
just zeros |
| xx xx xx xx |
|
dword |
|
new uin (LE) |
| xx xx xx xx |
|
dword |
|
registration cookie from SNAC(17,04) |
|
|
| |
| |
|
|
|


{% extends "wedding_base.html" %} {% load static %} {% block wedding-content %}
Welcome to our wedding web site! We can't wait to share our special day with you all. Information about our wedding will be available for you here.
Please check back often as we will be making frequent updates to the website as the plans progress.
{% if is_married %} We're Married! {% elif days_left <= 7 %} Only {{ days_left }} day{{days_left|pluralize}}, {{ hours_left }} hour{{hours_left|pluralize}} and {{ mins_left }} min{{mins_left|pluralize}} until the wedding! {% else %} Only {{ days_left }} day{{days_left|pluralize}} until the wedding! {% endif %}


Music
This page has background music configured. You should start to hear music after a moment.
Add music to liven up your content!
<x-app-view-do> routes support background music.
Load Music
Just include a <x-audio-music-load> element in the content and it will play as soon as it is loaded.


This is a mockup to experiment with some ideas of coloring math for severely dyslexic students.
This is not not meant to be used by the student to actually do math.
The page is divided into three areas: the work area where you define the colors and other font aspects
for each character, the test area where you can type some linear math to see what your settings look like,
and the save/load area where you can save/restore your work.
The palettes have been preloaded with some settings to show some examples. To modify a character:
- Click on a palette character or directly type the character into the 'Character to Color' area.
- Select one or more properties to change. You will see the change reflected in the character and in
palette and test area.
- Once you are satisfied with your changes, pick a name and click the 'Save' button to remember the changes for later.
To transfer the settings to a different machince, they can be copied to the clipboard, pasted into email or some other means of communication.
The reciever can copy those rules to their clipboard and use the paste from clipboard to load them onto their machine.
If desired they can save the rules for later.
- In the box in the test area, you can type a linear expression to see how the coloring looks in a
larger context.
Below the palettes is an area where you can add rules for when parens, brackets, etc., match.
These rules allow you define the text/highlight color of the parens, the highlight color of the area inside the parens,
and an optional border/underline/overline (and its properties) around the matched area.
Taken together, these properties can help more quickly identify matching parens, etc.
You can create as many rules as you want so that each successive matching paren pair will have different color properties.
Use "Add rule" to add a rule and the "X" button to delete a rule.
To modify a rule:
- To modify the colors used for parens, etc., click on the "Paren Color" tab
and use the "text color" and "highlight color" pickers.
- To modify the highlight color used inside the matching area, click on the "Inside Color" tab
and use the color picker to choose a highlight color.
The checkbox after the color picker is a quick way to make the highlight of the paren
be the same as the inside highlight.
- To emphasize the matched area, a border can be specified by clicking on the "Border" tab.
The "style" allows for the specification of boxing the contents, putting a line under the contents,
or putting a line above the contents.
The thickness and the color of the line/box can be specified with the "Thickness" and "Border Color" options.
Clicking on the triangle on the left of each rule allows you to collapse or expand the rule.


Wanna the best benchmark tests of all time?
More then 1000 benchmarks available for download FREE and EXCLUSIVE!
Download now +1000 benchmarks free
Be the first person to now the best components to buy, the best cost-benefit and
MUCH MORE!!!
>>
+1000 Free ebooks
<<
>>
Weekly Recommendations
<<
>>
Privileged bechmark and products information
<<
>>
Component discounts at sponsors stores
<<
Nome completo:
E-mail
How many components will you buy in the next two years?
I want to receive promotionals emails from<EMAIL_ADDRESS>I agree with Terms and Conditions of Benchmark Fake Ltda
Submit


Destiny 2 Vex Offensive Final Assault now available
by Steve WrightTime to take on the Undying Mind, Guardians.
The Destiny 2 Vex Offensive Final Assault is now available, a new event that’ll take Guardians to the end of the game’s current season.
From now until 10 December, players can play a heightened version of the Vex Offensive complete with a new boss battle in the form of the Undying Mind. To activate the Final Assault version of the event, head over to the Moon and look for the activity in the bottom right of the Director. Make sure you head on over to Ikora at the Tower and load up on Bounties beforehand, though.
Collectively, Guardians around the world will need to defeat the Undying Mind as many times as possible. Indivially, you’ll need to do so at least three times to earn the Final Assault Triumph.
Have fun, Guardians!
Destiny 2 is available now on Windows PC, Xbox One, PS4 and Stadia.


| Name | Description |
| anyProtocol |
All of the above.
|
| datagram |
VMCI and VMCI Socket datagram send op.
Since VMCI Socket datagrams map ports directly to resources,
there is no need to distinguish between the two.
|
| doorbell |
VMCI doorbell notification
|
| hypervisor |
VMCI hypervisor datagram send op.
Direction code is not applicable to this one.
|
| queuepair |
VMCI queue pair alloc operation.
Direction code not applicable to this one.
|
| stream |
VMCI Stream Socket connect op.
|


Gateway
BOT
26-Aug-19 04:37 PM
[dscrd-hush] <Alright> it's a very easy dos to defeat btw
[dscrd-hush] <dukeleto> Firstly, set a cron job to spam 0 fee xtns, 24/7
[dscrd-hush] <Alright> simply send 1 high fee tx per block and miners will prioritize it
[dscrd-hush] <dukeleto> any that get thru, make the attack cheaper
[dscrd-hush] <Alright> not true
[dscrd-hush] <dukeleto> @Alright that allows one high-fee-payer to make an xtn per block, does not stop general clogging of the network
[dscrd-hush] <dukeleto> and most GUI wallets disable custom fees
[dscrd-hush] <Alright> ok, you make a ztx that is so big it would leave no room for other txes, you pay a 0.0003 fee
[dscrd-hush] <dukeleto> it takes 2 to fill a block
[dscrd-hush] <Alright> someone sends a "normal" tx with 0.0004 fee
[dscrd-hush] <dukeleto> with custom patches
[dscrd-hush] <Alright> miner won't mine your's
[dscrd-hush] <dukeleto> or just 1 to fill a block with ZEC spec
[dscrd-hush] <dukeleto> @Alright that "someone" sending with 0.0004 fee is nobody
[dscrd-hush] <dukeleto> or the attacker, lulz
[dscrd-hush] <dukeleto> Nobody is doing that. That is the attack
[dscrd-hush] <dukeleto> Zcash does not believe in a fee market
[dscrd-hush] <dukeleto> So they are learning via this.
[dscrd-hush] <Alright> idk man, lmk I guess
[dscrd-hush] <Alright> don't do anything malicious
[dscrd-hush] <dukeleto> @Alright also, my xtns will be of various sizes to fill in empty space in blocks
[dscrd-hush] <Alright> if you do it, only enough to demonstrate it works
[dscrd-hush] <dukeleto> You brought it up, dude
[dscrd-hush] <dukeleto> Not believing me
[dscrd-hush] <Alright> yea well I am skeptical that it will work
[dscrd-hush] <Alright> many coins don't have a "fee market"
[dscrd-hush] <Alright> you could fill HUSH blocks very cheaply as well
[dscrd-hush] <Alright> but is that a dos or is it working as intended?
[dscrd-hush] <dukeleto> @Alright the entire point of this is to show all Zcash Protocol coins were effected and ZEC is cheapest to attack with largest marketcap
[dscrd-hush] <dukeleto> @Alright Pirate would be trivial to attack as well
[dscrd-hush] <dukeleto> and Hush. And every ZP coin
[dscrd-hush] <dukeleto> and even tho they all mitigated, it doesn't really matter. It's crazy cheap in fiat terms
(edited)
[dscrd-hush] <dukeleto> @Alright your defense against the attack is what I am trying to show: that we need to allow custom fees in GUI wallets, and additionally, we need to help users decide which fee they want to pay
[dscrd-hush] <dukeleto> !ticker zec
[dscrd-hush] <dukeleto> $3/day to make something worth $380,000,000 not work. Even if it's $30/day, that is way too little
[dscrd-hush] <dukeleto> @Alright do you know of any exchange that lets you set a network txfee to decide how fast you want your withdraw?
[dscrd-hush] <dukeleto> what happens when a woodchipper is running, and every exchange out there assume 0.0001 is always fine (which they often do) ?
[dscrd-hush] <dukeleto> might be a way for withdraws to be indefinitely "hung" or maybe even made to expire
[dscrd-hush] <dukeleto> to research the full implications of Sapling Woodchipper, it's a full time job
[dscrd-hush] <dukeleto> Zcash xtns expire. If the woodchipper runs enough hours to make an xtn expire, it must be re-made.
[dscrd-hush] <dukeleto> @Alright that implication has not been fully explored
[dscrd-hush] <dukeleto> there is no Replace-by-fee on Zcash mainnet, either
[dscrd-hush] <dukeleto> No way to give an existing xtn a higher fee, I don't think. That was never merged from BTC
[dscrd-hush] <Alright> can spend an output of an unconfirmed tx with higher fee
[dscrd-hush] <Alright> miner will include both
[dscrd-hush] <dukeleto> on KMD or ZEC?
[dscrd-hush] <Alright> doesn't really matter in this case
[dscrd-hush] <Alright> on any BTC protocol coin
[dscrd-hush] <dukeleto> that doesn't seem safe in regards to 51% attackers re-org'ing and censoring xtns
[dscrd-hush] <dukeleto> but I guess that is rare?
[dscrd-hush] <Alright> not sure what you mean
[dscrd-hush] <Alright> but yea... wouldn't really matter if moon boy's withdraws are stuck
[dscrd-hush] <Alright> not exactly a user friendly thing to do
[dscrd-hush] <dukeleto> spending an output of an unconfirmed xtn (in the mempool). What happens if that xtn is censored by a 51% miner, i.e. removed from the block?
[dscrd-hush] <Alright> don't know what you mean
[dscrd-hush] <dukeleto> selfish mining attack of removing xtns
[dscrd-hush] <dukeleto> "censoring xtns"
[dscrd-hush] <Alright> if a node doesn't see the initial tx, it won't add the next tx to mempool
[dscrd-hush] <Alright> well...
[dscrd-hush] <dukeleto> Spending an unconfirmed xtn
[dscrd-hush] <Alright> yea idk what you mean
[dscrd-hush] <Alright> you could censor the second tx I guess?
[dscrd-hush] <dukeleto> what exactly?
[dscrd-hush] <Alright> but how is that any different?
[dscrd-hush] <dukeleto> Spending unconfirmed outputs seems dicey to me. I know it "all works out in the mempool" usually, but under a selfish mining attack, well, I wouldn't trust my life savings to one of those xtns
[dscrd-hush] <dukeleto> Spending from the mempool is magic
[dscrd-hush] <dukeleto> and sometimes doesn't work, often in ZP coins because of slight BTC/ZEC changes
[dscrd-hush] <dukeleto> spending from mempool did not work for the Hush v3 airdrop, I might have scars
[dscrd-hush] <Alright> it didn't work because sendmany waits for 1 conf by default
[dscrd-hush] <Alright> there is an optional arg to turn that off
[dscrd-hush] <dukeleto> yup, did that
[dscrd-hush] <dukeleto> Decker confirmed
[dscrd-hush] <dukeleto> he didn't understand why it didn't work
[dscrd-hush] <dukeleto> and that is when I say "good enough"
[dscrd-hush] <dukeleto> I was using Decker-written code
[dscrd-hush] <Alright> raw txes ftw
[dscrd-hush] <Alright> I showed you Emman's tool that I had used about 2 dozen times
[dscrd-hush] <Alright> just saying....
[dscrd-hush] <dukeleto> yeah, requires raw xtns to do correctly, or i hit some dumb bug
[dscrd-hush] <Alright> that does it all in a single block :troll:
[dscrd-hush] <dukeleto> @Alright i read the source code to the tool. nothing against it, but it's not my style
[dscrd-hush] <dukeleto> I want to know I can fix any part of the tool I am using
[dscrd-hush] <dukeleto> his has really cool features, tho
[dscrd-hush] <Alright> yea is a quite well thought out
[dscrd-hush] <Alright> keeps a db of what has been sent and what hasn't
[dscrd-hush] <Alright> the "bug" you hit is a feature
[dscrd-hush] <Alright> like I said, sendmany won't try to spend unconfirmed funds unless you tell it to explicitly


{%- from "digital-land-frontend/components/timeline/macro.html" import dlTimeline %}
Further evidence came to light.


General Information
I am currently seeking employment in fields that I can contribute in and grow. I look forward to hearing from you, so please feel free to contact me!
Through e-mail is the best way to contact me.
I am currently seeking employment in fields that I can contribute in and grow. I look forward to hearing from you, so please feel free to contact me!
Through e-mail is the best way to contact me.


The third component of the infrastructure, archival procedures, concerns the recoverability of the database and the disk consumption of the database log files.
There are two separate aspects to these issues. First, you may want to periodically create snapshots (i.e., backups) of your databases to make it possible to recover them from catastrophic failure. Second, you'll want to periodically remove log files in order to conserve disk space. The two procedures are distinct from each other, and you cannot remove the current log files simply because you have created a database snapshot.
To create a snapshot of your database that can be used to recover from catastrophic failure, the following steps should be taken:
More importantly, if any of the database files have not been accessed during the lifetime of the current log files, db_archive will not list them in its output! For this reason, it may be important to use a separate database file directory, archiving it instead of the files listed by db_archive.
Note that the order of these operations is important, and that the database files must be archived before the log files.
The Berkeley DB library supports on-line backups, and it is not necessary to stop reading or writing your databases during the time when you create this snapshot. It is important to note, however, that the snapshot of an active database will be consistent as of some unspecified time between the start of the archival and when archival is completed.
To create a snapshot as of a specific time, you must stop reading and writing your databases for the entire time of the archival, force a checkpoint (see db_checkpoint), and then archive the files listed by the db_archive utility's -s and -l options.
Once these steps are completed, your database can be recovered from catastrophic failure to its state as of the time the archival was done. To update your snapshot so that recovery from catastrophic failure is possible up to a new point in time, repeat step #2, copying all existing log files to a backup device.
Each time that a complete snapshot is made, i.e. all database and log files are copied to backup media, you may discard all previous snapshots and saved log files.
The time to restore from catastrophic failure is a function of the number of log records that have been written since the snapshot was originally created. Perhaps more importantly, the more separate pieces of backup media you use, the more likely that you will have a problem reading from one of them. For these reasons, it is often best to make snapshots on a regular basis.
For archival safety remember to ensure that you have multiple copies of your database backups, that you verify that your archival media is error-free, and that copies of your backups are stored off-site!
To restore your database after catastrophic failure, the following steps should be taken:
It is possible to recreate the database in a location different than the original, by specifying appropriate pathnames to the -h option of the db_recover utility.
To remove log files, the following steps should be taken:


Redwood quick start:
load_csv data
(this loads the data found in the link above into your Redwood environment)help
or help COMMAND
to get additional informationfilter
list
discover 2
histogram_by_source source_3 output.png
filter
run_survey source_3


[gecode-users] propagators on auxiliary variables
Andrea Rendl
andrea.rendl at gmail.com
Tue Mar 17 14:00:33 CET 2009
Hi all,
I hope someone can help me with a problem with
propagators on auxiliary variables - I couldn't find any
related thread in the mailing list.
In my problem class, I have one main decision variable
array and a set of auxiliary variable arrays (IntVarArrays
and BoolVarArrays). I post propagators on the main array,
on both main array and aux arrays, and on the aux arrays.
If I branch over the main array and the aux arrays, the
corresponding solutions only comply with the propagators
posted on the main array. However, if I branch over the
aux-arrays only, then the solutions comply to all posted
propagators. Is this normal?
I thought by "linking" the aux-arrays and the main-array
with propagators the propagators on aux-arrays will have
an effect on the main array.
I would be happy about any pointers from you :)
Thanks,
Andrea
More information about the gecode-users
mailing list


Morbid Angel and Obituary were part of a question on ‘Jeopardy!’ last night
by Andrew SacherFlorida death metal legends Morbid Angel and Obituary were part of a question on Jeopardy! last night (11/11). The category was “D.M.” and the answer was “Morbid Angel and Obituary are popular bands in this genre.” The guy seemed like he might have been taking a shot in the dark, but… he got it right!


Conduct a noncompartmental analysis as closely as possible to the most widely used commercial software for pharmacokinetic analysis, i.e. 'Phoenix(R) WinNonlin(R)' <https://www.certara.com/software/pkpd-modeling-and-simulation/phoenix-winnonlin/>. Some features are 1) CDISC SDTM terms 2) Automatic slope selection with the same criterion of WinNonlin(R) 3) Supporting both 'linear-up linear-down' and 'linear-up log-down' method 4) Interval(partial) AUCs with 'linear' or 'log' interpolation method 5) Produce pdf, rtf, text report files. * Reference: Gabrielsson J, Weiner D. Pharmacokinetic and Pharmacodynamic Data Analysis - Concepts and Applications. 5th ed. 2016. (ISBN:9198299107).
| Version: | 0.4.1 |
| Depends: | R (≥ 2.0.0), rtf, NonCompart (≥ 0.3.3) |
| Published: | 2018-07-19 |
| Author: | Kyun-Seop Bae [aut] |
| Maintainer: | Kyun-Seop Bae <k at acr.kr> |
| License: | GPL-3 |
| Copyright: | 2016-, Kyun-Seop Bae |
| URL: | https://cran.r-project.org/package=ncar |
| NeedsCompilation: | no |
| Materials: | NEWS |
| In views: | Pharmacokinetics |
| CRAN checks: | ncar results |
| Reference manual: | ncar.pdf |
| Package source: | ncar_0.4.1.tar.gz |
| Windows binaries: | r-devel: ncar_0.4.1.zip, r-release: ncar_0.4.1.zip, r-oldrel: ncar_0.4.1.zip |
| OS X binaries: | r-release: ncar_0.4.1.tgz, r-oldrel: ncar_0.4.1.tgz |
| Old sources: | ncar archive |
Please use the canonical form https://CRAN.R-project.org/package=ncar to link to this page.


DigitalSignatureVerificationService |
The DigitalSignatureVerificationService digital signature verification operations. interface DigitalSignatureVerificationService : SignatureVerificationService, CordaServiceInjectable, CordaFlowInjectable |
HashingService |
Handles hashing of bytes. interface HashingService : DigestService, CordaServiceInjectable, CordaFlowInjectable |
KeyManagementService |
The KeyManagementService is responsible for storing and using private keys to sign things. An implementation of this may, for example, call out to a hardware security module that enforces various auditing and frequency-of-use requirements. interface KeyManagementService : CordaServiceInjectable, CordaFlowInjectable |


public abstract class Square
extends java.lang.Object
Board
, which can (or cannot, depending on the type) be
occupied by units.| Modifier | Constructor and Description |
|---|---|
protected |
Square()
Creates a new, empty square.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Square> |
getNeighbours()
Get the neighbors list of a square.
|
java.util.List<Unit> |
getOccupants()
Returns an immutable list of units occupying this square, in the order in
which they occupied this square (i.e.
|
abstract Sprite |
getSprite()
Returns the sprite of this square.
|
Square |
getSquareAt(Direction direction)
Returns the square adjacent to this square.
|
int |
getX()
Get the x-coordinate of a square.
|
int |
getY()
Get the y-coordinate of a square.
|
abstract boolean |
isAccessibleTo()
Determines whether the unit is allowed to occupy this square.
|
boolean |
isSameSquare(Square square)
Equality test between two squares.
|
void |
link(Square neighbour,
Direction direction)
Links this square to a neighbour in the given direction.
|
void |
setX(int x)
Set the x-coordinate.
|
void |
setY(int y)
Set the y-coordinate.
|
public Square getSquareAt(Direction direction)
direction
- The direction of the adjacent square.public void link(Square neighbour, Direction direction)
neighbour
- The neighbour to link.direction
- The direction the new neighbour is in, as seen from this cell.public java.util.List<Unit> getOccupants()
public abstract boolean isAccessibleTo()
true
iff the unit is allowed to occupy this square.public abstract Sprite getSprite()
public int getX()
public void setX(int x)
x
- the x-coordinate to set.public int getY()
public void setY(int y)
y
- the x-coordinate to set.public java.util.List<Square> getNeighbours()
public boolean isSameSquare(Square square)
square
- The test whose equality with this one is being tested.


{{< layout}}
{{$propositionHeader}}{{/propositionHeader}}
{{$pageTitle}}Details submitted{{/pageTitle}}
{{$header}}
{{/header}}
{{$content}}
Details submitted
You don't need to sign a printed photo. We'll let David know you've completed this. Thank you.
Sign out


I am the squeamish vagabond
I swoon when I see blood
And I see blood aplenty
As I trudge through slime and mud
As I roam from copse to spinney
I see corpses widely strewn
Of slaughtered tramps and vagrants
I fear I'll join them soon
For I'm pursued by a violent foe
A fiend from the bottomless pond
I tremble and piddle in my pants
I'm the squeamish vagabond


A field that handles data stored in external files, i.e. "Blob - binary
large object".
(gui '(+BlobField) '(txt : home obj) 72 20)
The code above creates a textarea, size 72 x 20, and stores the text entered
there in an external file. A corresponding, global variable, is created in
main.l:
(setq
*Pool "db/wiki/"
*Blob "db/wiki/blob/"
*Jnl (and (info "fifo/wiki") "fifo/wiki")
*Salt (16 . "$6$@1$")
*Css<EMAIL_ADDRESS>"wiki/lib.css")
*WikiCss "wiki/wiki.css"
*WikiPort 5000 )
Here, *Blob
holds a path to the place where content from
+BlobField
will be stored. See also +/R, +TextField.


{% block javascript %} {% endblock %}
Warning: this is preview mode. You will not be able to submit.
This is the last question. Use the submit button below when you are done.
Gender
Skin Shade
Male
Female
Unsure
I
II
III
IV
V
VI
Unsure
{% include "hit_templates/simpleamt.html" %}
Submit


Observe Entry Demo
See the observe-entry NPM package in action, by
Michael LaRoy
NPM:
npm package page
Github:
Github repo
Watch the observed objects fade in once they are fully inside the viewport:
Some more observed objects fading in:
Even more observed objects


{% extends "base.html" %} {% block head %} {% endblock %} {% block content %}
Now nobody would see what you said again, unless you authorize


File Creation / Deletion / Read / Write. More...
Functions | |
| ErrorHandler | MEL::FileCreateErrorHandler (ErrorHandlerFunc func) |
| Create a file error handler. More... | |
| void | MEL::FileSetErrorHandler (const File &file, const ErrorHandler &errHndl) |
| Set the error handler for a file. More... | |
| void | MEL::FileSetErrorHandler (const File &file, ErrorHandlerFunc func) |
| Set the error handler for a file. More... | |
| ErrorHandler | MEL::FileGetErrorHandler (const File &file) |
| Get the error handler for a file. More... | |
| FileMode | MEL::FileGetMode (const File &file) |
| Get the mode a file was opened with. More... | |
| bool | MEL::FileIsAtomic (const File &file) |
| Is the file opened in an atomic mode? More... | |
| void | MEL::FileSetAtomicity (const File &file, const bool atom) |
| Set the atomicity of the file handle. More... | |
| Offset | MEL::FileGetByteOffset (const File &file, const Offset offset) |
| Get the byte position of the file cursor relative to a given location. More... | |
| Group | MEL::FileGetGroup (const File &file) |
| Get the comm group a file was opened as a part of. More... | |
| Info | MEL::FileGetInfo (const File &file) |
| Get the MPI_Info object attached to a file handle. More... | |
| void | MEL::FileSetInfo (const File &file, const Info &info) |
| Set the MPI_Info object attached to a file handle. More... | |
| Offset | MEL::FileGetPosition (const File &file) |
| Get the position of the file cursor. More... | |
| Offset | MEL::FileGetPositionShared (const File &file) |
| Get the position of the shared file cursor. More... | |
| Offset | MEL::FileGetSize (const File &file) |
| Get the size of the file in bytes. More... | |
| void | MEL::FileSetSize (const File &file, const Offset size) |
| Set the size of the file in bytes. More... | |
| Aint | MEL::FileGetTypeExtent (const File &file, const Datatype &datatype) |
| Get the extent of the derived type set to the file handle. More... | |
| File | MEL::FileOpen (const Comm &comm, const std::string &path, const FileMode amode) |
| Open a file and return a handle to it. More... | |
| File | MEL::FileOpenIndividual (const std::string &path, const FileMode amode) |
| Open a file on an individual process and return a handle to it. More... | |
| void | MEL::FileDelete (const std::string &path) |
| Delete a file by its path. More... | |
| void | MEL::FileClose (File &file) |
| Close the file attached to the given file handle. More... | |
| void | MEL::FilePreallocate (const File &file, const Offset fileSize) |
| Preallocate the opened file to the given size on the file system. More... | |
| void | MEL::FileSeek (const File &file, const Offset offset, const SeekMode seekMode=MEL::SeekMode::SET) |
| Move the file cursor to a specific position. More... | |
| void | MEL::FileSeekShared (const File &file, const Offset offset, const SeekMode seekMode=MEL::SeekMode::SET) |
| Move the shared file cursor to a specific position. More... | |
| void | MEL::FileSync (const File &file) |
| Force all queued and pending disk operations on a file to be completed. More... | |
| void | MEL::FileSetView (const File &file, const Offset offset, const Datatype elementaryType, const Datatype fileType, const std::string &datarep="native") |
| Set the view of a file handle for subsequent read/writes. More... | |
| void | MEL::FileSetView (const File &file, const FileView &view) |
| Set the view of a file handle for subsequent read/writes. More... | |
| void | MEL::FileGetView (const File &file, Offset &offset, Datatype &elementaryType, Datatype &fileType, std::string &datarep) |
| Get the view attached to a file handle. More... | |
| FileView | MEL::FileGetView (const File &file) |
| Get the view attached to a file handle. More... | |
| Status | MEL::FileWrite (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from a single process. More... | |
| Status | MEL::FileWriteAll (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from all processes that opened the file. More... | |
| Status | MEL::FileWriteAt (const File &file, const Offset offset, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from a single process at the desired offset. More... | |
| Status | MEL::FileWriteAtAll (const File &file, const Offset offset, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from all processes that opened the file at the desired offset. More... | |
| Status | MEL::FileWriteOrdered (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from all processes that opened the file in sequence. More... | |
| Status | MEL::FileWriteShared (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Write to file from any processes that opened the file in parallel. More... | |
| Request | MEL::FileIwrite (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Non-Blocking. More... | |
| Request | MEL::FileIwriteAt (const File &file, const Offset offset, const void *sptr, const int snum, const Datatype &datatype) |
| Non-Blocking. More... | |
| Request | MEL::FileIwriteShared (const File &file, const void *sptr, const int snum, const Datatype &datatype) |
| Non-Blocking. More... | |
| Status | MEL::FileRead (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from a single process. More... | |
| Status | MEL::FileReadAll (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from all processes that opened the file. More... | |
| Status | MEL::FileReadAt (const File &file, const Offset offset, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from a single process at the desired offset. More... | |
| Status | MEL::FileReadAtAll (const File &file, const Offset offset, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from all processes that opened the file at the desired offset. More... | |
| Status | MEL::FileReadOrdered (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from all processes that opened the file in sequence. More... | |
| Status | MEL::FileReadShared (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Read from file from any processes that opened the file in parallel. More... | |
| Request | MEL::FileIread (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Non-Blocking. More... | |
| Request | MEL::FileIreadAt (const File &file, const Offset offset, void *rptr, const int rnum, const Datatype &datatype) |
| Non-Blocking. More... | |
| Request | MEL::FileIreadShared (const File &file, void *rptr, const int rnum, const Datatype &datatype) |
| Non-Blocking. More... | |
| template<typename T > | |
| Status | MEL::FileWrite (const File &file, const T *sptr, const int snum) |
| Write to file from a single process. More... | |
| template<typename T > | |
| Status | MEL::FileWriteAt (const File &file, const Offset offset, const T *sptr, const int snum) |
| Write to file from a single process at the desired offset. More... | |
| template<typename T > | |
| Status | MEL::FileWriteAll (const File &file, const T *sptr, const int snum) |
| Write to file from all processes that opened the file. More... | |
| template<typename T > | |
| Status | MEL::FileWriteAtAll (const File &file, const Offset offset, const T *sptr, const int snum) |
| Write to file from all processes that opened the file at the desired offset. More... | |
| template<typename T > | |
| Status | MEL::FileWriteOrdered (const File &file, const T *sptr, const int snum) |
| Write to file from all processes that opened the file in sequence. More... | |
| template<typename T > | |
| Status | MEL::FileWriteShared (const File &file, const T *sptr, const int snum) |
| Write to file from any processes that opened the file in parallel. More... | |
| template<typename T > | |
| Status | MEL::FileRead (const File &file, T *rptr, const int rnum) |
| Read from file from a single process. More... | |
| template<typename T > | |
| Status | MEL::FileReadAt (const File &file, const Offset offset, T *rptr, const int rnum) |
| Read from file from a single process at the desired offset. More... | |
| template<typename T > | |
| Status | MEL::FileReadAll (const File &file, T *rptr, const int rnum) |
| Read from file from all processes that opened the file. More... | |
| template<typename T > | |
| Status | MEL::FileReadAtAll (const File &file, const Offset offset, T *rptr, const int rnum) |
| Read from file from all processes that opened the file at the desired offset. More... | |
| template<typename T > | |
| Status | MEL::FileReadOrdered (const File &file, T *rptr, const int rnum) |
| Read from file from all processes that opened the file in sequence. More... | |
| template<typename T > | |
| Status | MEL::FileReadShared (const File &file, T *rptr, const int rnum) |
| Read from file from any processes that opened the file in parallel. More... | |
| template<typename T > | |
| Request | MEL::FileIwrite (const File &file, const T *sptr, const int snum) |
| Non-Blocking. More... | |
| template<typename T > | |
| Request | MEL::FileIwriteAt (const File &file, const Offset offset, const T *sptr, const int snum) |
| Non-Blocking. More... | |
| template<typename T > | |
| Request | MEL::FileIwriteShared (const File &file, const T *sptr, const int snum) |
| Non-Blocking. More... | |
| template<typename T > | |
| Request | MEL::FileIread (const File &file, T *rptr, const int rnum) |
| Non-Blocking. More... | |
| template<typename T > | |
| Request | MEL::FileIreadAt (const File &file, const Offset offset, T *rptr, const int rnum) |
| Non-Blocking. More... | |
| template<typename T > | |
| Request | MEL::FileIreadShared (const File &file, T *rptr, const int rnum) |
| Non-Blocking. More... | |
Detailed Description
File Creation / Deletion / Read / Write.
Function Documentation
|
inline |
Create a file error handler.
- Parameters
-
[in] func The function to use
- Returns
- Returns a handle to an error handler
|
inline |
Set the error handler for a file.
- Parameters
-
[in] file The file to attach to [in] errHndl The handler to use
|
inline |
Set the error handler for a file.
- Parameters
-
[in] file The file to attach to [in] func The function to use
|
inline |
Get the error handler for a file.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns a handle to the error handler
|
inline |
Get the mode a file was opened with.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns the file mode
|
inline |
Is the file opened in an atomic mode?
- Parameters
-
[in] file The file to attach to
- Returns
- Returns true is the file is opened atomically
|
inline |
Set the atomicity of the file handle.
- Parameters
-
[in] file The file to attach to [in] atom Boolean value representing atomicity
Get the byte position of the file cursor relative to a given location.
- Parameters
-
[in] file The file to attach to [in] offset The relative offset to measure byte distance against
- Returns
- Returns the number of bytes from the given offset
|
inline |
Get the comm group a file was opened as a part of.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns comm group the file handle belongs to
|
inline |
Get the MPI_Info object attached to a file handle.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns the info object
Set the MPI_Info object attached to a file handle.
- Parameters
-
[in] file The file to attach to [in] info The info object to attach
|
inline |
Get the position of the file cursor.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns the location of the file cursor in bytes
|
inline |
Get the position of the shared file cursor.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns the location of the shared file cursor in bytes
|
inline |
Get the size of the file in bytes.
- Parameters
-
[in] file The file to attach to
- Returns
- Returns the size of the file in bytes
Set the size of the file in bytes.
- Parameters
-
[in] file The file to attach to [in] size The size in bytes to set the file size to
Get the extent of the derived type set to the file handle.
- Parameters
-
[in] file The file to attach to [in] datatype The derived datatype to measure the extent of
- Returns
- Returns the extent of the type
Open a file and return a handle to it.
- Parameters
-
[in] comm The comm world to open the file with [in] path The path to the desired file [in] amode The file mode to open the file with
- Returns
- Returns a handle to the file pointer
|
inline |
Open a file on an individual process and return a handle to it.
- Parameters
-
[in] path The path to the desired file [in] amode The file mode to open the file with
- Returns
- Returns a handle to the file pointer
|
inline |
Delete a file by its path.
- Parameters
-
[in] path The path to the file to be deleted
|
inline |
Close the file attached to the given file handle.
- Parameters
-
[in] file The file handle to be closed
Preallocate the opened file to the given size on the file system.
- Parameters
-
[in] file The file to be preallocated [in] fileSize The size of the file in bytes
|
inline |
Move the file cursor to a specific position.
- Parameters
-
[in] file The file [in] offset The position to move the file cursor to [in] seekMode The mode to move the cursor by
|
inline |
Move the shared file cursor to a specific position.
The same values must be provided by all processes
- Parameters
-
[in] file The shared file [in] offset The position to move the file cursor to [in] seekMode The mode to move the cursor by
|
inline |
Force all queued and pending disk operations on a file to be completed.
- Parameters
-
[in] file The file to be synchronized
|
inline |
Set the view of a file handle for subsequent read/writes.
- Parameters
-
[in] file The file handle [in] offset Byte offset from start of the file [in] elementaryType The derived type representing the type of each element to be written [in] fileType The derived type representing the structure of data to be written [in] datarep String argument telling the MPI implementation how data is represented. Default is "native"
Set the view of a file handle for subsequent read/writes.
- Parameters
-
[in] file The file handle [in] view A utility structure that stores the values of a file view
|
inline |
Get the view attached to a file handle.
- Parameters
-
[in] file The file handle [out] offset Byte offset from start of the file [out] elementaryType The derived type representing the type of each element to be written [out] fileType The derived type representing the structure of data to be written [out] datarep String argument telling the MPI implementation how data is represented. Default is "native"
|
inline |
Get the view attached to a file handle.
- Parameters
-
[in] file The file handle
- Returns
- Returns a utility structure that stores the values of a file view
|
inline |
Write to file from a single process.
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file.
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Write to file from a single process at the desired offset.
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write at [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file at the desired offset.
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write at [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file in sequence.
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Write to file from any processes that opened the file in parallel.
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A status object
|
inline |
Non-Blocking.
Write to file from a single processes
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A request object
|
inline |
Non-Blocking.
Write to file from a single process at the desired offset
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write to [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A request object
|
inline |
Non-Blocking.
Write to file from any processes that opened the file in parallel
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write [in] datatype The derived type representing the elements to be written
- Returns
- A request object
|
inline |
Read from file from a single process.
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file.
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Read from file from a single process at the desired offset.
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file at the desired offset.
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file in sequence.
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Read from file from any processes that opened the file in parallel.
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A status object
|
inline |
Non-Blocking.
Read from file from a single process
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A request object
|
inline |
Non-Blocking.
Read from file from a single process at the desired offset
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A request object
|
inline |
Non-Blocking.
Read from file from any process that opened the file in parallel
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read [in] datatype The derived type representing the elements to be read
- Returns
- A request object
|
inline |
Write to file from a single process.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Write to file from a single process at the desired offset.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write to [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file at the desired offset.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write to [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Write to file from all processes that opened the file in sequence.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Write to file from any processes that opened the file in parallel.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A status object
|
inline |
Read from file from a single process.
Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Read from file from a single process at the desired offset.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file.
Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file at the desired offset.
Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Read from file from all processes that opened the file in sequence.
Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Read from file from any processes that opened the file in parallel.
Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A status object
|
inline |
Non-Blocking.
Write to file from a single process. Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A request object
|
inline |
Non-Blocking.
Write to file from all processes that opened the file at the desired offset. Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to write to [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A request object
|
inline |
Non-Blocking.
Write to file from any processes that opened the file in parallel. Element size determined by template type
- Parameters
-
[in] file The file handle [in] sptr Pointer to the memory to be written [in] snum The number of elements to write
- Returns
- A request object
|
inline |
Non-Blocking.
Read from file from a single process. Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A request object
|
inline |
Non-Blocking.
Read from file from a single process at the desired offset. Element size determined by template type
- Parameters
-
[in] file The file handle [in] offset Byte offset into the file to read from [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A request object
|
inline |
Non-Blocking.
Read from file from any processes that opened the file in parallel. Element size determined by template type
- Parameters
-
[in] file The file handle [out] rptr Pointer to the memory to be read into [in] rnum The number of elements to read
- Returns
- A request object


XSplit JS Framework exposes useful methods to work with XSplit without fiddling too much with the raw core methods exposed to JavaScript, which makes developing plugins for XSplit a lot easier.
To get started, you just have to require our library:
var xjs = require('xjs');
You can read more about it at our documentation:


Who I am
About Me
- My name is Mansoor Kalash
- My age is 25
- I graduated from Yarmouk Yniversity as Electrical Power & Machines Engineer
My Background is about the Electrical & Machines like Voltage, Current, generator, Transformer and more. but I have little bit in programming like c#, c++, c, html & Css.


INITIATIVE
BIZMA network of funding partners can help you capitalize on the strength of your business, with our different financial products that reflect the cash flow and overall financial strength of your business.
BIZMA network of funding partners can help you capitalize on the strength of your business, with our different financial products that reflect the cash flow and overall financial strength of your business.
BIZMA provides rock solid plans according to your needs.Whether you are a young startup or pre-established organization. We have got you covered!
Strategies need to be decided earlier. We have already done that for you, our expertise will design outstanding backup plans for your business.


{% extends "mails/messages/activity_base.html" %} {% load i18n %} {% block message%}
{% blocktrans context 'email' %}Unfortunately, nobody applied to your activity "{{ title }}" before the deadline to apply. That’s why we have cancelled your activity.{% endblocktrans %}
{% blocktrans context 'email' %}Don’t worry, you can always create a new activity and try again.{% endblocktrans %}
{% blocktrans context 'email' %}Need some tips to make your activity stand out? Reach out to the platform manager by replying to this email.{% endblocktrans %}
{% endblock %}


About Me
Education Background
Work Experience
Hobbies
Skills
Below are my set of Skills:
Website Development-HTML and CSS
Database programming -MySQL and MSSQL
Python Programming
Data Science-Python
© 2018 Maxwel


Notes
Estimated reading time: 2 minutesBrowser support
Browser support for the canvas element is available in all modern & major mobile browsers (caniuse.com/canvas).
For IE8 & below, I would recommend using the polyfill ExplorerCanvas - available at https://code.google.com/p/explorercanvas/. It falls back to Internet explorer’s format VML when canvas support is not available. Example use:
<head>
<!--[if lte IE 8]>
<script src="excanvas.js"></script>
<![endif]-->
</head>
Usually I would recommend feature detection to choose whether or not to load a polyfill, rather than IE conditional comments, however in this case, VML is a Microsoft proprietary format, so it will only work in IE.
Some important points to note in my experience using ExplorerCanvas as a fallback.
- Initialise charts on load rather than DOMContentReady when using the library, as sometimes a race condition will occur, and it will result in an error when trying to get the 2d context of a canvas.
- New VML DOM elements are being created for each animation frame and there is no hardware acceleration. As a result animation is usually slow and jerky, with flashing text. It is a good idea to dynamically turn off animation based on canvas support. I recommend using the excellent Modernizr to do this.
- When declaring fonts, the library explorercanvas requires the font name to be in single quotes inside the string. For example, instead of your scaleFontFamily property being simply “Arial”, explorercanvas support, use “‘Arial’” instead. Chart.js does this for default values.
Bugs & issues
Please report these on the GitHub page - at github.com/nnnick/Chart.js. If you could include a link to a simple jsbin or similar to demonstrate the issue, that’d be really helpful.
Contributing
New contributions to the library are welcome, just a couple of guidelines:
- Tabs for indentation, not spaces please.
- Please ensure you’re changing the individual files in
/src
, not the concatenated output in theChart.js
file in the root of the repo. - Please check that your code will pass
jshint
code standards,gulp jshint
will run this for you. - Please keep pull requests concise, and document new functionality in the relevant
.md
file. - Consider whether your changes are useful for all users, or if creating a Chart.js extension would be more appropriate.
License
Chart.js is open source and available under the MIT license.


Professional Portfolio
Born and raised in San Francisco, California I have developed an enthusiasm for the diversity of people, neighborhoods and opportunities within urban landscapes. This has led to the following life decisions:
This portfolio reflects my work and experience observing, analyzing, and living in urban environments.
Senior theses mean picking a relevant and unanswered question to well attempt to answer. For me this meant examining the intersection of Ellis Act evictions and gentrification in San Francisco.
This paper explores how landlords utilize the Ellis Act in the increasingly competitive housing market of San Francisco. This piece of legislation has just recently found itself at the heart of a greater discussion about San Francisco’s rapidly changing demographics, and therefore has been under researched. As a result there is still great debate around the use of the Ellis Act, and what it means for communities that have experienced a large share of the evictions. Using specific data on the evictions themselves, as well as statistical data on San Francisco’s housing market, this research project takes a step towards determining if these evictions capitalize on high housing prices and exacerbate gentrification processes.
Findings were presented at the UCSD Urban Studies and Planning Program’s XXIII Urban Expo.The project received the "Communication Science Award: 1st Place Poster" and the "Communication Science Award: 1st Place Video."
Taken Spring 2013, my course "Urban Design Practicum" tasked me with conducting an existing conditions analysis and preparing a redevelopment plan--with a focus on urban form, open space, social aspects, circulation and economics-- for San Diego's central East Village. Working with a team of 5, East Village transformed into a family-friendly downtown neighborhood.
Create a safe and attractive urban core that fosters innovation & cross-generational community engagement by establishing strong public, cultural and open spaces surrounded by a walkable & sustainable environment.
Redevelopment plans were presented to a jury panel through the use of a concept map, element-specific maps, best-use practice examples, Google SketchUp renderings and an illustrative plan.
Part of a student-consultant team enlisted by Groundwork to identify and prioritize various potential partnerships with community organizations and socially-responsible corporations in order to achieve their vision of the hands-on, educational Earthlab. Identified 162 potential private and public partnerships for GroundWork’s Earth Lab Project and created GIS maps outlining the various organizations. Presented methodology and the resulting top 12 recommended potential partners to GroundWork board members.
Participated in a yearlong, binational, community-based field research program investigating public health and migration. The 2013-2014 program resulted in three separate studies:
A literary analysis of two essays from Tijuana Dreaming: Life and Art at the Global Border. Choosing Kathy Kopinak's “Globalization in Tijuana Maquiladoras: Using historical antecedents and migration to test globalization methods” and Heribetro Yepez's “Tijuanologies: An urban essay” the paper explores how Tijuana artists challenge the globalization of the Tijuana-San Diego Region by examining the informal settlements of Tijuana.
Research paper prepared for my "Housing and Community Development" course in Winter 2012. The assignment was to pick any housing-related issue to in order to improve academic research skills and analyze various types of housing policies. I chose to combine my interest in urban planning and immigration by exploring how social-housing policies in France impacted its immigrants. The paper argues that the development of France’s le politique de la ville, or urban policy, acted as the nation’s first attempt to reduce the dynamics of spatial segregation of ethnic immigrants, but failed to create any significant changes due to structural flaws and growing xenophobia. It does so by:
- Synthesizing existing scholarly literature to establish the historical context of how immigration and housing issues are interrelated.
- Analyzing le politique de la ville by looking at three of its major programs: Development Social des Quartiers, Contracts de Ville, and Pacte de Relance pour la Ville.
I am moving to Palma de Mallorca, Spain to teach english for the 2014-15 school year. Travel blog to come!


--- layout: default title: Image sizes slug: components/image-sizes ---
1170px
wide × 375px
highThe image will be scaled to the following sizes at responsive stop-points:
750px
× 240px
(clipped at left & right on smaller displays)750px
× 240px
970px
× 311px
1170px
× 375px
Not supported for xl
or 2xl
viewports (if enabled)
1170px
wide × 110px
high (default)1570px
wide × 110px
high (if xl
viewport enabled)1870px
wide × 110px
high (if 2xl
viewport enabled)The image should be the largest of these based on the enabled viewport.
Note that on displays wider than 1920px
(xl: 2320px
, 2xl: 2620px
) or taller than 1200px
, border images will scale (so they do not need to fade to a solid colour or tile).
375px
wide × 1200px
high375px
wide × 1200px
high


|
reVision
5.0.0
Video game engine project.
|
The main game engine object. More...
#include <Engine.h>
Public Types | |
| enum | MouseInputMode { NORMAL, FREE_LOOK } |
| Different mouse input modes. More... | |
Public Member Functions | |
| ~Engine () | |
| Destroys the game engine. More... | |
| Engine () noexcept | |
| Construct the game engine. More... | |
| void | tick () |
| Ticks the engine's overall simulation by a frame from the main thread. More... | |
| void | tickThreaded (std::future< void > exitObject, GLFWwindow *const auxContext) |
| Ticks the engine's overall simulation by a frame from a secondary thread. More... | |
| void | shutDown () noexcept |
| Tells the engine to shut down. More... | |
| void | setMouseInputMode (const MouseInputMode &mode) |
| Set the input mode for the mouse, useful for changing between 2D and 3D views. More... | |
| void | goToMainMenu () |
| Switch the UI over to the main menu. More... | |
| void | goToGame () |
| Switch the UI over to the game. More... | |
| void | goToEditor () |
| Switch the UI over to the level editor. More... | |
| bool | shouldClose () const noexcept |
| Checks if the engine wants to shut down. More... | |
| MouseInputMode | getMouseInputMode () const noexcept |
| Retrieve the mouse input mode. More... | |
| Window & | getWindow () noexcept |
| Retrieve the application window for this engine. More... | |
| ActionState & | getActionState () noexcept |
| Retrieve this engine's action state. More... | |
| PreferenceState & | getPreferenceState () noexcept |
| Retrieve this engine's preference state. More... | |
| AssetManager & | getManager_Assets () noexcept |
| Retrieve this engine's asset manager. More... | |
| MessageManager & | getManager_Messages () noexcept |
| Retrieve this engine's message manager. More... | |
| SoundManager & | getManager_Sounds () noexcept |
| Retrieve this engine's sound manager. More... | |
| ECS_Module & | getModule_ECS () noexcept |
| Retrieve this engine's ECS module. More... | |
| Game_Module & | getModule_Game () noexcept |
| Retrieve this engine's game module. More... | |
| LevelEditor_Module & | getModule_LevelEditor () noexcept |
| Retrieve this engine's editor module. More... | |
| Graphics_Module & | getModule_Graphics () noexcept |
| Retrieve this engine's graphics module. More... | |
| UI_Module & | getModule_UI () noexcept |
| Retrieve this engine's user-interface module. More... | |
| Physics_Module & | getModule_Physics () noexcept |
| Retrieve this engine's physics module. More... | |
Static Public Member Functions | |
| static float | GetSystemTime () noexcept |
| Retrieve the current time. More... | |
| static std::string | Get_Current_Dir () |
| Retrieves the application's running directory. More... | |
| static bool | File_Exists (const std::string &name) |
| Check if a given file exists, relative to the application directory. More... | |
The main game engine object.
Encapsulates the entire engine state.
|
strong |
Different mouse input modes.
| Engine::~Engine | ( | ) |
Destroys the game engine.
|
noexcept |
Construct the game engine.
|
static |
Check if a given file exists, relative to the application directory.
| name | the full file path |
|
static |
Retrieves the application's running directory.
|
noexcept |
Retrieve this engine's action state.
|
noexcept |
Retrieve this engine's asset manager.
|
noexcept |
Retrieve this engine's message manager.
|
noexcept |
Retrieve this engine's sound manager.
|
noexcept |
Retrieve this engine's ECS module.
|
noexcept |
Retrieve this engine's game module.
|
noexcept |
Retrieve this engine's graphics module.
|
noexcept |
Retrieve this engine's editor module.
|
noexcept |
Retrieve this engine's physics module.
|
noexcept |
Retrieve this engine's user-interface module.
|
noexcept |
Retrieve the mouse input mode.
|
noexcept |
Retrieve this engine's preference state.
|
staticnoexcept |
Retrieve the current time.
|
noexcept |
Retrieve the application window for this engine.
| void Engine::goToEditor | ( | ) |
Switch the UI over to the level editor.
| void Engine::goToGame | ( | ) |
Switch the UI over to the game.
| void Engine::goToMainMenu | ( | ) |
Switch the UI over to the main menu.
| void Engine::setMouseInputMode | ( | const MouseInputMode & | mode | ) |
Set the input mode for the mouse, useful for changing between 2D and 3D views.
| mode | the new mouse input mode to use. |
|
noexcept |
Checks if the engine wants to shut down.
|
noexcept |
Tells the engine to shut down.
| void Engine::tick | ( | ) |
Ticks the engine's overall simulation by a frame from the main thread.
| void Engine::tickThreaded | ( | std::future< void > | exitObject, |
| GLFWwindow *const | auxContext | ||
| ) |
Ticks the engine's overall simulation by a frame from a secondary thread.
| exitObject | object signaling when to close the thread. |
| auxContext | pointer to the auxiliary context to use. |


Denver settles with United pilot in indecent exposure case
DENVER (AP) - The city of Denver has agreed to pay $300,000 to a United Airlines pilot who was arrested on an indecent exposure charge that was later dismissed by a judge.
KMGH-TV reports that Andrew Collins‘ attorney, Craig Silverman, announced the settlement on Monday.
Collins was arrested in September 2018 after being accused of standing naked in front of his 10th-floor hotel window overlooking the Denver International Airport terminal.
He pleaded not guilty, and a judge dismissed the misdemeanor charge in March. But the incident led to a six-month suspension from United Airlines for the pilot from Leesburg, Virginia.
Silverman has said that Collins didn’t know that people could see him when he partially opened the curtains of his hotel room.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/Time.20to.20move.20to.203.2E5.3F.html ---
I'm wondering what everyone thinks about moving mathlib to 3.5? It seems we've accumulated a fair few small fixes there by now, and it would be nice to have them. (As an example, earlier today someone wanted symmetry at h
but had to learn about symmetry' at h
.)
There's of course some hassle to move the community to a new default version. But I don't see any reason at this point that we should be fearful of switching to a "community" version; that is, it should be no more intimidating that switching from 3.4.1 to 3.4.2.
I'm guessing that when it becomes time to start thinking about migration plans to Lean 4, it's also going to be useful to have some flexibility on the Lean 3 side.
We talked about this a bit in portland. One thing we have to get right is the lean update pipeline; everyone has forgotten how to do that and unless it's really painless no one will be incentivized to do it and bad things will happen
Are there any backwards incompatible changes that need to be made to mathlib in this instance, I seem to remember mathlib compiling fine with community? The only issue I had was that as olean files are linked to the lean version update-mathlib became useless. It would be good as a first step to compile oleans for community too and make update-mathlib use the ones depending on the lean version.
In the upgrade to 3.5, there should be no backward incompatibilities
but I want to restart an update schedule if we start moving ahead with 3.5, and we can't be backward compatible forever (indeed, a lot of the things we want to change are blocked precisely because of backward compatibility)
One thing we have to get right is the lean update pipeline
Related question: Is there any way to get elan update
to check and update to the latest commit of 3.5? Running elan toolchain install leanprover-community/lean:nightly
each time works well enough, but is less convenient (mainly because I can never remember the precise command).
The only issue I had was that as olean files are linked to the lean version update-mathlib became useless. It would be good as a first step to compile oleans for community too and make update-mathlib use the ones depending on the lean version.
I think at one point Mario suggested that we remove the version / commit check for olean files from Lean 3.5.0c. It's a tiny change, I could PR it this weekend.
wow yeah if that is possible that would be great. I guess that would restrict us from every changing the olean format in community, but that seems really unlikely anyway right?
Yep, here's the previous discussion.
I'm not too hot on the idea of removing that check. The tactics API changes in Lean 3.5.0 so the olean files for 3.5.0 refer to symbols that don't make sense in 3.4.2
Also, right now, we don't have a 3.5 release. I'm thinking of getting one more feature in and making a release on November 1.
I don't want it breaking on every commit though
How about we only break it when the lean core library changes? We could hash all the Lean files in library
and make the version string something like 3.5-<library-hash>
I don't see why we need to deliberately break it at all. Let it break itself
The olean file refers to things by their names, so it's not any more brittle than a lean file would be
I just think it will be no fun to debug if you run into trouble
I think you will cause trouble much more frequently by doing this. Is there any chance of noting the version difference and reporting it if anything goes wrong in the import?
The kind of issue that I expect is tactics and definitions crashing when running them if the api they rely on has changed. This is not something that will happen necessarily when processing imports
Would there be a "release 3.5.0" or would you expect users to keep upgrading Lean like they upgrade mathlib?
there would be a release 3.5, but there would also be 3.5.1 and the wait would be a lot less than 3.4.2 -> 3.5.0
It depends a bit on how fast 3.5 starts moving once people are actually using it. But hopefully every month or two we would bump to 3.5.(n+1)
.
Last updated: Apr 24 2020 at 19:02 UTC


Cookie found: uid = currently not set
Click to create an evercookie. Don't worry, the cookie is a
random number between 1 and 1000, not enough for me to track
you, just enough to test evercookies.
Now, try deleting this "uid" cookie anywhere possible, then
or


{{ key }}
{{ value[0] }}
{{ value[1] }}
Get Path
About
Artificial Intelligence Project Prorject Title : Google map simulation for the Bengaluru


JTAppleCalendarView
open class JTAppleCalendarView: UICollectionView
An instance of JTAppleCalendarView (or simply, a calendar view) is a means for displaying and interacting with a gridstyle layout of date-cells
-
Configures the size of your date cells
Declaration
Swift
@IBInspectable open var cellSize: CGFloat = 0
-
The scroll direction of the sections in JTAppleCalendar.
Declaration
Swift
open var scrollDirection: UICollectionViewScrollDirection!
-
Enables/Disables the stretching of date cells. When enabled cells will stretch to fit the width of a month in case of a <= 5 row month.
Declaration
Swift
open var allowsDateCellStretching = true
-
Alerts the calendar that range selection will be checked. If you are not using rangeSelection and you enable this, then whenever you click on a datecell, you may notice a very fast refreshing of the date-cells both left and right of the cell you just selected.
Declaration
Swift
open var isRangeSelectionUsed: Bool = false
-
The object that acts as the delegate of the calendar view.
Declaration
Swift
weak open var calendarDelegate: JTAppleCalendarViewDelegate?
-
The object that acts as the data source of the calendar view.
Declaration
Swift
weak open var calendarDataSource: JTAppleCalendarViewDataSource?
-
Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.
Declaration
Swift
public init()
-
Initializes and returns a newly allocated collection view object with the specified frame and layout.
Declaration
Swift
public override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout)
-
Initializes using decoder object
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Notifies the container that the size of its view is about to change.
Declaration
Swift
public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator, focusDateIndexPathAfterRotate: IndexPath? = nil)
-
Lays out subviews.
Declaration
Swift
override open func layoutSubviews()
-
Undocumented
Declaration
Swift
open class JTAppleCalendarView: UICollectionView
-
Undocumented
Declaration
Swift
open class JTAppleCalendarView: UICollectionView
-
Undocumented
Declaration
Swift
open class JTAppleCalendarView: UICollectionView
-
Configure the scrolling behavior
Declaration
Swift
open var scrollingMode: ScrollingMode = .stopAtEachCalendarFrameWidth
-
A semantic description of the view’s contents, used to determine whether the view should be flipped when switching between left-to-right and right-to-left layouts.
Declaration
Swift
open override var semanticContentAttribute: UISemanticContentAttribute
-
Returns the cellStatus of a date that is visible on the screen. If the row and column for the date cannot be found, then nil is returned
- Paramater row: Int row of the date to find
- Paramater column: Int column of the date to find
Declaration
Swift
public func cellStatusForDate(at row: Int, column: Int) -> CellState?
Return Value
- CellState: The state of the found cell
-
Returns the cell status for a given date
Declaration
Swift
public func cellStatus(for date: Date) -> CellState?
Return Value
- CellState: The state of the found cell
-
Returns the cell status for a given point
Declaration
Swift
public func cellStatus(at point: CGPoint) -> CellState?
Return Value
- CellState: The state of the found cell
-
Deselect all selected dates
Declaration
Swift
public func deselectAllDates(triggerSelectionDelegate: Bool = true)
-
Deselect dates
Declaration
Swift
public func deselect(dates: [Date], triggerSelectionDelegate: Bool = true)
-
Generates a range of dates from from a startDate to an endDate you provide Parameter startDate: Start date to generate dates from Parameter endDate: End date to generate dates to returns: - An array of the successfully generated dates
Declaration
Swift
public func generateDateRange(from startDate: Date, to endDate: Date) -> [Date]
-
Registers a class for use in creating supplementary views for the collection view. For now, the calendar only supports: ‘UICollectionElementKindSectionHeader’ for the forSupplementaryViewOfKind(parameter)
Declaration
Swift
open override func register(_ viewClass: AnyClass?, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String)
-
Registers a class for use in creating supplementary views for the collection view. For now, the calendar only supports: ‘UICollectionElementKindSectionHeader’ for the forSupplementaryViewOfKind(parameter)
Declaration
Swift
open override func register(_ nib: UINib?, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String)
-
Dequeues re-usable calendar cells
Declaration
Swift
public func dequeueReusableJTAppleSupplementaryView(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> JTAppleCollectionReusableView
-
Registers a nib for use in creating Decoration views for the collection view.
Declaration
Swift
public func registerDecorationView(nib: UINib?)
-
Registers a class for use in creating Decoration views for the collection view.
Declaration
Swift
public func register(viewClass className: AnyClass?, forDecorationViewOfKind kind: String)
-
Dequeues a reuable calendar cell
Declaration
Swift
public func dequeueReusableJTAppleCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> JTAppleCell
-
Declaration
Swift
public func reloadData(completionHandler: (() -> Void)? = nil)
Parameters
date
An anchordate that the calendar will scroll to after reload completes
animation
Scroll is animated if this is set to true
completionHandler
This closure will run after the reload is complete
-
Reload the date of specified date-cells on the calendar-view
Declaration
Swift
public func reloadDates(_ dates: [Date])
Parameters
dates
Date-cells with these specified dates will be reloaded
-
Select a date-cell range
Declaration
Swift
public func selectDates(from startDate: Date, to endDate: Date, triggerSelectionDelegate: Bool = true, keepSelectionIfMultiSelectionAllowed: Bool = false)
Parameters
startDate
Date to start the selection from
endDate
Date to end the selection from
triggerDidSelectDelegate
Triggers the delegate function only if the value is set to true. Sometimes it is necessary to setup some dates without triggereing the delegate e.g. For instance, when youre initally setting up data in your viewDidLoad
keepSelectionIfMultiSelectionAllowed
This is only applicable in allowedMultiSelection = true. This overrides the default toggle behavior of selection. If true, selected cells will remain selected.
-
Deselect all selected dates within a range
Declaration
Swift
public func deselectDates(from start: Date, to end: Date? = nil, triggerSelectionDelegate: Bool = true)
-
Select a date-cells
Declaration
Swift
public func selectDates(_ dates: [Date], triggerSelectionDelegate: Bool = true, keepSelectionIfMultiSelectionAllowed: Bool = false)
Parameters
date
The date-cell with this date will be selected
triggerDidSelectDelegate
Triggers the delegate function only if the value is set to true. Sometimes it is necessary to setup some dates without triggereing the delegate e.g. For instance, when youre initally setting up data in your viewDidLoad
-
Scrolls the calendar view to the next section view. It will execute a completion handler at the end of scroll animation if provided.
- Paramater direction: Indicates a direction to scroll
- Paramater animateScroll: Bool indicating if animation should be enabled
Declaration
Swift
public func scrollToSegment(_ destination: SegmentDestination, triggerScrollToDateDelegate: Bool = true, animateScroll: Bool = true, extraAddedOffset: CGFloat = 0, completionHandler: (() -> Void)? = nil)
Parameters
triggerScrollToDateDelegate
trigger delegate if set to true
completionHandler
A completion handler that will be executed at the end of the scroll animation
-
scrollToDate(_:triggerScrollToDateDelegate:animateScroll:preferredScrollPosition:extraAddedOffset:completionHandler:)
Scrolls the calendar view to the start of a section view containing a specified date.
- Paramater date: The calendar view will scroll to a date-cell containing this date if it exists
- Paramater animateScroll: Bool indicating if animation should be enabled
- Paramater preferredScrollPositionIndex: Integer indicating the end scroll position on the screen. This value indicates column number for Horizontal scrolling and row number for a vertical scrolling calendar
Declaration
Swift
public func scrollToDate(_ date: Date, triggerScrollToDateDelegate: Bool = true, animateScroll: Bool = true, preferredScrollPosition: UICollectionViewScrollPosition? = nil, extraAddedOffset: CGFloat = 0, completionHandler: (() -> Void)? = nil)
Parameters
triggerScrollToDateDelegate
Trigger delegate if set to true
completionHandler
A completion handler that will be executed at the end of the scroll animation
-
scrollToHeaderForDate(_:triggerScrollToDateDelegate:withAnimation:extraAddedOffset:completionHandler:)
Scrolls the calendar view to the start of a section view header. If the calendar has no headers registered, then this function does nothing
- Paramater date: The calendar view will scroll to the header of a this provided date
Declaration
Swift
public func scrollToHeaderForDate(_ date: Date, triggerScrollToDateDelegate: Bool = false, withAnimation animation: Bool = false, extraAddedOffset: CGFloat = 0, completionHandler: (() -> Void)? = nil)
-
Returns the visible dates of the calendar.
Declaration
Swift
public func visibleDates()-> DateSegmentInfo
Return Value
- DateSegmentInfo
-
Returns the visible dates of the calendar.
Declaration
Swift
public func visibleDates(_ completionHandler: @escaping (_ dateSegmentInfo: DateSegmentInfo) ->())
Return Value
- DateSegmentInfo
-
Inform the scrollViewDidEndDecelerating function that scrolling just occurred
Declaration
Swift
public func scrollViewDidScrollToTop(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
open class JTAppleCalendarView: UICollectionView
-
Tells the delegate when the user finishes scrolling the content.
Declaration
Swift
open func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>)
-
Tells the delegate when a scrolling animation in the scroll view concludes.
Declaration
Swift
public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
-
Tells the delegate that the scroll view has ended decelerating the scrolling movement.
Declaration
Swift
public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Retrieves the current section
Declaration
Swift
public func currentSection() -> Int?
-
Workaround for Xcode bug that prevents you from connecting the delegate in the storyboard. Remove this extra property once Xcode gets fixed.
Declaration
Swift
@IBOutlet public var ibCalendarDelegate: AnyObject?
-
Workaround for Xcode bug that prevents you from connecting the delegate in the storyboard. Remove this extra property once Xcode gets fixed.
Declaration
Swift
@IBOutlet public var ibCalendarDataSource: AnyObject?
-
Returns all selected dates
Declaration
Swift
open var selectedDates: [Date]
-
Asks your data source object to provide a supplementary view to display in the collection view.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView
-
Asks your data source object for the cell that corresponds to the specified item in the collection view.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Asks your data sourceobject for the number of sections in the collection view. The number of sections in collectionView.
Declaration
Swift
public func numberOfSections(in collectionView: UICollectionView) -> Int
-
Asks your data source object for the number of items in the specified section. The number of rows in section.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Asks the delegate if the specified item should be selected. true if the item should be selected or false if it should not.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool
-
Asks the delegate if the specified item should be deselected. true if the item should be deselected or false if it should not.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAt indexPath: IndexPath) -> Bool
-
Tells the delegate that the item at the specified index path was selected. The collection view calls this method when the user successfully selects an item in the collection view. It does not call this method when you programmatically set the selection.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Tells the delegate that the item at the specified path was deselected. The collection view calls this method when the user successfully deselects an item in the collection view. It does not call this method when you programmatically deselect items.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
open class JTAppleCalendarView: UICollectionView