Issue when combining with Pipeline

Dear all,
congrats for this great paper (and the implementation). I would like to experiment with RealMLP for classification but I stumble with a strange bug when using them in a Pipeline
sklearn.base.is_classifier(Pipeline(steps=[('classifier', RealMLP_TD_Classifier())]))

yield false while with sklearn predictor
sklearn.base.is_classifier(Pipeline(steps=[('classifier', HistGradientBoostingClassifier())]))

the answer is true. This may be related to the fact that your classes does not derive from ClassifierMixin (or RegressorMixin).

Thank you for pointing this out. This seems to be an issue with scikit-learn 1.6 because we didn't implement the new tags interface yet. I'll try to implement it later, meanwhile you might want to downgrade scikit-learn to 1.5.
(Our classes derive from ClassifierMixin or RegressorMixin indirectly through AlgInterfaceClassifier and AlgInterfaceRegressor.)

I fixed the issue by changing the order of double inheritance in AlgInterfaceClassifier and AlgInterfaceRegressor. Since skorch is currently not supporting scikit-learn 1.6, I added a requirement <1.6 to the pyproject.toml, but this only concerns FTT, MLP-PLR, MLP and ResNet. The other methods including RealMLP should now be compatible with sklearn 1.6.


Zerubabel picture

[x] add pictures

Hi @zerubabel4, All pictures looks perfect. just two things.
1)Don't delete the general PR checklist  while creating a PR.
2)Create Issue first "Adding pictures for loruki website"
3)Move issue to project board
4)Link PR with this issue
5)One PR for one issue.

Thankyou @zerubabel4 .


Typescript and themeGet

I'm trying to use the new @styled-system/theme-get package but typescript complains about no types.  are these available?  I didn't find anything on @types repo.

If anyone needs a quick solution (albeit maybe not absolutely correct) you can create a delcaration file in your<EMAIL_ADDRESS>and add
declare module '@styled-system/theme-get' {
    export function themeGet(path: string, fallback?: any): any;
}

It looks like you've found a solution, so closing this out for now. Feel free to open a new issue if needed

@benjamingeorge @jxnblk
I have created a PR to DefinitelyTyped, it will fix this issue
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/40275


TriCore Naming Convention Issue

Hello,
While this isn't anything that will affect the performance of Ghidra or make it any better or worse at decompiling tricore code, I've noticed a few issues with the current tricore naming conventions.
While TriCore is a base architecture that Ghidra decompiles/parses, the variations of TriCore that Ghidra supports ("tc29x", "tc172x", etc) are referring to series of Microcontrollers developed by Infineon, not actually versions of the TriCore architecture itself. For example, the tc29x.pspec refers specifically to the Infineon AURIX TC29x microcontroller, which is based on the TriCore 1.6 architecuture.
Because of this, it might be a bit better to name the variants something like "AURIX TC29x", rather than just "TC29x", to show that it's the microcontroller version/variation, not TriCore version.
Additionally, the current manual index files have fairly misleading names: tricore.idx and tricore2.idx. The tricore.idx file is actually defining the TriCore v1.3 instruction set, and the tricore2.idx file is defining the AURIX TC2xx-specific instruction set (which is based on TriCore v1.6), making the name "tricore2" not quite correct.
I know these are sort of nitpicking issues, but I figured they should be straightened out before more TriCore-based microcontrollers are added to the repo. If we add more TriCore v1.6-based microcontrollers, for example, referring them to the same tricore2.idx file wouldn't be correct, due to it referencing AURIX TC2xx specifically.
One other thing to note: I know that TC2XX's User Manual Volume 2 defines the entire instruction set for AURX TC2XX-based processors, but is this instruction set different than the TriCore V1.6 architecture that it's based on? Are additional, generation-specific instructions added? (I have no idea - if a TriCore god out there knows, feel free to comment! :smile: )
I think a choice should be made: Should the .idx files be based on the overarching TriCore specification (v1.3, v1.6, etc) or the specific microcontroller that's being defined in the pspec? (AURIX TC21x, AURIX TC22x, AURIX TC23x, etc)
I'm hoping this can help to straighten out some of the naming conventions to make adding additional TriCore architectures or TriCore-based microcontrollers easier in the future.
Thanks! :mage_man:

choice should be made: Should the .idx files be based on the overarching TriCore specification (v1.3, v1.6, etc) or the specific microcontroller that's being defined in the pspec? (AURIX TC21x, AURIX TC22x, AURIX TC23x, etc)
@GhidorahRex Any chance you could suggest the way that  will be further merged in PR ? Both the free manpower and arch/uC documentation are around but we need to know the direction.

The names for the pspec files are fine - they denote specific processor variants. Based on the documentation I could find at the infineon site, TC1xx processors are v1.3 (the TC17xx AUDOMAX are a mix of 1.3 and 1.6), TC2xx are v1.6, and TC3xx are v1.6.2. I don't think there's any confusion between TC29x and AURIX TC29x so I'm not sure what the purpose of adding the additional name there. I haven't done any research on the differences between 1.6 and 1.6.2, in which case we may need a separate TC3xx or we may be able to just continue using the default one and update it for v1.6.2 - some additional research would need to be done here.
As far as using the tricore2.idx file for additional 1.6 processors, that should be fine. Although the pdf name suggests otherwise, the document is not for just the TC2xx processors. The actual document (TriCore® TC1.6P & TC1.6E Instruction Set) specifically mentions "Unless stated otherwise in the text, all descriptions are common to all TriCore versions listed in this preface," so it's more general than just the TC2xx.  I haven't investigated individual instructions for backwards compatibility, but if 1.3 instructions behave the same in 1.3 and 1.6, then we could reduce the .idx files to a single file with two document listings, which would be simpler. We do that in many other places.
Generally speaking, the index files should be based on the ISA referenced where possible. For some processors, there are instructions specific to individual processor lines, but that isn't the case here.
I'll raise the issue and figure out what the consensus is for the issues.


#548: Fix modal for adding new results

@vprusso We're in crunch-time, and I'm positive these changes are right. Sorry, but I'm going ahead with merge and publish.


.NET 5 Support

Hello!
We're looking forward to use Dapr in one of our proof-of-concepts.
I am however unable to ascertain whether an .NET 5 app is able to consume Dapr packages - my bad, it's probably written in caps somewhere but I haven't found it.
Thank you

@rcollina I don't think it's written explicitly anywhere, but it's by design. In .NET, you always can reference an assembly compiled in older .NET versions. The opposite is not feasible most of the time.

@karoldeland so netcoreapp3.1 deps can be use in a net50 application.
That wasn’t clear for me until now - thank you. I’ve been using .NET Standard so far for libs and I thought the compatibility story was limited to that.
Thank you again

@rcollina - yes you can you absolutely use the SDK with .NET 5. We already run .NET 5 in tests.
Please let us know if you encounter any issues!


Allow "From" field in RFC822 format

@rbgarga can you reopen this pull request? Actually, by default, it doesn't accept the field in RFC822 format, it doesn't work.

What is the error you get when you try to use it?

A mensagem não pôde ser enviada para<EMAIL_ADDRESS>-- Erro: 501 >: "@" or "." expected after "CLIENTE"

Tried with the following source address field:
CLIENTE<EMAIL_ADDRESS>


Fixing table

@ktoliver could you take a look at this? It looks like the table was broken in the public docs previously.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions

@sakthi-vetrivel What are you seeing that doesn't look right?
It seems OK on live:

(Or is that because you already fixed it?)


TODO: Better list arrangement

Right now, main menu shows basic list. I want to implement something a bit better looking.

Better implementation in https://github.com/rkalz/UABParkingFinder/commit/88e9384d6502e7911341ba606e5592d0d6436ade


Move oom not supported log before lxc container start

tiny edit, I think log should be first and not after container finishes  to know in advance something went wrong with oom notification
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

closing this since a better fix for this log is in https://github.com/docker/docker/pull/16547


hardlinking dependencies causes issues when trying to delete a .venv via python on Windows

Scenario
I have a script in a venv (EnvA) that:

creates a new uv venv (EnvB)
installs some packages to the new venv (EnvB)
runs a script in that venv(EnvB)
tries to delete EnvB via the EnvA script.

However the venv deletion fails on Windows since there are overlapping dependencies between the two environments (both depend on e.g. markupsafe which contains pyd files that are automatically loaded by python)
This is because UV uses hardlinks to the uv cache, so deleting that file fails since it is hardlinked to the file in uv cache and that file (.pyd) is automatically loaded by python.
Switching to using symlinks solves the issue, but i don't have control over how users will run this script. What is the decision behind using hardlinks by default on windows? I have little control over how the application runs uv (done by 3rd party library) so this is causing issues for my users. I guess i could patch the environment variable UV_LINK_MODE env var before invoking the 3rd party lib, but that feels like a hack and i'm not sure if it will work well.
Minimally reproducible example

Create a new venv: uv venv .venv
Install markupsafe into that venv: uv pip install markupsafe
Create a main.py with contents like so:

import subprocess
import shutil
import os

os.mkdir("testdir")
subprocess.run(["uv", "venv", ".venv"], cwd="./testdir")
subprocess.run(["uv", "pip", "install", "markupsafe"], cwd="./testdir")
shutil.rmtree("testdir")

Run main.py via python main.py
Notice that it will fail on Windows: PermissionError: [WinError 5] Access is denied: 'testdir\\.venv\\Lib\\site-packages\\markupsafe\\_speedups.cp310-win_amd64.pyd'
Try changing link mode (e.g. via environment variable) to symlink and see that it then works when running python main.py

I think it boils down to python automatically loading .pyd files in your venv and then uv hardlinking to the cache, and when the file is loaded/has open file descriptors windows will not allow us to delete the hardlink. This is not only an issue for only markupsafe, but all libraries that use .pyd files, this was just an example.
tl;dr
if you have a python script, with any dependency containing a .pyd file, and this script tries to delete a .venv containing a hardlink to the same .pyd file then Windows will throw you an "Access is denied" error.
Version
uv: 0.4.17

I guess i could patch the environment variable UV_LINK_MODE env var before invoking the 3rd party lib, but that feels like a hack and i'm not sure if it will work well.

symlink mode won't work either (unless developer mode or admin) but copy can be a workaround i guess :-/

It seems weird that you can't delete any hardlink when an fd is open? It seems like they should just stop you from deleting the last one.

I appreciate the clear write-up but I'm not sure that this is a bug and I'm also not sure that there's anything for us to do here. I guess we could "always" copy .pyd files on Windows, even if hardlinks are enabled?

