Implement a proper mechanism to copy code blocks outputted by the model

Currently, copying through console ends up copying the frame as well.
Need to implement a mechanism to bind a shortcut key which when pressed will copy the code within the 3 backtics outputted by the model.

Posting this here so I don't forget.
textualize offers a lot of features that rich doesn't support out of the box. official documentation can be found here. The guide has a more solid introduction to generally available API.
It should offers tools we might need such as dynamically assigning text at runtime to the clipboard, e.g. using something like clip. For example, the Events API has DOM support which might be a potential blueprint for handling something like this.

In the spirit of keeping it as simple as possible, I have local branch I've been chipping away at with minor improvements over time.
I decided to dig a bit deeper into prompt_toolkit and read up on the KeyBindings and ClipBoard classes.
I think with a bit of clever hacking, we can probably prototype a keybind that gets the last message in the sequence for the list of chat messages.
I haven't posted the branch yet, but this is what I have so far.
def key_bindings(chat_history: "ChatHistory") -> KeyBindings:
    kb = KeyBindings()
    # Initialize the clipboard
    clipboard = PyperclipClipboard()

    # Add an additional key binding for toggling this flag.
    @kb.add("f4")
    def _(event):
        "Toggle between Emacs and Vi mode."
        app = event.app

        if app.editing_mode == EditingMode.VI:
            app.editing_mode = None
        else:
            app.editing_mode = EditingMode.VI

    @kb.add("c-s", "c")  # Ctrl+C then C
    def _(event):
        """
        Copy predefined content to the system clipboard when F5 is pressed.
        """
        # only str, int, float, and bool values can be copied to the clipboard, not dict
        clipboard.set_text(chat_history.messages[-1]["content"])
        print("Event:", event)
        # event.app.exit(message="Content copied to clipboard!")

    # Add a toolbar at the bottom to display the current input mode.
    def bottom_toolbar():
        "Display the current input mode."
        text = "Vi" if get_app().editing_mode == EditingMode.VI else "None"
        return [("class:toolbar", " [F4] %s " % text)]

    return kb

I'll link to the branch once it's a bit more fleshed out. Still a work in progress.

Yeah, I think this might be a step in the right direction.
def key_bindings(chat_history: "ChatHistory") -> KeyBindings:
    kb = KeyBindings()
    clipboard = PyperclipClipboard()

    @kb.add("c-s", "a")
    def _(event):
        """Copy the entire last message to the system clipboard."""
        if chat_history.messages:
            last_message_content = chat_history.messages[-1]["content"]
            clipboard.set_text(last_message_content)
            print("Entire message copied to clipboard!")

    @kb.add("c-s", "s")
    def _(event):
        """Copy only code snippets from the last message to the system clipboard."""
        if chat_history.messages:
            last_message_content = chat_history.messages[-1]["content"]
            code_snippets = re.findall(r"```(.*?)```", last_message_content, re.DOTALL)
            snippets_content = "\n\n".join(code_snippets)
            clipboard.set_text(snippets_content)
            print("Code snippets copied to clipboard!")

    return kb

Still need to tweak a couple of things, then I can open a PR.
We can close close PR #4.
We could merge in clipboard branch which depends on branches user-prompt, system-prompt, and chat-session.

You can fetch request clipboard to test it out. Let me know what you think.

