iab.taxonome.org error code -5 - classification

i'm trying to use iab.taxonome.org service to classify texts, and get error response -5 (text too short)
Here is what i'm sending to the service:
https://rest.taxonome.org/v1/taxono?me=A college basketball game at Allen Fieldhouse, in Lawrence, Kansas, the home of the Kansas Jayhawks
The history of basketball is traced back to a YMCA International Training School, known today as Springfield College, located in Springfield, Massachusetts&token=[...MyKey...]&ver=1

Indeed I had the same issue. After clearing this with taxonome support team I figure out there is a requirement for at least 500 words per classification.
I have asked to add it to the API reference page.
Double checking and editing my answer: It is depends which framework is being used to send this data. In case you are implementing the client and not encoding the URL string it won't work for you (e.g. space = %20).
Check the API example here:
https://iab.taxonome.org/api

Related

Is the data behind the current osmnames.org built using latest OSM data and latest code in github.com/OSMNames/OSMNames?

Performing fresh OSMNames extracts using latest codeset from https://github.com/OSMNames/OSMNames
often omits a level in the country/state/county/city hierarchy.
For example:
Vale of Glamorgan (in Wales, UK) is type:state_district and is defined in OSM (OSM id 103776, AdminLevel 6) as an admin boundary made up of ways and relations.
https://github.com/OSMNames/OSMNames/releases/download/v2.1.1/planet-latest_geonames.tsv.gz 2019 tsv file has Dinas Powys (OSM id 8219427, AdminLevel 10) as a town within Vale of Glamorgan.
As does the online https://osmnames.org/#q=Dinas%20Powys%2C
But an OSMNames build from latest 2021 data (https://download.geofabrik.de/europe/great-britain/wales-latest.osm.pbf) omits Vale of Glamorgan from Dinas Powys info.
If we try using older data in a Wales OSM history file - https://osm-internal.download.geofabrik.de/europe/great-britain/wales-internal.osh.pbf
Using osmium-tool to extract a data snapshot which should match the 2019 date of https://github.com/OSMNames/OSMNames/releases/download/v2.1.1/planet-latest_geonames.tsv.gz
(osmium time-filter wales-internal.osh.pbf 2019-05-13T00:00:00Z -o wales_2019.osm.pbf)
When we run the OSMNames build against this filtered file which should equal the May 2019 data, it still doesn't have Dinas Powys in Vale of Glamorgan.
So we appear to have a disparity between what was achieved in https://github.com/OSMNames/OSMNames/releases/download/v2.1.1/planet-latest_geonames.tsv.gz (generated in May 2019) and what we can reproduce using the https://github.com/OSMNames/OSMNames code
set.
Apparent conclusions:
The current online https://osmnames.org/#q=Dinas%20Powys%2C is
using OSMNames data from a few years ago, laid over current maptiles.
If so, the website should make this clear.
The https://github.com/OSMNames/OSMNames/releases/download/v2.1.1/planet-latest_geonames.tsv.gz was not built using unaltered code from the git repository.
The github site, states:
"If you are a user and have questions, we're sorry that we can't give individual support. Pls. ask support questions over at Stack Overflow", but there doesn't appear to be much activity.
Can anyone confirm my conclusions, or point me to something more recent?
As another example, the UK village of Fulletby:
In the 2019 tsv file, its display_name is "Fulletby, East Lindsey, Lincolnshire, East Midlands, England, United Kingdom".
But using latest codeset and OSM data gives a display_name of only "Fulletby, Lincolnshire, England, United Kingdom".

Find Origin that passed Core Web Vitals Stat?

The changelog (https://developers.google.com/web/tools/chrome-user-experience-report/bigquery/changelog)reports the origins having good Core Web Vitals, and This info is excellent! Please share if you know the below information related to good Core Web Vitals Stat.
Is changelog reporting for Desktop Or Mobile Or Tablet OR all three?
Was it for the entire Origin Or only for the homepage of Origin?
Where can I see the list of origins that passed Core Web Vitals? If not available & need to find ourself would you mind Giving the query Or Add into Crux CookBook (https://github.com/GoogleChrome/CrUX/tree/master/sql)? I tried to run myself constructing query & run, Got Quote Exceed error sounds due to account limitation.
Also answered in the CrUX discussion forum, but for anyone who found this question on SO first, I'll reshare my response.
Is changelog reporting for Desktop Or Mobile Or Tablet OR all three?
All three combined.
Was it for the entire Origin Or only for the homepage of Origin?
All BigQuery data is aggregated at the origin level, so these compliance rates apply to the entire origin.
Where can I see the list of origins that passed Core Web Vitals? If not available & need to find ourself would you mind Giving the query Or Add into Crux CookBook (https://github.com/GoogleChrome/CrUX/tree/master/sql)? I tried to run myself constructing query & run, Got Quote Exceed error sounds due to account limitation.
https://github.com/GoogleChrome/CrUX/blob/main/sql/core-web-vitals-compliance-rates.sql is a good starting point. Here's a modification of that query to get the list of origins that pass the CWV assessment: (793 MB processed)
CREATE TEMP FUNCTION IS_GOOD (good FLOAT64, needs_improvement FLOAT64, poor FLOAT64) RETURNS BOOL AS (
good / (good + needs_improvement + poor) >= 0.75
);
CREATE TEMP FUNCTION IS_NON_ZERO (good FLOAT64, needs_improvement FLOAT64, poor FLOAT64) RETURNS BOOL AS (
good + needs_improvement + poor > 0
);
SELECT DISTINCT
origin
FROM
`chrome-ux-report.materialized.metrics_summary`
WHERE
date = '2021-03-01' AND
IS_GOOD(fast_lcp, avg_lcp, slow_lcp) AND
IS_GOOD(fast_fid, avg_fid, slow_fid) AND
IS_GOOD(small_cls, medium_cls, large_cls) AND
IS_NON_ZERO(fast_lcp, avg_lcp, slow_lcp) AND
IS_NON_ZERO(fast_fid, avg_fid, slow_fid) AND
IS_NON_ZERO(small_cls, medium_cls, large_cls)

iOS 6 MKMapView Search for Places

I want to search for places such as "Apple Store", "Italian Restaurant" etc. and also for address such as "5th Ave, New York, NY, United States".
How can I search for places and set MKPlacemark for each place I find?
If you are worried about requests limit for Google Maps API, you can use some of open source maps API instead perhaps, like Nominatim API , look at http://wiki.openstreetmap.org/wiki/Nominatim
From iOS 6.1 Apple introduced a new search API - MKLocalSearch. You create a MKLocalSearchRequest using string and region to search in (the region is just a hint for the search, it doesn't guarantee results will fall within this region) and use this request to initialise a MKLocalSearch, which asynchronously gives you the results in an MKLocalSearchResponse object. It was only introduced in january, so it has it's issues at this stage - you only ever get 10 results per search, plus some of the results are strange, but it's definitely worth checking out. There's also no way to specify the type of object (town/business/landmark etc.) you're searching for, which is a shame. Here's a cool tutorial. Note that the more precise the region you supply the better the results.

stored long description in Sqlite database manager in iphone

I want to store long description in sqlite database manager in iphone like this data.
"The Golden Temple: The Golden Temple, popular as Sri Harmandir Sahib or Sri Darbar Sahib, is the sacred seat of Sikhism. Bathed in a quintessential golden hue that dazzles in the serene waters of the Amrit Sarovar that lace around it, the swarn mandir (Golden temple) is one that internalizes in the mindscape of its visitors, no matter what religion or creed, as one of the most magnificent House of Worship. On a jewel-studded platform is the Adi Grantha or the sacred scripture of Sikhs wherein are enshrined holy inscriptions by the ten Sikh gurus and various Hindu and Moslem saints. While visiting the Golden Temple you need to cover your head. Street sellers sell bandanas outside the temple at cheap prices."
I am trying to take as description (VARCHAR(5000)) but when i execute query it is showing half text with dotted (....) like that http://i.stack.imgur.com/gyMqi.png
Thanks
The ... surely indicate that the full text is present in the database. It also indicates that "Sqlite database browser" truncates past a certain length:
m_textWidthMarkSize = s.value("prefs/sqleditor/textWidthMarkSpinBox", 60).toInt();
Is there a way to change the settings?
Edit
You can verify that the text is fully saved with the following query (replace theTable with the correct table name):
select length(description) from theTable;

joomla chronoform saving data

I have a problem with chronoform.
I created my form and everything. but when people input data, sometimes it doesn't get saved, sometimes the data look strange (encrypted?), but when it's me trying the form, it always works!
here an example of the strange data:
REGISTRATION DATE 2011-02-24 - 08:24:14
NAME xjvcZiqVZOf
SURNAME mbYCUldaGCfE
CHARGE CDOWWXMGA
CARD FdaYQzKjvJRjDdHiN
PHONE fUCjEIKBOQgBdtRUcdS
EMAIL qwrelb#gzblvr.com
HOW DID YOU GET TO KNOW THE LABMOND? w2yCfW iuykmqzzrasu,[url=http://stxpmgksgwqu.com/]stxpmgksgwqu[/url], [link=http://qdchzokvtmyk.com/]qdchzokvtmyk[/link], http://fxbqxghstmyn.com/
LABMOND LEVEL 2° Livello
LOCAL OFFICE Campobasso
Any idea?
Turn on the built in captch or ReCaptcha, I bet these submissions are bots.