Thanks. Yeah i'm not sure either, just wanted to bring it up. It's a foot-shotgun turned rabbit hole that i encountered.
Copying would solve the problem, at the cost of disk space and performance (?) I'm not sure if that's better in favor of being more compatible with how it works using pip/virtualenv, or if this can be considered an acceptable discrepancy? Maybe it's fine if it is documented somehow, but its also kind of very specific.

It seems weird that you can't delete any hardlink when an fd is open? It seems like they should just stop you from deleting the last one.

Right?! I was confused as well, i guess its windows-related :shrug:
@charliermarsh @zanieb
Thanks for all your hard work by the way, uv is awesome!

Thanks @linde12, you explained some of the problems I've seen in windows CI. I'll test the link mode as a solution to them..

It sort of feels like we should just force copy of these files :/ I don't love it though

Unable to reproduce on my computer. I can delete the whole uv cache folder successfully with matplotlib window opened, and the File Locksmith utility from powertoys shows that lots of pyd files under matplotlib and numpy are in use.
This might be related to other factors like Windows version or Windows defender scanning the newly created venv.

@kahojyun mind running the example just to make sure? I was able to reproduce it on the two different windows 10 (i don't run windows myself and can't test on win11) machines, both when running mingw bash and regular powershell. One with python 3.8 and the other python 3.10 (just to make sure it wasn't python acting up).
I used strace (mingw) and could see that the .pyd was being loaded (regardless if i imported markupsafe or not) and as soon as that happened i could delete the entire .venv except the .pyd file.
Maybe also, to be extra sure, set the UV_LINK_MODE to hardlink explicitly? E.g. UV_LINK_MODE=hardlink strace python main.py

Tried with powershell 7 on win11:
~\uvtest
❯ rm env:UV_CACHE_DIR

~\uvtest
❯ $env:UV_LINK_MODE="hardlink"

~\uvtest
❯ $env:UV_PYTHON="3.8"

~\uvtest
❯ uv venv .venv
Using CPython 3.8.20
Creating virtual environment at: .venv
Activate with: .venv\Scripts\activate

~\uvtest
❯ uv pip install markupsafe
Resolved 1 package in 1.16s
Prepared 1 package in 90ms
Installed 1 package in 10ms
 + markupsafe==2.1.5

~\uvtest
❯ nvim main.py

~\uvtest via 🐍 v3.12.6 took 9s
❯ uv run main.py
Using CPython 3.8.20
Creating virtual environment at: .venv
Activate with: .venv\Scripts\activate
Audited 1 package in 1ms

~\uvtest via 🐍 v3.12.6
❯ .\.venv\Scripts\python.exe .\main.py
Using CPython 3.8.20
Creating virtual environment at: .venv
Activate with: .venv\Scripts\activate
Resolved 1 package in 7ms
Installed 1 package in 10ms
 + markupsafe==2.1.5

I don't have mingw and bash to try the exact command.

Interesting, maybe the .pyd in question isnt being loaded

Here is a repo with two actions. One running win-11 and one win-10. It uses the example, but now i also import and use markupsafe (because it worked fine when i did not import it apparently, not sure why i got different behaviors)
https://github.com/linde12/uv-py-hardlink-windows

Here is a repo with two actions. One running win-11 and one win-10. It uses the example, but now i also import and use markupsafe (because it worked fine when i did not import it apparently, not sure why i got different behaviors)
https://github.com/linde12/uv-py-hardlink-windows

I tried tweaking these workflows and found that running with pwsh instead of bash exited normally. Weird

Weird yeah... https://github.com/linde12/uv-py-hardlink-windows/actions/runs/11187011758/job/31103231396
Without strace it works? I'm too tired for this... I'm almost sure i observed the same issue in pwsh too, but i might be wrong

It sort of feels like we should just force copy of these files :/ I don't love it though

Even though copying seems suboptimal I think it’s actually a good working solution.
(Along with the omission of Bash, Microsoft’s decision to restrict symlink creation to elevated users in Windows seems like it was deliberately intended to break OS interoperability.)

Symlinks made in WSL also don’t work… could have been a cool workaround :/
https://blog.trailofbits.com/2024/02/12/why-windows-cant-follow-wsl-symlinks/

I modified my script slightly to compare to my real usecase.
I create a noxfile.py which installs markupsafe and runs some script that uses it, then i run nox -f noxfile.py and try to delete the testdir after this. This fails, even without strace and using pwsh: https://github.com/linde12/uv-py-hardlink-windows/actions/runs/11203062664/job/31139882483

It seems that if any program opens the file without FILE_SHARE_DELETE flag, all of the hardlink-peers can't be deleted. If we want to avoid this kind of error we have to use symlink or copy.
(I'm okay with copy by default as long as Microsoft brings automatic CoW to Dev Drive.)

It seems that if any program opens the file without FILE_SHARE_DELETE flag, all of the hardlink-peers can't be deleted. If we want to avoid this kind of error we have to use symlink or copy.
(I'm okay with copy by default as long as Microsoft brings automatic CoW to Dev Drive.)

I was actually reading the same post the other day, but was confused as to why we were seeing different behaviors. Especially when i was using strace :eyes: Copying the .pyd might be the least bad fix IMO


Option to to return Blob on Inference

Related to this #93. Option to return the Blob so it contains the mime type @coyotte508 @TimMikeladze

I think it should be the default / only option (it's easy to get an array buffer from the blob)
It's also consistent with types used by @huggingface/hub


Error: malformed MJML error from mjml-core for valid templates (mjml-cli validates/renders fine)

Describe the bug
Valid templates produce error: Error: Malformed MJML. Check that your structure is correct and enclosed in <mjml> tags. at mjml2html
To Reproduce
NOTE: full repo with three examples available here
Using Typescript:
// example sourced from README.md
import mjml2html from 'mjml-core';

const htmlOutput = mjml2html(`
  <mjml>
    <mj-body>
      <mj-section>
        <mj-column>
          <mj-text>
            Hello World!
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-body>
  </mjml>
`, {});
console.log(htmlOutput)

Using plain Node.js
const mjml2html = require('mjml-core').default;
const htmlOutput = mjml2html(`
  <mjml>
    <mj-body>
      <mj-section>
        <mj-column>
          <mj-text>
            Hello World!
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-body>
  </mjml>
`, {});
console.log(htmlOutput);

Expected behavior
Programmatic usage via top-level method mjml2html (which is documented to accept a string) should render a valid template.
MJML environment (please complete the following information):

OS: MacOS 12.4
MJML Version: 4.13.0
MJML tool used: npm package (via TypeScript)

Email sending environment(for rendering issues):
N/A
Affected email clients (for rendering issues):
M/A
Screenshots
N/A
Additional context
The CLI validates & renders the sample template totally fine but the JS API barfs.
This is not a typescript issue - I've included a non-ts example in the reproduction repo I created as well that has identical behavior.
I dug up some example code from issue #2556 issue and using this
import * as Parser from 'mjml-parser-xml'
import * as jsonToXML from 'mjml-core/lib/helpers/jsonToXML.js';

const xml = `
<mjml>
  <mj-body>
    <mj-section>
      <mj-column>

        <mj-image width="100px" src="/assets/img/logo-small.png"></mj-image>

        <mj-divider border-color="#F45E43"></mj-divider>

        <mj-text font-size="20px" color="#F45E43" font-family="helvetica">Hello World</mj-text>

      </mj-column>
    </mj-section>
  </mj-body>
</mjml>
`

const mjml = Parser(xml);
console.log(jsonToXML(mjml))

And this method works. But these aren't even top-level exported interfaces.
The examples and usage that don't work are directly from the documentation.
Has the top-level mjml2html method broken for string usage?

Thanks @iRyusa! Now I understand what's going on. There is even a comment inside the definitions file hinting at this.
The reason I was led astray is that the mjml library is because:
This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

I'll close this issue and hopefully raise a new issue (with PR) that provides a more helpful error message something like:
No components loaded: cannot parse MJML as no components have been loaded.
And also update that helpful comment in the definitions file to be even more explicit.
Thanks so much for your (amazingly) fast and helpful response!

Yeah this error is used when no content is output from a MJML (instead of rendering a blank skeleton). Might need to add some warnings if there's no component registered tho.


Mapped Memory Tracking Updates

Updates for the "page guard" memory tracking mode:

Remove unused experimental and debug options
Add an experimental option using VK_EXT_external_memory_host to eliminate the need for shadow memory to detect write access to mapped memory.  The current implementation only works reliably on Windows with AMD GPUs.
Add settings file/environment variable options for controlling page guard behavior:

GFXRECON_PAGE_GUARD_COPY_ON_MAP to enable/disable copy from mapped
memory to shadow memory after map.
GFXRECON_PAGE_GUARD_LAZY_COPY to change the copy on map behavior
such that the copy is performed for individual pages on first access.
GFXRECON_PAGE_GUARD_EXTERNAL_MEMORY to enable the experimental
feature that eliminates the need for shadow allocations.

Closes #205

Seems it's broken now
@dustin-lunarg
https://github.com/LunarG/gfxreconstruct/issues/802


Add a config setting for quitting the app when the last window is closed on Mac OS clicking the x icon directly

mac 10.10.4
atom 1.0.2 download from release atom-mac.zip and install.
1.from Dock I click the icon
when I first open atom it comes to a untitled txt file,then choose a local folder and open it ,then close editor and reopen,it come to a untitled again.
add project folder does not work either
2. from the terminal, try to use atom . from a local folder, and close the editor manually by clicking the "x" icon ，also i try to open two local folders and shutdown one of them and reopen editor again, it won`t work either

@wanghaisheng Is the behavior of atom described here same as the one you are experiencing? If yes then use Cmd-Q to make Atom remember your session.

Does this happen even if you open atom with the folder using atom the-folder from the terminal? What about if you open a new window after opening the first window.

@maxbrunsfeld   @mnquintana  update the info

So you said that when you close Atom, you close the window by clicking the x button. What if instead, you quit the app with command-q?

@maxbrunsfeld let me try .instead of using 1.0.x atom , I am always doing things like that and it is ok

Ok, I think that what you are seeing is the expected behavior. On Mac OS, the standard behavior is that the x button does not quit the app; it just closes the window. Atom remembers the windows you have open when you quit and reopen it, so if you close a window, it will remember that you had no windows  open.

thx. it seems so, when i right click the atom icon on Dock and quit the editor ,it works .but click the "x"，the atom   icon still stays on the Dock.
is there any config i can set to let atom do the same as command-q when i click the "x" close the window.

No, there's no such config setting right now. I know that MacVim has a config setting like that, so it would be a reasonable thing to add. Now that we understand the problem that you're experiencing, would you like to rename this issue, turning it into a feature request for that config setting?

how to describe would be proper ,a little advice？

There is a whole, huge sordid history to this. Most of it can be found in #2986. This also looks like a duplicate of #863, would you agree?
Also, there is the-closer that, last I checked, offered this already.

@lee-dohm  i tried the solutions in the links you provided,
neither of these three tabs-closer,close-after-last-tab,the-closer works,when I click the red "x" button as the below image shows

You're right, the-closer doesn't cover clicking the red button. I misunderstood.

Any updates?

Thanks for the ping @janwo. While we understand that this would be useful for some people's workflows, this isn't something that we're going to be adding to Atom.


Add ids to the included legacy tags

Is your feature request related to a problem? Please describe.
This gem vite_plugin_legacy does not insert all the scripts generated by the @vitejs/plugin-legacy
Describe the solution you'd like
Also Insert the inline scripts inserted by the vite plugin
These are inserted in the head to load legacy build in esm browsers that not support dynamic-import
<script type="module">try{import("_").catch(()=>1);}catch(e){}window.__vite_is_dynamic_import_support=true;</script>
<script type="module">!function(){if(window.__vite_is_dynamic_import_support)return;console.warn("vite: loading legacy build because dynamic import is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>

Describe alternatives you've considered
Automatically add the ids that the plugin add for the scripts, or allow pass an id to the tag helpers, this will allow add the missing scripts manualy
<script nomodule id="vite-legacy-polyfill"
<script nomodule id="vite-legacy-entry"

Note: this ids are used in the scripts in the head, they are also needed for the first solution, but I think that only add the ids will be easer

Hi Eduardo!
Pull requests are welcome!

Is this PR related?

I believe so


[BUG] Chapters missing for solo leveling

Chapters are skipped from 5 to 65 for solo leveling checked mangadex.tv and all the chapters are there. Wondering if its because I am not a member?

Reproduce: open solo leveling and check the chapter list
expected: chapters 6-64 should be present
actual: chapter 6-64 are missing

this was reported before, and the reason was that the servers dont currently serve those chapters (they were apparently removed by the scanlators)


Implementation of memoize_func

Hi,
This PR addresses the implementation of the memoize function as a high order function.
Best,
Christian.

See my comments inline. Can you also check the build (fails for nightly, PHP 7)?

Ok! I'll check all the comments and the travis build!

Sorry for the late delay. I had finally got some time to make the changes.

Done! :)

Now we just need a small piece of docs and then we are good to merge :+1:

@theUniC would you mind adding some documentation?

ping

I was just looking for this in the API (though thinking memoize_function might be a more consistent name because of const_function).
What is outstanding, I'd be happy to finish it off...
@lstrojny

@rodnaph would mostly be documentation and yes, I agree on your proposed name,


[release-1.19] Temporarily skip version test that is broken (again)

This is an automated cherry-pick of #46357

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio_release-1.19
12d7893a12d78f34a471fa0d628b81fe29d87001
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.19
12d7893a12d78f34a471fa0d628b81fe29d87001
link
unknown
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[WIP]create some job operations

I just tried some job operations here, will update it later

Close it since it has been fixed in: https://github.com/openshift/release-tests/commit/0b2eafd7086d57b2b2e837007564c956e1255213


nim client

PR title
Status
READY/IN DEVELOPMENT/HOLD
Description
A few sentences describing the overall goals of the pull request's commits.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[x] Tests
[x] Documentation

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git pull --prune
git checkout <feature_branch>
pytest --showlocals

Impacted Areas in Application
List general components of the application that this PR will affect:

:white_check_mark: Build ebook_homebrew 1.0.437 completed (commit https://github.com/tubone24/ebook_homebrew/commit/69295c2aac by @)

:x: Build ebook_homebrew 1.0.438 failed (commit https://github.com/tubone24/ebook_homebrew/commit/03ece2b633 by @)

:white_check_mark: Build ebook_homebrew 1.0.439 completed (commit https://github.com/tubone24/ebook_homebrew/commit/7b0429a4d9 by @)

:white_check_mark: Build ebook_homebrew 1.0.440 completed (commit https://github.com/tubone24/ebook_homebrew/commit/7b0429a4d9 by @)


[libzt] Add new port.

Adding support for libzt.

Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>

Does your PR follow the maintainer guide?
Your answer

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
<Yes / I am still working on this PR>

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@aarlt ,Thanks for your pr, could you please sign in CLA first?

@JonLiu1993 Thanks for your feedback! I integrated your suggestions. I also added a license property to vcpkg.json.

@aarlt The port isn't installed properly because dynamic libraries (.so) end up in /lib which is just for static libraries. Dynamic libraries should go into /bin:
libzt:x64-linux:/debug/lib/libzt.a
libzt:x64-linux:/debug/lib/libzt.so
libzt:x64-linux:/include/ZeroTierSockets.h
libzt:x64-linux:/lib/libzt.a
libzt:x64-linux:/lib/libzt.so
libzt:x64-linux:/share/libzt/copyright
libzt:x64-linux:/share/libzt/usage
libzt:x64-linux:/share/libzt/vcpkg_abi_info.txt
libzt:x64-linux:/share/unofficial-libzt/unofficial-libzt-config.cmake

This is an upstream bug. The best solution would be to move dynamic libraries manually to /bin.
This might explain why the port fails on Windows although supported by upstream.

The port isn't installed properly because dynamic libraries (.so) end up in /lib which is just for static libraries. Dynamic libraries should go into /bin:

No. This is wrong. Only Windows puts the DLL part into bin.

Some packages build static and dynamic libs in one run. In this package, you can control it with BUILD_STATIC_LIB/BUILD_SHARED_LIB, based on VCPKG_LIBRARY_LINKAGE.

No. This is wrong. Only Windows puts the DLL part into bin.

Thinking again, the best solution would be if upstream fixed its shared build. Meanwhile, this port should be marked to only support static linking.

Some packages build static and dynamic libs in one run. In this package, you can control it with BUILD_STATIC_LIB/BUILD_SHARED_LIB, based on VCPKG_LIBRARY_LINKAGE.

This is true but doesn't change the location where dynamic libs will go: https://github.com/zerotier/libzt/blob/0a678a8c8af5ea0cecfa246212352e62f5a2554e/build.sh#L320

This is true but doesn't change the location where dynamic libs will go

Now which libraries are placed wrong? For linux, it is right.

For Windows, it might lack the RUNTIME DESTINATON:
https://github.com/zerotier/libzt/blob/41eb9aebc80a5f1c816fa26a06cefde9de906676/CMakeLists.txt#L772-L775


Unable to Mount and Traverse {this.props.children}

When mounting a component that contains {this.props.children}, i.e. a layout component that renders a child page component inside of it, Enzyme is unable to find the child. Example:
Layout:
class AppLayout extends Component {
  render() {
    return (

          ...

            {this.props.children}

          ...

    );
  }
}

Page (child):
class ChildPage extends Component {
  render() {
    return (

          ...

          <TopBar />

          ...

    );
  }
}

Enzyme:
    it('can find a child page', function () {
      const wrapper = mount(<AppLayout />);
      wrapper.find('TopBar').simulate('click'); // fails here
      expect( ... ).toEqual( ... );
    });

Failure error:
Error: This method is only meant to be run on single node. 0 found instead.
    at ReactWrapper.single (packages/modules.js?hash=0fff7a1c686c8053d1feaf04955a09c8985d8b5f:25973:17)
    at ReactWrapper.simulate (packages/modules.js?hash=0fff7a1c686c8053d1feaf04955a09c8985d8b5f:25405:14)
    at Context.<anonymous> (app/app.js?hash=f0f11fe007a6493261baeb562e64e4dbd0fff573:848:36)
    at callFn (packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3227:21)
    at Test.Runnable.run (packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3220:7)
    at Runner.runTest (packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3688:10)
    at packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3799:12
    at next (packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3608:14)
    at packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3618:7
    at next (packages/practicalmeteor_mocha.js?hash=489e07e2e98906b5ed07059bc93d8f53fe79c00b:3550:14)

What is the preferred way to handle this situation? While the example given above is rather lame, this is a very useful feature to have for cases where you'd like to perform events on children to evaluate state changes on the root / parent.
Thanks!
EDIT: Maybe the better question to ask here is, how to define the "context" of the parent such that it can find the child to render? Perhaps explicitly telling it which child to render?

Looking at this, it seems like you are mis-rendering your tree in the mount call for your test case. Testing on children is fully possible already.
Since AppLayout renders it's children, you have to pass it children. I think you just need to do this change:
-const wrapper = mount(<AppLayout />);
+const wrapper = mount(<AppLayout><ChildPage /></AppLayout);

Calling .html() on the wrapper can help you see the tree enzyme has access to.

Thanks for your reply. When I try the following:
      const wrapper = mount(
        <AppLayout>
          < ChildPage />
        </AppLayout>
      );

I get the following error:
TypeError: Cannot read property 'pathname' of undefined
    at AppLayout.render (app/app.js?hash=3770df093b4e3a14f12a2a31ffe2e4513bb9e381:914:22)
    at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:16461:34)
    at ReactCompositeComponentMixin._renderValidatedComponent (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:16481:32)
    at wrapper [as _renderValidatedComponent] (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:9542:21)
    at ReactCompositeComponentMixin.performInitialMount (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:16065:30)
    at ReactCompositeComponentMixin.mountComponent (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:15996:21)
    at wrapper [as mountComponent] (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:9542:21)
    at Object.ReactReconciler.mountComponent (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:9621:35)
    at ReactCompositeComponentMixin.performInitialMount (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:16071:34)
    at ReactCompositeComponentMixin.mountComponent (packages/modules.js?hash=0da348cabffcfe8a4fe4b6c788b47170e2655c18:15996:21)

Any ideas? I'm using React Router.

Does your component expect a pathname value from props? You may need to mock the data.

@Aweary Thank you! Turns out this wasn't an "issue", but rather an effort to marry Enzyme with React Router to achieve the test I'm looking for. React Router creates some props on AppLayout that I needed to pass in to set the context of the test:
      const wrapper = mount(
        <AppLayout location={{ pathname: '/' }}>
          <ActivityPage />
        </AppLayout>,
        'en-US'
      );

Cheers 🍺


python3 SocialFish.py not working

I am trying to run but i always get this error code
Traceback (most recent call last):
File "SocialFish.py", line 2, in
from flask import Flask, request, render_template, jsonify, redirect, g, flash
i correctly install requirements.txt and i try to run pip3 install flask

Hello @Sim0nGame
try:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python SocialFish.py root pass

ERROR: Could not find a version that satisfies the requirement nmap (from versions: none)
ERROR: No matching distribution found for nmap
please how can i resolve this issue


Move score to a long plus other tweaks

Score now a long, bit-shifted for display
Add a new bread type (Melba)
Customers in shop at the close can still be served (or leave)
GameParameters and BreadBin persist throughout game
Overdue refactor to simplify modifications to GameParameters and focus game.h

I had a chat witha friend who told me gluten free bread would be a good one
to add as it takes forever to toast
On Thu, 5 Oct 2023 at 00:31, ConorMcPersonal @.***>
wrote:

Score now a long, bit-shifted for display
Add a new bread type (Melba)
Customers in shop at the close can still be served (or leave)
GameParameters and BreadBin persist throughout game
Overdue refactor to simplify modifications to GameParameters and focus
game.h
You can view, comment on, or merge this pull request online at:
https://github.com/ConorMcPersonal/Toaster/pull/37
Commit Summary

15be93a
https://github.com/ConorMcPersonal/Toaster/pull/37/commits/15be93af58ebdb497908d582bc88f9168404fe2a
Move score to a long plus other tweaks

File Changes
(8 files https://github.com/ConorMcPersonal/Toaster/pull/37/files)

M SplitFiles/Makefile
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-79548ada42637a77fab0ff711f593ea22644aaef502af71ca07c57dab8b1e51a
(2)
A SplitFiles/base.c
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-93031b8fbabde7c134bbf88d606f40296ed5fa85cbed955037b1d3c9399689df
(21)
A SplitFiles/base.h
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-7d1aaa7dd198a29846ce8ff88067d1ab9dedae541d126dc724e4fe2fbee9f689
(70)
M SplitFiles/bread.c
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-9056661dc4399fbe9f565bd5eeeba21e275bb2c17e04970c25d4d8b52f7bef50
(13)
M SplitFiles/bread.h
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-082a26d5f6cfe2388294d054399e4e6579ceea49fe9cbdade06592d98f57162d
(27)
M SplitFiles/customer.c
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-8848bb7605986a4c80611da6b0c3dedf26373da591c005cc775cfb42996b7b0e
(35)
M SplitFiles/game.c
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-3d8cb189114883ae62c5e4e917cc8c37ec1d288f1d29bba6565951b8166385ac
(84)
M SplitFiles/game.h
https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-5d41ec862d143407f11b4be196932f41a602048e426845e3b39b36402fffbabd
(46)

Patch Links:

https://github.com/ConorMcPersonal/Toaster/pull/37.patch
https://github.com/ConorMcPersonal/Toaster/pull/37.diff

—
Reply to this email directly, view it on GitHub
https://github.com/ConorMcPersonal/Toaster/pull/37, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQK2OS34WKW6DZ2HDZM53X5XWW7AVCNFSM6AAAAAA5TLY2RCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDOMJSGQ2TIOA
.
You are receiving this because your review was requested.Message ID:
@.***>

I had a chat witha friend who told me gluten free bread would be a good one to add as it takes forever to toast
…
On Thu, 5 Oct 2023 at 00:31, ConorMcPersonal @.> wrote: Score now a long, bit-shifted for display Add a new bread type (Melba) Customers in shop at the close can still be served (or leave) GameParameters and BreadBin persist throughout game Overdue refactor to simplify modifications to GameParameters and focus game.h ------------------------------ You can view, comment on, or merge this pull request online at: #37 Commit Summary - 15be93a <15be93a> Move score to a long plus other tweaks File Changes (8 files https://github.com/ConorMcPersonal/Toaster/pull/37/files) - M SplitFiles/Makefile https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-79548ada42637a77fab0ff711f593ea22644aaef502af71ca07c57dab8b1e51a (2) - A SplitFiles/base.c https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-93031b8fbabde7c134bbf88d606f40296ed5fa85cbed955037b1d3c9399689df (21) - A SplitFiles/base.h https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-7d1aaa7dd198a29846ce8ff88067d1ab9dedae541d126dc724e4fe2fbee9f689 (70) - M SplitFiles/bread.c https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-9056661dc4399fbe9f565bd5eeeba21e275bb2c17e04970c25d4d8b52f7bef50 (13) - M SplitFiles/bread.h https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-082a26d5f6cfe2388294d054399e4e6579ceea49fe9cbdade06592d98f57162d (27) - M SplitFiles/customer.c https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-8848bb7605986a4c80611da6b0c3dedf26373da591c005cc775cfb42996b7b0e (35) - M SplitFiles/game.c https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-3d8cb189114883ae62c5e4e917cc8c37ec1d288f1d29bba6565951b8166385ac (84) - M SplitFiles/game.h https://github.com/ConorMcPersonal/Toaster/pull/37/files#diff-5d41ec862d143407f11b4be196932f41a602048e426845e3b39b36402fffbabd (46) Patch Links: - https://github.com/ConorMcPersonal/Toaster/pull/37.patch - https://github.com/ConorMcPersonal/Toaster/pull/37.diff — Reply to this email directly, view it on GitHub <#37>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQK2OS34WKW6DZ2HDZM53X5XWW7AVCNFSM6AAAAAA5TLY2RCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDOMJSGQ2TIOA . You are receiving this because your review was requested.Message ID: @.>

Done

Not identified the source for this - but: if you burn toast your score still goes up (by a lot in some cases), and the sound never recovers properly and the melba toast faster than everything, not slower!

sorry that's obviously correct for melba, getting confused with gluten, which I am yet to see

Bit shifting was never a sinecure, was just going to slow down how fast you could get there.  Think score below zero = goodnight vienna, negative score seem to play havoc with the whole thing (which is what you're seeing too by the sound of it)

Gluten free is a low probability order.  melba supposed to be fast.  Think we need to look at scoring and reputation in general - it's currently a bit too generous all round.


if pattern is absolute, don't transform it to relative by default (cf unix find)

cd /tmp/foo
import glob

proc test()=
  let src_D="/tmp/foo/tests/nim/t48_glob/**/*" #NOTE: the pattern is absolute
  for a in walkGlobKinds(src_D): echo a

test()

prints:
(path: "tests/nim/t48_glob/test.nim", kind: pcFile)
(path: "tests/nim/t48_glob/a/b3.txt", kind: pcFile)

should print:
(path: "/tmp/foo/tests/nim/t48_glob/test.nim", kind: pcFile)
(path: "/tmp/foo/tests/nim/t48_glob/a/b3.txt", kind: pcFile)

EDIT
so basically what I'm suggesting is to either change meaning of GlobOption.Absolute to have its default match behavior of unix find:
Absolute = true:
all paths converted to absolute
Absolute = false and root = "" (the default)
if pattern in relative,  stay relative
if pattern in absolute,  stay absolute
Absolute = false and root != ""
all paths converted to be relative to root (using relativePath from https://github.com/nim-lang/Nim/pull/8166#issuecomment-405685942 once ready; until then using whatever logic you have, which IIRC is currently different, as you don't allow ".." IIRC)
/cc @citycide what do you think?

Isn't that confusing? Shouldn't providing GlobOption.Absolute just always determine how the paths are returned? I'd be really surprised if I passed Absolute but got back relative paths.

the problem is current setup doesn't allow you to preserve absolute-ness of input pattern: if Absolute were a tri-state (off/on/auto) that would solve that issue. But since it's a 2-state bit, the way I suggest allows user to preserve absolute-ness.
The way I suggest (preserving absolute-ness) not only makes more sense but is what is standard pretty much everywhere:

same as unix find
same as python glob
same as nim walkPattern
same as D's dirEntries
etc...


complex-numbers: update tests and version file (v1.0.0 -> v1.3.0)

Please update the version specified in the complex-numbers version file from 1.0.0 to 1.3.0.
This update has been caused by the application of a new input policy, and the addition of a new test case.
Please additionally update the test suite to match the canonical-data. The test described by "Exponential of a number with real and imaginary part" should be added, and the reference solution updated if necessary.

I can take a look at this


Cant get it to download past images from channels

I just erased email and such, I watched the main video a few times, I also cant get the history message

This happened to me too.
I used it last time on September 12 with no problem and without the authorization fields, it no longer worked when using history
They made some changes recently. Could it be the cause?


Sending string values vs. objects

Operating System version: CentOS
Firebase SDK version: 5.4.1
Firebase Product: Cloud Messaging
https://github.com/firebase/firebase-admin-node/blob/fc45c4f5da404e21934cbd9f5a4e7116cb744f0a/src/messaging/messaging.ts#L715
Is there any particular reason why we're restricting the values of the key:value pairs in data to just strings?
If calling https://fcm.googleapis.com/fcm/send directly, you can include objects within data.

The FCP server API reference states:
Values in string types are recommended. You have to convert values in objects
or other non-string data types (e.g., integers or booleans) to string.

@shasd can you also please take a look?

yeah Im also curious aboyt this. Im facing the problem how to send my data payload from server to the client. Any suggestions on how to stringify/parse the payload automatically so i dont have to remember that data payload can be set as
const payload = {
    data: {
        body: 1
    }
};

and it will be stringified or somthing.
rather than always remeber to make this as string ?
const payload = {
    data: {
        body: '1'
    }
};

string;

Any changes ? how to add JSON object within data payload ?

string;

Any changes ? how to add JSON object within data payload ?

@redward
You'll have to Stringify the object.
const payload = {     data: {         foo: JSON.Stringify({foo: "bar"}),         body: "Notification Body",         ...     } };


Deploy to a staging site

In order to test and QA the changes to LA Metro and the related repositories, we should set up CD for a staging site.
As the changes are far ranging, it would be best if it was separate from the existing staging infrastructure. It's also likely that we want to take advantage of the containerization we've already done either by using heroku or docker-compose on an EC2.

This is done! https://la-metro-councilmatic-staging.herokuapp.com/
Except, there's no data.


[Android] Test SNAP with tensorflow lite model

With https://github.com/nnstreamer/nnstreamer/pull/3433,

SNAP v3.0 supports tensorflow lite model.
Add pipeline and singleshot test using it.

Signed-off-by: Yongjoo Ahn<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #81. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


Postmark v2.5.0 & v2.5.1 Has Cryptic XMLHttpRequest Issues

When using postmark.TemplatedMessage and sendEmailBatchWithTemplates I get an odd error without a lot of description. Downgrading to 2.3.5 fixes this issue. The problem is present in both 2.5.0 & 2.5.1.
Message:
PostmarkError: The string did not match the expected pattern.
    at ErrorHandler.Object.<anonymous>.ErrorHandler.buildGeneralError (/Users/zjr/Developer/Current/csns/node_modules/postmark/src/client/ErrorHandler.ts:37:16)
    at ErrorHandler.Object.<anonymous>.ErrorHandler.buildRequestError (/Users/zjr/Developer/Current/csns/node_modules/postmark/src/client/ErrorHandler.ts:23:25)
    at /Users/zjr/Developer/Current/csns/node_modules/postmark/src/client/BaseClient.ts:116:41

Hi @zjr
we could not reproduce the issue yet. Could you share codesnipet without credentials/auth details that you used and got the error?
Also if you could share typescript, nodejs version you use that would be great.
Thanks!

Hi Igor, sorry I didn't think to include the Node version, I'm on v12.16.0 (no TS). I'm very busy this week but I'll try to come up with a test case soon.

Hey,
no worries, tx!

Hi,
we could not reproduce this issue, and haven't seen any other reports for it. Since then the error handling part had updates too.
I am closing the issue. In case you can still see it with latest (2.5.3) library version, feel free to send over details and we will check it out.
Igor

Just commenting here if anyone encounters this in the future. I got this same error when running tests with jest and using postmark client 2.7.4. Jest runs by default in jsdom mode so it has a window. When I changed jest to run in node, this error went away. Apparently, Axios is doing something funny in a browser context.
If you are interested, there are a couple of related errors which might help to understand the core reason:
https://github.com/facebook/jest/issues/5737
https://github.com/axios/axios/issues/1180

Hi @hequ
thanks for details! I add them to the wiki.


Produce deadlocks various ways.

[ ] Research various ways to create deadlocks and share those here.
[ ] Produce examples for each way to create a deadlock.
[ ] Create test specs with those examples.
[ ] Let the test specs fail, until #509 is working ( which is how you will know )

Able to create 3 deadlocks,
1 - From Mutex.lock
2 - From Mutex.synchronize
3 - From Celluloid exclusive
Here are the results for various rvm versions,
For Mutex.lock & Mutex.synchronize  on ruby-2.1.1 gives an error message
ERROR -- : Actor crashed! ThreadError: deadlock; recursive locking
For Mutex.lock  & Mutex.synchronize on jruby-1.7.19 doesn't give any error message, the program waits because of the deadlock.
For Mutex.lock  & Mutex.synchronize on rbx-2.5.2 gives an error message
ERROR -- : Actor crashed! ThreadError: Recursively locking not allowed

For exclusive on ruby-2.1.1 gives an error message finally
Couldn't cleanly terminate all actors in 10 seconds!
For exclusive  on jruby-1.7.19 &  rbx-2.5.2 doesn't give any error message, the program waits because of the deadlock.

Excellent! I was hoping for silent deadlocks most of all. Can you also research i/o related deadlocks? I'll look into what you have so far while you do that.

I created an I/O related deadlock by File LOCK_EX
It doesn't give any error message for ruby , jruby & rbx. Seems it's a good sample for our testing.

Excellent. I'm going to create a GSoC branch for you to submit your test suite and examples to, using the existing conventions and file locations.

Here's that branch: https://github.com/celluloid/celluloid/tree/GSoC/2015

spec fails as expected,
With ruby there is only one failure (I/O related deadlock File LOCK_EX)
With 'jruby&rbx` all the specs fail.

@dilumnavanjana seems like some changes to the branch crept in. When did you pull in the GSoC/2015 branch?

Made comments on your PR //

Shall I recreate the branch from 0.17.0-prerelease & add the spec files?

You can branch from GSoC/2015 ... that is a branch off of 0.17.0-prerelease ... which did you base your branch on so far?

Now I recreate the GSoC/2015 branch from 0.17.0-prerelease. It'll work fine from now

Did you see the rest of my notes on #628 having to do with paths and where to put your files?

yeah, I'm working on them now

Roger that.


Sorting breaks syntax sometimes

Describe the bug
When I run the sort command, some classNames get place outside of the quotes.
To Reproduce
I prepared a repo you can clone: https://github.com/Gnarus-G/tailwind-tools-bug-repo
Steps to reproduce the behavior:

Open src/app/page.tsx
Run the :TailwindSort command
See error

Expected behavior
Doesn't create any syntax errors.
Screenshots

Environment (please complete the following information):

Operating system: Linux rig 6.8.1-zen1-1-zen # 1 ZEN SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:23 +0000 x86_64 GNU/Linux
Neovim version: NVIM v0.10.0-dev-2657+g9765efb40f
Build type: RelWithDebInfo
LuaJIT 2.1.1702233742
Nvim-treesitter commit: Latest commit of master
tailwind-language-server version: 0.0.16

Oh, I missed something with javascript expressions range, the backticks wree also included in the range.

I think I just realized how tricky handling the full javascript expression is, maybe I should limit the class range to the string inside the expression {"..."}

It should work now, thanks for the report!

No. Thank you for the plugin.

I'm actually struggling with a very similar issue. it breaks when the pattern is something like:
className={ <backtick> h-6 ${openIndex === index ? "block" : "hidden"} w-6 leading-6 </backtick>}
using :TailwindSort will then produce something like:
className={ <backtick> h-6 ${openIndex === index ? "block" : "hidden"} w-6 </backtick> leading-6 }

Thanks for pointing out the issue, it was a regression but it should be fixed now.

I just tested it and it works perfectly! Thanks for the fast fix 🙌🏼


Error occurred while enabling Cardinal v1.0-SNAPSHOT-git-CardinalPGM-f84e276 (Is it up to date?)

Here's a link to the log: http://pastebin.com/zY2eqp9N
I'm running version v1.0-SNAPSHOT from the build server.
To produce the bug: Start up the server.
I'm using SportBukkit version 1.8.7.

I only had 1 map in my maps/ folder. Adding 2 made it work. Keeping this open until I make sure that's the issue.

To understand Cardinal's versioning, every version of Cardinal to date has beed 1.0-SNAPSHOT. The important version that we need is the git commit, which is the last 6 characters of the version, f84e276 according to your log.

Double check that one map as well. It looks at a glance that the one map you are trying to use isn't loaded for some reason. Cardinal requires a map.xml, region.dat, and a region folder to consider loading a map.

http://pastebin.com/Y7hqfX2s
Both maps have a map.xml, region.dat and a region/ folder, and a level.dat.

Adding on to that, it threw me this: http://pastebin.com/R42ztiDg

Seems to be an issue with the map I tried.

Could you provide the XML?

Sure. http://pastebin.com/gNVZz5QQ

Also, why is TNT very laggy? It's very slow.

It may be possibly related to @Pablete1234's long distance TNT rendering. But that's off topic

Alright.

What is 1.4 proto ?

@twizmwazin that commit number does not have the long render distance tnt patch
TNT is laggy "by default" in all 1.4 proto maps, because regions / applied give npe's that fill up the whole console and freeze the server

@NurdTurd The error you are getting is part of an invalid rotation.txt, delete it to generate a valid one automatically, or put valid maps on it

This should be closed if @NurdTurd has solved his problem.


Include message in success response

{     "status": 200,     "success": true,     "message": "Logged out successfully!",     "data": null }
Is there any way to include a message to success respond like the above?

You can add additional fields to the root response object by using the meta() magic method of SuccessResponseBuilder, e.g. in a controller method (the controller must use MakesResponses):
return $this->success()
             ->meta(['message' => 'Hello World!'])
             ->respond();

I don't think there's a way to add anything to the root object via a transformer class.
See: https://github.com/flugg/laravel-responder#adding-meta-data


Provide option to set shell path, allowing use of non default terminal for extension

This came from a desire to use powershell on windows for this extension but not have it be my default terminal.
Adds a setting to the extension to provide a path to the desired shell. In the code if this setting !== '', then it will use the path provided, otherwise defaulting to the vscode default terminal.
Apologies if anything is missing from this PR - happy to try and polish it up if needed.

That sounds like a useful option, thanks @joshmartinlumi! It might take me a little bit to create a new release, but I'll make sure this change goes in :)


Internet blocked

Sorry that this is not a bug, but strangely I cannot find any information about this.
Is this library not supposed to work when the homebase 2 is blocked from accessing the internet? I can still use the eufy app when at home but this library just gives me the error:
ERROR P2PClientProtocol.lookup(): station: T8010XXXXXXX - All address lookup tentatives failed
I'm probably wrong, but from what I understand about the logs/code, the library tries to get the homebase local ip from one of the cloud addresses and then connects directly to it.
The problem seems to be that if the homebase has no internet access, then the cloud address returns nothing and the library doesn't connect.
Couldn't a multicast be used to find the homebase? Or maybe even easier, couldn't the library try to use the IP that eufy sent when the connection is made? From what I can see in the logs, when the connection is made eufy sends a lot of information about the cameras and homebase including the (probably last seen) local ip. Couldn't the library use that to connect for a truly offline experience?
I'm sorry in advance if what I'm saying makes no sense..
And thank you @bropat for an excellent library! and @fuatakgun for the HA integration!

I have this error as well, however in my case it is not blocked from internet. I do however have the homebase on a different vlan since last week and have changed dns to adguard. Maybe the Chinese government / Eufy doesn't like this..

Put them back on the same vlan. For ca. 18 hrs  no errors, theY just returned though, again the P2P one, seems as if it can't find the homebase.

@Heliem

I'm probably wrong, but from what I understand about the logs/code, the library tries to get the homebase local ip from one of the cloud addresses and then connects directly to it.
The problem seems to be that if the homebase has no internet access, then the cloud address returns nothing and the library doesn't connect.

Correct.

It is now possible to use this plugin while keeping the homebase completely cut off from the internet!
Thank you so much @bropat it was totally worth the wait!


Support sorting by data incoming order?

[ ] I have searched existing issues and confirmed this is not a duplicate

Issues and steps to reproduce
Support sorting by data incoming order ?
Expected behavior
Data is rearranged as it is added
Version of the flexbox library
com.google.android.flexbox:flexbox:3.0.0
Link to code
NA

The new data will refresh the original order


Adding a set_expiration function to TransactionBuilder

Had an Issue were I was getting Transaction Expired when creating a transaction. After going through the documentation I had to modify the TransactionBuilder class by addding  set_expiration  below:

    def set_expiration(self, expiration: int) -> "TransactionBuilder":
        self._raw_data['expiration'] = current_timestamp() + expiration
        return self

Is there a reason why the option to set expiration was added?

Added expiration() function in cb9977288a27c84adc30ddefa1cde57d64e902fb
But in general transaction shouldn't expire if you act fast. If I'm not mistaken it's valid for a minute, so you have to craft a transaction and do nothing for 1 minute?
Though I remember this error too, I made some changes in AsyncTransactionBuilder at least which helped me before


about ‘prep_scene_info’

Hello, I am experiencing an issue while training DeDoDe. I am receiving the following error message: "FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/DATASET/MegaDepth/prep_scene_info/detections/detections_0275.npy'". However, the prep_scene_info folder that I downloaded does not contain a detections folder. Can you please help me understand the source of this problem?

In that script the 3D points might be missing, let me know if you face any additional issues and I can update it.

Thank you for your answer. May I ask where can I download undistorted MegaDepth? Currently, the Google Drive link provided by D2-Net is no longer valid. Do I have to create it myself? However, it is quite large, with over 600GB of SFM files.

Yes unfortunately.
You can do it for just a few scenes as debug to start with.
You may be interested in looking at loftrs github issues to see if others have the same issue. There might be a solution Im not aware of.

Thank you for your response. Your help is greatly appreciated!


zprint: 1.1.2 -> 1.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/zprint/versions.
meta.description for zprint is: ""
meta.homepage for zprint is: ""
meta.changelog for zprint is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0/bin/zprint passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.2.0 with grep in /nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0
found 1.2.0 in filename of file in /nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
zprint

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zprint https://github.com/r-ryantm/nixpkgs/archive/2bf5d8d04f35457f8ff3ac6669d51e7d3ad45d81.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0
ls -la /nix/store/wdnd3vn31rm68cr60v8dyqhp4hcz1y20-zprint-1.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zprint

Maintainer pings

CC @stelcodes


One click approval feature

Github Issue (if applicable):
Trello Link (if applicable): https://trello.com/c/xCnDLKy3/64-one-click-transaction-approval
Forum Link (if applicable):
Explanation of Bugfix/Feature/Enhancement:
Easily approve a scheduled or linked transactions in a single click, or by pressing a key on the keyboard.

Single or multiple scheduled or linked transactions can be approved by selecting the transactions that you want to approve and pressing 'a' or 'enter' on the keyboard.
Single scheduled or linked transactions can be approved by right clicking on the transaction's blue 'i' or link icon.

This feature takes advantage of the fact that a user can click on the cleared/uncleared icon in order to approve a transaction. (Also, worth noting that this functionality won't work for transactions that are already reconciled, unless I can find a way to programmatically approve and then save the transaction. I can change the transactions isApproved variable, but that doesn't save it back to the database.)
Recommended Release Notes:
Easily approve a scheduled or linked transactions in a single click, or by pressing the 'a' or 'enter' key on the keyboard.
Known Issues:
This feature's right click approval functionality fails to work after switching budgets, if the Toolkit's "Show Menu When Right Clicking On Transaction" feature is also enabled. I suspect that the other feature is taking priority somehow after switching, but I haven't been able to figure this out just yet.
This may be a small enough issue that we can go ahead and release this feature, but I'd like to fix it if possible. If anyone has any ideas, I'd love to hear them.

Also, if there's a better way to handle my use of "parent" variables to refer to the feature's variables or methods, let me know? I can't always use "this" due to variable scope changing.

What you did with the parent var looks correct. Although other examples tend to use the variable name "self" or "_this". You might also consider moving it from the top of the several function bodies to a class variable.

I agree that the use of _this would be better from the standpoint that it's already being done like that in other features.
I don't agree with the idea of making it "class" variable. It should only be declared where it's needed. Additionally a future change could result in it being modified unexpectedly if one function calls another that also needs to set it.

I've updated the code to refer to "_this" rather than "parent". I haven't made it a class variable, because then I run into exactly the same problem -- I'd need to access it using "this", which I'm avoiding due to scope issues.


Add the auto-reconnect functionality to the regular client.

I don't know if it is a good idea but is it possible to add the auto-reconnect to the regular client as well (It's already available in the ManagedClient)?
Which project is your feature request related to?

[x] Client

Hi,
I don't want to move it there because the regular Client is mostly passive. The reason is that anyone has different rules. So some times the delay is different or increases over time or there is a backup server which should be tried after the primary one failed or different password shall be used etc. etc.
The ManagedClient is just one way to handle that. It only covers the most basic things.
If you want to reconnect easily, you can put ConnectAsync in the handler of the Disconnected event. That is just one line 😄
Why do you want to add it? Is there any other reason?
Best regards
Christian

If you want to reconnect easily, you can put ConnectAsync in the handler of the Disconnected event. That is just one line 😄

I know. If I read the wiki correctly before, I wouldn't have run into the issue that my delay didn't work:
I was trying to do a ConnectAsync in the DisconnectedHandler. Afterwards, I had a Task.Delay(...).
The funny thing was that the delay didn't work properly because the ConnectAsync throws the Disconnected event every time the reconnect failed. 😄
Reading the wiki helps sometimes:

The event is also fired if a call to ConnectAsync has failed because the server is not reachable etc.

My code was something like:
mqttClient.DisconnectedHandler = new MqttClientDisconnectedHandlerDelegate(OnDisconnected);

// ....

private async Task OnDisconnected(MqttClientDisconnectedEventArgs e)
{
    await mqttClient.ConnectAsync(options, CancellationToken.None));
    await Task.Delay(TimeSpan.FromSeconds(5));
}

Changing the code to this:
mqttClient.DisconnectedHandler = new MqttClientDisconnectedHandlerDelegate(OnDisconnected);

// ....

private async Task OnDisconnected(MqttClientDisconnectedEventArgs e)
{
    await Task.Delay(TimeSpan.FromSeconds(5));
    await mqttClient.ConnectAsync(options, CancellationToken.None));
}

works, of course 😄
This was some stupid mistake I made today. Glad that I had the time to test the disconnecting procedure properly :)


