Which version of OSGi is implemented by which version of Eclipse/Equinox? - eclipse

We are looking for a table which matches Eclipse/Equinox release versions to the corresponding OSGi Service Platform specification release version.
Eclipse/Equinox wiki doesn't have any info on this in a structured form.

The release archaeology is quite hard. So far we have these versions collected:
Year | Eclipse | Release | OSGi spec | Equinox implementation version
| version | name | version | org.eclipse.osgi | org.eclipse.osgi.services
-----|---------|----------|-----------|------------------|--------------------------
2004 | 3.0 | | 4.0 early | |
2005 | 3.1 | | 4.0 draft | |
2006 | 3.2 | Callisto | 4.0 | |
2007 | 3.3 | Europa | 4.1 | |
2008 | 3.4 | Ganymede | 4.1 | o.e.o_3.4.x | o.e.o.services_3.1
2009 | 3.5 | Galileo | 4.2 | o.e.o_3.5.x | o.e.o.services_3.2
2010 | 3.6 | Helios | 4.2 | o.e.o_3.6.x | o.e.o.services_3.2
2011 | 4.1/3.7 | Indigo | 4.3 | o.e.o_3.7.x | o.e.o.services_3.3
2012 | 4.2/3.8 | Juno | 5 | o.e.o_3.8.2 | o.e.o.services_3.3.100
2013 | 4.3 | Kepler | 5 | o.e.o_3.9.x | o.e.o.services_3.3
2014 | 4.4 | Luna | 5 | o.e.o_3.10.x | o.e.o.services_3.4
2015 | 4.5 | Mars | 5 | o.e.o_3.10.102 | o.e.o.services_3.5
2016 | 4.6 | Neon | 6 | o.e.o_3.11.x | o.e.o.services_3.5
2017 | 4.7 | Oxygen | 6 | o.e.o_3.12.x | o.e.o.services_3.6
2018 | 4.8 | Photon | 6 | o.e.o_3. | o.e.o.services_3.6
2018 | 4.9 | 2018-09 | 6 | o.e.o_3. | o.e.o.services_?
2018 | 4.10 | 2018-12 | 6 | o.e.o_3.13.200 | o.e.o.services_3.7.0
2019 | 4.11 | 2019-03 | 6 | o.e.o_3.13.300 | o.e.o.services_3.8.0
2019 | 4.12 | 2019-06 | 7 | o.e.o_3.14.0 | o.e.o.services_3.8.0
2019 | 4.13 | 2019-09 | 7 | o.e.o_3.14.x | o.e.o.services_3.x
2019 | 4.14 | 2019-12 | | |
2020 | 4.15 | 2020-03 | | |
2020 | 4.16 | 2020-06 | | |
2020 | 4.17 | 2020-09 | | |
2020 | 4.18 | 2020-12 | | |
2021 | 4.19 | 2021-03 | | |
2021 | 4.20 | 2021-06 | | |
2021 | 4.21 | 2021-09 | | |
2021 | 4.22 | 2021-12 | | |
2022 | 4.23 | 2022-03 | | |
2022 | 4.24 | 2022-06 | | |

Related

vscode python comment togglging does not work

