Kevin van Zonneveld
on 2009-08-16 15:20:54
@ Lokde: Come again?
Lokde
on 2009-08-11 16:30:05
rediffmail javascript:;; error
Brett Zamir
on 2009-08-05 04:01:21
@pilus: I finally got around to updating the other related functions--to my knowledge it seems only the dec* functions needed changing, as these were the ones relying on toString() with a numeric argument (and which could have negative values (i.e., unlike bin2hex))...
Brett Zamir
on 2009-06-18 06:44:19
Ok, I made the credit fix, but I'll hold off on the other functions for now (unless you want to indicate which ones need it, etc.)
pilus
on 2009-06-11 13:19:08
actually i would like people at stackoverflow to be credited, but when i want to make a comment there, they required me to register ... and I don't want to register ....
just so people still credit the original link, here they are :
http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript
@Brett : thx for the credit ... :D, but the other numeric conversion function should do the same, I think, I've tried the decbin in php, it returns non negative number, but I have not tried the one in php.js ... :D
Brett Zamir
on 2009-06-10 23:09:43
Great, thanks, Pilus! I've fixed it in SVN and credited you for it. The only difference was I kept the 2nd argument in parseInt even though its redundant, since jslint complains about it...
pilus
on 2009-06-10 21:07:59
hohoho .... using information from this link : http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript, i managed to modify the function to satisfy my needs, I'm currently porting a AES-PHP algorithm to JS, and I've been pondering my code, because there's some infinite loop there somewhere, it's because the dechex-js returned a negative hex for a negative input, whereas PHP version does not.
So, here you, hopefully it could be usefull for anyone else ... :P
function dechex(number) {
if (number < 0) {
return (0xFFFFFFFF+number+1).toString(16);
}
return parseInt(number).toString(16);
}
pilus
on 2009-06-10 20:59:18
what about this one here :
dechex(-1415723993)
it returns "-54623bd9", but when tried in php and in MSWIN calc, returns AB9DC427 and FFFFFFFFAB9DC427 consecutively. anybody know what's wrong ? cause i don't ... >.<
Kevin van Zonneveld
on 2008-10-06 11:56:06
@ Philippe Baumann & Onno Marsman: Excellent work gentlemen. As far as the loosely typed discussion, I would have to side with Onno there.
PS, we almost have the entire unported list of the math section covered!
Onno Marsman
on 2008-10-05 10:05:56
It is well known that PHP is a weakly typed language. Of course this is not mentioned at every functions page in the documentation.
And because javascript is also weakly typed I think it would be obvious to make this library also weakly typed. And with that I mean: as close to the behavior of PHP as possible, which, of course, is the main goal of this library.
Philippe Baumann
on 2008-10-04 17:06:23
And while we're already at it:
function base_convert(number, frombase, tobase)
{
return parseInt(number, frombase).toString(tobase);
}
Philippe Baumann
on 2008-10-04 16:48:04
Nevermind. It seems you were right and the PHP functions also accept string-type arguments. However the manual doesn't state it anywhere, so I assume it's not specially encouraged.
Also, I mistyped 'specification' in my previous comment (shame on me).
Philippe Baumann
on 2008-10-04 16:39:32
Well, the specificain is
string dechex ( int number)
so it really expects an integer and only returns a string.
Onno Marsman
on 2008-10-04 11:59:16
dechex('16') does not work correctly. A fix:
function dechex(number) {
return parseInt(number).toString(16);
}
Philippe Baumann
on 2008-10-03 23:15:32
This also applies the other way round:
function octdec(oct_string)
{
oct_string = (oct_string+'').replace(/[^0-7]/gi, '');
return parseInt(oct_string, 8);
}
function bindec(binary_string)
{
binary_string = (binary_string+'').replace(/[^01]/gi, '');
return parseInt(binary_string, 2);
}
Note that the PHP manual pages for octdec() and bindec() do not mention the filtering, however it does actually take place:
<?php
echo octdec('a180'); // 'a180' -> '10' -> 8
echo "<br />";
echo bindec('c120'); // 'c120' -> '10' -> 2
?>
Kevin van Zonneveld
on 2008-10-03 15:20:20
@ Enrique GonzÃ¡lez: Yes it could! Added!
Enrique González
on 2008-10-03 14:10:15
The same code could be used for decoct and decbin functions:
function decoct(number){
return number.toString(8);
}
function decbin(number){
return number.toString(2);
}


Toggle navigation
PigDice
Home
About
Player One
Name:
PigDice Game
Sign Up To Continue
Game Board
Player One
Player Two
Player Two
Name:


We travel the world to find traditional, contemporary and modern furniture to bring a sophisticated, eclectic look to your living room, bedroom, dining room and more. Outfit your home with new and unique furniture, at an affordable price.
Video1
<Video2
Video3
Video4


Our Services
- MCC, PLC, VFD & INSTRUMENTATION PANEL INSTALLATION & TESTING
- ELECTRICAL AUTOMATION
- COMMISSIONING ASSISTANCE
- PLC PROGRAMMING
- SCADA / HMI SCREEN DEVELOPMENTS
- CABLE LAYING & TERMINATION
- CABLE TRAY INSTALLATION
- SPM CABLING
- INSTRUMENT INSTALLATION
- PU / SS TUBING
- SIGNAL & INSTRUMENT CABLING CALLIBRATION
- THIRD PARTY INSPECTION FOR ELECTRICAL, AUTOMATION, ELECTRONIC & INSTRUMENTATION PRODUCTS.
- SUPPLY OF ELECTRICAL & AUTOMATION MATERIAL LIKE TRANSMITTERS, CONTROL VALVE, SENSORS, ACTUATOR, ENCODER, SERVO MOTORS
- ELECTRONIC PRODUCTS
- INSTRUMENTATION PRODUCTS
- IOT PROJECT
- FIBRE OPTIC WORK
- SOLAR PANELS
- REPARING OF SPM PROCESS PANELS
- ENERGY AUDIT
- ENGINNERING ASSISTANCE FOR ELECTRICAL, AUTOMATION & INSTRUMENTATION WORK


Higher-order abstract syntax
Posted: 2016-12-26 , Modified: 2016-12-26
Tags: haskell, functional programming
Posted: 2016-12-26 , Modified: 2016-12-26
Tags: haskell, functional programming
Higher-order abstract syntax (abbreviated HOAS) is a technique for the representation of abstract syntax trees for languages with variable binders. wikipedia
Compared to FOAS (which are basically just normal abstract syntax trees), HOAS exposes additional structure: the relationship between variables and their binding sites.
(What is a binding site?)
In HOAS, let
is a function exp -> (exp -> exp) -> exp
.
let x = 1 + 2 in x + x
becomes
let (1 + 2) (\x -> x + x)
To reason about these expressions as data, limit exp -> exp
to “nice” functions. PHOAS is a solution.
Encoding a language that binds variables in higher order abstract syntax generally involves constructing an abstract data type that contains functions.  “To use the Meijer/Hutton catamorphism to write a pretty printer, you have to write a parser as well; to use it to eval, you must also be able to reify values back into programs.”
 Put the Place term into an explicit recursion ADT (Roll is just Fix):
data Rec f a = Roll (f (Rec f a)) | Place a
Now we can define a catamorphism:
cataFS :: ExpFunctor f => (f a -> a) -> Rec f a -> a
cataFS f (Roll x) = f (xmap (cataFS f) Place x)
cataFS f (Place x) = x
From Rotten Bananas:
fmap can really only be defined for ‘covariant endofunctors on the category of types’ (?)
Most covariant functors used in Haskell are among the so-called ‘polynomial’ functors, meaning that they can be built up out of sums, products and constants.
That said, polynomial functors are not the only covariant functors, because you can also have some functions in the type, as long as the type over which you are parameterized only occurs in ‘positive’ position. The informal way to think about it is that every time you have a parameter on the left of an (->) in the type, the occurrence switches signs, starting positive, so for some Functors, you can have functions, as long as the parameter occurs only in positive positions.