Error running visual lizer_rllib.py

Hello, I am very interested in your article, but I encountered the following errors in code execution. I hope I can get your guidance.
Errors occurred:
OMP: Info#212: KMP_AFFINITY: decoding x 2 APIC ids.
OMP: Info#210: KMP_AFFINITY: Affinity capable, using global CPUID leaf 11 info
OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: 0-7
OMP: Info #156: KMP_AFFINITY: 8 available OS procs
OMP: Info #157: KMP_AFFINITY: Uniform topology
OMP: Info #179: KMP_AFFINITY: 1 packages x 4 cores/pkg x 2 threads/core (4 total cores)
OMP: Info #214: KMP_AFFINITY: OS proc to physical thread map:
OMP: Info_1: KMP_AFFINITY: OS proc 0 maps to package 0 core 0 thread 0
OMP: Info_1: KMP_AFFINITY: OS proc 4 maps to package 0 core 0 thread 1
OMP: Info_1: KMP_AFFINITY: OS proc 1 maps to package 0 core 1 thread 0
OMP: Info_1: KMP_AFFINITY: OS proc 5 maps to package 0 core 1 thread 1
OMP: Info_1: KMP_AFFINITY: OS proc 2 maps to package 0 core 2 thread 0
OMP: Info_1: KMP_AFFINITY: OS proc 6 maps to package 0 core 2 thread 1
OMP: Info_1: KMP_AFFINITY: OS proc 3 maps to package 0 core 3 thread 0
OMP: Info_1: KMP_AFFINITY: OS proc 7 maps to package 0 core 3 thread 1
OMP: Info_: KMP_AFFINITY: PID 16827 TID 16827 thread 0 bound to OS proc set 0
Meanwhile ImportError: cannot import name'try_import_tf'from'ray.rllib.utils'