#4 is good though, just need to be sure if people can understand those symbols.
Currently preoccupied with something else.
Also I would prefer a vim like shortcut here. (I already have an implementation with bs4 and python's markdown, which seems to preserve the indentation in my testing).

https://github.com/akarshanbiswas/rich-chat/pull/4 is good though

#4 and user-prompt are the same branch. The other 3 branches are built on top #4. So clipboard is already merged with the others.

just need to be sure if people can understand those symbols.

We can document them. It's experimental. I do like it because it's compact. I'm not married to it, so we can just do the literal alt and ctrl if that's what you prefer.

Currently preoccupied with something else.

It's cool. Just sharing.

Also I would prefer a vim like shortcut here.

prompt-toolkit supports vi keybindings. The custom keybindings are vi extensions. The docs go into more depth about it.

(I already have an implementation with bs4 and python's markdown, which seems to preserve the indentation in my testing).

I don't see the branch. Let me know when it's up. I'll take a look at it when I can.
I need an interface and this seems like a good start. It isolates me from my other project too, so it's been nice to just focus on the front-end instead of all of the back-end details for once.
RAG is alright, especially for local models. Function calling works way better but the open source models aren't there yet. There are a few that are trained, but few interfaces actually support it ATM.


feat(Console): Introduce ConsoleMessage type

This patch introduces ConsoleMessage type and starts dispatching
it for the 'console' event.
BREAKING CHANGE: this breaks the api of the 'console' event.
Fixes #744.

It seems these fragments need updating:
https://github.com/GoogleChrome/puppeteer/blame/0164b7cc4e60451665fafc2e8ccdb7855237ed29/docs/api.md#L517
https://github.com/GoogleChrome/puppeteer/blame/0164b7cc4e60451665fafc2e8ccdb7855237ed29/docs/api.md#L539
https://github.com/GoogleChrome/puppeteer/blame/ccf8fb168166ee12f42586e608d3557ff48edc27/README.md#L156


Glitchy led on 16x16

I got my 16x16 together and it was behaving very strangely. very glitchy and unreadable during the ip address and very glitchy during the VU.  I tracked it down a missing delay line after FastLED.show();.   All of the ledmatrix examples have this and when I add delay(1); after all FastLED.show() lines the issue is fixed. will create a pull request.

That's odd, I've never used a delay with a matrix and never had an issue.
Must be specific hardware. I flat out avoid delay in any form in my FastLED
code. I can add that line as an option, but I'll leave it commented out and
people can enable it if they need to. Thanks.
On Sat, 6 Nov 2021, 09:15 Tavis, @.***> wrote:

I got my 16x16 together and it was behaving very strangely. very glitchy
and unreadable during the ip address and very glitchy during the VU. I
tracked it down a missing delay line after FastLED.show();. All of the
ledmatrix examples have this and when I add delay(1); after all
FastLED.show() lines the issue is fixed. will create a pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/s-marley/ESP32-INMP441-Matrix-VU/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACSGWSIUD2IAXIELYXYGML3UKTW2TANCNFSM5HPMSWEA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ok.  it's just two lines in the code.  I thought it was my hardware at first too and even returned the matrix but the new one did the same thing so I don't know.


Bicep writes incorrect app-settings to functions app

Bicep version
0.4.451 (e14a1f9511)
Describe the bug
my deployment system has multiple Functions projects with differing configuration requirements.  Intermittently I will notice that one of my projects gets the next application's configuration
To Reproduce
main.bicep
apifolder/
|_ api.bicep
|_ api1.bicep
|_ api2.bicep
|_ [additional api definitions]
az deployment sub create -f main.bicep -l <selected-region> --parameters main.bicep.locals.json
Additional context
If I purge the first api, once I discover that it's miss-configured, and re-deploy everything rolls just fine (after I redeploy the application code)
repo and file structures are here

found a bug in my own code.  sorry.


fix(release): add UI container for updating downstream deps

Can one of the admins verify this patch?


@Model in top of cshtml still rendered

@model PaperToolbarModel
<paper-toolbar>
    @if (Model.ShowMenuIcon)
    {
        <paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
    }
    <div<EMAIL_ADDRESS>    <div<EMAIL_ADDRESS></paper-toolbar>

@Model PaperToolbarModel
<paper-toolbar>
    @if (Model.ShowMenuIcon)
    {
        <paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
    }
    <div<EMAIL_ADDRESS>    <div<EMAIL_ADDRESS></paper-toolbar>

Notice the difference on "M" within "@model"
I believe @model supposed to be case sensitive
if you use @Model, the page still properly rendered but with model name rendered as its ToString
Either to make it case insensitive or give warn when cshtml page use @Model

@andrew-vandenbrink Using @Model is valid. It shows that you're trying to access the Model property of the page. What if you do @model string? Doing @Model then becomes the only appropriate way to render said model.

As @NTaylorMullen said, @model SOME_TYPE is a Razor directive to specify the model type that will be used for the page's Model property (and elsewhere).
On the other hand @Model is referencing this.Model, which is of the type specified in @model.

This is correct, just like @NTaylorMullen explained
@model PaperToolbarModel
@Model

This one should generate warning or maybe make the behavior same like above
@Model PaperToolbarModel
@Model

Unfortunately there's no way to know that it should be a warning. It could be perfectly legitimate code. Warnings are reserved for stuff that's almost certainly wrong or unintentional.


How do I get the Status of the Record

Your project is awesome,  I came to dead end and need your help,

Can i only download time frame date? From - To
How can I know if the record is In/Out or other status.
Thank you.

Hi,

Anviz devices stores time records in a list. The only correct way to read those records is to loop them and finally call ClearNewRecords so the next time you will get only the new ones. Then you will store this info in your own DB and do whaterver query you want
There is RecordType inside the Record class

Im getting different values from record type 0,1, 128,129,135 can you explain these values i only need in and out


Cache not written to storage after removal of selectors from the last slot

On removal of a selector from the last slot, the entire operation happens in the cache (named slot.selectorSlot). There is a flag to mark it 'dirty', called slot.newSlot, which is used correctly when adding new selectors. However it is not changed upon removal, and if you only remove a slot, the cache is not written back. This causes the storage to still contain the removed selector.
Final slot before removal:
[ sel2 sel3 sel4 sel5 ]

Final slot after removal of sel3, cache:
[ sel2 sel5 sel4 ]

Final slot in storage after removal:
[ sel2 sel3 sel4 ]

By setting the dirty flag to true, the cache is written back correctly.
The PR adds a test checking if the bug exists.

I didn't see this until now. Thanks a lot for this!    I fixed this but.   The testing switched to Truffle so I modified your test to work with Truffle and added your test to the project.  Thanks again.

@grebnetiew If you want to contribute more to this project, there's this: https://github.com/mudgen/Diamond/issues/7


Crash on Startup

Since about 6 months ago Franz has stopped working on my system. It crashes on startup.
In rare occasions there is no crash, but the crash will then happen lateron during usage of the program (murphy's law seems to be perfectly true in this case).
I debugged Franz to get a better trace of the error:
(gdb) file /usr/bin/franz
Reading symbols from /usr/bin/franz...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/franz
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

In case you decide to tackle the issue, I would be open to help by giving further information on the problem.

Can be closed, not occurring any more (most probably as of version 5.0.0-beta.18).


blockedit: correctly handle cursor when appending text

closes #8288

So, is the "needs more work" taken care of now?

it works for the tests I threw at it. Problem is, if you move with the cursor out of the visual selection.  For now I abort the block edit.

Mostly when moving the cursor while doing a block insert or append, we can abort the block edit.  Since it's hard to tell what exactly was inserted and how to repeat that.  Since you fixed this specific case I'll include it, but the code is getting more and more complex if we try to handle other cases.  So perhaps just do this one and don't worry about other cases.


Broken link from README.md to API documentation

Describe the bug
The README.md reachable from this URL has broken link to API doc.
(https://github.com/oracle/coherence-js-client)
To Reproduce
Steps to reproduce the behaviour:
From this link:
https://github.com/oracle/coherence-js-client
Scroll to bottom of page to References section and click the API link:
References
Oracle Coherence JavaScript Client - https://oracle.github.io/coherence/20.12/api/js/index.html
Expected behaviour
Uncertain if forgot to generate the API doc for 20.12 or if the link should have remained the original link.
https://coherence.community/20.06/api/js/index.html

Did not mention that the link below  works and was provided as a workaround.
https://coherence.community/20.06/api/js/index.html

Change applied.


option to enqueue failure messages

I've noticed that many plugins make several calls to grunt.log.fail in a row.  This option allows those calls to be queued up into a single notification.
I'm not convinced this is necessarily the best way to do this, particularly since I don't try to group by task or anything like that.  Feel free to complain about that or anything else.

I'm cleaning out my queue.  Looks like this PR isn't gonna get merged.


Change label from "Fixed by vulnerabilties" to "Fixes vulnerabilities"

@TG1999 There's no description -- please explain the thinking behind the change you suggest.  We've changed the names of these columns several times already in the past -- happy to change again if that what the group wants, but I haven't heard from others that that's what they want.

Not sure if this is helpful, but one way to describe the relationship we're trying to name --  from the PURL's viewpoint, the PURL is "affected by" a vuln or "fixes" a vuln; and from the vuln perspective, the vuln "affects" the PURL or is "fixed by" the PURL.  🤔

I think that the current parallel "by" construction makes the most sense.

@mjherzog @pombredanne When you have the chance, please share your views on the latest suggestion -- "Fixes vulnerabilities".

What I see most commonly is "fixed vulnerabilities" from a  package point of view, not "fixes vulnerabilities". Juts removing the "by" should be enough

Thanks @pombredanne.  I'll make the change you suggest: "Fixed by vulnerabilties" ==> "Fixed vulnerabilities".

Closed and merged in the issue https://github.com/nexB/vulnerablecode/issues/1520 that tracks changes in the models, API and UI at once


Added a shell script to automatically obtain the list of cloudflare p…

Added a shell script to automatically obtain the list of cloudflare proxy servers.

Added a shell script to automatically obtain the list of cloudflare proxy servers.


Add session-manager-plugin for ssm

https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html#install-plugin-linux

Also see how homebrew currently does it https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/session-manager-plugin.rb


Fix debian type string

https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#deb
Fix TypeDebian "debian" to "deb".

https://github.com/package-url/packageurl-go/pull/28
The pull request fixes this issue.


Retry Button not available

Hi Oliver,
The "Retry" button is not showing up if nothing is placed in the "keywords".
Issue was reported here: https://h5p.org/node/986323
Test content: https://h5p.org/node/988300

Not sure that's a bug, but I changed the behavior.


Update Staking and Node Operation Docs with Edits and make sections public

Context
Recently we sent over our Staking and Node Operation docs to Natasha to edit. She has provided edits that we want to update our docs to use. Once we put up her edits we can then make these sections public on the Doc Site.
Definition of Done
The edits found here are updated on the docsite:
-[] https://docs.google.com/document/d/1HeE0zgojQ1R4OrvxC4L-qw9CROeu1h8hl0tVCUFBHmg/edit
-[] https://docs.google.com/document/d/1pntHLOxMKnhe7oCfFo1OvaIYTVUPQOM27RxH9js0J9c/edit#heading=h.wru0zdcvvvj6
Node Operation and Staking sections are public.
PR Review
Who is your Code Partner - @psiemens
Who can provide external eyes - @timmymmit @joshuahannan @robmyers @psiemens

Would we be able to ask her to make her edits more obvious? Currently we'll have to manually compare each document line-by-line, which will be a very time-consuming process.


Create analysis file for faster editing if not satisfied with the result

Descript what feature/improvement you would like here.
Can you make it so that Auto-Editor creates an analysis or statics file when it analyzes the video file for audio volume threshold or motion so that if the user doesn't like the results of the set thresholds they can re-run Auto-Editor on the file using the analysis or stats file so that it doesn't have to analyze the video file again? It takes a long time to analyze a video for motion so I'm thinking only make an analysis or statistics file based on the edit method selected.  Maybe just make it so that Auto-Editor looks for an analysis or statistics file by default that's named after the video file "video.mp4.stats" or something like that and if it doesn't find one it analyzes the video file and creates the analysis or statistics file. This would be so useful for running additional passes on the video file without having to wait for the file to be analyzed again every time, especially with motion it would save a ton of time. Thanks!

Done

Nice.
On Fri, Sep 2, 2022, 11:21 AM WyattBlue @.***> wrote:

Done
—
Reply to this email directly, view it on GitHub
https://github.com/WyattBlue/auto-editor/issues/254#issuecomment-1235788525,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6NOTOUWS6HA2RFYLMCQI3V4JASTANCNFSM5S2BC5OQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[supervisor.docker.addon] Invalid build environment, can't build this add-on!

Hi Dan,
I wanted to give a try to this addon from your repository. I already have influxdb 1.7 addon from Frank, running for a few years. But I would like to think that v2 is possible right now.
When I am trying to install the addon from your repository on my HA VM running in proxmox, I get this error.
23-05-11 13:15:18 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/50fa1dca_influxdb2
23-05-11 13:15:18 ERROR (SyncWorker_1) [supervisor.docker.addon] Invalid build environment, can't build this add-on!
I thought it may be because of influxdb2/build.yaml.
My HA hardware says: Virtual Machine, ova.
Thanks for your contributions.

Hi,
since this i my first containered addon i'm not sure, if i can assist you in a approbiate way. But let's have a try.
What kind of kernel architecture is your current operating system?
Currently i think, the container is only usable for amd64 and i need to change it.. :-D

its running inside proxmox as a Virtual Machine.

According to proxmox and Intel, q35 means:
The Intel® 3 Series Chipsets are designed for use with the Intel® Core™2 Duo desktop
processor and Intel® Core™2 Quad processor based platforms. Each chipset contains
two components: GMCH (or MCH) for the host bridge and I/O Controller Hub 9 (ICH9)
for the I/O subsystem. The 82Q33 GMCH is part of the Intel® Q35 Express chipset.
The 82Q33 GMCH is part of the Intel® Q33 Express chipset. The 82G33 GMCH is part
of the Intel® G33 Express chipset. The 82P35 MCH is part of the Intel® P35 Express
chipset. The ICH9 is the ninth generation I/O Controller Hub and provides a multitude
of I/O related functions. The following figures show example system block diagrams
for the Intel® Q35, Q33, G33 and P35 Express chipsets.

I believe if you add the following to your config.yaml, because i386 is already defined in your build.yaml
`arch:

i386`

added these option for you.. would you be so kind and test the latest version?

probably it has to be updated in the Repository/config.yaml also

thx... but that's just for completeness.. it was not required for me to update the addon in homeassistant... maybe you need to trigger the UpdateCheck manual
Homeassistatn ->Settings->addons->add-on Store -> the three points at the top: Check for Updates

Tried that... got some errors in the logs of supervisor, now addon page is not loading anymore...

the addon will take a while to build and start up complete... maybe be a bit more patient?

yes... i see..
that's because the required influx.deb does not exist on the influx source.
the docker file builds a path to download the required deb package to create the addon local
currently the installer tries to download:
https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.1-i386.deb
which does not exist
need to figure out, which source package will work for you... currently i ran out of time... will have a look today evening..

Sorry mate - i can't find any precompiled debian influxDB2 package for x86/i386 to create my addon-container.. so currently i can't support these architecture.. if you find any source, let me know
:-(

What kind of hardware are you using underneath proxmox?

here is some information from INFLUX about the missinig 32bit implementation.
https://www.influxdata.com/blog/influxdb-oss-and-enterprise-roadmap-update-from-influxdays-emea/

right now.

yes, i removed the i386 in the latest version because it does not make sense if there is no iinflux2.deb for i386.
Why are you not using a x64 os?

okay.. i installed a clean hassio and tried to install the addon - got the same error as you :-(

Same issue here for InfluxDB2 version 0.0.5:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:125
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 14:41:30 (3 occurrences)
Last logged: 14:45:47

Failed to to call /addons/50fa1dca_influxdb2/install - Unknown error, see supervisor

Which points me to:
23-06-18 14:41:30 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/50fa1dca_influxdb2
23-06-18 14:41:30 ERROR (SyncWorker_5) [supervisor.docker.addon] Invalid build environment, can't build this add-on!
23-06-18 14:41:45 ERROR (SyncWorker_0) [supervisor.docker.addon] Invalid build environment, can't build this add-on!

on a RaspberryPi4 8GB with HA OS version
Home Assistant 2023.6.2
Supervisor 2023.06.2
Operating System 10.2
Frontend 20230608.0 - latest

I'm successfully running through portainer the official InfluxDBv2 container in this system, but i'm looking to migrate to a pre-built addon so that my backups include it moving forward.
Happy to provide more info to fix this.

Happy to provide more info to fix this.

Just correcting myself, I managed to get it installed.
The thing is I had added as repository this one https://github.com/Dattel/repository which seems to be a different one (some repos keep the addons and the 'main repo' separated so i thought that was the one).
Now I've added https://github.com/Dattel/homeassistant-influxdb2 directly as the source repo in HA addon page and installed it though that and seems to have worked.
I'll give it some time to get it running, and attempt to migrate the data from the docker standalone to this one and see where i get.

thanks for the feedback...
i have also https://github.com/Dattel/homeassistant-influxdb2 in my homeassistant as repository source.
i will have a look, what's different between the two repos. Yes indead, that was the intention, to keep a main repository separate from the plugin... Since this is my first try to provide a addon, i'm not an expert... it's more a learning by doing - hopefully with the help of some users providing me some informations... so if it's not working with ../repository keep going with ../homeassistant-influxdb2 .... but be carefull with new updates... maybe we can talk before updating your system. :-D
Currently i'm a bit dissappoited as i recognize, influxdb2 will only be provided for x64 Architectures. so i'm not sure, iif influxdb2 will find it's way to the default plugins of homeassistant. I have both variants in parall running on my system and pushing data simultaneous to both of them.. I don't yet have the courage to switch completely to influx2

as i understand, the https://github.com/Dattel/repository would only work properly, if i would provide a prebuild docker
-> image:  in config.yaml
currently it's not my intention, because is see that plugin in an early state of testing..
but I will try to update it as fast as new influx versions will be released... maybe there will be an official plugin later - but then we are ahead of time with already populated databases and working stuff around :-D

I have both variants in parall running on my system and pushing data simultaneous to both of them..

How do you do that? With NodeRed?
I tried setting up two configs of the homeassitant integration to push to both but it only works with 1 instance so i have to choose which one.
So far my standalone docker container of infludb2 is working fine for months. My biggest concern is that 1) HA OS shows up as 'unsupported' because i'm running custom containers instead of addons, and 2) i'm missing it on backups so if my SDCard fails i'll loose all my yearly historical data.
I would say 64 bit only is not an issue nowadays, but I do understand HA is meant to be possible to run in multiple devices, including old 32 bit only systems. So I agree it would look like it won't make it as an official addon due to that as well...
In any case, I would be happy enough if its provided by you or someone else. I requested it as well to https://github.com/alexbelgium/hassio-addons/issues/715#issue-1587725618 but he's out of time at the moment to include it, but maybe you can see how he sets up different custom addons to identify a scalable way to keep up to date.


Cleanup

mostly removing ifs and terniaries
you might wanna look at

WounaDrops: L187
MixinTitleScreen: L215

since i don't know if you want them reachable

WoinaDrops: L187

I may add a third pass later. No reason to make extra work, even if it's tiny, if I do.

MixinTitleScreen: L215

This is left over from the code I ported which indeed had a third pass. I removed it for reasons I've forgotten.

WoinaDrops: L187

I may add a third pass later. No reason to make extra work, even if it's tiny, if I do.

MixinTitleScreen: L215

This is left over from the code I ported which indeed had a third pass. I removed it for reasons I've forgotten.

sorry didn't mean to be rude with it.
was half-awake and thought i'd check the ide warnings see if anything good comes of it
actually thinking about it a more apropriate place to put this would have been questions

sorry didn't mean to be rude with it.
was half-awake and thought i'd check the ide warnings see if anything good comes of it
actually thinking about it a more apropriate place to put this would have been questions


python312Packages.gpy: 1.13.1 -> 1.13.2

Description of changes

Version bump to 1.13.2
Re-enable on Darwin.
Disable one test that fails specifically on Darwin-x86_64

N.B. Previously disabled on Darwin due to a test using UI resources unavailable in the sandbox, see #107653.
cc: @NixOS/darwin-maintainers

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 340866 run on x86_64-linux 1

4 packages built:

python311Packages.gpy
python311Packages.gpy.dist
python312Packages.gpy
python312Packages.gpy.dist

Result of nixpkgs-review pr 340866 run on aarch64-darwin 1

4 packages built:

python311Packages.gpy
python311Packages.gpy.dist
python312Packages.gpy
python312Packages.gpy.dist

Result of nixpkgs-review pr 340866 run on x86_64-darwin 1

4 packages failed to build:

python311Packages.gpy
python311Packages.gpy.dist
python312Packages.gpy
python312Packages.gpy.dist

Result of nixpkgs-review pr 340866 run on aarch64-darwin 1

4 packages built:

python311Packages.gpy
python311Packages.gpy.dist
python312Packages.gpy
python312Packages.gpy.dist

Result of nixpkgs-review pr 340866 run on x86_64-darwin 1

4 packages built:

python311Packages.gpy
python311Packages.gpy.dist
python312Packages.gpy
python312Packages.gpy.dist

@sarahec you reverted the changelog and test fixes?

@sarahec you reverted the changelog and test fixes?
Not deliberately, what was meant to be a bump to stay up with master.

Let me see if I had a stale copy.

Looks like I F-ed up the rebase onto master. I'll have to close this and re-do the patch properly. I'm so mad at myself now.


what is the best way to use global variables like per env, per region, global

Could you please suggest what is the best way to use global variables like per env, per region, global
Now we have a lot of ways to define and to use variables:
locals {
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))

  # Extract out common variables for reuse
  env           = local.environment_vars.locals.environment
  project       = local.environment_vars.locals.project
  cluster_name  = local.environment_vars.locals.cluster_name
  aws_region    = local.region_vars.locals.aws_region
}

terraform {
  source = "git::git@github.com:terraform-aws-modules/terraform-aws-vpc.git//.?ref=v3.11.0"
}

include "root" {
  path    = find_in_parent_folders()
  expose  = true
}

include "env" {
  path           = find_in_parent_folders("env.hcl")
  expose         = true
  merge_strategy = "no_merge"
}

inputs = {
  name                 = "${include.root.locals.environment_vars.locals.project}-${local.env}-${include.env.locals.project}"
....

On the one hand I don't like to have this repeatable block in each file:
locals {
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))

  # Extract out common variables for reuse
  env           = local.environment_vars.locals.environment
  project       = local.environment_vars.locals.project
  cluster_name  = local.environment_vars.locals.cluster_name
  aws_region    = local.region_vars.locals.aws_region
}

on the other hand variables like ${include.root.locals.environment_vars.locals.project} are too complicated.
Can you please suggest what is the best approach to use common variables ?

Both are equally valid approaches, so it will come down to personal preferences. However, I suspect that this is really a feature request for shared locals, which is tracked in this ticket: https://github.com/gruntwork-io/terragrunt/issues/814

@yorinasub17 Thank you that you find some time to answer to such questions.
I'm not sure if this feature can help to fix my problem.
Let me clarify.
In the child terragrunt.hcl I need some variables from region.hcl, env.hcl account.hcl.
So I have 3 ways how to do it:

duplicate in each child terragrunt file this locals block:

locals {
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))

  # Extract out common variables for reuse
  env           = local.environment_vars.locals.environment
  project       = local.environment_vars.locals.project
  cluster_name  = local.environment_vars.locals.cluster_name
  aws_region    = local.region_vars.locals.aws_region
}

