converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg

Hello,
Since the last docker update no conversion work
Radarr log :
04/13/2023 21:08:00 - Error -   File "/usr/local/sma/postRadarr.py", line 196, in
04/13/2023 21:08:00 - Error -     mp = MediaProcessor(settings)
04/13/2023 21:08:00 - Error -   File "/usr/local/sma/resources/mediaprocessor.py", line 43, in init
04/13/2023 21:08:00 - Error -     self.converter = Converter(settings.ffmpeg, settings.ffprobe)
04/13/2023 21:08:00 - Error -   File "/usr/local/sma/converter/init.py", line 26, in init
04/13/2023 21:08:00 - Error -     self.ffmpeg = FFMpeg(ffmpeg_path=ffmpeg_path,
04/13/2023 21:08:00 - Error -   File "/usr/local/sma/converter/ffmpeg.py", line 489, in init
04/13/2023 21:08:00 - Error -     raise FFMpegError("ffmpeg binary not found: " + self.ffmpeg_path)
04/13/2023 21:08:00 - Error - converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg
Can you help me ?
Thanks in advance

Try a fresh pull there was a bug I fixed this morning that was preventing FFMPEG from downloading

https://github.com/mdhiggins/radarr-sma/issues/47

Thanks it works !


[TW#24060] WDT reset; esp_cpu_stall at ../cpu_util.c:24, .check_dport_access_end at dport_panic_highint_hdl.S:181

Environment

Development Kit:      [none]
Kit version (for WroverKit/PicoKit/DevKitC): [n/a]
Core (if using chip or module): [ESP-WROOM32]
IDF version: [f198339] (esp-idf v3.1 beta)
Development Env:		[Eclipse(/make)]
Operating System:		[Ubuntu]
Power Supply:         [external 3.3V]

Problem Description
Getting random WDT resets, consistently pointing to 'check_dport_access_end' as shown in Debug logs below.

Running dual cores,
BLE (ONLY) active on PRO_CPU,
FreeRTOS running on both cores
SPI active as master (driving an LCD via u8g2 lib)
UART0 used for console (ESP_LOGx diagnostics)
UART1 communicating with a GPS device.

NOTE: My code includes a 'simulation mode' where the stream of GPS messages is simulated (sent as a message, triggered by a timer so functions can be tested without a GPS device present). I've ONLY seen this failure with a physical GPS connected, so I suspect there is some correlation with UART interrupts.
When operating with a UART:

a UART driver is installed
in a separate task, characters from uart_read_bytes() are buffered until an 'end of line' ('\r'), then null-terminated, and sent to a message queue for processing.

Code to reproduce this issue
Gist available here
Debug Logs
W (5) boot: PRO CPU has been reset by WDT.
W (5) boot: WDT reset info: PRO CPU PC=0x400830a1
0x400830a1: esp_cpu_stall at /home/mainr/esp/esp-idf/components/soc/esp32/cpu_util.c:24

W (5) boot: WDT reset info: APP CPU PC=0x40081a43
0x40081a43: .check_dport_access_end at /home/mainr/esp/esp-idf/components/esp32/dport_panic_highint_hdl.S:181

I (9) boot: ESP-IDF v3.1-beta1-41-gf198339-dirty 2nd stage bootloader
I (17) boot: compile time 11:37:53

sdkconfig.txt

Hi
The same issue when working with UART.
Any suggestion ?

One interesting thing,
This issue exists on v3.1 , [22da5f6]
But fixed on release/v3.1 [bdb65ed] (26 days later)
I check all commits between these two version, there was no working on UART.
Just one on ['feature/light_sleep_gpio_uart_wakeup' ] .

This was fixed in release v3.1 branch as part of https://github.com/espressif/esp-idf/commit/889c80ec1ca492647769d9348bd58b3159f900c7 (by updating libphy.a)

@alex00971 The best I can suggest currently is to run single core (in '/component config/freeRTOS/', enable 'Run FreeRTOS only on first core' (FREE_RTOS_UNICORE=y)).
I'm not certain this is required, but recommend that you ensure any calls to start a task either don't specify a core, or specify 'core 0', which will be the core running FreeRTOS in unicore mode.
I haven't tested my code with dual core build, against any recent ESP_IDF releases, but will when I get some time. It would be great if [  bdb65ed  ] fixed it, as you suggest.
If not, looking forward to release v3.1.1.

This fix was released in v3.1.1, sorry the issue wasn't updated earlier.


Add inputs and upd workflow

Added inputs to delete by created_at or last_accessed_at time
Updated workflow to build and then run the purge-cache action

Seems to work OK
https://github.com/deemp/purge-cache/actions/runs/5597514115/jobs/10235963061#step:6:19
UPD1:
I guess it can't delete caches because it's a PR.
https://github.com/actions/labeler/issues/12
UPD2:
Set permissions.actions: write and it deleted caches
https://github.com/deemp/purge-cache/actions/runs/5597825739/jobs/10236695224#step:6:18
UPD3:
Also OK with two inputs
https://github.com/deemp/purge-cache/actions/runs/5598490016/jobs/10238195352#step:6:9

@Arjan-Zuidema, please, have a look :pray:

@Arjan-Zuidema, you probably saw outdated changes


Fix #322 by detecting expiry of stale files. initial attempt

Toying with this fix. See Issue #322.

Running unit tests.

Replacing this PR with a cleaner one: #324.


Write Keptn Tasks: Secret text is misleading

Kubernetes secrets can also be passed to the function using the secureParameters field. Here, the secret value is the K8s secret name that will be mounted into the runtime and made available to the function via the environment variable SECURE_DATA.
This leads me to believe I can do:
kubectl -n default create secret generic test-secret \
--from-literal=foo=bar \
--from-literal=foo2=bar2

apiVersion: lifecycle.keptn.sh/v1alpha2
kind: KeptnTaskDefinition
metadata:
  name: dummy-task
  namespace: "default"
spec:
  function:
    secureParameters:
      secret: test-secret
    inline:
      code: |
		let secret_values = Deno.env.get('SECURE_DATA');
                // Somehow get `foo` and `bar` from `secret_values`

But I cannot. In reality, my secret must take a certain form with SECURE_DATA as the key:
kubectl -n default create secret generic test-secret \
--from-literal=SECURE_DATA=foo

Which is fine, but then:
a) Keptn is forcing me to change the way I handle secrets
b) I need 2 secrets now, not one
For b) I cannot reference multiple secrets in a KeptnTaskDefinition. The following is not possible:
# assume 2x secrets: foo-secret and bar-secret exist

apiVersion: lifecycle.keptn.sh/v1alpha2
kind: KeptnTaskDefinition
metadata:
  name: dummy-task
  namespace: "default"
spec:
  function:
    secureParameters:
      secret: foo-secret
      secret2: bar-secret

So I try to use a file:
# secret_file.json
# {
#    "foo": "bar",
#    "foo2": "bar2"
# }

kubectl -n default create secret generic file-secret --from-file ~/temp/secret_file.json

Yet I still get the SECURE_DATA error.

Please assign to me. I will work on this.

https://github.com/keptn/lifecycle-toolkit/pull/781 closes this. It has been merged and I can see it in the (currently upcoming) 0.6.0 release so I will close this: https://github.com/keptn/lifecycle-toolkit/pull/592


Update to 2023.10.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Racing against the bot :)

@conda-forge-admin, please rerender


Attempt to fix CI failures

Current coverage is 83.21% (diff: 100%)

Merging #23 into master will not change coverage

@@             master        #23   diff @@
==========================================
  Files            10         10
  Lines           691        691
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            575        575
  Misses          116        116
  Partials          0          0

Powered by Codecov. Last update 9d89229...bf23216


unable to install the font

Tried running on Ubuntu/WSL2, outputs an error after .zip or tarball option:
Enter your choice: 27
Choose the extension to install:
[1] - .zip
[2] - .tar.xz
Enter the number of the desired extension: 2
./nf_downloader.sh: line 160: jq: command not found
Choose version to install, enter a specific version using the vX.Y.Z format (latest version: )

Same here. Can’t install on Ubuntu Server 22.04 LTS

@pavelapekhtin I've made some improvements to the code and added jq as a dependency, so the latest version will always appear. Thanks for reporting the error.
And many thanks to @realsshrestha for providing a brief solution to the problem.


Synthesis failed for nodejs-security-private-ca

Hello! Autosynth couldn't regenerate nodejs-security-private-ca. :broken_heart:
Here's the output from running synth.py:
ish.sh
.kokoro/release/docs-devsite.cfg
.kokoro/release/docs-devsite.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.kokoro/trampoline_v2.sh
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
.trampolinerc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
api-extractor.json
renovate.json
samples/README.md
2020-11-17 02:19:38,074 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-11-17 02:19:38,075 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...

><EMAIL_ADDRESS>postinstall /home/kbuilder/.cache/synthtool/nodejs-security-private-ca/node_modules/protobufjs
> node scripts/postinstall

><EMAIL_ADDRESS>prepare /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> npm run compile-protos && npm run compile

><EMAIL_ADDRESS>compile-protos /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> compileProtos src

installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>
><EMAIL_ADDRESS>compile /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> tsc -p . && cp -r protos build/

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 646 packages from 760 contributors and audited 647 packages in 28.749s

58 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

2020-11-17 02:20:07,443 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...

><EMAIL_ADDRESS>prelint /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> cd samples; npm link ../; npm i

><EMAIL_ADDRESS>prepare /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> npm run compile-protos && npm run compile

><EMAIL_ADDRESS>compile-protos /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> compileProtos src

><EMAIL_ADDRESS>compile /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> tsc -p . && cp -r protos build/

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 647 packages in 15.698s

58 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

/home/kbuilder/.nvm/versions/node/v14.15.1/lib/node_modules/@google-cloud/security-private-ca -> /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/samples/node_modules/@google-cloud/security-private-ca -> /home/kbuilder/.nvm/versions/node/v14.15.1/lib/node_modules/@google-cloud/security-private-ca -> /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 137 packages from 118 contributors and audited 225 packages in 4.548s

