How to enable auto-complete and searching?

I can't docs or an example that shows how to enable searching or auto-complete of the treeview?

This feature is currently not supported. You'll see in the readme that autocomplete functionality in under the Todo section.
I'll leave this open as an issue to track it. Pull requests are welcome as I haven't had much time to spend on this as of late.

+1

Is there any progress on that feature?

wondering the same thing. dealing with long lists and not having autocomplete makes this a tougher sell.

I do agree. Sorry I haven't had the time I'd like to add some more functionality to this. Pull requests are always welcome.
Otherwise I'm hoping to get to it early next year as we may need it where I work.
On Thu, Nov 5, 2015 at 4:21 AM, Cory Dorning<EMAIL_ADDRESS>wrote:

wondering the same thing. dealing with long lists and not having autocomplete makes this a tougher sell.
Reply to this email directly or view it on GitHub:
https://github.com/lukemurray/NgHierarchicalSelector/issues/9#issuecomment-153797814


bring 1.20 features to 1.19.2

by features i mean upgrades and crafting, tried to do it myself but couldnt do it
would be forever grateful

Oh. I only just realized that my mod favorite versions are 1.20+ and 1.19.2 :)
Alright. I will port in next week.

2023.7.1

Backport from 1.20+ to 1.19.2

https://modrinth.com/mod/yacg/version/zvo1Dk6Y


Dimension mismatch error in bertU

While running UNITER with bert, I am encountering this dimension error. I am not sure but it seems to me that it is happening because the input is not getting truncated in the entryU.py file like it is getting in entry files of other models.
Traceback (most recent call last):
File "hm.py", line 392, in
main()
File "hm.py", line 359, in main
hm.train(hm.train_tuple, hm.valid_tuple)
File "hm.py", line 186, in train
logit = self.model(sent, (feats, boxes))
File "/home/samyakxd/miniconda3/envs/vilio_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/scratch/samyakxd/vilio/entryU.py", line 200, in forward
seq_out, pooled_output = self.model(input_ids.cuda(), None, img_feats.cuda(), img_pos_feats.cuda(), attn_masks.cuda(), gather_index=gather_index.cuda())
File "/home/samyakxd/miniconda3/envs/vilio_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/scratch/samyakxd/vilio/src/vilio/modeling_bertU.py", line 416, in forward
gather_index, txt_type_ids, img_type_ids)
File "/scratch/samyakxd/vilio/src/vilio/modeling_bertU.py", line 360, in _compute_img_txt_embeddings
input_ids, position_ids, txt_type_ids)
File "/scratch/samyakxd/vilio/src/vilio/modeling_bertU.py", line 330, in _compute_txt_embeddings
output = self.embeddings(input_ids, position_ids, txt_type_ids)
File "/home/samyakxd/miniconda3/envs/vilio_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/scratch/samyakxd/vilio/src/vilio/modeling_bertU.py", line 257, in forward
embeddings = inputs_embeds + position_embeddings + token_type_embeddings
RuntimeError: The size of tensor a (557) must match the size of tensor b (512) at non-singleton dimension 1

It seems like you are right indeed - Does it work correctly for other examples?
If yes, you may need to truncate all your texts to 512 tokens (either by adding it in the code or doing it ahead of time)~

Yes it does. I did truncate the input and it seems to be working now.


Murlocs should be attacking this camp, as in the vJASS version

Closed by https://github.com/AzerothWarsLR/WarcraftLegacies/commit/37fd5936b1329ac453399fa6a2366370973a2909.


Msal-react docs updates

Consolidating community contributions #2960 and #2961 so we can close on the comments and merge
Also adds clarification of react context in FAQ

Coverage increased (+10.001%) to 92.708% when pulling f8d9296a2371a7d58bffcadb8f38abecfb1a4a0b on msal-react-docs-updates into 0e0dd8f1270f4bd3d5687bab6a834fd33453d3f3 on dev.

LGTM. Does the change files need to be updated with your name/email/PR info?

No I think it's fine. Since it's change type none it won't show up in the changelog/release notes


Reduce use of void* in generated native wrapper functions

There's actually no real reason to use void* in native wrapper function return values and parameters. For example, the first argument to every native wrapper function is void* self, but there's no reason why this can't just be UObject* self, sizeof(void*) == sizeof(UObject*) anyway, which is all that matters. Likewise with any other pointer parameters or return values, getting rid of the void* means a few extra casts can be eliminated too.

And maybe they interfere with UE4.9.
Got an error in KismetSystemLibrary.klawr.h
Error	41	error C2440: 'static_cast' : cannot convert from 'void *' to 'TAssetSubclassOf'	c:\github\unrealengine\engine\plugins\klawr\klawrruntimeplugin\intermediate\build\win64\ue4editor\inc\klawrruntimeplugin\KismetSystemLibrary.klawr.h	734	1	UE4
static_cast<TAssetSubclassOf>(Value),
(Error occured with the last commit on my develop/editorNode branch and 4.9 release source)
Tried (but did not succeed) to find changes which affect the function in kismetsystemlibrary.cpp or the template in assetptr.h.

That sounds like a different issue altogether, could you create a new issue? I'll try updating to 4.9 tonight.


Fix bug during IR generation of a signed access

Fixes rdar://105176187

@swift-ci test and merge


Files are not hidden on graph view

Plugin Version
1.1.1
Obsidian Version
1.3.4
Affected Platforms
Windows
Expected Behaviour
When hiding a file or folder, I should not expect to see it or any subfolders in the graph view.
Actual Behaviour
The plugin does not affect the graph view at all.
Steps to Reproduce

Hide a file/folder
Open graph view
Filter for file or folder path

path:folderpath
file:filename

See it exist in graph view

This is the intended behaviour. The plugin is not meant to, and doesn't attempt to, affect the graph view.

The biggest reasoning, is because that isn't something that I think this plugin should be responsible for. (It already injects itself into some of the UI from Obsidian, and I'd prefer to minimize that impact)
The plugin is scoped to hide files from the file directory tab, not remove them from Obsidian's UI entirely (the plugin also doesn't do: search results, file list when linking to files, etc.).
I may change my mind on the scoping at some point, but for now graph view is considered out-of-scope.

Ok, thank you for the comment.

@johnsbuck - If you're still wanting this to happen, I just remembered about a huge part of why I didn't include that functionality in File Hider by default, there's that functionality in Obsidian already under the "Excluded Files" setting.


Unable to import module in Automation account

After I add the module inside the Azure automation account, it says importing for a few minutes and fails with this error.
Error importing the module AzureAutomation-Account-Modules-Update-master. Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: Cannot import the module of name AzureAutomation-Account-Modules-Update-master, as the module structure was invalid.
Please check.

I'm assuming you are trying to import the content of this repository into Azure Automation as a PowerShell module. This is not intended to work, as this code has never been packaged as a module. This should be technically possible, but not without making changes to the source code.
The primary way to use this code is to import the Update-AutomationAzureModulesForAccount.ps1 file into your Automation account as a PowerShell runbook, and then invoke it like any other runbook.
You can also invoke it as a stand-alone script that can be executed from any machine outside of Azure Automation.


responses from racing gateways should error out immediately, warn user they should consider removing the gateway

We should do this & demo this. Users need to know front & center if a gateway ever provides an invalid response. on the HTTP gateway, this should be a rendered HTML template with advice that says "you should consider removing X from the list of gateways you fetch content" and provide a link to instructions for editing their config

You mean an invalid 200 response? You can get transient 5XX with some html content ("OpenResty error" or similar) from eg. dweb.link when it's overloaded, but it's not a reason to fully ban it.

Yeah, I started playing with this, and there are just too many situations where the hash won't match for this to be a tenable solution. Closing as not-doing


As a user I want to be able to access my own timeline to see my cheeps

Sometimes you cannot see your own user timeline when logged in. Seemingly this only occurs when a user is created with GitHub, although I cannot confirm this 100%

[ ] Be able to access your own timeline when logged in

Have reset the DB to see if migrations were the culprit, and have not been able to reproduce since.


Migrate Tuya's PowerOnState attribute to start_up_on_off OnOff cluster attribute

Now that @dmulcahey has added support for configuring from HA the power on state of ZHA devices, I've realized that the implementation followed with Tuya devices is not ideal.
In Tuya devices, the power_on_state (id: 0x8002) attribute has been added to manage this property instead of using the start_up_on_off (id: 0x4003) attribute, but if the standard Zigbee property is used, we can take advantage of the implementation made to also control those Tuya devices from HA without any extra coding.
I am in favor of quirks implementing standard Zigbee attributes/functionalities whenever possible, and for me this is a clear candidate to improve the implementation.
However, there are some aspects to review before tackling the task:

There is no match between the Tuya attribute values and Zigbee attribute:

Status
Zigbee
Tuya

Off
0x00
0x00

On
0x01
0x01

Toggle
0x02
don't exists

PreviousValue
0xFF
0x02

In Tuya's MCU devices this attribute is just a quirk attribute (fake) to read and set the value, but I am not sure about the behavior in Tuya's (real) Zigbee devices. There is a real 0x8002 attribute in these devices?