Hi, sorry for the delay! I honestly have no idea what's happening here, I'd recommend reposting in the rllib github issues page.

Thank you very much for your reply.
Now I've got the environment, but to be honest, I'm a beginner. I really don't know how to run this code.
If so, I wonder if you can direct me to run the steps in detail, or what part of the code I need to add. Thank you so much.
This error occurred when I ran visual lizer_rllib.py
Usage: visual lizer_rllib.py [- h] [- run RUN] [- num-rollouts NUM_ROLLOUTS]
[--save-video] [--render]
result_dir checkpoint_num
Vislizer_rllib.py: error: the following arguments are required: result_dir, checkpoint_num
But I really don't know where to look for these parameter inputs.

Several errors occurred while running train_baseline, similar to:
Use FIFO scheduling algorithm.
Resources requested: 0.0/2 CPUs, 0/1 GPUs
Memory usage on this node: 6.0/8.2 GB
Result logdir: / home/liu/ray_results/cleanup_A3C
Number of trials: 1 ({'ERROR': 1})
ERROR trials:

A3C_cleanup_env_0: ERROR, 4 failures: / home/liu/ray_results/cleanup_A3C/A3C_cleanup_env_0_2019-07-25_10-27-48 vqi4d9ky/error_2019-07-25_10-29-30.txt

