UI misplaced when reloadData() with frozenColumns changed

I have 4 buttons, and when I click one, I'll reloadData...
First I set frozenColumns to be 4, frozenRows to be 1, everything work fine, but when I click one button and reloadData(), set frozenColumns to be 0,  the UI misplaced. The later header and data resource are less than the former one.

Why show this? expect your answer, thx.

When set same frozenColumns, everything is OK!
    func frozenColumns(in spreadsheetView: SpreadsheetView) -> Int { //        return badType == .list ? 0 : 4   // UI misplaced         return 4                            // UI OK     }

When set same frozenColumns, everything is OK!
func frozenColumns(in spreadsheetView: SpreadsheetView) -> Int {  // return badType == .list ? 0 : 4 // UI misplaced  return 4 // UI OK  }

@Smiacter Could you provide a reproducible project? I cannot reproduce the issue yet.

Thanks for you reply, here I wrote a demo that can reproducible the issue.
In the demo, click button2 then click button2, the UI will misplace...
UIMisPlaceIssue.zip

@Smiacter Thank you for the repro case. It should be fixed by https://github.com/kishikawakatsumi/SpreadsheetView/pull/60


I get toastr.min.js not found (failed GET request)

It appears that it tries to load the map file from the wrong location, I changed this on the toastr.min.js to fix the issue:
//# sourceMappingURL=/toastr.js.map
to this (removed the slash):
//# sourceMappingURL=toastr.js.map

Tim ?

Resolved as of https://github.com/CodeSeven/toastr/commit/4a51cce85755036e49ae47dc5269672d159824c4 on master.

fixed. thnks.


chore(main): release 0.9.0

:robot: I have created a release beep boop
0.9.0 (2023-12-12)
Features

Add indicadores subcommand (9f5de05)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kevinah95/hacienda/releases/tag/v0.9.0 :sunflower:


Manage All Languages

Currently, we can use Polyglot to add some custom languages, which is awesome - but I'd love to see the module take the next logical step, and allow complete control of the languages available in a campaign.  For example, the world I'm setting up doesn't have any use for gith, so I'd like to be able to remove it from the available list entirely to reduce clutter.

That will not happen (not by me anyway) because Polyglot is about hiding some texts, not about adding a system independent language manager.
The ability to add 'custom' languages was just because people kept pestering me about it :p I thought of a simple way to do it, but I really don't want to make polyglot more than it currently is.


[stable/redmine] Plugin install

Is this a request for help?:
yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

I can't see any way to install plugins. The only way seems to be entering the container (kubectl/docker exec), put the plugin manually, execute bundle install, etc. but I'm not sure. There must be another more k8s way to do that.
Version of Helm and Kubernetes:
2.13.0 and 1.11.8
Which chart:
stable/redmine
What happened:
Can't install plugins
What you expected to happen:
Have the way to install plugin.
How to reproduce it (as minimally and precisely as possible):
Install Redmine and try to install any plugin.
Anything else we need to know:
May be there must be some init container which tooks the list of plugin urls and installs them?

The process to follow, at this very moment, to install a plugin is very manual and it's summarised in the link below:
https://docs.bitnami.com/installer/apps/redmine/configuration/install-plugins/
There are several alternatives to implement a way to install these plugins automatically.
I think a possible approach is to have a directory where the user can mount the desired plugins (ZIP format) so we add some init logic that detect and install them. This approach would be very similar to the one used on MariaDB chart where the user can include its custom .sql files and they're executed (see https://github.com/helm/charts/tree/master/stable/mariadb#initialize-a-fresh-instance).
I'm creating an issue at the image repo to support this feature in the Bitnami Redmine image, see  https://github.com/bitnami/bitnami-docker-redmine/issues/118

@juan131 Great! Also if you see, for example, kibana chart, there you supply a list of urls of plugins in zip to download and install by init container.

Yes, we can create an initContainer and download/place the ZIP files in the directory I mentioned so Redmine install them when initialising.

@stale Please, wait until https://github.com/bitnami/bitnami-docker-redmine/issues/118 finished ;)

Wait until the changes requested at bitnami/bitnami-docker-redmine#118 are implemented.

/on-hold

/hold


chore: release main

:robot: I have created a release beep boop
@dotcom-reliability-kit/crash-handler: 3.0.3
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^3.1.0 to ^3.1.1

@dotcom-reliability-kit/log-error: 3.1.1
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/serialize-request bumped from ^2.2.0 to ^2.2.1

@dotcom-reliability-kit/middleware-log-errors: 3.0.3
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^3.1.0 to ^3.1.1

@dotcom-reliability-kit/middleware-render-error-info: 3.0.3
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^3.1.0 to ^3.1.1

serialize-request: 2.2.1
2.2.1 (2023-10-10)
Bug Fixes

trim long request URLs (72afa5d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/crash-handler-v3.0.3 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/middleware-log-errors-v3.0.3 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/serialize-request-v2.2.1 :sunflower:


Excel buffer functions

Hi,
Migrating my project I found can't some functions that I used to call with Excel Buffer:

ADDRESS
OverwriteAndOpenExistingExcel
GiveUserControl

Excel buffer functions gonna  be added in next updates?
Thanks,

Hi,
function-expose mean it will be added in future versions? @StanislawStempin
Thanks,

Not necessarily. It will be evaluated by the application team who owns these functions and they will reply back here

Ok perfect.
Thanks,

I cannot find these functions on Table 370 Excel Buffer, maybe you are reffering to a different object?

@rdebath  yes I am looking at 2018.
What do you mean when you say W1? In navision the ADDRESS is only for my country navision version? I check it in Excel and it is a generic function.
Thanks,

@sssolammm I was lloking on the last release and I couldn't find the functions.  We've decided not to go through with your suggestion.


Automated Links not behaving as described

I believe that the description of how Automated Links works is incorrect.
From the links page:

To link to a topic, use reference-style Markdown links, with the referent using the file name (without the file extension).

However the code in _includes/links.html indicates that these links are based on the url field of the page. The url field is derived from the filename and path of the source file but most of the example documentation pages have a permalink specified which overrides the default style. Most permalinks are all the same as the filename, with the addition of the .html extension and / character.
Renaming a markdown file does not break automated links like we would expect it to if the filename if automated links were based on file names. Only changing or removing permalinks will break them.

Good point. The links.html approach requires the permalink to match the file name. The sidebar data file (for example, mydoc_sidebar.yml) manually sets the "url" for each item:
    - title: About the theme author
      url: /mydoc_about.html
      output: web, pdf

Then the links.html file sets the url based on how the sidebar listed it:
{% for folderitem in folder.folderitems %}
[{{folderitem.url | remove: "/"  | remove: ".html"}}]: {{folderitem.url | remove: "/"}}
{% endif %}

But whether that URL will work or not depends on whether the page has a permalink set to that URL. If there isn't a permalink set to the URL, then nothing will appear when someone goes to that link (because the page won't be in the root -- it will be in a subdirectory in the output). I added a note in the links doc that reinforces the permalink requirement. I wrote:

For the automated links method to work, each of your pages must have a permalink property in the frontmatter. The permalink property must match the file name. For example, if the file name is somefile.html, your permalink property would be somefile.html. See Pages for more details.
BTW, what do you think of this approach for automating links?

I think the way of automating links works is fine. I think Jekyll makes links tricky, or I at least haven't found a way to do them that satisfies me. My preference is to have the links based on the name and path of the Markdown file, which is what Jekyll does by default in generating each page's URL.
When I was playing around with version 6 I made this change to links.html, which removes the edge case of pages that you don't want to include in your sidebar or navbar, but want to link to.
{% for page in site.pages %}
{% if page.url != "/" %}
[{{page.url | remove: "/"  | remove: ".html"}}]: {{page.url | remove: "/"}}
{% endif %}
{% endfor %}


Using German Flair for entity recognizer

I am trying to follow the exact same Flair recognizer that was provided in the documentation to be able to use Flair with German as spacy models were not performing very well when it comes to PERSON entities and Flair has better results from my experience. I have not changed anything in the FlairRcognizer class.
then this is the code I have :
flair_recognizer = FlairRecognizer(supported_language="de")
registry = RecognizerRegistry()
registry.add_recognizer(flair_recognizer)
results = analyzer.analyze(text, language="de")

I get the error: KeyError: 'de' in spacy_nlp_engine.py:44
Now I am confused if I should configure an NLP engine. And if so, how would the configuration look?
Thanks

Hi @OnsElleuch,
Presidio requires a spaCy model in every supported language, even if you're using Flair, as spaCy output is used by other Presidio modules (lemmas, tokens etc.).
If you're not interested in the spaCy NER output, I would suggest to use a small German spaCy model, and remove the SpacyRecognizer from the list of recognizers:
configuration = {
    "nlp_engine_name": "spacy",
    "models": [
        {"lang_code": "de", "model_name": "de_core_news_sm"}
    ],
}

# Create NLP engine based on configuration
provider = NlpEngineProvider(nlp_configuration=configuration)
nlp_engine = provider.create_engine()

registry = RecognizerRegistry()
registry.load_predefined_recognizers()
flair_recognizer = FlairRecognizer(supported_language="de")

registry.add_recognizer(flair_recognizer)
registry.remove_recognizer("SpacyRecognizer")

analyzer = AnalyzerEngine(registry=registry, nlp_engine=nlp_engine, supported_languages=["de"])

See more here:

https://microsoft.github.io/presidio/tutorial/05_languages/
https://huggingface.co/spaces/presidio/presidio_demo/blob/b7be871e6a6692ea5945974c891409552889c927/presidio_nlp_engine_config.py#L80

Closing the issue, please re-open if you have other questions


Basic install is generating a permission denied error

I can easily change the permissions on the directory that's causing the problem but I'm not sure that it's the right thing to do.
When we try to run cms:install we get a mkdir error:
appliform@miniserver:~/htdocs/appliform-portal$ rails generate camaleon_cms:install
/home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:252:in mkdir': Permission denied @ dir_s_mkdir - /run/user/1000/spring-1011 (Errno::EACCES)         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:252:in fu_mkdir'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:226:in block (2 levels) in mkdir_p'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:224:in reverse_each'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:224:in block in mkdir_p'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:210:in each'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:210:in mkdir_p'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/env.rb:40:in tmp_path'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/env.rb:49:in socket_path'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/env.rb:53:in socket_name'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/run.rb:26:in connect'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/run.rb:31:in call'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in call'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/rails.rb:24:in call'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in call'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client.rb:30:in run'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/bin/spring:49:in <top (required)>'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in load'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in <top (required)>'         from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'
from /home/appliform/.rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'         from /home/appliform/htdocs/appliform-portal/bin/spring:13:in <top (required)>'
from bin/rails:3:in load'         from bin/rails:3:in '
Should we be giving our dev user access to this directory?
Thanks
Chris

Strangely the logged in use is 1011 not 1000... something must be wrong with the session.  Checking

mmm I think the problem is your folder permissions, because that commnd is simple (copy and create theme/plugin directories)

yea... thanks... but it should not have been using user ID 1000 so the login session is somehow confused.  I'm trying to figure that out now.

it's really bizarre... $uid is definitely 1011 for this user 1000 is another user but it's trying to create in:
/run/user/1000/spring-1011
it should be trying to create in:
/run/user/1011/spring-1011
for some reason XDG_RUNTIME_DIR=/run/user/1000 ... how strange.

just FYI... it's something to do with 'sudo su - that-user'... it does not reset this env variable.  Logging in directly sets properly.
Good to know for future reference.

thanks for sharing!


WIP did:web support

Here's a first pass at getting did:web working. I'm not sure how scalable this approach is for supporting more DID methods in the future, but also not sure if that's planned.
I still need to see if this actually works and add some tests, but wanted to get feedback before going further.

Great, I'll continue on this track then. Unfortunately, I haven't found a better way to handle configuration, I considered doing something like:
TENANT_EXAMPLE_CONF='{"url": "https://example.com", "didSeed": "123abc", "didMethod": "web"}'

And then JSON.parse()ing that, but it wouldn't be backward compatible to current configs and is potentially even more of a mess.

@jchartrand I've updated the README and added some tests, so this should be ready for review now

Nice!! @stuartf we'll take a look!


Visualization of the connections between the tree elements with lines

Assume the tree is structured in such a way that there are various nested categories (nodes). Within these, there are x elements (items). In such cases, users might struggle to clearly understand how the nesting looks beyond a certain depth.
My feature request
Is it possible to draw a line to visually connect one treeview node or items to another? Perhaps such a function could be controlled via the API, e.g., turned on or off?
Benefits for the user
This would make it easier for users to clearly recognize which nodes and items belong together, even in a complex tree structure.
Example

Unless I’m mistaken, this can already be done in CSS, which means that this issue is a stack overflow styled question. We don’t have budget to answer those types of questions.
I’ll reopen this ticket again if you truly can’t solve it on your own, but here’s what I found for you. Please try it and other things you Google. But CSS should let you do it.
https://stackoverflow.com/a/40697360


Adds the ability to name your URLs or IPs in the output

just another array in the config file called hostnames that match to the hosts array.

Hi @doenii it seems like your changes have some linting problems.
Your changes are a good idea, however this is a breaking change for existing users. Changes should always try to give backwards compatibility.
I would suggest to not create a new config option. Instead the hosts array should allow strings, like it is now and objects in the format {url: 'https://github.com/fewieden', name: 'Github Profile'}.
Then there are some checks:

if the hosts entry is a string, then use it as url and name.
if the hosts entry is an object, then use url and name accordingly.
if the hosts entry is an object but doesn't contain name, then use the url for the url and name.

If you need help in implementing this let me know and I try to assist you.

Closing due to inactivity


⚠ Arturia Pendragon Website has degraded performance

In 25be339, Arturia Pendragon Website (https://www.ovh.com/fr/) experienced degraded performance:

HTTP code: 200
Response time: 5590 ms

Resolved: Arturia Pendragon Website performance has improved in 5fb7062 after 10 minutes.


Problem with Roomba i7 since 3.0.11 firmware upgrade

Hello,
I am using this great library in a plugin for the French home automation system Jeedom.
One of my users reported that since his Roomba i7 has been upgraded (in the last week of September) the plugin is no more working and he even unable to retrieve the password (even after trying many times).
For all other users having different robot models (including me) the script is still working great so until now the problem seems limited to i7/i7+
I did a bit of debugging on his system and in fact the problem arise at connection step https://github.com/NickWaterton/Roomba980-Python/blob/master/build/lib.linux-x86_64-2.7/roomba/password.py#L127 because the robot is returning a 104 error connection reset by peer.
After a search it appears that other have the same exact problem see ratsputin comment here https://github.com/home-assistant/home-assistant/issues/27028.

Hello,
It seems they have changed the tls config, like indicated here : https://github.com/NickWaterton/Roomba980-Python/issues/39#issuecomment-538665656
this commit : https://github.com/zhouF96/Roomba980-Python/commit/ede7e95e5b10c7e1d52154815f96098859287365 fix the issue

I have fixed the TLS problem. Let me know if there are still problems.

thx !

Any chance of getting this fix getting published to the pypi.org?

This 'fix' breaks it for me (windows/python37).   Should be TLSv1_2 or just leave it as TLS and tell people to upgrade python to a version where the default of TLS translates into TLSv1_2.


switch to using run_snafu.py

Do not merge or test before snafu PR 50 is merged!
Using this branch I ran a 3-sample multi-operation smallfile test in AWS Ceph cluster.
take out loop for different operations
make operation list a CSV list for run_snafu.py smallfile_wrapper
no smallfile-master dir anymore

I left out the ES env vars in the workload.yml.j2, putting that in.   Seems like this should be common code across benchmarks somehow.

I think it's ready for merge now.  With this CR:
[bengland@bene-laptop ripsaw]$ more ../s.yaml
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
  name: example-benchmark
  namespace: my-ripsaw
spec:
  test_user: bene
  clustername: aws-2009-09-10
  es_server: ec2-18-220-65-133.us-east-2.compute.amazonaws.com
  es_port: 19020
  es_index: ripsaw-smallfile
...

I see these environment variables passed to run_snafu.py:
[bengland@bene-laptop ripsaw]$ oc describe pod smallfile-client-1-benchmark-fb23a1d7-vcwsr | more
Name:               smallfile-client-1-benchmark-fb23a1d7-vcwsr
...
    Environment:
      uuid:         fb23a1d7-6033-5745-92f8-d68a3b28a6e4
      test_user:    bene
      clustername:  aws-2009-09-10
      es:           ec2-18-220-65-133.us-east-2.compute.amazonaws.com
      es_port:      19020
      es_index:     ripsaw-smallfile
...

I also updated the reference CR in resources/crds/ so that people would know how to use elastic search with the benchmark.
I plan to test this with a real OCP cluster as soon as I can get my hands on one, but it loaded ES correctly when I ran it from a container in a CI mode so I don't expect a problem.

/run minikube_jjb

/rerun minikube_jjb

Results for minikube_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
0
00:00:33

test_fiod
Pass
1
00:02:36

test_fs_drift
Pass
1
00:01:03

test_smallfile
Pass
0
00:01:23

test_pgbench
Pass
0
00:02:13

test_iperf3
Pass
0
00:01:43

test_sysbench
Pass
0
00:00:35

test_uperf
Pass
0
00:04:00

test_byowl
Pass
0
00:00:32

/rerun kni_jjb

/rerun minishift_jjb

Results for kni_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for minishift_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Fail
3
00:07:50

test_fiod
Pass
0
00:07:26

test_fs_drift
Pass
1
00:06:39

test_smallfile
Pass
3
00:11:07

test_pgbench
Pass
0
00:04:44

test_iperf3
Pass
1
00:07:53

test_sysbench
Pass
0
00:00:43

test_uperf
Fail
3
00:24:21

test_byowl
Pass
1
00:01:39

do not merge yet, some strange behavior in tests/test_smallfile.sh where it's passing when it should fail.  Am running it in minishift now.   Will commit changes to the test script.

ran tests/test_smallfile.sh successfully on minikube on my laptop.

Results for minikube_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
1
00:00:35

test_fiod
Pass
0
00:02:35

test_fs_drift
Pass
0
00:01:03

test_smallfile
Pass
0
00:01:26

test_pgbench
Pass
0
00:02:11

test_iperf3
Pass
0
00:01:43

test_sysbench
Pass
0
00:00:36

test_uperf
Pass
0
00:04:00

test_byowl
Pass
0
00:00:33

to be clear, I think this is ready for merge, the problem was that I was assuming certain environment
variables and the "samples" parameter would be provided in the CR that run_snafu.py consumes, but tests/test_crs/valid_smallfile.yaml does not provide them.    Since ripsaw is supposed to not require ES or multiple samples, I fixed it so it handles the case where they are not in CR.  Now the kube CI passes.

Results for kni_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
0
00:00:48

test_fiod
Pass
0
00:04:02

test_fs_drift
Pass
0
00:01:33

test_smallfile
Pass
0
00:01:57

test_pgbench
Pass
0
00:01:09

test_iperf3
Pass
0
00:02:09

test_sysbench
Pass
0
00:00:43

test_uperf
Pass
0
00:04:12

test_byowl
Pass
0
00:00:38

Results for minishift_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
0
00:00:36

test_fiod
Pass
0
00:03:10

test_fs_drift
Pass
0
00:01:16

test_smallfile
Pass
2
00:05:36

test_pgbench
Pass
0
00:00:58

test_iperf3
Pass
3
00:09:08

test_sysbench
Fail
3
00:05:10

test_uperf
Fail
3
00:25:05

test_byowl
Pass
0
00:00:36

smallfile passed on all 3 CI types

Since there are now conflicts anyway, will re-examine to ensure that the status code from running smallfile is reflected in the status code returned by the shell script.

  It appears that what's in cloud-bulldozer has changed recently, and I suspect it reverted something that was in snafu PR 50.     Specifically I see nothing in /usr/local/bin/  for softlinks, which ripsaw smallfile now depends on.
latest change you did to smallfile causes a merge conflict, am working on resolving that.    IMO This is a consequence of having snafu be a separate repo from ripsaw - hard to synchronize changes across repos.

I don't have write privs to resolve these conflicts, but I want you to take my version not the master branch version.    @aakarsh can you force that?  Since it passes minikube and kni, this is the last remaining issue here, am I right?  @acalhounRH FYI...

@bengland2 the issue seems to be around https://github.com/cloud-bulldozer/ripsaw/commit/64f4acd1cf9ed167505706a4890f0521c434b095.

@bengland2 i'll just wait for CI once more and if it looks good, will go ahead and merge after you give the green light with the way i merged :)

Results for minikube_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
1
00:00:39

test_fiod
Pass
0
00:02:39

test_fs_drift
Pass
0
00:01:08

test_smallfile
Pass
0
00:01:21

test_pgbench
Pass
0
00:00:54

test_iperf3
Pass
0
00:01:44

test_sysbench
Pass
0
00:00:36

test_uperf
Pass
0
00:03:59

test_byowl
Pass
0
00:00:33

test_hammerdb
Pass
0
00:01:05

Results for kni_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_ycsb
Pass
0
00:01:06

test_fiod
Pass
0
00:03:11

test_fs_drift
Pass
0
00:01:59

test_smallfile
Pass
0
00:01:54

test_pgbench
Pass
0
00:00:59

test_iperf3
Pass
0
00:01:48

test_sysbench
Pass
0
00:00:43

test_uperf
Pass
0
00:04:00

test_byowl
Pass
0
00:00:36

test_hammerdb
Pass
0
00:01:08


Decide what to do with 1.0 and feature gates

Features that are still feature gates at 1.0 will only be available in the nightlies. I guess rosettacode will want to provide versions working with 1.0 of the various tasks, so we will need to decide what to do with the tasks that depend on feature gates.
I don't know if it will it be possible to specify the version (1.0 or latest nightly) directly in Cargo.toml, for instance. Or maybe we should only use 1.0 stable features and keep a separate "nightlies" repo?
For instance, in function_composition, we manually implement a function trait on a named structure, which is probably not going to be un-feature-gated for 1.0.

It's probably about time to talk about this again. I know @pfalabella did some work on this in #385.
Shall we target 1.0?
CC @aochagavia

I think it's good to target 1.0! I guess beginners will learn 1.0 instead of nightly.

I think this choice has been made... We're tracking nightly and keeping feature gates. Closing this

@pfalabella agreed. While we'd like to move towards stable, right now some problems require nightly! :(


simulation setup problem

Hello! I follow the simulation setup and go to step 3. Using the command of "roslaunch unreal_airsim parse_config_to_airsim.launch". But the terminal tells me as follows.
ROS_MASTER_URI=http://localhost:11311

process[config_parser-1]: started with pid [32258]
/home/cita/0project/simulation_exploration_ws/src/unreal_airsim/app/tools/parse_config_to_airsim.py:19: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.target_file_path is "":
[INFO] [1635495743.301164, 0.000000]:
************************************************************************
* Starting config parser for unreal_airsim to AirSim config conversion *
************************************************************************
[INFO] [1635495743.308029, 0.000000]: Read source: '/home/cita/0project/simulation_exploration_ws/src/unreal_airsim/cfg/demo.yaml'
Traceback (most recent call last):
  File "/home/cita/0project/simulation_exploration_ws/src/unreal_airsim/app/tools/parse_config_to_airsim.py", line 279, in <module>
    parser.parse()
  File "/home/cita/0project/simulation_exploration_ws/src/unreal_airsim/app/tools/parse_config_to_airsim.py", line 78, in parse
    self.setup_target_file()
  File "/home/cita/0project/simulation_exploration_ws/src/unreal_airsim/app/tools/parse_config_to_airsim.py", line 192, in setup_target_file
    old_cfg = json.load(json_file)
  File "/home/cita/anaconda3/lib/python3.8/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/home/cita/anaconda3/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/home/cita/anaconda3/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/cita/anaconda3/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
REQUIRED process [config_parser-1] has died!
process has died [pid 32258, exit code 1, cmd /home/cita/0project/simulation_exploration_ws/src/unreal_airsim/app/tools/parse_config_to_airsim.py __name:=config_parser __log:=/home/cita/.ros/log/67c79bd0-388e-11ec-b0a6-a4bb6dc91cb0/config_parser-1.log].
log file: /home/cita/.ros/log/67c79bd0-388e-11ec-b0a6-a4bb6dc91cb0/config_parser-1*.log
Initiating shutdown!
[config_parser-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Could you please give me some suggestion about this problem?

Did you solve that problem?

Hi @citaer and @sz990707
Apologies for the late reply. Apparently this is a python3 problem (code was developed for ROS which uses python2). Do you use python-is-python 3 or similar? We plan to add python3 support in the future.

The issue should be fixed with #26.


bug: templating issue with mistral v0.3

Currently our stop words are hardcoded, need to fix this to make our code work stably with mistral v0.3
Need to test following models before ship them:

[x] mistral:7b-tensorrt-llm-linux-ampere
[x] mistral:7b-tensorrt-llm-linux-ada
[ ] mistral:7b-tensorrt-llm-windows-ampere
[ ] mistral:7b-tensorrt-llm-windows-ada

~$ cortex models start mistral:7b-tensorrt-llm-linux-ampere
{
  message: "Model loaded successfully",
  modelId: "mistral:7b-tensorrt-llm-linux-ampere",
}
~$ cortex chat
Inorder to exit, type 'exit()'.
>> hi there
Hello! How can I help you today? Feel free to ask me anything, from general knowledge questions to fun conversation topics. Is there something specific on
your mind that you'd like to discuss or learn about?

>> tell me about football
Football is a popular sport played around the world with various versions and rules depending on the region. The most widely known version of football is Association Football (also called soccer), which was first codified in England during the mid-19th century by groups such as Sheffield F.C., the Cambridge Rules Conference, and the London FA Cup matches.In association football, teams aim to score goals by propelling a ball into their opponent’s goal using any
part of their body except for arms and hands – except for the goalkeeper within his own penalty area. A standard match consists of two45-minute halves, making up90 minutes of play time plus added injury stoppages. If the game ends in a draw after regular time, it may proceed to extra time periods followed by
penalties if necessary.The FIFA World Cup, held every four years since its inaugural tournament in Uruguay in1930, is considered the premier international
competition in men's association football. There are also several other continental championship tournaments organized by confederations affiliated with FIFA: UEFA Champions League, Copa Libertadores, African Nations Championship, Asian Cup, CONCACAF Gold Cup, among others.Some countries have professional leagues where teams compete for domestic titles throughout the season, while others focus more on national team success at major competitions like the World Cup and Olympic Games. In North America, Major League Soccer (MLS) serves as the top tier league for both male and female players.Other forms of football include Rugby Union and Rugby League, Gaelic games, Australian Rules Football, and American football - each having distinct variations in rule sets but sharing similarities due to originating from early medieval folk games involving kicking a ball between opposing teams.

>> thank you
You're welcome! I'm always happy to help answer your questions. Let me know if you need assistance with anything else. Enjoy learning more about football!

>> exit()
Bye!

$ cortex run mistral:7b-tensorrt-llm-linux-ada
Inorder to exit, type 'exit()'.
>> hi there
Hello! How can I help you today? Feel free to ask me anything, from general knowledge questions to fun conversation topics. Is there something specific on
your mind that you'd like to discuss or learn about?

>> how are you today?
As a model, I don't have feelings, but I am here and ready to assist with any question you may have! If it helps, let's say I feel as good as a well-oiled
machine ;)Now, what would you like to talk about or learn more about today?

>> tell me a short story
Sure thing! Here is a short, lighthearted story for you:Once upon a time in the small town of Sunnyville, lived a young boy named Timmy who loved playing basketball more than anything else in the world. Every day after school, he could be found shooting hoops at his favorite spot behind the old library. One sunny afternoon while practicing his jump shot, an elderly woman approached him. She introduced herself as Mrs. Johnson and asked if she might watch him play since she had never seen anyone shoot so accurately before. Flattered by her compliment, Timmy happily agreed.As they chatted during breaks between shots, Mrs. Johnson shared stories about when she was younger, including tales of her own athletic prowess. It turned out this kindly senior citizen used to hold records for javelin throwing and long jumping in her prime! Intrigued, Timmy listened intently, feeling inspired by her strength and determination. He promised himself then and there that one day he too would make his mark in sports history.Over the next few months, their friendship grew stronger, and together they practiced every day until finally, competition season arrived. At first, things didn’t go according to plan; other players were faster, taller, and seemed to possess innate talents beyond compare. But instead of giving up hope, Timmy remembered the wisdom and encouragement he received from his new friend. With renewed vigor, he focused on improving each aspect of his game – agility, accuracy, speed, endurance - determined not just to win games but also to honor the legacy set forth by Mrs. Johnson.The big tournament eventually came around, and as luck would have it, both Timmy and Mrs. Johnson qualified
for separate events within the same championship weekend. On Saturday morning, they competed side by side in track races; though she couldn't keep pace anymore due to age, seeing her cheering loudly spurred him onward towards victory lane.  The crowd roared as they watched him give everything he had, leaping high above defenders to score point after point. And in those final moments, when all seemed lost and the odds appeared insurmountable, he summoned the very lastounce of energy left inside him...and sank the winning basket!Exhausted yet exhilarated, Timmy embraced his fellow competitors, showering them with praise and gratitude for such an incredible contest. When the dust settled and trophies were distributed, he walked away proud knowing that despite initial failures, hard work and perseverance led him down a path filled with triumph and personal growth.But most importantly, throughout these trials and tribulations, Timmy cherished the bond formed over shared dreams and mutual respect. Forged through sweaty practices and heartfelt conversations, it became clear that true champions aren't defined solely by medals or titles. Instead, it lies deep within our hearts, where compassion, camaraderie, and unwavering spirit reside – qualities exemplified best by none other than Mrs. Johnson.

>> thank you
You're welcome! Let me know if you need anything else.

cortex run mistral:7b-tensorrt-llm-windows-ampere

>> hi there
Hello! How can I help you today? Feel free to ask me anything, from general knowledge questions to fun conversation topics. Is there something specific on your mind that you'd like to discuss or learn about?

>> tell me something cool
Sure thing! Did you know that the Great Barrier Reef is not just one long reef but actually a collection of over2900 individual reefs and900 islands? It stretches for more than1430 miles (over2300 kilometers) off the coast of Australia and is home to an incredible diversity of marine life including corals, fish, sharks, sea turtles, dugongs, and even whales. The reef system supports an incredibly rich ecosystem with around1500 species of fish and36 species of hard coral, making it one of the most biologically diverse places in the world. It's also the largest living structure on Earth, visible from space. Pretty amazing, right?!

>> yes, it is amazing
I'm glad you found it interesting! There are many other fascinating facts out there waiting to be discovered. If you have any other curiosities or would like to chat about different subjects, feel free to let me know. Enjoy learning new things!

>> exit()

cortex run mistral:tensorrt-llm-windows-ada

>> hi there
Hello! How can I help you today? Feel free to ask me anything, from general knowledge questions to fun conversation topics. Is there something specific on your mind that you'd like to discuss or learn about?

>> how are you today?
As a model, I don't have feelings, but I am here and ready to assist with any question you may have! If it helps, let's say I feel as good as a well-oiled machine ;)Now, what would you like to talk about or learn more about today?

>> tell me a short story
Sure thing! Here is a short, lighthearted story for you:Once upon a time in the small town of Sunnyville, lived a young boy named Timmy who loved playing basketball more than anything else in the world. Every day after school, he could be found shooting hoops at his favorite spot behind the old library. One sunny afternoon while practicing his jump shot, an elderly woman approached him. She introduced herself as Mrs. Johnson and asked if she might watch him play since she had never seen anyone shoot so accurately before. Flattered by her compliment, Timmy happily agreed.As they chatted during breaks between shots, Mrs. Johnson shared stories about when she was younger, including tales of her own athletic prowess. It turned out this kindly senior citizen used to hold records for javelin throwing and long jumping in her prime! Intrigued, Timmy listened intently, feeling inspired by her strength and determination. He promised himself then and there that one day he too would make his mark in sports history.Over the next few months, their friendship grew stronger, and together they practiced every day until finally, competition season arrived. At first, things didn’t go according to plan; other players were faster, taller, and seemed to possess innate talents beyond compare. But instead of giving up hope, Timmy remembered the wisdom and encouragement he received from his new friend. With renewed vigor, he focused on improving each aspect of his game – agility, accuracy, speed, endurance - determined not just to win games but also to honor the legacy set forth by Mrs. Johnson.The big tournament eventually came around, and as luck would have it, both Timmy and Mrs. Johnson qualified for separate events within the same championship weekend. On Saturday morning, they competed side by side in track races; though she couldn't keep pace anymore due to age, seeing her cheering loudly spurred him onward towards victory lane.  The crowd roared as they watched him give everything he had, leaping high above defenders to score point after point. And in those final moments, when all seemed lost and the odds appeared insurmountable, he summoned the very lastounce of energy left inside him...and sank the winning basket!Exhausted yet exhilarated, Timmy embraced his fellow competitors, showering them with praise and gratitude for such an incredible contest. When the dust settled and trophies were distributed, he walked away proud knowing that despite initial failures, hard work and perseverance led him down a path filled with triumph and personal growth.But most importantly, throughout these trials and tribulations, Timmy cherished the bond formed over shared dreams and mutual respect. Forged through sweaty practices and heartfelt conversations, it proved far more valuable than any medal ever could. From that moment forward, whenever someone told him "You Can't," he simply smiled and said, "Watch Me."

>> thank you
You're welcome! Let me know if you need assistance with anything else. Have a great rest of your day!


[Issuance] (Q)EAA Credential Offer

We need to define how the credential offer works with auth code flow
the only issue regarding this feature is this
https://github.com/openid/OpenID4VCI/issues/60

See https://github.com/openid/OpenID4VCI/pull/115#pullrequestreview-1749243795


Currently, the latest version of java-saml (2.9.0?) is running 'javax'. However, since our project is called 'jakarta', is there any way to start this?

Currently, the latest version of java-saml (2.9.0?) is running 'javax'.
However, since our project is 'jakarta',
「The type javax.servlet.http.HttpServletResponse cannot be resolved. It is indirectly referenced from required type com.onelogin.saml2.Auth」
This error has occurred.
Is there a way to make it work in jakarta?

See #419

#419 및 #401을 참조하세요

Thanks!!


One intent overrules all the others

Some of my intents are more complex than others (multiple slots, lots of variations) and seem to override the others.
Ex (not the real one because my language is french and my intents are more complex) :
[onPlay]
play music

[onAlarm]
create ( an alarm | a timer | a reminder | ... ) for ( ...multiple datetime variation... ) with music from ( ...lots of artist... )

When I try to recognize a WAV file with play music I get create ...
If I remove the onAlarm intent I get the correct result.
This is probably due to the language model (N-grams) increasing the likelihood of the create word.
Is there something that can be done to avoid having words that completely override others (a limiting factor maybe? some weighting calculation between intents?)

Yes, the problem is exactly what you suspect: n-gram counts are biased towards intents with more possible sentences. I've had this problem since I moved away from generating all possible sentences up front.
The solution should be to modify the initial transition weights in intent.fst that represent each intent (they're labelled with __label__<INTENT_NAME>.  I assume the weight will be picked up by the opengrm toolkit down the line and reflect correctly in the ARPA probabilities.
This is definitely a high priority bug as folks with more complex intents start using Rhasspy!

Using the GrammarFst system should also radicaly reduce the number of possible sentences and help with this issue :)

Intents should now be balanced!

I pulled rhasspy-server:latest but I'm still getting incorrect ASR recognition for intents that start with the same words.
Ex:
playMusic: turn the music on
turnLightOn: turn the light on in ($big-slot){room}
If I reduce the number of variations on a particular intent (one that have a ( <duration> | <datatime> ) ), everything starts to work fine again.
Most of the variations are coming from these "rule based slots" (datetime, number, duration, etc.) but can also come from big custom slots (artist names, song tracks, etc.).


bring_to_front, send_to_back

Hey I'm thinking about adding the bringSubviewToFront and sendSubviewToBack methods to RMQ. Would this file be the place to do it?

Question:  When would you call this?   From an RMQ selection or from a styler?
If your syntax is something like this:  rmq(UILabel).to_front then I'd say yes.

I'd say rmq(my_view).to_front.

+1, make is so. And yeah Carlin, that file would be good. Actually the subviews file would be better as you're actually moving subviews around.

:+1: @carlinisaacson, make this happen Monday! :)


added ctime() code in time.java

Implementing ctime() from time.py(standard library) in time.java .

ping ping @eliasdorneles  :-p

Thanks @prithvisingh18, merging !! :tada:


Live OCR IOS Simplified

Hello @khjde1207
I have moved Major Code from Swift to Dart to simplify the process.
Now in IOS SwiftyTesseract is Initialized Once, for changing Language seperate function is introduced.
Camera Image being convert into jpeg format at Dart end than send to Swift  Uint8List format where it passed to UIImage to perform OCR.
Please check and merge.

thanks
In Android, an Index out of range error occurred when calling fromBytes.
i couldn't find a solution
live ocr supports only ios

Can you push your working in Dev branch So I may have a look.
thanks.


Issue #332 Add test story to deploy local image

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please


Delete LICENSE

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

Thanks but this doesn’t seem right. React Native uses the MIT license and we have to share this license file.


Update terraform-version to 1.7.3 from V.R.M, 1.6.6

Doing in https://github.com/ZOSOpenTools/terraformport/pull/6


I am making a mssql-jdbc plugin

Which module is your feature request related to?
mssql-jdbc plugin
Is your feature request related to a problem?
It can profile mssql-jdbc connection, query and bindvalue.
Describe the solution you'd like
I'm making now
Describe alternatives you've considered
I have seen that the mssql-jdbc module is profiled, but I need to supplement some features.
and I would also like some help how to  write test code.

Additional context
The code is not complete, but I wonder if I can pull a request for code review.
Plus, the code for ServiceType is

MSSQL_JDBC 2250
MSSQL_JDBC_QUERY 2251

The existing mssql jtds are 2200, 2201.  mssql-jtds code

@gwagdalf Hello~
UNDEFINED problem

It seems that the plugin is not deployed to the web and collector.
/pinpoint/plugins/assembly/pom.xml  <- Add mssql dependency to this file

@gwagdalf Hello~
Can I know which version of Microsoft JDBC Driver is supported by mssql-plugin?
To set a minimum JDK version of msql-plugin, Microsoft JDBC Driver version is required.
eg) 7.0.0~, 7.4.x
https://docs.microsoft.com/en-us/sql/connect/jdbc/system-requirements-for-the-jdbc-driver?view=sql-server-ver15
// kor link
https://docs.microsoft.com/ko-kr/sql/connect/jdbc/system-requirements-for-the-jdbc-driver?view=sql-server-ver15
7.0.0