In function of the answer to point 2. I see two approachs:
a. remove the power_on_state (id: 0x8002) attribute and make use of a wrapper class to 'translate' values (¿?)
b. overwritte the read/write start_up_on_off (id: 0x4003) attribute to make use of (and translate) the get/set power_on_state (id: 0x8002)
Any comment or help on this is welcome.
I can take care of the implementation and I can test with some MCU type devices that I have, but I think that the solution for the Tuya Zigbee devices can condition the implementation of the MCUs.
References:

https://github.com/home-assistant/core/pull/70110
https://github.com/zigpy/zigpy/blob/cab1032f7e8315682dcbaf4906bc644a3f99b4ee/zigpy/zcl/clusters/general.py#L606-L610
https://github.com/zigpy/zha-device-handlers/blob/0163c7ca3dff3508544bca0d57b57d0156342c80/zhaquirks/tuya/__init__.py#L841-L846

Also, in devices with multiple switches, is possible to keep diferents behaviors in every switch? What is the behavior on these devices when setting the attribute on different switches?
On MCU devices the behavior can be managed for all switches at once, but not differently on each endpoint/switch.

Great thinking @javicalle  !!
Is it possible "tagging" the attribute as manufacture attribute and ZHA is not using the normal variables and is using it from the manufacture code is linked 2  instead ?
Also many tuya "normal Zigbee device" is not  needing any quirk so its not working for them so perhaps need one logic with manufacture number red from the device for using the tuya ones ?

I'm thinking in all those devices using the TuyaZBOnOffAttributeCluster. There are switches, plugs,... not sure if all them are having the power_on_state functional.
Yes, it's possible to made use of any manufacturer attribute, but if you want to configure it in from the HA UI, must be implemented. You need to configure the attribute and a select options for all possible values. I'm looking at the implemented ones, but it's away from my knowledge for now.
These features are starting to be implemented in HA (🎉 thanks David!), but I don't think we should try to implement non-standard attributes for now.

The LIDL 3AC  4USB we have implanting the attribute on all EPs but i have not  testing is its working OK (only working on old firmware then we have not fixing casting the magic spell on the new firmware) but i cant testing it then i have working over 12 hours and need sleeping.
https://github.com/zigpy/zha-device-handlers/blob/0163c7ca3dff3508544bca0d57b57d0156342c80/zhaquirks/tuya/ts011f_plug.py#L154

I wasn't aware that my LIDL multi socket is one 3AC 4USB device 😓
I have performed some tests and attribute power_on_state (id: 0x8002) from any endpoint manages all devices behaviour. Value is updated for all endpoints.
I believe that this allows to easily quirk the start_up_on_off (id: 0x4003) attribute.
I will try to get a version in the weekend.

Do you have one tuya ZBGW then you can updating it and loosing the functionality on EP 2 and 3 and and only EP one is working for all (need tuya magic being casted on it for being "normal" and PR is made for fixing it).

I'm not sure if I want this improvement 😅

The problem is "normal" tuya devices that is not using / needing quirks for getting the "tuya standard Zigbee attributes" without quirking all of them.

Let's take the Plug_3AC_4USB example.
We can use it as a normal Zigbee device. But if we want to make use of any of the manufacturer attributes (child_lock, backlight_mode, power_on_state, switch_mode) we need to configure the quirk for the device, otherwise we could not use these attributes.
If the device uses the standard attributes, it can be controlled in HA. If the attribute uses manufacturer attributes, it will first need a quirk to expose it in HA and then it could be controlled from HA.
If we already have to do the quirk, as long as is possible, let's make it behave like the standard. I understand that this is the objective of the that library, in front of exposing the particularities of each manufacturer.
Surely in the long run it will be necessary to see how those attributes that do not have a counterpart in the standard are managed, but I see it more as the natural evolution of what is done with the standard attributes.
Because, can you imagine how has to be to implement the controls for TRV devices?
But all this is still my personal opinion. I only speak for myself. Each one is free to interpret the needs and priorities that they consider.
And whenever I can, I will help in any way possible.

tuya Zigbee devices is not so bad but they have only certificated some of them also the LIDL 3AC 4 USB is one of them but not the updated firmware !!!
All tuya DP/MCU shall not being converted to Zigbee ZCL commands / attributes then its distorting ZHA and its making the device being very bad implemented.
Best wold being only piping the tuya cluster to one integration in HA that is using the DP for implanting the function in HA together with tuya WiFi device and other that is using DP commands.
I have helping our tuya RTV devs so i knowing how much tuya have making there magic things but in the end all of them have moving on then we was not allowed implanting description on cluster that was custom tagged and other devices have getting own custom code implanted for fixing some extras that the "needing".
For fixing normal tuya devices extra attributes shall not being so large thing only need reading the attributes so they is saved in the zigbee.db and the system is knowing its have them and if they is there with or without manufacture code tagged its possible making the same as the ZCL standard but using one "patched" version.
ZCL standard power on state shall not being configurated in ZHA if its not saved in Zigbee.db with one value that is not non = the device is not supporting it and can having other attributes that is doing  the same / similar function like tuya or Philips HUE devices.

Do you have one tuya ZBGW then you can updating it and loosing the functionality on EP 2 and 3 and and only EP one is working for all (need tuya magic being casted on it for being "normal" and PR is made for fixing it).

I'm not sure if I want this improvement 😅

The problem is "normal" tuya devices that is not using / needing quirks for getting the "tuya standard Zigbee attributes" without quirking all of them.

Let's take the Plug_3AC_4USB example. We can use it as a normal Zigbee device. But if we want to make use of any of the manufacturer attributes (child_lock, backlight_mode, power_on_state, switch_mode) we need to configure the quirk for the device, otherwise we could not use these attributes.
If the device uses the standard attributes, it can be controlled in HA. If the attribute uses manufacturer attributes, it will first need a quirk to expose it in HA and then it could be controlled from HA. If we already have to do the quirk, as long as is possible, let's make it behave like the standard. I understand that this is the objective of the that library, in front of exposing the particularities of each manufacturer.
Surely in the long run it will be necessary to see how those attributes that do not have a counterpart in the standard are managed, but I see it more as the natural evolution of what is done with the standard attributes. Because, can you imagine how has to be to implement the controls for TRV devices?
But all this is still my personal opinion. I only speak for myself. Each one is free to interpret the needs and priorities that they consider. And whenever I can, I will help in any way possible.

We can target manufacturer / model / attribute name together in ZHA. What I would say is this: if it is as easy as extending the entity class in ZHA and overriding the attribute name it probably makes more sense to do it in ZHA. If it would drastically change how the support in ZHA works we should probably quirk the device to make it match the spec if it is functionality that the spec offers. For functionality that isn't even in the spec it probably makes more sense to just do the work in ZHA.
A good example may be the new innovelli switch. We will probably have a ton of innovelli specific configuration entities in ZHA because there is a ton of stuff that isn't part of the spec that the device can be configured to do.
All of this said... we need to evaluate what needs to be done to make this sustainable moving forward. if we follow the approach above things could get unruly very quickly.
@puddly @Adminiuga do either of you have any thoughts?

ZHA-Tools can scanning attributes and if ZHA is getting them and its storing them in zigbee.db so you is having all you need for see is its need some special treatment.
Making Quirks for all known and unknown tuya device is like being Don Quixote.
For router device like light and plugs is only reading the attribute after the device is being paired and you is getting the attributes in zigbee.db and if you is reading the standard ZCL attributes for power on state you is getting none that i hope is not being saved in the DB as one valid state.

Not as simple as I imagine.
I can't overwrite the write_attribue and made it work as I was planning.

We can target manufacturer / model / attribute name together in ZHA. What I would say is this: if it is as easy as extending the entity class in ZHA and overriding the attribute name it probably makes more sense to do it in ZHA

I also prefer this approach.
ZHA was developed with the thought that vendors would stick to the specs and quirks were supposed to address some "minor" incompatibilities.
Well, Tuya buried this idea and I think implementing Tuya in ZHA is more flexible approach in the long run.

As far as I can tell, I haven't found a simple and easy way to (for example) capture the reading of the start_up_on_off attribute and invoke (and translate) the call to the power_on_state attribute to return the proper value.
For my part, I am going to reject the proposal and try to focus it on the idea of exposing in HA the configuration attributes that are convenient.
Although I haven't understood the implementation used yet, I have found some entry about it:

https://github.com/zigpy/zigpy/discussions/934

Thanks to all for your comments and guidance.


modify gluon image_classification for imagenet

make gluon example able to train imagenet
improve symbolic
add std option to recordio_2.cc/recordio.cc

Please rebase to latest master

Thanks for fixing the example, could you also change the print(opt) to logging.info(opt) near line 71?

@piiswrong Could you review again?


Update Gradle and default Jenkins version

This PR upgrades gradle and default jenkins version:

Current gradle version is not compatible with Java 18 (Upgrading to 7.5.1 as per https://docs.gradle.org/current/userguide/compatibility.html fixes the issue)
Current default Jenkins is outdated. Latest version is 2.346.3

Hi @bugfest, thanks for your PR! There are two things that need to be done before we can merge it:

Can you please sign our CLA? https://ableton.github.io/cla/ Alternately, if you really don't want to sign the CLA, I can recreate this PR myself, but you won't be credited in the git history etc.
Can you please add a commit to bump the VERSION file? Bumping the patch version should be enough (ie, to version 0.1.23). This will trigger a new release to be published on Ansible Galaxy when this PR is merged.

Thanks!

@ablbot runci

Hi @nre-ableton, Thanks your your quick review. CLA is signed now. Gonna bump that version file, give me a sec

Hi @bugfest, thanks for your PR! There are two things that need to be done before we can merge it:
1. Can you please sign our CLA? https://ableton.github.io/cla/ Alternately, if you really don't want to sign the CLA, I can recreate this PR myself, but you won't be credited in the git history etc.

2. Can you please add a commit to bump the `VERSION` file? Bumping the patch version should be enough (ie, to version `0.1.23`). This will trigger a new release to be published on Ansible Galaxy when this PR is merged.

Thanks!

(1) & (2) tasks done : )

Hi @bugfest, the code changes look fine but the CLA is not exactly very specific. :smile: Our legal team is currently reviewing it to see if we can merge this PR in spite of that.

Hi @Bugfest,
Sorry about the delay. I have heard back from our legal team, and unfortunately, we are not able to accept this CLA because it needs to have a legal name and address.
However, I have confirmed with our legal team that all personal data we receive in CLAs is protected under our privacy policy and hence the GDPR (since Ableton is based in Berlin, Germany). In other words, this data is not given to third-parties, nor is it used for marketing or any other purposes other than allow us to merge GitHub PRs.
This is not explicitly stated in the CLA because the privacy policy covers Ableton's "users", which includes people that sign CLAs (since they have entered a legal agreement with the company, similar to users of our software). However, after these discussions, our legal team will update the CLA to make the privacy aspect explicit.
I'm sorry to be a bother, but could you please re-sign the CLA?
If you don't want to sign the CLA, then we can prepare a PR to the Jenkins/Gradle versions, since this is something quite trivial and something we'd normally do. However, your other PR would unfortunately be harder for us to accept.

Hi @nre-ableton, thanks for the information; it indeed aliviated my privacy concerns. You should have a new CLA in place already - hope it unblocks both (and future!) PRs

@bugfest I just saw the new CLA, thank you very much for this. :+1:
Now, let's get back to business. The PR looks fine, it just needs to be rebased and fix the conflict with the VERSION file. I'll take care of this myself, sorry for the force-push.

Bah, the CI error is again the fault of our Jenkins instance, not being able to build external PR branches. However, I just built these commands with my own branch and they are fine.

Thanks @nre-ableton !


Inputting a single key address as "use this multisig" crashes the page

Looks like it fails on looping through the array of addresses and needs an error catch.
Would be great if this error could be thrown at input already: "This is not a valid multisig address" or something.

isMultisigThresholdPubkey from @cosmjs/amino can be used to check if a given pubkey is a multisig pubkey.


Api600 support for OS Deployment Plans

Description
Api600 support for OS Deployment Plans
Check List

[X] New functionality includes testing.

[X] All tests pass ($ rake test).

[X] New functionality has been documented in the README if applicable.

[X] New functionality has been thoroughly documented in the examples (please include helpful comments).

[X] New endpoints supported are updated in the endpoints-support.md file.
[X] Changes are documented in the CHANGELOG.

Also, please edit https://github.com/HewlettPackard/oneview-sdk-ruby/blob/api600_os_deployment_plans/lib/oneview-sdk/resource/api600/synergy/os_deployment_plan.rb to make it compliance with API600


Handle forks and rollbacks

@NicolasDP once Multiverse – dApp Rollback Handler, it should help us with handling few blocks long divergent forks on the ingress, and we will have to only push some "oops that has been an error" messages to our consumers letting them handle it themselves, in their application logic, correct?


How safe is putting user password in user object

How safe is putting user password in user object.
Is there a validation happens when call getUserSession? so if client-side changed it will fail?
What is the purpose of NUXT_SESSION_PASSWORD? validate client data when reach the server?
Why in the example password is saved in the session?
https://github.com/atinux/nuxt-auth-utils/blob/23ccd4c1ea62043ec2f25d7bf61d1e57389b7dbb/playground/server/api/login.post.ts#L10-L15

Never put your user password in the session, I has to hashed and put in database and never sent back.
rhe NUXT_SESSION_PASSWORD is used for encrypting the cookie and has nothing to do with your user credentials.

what about validation? i can trust that cookie data? i mean in the same way JWT work?

@CorrM Session cookies are encrypted using your NUXT_SESSION_PASSWORD and client cannot see, change the data or create another without the NUXT_SESSION_PASSWORD. It works like JWT , the difference is JWT are not encrypted any one can view the data while but sealed session cookie are encrypted.
Is is based on IronSession's implementation which is inspired by Ruby on Rails. You can read more about it.
https://github.com/vvo/iron-session
https://guides.rubyonrails.org/security.html#session-storage

@CorrM Yes, you can trust cookie data. Cookie session are encrypted using NUXT_SESSION_PASSWORD  so any one cannot view, edit or create the token without NUXT_SESSION_PASSWORD. It works like JWTs but difference is JWTs are not encrypted so anyone can view the data stored inside JWTs.

Thanks, guys all my questions are answered.
maybe add that into FAQ section or something like that would be nice


[CMS-553] Add pending packages from composer require and require-dev sections.

After copying regular modules, themes and libraries, conversion:composer now compares original and actual composer.json and adds the missing packages both in require and require-dev sections.
Also, copy extra configuration for some well-known plugins (installer-extenders, installers and composer-patches).
I also added a couple of notices when this process finishes.

As part of the errors I found a composer error adding packages from the source repo that failed but that error was catched and logged as expected by the new code. The current actual errors seem to be platform related. Re-testing

I think this would be the final run with tests: https://github.com/pantheon-systems/terminus-conversion-tools-plugin/actions/runs/1831269094


[Question] It takes too much time for the first token to be returned after a reqeust issued.

❓ General Questions
Hi guys,
I got a finetuned Llava model run on the device with MLC-LLM.
MLCChat generated text as expected, but what perplexed me was
that it took too much time for the first token (more than 20 sec for Galaxy S24),
so the app got stuck.
Do you have any idea of disproportionately long first token generation time and how to alleviate it?
Best,

What platform are you running MLCChat on? Android IOS or python?

What platform are you running MLCChat on? Android IOS or python?

Android (Galaxy 24)

I think it may be that the speed of the APP is fast. However, the model was not loaded when the APP opened. So try waiting 30 seconds or a minute before chatting. If I get an immediate response this time, I think that's the problem. If you still need to wait a long time, it may not be the reason for the long time to load the model.

@panghongtao I noticed that sometimes the UI is lagged (also on Galaxy S24) when the following function is called to generate tokens.
engine.chat.completions.create()

Although it was executed in the background thread with executorService.submit(), the UI is still freezing for several seconds sometimes. Do you have any idea for improvement?

@dkjung Hello, may I asked which pretrained model did you use to fine-tune LLaVA before compiling it using MLC? Is it llava-hf/llava-1.5-7b-hf or liuhaotian/llava-v1.5-7b?
Thank you so much!


Publishing to pypi?

Hi,
do you plan on publishing urdf2casadi to the Python Package Index (www.pypi.org)?
That would be great, because currently, it is not possible to use it as a dependency in other pypi packages.

Hi,
Good idea!
I can look into it when I get back in the office after the holidays.

Finally got around to publishing the package to PyPi.
Please have a look and see if it works as desired.

Nice. I worked on your package as well today.
I worked on it as well. I added poetry as a possible package manager. This allows you to very much simplify pushing to pypi.
You can have a look at it within the next hour.

Was this the PR? https://github.com/mahaarbo/urdf2casadi/pull/17

Yeah, but for some reason the workflow does not work anymore. So, I'll fix it before reopening the PR again.

I've published the new package to PyPi: pypi/1.2.0, but somehow the poetry built version didn't include the Readme. Do you have any experience with poetry and pypi?

I have added a pull request to fix that (and some other minor poetry-related issues)
Essentially, you have to specify the readme in the pyproject.toml file.


v100 32g 无法推理, torch.cuda.OutOfMemoryError

import torch
from transformers import AutoModel, AutoTokenizer

torch.set_grad_enabled(False)

# init model and tokenizer
# model = AutoModel.from_pretrained('internlm/internlm-xcomposer2-vl-7b', trust_remote_code=True).half().eval()
model = AutoModel.from_pretrained('internlm/internlm-xcomposer2-vl-7b', device_map='cuda', trust_remote_code=True).half().eval()
tokenizer = AutoTokenizer.from_pretrained('internlm/internlm-xcomposer2-vl-7b', trust_remote_code=True)

text = '<ImageHere>Please describe this image in detail.'
image = 'examples/image1.webp'
with torch.cuda.amp.autocast():
  response, _ = model.chat(tokenizer, query=text, image=image, history=[], do_sample=False)
print(response)
#The image features a quote by Oscar Wilde, "Live life with no excuses, travel with no regret,"
# set against a backdrop of a breathtaking sunset. The sky is painted in hues of pink and orange,
# creating a serene atmosphere. Two silhouetted figures stand on a cliff, overlooking the horizon.
# They appear to be hiking or exploring, embodying the essence of the quote.
# The overall scene conveys a sense of adventure and freedom, encouraging viewers to embrace life without hesitation or regrets.