"include" each file and again duplicate this include block in each child file.

include "env" {
  path            = find_in_parent_folders("env.hcl")
  expose          = true
}

use include "root" + expose (because in our main terragrunt file we already have 3 read_terragrunt_config from env, account, and region)

and I'll have variables like: ${include.root.locals.environment_vars.locals.project}
It looks like only the 3-d method comply with the DRY idea, but variables although look logic but too long and difficult to read and understand

local.environment_vars.locals,@suppix May be this can help you...
In my parent terragrunt.hcl I have something like this...
locals {
  # Load account-level variables
  account_vars = read_terragrunt_config(find_in_parent_folders("account.hcl"))

  # Load the environment-level variables
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  # Load the application-level variables
  app_vars = read_terragrunt_config(find_in_parent_folders("app.hcl"))
}

# Configure root level variables that all resources can inherit. This is especially helpful with multi-account configs
# where terraform_remote_state data sources are placed directly into the modules.
inputs = merge(
  local.account_vars.locals,
  local.app_vars.locals,
  local.environment_vars.locals,
}

And then in each module you have...
terraform {
   source = "git::git@github.com:terraform-aws-modules/terraform-aws-vpc.git//.?ref=v3.11.0"
}

include {
  path = find_in_parent_folders()
}

One useful thing is the merge works on the basis of last one wins i.e. of a local is defined in app.hcl but also defined in environment.hcl the value in environment.hcl is emitted as it's later in the merge
You can also locally override an input in the module if you need to

What is the easiest way to bring 'truly' global constants to each Terraform module? For example, these are especially useful for a more readable aws_security_group_rule resource:
locals {
  https_port    = 443
  tcp_protocol  = 6
  all_ports     = 0
  all_protocols = "-1"
  any_ips       = ["<IP_ADDRESS>/0"]
}

Can they be made easily available in any Terraform module?
@phatcher's solution in the previous post works, but one still has to declare each such constant as a variable to each module
variable "all_ports" {
  nullable = false
}