JAR
JDBC Version Compliance
Recommended Java Version
Description

mssql-jdbc-7.4.1.jre8.jar
4.2
8
Requires a Java Runtime Environment (JRE) 1.8. Using JRE 1.7 or lower throws an exception.New Features in 7.4 include: JDK 12 support, NTLM authentication, and useFmtOnly.

mssql-jdbc-7.4.1.jre11.jar
4.3
11
Requires a Java Runtime Environment (JRE) 11.0. Using JRE 10.0 or lower throws an exception.New Features in 7.4 include: JDK 12 support, NTLM authentication, and useFmtOnly.

mssql-jdbc-7.4.1.jre12.jar
4.3
12
Requires a Java Runtime Environment (JRE) 12.0. Using JRE 11.0 or lower throws an exception.New Features in 7.4 include: JDK 12 support, NTLM authentication, and useFmtOnly.

6.4.0

JAR
JDBC Version Compliance
Recommended Java Version
Description

mssql-jdbc-6.4.0.jre7.jar
4.1
7
Requires a Java Runtime Environment (JRE) 7.0. Using JRE 6.0 or lower throws an exception.New Features in 6.4 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use.

mssql-jdbc-6.4.0.jre8.jar
4.2
8
Requires a Java Runtime Environment (JRE) 8.0. Using JRE 7.0 or lower throws an exception.New Features in 6.4 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use.

