Added License attribute

License field added in the package.json file
#154

Closing this PR in favor of #229.


Issue with openai extension in docker container for text-generation-webui => Python 3.10 required.

When running the docker container for text-generation-webui there is an issue with the openai extension due to
an incompatibility with the syntax of the typing.py file.
Basically they use the newest syntax instead of the Optionals and Union typing package removing any downwards compatibility of it.
This can be fixed by editing the following file:
/opt/text-generation-webui/extensions/openai/typing.py
with the content of this text i.E. via nano.
To inject into the docker container and edit files check the number via docker ps and run docker exec -it <containerid>  bash.
I know this fix is only temporal as it gets refreshed when the container is deleted but for now it seems to work.
typing.txt

Thanks @ark626 - trying to think of a good solution for this, unless these can just be patched via sed commands in the dockerfile on JetPack 5 (although that would not be robust to changes upstream).  Unfortunately they seem to have made Python 3.10 a hard requirement now.  For now, you could use docker commit to save your changes to a different container tag - then everytime you start that new container tag, your changes will be intact.

If you want i can create a fork of the stable diffusion repo with the downport done.

I wouldn't fork it because then it'll just perpetually be out of date with upstream.   Instead I find patching these with sed in the dockerfile to be okay, but hopefully in this case it isn't too many patches.  Agree about the typing syntaxes though, for some reason this keeps popping up around projects.  And the Python version I build around on JetPack 5 is Python 3.8, because that's what Ubuntu 20.04 comes with.

Hi all,
sorry to barg in on this topic/issue, don't want to hijack this. But @ark626 can you confirm the API is usable by an external tool after patching?
Because it tried this patch and got: "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error

@TadayukiOkada seems ok now. Thx!

I'm facing the same problem. The path I've tried is rebuilding the container asking for Python 3.10, as indicated here and then here. I've run the command
PYTHON_VERSION=3.10 jetson-containers build text-generation-webui

The build fails with the following error:
+ apt-get clean
+ curl -sS https://bootstrap.pypa.io/get-pip.py
+ python3.10
Looking in indexes: http://jetson.webredirect.org/jp5/cu114
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip
+ curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py
+ python3.6
/tmp/install_python.sh: line 27: python3.6: command not found
curl: (23) Failed writing body (0 != 16384)
The command '/bin/sh -c /tmp/install_python.sh' returned a non-zero code: 127
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/devel/jetson-containers/jetson_containers/build.py", line 103, in <module>
    build_container(args.name, args.packages, args.base, args.build_flags, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api)
  File "/home/devel/jetson-containers/jetson_containers/container.py", line 143, in build_container
    status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --tag text-generation-webui:r35.5.0-cp310-python --file /home/devel/jetson-containers/packages/build/python/Dockerfile --build-arg BASE_IMAGE=text-generation-webui:r35.5.0-cp310-cudnn --build-arg PYTHON_VERSION_ARG="3.10" /home/devel/jetson-containers/packages/build/python 2>&1 | tee /home/devel/jetson-containers/logs/20240411_121344/build/text-generation-webui_r35.5.0-cp310-python.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 127.

I'm using a Jetson Xavier with Jetpack 5.1.3. Any help would be much appreciated!

Hi @amasciotta, looking into it now - it would be nice to get this all on Python 3.10 for JetPack 5, but will take time to rebuild everything (not just oobabooga, but pytorch and all the LLM APIs too).  For the time being you may want to patch it like https://github.com/dusty-nv/jetson-containers/issues/364#issuecomment-1977582655

OK, here is the Python 3.10 oogabooga container for JetPack 5 to try (daec892):
dustynv/text-generation-webui:r35.4.1-cp310

I verified the llama.cpp loader is working fine, exllamav2 is not working though - I can't build newer than exllamav2 0.0.14 on JetPack 5, because newer exllama requires CUDA 12.  And text-generation-webui imports stuff from exllamav2 that is not in 0.0.14.  So we may still need to go back and pin the oogabooga version to an older tag on JetPack 5.


Adding skip validation support for vsphere validations

Issue #5865:
Description of changes:
--skip-validations skip validations for create cluster and also pass it to provider level validations.
Testing:
Created a user with missing permissions and tested validations. Now the error shows as
If we pass --skip-validations, the check is skipped.
root@ip-10-0-59-81:/home/ubuntu# ./eksctl-anywhere create cluster --help
This command is used to create workload clusters

Usage:
  anywhere create cluster -f <cluster-config-file> [flags]

Flags:
...
      --skip-validations stringArray        Bypass create validations by name. Valid arguments you can pass are --skip-validations=vsphere-user-privilege
...

Tested creating a cluster by skipping the check
./eksctl-anywhere create cluster -f ./config.yaml --skip-validations=vsphere-user-privilege

Documentation added/planned :
Plan to document the new flag and change in user experience.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Left a few questions.
One higher level question: did we support skipped validations on the create command before this PR? If not, can we call out in the PR description that we are adding skipped validation support to the create command?

We did support it before. I can add another line 👍

/approve


Coda Daemon crashed

Coda Daemon crashed
coda_crash_report_2019-08-14_19-55-21.341483.tar.xz
https://drive.google.com/file/d/1lD6iAhev6d0r37MglN1dlsmpksa_gwcw/view

Today, the problem repeated several times
here are the last logs
https://drive.google.com/file/d/1VC8ofrvMOOLejUxqKYK_V-317pT5kNJE/view?usp=sharing

Another instance of #2978. I've asked you a followup question there!


Sentry Crash

It seems we do not always get the sentry crash reports for example every once in a while we have an issue where the app crashes on load, I believe this may be because we need to move it higher in the tree?
Right now Sentry depends on the Config entry file we have which means any issues that occur in that file may not be reported.

I just experienced this on a project. I think it's because SENTRY_PROJECT_NAME and SENTRY_DSN are not part of the expo-main.yml GH action template. So when that action runs eas update, it pushes a new OTA update with a JS bundle that is missing those values. And so Sentry crashes the app on startup.
Aside, I would love to remove the hard dependency on Sentry and Rollbar. I think it's too much friction in bootstrapping a new mobile app.


Using ES6 module directly inside a script ?

Hello,
I would like to use face-api.js using only the ES6 module (without any build step, and using the fantastic pika manager).
Like so:
<script type="module">
  import faceapi from '/web_modules/face-api.js/dist/face-api.min.js'
  console.log('faceapi.nets');
</script>

But it fails to load the module doing so, I can't manage to get the object. It tries to load fs, and other node specifics libs.
I also get
Module {Symbol(Symbol.toStringTag): "Module"}Symbol(Symbol.toStringTag): "Module"
Thanks !

It tries to load fs, and other node specifics libs.

fs should be the only one, otherwise it does not come from face-api.js.
The issue might be one of two:

The bundler / pika manager, that you are using does not handle conditional require statements correctly. face-api.js checks your environment, if you are running in a node environment, it will require fs.

Your environment is mistaken for a node environment, e.g. this check returns true. Could you please check what the following condition evaluates to in your environment:

typeof global === 'object'
    && typeof require === 'function'
    && typeof module !== 'undefined'
    // issues with gatsby.js: module.exports is undefined
    // && !!module.exports
    && typeof process !== 'undefined' && !!process.version

Yes I think it is a pika issue, as I have this message when I do pika install:
But it is strange, it is the first time I encounter this problem.
 @pika/web installing... vue/dist/vue.esm.browser.js, http-vue-loader/src/httpVueLoader.js, remarkable/dist/esm/index.browser.js, typeit/dist/typeit.min.js, vue-beautiful-chat/dist/index.js, botui/build/botui.js, face-api.js/dist/face-api.min.js, oscilloscope/dist/oscilloscope.es.jsThe 'this' keyword is equi⠼ @pika/web installing... vue/dist/vue.esm.browser.js, http-vue-loader/src/httpVueLoader.js, remarkable/dist/esm/index.browser.js, typeit/dist/typeit.min.j
s, vue-beautiful-chat/dist/index.js, botui/build/botui.js, face-api.js/dist/face-api.min.js, oscilloscope/dist/oscilloscope.es.js
✖ 'crypto' is imported by 'node_modules/face-api.js/dist/face-api.min.js', but could not be resolved.
  'crypto' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'util' is imported by 'node_modules/face-api.js/dist/face-api.min.js', but could not be resolved.
  'util' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'fs' is imported by 'node_modules/face-api.js/dist/face-api.min.js', but could not be resolved.
  'fs' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'crypto' is imported by 'commonjs-external-crypto', but could not be resolved.
  'crypto' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'util' is imported by 'commonjs-external-util', but could not be resolved.
  'util' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'fs' is imported by 'commonjs-external-fs', but could not be resolved.
  'fs' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'util' is imported by 'node_modules/node-fetch/lib/fetch-error.js', but could not be resolved.
  'util' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'url' is imported by 'node_modules/node-fetch/index.js', but could not be resolved.
  'url' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'url' is imported by 'node_modules/node-fetch/lib/request.js', but could not be resolved.
  'url' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'url' is imported by 'commonjs-external-url', but could not be resolved.
  'url' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'http' is imported by 'node_modules/node-fetch/index.js', but could not be resolved.
  'http' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'http' is imported by 'node_modules/node-fetch/lib/response.js', but could not be resolved.
  'http' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'http' is imported by 'commonjs-external-http', but could not be resolved.
  'http' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'zlib' is imported by 'node_modules/node-fetch/index.js', but could not be resolved.
  'zlib' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'zlib' is imported by 'commonjs-external-zlib', but could not be resolved.
  'zlib' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'https' is imported by 'node_modules/node-fetch/index.js', but could not be resolved.
  'https' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'https' is imported by 'commonjs-external-https', but could not be resolved.
  'https' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'stream' is imported by 'node_modules/node-fetch/index.js', but could not be resolved.
  'stream' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'stream' is imported by 'node_modules/node-fetch/lib/body.js', but could not be resolved.
  'stream' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'stream' is imported by 'commonjs-external-stream', but could not be resolved.
  'stream' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'stream' is imported by 'node_modules/iconv-lite/lib/streams.js', but could not be resolved.
  'stream' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'stream' is imported by 'node_modules/iconv-lite/lib/extend-node.js', but could not be resolved.
  'stream' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'buffer' is imported by 'node_modules/safer-buffer/safer.js', but could not be resolved.
  'buffer' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'buffer' is imported by 'node_modules/iconv-lite/lib/streams.js', but could not be resolved.
  'buffer' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'buffer' is imported by 'node_modules/iconv-lite/lib/extend-node.js', but could not be resolved.
  'buffer' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'buffer' is imported by 'commonjs-external-buffer', but could not be resolved.
  'buffer' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'string_decoder' is imported by 'node_modules/iconv-lite/encodings/internal.js', but could not be resolved.
  'string_decoder' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✖ 'string_decoder' is imported by 'commonjs-external-string_decoder', but could not be resolved.
  'string_decoder' is a Node.js builtin module that won't exist on the web. You can find modern, web-ready packages at https://www.pikapkg.com
