feat: port Order.BoundedOrder

[x] depends on #642

Tracking mathlib commit: e50b8c261b0a000b806ec0e1356b41945eda61f7

Oh now I see that this file hasn't really been done and it looks like more of a placeholder. Shall I go ahead with the mathlib3 splitting of this file @Ruben-VandeVelde @semorrison ? It will make it easier to port as four files of 500 lines rather than this one file of 2000 lines.

Also todo: fix the Prop → PropCat translations

Note that the mathlib3 splitting PR is now merged. I think the next thing to do (which I'm happy to do) is to wait for mathlib3port to run on the now much shorter file and then to merge the results with the partial porting we have here.

This PR/issue depends on:

leanprover-community/mathlib4#642
leanprover-community/mathlib#17730
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#642
leanprover-community/mathlib#17730
By Dependent Issues (🤖). Happy coding!

The remaining lint errors are these, which sound concerning:
/- The `synTaut` linter reports:
THE FOLLOWING DECLARATIONS ARE SYNTACTIC TAUTOLOGIES. This usually means that they are of the form `∀ a b ... z, e₁ = e₂` where `e₁` and `e₂` are identical expressions. We call declarations of this form syntactic tautologies. Such lemmas are (mostly) useless and sometimes introduced unintentionally when proving basic facts using `rfl`, when elaboration results in a different term than the user intended. You should check that the declaration really says what you think it does. -/
-- Mathlib.Order.BoundedOrder
#check OrderTop.ext_top.{u_1} /- LHS equals RHS syntactically -/
#check OrderBot.ext_bot.{u_1} /- LHS equals RHS syntactically -/

/- The `unusedArguments` linter reports:
UNUSED ARGUMENTS. -/
-- Mathlib.Order.BoundedOrder
#check OrderTop.ext_top.{u_1} /- argument 3 A : OrderTop α -/
#check OrderBot.ext_bot.{u_1} /- argument 3 A : OrderBot α -/

Great, thanks!
bors merge


PR: Update splash screen with new logo

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap)

This replaces the current splash screen with the new logo and a design that follows its guidelines. It will also update the About to credit the photographer, but I am waiting on #15762 to avoid a conflict.
Issue(s) Resolved

Fixes spyder-ide/ux-improvements #49
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
isabela-pf

/show binder

Meeting feedback:

[ ] Double check the SVG is loading properly
[ ] Put additional about info on #15762
[ ] Make status text 14px

Hey @isabela-pf, please merge with 5.x to fix the failure in our tests, then this should be ready.


Attach file with context

I would like to attach generated Avatars to some records. The avatar is stored in a Tempfile:
img = Avatarly.generate_avatar(self.name)
temp_file = Tempfile.new("avatar_temp.png", encoding: "ascii-8bit")
temp_file.write(img)

I attach the Tempfile to the records with:  Attacher
attacher = AvatarUploader::Attacher.new(self, :avatar)
attacher.assign(temp_file)

How can I pass a context as well?
In general what's the preferred way to attach a temp-file to a record? Thanks

@janko-m can you help me with this issue? Thanks :slightly_smiling_face:

I was able to set the context directly on the attacher:
attacher.context[:source] = "hello";
attacher.assign(open("https://scontent.cdninstagram.com/..."))
@janko-m  Thanks for this great gem!


setup.py doesn't work in Python 3

execfile is gone.

Need to update tessera_client first.

Re-opened in source repository


RESTful API? (Programatic mass-generation of reports)

Hello there,
Describe the issue
I want to automate the process of generating a couple of reports. The way our Grafana is set up is with multi-tenancy in mind where each tenant (= customer) is represented as an org. Now I have figured out how to utilize provisioning with Grafana and can thus inject the same dashboard variables everywhere, but now I would like to automate the process.
Technically, something akin to this: (pseudo-code for simplicity)
orgs: array[Org] = grafana.getAllOrgs()
renderIds: array[int] = []
for org in orgs {
  dashboards: array[Dashboard] = org.getDashboards()
  for dash in dashboards {
    renderId: int = http.get("http://reporter/render?var-template=${org.name]/${dash.name}").id # 1
    renderIds.push(renderId)
  }
}
awaiters: array[fiber] = []
for id in renderIds {
  awaiters.push(_ => {
    while http.get("http://reporter/status?id=${id}").progress != 100 { # 2
      sleep(1)
    }
  })
}
awaiters.waitForAll()

I would like to know if there is a way to receive something like a JSON object to pick just the ID of the report being worked on.
I know that /overview and /render?report=$id can show the status, but I would like to programmatically get this value. I could parse the HTML, but once it is done rendering, it seems to instead become a redirect. So I wanted to know if there is a "better" way to do that.

Application call

type of call [webservice or single-run]: Webservice in asciidoctor image on Kubernetes
call of reporter [e.g. ruby-grafana-reporter -c myconfig]: See pseudo code above
call of report creation, if running as webservice [e.g. http://localhost/render?var-template=test]: Above

Template file (if applicable)

filename: All of them? :)
relevant part of template file:

n/a

Configuration file

created with configuration wizard version [e.g. 0.3.0 or MANUAL]: I don't know, a collegue wrote the deployment - and I just updated it. Chances ae they used the wizard. It is included as a ConfigMap mounted into the container.
relevant part of configuration file (remember to X-out personal information as e.g. api_key): None specificaly

...

Environment (please complete the following information):

OS [e.g. Windows 10]: Linux, NixOS, amd64
Grafana version [e.g. 6.3.4]: 11.0.0
Environment [e.g. source, gem, docker or windows-exe]:  docker.io/asciidoctor/docker-asciidoctor:1.72
Ruby Version, if source or gem environment [e.g. 2.3.7]: As included in the image.
Reporter version [e.g. 0.3.0]: v0.8.0

Thank you and kind regards!

Nice use-case you are after!
How would you like the REST API to behave? Can you give me some examples?

Sure!
I'll just make the assumption that the REST API lives in it's own path.
POST /api/report?...
* Same query parameters as the regular /report; but it returns a JSON object instead.
Example:
HTTP/1.1 200 OK
{
  "report_id": 950
}

GET /api/progress?id=$report_id
* Returns a JSON object containing the current status.
Example 1: Report is being worked on
HTTP/1.1 200 OK
{
  "error": { "is_error": false, "message": "" },
  "progress": (float or int representing progress)
}
Example 2: Invalid ID, or report is not being worked on at the moment
HTTP/1.1 404 Not found
{
  "error": { "is_error": true, "message": "Report not found" }
}

GET /api/details?id=$report_id
* Returns the details of a finished report.
Example 1: A finished report
HTTP/1.1 200 OK
{
  "error": { "is_error": false, "message": "" },,
  "url": "<url to fetch the finished report>",
  //... other details that the script might have, that could probably be useful.
}
Example 2: Report not done
HTTP/1.1 412 Not Ready
{
  "error": { "is_error": true, "message": "Report not done yet." },
}
Example 3: Report not found
* Take the 404 example from above; same thing :)

DELETE /api/report?id=$report_id
* Stops/cancels a report generation
* Returns 200 OK on success, 404 Not found on unknown report and otherwise 500 where .error.message describes why.

This should cover most things needed and I am just plotting an example here. :) Still, I hope this gives food for ideas!
With that API I could spawn a Go workgroup/-queue with the report IDs and wait untill they are all done and potentially post-process them (i.e. concat them all into one big PDF covering all dashboards for a certain organization/customer).
You think this's doable?
Kind regards!

Hello @divinity666 !
Have you had a chance so far to work on this?
Thank you and kind regards. :)

I investigated several possible solutiont, as well as the integration of an API framework as e.g. grape, but feel that this is too heavy weight for the time being.
I guess I will implement it in a similar way, as the existing webservice.
To come back to your question: I did not start implementing yet.

Glad to hear!
Don't worry; I just asked back because I started putting together a Go client. Sadly my Ruby-fu is not too good, or I'd see if I could help... sorry. :)
Thanks for your work!
Kind regards

This should be available with latest release. Please reopen, if something is missing.

@senpro-ingwersenk , can you please help me out with grafana here, if you don't mind.
I too have a multi-tenant structure in my grafana (organizations) and I'm using the OSS version.
My config file for reportgenerator consists of a service account's token. Now this service account was created from my main organization. When I switch to other organization, I don't find the service account in there.
I have configured the link for the dashboards in other organizations but the reportgenerator is not able to get the data in the reports because it doesn't have the token from that organization. I've looked up in Grafana's doc and I found that RBAC permissions are available only in Cloud/Enterprise version.
The other solution I think to this is that, I can create mutliple containers and mount the token but then I have too many clients. Can you please let me know how you tackled this situation? Much appreciated!

Hello @kyouma24 ,

My config file for reportgenerator consists of a service account's token. Now this service account was created from my main organization. When I switch to other organization, I don't find the service account in there.

This is where your solution lies. You will have to use the BasicAuth authentication method in order to log in and iterate through all dashboards.
See here: https://github.com/senpro-it/grafana-report-generator/blob/master/grafana-client.go#L25-L41
On my end, the account I use is also a "Grafana Server Admin" for what it's worth. It seems that SA Tokens are "per org".
What I did is that I just used that admin account to do... everything. Get all the organizations (which could be filtered by tags), then grab each dashboard's manifest and link them by org.
With that, I just absolutely whallop the reporter with, idk, 80+ requests? I am not exactly there, still fixing the RGR client right now and then moving onward with putting the reports into mails. But basically ... that.
I hope it helped!


Remove redundant python_sources targets