mssql-jdbc-6.4.0.jre9.jar
4.3
9
Requires a Java Runtime Environment (JRE) 9.0. Using JRE 8.0 or lower throws an exception.New Features in 6.4 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use.

I'd checked it works in-house applications with mssql-jdbc-7.0.0.jre8.jar.
In addition, I'll try to write mssql-it code by referring to mariadb-integration-test-code.
https://github.com/naver/pinpoint/tree/master/agent-it/src/test/java/com/navercorp/pinpoint/plugin/jdbc/mariadb

I can't run mariadb integration test. and also can't run any other integration-test class either.
ex : https://github.com/naver/pinpoint/blob/master/agent-it/src/test/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/MariaDB_2_4_x_IT.java
The error message is:
"C:\Program Files\Zulu\zulu-8\bin\java.exe" -ea -Dpinpoint.profiler.profiles.active=run-integration-test -Dfile.encoding=UTF-8 -Didea.test.cyclic.buffer.size=1048576 -javaagent:C:\Users\hgwag\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.5233.102\lib\idea_rt.jar=52961:C:\Users\hgwag\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.5233.102\bin -classpath C:\Users\hgwag\AppData\Local\Temp\classpath1850343592.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 com.navercorp.pinpoint.plugin.jdbc.mariadb.MariaDB_2_4_x_IT