✔ @pika/web installed: vue/dist/vue.esm.browser.js, http-vue-loader/src/httpVueLoader.js, remarkable/dist/esm/index.browser.js, typeit/dist/typeit.min.js, vue-beautiful-chat/dist/index.js, botui/build/botui.js, face-api.js/dist/face-api.min.js, oscilloscope/dist/oscilloscope.es.js. [3.72s]

Thanks

I believe I'm hitting this issue as well (without pika):
<script type="module">
    import * as faceapi from './face-api.min.js'
    console.log(faceapi)
    // Module {Symbol(Symbol.toStringTag): "Module"}

Did you find a solution for the issue?
I have the same problem importing face-api.js from a script as:
import * as faceapi from './js/face-api.js';


Fixes #22 by using OS' certs instead of the hardcoded ones

Fixes: https://github.com/nov/itunes-receipt/issues/22
Apple Store stopped accepting restclient_with_cert gem's hardcoded certs.
So this replaces them by OS's own certs.
Ref: https://github.com/nov/restclient_with_cert/issues/1
Removed restclient_with_cert gem completely because it's no longer needed.

@nov could you please review and merge it if it's all good.

@guih you still have some dependencies on restclient_with_cert

Any news on this? We're seeing it too.


Use Iterator instead of InclusiveRange

This allows us to drop the #![feature()] attribute, which allows us to use this from stable rust.
The implementation did not actually require getting start() or end(). So an iterator seems to suffice here?
Chances are that I am missing something here and there are bigger plans... I just wish I could use this from stable :)

I went a different path in 22942fbfeec3b2347326e0685bd30806bb7e5fa2, you can now use this lib from stable Rust.

Wish I could publish it on crates.io however it would be a bit premature at this state. Lots of things are still experimental, unfinished or unpolished in the crate. And the general lack of documentation is an another problem.

No worries. I have no problems pointing to a git. Don't let perfect become the enemy of good though! I think there is a lot of nice stuff in here!


Event received_at / occurred_at definition

Updated for more clearness and consistency with Nakadi API definition.
Fixed occurred_at --> received_at in rule 203.
Additionally, addresses continuous uncertainties around semantics of 'occurred_at' -- see e.g. https://chat.google.com/room/AAAALJjUd9k/zDnRj47g8Jg -- and to make clear that there may
by a difference between actual business event vs. time of event object created and processed.

:+1:

👍


ParseException in Polygon

java.text.ParseException: Unknown Shape definition [POLYG
ON(-10.0 30.0,-40.0 40.0,-10.0 -20.0,40.0 20.0,0.0 0.0,-10.0 30.0)]
According to Solr docs, polygon should be this:
POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))
I believe what's missing is the extra set of parens.

Ok, maybe not the extra parens. It seems lenient. This comes out with no error:
{!field f=geo}Intersects(POLYGON(-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))

Doesn't look like it's the parens. Looks like some other problem:
https://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4#Search

SearchQueryRequest {q = "(_yz_rb:00007ba6h9i8Asf\\- AND (t:[\"1679-06-12T00:00:00Z\" TO \"2038-04-23T00:00:00Z\"} AND i.CA-1Z2EXL0YmjdDz_rpt:\"Intersects(POLYGON(-10.0 30.0,-40.0 40.0,-10.0 -20.0,40.0 20.0,0.0 0.0,-10.0 30.0))\"))", index = "0000", rows = Just 1, start = Nothing, sort = Just "t asc", filter = Nothing, df = Nothing, op = Nothing, fl = fromList [], presort = Nothing}

We discovered this was due to a missing schema entry

This is incredibly painful. Solr doesn't come with the necessary Jar to make this work.


[WFRP4e System] Cost of item when posted

When a Item is posted to chat it would be nice if you can see the prize of it. You can pay, but dont know how much you will pay right now.From:  wfrp4e: 3.5.0wfrp4e-core: 1.3.2wfrp4e-rnhd: 1.4.1wfrp4e-starter-set: 1.4.2

The price is right there


Question about training strategy.

Thanks for your great work. I tried to read your source code, but I'm not sure how you train your Gaussian model.
In the mapping process, after the initialization is complete, it enters a True loop until the end of the process.
That is to say, the training of Gaussian model is iterative as much as possible in the whole process without other constraints?

In our system, the whole system is divided into two processes, mapping and tracking process.
The tracking process loads the dataset, and if the tracking process arrives at the end of the dataset, it terminates all processes.
As you can see in the mapper process code, the following line to the while True.
while True:
if self.end_of_dataset[0]:
break

Yeah, I saw this. So the mapping process keeps running throughout the whole reconstruction process.
I later read your source code and found that there are some shared flag that control the running of each process. Amazing work thanks for sharing.


JNI library build system updates

This PR contains a number of modernizations to the autotools configuration for libdisni, along with a single fix to select the correct include directory when using a system-installed DPDK (i.e., from the Ubuntu packages).
Note that this PR also sets the package version in libdisni/configure.ac and this should be updated with each subsequent release along with the version in pom.xml.
These changes have been tested on my Ubuntu 17.04 system against the system-installed DPDK 16.11.1 and my own compiled SPDK 17.03.

Hey Patrick, this looks very good at a first glance, thanks, I'm going to have a more detailed look with my colleagues later this week..

Lgtm. Only one comment on the README file. We also have people using this on POWER so either we include both paths (x86 and ppc) for DPDK or we leave it as is.

Fixed; the instructions now use a placeholder and mention both possibilities.


Add JSKOS as output format

Partly implemented but the output contains additional superclasses not given in the tree output. Needs additional filtering.


Further Development

Since you didn't answer my private message in the Codeigniter forum - do you intend to maintain this rep - or is it another dead one ?
Because i would like to contribute ...

No I am still working on this. I didn't receive an email notification that I got a private message on the forums so that would be why I didn't respond.
I just recently got let go of my full-time position so I'm hoping to resume work here in the next couple of weeks but my full attention is being able to provide financial stability for my family. I am about 50% complete with the hasWhere() functionality being integrated into this.
I'll review your private message today. Thank you for contacting me!

@sintakonte I checked the forums and I don't see any comments or private messages from you.

I'll love to be a part of maintaining this project, I'll advise it converted into a composer package

@chistel I will do that tomorrow! Thank you for wanting to contribute. I really need to get this hasWhere integrated but this job search has been consuming most of my time! Once I land a position I will be attending to this project weekly with other features that Laravel has :)

I think it is necessary to implement a package for composer

@hlohrenz I would be glad to help with the modulization. I think the first steps I’ll be to strip the repo down to be only the files you have modified, so it is clearer what is framework code and what is module.

Just as an update, the repository will be updated as a composer module this weekend. I have been having a lot of interviews so my attention has not been able to be focused on this, but I do have some promising prospects of employment. So this weekend I can pay the dedicated attention this repo needs!
And as a side note, come October, I will resume support on this repo full-time.

Great news! You should also feel empowered to post Issues on GitHub tagged "Need help", as it seems that you have plenty of eager developers here.
FYI my "relations" module is close to being ready - very different approach, and I wouldn't call it ORM, but we may have some opportunity to cover each others gaps: https://github.com/tattersoftware/codeigniter4-relations

Hello, any news for composer packages?


Chore: Release v.1.97.0: Delete changesets

Release v.1.97.0: Delete changesets

@cpathipa yes, for now. See https://kb.linode.com/pages/viewpage.action?spaceKey=Development&title=Deploying+Cloud+Manager


sig-scale: export the audit tool result to files in artifacts directory

What this PR does / why we need it:
This PR exports the performance job metrics into an artifacts directory
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
This is related to on going sig-scale effort to crunch performance metrics for kubevirt stack
Release note:

/ok-to-test

https://gcsweb.ci.kubevirt.io/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/9614/pull-kubevirt-e2e-k8s-1.25-sig-performance/1646983332740730880/artifacts/performance/
hmm not sure why the other two resource types dont show up

https://gcsweb.ci.kubevirt.io/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/9614/pull-kubevirt-e2e-k8s-1.25-sig-performance/1656680199577669632/artifacts/performance/
okay finally a run that gets us all three audit files in artifacts directory

/retest

/lgtm
/approve

/approve

The label might have changed recently
  sig-scale-approvers:
    - rthallisey