and then also have it be passed in as inputs in .hcl
inputs = {
  all_ports = local.all_ports

Here's how I do it:
region.hcl
locals {
  region = "us-east-1"
}

my-component/terragrunt.hcl
terraform {
  source "..."
}

include "root" {
  path = find_in_parent_folders("region.hcl")
  expose = true
}

inputs = {
  aws_region = include.root.locals.region
}


added some working handler tests

This patch adds some tests over request listener invoke methods just to test how to do a handler async test, but it will increase the test coverage

👍


gateway：list object should return etag information when needed

fix https://github.com/juicedata/juicefs/pull/4969

fix https://github.com/juicedata/juicefs/issues/5010


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit e464df9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-04-26-01-46-21 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-04-26-01-46-21

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


Add murmur hasher support

Added in the 0.2 version:
https://github.com/ricardo-ch/kafka-topic-cloner/releases/tag/0.2


share .pth.tar file

Thank you very much for your work! I trained the deepglobe dataset with your train_mtl.py , but the prediction is not very good, even worse than using segmentation network like unet or linknet. Could you share your model file? And other question,How the orientation task enhance the final result,add two tasks result?Thanks a lot!

In case you are interested in road detection methods:
https://github.com/ntelo007/road_detection_mtl

In case you are interested in road detection methods:
https://github.com/ntelo007/road_detection_mtl

Thank you so much for your work! I find it really hard to train the model whose IOU is as high as the paper showed, usually less than 5%. I wonder could you share the model file 'xxx.pth', thanks a lot!

@XinlingQiu  I have the same problem with you. The IOU is 5-6% less than that in the paper. Did you solve the question?

@XinlingQiu  I have the same problem with you. The IOU is 5-6% less than that in the paper. Did you solve the question?

Hi @XinlingQiu, @kangkau
Thank you for using the work to explore your research. I assume you are using the similar splits for train/valid on DeepGlobe (available in the repo: link). I have reported the number on the valid set.
Regards
Anil

Hi @XinlingQiu, @kangkau
Thank you for using the work to explore your research. I assume you are using the similar splits for train/valid on DeepGlobe (available in the repo: link). I have reported the number on the valid set.
Regards
Anil

Thank you for your advice! I used the same splits for train/valid on DG, but the result on DG homepage is still less than 0.6.  So I wonder if your iou result is derived from your own splited valid set.

Hi @kangkau,  The IoU mentioned in the paper is on my splits which are available in the repo.
Thanks
Anil

How can I fusion the results of the direction task and the split task? Thank you! Looking forward to your reply!

How can I fuse the results of the orientation task and the segmentation task to enhance the final result? Thank you! Looking forward to your reply!


feat: include_str macro

This is not my work, it is copied from
https://github.com/leanprover/doc-gen4/blob/5f7d380/DocGen4/IncludeStr.lean
by @hargoniX and @xubaiw

Also why is it include_str not include_str%, isn't % the naming convention of macro in lean?

The postfix % is used only for internal macros. Most macros intended for use by end users are just snake cased, like throwError (okay, bad example), dbg_trace, trace[foo], nat_lit, unsafe, quote.

Out of curiosity, do you need this for anything Mario?

I had cause to reference it in the lrat_proof command (#222) documentation; originally it would only read from a file but for examples it is helpful to be able to pass string literals containing CNF/LRAT proof texts; but for real world examples you certainly want to include a file (at compile time, since we are supposed to add the proof to the environment). And the interface of this command seems uncontentious enough that I don't see any reason not to include it as a general utility.

bors r+


Support for MultiSelectComboBox

Hello Martin,
Will karibu support MultiSelectComboBox?
Vaadin version 23.2.2.

Best regards
Stefan

Hi Stefan, that's definitely something we should support. Let me take a look :+1:

Implemented in Karibu-Testing 1.3.21

Ok, I will wait for the release:
https://mvnrepository.com/artifact/com.github.mvysny.kaributesting/karibu-testing-v10


[Event Request] codeunit 1250 "Match General Journal Lines" - OnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply

Describe the request
Hello, can you please add a new Event OnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply in codeunit 1250 "Match General Journal Lines"?
    local procedure PrepareVendorLedgerEntryForApplication(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")
    begin
        VendorLedgerEntry.CalcFields("Remaining Amount", "Remaining Amt. (LCY)");
        OnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply(VendorLedgerEntry);
        VendorLedgerEntry."Applies-to ID" := GenJournalLine."Document No.";
        if Abs(VendorLedgerEntry."Remaining Amt. (LCY)") < Abs(GenJournalLine."Amount (LCY)") then
            VendorLedgerEntry."Amount to Apply" := VendorLedgerEntry."Remaining Amount"
        else
            VendorLedgerEntry."Amount to Apply" := -GenJournalLine.Amount;

        CODEUNIT.Run(CODEUNIT::"Vend. Entry-Edit", VendorLedgerEntry);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply(var VendorLedgerEntry: Record "Vendor Ledger Entry")
    begin
    end;

Additional context
We have additional values to calculate the Remaining Amount and need to recalculate it before being allocated and the record being modified.
Internal work item: AB#547387

Availability update: We will publish a fix for this issue in the next update for release 25.
Build ID to track: 26242.


[bitmanip][zba] Add support for Zba (address calculation) extension

Add support for the Zba extension added in v0.93 of the bit manipulation
specification (unchanged in v1.0.0). The new instructions added are:

sh1add: rd = (rs1 << 1) + rs2
sh2add: rd = (rs1 << 2) + rs2
sh3add: rd = (rs1 << 3) + rs2

The instructions are single cycle and have been implemented using the
adder in the ALU.
Signed-off-by: Michael Munday<EMAIL_ADDRESS>

Just to be clear: this isn't a priority for anything, just something I put together for fun.
I think Zba still needs support in https://github.com/google/riscv-dv before this is testable (though I did run some test code to verify it).


Teleport Plugin System & Other

What has been done?

Added did you enjoy playing oldschool varbit in first login.
Special attack orb click now works.
Added plugin for amulet of glory.
Added plugin for ring of duelling.

Proposed Changes

Added new packages to ${rsmod-project}/gg/rsmod/plugins/content/items

Looks good in general 👍 However please open a PR for each individual feature instead of mixing them all up into one.

Looks good in general 👍 However please open a PR for each individual feature instead of mixing them all up into one.

Thanks man, It should only contain teleport plugins now.

Okay now it all seems well, only critique is that you're re-declaring the Pawn.teleport method. You should import the one from the teleportation plugin.

Left some small reviews on the code, apart from those everything is LGTM


Correct settings for uploading images on Vagrant

Hi,
I'm using vagrant on the local machine and different site name than 'localhost'. And when i uploading images on the editor, it cannot get them with following message in console:
GET http://localhost/storage/laravel-grapesjs/media/355-600x350.jpg net::ERR_CONNECTION_REFUSED
How can i change the host name from localhost to the correct site url?

Sorry, looks like I forgot to change sitname in .env. After i set up the correct url I have the error when trying to upload image:
"message": "The POST method is not supported for this route. Supported methods: GET, HEAD.",

Well, i've found whats was, the default settings was null in the 'assets'/'path' and 'url' section, and after i trying to create symlink with php artisan storage:link it shows an error in console. When i changed the settings below, all working fine
'assets' => [
        'disk' => 'local', //Default: local
        'path' => 'images', //Default: 'laravel-grapesjs/media',
        'upload_url' => 'images'
    ],

@insssomniac it should work with null values as the default should be used if these are null.

Well, i've found whats was, the default settings was null in the 'assets'/'path' and 'url' section, and after i trying to create symlink with php artisan storage:link it shows an error in console. When i changed the settings below, all working fine
'assets' => [
        'disk' => 'local', //Default: local
        'path' => 'images', //Default: 'laravel-grapesjs/media',
        'upload_url' => 'images'
    ],

see this code
config('laravel-grapesjs.assets.path') ?? 'laravel-grapesjs/media'; and
config('laravel-grapesjs.assets.upload_url') ?? route('laravel-grapesjs.asset.store');


Configurable downcasing association fields prior to before_import_save

I am thinking of before_import_associate and after_import_associate callbacks where developer can do custom pre-processing before associations occur.  But I wanted to check in and see if anyone had better ideas?
CSV:
amount,user
<EMAIL_ADDRESS>But user.email in the DB is<EMAIL_ADDRESS>so it doesn't find association.
When I do record[:user].downcase in before_import_save it modifies the record, but the association lookup already happened prior to that.
class User
  field :email
  has_many :purchases
  rails_admin do
    import do
      mapping_key :email
    end
  end
end
class Purchase
  field :amount
  belongs_to :user
  validates :user, presence: true
  def before_import_save(record)
  # this doesn't work as by this point association already failed
  # self.user = User.where(email: record[:user].downcase).first
  end
end

I like the idea of having more escape hatches from the default behavior in the form of hooks.
I'm thinking one hook called import_find_or_create(record) to customize the find_or_create behavior. This would allow you to fix your current issue.
https://github.com/stephskardal/rails_admin_import/blob/df0b6429430eafb62e2331d7e6af6751fb33fc19/lib/rails_admin_import/importer.rb#L179
Another hook would be needed to generalize the association fetching (for the multi-tenant account/email case). I'm not sure what that would look like.
https://github.com/stephskardal/rails_admin_import/blob/df0b6429430eafb62e2331d7e6af6751fb33fc19/lib/rails_admin_import/import_model.rb#L73

I added additional hooks that would allow implementing better custom logic


Add empty dependencies block to package.json

Add
  "dependencies": {},

to package.json
Please see https://docs.unity3d.com/Manual/upm-manifestPkg.html for further details

Closed by #12


how to efficiently retrieve large amounts of data from multiindex ?

I am building an EOSIO dapp which store millions of records in the multiindex table, I have to feed this data to the analytics layer for analysis. What is the efficient and fastest way that I can fetch all this millions of rows of data from the multiindex table?

You may want to rearchitect.  RAM on mainnet costs ~$0.533 USD per KiB as of this posting.  Millions of records would cost you hundreds of thousands of dollars or more, depending on your record size.

Bearing in mind the previous comment, the most efficient way to manipulate millions of rows in RAM is to write a custom nodeos plugin and do as much of the required manipulation as possible in native data formats.  Conversions to and from text representations should be kept to an absolute minimum.

btw can you explain the reason why reads are going as transaction and are rate limited whereas ethereum or other blockchains allows free reads from a running local full node ? @jgiszczak  @taokayan

The software is identical for all nodes, so there is no differentiation between public and private nodes.  The software protects itself from denial of service attacks by throttling the read rate.
Reads are slow because of the JSON marshalling required for the RPC API.  The CPU time required is extensive and therefore limited to be sure the node continues running normally for all users.
Demux is a third party plugin.  You'll want to consult its documentation for how to use it.


Feature/daves repl

Repl Tested code is up and squeaky clean

Codecov Report

Merging #8 into develop will decrease coverage by 42.2%.
The diff coverage is 84.21%.

@@             Coverage Diff              @@
##           develop       #8       +/-   ##
============================================
- Coverage      100%   57.79%   -42.21%
============================================
  Files            3        4        +1
  Lines           36      109       +73
  Branches         1       16       +15
============================================
+ Hits            36       63       +27
- Misses           0       43       +43
- Partials         0        3        +3

Impacted Files
Coverage Δ

dork/yaml_parser.py
0% <0%> (ø)

dork/command_parser.py
71.42% <88.88%> (ø)

Continue to review full report at Codecov.

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

CodeCov says it is not covered enough, its a late night my dudes


Unable to set target temp, off instead of temperature

I hope you will not kill me :-)
2.7.2 fixes the temperature for the dish washer and wash machine, and still no Warning or Error at startup !
but I think two side effects occur:
(1) there is now an "Off" label where the target temperature for fridge used to be. And this "Off" label remains even if you change the target temperature.
And BTW, when you do change the target temperature, a 400 error now appears in the log:
[10/03/2021 19:45:07] [Miele] Miele API request https://api.mcs3.miele.com/v1/devices/mac-00124B0005AB4D8B/actions failed. Status 400: "Bad Request".Error: Request failed with status code 400

(2) whilst my washing machine is switched off, it now appears "Running" (Active = 1, In Use = 0)
I am quite sure it was not the case with 2.7.1 (a switched off wash machine was Active = 0, In Use = 0). Strangely enough, I went back installing 2.7.1, 2.7.0, even 2.6.1 but I could no more get the Fridge to display the Target Temperature or the Wash Machine to indicate "Off" when it is off (I guess it is due to caching, but I always fear the consequences of deleting caches...)
Originally posted by @MichelRabozee in https://github.com/QuickSander/homebridge-mieleathome/discussions/15#discussioncomment-464797

Oké this is not good. Especially since somehow the behaviours you mention are totally unrelated to my latest changes (on first  sight).
I hope you will not kill me because of this flakey quality. Honestly unintentional though. I did test it (sort of).

Can you enable Homebridge debug logging and paste what  the first few poll actions parsed from the MieleAPI from the log?
Since I cannot reproduce the behaviour of (2) and (1) sounds like a side-effect of (2). If inUse = 0 target temp cannot be set.
You can by the way via the GUI just remove the cache for specific accessories

Again, sorry to have given you bad news, moreover, wrong bad news. I will check my local systems more carefully in the future before writing something ;-)


Support for HTTP Basic access authentication

Basic HTTP Authentication requires credentials to be passed through the header of the http request. Currently, zombie does not have a way to do this.
Potential solutions include a friendly username/password option or a more general solution which is to allow zombie users to specify custom headers.

Introduced in 0.11.2


Exposed mongodb credentials

Potential security breach. Verified credentials in URL<EMAIL_ADDRESS>in file \examples\demo\index.jsYou should recycle your credentials immediately and move secrets to environment variables to prevent them being committed to GitHub.

@eth0izzle Thanks for the looking into it, yeah I am rewriting the library from scratch and I will consider your opinion on moving secrets to environment variables.

The risky data has been removed. Closing issue. thanks @eth0izzle .


Plotting higher modes in post processor - higher modes not showing

Currently when you set plot modes to [1 2] instead of default [1] etc. the higher mode curve does not show. You can still use the buttons and see the higher mode, mode shapes and load factors, but the curve is not showing in the bottom axis. Need to debug the plotting of the higher modes in the signature curve.

I tried to reproduce this bug based on the default beam example on my computer (Windows10, Matlab2020a and Matlab2023b).  When I set the item "Modes to be plotted" to "1  2", the curves were produced as expected, as shown the next figure.

But, when I set the item "Modes to be plotted" (in "Plot Curve" group) back to "1", and changed the item "mode" in the "Plot Shape" group to a higher mode, the higher mode shapes and load factor are good, but the higher curves were not showing, as shown the next figure. Is this the bug you mentioned?

For your bug it looks like the "modes to be plotted" button reverts back to just 1, so if you make it 1 2 again then it will plot. On my version higher modes are not plotting at all. I will try to do a clean start and see if I can repeat the error on my side next time I have a moment. It would be good to fix the bug you are observing as well.


Allow PATCH requests to update attributes present as customProperties

Affected module
Ingestion Framework/Backend
Describe the bug
Making PATCH requests on extension for customProperties does not allow add/update of the customProperty through the ingestion-bot
To Reproduce

Create a customProperty from the UI
Add a customProperty value attribute through the UI
Try to update the customProperty (say tableSize) through Postman/CURL through the following request body:

curl --location --request PATCH 'http://localhost:8585/api/v1/tables/a8db294a-2c8f-485c-9946-0d0bbf040a34' \
--header 'Content-Type: application/json-patch+json' \
--header 'Authorization: Bearer <token>' \
--data-raw '[
    {
        "op": "add",
        "path": "/extension/someSize",
        "value":  "65GB"
    }
]'