Building a Better Beehive
by Matt
While it’s been ridiculously cold here over the past couple weeks (-5 degrees Fahrenheit was the low a few nights ago), I’ve been keeping myself busy building my first beehive, below.
Tasha and I have been interested in bees and beekeeping since learning about the vital role bees play in our food system, and Colony Collapse Disorder (CCD), which has been decimating bee populations worldwide for the last decade or so. We saw a few interesting documentaries about the problem, but I found that Rowan Jacobsen’s “Fruitless Fall” really whet my interest in bees and beekeeping the most. The title, “Fruitless Fall” is an intentional invocation of Rachel Carson’s “Silent Spring,” which effectively sounded the alarm about the damage DDT was doing to the ecosystem in the 1960s. Jacobsen contends that the current crisis involving the mysterious decline of the honeybee is no less dire or urgent. Since almost all fruits, vegetables, nuts, and grains require pollination in order to become food, the role of pollinators like honeybees is crucial.
While we love our honey here (Tasha goes through prodigious amounts sweetening her tea), we recognize that the most important service the bees provide for us is to pollinate our vegetables and fruit trees. We’ve seen the difference having honeybees around makes to our food production, and along with bumble bees and mason bees, we want to encourage them as much as possible. While we may create the richest soil, get the moisture, pH, and mineral levels just right, and keep the pests away, without pollinators doing their work, our orchard and garden will not prosper. So, today I finished the first of three or four horizontal top bar hives that we’ll need by mid-March to accomodate the four packages of bees Tasha ordered.
What’s a top bar hive, and why would anyone want to build one, you ask? Well, according to P.J. Chandler, author of “The Barefoot Beekeeper,” top bar hives better match the natural conditions of a bee nest in the wild and allow for a less stressful environment for the bees in general, compared with conventional Langstroth hives, below,
where bees must build comb according to the rigid rectangular pattern provided by the frames. Top bar hives, in contrast, provide mulitple 1 1/2 inch wide wooden laths called top bars, on which bees will build comb as they do in the wild: in a heart shaped formation that hangs down into the hive below, suspended from a top bar. Chandler advocates for a more hands-off approach to beekeeping in general, and opposes the substitution of the natural rhythms of the bees with undue disruptions by the beekeeper, etc.
We’re now going into our third season of keeping bees, and we hope to have more success than in the previous two years. Our first bee colonies didn’t survive last year’s winter, and last spring we didn’t get new bees until several months too late for them to really thrive, due to freakish weather that delayed their delivery. So far this colony seems to be intact, but it’s hard to know at this point in the year.
Tasha has read the books, taken a course, and is the one who goes into the hives, but this year I’ve decided I want to be more involved with the bees and learn more about them myself. The bees she ordered are coming from Georgia in March, but we’re getting them through an apiary about half an hour away here in North Carolina. They breed a “North Carolina” bee, a Carneola, that does well in this climate and biome; unfortunately, they were sold out of these by the time we got our order in. The ones from Georgia are Italian bees, like those in our existing hive, and are very docile.
In an effort to make our new bees as comfortable as possible, we’re going to give top bar hives a try. We do have another Langstroth hive, and we may use it if I don’t get all the hives built in time. It’s taken me about a week of working here and there, with a couple full days of work this weekend, to build my first hive out of about $150 worth of materials.
Top bar hives, in addition to constituting a more natural environment for the bees, are also somewhat easier to build than Langstroth hives, which require complicated joinery and very precisely milled frames for comb. Pre-made bee hives, whether Langstroth or top bar, can be quite expensive. Our Langstroth hives were over $200 each, and a pre-built top bar we saw online goes for $350.
I don’t consider myself much of a carpenter, at least compared with my brothers, both of whom are very good at woodworking and carpentrty, but I am satisfied with the results from my first attempt. I made a few mistakes which I”ll avoid next time, but I actually really enjoyed building this hive. I used Chandler’s plan from a PDF that he published freely online. He has a cut list for materials and gives somewhat detailed instructions on how to construct the hive.
For most of the hive body, I used 1-inch thick Western Red Cedar, which weathers well. I was able to find this at the local Lowe’s, but not in the 12 and 15 inch panels I needed for the body, so I joined several together with glue and dowel pins. I’ll avoid the dowel pins next time, since the glue worked fine on its own, and the dowel pins just made it harder to keep the wood panels aligned along the same plane.
The only cruucal dimension to this hive is the top bars, which must be 1 1/2 inches wide. I ripped them on a table saw from a sheet of pine. I added comb guides to the center of each using 1/2 inch half-round.
I cut 25 of those, and attached follower boards to three. The follower boards are trapezoidal sheets of 7/8 inch plywood with a 22 millimeter hole in the bottom that are used to separate and divide colonies, or to enclose a single colony while it establishes itself. They hang from the top bars and fit snugly within the inside of the hive.
For the legs, I repurposed a few pressure treated 2x4s we had from other projects and attached them to the body of the hive with carriage bolts.
I then built a roof out of high-quality plywood that sits on top of the hive body and (hopefully) keeps out rain. A lot of the time I spent on this involved waiting for glued sections to dry or sanding down sloppy glue joints. Now that I’ve built one, I think I could easily build another few in a day or two. I have a decent workshop at my disposal, including a miter saw and a table saw, so this made things somewhat easier, than, say, planing the wood and cutting it by hand. Working with Red Cedar has been educational too. The wood has an intoxicating scent, and it is soft enough that it cuts and sands easily, but has a beautiful, deeply grained finish.
I’m definitely excited about getting more bees and seeing how they like their home. It will be interesting to compare colonies residing in the top bars versus the Langstroth hives over the next few years (assuming they survive). Top bar beekeeping is practiced by relatively few beekeepers and is a relatively recent phenomenon. But in light of the current crisis with regard to collapsing honeybee populations, any experimentation or innovation that leads to healthy, thriving colonies of bees has to be a good thing.
Subscribe via RSS


GEORGIA A film review by Christopher Null Copyright 1996 Christopher Null
It may be a movie about family rivalry in the music world, but this ain't The Judds. With the amount of dysfunctionality in GEORGIA, The Jackson Five is a little more like it.
GEORGIA (Mare Winningham) is the older of two singing sisters, one of those talented ultra-folky types with a huge following and who sings songs with choruses like "No more haaaaaard tiiiiiiimes." Sadie (Jennifer Jason Leigh) is the pariah of the family (and is much more interesting)--a strung-out heroin addict with a voice more reminiscent of Johnny Rotten than Joan Baez and who has a penchant for hacking up cover songs. As Sadie puts it, "I sing." Well, sort of.
Sadie can't keep a steady gig (not even the local bowling alley), so she grudgingly turns to sister Georgia for help. As the perennial black sheep of the family, Sadie makes a mess of everything--from crashing her sister's performances to impulsively marrying her sole groupie (Max Perlich)--and finally ends up in a much-needed detox center.
While GEORGIA starts strong, hinting at what could have been a cathartic showdown between the two sisters, the film whimpers off into lifeless boredom after about half an hour. The melodramatics here are shameful, not because they're over-emotional, but because they're just dull. In fact, during the big sob story confessionals and soliloquies the sisters repeatedly engage in, I just quit listening.
Pieces of the movie are fun and/or funny, and, while I'm probably disturbed in thinking this, when Sadie spoils Georgia's shows, it's a lot better than watching another boring old folk singer croon. Sadie's big finish is an 8 1/2-minute (note to director: *bad* idea) rendition of Van Morrison's "Take Me Back" in front of 2000 listeners. This is supposed to show us the bared and tortured soul of Sadie, but instead it reveals merely that those movie theater seats are damn uncomfortable.
So unless you're just dying to hear Velvet Underground tunes played (badly) at bar mitzvahs, I'd recommend keeping this GEORGIA off your mind.
RATING: **
\-------------------------------\ |* Unquestionably awful | |** Sub-par on many levels | |*** Average, hits and misses | |**** Good, memorable film | |***** Perfection | \-------------------------------\
-Christopher Null /<EMAIL_ADDRESS>-Movie Emporium (reviews) / http://cca2.carrington.com/emporium/ -Screenwriter / Novelist / Publisher -E-mail requests to join the movie review mailing list
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Henry
Thomas
xforms-submit-error
11.10.b submission response with the target data node receiving text
You must see the value "Thomas" for the Car Owner output control. When you activate the
Replace Instance submit control the value must change to "Janel".
Car Owner :
Replace Instance


Rating component that will take care of visualising a star rating bar.
Rate: {{basicRate}}
Rate: {{rate}}; Readonly is: {{isReadonly}}; Hovering over: {{overStar || "none"}}
Rating: {{onEnterRate}}; Readonly is: {{isReadonlyEnter}};