Command: [C:\Program Files\Zulu\zulu-8\bin\java.exe, -Xmx1024m, -XX:MaxPermSize=512m, -cp, , -javaagent:C:\git19\ecosystem\_pinpoint\gwagdalf-pinpoint\agent-it\.\..\agent\target\pinpoint-agent-2.0.0-SNAPSHOT\pinpoint-bootstrap-2.0.0-SNAPSHOT.jar=AGENT_TYPE=PLUGIN_TEST, -Dpinpoint.agentId=build.test.0, -Dpinpoint.applicationName=test, -DmavenDependencyResolverClassPaths=, -DtestLocation=C:\git19\ecosystem\_pinpoint\gwagdalf-pinpoint\agent-it\target\test-classes, -DtestClazzName=com.navercorp.pinpoint.plugin.jdbc.mariadb.MariaDB_2_4_x_IT, -Dpinpoint.profiler.profiles.active=run-integration-test, -Dfile.encoding=UTF-8, com.navercorp.pinpoint.test.plugin.shared.SharedPinpointPluginTest, mariadb-java-client-2.4.2:child:8=org.mariadb.jdbc:mariadb-java-client:2.4.2;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.5.1:child:8=org.mariadb.jdbc:mariadb-java-client:2.5.1;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.4.3:child:8=org.mariadb.jdbc:mariadb-java-client:2.4.3;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.5.2:child:8=org.mariadb.jdbc:mariadb-java-client:2.5.2;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.4.4:child:8=org.mariadb.jdbc:mariadb-java-client:2.4.4;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.5.3:child:8=org.mariadb.jdbc:mariadb-java-client:2.5.3;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.4.0:child:8=org.mariadb.jdbc:mariadb-java-client:2.4.0;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.4.1:child:8=org.mariadb.jdbc:mariadb-java-client:2.4.1;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;, mariadb-java-client-2.5.0:child:8=org.mariadb.jdbc:mariadb-java-client:2.5.0;ch.vorburger.mariaDB4j:mariaDB4j:2.2.2;]
CommandSize: 1744

