what is the difference between TDengine 3.0 datafile and 2.0 datafile? - tdengine

in the 2.0, I can see the datafile composed of three files which are .data file,.last,.head file.
By the time of 3.0 version. it is changed to data, stt, head, sma file.
what is the difference between TDengine 3.0 datafile and 2.0 datafile?

In TDengine 3.0 version , there is no .smal file anymore but only .sma file . it is the equivalent of .smad file in 2.0 version
the .data file in TDengine 3.0 version is the partly same thing with .data file in 2.0 . except for multi-version introduced.
the .head file in TDengine 3.0 version is the total same thing with .head file in 2.0 .
.stt file in TDengine 3.0 version is the functionally same thing with .last file in 2.0 .

Related

Version number cusomization

How to customize the node version numbers?
As of now version starts with 1.0,1.1,1.2...1.10,1.11..
However, the requirement is after reaching version .10 then version should start with the next number For e.g 1.10 version should start 2.0
Is there any way we can do version name customization in Jackrabbit ?
Details:
Jackrabbit oak 1.42.0
java 1.8 .

OCR Support with Tesseract via SOLR

Good day,
I'm trying to configure SOLR to use Tesseract OCR engine for text extraction from images, but did not have success yet.
SOLR extracting fine text from structured text documents (.xls, .pdf, doc, etc), but it does not want to call Tesseract module for text recognition.
I'm using
SOLR v.7.4.0
Tesseract version 4.1.1
TIKA 1.18 version (build-in in SOLR, no standalone version)
Tesseract is installed in to the following directory:
/usr/share/tesseract/4/tessdata/
echo $TESSDATA_PREFIX - > /usr/share/tesseract/4/tessdata/
tesseract -v
tesseract 4.1.1-rc2-20-g01fb
leptonica-1.76.0
libjpeg 6b (libjpeg-turbo 1.2.90) : libpng 1.5.13 : libtiff 4.0.3 : zlib 1.2.7 : libwebp 0.3.0
Command tesseract test.jpg test.txt produces accurate txt file with OCRed content from test.jpg.
solrconfig.xml, TesseractOCRConfig.properties, ParseContent.xml files were modified to point to Tesseract installation.
Has anybody done such configuration ?
Good day,
We solved the situation. Here is what was used and changed:
In our installation we used Tesseract version 3.05, Tika version 1.17, SOLR version 7.4. We actually, had TIKA version 1.17, not 18.
1. Changed from HOCR to TXT >>> in file parseContext.xml
2. Had to start SOLR as a root user.
Version 4.1.1 is not compatible with TIKA 1.17 , so we will upgrade SOLR to version 7.7, TIKA version 1.19 and will try to install Tesseract 4.1.1enter image description here

Ubuntu .db file: No Application Installed for OLE2 Compound Document Storage

I am doing a machine Learning project using Columbia Gaze Dataset
http://www.cs.columbia.edu/CAVE/databases/columbia_gaze/
I am using Ubuntu LTS 16.04
There are files like "Thumbs.db" and when i try to open them i have error
No Application For OLE2 Compound Document Storage
I have also read many other posts but none of them helped
Is there a tool to open this .db file(ole2 format) ?
Or must i turn into Windows10 instead of Ubuntu?
*I tried to do the following but without success:*
1) ripole tool(didnt extract to /tmp directory)
2) JDBC (to view database with libreoffice base as .odb. Problem with encodings) with UcanAccess tool
I also found the following source codes but couldn't find any solution how to manipulate them
1) gfs-html-1.14.42 , OpenMcdf 2.0 and oletools-0.46

Please describe how to upgrade cakephp version 0.2.9

Please describe how to upgrade cakePhp version 0.2.9 to any latest version of cakephp .
Are you sure this is the cakephp version you want to update?
The current version of Cake 2.0 in /path/to/cake/lib/Cake/VERSION.txt. The txt file contains a commented block stating that it has been there since Cake 0.2.9, followed by the actual version number.
The same file may be found in Cake 1.3 in /path/to/cake/cake/VERSION.txt.
0.2.9 is not your cake php version.Its a first version of cake php that is written like #since CakePHP(tm) v 0.2.9.You can find your cake php version just go to the path cake/lib/Cake/VERSION.txt.In last line of version.text you will find your cake php version. t's easy to miss, but it should just be a number, e.g. 1.3.8."