May be this needs to be changed to:
reviewers:
  - sig-scale-reviewers
approvers:
  - sig-scale-approvers
labels:
  - sig/scale

https://github.com/kubevirt/kubevirt/blob/321c223c72214499dc13f1e6ef412272a39f7bac/OWNERS_ALIASES#L82

/retest-required

/release-note-none


pytest-dependency ?

https://github.com/Open-EO/openeo-gfmap/blob/c69f60a70c56d43fb1d1843198061b042a9c7bd2/pyproject.toml#L41
when updating my local venv, I noticed this pytest-dependency package dependency.
It's listed as runtime dep, which is strange. I guess this was only intended as a dev/test depedency.
Moreover, I don't see it being used in the tests either, so I wonder if this can just be removed

Some other runtime dependencies I see are cftime and loguru which are also not used as far as I see.
I would recommend to keep the number of (runtime) dependencies to an essential minimum, and be very thoughtful when adding more because of long term costs/risks of third party dependencies  .

@soxofaan pytest-dependency is used in the following test https://github.com/Open-EO/openeo-gfmap/blob/main/tests/test_openeo_gfmap/test_s2_fetchers.py#L290 - It requires to be executed after two previous tests as it is comparing the output of two different backends
cftime is a necessary package to read netcdf files outputted by Open-EO, and loguru is not used yet but will most likely be in the future. That said we can temporarily move them in the [dev] dependencies.

But pytest-depdendency is a dev or test dependency then? It should not be listed under the runtime deps

loguru is not used yet but will most likely be in the future.

Is there an important reason to work with loguru?
While I haven't used it myself, I understand that it indeed simplifies logging and configuration. However note that most packages, like openeo, just depends on stdlib logging, if you add loguru as a requirement, you force your end user to configure two logging packages. I think it makes sense to use loguru in final application code, but it does not belong in libraries like openeo or gfmap in my opintion.

cftime is a necessary package to read netcdf files outputted by Open-EO

can you give more details here? I haven't heard of that package before

pytest-dependency is used in the following test https://github.com/Open-EO/openeo-gfmap/blob/main/tests/test_openeo_gfmap/test_s2_fetchers.py#L290 - It requires to be executed after two previous tests as it is comparing the output of two different backends

that pytest.mark.depends(on=["test_sentinel2_l2a"])   usage is apparently from the pytest-depends package, not pytest-dependency

Already fixed the pytest-depends/pytest-dependency confusion in b680aa6

also moved pytest-depends to test dependencies in 3cc7d55

still to figure out in this ticket

[ ] loguru: is this a necessary dependency for this library?
[ ] cftime: where is it currently used?

Let's remove loguru and leave it to logging then. Should we create a single logger for the entire project, or already start figuring out how we organize it in sub loggers?
CFTIME is often used in NetCDF files for the coordinates within the temporal dimension. I do not remember an example right now,  but it happened me to be stucked quite a few times when not having this library installed. It's pretty lightweight also
https://unidata.github.io/cftime/

Let's remove loguru and leave it to logging then. Should we create a single logger for the entire project, or already start figuring out how we organize it in sub loggers?

common practice is just to put something like
_log = logging.getLogger(__name__)

at the top of each module where you need a logger and use that _log logger.
This patterns automatically takes care of organizing sub-loggers, keeping it simple for developer and still allows fine-grained control for end user if they want that

I don't mind having cftime as dependency if that is important. I'm just curious what it helps with


PR

would be great to PR some of those classes to mrdoob/three.js?

I did recently share this project on the three.js forums, who knows what will happen next :)

Are you planning on publishing this on npm?
Recently we have been using unpkg in examples that use external libraries:
https://github.com/mrdoob/three.js/blob/bf7d99e30e2393e5f7bcdc9b6781406ffca58374/examples/webgl_renderer_pathtracer.html#L47-L48

I actually haven't really thought about publishing it, but if it's something people will potentially find useful, I'd be happy to do so. I'll make sure to include a UMD build as well.
I will probably need to alter my development habits and adopt a more formal, release-based workflow with proper feature branches, testing, etc. Up until now I've been pretty fast and loose with the direct updates to main for every little change :)

I would absolutely love this as a package and I'm sure I'm not alone. Feel free to ping me if you want any assistance!

No need for branches 🤓
As long as what you "npm publish" is stable that's all that's needed.

Yep, stable is the operative word, so I should at the very least write a few tests :)

You can also let the community test it for you. They'll complain if something broke 😇

test it all in production... it's the dream!


Create convenience properties for most used attributes/tags

See: https://github.com/packit/specfile#other-attributes


Allow changing button sizing of timers

Can we get a way to change the button size? For some reason the button sizes on my phone shows it as huge and looks weird in the app. It makes having multiple times look cluttered. This is having 4 timers as reference Button sizes are huge https://imgur.com/gallery/aHD5nmS
That or have a built in compact mode?
Phone: Galaxy S10
Android version: 12

Yeah, that's not expected. The button widths should be automatic, but I didn't get it working the other week. It looks like this caused the text to wrap on your phone. The height is automatic though, so they look huge.
I'll take another look when I get a minute.

I got my hands on an S10+, and it looks like the Samsung device is using a different background drawable that doesn't have any inherent margins, while the stock Android button background drawable does. The way I'm handling margins works in stock Android, but produces overly large buttons on Samsung.
I'm not entirely sure what to do about it. One solution is to define my own button background drawable so buttons render consistently across devices. I haven't decided if that's a good idea or not yet. Surely other people use buttons in their apps.
I wonder how this is dealt with in general.

This should be fixed in c1df397f25aa791a36298a88f639428606cd837e and a6d4aac75eb44c5dc7255e1eb8d83ebe04b4d4cb.

This is released in v1.9. You can install it from the releases page, or it should show up in F-Droid in a few days. Feel free to re-open this issue if you continue to experience this problem.


Light theme support for Text Extractor

Microsoft PowerToys version
0.75
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
TextExtractor
Steps to reproduce
Run Text extractor, change theme. UI is hardcoded using dark brushes
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

The work associated with this issue has been released as part of the 0.76 sprint. Please update PowerToys to the latest. https://github.com/microsoft/PowerToys/releases


Update README.md

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ShalokShalom sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[Op] Lowering isnan

@whbldhwj @comaniac @yzhliu @hzfan @zachzzc

Thanks @hgt312

merge with out squash😂

Yeah I found it after merging...already changed the configure so future PRs should be fine.


broken cross-reference doc links

Sometimes the links in the documentation is broken. Sometimes it occurs due to ambigiouse links or deprecated apis.
Performing npm run build in the docs folder, lists all errors.

I think you can close this one. It should be fixed in #3846.

closed by #3846


Feature: Transparent end to end encryption and authentication

[x] Automatically encrypt all packets between cluster nodes
[ ] Authenticate nodes prior to communication
[x] Ability to specify keys
[x] Integration with various secrets stores
[ ] Possibility to specify ability to receive untrusted traffic in the policy
[ ] Integration with service identity spec such as SPIFFE

Is it intentional to call out just encryption here, as opposed to encryption, authentication, and integrity?   I'm assuming we'd use something like IPsec and/or SSL/TLS, which should be able to provide all three, and the main use case would seem to be protecting against an untrusted "physical" network, in which case, I assume you would want all three.

Is it intentional to call out just encryption here, as opposed to encryption, authentication, and integrity? I'm assuming we'd use something like IPsec and/or SSL/TLS, which should be able to provide all three, and the main use case would seem to be protecting against an untrusted "physical" network, in which case, I assume you would want all three.

Absolutely, this includes auth and integrity as well. I've updated the section. It's still fairly high level until we work out individual details.