I'm new to vscode.
I have used shortcut (commad + /) for toggling comments. But nowadays, this does not work for python codes. (This still work for my java codes) I guess some problems exist with python extensions but not sure. Can anybody help me?
Below is my environment.
System information
CPUs | Intel(R) Core(TM) i5-5257U CPU # 2.70GHz (4 x 2700)
-- | --
GPU Status | 2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled
Load (avg) | 3, 3, 3
Memory (System) | 8.00GB (0.38GB free)
Process Argv | .
Screen Reader | no
VM | 0%
Extensions installed
Extension | Author (truncated) | Version
-- | -- | --
vscode-django | bat | 0.20.0
npm-intellisense | chr | 1.3.0
path-intellisense | chr | 2.2.1
bracket-pair-colorizer | Coe | 1.0.61
vscode-markdownlint | Dav | 0.36.3
vscode-eslint | dba | 2.1.8
githistory | don | 0.6.9
python-extension-pack | don | 1.6.0
LogFileHighlighter | emi | 2.9.0
json-tools | eri | 1.0.2
prettier-vscode | esb | 5.5.0
code-runner | for | 0.11.0
mdmath | goe | 2.5.1
gc-excelviewer | Gra | 3.0.40
vscode-auto-open-markdown-preview | hnw | 0.0.4
vsc-python-indent | Kev | 1.11.0
node-module-intellisense | lei | 1.5.0
sftp | lix | 1.12.9
MagicPython | mag | 1.1.0
rainbow-csv | mec | 1.7.1
dotenv | mik | 1.0.1
prettify-json | moh | 0.0.3
vscode-language-pack-ko | MS- | 1.48.3
python | ms- | 2020.8.106424
remote-containers | ms- | 0.134.1
remote-ssh | ms- | 0.51.0
remote-ssh-edit | ms- | 0.51.0
remote-wsl | ms- | 0.44.5
vscode-remote-extensionpack | ms- | 0.20.0
color-highlight | nau | 2.3.0
vscode-jsp | pth | 0.0.3
vscode-data-preview | Ran | 2.0.0
ruby | reb | 0.27.0
java | red | 0.66.0
code-settings-sync | Sha | 3.4.3
trailing-spaces | sha | 0.3.1
guides | spy | 0.9.3
addDocComments | ste | 0.0.8
vscodeintellicode | Vis | 1.2.10
vscode-java-debug | vsc | 0.28.0
vscode-java-dependency | vsc | 0.13.0
vscode-java-pack | vsc | 0.10.0
vscode-java-test | vsc | 0.24.1
vscode-maven | vsc | 0.24.2
vscode-icons | vsc | 10.2.0
vscode-wakatime | Wak | 4.0.7
jinja | who | 0.0.8
vscode-ruby | win | 0.27.0
JavaScriptSnippets | xab | 1.8.0
Settings.json
{
"editor.minimap.enabled": false,
"workbench.colorTheme": "Visual Studio Dark",
"editor.renderIndentGuides": false,
"window.zoomLevel": 0,
"git.ignoreLegacyWarning": true,
"terminal.integrated.scrollback": 50000,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"terminal.integrated.commandsToSkipShell": [
"workbench.action.quickOpen"
],
"editor.rulers": [
80,
120
],
"dashboard.projectData": null,
"java.requirements.JDK11Warning": false,
"java.semanticHighlighting.enabled": true,
"python.languageServer": "Microsoft",
}
Have you tried using Ctrl+K+C ?
and to uncomment use Ctrl+K+U .
And the issue with your vscode might be that the shortcut is not registered.
Follow this link to register the shortcut, if you prefer Ctrl+/.
https://marketplace.visualstudio.com/items?itemName=munyabe.ToggleComment

faceted search for field with multiple value

I have a table where field with multiple value by comma:
+------+---------------+
| id | education_ids |
+------+---------------+
| 3 | 7,5 |
| 4 | 7,3 |
| 5 | 1,5 |
| 8 | 3 |
| 9 | 5,7 |
| 11 | 9 |
...
+------+---------------+
when I trying use faceted search:
select id,education_ids from jobResume facet education_ids;
I'm getting this response:
+---------------+----------+
| education_ids | count(*) |
+---------------+----------+
| 7,5 | 3558 |
| 7,3 | 3655 |
| 1,5 | 3686 |
| 3 | 31909 |
| 5,7 | 3490 |
| 9 | 31743 |
| 9,6 | 3535 |
| 8,2 | 3547 |
| 6,2,7 | 291 |
| 7,8,1 | 291 |
| 1,2 | 3637 |
| 7 | 31986 |
| 5,9,7 | 408 |
| 1,1,5 | 365 |
| 5 | 31768 |
| 3,8,3,7 | 32 |
| 3,7,6 | 431 |
| 2 | 31617 |
| 5,5 | 3614 |
| 9,9,2,2 | 6 |
+---------------+----------+
but that's not what I wanted to see. I would like to where each value had its own count, for example like here:
+---------------+----------+
| education_ids | count(*) |
+---------------+----------+
| 10 | 961 |
| 11 | 1653 |
| 12 | 1998 |
| 13 | 2090 |
| 14 | 1058 |
| 15 | 347 |
...
+---------------+----------+
can I get such a result with sphinx?
Make sure you use an MVA, not a string attribute:
index rt
{
type = rt
rt_field = f
rt_attr_multi = education_ids
path = rt
}
snikolaev#dev:$ mysql -P9306 -h0
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 3.2.2 62ea5ff#191220 release
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> insert into rt(education_ids) values((7,5)), ((7,3)), ((7,1)), ((5,1)), ((5,3));
Query OK, 5 rows affected (0.00 sec)
mysql> select * from rt facet education_ids;
+---------------------+---------------+
| id | education_ids |
+---------------------+---------------+
| 2810610458032078849 | 5,7 |
| 2810610458032078850 | 3,7 |
| 2810610458032078851 | 1,7 |
| 2810610458032078852 | 1,5 |
| 2810610458032078853 | 3,5 |
+---------------------+---------------+
5 rows in set (0.00 sec)
+---------------+----------+
| education_ids | count(*) |
+---------------+----------+
| 7 | 3 |
| 5 | 3 |
| 3 | 2 |
| 1 | 2 |
+---------------+----------+
4 rows in set (0.00 sec)
BTW here's an interactive course about faceting in Sphinx / Manticore in case you want to learn more about that - https://play.manticoresearch.com/faceting/