Traceback (most recent call last):
File "train_baseline.py", line 180, in
Tf. app. run (main)
File "/ home/liu/anaconda3/envs/causal_2/lib/python 3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_ sys. exit (main (argv))
File "train_baseline.py", line 174, in main
"Config": config,
File "/ home/liu/anaconda3/envs/causal_2/lib/python 3.6/site-packages/ray/tune/tune.py", line 189, in run_experiments
Raise TuneError ("Trials did not complete", errored_trials)
Ray. tune. error. TuneError: ('Trials did not complete', [A3C_cleanup_env_0])
Can you help me solve this problem if you can?
Thank you very much.

Hello, tensorflow-gpu==1.12.0 in the requirements.txt file
I would like to ask if tensorflow can choose cup version.

Hi, two questions:

Could you post the entirety of the error? The actual error is probably higher up in the printout.
What is a cup version?

Hello,thank you very much for your reply.
My question is this: I run "train_baseline.py" to get the result in the pictures, but I don't know how to use it.
Besides, I'm sorry, this is my spelling mistake. That's "cpu version" not "cup version".

Hello, I'd like to ask how I can use ~/ray_results/folder.


online delay with mono camera

It runs smoothly since the beginning,but it comes delay after a while.It's image topic is sync, but it's TF changes will delay.

