609 questions
1
vote
1
answer
135
views
JAX lax.scan: How to iterate over layers and memory slices simultaneously without dynamic indexing in a multi-layer RNN structure?
I'm trying to implement a framework that manages RNN networks with an arbitrary number of layers (it's all part of a library I'm building based on jax/equinox), the problem is that I can't find an ...
1
vote
1
answer
385
views
JAX/Equinox pipeline slows down after adding an integer argument to a loss function
I have the following training pipeline in JAX and Equinox. I want to pass a batch index to the loss function in order to apply different logic depending on index. Without batch index training loop ...
0
votes
1
answer
69
views
Adding Apache Camel to an Eclipse RCP application
I tried to add Apache Camel support in an Eclipse RCP application. With the new Eclipse, I can also add maven repositories in the target platform file, so that is what I did. My target platform ...
3
votes
1
answer
897
views
TypeError: unhashable type: 'ArrayImpl' when trying to use Equinox module with jax.lax.scan
I'm new to Equinox and JAX but wanted to use them to simulate a dynamical system.
But when I pass my system model as an Equinox module to jax.lax.scan I get the unhashable type error in the title. I ...
0
votes
1
answer
74
views
Eclipse E4 RCP product export does not contain launcher shared library when exported using Eclipse 4.31
I have an Eclipse E4 RCP product, which used to be exportable using Eclipse 4.29.
The export worked just fine for multiple platforms (usually gtk.linux.x86_64 and win32.win32.x86_64).
I have a freshly ...
1
vote
1
answer
611
views
Does equinox (jax) do no batch dim broadcasting and expects you to use vmap instead?
https://docs.kidger.site/equinox/api/nn/mlp/#equinox.nn.MLP
The only way I was able to use MLP is like this
import jax
import equinox as eqx
import numpy as np
jax.vmap(eqx.nn.MLP(in_size=12, out_size=...
1
vote
1
answer
2k
views
Jax: generating random numbers under **JIT**
I have a setup where I need to generate some random number that is consumed by vmap and then lax.scan later on:
def generate_random(key: Array, upper_bound: int, lower_bound: int) -> int:
...
...
1
vote
1
answer
612
views
Failing to implement logistic regression using 'equinox' and 'optax' library
I am trying to implement logistic regression using equinox and optax libraries, with the support of JAX. While training the model, the loss is not decreasing over time,and model is not learning. ...
2
votes
2
answers
543
views
In Karaf OSGI Bundle is in Resolved state but Diag shows nothing
We have KARAF based OSGI application. We have 100 bundles which is part of a feature.xml , when we install this feature there is one particular bundle which is always in resolved state we have to ...
0
votes
1
answer
378
views
equinox with slf4j can't find logback provider
So I have this OSGi project built with equinox with this gradle structure:
> Task :projects
------------------------------------------------------------
Root project 'project'
---------------------...
0
votes
0
answers
2k
views
Unresolved requirement: Require-Bundle: org.eclipse.ui.intro; bundle-version="3.4.0"
We are working on migrating Eclipse RCP project from Eclipse 4.6.3 to Eclipse 4.15.
We have all the jars in plugins folder from Eclipse 4.15.
When launch the code in Eclipse 4.15 product launches ...
0
votes
1
answer
441
views
JFace TreeViewer Sorting - Updated
Linking in from Sort rows in JFace Treeviewer where I asked @greg-449 why my comparator doesn't work when (like the question on that page) I just wanted to sort by the label provider.
My TreeViewer is ...
0
votes
2
answers
888
views
Augmenting the classpath of legacy OSGi bundles in Eclipse Equinox
We are trying to migrate an existing Eclipse IDE Product from Java 8 to Java 11.
Everything worked fine with our own code; but, unfortunately, the product also includes some (quite old) bundles from a ...
0
votes
0
answers
1k
views
using org.eclipse.equinox.simpleconfigurator vs just putting all bundles into osgi.bundles
I am upgrading our Equinox from 4.7.3a to 4.21 in our server application. I have learned the hard way that org.eclipse.update.configurator no longer does automatically install bundles on application ...
0
votes
1
answer
85
views
RCP application: "Check for Updates" returns "No updates were found"
I'm updating the RCP application from the site, which contains the new version of the application (9.0.0.46).
But "Check for Updates" returns "No updates were found".
Example:
...
0
votes
0
answers
168
views
How to create a custom error Handler with eclipse 2020 09
I develop an eclipse plugin at the moment and I want to create a custom error dialog. I have tried to extend the workbencherrorhandler, but no dialog occurs. Can someone help me and tell me how to ...
1
vote
1
answer
2k
views
OSGi: Could not resolve javax.servlet
I have a server side OSGi application, running in an equinox container. This application uses the org.apache.felix.webconsole (4.6.2) and other bundles. These other bundles need javax.http > 4.0.0 ...
0
votes
0
answers
276
views
Is it possible to update a 3.7 eclipse target to use osgi equiknox implementation that supports java 11
I am looking into updating an eclipse 3.7 application to use java 11.
I have hit a problem on application launch.
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.common_3.6.0....
1
vote
0
answers
84
views
Running multiple OSGi http bundles on different ports with Equinox
I want to run multiple OSGi http bundles bound to different ports. I am using Server-Side Equinox for this which uses jetty as the underlying engine for providing Servlet API support.
If I want to run ...
1
vote
1
answer
96
views
JVM startup time using Equinox OsGi
Is there any way we can log JVM start-up time in an RCP standalone app?
I tried to launch the app and verify the jars loaded using Procmon in Windows but did not get much idea about the JVM start up ...
0
votes
2
answers
387
views
Eclipse RCP + Jetty 9.4.8 + Websocket
I'm writing an Eclipse RCP application. I use the embedded Jetty server to handle Rest Services. It works fine.
Now I want to add a WebSocket Connection. I didn't find any Jetty Websocket bundle in ...
1
vote
0
answers
1k
views
How to troubleshoot dependency problem with OSGi libraries when doing a PDE build?
I'm trying to build a feature product using the latest Eclipse 2020-03 (4.15.0) version and hitting the error Unresolved requirement below. I have this same exact issue with Eclipse 2019-12 (4.14.0).
...
0
votes
2
answers
499
views
Eclipse RCP Product File - how to handle multiple platforms with platform specific dependencies
I have an Eclipse RCP application, whose .product file contains references to native SWT plugins.
<plugins>
<plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64" fragment="...
0
votes
0
answers
107
views
Eclipse, equinox and product file, resolve missing features
Good morning,
I am trying to start ad RCP application.
The "Contents" section of the product file show something is missing.
The list shown clicking the "Add" button does not contain what misses (for ...
1
vote
1
answer
236
views
Shutdown an OSGi container after some code has been executed (to create a command-line tool)
I would like to create a command-line tool that starts an OSGi framework, in order to reuse code that is relying on OSGi.
In the answer accessing command-line arguments from OSGi bundle, I got how I ...