Calculate LAG variable after filtering in Tableau

I have a dataset with 4 columns: ID (unique identifier of user), Year, Country and Level in this format:
+----+------+---------+-------+
| ID | Year | Country | Level |
+----+------+---------+-------+
| 1 | 2015 | USA | 1 |
| 1 | 2016 | China | 2 |
| 2 | 2015 | China | 2 |
| 2 | 2016 | Russia | 2 |
| 3 | 2015 | Russia | 1 |
| 3 | 2016 | China | 2 |
| 4 | 2015 | USA | 2 |
| 4 | 2016 | USA | 3 |
| 5 | 2014 | China | 1 |
| 5 | 2016 | USA | 2 |
| 6 | 2015 | USA | 1 |
| 6 | 2016 | USA | 2 |
| 7 | 2015 | Russia | 2 |
| 7 | 2016 | China | 3 |
+----+------+---------+-------+
The user will be able to filter the dataset by country.
I want to create a table using the country filter that shows in a column if a user was the previous year in any of the countries selected aggregated by the level variable, apart from other variables only affected by the current country filter.
For example E.g., if I select China and USA:
+----+------+---------+-------+-----------------+
| ID | Year | Country | Level | In selection PY |
+----+------+---------+-------+-----------------+
| 1 | 2015 | USA | 1 | No |
| 1 | 2016 | China | 2 | Yes |
| 2 | 2015 | China | 2 | No |
| 3 | 2016 | China | 2 | No |
| 4 | 2015 | USA | 2 | No |
| 4 | 2016 | USA | 3 | Yes |
| 5 | 2014 | China | 1 | No |
| 5 | 2016 | USA | 2 | No |
| 6 | 2015 | USA | 1 | No |
| 6 | 2016 | USA | 2 | Yes |
| 7 | 2016 | China | 3 | No |
+----+------+---------+-------+-----------------+
The aggregated result will be:
+-------+-------------------+-----------------+
| Level | Number of records | In selection PY |
+-------+-------------------+-----------------+
| 1 | 3 | 0 |
| 2 | 6 | 2 |
| 3 | 2 | 1 |
+-------+-------------------+-----------------+
Do you know any way to calculate this aggregated table efficiently? (this would be done in a dataset with millions of rows, with a variable set of countries to be selected)
I found a solution, will post in case it is helpful for someone else:
I change the Country filter to "Add to Context" and created this variable:
In Selection PY: if Year = 2016 then
{fixed [ID]:min(if Year = 2015 then 1 END)}
elseif Year = 2015 then
{fixed [ID]:min(if Year = 2014 then 1 END)}
elseif Year = 2014 then
{fixed [ID]:min(if Year = 2013 then 1 END)}
In this way the variable Selection PY is dynamically calculated according to the country filter.
It is only necessary to know in advance which years are stored in the dataset (or add more years to be safe).

Recursive formulaes in org-mode tables