I dont know whether this issue has been completed or how the implementation was going to be implemented but something that would be nice is using wireguard (https://github.com/linuxkit/linuxkit/blob/master/docs/wireguard.md) which is something linuxkit was looking to use for similiar use case. Also great project by the way.

@tgraf can we get a status update on this issue?

I guess it isn't implemented yet, right?

@ericstoekl @G3ph4z We are actively implementing this right now.

Can't wait for it to happen.

Hi folks! Someone mentioned WireGuard higher in the comments and I would like to re-ask the question. Did you consider WireGuard as an alternative for IPsec? Perhaps at the moment it’s more difficult to implement since you can’t use a preshared key and wg is not merged in the kernel yet but it would be a very interesting alternative since it’s supposed to have better performance than IPsec. At 10gbit or higher it might make a big difference.

@nustiueudinastea Yes, we have an issue for this: https://github.com/cilium/cilium/issues/7519.

Cilium has mutual authentication. Closing as this is already done https://docs.cilium.io/en/v1.15/network/servicemesh/mutual-authentication/mutual-authentication/#gs-mutual-authentication


Adding ability to apply patches ext 1.0.1

The Problem/Issue/Bug
Many issues are still using patches.
How this PR Solves The Problem
This PR allow applying patches to core/module/theme with or without issue fork.
Manual Testing Instructions
After installation is completed in Gitpod, Umami profile should be installed.
The patch we apply here change the language selection menu into a dropdown.
Manually install latest DrupalPod browser extension (1.0.1) from this repo -
https://github.com/shaal/drupalpod-browser-extension/tree/apply-patches
After installing -
Go to extensions options, and change the repo to the branch apply-patches
https://github.com/shaal/DrupalPod/tree/apply-patches

Run the following in 2 scenarios -
While logged-in to Drupal.org, and then again while NOT logged-in to Drupal.org
Go to https://www.drupal.org/project/drupal/issues/3042417, click on the extension, choose patch #100, and core 8.9.x
or
use these links
(1)
(not logged in scenario, no issue fork)
Drupal core 8.9.x, no issue fork, no branch, with patch #100 from node 3042417
https://gitpod.io/#DP_PROJECT_NAME=drupal,DP_ISSUE_FORK=,DP_ISSUE_BRANCH=,DP_PROJECT_TYPE=project_core,DP_CORE_VERSION=8.9.x,DP_PATCH_FILE=https%3A%2F%2Fwww.drupal.org%2Ffiles%2Fissues%2F2020-07-17%2F3042417-100.patch,DP_INSTALL_PROFILE=demo_umami/https://github.com/shaal/DrupalPod/tree/apply-patches
(2)
(logged in scenario, with issue fork and branch)
Drupal core 8.9.x + issue fork + branch + patch #100 from node 3042417
https://gitpod.io/#DP_PROJECT_NAME=drupal,DP_ISSUE_FORK=drupal-3042417,DP_ISSUE_BRANCH=3042417-accessible-dropdown-for,DP_PROJECT_TYPE=project_core,DP_CORE_VERSION=8.9.x,DP_PATCH_FILE=https%3A%2F%2Fwww.drupal.org%2Ffiles%2Fissues%2F2020-07-17%2F3042417-100.patch,DP_INSTALL_PROFILE=demo_umami/https://github.com/shaal/DrupalPod/tree/apply-patches
Related Issue Link(s)
Release/Deployment notes

At https://www.drupal.org/project/drupal/issues/3042417#comment-13752884 the extension (with config changed as you asked) just says "Open an issue page to see the available options"

At https://www.drupal.org/project/drupal/issues/3042417#comment-13752884 the extension (with config changed as you asked) just says "Open an issue page to see the available options"

Thank you, this will be fixed in next extension version 1.0.2.
The comment hash in the URL made it not recognize correctly that this is issue page.


Bump acorn from 6.3.0 to 6.4.1

Bumps acorn from 6.3.0 to 6.4.1.

Release notes
Commits

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

👷 Deploy Preview for stupendous-chebakia-25534d processing.

Name
Link

🔨 Latest commit
bf9dbd7f1defce39af8904965e91c9341861c523

🔍 Latest deploy log
https://app.netlify.com/sites/stupendous-chebakia-25534d/deploys/6397ebc9a82d760008ac9d55

👷 Deploy Preview for relaxed-strudel-e7bd9a processing.

Name
Link

🔨 Latest commit
bf9dbd7f1defce39af8904965e91c9341861c523

🔍 Latest deploy log
https://app.netlify.com/sites/relaxed-strudel-e7bd9a/deploys/6397ebc9255ba30008aa2151


Update README and example notebooks/scripts.

The documentation needs to be updated to reflect the new, object-oriented code structure.

Closing in favor of https://github.com/fmi-faim/faim-ipa/issues/189.


62 | Unique Paths | Java

62 | Unique Paths | Java -
What will change -  Java
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Python
[x] C++
[x] Java
[x] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

Happy Coding,

Let me do this @aryaniiit002 .Pls


Cannot find forge version in older FORGE_INSTALLER

Describe the problem
Relates to https://github.com/itzg/mc-image-helper/issues/174
I also tried specifying FORGE_VERSION=<IP_ADDRESS>4 and FORGEVERSION=<IP_ADDRESS>4, but it seems the helper utility is invoked regardless.
Container definition
  gtnh:
    container_name: gtnh
    image: itzg/minecraft-server:java19@sha256:3f4abaf7e50ae695943b0dda962ce244fe76f7e5954415d12ef1eabb10e71046
    environment:
      ALLOW_FLIGHT: "TRUE"
      CF_BASE_DIR: "/data"
      COPY_CONFIG_DEST: "/data"
      ENFORCE_WHITELIST: "TRUE"
      EULA: "TRUE"
      EXTRA_ARGS<EMAIL_ADDRESS>      FORGE_INSTALLER: "/modpacks/forge-1.7.10-<IP_ADDRESS>4-1.7.10-installer.jar"
      FORGE_VERSION: "<IP_ADDRESS>4"
      FORGEVERSION: "<IP_ADDRESS>4"
      GENERIC_PACK: "/modpacks/GT_New_Horizons_2.3.1_Server_Java_17-19.zip"
      JVM_XX_OPTS<EMAIL_ADDRESS>      LEVEL_TYPE: "rwg"
      LEVEL: "world"
      MEMORY: "6G"
      MOTD: "2.3.1 has landed"
      OVERRIDE_SERVER_PROPERTIES: "true"
      REMOVE_OLD_MODS_INCLUDE: "lwjgl3ify-1.3.0.jar"
      REMOVE_OLD_MODS: "true"
      SERVER_NAME: "Crazy Minecrafters"
      SPAWN_PROTECTION: "0"
      SYNC_SKIP_NEWER_IN_DESTINATION: "false"
      TYPE: "FORGE"
      USE_AIKAR_FLAGS: "false"
      USE_MODPACK_START_SCRIPT: "false"
      VIEW_DISTANCE: "16"
    ports:
      - "25565:25565"
      - "55164:25565"
    volumes:
      - "./data:/data"
      - "./modpacks:/modpacks"
      - "./mods:/mods"
      - "./root-overlay:/config"
    tty: true
    stdin_open: true
    restart: "unless-stopped"

I can provide some of the other files if necessary, but I believe they are unrelated since this forge version parsing happens relatively early in the startup.
Container logs
gtnh  | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 1 1000 1002 1354 Mar 25 14:56 /data'
gtnh  | [init] Resolved version given LATEST into 1.19.4 and major version 1.19
gtnh  | [init] Resolving type given FORGE
gtnh  | [mc-image-helper] 15:03:24.262 ERROR : 'install-forge' command failed. Version is 1.25.16
gtnh  | me.itzg.helpers.errors.GenericException: Failed to locate version from provided installer file
gtnh  |         at me.itzg.helpers.forge.ForgeInstaller.install(ForgeInstaller.java:88)
gtnh  |         at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:84)
gtnh  |         at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:16)
gtnh  |         at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
gtnh  |         at picocli.CommandLine.access$1500(CommandLine.java:148)
gtnh  |         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
gtnh  |         at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
gtnh  |         at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
gtnh  |         at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
gtnh  |         at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
gtnh  |         at picocli.CommandLine.execute(CommandLine.java:2170)
gtnh  |         at me.itzg.helpers.McImageHelper.main(McImageHelper.java:132)
gtnh  | [init] ERROR failed to install Forge given installer /modpacks/forge-1.7.10-<IP_ADDRESS>4-1.7.10-installer.jar
gtnh exited with code 0

I'm curious why you need a custom forge installer.

...and now I see what you were trying with also specifying the FORGE_VERSION. That would be an interesting way to use as fallback when version discovery doesn't find anything.

I'm curious why you need a custom forge installer.

The modpack zip does not have this installer included in it, so the pack fails to start because of missing lib files that would have otherwise been downloaded.

...and now I see what you were trying with also specifying the FORGE_VERSION. That would be an interesting way to use as fallback when version discovery doesn't find anything.

Yes, it would be interesting as a fallback option.

The modpack zip does not have this installer included in it, so the pack fails to start because of missing lib files that would have otherwise been downloaded.

Why not just use the following and let it auto download/install
TYPE: FORGE
VERSION: 1.7.10
FORGE_VERSION: <IP_ADDRESS>4


Add test cases for TFS calls

We should add test cases for the core functionality of this addin using a mock of GitHttpClient
Original issue: https://github.com/cake-contrib/Cake.Issues.PullRequests.Tfs/issues/3

@pascalberger Could you please elaborate on this one? As far as I understand, something like this should be done:

Create an interface with all the methods we call of GitHttpClient
Implement this interface by wrapping the calls to the real GitHttpClient
Use this new class everywhere GitHttpClient is currently used
Mock that interface in the unit tests and cover all public methods currently not covered with tests: ctor, SetStatus, Vote

I would appreciate if you share a couple of lines of preudo-code in case you mean something else. Thanks!

As a base principle I would like to keep the TFS assemblies / types internal (to allow e.g. #13). I think another wrapper around GitHttpClient adds additional overhead, which I would like to avoid.
How about introducing an internal IGitClientFactory and GitClientFactory, move the existing TfsPullRequest.CreateGitClient implementation to it and pass an instance of it to TfsPullRequest. This would allow to have an implemention of IGitClientFactory in the test assembly which returns a mock of GitHttpClient. Then it should be possible to create tests for the public methods of TfsPullRequest, especially the ctor which contains probably the most logic.
Does this make sense?

Sure, it does! I'll shape it in code and come up with the first draft. We can always adjust from there.


Small Steam Icons are incorrect aspect ratio

Steamdeck, Heroic/Flatpack/Epic, BoilR v.0.9.22 using SteamGrid api key
The images downloaded for the shortcuts in the small library on the left are the incorrect aspect ratio.
Also some things like Emulators have automatically picked up artwork for the banner/large icons but have no icon for the small library (e.g. Dolphin in my screenshot)

This is a "feature" for big picture mode. The big picture mode uses the icon images as its "cover images".
I am thinking that this has to be implemented as a "enable big picture support" mode, a mode that is off by default.
Then big picture mode will look bad, but it will look better with the icons.

@marmite22 you know the drill by now :-) There is a new release:
https://github.com/PhilipK/BoilR/releases/tag/v.0.9.23
Can you test if it works?

In the settings, optimize_for_big_picture = false
and now I don't get icons in the small library OR in big picture mode (but they still work in game mode though).

with the settings set to optimize_for_big_picture = true
I have got correct icons in the small library but then it also displays those same small icons (but stretched/blurry) in big picture.