This does not result in an update to the attribute
Expected behavior
PATCH requests are used when you’d want to change the partial state of the object.
Calling the PATCH endpoint with the new/updated value of the attribute should allow us to update the state of the attribute
Version:

Python version: 3.8
OpenMetadata version: 0.12.1

Additional context
Add any other context about the problem here.

@abcabhishek this functionality should be working. Here are the tests that pass for this functionality - https://github.com/open-metadata/OpenMetadata/blob/a731b3fdfdb7ef0eb55a468c64558ccc1f6281e6/openmetadata-service/src/test/java/org/openmetadata/service/resources/EntityResourceTest.java#L1332
Can you share the response you are getting for your patch request?

Hi @sureshms
Can you refer to this thread on the OM Slack channel?

@nahuelverdugo has mentioned the following there:
Hi
[@abchat](https://openmetadata.slack.com/team/U038V130WKS)
, a bot can not update the extension of a table. The reason is that the extension value is overwritten during the ingestion if we don’t pass any value for the extension. The same behavior is applied to the description of the table.

[@abchat](https://openmetadata.slack.com/team/U038V130WKS)
 the 200 is ok and it is not an error, the current design does not allow the bot to update the extension

Ref code link that Nahuel shared

@abcabhishek and @nahuelverdugo missed the ingestion-bot call out in the bug report.
@abcabhishek as long as you use PATCH we should be able to allow this. In the case of PUT, REST semantics demands that you overwrite the object and for ingestion-bot, we are not allowing such overwrite. Can you confirm you want this functionality for PATCH?

@sureshms - I can confirm that I want this functionality for PATCH

If you want this functionality soon before 0.13, you can apply this patch to your code:
diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java
index e3a8e1196..f07a6eee9 100644
--- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java
+++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java
@@ -1270,8 +1270,8 @@ public abstract class EntityRepository<T extends EntityInterface> {
         return;
       }

-      if (updatedByBot()) {
-        // Revert changes to extension field, if being updated by a bot
+      if (updatedByBot() && operation == Operation.PUT) {
+        // Revert extension field, if being updated by a bot with a PUT request to avoid overwriting custom extension
         updated.setExtension(original.getExtension());
         return;
       }

@sureshms let me try this out

This issue has been fixed by the change e7a4a7a3e556d79b2f0f538d16899a5c7f99e0ec


Add no systems alert

jira: https://issues.redhat.com/browse/RHCLOUD-13714

Codecov Report

Merging #10 (5844b41) into master (99be2e9) will increase coverage by 16.85%.
The diff coverage is 0.00%.

:exclamation: Current head 5844b41 differs from pull request most recent head 2d28151. Consider uploading reports for the commit 2d28151 to get more accurate results

@@             Coverage Diff             @@
##           master      #10       +/-   ##
===========================================
+ Coverage        0   16.85%   +16.85%
===========================================
  Files           0       24       +24
  Lines           0      178      +178
  Branches        0       10       +10
===========================================
+ Hits            0       30       +30
- Misses          0      139      +139
- Partials        0        9        +9

Impacted Files
Coverage Δ

src/Components/NoSytemsAlert/index.js
0.00% <0.00%> (ø)

src/Routes/Dashboard/index.js
0.00% <0.00%> (ø)

src/api/inventory.js
100.00% <0.00%> (ø)

src/store/actionTypes.js
100.00% <0.00%> (ø)

src/store/index.js
0.00% <0.00%> (ø)

src/utils/helpers.js
0.00% <0.00%> (ø)

src/entry.js
0.00% <0.00%> (ø)

src/bootstrap-dev.js
0.00% <0.00%> (ø)

src/AppEntry.js
0.00% <0.00%> (ø)

src/Components/NavTabs/index.js
0.00% <0.00%> (ø)

... and 16 more

Continue to review full report at Codecov.

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


About prismatic joint

I am working on a project which has one underactuated prismatic joint connected to the free floating base.
That is, this prismatic joint will affect the inertia distribution, but no motor is connected.
For the a typical free floating base robot, we have a configuration dimension is (7+n)(if rotation is quaternion, following pinocchio style), but for this robot, we need a configuration dimension (8+n).
Is that possible to define a ddp problem with crocoddyl without changing c++ class?

Crocoddyl should be able to handle this problem since the ActuationModelFloatingBase class could deal with different degrees of freedom in the floating base. However, we have not tested this condition, thus if you find an issue then let us know.
There is something not yet clear in your message. If you substitute the free-flyer joint by a prismatic one, then the configuration dimension is 1 + nj, where nj is the number of actuated joints.
If you refer to have an appended floating-base joint (i.e. 8 degrees of freedom), then I am not fully sure if this is possible in Pinocchio. This will be the only limitation in Crocoddyl since we assume that the first joint is the floating-base one.

Hi @ddliu365
If you look at the definition of the ActuationModelFloatingBase (https://github.com/loco-3d/crocoddyl/blob/b0eeaa5713166d7e6955454b90aedf0fc940baa1/include/crocoddyl/multibody/actuations/floating-base.hpp#L30), the underactuation is defined to be only present in the first joint (which may or may not be the free-flyer). As of now, crocoddyl doesn't consider underactuation in places other than the initial joint. The model you have, where two subsequent joints are underactuated, seems to be very peculier. If you can explain further your problem, perhaps we can help you use the library better.

@cmastalli @proyan
Actually, I don't substitute the free-flyer joint by a prismatic one, but I want to add one more prismatic joint to current SE3 free-flyer joint as you can from the draft.
It is possible to add the second joint as an underactuated joint. I think pinocchio can handle the prismatic joint.

The above figure shows the simplified model of this project. I plan to add one mass block which can slide along the torso and this will bring another underactuated degree of freedom(maybe there is another way to consider it, and my assumption for model simplification may be stupid).
Except the extra mass along the torso, it is a actual bipedal robot. The torso is SE3(3 translation DoF and 3 rotation DoF).
I admit this idea is peculiar, maybe there is another interpretation for the problem.

The sliding motion is realized by the friction between the block and the torso

You would need to show this friction force in an actuation model. The actuation model would convert your current state + motor actuation + friction to the pinocchio tau control, which you can use to run your dynamics through the action models.
Since this is a custom problem, the solution would also be a custom code. Crocoddyl is modular enough, that the only thing you would need to do is to create a new actuation model which contains this friction model. Afterwards, crocoddyl and pinocchio have all the tools you need for your problem.

Thank you @proyan
if nj only represents the rotation joint and nv should be equal to nj+6+1.
I would like to change
https://github.com/loco-3d/crocoddyl/blob/b0eeaa5713166d7e6955454b90aedf0fc940baa1/include/crocoddyl/multibody/actuations/floating-base.hpp#L30
to
      : Base(state, state->get_nv() - state->get_pinocchio()->joints[1].nv()-1){};
I would like to change
https://github.com/loco-3d/crocoddyl/blob/b0eeaa5713166d7e6955454b90aedf0fc940baa1/include/crocoddyl/multibody/actuations/floating-base.hpp#L57
to
data->dtau_du.diagonal(-state->get_pinocchio()->joints[1].nv()-1).fill((Scalar)1.);
add -1 above because we have one prismatic joint which is underactuated.
If we assume the second joint in pinocchio is this prismatic joint.
Do you think if the above changes can solve my problem?

I will close this issue as there is no activity.
However, you need to consider that you could use the floating-base actuation if you can embed both joints (FF and prismatic) into a single one. I am not sure if this is possible in Pinocchio in term of current implementation or software design.
If this is not possible, then you will need to define your custom actuation model. You could apply the modifications that you described above.


Fixed#582 : - Updated non-relative path @components

About This PR : -

Fixed : #582
Converted All Paths of  /client/src/components / to  @components/ .

More Context : -

I have converted all the relative paths of UI components present in /client/src/components/ to non- relative paths .
I will do the same to others components stored in others folders like /client/src/user/components/ as soon as possible. " I am working on it now .."

How I have Implemented Non-Relative Paths : -

I have used a new npm package  vite-jsconfig-paths to resolve the updated non-relative paths..

Summary by CodeRabbit

Refactor

Updated various components and styles to use absolute import paths for better maintainability and clarity.

Chores

Added vite-jsconfig-paths plugin to enable the resolution of module paths based on the jsconfig.json file, enhancing the project's configuration.

hey @anshul-kh the vite-jsconfig-paths package has been deprecated as it says in its docs on github.

Hi @anur4ag , I must have missed that out, but I have fixed it now.

Hi @anur4ag  @pranshugupta54  ! That's final pushes from my side on this issue. Please review this PR and let me know . Thanks.

Hi @anur4ag ,@pranshugupta54 ! If it's convenient for you, please review this PR , and let me know of any other changes. Thanks.


Rename project

... And find a name.
Candidates :

caelum (sky in latin)
supra ("on top of" in latin)
nubes (clouds in latin)

Since Apex means summit in Latin, and the framework runs on top of Apex, the only things that remain are either the sky, or maybe the clouds.
Different approaches to look at :

transverse
introspective
extract ( estrep )
construct
detach, explode ( explosio)
adapt ( adatt )
transpose ( transpon )

On a completely different approach :
sark

Sark is a channel island, like Guernsey or... Jersey.
It's very small compared to Jersey.
Cars are banned, there's not ot lot of light at night : it's pretty archaic.

Renamed in GitHub => find/replace any VertxMVC occurrence


Add web / install bug to keep gross track of other active and attempted installations of AmiGO

We always want more numbers about how our software is being used. One thing that is a dark area is how/where the AmiGO software is being used outside our immediate circle, with the occasional find of an AmiGO installation elsewhere by accident.
The idea behind this ticket would be to add a GET to the installation process and/or a landing page to get information about external use. We'd want to keep this minimal with no impact on downstream consumers.
One idea would be to simply add the GO logo (micro-sized) to the footer, hosted on a logging resource. Or, download and toss a random resource during install.

Web
(pro) more detailed view, including "active" installations
(con) more resource intensive for client
(con) need to make sure it's there (S3)
Installation
(pro) get a view of attempts, not just installs
(pro) more-or-less one-off, so resource minimal
(con) could leak internal details of other sites?

Either of these could have a setting to turn them off in the configuration variables (default on).
Ideally, we'd get this in to AmiGO 2.3.x as well as master.

Pinging on @stuartmiyasato for comments on production overhead.

A web version would require a URL of some kind and a log of attempts at the URL including location, date, and possibly client (although this last is not necessary).

Some discussion with @stuartmiyasato on email, currently evaluating S3-only logging configurations.

Okay, will need feedback from @stuartmiyasato about the final URL to use, but the code is there in an acceptably unobtrusive form.
The ping happens async during use of the gulpfile.js (on the server). While this might put a little time overhead on developers that develop restarting the embedded server all the time, it should get lost in the noise for most devs in the build watch as its just another thing in an already relatively slow build process.

I'm just going to go ahead with this. Essentially, I'm going to create a tiny ping.json file in some AWS buckets named with the amigo branch name in them; these buckets will then log to a logging bucket that also has the same branch name. This will give us slightly better resolution than user did something, but without being too invasive.
As well, I set it up so that users can opt-out by adding a variable to their config. Will need to document that.

Logs coming in, I think we're good.


Can not build swift package

Can not build lib using swift package manager.
Swift version: 3.1
Log:

error: invalid target name at 'Tests/Regex'; name of test targets must end in 'Tests'
error: invalid target name at 'Tests/Boilerplate'; name of test targets must end in 'Tests'
error: invalid target name at 'Tests/Result'; name of test targets must end in 'Tests'

I'm running into this issue as well. Did you find a solution, @denis631?


Add prompt caching

Introduced new caching options for user and system prompts in the ClaudeOptions class.

Files changed:

README.md: Added new section on caching options and usage.
llm_claude_3.py:

Added cache_prompt and cache_system options to ClaudeOptions.
Modified message handling in ClaudeMessages to support caching functionality.
Updated response processing to include cache control mechanisms.

I do not think that I like the interface, tbh, but see what you think. It's hard to trade off features and complexity.
I did not think that caching should be turned on by default, due to the 25% premium on cache inputs.
This first implementation is less flexible than the API allows. The API allows for you to include both cached and none-cached system and user prompts in one request. I wasn't sure how to do that without editing the main projects cli.py?
I think ideally the interface would be
llm --system "not cached system prompt" --cached-system "this system prompt will be cached" --cached-user "a user prompt to be cached" "none cached prompt?"
But how do we handle the case of requesting ONLY a cached user prompt? I think the current cli demands a prompt, so that would need updating.
Anyway, here is the current implementation.
To use it, you use prompt and --system as normal, and then you can choose to cache or not cache either one by adding -o cache_prompt 1 and/or -o cache_system 1
Then you get cache metadata returned in the json.
Added option cache_prompt and cache_system
To use
llm -m claude-3.5-sonnet --system $(cat long-system.txt) "prompt" -o cache_system 1

"usage": {"input_tokens": 10000, "output_tokens": 500, "cache_creation_input_tokens": 10000, "cache_read_input_tokens": 0}}
This first prompt requests to cache the system prompt. I used a file of 10,000 tokens, and as this is the first prompt we see "cache_creation_input_tokens": 10000 returned in the json. This means we paid 25% more for those tokens, but future requests using the same system prompt will be discounted 90%, as long we re-prompt within the cache TTL, currently 5 minutes (refreshed each time).
llm -m claude-3.5-sonnet --system $(cat long-system.txt) "a new non-cached user prompt. " -o cache_system 1

"usage": {"input_tokens": 10001, "output_tokens": 500, "cache_creation_input_tokens": 0, "cache_read_input_tokens":10000 }}
This sends a new user prompt but the same system prompt, along with the cache_system flag this means we will use the cached system prompt from the previous command. We can see we hit the cache by the usage response: "cache_read_input_tokens":10000
llm -m claude-3.5-sonnet --system $(cat long-system.txt) "$(cat long-prompt.txt)" -o cache_system 1 -o cache_prompt 1

"usage": {"input_tokens": 15000 "output_tokens": 500, "cache_creation_input_tokens": 5000, "cache_read_input_tokens":10000 }}
This time we CREATE a USER prompt cache, and also READ a SYSTEM cache. Hence:
"cache_creation_input_tokens": 5000, "cache_read_input_tokens":10000
llm -m claude-3.5-sonnet --system $(cat long-system.txt) "$(cat long-prompt.txt)" -o cache_system 1 -o cache_prompt 1

"usage": {"input_tokens": 15000 "output_tokens": 500, "cache_creation_input_tokens": 0, "cache_read_input_tokens" :15000
Finally, running the same command again causes both system and user prompt cache reads.

I made some improvements. I've been using this version for a few days and it seems to work well. It automatically caches continued conversations if they where flagged for caching.
Here is a long conversation with prompt caching enabled. It compares the cached price to what it would have cost without.

Now that I have played with it for a week, I think I want a menu to manage the cache options:
llm cache on/off - toggle always-on caching
llm cache TTL [minutes] - default time to expire caches
llm cache list - list active keep-alive caches
This will also need a prompt option to specify a keep-alive time
llm -o cache_prompt 1 -o keep_alive 60 (cache prompt and keep it active for 60 minutes.)


please add vis-materialdesign to latest

Please add a news in iopackage for the 0.0.7 (or then a 0.0.8) ;-)

Done, now its version 0.1.0 ;)