产生报错：
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 16.00 MiB (GPU 0; 31.74 GiB total capacity; 31.25 GiB already allocated; 11.38 MiB free; 31.37 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

我想知道，正常需要多大的显存才能跑动？

你的代码看上去不是最新的，可以试试最新的 example_chat.py, 20G 应该够了

你的代码看上去不是最新的，可以试试最新的 example_chat.py, 20G 应该够了

谢谢，确实成功运行了。


[HOLD for payment 2024-08-13] [$250] Context menu - Unable to add reaction by Enter key/navigate from first option to last by up key

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.86-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4647677
Issue reported by: Applause - Internal Team
Action Performed:

Log in to New Expensify
Navigate to any chat
Right click on any message
Press Tab key
Press Enter
Press down arrow key
Press up arrow key

Expected Result:
In step 5., The highlighted emoji should be added as reaction to the message (works well for hover menu)
In step 7., User should be able to navigate from first highlighted option to the last one using arrow keys
Actual Result:
Step 5. Nothing happens user is unable to add reaction or open emoji picker using Enter key in context menu.
Step 7. Option does not change, user is unable to navigate from first option to last by up arrow key and from last to first by down arrow key
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/4a76d21b-ab4a-497d-9c21-9730e9373cd1
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f3361b27929e9c6b
Upwork Job ID:<PHONE_NUMBER>991815674
Last Price Increase: 2024-07-23
Automatic offers:

dukenv0307 | Contributor | 102900677
Krishna2323 | Contributor | 103280879

Issue OwnerCurrent Issue Owner: @abekkala

@abekkala  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

The cyclic traversal is being discussed here

@DylanDylann can you review the proposal above?

I have low bandwidth now, please re-assign this issue to another C+

thank you @dukenv0307

on HOLD

@francoisl assigning to you since you reviewed the PR.

PAYMENT SUMMARY FOR AUG 13, if no regressions

Fix: @Krishna2323  [$250] offer
PR Review: @dukenv0307 [$250] offer

@Krishna2323 and @dukenv0307 payment sent and contract ended - thank you! 🎉


[Bug] Color of custom icons in Callout component

Describe the Bug
When a user adds a custom icon to the Callout component, it does not adapt to the color of the Callout component itself.
Information to Reproduce
<Callout intent="success" icon="fa-regular fa-lightbulb"> If you’re using a framework like Langchain, Haystack or LlamaIndex - no need to do anything! OpenLLMetry will automatically detect the framework and annotate your traces. </Callout>

This will render:

CLI Version
0.20.0

Hi @mgregerson, Could I take this issue up ?

@chdeskur have you found yourself wanting a custom icon in a callout? Would be great for you to confirm this isn't achievable with the product today.


Question: Is this action limited to revisions on the default branch only?

Hi there.
The README states: The action is supported by an [API endpoint](https://docs.github.com/rest/dependency-graph/dependency-review) that diffs the dependencies between any two revisions on your default branch..
This seems to indicate that the review only works if the two revisions (commits) are available on the default branch?
However, reading the API docs for the endpoint used, https://docs.github.com/en/rest/dependency-graph/dependency-review?apiVersion=2022-11-28#get-a-diff-of-the-dependencies-between-commits, there is no mention of this "restriction". It merely states Gets the diff of the dependency changes between two commits of a repository....
Testing the API as well with commits that are not on the default branch seems to work as expected, when the dependency submission API has been used to submit snapshots of those commits to that repo.
Is this then incorrect information in the README or does the action itself impose this restriction that the commits have to be on the default branch specifically?
Thanks in advance, Andreas

Hi @andreas-borglin - that's correct, this action only reviews diffs between commits to the default branch, because it also relies on data that's only in the dependency graph for the repo, which is only created for the default branch.
Thanks for using the action!

Hi again.
Sorry but this doesn't seem quite right to me. The dependency submission API  allows for dependency information to be submitted for any git reference, and from that, the dependency review API can then be used to get a diff of the dependencies between any two submitted snapshots associated with any git refs in the repo. This is described in the GitHub docs and can be easily verified via the APIs. There is no dependency on the default branch for the APIs.
This action uses the latter API as per https://github.com/actions/dependency-review-action/blob/main/src/dependency-graph.ts#L28-L35.
Hence, if dependency snapshots have been submitted via the dependency submission API for any target branch, and for any source branch with a PR targeting the target branch, then this action does work as expected. We have tested this action fairly extensively now with non-default branches and it works as we'd expect.
But yes, if the dependency submission API is not used, then this would only work against the default branch as that is the only branch that is reported to the graph automatically via dependabot. However the README does not make this clear.
Thanks, Andreas


Warn when using custom components

Description:
Custom components are making the system unstable and people will blame that incorrectly on us. We have added it to the issue template but people don't read 😢
This will print a warning in the logs when people are using custom components.
Related issue (if applicable): #15153
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I do agree on the "Custom components are making the system unstable and people will blame that incorrectly on us", which happens.
The error message does not explain this:

You are using a custom component for toon. Stop using it if you are experiencing issues.

Suggestion:

You are using a custom component for toon which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

This is telling the same thing.
Shorter:

You are using a custom and untested component for toon which. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

I'll stick to your shorter version Frenck


README image for FEDOT workflow updated

The image is actualized according to @hemangjoshi37a comments.

concept-fedot.zip
Исходник на всякий случай.

@nicl-nno thanks for the mention and update. Please let me know how can I contribute to this project in any way. Or any projects that are related to this repository.


covert the raw .bin file into .ply file

Hi, is there any script to covert the raw .bin files into .ply files. I tried to load the .bin files, but got a bunch of binary codes.

Hi, is there any script to covert the raw .bin files into .ply files. I tried to load the .bin files, but got a bunch of binary codes.

I wrote the code to convert the .bin file into float32, hope it could help someone who needs this:
def read_binary_point_cloud(bin_file_path):     points = []     with open(bin_file_path, 'rb') as bin_file:         data = bin_file.read()         total_points = struct.unpack('f', data[:4])[0]         start = 4         for i in range(int(total_points)):             try:                 point_data = struct.unpack('fff fff fff ff', data[start:start+4*11])                 start += 4*11                 points.append(list(point_data))             except:                 print('error')     return points


Delete branch 1.x

Branch 1.x is pre-ASF and is not maintained. Now is the perfect time for a cleanup

done


Standardize aliases, use GetServiceHostName

Changes

🧹 Utilizes GetServiceHostName from pkg, removes local getClusterLocalDomain function

/kind cleanup

Fixes #34

/kind enhancement

/ok-to-test

@AngeloDanducci if you don't have the component running, these changes haven't been tested locally - please do that first.


Increasing packet in recv-q that received real-time messages from server-side

Expected behavior
Actual behavior
The problem is that unexpectedly at client-side , increasing packet in recv-q that received real-time messages from server-side.But client-side canot receive any message, it seem like hang state. my run env: 20 send threads and 5 receive threads
Steps to reproduce
public NettyClient(Integer threadNum) {
        if (threadNum == null || threadNum < 0) {
            this.group = new NioEventLoopGroup();
        } else {
            this.group = new NioEventLoopGroup(threadNum);
        }
        this.clientBootstrap = new Bootstrap();
        clientBootstrap.group(group).channel(NioSocketChannel.class)
                .option(ChannelOption.SO_KEEPALIVE, true)
                .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 3000)
                .option(ChannelOption.WRITE_BUFFER_WATER_MARK, new WriteBufferWaterMark(128 * 1024, 640 * 1024))
                .handler(new ChannelInitializer() {
                    @Override
                    protected void initChannel(Channel ch) throws Exception {
                        ch.pipeline().addLast(new MessageDecoder());
                        ch.pipeline().addLast(new MessageEncoder());
                    }
                });
    }

public NettyServer(final Broker broker) {
        bossGroup = new NioEventLoopGroup(1);
        workerGroup = new NioEventLoopGroup();
        bootstrap = new ServerBootstrap();
        bootstrap.group(bossGroup, workerGroup).channel(NioServerSocketChannel.class)
                .option(ChannelOption.SO_BACKLOG, 128)
                .option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT)
                .childOption(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT)
                .childOption(ChannelOption.SO_KEEPALIVE, true)
                .childOption(ChannelOption.SO_RCVBUF, 256 * 1024)
                .childHandler(new ChannelInitializer<SocketChannel>() {
                    @Override
                    protected void initChannel(SocketChannel ch) throws Exception {
                        ch.pipeline().addLast(new MessageDecoder());
                        ch.pipeline().addLast(new MessageEncoder());
                        ch.pipeline().addLast(new MessageHandler());
                    }
                });
    }

Minimal yet complete reproducer code (or URL to code)
Netty version
netty-4.1.6.Final
JVM version (e.g. java -version)
jdk7
OS version (e.g. uname -a)
macos 10.12

Can you provide a complete and minimal code reproducer? What does lsof -Tsfq -P -n -p <pid> look like for the FD in question on the client & server side?