The delay comes with the next message
"max count reached, running full optimization!"
at the beginning ,this message will flash to pass,but after about 1min the message will take a lot of time,then the TF in rviz comes delay.

I think I just know how to use it. set "amnesia" to true in the tagslam.yaml(the parameter is not in the file in the beginning,you should write it yourself),there will no delay,but you should know all the tags pose in advance.So set "amnesia" to false it will calculate all the tags itself with delay.when you get all tags pose you can run it with real-time.So the amnesia" just like a save/load map switch.
So if there is a function to save all tags calculate in a yaml files would be more convenient.
Thanks for your great work!

You can avoid the sudden delays by bumping max_num_incremental_ops to a very large value. But in the long run that won't help you, since the size of the growing graph will eventually catch up with you, even when just performing incremental inference aka iSam. So yes, for this case the crude "amnesia" hack is the way to keep the graph bounded. (The cleaner way would be to marginalize out old variables, but that is somewhat against the idea of tagslam)
Here is how to get all the tag poses:

run without amnesia until you have a good map of the environment.
perform a "dump":

rosservice call /tagslam/replay

This will write a set of files to ~/.ros/. One of them is poses.yaml, which has the tag poses that you can cut-and-paste into your tagslam.yaml.

I cannot find the poses.yaml in ~/.ros and I searched all computer there is no poses.yaml file.I only find tag_coners.txt in the ~/.ros