58 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

2020-11-17 02:20:29,269 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...

><EMAIL_ADDRESS>fix /home/kbuilder/.cache/synthtool/nodejs-security-private-ca
> gts fix

version: 14

/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/src/v1beta1/certificate_authority_service_client.ts
  107:48  error  'window' is not defined  no-undef

✖ 1 problem (1 error, 0 warnings)

Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
    at makeError (/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async run (/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/node_modules/gts/build/src/cli.js:120:17) {
  shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-11-17T10_20_50_558Z-debug.log
2020-11-17 02:20:50,565 synthtool [ERROR] > Failed executing npm run fix:

None
ERROR:synthtool:Failed executing npm run fix:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-security-private-ca/synth.py", line 41, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
    fix(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
    shell.run(["npm", "run", "fix"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-11-17 02:20:50,629 autosynth [ERROR] > Synthesis failed
2020-11-17 02:20:50,629 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 61ca5fe chore: release 2.0.0 (#30)
2020-11-17 02:20:50,649 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-17 02:20:50,674 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Language in RDF Data validation fails

When there's a white space between the object and the language label the validation fails.
I'll show you an example to be more specific:
<product> <label> "Blueberry Muffin" @en .

RDFShape says it's not valid.
<product> <label> "Blueberry Muffin"@en .

RDFShape says it's valid.
While in rdfcat both of them are valid.

By default, the RDF Data parser is based on Jena and it seems that Jena doesn't like a space between string literals and language tags. I have also tested with my parser and it also fails.
In RDF 1,1 Turtle grammar, rule 128s it seems that after a string literal there can be a LANGTAG without space, so it seems that the correct behaviour is to reject it.
Maybe, rdfcat is based on a previous version of Turtle that allows whitespaces between strings and language tags.


Editing buttons docs

👀  Button docs preview

I deleted the icon example in favor of the live markup. Let's punt on the question of reference images post-Docusaurus 😁
What should we do about the mock links? We could add a delegated click event listener for [href="#"] and prevent the event to short-circuit the page scrolling.

I like this solution for now!


Convert unit tests to NUnit 4.0

Opening this PR now, to provide easy tracking of work done on this back at the master repo.
This is not ready for merge at this time, though you are certainly free to merge whenever and as often as you like. I'll change this from draft status when the work is done.

Hey sorry for this, looks like it closed when I merged v2_latest_changes_pre_220
Can you please re-open and target v2 branch? This is great work!

Cool, let me know when it is ready <3

Opening up a new one, shortly.
Lots more improvements since the last one.
This one includes some commits under the src folder, mostly for formalizing a couple of things and also for adding new stuff, as part of a gradual process to eliminate some reflection, where possible.
A lot of tests have been unrolled into unique cases, and some tests are much more thorough, now (especially in the CodeDomArgsTests class).
All tests pass, and the tested cases are a superset of cases that were previously tested.
I would suggest not merging, yet, as I have some incomplete in-progress modifications happening to the github workflows to make them leaner and give us better control over them. We should probably chat about that stuff at some point, too, to be sure the final behavior is as desired.

Here ya go
Opened #260


Not able to use load Function on Windows, it works perfectly fine on Ubuntu LTS 14

This is the error
W20160813-01:37:37.669(5)? (STDERR) stream.js:74
W20160813-01:37:37.724(5)? (STDERR)       throw er; // Unhandled stream error in pipe.
W20160813-01:37:37.724(5)? (STDERR)       ^
W20160813-01:37:37.724(5)? (STDERR)
W20160813-01:37:37.724(5)? (STDERR) Error: ENOENT: no such file or directory, open 'E:\wcif.meteor\local\build\programs\server\assets\app\uploads\Images\Hc42Pg6kigDj9PpSh.jpg?oh=36b427001c86a63a8b53819e99aa7000&oe=584DDFBE&_gda_=1478129990_b368aeadf01e50a998b8c20c9270fd0b'
W20160813-01:37:37.725(5)? (STDERR)     at Error (native)
here is my code
Shared Code
this.Images = new FilesCollection({
    collectionName: 'Images',
    allowClientCode: false, // Disallow remove files from Client
    onBeforeUpload: function (file) {
        // Allow upload files under 10MB, and only in png/jpg/jpeg formats
        if (file.size <= 10485760 && /png|jpg|jpeg/i.test(file.extension)) {
            file.uploadedAt = new Date();
            return true;
        } else {
            return 'Please upload image, with size equal or less than 10MB';
        }
    }
});

Server Code
var getQuestionImage = function(url, questionId){
    if(url){
        Images.load(url, {
            meta : {
                questionId: questionId
            }
        });
    }
};

Meteor.startup(function(){
    if(Meteor.settings.allowScrapping) {
        getQuestionImage (<dont bother this, parameters having no issues>);
    }
});

?oh=36b427001c86a63a8b53819e99aa7000&oe=584DDFBE&gda=1478129990_b368aeadf01e50a998b8c20c9270fd0b Where those parameters comes from?
Please, enable debug mode, and post its output along with this error, to let me see the data-flow

@dr-dimitru I have just provided the url for for uploading which i m getting it from graph api of facebook
That is like
https://fbcdn-photos-a-a.akamaihd.net/hphotos-ak-xfa1/v/t1.0-0/s130x130/13939399_10153642261122540_9077589439512184461_n.jpg?oh=042cb22f076c824efb83776b0871ad14&oe=5819911B&__gda__=1481867333_d9fc9b43c71ecb877f8303a90c90f8a4
probably when saving the file, the default name is consider image url params too which is creating special character issue

@dr-dimitru Alright let me show your debug data flow

@dr-dimitru here is the debug log
I20160813-01:57:04.144(5)? [FilesCollection.storagePath] Set to: assets\app\uploads\Images
I20160813-01:57:11.345(5)? [FilesCollection] [load(https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpf1/v/t1.0-1/c0.0.320.320/p320x320/13680555_153333465094573_8546154681802574840_n.jpg?oh=b8b3bfb7ad1b9cc8580414a403170388&oe=58570DC8&gda=1478435866_ed4a06b161e57fd9d1b7b23c71ca2ca8, {"meta":{"userId":"6SHaQDaCXeuvTdPS6"}}, callback)]
W20160813-01:57:11.357(5)? (STDERR) stream.js:74
W20160813-01:57:11.357(5)? (STDERR)       throw er; // Unhandled stream error in pipe.
W20160813-01:57:11.357(5)? (STDERR)       ^
W20160813-01:57:11.358(5)? (STDERR)
W20160813-01:57:11.358(5)? (STDERR) Error: ENOENT: no such file or directory, open 'E:\wcif.meteor\local\build\programs\server\assets\app\uploads\Images\rTm8qbRRHf4jtRdXY.jpg?oh=b8b3bfb7ad1b9cc8580414a403170388&oe=58570DC8&gda=1478435866_ed4a06b161e57fd9d1b7b23c71ca2ca8'
W20160813-01:57:11.358(5)? (STDERR)     at Error (native)

Could you please try to call .load() method directly, and pass there exact link, but without query string. If it will work, I'll assume it as a bug.

probably when saving the file, the default name is consider image url params too which is creating special character issue

And this is not happening on unix like machines? And btw it's not possible due to this line

According to your bug logs, exception happens before you call .load()

@dr-dimitru Yes its not happening in Linux machine, i got the same code there.
Actually this query string is what i m getting from the graph api of facebook (to get user profile picture or any post picture)

so without it i wont be get image, i return 403 without query params

Got, it lours really weird to me.
May be @Neobii can take a look, I know he uses Windows for development.
Meanwhile @salmanhasni :

Could you check what actually is in E:\wcif.meteor\local\build\programs\server\assets\app\uploads\Images\ directory?
From the FAQ: To keep you storage persistent use absolute path outside of your project folder, we recommend to use /data directory. So can you try to use some directory placed out of the meteor project
Run meteor reset, to make sure there is nothing coming from older unsuccessful calls

@dr-dimitru I m getting this error even i m explicitly providing the filename
Images.load(url, {
            meta : {
                questionId: questionId
            },
            fileName: questionId + ".jpg";
        });

fileName property has no effects on how file is written to FS

@dr-dimitru
1-I have seen there nothing is there, Well i have tried to load an without query params, its working fine
2-Yes i have tried it
3-I have tried this too, I have even remove the local folder inside .meteor directory

I actually use Ubuntu in vmware
On Aug 12, 2016 4:09 PM, "dr.dimitru"<EMAIL_ADDRESS>wrote:

Got, it lours really weird to me.
May be @Neobii https://github.com/Neobii can take a look, I know he
uses Windows for development.
Meanwhile @salmanhasni https://github.com/salmanhasni :

Could you check what actually is in E:\wcif.meteor\local\build
programs\server\assets\app\uploads\Images\ directory?
From the FAQ: To keep you storage persistent use absolute path
outside of your project folder, we recommend to use /data directory.
So can you try to use some directory placed out of the meteor project
Run meteor reset, to make sure there is nothing coming from older
unsuccessful calls

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VeliovGroup/Meteor-Files/issues/184#issuecomment-239560311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB13DYbBPUKrdWCyWYwzuWuKRvC_HdCxks5qfOD-gaJpZM4Jjck0
.

@Neobii Okay, I thought you test meteor on both platforms, sorry for this.

@dr-dimitru I dont think so its the issue of Writing to FS, its look like its a kernel issue which is actually not allowing windows to create file name with special character

@dr-dimitru here is your culprit
https://github.com/VeliovGroup/Meteor-Files/blob/master/files.coffee#L1083
https://jsfiddle.net/890j7ma5/

@salmanhasni I'm agree on this one. Please wait for a next release.

@dr-dimitru Sure thanks


pull request for e2e test at 01/10/2017 01:26:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add equalize, solarize, posterize transformations.

To reproduce https://github.com/DeepVoltaire/AutoAugment
we need to have:
Solarize, Equalize, Posterize transforms that are implemented in PIL https://pillow.readthedocs.io/en/4.1.x/reference/ImageOps.html

Solarize: #310
Equalize: #320
Posterize: #333


Add support for near and far focus

This duplicates information conveyed by the circle of confusion (C), since the depth of field can be derived from the F-number (N) , focus distance (U), circle of confusion (C) and focal length (f).

http://graphics.stanford.edu/courses/cs178-10/lectures/optics1-06apr10-150dpi-med.pdf
http://graphics.stanford.edu/courses/cs178/applets/dof.html


Error installing. missing "./styles.css" specifier in "vue3-openlayers" package

Hi there, i'm trying to start using the package but it isn't working. is a new vue 3.3.4 project
Screenshots

Sorry, docs were already on the next channel. please use import "vue3-openlayers/dist/vue3-openlayers.css"; or update to the latest version npm i vue3-openlayers@next


Refactored visit and added relevant tests

Refactored visit with person, location and localDate.
However, some tests were based on the previous visit items and hence need to be reviewed, like the tests related to visits inside the generate people generate locations Command tests, list command test
Resolve #163

We noted that this implementation presents the following bug where an update to a person/location name does not correspondingly update the name of the person in the visit. This will be resolved in a future update.


Design

Right collapsing menu from design branch (sus.maps.css)

Only the finished right panel collapse update should be pushed


useResource multi-fetch and null params leaves undefined element in array

React version 16.13.1
Concurrent mode no
Describe the bug
I'm not sure if this is a bug or just a weird hooks thing that we'll have to work around, but when calling useResource with multiple resources and one resource is "disabled" via setting params to null, there is an element in the resulting array that is just undefined. That's a mouthfull, so I've made a reproduction here - note how the second element in the array is undefined in the console.
We're doing this because we have a list of resources we need to fetch, but sometimes that list is actually "no resources". Because of hooks, we can't just put the useResource call behind an if, so we have been using null params which per https://resthooks.io/docs/next/api/useresource at least doesn't fetch.
Additional context
"rest-hooks": "^5.0.0-k.3",
"@rest-hooks/rest": "^0.4.0",

That is by design. Any hook call with null params will return the 'undefined' form of the response, which in this case is just undefined since there is no nesting of the schema. useResource() with list params is just like multiple useResource() calls, except they fetch in parallel.
I'm not sure what you expect to be the result? The null params should correspond to undefined in the returning list, so it should be easy to filter out any of those pieces. Can you describe what return value you expect to see?

We were expecting nothing at all, but if undefined is by design that's fine. Like you said we can just filter it out. Or create Even More Components to filter stuff, which seems to be the answer for any and all hook problem...

Yeah, I can see how that might make sense, but the intended design is to use array destructuring, so you wouldn't be able to do that if the number of results changed.

Ah, OK,  in that context it's clearer. What we're doing is creating a list of resources to fetch based off another list, but the catch is that sometimes the second list is empty and there are no resources to fetch. So we don't care about the order/wouldn't use destructuring. Like I said, a different combination of components is probably the most hookish solution for us long term.

You could make your own custom hook for this use case, building off useRetrieve() and useCache() as useResource() also does.


getUserMedia() constraints

how can i use getUserMedia() constraints- frameRate (smaller frameRate) and maxWidth for the videos to conserves bandwidth when watching multiple videos
[and today in the newbie ridicules question section - does chrome automatically reduces video resolution according to the size i set in the CSS?]

does simpleWebRTC has something in the api for that?
2 . if not - can I use getUserMedia() or other commands with simpleWebRTC?
if so how do i combine them together with simpleWebRTC

thank you

To set your media constraints for getUserMedia, pass them in the media option to the config
var webrtc = new SimpleWebRTC({ media: { audio: true, video: true} });

To answer your second question, no - chrome will not automatically reduce the video size according to the size you set in css. You can resize a video element larger or smaller, but it won't change what is being captured or encoded and streamed.

Thank you :-)
I was also interested in reducing frameRate - or anything else that might reduce the strain on the users computers or there bandwidth.
in your simple bundle i found:
video: {
mandatory: {
chromeMediaSource: 'desktop',
maxWidth: window.screen.width,
maxHeight: window.screen.height,
maxFrameRate: 3
},
that got me a bit confused - it says mandatory - but it is obviously not enforced... :-)
(would like to lower frame rate - is that possible?
do you have any other suggestion   i could reduce the strain (besides in addition to cutting frameRate as well)?
:-)

@namnemet It is enforced, actually. If the media devices available to the browser can't meet the requirements passed, an error occurs. See this example that causes an error.

@namnemet See here where framerate is very low (5) and the video is very choppy because that's enforced by the getUserMedia capture: http://jsfiddle.net/xdumaine/xzm1x706/1/

Thank you,
it works
hmm ...
if one plays the "lectures" and the others the "students" - i.e: they can all watch him - but he does not see their videos - can i make his video one directional? - and more importantly will that save some bandwidth? :-) :-)
Thank you so


Project Settings Dataverse message - change phrasing from "node" to "project/component"

Steps

Go to osf.io
Go to your User Settings
Enable and configure Dataverse for a Dataverse account that has no actual content in it
Go to one of your projects or components
Go to the project's Settings page
Import the Dataverse account you just connected to in User Settings
Notice the blue message that appears

Expected behavior
I expected that the blue message would say "The Dataverse user associated with this project/component does not currently have any Dataverses."
Actual behavior

@GaryKriebel I can you put me on this?

@Johnetordoff I think a better sentence might be "There are no dataverses, datasets, or files associated with the connected account."
This better matches Dataverse's own message for empty accounts.

Good @jinluyuan

Since not merged yet, will keep this open for now.

@lbanner can we close this?

@Johnetordoff Closed!


Adding always callback and Content-type option

It could be useful to have a callback that gets fired no matter the request was successful or not, so this is done by chaining atomic.always() to any request like success and error callbacks do.
Also, it is good to let the Content-type option be set in code. So atomic.setContentType() function make this possible.

Apologies for the length of time it took to merge this - thanks so much, great work.

@toddmotto No problem, it helped me a lot, so nothing better to give back

Was a great PR - so thank you again!
On 19 November 2015 at 04:19, Rene Hernandez<EMAIL_ADDRESS>wrote:

@toddmotto https://github.com/toddmotto No problem, it helped me a lot,
so nothing better to give back
—
Reply to this email directly or view it on GitHub
https://github.com/toddmotto/atomic/pull/18#issuecomment-157946785.

--
@toddmotto


Test run is displayed as 'in progress' after it's finished

should be fixed after migration to 5.2.4.xx core and 2.3 qps-pipeline.
A lot of extra actions were incorporated to fix it and deliver valid report with as much logs/screenshots as possible


[Experimental] Integrate repomap

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
This PR is to:

[x] Integrate aider's RepoMap implementation, at max 3072 tokens. I put it into a separate repo here to make it easier to play around, experiment and test more thoroughly.
[ ] Run evaluation to see how it affects swe-bench score compared to baseline (@xingyaoww not sure if we can use the nightly evaluation pipeline for this, to try on a small subset, my api key easily reaches token rate limit with 1 worker only so it's a bit slow to do on my side)

When adding repomap, there're 2 phases to execute for every iteration in the agentic loop:

first is to get repomap content from the repo, which I'm trying to implement as an agentskill
second is to put the content inside the message history, before the environment reminder

I played around with it for a bit and my first impression is the personalization for mentioned files/identifiers still doesn't work really well yet. I'm trying to do a bit of of tuning on the ranking, and perhaps combining with static ranking instead of the built-in pagerank support. If you have some ideas/alternatives regarding this, it'd be great to discuss here. Also I'm not sure if there're any relevant benchmark so we can test various strategies of localization.
(Cc: @neubig if you have some ideas and suggestions to share on these)
Some notes:

Aider has a concept of "files added to chat", which can help the agent to focus on particular files in a session. These files are weighted more in the pagerank score calculation, while the current integration only parses exact relative filepaths users mention from message history. If there're no files/identifiers (e.g. class names, method names) mentioned, the repomap will likely retrieve irrelevant context.

Link of any specific issues this addresses
Fixes https://github.com/All-Hands-AI/OpenHands/issues/2185
Cc: @enyst if you can have a look and suggest some better ways to do integration.

PR Reviewer Comments
After analyzing the pull request, here are my findings:
Overall Feedback:
The integration of the RepoMap functionality appears to be a significant enhancement to the project, allowing for better context retrieval based on user interactions. However, there are several areas where the code can be improved for better clarity, performance, and error handling.
Score: 85/100
Labels: Enhancement, Bug fix
Code Suggestions:

File: openhands/agenthub/codeact_agent/codeact_agent.py

Suggestion Content: Ensure that the action variable is always initialized before being returned to avoid potential reference errors.
Relevant Line: +            action = IPythonRunCellAction(...)
Existing Code:action = IPythonRunCellAction(
    code=get_repomap_code,
    thought='',
    kernel_init_code='from agentskills import *',
)

Improved Code:action = IPythonRunCellAction(
    code=get_repomap_code,
    thought='',
    kernel_init_code='from agentskills import *',
) if action is not None else DefaultAction()

File: openhands/runtime/plugins/agent_skills/file_ops/file_ops.py

Suggestion Content: Consider adding error handling in the get_repomap function to manage potential issues when accessing the repository or generating the map.
Relevant Line: +    map_result = REPO_MAP.get_map(message_history=message_history)
Existing Code:map_result = REPO_MAP.get_map(message_history=message_history)

Improved Code:try:
    map_result = REPO_MAP.get_map(message_history=message_history)
except Exception as e:
    print(f"Error retrieving RepoMap: {e}")
    return None

File: openhands/runtime/plugins/agent_skills/file_ops/file_ops.py

Suggestion Content: Use a more descriptive name for the get_repomap function to clarify its purpose.
Relevant Line: +def get_repomap(repo_path: str = './', message_history='') -> None:
Existing Code:def get_repomap(repo_path: str = './', message_history='') -> None:

Improved Code:def retrieve_repo_map(repo_path: str = './', message_history='') -> None:

The integration of RepoMap is a valuable enhancement! Here are some suggestions:

Ensure the action variable is always initialized before being returned to avoid potential reference errors.
Add error handling in get_repomap to manage potential issues when accessing the repository.
Consider renaming get_repomap to retrieve_repo_map for clarity.

This is awesome! I especially like the fact you made it a separate repo - maybe we can simply install it inside runtime and make it available to the agent via Bash 😀
Regarding better ways to use these - we could also introduce some RAG mechanism somewhere, so we can rerank files and display them based on previous user instruction / histories.
I'm trying to get https://github.com/All-Hands-AI/OpenHands/pull/4537 in first (so we have a really strong baseline for a capable LLM). Once that's finished- I'd be happy to help here to run eval ;)

Yep sounds good! Thanks for the idea, I'll have a closer look.

Let's close this one for now, since we will play around with this in the https://github.com/All-Hands-AI/openhands-aci repo.


Make picking buffers optimization

Make each frame framebuffers completed and get color from array

MR https://github.com/openglobus/openglobus/pull/637


Documentation footer is not sticky

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
On a big screen, when we go to "Design guidelines", the footer is not sicky and is display at around 3/4 of the screen.

Reduced test cases
At the time of writing this, it can only be seen locally at http://localhost:9001/docs/5.1/guidelines/ since it will be deployed with the 5.2.0 version of Boosted.
Maybe worth a try: A Clever Sticky Footer Technique.
Note: even if we don't see it in Bootstrap since there is not short pages there, this issue exists as well.
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Boosted are you using?
v5.2.0 (current main branch)

@julien-deramond: IMO the footer is fine, the problem on this page could be related to: https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/765


feat:  build using rolldown

Description

We should disable all the vite CI by default, and enable them on demand.

Let's merge it first.


gProfile shows only [unknown] frames (Python, Docker)

I'm trying a very basic Flask-Python app:
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
	return 'Hello, World!'

Deployed it in a Docker container, then added gProfiler to Docker as described in docs: https://docs.gprofiler.io/about-gprofiler/installing-gprofiler/docker
After initiating my code to run several times, all I see in the profile is calls to "[unknown]" – no trace of calls to hello_world anywhere (even, though I have "Hello, World!" printed multiple times – I know the code was executed):

Yellow blocks related to Python only contain calls to Flask.
I also tried a couple of open-source projects cloned from various sources – the result is the same.
I'm using macOS 12.5.1 on Apple M1, Python 3.7.1, and Docker Desktop 4.12.0.

Hi @lazarevzubov !
In the profile I do see a bit of Python being profiled (that tiny yellow column).
I don't expect to see the hello_world in the profile - this function does no compute work at all, and this is a CPU profile.
If you modify it to e.g:
@app.route('/')
def hello_world():
        sum(range(1000000))
	return 'Hello, World!'

you'll see it in the profile, because now it will spend actual time on CPU.
Nonetheless, there is a large chunk of Python profile that's purple and not yellow, thus was profiled with the native profiler (perf) and not a Python profiler. Do you mind sharing gProfiler's logs here? It will help me debug that.

Hey @Jongy !
Thanks a lot for your help! Adding more work to the method indeed helped, and it became visible in the profiler.
Unfortunately, I don't think I can share logs, because I re-deployed the app and old images and containers are gone. The thing is that I can't reproduce that problem anymore. Even if I deploy exactly the same code exactly the same way as previously. The perf section is gone:

@lazarevzubov , sorry for not being clear; what I meant is not the perf section in the profile (that's perf profiling itself) but the fact that python3 is purple and not yellow (thus was not profiled with our Python profiler, but with the native profiler). gProfiler logs may help me understand why did that happen.


Run update-deps.sh to gain correct licenses

Somehow, this wasn't caught by our presubmit checks. Here we go then.
/assign @julz @vagababov

/lgtm
/approve

/test pull-knative-pkg-unit-tests

/test pull-knative-pkg-unit-tests


reorganize chapters: add technology guides section

Changes in this PR

This PR adds the new section of technology guides and moves the GPU and UX chapters there.
Also moved language guides to the root folder level, because I find it annoying to have to click into the best_practices folder.
Note: datasets still has to be moved to technologies, but there is an outstanding PR https://github.com/NLeSC/guide/pull/339 on that and I don't want to stress git's ability to detect moved files too much, otherwise we lose the ability to easily browse edit history.
Fixes #335.

@egpbos You've requested our review, but it is still in draft. Would you like me to review this now?

Yes, you can review. The only thing that I still want to do before merging is move the dataset chapter as well, after #339 is merged, that's why it's still in draft.

Good catch, updated the README.
I would suggest to consider the Best Practices in another thread, because I'm not sure if we should completely remove it.

Ah, we had that other thread already :P #321

Ok, I moved it down as you suggested after all. Otherwise the technology menu is too far down and it may not be noticed.

Assuming @bouweandela is happy with the changes, since he suggested them ;) Merging!


[Feature Request]: Bot may need to be updated due to the codebase in healthscreening changing

Description

Describe the solution you'd like
No response
Describe alternatives you've considered
No response

It was updated to latest in #423 (for now)

nvm

Working on it again.

It was updated to latest in #432 (for now).

This is actually more of a bug so I'll rename and relabel as appropriate.

Seems to have settled down.


feat: add all shards download & unzip script

feat: add all shards download & unzip script for no_facev2 and no_face_corev3
update corresponding readme to execute the command

written with the help of GPT-4, and checked validity by luodian<EMAIL_ADDRESS>

I already checked the scripts that they can download the mmc4  zipped jsonls, and then use download_image.py to download corresponding images then use convertion script to create the required shards file for training MMC4 on Openflamingo.

Thanks @Luodian and @VegB !


(question) remote builder: permission denied ?

In order to speed up MRSK deploy (using an Apple M1 and deploying on a AMD Hetzner VM) I use the following minimal mrsk.yaml.
service: xyz

image: charnould/xyz

servers:
  - 99.999.999.99

registry:
  username: charnould
  password:
    - MRSK_REGISTRY_PASSWORD

builder:
  remote:
    arch: amd64
    host<EMAIL_ADDRESS>
But when typing mrsk deploy, I've got a new error I hadn't before.
Build and push app image...
  INFO [138e6b47] Running docker buildx build --push --platform linux/amd64 --builder mrsk-malro-native-remote -t charnould/malro:71f333b1f16f7aef5c8395c9b4e33eec1a1125a2 -t charnould/malro:latest --label service="malro" --file Dockerfile . as charnould@localhost
 DEBUG [138e6b47] Command: docker buildx build --push --platform linux/amd64 --builder mrsk-malro-native-remote -t charnould/malro:71f333b1f16f7aef5c8395c9b4e33eec1a1125a2 -t charnould/malro:latest --label service="malro" --file Dockerfile .
 💥💥 DEBUG [138e6b47]       ERROR: no builder "mrsk-malro-native-remote" found
 ERROR Missing compatible builder, so creating a new one first
  INFO [292bddc5] Running docker context create mrsk-malro-native-remote-amd64 --description 'mrsk-malro-native-remote amd64 native host' --docker<EMAIL_ADDRESS>; docker buildx create --name mrsk-malro-native-remote mrsk-malro-native-remote-amd64 --platform linux/amd64 as charnould@localhost
 💥💥 ERROR Couldn't create remote builder: Permission denied, please try again.

Trying to debug, I've typed directly into my VM console the command MRSK tried to use:
docker context create mrsk-malro-native-remote-amd64 --description 'mrsk-malro-native-remote amd64 native host' --docker<EMAIL_ADDRESS>...then docker buildx create --name mrsk-malro-native-remote mrsk-malro-native-remote-amd64 --platform linux/amd64, but got an error for this one: unknown flag: --name
Do you know why my deploy fails? (my SSH key with passphrase works fine)
Thanks.

Looks like a permission issue with Docker on Hetzner VMs. See http://stackoverflow.com/questions/48957195/ddg#48957722. Feel free to open a PR explaining how to sidestep this once you've found a solution.

docker context create mrsk-malro-native-remote-amd64 --description 'mrsk-malro-native-remote amd64 native host' --docker<EMAIL_ADDRESS>docker buildx create --name mrsk-malro-native-remote mrsk-malro-native-remote-amd64 --platform linux/amd64

Note that these commands are run locally, not on your VM.
The context create command is what's failing: "ERROR Couldn't create remote builder: Permission denied, please try again."

This is due to not being able to SSH to<EMAIL_ADDRESS>from your local shell. Get that working first, then focus on getting the context create to work (docker context create mrsk-malro-native-remote-amd64 --description 'mrsk-malro-native-remote amd64 native host' --docker 'host=ssh://root@99.999.999.99'), and you should be good to go.

Sorry for commenting on a closed issue, but I didn't find a solution to this and have the same problem.

This is due to not being able to SSH to<EMAIL_ADDRESS>from your local shell.

In my case, running shh root@<ip_address> works just fine, but I still get the same error message as OP. What am I missing?


Assertion Failed error when minimizing application

Upon minimizing my threepp application I get an error and the program crashes with the following output:
Assertion failed: width > 0, file C:\Users\peter\Documents\vcpkg\buildtrees\threepp\src\ee0c203ca4-4c0a13da5e.clean\glte
xt.h, line 356
Process finished with exit code 3

Was going to comment on the version used and were going to suggest trying with a the neweset vcpkg package, which is 009f337794acefcc548e37f53a9fd16d29a5cfc4. However, I'm able to reproduce. Seemengly, I've never tried to minimize a threepp application before.
So this bug appears consistentyl when using the textHandle feature in debug mode. Until a fix is found, you can use a release configuration if you need to minimize the application, as assertertions are only evaluated in debug mode.

void threepp::TextHandle::setViewport(int width, int height) {
        gltViewport(width, height);
}

when the window is minimized, width and height is 0 here.
This fixes it:
void threepp::TextHandle::setViewport(int width, int height) {
    if (width > 0 && height > 0) {
        gltViewport(width, height);
    }
}

Will ship with the next vcpkg release.


dropdown: replace defaultProps

With defaults in js.  React.defaultProps are going away.

Tech debt is outside the scope of maintenance. Closing.


Integrate build report tool

Please adapt and integrate my build report tool as a standalone tool at the end of the flow (or in a way that it always runs afterwards, even if the flow crashes before)
https://github.com/thesourcerer8/caravel_stdcelllib_stdcells/blob/release/openlane/build.pl
Feel free to adapt it in any way necessary

@thesourcerer8: Can you adopt the following:

Add a license header.
Modify the script to take a run directory (a directory), and print the logs with the numerical order they are presented in (in develop), i.e. 1-logX.log 2-logY.log 3-logX.log.
The script should take 2 arguments: 1st is the run directory, 2nd is the output file name.

@thesourcerer8: Can you adopt the following:

Add a license header.
Modify the script to take a run directory (a directory), and print the logs with the numerical order they are presented in (in develop), i.e. 1-logX.log 2-logY.log 3-logX.log.
The script should take 2 arguments: 1st is the run directory, 2nd is the output file name.

Stale, closed, if you want to integrate something in the future consider a PR.


Update README.md

Can one of the admins verify this patch?

I'm not sure it's something that we want to merge. The comment has no place here.


Worobey 2008

Reference
doi or URL: https://pubmed.ncbi.nlm.nih.gov/18833279/

I am closing this issue since the HIV genome(s) in question dates to after 1950


Implement a way of separating a rsi into smaller parts

Use case: the lockers rsi looks like this:

It would be really good if you had the ability of organizing it like this:

+1 for this great feature, saves editing the meta.json after the fact.
In essence it would be neat to highlight a bunch of things in a .dmi > right click > export selected as rsi or something similar.


Fix instructions for SSH into meltanodata instance

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1364
Originally created by @bencodezen on 2019-12-04 22:21:40

View 4 previous comments from the original issue on GitLab


How to disable snippets in rust_analyzer

despite setting  snippetSupport = false snipptes are still suggested where I want just simple completion.
init.vim
lua <<EOF
require'nvim_lsp'.rust_analyzer.setup{
        settings={
        capabilities = {
            textDocument = {
                completion = {
                    completionItem = {
                        snippetSupport = false;
                     }
                }
            }
        }
    }
}

EOF

it feels like this lua heredoc has 0 effect on what is going on
example:

after pressing enter a garbage is inserted

Please help to disable those snippets. I simply want a normal completion

This does it on my end.
require'nvim_lsp'.rust_analyzer.setup{
    capabilities = {
        textDocument = {
            completion = {
                completionItem = {
                    snippetSupport = false
                }
            }
        }
    },
}

Pairing it with completion-nvim and
let g:completion_enable_auto_paren = 1

gets me the parenthesis upon completion confirm back.


refer() or dtmf() before accepting a call

I am using sip.js with asterisk and want to transfer a call to a specific extension (for the purpose of call parking) without accepting a call. But when I do that (or try to send a dtmf code) it throws an error in the console "Invalid status: 4"
I tried commenting that code out directly in the library but then got the error "TypeError: Cannot read property 'sendRequest' of null at DTMF._DTMF.send (sip-0.9.2.js:6653)"
You can send dtmf before accepting a call from a desk phone. I'm wondering why it is not possible from a webrtc based phone?

Hi,
It should be possible to do what you want. In terms of sending a REFER you can build out a ReferClientContext without an active session. Note: that if you are receiving a refer without an active session you need to enable outOfDialogRefers on the UA. You will need to validate the REFER on your own.
In terms of sending DTMF without an active session it depends on how you are sending the DTMF. If you are using SIP INFO it should be possible using the UA.request function. You will need to build out the INFO packet yourself, but it should be relatively trivial.
Let me know if those answers are acceptable or close to what you are looking for. This is a pretty unique request compared to what we normally see.

I believe that my answer covered the original question. Since there has been no activity on this in over a year I am going to close it, but feel free to keep the thread going if there is any follow up.


document how to debug wdi5 tests

in the recipes: https://ui5-community.github.io/wdi5/#/recipes

done! → https://ui5-community.github.io/wdi5/#/debugging


Docker/Portainer API start issue

   # {"message": "starting container with non-empty request body was deprecated since API v1.22 and removed in v1.24"}

    url = URL + 'containers/' + cid + '/start'

in dev


feat: migrate vuepress to vuepress-vite or vitepress

vuepress is using webpack which is much slower than vuepress-vite or vitepress(they are using vite and esbuild).
I have tested the build time between vuepress and vuepress-vite, here is the result:
+---------+----------+---------------+
|         | vuerepss | vuepress-vite |
+---------+----------+---------------+
| Time1   | 30.29s   | 17.77s        |
| Time2   | 29.67s   | 16.87s        |
| Average | 29.98s   | 17.32s        |
+---------+----------+---------------+

vuepress-vite is 40% faster than vuepress in my i5-9500 computer.
Migrate to vuepress-vite is very simple and easy, or we can migrate to vitepress(to vitepress is a bit complicated, but I will do the job).
There will be a PR migrate to vuepress-vite, you can take a look about it.

@KnorpelSenf You might want to take a look at this.

I tried this more than halt a year ago without success. I think there were some bugs at that point, not sure. Thanks for taking the initiative again!
I haven't looked into vitepress since then, but my last information is that vitepress is still lacking some features that we'd like to have. I still prefer vuepress-vite, so I'd go with that, unless you can convince me otherwise.

I tried this more than halt a year ago without success.

Do you mean this bug? https://github.com/vuepress/vuepress-next/issues/176
I meat this bug yesterday when doing the migraion, delete the node_modules and package-lock.json then reinstall then work perfectly.
And yes, vitepress still lacking some features, that's why I am asking your option.

Do you mean this bug? vuepress/vuepress-next#176

That one I managed to fix by reinstalling the dependencies, too. I believe there was something else, but I don't really remember tbh. I concluded by attempt with the mental note to migrate in a few months—so now is the time to do it.


manage_logind parameter does not work in 0.1.47.

I see that there is a class parameter to not manage logind.conf. but it does not currently work in 0.1.47. I see there is a tag 0.1.48 in GitHub that will fix it. Any chance Puppet Forge will be updated soon to 0.1.48?

This was merged, but I cannot comment on when it will be "released."
https://github.com/NTTCom-MS/eyp-systemd/pull/106

I think a large portion of https://github.com/NTTCom-MS/eyp-systemd/pull/84 was accidentally reverted in a rebase or merge squash here: https://github.com/NTTCom-MS/eyp-systemd/pull/87/commits/d8645786b8df04de7d20cf67b7674744643a0ab6

Hi,
This option have been reworked in the 0.2 branch.
This option no longer exists, if you want to manage logind option you must include the systemd::logind class
kind regards,


Fix formatting of opts

Not sure why CI missed this via make precommit prior to being merged, but https://github.com/elastic/rally/pull/1541 had two incorrectly formatted files (according to Black).

Merging as this is causing CI failures

Sorry! I forgot to ask elasticmachine to run tests, which is required for external contributions.
To prevent this in the future I've asked GitHub to require those checks:


refactor(meta): Refactor device profile update operation

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?

Issue Number: #3043
What is the new behavior?
Refactor update operation to execute the RedisDB commands in same transaction.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #3065 (f5f4370) into master (5dc76a6) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3065      +/-   ##
==========================================
- Coverage   40.85%   40.82%   -0.03%
==========================================
  Files         168      168
  Lines       14043    14051       +8
==========================================
  Hits         5737     5737
- Misses       7979     7987       +8
  Partials      327      327

Impacted Files
Coverage Δ

...rnal/pkg/v2/infrastructure/redis/device_profile.go
0.00% <0.00%> (ø)

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 5dc76a6...f5f4370. Read the comment docs.

Codecov Report

Merging #3065 (f5f4370) into master (5dc76a6) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3065      +/-   ##
==========================================
- Coverage   40.85%   40.82%   -0.03%
==========================================
  Files         168      168
  Lines       14043    14051       +8
==========================================
  Hits         5737     5737
- Misses       7979     7987       +8
  Partials      327      327

Impacted Files
Coverage Δ

...rnal/pkg/v2/infrastructure/redis/device_profile.go
0.00% <0.00%> (ø)

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 5dc76a6...f5f4370. Read the comment docs.


Prediction failed due to the order of entities

Rasa version:2.2.7
Rasa SDK version (if used & relevant):2.2.0
Rasa X version (if used & relevant):
Python version: 3.6.9
Operating system (windows, osx, ...): wsl2 on windows10
Issue:
Right after executing 'rasa shell --debug' , I entered a message into prompt. It sometimes worked as I expected, but sometimes didn't.
Once it works, it never fails in the same shell. However after re-launching the shell('rasa shell --debug') It could possibly be failed with log 'There is no memorised next action'.  the percentage of success is 50% I guess. I tried it more than 20 times.
Here is the difference in the log
when succeed :

[state 1] user intent: search_vodaod_by_date | user entities: ('program_keyword', 'episode_number') | previous action name: action_listen | slots: {'episode_number': (1.0,), 'program_keyword': (1.0,)}

when failed

[state 1] user intent: search_vodaod_by_date | user entities: ('episode_number', 'program_keyword') | previous action name: action_listen | slots: {'episode_number': (1.0,), 'program_keyword': (1.0,)}

The only difference between those two is the order of entities mentioned in the log.
I tested the same message again with different entity order in stories.yml, and I found the order in stories.yml affects the prediction result. It worked when the order from logs matches with the order from stories.yml.
Error (including full traceback):

Command or request that led to error:

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for the issue, @yennycheung will get back to you about it soon!
You may find help in the docs and the forum, too 🤗


Add "Reviewed by Hound" badge

We specifically did not add this @salbertson we would like to limit the number of images served from the README.md
Closing this PR thanks.


[BUG]: csi-powerflex has a dependency on goscaleio

Bug Description
The go,mod has a direct dependency on goscaleio. The dependency should be investigated and removed. The PowerFlex driver should not depend on goscaleion.
Logs
https://github.com/dell/csi-powerflex/blob/2bee858990f25a4bb10516ed62ad0c2812269d34/go.mod#L19
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Inspect go.mod
Expected Behavior
Should not be depending on gscaleio.
CSM Driver(s)
csi-powerflex
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
n/a
Operating System
n/a

Hi @donatwork , Thanks for reporting this issue. Can you please let us know little bit more about this issue as below is my understanding about direct and indirect dependency.
Direct Dependency:
A direct dependency is a package that your project explicitly imports and uses in its code. When you run a go get or add an import statement for a package, it is considered a direct dependency because your code directly relies on it.

Indirect Dependency:
An indirect dependency is a package that your project does not directly import but is required by one of your direct dependencies. These are the packages that your direct dependencies depend on.
For example, if github.com/gin-gonic/gin uses another package, say github.com/sirupsen/logrus, then github.com/sirupsen/logrus is an indirect dependency for your project.
As goscaleio (https://github.com/dell/goscaleio) is a go client to invoke the Powerflex Storage REST API for any operation and as we have imported this module (https://github.com/dell/csi-powerflex/blob/2bee858990f25a4bb10516ed62ad0c2812269d34/service/node.go#L28) this will appear as a direct dependency. As we always used to run go mod tidy so that will automatically remove any non required direct dependency if there is no direct import in our project.
Thanks

Sorry, my mistake. Somehow COSI was on my mind although now I see it is scaleio. I'll close.


Dropdown V2!

Dropdown V2

Video overview
Mega feature!~ This update adds a brand new component.. DropdownV2.
It's better in every way compared to the original implementation of Dropdown. However, it is not backwards compatible.
It must be imported like so:
import Dropdown from '@helpscout/hsds-react/components/Dropdown/DropdownV2'

Example
<Dropdown items={[...]} />

Custom Trigger
To customize the dropdown trigger, pass any component into the renderTrigger prop.
<Dropdown items={[...]} renderTrigger={
My Trigger!
} />

Customizing the Menu/Items
The children prop renders with an Object containing an enhanced listing of the original item. These enhanced items have special click handlers and other props that allow for the dropdowns to work.
<Dropdown items={...}>
  {({ items }) => (
    <Dropdown.Menu>
      <CustomComponent />
      {items.map(item => <MyCustomItem {...item} />)}
    </Dropdown.Menu>
  )}
</Dropdown>

Accessibility

DropdownV2 has accessibility in mind, and has aria propped all the things!
🙌
Storybook preview:
https://deploy-preview-400--hsds-react.netlify.com/?selectedKind=DropdownV2&selectedStory=Menu%2FDefault&full=0&addons=1&stories=1&panelRight=0

Pull Request Test Coverage Report for Build 1290

207 of 554 (37.36%)  changed or added relevant lines in 12 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.5%) to 93.46%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Dropdown/DropdownV2.ts
0
2
0.0%

src/components/Dropdown/V2/index.ts
0
2
0.0%

src/components/Dropdown/V2/Dropdown.Container.tsx
0
34
0.0%

src/components/Dropdown/V2/Dropdown.tsx
0
66
0.0%

src/components/Dropdown/V2/Dropdown.utils.ts
31
121
25.62%

src/components/Dropdown/V2/Dropdown.MenuContainer.tsx
0
153
0.0%

Totals

Change from base Build 1289:
-6.5%

Covered Lines:
4559

Relevant Lines:
4906

💛  - Coveralls

I know coveralls!! I'm working on it! Calm down!!
😂

@tinkertrain Tagging you just for 👀 and awareness! 🤗

@knicklabs Thank you!!!! Will push the type updates after running some tests.
Will merge this in and create a minor release!


Please fix support of Red Hat Software Collection versions

Support of  Red Hat Software Collection was broken with validation of python::version variable.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: validate_re(): "python27" does not match ["system", "pypy", "3"] at .... /modules/python/manifests/init.pp:98 on node [NODE]

This pull request fixes this issue.

Fix the travis-ci builds ;)

I for me it is ok: is something else broken?
[root@vm puppet-python]# bundle exec metadata-json-lint metadata.json && bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec
...
Finished in 20.65 seconds (files took 2.65 seconds to load)
83 examples, 0 failures

I withdraw this PR. SLC support needs a bigger fix. https://github.com/stankevich/puppet-python/pull/270 is a good candidate but will need an update of documentation and fix of python::pip .


Add support for gitea instances

Fixes #26.

wow didnt expect to get it that fast :0 - happy x-mas by the way! :)


Attendee custom schedule

Look into how to enable customized schedules for attendees.

Custom schedule flag is available and bundled with COD but permissions limit use to Admin role. Additionally, the link doesn't display in the existing "links" object on the session node panel pane. Actually, no links display there. Not sure why.
Can manually add the flag object as a panel pane on the session panel via Entity > Flag for Node.
One option would be to have it as a link in the top right as seen here:

Might also be convenient to add from global site Schedule page and Accepted sessions list/grid.
When added to Schedule page it would need some styling help:

When added to Sessions grid it looks good:

We could even include a count of how many attendees have flagged each session:

Unfortunately COD's default way to view your custom schedule is via a url under the massively ugly Program functionality here: https://www.drupalgovcon.org/drupal-govcon-2015/program/mine and ends up looking like this:

Thoughts @bendygirl @jdearie @jonraedeke @cmndr-king @dsheffler

I like what you did w adding it to the grid and stuff but I agree the my schedule sessions view/page is ugly and not really overly uhhhh pretty for attendees.
I do think it is a functionality we need but yea. There. My two cents.
Becca
Typed by thumbs

On Jul 10, 2015, at 12:09 AM, Tim Wood<EMAIL_ADDRESS>wrote:
Custom schedule flag is available and bundled with COD but permissions limit use to Admin role. Additionally, the link doesn't display in the existing "links" object on the session node panel pane. Actually, no links display there. Not sure why.
Can manually add the flag object as a panel pane on the session panel via Entity > Flag for Node.
One option would be to have it as a link in the top right as seen here:
Might also be convenient to add from global site Schedule page and Accepted sessions list/grid.
When added to Schedule page it would need some styling help:
When added to Sessions grid it looks good:
We could even include a count of how many attendees have flagged each session:
Unfortunately COD's default way to view your custom schedule is via a url under the massively ugly Program functionality here: https://www.drupalgovcon.org/drupal-govcon-2015/program/mine and ends up looking like this:
Thoughts @bendygirl @jdearie @jonraedeke @cmndr-king @dsheffler
—
Reply to this email directly or view it on GitHub.

This is great! Is there a way we could clone the global schedule view we are using and filter by current user's flag?

Keep in mind our goal in doing this is about overflow. If we plot something for B that really needs Balcony A, this gives us an option to move things around.
Sent from my iPhone

On Jul 10, 2015, at 6:15 AM, Jon Raedeke<EMAIL_ADDRESS>wrote:
This is great! Is there a way we could clone the global schedule view we are using and filter by current user's flag?
—
Reply to this email directly or view it on GitHub.

Honestly, I don't think we'll get enough participation in this feature, even if we promote it heavily, to determine something like that, @bendygirl.

I see it more as a convenience for attendees.

I've had a lot of people personally request a custom schedule so if we can get it done, I think it could be a nice win for us.
Sent from my iPhone

On Jul 10, 2015, at 8:57 AM, Tim Wood<EMAIL_ADDRESS>wrote:
Honestly, I don't think we'll get enough participation in this feature, even if we promote it heavily, to determine something like that, @bendygirl.
—
Reply to this email directly or view it on GitHub.

I think @jonraedeke's idea about cloning the schedule view is a good one. Only bad thing is it's overly complicated (panel + views within a view using views fields, ick!) so I think it will take a bit of effort to accomplish.

I agree that it would be great to have but the real value will be having it as soon as the schedule is released next year.  We can promote this and get it used but I’m not sure if enough will use it in the next week.
I agree that the summary view doesn’t look the best – how does it look on mobile?  For a big conference that I’m involved with, they use sched.org that looks like this (http://www.sla.org/attend/2015-annual-conference/2015-online-planner/) :
<EMAIL_ADDRESS>-James

James King, MLS, FSLA
http://about.me/cmndr_king
From: dsheffler<EMAIL_ADDRESS>Sent: Friday, July 10, 2015 9:21 AM
To: Drupal4Gov/Drupal-GovCon-2015
Cc: King, James (NIH/OD/ORS) [E]
Subject: Re: [Drupal-GovCon-2015] Attendee custom schedule (#124)
I've had a lot of people personally request a custom schedule so if we can get it done, I think it could be a nice win for us.
Sent from my iPhone

On Jul 10, 2015, at 8:57 AM, Tim Wood <notifications<EMAIL_ADDRESS>wrote:
Honestly, I don't think we'll get enough participation in this feature, even if we promote it heavily, to determine something like that, @bendygirl.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHubhttps://github.com/Drupal4Gov/Drupal-GovCon-2015/issues/124#issuecomment-120409417.

sched.org creates a very nice schedule. The recent Federal IT Symposium used it, just not sure how it would integrate (feed data to it) with Drupal and that's certainly a bigger lift than we can accomplish in time for this year.

I've created a My Schedule and will export to features today. Jon plans to style tonight and I'll try to release as soon as possible after that.

Custom schedule is live. Let me know if there are issues.


Glanimatio overlay calculator

Explain everything in gl animation overlay calculator.

Hi @abhishekmishra2612, Could you please elaborate your use case with complete details. Thanks!


Added ball moving via interface using middle mouse button

Comments for the reviewer
Allows moving and placing of the ball in grSim via the AI interface. Click the middle mouse button to place the ball. Hold the middle mouse button to drag the ball.
This PR relies on the PRs in roboteam_networking and roboteam_robothub
Pre pull request checklist:
Code Quality

[x] Is the code is understandable and easy to read
[ ] Changes to the code comply with set clang-format rules
[x] No use of manual memory control (e.g new/malloc/colloc etc)
[x] Are (only) smart pointers used?

Testing

[ ] All tests are passing.
[ ] I added new / changed existing tests to reflect code changes (state why not otherwise!)
[x] I tested my changes manually (Describe how, to what extent etc.)

Commit Messages

[x] Commit message is saying what has been changed, why it was changed? Remember other developers might not know
what the problem you are fixing was. Note also negative decision (e.g., why did you not do particular thing)
TLDR: Commit message are comprehensive
[ ] Commit messages follows the rules of https://chris.beams.io/posts/git-commit/

@Florisheinen1 I fixed all issues


How to change top of git repo, accidentally started aider first time in homedir

Issue
When I first tried aider months ago I must have launched it while in my home directory and of course it set that as the top of the git repo.  You can imagine this is sub-optimal for keeping projects separated.
Is there an elegant way for me to reset the git repo to a sub-directory so I can have different repos for different projects under my home directory?  Even if I lost my change history I'm ok with that to get this cleaned up.
Thanks in advance.  0.43 with GPT-4o and Sonnet 3.5
Version and model info
No response

But if the folder is a subdir of a parent where the top of the git tree is, won't it still be included or will that cause that subdir to be removed?

Thanks for trying aider and filing this issue.
Aider should use the most specific git repo.
You could also consider deleting the .git dir from your home directory. But you would lose all prior git history if you did that.


Fix typo in version check

Clean up cruft that was introduced in the move from the Requests library
to urllib2.

Pyflakes found a bunch of other problems.  Will fix this as part of a bigger commit.


Implement rules for Brotherhood without Banners

Resolves #151

Thank you @ystros ! Sorry I didn't see it earlier !


Write columns with "short" type in gdb with OpenFileGDB driver

Hello,
I am currently struggling to write a column with a short type in a GDB.
After some research, I found a way to write shapefiles with a difference between long a short integers with this solution (which works).
Expected behavior and actual behavior.
Both  'int32:4' and  'int32:10' types in schema give a long column in a GDB, instead of giving a short and a long column.
Steps to reproduce the problem.
Code
import geopandas as gpd
import fiona

gdb_path = "my_gdb.gdb"
layer = "B1_observed_event_a"
observed_event = gpd.read_file(gdb_path , layer=layer)
with fiona.collection(gdb_path, layer=layer) as source:
     s = source.schema

s["properties"]["obj_desc"] = "int32:4"
s["properties"]["det_method"] = "int32:10"

observed_event.to_file("my_gdb_copy.gdb", layer=layer, driver="OpenFileGDB", schema=s)

PS: I know I am using geopandas, but they implement seamlessly the Fiona schemas, this is why I am iting the issue here.
Output

Operating system
Windows
Fiona and GDAL version and provenance
Conda (conda-forge)

@remi-braun Happy new year! OGR doesn't have a short integer type, only 32 and 64-bit integers. Neither does Fiona at this time, thus your layers are being constructed with 32 bit wide integer fields. I don't think there is any logic in the GDB driver to reduce the width at creation time.
Do you see different behavior if you use ogr2ogr or pyogrio?

Happy new year to you too 😉
I think pyogrio doesn't handle schemas, so I haven't tried.

What's weird is that for ESRI a short isn't an int16 but also an int32, but I don't exactly know what means the end of int32:4.
Note that text:255 works for GDB, so the : mechanism is in some way already handled in OpenFileGDB.

I think pyogrio doesn't handle schemas, so I haven't tried.

Pyogrio doesn't support the schema keyword (as that is a fiona specific parameter), but it certainly does support writing the different data types. But because the input for pyogrio is a geopandas DataFrame or numpy arrays, the data already has a schema, and pyogrio uses that (instead of letting the user specify it separately).
So if you ensure that your input data has an int16 column, pyogrio should pass that information through to GDAL:
import geopandas
from shapely.geometry import Point

gdf = geopandas.GeoDataFrame({"col": np.array([1, 2, 3], dtype="int16"), "geometry": [Point(i, i) for i in range(3)]})
gdf
#    col     geometry
# 0    1  POINT (0 0)
# 1    2  POINT (1 1)
# 2    3  POINT (2 2)

gdf.to_file("test_gdb.gdb", driver="OpenFileGDB", engine="pyogrio")

I am not fully sure how then to check independently whether it has actually written the correct data type to the OpenFileGDB, but ogrinfo indicates that it has:
$ ogrinfo test_gdb.gdb test_gdb
INFO: Open of `test_gdb.gdb'
      using driver `OpenFileGDB' successful.

Layer name: test_gdb
Geometry: Point
Feature Count: 3
Extent: (0.000000, 0.000000) - (2.000000, 2.000000)
Layer SRS WKT:
(unknown)
FID Column = OBJECTID
Geometry Column = SHAPE
col: Integer(Int16) (0.0)
OGRFeature(test_gdb):1
  col (Integer(Int16)) = 1
  POINT (0 0)

OGRFeature(test_gdb):2
  col (Integer(Int16)) = 2
  POINT (1 1)

OGRFeature(test_gdb):3
  col (Integer(Int16)) = 3
  POINT (2 2)

And if you want to control the exact OpenFIleGDB types being used by GDAL, it seems to have a creation option COLUMN_TYPES that can be passed (see https://gdal.org/drivers/vector/openfilegdb.html#layer-creation-options, but didn't try this)

@sgillies OGR indeed only uses int32 or int64 data in its internal data model, but there is the concept of "sub type" to annotate a type with additional information (I assume it doesn't change how the data is represented internally, still int32, but then it is used as a hint when writing): https://gdal.org/api/vector_c_api.html#_CPPv415OGRFieldSubType, and there is has a OFSTInt16.
Pyogrio uses this when the input data has a bitwidth < 32, and based on the example above, it seems to have effect. Fiona could use this as well. It's already declared:
https://github.com/Toblerity/Fiona/blob/195579d8737afdd99dfab6db8315815fa12d0f18/fiona/ogrext3.pxd#L102-L105
and could set it like is already done for bool subtype as well:
https://github.com/Toblerity/Fiona/blob/195579d8737afdd99dfab6db8315815fa12d0f18/fiona/ogrext.pyx#L1293-L1295

With pyogrio, I successfully wrote short dtypes!
However, geopandas doesn't read corretly the input type, so I had to change the type of every column (which could be time consuming):
import geopandas as gpd
gdb_path = "my_gdb.gdb"
layer = "B1_observed_event_a"

# Read layer
observed_event = gpd.read_file(gdb_path , layer=layer)

# Set correct types
observed_event.event_type = observed_event.event_type.astype("int32")
observed_event.obj_desc = observed_event.obj_desc.astype("int16")
observed_event.notation = observed_event.notation.astype("str")  # How can I set text:255 ?
observed_event.det_method = observed_event.det_method.astype("int16")
observed_event.dmg_src_id = observed_event.dmg_src_id.astype("int32")

# Write back in gdb
observed_event.to_file("my_gdb_copy.gdb", layer=layer, driver="OpenFileGDB", engine="pyogrio")

However, with fiona's schema, I succeeded to set str:255 as field, but not with pyogrio. How can I do that ?

PS: the goal of all this is to allow the GDB domains to be recognized automatically, but I don't know if it will work even with the correct types

@remi-braun I've begun working on this and have 2 questions.

Is not the field width specifier 4 in int32:4 specific to Shapefiles? I'd love to not have to think about this anymore if we don't have to. It's not clear to me that OGR will coerce a 4 char wide OFTInt to OFTInt16 when saving.
What would you think about an "int16" type as in #1358? If your GPKG file has a "short" field, Fiona would report "int16", and if you write a new schema from Fiona with "int16" type, it should manifest in GPKG as a "short".

@sgillies thanks for taking this seriously!

Sadly, I honestly don't know the specifics on this. My only will was to integrate shapefiles into ESRI's GeoDataBases (don't blame me I am forced to 😬) without using arcpy...
My knowledge on this only comes from the answer I shared in the initial issue 😞
Whatever works for my usecase would be fine for me 😉


Changed the api call for the remove recent custom status API

Summary

Changed the request type to POST and update the URL for the remove recent custom status API
Previously - https://github.com/mattermost/mattermost-redux/pull/1409

Related Pull Requests

https://github.com/mattermost/mattermost-server/pull/17122
https://github.com/mattermost/mattermost-api-reference/pull/623

Release Note
NONE

Hello @chetanyakan,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

@isacikgoz Have a look at this PR too when you get a chance.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

/update-branch

We don't have permissions to update this PR, please contact the submitter to apply the update.

@chetanyakan Is this ready to be tested now that the server changes have been merged?

Also, could you merge the latest master into your branch?

@hmhealey This is ready to be tested.

Also, could you merge the latest master into your branch?
Done.

Also, I've set the release note to NONE as functionality-wise, there would be no change.

Yeah, that sounds fine for the release note. Having one to say the method changed might be important, but I'd assume the server PR would've already included that.
@DHaussermann This is ready for testing then.

@hmhealey I'm not familiar with this functionality. Can you provide some guidance or test steps to validate this change.
cc @ogi-m in case you have some context on this.

I think the test steps are:

Change custom statuses a few times so that you have a few listed under Recent in the popup
Click X next to the recent ones to verify that they're removed from recent

This would just be testing for regressions since the API call moved around.


Internal Exception not helpful

I'm calling the MutateCampaignBudgetsAsync method. From my test machine it works fine but from another server it throws a GoogleAdsException with the message: Status(StatusCode=Internal, Detail="Failed to deserialize response message.").
I assume it might be a dll version problem or something but the error message is not helpful.
I've tried somethings, even turned on verbose logging for Grpc but that did not return anything helpful.
How can I find out what data is not being deserialized and why?
Thanks.

I'm afraid this is something that needs us to take a look at our internal logs. Could you pls drop an email to me<EMAIL_ADDRESS>with the customerId of the client accounts and the API developer accounts?

@AnashOommen Do you want to add a comment here for future reference?

For the first of these, there is a magic incantation. It has been awhile, but I think it is the following environment variables:
GRPC_VERBOSITY='DEBUG' GRPC_TRACE='http'

I have no clue whether/where this is documented.

major version bump if it makes backward incompatible changes to its wire format

I do not believe there has been a backwards-incompatible change to the wire format since 3.0. This sounds likely to be a bug.

Yeah, I'm thinking it's unintentional. FWIW, the exception is thrown here: https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Core/Internal/AsyncCallBase.cs#L361
Status(StatusCode=Internal, Detail="Failed to deserialize response message.")


Legend position depending on window width

Sorry if this is not the right place to ask, but I'm new here and I don't find any other place to ask. When I create a pie/doughnut chart and I place it in a canvas 100% width I find the legend on the left position very nice and useful. The problem is when this graph is open on smaller devices (a.e. phone) the legend take most of the space and the pie itself it's unreadable. I'd like to be able to modify the position of the legend when the screen goes under let's say 400 px. Is this feature already available?
Thanks for you help.

@malvarezap there is no native way to do that. You'd need to detect the width and change the config manually

Please ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js


map facial point to 3d model

Hi,
thanks for your great work, is there any way to map the output of "ctracker.getCurrentPosition();" into the 3D model? if there is can you give me some hit?
Thanks in advance

Hi! clmtrackr is using a 2D face model, so it's unfortunately not possible to get a mapping to a 3d model :(

I don't know if this is what you mean, but you can do
videoctrack.draw(videooverlay, undefined, 'vertices');
with the vertices option to draw the output more 3D looking.

I've kludged this to roughly translate an event array to 3d transforms. It's not quite 'right' but it might point someone in the right direction.
function mapEventTo3dTransforms(event) {
	if(event) {
		var p2 = event[33], p1 = event[7];
		var angleDeg = (-90 - (Math.atan2(p2[1] - p1[1], p2[0] - p1[0]) * 180 / Math.PI));

		// turn angle in degrees
		var t2 = event[62], t1 = [(event[13][0] - event[1][0]) / 2, (event[13][1] - event[1][1]) / 2];
		var turnDeg = (-90 - (Math.atan2(p2[1] - p1[1], p2[0] - p1[0]) * 180 / Math.PI));

		// tilt angle in degrees
		var tops = ((event[0][1] + event[14][1]) / 2);
		var bottoms = ((event[6][1] + event[8][1]) / 2);
		var middle = bottoms + ((tops - bottoms) / 2);

		//TODO: This just isn't right, but it's close
		var tiltDeg = -(event[37][1] / middle);

		var dx = event[14][0] - event[0][0];
		var dy = event[14][1] - event[0][1];
		var hyp = Math.sqrt((dx * dx) + (dy * dy));

		return {
			x: tiltDeg,
			y: turnDeg,
			z: angleDeg,
			hyp: hyp
		};
	}
}

I played around with this a little bit. The biggest problem is the clmtrackr... When I turn and tilt my head the clmtrackr does not follow... this is very unfortunate, but it is a 2D mapper after all...

I got really decent tracking with it, I figure 30 degrees X, Y and Z. Mileage does vary with backgrounds though (if I'm in front of my bookshelf it struggles but with even lighting and fairly clear background I've been really impressed).

Then my lightning and camera seem to be the problem.

This is what I ended up using. It's not great, I think some form of vector-based linear regression would be more accurate, but it works :)
https://gist.github.com/bobbigmac/08b6f341385fc4445fe545a80aa3d15f
Here's a video using the output to render via css transform (the glasses) a 3d-space transform with an .obj rendered through three.js and estimating screen co-ordinates for a simple interactive UI (i.e. using my head pose to interact with screen elements).

My lighting was way worse. I will give it another try.
On 10 August 2017 at 13:28, Bob Davies<EMAIL_ADDRESS>wrote:

This is what I ended up using. It's not great, I think some form of
vector-based linear regression would be more accurate, but it works :)
https://gist.github.com/bobbigmac/08b6f341385fc4445fe545a80aa3d15f
Here's a video using the output to render via css transform (the glasses)
a 3d-space transform with an .obj rendered through three.js and estimating
screen co-ordinates for a simple interactive UI (i.e. using my head pose to
interact with screen elements).
[image: facetracking ui pivot fixed] https://youtu.be/QSsJ92j5hVI
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/auduno/clmtrackr/issues/120#issuecomment-321525547,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU72dNheNBmEEyP51dxvX8yPydC0tJpks5sWulrgaJpZM4OgFOJ
.

--
“Empty your mind, be formless, shapeless - like water. Now you put water
into a cup, it becomes the cup, you put water into a bottle, it becomes the
bottle, you put it in a teapot, it becomes the teapot. Now water can flow
or it can crash. Be water, my friend.” - Bruce Lee


Excessive queries to system_setting table causing slow load times

Description
Dashboard/home screen takes around 3-4 seconds to load.
Have turned on SQL logging, and it seems to be repeating two queries related to Avatars/System Settings for almost the full duration of the request, and then finally serving the page.
Seems related to this new feature listed for 1.18.0
Add system setting table with cache and also add cache supports for user setting (https://github.com/go-gitea/gitea/pull/18058)
It seems no Cache is utilized, since the query is repeated several times for each include of the avatar on the Dashboard/Home page.
Disabling Gravatar support does not affect load times, it simply does not load the Gravatar avatar but still queries the setting multiple times.
The attached log gist is an excerpt from the SQL logs showing all queries ran from hitting "refresh" on the Dashboard page and until NginX returns the result.
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/kimma/0ce826ed7f68353c4a22cf422d50cd4c
Screenshots
Footer with load times:

The dashboard in question:

Git Version
No response
Operating System
Kubernetes
How are you running Gitea?
Utilizing the Docker image from docker hub: gitea/gitea:1.18.0
Running in Kubernetes with Galera (mariadb) backend, Redis cache and Minio storage
Database
None

Have you enabled cache? I think it could resolve the problem.

I’ve set the redis based caches:
https://docs.gitea.io/en-us/config-cheat-sheet/#cache-cache
https://docs.gitea.io/en-us/config-cheat-sheet/#cache---lastcommitcache-settings-cachelast_commit

Excerpt from config:
[cache]
ENABLED = true
ADAPTER = redis
HOST    = rediss+sentinel://<redacted>
[cache.last_commit]
ENABLED = true

Is there any Cache config that needs to be set manually?
I see the feature mentions caching but it does indeed not look like it is being utilized for this query.

Looks like memory cache fix the problem. I will take a look.

Is the fix for memcache cache too?
[cache]
ENABLED = true
ADAPTER = memcache
INTERVAL = 240
HOST = <IP_ADDRESS>:11211
ITEM_TTL = 16h

Is the fix for memcache too?
[cache]
ENABLED = true
ADAPTER = memcache
INTERVAL = 240
HOST = <IP_ADDRESS>:11211
ITEM_TTL = 16h

Yes. It should be.


Support read and write Json5 file

Summary of the new feature / enhancement
Support read and write Json5 file
Proposed technical implementation details (optional)
No response

@WingDust Current pwsh is based on NewtonSoft.NET (frozen project) and it would be great to migrate PS cmdlets to new .Net Json API.
So .Net repository is right place to request Json5 support. After we megrate to new .Net API we get all new features automatically.

@iSazonov Where did you see Newtonsoft.Json became a frozen project?
I couldn't find any words like that in either the repository or its web page https://www.newtonsoft.com/json.

@daxian-dbw  Newtonsoft.Json is very old project and has very complex code which makes adding new features unnecessarily difficult.
.Net team recommends to use new .Net Json API in new projects.
The API was designed and implemented as modern and very fast replacement of Newtonsoft.Json.
No doubt Newtonsoft.Json will be supported for many more years until the community switches to .Net Json.
From https://devblogs.microsoft.com/dotnet/whats-next-for-system-text-json/

We considered contributing changes to Newtonsoft.Json, but this was deemed infeasible without either breaking existing Newtonsoft.Json users or compromising on the performance we could achieve.

.Net Runtime already hasn't dependcy on Newtonsoft.Json. For pwsh today it is appropriate time to migrate Json cmdlets to new .Net Json API so that has more time for user adoption before next LTS release.
Also we could migrate our code for config file manipulations since .Net Json now support writable DOM.


Choose Container via the VS Code Extension

Needs #158 to go in first, as this requires the new semantics of the squashctl --container flag.

Add the ability to choose which Container to debug from within VS Code.
BOT NOTES:
resolves https://github.com/solo-io/squash/issues/160

/test

/test


Update compas open scd to v29

Update version of compas-open-scd to v29 in the docker compose files

replaced by update_versioning

replaced by branch: update_versioning


Add Milvus link

Signed-off-by: Frank Liu<EMAIL_ADDRESS>

Codecov Report

Merging #414 (00ff20f) into main (1da3257) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #414      +/-   ##
==========================================
+ Coverage   62.07%   62.08%   +0.01%
==========================================
  Files         141      141
  Lines        5410     5410
  Branches      804      804
==========================================
+ Hits         3358     3359       +1
  Misses       1829     1829
+ Partials      223      222       -1

Impacted Files
Coverage Δ

towhee/data/random_erase.py
90.90% <0.00%> (+4.54%)
:arrow_up:

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 1da3257...00ff20f. Read the comment docs.

/lgtm
/approve