rust error in proxy

cultivation -p
Starting proxy server...
Connecting to proxy...
thread 'main' panicked at src/proxy.rs:294:34:
called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

sudo cultivation -p
Starting proxy server...
Connecting to proxy...
thread 'main' panicked at src/proxy.rs:294:34:
called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is due to AAGL (anime_launcher_sdk) not being found, so the config for it is also not found, leading to an error unwrapping the config for it.
Make sure you have AAGL installed and set up.

whoops forgot to close this


Support set for base classes and Limit on no. of ways

Hello. I'm attempting to use a different dataset with the AttentionRPN. The evaluation script uses the pickled dataframe of the 10-shot novel classes, so when I evaluate, it detects only novel classes.
If I create a 10-shot support DF of the base classes and use that, I am able to detect the same. Is this the intended way of evaluating the base classes or have I done something incorrectly? I presume in the final evaluation of novel+base, another support DF needs to be created?
Also - there are places where the no. of ways are fixed to 2 and this is asserted. Is it safe to remove those assertions?

我也有同样的问题，当我基础类训练完成后，进行测试时，只能检测到新类的结果，基础类都是0.00


Pixi mac for release

Pixi and GitHub Actions configuration for Intel and ARM Mac.

Would have preferred to see a commit body message for 3025ad0 as well.

Added


DB archive file download from Github Release not work because version in metadata.json mismatch with version of db

trivy version
Version: 0.30.4

Download latest db from github release and unarchive it to cache dir:
mkdir -p /tmp/trivy/.cache/db
wget https://github.com/aquasecurity/trivy-db/releases/download/v1-2022090506/trivy-offline.db.tgz -O db.tar.gz
tar xzf ./db.tar.gz -C /tmp/trivy/.cache/db