Converting a date format "YYYY-MM-DD" to a time.time gives an error

I have an asyncapi contract with a property :
bladate: 	description: Date with format "YYYY-MM-DD" 	type: string 	format: date 	example: '2024-09-15'
It currently generates me a time.time but when it tries to unmarshall it, it can't parse it to the time.time type because of the format.
I'm using asyncapi v2.6.0

As you can see here : https://v2.asyncapi.com/docs/reference/specification/v2.6.0#dataTypeFormat.  A format date should respect As defined by full-date - RFC3339 vs datetime should respect As defined by date-time - RFC3339.  Right now we are converting date to time.time but the parse method of time.time returns and error with the full date format of RFC3339.  Date and datetime formats should not be treated the same way in the code.  A quick solution here would be to let a format date in a string instead of a time.time.

Arf, sorry about that. I'll tackle this in the next day.
Thanks for pointing it out !


Update markdown docs to release on first Tuesday of every month

in master for immediate effect

Feel free to fix typo's or change the wording if you feel to.

I think this should go to dev because I think this will create merge conflicts. I need to do some additional readme cleanup so I can take valentijn's text and add it into my next PR. Trying to align docs with the readme and lean a little more on the docs site.

@devGregA I didn't see you your overhaul PR of the README. In this case it's better to do this PR against dev indeed. Will update.

closing as there are too many conflicts, will recreate against dev.


Added @warn_unused_result to functions declarations

PR for #18

Those trailing whitespaces 😕

Thanks for doing this! Do you mind adding it as an enhancement in the CHANGELOG?

A few tiny fixes and the changelog entry and this will be good to merge! Please squash after those fixes too!

Should be good to go now

Awesome! Merged here: a8f23ad3e4e806dae71be1f266285eb7f3ea2c19

Thanks!

Welcome :)


new development

I need further development of this module:
More feedbacks,
V3 compatible and
channel Lay-out switch’s
Do you mind if I take up these tasks or can you do them yourselves?

Hi Frans,
a complete rewrite of the module for v3 compatibility is currently in preparation with the support of Epiphan.
I hope to have more information next week and the module should be done within the next 2-3 weeks.

Hi, any updates on this?


Drag/Drop Re-order of Mud controls, MudList, MudTable, MudGrid

Feature request type
Enhance component
Component name
MudList
Is your feature request related to a problem?
Currently the order of elements in controls such as MudList, MudTable, MudGrid is control by the order of items in the IEnumerable serving the control.

Describe the solution you'd like
I require the feature to drag and drop to re-order items in a list, currently I am using a MudList of POCOs to represent state, and having the ability to drag and drop these (inside their own list) to re-order is required for my application.
I am happy to implement this functionality myself if provided with a few pointers of what components need altering.
Firing of an event on the MudList of the re-order request would be acceptable, for example:
public EventCallback<{MudListItem: Item, int: PreviousIndex, int: NewIndex}> ItemPositionChanged
Have you seen this feature anywhere else?
https://jqueryui.com/sortable/
Describe alternatives you've considered
No response
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I would also like this for MudTabs/MudDynamicTabs.

This is a potential workaround for MudList reordering, using the DropZone component. You'll have to fine tune the details for your particular use case:
`

@code {
private void ItemUpdated(MudItemDropInfo dropItem)
{
dropItem.Item.Selector = dropItem.DropzoneIdentifier;
}
private List<DropItem> _items = new()
{
    new DropItem(){ Name = "Item 1", Selector = "1" },
    new DropItem(){ Name = "Item 2", Selector = "1" },
    new DropItem(){ Name = "Item 3", Selector = "1" },
    new DropItem(){ Name = "Item 4", Selector = "1" },
    new DropItem(){ Name = "Item 5", Selector = "1" },
};

public class DropItem
{
    public string Name { get; init; }
    public string Selector { get; set; }
}

}
`
Hope this helps.


docs(cn): translate <src\content\api\plugins.md>

describe your changes...

[ ] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[ ] Make sure your PR complies with the writer's guide.
[ ] Review the diff carefully as sometimes this can reveal issues.
[ ] Do not abandon your Pull Request: Stale Pull Requests.
Remove these instructions from your PR as they are for your eyes only.

@QC-L Come and review

@QC-L 都合并完了


Docker-Compose support

Dealing with containers by having to script out all the vctl commands is not efficient. Are there any plans to support accepting docker-compose files for mobility?
That would allow me to use those deployed in other environments that may be using Kubernetes or other developers/team members using Docker Desktop.
In the end, it would also allow me to fully switch over to using VMWare Workstation and vctl instead of having to use both. 😉

Totally agree. FWIW, it's something we're working on. Lots of catch up to do in general, but it's moving quickly =)

I guess it would be nice to have DOCKER_HOST redirecting to VMware Fusion.

Any word on this?

fourteen months later, "moving quickly" might not be true anymore. Would be curious if there are any updates on this; lack of docker-compose (and other pieces that make it not a drop-in replacement for docker) have really killed this for me as any kind of daily driver replacement.

Still waiting for this to happen...

interested about this feature too.

Posting to upvote this feature request

I dont think this is going to happen.

Reiterating interest as well...

+1

Very interested if this could be added to vctl


fixed wrong metrics declarations in extractors