Erik Feller
The traits that make Haskell fun to program in also allow us to make some security assumptions about our code
Restricting IO and side effects can make our code inherently safer
constraining where and when IO happens we can have greater control over how our program affects the underlying system
more rigid type safety can prevent existing code from running in strange and unintended ways
Unfortunately code often needs IO to be useful.
Sometimes we want to write Haskell programs that are useful
IO isn't even inherently dangerous to use in our programs
There are however many ways to use IO unsafely, unsafePerformIO being the most obvious example
Suppose that you are using a library in your code that has only pure functions.
It would be reasonable to assume that there is no security concern due to IO however;
functions like unsafePerformIO could subvert that assumption
Look at this example from the popular Data.ByteString library
accursedUnutterablePerformIO :: IO a -> a
accursedUnutterablePerformIO (IO m) = case m realWorld# of (# _, r #) -> r
inlinePerformIO :: IO a -> a
inlinePerformIO = accursedUnutterablePerformIO
Which is accompanied by a note saying
This "function" has a superficial similarity to 'unsafePerformIO' but it is in fact a malevolent agent of chaos. It unpicks the seams of reality (and the 'IO' monad) so that the normal rules no longer apply.
This is kind of a cheap shot against the ByteString library but it illustrates the point well
Safe accomplishes this goal by restricting some features of the language in order to maintain some safety features of haskell
The combination of these four items reinforces trust in the types and module import lists
Safe can be used like any language extension
Just add {-# LANGUAGE Safe #-} to your module
{-# LANGUAGE Safe #-}
module Example where
Just kidding it isn't really that easy
Safe haskell actually includes 3 different language extensions
When managing which modules marked trustworthy can actually be trusted, a problem arises managing the large number of imports that each module usually contains
This is remedied in Safe Haskell by introducing package trust, denoted by the -fpackage-trust compile flag
Each package recognized by GHC can be assigned a trusted or untrusted value which allows large swaths of code to be trusted all at once
An example of this is the popular Data.Bytestring library which is in the bytestring package, marked trustworthy by hackage
{-# LANGUAGE Safe #-}
module Example where
import GoodModule
import ObviouslySafeModule
{-# LANGUAGE Trustworthy #-}
module GoodModule where
import Data.ByteString
import safe DifferentSafeModule
This example would only compile if we also made sure to tell GHC at compile time that we trust bytestring using -trust bytestring on the command line.
If we didn't it would refuse to compile because even though we trust GoodModule we do not trust the bystring package and therefore distrust Data.ByteString as well
This gives us the powerful ability to audit packages that we use for security issues by default and anything that is unapproved can be rejected by the compiler
It also prevents the sneaky inclusion of packages that we don't trust inside packages we do trust since trust is checked recursively all the way down a module.
GeneralisedNewtypeDeriving
module MinList (
MinList, newMinList, insertMinList
) where
data MinList a = MinList a [a] deriving Show
newMinList n = MinList n []
insertMinList s@(MinList m xs) n
| n > m = MinList m (n:xs)
| otherwise = s
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Main where
import MinList
class IntIso t where
intIso :: c t → c Int
instance IntIso Int where
intIso = id
newtype I = I Int deriving (Eq, IntIso)
-- we reverse the usual comparison order
instance Ord I where
compare (I a) (I b) = compare b a
nums = [1,4,0,1,-5,2,3]
goodList :: MinList Int
goodList = foldl insertMinList
(newMinList $ head nums)
(tail nums)
badList :: MinList Int
badList = intIso $ foldl (λx y → insertMinList x $ I y)
(newMinList $ I $ head nums)
(tail nums)
OverlappingInstances
{-# LANGUAGE Safe #-}
module Class (TC(..)) where
class TC a where { op :: a -> String }
{-# LANGUAGE Safe #-}
module Dangerous (TC(..)) where
import Class
instance
{-# OVERLAPS #-}
TC [Int] where { op _ = "[Int]" }
{-# LANGUAGE Safe #-}
module TCB_Runner where
import Class
import Dangerous
instance
TC [a] where { op _ = "[a]" }
f :: String
f = op ([1,2,3,4] :: [Int])
Do you think that Safe Haskell is practical in real world applications?
https://simonmar.github.io/bib/papers/safe-haskell.pdf
http://downloads.haskell.org/~ghc/latest/docs/html/users_guide/safe_haskell.html


Access Bank, Flutterwave back TEXA 2020 forum - The Nation Newspaper
Collins Nweze
Access Bank Plc, Flutterwave, an online payment technology firm, and other top companies have agreed to sponsor the 2020 The Event Xperience Africa (TEXA) programme holding in Lagos.
The event, planned for from January 28 to 30 , 2020 is designed to further improve networking opportunities for event professionals by connecting seasoned and new professionals across Africa.
Convened by the founder of Zapphaire Events, Funke Bucknor-Obru, the conference will engage participants on trade secrets, curated sessions, emerging innovations and trends in the industry.
Speaking at the launch event, Bucknor-Obru said the event remained an opportunity for participants to learn issues around networking, finance, taxation, skills acquisition and how to grow and sustain businesses.
She said there would be business connection session where participants will have the opportunity to sell their products to other participants to gain maximum impact of the programme.
Continuing Bucknor-Obru said: “After reflecting on the success of the conference in 2019 with over 600 attendees from different countries in Africa, we are delighted to return for the second edition. The event industry is an integral part of a growing economy and TEXA intends to build a legacy for millions of event entrepreneurs across the continent, empowering them, creating an enabling environment and also building an ecosystem for sustainable businesses.
“We are extremely grateful to all our partners and sponsors and all participants that have come from across Africa to be a part of this great vision. Indeed, TEXA is not just about Nigeria but the whole of Africa.”
TEXA is targeted at event designers, concert and show producers, bakers/caterers, audio visual experts (lighting, cinematographers, photographers), entertainment specialists (musicians/bands, dancers), event planners, wardrobe and beauty experts, and all service providers in the industry.


Shorten your links or make a markup document! Fill in the ID and the markup or the url and enter a password to change it in the future!


--- layout: post authors: ["Karthik Ram"] title: "rOpenSci Announces $2.9M Award from the Helmsley Charitable Trust" date: 2015-11-19 time: "08:00:00" tags: ["Community", "rOpenSci"] ropensci: https://ropensci.org ---
rOpenSci, whose mission is to develop and maintain sustainable software tools that allow researchers to access, visualize, document, and publish open data on the Web, is pleased to announce that it has been awarded a grant of nearly $2.9 million over three years from The Leona M. and Harry B. Helmsley Charitable Trust. The grant, which was awarded through the Trust's Biomedical Research Infrastructure Program, will be used to expand rOpenSci's mission of developing tools and community around open data and reproducible research practices.
rOpenSci is a project at the University of California, Berkeley that began a little over three years ago as a small collaboration among a few researchers who intended to package data-retrieval scripts. The founders wanted the data underlying their analysis to be open and easily accessible to everyone. The project has since grown into a widely recognized worldwide collaborative effort that plays an important role in fostering open and transparent scientific practices across the research community. rOpenSci supports an ecosystem of more than 50 software packages, engages scores of collaborators from nearly two dozen countries, and has conducted dozens of workshops worldwide.
The rOpenSci team has improved tools for researchers who consume open data and work closely with scientists to help them develop research software. In addition, the project has fostered a thriving community of researchers who develop software through open peer review and conferences.
Funding from the Helmsley Charitable Trust will allow the rOpenSci team to develop new tools that support various pieces of the reproducible research workflow as the team continues to maintain the existing rOpenSci suite of software. The rOpenSci team is also planning a partnership with Data Carpentry that will allow DC to run rOpenSci-themed workshops (lessons taught with an emphasis on rOpenSci tools for data sharing, acquisition, retrieval, and visualization). Over the course of this partnership, the team hopes to develop a comprehensive corpus of openly licensed teaching material to be used at two-day workshops, as part of classroom curriculum, or for self-guided learning. These new training activities will provide the project with a comprehensive set of community resources, including lessons and tutorials.
To scale up efforts in all of these areas, rOpenSci will be expanding its team over the coming months. New job postings, including those for a community manager, software engineer, and postdoctoral fellow, among various other short-term positions, will be posted on rOpenSci's website. Over the coming months, rOpenSci will also announce details of a new fellowship program.
For more information, and for media contacts, please see the full announcement on the rOpenSci web site.


{{template "stinger" .View}}
Our mission is to provide medical care, via a mobile health clinic, to people whom society has neglected despite their great need, with a distinct focus on those passing through various stages of homelessness. Our hope is that through exposure, education and empathy - this beautiful mission will enable our recipients to utilize the tools they receive in order to respect and maintain their health and stay well. Finally, our wish is for this project to promote holistic healing, to provide a mobile clinic that the uninsured and underserved can visit to find peace through the power of medical sciences, dignity and compassion.


SWIM had been planning on taking a pass at 5-Meo-AMT for a while. He had dosed three weeks before (3mg) with no remarkable effects but slight nausea and diarrhea. SWIM had the opportunity to obtain 500mg (+/- 0.05mg due to scale inaccuracy) of 5-Meo-AMT from Harvey the Rabbit, and so he did. SWIM dissolved the powder into 500 ml of drinking water, making an aqueous solution that measured out to be 1mg per 1ml. I watched as he drank 4ml of the solution after finishing his work for the day at approximately 4pm (T), following a refreshing session of Tai Chi.
T+ :30 - Nausea became noticeable. The want to purge was strong but nothing happened. This feeling prevailed throughout the trip; however, SWIM never did vomit.
T+ 1:30 - Walking in the woods. Not much has happened up to this point. Visual field became altered, but hardly noticeable. SWIM talked to me quite easily and wore a big smile as he did so. He said he could feel a difference, but it was very subtle.
T+ 2:30 - I walked with my friend to another friend's house where we all had a few beers and watched the sun set. The nausea became more pronounced with the coming of the beer, but SWIM still didn't puke. He did need to visit the john once, and from what he said it was not too pleasant.
T+ 6:00 - Mild tracers became apparent. Light played tricks in the twilight, but did not come close to SWIM's expectations of 'LSD-like visuals'.
T+ 9:00 - SWIM seemed to be quite at ease throughout his journey. He joked and laughed jovially. One could not tell that he was tripping besides the fact that his pupils were the size of tea saucers.
T+ 12:00 - SWIM returned home and recorded what had happened to him throughout the trip. He could not sleep at all. He smoked the rest of his cannabis in his bong as he reflected on the experience. The pot worked on him hard and made him a very stoned man. He noted that the air had an almost electric quality to it, like translucent, microscopic christmas lights floating downward. He eventually drifted off to sleep and awoke the next morning feeling energized. The gastric complications that accompany this substance carried over into the next day.
Overall, He said that it was a good experience and good dose for hanging out with friends and taking it easy...for a long long time. He feels fine today, the day after the dose, but will abstain from trying it again to protect himself from any negative effects that constant use is sure to incur. He will wait about a month before trying a slightly higher dose, much earlier in the day.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Click invert_colors to switch between light and dark themes
Click delete with an empty editor to clear history
Ctrl+S / Cmd+S to save
Drag and drop a file into the editor to load it


Music of the Heart Directed by Wes Craven (Miramax)
If you didn't know going in that "Music of the Heart" is based on a true story, you might easily mistake it for Hollywood hokum. Simply put, many of the events in the life of violinist/educator Roberta Guaspari seem too good to be true.
After being left high and dry with two young sons by her naval officer husband, Guaspari took a friend's advice and seized the opportunity to work as a substitute music teacher at an alternative elementary school in East Harlem. Despite skepticism from her fellow faculty members -- "their attention span doesn't go beyond 'do re mi'," cracks one veteran of the students -- Guaspari went forward with her plans to use the 50 violins she'd purchased during a stay in Greece as tools to start a violin class. Soon, she had to hold a lottery to limit her class sizes.
Acclaim and support also poured in from the brightest lights in the classical music world, and when Guaspari's program was threatened because of budget cuts, such stars as Itzhak Perlman, Joshua Bell and Isaac Stern offered their support to save it.
It all sounds enormously uplifting and hugely contrived. Sometimes "Music" plays that way, too, especially in the early stretches, which include a fairly tepid romance between Guaspari and a crusading journalist (Adian Quinn) and some early brushes with a no-nonsense principal (Angela Bassett) that seem a bit too calculated. Director Wes Craven, taking a break from the horror films he's best known for (the original "Nightmare on Elm Street" and the first "Scream" are two of his crowning achievements), initially has a tough time getting the rhythms of his scenes down and several of them run on too long or end abruptly.
But "Music" does finally overcome its haphazard first reels, due in large part to a typically vibrant performance by Meryl Streep as Guaspari. It's no secret the movie was originally intended as a vehicle for Madonna -- in fact, the real-life Guaspari looks more like Madonna than Streep. Without denigrating Madonna's abilities, it's difficult to believe she would have improved on Streep's work here. Streep makes Guaspari's metamorphosis from self-pitying victim to impassioned activist seem effortless and, while a pro might spot flaws in her musicianship, her playing certainly looks and sounds genuine.
On top of that, most of Streep's scenes are played opposite children, something any actor will tell you is a challenge at the best of times. Not only does she refuse to condescend to these little co-stars, she dares them to rise to her level, and many of them do just that. This is not a movie that pauses to dwell on the dimpled cheeks of a little cutie; the kids in this cast actually have to work, probably in much the same way Guaspari's students did.
Though it doesn't always manage to make Guaspari's trials credible, the script does make some valid points about how people can impose limitations on themselves and their children.
The film actually improves on Guaspari's autobiography of the same title by making at least some effort to individualize some of her pupils; the book tends to address them as statistics. But ultimately both the book and the movie have the same message, that sometimes what we think is our biggest disaster can actually be the springboard for our greatest triumph. It's an age-old sentiment, but Guaspari and Streep sell it with plenty of conviction. James Sanford
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


{% extends "layout.html" %} {% block content %}
{% if message %}Trips-viz is a transcriptome browser designed to visualize Ribosome profiling and RNA-seq data at the level of a single gene/transcript isoform as opposed to at the genome level. Trips-viz also provides you the ability to vizualize data from a gene under different conditions, get meta-information at an individual dataset level such as read length distribution or triplet periodicity, and provides the ability to find differentially expressed or translated genes. For more information on any of these plots and general information on Trips-viz you can view the help pages, or see this brief walkthrough of some of the main features. To see the latest updates on Trips-Viz or to get information on the number of organisms and studies currently provided in Trips-Viz, you can view the statistics and updates page. To get started click on an organism below.Trips-Viz is free and open to all users with no login requirement and is licensed under the MIT License.


155 Then we use grade down to get the reordering indices: At this point we could use the index vector to sort the salaries: But what we actually want is a list of names, sorted by salary: By taking the index vector from grade down of column 3 and telling item to apply it to column 1, we get what we set out to ﬁnd. As usual the code is more elegant in APL: database[⍒database[;3];1]. In case you’ve forgotten, or would select the third row of the database; we need the list 3 in the second input slot of the outer list to select by columns rather than by rows. Select (if take) or select all but (if drop) the ﬁrst (if n>0) or last (if n<0) | n | items from a vector, or rows from a matrix. Alternatively, if the left input is a two-item vector, select rows with the ﬁrst item and columns with the second.


Classes
The following classes are available globally.
-
A geographical address describing country, region, county and other information. This class is deprecated and will be removed in future SDK versions. Use GeocodingAddress instead. @deprecated
See moreDeclaration
Objective-C
@interface NTAddress : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class describing animation effect.
See moreDeclaration
Objective-C
@interface NTAnimationStyle : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A builder for AnimationStyle instances.
See moreDeclaration
Objective-C
@interface NTAnimationStyleBuilder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An abstract asset package class. Contains methods to list and load assets.
See moreDeclaration
Objective-C
@interface NTAssetPackage : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source where each map tile is a seperate image file bundled with the application. The requests are generated using a template scheme, where tags in the basePath string are replaced with actual values. The following tags are supported: zoom, x, y, xflipped, yflipped, quadkey.
For example, if basePath = “t{zoom}{x}{y}.png” and the requested tile has zoom == 2, x == 1 and y == 3, then the tile will be loaded from the following path: “t2_1_2.png”.
See moreDeclaration
Objective-C
@interface NTAssetTileDataSource : NTTileDataSource
-
A helper class for managing application-bundled assets.
See moreDeclaration
Objective-C
@interface NTAssetUtils : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A button that can be used to add interactivity to balloon popups.
See moreDeclaration
Objective-C
@interface NTBalloonPopupButton : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information about a click performed on a BalloonPopupButton element.
See moreDeclaration
Objective-C
@interface NTBalloonPopupButtonClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A builder class for BalloonPopupButtonStyle.
See moreDeclaration
Objective-C
@interface NTBalloonPopupButtonStyleBuilder : NTStyleBuilder
-
A listener class for balloon popups. The listener receives events about clicked buttons, etc.
See moreDeclaration
Objective-C
@interface NTBalloonPopupEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Margins info for balloon popup.
See moreDeclaration
Objective-C
@interface NTBalloonPopupMargins : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A style for balloon popups. Contains attributes for configuring how the balloon popup is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTBalloonPopupStyle : NTPopupStyle
-
A builder class for BalloonPopupStyle.
See moreDeclaration
Objective-C
@interface NTBalloonPopupStyleBuilder : NTPopupStyleBuilder
-
A base class for billboard elements that can be displayed on the map. Billboards can either be given a concrete position on the map or be attached to other billboards.
See moreDeclaration
Objective-C
@interface NTBillboard : NTVectorElement
-
A base class for BillboardStyleBuilder subclasses.
See moreDeclaration
Objective-C
@interface NTBillboardStyleBuilder : NTStyleBuilder
-
A wrapper class for binary data (Blob).
See moreDeclaration
Objective-C
@interface NTBinaryData : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class that provides the functionality to store, compress, uncompress and resize basic image formats. Currently supported formats are png and jpeg. Upon loading compressed images will be converted to alpha premultiplied uncompressed bitmaps of various image formats.
See moreDeclaration
Objective-C
@interface NTBitmap : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Tile data source that uses given bitmap with two, three or four control points define a raster overlay. Note: if two points are given, conformal transformation is calculated. If three points are given, affine transformation is calculated. In case of four points, perspective transformation is used.
See moreDeclaration
Objective-C
@interface NTBitmapOverlayRasterTileDataSource : NTTileDataSource
-
A helper class for loading bitmaps and converting Bitmaps to UIImages an vice versa.
See moreDeclaration
Objective-C
@interface NTBitmapUtils : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that loads tiles from another tile data source and caches them.
See moreDeclaration
Objective-C
@interface NTCacheTileDataSource : NTTileDataSource
-
CartoCSS style definition for vector tiles. Style sets contain optional asset package, fonts and other resources can be loaded from the asset package.
See moreDeclaration
Objective-C
@interface NTCartoCSSStyleSet : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTStringCartoCSSStyleSetMap : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(id)initWithArg0: (NTStringCartoCSSStyleSetMap*)arg0; -(unsigned int)size; -(BOOL)empty; -(void)clear; -(NTCartoCSSStyleSet*)get: (NSString*)key; -(void)set: (NSString*)key x: (NTCartoCSSStyleSet*)x; -(void)del: (NSString*)key; -(BOOL)has_key: (NSString*)key; -(NSString*)get_key: (unsigned int)idx; -(void)dealloc; @end
-
A high-level interface for Carto Maps Service. The service can be used to automatically configure layers using anonymous map configurations or by using parametrized named maps.
See moreDeclaration
Objective-C
@interface NTCartoMapsService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Specialized offline vector tile layer that uses CartoPackageManager for offline maps service. This layer is intended as a ‘shortcut’ to make using Carto offline service and vector tiles as simple as possible.
See moreDeclaration
Objective-C
@interface NTCartoOfflineVectorTileLayer : NTCartoVectorTileLayer
-
Specialized online raster tile layer that connects to Carto online tile server. This layer is intended as a ‘shortcut’ to make using Carto online service and raster tiles as simple as possible.
See moreDeclaration
Objective-C
@interface NTCartoOnlineRasterTileLayer : NTRasterTileLayer
-
An online routing service that connects to Carto-provided routing server. Routing and route matching perform network requests and must be executed in non-UI background thread. Note: this service is not actively maintained and will be removed in future versions. @deprecated
See moreDeclaration
Objective-C
@interface NTCartoOnlineRoutingService : NTRoutingService
-
An online tile data source that connects to Carto tile server. This data source can be used with both vector and raster tiles, depending on the specified source id.
See moreDeclaration
Objective-C
@interface NTCartoOnlineTileDataSource : NTTileDataSource
-
Specialized online vector tile layer that connects to Carto online tile server. This layer is intended as a ‘shortcut’ to make using Carto online service and vector tiles as simple as possible.
See moreDeclaration
Objective-C
@interface NTCartoOnlineVectorTileLayer : NTCartoVectorTileLayer
-
Offline map package manager that uses Carto online service for map package downloads. After packages are downloaded, they can be used offline without any connection to the server.
See moreDeclaration
Objective-C
@interface NTCartoPackageManager : NTPackageManager
-
A high-level interface for Carto SQL Service. The service can be used to query data from Carto databases using explicit SQL queries.
See moreDeclaration
Objective-C
@interface NTCartoSQLService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Decoder for Carto vector tiles in MapBox format.
See moreDeclaration
Objective-C
@interface NTCartoVectorTileDecoder : NTVectorTileDecoder
-
Specialized vector tile layer that can use built-in vector tile styles.
See moreDeclaration
Objective-C
@interface NTCartoVectorTileLayer : NTVectorTileLayer
-
A special callback interface for building cluster elements from set of existing vector element.
See moreDeclaration
Objective-C
@interface NTClusterElementBuilder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A vector layer that supports clustering point-type features. A Pairwise centroid hierarchical clustering algorithm is used internally.
See moreDeclaration
Objective-C
@interface NTClusteredVectorLayer : NTVectorLayer
-
A color represented in RGBA space, alpha is expected to be non-premultiplied.
See moreDeclaration
Objective-C
@interface NTColor : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that combines two data sources (usually offline and online) and selects tiles based on zoom level. All requests below specified zoom level are directed to the first data source and all requests at or above specified zoom level are directed to the second data source.
See moreDeclaration
Objective-C
@interface NTCombinedTileDataSource : NTTileDataSource
-
Compiled style set definition for vector tiles. Compiled style sets should contains either Mapnik XML stylesheets with all required assets or CartoCSS JSON-based project files.
See moreDeclaration
Objective-C
@interface NTCompiledStyleSet : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
View specific state determined by the culling process. This includes convex envelope of the visible area, view frustum, tiles and camera state.
See moreDeclaration
Objective-C
@interface NTCullState : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A handler class for custom popups. The handler is responsible for drawing the popup and reponding to click events.
See moreDeclaration
Objective-C
@interface NTCustomPopupHandler : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An implementation of Ramer-Douglas-Peucker algorithm for geometry simplification. Simplifier works on lines and polygons. Simplification is done in two passes - first pass uses fast Radial Distance vertex rejection, second pass uses Ramer-Douglas-Peuckerworst algorithm (with worst case quadratic complexity).
See moreDeclaration
Objective-C
@interface NTDouglasPeuckerGeometrySimplifier : NTGeometrySimplifier
-
EPSG:3857 is a Spherical Mercator projection coordinate system popularized by web services such as Google and later OpenStreetMap. Z-coordinate denotes height in meters.
See moreDeclaration
Objective-C
@interface NTEPSG3857 : NTProjection
-
EPSG:4326 is a projection coordinate system that uses WGS84 coordinates (longitude/latitude). Z-coordinate denotes height in meters.
See moreDeclaration
Objective-C
@interface NTEPSG4326 : NTProjection
-
A vector layer that supports editing its contents. Editing requires registered listener.
See moreDeclaration
Objective-C
@interface NTEditableVectorLayer : NTVectorLayer
-
A feature consisting of geometry and properties.
See moreDeclaration
Objective-C
@interface NTFeature : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTFeatureVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTFeature*)x; -(NTFeature*)get: (int)i; -(void)set: (int)i val: (NTFeature*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A collection of features.
See moreDeclaration
Objective-C
@interface NTFeatureCollection : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A search service for finding features from a specified feature collection.
See moreDeclaration
Objective-C
@interface NTFeatureCollectionSearchService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A GeoJSON parser. Parser supports Geometry, Feature and FeatureCollection inputs.
See moreDeclaration
Objective-C
@interface NTGeoJSONGeometryReader : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A GeoJSON writer. Generates human-readable GeoJSON representation of the geometry, feature or feature collection. Supports both 2D and 3D coordinate serialization.
See moreDeclaration
Objective-C
@interface NTGeoJSONGeometryWriter : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that builds vector tiles from GeoJSON inputs.
See moreDeclaration
Objective-C
@interface NTGeoJSONVectorTileDataSource : NTTileDataSource
-
A geocoding request describing text-based query and other optional constraints.
See moreDeclaration
Objective-C
@interface NTGeocodingRequest : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A geocoding result object describing address, features (geometry) and rank of the result.
See moreDeclaration
Objective-C
@interface NTGeocodingResult : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTGeocodingResultVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTGeocodingResult*)x; -(NTGeocodingResult*)get: (int)i; -(void)set: (int)i val: (NTGeocodingResult*)val; -(void)dealloc; @end
-
An abstract base class for geocoding services.
See moreDeclaration
Objective-C
@interface NTGeocodingService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A base class for all geometry types.
See moreDeclaration
Objective-C
@interface NTGeometry : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTGeometryVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTGeometry*)x; -(NTGeometry*)get: (int)i; -(void)set: (int)i val: (NTGeometry*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A collection of multiple geometries that can be displayed on the map.
See moreDeclaration
Objective-C
@interface NTGeometryCollection : NTVectorElement
-
A builder class for GeometryCollectionStyle.
See moreDeclaration
Objective-C
@interface NTGeometryCollectionStyleBuilder : NTStyleBuilder
-
Base class for geometry simplifiers.
See moreDeclaration
Objective-C
@interface NTGeometrySimplifier : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that loads tiles using a HTTP connection. The requests are generated using a template scheme, where tags in the baseURL string are replaced with actual values. The following tags are supported: s, z, zoom, x, y, xflipped, yflipped, quadkey, frame.
For example, if baseURL = “https://tile.openstreetmap.org/{zoom}/{x}/{y}.png” and the requested tile has zoom = 2, x = 1 and y = 3, then the tile will be loaded from the following URL: “https://tile.openstreetmap.org/2/1/3.png”.
See moreDeclaration
Objective-C
@interface NTHTTPTileDataSource : NTTileDataSource
-
A tile layer that displays an overlay hillshading. Should be used together with corresponding data source that encodes height in RGBA image. The shading is based on the direction of the main light source, which can be configured using Options class. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTHillshadeRasterTileLayer : NTRasterTileLayer
-
Undocumented
See moreDeclaration
Objective-C
@interface NTIntVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned long)size; -(unsigned long)capacity; -(void)reserve: (unsigned long)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (int)x; -(int)get: (int)i; -(void)set: (int)i val: (int)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
An abstract billboard element with a dynamically drawn bitmap that can be displayed on the map.
See moreDeclaration
Objective-C
@interface NTLabel : NTBillboard
-
A style for labels. Contains attributes for configuring how the label is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTLabelStyle : NTBillboardStyle
-
A builder class for LabelStyle.
See moreDeclaration
Objective-C
@interface NTLabelStyleBuilder : NTBillboardStyleBuilder
-
An abstract base class for all layers.
See moreDeclaration
Objective-C
@interface NTLayer : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTLayerVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTLayer*)x; -(NTLayer*)get: (int)i; -(void)set: (int)i val: (NTLayer*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
Container for all raster and vector layers of the map view.
The order in which layers are added is important for vector elements like Points, Lines and Polygons. For these elements the layer ordering defines their draw order. Other elements like NMLModels and Polygon3Ds are z ordered and are drawn using the depth buffer. For Billboard elements like Markers and Labels, the layer ordering is unimportant, because they will be sorted from back to front and drawn in that order on top of all other vector elements.
See moreDeclaration
Objective-C
@interface NTLayers : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A geometric line string that can be displayed on the map.
See moreDeclaration
Objective-C
@interface NTLine : NTVectorElement
-
Line geometry defined by a list of map positions.
See moreDeclaration
Objective-C
@interface NTLineGeometry : NTGeometry
-
Undocumented
See moreDeclaration
Objective-C
@interface NTLineGeometryVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTLineGeometry*)x; -(NTLineGeometry*)get: (int)i; -(void)set: (int)i val: (NTLineGeometry*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A builder class for LineStyle.
See moreDeclaration
Objective-C
@interface NTLineStyleBuilder : NTStyleBuilder
-
A modifiable vector data source that keeps all the elements in the local memory. Optionally vector elements can be kept in a spatial index and only the visible elements get rendered. There can be a small delay before previously invisible elements become visible after view changes. This makes it suitable for cases where there are a large number of static vector elements.
The draw order of vector elements within the data source is undefined.
See moreDeclaration
Objective-C
@interface NTLocalVectorDataSource : NTVectorDataSource
-
A diagnostic log for various SDK events.
See moreDeclaration
Objective-C
@interface NTLog : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for events logged by the SDK.
See moreDeclaration
Objective-C
@interface NTLogEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that loads tiles from a local Sqlite database. The database must contain table “tiles” with the following fields: “zoom_level” (tile zoom level), “tile_column” (tile x coordinate), “tile_row” (tile y coordinate), “tile_data” (compressed tile image).
See moreDeclaration
Objective-C
@interface NTMBTilesTileDataSource : NTTileDataSource
-
Decoder for vector tiles in MapBox format.
See moreDeclaration
Objective-C
@interface NTMBVectorTileDecoder : NTVectorTileDecoder
-
A container class that defines an axis aligned cuboid on the map using minimum and maximum map positions. Valid ranges for map bounds depend on the projection used.
See moreDeclaration
Objective-C
@interface NTMapBounds : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An online geocoding service that uses MapBox geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of the MapBox service to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTMapBoxOnlineGeocodingService : NTGeocodingService
-
An online reverse geocoding service that uses MapBox geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”,
See more
future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of the MapBox service to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.Declaration
Objective-C
@interface NTMapBoxOnlineReverseGeocodingService : NTReverseGeocodingService
-
A container class that provides information about a click performed on an empty area of the map.
See moreDeclaration
Objective-C
@interface NTMapClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A bounding area on the map. Can be defined by a map bounds object or by a convex bounding polygon. This class is intended for conservative object area estimation and fast intersection testing.
See moreDeclaration
Objective-C
@interface NTMapEnvelope : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for events like map clicks etc.
See moreDeclaration
Objective-C
@interface NTMapEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information about a map interaction performed from UI.
See moreDeclaration
Objective-C
@interface NTMapInteractionInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A double precision map position defined using three coordinates. X and y coordinates denote positions on the map, while z coordinate is height from the ground plane. Actual units for x, y and z depend on map projection. For example, in EPSG:4326 x is used for latitude, y for longitude and z for height in meters.
See moreDeclaration
Objective-C
@interface NTMapPos : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTMapPosVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTMapPos*)x; -(NTMapPos*)get: (int)i; -(void)set: (int)i val: (NTMapPos*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NTMapPosVectorVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTMapPosVector*)x; -(NTMapPosVector*)get: (int)i; -(void)set: (int)i val: (NTMapPosVector*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A container class that defines a half closed range of values using minimum and maximum values.
See moreDeclaration
Objective-C
@interface NTMapRange : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
The map renderer component.
See moreDeclaration
Objective-C
@interface NTMapRenderer : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for specific map renderer events.
See moreDeclaration
Objective-C
@interface NTMapRendererListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An immutable map tile, used by tile layers for representing small pieces of map at different zoom levels and coordinates.
See moreDeclaration
Objective-C
@interface NTMapTile : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An online tile data source that connects to MapTiler Cloud tile server. This data source should be used with vector tiles, though by customizing service URL could be used with raster tiles also. Be sure to read the Terms and Conditions of your MapTiler service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTMapTilerOnlineTileDataSource : NTTileDataSource
-
A double precision map vector defined by 3 coordinates.
See moreDeclaration
Objective-C
@interface NTMapVec : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A billboard element with a static bitmap that can be displayed on the map.
See moreDeclaration
Objective-C
@interface NTMarker : NTBillboard
-
A style for markers. Contains attributes for configuring how the marker is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTMarkerStyle : NTBillboardStyle
-
A builder class for MarkerStyle.
See moreDeclaration
Objective-C
@interface NTMarkerStyleBuilder : NTBillboardStyleBuilder
-
A tile data source that loads tiles from another tile data source and caches them in memory. This cache is not persistent, tiles will be cleared once the application closes. Default cache capacity is 6MB.
See moreDeclaration
Objective-C
@interface NTMemoryCacheTileDataSource : NTCacheTileDataSource
-
A tile data source that merges two MBVT/protobuf data sources into one. It is assumed that the layer ids from the two sources are distinct.
See moreDeclaration
Objective-C
@interface NTMergedMBVTTileDataSource : NTTileDataSource
-
A generic multi geometry container.
See moreDeclaration
Objective-C
@interface NTMultiGeometry : NTGeometry
-
A multiline container.
See moreDeclaration
Objective-C
@interface NTMultiLineGeometry : NTMultiGeometry
-
A multipoint container.
See moreDeclaration
Objective-C
@interface NTMultiPointGeometry : NTMultiGeometry
-
A multipolygon container.
See moreDeclaration
Objective-C
@interface NTMultiPolygonGeometry : NTMultiGeometry
-
A 3D model that can be displayed on the map.
NML models can be created from Collada files directly and placed anywhere on the map or converted from KMZ files. NML models are optimized for fast loading and rendering.
See moreDeclaration
Objective-C
@interface NTNMLModel : NTBillboard
-
A container class that provides information about a click performed on a NMLModelLODTree element.
See moreDeclaration
Objective-C
@interface NTNMLModelLODTreeClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An abstract base class for NML model LOD tree data sources. NML model LOD tree data sources are tile based data sources that provide access to different entities: map tiles, LOD tree metadata, model meshes and textures.
See moreDeclaration
Objective-C
@interface NTNMLModelLODTreeDataSource : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for NMLModelLODTree events like clicks etc.
See moreDeclaration
Objective-C
@interface NTNMLModelLODTreeEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A style for NML models. Contains attributes for configuring how the model is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTNMLModelStyle : NTBillboardStyle
-
A builder class for NMLModelStyle.
See moreDeclaration
Objective-C
@interface NTNMLModelStyleBuilder : NTBillboardStyleBuilder
-
A geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTOSMOfflineGeocodingService : NTGeocodingService
-
A reverse geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTOSMOfflineReverseGeocodingService : NTReverseGeocodingService
-
An offline routing service that uses Carto-specific routing database file created from OSRM prepared routing files. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTOSRMOfflineRoutingService : NTRoutingService
-
A sqlite database based data source for NML model LOD trees. The database must be created using custom toolkit from Carto that supports several input formats like KMZ or GeoJSON.
See moreDeclaration
Objective-C
@interface NTOfflineNMLModelLODTreeDataSource : NTNMLModelLODTreeDataSource
-
Online NML LOD Tree data source. This data source needs special online service and uses custom protocol.
See moreDeclaration
Objective-C
@interface NTOnlineNMLModelLODTreeDataSource : NTNMLModelLODTreeDataSource
-
A class containing various options for rendering and map manipulation.
See moreDeclaration
Objective-C
@interface NTOptions : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile data source that combines two data sources (usually offline and online). All requests are made first to first data source. If not found the request will be made to the second data source.
See moreDeclaration
Objective-C
@interface NTOrderedTileDataSource : NTTileDataSource
-
Information about map package. This includes id, type, version, name, description and size.
See moreDeclaration
Objective-C
@interface NTPackageInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTPackageInfoVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTPackageInfo*)x; -(NTPackageInfo*)get: (int)i; -(void)set: (int)i val: (NTPackageInfo*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
Base class for offline map package manager. Package manager supports downloading/removing packages. It can be queried about available packages and status of the packages. It works asynchronously in the background and can inform app when packages have been updated. It works persistently. If a package download is started and app is closed, the download will resume when the package manager is started next time.
See moreDeclaration
Objective-C
@interface NTPackageManager : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A geocoding service that uses geocoding packages from package manager.
See moreDeclaration
Objective-C
@interface NTPackageManagerGeocodingService : NTGeocodingService
-
Base class for map package manager event listeners. Includes callbacks for package list events and individual package events.
See moreDeclaration
Objective-C
@interface NTPackageManagerListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A reverse geocoding service that uses geocoding packages from package manager.
See moreDeclaration
Objective-C
@interface NTPackageManagerReverseGeocodingService : NTReverseGeocodingService
-
A routing service that uses routing packages from package manager.
See moreDeclaration
Objective-C
@interface NTPackageManagerRoutingService : NTRoutingService
-
A tile data source that loads tiles from package manager.
See moreDeclaration
Objective-C
@interface NTPackageManagerTileDataSource : NTTileDataSource
-
A routing service that uses routing packages from package manager.
See moreDeclaration
Objective-C
@interface NTPackageManagerValhallaRoutingService : NTRoutingService
-
Package meta info element. Can contain JSON-style structured data, including objects and arrays.
See moreDeclaration
Objective-C
@interface NTPackageMetaInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
The status of the map package. This includes information whether the package is ready, queued for processing, downloading, etc. Also it contains information if the package processing is paused and about the progress.
See moreDeclaration
Objective-C
@interface NTPackageStatus : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Tile mask contains map package spatial coverage information and can be used for very fast ‘tile in package’ tests.
See moreDeclaration
Objective-C
@interface NTPackageTileMask : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An online geocoding service that uses Mapzen Pelias geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Pelias service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTPeliasOnlineGeocodingService : NTGeocodingService
-
An online reverse geocoding service that uses Mapzen Pelias geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”,
See more
future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Pelias service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.Declaration
Objective-C
@interface NTPeliasOnlineReverseGeocodingService : NTReverseGeocodingService
-
A tile data source that loads tiles from another tile data source and caches them in an offline sqlite database. Tiles will remain in the database even after the application is closed. The database contains table “persistent_cache” with the following fields: “tileId” (tile id), “compressed” (compressed tile image), “time” (the time the tile was cached in milliseconds from epoch). Default cache capacity is 50MB.
See moreDeclaration
Objective-C
@interface NTPersistentCacheTileDataSource : NTCacheTileDataSource
-
A geometric point that can be displayed on the map.
See moreDeclaration
Objective-C
@interface NTPoint : NTVectorElement
-
Point geometry. Geometry is defined by a single map position.
See moreDeclaration
Objective-C
@interface NTPointGeometry : NTGeometry
-
Undocumented
See moreDeclaration
Objective-C
@interface NTPointGeometryVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTPointGeometry*)x; -(NTPointGeometry*)get: (int)i; -(void)set: (int)i val: (NTPointGeometry*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A builder class for PointStyle.
See moreDeclaration
Objective-C
@interface NTPointStyleBuilder : NTStyleBuilder
-
A geometric polygon that can be displayed on the map. Polygons can be concave and have multiple overlapping holes.
See moreDeclaration
Objective-C
@interface NTPolygon : NTVectorElement
-
A geometric 3d polygon that can be displayed on the map. 3d polygons can be concave and have multiple overlapping holes.
See moreDeclaration
Objective-C
@interface NTPolygon3D : NTVectorElement
-
A builder class for Polygon3DStyle.
See moreDeclaration
Objective-C
@interface NTPolygon3DStyleBuilder : NTStyleBuilder
-
Polygon geometry defined by an outer ring and optional multiple inner rings (holes).
See moreDeclaration
Objective-C
@interface NTPolygonGeometry : NTGeometry
-
Undocumented
See moreDeclaration
Objective-C
@interface NTPolygonGeometryVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTPolygonGeometry*)x; -(NTPolygonGeometry*)get: (int)i; -(void)set: (int)i val: (NTPolygonGeometry*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A builder class for PolygonStyle.
See moreDeclaration
Objective-C
@interface NTPolygonStyleBuilder : NTStyleBuilder
-
An abstract billboard element that can be displayed on the map. It always faces the camera and has a dynamically drawn bitmap.
See moreDeclaration
Objective-C
@interface NTPopup : NTBillboard
-
A container class that provides information about a click performed on a popup.
See moreDeclaration
Objective-C
@interface NTPopupClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information how to draw the popup.
See moreDeclaration
Objective-C
@interface NTPopupDrawInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A style for popups. Contains attributes for configuring how the popup is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTPopupStyle : NTBillboardStyle
-
A builder class for PopupStyle.
See moreDeclaration
Objective-C
@interface NTPopupStyleBuilder : NTBillboardStyleBuilder
-
An abstract base class for all projections.
See moreDeclaration
Objective-C
@interface NTProjection : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information about a click performed on raster tile.
See moreDeclaration
Objective-C
@interface NTRasterTileClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for raster tile element events like clicks etc.
See moreDeclaration
Objective-C
@interface NTRasterTileEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A tile layer where each tile is a bitmap. Should be used together with corresponding data source.
See moreDeclaration
Objective-C
@interface NTRasterTileLayer : NTTileLayer
-
An internal listener class for notifying about screen redraw requests.
See moreDeclaration
Objective-C
@interface NTRedrawRequestListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for renderer capture events.
See moreDeclaration
Objective-C
@interface NTRendererCaptureListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A reverse geocoding request describing search location.
See moreDeclaration
Objective-C
@interface NTReverseGeocodingRequest : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An abstract base class for reverse geocoding services.
See moreDeclaration
Objective-C
@interface NTReverseGeocodingService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class that defines a route matching result edge.
See moreDeclaration
Objective-C
@interface NTRouteMatchingEdge : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTRouteMatchingEdgeVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTRouteMatchingEdge*)x; -(NTRouteMatchingEdge*)get: (int)i; -(void)set: (int)i val: (NTRouteMatchingEdge*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A class that defines a route matching result point.
See moreDeclaration
Objective-C
@interface NTRouteMatchingPoint : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTRouteMatchingPointVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTRouteMatchingPoint*)x; -(NTRouteMatchingPoint*)get: (int)i; -(void)set: (int)i val: (NTRouteMatchingPoint*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A class that defines required attributes for route matching.
See moreDeclaration
Objective-C
@interface NTRouteMatchingRequest : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class that defines list of matching points from road network.
See moreDeclaration
Objective-C
@interface NTRouteMatchingResult : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class that defines a routing instruction at specified position in the path.
See moreDeclaration
Objective-C
@interface NTRoutingInstruction : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTRoutingInstructionVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTRoutingInstruction*)x; -(NTRoutingInstruction*)get: (int)i; -(void)set: (int)i val: (NTRoutingInstruction*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A class that defines required attributes for routing (end points, etc).
See moreDeclaration
Objective-C
@interface NTRoutingRequest : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class that defines list of routing actions and path geometry.
See moreDeclaration
Objective-C
@interface NTRoutingResult : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An abstract base class for routing services (either online or offline).
See moreDeclaration
Objective-C
@interface NTRoutingService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An offline routing service that uses SGRE routing engine. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTSGREOfflineRoutingService : NTRoutingService
-
A container class that defines a bounding box on the screen using minimum and maximum screen positions.
See moreDeclaration
Objective-C
@interface NTScreenBounds : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A screen position defined by x,y floating point numbers.
See moreDeclaration
Objective-C
@interface NTScreenPos : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTScreenPosVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTScreenPos*)x; -(NTScreenPos*)get: (int)i; -(void)set: (int)i val: (NTScreenPos*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A search request description. Contains various search filters, including geometry proximity test, regular expression test for all attributes and a custom SQL-like search filter.
See moreDeclaration
Objective-C
@interface NTSearchRequest : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTStringMap : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(id)initWithArg0: (NTStringMap*)arg0; -(unsigned int)size; -(BOOL)empty; -(void)clear; -(NSString*)get: (NSString*)key; -(void)set: (NSString*)key x: (NSString*)x; -(void)del: (NSString*)key; -(BOOL)has_key: (NSString*)key; -(NSString*)get_key: (unsigned int)idx; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NTStringVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned long)size; -(unsigned long)capacity; -(void)reserve: (unsigned long)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NSString*)x; -(NSString*)get: (int)i; -(void)set: (int)i val: (NSString*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A base class for other Style objects.
See moreDeclaration
Objective-C
@interface NTStyle : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A base class for other StyleBuilder subclasses.
See moreDeclaration
Objective-C
@interface NTStyleBuilder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Margins info for text.
See moreDeclaration
Objective-C
@interface NTTextMargins : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A style for text labels. Contains attributes for configuring how the text label is drawn on the screen.
See moreDeclaration
Objective-C
@interface NTTextStyle : NTLabelStyle
-
A builder class for TextStyle.
See moreDeclaration
Objective-C
@interface NTTextStyleBuilder : NTLabelStyleBuilder
-
A wrapper class for tile data.
See moreDeclaration
Objective-C
@interface NTTileData : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Abstract base class for tile data sources. It provides default implementation for listener registration and other common tile data source methods.
See moreDeclaration
Objective-C
@interface NTTileDataSource : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for tile downloader.
See moreDeclaration
Objective-C
@interface NTTileDownloadListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Interface for monitoring tile loading events.
See moreDeclaration
Objective-C
@interface NTTileLoadListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A helper class for mapping coordinates to tiles and back.
See moreDeclaration
Objective-C
@interface NTTileUtils : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An online geocoding service that uses TomTom geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of TomTom to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.
See moreDeclaration
Objective-C
@interface NTTomTomOnlineGeocodingService : NTGeocodingService
-
An online reverse geocoding service that uses TomTom geocoder. As the class connects to an external (non-CARTO) service, this class is provided “as-is”,
See more
future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of TomTom to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.Declaration
Objective-C
@interface NTTomTomOnlineReverseGeocodingService : NTReverseGeocodingService
-
A decoder for Torque layer that accepts json-based Torque tiles.
See moreDeclaration
Objective-C
@interface NTTorqueTileDecoder : NTVectorTileDecoder
-
A vector tile layer for rendering time-based animated point clouds.
See moreDeclaration
Objective-C
@interface NTTorqueTileLayer : NTVectorTileLayer
-
A container class that provides information about a click performed on an UTF grid.
See moreDeclaration
Objective-C
@interface NTUTFGridClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for vector element events like clicks etc.
See moreDeclaration
Objective-C
@interface NTUTFGridEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An offline routing service that uses Valhalla routing tiles.
See moreDeclaration
Objective-C
@interface NTValhallaOfflineRoutingService : NTRoutingService
-
An online routing service that uses MapBox Valhalla routing service. As the class connects to an external (non-CARTO) service, this class is provided “as-is”,
See more
future changes from the service provider may not be compatible with the implementation. Routing and route matching perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Valhalla service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.Declaration
Objective-C
@interface NTValhallaOnlineRoutingService : NTRoutingService
-
JSON value. Can contain JSON-style structured data, including objects and arrays.
See moreDeclaration
Objective-C
@interface NTVariant : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTVariantVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTVariant*)x; -(NTVariant*)get: (int)i; -(void)set: (int)i val: (NTVariant*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NTStringVariantMap : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(id)initWithArg0: (NTStringVariantMap*)arg0; -(unsigned int)size; -(BOOL)empty; -(void)clear; -(NTVariant*)get: (NSString*)key; -(void)set: (NSString*)key x: (NTVariant*)x; -(void)del: (NSString*)key; -(BOOL)has_key: (NSString*)key; -(NSString*)get_key: (unsigned int)idx; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A helper class for building variant arrays.
See moreDeclaration
Objective-C
@interface NTVariantArrayBuilder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A helper class for building variant objects.
See moreDeclaration
Objective-C
@interface NTVariantObjectBuilder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A wrapper class for vector element data.
See moreDeclaration
Objective-C
@interface NTVectorData : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Abstract base class for envelope based vector data sources. It provides default implementation for listener registration and other common data source methods. Subclasses need to define their own implementations of loadElements method.
The draw order of vector elements within the data source is undefined.
See moreDeclaration
Objective-C
@interface NTVectorDataSource : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener interface for catching various events during map editing interactions.
See moreDeclaration
Objective-C
@interface NTVectorEditEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A base class for all vector elements (points, lines, texts, models, etc).
See moreDeclaration
Objective-C
@interface NTVectorElement : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTVectorElementVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTVectorElement*)x; -(NTVectorElement*)get: (int)i; -(void)set: (int)i val: (NTVectorElement*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A container class that provides information about a click performed on a vector element.
See moreDeclaration
Objective-C
@interface NTVectorElementClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information about a dragging performed on a vector element or vector element vertex.
See moreDeclaration
Objective-C
@interface NTVectorElementDragInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for vector element events like clicks etc.
See moreDeclaration
Objective-C
@interface NTVectorElementEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A search service for finding vector elements from the specified vector data source. Depending on the datasource, searching may perform network requests and must be executed in non-UI background thread.
See moreDeclaration
Objective-C
@interface NTVectorElementSearchService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A container class that provides information about a click performed on vector tile feature.
See moreDeclaration
Objective-C
@interface NTVectorTileClickInfo : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Abstract base class for vector tile decoders.
See moreDeclaration
Objective-C
@interface NTVectorTileDecoder : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Listener for vector tile element events like clicks etc.
See moreDeclaration
Objective-C
@interface NTVectorTileEventListener : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Undocumented
See moreDeclaration
Objective-C
@interface NTVectorTileFeatureVector : NSObject { /** @internal:nodoc: */ void *swigCPtr; /** @internal:nodoc: */ BOOL swigCMemOwn; } /** @internal:nodoc: */ -(void*)getCptr; /** @internal:nodoc: */ -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject; -(id)init; -(unsigned int)size; -(unsigned int)capacity; -(void)reserve: (unsigned int)n; -(BOOL)isEmpty; -(void)clear; -(void)add: (NTVectorTileFeature*)x; -(NTVectorTileFeature*)get: (int)i; -(void)set: (int)i val: (NTVectorTileFeature*)val; /** * Returns the raw pointer to the object. This is used internally by the SDK. * @return The internal pointer of the object. */ /** @internal:nodoc: */ -(long long)swigGetRawPtr; -(void)dealloc; @end
-
A collection of vector tile features.
See moreDeclaration
Objective-C
@interface NTVectorTileFeatureCollection : NTFeatureCollection
-
A tile layer where each tile is a bitmap. Should be used together with corresponding data source.
See moreDeclaration
Objective-C
@interface NTVectorTileLayer : NTTileLayer
-
A search service for finding features from the specified vector tile data source. Depending on the datasource, searching may perform network requests and must be executed in non-UI background thread.
See moreDeclaration
Objective-C
@interface NTVectorTileSearchService : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A class containing various view parameters for a view state.
See moreDeclaration
Objective-C
@interface NTViewState : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A WKB reader. Reads binary version of the Well Known Text representation of the geometry.
See moreDeclaration
Objective-C
@interface NTWKBGeometryReader : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A WKB writer. Generates binary version of the Well Known Text (WKT) representation of the geometry. Supports both 2D and 3D coordinate serialization and big- and little-endian representations.
See moreDeclaration
Objective-C
@interface NTWKBGeometryWriter : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
A reader for Well Known Text representation of the geometry.
See moreDeclaration
Objective-C
@interface NTWKTGeometryReader : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
Generates Well Known Text (WKT) representation of the geometry. Supports both 2D and 3D coordinate serialization.
See moreDeclaration
Objective-C
@interface NTWKTGeometryWriter : NSObject { void *swigCPtr; BOOL swigCMemOwn; }
-
An asset package based on ZIP archived. Only deflate-based ZIP archives are supported.
See moreDeclaration
Objective-C
@interface NTZippedAssetPackage : NTAssetPackage


{% extends "layout.html" %} {% block title %} History {% endblock %} {% block main %} {% for entry in entries[::-1] if not (entry.goal is none and entry.issue is none and entry.reflection is none and entry.mood is none) %}


ChemEAStry
Home
(current)
About
Periodic Table
Calculators
Molarity Calculator
Acid and Base Conversion
Dimensional Analysis
Contact
The Ideal Gas Law
The gas law so important, it gets its own page.