Description
Pants shows a lot of warnings when running pants lint ::
17:47:21.69 [WARN] Unmatched globs from llama-index-integrations/readers/llama-index-readers-google:llama-index-readers-google's `sources` field: ["llama-index-integrations/readers/lla
ma-index-readers-google/*.py", "llama-index-integrations/readers/llama-index-readers-google/*.pyi"], excludes: ["llama-index-integrations/readers/llama-index-readers-google/*_test.py",
 "llama-index-integrations/readers/llama-index-readers-google/*_test.pyi", "llama-index-integrations/readers/llama-index-readers-google/conftest.py", "llama-index-integrations/readers/
llama-index-readers-google/test_*.py", "llama-index-integrations/readers/llama-index-readers-google/test_*.pyi", "llama-index-integrations/readers/llama-index-readers-google/tests.py",
 "llama-index-integrations/readers/llama-index-readers-google/tests.pyi"]

This pr fixes that by removing redundant python_sources targets from pants BUILD files.
This pr also sets unmatched_build_file_globs = "error", so that unmatched globs show up as an error.

@logan-markewich I think the CI is waiting for approval

I'm pretty sure, CI shows an error that doesn't exist
InvalidFieldException: llama-index-integrations/llms/llama-index-llms-litellm/BUILD:5: Invalid field value for 'sources'

But I'm running pants tailor --check :: -docs/:: and it shows everything good

@grihabor hmmm, yea not sure why it shows up on CI and not for you locally.
I do now this specific file has this in line 5:
python_sources(
        interpreter_constraints=["==3.9.*", "==3.10.*"],
)

I know you removed some of these already in the top-level BUILD files for packages, maybe this also needs to be removed?

Are you talking about llama-index-integrations/llms/llama-index-llms-litellm/BUILD? I haven't even changed it in the pr
git diff main --stat | rg llama-index-integrations/llms/llama-index-llms-litellm

Right, you haven't changed it, but that seems to be the file that CI is complaining about 👀

But there is no line 5 in the file:
$ cat llama-index-integrations/llms/llama-index-llms-litellm/BUILD
poetry_requirements(
    name="poetry",
)

I'm pretty sure something is wrong with the CI, the commit hash for https://github.com/run-llama/llama_index/pull/10922/commits/f6aa8677a0ea28f5185b6af322d89d3ae902d347 is wrong:

It looks like CI has merged main into my branch and was running checks on this temporary branch. I've merged main and I could see the problem

@logan-markewich Hi! The pr is ready for merge


Run the mnist notebook in the periodic tests.

Related to: #42

/assign @Bobgy

/lgtm

/lgtm
/approve


Flow allows mutating $ReadOnly objects when using modifier operators

Flow version: 0.97.0
Expected behavior
When defining an object as $ReadOnly, I expect that flow should complain about modifying an object through modifier operators such as ++, += and /=.
It seems to give a false sense of security, especially when used in areas that need to be pure. It isn't intuitive that you are prevented from reassigning o.foo = o.foo + 1 but not o.foo++
Actual behavior
By using modifying operators you are able to change values of an object defined as $ReadOnly
type O = $ReadOnly<{| foo: number, bar: number |}>

const o: O = { foo: 8, bar: 22 }

o.foo++ // Ok

o.foo /= 2 // Ok

delete o.foo // Ok

o.bar = o.bar + 1 // Not ok

See the flow repl for an interactive playground of the above:
https://flow.org/try/#0C4TwDgpgBA8lC8UAkAlCBDAJjAdgGxAB4BvAHygDMB7KgLihwFcBbAIwgCcAaKV9D+kzacopAL4A+AFBQoUgMZUcAZ2BQ6sBFGKUa9ABw8+AqACZTUMVKlUAdNSoBqR9bsOoAekSnrmCHghgaDcaV1tjLTsIxygARiA

Duplicate of https://github.com/facebook/flow/issues/7195

Apologies @goodmind, I had searched the existing issues but hadn't found any results (searching for the operators didn't show any matches)


Android 14 Issue with DFU Update

I am running into an issue with running a DFU Update on an Android 14 device. This is the log of the error.
[DfuBaseService] Starting DFU service in foreground
[CompatibilityChangeReporter] Compat change id reported: 160794467; UID 10371; state: ENABLED
[gralloc4] @set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
[gralloc4] @set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
[AndroidRuntime] FATAL EXCEPTION: IntentService[DfuBaseService]
[AndroidRuntime] Process: com.isspro.ev3_attribute_programmer, PID: 12111
[AndroidRuntime] android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{d6035e4 12111:com.isspro.ev3_attribute_programmer/u0a371} targetSDK=34
[AndroidRuntime] 	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
[AndroidRuntime] 	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
[AndroidRuntime] 	at android.os.Parcel.readParcelableInternal(Parcel.java:4882)
[AndroidRuntime] 	at android.os.Parcel.readParcelable(Parcel.java:4864)
[AndroidRuntime] 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3064)
[AndroidRuntime] 	at android.os.Parcel.createException(Parcel.java:3053)
[AndroidRuntime] 	at android.os.Parcel.readException(Parcel.java:3036)
[AndroidRuntime] 	at android.os.Parcel.readException(Parcel.java:2978)
[AndroidRuntime] 	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7214)
[AndroidRuntime] 	at android.app.Service.startForeground(Service.java:775)
[AndroidRuntime] 	at no.nordicsemi.android.dfu.DfuBaseService.startForeground(DfuBaseService.java:1926)
[AndroidRuntime] 	at no.nordicsemi.android.dfu.DfuBaseService.onHandleIntent(DfuBaseService.java:1153)
[AndroidRuntime] 	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:77)
[AndroidRuntime] 	at android.os.Handler.dispatchMessage(Handler.java:106)
[AndroidRuntime] 	at android.os.Looper.loopOnce(Looper.java:230)
[AndroidRuntime] 	at android.os.Looper.loop(Looper.java:319)
[AndroidRuntime] 	at android.os.HandlerThread.run(HandlerThread.java:67)
It says I am starting a Foreground Service without a type. Is this something I need to declare in the Manifest? I already have the ForeGround Service added in my Manifest, but it seems there has a been a change with Android 14 to need a type as well. Just wondering if anyone knows the exact type to add to fix this issue?

Anyone have updates?

Anyone have updates?

if you don't need the foreground service, you can just disable it.
_dfuInstall.Start(new DfuConfiguration() { DisableNotification = true, Foreground = false });

Anyone have updates?

if you don't need the foreground service, you can just disable it.
_dfuInstall.Start(new DfuConfiguration() { DisableNotification = true, Foreground = false });

DfuConfiguration does not exist in the updated Nuget 1.27.82

Anyone have updates?

if you don't need the foreground service, you can just disable it.
_dfuInstall.Start(new DfuConfiguration() { DisableNotification = true, Foreground = false });

@WanftMoon DfuConfiguration does not exist in the updated Nuget 1.27.82

yeah, you are correct, seems like they changed the lib's surface API. But looking at DFUInstallation, seems like the property is still available. So probably part of it.
have you tried setting it like?
DFUInstallation dfuInstall = new () { DisableNotification = true, Foreground = false }

Anyone have updates?

if you don't need the foreground service, you can just disable it.
_dfuInstall.Start(new DfuConfiguration() { DisableNotification = true, Foreground = false });

@WanftMoon DfuConfiguration does not exist in the updated Nuget 1.27.82

yeah, you are correct, seems like they changed the lib's surface API. But looking at DFUInstallation, seems like the property is still available. So probably part of it.
have you tried setting it like?
DFUInstallation dfuInstall = new () { DisableNotification = true, Foreground = false }

Yeah I have. I saw that it was still in there but can't find a way to access it currently. iOS all works fine with the updated nuget though which is a plus but now this issue has come up

You can pack your own NuGet after making the same change as the PR that I put up a month ago, which would allow you to get around the issue until a new version of the nuget is released.

You can pack your own NuGet after making the same change as the PR that I put up a month ago, which would allow you to get around the issue until a new version of the nuget is released.

Didn't even see that, thanks!


[FEATURE]: Add main.py file to package

Feature description
Based on the documentation the __main__.py file should be used to provide a command-line interface for a package.
The CLI functionality of the package should be improved.

Feature request implemented in #31.


By default, Java client will accept certs signed by LetsEncrypt

Motivation
Similarly to the behavior of web brokers, it would be convenient for Pulsar client library to trust, by default, a set of well known root Certificate authorities.
This will allow applications to not having to configure any "trust store" when connecting to a public Pulsar endpoint where the transport is encrypted with TLS.
If a user passes a trust store file path, the library will only use that file as trust store.
Modifications

Included default-CAs.pem with LetsEncrypt root certificate in the pulsar-common jar.
SecurityUtils will use that when creating a TLS client context
Default CAs will not be used in server context (as that would not make sense to validate a client certificate, since that will never be coming from a root CA).

TODO:

Also add to C++ client

So, after poking around for far too long on this, this works out of the box. Nothing needs to change on the client side (maybe C++ client, I dunno were it gets its certs).
For future reference, when you generate a cert with let's encrypt certbot, you only need to use fullchain.pem and privkey.pem. Privkey needs to be converted to pk8,
openssl pkcs8 -topk8 -inform PEM -outform PEM -in privkey.pem -out privkey.pk8.pem -nocrypt

Then the proxy should be configured only setting the cert and privkey. trusted certs can be left empty.
tlsCertificateFilePath=/home/ivan/pulsar/checkouts/letsencrypt/fullchain.pem
tlsKeyFilePath=/home/ivan/pulsar/checkouts/letsencrypt/privkey.pk8.pem
tlsTrustCertsFilePath=

run java8 tests

@ivankelly I actually changed to the X3 root certs since this is the actual certs used to sign the certificates as explained in https://letsencrypt.org/certificates/
That is also the CA cert bundled in Chrome and Firefox.
I verified this works by doing:
PulsarClient client = PulsarClient.builder()
                .serviceUrl("pulsar+ssl://letsencrypt.org:443")
                .build();

Producer<byte[]> producer  = client.newProducer().topic("test-topic").create();

It's not needed. When you attach the fullchain.pem generated by letsencrypt to the server, the client can connect no problem. I have a test setup you can try. I'll pass it to you offline.

As per @ivankelly mentioned, this is not needed, since Netty will actually use the default JVM CA certs when no CA cert file is passed. The client is already trusting by default certificates for all common CAs as part of that.


Can those code have function to write PR registers?

I did not find any sample use.
Even assign PR[X]=value, the value can not be passed.

yes you can.
PR[] variables are actually SNPX byte array instead of a scalar value (unlike DIO and GIO, thus it's implemented in the extended interface.
var robot = new RobotIF(...); // the basic robot interface instance
var robotx = new ExRobotIf(); // extended robot interface instance
var pos = new Position(...); // the target position
var index = 123; // target PR index
robotx.PR[index] = pos; // write the value

if you do not want to use the extended interface, consult https://github.com/Palatis/Fanuc.RobotInterface/blob/bc8a3689832ead16f1bbde7ec95c12f21dba4e2b/Fanuc.RobotInterface/ExRobotIF.Registers.cs#L42-L66 for how to do that manually.
tedious task, trust me.
there are some limitations about SNPX, writing byte-array to the device is broken into mutiple commands, thus the helper thread is there:
https://github.com/Palatis/Fanuc.RobotInterface/blob/bc8a3689832ead16f1bbde7ec95c12f21dba4e2b/Fanuc.RobotInterface/ExRobotIF.cs#L79-L119


Error running either python3 setup.py install "TypeError: must be str, not NoneType"

I just installed an API pyunicorn and when I import it I get an error. It tells me that it cannot import setup. Therefore, I went to install setup.py. My steps were:
First:
cd /home/user/python-3.7.2/
Second:
python3 setup.py install
or
pip3 install .
It gives the following error:
Obtaining file:///home/user/Python-3.7.2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/marlon/Python-3.7.2/setup.py", line 30, in <module>
        set_compiler_flags('LDFLAGS', 'PY_LDFLAGS_NODIST')
      File "/home/marlon/Python-3.7.2/setup.py", line 27, in set_compiler_flags
        sysconfig.get_config_vars()[compiler_flags] = flags + ' ' + py_flags_nodist
    TypeError: must be str, not NoneType

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/user/Python-3.7.2/

How to solve it?

Hello there, could you please point us to the setup.py script, since it doesn't seems to be pyunicorn's?

Hello,
Thanks for your answer. Here is the scritp:
import sys, os, importlib.machinery, re, optparse
from glob import glob
import importlib._bootstrap
import importlib.util
import sysconfig
from distutils import log
from distutils.errors import *
from distutils.core import Extension, setup
from distutils.command.build_ext import build_ext
from distutils.command.install import install
from distutils.command.install_lib import install_lib
from distutils.command.build_scripts import build_scripts
from distutils.spawn import find_executable
cross_compiling = "_PYTHON_HOST_PLATFORM" in os.environ
Set common compiler and linker flags derived from the Makefile,
reserved for building the interpreter and the stdlib modules.
See bpo-21121 and bpo-35257
def set_compiler_flags(compiler_flags, compiler_py_flags_nodist):
flags = sysconfig.get_config_var(compiler_flags)
py_flags_nodist = sysconfig.get_config_var(compiler_py_flags_nodist)
sysconfig.get_config_vars()[compiler_flags] = flags + ' ' + py_flags_nodist
set_compiler_flags('CFLAGS', 'PY_CFLAGS_NODIST')
set_compiler_flags('LDFLAGS', 'PY_LDFLAGS_NODIST')

The code you provided seems to be a potion of CPython's setup.py.  Normally, your GNU/Linux distribution should already provide a Python interpreter; and the build instruction (just in case one wants to compile it oneself) is available under CPython's README.
However, could you please clarify what you are trying to do and what you expect to happen by executing the script, since it isn't clear what it has to do with pyunicorn?

Thanks for your comment. I just installed the API pyunicorn:
Requirement already satisfied: pyunicorn in /usr/local/lib/python3.6/dist-packages (0.6.1)
Requirement already satisfied: numpy>=1.14 in /usr/local/lib/python3.6/dist-packages (from pyunicorn) (1.15.4)
Requirement already satisfied: scipy>=1.0 in /usr/local/lib/python3.6/dist-packages (from pyunicorn) (1.1.0)
Requirement already satisfied: python-igraph>=0.7 in /usr/local/lib/python3.6/dist-packages (from pyunicorn) (0.8.2)
Requirement already satisfied: texttable>=1.6.2 in ./.local/lib/python3.6/site-packages (from python-igraph>=0.7->pyunicorn) (1.6.2)

But when I import it, have this error:
File "/usr/local/lib/python3.6/dist-packages/spyder_kernels/customize/spydercustomize.py", line 786, in runfile
    execfile(filename, namespace)

  File "/usr/local/lib/python3.6/dist-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/home/marlon/Shift One/Projeto Engie/projeto_engie/testes.py", line 14, in <module>
    import pyunicorn as pu

  File "/usr/local/lib/python3.6/dist-packages/pyunicorn/__init__.py", line 43, in <module>
    from setup import __version__

  File "/usr/local/lib/python3.6/dist-packages/setup.py", line 27, in <module>
    'Topic :: Utilities',

  File "/usr/lib/python3.6/distutils/core.py", line 136, in setup
    raise SystemExit(gen_usage(dist.script_name) + "\nerror: %s" % msg)

SystemExit: usage: testes.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: testes.py --help [cmd1 cmd2 ...]
   or: testes.py --help-commands
   or: testes.py cmd --help

error: no commands supplied

Then I've followed the instructions elsewhere to install setup.py, which seems to be the source of bug.

Given the following import
File "/usr/local/lib/python3.6/dist-packages/pyunicorn/__init__.py", line 43, in <module>
  from setup import __version__

I strongly suggest you to file an issue over pyunicorn to report that

Their setup.py does not install itself to be available for import.
It is conventionally discouraged to install the setup script to site packages and import it.

From the content of your /usr/local/lib/python3.6/dist-packages/setup.py, it is hinted that some other project also tries to do (2) and it might be helpful for them if you file an issue over there as well.  Moreover, you might want to avoid installing packages from PyPI (which are not audited) to your root filesystem: using pip --user might be a safer solution and a virtual environment may even be a better practice.

Hello, thanks for your comment, once again. In a nutshell:
a) the procedure to install setup.py is not correct;
b) the problem is with pyunicorn code.
(?)

setup.py is used to install things, not to be installed, so yes, the issue is with pyunicorn

Thank you so much. I've never thought it would be so hard to use an API. :/

You're welcome.  We humans make mistakes all the time (I'd argue that it is one of the things that makes us humans :smile:), so don't let others' mistake let you down, take it as opportunity to learn from (e.g. about Python packaging in this case :wink:).  In your very case you might want to install an older version (0.6.0.post1) until it gets fixed.

Hey I just fixed it. I have to thank you very much.
The source of error was:
"[T]he line in question is referring to version from the setup.py file [..] doesn't exist in the site-packages package." from https://github.com/pik-copan/pyunicorn/issues/129.
Solution:
I've copied the script in setup.py and remove the line containing  from setup import __version__ by creating a new file __init__py. Then I've removed the old one and replace by the one I've create. And it worked! :D
Happy!


Correction CSVs for Win10 21H1

Guidelines
Where the guidelines in CONTRIBUTING.md followed? Yes
Purpose
Describe the problem or feature in addition to a link to the issues. CSVs for the corrections for Win10 21H1, merged separately to make the resource in a subsequent PR more reviewable. #208
Approach
How does this change address the problem? It corrects the things CIS didn't document. Part of #213 changelog

Can we get a quick summary of this change added to CHANGELOG.md?

We haven't typically edited the change log for the CSVs, I typically update the changelog with the resources these facilitate. Which is ready to go after this is merged.

Thanks for linking to the PR with the CHANGELOG updates.


Sublime text 3 autoprefixer stopped working

Hi,
Before I was able to use the package normally, but for some time it stopped working, here is the error shown to me:
    Autoprefixer
        Error: /home/gcruz/.config/sublime-text-3/packages/Autoprefixer/
        node_modules/get-stdin/index.js:13
              for await (const chunk of stdin) {
                   ^^^^^
        SyntaxError: Unexpected reserved word
          at new Script (vm.js:51:7)
          at createscript (vm.js:136: 10)
          at Object. runlnThisContext (vm.js:197:10)
          at Module._compile (module.js:613:28)
          at Object.Module._extensions..js (module.js:660:10)
          at Module.load (module.js:561:32)
          at tryModuleLoad (module.js:501:12)
          at Function.Module._load (module.js:493:3)
          at Module.require (module.js:593:17)
          at require (internal/module.js:11:18)

npm -v on cmd results: v10.15.3
I've tried to reinstall the package but it does'nt work.

You need to upgrade your Node.js version.


populate bridgeName if inspect cmd is run with --all or --name

#432

Karim did you consider the network mode "host"?
Quickly scanning the code I unfortunately can't tell.
https://github.com/srl-labs/containerlab/blob/62e901c512cc4f8bd54d509065c3fb7ef2b1e8dd/runtime/docker/docker.go#L222-L236

what would be printed in case of host mode ?

I think for now it is ok if it prints nothing (output from the tip of this branch)

the potential improvements are to print host maybe?

yes, there is basically nothing to print, network name is host and was not created by clab --> skip
Instead of writing host under an IP address column, maybe add a column Network Mode or Bridge Name?

Printing host sounds good to me.
Noting is also fine for now, just thought that this case might cause errors, not sure if this would be covered by a test so far.

@karimra to basically normalize it ... thats also a great idea!

I think a column named Network with the potential values makes sense, wdyt?

docker network name if it is a bridged network
host-mode string if it is a host mode networ


[Build] fix travis.yml

References: https://github.com/dashpay/dash/pull/1129 and https://github.com/dashpay/dash/pull/1130
With this fix our builds over at travis-ci.org should work again.
Stole Took some inspiration from several Bitcoin commits from the last couple of months, so a big "Thank you" to the Bitcoin developers.
(BTW, their builds have problems as well right now :-/ https://github.com/bitcoin/bitcoin/pull/9088#partial-pull-merging)

Update: right now I cannot verify whether my fix for testing with wine works or not, because Travis times out while build some the dependencies (which have worked before), so I guess Travis is just under a heavy load.
IMO you can merge this (all other tests run smoothly) and I'll re-check the wine tests for the Windows builds tomorrow or so...

Looks good to me 👍  I'll try to restart windows build job a few times before merging it however to see if the issue persists.

I'll try to restart windows build job a few times

How do you do this without a new commit?
BTW, my first wine commit complained about the headless Travis installation (no $DISPLAY), so I deployed and configured a virtual display for wine.  Would be great if that works, however there are other options as well.

How do you do this without a new commit?

Interesting... I restarted windows build jobs few times for both this (https://travis-ci.org/dashpay/dash/builds/173736623) and no DISPLAY (https://travis-ci.org/dashpay/dash/builds/173679891). The former seems to always fail, the later finishes in ~15-20 minutes, no issues. I guess it's not about heavy load, it's probably some internal travis issue. If that's true and there is no other way to enable win tests I think it's better to remove them/WINE flag/DISPLAY again for now (sorry :)) - always failing tests are meaningless anyway... Same as no tests of course but at least it will be easier to spot common errors via tests on other platforms. That's probably the reason bitcoin got them disabled, haven't check this assumption though.

Interesting indeed. I'll remove the wine testing today after work so we can merge this PR, and after that I'll do more tests with my own Github repository (which is also linked to Travis) to get this resolved.

On my repository all tests are green, here (with the same commit) the Win32 build gets stuck after 3 minutes or so (no error, just stuck), the rest runs fine. As if Travis had issues doing 2 identical builds...
Anyway, @UdjinM6 could you please re-trigger the Win32 build, and if it runs okay, merge?


git repo subDir to contain path

Operating system
osx monterey
Kluctl Version
latest
Kubernetes Version
v.1.24
kubectl Version
v.1.24
Bug description
validation of subDir: some/sub/dir fails
what is the reason the complex subDir path as documented is not valid?
Validation
func ValidateGitProject(sl validator.StructLevel) {
	gp := sl.Current().Interface().(GitProject)
	if strings.Index(gp.SubDir, "/") != -1 {
		sl.ReportError(gp.SubDir, "subDir", "SubDir", "/ is not allowed in subDir", "")
	}
}

Steps to reproduce
deployments:
- git:
    url<EMAIL_ADDRESS>    ref: my-branch
    subDir: some/sub/dir

Relevant log output
allow, subDir: some/sub/dir

---

Here I have question, what is the character of subDir.. is that use for git partial clone? (ie from monorepo style sources) or it's only referred as "path" to search for sources under cloned repo (from repo root)?

I can send MR with fix, but first I would like to know whether that is not in conflict with other logic elsewhere.

This looks like a bug and was clearly not intended. I'll try to fix it in the next days.
Are you able to use a self-compiled version of Kluctl until the fix? If yes, simply remove the check. I most likely intended to do a check for .. in the path.

sure I can
et me test and send simple MR


Add schema to all categoryResource.json

Add category resource schema to all category files, add validation check for schema

Because of the huge amount of owners, we're going to bypass the CODEOWNERS for this change.  no functional changes are occuring, only adding a schema element to files that don't have them.  Just waiting for a travis ci outage to resolve before we merge this.


Example: adding Algolia Docsearch to a Sphinx setup that uses 'sphinx_rtd_theme'

I'm sorry if this isn't the right place to share, but since I struggled quite a bit with getting Algolia DocSearch to work I thought others might appreciate it as a useful example. I initially wrote and shared this as a reply to an issue on the official Sphinx GitHub repo: https://github.com/sphinx-doc/sphinx/issues/3812.
The following configuration works well for a Sphinx 1.8.5 environment with sphinx_rtd_theme version 0.4.3. It's very easy to implement (basically copy-paste everything to the correct places and make sure to add your own <API_KEY> and <INDEX_NAME>):
# -- Options for HTML output ----------------------------------------------

# Load custom stylesheets to support Algolia search.
html_css_files = [
  'algolia.css',
<EMAIL_ADDRESS>]

# Load custom javascript to support Algolia search. Note that the sequence
# defined below (external first) is intentional!
html_js_files = [
<EMAIL_ADDRESS>{'defer': 'defer'}),
  ('algolia.js', {'defer': 'defer'})
]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

The algolia.css file in the _static directory contains the following:
.wy-nav-side { overflow: visible; }
.wy-side-scroll { overflow: inherit; }

And the algolia.js file in the same _static directory contains this:
docsearch({
  apiKey: '<API_KEY>',
  indexName: '<INDEX_NAME>',
  // Replace inputSelector with a CSS selector
  // matching your search input
  inputSelector: '#rtd-search-form input[type=text]',
  // Set debug to true if you want to inspect the dropdown
  debug: false,
  algoliaOptions: {
    hitsPerPage: 8,
  }
});

The above setup makes use of the public crawler that Algolia hosts for free on their servers: https://community.algolia.com/docsearch/dropdown.html. Implementing it based on a crawler that you build yourself shouldn't be much different: https://community.algolia.com/docsearch/run-your-own.html.

Thanks for your comment, hopefully this will help others in the future.
You could consider turning this into a Sphinx extension if you have the time and knowhow.
I'll close this ticket, since there is nothing left to do but keep it readable for posterity.

@boy-vd do you have any thoughts on whether algolia could work on a multi-version site? E.g. we have docs.site.org/en/<version>/ and searches on one version's page should only return results from that same version.

You can use algolia on multi version sides using facetfilters. This is an example docsearch config that labels the search index entries with a version tag. I have also seen config that solve this problem like this
config = {
        "index_name": "name",
        "start_urls": [
            {
                "url": BASEURL + "(?P<version>.*?)/",
                "variables": {"version": versions},
            }
        ],
        ...

You enable facet filters in the docseach js script like this
<!-- at the end of the BODY -->
<script type="text/javascript"<EMAIL_ADDRESS><script type="text/javascript"> docsearch({
apiKey: APIKEY,
indexName: INDEXNAME
inputSelector: '### REPLACE ME ####',
algoliaOptions: { 'facetFilters': ["version:$VERSION"] },
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>

@boy-vd @joleroi I am exploring https://github.com/algolia/autocomplete to create a instant search with autocomplete which shows matching page names and if possible, API classes, methods, etc. that can show up in toctree. Any suggestion how can I populate the source?

Hi sphinx. I'll be seeing ya. This side of the other.


How does cdk-nextjs compare with SST

I've seen multiple comments from one of the main contributors @khuezy recommending the SST library with open-next. In my eyes that is a competing library that shares the same responsiblities as cdk-nextjs, so it makes me wonder if you're planning to deprecate this one in favour of SST. Or do you foresee any situation where using cdk-nextjs is preferrable?
I'm about to start the migration from Vercel to AWS, and would appreciate any guidance in deciding which library to choose.

@revmischa can chime in. We had this discussion on the sst discord. For me personally, I'm using sst's NextjsSite v2, which uses open-next. That library has taken a lot of reference from what Mischa, et all has done. I've been testing and helping out w/ sst's NextjsSite v2 to get it to a stable release. There's still some kinks to fix but it's pretty close to getting released.

I was imagining that after open-next was created, this construct could make use of it and then SST would use cdk-nextjs. Then people could use open-next if they don't use CDK, they could use cdk-nextjs if they don't use SST, or they could use SST.
While Frank and SST have generously built and provided open-next to the community, they understandably are more concerned right now with applying it to SST and not CDK users at large, so open-next is directly used by SST at this point in time.
So our options are to maintain this construct for users of CDK who do not use SST, suggest to anyone that wants to use NextJS with CDK to avail themselves of SST as Mr. @khuezy has taken it upon himself to do, or rewrite this construct to make use of open-next.
Since open-next is still being worked on (my understanding is that next-auth doesn't work with it at present) I am continuing to use cdk-nextjs, but as I am an avid SST user I will probably switch to SST's NextjsSite v2 at some near future date.
If there is interest is using CDK with NextJS without using SST then this module could be useful to some people. Ideally someone would rewrite it to use open-next for building. I am not especially inclined to do this myself.


[Feature] Empty Programming Exercises

Checklist

[x] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Client: I followed the coding and design guidelines.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Resolves #3308
Description

This PR adds support to create empty programming exercises. It adds the "Empty" drop-down item in the programming language list and generates empty template, test, and solution repositories. It also adds a dummy problem statement and a bare-bone build plan for Bamboo and Jenkins
Steps for Testing

Log in to Artemis
Navigate to Course Administration
Click on Generate New Programming Exercise
Select "Empty" from the drop-down list of the programming language
Generate the exercise
Make sure that the template, tests, and solution repositories are created. They should also be empty.

Please delete the empty exercise after finishing testing it.
Test Coverage

BambooBuildPlanService 95%
JenkinsBuildPlanService 99%
programming-exercise-update.component.ts 79.76%
Screenshots

Looks good, worked on TS3. Accessing the repositories only worked by using the 'edit in editor' feature, the links to the repos on bitbucket don't work and the links on the right lead to the course overview page. Since this is the case for every exercsie type for some reason, I don't think it should be your concern in this PR.

It's the same behaviour for other programming languages. I think you need to refresh the page.


Implement query API

Implement a query API to allow users to "discover" the holdings of the AGDC

Verified as implemented in 0.1.0-b20150427 (aka 0.1.0 2015-04-27 snapshot).
The datacube.api.query module support querying for cells via list_cells and datasets via list_tiles with filtering by:

x/y range
satellite
acq date range
dataset type

Refer to the API Python Function Reference and the API Overview.


[AGE Packaging] Bitrock Windows Installer Assets and Readme

Included assets like images, dll, and Readme Instructions for making installer from bitrock XML script

looks good, ready to be merged.

Looks good.


Fix DOUT channel 7 on DAQC2plate

Channel valid test was assuming same digital out channel limit for DAQCplate (has 7) and DAQC2plate (has 8).  Refactored channel valid test to support both boards separately.

Thanks for the fix!


Angle tool starts with 60 degrees

Prerequisites

[X] Which version are you using? (Is it latest?)
[X] Are you reporting to the correct repository?
[X] Did you search existing issues? (Were any related?)

Description
When I test the Angle Tool, it starts with 60 degrees and measure is not the real angle between lines. You can test it here:
https://tools.cornerstonejs.org/examples/tools/angle.html
Steps to Reproduce the issue

When I do Angle Tool in the project's example page.
Then create a new angle.
I see behavior: Angle starts with 60 and the angle between lines is not correct.

Expected behavior: (What you expected to happen)
I expected correct angle between lines.
Actual behavior: (What actually happened)
Angle starts with 60 degrees and the angle between lines is not correct.

Duplicate of #1241

It was closed as fixed


php-intl requirement should be added to composer.json

Related: https://github.com/silverstripe/silverstripe-framework/issues/6627

Closing this as a duplicate of 6627.


Wrapping in different places than Eclipse

I'm moving from Eclipse Luna (4.4.2) to IntelliJ 15.0.4 w/ Eclipse Formatter <IP_ADDRESS>7.0.
I've imported our formatter settings from an XML file exported from Eclipse. Everything seems to be working except certain cases of line wrapping. I've verified that both are using 120 char lines and 4-space indents. I've attached sample files as formatted by each.
In the last method I noticed that Eclipse apparently makes a judgement call to go a couple characters past 120 rather than wrapping. For the others, I think IntelliJ is actually wrapping them in better locations, but I need to maintain consistency with Eclipse for now.
Formatting Samples.zip
Also, a side-by-side diff with Eclipse on the left:

Have you tried to use the 4.4 engine?

It has been introduced by #51 to switch between the 4.4 and 4.5 engine, because 4.5 is not fully backwards compatible

Nice, that took care of it. I was fixated on the JRE version requirement and didn't realize the formatter output changed as well.

You are welcome.


Does latest version support kafa-2.8.0 ?

I downloaded CMAK <IP_ADDRESS>.  After launching Kafka Manager UI, while creating cluster i found that Kafka version dropdown shows till 2.4.0. I'm using Kafka 2.8.0 version. So can i use the same for 2.8.0 as well by selecting 2.4.0 version? Will it cause any issues?

I've been using last year's release (<IP_ADDRESS>) with Kafka 2.6 (Confluent Platform 6.0) cluster for more than a year with no issues seen. Recently upgraded our main clusters from Apache Kafka 1.1.1. to 2.8.1 and CMAK seems to work fine with those too - even if the cluster level was still sitting at 1.1.1.
Then again, we just use CMAK for topic admin and visual checks.


Potential post-MVP refactor

Something I was considering:  why not refactor the API to be as follows:
SSO-requiring/Sybil requiring methods:
Register user -- paramterized with phone #/notification method user submits some SSO/OAuth style callback to server, gets assigned an ID in the backend for IDs, call returns ID + nonephemeral key.
Non-SSO requiring methods:
Add location history to user: parameterized with user ID/user token (authenticated with standard methods for authenticated API usage, e.g. ephemeral keys) + json data -- this location history is added into the encrypted backend, matches on the relevant location/timestamp chunks are returned to the user immediately.
Convert time range to infected:  parameterized with user ID, start time, and end time + standard auth.  Sets the user's data within that time range to be infected, detects all relevant matches, informs them.
The upside of this construction is you don't need to worry about having find-match be sybil attacked, since every match op is tied to specific users.  Heatmaps could be generated by dropping a random user in each chunk (0.5 lat/long on a side, 15 minutes long) and seeing how many infections those users have.

Hi Leor, can you clarify how this maps onto / replaces the current 4 endpoints?

Sure.
Register user is a new API call entirely for user ID generation.
addLocationHistory and convertTimeRangeToInfected together replace the addPersonalData endpoint.
Under this architecture the find-match endpoint is entirely deprecated, matches get found eagerly rather than lazily (i.e. whenever a new user adds data that causes us to note a match, the matched user should be notified)


React prototype

Changes proposed in this PR:
There is a lot here. Please read through everything and note that the following need to be run as part of the deployment:

Run rails db:migrate
Run rails v5:upgrade_5_0 which will add API info to the registry_orgs records for NIH, NSF, NASA orgs and some that have grant ids in Crossref as well
Update and then run the rails v5:enable_v5_pilot with the names of the Orgs you want to be a part of the React prototype pilot
Run enable_v5_pilot:move_dmp_idswhich will move existing DMP IDs from theidentifierstable to theplans.dmp_id` field
Run rails v5:build_narratives to rebuild all of the existing public plans PDF files and store them in ActiveStorage
Run rails v5:seed_dmphub to seed the new DMPHub system with your DMP IDs (if you use the DMPHub and are transitioning to the new system)
Start up the delayed_job daemon (when deploying to a server). This should only run on a single instance if your system is load balanced.

v4 Cleanup

Removed column repositories.custom_repository_owner_template_id
Removed column research_outputs.output_type
Removed column research_outputs.output_type_description

ActiveStorage for Public DMPs:

Added ActiveStorage tables (boilerplate)
Added gems aws-sdk-s3 and active_storage_validations
Updated the PlanExportsController so that it will serve up a copy of a public plan's PDF from the designated S3 bucket when the requestor is not logged in (prevents bots that crawl the site from bogging down the server)
Added narrative to the  Plan model which stores PDF narratives for public plans.
Updated the config/environments/*.rb to use S3 for ActiveStorage (or local disk for development)
Udated config/storage.rb to define S3 bucket

Added Delayed Job

Added delayed_jobs table
Added gems delayed_job_active_record and daemons
Added subscriber_job_status and publisher_job_status to plans and drafts tables.
Added delayed_job and daemons gems so that some of the longer running processes that connect to external content do not bog down the system.
Added a CitationJob to fetch DOI citations asynchronously
Updated the NotifySubscriberJob to work with the new delayed_job framework
Added an OrcidPublisher job to make that piece of DMP registration async
Added a PdfPublisher job that will send the PDF narrative document to the DMPHub asynchronously

React DMP Upload Prototype:

added new column plans.dmp_id to begin storing the DMP ID directly in the plans table
added new columns to the registry_orgs table to store information about how to connect to their external APIs
added a new related_identifiers type called output_management_plan
added a new orgs.v5_pilot boolean field that determines whether or not the user can access the new React prototype pages (user must also be an org admin)
added a new dmphub_auth_url configuration item to the config/dmproadmap.yml file
added a config/initializers/cors.rb to support external comms
new Dockerized development environment
added new gems rack-cors and text
Added a drafts table to store unregistered "in progress" DMPs created by the new React dashboard
Added a hidden_dmps table to support user's indicating that they do not want to see a registered DMP on their dashboard
All of the new JS/SCSS code for the React prototype reside in the react-client directory in the project root
Added API v3 components (controllers, views, presenters) that are meant to support the new pilot testing of the ReactJS DMP Upload forms

/api/v3/me returns the currently logged in user's name and email
/api/v3/contributor_roles returns the list of valid contributor roles
/api/v3/output_types returns the list of valid research output types
/api/v3/related_work_types returns the list of valid related work types
/api/v3/affiliations provides search/typeahead support for affiliation form fields
/api/v3/funders provides search/typeahead support for funder form fields
/api/v3/repositories provides search/typeahead support for repository form fields
/api/v3/awards/nih endpoint used to search the NIH API for projects
/api/v3/awards/nsf endpoint used to search the NSF and NASA API for projects
/api/v3/awards/crossref/*fundref_id endpoint used to search the Crossref Grants API (DOE, etc.) for projects
/api/v3/simulations endpoint which is used to simulate the discovery (by external systems) of related works
/api/v3/citations endpoint to retrieve BibTex citations for a given DOI
/api/v3/drafts Full REST support for creating/updating/deleting Draft DMPs (aka DMPs that have not been registered)
/api/v3/dmps Full REST support for creating/updating Registered DMPs (aka ones with a DMP ID)

Updated the Org_Selectable controller concern to work with new React Org typeahead
Updated the DoiService and DmphubService to allow both Plan and Draft to be sent to the DMPHub for registration/updates.
Added a new DashboardsController that serves up the React content
Updated PlansController to use the new Registrable model concern
Added a new dmp_id_for_display to the DmptoolHelper
Updated the IdentifierHelper to work with the new Registrable model concern
added a new react-application JS asset so that the React pages get a more compact JS file than the standard Rails one
added a Registerable model concern and included it on the Plan and new Draft models. This involved moving some of the functionality that was on the Plan model to the new concern.
Updated v2 JSON to remove newlines and non breaking spaces from larger text fields
Updated the User model to have drafts (used exclusively by the React prototype) and hidden_dmps for when a user opts to no longer see a registered DMP on their React dashboard
Updated Plan children (e.g. Contributor and Answer) to call the NotifySubscriberJob
Updated Presenters and Views to work these changes
Updated existing gem and JS dependencies

I need to clean up these notes for the official release document


Warning: No script asset for HierarchyPreferences. Check that the definition is in a file of the same name.

I installed it via git URL and as a folder import, and this warning keeps appearing.
Tested in Unity 2020.2

Hello there Thane,
I've investigated this and attempted to reproduce this warning appearing, could you provide a screenshot? Is it coming from HierarchyDecorator's files?
Thanks

Hello there Thane,
I've investigated this and attempted to reproduce this warning appearing, could you provide a screenshot? Is it coming from HierarchyDecorator's files?
Thanks

I had this yesterday everytime i installed the plugin, even after restarting Unity. But it seems that after booting my PC up again today, its not there anymore.

I had this yesterday everytime i installed the plugin, even after restarting Unity. But it seems that after booting my PC up again today, its not there anymore.

Okay the warning is back now...
It seems something funky is going on here, i also opened a project i havent touched in weeks, and the settings for Hierarchy Decorator apparently reset themselves. I'm not sure what to make out of this, but here you have a screenshot:

Okay the warning is back now...
It seems something funky is going on here, i also opened a project i havent touched in weeks, and the settings for Hierarchy Decorator apparently reset themselves. I'm not sure what to make out of this, but here you have a screenshot:

Here is a more detailled warning that just appeared in the same project

Here is a more detailled warning that just appeared in the same project

Hello @Thane5,
could I ask, is this the most recent version of HierarchyDecorator?
Currently, I'm reworking some of the systems, as I've been busy elsewhere and I've unfortunately had to leave work on this. So if there's any problems with the current versions I'll instantly get to fixing them.
This may be a problem to do with the AssetDatabase, but I'm curious what's causing it to happen.

Hello @Thane5,
could I ask, is this the most recent version of HierarchyDecorator?
Currently, I'm reworking some of the systems, as I've been busy elsewhere and I've unfortunately had to leave work on this. So if there's any problems with the current versions I'll instantly get to fixing them.
This may be a problem to do with the AssetDatabase, but I'm curious what's causing it to happen.

The package Manager says  0.4.6

The package Manager says  0.4.6

Hmm that's quite interesting, I'll do some investigation and see if I can get this to reproduce. I did attempt yesterday on some blank projects, but I'll see what I can do. It may even be a meta file issue.

Hmm that's quite interesting, I'll do some investigation and see if I can get this to reproduce. I did attempt yesterday on some blank projects, but I'll see what I can do. It may even be a meta file issue.

My bad, turns out this was caused by another script that modifies the Hierarchy window.


Removed mutextes from swgen.Generator

Mutextes (defMux, queueMux, pathsMux) in Generator are no longer necessary because Generator.parseDefInQueue() does not use goroutines anymore.

Coverage decreased (-0.02%) to 91.111% when pulling c1b4ba5371fb7a800bf31c226180c40a669258b6 on sb-lazada:proposed-changes into fac8236f0efa86a12427a3060d56f0f7aa8df9c1 on lazada:master.


Add testing to make sure release version matches deployed version

To avoid further breakages such as  #232 we can add tests to make sure the deployed version is the same as what we're releasing.

@mkolesnik is this something we want to fix before 0.12.0-rc0?

This runs in parallel to the versions themselves so doesnt matter if we fix before or after rc0, but ideally this test should go in sometime sooner rather than later as it will help validate the release against "default image" bump problems.

@mkolesnik is this still relevant?


Integrate the Codecov bash uploader

It may be useful to integrate the Codecov bash uploader into the addin?
/cc @AdmiringWorm

I'm not sure why it would be useful to integrate the bash uploader

I may not be worth it....One use case is, A user is running a build on Travis CI and needs to upload a javascript coverage report in there cake script? Maybe at that point we just have them call the bash uploader directly? Maybe the rare cases are not worth the extra complexity....thoughts? Thanks!

It may be worth it in the long run, but I wouldn't see this as a priority right now.
IMO would be better to wait until the codecov-exe have official support for linux/OS X instead of adding support of the bash uploader.
Or if there is an absolute need for supporting travis until linux support have been added to codecov-exe, then IMO it would be better to add support for codecov-python instead (although I've yet to find a way for it to work inside a cake build script though).

Thanks I like that plan.


default behavior traps in verify email loop

If SSO is configured and new signups are configured to require a verified email, after signup if I attempt to log into the wordpress with lock, I see the following message:

However, I am not sure that the 'login' link is correct here -- the user is already logged in to Auth0, but is prevented from continuing to the wordpress site.  However, if I select 'login', I am sent back to lock, which notices I am logged in to Auth0, and then sends me back to this screen in a loop.
If a logout link were presented instead of a login link, it would allow the user to log out of Auth0 instead of getting trapped in a loop.  There is no other obvious way to log out of the Auth0  I have a patch for this ready to go, but I saw the filter mechanism set up to allow customization of this error message.  I could implement it that way, but it seemed to me like a more sensible default might be a better solution.  Shall I submit a pull request?

I will tackle this. The correct behaviour is to redirect to the logout endpoint before showing this message. This needs a couple of redirection, I will take care as soon as I can.

Excellent, thank you.

Same issue here without SSO.


Leaflet-0.7.3 is not working anymore

I did not make any code changes, but suddenly the map stays white and nothing gets displayed inside the map.
Is the version 0.7.3 supposed to work at the moment?
Has the compatibility for older versions beeing dropped ?

0.7.3 works just fine: https://playground-leaflet.rhcloud.com/suy/edit?html,output
Have you tried using a different version? Using the debug console to check for any errors?

Well, the link shows the error:
Mixed Content: The page at 'https://playground-leaflet.rhcloud.com/runner' was loaded over HTTPS, but requested an insecure script 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js'. This request has been blocked; the content must be served over HTTPS.

Here is a screenshot:
http://i65.tinypic.com/2zswknk.png

I am running chrome browser Version 46.0.2490.80 m

Even if I server leaflet-0.7.3.css and leaflet-0.7.3.js from my own server the tiles get blocked from the browser nevertheless. Here is an error message in chrome:
"Mixed Content: The page at 'https://localhost:8181/...' was loaded over HTTPS, but requested an insecure image 'http://b.tile.osm.org/18/137212/89481.png'. This content should also be served over HTTPS."
This seems to be a design problem. How to solve this without making changes to the browser security settings?

I will close this issue, because map works in version 0.7.3 at the moment when javascript and css gets server over secure connection.
But the browser keeps producing warning messages for all tile images ("Mixed Content"). Maybe this warning will be turned into a error in future which would actually stop it from working.
Thank you for your fast support!

Related discussion can be found here: https://github.com/Leaflet/Leaflet/issues/3186

@leolux Load that example over plain http or allow http scritps on a https page. There's a separate issue all about why the CDN doesn't allow https.
Still, my point stands: 0.7.3 just works.


Allow deploying from tags

Hi,
I'm trying to deploy pages via this action from a workflow started for a pushes, both branches and tags. I configured the branch and tags as protected and the github-pages environment for Deployment branches = Protected branches. First problem: there is no selection of Protected branches and tags.
Interestingly, if I add a branch protection rule matching the tags (v*.*.*), this works - applying the branch protection rule to the tag and thus allowing the deployment via tag-push-triggered workflow.
TL;DR: allow github-pages environment to be updated from (protected) tags, too, and do not apply branch protection rules to tags.

Hello, a good place for this request would be the community forum.


fixes up the crash of type casting

Fixes up the crash of type casting
Description of the changes:

casting navView.MenuItemsSource to IObservableVector fails with exception
cast to ObservableCollection

How changes were validated:

Build passed.
Problem resolved.
Functionalities are back.
CI pipeline is not applicable at current stage.

Hi @hanzhang54 , could you help review this PR? thanks.


SIGSEGV on execute

I can't execute dungeonfs.
Compiling (go get -u -v "git://github.com/ChrisRx/dungeonfs.git/...") went well.  It'd be dungeonfs mount -a /usr/share/dungeonfs/examples/simplelevel/ ... in the case of my AUR package.

Okay, that worked.
But SIGSEGV occurs if:

I use daemon mode with -d
I don't specify the level -a

The second one is logical, because it has no way of knowing where I'm installing the level to (and according to the README there are plans to include the example level in the binary, which would solve this issue).
The first one seems like a different bug related to getting the PID of the daemon process.

That makes sense. But it would be less confusing if the code would show an errormsg instead of a SIGSEGV. For both issues. Like "No level specified" or "dungeonfs binary not found"


Go-to-symbol command not showing well in inline response for accessible view

Testing #213342

Not related to the original TPI, but I noticed that these 'go to symbol' command links look a bit daunting in the accessible view?
I got to this by:

Highlighting some code in inline chat
Sending "explain this"
Using accessible view on response.

Not sure if these links can be improved somehow, or whether this is the best way to expressing them?

good find, we should strip the markdown for inline chat accessible view like we do for the panel chat responses

Should this be seen in Friday's Insider build of VSCode?

Nope, this issue will have the label insiders released tomorrow to indicate that


Update README.md (thirdparty)

Describe your changes
Text adapted:
DragonBones version (For new release strategy, should remove in release +2 aka 2.3)
Replacing the GUI takes too much effort. So stay it there for internal using.
Issue ticket number and link
Checklist before requesting a review
For each PR

[ ] Add Copyright if it missed:
- "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

[x] I have performed a self-review of my code.
Optional:

[ ] I have checked readme and add important infos to this PR.
[ ] I have added/adapted some tests too.

For core/new feature PR

[ ] I have checked readme and add important infos to this PR.
[ ] I have added thorough tests.

I think just mark deprecated, don't specify explicit remove release is better


add hiveadmission certs to git ignore

As part of running Hive locally on kind, a directory is created with certs for hiveadmission. These certs should be ignored by git.

/lgtm

/test integration


[logistics] proposing new labels

@dutran proposing to add two new labels:
modules:c2
and
modules:pt
This would allow for easier tracking of the issues :)
Cheers.

agree


Update for Inkling support

Adding entries for Inkling language support - https://marketplace.visualstudio.com/items?itemName=ms-inkling.ms-inkling

Closing this for now. Will need to submit to Duncan's highlight.js.


Simple-pilist library critical safety concern

There is a safety concern about the simple-plist library, the Github bot is saying that any version is affected.
Link to library:  https://www.npmjs.com/package/simple-plist

Currently there is NO fix to this issue, this security concern will be pined and put on high priority.

UPDATE: Currently there are still no fixes to this bug and will still be kept on high priority.

This has been finished


GPII-4302: Imrove container restart alert

This PR improves existing alert on container restart rate, which would actually almost never trigger (there's very little chance that there will be 3 restarts even if the container is in the CrashLoopBackOfff state due to exponential back-off starting at 10s).
After going through the past monitoring data, alerting on 3+ restarts over 5m seems reasonable. It will catch containers in CrashLoopBackOf and still should not alert if there are 1-2 restarts because of node upgrade.
Changes introduced:

Improve container restart alert

Downtime:
This is a no-downtime change.
Testing:
Testing was done in dev cluster, alert catches failing container.

LGTM but take a look to the terraform fmt.

LGTM


Blazor globalization

Fixes #13435

Directed to the Pre8 staging branch.
In attempting to condense the text, I may have :boom: something. Watch me carefully here. :eyes:
Let's do globalization here first, then I'll roll in the localization bits on a new PR to address the other issue after this is merged to the staging branch.

@rynowak I condensed too much. Try it now ... I put those three back out into their own list.


Typo in an Endpoint preventing application from running

here it should be tags not tag

Go ahead and resolve it @programerr01 ;)


⚠ ClamAV has degraded performance

In 73f109c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 53 ms

Resolved: ClamAV performance has improved in 84fea1b.


Unrecognized storage client

Hi!
Today I updated loki-shell and now the service can not start!
All configuration files remain un-updated, only the binaries have been updated!
Below the output of the command journalctl -xeu loki-shell.service!
nov 19 09:33:54 nusakan loki[79949]: level=info ts=2020-11-19T12:33:54.069878218Z caller=main.go:128 msg="Starting Loki" version="(version=2.0.0, branch=HEAD, revision=6978ee5d)"
nov 19 09:33:54 nusakan loki[79949]: level=info ts=2020-11-19T12:33:54.072371406Z caller=server.go:225 http=<IP_ADDRESS>:4100 grpc=<IP_ADDRESS>:9095 msg="server listening on addresses"
nov 19 09:33:54 nusakan loki[79949]: level=info ts=2020-11-19T12:33:54.072825991Z caller=modules.go:420 msg="RulerStorage is not configured in single binary mode and will not be started."
nov 19 09:33:54 nusakan loki[79949]: level=error ts=2020-11-19T12:33:54.072873352Z caller=log.go:149 msg="error running loki" err="Unrecognized storage client , choose one of: aws, s3, gcs, azure, filesystem\nerror initialising module: compactor\ngithub.com/cortexproject/cortex/pkg/util/modules.(*Manager).initModule\n\t/src/loki/vendor/github.com/cortexproject/cortex/pkg/util/modules/modules.go:105\ngithub.com/cortexproject/cortex/pkg/util/modules.(*Manager).InitModuleServices\n\t/src/loki/vendor/github.com/cortexproject/cortex/pkg/util/modules/modules.go:75\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/src/loki/pkg/loki/loki.go:204\nmain.main\n\t/src/loki/cmd/loki/main.go:130\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1373"
nov 19 09:33:54 nusakan systemd[1]: loki-shell.service: Main process exited, code=exited, status=1/FAILURE

Thanks,
Marcelo Módolo

Hi!
I found Unrecognized storage client after schema upgrade and change my config to add this:
compactor:
  working_directory: /home/me/.cache/loki/boltdb-shipper-compactor
  shared_store: filesystem

My config file:
auth_enabled: false

server:
  http_listen_port: 4100

ingester:
  lifecycler:
    address: <IP_ADDRESS>
    ring:
      kvstore:
        store: inmemory
      replication_factor: 1
    final_sleep: 0s

  chunk_idle_period: 1h
  max_chunk_age: 1h

  chunk_target_size: 1048576
  chunk_retain_period: 30s
  max_transfer_retries: 0

schema_config:
  configs:
    - from: 2020-08-08
      store: boltdb-shipper
      object_store: aws
      schema: v11
      index:
        prefix: index_
        period: 24h

compactor:
  working_directory: /home/me/.cache/loki/boltdb-shipper-compactor
  shared_store: filesystem

storage_config:
  aws:
    s3<EMAIL_ADDRESS>    region: us-east-1 # FIXME Set the correct region
    s3forcepathstyle: true
  boltdb_shipper:
    active_index_directory: /home/me/.cache/loki/index
    shared_store: aws
    cache_location: /home/me/.cache/loki/boltdb-cache
    cache_ttl: 721h to improve performance.
limits_config:
  reject_old_samples: true
  reject_old_samples_max_age: 168h

chunk_store_config:
  max_look_back_period: 0s
  chunk_cache_config:
    enable_fifocache: true
    fifocache:
      max_size_bytes: 52428800

table_manager:
  retention_deletes_enabled: false
  retention_period: 0s

It is working again!
Thanks,
Marcelo Módolo

I really need to figure out how to make github notify my more aggressively, sorry I didn't see this sooner.
I'm super happy you found the issue and sorry I didn't see this sooner.
I just released Loki 2.1 today and there is a fix to explicitly log this with a better message.
Thanks for the issue and follow up, hope you are enjoying loki and loki-shell!


[YUNIKORN-1405] Remove obsolete CLI and ENV parsing

What is this PR for?
Remove obsolete command-line and environment parsing. Also update deployment files to remove references to these values.
What type of PR is it?

[ ] - Bug Fix
[x] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1405
How should this be tested?
Existing unit and e2e tests. This is mostly removal of dead code.
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Test coverage decrease is expected, as the code removed was better-tested than average.


Handle error on wrong token

Is your feature request related to a problem? Please describe.
If you enter the wrong api token daytona returns 500 internal server error.
Describe the solution you'd like
Handle the error to explain the user what happened.
Additional context

/bounty $20

/attempt #727

cancelling my attempt until https://github.com/daytonaio/daytona/issues/763#issuecomment-2239408080

And I'm still not getting the correct file that addresses this issue 🙂
Perhaps if there was a different file to check the token, then that would be easy.
Else:

Need to go like this way 🤣

/attempt #727


feat: port CategoryTheory.Monad.Monadicity

I've merged master, so we have access to allowSynthFailures in the newer lean it depends on.

The synthFailure config didn't seem very useful. Refactored parametered instances into classes as suggested on Zulip.

It does look like the Lean 4 fix that will allow us to keep the parametrized instances may be merged soon (Leo asked for a comment added explaining the patch). I think it's fine to revert the instance design later, in any case, so there's no particular need to wait.

I pushed a few bits of cleanup.
bors merge


Custom key bindings stop working while in SQL Editor tab

System information:

Operating system (distribution) and version: MacOs Mojave v10.14.4
DBeaver version: <IP_ADDRESS>905052017 (but also seen in last several versions)
Java version: 1.8.0_181
Additional extensions: None, N/A

Connection specification:

Database name and version N/A (but Azure MSSQL)
Driver name MS JDBC
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
I have modified key bindings for home/end keys set up on Line End / Line Start command, when 'Editing Text' with Category 'Text Editing' for use in SQL Editor tabs.  These work fine at DBeaver start-up but after running the program for a bit (minutes to days), the key bindings stop working and revert to default.  The bindings still exist in preferences but don't work.
Stopping and restarting the application restores the custom functionality.
Steps to reproduce, if exist:
Issue manifests itself in a SQL Editor tab after application has been open anywhere from minutes to days while editing.  Not able to reproduce on demand until it happens on its own, and then the issue remains until DBeaver is restarted.
Include any warning/errors/backtraces from the logs

No new errors in logs after this happens other than the following at about the same time (though may not be related, and only noticed this today):
2019-05-17 11:24:02.074 - Resource 'meta.org.jkiss.dbeaver.model.DBPObjectWithDescription.description.name' not found in bundle org.jkiss.dbeaver.ext.mssql

I am having the same issue in MacOS Catalina -Keybinding is lost - "Home" and "End" keys won't work.
Steps to reproduce
Open SQL Script Editor. Issue an invalid SQL Statement and execute.

Same exact issue; same keys (home/end remapped to end of line/beginning of line).  Mac Catalina 10.15.6, DBeaver Version <IP_ADDRESS>008021649

Same issue.
I also see the following behaviour:
If I turn on "show key binding when command is invoked" then I can see what command dbeaver thinks is being invoked as I hit it.
I have the following settings:
HOME ->  Start of Line of Text
END -> End of Line of Text
SHIFT+HOME -> Select to start of line of Text
SHIFT+END -> Select to end of line of Text
when using SHIFT/HOME or SHIFT/END in the SQLEditor dbeaver gets it right:

but when I use the HOME or END keys directly it displays the binding that I expect, but the behaviour is wrong (I get end of all text instead of end of line of text).

Appears to continue to be an issue with macOS Big Sur 11.2.3, Version <IP_ADDRESS>104042040

I also have this issue still, on MacOS Catalina 10.15.7 and DBeaver version <IP_ADDRESS>103211229

I have the same issue on MacOS Mojave 10.14.6 and DBeaver Version <IP_ADDRESS>106210813

WA:

Restore DBeaver default key binding.
Download and install "Karabiner-Elements" (https://karabiner-elements.pqrs.org/).
Run "Karabiner-Elements", go to "Complex modifications" > "Add rule"> "Import more rules from the Internet".
Import "Windows shortcuts on macOS".
Back to "Karabiner-Elements", enable imported "Home" and "End" rules (and other rules you may desire).
Open DBeaver.
:sunglasses:

Same issue on macOS, it works for time after startup but then goes back to the default behavior, very strange

See recent (Oct/Nov 2022) discussions in related issue #9414 for what seems so far to be a working work-around to this issue, and clues as to the root cause of this issue in the workbench.xmi dbeaver configuration file.

Still have same issue

Unfortunately this and the related duplicate issues (#9414, #4483) seem to be in ignore mode. The others keep getting the planned fixes added and then removed from releases.
#9414 has a work-around one can cobble together that I've been using, which seems to last a few weeks, then have to do it again, but seems to be the root of the issue.  From my reminder notes:

Issue seems to be caused by duplicate "xmi:id" mapping entries in the Eclipse workbench.xmi file.

When this situation returns, just stop DBeaver, find the bindings entries for both the home/end keys and remove them. Restart. Nothing should need to be re-set or setup again. Should be good for days/weeks, but it will eventually manifest itself again.  Rinse and repeat.
  - keySequence="HOME"
  - keySequence="END"

On Mac: ~/Library/DBeaverData/workspace6/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Example:
Remove these two from workbench.xmi after quitting DBeaver then restart (the IDs and command identifiers will be different. Just look for keySequence END/HOME):
<bindings xmi:id="_iwY1IVi4Ee2xrvDjta-X0g" keySequence="END" command="_FNZBlmHFEeyLzYSG852Qkw">
	<tags>type:user</tags>
</bindings>
<bindings xmi:id="_iwaDQFi4Ee2xrvDjta-X0g" keySequence="HOME" command="_FNZBuGHFEeyLzYSG852Qkw">
	<tags>type:user</tags>
</bindings>

Starting file paths for workbench.xmi for the different OS (full macOS path shown in the example above):
MacOS	~/Library/DBeaverData/
Windows	%APPDATA%\DBeaverData\
Linux	$XDG_DATA_HOME/DBeaverData/ ($XDG_DATA_HOME=~/.local/share if not set)

Possible workaround:
In karabiner add rule:
                    {
                        "description": "DBeaver: home => command+left_arrow; end => command+right_arrow",
                        "manipulators": [
                            {
                                "conditions": [
                                    {
                                        "bundle_identifiers": [
                                            "^org\\.jkiss\\.dbeaver\\.core\\.product"
                                        ],
                                        "type": "frontmost_application_if"
                                    }
                                ],
                                "from": {
                                    "key_code": "home",
                                    "modifiers": {
                                        "mandatory": [
                                        ],
                                        "optional": [
                                            "any"
                                        ]
                                    }
                                },
                                "to": [
                                    {
                                        "key_code": "left_arrow",
                                        "modifiers": ["command"]
                                    }
                                ],
                                "type": "basic"
                            },
                            {
                                "conditions": [
                                    {
                                        "bundle_identifiers": [
                                            "^org\\.jkiss\\.dbeaver\\.core\\.product"
                                        ],
                                        "type": "frontmost_application_if"
                                    }
                                ],
                                "from": {
                                    "key_code": "end",
                                    "modifiers": {
                                        "mandatory": [
                                        ],
                                        "optional": [
                                            "any"
                                        ]
                                    }
                                },
                                "to": [
                                    {
                                        "key_code": "right_arrow",
                                        "modifiers": ["command"]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    }

Still a problem sadly. Home and End key on external keyboards on a MAC is still broken
Solution by MarkA1 did not work for me.
DBeaver	<IP_ADDRESS>402041841	org.jkiss.dbeaver.core.product	null
MacBook Pro M2 16"  2022
Mac OS Sonoma Version 14.3 (23D56)

Unfortunately this and the related duplicate issues (#9414, #4483) seem to be in ignore mode. The others keep getting the planned fixes added and then removed from releases.
#9414 has a work-around one can cobble together that I've been using, which seems to last a few weeks, then have to do it again, but seems to be the root of the issue and this one doesn't require installing/using karabiner, which some are also using for work-around.
From my reminder notes:

Issue seems to be caused by duplicate "xmi:id" mapping entries in the Eclipse workbench.xmi file.
When this situation returns, just stop DBeaver, find the bindings entries for both the home/end keys and remove them. Restart. Nothing should need to be re-set or setup again. Should be good for days/weeks, but it will eventually manifest itself again.  Rinse and repeat.  - keySequence="HOME"
  - keySequence="END"

On Mac: ~/Library/DBeaverData/workspace6/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Example:
Remove these two from workbench.xmi after quitting DBeaver then restart (the IDs and command identifiers will be different. Just look for keySequence END/HOME):
<bindings xmi:id="_iwY1IVi4Ee2xrvDjta-X0g" keySequence="END" command="_FNZBlmHFEeyLzYSG852Qkw">
	<tags>type:user</tags>
</bindings>
<bindings xmi:id="_iwaDQFi4Ee2xrvDjta-X0g" keySequence="HOME" command="_FNZBuGHFEeyLzYSG852Qkw">
	<tags>type:user</tags>
</bindings>

Starting file paths for workbench.xmi for the different OS (full macOS path shown in the example above):
MacOS	~/Library/DBeaverData/
Windows	%APPDATA%\DBeaverData\
Linux	$XDG_DATA_HOME/DBeaverData/ ($XDG_DATA_HOME=~/.local/share if not set)

Same issue
DBeaver <IP_ADDRESS>405191503 org.jkiss.dbeaver.core.product
MacBook Air M3 2024
MacOS Sonoma 14.5

Can we request for a feature instead that allows us to reload the wmi file specifically the keybindings section without restarting dbeaver? If the bug is able to change the behaviour online we should be allowed to change it back too.

Same problem
DBeaver 24.0.5
MacOS BigSur 11.7.10
I tried to uncheck some options for code completion
I have unchecked "Enable experimental features" and "Activate on typing"
It works correctly for me for 3 days now (instead of few minutes after which I need to restart DBeaver)
My configuration now is:

Hope it helps


[Project Suggestion] Add type hinting to firmware code

Project Suggestion
MicroPython supports static type checking (at least up to Python version 3.6). The EuroPi firmware code should add type hinting to help improve static analysis and documentation for IDEs that support it.
Describe your suggestion or idea
By adding type hinting, this will make writing scripts easier by providing the expected type of parameters of the API.
There are no negative side effects for IDEs like Thonny that don't use it.

Type hinting in micropython seems to be the wild west right now:
https://github.com/micropython/micropython-lib/issues/190
It looks like we would need to include a stubs library like https://pypi.org/project/micropython-typing/ if we wanted to support this. So I think that means we'l need to have a better handle on our packaging before we tackle this.
So I think this issue depends on #71

Has type hinting improved since Feb. ? Function hinting at least seems to be supported.

I haven’t looked into it since the 18 release.

I think this has been open and unaddressed long enough that we can close it. If there is a renewed desire to take this on, we can reopen this issue.


DebugInformation property on responses and exceptions

This PR adds a .DebugInformation property on responses & exceptions which acts as the goto diagnosis tool both for devs using NEST and for us maintainers to ask for when we receive a bug report.
Examples
Valid response
Valid NEST response built from a succesful low level call on POST: /project/project/nest-92a78d48/_update?pretty=true&fields=name%2C_source
# Audit trail of this API call:
 - HealthyResponse: Node: http://ipv4.fiddler:9200/ Took: 00:00:00.0105188
# Request :
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Response :
<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

Invalid response from a healthy low level call:
Individual responses can explain why they marked the response as functionally invalid, e.g here the bulkresponse lists the failed responses
Invalid NEST response built from a succesful low level call on POST: /nest-311ded48/_bulk?pretty=true
operation[0]: update returned 404 _index: nest-311ded48 _type: project _id: Turcotte - Langworth _version: 0 error: Type: document_missing_exception Reason: "[project][Turcotte - Langworth]: document missing"
# Audit trail of this API call:
 - HealthyResponse: Node: http://ipv4.fiddler:9200/ Took: 00:00:00.9404774
# Request :
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Response :
<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

Response with exception caught:
Invalid NEST response built from a unsuccesful low level call on GET: /doesntexist/_mapping/project
# Audit trail of this API call:
 - BadResponse: Node: http://ipv4.fiddler:9200/ Took: 00:00:02.0921637
# ServerError: ServerError: 404Type: index_not_found_exception Reason: "no such index"
# OriginalException: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Elasticsearch.Net.HttpConnection.Request[TReturn](RequestData requestData) in C:\Users\Mpdreamz\dev\elastic\coreclr\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 138
# Request :
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Response :
<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

Exception
# FailureReason: BadResponse when trying to GET http://ipv4.fiddler:9200/doesntexist/_mapping/project
# Audit trail of this API call:
 - BadResponse: Node: http://ipv4.fiddler:9200/ Took: 00:00:02.0759486
# ServerError: ServerError: 404Type: index_not_found_exception Reason: "no such index"
# OriginalException: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Elasticsearch.Net.HttpConnection.Request[TReturn](RequestData requestData) in C:\Users\Mpdreamz\dev\elastic\coreclr\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 138
# Request :
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Response :
<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Inner Exception: The remote server returned an error: (404) Not Found.
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Elasticsearch.Net.HttpConnection.Request[TReturn](RequestData requestData) in C:\Users\Mpdreamz\dev\elastic\coreclr\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 138
# Exception:
<stracktrace_trimmed>

Interesting audit trail exception:
This one is from our virtual clustering tests that throws hard Exception's
# FailureReason: Unexpected when trying to POST http://localhost:9201/_search
 - PingFailure: Node: http://localhost:9200/ Exception: Exception Took: 00:00:00
 - PingSuccess: Node: http://localhost:9201/ Took: 00:00:00
 - BadResponse: Node: http://localhost:9201/ Exception: Exception Took: 00:00:00
# Audit exception in step 0 PingFailure:
System.Exception: ping exception
<snip>
# Audit exception in step 1 BadResponse:
System.Exception: boom!
   at Tests.Framework.VirtualClusterConnection.<>c__13`2.<Fail>b__13_0(Exception e) in <snip>
# Inner Exception: boom!
System.Exception: boom!
   at Tests.Framework.VirtualClusterConnection.<>c__13`2.<Fail>b__13_0(Exception e) in <snip>

LGTM :+1:


where is the code about multi-color space?

I can not found them in your repo....

Please check dataset_multi.py


Buy ticket: Logic layer

As a user I want to get the ticket based on my seat and time

[x] UpdateReservation: Makes a reservation for the given seat id and given price, returns a reservation code
[x] GenerateUniqueCode: Generates a unique reservation code for the reservation

UpdateList ipv UpdateReservation