I have the following table:
| Year (Beginn) | Price | Increase |
|---------------+----------+----------|
| 2016 | 20000.00 | 1000.00 |
| 2017 | | 1000.00 |
| 2018 | | 1000.00 |
| 2019 | | 1000.00 |
| 2020 | | 1000.00 |
| 2021 | | 1000.00 |
| 2022 | | 1000.00 |
| 2023 | | 1000.00 |
| 2024 | | 1000.00 |
| 2025 | | 1000.00 |
| 2026 | | 1000.00 |
| 2027 | | 1000.00 |
| 2028 | | 1000.00 |
| 2029 | | 1000.00 |
| 2030 | | 1000.00 |
|---------------+----------+----------|
I want to compute the price recursively such that the final table looks like this:
| Year (Beginn) | Price | Increase |
|---------------+----------+----------|
| 2016 | 20000.00 | 1000.00 |
| 2017 | 22000.00 | 1000.00 |
| 2018 | 24000.00 | 1000.00 |
| 2019 | 26000.00 | 1000.00 |
| 2020 | 28000.00 | 1000.00 |
| 2021 | 30000.00 | 1000.00 |
| 2022 | 32000.00 | 1000.00 |
| 2023 | 34000.00 | 1000.00 |
| 2024 | 36000.00 | 1000.00 |
| 2025 | 38000.00 | 1000.00 |
| 2026 | 40000.00 | 1000.00 |
| 2027 | 42000.00 | 1000.00 |
| 2028 | 44000.00 | 1000.00 |
| 2029 | 46000.00 | 1000.00 |
| 2030 | 48000.00 | 1000.00 |
|---------------+----------+----------|
After reading a related SO question I tried the formula
#+TBLFM: #<<<..>$2=#<<..>>$2+2*$3
but it doesn't work. It gives an error and also seems to operate on column one instead of the specified column two. Any idea how to correctly compute column two? I am using org-mode version 8.2.5c with Emacs version 24.5.1.
I recommend using the following range formula:
| Year (Beginn) | Price | Increase |
|---------------+----------+----------|
| 2016 | 20000.00 | 1000.00 |
| 2017 | | 1000.00 |
| 2018 | | 1000.00 |
| 2019 | | 1000.00 |
| 2020 | | 1000.00 |
| 2021 | | 1000.00 |
| 2022 | | 1000.00 |
| 2023 | | 1000.00 |
| 2024 | | 1000.00 |
| 2025 | | 1000.00 |
| 2026 | | 1000.00 |
| 2027 | | 1000.00 |
| 2028 | | 1000.00 |
| 2029 | | 1000.00 |
| 2030 | | 1000.00 |
|---------------+----------+----------|
#+TBLFM: #<<<$2..#>$2=#<<$0+2*vsum(#<<$3..#-1$3);%.2f
You could write a recursive formula, but that would propogate one row at a time. Even org-table-iterate (C-u C-u C-c * on any table cell) would have to be called more than once, since it stops after 10 iterations.

Emacs Orgmode table $> References does not work

GNU Emacs 24.4.1 org-mode
Here is an org-mode table
#+TBLNAME: revenue
| / | < | | < | | < | | | | | | | | | | | |
| Product | Year_SUM | Month_SUM | Platform | Platform_SUM | adwo | AdMob | adChina | adSage | appfigures | appdriver | coco | Domob | Dianru | Limei | guohead | youmi |
| | | | | | | | | | | | | | | | | |
|---------+----------+-----------+----------+------------------+------+-------+---------+--------+------------+-----------+------+-------+--------+-------+---------+-------|
| Jan | | | iOS | #ERROR | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| | | | Android | =vsum($6..$>);NE | | 1 | | 1 | | 1 | | 1 | | 1 | | 1 |
|---------+----------+-----------+----------+------------------+------+-------+---------+--------+------------+-----------+------+-------+--------+-------+---------+-------|
| | | | | | | | | | | | | | | | | |
#+TBLFM: $5=vsum($6..$>);NE
As you see ,the formula $5=vsum($6..$>);NE can't be calculated! Here is debug info:
Substitution history of formula
Orig: vsum($6..$>)
$xyz-> vsum($6..$>)
#r$c-> vsum($6..$>)
$1-> vsum((0)..$>)
--------^
Error: Expected `)'
But if I replace the formula with $5=vsum($6..$17) and then it works ,I can't figure out where is the problem?
I need some help ,appreciate it!