Error: Could not find or load base class com.navercorp.pinpoint.test.plugin.shared.SharedPinpointPluginTest

could you help me how to run agent-it?
I don't know how to run agent-it test, so I can't start mssql-it.
In addition, the following error (Address already in use)  occurs when debugging Intellij.

Error: Could not find or load base class com.navercorp.pinpoint.test.plugin.shared.SharedPinpointPluginTest

Build seems to be something wrong. Try to build again

Address already in use

ItTest creates a child process for the Agent attatch. The debug port seems to be in use during process creation.
Make sure you are using 510 port

To debug ITTest, you must attatch the RemoteDebugger.


Update Dependencies

Thanks for your work on the crate! Recently Cargo started to warn about future incompatibilities because of outdated dependencies (in particular bindgen in -sys). Would you mind updating them and releasing a new version or do you accept PRs?

Released soapysdr-sys 0.7.4 with the bindgen dependency updated to 0.64. This seemed to be the only dependency with a semver-incompable newer version available, but if you see anything else, a PR would be great.

Perfect, thanks!


Remove hardwired return type in ExecuteScriptCommand

ExecuteScriptCommand return type should be generic. This PR removes the hardwired return type, pushes it up to Program.cs and passes generic type.

Can you explain your use case?


useAxios - async chaining?

Hi there, is there any way how to utilize more useAxios hooks and put them in a chain? How to do that? Thank you!

Can you show me an example? Thanks

Well I'd like to await the response from one useAxios hook and use the response as a an argument for the other

Maybe you can consider using https://vueuse.js.org/?path=/story/utilities--useasyncstate which will give you more controls to async behaviors.

Closing for stale.


Variant calling fails with [ti_index_core] the chromosome blocks not continuous

speedseq somatic -v fails with following output:
Calling somatic variants...

    create temporary directory

    /opt/speedseq//bin/freebayes -f /opt/vcp_files/human_g1k_v37.fasta \
        --pooled-discrete \
        --min-repeat-entropy 1 \
        --genotype-qualities \
        --min-alternate-fraction 0.05 \
        --min-alternate-count 2 \
        --region $chrom:$start..$end \
        /bamdir/126_normal.bam /bamdir/126_1.bam \
        | somatic_filter 10 18 0 \
        > /workdir/126_1.$chrom:$start..$end.vcf

    cat /workdir/var_command.txt | /opt/speedseq//bin/parallel -j 32

    grep "^##" /workdir/126_1.MT:12136..12498.vcf \
    | cat - <(echo '##INFO=<ID=SSC,Number=1,Type=Float,Description="Somatic score">') <(grep "^#CHROM" /workdir/126_1.MT:12136..12498.vcf) > /workdir/header.txt

    cat /workdir/126_1."$chrom:$start..$end".vcf | grep -v "^#" \
        | sort -k1,1 -k2,2n | cat /workdir/header.txt - \
        | /opt/speedseq//bin/bgzip -c > /workdir/126_1.vcf.gz

    /opt/speedseq//bin/tabix -f -p vcf /workdir/126_1.vcf.gz
[ti_index_core] the chromosome blocks not continuous at line 1567, is the file sorted? [pos12247310]

The vcf file is indeed not correctly sorted. The problem seems to be related locale settings:
$ env | grep LANG
LANG=en_US.UTF-8
$ sort --help
<snip>
 *** WARNING ***
The locale specified by the environment affects sort order.
Set LC_ALL=C to get the traditional sort order that uses
native byte values.
<snip>

I suggest setting LC_ALL=C in SpeedSeq to avoid issues with different locale settings.

thanks for the report, I can't actually replicate the error on my system, but have added LC_ALL=C with https://github.com/hall-lab/speedseq/commit/a95704a25d1f6b5dc65489a1e38b2b734215f97f, so hopefully that fixes it


Give the possibility to "retry from" after an error

Example:

you forgot to delete the openshift app before (on a free cluster)
you start the launch process and it will fail after creating the github repository
[New possibility] From there, you have the possibility to delete the app yourself, then go back to the wizard and click on "retry"

You just saved yourself the deletion of the git repository and a new wizard process.

Well we do already support retries in the backend AFAIK. We had them in the old Launcher after all. So I'm not sure if this is a backend issue or a frontend one.

@quintesse should I move this to planning then?

That's probably a good idea yes. In general I'd use planning for cross-project issues and things that might need discussion or design and leave the project issue trackers for very technical stuff and implementation details.

moved to https://github.com/fabric8-launcher/launcher-planning/issues/164

Was moved. Closing.


updating placeholder value

Description
[Please include a brief description of the changes or features added]
Related Issues
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

Closes #

Type of PR

[x] Bug fix
[x] Feature enhancement
[x] Documentation update
[x] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

Updating placeholder value

@Sagar-Arora-eng You need to open an issue and get assigned!
Thanks for your effort but existing placeholders are fine !


Newly disallowed URNs when adopting AWS v6

A user reported getting new errors after updating to AWS v6 related to URNS:

aws:ssoadmin:ManagedPolicyAttachment sso-permission-set-admin-attachment-arn:aws:iam  error: URN 'urn:pulumi:production::i2::aws:ssoadmin/managedPolicyAttachment:ManagedPolicyAttachment::sso-permission-set-admin-attachment-arn:aws:iam::aws:policy/AdministratorAccess' is not valid

This URN indeed is "invalid", as it has a :: inside the resource name part of the URN sso-permission-set-admin-attachment-arn:aws:iam::aws:policy/AdministratorAccess.  However, it appears this did not cause any issues in AWS v5, and newly errors in V6.  This error appears to be coming from the tf-bridge muxer.
A few questions:

Should we still be supporting this URN for existing working programs?
If not, we should include in breaking change list
Also, how does a user upgrade if they are in this state?

3. Also, how does a user upgrade if they are in this state?

I thought we'd be able to work around this by renaming the resource with a pulumi.Alias while still using v5 of the provider, and then go in for the upgrade with a properly named resource. Unfortunately pulumi.Alias rejects the old name due to its invalid URN:
invalid alias URN: invalid URN "sso-permission-set-admin-attachment-arn:aws:iam::aws:policy/AdministratorAccess"

So we had to resort to manual stack surgery to in-place rename the existing resources with the invalid :: resources. A bit scary, but it worked!

The changes in https://github.com/pulumi/pulumi/pull/14107 are likely to fix this by making this style of name legal.

Having a quick look here.  I can reproduce on 6.13.0 with this program:
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

// // Create an AWS resource (S3 Bucket)
// const bucket = new aws.s3.Bucket("sso-permission-set-admin-attachment-arn:aws:iam");

// // Export the name of the bucket
// export const bucketName = bucket.id;

const user = new aws.iam.User("user", {});
const assumeRole = aws.iam.getPolicyDocument({
    statements: [{
        effect: "Allow",
        principals: [{
            type: "Service",
            identifiers: ["ec2.amazonaws.com"],
        }],
        actions: ["sts:AssumeRole"],
    }],
});
const role = new aws.iam.Role("role", {assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json)});
const group = new aws.iam.Group("group", {});
const policyPolicyDocument = aws.iam.getPolicyDocument({
    statements: [{
        effect: "Allow",
        actions: ["ec2:Describe*"],
        resources: ["*"],
    }],
});
const policyPolicy = new aws.iam.Policy("policyPolicy", {
    description: "A test policy",
    policy: policyPolicyDocument.then(policyPolicyDocument => policyPolicyDocument.json),
});

const test_attach = new aws.iam.PolicyAttachment("bad::name", {
    users: [user.name],
    roles: [role.name],
    groups: [group.name],
    policyArn: policyPolicy.arn,
});

  aws:iam:PolicyAttachment (bad::name):
    error: URN 'urn:pulumi:dev::aws-3027::aws:iam/policyAttachment:PolicyAttachment::bad::name' is not valid

Testing RC from main branch that incorporates 14107.

This is indeed fixed on master with https://github.com/pulumi/pulumi-aws/commit/c0922002cc410affbfc88ec213f4496c38097488
We'll be releasing an updated provider shortly and I will close then.


eos auth refactoring

save activation info in local storage instead of component state
show account name on first login instead after activation
ask private key for active permission instead of master private key

Activate = Buy account
Use another = Register


Add HowTo for CONTRIBUTING.md

I have copied the html comments from the existing CONTRIBUTING.md template and created a How To guide for completing the template.
Preview available at https://deploy-preview-164--cncf-contribute.netlify.app/maintainers/github/templates/required/contributing/
The corresponding PR to the template is https://github.com/cncf/project-template/pull/23