cat /tmp/trivy/.cache/db/metadata.json
{"Version":1,"Type":1,"NextUpdate":"2022-09-05T12:50:05.096459442Z","UpdatedAt":"2022-09-05T06:50:05.096459842Z","DownloadedAt":"0001-01-01T00:00:00Z"}

Here is metadata.json in db archive file pull from GHCR
cat metadata.json
{"Version":2,"NextUpdate":"2022-09-03T12:07:00.39779422Z","UpdatedAt":"2022-09-03T06:07:00.39779462Z","DownloadedAt":"0001-01-01T00:00:00Z"}

Try run scan with latest trivy:
trivy --cache-dir /tmp/trivy/.cache image --skip-update --format json SOME_IMAGE
2022-09-05T12:51:41.402Z        ERROR   The local DB has an old schema version which is not supported by the current version of Trivy CLI. DB needs to be updated.
2022-09-05T12:51:41.402Z        FATAL   init error: DB error: database error: validate error: --skip-update cannot be specified with the old DB schema. Local DB: 1, Expected: 2

Here is difference between Github Release and Trivy DB action:
Github Release
https://github.com/aquasecurity/trivy-db/runs/8183176380?check_suite_focus=true#step:9:1
Trivy DB
https://github.com/aquasecurity/trivy-db/runs/8188045536?check_suite_focus=true#step:9:1
Looks like Github Release missing environment?

@Riohyc no, you download the old database. you need to use oras or trivy for it.
read more: https://aquasecurity.github.io/trivy/v0.31.3/docs/advanced/air-gap/

@Riohyc no, you download the old database. you need to use oras or trivy for it.
read more: https://aquasecurity.github.io/trivy/v0.31.3/docs/advanced/air-gap/

So, the only way to download correct version of db is pulling from GCHR by oras or trivy? Even the Github Release is outdated?

So, the only way to download correct version of db is pulling from GCHR by oras or trivy? Even the Github Release is outdated?

yes,  i think that  the Github Release is for backward compatibility now


Building issues on OSX

rmcode$ which python3
/usr/local/bin/python3

rmcode$ . build.py build
-bash: import: command not found
-bash: import: command not found
-bash: import: command not found
-bash: import: command not found
-bash: optimize: command not found
-bash: link_time_optimize: command not found
-bash: sources: command not found
-bash: audio/audio.c,: No such file or directory
-bash: audio/listener.c,: No such file or directory
-bash: audio/source.c,: No such file or directory
-bash: audio/staticbuffer.c,: No such file or directory
-bash: audio/staticsource.c,: No such file or directory
-bash: audio/streamsource.c,: No such file or directory
-bash: audio/vorbis_decoder.c,: No such file or directory
-bash: filesystem/filesystem.c,: No such file or directory
-bash: graphics/batch.c,: No such file or directory
-bash: graphics/canvas.c,: No such file or directory
-bash: graphics/font.c,: No such file or directory
-bash: graphics/geometry.c,: No such file or directory
-bash: graphics/gltools.c,: No such file or directory
-bash: graphics/graphics.c,: No such file or directory
-bash: graphics/image.c,: No such file or directory
-bash: graphics/matrixstack.c,: No such file or directory
-bash: graphics/mesh.c,: No such file or directory
-bash: graphics/particlesystem.c,: No such file or directory
-bash: graphics/quad.c,: No such file or directory
-bash: graphics/shader.c,: No such file or directory
-bash: image/imagedata.c,: No such file or directory
-bash: luaapi/audio.c,: No such file or directory
-bash: luaapi/boot.c,: No such file or directory
-bash: luaapi/event.c,: No such file or directory
-bash: luaapi/math.c,: No such file or directory
-bash: luaapi/filesystem.c,: No such file or directory
-bash: luaapi/joystick.c,: No such file or directory
-bash: luaapi/keyboard.c,: No such file or directory
-bash: luaapi/math_bezier.c,: No such file or directory
-bash: luaapi/motor.c,: No such file or directory
-bash: luaapi/mouse.c,: No such file or directory
-bash: luaapi/graphics.c,: No such file or directory
-bash: luaapi/graphics_batch.c,: No such file or directory
-bash: luaapi/graphics_canvas.c,: No such file or directory
-bash: luaapi/graphics_font.c,: No such file or directory
-bash: luaapi/graphics_geometry.c,: No such file or directory
-bash: luaapi/graphics_image.c,: No such file or directory
-bash: luaapi/graphics_mesh.c,: No such file or directory
-bash: luaapi/graphics_particlesystem.c,: No such file or directory
-bash: luaapi/graphics_quad.c,: No such file or directory
-bash: luaapi/graphics_shader.c,: No such file or directory
-bash: luaapi/graphics_texture.c,: No such file or directory
-bash: luaapi/graphics_window.c,: No such file or directory
-bash: luaapi/image.c,: No such file or directory
-bash: luaapi/polygon.c,: No such file or directory
-bash: luaapi/timer.c,: No such file or directory
-bash: luaapi/tools.c,: No such file or directory
-bash: math/bezier.c,: No such file or directory
-bash: math/gamma.c,: No such file or directory
-bash: math/lerp.c,: No such file or directory
-bash: math/math.c,: No such file or directory
-bash: math/minmax.c,: No such file or directory
-bash: math/randomgenerator.c,: No such file or directory
-bash: math/triangulate.c,: No such file or directory
-bash: math/util.c,: No such file or directory
-bash: math/vector.c,: No such file or directory
-bash: errorhandler.c,: command not found
-bash: keyboard.c,: command not found
-bash: joystick.c,: command not found
-bash: main.c,: command not found
-bash: motor.c,: command not found
-bash: mouse.c,: command not found
-bash: tools/utf8.c,: No such file or directory
-bash: timer/timer.c,: No such file or directory
-bash: 3rdparty/noise1234/simplexnoise1234.c,: No such file or directory
-bash: 3rdparty/slre/slre.c,: No such file or directory
-bash: 3rdparty/lua/src/lapi.c,: No such file or directory
-bash: 3rdparty/lua/src/lauxlib.c,: No such file or directory
-bash: 3rdparty/lua/src/lbaselib.c,: No such file or directory
-bash: 3rdparty/lua/src/lcode.c,: No such file or directory
-bash: 3rdparty/lua/src/ldblib.c,: No such file or directory
-bash: 3rdparty/lua/src/ldebug.c,: No such file or directory
-bash: 3rdparty/lua/src/ldo.c,: No such file or directory
-bash: 3rdparty/lua/src/ldump.c,: No such file or directory
-bash: 3rdparty/lua/src/lfunc.c,: No such file or directory
-bash: 3rdparty/lua/src/lgc.c,: No such file or directory
-bash: 3rdparty/lua/src/linit.c,: No such file or directory
-bash: 3rdparty/lua/src/liolib.c,: No such file or directory
-bash: 3rdparty/lua/src/llex.c,: No such file or directory
-bash: 3rdparty/lua/src/lmathlib.c,: No such file or directory
-bash: 3rdparty/lua/src/lmem.c,: No such file or directory
-bash: 3rdparty/lua/src/loadlib.c,: No such file or directory
-bash: 3rdparty/lua/src/lobject.c,: No such file or directory
-bash: 3rdparty/lua/src/lopcodes.c,: No such file or directory
-bash: 3rdparty/lua/src/loslib.c,: No such file or directory
-bash: 3rdparty/lua/src/lparser.c,: No such file or directory
-bash: 3rdparty/lua/src/lstate.c,: No such file or directory
-bash: 3rdparty/lua/src/lstring.c,: No such file or directory
-bash: 3rdparty/lua/src/lstrlib.c,: No such file or directory
-bash: 3rdparty/lua/src/ltable.c,: No such file or directory
-bash: 3rdparty/lua/src/ltablib.c,: No such file or directory
-bash: 3rdparty/lua/src/ltm.c,: No such file or directory
-bash: 3rdparty/lua/src/lundump.c,: No such file or directory
-bash: 3rdparty/lua/src/lvm.c,: No such file or directory
-bash: 3rdparty/lua/src/lzio.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftbitmap.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftcalc.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftgloadr.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftglyph.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftinit.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftobjs.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftoutln.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftrfork.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftstream.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftsystem.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/fttrigon.c,: No such file or directory
-bash: 3rdparty/freetype/src/base/ftutil.c,: No such file or directory
-bash: 3rdparty/freetype/src/gzip/ftgzip.c,: No such file or directory
-bash: 3rdparty/freetype/src/sfnt/sfnt.c,: No such file or directory
-bash: 3rdparty/freetype/src/smooth/smooth.c,: No such file or directory
-bash: 3rdparty/freetype/src/truetype/truetype.c,: No such file or directory
-bash: ]: command not found
-bash: build.py: line 144: syntax error near unexpected token `('
-bash: build.py: line 144: `SRCDIR = os.path.dirname(sys.argv[0]) + "/src"'

Installed via homebrew:

Python
emscripten

I have changed the shebang to correctly look for the Python interpreter.

Works now with
./build.py build

Still can't build due to some missing dependencies of emscripten, but that's an issue on my side.

@rnlf Okay I finally got all the dependencies but now have problems with build.py again.

The build script build.py can be used to compile Motor for the Web and native. Just make a new directory (I suggest 'build' for web and whatever you want for native builds) and call build.py build.

I am a bit confused by this. I created a folder called build and called ./build.py build, but the compiled files are simply placed in the same folders as the source files (the build folder stays empty).

After building the engine itself, the web version also requires a loader script, which can be built (in the same directory) with build.py buildloader

When I call this it produces an error:
motor rmcode$ ./build.py buildloader
base64: invalid option -- w
Usage:	base64 [-dhvD] [-b num] [-i in_file] [-o out_file]
  -h, --help     display this message
  -D, --decode   decodes input
  -b, --break    break encoded string into num character lines
  -i, --input    input file (default: "-" for stdin)
  -o, --output   output file (default: "-" for stdout)
base64: invalid option -- w
Usage:	base64 [-dhvD] [-b num] [-i in_file] [-o out_file]
  -h, --help     display this message
  -D, --decode   decodes input
  -b, --break    break encoded string into num character lines
  -i, --input    input file (default: "-" for stdin)
  -o, --output   output file (default: "-" for stdout)


feat: non-blocking sleep

non-blocking sleep through a temporary increase in the number of running tasks on demand of the user.
here is some use cases