ah found the problem, i check if the icon exists before i download it... so if you just run it twice it will work.... I will get it fixed in the next release.

https://github.com/PhilipK/BoilR/releases/tag/v.0.9.24 should fix the icons

I'm not sure exactly what my set of steps were but I was testing both optimize_for_big_picture = false and optimize_for_big_picture = true and then testing both big picture and the library view and I've managed to get it to a point where BOTH look perfect. The big picture view has the nice wide aspect ratio images and the little library has got nice sharp little icons - and I've just checked and they look great in game mode too.
The last time I ran it was with optimize_for_big_picture = false but I don't know if the fact that I ran it the other way first is why it's working or if it would be working if I'd just run it with false the first time.
Anyway, it seems there is some way to have it both ways rather than either/or.
I'm afraid I'm not around much over the weekend for more testing - but for me at least this seems to be working now so thanks again.

@marmite22 thank you so much for your swift feedback and thorough testing!


unused_import considers [ClassName], but not [new ClassName]

See the example below.
For line one, everything is fine.
For line two, (if it's the only reference to HahsMap in the code), then you get an unused import hint.
If you remove the import, the comment_references lint lights up.
import 'dart:collection' show HashMap;

/// [HashMap] references the class
/// [new HashMap] references the constructor
final something = null;

CC @pq RE linter overlap.

Thanks @kevmoo!
@bwilkerson: regarding overlap (and the need to track separately for the linter), my guess is that if we fix this in analyzer it will "just work" for the lint (as identifier.staticElement will be non-null?):
https://github.com/dart-lang/linter/blob/c4657c3c1fe0ea5d60b79bd6d2875f5390308e44/lib/src/rules/comment_references.dart#L98

That's my expectation as well.

That would be wonderful!
On Fri, Aug 2, 2019 at 7:24 AM Brian Wilkerson<EMAIL_ADDRESS>wrote:

That's my expectation as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/37649?email_source=notifications&email_token=AAAEFCR4L35KRZEWCC5FJMDQCQ7QDA5CNFSM4IHH3KGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3N4PQA#issuecomment-517720000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAEFCXVBSOOBINIEMYC243QCQ7QDANCNFSM4IHH3KGA
.

This one looks fixed.  Please re-open if any issues persist!


add "prefix" option for Transcribe compatibility

Closes #63
How does this look to you, @danse?

awesome, well done! :sunglasses:


Cannot get token with refresh token when using client-authentication and client_auth_method is set to ClientSecretJWT

Describe the bug
I'm using keycloak as oidc provider, I used the example code to get a Oauth2session
from authlib.integrations.requests_client import OAuth2Session
from authlib.oauth2.rfc7523 import ClientSecretJWT

session = OAuth2Session(client_id, client_secret)
session.register_client_auth_method(ClientSecretJWT(token_endpoint))
token = session.fetch_token(token_endpoint)

# when the token is expired , I use the access token to refresh token
token = session.refresh_token(token_endpoint)

I think it's because session are not using correct client_auth_method , I cannot see any parameter of refresh_token to set client_auth_method , I tried to register_client_auth_method but still no work.
I debugged this process and found  session.metadata is an empty dict , maybe we can save the client_auth_method here
Error Stacks
session.refresh_token(client.token_endpoint)
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "D:\mycode\venv\lib\site-packages\authlib\oauth2\client.py", line 262, in refresh_token
    return self._refresh_token(
  File "D:\mycode\venv\lib\site-packages\authlib\oauth2\client.py", line 275, in _refresh_token
    token = self.parse_response_token(resp.json())
  File "D:\mycode\venv\lib\site-packages\authlib\oauth2\client.py", line 380, in parse_response_token
    self.handle_error(error, description)
  File "D:\mycode\venv\lib\site-packages\authlib\integrations\requests_client\oauth2_session.py", line 117, in handle_error
    raise OAuthError(error_type, error_description)
authlib.integrations.base_client.errors.OAuthError: invalid_client: Parameter client_assertion_type is missing

To Reproduce
A minimal example to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment:

OS: Windows 10
Python Version: Python 3.9.1
Authlib Version: Authlib==0.15.3

Additional context
Add any other context about the problem here.

I checked my code and found that the problem is that I dumped access token as dict and saved it in a varible , then loaded back with token = xxx parameter, the auth method info was perhpas lost during, resulting a failure when refreshing token. closing this issue...


release v1.5.0

This is a "placeholder" PR to collect the steps necessary for v1.5.0 release.

[ ] https://github.com/plausible/hosting/pull/45
[ ] https://github.com/plausible/hosting/pull/52
[ ] https://github.com/plausible/analytics/pull/2214
[ ] Docs on geonames.csv
[ ] GA imports testing
[ ] CSV exports testing

It's probably better as an issue.


[Question]: How can we make the model accurately predict the content of the next token block?

Describe your problem

My knowledge base divides token blocks by carriage returns, so using this method splits these two parts into different token blocks. When I ask a large language model if it knows what comes next in the sentence, it starts fabricating information. Is there any way to enable the model to correctly answer this question?

Is the raw data txt files?
If it is, use a special token as the delimiter and turn down the token number.
If it's a PDF file, turn the task size to 1 and token number to a very large number.

原始数据是txt文件吗？如果需要这样做，使用一个特殊的标记作为分隔符，并减少标记的数量。如果是一个 PDF 文件，将任务大小设置为 1，令牌数量设置为一个非常大的数字。

Boss, I have another question. What's going on when the response is off-topic or only partially answers the question? I've already set the token count to its maximum value, and the dialogue model is loaded by Ollama while the embedding model is loaded by Xinference.

It's the ability limitation or robustness of the LLM that you chose.


Periodically check on scaler thread continuance (resolves #1208)

Resolves #1208

A few thoughts: This mildly different to what I proposed in https://github.com/BD2KGenomics/toil/issues/1208#issuecomment-253812788
With this approach, can you guarantee that both Threads are joined? If both fail, will we be able to detect both failures and print stack traces for them?

Jenkins, test this please

@hannes-ucsc ahh, joining with a timeout would be better - I missed that comment, thanks for catching that!

My new approach is slightly different from my old one but I think it solves all of the problems you brought up. Now both exceptions are handled symmetrically and their tracebacks are visible and I removed the special case and the exception aggregation.
The tradeoff is that neither exception is actually raised, just logged. Instead, a runtime error is raised at the end of the method if there was an exception in either thread.

Jenkins, test this please

@hannes-ucsc ready for review

https://github.com/BD2KGenomics/toil/pull/1213#discussion_r84047755

I missed another comment, I need to be more careful with this PR.. Sorry about that!

Jenkins, test this please

Jenkins, test this please

Jenkins, test this please

@hannes-ucsc ping for review


Viewer is not defined

I want the current Camera position ,  Camera Look up array from InfoPanel so I tried to debug from console but when I tried calling Viewer, it threw this error.  I don't know JavaScript that much.
VM1630:1 Uncaught
ReferenceError: Viewer is not defined
    at <anonymous>:1:1

Can you share your code? That might help me debug.

Hi, as you can see, I'm using your default Demo Viewer for debugging, but this itself is throwing the same error.

Yes that is what I would expect to happen, you can't really use the debug console like that :)
What you need to do is set a breakpoint at an appropriate place in the code. Here I have set a breakpoint at line 1546 in Viewer.js:

When the execution reaches the above breakpoint, I can then inspect viewer properties or camera properties in the debug console:

Closing this for now, let me know if you need any more help with this.


frame.cc: optimize CreateReferenceLineInfo method [#4745]

Break the loop over immediately once reference information is initialized successfully.

Please note that, the "continue" could be removed with this change.


Link Subject to CancellationToken

Simple implementation, but would be useful to have.

Thank you, it certainly seems useful!
However, I cannot agree with putting utility-like code into the object itself.a


Fix param matchers reference on docs

Fix param matchers reference on docs/01-project-structure.md
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thanks!


[Bug]: Error: Reference to undeclared input variable

What happened?
Description
I am getting the following error when I try to create a KPI base search using the itsi_kpi_base_search resource:
Error: Reference to undeclared input variable
│
│   on base_search.tf line 16, in resource "itsi_kpi_base_search" "test_terraform_kpi_base_search":
│   :     for_each = var.metrics
│
│ An input variable with the name "metrics" has not been declared. This variable can be declared with a variable "metrics" {} block.
Steps to Reproduce
this is my variables.tf file
variable "metrics" {
type    = list(map(string))
default =  [
{
metrics_title            = "Tf_ElasticSearch_ClusterStatus_green"
metrics_threshold_field  = "ClusterStatus_green"
metrics_unit             = "cnt"
metrics_aggregate_statop = "avg"
metrics_entity_statop    = "avg"
},
{
metrics_title            = "Tf_ElasticSearch_ClusterStatus_red"
metrics_threshold_field  = "ClusterStatus_red"
metrics_unit             = "cnt"
metrics_aggregate_statop = "avg"
metrics_entity_statop    = "avg"
},
{
metrics_title            = "Tf_ElasticSearch_ClusterStatus_yellow"
metrics_threshold_field  = "ClusterStatus_red"
metrics_unit             = "cnt"
metrics_aggregate_statop = "avg"
metrics_entity_statop    = "avg"
}
]
}
This my main.tf file which is reading the metrics block from variables.tf file like below
dynamic "metrics" {
for_each = var.metrics
content {
title = metrics.value.metrics_title
threshold_field = metrics.value.metrics_threshold_field
unit = metrics.value.metrics_unit
aggregate_statop = metrics.value.metrics_aggregate_statop
entity_statop = metrics.value.metrics_entity_statop
fill_gaps = "last_available_value"
}
}
}
Expected Behavior
The itsi_kpi_base_search resource should be able to create the KPI base search without any errors.
Current Behavior
The itsi_kpi_base_search resource fails with the error message shown below.
for_each = var.metrics
│
│ An input variable with the name "metrics" has not been declared. This variable can be declared with a variable "metrics" {} block.
ITSI Terraform Provider version
v1.0.0-beta.7 and also v1.0.0-beta.9
Environment information
Environment
Terraform version and OS: (e.g., 1.4.0 Linux)
ITSI version (e.g. 4.16.0)
Splunk version: (e.g. 9.0.0)
Relevant log output
No response

I realized that I had been working on the wrong file. After making the necessary corrections, it worked perfectly. Thank you!


Bring in bread images

@ArnarTumi Can you refresh my memory on how this worked / what the game plan is? We were going to put all site images into a .zip file included in the repo, right? And was there a management command that was going to unzip that, move them into media/original_images, and then loads the images.json fixture file to reference those same images?
I have the json file, but I don't have the .zip file - can you send it to me please?

We decided on not putting the images into the repo for now as it would make the repo so much bigger. We could revisit that thought at some point, after I ran the originals through tinyjpg the images are only 4mb total, and thus could probably just be added to the repo...
Anyway, attached are the images, you can grab a copy of my sqlite db from the slack chat, that should get you up and running with the images attached and all the "Breads" pages included
Breads.zip

All BreadPages are now in (my local, not committed). Partially automated, partially manual. Styling work for breads index and detail needed - separate ticket for that.
Thanks for the yeoman's work on this @ArnarTumi !


Running Fuzzier affects arrow keys

Looks like after running fuzzier arrow key selection for completion does not work correctly.

Fixed on #5


Chromosome chain

Generate chromosome chain nodes and edges based on specified resolutions.
Handle different edge types ("next_chain" and "lower_resolution").
Added located_on_chain relation for positional entities with their respective chromosome chain

There should be a link between the chromosome chain nodes and position entities (e.g SNPs, Genes etc) for each resolution.

There should be a link between the chromosome chain nodes and position entities (e.g SNPs, Genes etc) for each resolution.

done!

@dawit-melka It looks like this PR has a merge conflict. Can you take a look?

The merge conflict is resolved, but I'm looking into the failed git workflow


[tool_crash] _CastError: (#0      new WebPlugin.fromYaml (package:flutter_tools/src/platform_plugins.dart:548:34))

Command
flutter pub upgrade --major-versions

Steps to Reproduce

...
...
...

Logs
_CastError: (#0      new WebPlugin.fromYaml (package:flutter_tools/src/platform_plugins.dart:548:34))
#0      new WebPlugin.fromYaml (package:flutter_tools/src/platform_plugins.dart:548:34)
#1      new Plugin._fromMultiPlatformYaml (package:flutter_tools/src/plugins.dart:142:21)
#2      new Plugin.fromYaml (package:flutter_tools/src/plugins.dart:78:21)
#3      _pluginFromPackage (package:flutter_tools/src/flutter_plugins.dart:63:17)
#4      findPlugins (package:flutter_tools/src/flutter_plugins.dart:88:28)
<asynchronous suspension>
#5      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1080:32)
<asynchronous suspension>
#6      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:357:5)
<asynchronous suspension>
#7      PackagesInteractiveGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:357:5)
<asynchronous suspension>
#8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)

[✓] Flutter (Channel stable, 3.7.9, on macOS 13.3.1 22E261 darwin-arm64, locale en-UZ)
    • Flutter version 3.7.9 on channel stable at /Users/mac/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 62bd79521d (3 weeks ago), 2023-03-30 10:59:36 -0700
    • Engine revision ec975089ac
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9514443/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9514443/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.77.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 13 (API 33) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 13.3.1 22E261 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 112.0.5615.49

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
No pubspec in working directory.

Closing as duplicate of https://github.com/flutter/flutter/issues/115738. Please upvote original issue to get team's attention and priority.


Windows - Two private folders with same content

Keybase GUI Version: 1.0.15-20160413083549+d37acc1
Today I observed two private folders of mine with same content but different names

Logid :  2c814a99c417bca243a8341c

Hi @sirishkumar, how did you get to the first one? Did you type that in or follow a link from somewhere?  It is intentional that the uid name resolves to the same folder as your keybase username (it is the same thing as foo@twitter resolving to the corresponding keybase user name), but you should never see that first name under /keybase/private/.

@strib Folder was present under k:/private and I can see the same in under linux

Hrmm.  @oconnor663 can we check if @sirishkumar's favorites list includes a weird uid string?  Or it could be a libdokan issue I guess.  @taruti?  Aliases aren't supposed to show up in the folderlist contents, right?

@strib, libdokan uses EmptyFolders like libfuse did a few months ago, this is related to KBFS-971. I'll try to get a fix out today.

@strib Sirish's favorites list does in fact include a weird private TLF: a34ae1625e08c1eb95afd64a62515100@uid.

Whoa, thanks @oconnor663.  Can we nuke entry that for now?  It's probably from a libdokan bug that @taruti is looking at now.

I see 11 users with ___@uid favorites, including @strib, @akalin, and @malgorithms. Should we delete all of them?

Super weird.  Do you happen to have ctimes for those?  I think they're safe to nuke, but I'm wondering if they've been created lately or due to some really old bug.

posted at https://keybase.atlassian.net/browse/KBFS-1005

We deleted the weird uid favorites, and have a theory about why they happened (from a bug that has since been fixed).  So @sirishkumar you shouldn't have that favorite anymore, and for new releases it shouldn't be possible to get into that state again.


UI widget is buggy, some texture appear and disappears

Hey, guys
I've found a bug with UI widgets as you see below:
(Please looking at the blue badge below the avatar of one girl, and there has a number label by its side)

https://user-images.githubusercontent.com/113896135/203259769-21993811-b2c4-489f-9a18-117844e19dab.mov
Does flutter engine automatically free the texture and automatically load it again? 😂😂😂
And another guess is that there's some bug with the calculation of UI layout.
BTW, the counting number widget covers on the blue CSV formatted bg image.

[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale zh-Hans-CN)
    • Flutter version 3.3.4 on channel stable at /Users/jakit/fvm/versions/3.3.4
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (7 weeks ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/jakit/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (3 available)
    • M2006C3LG (mobile) • MR6TKJEIC659TCGM • android-arm    • Android 10 (API 29)
    • macOS (desktop)    • macos            • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)       • chrome           • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Hi @LiangJie1-ola

(Please looking at the blue badge below the avatar of one girl, and there has a number label by its side)

I'm not sure I can see the issue here. Can you be more specific by clarifying Actual result and Expected result?
Also, please provide a completed and minimal reproducible code sample so that we may verify this. Thanks!


linter追加&warning修正

golangci-lintにlinterを追加した、
また、いくつか出ていたwarningを消した。

Codecov Report

Merging #30 (99270e3) into main (a1e6455) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   74.46%   74.46%
=======================================
  Files           3        3
  Lines          94       94
=======================================
  Hits           70       70
  Misses         13       13
  Partials       11       11

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 a1e6455...99270e3. Read the comment docs.


Align text in header and celll by collum

In some cell and header of collum in Material Table
I need align text right (ex: toLocaleDateString, or some data)
But I'''m not found any option to do that
I try  setCellProps: () => ({ align: 'right' }) but it only work with cell in collum
Does Any option to do with header of collum ?
Or best option to make header and cell align right in current collum?
Thanks !

This is a duplicate of the issue here https://github.com/gregnb/mui-datatables/issues/400, which you can follow to catch up on the latest with this issue. Closing this one to prevent clutter.


upgrade demo to react-native rn42 and react-native-svg 5.1.5

I just had some warnings

related to https://github.com/FormidableLabs/victory-native/issues/53

thanks @sibelius! I'll check it out now

Alright, the demo works for me! I can take it from here. I think I'll remove some of the react-native default boilerplate to keep it light.
And now I should address that Warning: Failed prop type issue :P @sibelius, do you get a visible warning when running the demo?

Warning: failed prop type: Invalid prop pointerEvents of type string supplied to Path, expected function. ...

@boygirl do you know if that prop type warning ^ is new? I didn't see any issues with it.

thanks again for your help, @sibelius! I've built on your commit and will track it in https://github.com/FormidableLabs/victory-native/pull/55

I'm also seeing these warnings. Is there a solution yet?
Also, tooltip text isn't visible if the string does not contain a \n character. Should I open a separate issue for that?

@akonwi we are working on releasing 0.7.0 which will fix this. I'll ping you when we do (should be in the next few days). Sorry about that!

@akonwi and yes, please file a tooltip issue. thanks so much!


Layout API docs

Add and improve doc comments for layout-related items.
This is mainly for me to understand the code better, but hopefully it should be helpful to others.

Yeah, I think it’s ready to merge.

Thank you!


Does this work follow the CenterNet?

Does this work follow the CenterNet? What is the relationship between the two? Is there a paper to describe it?

The idea comes from centernet, but it's not exactly the same, and the paper will be released later.


Unlocking RAPL MSR on Dell servers

I'm trying to do power limiting on a Dell server (R630), and the RAPL MSR lock bit is set. I can't find a configuration of BIOS settings to unlock it.
Has anyone else experienced the same? Any suggestions?

I've been asking around about this one.  The best advice I have so far is to look into the "System Profile" and "Performance Profile" menus in the Dell BIOS.  Unfortunately I do not have a specific BIOS setting to suggest.  I'll be sure to post here if I get any more information.

Certainly, unfortunately there's nothing explicit there about power limiting/locks. Dell has their own power management, which I've tried disabling, to no avail. Do you have a Dell technical contact that could help?

Just an update on this. All current Dell BIOS have the MSR RAPL lock bit set.
Inquiring now about making a custom BIOS.

Thanks for the update.  A custom BIOS sounds messy.  Wish we could be more helpful.  It is discouraging that Dell has made this design decision.


Allow to delete default personas

Describe the need of your request
There are way too many default personas. In users just use couple of them. When trying to use one of the personas with @persona it is really slow and hard to find specific one.
Proposed solution
Allow to delete default personas.
Additional

 context

Closing this. The default personas were removed a few versions back, in addition to other prompt configuration improvements.


Sencha Touch Android - multiple instances?

I'm using the Custom URL Scheme plugin in combination with Pushwoosh to send a URL that will open my app and direct the user to specific areas. This seems to be working fine on iOS but on Android it's creating multiple webviews within the app of the main page. Any ideas? This isn't happening on iOS.

Please post a link to the Custom URL Scheme plugin?

https://github.com/EddyVerbruggen/Custom-URL-scheme

Also on Android - when a device receives a notification the initial icon appears to be too large for the space. After the text of the notice rolls away the correct icon is displayed in the task bar.

Do you have any sample project exposing this behavior so I could jump start on this?


Mouse Without Borders: Information about transport encryption needed to evaluate whether it can be used

Provide a description of requested docs changes
So far I don't see any security related information. I need to understand potential risks to evaluate whether it can be used.
Think about a typical small business network with many people in the same network.
Especially  clipboard content and keyboard input can be very dangerous to share unencrypted in a network. Even in a local network.
Thanks

cc: @crutkas

Hi @kraoli, thanks for the question.
We encrypt all traffic using a security key that is stored on all clients in %localappdata%\Microsoft\PowerToys\MouseWithoutBorders\settings.json. Getting that file contents would mean an attacker could decrypt/spoof the traffic.
MWB uses a custom protocol with TCP sockets as a transport layer.


Migration tool should recommend flutter pub outdated for Flutter projects

Currently, when the migration tool detects unmigrated dependencies, it outputs an error message suggesting the user run dart pub outdated --mode=null-safety --prereleases to find newer versions of dependencies.  This doesn't work for Flutter projects, since for a Flutter project, dart pub outdated --mode=null-safety --prereleases simply outputs Package doesn't exist (the Flutter SDK is not available)..

simply outputs Package doesn't exist (the Flutter SDK is not available).

That's especially unfortunate, given that that version of pub is actually running from the Flutter SDK - it should trivially be able to locate the Flutter SDK.
I think another resolution to this issue is for dart pub outdated to work correctly for flutter projects (when run from the dart sdk within the flutter sdk).
I'd thought we'd resolved this with https://github.com/dart-lang/pub/issues/2307 but apparently not. @mit-mit for thoughts

I cannot repro this:
mit-macbookpro4:tmp mit$ cd flu88
mit-macbookpro4:flu88 mit$ dart pub outdated --mode=null-safety --prereleases
Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.

All your dependencies declare support for null-safety.

Are you sure you don't have another dart in your path, which isn't the one from Flutter?

@mit-mit you're right, I was running dart from a local build of the SDK that was unconnected to Flutter--I didn't realize that dart pub behaves differently when invoked from an SDK inside flutter 😃
I personally would still like the migration tool to suggest flutter pub outdated when migrating a flutter project, because I think it would lead to less user confusion.  But it's way lower priority than I thought it was.

After further discussion I've learned that the flutter folks are moving away from having flutter foo commands that simply wrap the corresponding dart foo command.  So I now think that what the tool is doing is just fine.  Closing this issue.


fix(setup): fixes for make setup

This PR seems to fix the following issues with make setup procedure:

Makefile bad substitution (and remove some trailing white spaces)
https://github.com/linkml/linkml-project-cookiecutter/issues/33

(baselink-py3.10) ~/git/hub/projects/baselink/baselink$ make setup
./utils/get-value.sh: 4: Bad substitution
./utils/get-value.sh: 4: Bad substitution
poetry install

This does not appear to be a Git project

Unfortunately my PR solves Step 4 but breaks Step 8 due to nested .git/ directories.
Step 4: Run  git init in directory ./linkml-projects/ solves  #33  OK
Step 5: OK
Step 6: OK
Step 7: OK
Step 8: NOK
git remote add origin https://github.com/my-user-or-organization/my-awesome-schema.git
git branch -M main
git push -u origin main

error: 'main/' does not have a commit checked out

The solution for Step 8 is unsatisfying but effective!!
rm -fr ../.git               #  fix the error above
git remote add origin https://github.com/my-user-or-organization/my-awesome-schema.git
git branch -M main
git push -u origin main

Suggestions welcome!

I think the changes to the Makefile are good - maybe separate these out?
As for the README instructions, I think we need to revisit these as a whole as getting setup is still more complex than it needs to be

Closed for now: https://github.com/linkml/linkml-project-cookiecutter/pull/36


Cairo on multiple screens

When running multiple screens, it would be good to have the option to have Cairo showing on all screens, similar to how you can have the windows taskbar on all screens.
This is especially handy if you use a lot of fullscreen applications, as they cover cairo when open on the main screen.

Definitely would like to have this. +100.

This is especially handy if you use a lot of fullscreen applications, as they cover cairo when open on the main screen.

Would it be alright to make a feature request for having Cairo reserve space on the top of the screen and have the dock at the bottom disappear and reappear on mouseover when there is a fullscreen (non exclusive) window open? This would address the quoted part, and would also be really nice in a multimonitor environment as well.

@Krutonium Cairo already reserves space at the top of the screen, do you have a problem with windows overlapping the top bar?
As for the autohide, this is a duplicate of #48.

I have this working; if everything goes well it should make its way into the next build.

This has been added in the latest release.


Purchase of Vertical Tower

Link: Vertical Farming Product

Calculation... @chengkaihooi
Quantity:
Price:

Partial for the purchase has been shipped as of 29 August 2022 😢


Feature Request: Using Deno as a server with vite

Clear and concise description of the problem

Disclaimer: To avoid confusion: This is NOT a proposal to run vite inside deno!

I thought that it should be quite easy to modify vite so I can use it together with deno:
The following example my Deno entrypoint is src/server.ts than I could start vite and start deno with
deno run -r http://localhost:3000/src/server.ts

(The -r flag is so deno don't use cached files)
I run into some errors as HTMLElement and CustomElements and location is not defined in deno but I could modify the dist/client/client.mjs file so Deno runs and I also got a simple HMR working.
(Note that I want to use the SAME vite instance to develop my vue application)
Suggested solution
I'm quite shure that this is nothing a plugin can handle (maybe by modify the @vite/client import but that seems like a hack and I'm not shure how easy this can be done).
Is this something to add to 'core' vite? - If yes I'm happy to work on it and create a PR.
Changes would include

files in src/client (content AND maybe structure)
Maybe other files wher code uses CLIENT_PUBLIC_PATH or @vite/client
Propably build config for files in src/client

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

That is not what I meant I dont want to run the vite code on Deno but create a Deno Server with vite.

then please include error message and preferably a reproduction

The main question is if this is something a plugin can not fix / handle is that something that is wanted in vite or not. And I'm happy to work on a PR!
reproduction see https://github.com/mathe42/vite-deno-repro
The modified client.mjs is the same I only removed some usage of location.PROPERTY and the ErrorOverlay. As location.reload() doesn't exist in Deno it currently exit the process if that happens.

Got it working with a plugin... Also for NodeJS development
For all interested https://github.com/mathe42/vite-plugin-server


chaskey is not available

Is that a typo?

It's unclear exactly what you mean. This library has a dependency on another library: https://github.com/volexity/chaskey-lts - which must be installed prior to the installation of this library.

I figured out. https://github.com/volexity/chaskey-lts is not published on pypi, and setup.py won't work due to that. Can you fix it?

You also forget to add yara to your dependency list

The README.md states that the chaskey-lts module must be installed separately. We do not currently have plans to publish either this library or chaskey-lts on pypi
I'll add yara to the list of dependencies, this was an oversight.

I have a problem with the yara rules, data/rules.yar:14: syntax error, unexpected _IDENTIFIER_, expecting _CONDITION_
 $base64 = "\x48\x89\x5c\x24\x08\x48\x89\x6c\x24\x10\x48\x89\x74\x24\x18\x57\x41\x56\x41\x57\x48\x81\xec\x00\x05\x00\x00\x33\xff\x48\x8b\xd9\x39\xb9\x38\x02\x00\x00\x0f\x84\xce\x00\x00\x00\x4c\x8b\x41\x28" base64

I have yara-1.7.7 with python 3.11 on MacOS

The modifier base64 used in the rules was added in YARA 4.0.0 (I think). You'll need YARA >= 4.0.0.
I'll update the setup.cfg file to reflect the requirement for a version >4.0.0.


ARROW-826: [C++/Python] Fix compilation error on Mac with -DARROW_PYTHON=on

This fixes https://github.com/ray-project/ray/issues/461

Really sorry, this got accidentally reverted in the ARROW-734 merge, I'm putting up a patch to fix tonight and will keep an eye to make sure it doesn't happen again

No worries, thanks for spotting this!


[BAD_INPUT_DATA] PDF to XML conversion failed with error code: 1

I am trying to use grobid latest version (0.5.5) in centos based Linux server. The response from the test API http://yourhost:8070/api/version is working fine. But it is not working for full-text extraction.  The input is perfect academic document. Attaching the logs for the issue:
'Grobid returned status {0} instead of 200\nPossible Error:\n{1}'.format(resp.status_code, resp.text))
requests.exceptions.HTTPError: Grobid returned status 500 instead of 200
Possible Error:
[BAD_INPUT_DATA] PDF to XML conversion failed with error code: 1

Hello @bharathgit956
Thanks for the issue. The PDF parsing is failing, so the academic document might not be so perfect or there is an issue with the pdfalto binaries on your centos (less likely).
It would be nice to share this file with us to be able to reproduce the problem, otherwise it's hard to see what might go wrong.
Could you try to do the following:
>  ~/grobid/grobid-home/pdf2xml/lin-64/pdfalto  -noImage  -annotation -outline -filesLimit 2000 -blocks -noImageInline -fullFontName your_academic_document.pdf

(assuming you installed grobid at the above path and with the right PDF file name)
Is the pdfalto command working? Do you have some .xml files generated?

Thank you so much for the quick response. I got the following logs.
grobid-0.5.5/grobid-home/pdf2xml/lin-64/pdfalto: /lib64/libc.so.6: version GLIBC_2.15' not found (required by grobid-0.5.5/grobid-home/pdf2xml/lin-64/pdfalto) grobid-0.5.5/grobid-home/pdf2xml/lin-64/pdfalto: /lib64/libc.so.6: version GLIBC_2.14' not found (required by grobid-0.5.5/grobid-home/pdf2xml/lin-64/pdfalto)

Thank you!
Ah, it might mean that your CentOS version does not provide this version of GLIB (v15) - is it CentOS 6? Can you do:

ldd --version

and give the version for GLIBC that is indicated?

Just to be sure, you are using a 64 bit OS right? If you type lscpu it should indicate 32-bit and 64-bit as CPU op-modes.

yes. I am using a 64-bit os.
GLIBC version is 2.12 and its CentOS 6.
How to solve this issue?

On your side, one solution is to upgrade to CentOS 7 which has a more recent glibc - I assume your CentOS 6 is up to date, but you could do a yum -y update glibc to be sure.
Otherwise, in short term, I think you'd need to recompile locally pdfalto. See the project https://github.com/kermitt2/pdfalto and follow the build instruction https://github.com/kermitt2/pdfalto#build
Then you need to copy your local executable to replace the binary shipped with grobid:

cp ~/pdfalto/pdfalto ~/grobid/grobid-home/pdf2xml/lin-64/

And you'll be fine.
For pdfalto I will see if we can rely on an older glibc version, but probably not.

I also had this error, on AWS SageMaker. But I failed to build pdfalto

I had this problem on AWS SageMaker. But your instructions worked. Thanks!

Hi @xegulon !
Unsupported major.minor version 52.0 -> you are using a JRE version lower than the JDK that has build the jar (here 52 is JDK 1.8). You need a JRE version 8 or more to run it.


Add back username and port as AR configuration values

In Rail 6.1 the information return is from an ActiveRecord::DatabaseConfigurations::HashConfig object, with methods for some but not all of the configuration attributes. This fixes a bug wheree database and host had getter methods, but the username and port values did not. All values are now just fetched from the instance variable configuration_hash directly.
This fixes #187

I worry a bit about cross compatibility here. What is going to happen with earlier versions of rails?

You separated the pre 6.1 code out, which is all that I changed.

Happy to try this, any idea why CI is failing?


Enable CI CoreCLR test runs on Linux and OS X

@cesarbs please let us know when you are doing this. We want to make sure EF tests are run an work great on Mac.
cc @natemcmaster

All EF tests are passing on OSX CI now. This required manually setting locale on our CI agents.
For future reference, due to https://github.com/dotnet/coreclr/issues/2531 I had to manually set environment variables to ensure the thread culture is "en-US", not "en-US-POSIX".
Env variables I added:

Var Name
Value

LANG
en_US.UTF-8

LC_COLLATE
en_US.UTF-8

LC_CTYPE
en_US.UTF-8

LC_MESSAGES
en_US.UTF-8

LC_MONETARY
en_US.UTF-8

LC_NUMERIC
en_US.UTF-8

LC_TIME
en_US.UTF-8

:clap: :100:

@natemcmaster Did you set them in-proc or globally on the agent?

Globally on our Mac agents in <TeamCity Agent Home>/conf/buildagent.properties

This is finally working :smile:

Looks like our new agent aspnetci-a20 is missing these variables.


Error on Mac when parsing redirected response

On Mac, WebResponse.web_ExtractResponseTextFromCurlResponse() improperly handles responses which get redirected.
In this example, the raw output of curl includes the HTTP 301 response, followed by a blank line, followed by the desired HTTP 200 response, followed by a blank line, then the reponse body. web_ExtractResponseTextFromCurlResponse then returns everything after the first blank line as the response content, which includes HTTP headers.
This silly example is solved simply by adding another / to the end of the URL, and our actual use case probably won't involve redirects, but I thought it worthwhile to report.
Thanks for this great library, it solves a lot of problems for us!
Example Code
Function GetPokemon(Id as Integer) As String
    Dim PokeClient As New WebClient
    PokeClient.BaseUrl = "http://pokeapi.co/api/v2/"

    Dim Resource As String
    Dim Response As WebResponse

    Resource = "pokemon/" & Id

    Set Response = PokeClient.GetJson(Resource)

    ProcessPokemon Response
End Function

Public Sub ProcessPokemon(Response As WebResponse)
    If Response.StatusCode = WebStatusCode.Ok Then
        Dim Pokemon As Dictionary
        Set Pokemon = Response.Data

        Debug.Print "Pokemon's name is " & Pokemon("species")("name")
    Else
        Debug.Print "Error: " & Response.Content
    End If
End Sub

Raw curl Response
$ curl -i --connect-timeout 5 --max-time 15 --location -H 'User-Agent: VBA-Web v4.1.1 (https://github.com/VBA-tools/VBA-Web)' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Content-Length: 0' -X GET -d '' 'http://pokeapi.co/api/v2/pokemon/50'

HTTP/1.1 301 MOVED PERMANENTLY
Date: Mon, 19 Sep 2016 18:57:03 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=df7d96817b162680b6e444f5f79e4e2be1474311423; expires=Tue, 19-Sep-17 18:57:03 GMT; path=/; domain=.pokeapi.co; HttpOnly
X-Frame-Options: SAMEORIGIN
Location: http://pokeapi.co/api/v2/pokemon/50/
X-XSS-Protection: 1; mode=block
Server: cloudflare-nginx
CF-RAY: 2e4f42dcb4fb54ce-ORD

HTTP/1.1 200 OK
Date: Mon, 19 Sep 2016 18:57:04 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d8b746500be10ce133918f63958a8aa311474311423; expires=Tue, 19-Sep-17 18:57:03 GMT; path=/; domain=.pokeapi.co; HttpOnly
Vary: Accept-Encoding
Vary: Cookie
X-Frame-Options: SAMEORIGIN
Allow: GET, HEAD, OPTIONS
X-XSS-Protection: 1; mode=block
Server: cloudflare-nginx
CF-RAY: 2e4f42dda30610bd-ORD

{"forms":[{"url":"http:\/\/pokeapi.co\/api\/v2\/pokemon-form\/1\/","name":"bulbasaur"}],"abilities":

Error Message
ERROR - WebHelpers.ParseByFormat: 11000, An error occurred during parsing
10001: Error parsing JSON:
HTTP/1.1 20
^
Expecting '{' or '['
ERROR - WebHelpers.ParseByFormat: 11000, An error occurred during parsing
10001: Error parsing JSON:
HTTP/1.1 20
^
Expecting '{' or '['
Error: HTTP/1.1 200 OK
Date: Mon, 19 Sep 2016 17:23:11 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d121f6cd355ec8758348dfa6931a947471474305790; expires=Tue, 19-Sep-17 17:23:10 GMT; path=/; domain=.pokeapi.co; HttpOnly
Vary: Accept-Encoding
Vary: Cookie
X-Frame-Options: SAMEORIGIN
Allow: GET, HEAD, OPTIONS
X-XSS-Protection: 1; mode=block
Server: cloudflare-nginx
CF-RAY: 2e4eb95627cd257f-ORD

{"forms":[{"url":"http:\/\/pokeapi.co\/api\/v2\/pokemon-form\/1\/","name":"bulbasaur"}],"abilities":

I was about to post the same thing.
The WebResponse class needs updates to properly locate

The final HTTP status code
The body of the last request

First method that requires attention is the one that retrieve status code:
https://github.com/VBA-tools/VBA-Web/blob/ee6f34de9c534560b145002b5e8a28fdf2eceba7/src/WebResponse.cls#L384-L394
This needs to be made aware of possible redirects, in which case it should keep processing requests until it gets to the last one made.

Probably every method called in this section requires attention:
https://github.com/VBA-tools/VBA-Web/blob/ee6f34de9c534560b145002b5e8a28fdf2eceba7/src/WebResponse.cls#L175-L178

For posterity reason, I would like to add, that for me, by using httpS instead of http for the endpoint that I want to reach, it got around the redirect/301 issue.
Again, probably not going to magically solve all 301 redirect problem but it should be the first thing to try if you are in similar boat. i.e. try to directly reach the end destination (in my case... the http > https address).

This issue is still unsolved. Is there any solution or still need to manually parse the HTTP response


Add the ESTC identifier type to internal model

For https://github.com/wellcomecollection/platform/issues/5358
This should be merged before we make any transformer changes, so we can get it into the catalogue API – otherwise the catalogue API will be unable to decode works with ESTC identifiers, and will 500 whenever they appear in search results.

I don't see a naming question…?

@alexwlchan not sure why it didn't submit with the review...