looks good.
/approve


[FEATURE] Python 3.12 types support

Problem:
python 3.12 valid syntax such as type vec2 = np.ndarray[(2,), float] is detected as a SyntaxError by pycln, although it is not.

Hey @hippalectryon-0, could you confirm that the master branch fixes this problem please?
Thanks.

I get error: cannot format temp.py: Cannot parse: 3:5: type vec2 = np.ndarray[(2,), float]


Adds settings TLS config for MQTT

Closes #32
Adds the option to optionally set a CA file to be used in the MQTT
setup.

Roughly based on https://forfuncsake.github.io/post/2017/08/trust-extra-ca-cert-in-go-app/

Pull Request Test Coverage Report for Build 114

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 111:
0.0%

Covered Lines:
73

Relevant Lines:
73

💛  - Coveralls

Testing on unipi.lan:
~/Projects/go/src/github.com/mhemeryck/modbridge(32-mqtt_tls ✔) ./dist/linux_amd64/modbridge --cafile ~/Projects/mqtt_certs/ca.crt
2018/11/09 23:17:16 2018-11-09T23:17:16+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:19 2018-11-09T23:17:19+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:22 2018-11-09T23:17:22+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:23 2018-11-09T23:17:23+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:24 2018-11-09T23:17:24+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:24 2018-11-09T23:17:24+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:25 2018-11-09T23:17:25+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:26 2018-11-09T23:17:26+01:00  -  trigger for digital-input-2-1
2018/11/09 23:17:27 2018-11-09T23:17:27+01:00  -  trigger for digital-input-2-1

Works A-OK
Noted an issue on the M303 where it was no longer using the user-space modbus TCP server. Apparently, it got renamed to unipi_tcp_server instead of neuron_tcp_server. Latest neuron also seems to use the new version.
Anyway, I'd like to investigate the option of polling the sysfs file system instead anyways ...


Run inside a Docker container

It took me forever to figure out, why this action doesn't work if I run the whole workflow inside a container.
The problem is that the Github Action somehow changes/sets the HOME variable inside the container so that the ~/.ssh/known_hosts file is at a wrong location.
This action puts the Github PubKeys inside ~/.ssh/known_hosts which is in the home path of the runner. But the running container normally runs as root so ssh looks for /root/.ssh/known_hosts which doesn't exist.
Copying the known_hosts to this location if the workflow is running inside Docker solves the problem. As I am a total Node noob I just played around with the dist/index.js file, but putting the following snippet after creating the known_hosts file the SSH agent also works inside docker:
    if(fs.existsSync('/.dockerenv') && child_process.execFileSync('id', ['-u']).toString().trim() === '0') {
        fs.mkdirSync('/root/.ssh', { recursive: true});
        fs.copyFileSync(`${homeSsh}/known_hosts`, '/root/.ssh/known_hosts');
    }

I'm not sure if that somehow breaks running the action in Windows because in Windows there is no id command. But that shouldn't be a problem because Github Actions currently doesn't allow running non-Linux containers. Also, I don't know if the root check is even necessary because probably all containers run as root.
Would it be possible to add this snippet to your action so Docker users can also use it? :)

Does it work if we put the keys into /etc/ssh/known_hosts?
That should be the system (not user specific) file and we could get around all attempts to detect the user and/or HOME.

Correction: That file might be  /etc/ssh/ssh_known_hosts, we might need to check both.

Right, it also works if I try /etc/ssh/ssh_known_hosts but we'd also have to check if the user is root or has write permission on that file.

Hi Are there any updates on this? I'm about to roll out github actions to ~20 packages so it would be nice if I can skip the mkdir -p /root/.ssh; ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts part. Thanks!

No progress, I’m afraid. This is open source, so we place the utmost reliance upon the zealous cooperation of the public.
If, however, you can provide a pull request, I’d be happy to review it!
What if we try to write to both known_hosts file locations, ignoring errors?
Would that solve it?

I am experiencing the same issue but not when running in a container.

This problem is due to the way that github mounts their containers .... the HOME env variable is mis-matched to the actual home directory, I would propose a simple one line change for an input variable to override the detected home variable.
the reason  @rieschl 's solution works is it just outputs the known hosts to /root/ whereas your solution uses the ENV or the equivalent of ~/  which in the case of a service container maps to /github/home  which is as they say .... no good 😄

It took me forever to figure out, why this action doesn't work if I run the whole workflow inside a container.
The problem is that the Github Action somehow changes/sets the HOME variable inside the container so that the ~/.ssh/known_hosts file is at a wrong location.
This action puts the Github PubKeys inside ~/.ssh/known_hosts which is in the home path of the runner. But the running container normally runs as root so ssh looks for /root/.ssh/known_hosts which doesn't exist.
Copying the known_hosts to this location if the workflow is running inside Docker solves the problem. As I am a total Node noob I just played around with the dist/index.js file, but putting the following snippet after creating the known_hosts file the SSH agent also works inside docker:
    if(fs.existsSync('/.dockerenv') && child_process.execFileSync('id', ['-u']).toString().trim() === '0') {
        fs.mkdirSync('/root/.ssh', { recursive: true});
        fs.copyFileSync(`${homeSsh}/known_hosts`, '/root/.ssh/known_hosts');
    }

I'm not sure if that somehow breaks running the action in Windows because in Windows there is no id command. But that shouldn't be a problem because Github Actions currently doesn't allow running non-Linux containers. Also, I don't know if the root check is even necessary because probably all containers run as root.
Would it be possible to add this snippet to your action so Docker users can also use it? :)

I should have read this more carefully as I spent the same time trying to track this down one run after another 😄

I am trying to use Packer:
uses: docker://hashicorp/packer:1.6.5
but it doesn't have access to the SSH keys.
Is there a way to achieve this?

I am trying to use Packer:
uses: docker://hashicorp/packer:1.6.5
but it doesn't have access to the SSH keys.
Is there a way to achieve this?

Thank you @rieschl for your suggestion and working on this, and thanks to @mwik for creating #58 for it!
The code change suggested in the opening comment here looks like some specialized edge case logic... I wonder if we could find a more general, cleaner way of dealing with this?
I understand that /etc/ssh/ssh_known_hosts might work inside a container, but not in the regular runner environment, since that file is probably read-only or could be changed only be the root user, but Actions use a dedicated runner UID.
So, what does HOME point to in the containerized action run? To my understanding, HOME is what the ~ resolves to, so why doesn't ssh pick up $HOME/.ssh/known_hosts?

Oh, and does it make a difference inside the container when we're using os.homedir() instead of the HOME env var?

So, what does HOME point to in the containerized action run? To my understanding, HOME is what the ~ resolves to, so why doesn't ssh pick up $HOME/.ssh/known_hosts?

That's the question. $HOME points to /github/home, but ssh nevertheless looks in /root/.ssh so figuring out why is key. #58 is only a workaround. Unfortunately it is a PITA to debug stuff in github actions. However it seems that ssh does not like changing HOME, it still uses the old value somehow. I don't think it will matter whether we use os.homedir() or HOME since its set to the same thing.

Come to think of it, ssh probably uses getent or something similar to get the home directory of the current user. Probably that is not changed in the container.

After inspecting the ssh source code I can confirm that it uses the passwd entry. I also found that we can actually use os.homedir() if we unset the HOME environment variable first. So something like this should work
    delete process.env['HOME'];
    const homeSsh = os.homedir() + '/.ssh';

I'll test this when I have an opportunity.

@mwik please try #17 just by using @try-windows as the action version in your Docker container. It uses os.homedir(). Would be great if we'd not need to fiddle around with HOME...

Unfortunately HOME needs to be undefined in order for os.homedir() to take it from /etc/passwd. See nodejs doc. But if you are worried about removing HOME, we can always restore it after os.homedir() has been called.

I haven’t found good „official“ documentation or even source code in this, but it seems ssh uses a getpwent system call instead of relying on $HOME, possibly for security reasons?
So, maybe we should use os.userinfo()?
https://nodejs.org/api/os.html#os_os_userinfo_options

@mwik please give #17 another try.
Also, could you help me to fix the workflow file over there to make it run on Docker?

Great! os.userInfo() is definitely the way to go. And yes, @try-windows works for my docker build. I'll take a look at the workflow file.

Out of curiosity, how is the action run inside the container – is it a requirement for such containers to contain the node interpreter, or is that copied/mounted into the container?

It works 🎉, @mwik thank you for the support!
https://github.com/webfactory/ssh-agent/runs/1893563200?check_suite_focus=true

Out of curiosity, how is the action run inside the container – is it a requirement for such containers to contain the node interpreter, or is that copied/mounted into the container?

Very good question. Node is not installed in my build docker image, so I assume its mounted somewhere. Strangely enough I can not find any documentation about how its done.

Maybe they do some tricks like mounting a statically-linked version somewhere...


Add screenshots

Update screenshots to be on top of description

[ ] make sure links points to master
[ ] ready for merge

@eidheim I think we should have a banner like screenshot like I've added here.

Some issues:

Try not use the emacs dark blue in the screenshots, someone might feel we steal their colors
Avoid white theme with dark style, this is a remnant from ide's that did not manage to change both
The minimap takes up way too much space, people will definitely comment this
You have 1 error (in bottom left), even though no error should show (probably because you deleted the error code and did a autocomplete after without a reparse). This also looks strange.
A better c++14 example I think may be:

#include <chrono>
...
auto time=10s;

cout << time.

Some does not even include a screenshot, like https://github.com/atom/atom
If they do include a screenshot, the best place would maybe be below features, and smaller clickable screenshots that do not take up too much space (like https://github.com/hioa-cs/IncludeOS)

Sorry for the rant like item list:)

I'm merging what we both agree upon now, that is the screen shots below features. I should have created a separate branch for this, will do that next time, so by merging now I do not create weirdness with my master branch.

@zalox feel free to create another screenshot branch if you want to change something, and we can discuss it there. Hopefully we can both come to an agreement in the end:)


Block process stream

I would like some feedback on this block processing stream proposal before I start writing tests and modifying rest of codebase
Block lifecycle is:
network/api -> chain -> blockProcessStream - > validate -> process -> postProcess

-> blockPool-> blockProcessStream
After we process block, we will notify block pool which will put blocks waiting for that parent back on process stream.
Pros:

very much testable code so we can cover a lot of scenarios with unit tests
clean modular code
parallel validate/process/post processes

Cons:

it seems like during sync every block except first will end up in block pool before being process