When declaring metric schemas for lists of dicts of metrics we have to make sure not to declare them as list(dict(name: metric) as this decays to [name]. We should instead the syntax [dict(name: metric)].
Also fixed the metrics schema checker to raise an exception when an invalid metric is found.

Coverage increased (+0.03%) to 85.395% when pulling fb9436334e7fcdea0ca93fa5d45f0a27878a7ca7 on fix/nested_metrics into 7fed68a1cd58e5efecb809f842e48a70abf5c85c on master.


Fail to flash arduino2560

Hello.
I've been trying to flash the arduino 2560 for two days. The main problem is that the board always report as "OpenDeck DFU", and i can't understand why. As a result the 'configurator' only allows firmware updates.
What I did:
It kinda worked very well. Everything went fine: I used a fresh git checkout/clone. From there I used the ./scripts/flash.sh to burn both the mega16u2 and the mega2560. Flashing did not report any error.
I tried connecting the board just after the mega16u2: it 'enumerated' as "OpenDeck", without the "DFU". But of course, it was not working as the main mcu was not yet flashed.
Once the mcu was flashed, it reported as "OpenDeck DFU".
What i tried to do to fix the problem:

restart it all over: no success
does it the other way around (flash 2560 then 16u2)
flash firmware using a webbrowser on the configurator. It sees to work (progress bar + success popup message)
i suspected a problem with eeprom content, so i : restored "arduino" configuration by reflashing both MCU, and used an arduino sketch to erase the whole eeprom (with '0'). Then re-install again.
i tried using several previous versions from git
wait very long after flashing, in reference to the note on https://github.com/paradajz/OpenDeck/wiki/Firmware-update#updating-firmware

Do you have any hint on what could have went wrong ?

you need to flash the whole EEPROM with 0xFF if you want to restore.
i am particularly interested by this thread
Alpes Machines
alpesmachines.free.fr http://alpesmachines.free.fr/
<EMAIL_ADDRESS>
Le 23 déc. 2020 à 00:39, Thomas Capricelli<EMAIL_ADDRESS>a écrit :
Hello.
I've been trying to flash the arduino 2560 for two days. The main problem is that the board always report as "OpenDeck DFU", and i can't understand why. As a result the 'configurator' only allows firmware updates.
What I did:
It kinda worked very well. Everything went fine: I used a fresh git checkout/clone. From there I used the ./scripts/flash.sh to burn both the mega16u2 and the mega2560. Flashing did not report any error.
I tried connecting the board just after the mega16u2: it 'enumerated' as "OpenDeck", without the "DFU". But of course, it was not working as the main mcu was not yet flashed.
Once the mcu was flashed, it reported as "OpenDeck DFU".
What i tried to do to fix the problem:
restart it all over: no success
does it the other way around (flash 2560 then 16u2)
flash firmware using a webbrowser on the configurator. It sees to work (progress bar + success popup message)
i suspected a problem with eeprom content, so i : restored "arduino" configuration by reflashing both MCU, and used an arduino sketch to erase the whole eeprom (with '0'). Then re-install again.
i tried using several previous versions from git
wait very long after flashing, in reference to the note on https://github.com/paradajz/OpenDeck/wiki/Firmware-update#updating-firmware https://github.com/paradajz/OpenDeck/wiki/Firmware-update#updating-firmware
Do you have any hint on what could have went wrong ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/paradajz/OpenDeck/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHZC4KOAZP6XGADR6FSDNTSWEU3XANCNFSM4VGI6XXQ.

Do you have some other board lying around? I've just tried the same procedure on my own Mega board and it works without issues.

The firmware on main MCU will boot bootloader instead of firmware if any of the following is true:

Hardware trigger is active. On Mega2560 board, this means that if MISO pin is tied to GND before power up, bootloader will be active (described here: https://github.com/paradajz/OpenDeck/wiki/Firmware-update#arduino-mega)
Software trigger is active: This is true if in Web UI you've rebooted to bootloader mode. On AVR boards such as Mega2560, this will write special value to special EEPROM memory location. On reboot, if bootloader reads this value, bootloader will be enabled. Specifically, last EEPROM location is used (on Mega this is 4095). If this value is 0x47, bootloader will activate. Any other value and application is loaded.
On startup, bootloader performs CRC check of firmware. If this validation fails, bootloader will be started instead of application. I suspect this is the part on your board that fails.
https://github.com/paradajz/OpenDeck/blob/master/src/board/common/bootloader/Bootloader.cpp#L66

As said, i had tried erasing the eeprom. The script was writing '00' everywhere. Following AlpesMahines message, I also tried using 0xff, but it doesn't help neither.
Unfortunately, i dont have another board to check. Though i've used this one for lot of (arduino) stuff, and never had any problem with it.  I know about the hardware trigger, and even checked those pins to see if a short circuit was present. But nope.
Point 2 is probably not the reason, as i tried to zero the whole eeprom, and also to 0xff
I guess there's no way to know which reason triggered the DFU mode ?
I can't see why the CRC check would fail, i tried several times to flash everythingi (both MCU). I would like to try to disable the check, but i can't compiler here. Most scripts don't work here on linux. I already had to patch the 'flash.py' script to make it work here. Other scripts have lot of problem. It seems those scripts were mostly written for windows WSL, not actual linux.

No, there isn't a way to tell which trigger activated bootloader.

Most scripts don't work here on linux.
Huh?

I already had to patch the 'flash.py' script to make it work here
Huh again? What did you change? It's also not a python script, it's a bash script, extension is .sh

Which avrdude version are you using? What programmer are you using? What distro are you on?

Yes, sorry, bash script.
No big deal for the change, it's because I use the usbasp programmer, not avrisp,  so i had to remove the stuff about port (avrdude doesn't need a port for usbasp).
diff --git a/scripts/flash.sh b/scripts/flash.sh
index b2bda369..ae870acc 100755
--- a/scripts/flash.sh
+++ b/scripts/flash.sh
@@ -1,6 +1,7 @@
 #!/bin/bash

 run_dir="OpenDeck"
+find=find

 if [[ $(basename "$(pwd)") != "$run_dir"* ]]
 then
@@ -14,34 +15,6 @@ then
     exit 1
 fi

-if [ "$(uname)" == "Darwin" ]
-then
-    find="gfind"
-
-    if [[ "$(command -v gfind)" == "" ]]
-    then
-        echo "ERROR: GNU find not installed (gfind)"
-        exit 1
-    fi
-
-    port_list=$($find /dev -name "cu.*" -ls 2>/dev/null | sort | cut -d / -f3 | grep -v Bluetooth)
-elif [ "$(uname -s)" == "Linux" ]
-then
-    find="find"
-    port_list=$($find /dev/serial/by-id/ -type l -ls | grep -Eo '\btty\w+')
-fi
-
-if [[ "$port_list" == "" ]]
-then
-    echo "ERROR: No ports found. Please connect ArduinoISP before running the script."
-    exit 1
-fi
-
-echo "Please select serial port on which ArduinoISP is connected:"
-echo "$port_list" | cat -n
-read -r port
-port=$(echo "$port_list" | head -n "$port" | tail -n 1)
-
 echo "Please select board you want to flash and then press enter:"

 boards=$($find bin/compiled -type f -name "*.hex" -path "*merged/avr*" -printf '%f\n' | sort)
@@ -64,6 +37,6 @@ high_fuse=$(command < src/board/avr/variants/avr8/"$mcu"/fuses.txt grep ^high= |
 echo "Connect programmer to programming header on the board and then press enter."
 read -rn1

-avrdude -p "$mcu" -P /dev/"$port" -b 19200 -c avrisp -e -V -u -U lock:w:"$unlock_fuse":m -U efuse:w:"$ext_fuse":m -U hfuse:w:"$high_fuse":m -U lfuse:w:"$low_fuse":m
-avrdude -p "$mcu" -P /dev/"$port" -b 19200 -c avrisp -U flash:w:"$path"
-avrdude -p "$mcu" -P /dev/"$port" -b 19200 -c avrisp -V -u -U lock:w:"$lock_fuse":m
\ No newline at end of file
+avrdude -p "$mcu" -b 19200 -c usbasp -e -V -u -U lock:w:"$unlock_fuse":m -U efuse:w:"$ext_fuse":m -U hfuse:w:"$high_fuse":m -U lfuse:w:"$low_fuse":m
+avrdude -p "$mcu" -b 19200 -c usbasp -U flash:w:"$path"
+avrdude -p "$mcu" -b 19200 -c usbasp -V -u -U lock:w:"$lock_fuse":m

The kind of error i have if trying to compile is:
orzel@berlioz tmp/OpenDeck/src% make target=mega2560
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'bootloader.use': [Errno 2] No such file or directory: 'bootloader.use'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'arch': [Errno 2] No such file or directory: 'arch'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'mcu': [Errno 2] No such file or directory: 'mcu'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'mcuFamily': [Errno 2] No such file or directory: 'mcuFamily'
Defines.mk:85: *** MCU  not supported.  Arresto.
Or using the shell script:
orzel@berlioz clones/OpenDeck/src% ../scripts/build_targets.sh --type=fw_release
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'release': [Errno 2] No such file or directory: 'release'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'test': [Errno 2] No such file or directory: 'test'

Other scripts have lot of problem. It seems those scripts were mostly written for windows WSL, not actual linux.

Nope, sorry.
I had to change some bash code related to $($xxx), and I assumed it was because of a difference between bash in wsl and bash in linux. But actually it was my fault. Sorry again.

I'm sorry but you're using USBasp here instead of supported programmer which is Arduino as ISP. I had some troubles with USBasp in the past which is why I'm not using it anymore, nor it is mentioned anywhere in the documentation or the code. Please don't open issues for stuff I don't support.

Oh. You're rude.


Hungarian translations created in resources/lang/hu/message.php

This plugin is great, thanks for your work!

Thanks


Alpine build nodes not dynamically provisioning, builds hanging

The nightly builds are hanging due to alpine platform failing to provision dynamic nodes: https://ci.adoptium.net/computer/azurebuildagentc16b00/
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-alpine-linux-x64-temurin/

I'm a bit confused as to why we're using the alpine-linux label for these builds. Since the alpine container can run on any Linux host capable of running the container build&&linux&&x64&&dockerbuild should be adequate and allow it to run on our other machines without the dependency on Azure - see https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-alpine-linux-x64-temurin/185/ which is now chugging along quite nicely after I started it with different labels.
Regardless, I've deprovisioned the hanging agent so we'll see if it's repeatable.

While I'm loathed to do it I could stick the alpine-linux label onto the x64 dockerbuild systems, but it's not really accurate.

Hmmm azurebuildagentc16b00 had apparently been running for 9 months.

OK We haven't had any dynamic provisions since the jenkins upgrade attempt yesterday by the look of it - we seem to have lost the Azure configuration.

I've reinstated the Azure configuration into the main config.xml of the jenkins server and reloaded it. It's now showing the cloud as active and provisioning at https://ci.adoptium.net/cloud-stats/

Not quite sure why it's felt the need to fire up seven of them simultaneously but 🤷🏻

Anyway, back up and running so I'll close this, although I would prefer us to change the labels.

To workaround the possiblility of alpine-linux jobs hanging builds indefinitely, the following node now as alpine-linux label on it:
dockerhost-equinix-ubuntu2204-x64-1

Let's be clear, that is a temporary workaround and as per earlier comment I don't want that machine labelled as alpine-linux as a permanent solution to this.

We can potentially look at having these run on the dynamic agents again now that the plugin has been rejuvinated. Putting in the plan so we can test.

One is running on a dynamic node just now: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk23u/job/jdk23u-alpine-linux-x64-temurin/6/

Above build seems to have been successful - closing.


Sort by date created.

Is your feature request related to a problem? Please describe.
I save videos where the date modified metadata is older than when i saved the video.
Describe the solution you'd like
I would like to be able to sort by date created insted of modified.
Describe alternatives you've considered
n/a
Additional context
n/a

I don't intend to do it for the same reason as for the other file dates, so I lumped your request with that issue:

#97


Update supabase/config.toml when running on Vercel?

Thanks again for this project.
After spending some time trying to deploy chatbot-ui on Vercel, I believe that supabase/config.toml will need to be updated to make things work. (I haven't made things work, so I'm very open to the idea that I'm wrong.)
Anyway, I suspect something like this would be a good addition to the "hosted quickstart" section in the Readme:
In the supabase/config.toml make the following changes:

* project_id (line 3): Set to the project ID as provided by Supabase
* api_url (line 38): Set to the project url
* site_url (line 57): Set to a persistent url for the deployed site on Vercel (not one that changes with each new deploy). Getting this url requires deploying the app first.

This file only applies to local instances. For hosted only the ENV values matter.

Thanks! I'm impressed by your quick responses.


How to overlayWith new sharp() then how to overlayWith text?

I find your sample code like this in #512 , but it do not work.
There is no text parameter here, it doesn't even exist in the API documentation
sharp(null, {
    text: {
        text: string,
        font: string,
        width: integer,
        align: string,
        dpi: integer,
        spacing: integer
    }
})...

And then i find another sample code in #470 , there is no create parameter in overlayWith.
But i can find the options.create in your API documentation
sharp('input.jpg')
  .overlayWith(null, create: {
    width: 16,
    height: 32,
    channels: 4,
    background: rgba
})

So, did I use the wrong version, or did these features have not yet been developed?
Is there another alternative here? I just want to add a layer of translucent foreground color to the picture and print some text on it.

Hello, the API in https://github.com/lovell/sharp/issues/512#issuecomment-239620922 is proposed. Please see #512 for suggestions of using SVG as an alternative and subscribe to it for updates.

@lovell
Thanks for your help, i added the text successfully, but the new question appeared again.
this is my test code:
const titlebar = new Buffer.from(
    `<svg width="1366" height="768">
        <style>
            @font-face {
                font-family: Aller_Light;
                src: url(${Aller_Light_Path}) format('truetype');
            }
        </style>
        <rect x="0" y="0" width="1366" height="768" fill="#000" fill-opacity="0.4"/>
        <rect x="0" y="0" width="1366" height="96" fill="#000" fill-opacity="0.8"/>
        <text class="title" style="font-size: 24; font-family:Aller_Light" x="5" y="22" fill="#FFF">
            Ling Yuan yousa - Shen De Shui Bo Zhu Liu [Pata-Mon's Hard]
        </text>
    </svg>`
);
sharp(Buffer.concat(imgArrayBuffer))
    .toFormat('jpeg')
    .overlayWith(titlebar)
    .toFile(recpath)
    .then(buf => {
        console.log(`[sharpOK]success!`);
    })
    .catch(err => {
        console.log(`[sharpErr]${err}`);
    });

I get this error:
(sharp:6632): Pango-WARNING **: couldn't load font "Aller_Light Not-Rotated 24", falling back to "Sans Not-Rotated 24", expect ugly output.
How can I successfully load the font？

Please see #1162

@lovell
Sorry, that doesn't seem to help, because I developed on win10 and then deployed to Heroku.
How do I customize the Fonts folder?