some task A is waiting for result of another task B. User can request a temporary increase in the number of tasks, so this task A does not block the execution of task B because of max_async_tasks. Example in tests with max_async_tasks = 1
i have a real case scenario where very long running tasks sleeps for a very long time and there is a need to keep their scope, so i increase the max number of running tasks while they asleep

Codecov Report

Merging #128 (d13711f) into develop (e66f3aa) will decrease coverage by 3.34%.
The diff coverage is 56.07%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop     #128      +/-   ##
===========================================
- Coverage    67.62%   64.28%   -3.34%
===========================================
  Files           37       42       +5
  Lines          942     1190     +248
===========================================
+ Hits           637      765     +128
- Misses         305      425     +120

Impacted Files
Coverage Δ

taskiq/cli/watcher.py
0.00% <ø> (ø)

taskiq/cli/worker/process_manager.py
0.00% <0.00%> (ø)

taskiq/cli/worker/run.py
0.00% <0.00%> (ø)

taskiq/receiver/params_parser.py
96.87% <ø> (ø)

taskiq/result_backends/dummy.py
100.00% <ø> (ø)

taskiq/middlewares/prometheus_middleware.py
26.78% <26.78%> (ø)

taskiq/semaphore.py
27.77% <27.77%> (ø)

taskiq/brokers/zmq_broker.py
45.71% <28.57%> (+5.17%)
:arrow_up:

taskiq/utils.py
47.82% <40.00%> (-52.18%)
:arrow_down:

taskiq/abc/broker.py
78.49% <60.00%> (-6.90%)
:arrow_down:

... and 16 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@s3rius are there plans to have this merged / or implemented differently? We have a use-case as well that triggers this that we noticed since we have now implemented the max_async_tasks option.
We will "workarround" by separating them into two different workers for now.

There are plans to implement it differently. There were some attempts.
The main idea of another approach is to not give just a sleep function, but an ability to decrease counter of running tasks by the time of executing a function.
I've created an issue for that problem here: #258.

Hello there @s3rius ! I changed approach to dealing with idle tasks
Now u can do smth like this
async def task(idle: TaskIdler = Depends()):
    async with idle():
        awat smth()

Pls take a look

Hello, @s3rius. Pls take a look at the new implementation

@s3rius A friendly reminder to check this PR :D

Hello there @s3rius! Pls give it a try =)


Hawq 271 Remove external python modules

Remove external python modules. User need to install these python modules by themselves.
=========src=============
figleaf					BSD
pg8000					BSD 3-clause license.
pygresql
simplejson				MIT License
yaml				 MIT
=========tarball============
lockfile		OSI Approved :: MIT License
paramiko		LGPL
psi				MIT
pychecker		BSD-like
unittest2		OSI Approved :: BSD License
pycrypto		Public domain
Will update the wiki page to tell user how to install these python modules properly.
Already ran sanity and mutilnodeparallel tests for the changes.

+1

+1

@hsyuan helped me work out a workaround on OSX.
If you are using OSX, this is a quick workaround we tried to get it working again:
brew install postgresql
sudo easy_install pip
sudo pip --retries=50 --timeout=300 install pg8000 simplejson unittest2 pycrypto pygresql pyyaml lockfile paramiko psi
sudo pip --retries=50 --timeout=300 install http://darcs.idyll.org/~t/projects/figleaf-0.6.1.tar.gz
sudo pip --retries=50 --timeout=300 install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download

Also, update the greenplum_path.sh to remove the $GPHOME/ext/python/bin so that default python can be used instead of the one come with hawq.
@radarwave since we no-longer depends on the python came with HAWQ, shall we just remote the $GPHOME/ext/python?


Screen; web; cursor visible affects page not canvas

Setting Luxe.screen.cursor.visible = false on web causes the cursor to disappear for the entire page (even outside the game area). A more user-friendly way would be to only have it disappear while the cursor is over the canvas and have it reappear outside the bounds of the canvas.

This behaviour matches parity with the native API's actually. Window events for enter/leave can be used to toggle the state if the application wants that behaviour instead


[improvement](JDBC Catalog)Added Presto connection to Presto/Trino

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.49 seconds
stream load tsv:          429 seconds loaded<PHONE_NUMBER>9 Bytes, about 166 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230506074323_clickbench_pr_139234.html

run buildall


need-for-speed: NewCar is pre-implemented, though exercise descriptions asks to implement it

The function NewCar is asked to get implemented in the first step of the description:
https://github.com/exercism/go/blob/7bb631df3154fcd77d318e64d6d097676603815e/exercises/concept/need-for-speed/.docs/instructions.md?plain=1#L11-L20
Though the stub file contains the function already filled in:
https://github.com/exercism/go/blob/7bb631df3154fcd77d318e64d6d097676603815e/exercises/concept/need-for-speed/need_for_speed.go#L11-L18

Agreed. There is no good reason for this to be pre-defined and somewhat ruins half of this exercise whose purpose is to teach about structs.


Add Test upload build to Firebase workflows

Why
We only validate newly added features/chores/bugs via test upload build to TestFlight. We should update deploying to Firebase workflow and create a test upload build to Firebase to validate them. Because unexpected or weird behaviors may occur, and features/chores may not work in the staging environment while deploying to Firebase.
Acceptance Criteria

Download and update GoogleService-Info.plist files from Firebase Console
Create Test upload staging build to Firebase and Test upload production build to Firebase

Who Benefits?
Developers

@ducbm051291 You should raise and discuss with the chapter before implementing. @vnntsu Should be the one who planned for the milestone ;).

@ducbm051291 You should raise and discuss with the chapter before implementing. @vnntsu Should be the one who planned for the milestone ;).

Ok understood. I have discussed this with @vnntsu before creating this

@ducbm051291 @suho This seems reasonable regarding the need to validate a build with Firebase uploading. However, it's already uploaded the Production build to AppStore, this should be only Staging for Firebase.
As discussed with @ducbm051291, I believe we're lacking Staging build to validate something like #465. It requires that the new feature should be worked on both Staging and Production.
cc: @nimblehq/ios-chapter


1.0.0

This plugin has been used by an number of users e.g. https://github.com/fluent/fluentd-kubernetes-daemonset
It seems to be mostly stable so I am considering cutting a 1.0 branch and cleaning up a little of the backwards compatibility code e.g. https://github.com/reevoo/fluent-plugin-systemd/blob/master/lib/fluent/plugin/systemd/pos_writer.rb#L62
If there are any other issues/features that I need to look at before then please mention them now as I plan to favour stability over features once this goes 1.0
TIMELINE:

[x] Cut a 1.0.0 branch (March 2018)
[x] Replace reevoocop with rubocop
[x] Ensure tests are run against latest fluentd/systemd
[x] Clean up deprecated config options and migration code (March - April 2018)
[x] Do some pre-release versions (April - May 2018)
[ ] Release 1.0.0 (by end of May 2018)

@errm,
I have noticed several instances where people are copying and pasting the example plugin configuration from the README.md as a starting point for configuration. I didn't really account for that when creating the somewhat arbitrary example field_map. I created the example to try and cover all the functionality of the mutator, but it's not very practical for real-world use. Do you think it's worth addressing that in the documentation before the 1.0 release?
Two possible solutions:

Try to construct a more practical example field_map that still illustrates all major functionality of the mutator
Remove the field_map entry config from the main config example and expand the documentation to cover the field_map further down the readme. I assume, but could be wrong, that the lowercasing and underscore stripping alone would be sufficient in the main example for the majority of "getting started" use cases.


Controllable mod bricked my xbox360 controller (across all my devices)

I was testing my wired xbox360 controllers and while strip mining, the big x suddenly stopped shining and it kept on "mining". Disconnected and shown a prompt in-game, now when I tried reconnecting it, no longer works anymore! Reconnecting it again and windows tells me that the device is not recognized anymore. Great. And not only did it affect my laptop, but it doesn't seem to be working anymore across all of my devices. The mod had completely bricked my controller and until no solutions have been found, I may have to buy another one. Until this issue of bricking controllers have been fixed, won't be using and recommending this mod to anyone.

Update 2: I've tried updating the drivers and reintalling it, now the system just doesn't recognize it.

Assuming that's even possible, it would had to have been a problem with GLFW, so why not bring it up with them?

Sorry that this has happened to your controller, however this doesn't sound like an issue with Controllable. I would need much lower level access to brick a controller. Generally the only way to really brick a controller would be disconnecting a controller during a firmware update or actually frying it with a power surge. My best guess is this is simply a driver issue but I don't have enough information yet.
When you say "system just doesn't recognize it" do you mean it doesn't show up in Device Manager on your laptop (assuming that's your main system)? If it doesn't, does it show up on other computers? Is this also the case for different USB ports? Do note that it might not be listed in "Sound, video and game controllers" so make sure you check the other categories.
If the device does show in Device Manager, perform a clean installation of the device and drivers. Uninstall the device and the drivers in Device Manager (you may need to tick a box after clicking 'Uninstall Device' to also uninstall the drivers). After unplugging and plugging the device back in, Windows should automatically install the drivers for the controller.
Assuming you have an Xbox 360 because you have the controller, can you verify that it's detected by and still works on the console?
If you have any other information, let me know as I hope to get this resolved for you (even though it's unlikely a controllable issue).

So I've decided to come back here again, and up to this day, my xbox controller still doesn't work, but I've come up with a conclusion that it might've not been Controllable's fault. The same thing happened earlier with my mech keyboard, only to find out it was a most likely faulty usb port. So I've decided to close this until further notice.


Broker refactor

sweat! thanks Mike

Coverage increased (+27.7%) to 84.81% when pulling 6369451a2fc33b7a31475defee775b43ef33392b on broker-refactor into dfa66932a882f38c5d172ee3d5e28871806f3ad1 on develop.

Thanks James! While the Portfolio, Position, PositionHandler and Transaction classes are now tested, there is no actual SimulatedBroker class as of yet. There is only an abstract base class for broker.py. I'll be adding a fleshed out Interactive Brokers cash account simulated broker class shortly.
This is a basic "long-only" account that can be used to test Broker-wide PnL aggregation, before getting into the more complex case of Reg T margin accounts and Portfolio Margin accounts.

Coverage increased (+42.9%) to 100.0% when pulling a8c88f4d9ccefa1da84a0343b6fc2f91aabd082c on broker-refactor into dfa66932a882f38c5d172ee3d5e28871806f3ad1 on develop.