it because there is a great chance most block will go trough validate before block process starts
naive idea to mitigate it is to combine validate and process function into one but we will end up with huge function again and we wouldn't be able to discard some blocks while waiting for process operations

This looks great. I suppose you're talking about the init sync? Regular sync should be fine I guess.

I like this structure so far, should be easy to tweak, eg: add stages, etc

We are now handling and processing block from different forms and starting from different state than head!!
And block process is unit tested


Implement Virtual File System (PLVirtualFS?) which routes through the PLPackage API?

As discussed with @solemnwarning we should introduce the ability to mount multiple paths (and packages) through the API, and then calling plOpenFile will automatically check each mounted path for the specified file.

Should also consider the option of not mounting the local file system but also allowing us to mount specific directories (and if possible, restrict loading to those directories).

Wheee this is finally done.


QPS testing

I want to know which Metric is QPS
How do you recommend me to do QPS testing?

Thanks very much for your interest in Elasticsearch.
This appears to be a user question, and we'd like to direct these kinds of things to the Rally forum. If you can stop by there, we'd appreciate it. This allows us to use GitHub for verified bug reports, feature requests, and pull requests.
There's an active community in the forum that should be able to help get an answer to your question. As such, I hope you don't mind that I close this.


Draft: Custom Parameters in Cucumber Expressions (#124)

Part of #124
Synopsis
For now there is only support for default parameters in cucumber expressions.
Solution
Implement Parameter derive macro and add const asserts to avoid runtime panics.
Checklist

Created PR:

[x] In draft mode
[x] Name contains Draft:  prefix
[x] Name contains issue reference
[x] Has assignee

[x] Documentation is updated (if required)
[x] Tests are updated (if required)
[x] Changes conform code style
[x] CHANGELOG entry is added (if required)
[ ] FCM (final commit message) is posted

[ ] and approved

[ ] Review is completed and changes are approved
Before merge:

[ ] Milestone is set
[ ] PR's name and description are correct and up-to-date
[ ] Draft:  prefix is removed
[ ] All temporary labels are removed

FCM
Implement `Parameter` derive macro for Cucumber Expressions (#168, #124)


tag service: properly handle error responses on HEAD requests by

re-issuing requests as GET for proper error details.
Fixes #1911.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "dmitri/1911-head-get-error" git@github.com:a-palchikov/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Current coverage is 51.22% (diff: 58.82%)

Merging #1918 into master will decrease coverage by 10.31%

@@             master      #1918   diff @@
==========================================
  Files           123        123
  Lines         10919      10924      +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6720       5596   -1124
- Misses         3324       4587   +1263
+ Partials        875        741    -134

Powered by Codecov. Last update fd4dd8d...38f5c34

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "dmitri/1911-head-get-error" git@github.com:a-palchikov/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "dmitri/1911-head-get-error" git@github.com:a-palchikov/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM

@RichardScothern @codecov-io @GordonTheTurtle please let me know if there's anything else I need to do here


fix bug when selecting replacements

Fix bug selecting replacements

I'd love to have test cases that cover such changes though :)

Ok. Can I create tmp dictionaries like this? https://github.com/jaumeortola/morfologik-stemming/commit/5d9e6eb9cc9af00113084b4bc4de4b279f52389c

A direct creation of the dictionary and metadata would be nicer. Those tmp paths won't work on Windows (or rather: they might, creating top-level tmp dirtectory).


Enable printf, cat, system to have more args

This PR enables printf, cat and system to have more than 7 arguments. It can be more user-friendly to allow any reasonable number of arguments for these builtin calls which use formatted strings. Resolves #1336.
Checklist

[ ] Language changes are updated in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md

Conflicts Resolved.

One more thing: can you put the non-checklist portions of the PR description in the commit message?

Sure. Already done.


"No Java runtime present" on MacOSX

I'm having pretty much the identical issue to #194 with version 2.1.8. I agree this is probably related to the environment on my mac, but I can't figure out what's up.
Lancer:~ drvince$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/zulu8.72.jdk
Lancer:~ drvince$ java -version
openjdk version "1.8.0_72"
OpenJDK Runtime Environment (Zulu <IP_ADDRESS>-macosx) (build 1.8.0_72-b15)
OpenJDK 64-Bit Server VM (Zulu <IP_ADDRESS>-macosx) (build 25.72-b15, mixed mode)
Lancer:~ drvince$ javac -version
javac 1.8.0_72
The one thing I did notice is that /usr/libexec/java_home returns nothing. But I have spent a while fruitlessly trying to get it to notice the JDK I have installed to no avail.
Any suggestions?

On my machine, /usr/libexec/java_home returns /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home. How did you install Java? Did you install the oracle version?

I installed OpenJDK from Azul (http://www.azul.com/downloads/zulu/). It's been a while, I think I used the ZIP, so basically I unarchived and moved it into /Library/Java/JavaVirtualMachines.
We could probably address this by having Nightcode honor $JAVA_HOME if it's set. If you don't mind, maybe I'll take a stab at a patch.

OK, so in the process of trying to square some other stuff away, I wound up updating my install of OpenJDK using the Zulu DMG installer this time. Unlike the ZIP file install, this actually adds whatever collateral is required to get /usr/libexec/java_home to give me a sensible answer. Now everything works fine. Weird. Thanks for the response.


Fix editing shortcut_context in inspector

Fixes #66062
Previously showed a menu to create a new node, now it shows a selector dialog for a node in the scene tree.
This is the first usage of PROPERTY_HINT_NODE_TYPE in a C++ defined property, but it seems to work well from my testing :)

Thanks!


Generated client calls should use more general Future over ResponseFuture

Looking into https://github.com/grpc/grpc-dart/issues/114 it looks like clients currently generate calls that look like the following:
ResponseFuture<HelloReply> sayHello(HelloRequest request,
      {CallOptions options}) {
    final call = $createCall(_$sayHello, new Stream.fromIterable([request]),
        options: options);
    return new ResponseFuture(call);
}

ResponseFuture is an implementation detail that only has private methods. Using this form makes writing mocks for generated clients harder. Is there any reason we couldn't replace ResponceFuture w/ Future in the generated signature?

I'm having problems to mock my gRPC methods too, is there any work arounds?

@MarcinusX how to generate Grpc error in MockResponseFuture

Many thanks for this, really helpful- is it possible to do something similar  with ResponseStream in order to simulate a stream of values coming from my client?
Wasn't able to figure it out from first glance but will keep trying, any assistance would be greatly appreciated

@track02 could you do mock ResponseStream?
@MarcinusX thank you very much for your responses. can you help me in mock ReponseStream

I am using this:
class FakeClientCall<Q, R> extends ClientCall<Q, R> {
  FakeClientCall(
    this.result,
  ) : super(null, null, CallOptions()) {
    result.then((value) {
      _responses.add(value);
      _responses.close();
    }).catchError((error) {
      _responses.addError(error);
      _responses.close();
    });
  }

  final Future<R> result;
  final StreamController<R> _responses = StreamController<R>();

  @override
  Stream<R> get response => _responses.stream;
}

useage:
ResponseFuture<HelloResponse> hello(HelloRequest request, {CallOptions options}) {
    return ResponseFuture(FakeClientCall<dynamic, HelloResponse>(_hello(request)));
}

Future<HelloResponse> _hello(HelloRequest request) async {
  ...
}

This is a big problem. I'm trying to mock my client with Mockito, but it seems basically impossible. I'm going to have to put a wrapper around the logic just to mock the client when there is already a very thin wrapper around the client.

@MarcinusX thanks so much! Your answer almost worked, but I had to change it to this and now it works perfectly!
class MockResponseFuture<T> extends Mock implements ResponseFuture<T> {
  final T value;

  MockResponseFuture(this.value);

  @override
  Future<S> then<S>(FutureOr<S> Function(T) onValue, {Function? onError}) =>
      Future.value(value).then(onValue, onError: onError);
}

Thanks @MelbourneDeveloper that saved me quite some time!


RELEASE 3.1.0: Selected changes over to release branch

Brings across:
bbbbbd7 UN 433 - Adjustments to home page fields (#534)
1ffc3dd Merge pull request #537 from nationalarchives/UN-371-build-interim-feedback-mechanism
9325289 image path conflict resolution
0557d1f h3 element
900335f css adustments
e2769c5 (origin/UN-236) DF-424:Title for search results (#532)
484db4c Merge pull request #533 from nationalarchives/UN-371-JS-images
38b5c2e (origin/UN-371-JS-images, UN-371-JS-images) Added images to JS
a6c26b0 (platform/develop) Merge pull request #531 from nationalarchives/UN-371-adding-images-to-media
cd3525e (origin/UN-371-adding-images-to-media, UN-371-adding-images-to-media) Changed route of images
503a0f2 Un 371 build interim feedback mechanism (#530)
8abbb57 (origin/UN-371-build-interim-feedback-mechanism) Merge branch 'develop' into UN-371-build-interim-feedback-mechanism
112d691 (UN-371-build-interim-feedback-mechanism) Merge branch 'develop' into UN-371-build-interim-feedback-mechanism
feef314 DF-458:Handle date filter label exclusions (#529)
240cf7e gtm tagging
49fd7c4 UN-371-build-interim-feedback-mechanism (#528)
4a55575 assets for feedback mechanism
c7f9cd8 text edit for no js version
a5d0cc7 layout edits
5bbee1a DF-352:Keep search term in dropdown when changing buckets (#511)
249bce2 UN 365 - Fixed casing of "Featured Pages" (#527)
45fbaa3 Merge pull request #526 from nationalarchives/UN-432
77bff4b Rename feature_collection to feature_pages and remove sub_heading from… (#513)
f40a1b6 (origin/UN-432) Changing to teaser images for the insight_featured relationship
2163bbc code tidy
eb54bef js / styling refinements
09eff46 some comments in code / js tidy
aa036a5 button transition management js
c60f705 layout changes and js testing
aa48fc9 html / js edits
0aba091 button states
4f046af Feature/df 293 pagination revised (#512)
4b3f6d9 feature/DF-391-move-sort-by-filter (#498)
0b5f333 (origin/test/from-develop) DF-293 : revised styles and html for new pagination element (#502)
896d295 DF-352-mobile-ui-changes (#509)
3f5d121 feedback mechanism js
b5ffd0f UN-175 (#481)
0a2988f no js version of survey banner and update 'Tell us more' link

Closed to create updated one.


Refactor OpenShift tests to work also with remote OCP4

This is a rather bigger re-factoring that I failed to do in smaller chunks. Hopefully tests passing in all the container images would be good enough proof it is ok to merge. I'll add links to particulars PRs in all container images repos:

https://github.com/sclorg/s2i-python-container/pull/381
https://github.com/sclorg/s2i-ruby-container/pull/270
https://github.com/sclorg/s2i-nodejs-container/pull/240
https://github.com/sclorg/s2i-perl-container/pull/177
https://github.com/sclorg/s2i-php-container/pull/289
https://github.com/sclorg/mariadb-container/pull/126
https://github.com/sclorg/mysql-container/pull/288
https://github.com/sclorg/postgresql-container/pull/378
https://github.com/sclorg/mongodb-container/pull/319
https://github.com/sclorg/redis-container/pull/60
https://github.com/sclorg/httpd-container/pull/95
https://github.com/sclorg/nginx-container/pull/112
https://github.com/sclorg/varnish-container/pull/63

@phracek @pkubatrh All tests for other container images passed, so I believe it is ready to merge now. I hope that passing tests are good enough as a review, but if you want to check it quickly, it would be even better.

I believe it is ready to merge now.

After merging #152, I rebased this PR and thus also common sub-module in other containers, at least we can see whether the tests pass again. Still ok to merge this one I believe.

[test]


add support-map-delete

fix https://github.com/mattn/anko/issues/113

Codecov Report

Merging #130 into master will decrease coverage by 0.15%.
The diff coverage is 38.46%.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage    71.8%   71.65%   -0.16%
==========================================
  Files          40       40
  Lines        2735     2748      +13
==========================================
+ Hits         1964     1969       +5
- Misses        626      630       +4
- Partials      145      149       +4

Impacted Files
Coverage Δ

vm/vmExpr.go
63.9% <38.46%> (-0.64%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d54f253...95bdb91. Read the comment docs.

@mattn @MichaelS11
Help me to see if there is any problem with the code, thank you very much.
In addition, I am a bit confused about the results of the test. What should I do to pass codecov?

@Chyroc ,
Thanks for working on this, very cool! :)
I think once you add the additional tests the middle check will pass. I think the top test will keep failing until we get the total coverage over 71.8%. Probably something @mattn needs to set/change in codecov settings if he wants it to stop failing.

I see what the codecov patch is saying. It is saying what part of the new code is covered. So 71.8% setting is correct. :)

LGTM

thank you


Make sure the library works with ES-modules

As @ai pointed out on Twitter, things from './history' won't work in native ES modules. Need to simulate this and make sure everything is written according to the spec.

The main problem, that there is not good production solution for ES modules to test how it will work in real ES modules in wildlife :(.
ES modules for browsers requires a new generation of bundlers (to fix paths and make preload maps). We still need some features (like import maps) which didn’t ship yet. pike is a great start, but it could change API a few times before the final release.

Right, makes absolutely sense. One of problems is being able to import things from node_modules.
I made a small local demo with react being replaced with a global variable. You were right, the current code does not work, since the bare import specifiers aren't supported by the browsers. However, when I changed it to import .. from "./history.js" it fixed the problem:

(it worked in Chrome, Safari and Edge, but not in IE11 obviously, since the code was untranspiled)
So I also decided to make a thorough inspection of the code to make sure I only use ES2015 (ES6) features. Here is full list of things the library uses:

arrow function
destructing assignment
default arguments & arguments spread
let / const

That's it! We should be good now.


Default context provider rather than typing @xyz everytime

Validations

[ ] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[ ] I'm not able to find an open issue that requests the same enhancement

Problem

Solution
provide a method to customize default context for queries, its tedious to type everytime ,
maybe add scope to run custom JS like postman does for pre-request and post-request, using this the user may customize what goes in and what comes out! without touching the config json again and again

I have a similar need.  I need to have a custom context provider that can supply RAG context for internal company graphQL schema questions.  I would like to have a context provider that I can set to fire on every message, without needing to annotate (@providername).  The custom provider could look at the message and decide whether to look for additional data if it seems necessary.  Have to use annotations is cumbersome for our users, and it would be preferred to allow the custom provider decided on the fly whether to be involved or not.  I think this would allow for a lot of flexibility for other people to decide just how they want to provide context data.

I would love to see a config to set a provider as always enabled or something

To tackle default context, I'd recommend to have a look at the repository map feature from Aider. The gist is that an enhanced "ctags" style map of files in the repository gets generated using tree-sitter.
This repository map gets optimized and truncated to a token limit and sent with every request to the LLM, so it has a broad context about the whole project (without including whole files/code chunks), not just the current file/context.
I'd love to see a feature like this in Continue (it may even replace the whole embeddings/indexing/re-ranking mess or at least be a fast alternative with much, much less overhead).
One downside is, that not all languages are supported for generating such a repository map, see here. So the current embeddings/indexing/re-ranking should of course stay as a safe fallback, but please optional.
My $0.02

Here's a similar issue: https://github.com/continuedev/continue/issues/1881

1 on this, I'd like @open to be passed by default (unless specified otherwise, e.g. option + enter for no context chats)


context deadline exceeded

Hello All,
We're trying to instrument a Golang app in Lamba and we're having the following error:
2022-05-18T22:27:55.962Z debug global/internal_logging.go:62 exporting spans {
"count": 7,
  "total_dropped": 0
}
2022-05-18T22:29:41.186Z error distro@v0.8.0/otel.go:70 OpenTelemetry error {
  "error": "Post \"[https://ingest.us1.signalfx.com/v2/trace\](https://ingest.us1.signalfx.com/v2/trace%5C)": context deadline exceeded"
}
[github.com/signalfx/splunk-otel-go/distro.Run.func1](http://github.com/signalfx/splunk-otel-go/distro.Run.func1)
/Users/juanolivera/go/pkg/mod/[github.com/signalfx/splunk-otel-go/distro@v0.8.0/otel.go:70](http://github.com/signalfx/splunk-otel-go/distro@v0.8.0/otel.go:70)
[go.opentelemetry.io/otel.ErrorHandlerFunc.Handle](http://go.opentelemetry.io/otel.ErrorHandlerFunc.Handle)
/Users/juanolivera/go/pkg/mod/[go.opentelemetry.io/otel@v1.7.0/error_handler.go:37](http://go.opentelemetry.io/otel@v1.7.0/error_handler.go:37)
[go.opentelemetry.io/otel.(*delegator).Handle](http://go.opentelemetry.io/otel.(*delegator).Handle)
/Users/juanolivera/go/pkg/mod/[go.opentelemetry.io/otel@v1.7.0/handler.go:44](http://go.opentelemetry.io/otel@v1.7.0/handler.go:44)
[go.opentelemetry.io/otel.Handle](http://go.opentelemetry.io/otel.Handle)
/Users/juanolivera/go/pkg/mod/[go.opentelemetry.io/otel@v1.7.0/handler.go:97](http://go.opentelemetry.io/otel@v1.7.0/handler.go:97)
[go.opentelemetry.io/otel/sdk/trace.(*batchSpanProcessor).processQueue](http://go.opentelemetry.io/otel/sdk/trace.(*batchSpanProcessor).processQueue)
/Users/juanolivera/go/pkg/mod/[go.opentelemetry.io/otel/sdk@v1.6.1/trace/batch_span_processor.go:283](http://go.opentelemetry.io/otel/sdk@v1.6.1/trace/batch_span_processor.go:283)
[go.opentelemetry.io/otel/sdk/trace.NewBatchSpanProcessor.func1](http://go.opentelemetry.io/otel/sdk/trace.NewBatchSpanProcessor.func1)
/Users/juanolivera/go/pkg/mod/[go.opentelemetry.io/otel/sdk@v1.6.1/trace/batch_span_processor.go:125](http://go.opentelemetry.io/otel/sdk@v1.6.1/trace/batch_span_processor.go:125)

This only happens when it's implement on lambda. When we test it locally (with the same environment variables) without running on lambda we have no problems, the export of the spans is done without problems and we can see it on splunk cloud observability
The environment variables:

Thanks in advance
Cheers

Hey @ccoqueiro 👋
The backslash at the end of the URL (https://ingest.us1.signalfx.com/v2/trace\) seems strange. Can you double-check the OTEL_EXPORTER_JAEGER_ENDPOINT value?

Hello @pellared!!
I will inform and test this settings with the client. Unfortunately, our champion is on vacation, we are trying to set up a meeting this week to finalize this matter. So I believe that there is a specific problem in the sdk opentlemetry for Go, I believe it is a communication problem, so I will terminate this ticket and we will open another ticket if we detect something relevant in the library. Thank you too much for the answers and support.


Support bridging

Allow the wifi internet connection to be shared with an external device over ethernet

Yes this would be great!
It would also be very useful to us if the wifi could be used both as an access point (resin-wifi-connect) and a wifi client at the same time when the wifi device supports this feature.
Should I create a separate issue to track this feature?
Here is a post which explains how to setup this wifi network configuration on the rpis:
http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap

@bbinet right, it is indeed possible on some device running in both AP mode and as a regular WiFi client at the same time. You may create a separate issue for this, so that we keep track of it.

what about sharing the ethernet connectivity to clients connected to the AP ?

@majorz Is there any manual way to force wificonnect to share internet connection to clients connected to the AP?


Fixed indention

Use standard 4-space indention.

@vanillajonathan,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@tdykstra  please review

@vanillajonathan Thank you for the contribution, but we prefer not to get pull requests that only change indentation unless the GitHub diff makes it easy to be certain that no code changes were inadvertently introduced.  The diff in this case is a little confused.

Well if you find the diff confusing can you get someone else to read the diff and confirm that it is clean?
Or get someone to fix the indention of the code in the documentation to standard 4-space Visual Studio indention?


Stopping p5 web editor sketch doesn't close the port

Maybe just something to note somewhere?

Another thing to note: HTTPS box must be unchecked in the web editor sketch order for serial to work

Should be closing now with the new update!


with-next-sass

with-next-sass example with "@zeit/next-sass": "0.2.0", does not work correctly and it does not show my style in browser
How can i use it in my project to show my code styles

This issue is not actionable. There is no reproduction.


npc-timer

Adds a timer/tracker display to the screen so the player can track any NPC in RuneScape. Helps keep slayer tasks more engaging with personal bests, or helps the player see kill times with different gear setups.

We have previously rejected plugins / requested changes on plugins which showed the current "alive" time of NPCs as it can reveal some mechanic timings. Can you please remove that ability?

fwiw you may wish to update the readme
you can also display "last kill time" after the NPC has been killed, to still show times on a per-kill basis