Use aria2c as the download if available (#534)

Use aria2c as HTTP/HTTPS downloader if it is available. This should solve #534.

rbenv/ruby-build#904 has been merged!


jake runtests doesn't rebuild files

Steps

jake clean
jake runtests lint=false t=getEdits: passes
Add Debug.assert(2 + 2 === 5) at the top of getEditsForFileRename.
jake runtests lint=false t=getEdits

Expected behavior:
Tests fail.
Actual behavior:
Tests pass. Running jake clean then jake runtests lint=false t=getEdits again causes them to fail.
@RyanCavanaugh Is this fixed by #24938?

Looks like I can't reproduce this any more. Thanks @RyanCavanaugh


added A-star path finding algorithm in the projects

This is my project where we can visualize the A-star path finding algorithm

Wow, amazing code!

Wow, amazing code!

Thanks :) @bhaveshlohana


SHOW RANGE FOR ROW

Fixes #5534.

New diagram for SHOW RANGE FOR ROW
New doc page for SHOW RANGE FOR ROW
ToC and SHOW RANGES references to SHOW RANGE FOR ROW page

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/01fd91b4a716d54d61c10630dced3318004b3335/
Edited pages:

v19.2/show-range-for-row.md
v19.2/show-ranges.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f8676d706e467dd77666ee178c3eb546b859e15b/
Edited pages:

v19.2/experimental-features.md
v19.2/show-range-for-row.md
v19.2/show-ranges.md


Fix certPath in assetTransfer.go

Following the latest tutorial, the current version of network.sh does not generate cert.pem as filename under msp/signcerts but instead created<EMAIL_ADDRESS>I have edited the application file to reflect such difference.

The problem is that test-network with crytpgen puts the cert in<EMAIL_ADDRESS>while test-network with fabric-ca puts the cert in /signcerts/cert.pem. This is unfortunate. Most of the tests use test-network with fabric-ca so I don't think we'll want to make the change as initially proposed here.
I think the solution is to make the applications work regardless of the cert file name. The apps do this for the keystore directory but not the signcerts or tls ca directories.
See the example at:
https://github.com/hyperledger/fabric-samples/blob/main/asset-transfer-basic/application-gateway-go/assetTransfer.go#L31-L33
The apps use the first file found in the keystore directory. I think it should do this for signcerts and tls ca directories as well, so that the approach is consistent, and will work regardless of the cert file names.
If you want to contribute this change that would be great. Otherwise we can open an issue for the backlog to do this across all the app samples.
But let's make sure the author @bestbeforetoday agrees with the approach.

I'm not clear what the conditions are whereby the certificate has a different filename from the one currently used by the code. The repository tests seem to be passing with the current code, and this PR build is failing because the modified filename does not exist.
If there are cases where the certificate filename can be different and the certificate directory will only hold one certificate file (as with the private key filename), picking the first file in the directory (again, as we do with the private key file, and as suggested by @denyeart above) sounds like a good approach to me.

@bestbeforetoday See my first paragraph above. Basically it comes down to whether the certificate was created by cryptogen versus fabric-ca.
Regardless, we are in agreement that the solution is to change the samples to read any certificate file in the signcerts directory, rather than reading a hardcoded file name.

Oops, my sloppy reading. Your previous explanation was perfect!
It sounds like whichever is the first file in that directory should be usable. It would be good to break out the logic to read the first file from a directory to a separate function that can be shared by both the signer and identity creation functions.

I raised PR #1183 to address this issue for all the relevant sample applications.


NSFW content is shouldn't show on discover page

would be nice if NSFW Content should'nt showing in to discover page after unmarked NSFW on setting page..

Thank you for your report. This may be due to the uploaded content not being marked as NSFW by the publisher. The NSFW overlay should display correctly over content that has been properly marked as NSFW.


Reorganize scripts and add Travis CI

New NPM scripts semantics:

lint: run eslint
test: run tests
build: compiles all sources, for frontend project, make prod bundles
watch: watch and recompile files
dev: run dev environment

Run these on the root folder will launch task on every modules
Travis is setup for:

npm install & bootstrap
run lint on all projects
run tests on all projects
run build on all projects
on success on master: build the docker image

Left to do: update readmes, push the docker image

Push the docker Image ok
Remains documentation and making the image to work :p


Update Downloads.md

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified commit because branch saraclay-patch-2 has been deleted or has been force pushed: fatal: Could not parse object 'a6088620441b1947ee536531ec240c7c3c5b6ee7'.

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.


Remove redundant F_SETSIG call from process fork

Setting the signal on a file descriptor to SIGIO should be redundant, according to the POSIX specification. Moreover, this system call currently prevents Honggfuzz from running inside a gVisor sandbox.

Thanks!


Add a Toggle Ping/Mention command

Adds a /togglemention command with a /toggleping alias.
Marked as a draft for now, because this should wait to be merged until the storage system is implemented.
Resolves #108

Idk if that is better or worse, but might be easier to understand for server owners.

Idk if that is better or worse, but might be easier to understand for server owners.

I personally think the system you've implemented is better. With mention toggling separated.

I agree, i meant the permission change. Moved from the command permission to the old .block permission


NotImplementedError when using Apple MPS device