Version of SQLite used in Android?

What is the version of SQLite used in Android?
Reason: I'm wondering how to handle schema migrations. The newer SQLite versions support an "ALTER TABLE" SQL command which would save me having to copy data, drop the table, recreate table and re-insert data.
Here is a link to the official docs which include the main points in this answer: android.database.sqlite package-level javadoc
Kotlin code to get framework SQLite version (tip: just stick a breakpoint in your Activity onCreate() and use this code in Evaluate Expression...):
val version = android.database.sqlite.SQLiteDatabase.create(null).use {
android.database.DatabaseUtils.stringForQuery(it, "SELECT sqlite_version()", null)
}
"Framework (API ${android.os.Build.VERSION.SDK_INT}) SQLite version: $version".also { println(it) }
Using the emulators (note, SQLite version on actual devices will be at least that specified):
API level*
Version
Name
SQLite
Notes
33
13
T
3.32.2
32
12L
Sv2
3.32.2
31
12
S
3.32.2
30
11
R
3.28.0
window functions
29
10
Q
3.22.0
28
9
Pie
3.22.0
27
8.1
Oreo
3.19.4
see 3.19.3 and version control check-ins because 3.19.4 link does not exist
26
8.0
Oreo
3.18.2
O beta versions used 3.18.0
25
7.1.1
Nougat
3.9.2
24
7.0
Nougat
3.9.2
23
6.0
Marshmallow
3.8.10.2
M Preview 1 (SDK level 22) used 3.8.10
22
5.1.1
Lollipop
3.8.6.1
see 3.8.6 and version control check-ins because 3.8.6.1 link does not exist
21
5.0
Lollipop
3.8.6
20
4.4W.2
Android Wear
unknown
no emulator available, but probably either 3.7.11 or 3.8.4.3
19
4.4
KitKat
3.7.11
18
4.3
Jelly Bean
3.7.11
17
4.2
Jelly Bean
3.7.11
16**
4.1
Jelly Bean
3.7.11
15
4.0.3
Ice Cream Sandwich
3.7.4
14**
4.0
Ice Cream Sandwich
3.7.4
13
3.2
Honeycomb
3.7.4
12
3.1
Honeycomb
3.7.4
11**
3.0
Honeycomb
3.7.4
10
2.3.3
Gingerbread
3.6.22
9
2.3.1
Gingerbread
3.6.22
8**
2.2
Froyo
3.6.22
7
2.1
Eclair
3.5.9
4
1.6
Donut
3.5.9
3**
1.5
Cupcake
3.5.9
* Android API level links show where the android.database.sqlite package has changed. Where there is no link (e.g. API level 17), indicates no changes to that package.
** Broken SDK link, see here
Note: if you want your app to use the same version of SQLite across all Android versions, consider using Requery's 3rd party SQLite support library or SQLCipher (if you also want encryption).
Although the documentation gives 3.4.0 as reference number, if you execute the following sql, you'll notice that there is a much higher number of SQlite installed:
Cursor cursor = SQLiteDatabase.create(null).rawQuery("select sqlite_version() AS sqlite_version", null);
String sqliteVersion = "";
while(cursor.moveToNext()){
sqliteVersion += cursor.getString(0);
}
This is just a piece of quick, dirty code to retrieve the sqlite version. For instance on a HTC Hero with Android 2.1, I get: 3.5.9.
On my Nexus One with Android 2.2, I even get 3.6.22.
$ adb shell sqlite3 --version
3.5.9
Same on ADP1 1.6 & 2.1 emulator.
A short overview of the Andorid APIs and the supported SQLite versions.
The overview is from the link in Mark Carters answer.
In Room you can query
SELECT sqlite_version()
RG

Resources