Hi, great library!
I have an M1 Macbook and if I try to show a tensor on Apple's "mps" device, I get the following exception:
>>> import torch
>>> import lovely_tensors as lt
>>> lt.monkey_patch()
>>> torch.rand(3)
tensor[3] x∈[0.115, 0.698] μ=0.389 σ=0.293 [0.353, 0.698, 0.115]
>>> torch.rand(3, device="mps")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/malcolm/venvs/mal_vq_vae/lib/python3.10/site-packages/lovely_tensors/patch.py", line 26, in __repr__
    return str(StrProxy(self))
  File "/Users/malcolm/venvs/mal_vq_vae/lib/python3.10/site-packages/lovely_tensors/repr_str.py", line 180, in __repr__
    return to_str(self.t, plain=self.plain, verbose=self.verbose,
  File "/Users/malcolm/venvs/mal_vq_vae/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/Users/malcolm/venvs/mal_vq_vae/lib/python3.10/site-packages/lovely_tensors/repr_str.py", line 137, in to_str
    common = torch_to_str_common(t, color=color)
  File "/Users/malcolm/venvs/mal_vq_vae/lib/python3.10/site-packages/lovely_tensors/repr_str.py", line 70, in torch_to_str_common
    pinf = ansi_color("+Inf!", "red", color) if amax.isposinf() else None
NotImplementedError: The operator 'aten::isposinf.out' is not currently implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on https://github.com/pytorch/pytorch/issues/77764. As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.

M1 support is still a bit patchy as you can see and it looks like you are relying on at least one not-yet-implemented operator. And if you don't have an M1 Mac, this might be hard for you to reproduce. One hacky fix might be to check if a tensor is on the mps device and if so, move a copy over to the cpu before doing the repr logic.

If it's just .isposinf() (and I guess, .isneginf() too), I can copy the result of amax() to CPU before checking for inf, which should not affect performance. Will try to do it tomorrow. But I don't have access to an mps machine, so you might run into other issues after this one is fixed.

I pushed a fix to git. Could you give it a try?
pip install git+https://github.com/xl0/lovely-tensors

Awesome! I'll include it in the next release. Please let me know if you spot any other issues.


@runwith doesn't work with junit

1.only two files:
src
----powermock
--------Employee.java
--------EmployeeTest.java
2.EmployeeTest.java is very simple:
@RunWith(PowerMockRunner.class)
@PrepareForTest(Employee.class)
public class EmployeeTest {
@Test
public void testGetName() {
Employee employee = new Employee();
String name = "luqun";
employee.setName(name);
Assert.assertEquals(name, employee.getName());
}
}

it doesn't work:

in command:
java -Djava.ext.dirs=./lib org.junit.runner.JUnitCore powermock.EmployeeTest
then:
There was 1 failure:

initializationError(powermock.EmployeeTest)
java.lang.ClassNotFoundException: powermock.EmployeeTest
at java.net.URLClassLoader$1.run(Unknown Source)

What version of PowerMock and JUnit are you using?

junit-4.12.jar
mockito-all-1.10.19.jar
powermock-mockito-1.6.2-full.jar

I know why:
in classpath the order is :
powermock**.jar:junit**.jar

Glad you sorted it out.


svd2rust: 0.27.0 -> 0.27.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/rust-embedded/svd2rust/releases.
meta.description for svd2rust is: "Generate Rust register maps (structs) from SVD files"
meta.homepage for svd2rust is: "https://github.com/rust-embedded/svd2rust"
meta.changelog for svd2rust is: "https://github.com/rust-embedded/svd2rust/blob/v0.27.1/CHANGELOG.md"
Updates performed

Rust version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.27.1 with grep in /nix/store/aydzkx1x5rxxjr2xqq2c0f0qch09sagd-svd2rust-0.27.1
found 0.27.1 in filename of file in /nix/store/aydzkx1x5rxxjr2xqq2c0f0qch09sagd-svd2rust-0.27.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
svd2rust

Instructions to test this update (click to expand)

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

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

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

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

Maintainer pings
cc @newAM for testing.

Dupe of #197805


Shinyproxy app images not loading due to unparsed function in image source

Hi all!
Thanks for the big 3.1.0 release, there's a lot of new features we like.
I noticed that upon upgrade a lot of our app images are no longer loading. The HTML contains a function which I think shouldn't be there.

dev (3.1.0)

If I remove the function part of it the image does load.

qa (3.0.x)

Note that the image does work but I cannot show it.

I also noticed the following shinyproxy logs but I'm not sure it's related. I'm thinking maybe a template error occurs which causes the image's function to not be parsed/executed or something.
2024-05-21T12:36:49.720Z  WARN 1 --- [main] o.thymeleaf.templatemode.TemplateMode    : [THYMELEAF][main] Unknown Template Mode 'HTML5'. Must be one of: 'HTML', 'XML', 'TEXT', 'JAVASCRIPT', 'CSS', 'RAW'. Using default Template Mode 'HTML'.

2024-05-21T12:45:25.728Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "navbar :: navbar" found in template index, line 55, col 6. Please use the complete syntax of fragment expressions instead ("~{navbar :: navbar}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.733Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.733Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.752Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.752Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.782Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.782Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.786Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.786Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.791Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.792Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.797Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.797Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.804Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.804Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.807Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 151, col 71. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.807Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 151, col 71. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.888Z  WARN 1 --- [ XNIO-1 task-12] o.t.s.p.StandardIncludeTagProcessor      : [THYMELEAF][XNIO-1 task-12][index] Deprecated attribute {th:include,data-th-include} found in template index, line 162, col 59. Please use {th:insert,data-th-insert} instead, this deprecated attribute will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.888Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "index :: app(${app})" found in template index, line 162, col 59. Please use the complete syntax of fragment expressions instead ("~{index :: app(${app})}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:45:25.982Z  WARN 1 --- [ XNIO-1 task-12] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-12][index] Deprecated unwrapped fragment expression "fragments/modal :: modal" found in template index, line 187, col 6. Please use the complete syntax of fragment expressions instead ("~{fragments/modal :: modal}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:50:16.173Z  WARN 1 --- [ XNIO-1 task-14] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-14][app] Deprecated unwrapped fragment expression "navbar :: navbar" found in template app, line 47, col 7. Please use the complete syntax of fragment expressions instead ("~{navbar :: navbar}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-05-21T12:50:16.177Z  WARN 1 --- [ XNIO-1 task-14] actStandardFragmentInsertionTagProcessor : [THYMELEAF][XNIO-1 task-14][app] Deprecated unwrapped fragment expression "fragments/modal :: modal" found in template app, line 158, col 7. Please use the complete syntax of fragment expressions instead ("~{fragments/modal :: modal}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.

And this is already covered by this ticket: https://github.com/openanalytics/shinyproxy/issues/494

Hi, in order to make the new features possible, the HTML templates are changed. Please make sure to upgrade your templates (see https://github.com/openanalytics/shinyproxy-config-examples/tree/master/04-custom-html-template#where-to-find-the-original-template-files)

I totally missed these templates, this will fix it. Thanks a bunch!


fix(r): change markdown injection in documentation to use lowercase r

when using a recent build of neovim on macos (https://github.com/neovim/neovim/commit/26b5405d181e8c9e75c4b4ec9aae963cc25f285f), viewing :h lspconfig-all is entirely broken (error crash loop) because of a broken injection in the document. turns out that the R in the markdown description here should be lowercase, since the treesitter grammar uses lowercase r!

nevermind, this doesn't fix the error :(

yes it does! i forgot to gen docs :)

ah force push ruined it, i'll recreate


Missing commandbar command keys

In de provided list with command keys, there are several missing.
Could it be updated with keys for the buttons 'submit for approval', 'manage access', 'approve/reject'?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 22dffaf9-de6c-5ec3-bd61-23b995c256ce
Version Independent ID: 22dffaf9-de6c-5ec3-bd61-23b995c256ce
Content: Command bar customization syntax reference
Content Source: docs/declarative-customization/view-commandbar-formatting.md
Service: sharepoint-online
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Hello,
I've also noticed that there is no "Submit for approval" button available to be customized through the command bar customization.

In the file -> https://res-1.cdn.office.net/files/odsp-web-prod_2023-04-07.009/splistwebpack/669.js

The key Publish_1286 of item
{     "key": "Publish_1286",     "iconProps": {         "iconName": "ReadingMode"     },     "name": "Submit for approval",     "data-automationid": "PublishCommand",     "actionState": {         "isAvailable": true,         "executingCount": 0     } }
Cannot be found in the object R which contains these values:
{     "newCommand_623": "new",     "createWord_616": "newWordDocument",     "createExcel_617": "newExcelWorkbook",     "createPowerPoint_618": "newPowerPointPresentation",     "createOneNote_619": "newOneNoteNotebook",     "createFormForExcel_620": "newFormsForExcel",     "createVisio_622": "newVisioDrawing",     "createFolderCommand_614": "newFolder",     "upload_628": "upload",     "uploadFile_626": "uploadFile",     "uploadFolder_627": "uploadFolder",     "open_625": "open",     "share_632": "share",     "copyLink_633": "copyLink",     "download_639": "download",     "rename_641": "rename",     "launchCopyPickerCommand_1752": "copyTo",     "launchMovePickerCommand_1751": "moveTo",     "delete_644": "delete" }
I guess that the issue can be quickly resolved by adding inputs to the object for missing command buttons.

Hi @JakeStanger , As far as I can see, there is still no option to hide it through view formatting (as described here https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting).  As a workaround, in my case, I added an application extension with custom CSS to hide this button.


Add Ergo chain & Spectrum connector

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Add spectrum connector
Refactor and cleanup ergo and spectrum codes
Add unit documentation to important ones
Use mnemonic for getting wallet in the spectrum
Getting wallet from mnemonic and secret key imp but in hummingbot mnemonic used
Estimate price and create TX added for spectrum trade
Get balance added to ergo gateway

Tests performed by the developer:

Tips for QA testing:

To run unit tests, use the command below:
yarn test ./test-bronze/chains/ergo/ ./test-bronze/connectors/spectrum/
if you want to see the coverage of the tests, use the command below:
yarn jest --runInBand --coverage ./test-bronze/chains/ergo/ ./test-bronze/connectors/spectrum/

@ahmadyazdanii
Please review contribution guidelines
https://hummingbot.org/developers/contributions/
https://hummingbot.org/developers/contributions/#unit-test-coverage
https://hummingbot.org/developers/contributions/#checklist


⚠ Bofrost.be has degraded performance

In e422f89, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1496 ms

Resolved: Bofrost.be performance has improved in f269f36 after 6 minutes.


Event hub fails when prefix is only numerical values

https://github.com/Azure/caf-terraform-landingzones/runs/817483036?check_suite_focus=true

The evenhub does not allow starting with a number - we should review the prefix strategy to enforce a defined set of characters


RVC-Tweaks

Features:

Experimental Formant Shift using StftPitchShift(tried using praat with praatio but to no avail)
Auto-detect Index path for models selected + Auto-detect paths, no more default values like this: E:\codes\py39\vits_vc_gpu_train\logs\mi-test-1key\total_fea.npy, We're getting Root Dir and subfolders using

os.path.abspath(os.getcwd())

Audio files dropdown by autodetecting files in /audios/ folder
More stable version of Gradio(3.34.0) with support of Themes
Removed One Click Training button in Training Tab, since it was glitchy and has confused a lot of users.
Changed default training settings to be more optimal for newer users.
Auto-open TensorBoard localhost URL when tensor-launch.py is executed
RMVPE implemented in both inferencing and training (the one in Training tab doesn't work properly though, requires some additional work to do)

Installation:

Simply unzip with overwriting all the files i embed to the root folder

Run installstft.bat. It'll automatically:

Upgrade/Downgrade Gradio if its version isn't 3.34.0;
Install rmvpe.pt if it hasn't been already installed;
Install StftPitchShift if it hasn't been already installed;

Done! You're good to go and use the RVC-WebUI Tweaked by me for you to use :)

Current Todo-list:

[x] Fix Unload voice to save GPU memory button Traceback
[ ] Add Accordions so people with Firefox browser get a much more compact GUI rather than This.
[ ] Fix weird way Median Filtering value inputted in a slider is utilized
[ ] Replace regular refresh buttons with these tiny ones from AUTOMATIC'S1111 Stable DIffusion

[ ] Add a way to change the Gradio's theme from WebUI itself, like in AUTOMATIC'S1111 Stable DIffusion

[ ] Implement Praat in the GUI for f0 curve file manipulation and easier usage

Screenshots:

Inference Tab:

UVR Tab:

Training Tab:

Ckpt-Processing Tab:

The rest of the tabs are left untouched code-wise.
Formant Shift:

Click Apply button every time you change the values for inferencing.

As the name implies, you can only use wav files so far, also it is very slow, so be patient.

If you added a new preset.txt in the \formantshiftcfg\ folder, click button with refresh emoji

If the preset you selected somehow got edited, by pressing refresh emoji button you'll update values, by grabbing them from the file

Multiple people tested this, seems to work without any flaws.


ARTEMIS-3565 Update mvnw to Maven 3.8.3

These are all auto-generated by calling Takari's integration.

Given the build hasnt worked with anything less <3.5.0 for quite some time now, and this was using 3.3.9, it doesnt seem like this could be getting much use. Do we actually need this at all?

@gemmellr I believe newbies will use it...
however the issue I'm having is that my IDE was using it when I rebuilt the project.. it was the easiest way to fix my problem.
I don't mind if we keep it.. but if we won't update, we should rather remove it.
Takari will be part of maven 4.. so I think it's ok to keep it anyway.

Personally I would remove it. I've never seen a great need for it, and clearly it isnt been getting used of late. A requirement on Maven 3.5.0 doesnt seem particularly onerous.
We aren't allowed to distribute the jar in the source archive, so I presume its already being excluded there. I do seem to recall some other projects writing their own bootstrap for this to avoid such hoops.

@gemmellr fair enough.. I will remove it instead...
It was nice to see someone contributing it back in 2016.. but I don't see much use for it anyways.

PR and JIRA updated to remove mvnw instead of updating it.

Looks good.

merging it as I need this on another task I'm working on...


Dont start on boot

I have checked to "start with windows" but its dont start.
Location: C:\Program Files (x86)\Audioswitcher
OS: Windows 8.1 pro 64bit

Does the option stay checked?
Have you tried running as Administrator?
It's most likely a permissions issue.

Yes its checked and i have changed it so its run with admin rights

Let me know how you get on. Running with Admin will absolve Audio Switcher as the root cause.
Potentially Anti-Virus/Anti-Malware Applications can interfere with programs requesting startup permissions.

Hi,
its run as Administrator: http://gyazo.com/f8ce3d4241c0fe7a88a36175486d0646
My settings: http://gyazo.com/d78cd53bba2533147f674e82d2dae716
And the file location is: C:\Program Files (x86)\Audioswitcher


"No buffer available" message appears in Logcat whenever streaming starts

Hi,
I am currently sending a video stream to my wowza media server using the libstreaming library. I have setup my session as follows in the onCreate method of my Activity
            // Configures the SessionBuilder
	  mSession = SessionBuilder
	  		.getInstance()
			.setContext(getApplicationContext())
			.setAudioEncoder(SessionBuilder.AUDIO_AAC)
			.setAudioQuality(new AudioQuality(8000, 16000))
			.setVideoEncoder(SessionBuilder.VIDEO_H264)
			.setVideoQuality(new VideoQuality(intResolX, intResolY, fps, bitRate)
			.setCamera(CameraInfo.CAMERA_FACING_BACK)
			.setSurfaceView(mSurfaceView).setPreviewOrientation(0)
			.setCallback(this).build();

	// Configures the RTSP client
	mClient = new RtspClient();
	mClient.setSession(mSession);
	mClient.setCallback(this);
	mClient.setTransportMode(RtspClient.TRANSPORT_TCP);
	mSurfaceView.setAspectRatioMode(SurfaceView.ASPECT_RATIO_PREVIEW);

I have used a resolution of 640x480 with fps of 20 and bitrate of 2000000
However when the video streaming starts and the camera is seen then I start getting "No buffer available" logs in the buffer continously.
These logs are also seen when I switch from 3G/4G to WiFi and viceversa. Due to this my video stream gets hanged after say 2-3 mins of streaming. I have verified the same using the Test Player on Wowza.
Can someone help me resolve this issue?

I have the same issue.

Has anyone been able to solve this ?

same problem

+1


CMD is not parented to HYPER process.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

Windows 10 Enterprise Version 1903:
Hyper 3.0.2 (stable):
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/cbuteau/f196751828dcef04797306a1b912ce99
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):  N/A
The issue is reproducible in vanilla Hyper.app:

I removed all plugins from my .hyper.js file and restarted it and it stil has the problem.
Issue

Hello I recently got the Windows 10 May 2019 update at work.
After HYper would not restart properly.
I said okay weird I will reinstall it.
What I see is this the command window is not parented in Hyper.
I also tried swicthing to Git Bash and it had the same problem.
The only plugin I am really using is init (hyper-init?) which I use to initialize certain tools.
This is what it looks like....
I will swicth to regular command windows in the meantime.

I'm facing a similar issue in my Windows 10 PC. I'm using Github Desktop and I have configured hyper as default shell application. If I launch hyper from Github Desktop, hyper is started but the cmd area is blank. I'm using the latest Github Desktop and hyper (3.0.2). There are no errors in Developer tool console.

I switched to Windows Terminal Preview in the meantime...goodbye hyper you were fun for awhile...


Missing LICENSE

Nice project. But it has no LICENSE file, so we don't know what your terms are for using/cloning any of this. If it is open source, you need to say so by picking a suitable license. GitHub has plenty of guidance on this topic.

Thanks for pointing that out! I've added a license to the repo now. Feel free to use, clone, or modify the code as needed.


1.11.4 - not found on CDNs?

Thic could be a temporary glitch ... the latest on the CDNs is 1.11.1

I see it now. Thanks


Hook into 'generate models' event and supply extra models

Is there any way I can hook into the model generation and generate my own models to be created? I have a model for a grid that is generated based on prevalues (so can't be done by a propertyconverter). I would like to generate models for this at the same time as the other models are being generated.
Thanks!

To make it short: no :( No hooks, no events at the moment. It's a feature request I'd love to work on. Soon as I have time, that is.


scorer.py contains hard-wired platform-specific paths

👋  Hello, and thanks for making simone. 🙏
Describe the bug
Running simone on a mac fails due to https://github.com/rajtilakjee/simone/blob/main/src/utils/scorer.py#L15 pointing pytesseract.pytesseract.tesseract_cmd at C:/Program Files/Tesseract-OCR/tesseract.exe which is never going to work. On my mac, using homebrew, the tesseract binary is in /opt/homebrew/bin/tesseract, but this may vary.
I have successfully tested simone by replacing that line as appropriate for my platform, and it works. Nice one!
python src/main.py
Enter YouTube URL: https://www.youtube.com/watch?v=VDIAHEoECfM
/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/whisper/transcribe.py:115: UserWarning: FP16 is not supported on CPU; using FP32 instead
  warnings.warn("FP16 is not supported on CPU; using FP32 instead")
Traceback (most recent call last):
  File "/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/pytesseract/pytesseract.py", line 255, in run_tesseract
    proc = subprocess.Popen(cmd_args, **subprocess_args())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File<EMAIL_ADDRESS>line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Program Files/Tesseract-OCR/tesseract.exe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/alan/Work/rajtilakjee/simone/src/main.py", line 47, in <module>
    blogpost(url)
  File "/Users/alan/Work/rajtilakjee/simone/src/main.py", line 39, in blogpost
    score = scores.score_frames()
            ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/alan/Work/rajtilakjee/simone/src/utils/scorer.py", line 20, in score_frames
    extracted_text = pytesseract.image_to_string(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/pytesseract/pytesseract.py", line 423, in image_to_string
    return {
           ^
  File "/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/pytesseract/pytesseract.py", line 426, in <lambda>
    Output.STRING: lambda: run_and_get_output(*args),
                           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/pytesseract/pytesseract.py", line 288, in run_and_get_output
    run_tesseract(**kwargs)
  File "/Users/alan/Work/rajtilakjee/simone/.venv/lib/python3.12/site-packages/pytesseract/pytesseract.py", line 260, in run_tesseract
    raise TesseractNotFoundError()
pytesseract.pytesseract.TesseractNotFoundError: C:/Program Files/Tesseract-OCR/tesseract.exe is not installed or it's not in your PATH. See README file for more information.

To Reproduce
Steps to reproduce the behavior:

Use a mac running macOS
brew install ffmpeg tesseract virtualenv
Put API key in .env
pip install -r requirements.txt
python src/main.py
Paste a YouTube url such as https://www.youtube.com/watch?v=VDIAHEoECfM

Expected behavior
I don't know, but I assume it makes a blog post :)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS Sonoma on an M3 MacBook Pro

Hi @popey I don't have a Mac with me, only a Windows 11 laptop. I was doing a bit of research online to find a suitable solution that can make it work across all platforms. So far, I have found 2 options which I have not tried myself; Docker, and PyInstaller. Do you have any experience shipping products like this?

Hey @rajtilakjee thanks for the quick response.
I'm no expert on this stuff. Doing a bit of googling it looks like this is a known issue with tesseract, that you have to point to the binary.
I don't think this is necessarily a packaging issue to be honest. I had no problem running this from a terminal - as I expect many other nerds might.
However, you might want to detect the OS and set the path accordingly.
Further, just put a note in the README.md and docs to highlight that (until this issue is fixed), new users will need to tweak the path. It's not a massive deal, in my opinion.

It would make sense to expect the user to have the binary in their PATH, so to simply invoke tesseract without a full path (or extension). On most unix-likes that would be trivial, but on Windows that requires some atypical messing about with the control panel system tool.
If in doubt, provide a command-line switch to point to the correct binary to use, perhaps with a config file so you don't have to use the argument every single time.
Maybe try invoking it without a path first and then fall back to scanning some common locations, and failing if none were found?

You could also use sys.platform to detect the OS, and then use /usr/bin/env tesseract on *nix systems (macOS and Linux and I guess BSD ;)), and a different path for windows.

@sjamaan Will try some of the pointers you mentioned in your suggestion. A probable solution which is a quick fix is found in SO. For now, I will update the documentation with this info. Next, I will try either your or @popey's suggestion of using sys.platform to specify the path depending on the system. I am keeping the issue open for now till I fix the issue by today evening. Once again, thank you @popey and @sjamaan for taking the time out to make Simone better.


feat: add additional native Kava assets - HARD and SWP

Question: How should I handle denom_units?
For HARD and SWP, the native chain unit is hard, and swp, and they are each equivalent to 1^10-6 of 1 HARD, 1 SWP token.

@karzak the base unit here is supposed to be the "smallest unit".  Like ukava.  Is it also uhard and uswap?  If so, I can fill those in

Interanally, hard is the smallest unit, it's just worth 1*10**-6 of the exchange unit (HARD). So 1000000 hard (backend unit) is equal to 1 HARD. Same with swap.

I see
Okay, need to figure out how to deal with that

I think for now, I think let's just add HARD as a denom_unit.  If in the future, we need to change that, we can

Merging into branch in repo so can edit


build dev failed: Cannot read property 'indexOf' of undefined

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
After adding an empty service we get this error:
build dev failed: Cannot read property 'indexOf' of undefined
What behavior are you expecting?
Since there is nothing wrong, there should not be an error.
Steps to reproduce:

Create a service. Something like shown below.
Add the service to the app.module.ts as a provider
run ionic serve

import {Inject} from "@angular/core";
@Inject()
export class something{}

Which @ionic/app-scripts version are you using?
Ionic 2
ionic-app-scripts 0.0.45
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
I have solved this issue for my case by finding out that empty services are causing this behavior. Maybe it helps someone. Also it should be fixed as it is more a bug than an actual error.

Sorry my bad. Inject() should be Injectable()


Any plan for 0.12

Hi guys!
Any plan for 0.12 ?

A new version (now called Primate) compatible with current latest Admin API is released.
Closing this issue.


Ability to permanently ignore/untrust a config

There are some specific dirs with configs in them that I would like to be permanently set in untrusted/ignored mode, and not be bothered about when I cd to the dir with them in effect. I couldn't find an option to do that in the CLI or in the config, so it seems the feature does not exist.
Something like rtx trust --untrust --permanent could be it. rtx trust would then make such marked one trusted though.

Being able to set a specific one in a specific dir as ignored right from the console when meeting one would be convenient though. While an env var would work too, editing it would be manual shell specific work (I guess), and might not arguably scale that well with many full paths in it. To clarify (wording in my initial comment was a bit vague, clarified it), what I'm after is the ability to ignore configs for some specific location, not files with some name in arbitrary dirs.

actually I'm thinking maybe --permanent should just be the behavior for --untrust or if you just say "n" when it prompts

@scop I just noticed that you can do this today with an en var or setting I think:
https://github.com/jdxcode/rtx/blob/892c752aa56b70cd725eb5e271fc06bffa158b42/src/config/config_file/mod.rs#L167
I haven't tested but it looks like if you set settings.trusted_config_paths or RTX_TRUSTED_CONFIG_PATHS you can use a partial path and it will trust anything under that.

Hm, on first sight, that doesn't quite seem to fit for my use case -- I don't have a specific prefix under which I'd like to trust everything, which is what I gather this would help with. It sound like the the opposite of what I'm after; mine is about untrusting things permanently.

I think that mise trust --ignore would be useful. I’m working in a repository that I don’t want to use mise with (but upstream does). This would be a third state (untrusted, ignored, trusted) that disallows mise from parsing the local configuration but doesn't prevent it from working the way things work now, which results in panics:
$ RUST_BACKTRACE=1 mise config ls
mise ~/mess/2024/47/phx.tools/.mise.toml is not trusted. Trust it? No
mise ~/mess/2024/47/phx.tools/.tool-versions is not trusted. Trust it? No
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value:
   0: error parsing config file: ~/mess/2024/47/phx.tools/.mise.toml
   1: Config file ~/mess/2024/47/phx.tools/.mise.toml is not trusted.
      Trust it with `mise trust`.

Location:
   src/config/config_file/mod.rs:235

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 4 frames hidden ⋮
   5: mise::config::config_file::trust_check::h76ac01297e529a50
      at <unknown source file>:<unknown line>
   6: mise::config::config_file::parse::h55c209d93326b396
      at <unknown source file>:<unknown line>
   7: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once::h961573513712db21
      at <unknown source file>:<unknown line>
   8: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend::h3c7ec28c9459126f
      at <unknown source file>:<unknown line>
   9: rayon::iter::plumbing::bridge_producer_consumer::helper::h71702a6cde737ced
      at <unknown source file>:<unknown line>
  10: rayon_core::join::join_context::{{closure}}::h1e8c5894277935e8
      at <unknown source file>:<unknown line>
  11: <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute::he620e4184ed30894
      at <unknown source file>:<unknown line>
  12: rayon_core::registry::WorkerThread::wait_until_cold::he84b6c20f5d1d300
      at <unknown source file>:<unknown line>
  13: rayon_core::registry::ThreadBuilder::run::h4f8214624fc18158
      at <unknown source file>:<unknown line>
  14: std::sys::backtrace::__rust_begin_short_backtrace::h785db27598d5a082
      at <unknown source file>:<unknown line>
  15: core::ops::function::FnOnce::call_once{{vtable.shim}}::h57c912c7c8747203
      at <unknown source file>:<unknown line>
  16: std::sys::pal::unix::thread::Thread::new::thread_start::hee4960621b4d5e07
      at <unknown source file>:<unknown line>
  17: __pthread_joiner_wake<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
Location: src/config/mod.rs:70

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 9 frames hidden ⋮
  10: mise::config::Config::get::h27ba7c248518e74f
      at <unknown source file>:<unknown line>
  11: once_cell::imp::OnceCell<T>::initialize::{{closure}}::h18acdd2cd8e01366
      at <unknown source file>:<unknown line>
  12: once_cell::imp::initialize_or_wait::h4ce9706798d79eca
      at <unknown source file>:<unknown line>
  13: once_cell::imp::OnceCell<T>::initialize::h801d31fdaacda96e
      at <unknown source file>:<unknown line>
  14: mise::cli::config::ls::ConfigLs::run::h60fcc1e25daabcfd
      at <unknown source file>:<unknown line>
  15: mise::cli::Commands::run::h239fa0ce4439b9c7
      at <unknown source file>:<unknown line>
  16: mise::cli::Cli::run::h2529d91a0fc30fbb
      at <unknown source file>:<unknown line>
  17: mise::main::hbe9f4d51560b6b3f
      at <unknown source file>:<unknown line>
  18: std::sys::backtrace::__rust_begin_short_backtrace::ha9298918e821a4c1
      at <unknown source file>:<unknown line>
  19: std::rt::lang_start::{{closure}}::h7f4304119dfcf5ae
      at <unknown source file>:<unknown line>
  20: std::rt::lang_start_internal::hece3f162d8e2436a
      at <unknown source file>:<unknown line>
  21: _main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
mise ERROR error parsing config file: ~/mess/2024/47/phx.tools/.mise.toml
mise ERROR Config file ~/mess/2024/47/phx.tools/.mise.toml is not trusted.
Trust it with `mise trust`.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

What do you think, @jdx?

Nice, thanks!


Switch syntastic to ALE

Notes from Syntastic:

Deprecation note

This project is no longer maintained. If you need a syntax checking plugin for Vim you might be interested in Syntastic's spiritual succesor, ALE. Although it shares no code with syntastic and it takes a very different approach to design, ALE can be considered a natural evolution of syntastic in terms of goals and functionality. Check it out, you probably won't be disappointed.

[ ] Updated CHANGELOG
[x] Updated README.md (if necessary)

Thanks, is there any reason to keep the mention of Syntastic at all, or should we just remove it entirely at this point?

@cpytel  I prefer to mention about deprecated one.
When everybody will happy it can be removed completely.
But I don't know what's your approach to it

Ok, thank you for the contribution.


World unloads when looking at a villager with The One Probe equipped.

http://pastebin.com/mZAM1aBG
It looks almost like Esteemed Innovation does something to villagers that causes this 'crash'?

Yes this looks like a bug in Esteemed Innovation

It's because VillagerDataStrage#writeNBT can return null if the value in VillagerData has not been set yet (I tried returning a new NBTTagCompound instead as a test and it didn't crash). There isn't really much I can do to avoid that, and returning null in writeNBT is standard behavior for Capability.IStorages, as mentioned in its docs:

@return a NBT holding the data. Null if no data needs to be stored.

Do you have some nonnull assumptions in the data info code or something?

I'll check it out. I missed that there are multiple crash reports unrelated to this issue in that log


[DDC] Failures in end-to-end expression compiler tests

pkg/dev_compiler/test/expression_compiler/expression_compiler_e2e_ddc_unsound_test is failing on unittest-asserts-debug-linux and unittest-asserts-release-mac-arm64. (It went from flaky to timeout on the former rather than failing with a runtime error.)
pkg/dev_compiler/test/expression_compiler/expression_compiler_e2e_amd_sound_test, pkg/dev_compiler/test/expression_compiler/expression_compiler_e2e_amd_unsound_test, and pkg/dev_compiler/test/expression_compiler/expression_compiler_e2e_ddc_sound_test are all failing on unittest-asserts-release-mac and unittest-asserts-release-mac-arm64.

There are couple of issues causing the failures:

CFE change to improve the switch statements for patterns breaks incorrect test expectations:
https://github.com/dart-lang/sdk/commit/04e6f4c28259f13d11b497bc1f4201301ead8309

There seems to be an issue detecting the end of a scope for switch statements due to synthesized variables that appear before user block but have file offsets from later code.

Fix: https://dart-review.googlesource.com/c/sdk/+/290706