Badges Recording

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable
[ ] Documentation in docs/ or install-docs/ was updated, if applicable

This allows for the modules to use the fact that they are "founders" or that they are "vips" allowing for, when i add my songrequest module vip/founder only requests 💯

Web interface WAYTOODANK

Additionally, I would expect a change to the web interface to show VIP and founder badges if a user has these.
Also, you should extend the moderators refresh module to also refresh VIPs.

Ill do this soon sorry for being inactive :P

@RAnders00 What do u think? @alazymeme did it.

@RAnders00 What do u think? @alazymeme did it.

idk if what I did needs more, but I thought I'd try and reboot the pr

extension to the moderator refresh to also refresh VIPs

Do you specifically want an extension, or a new module? 🤔

Would be nice to refactor the moderators refresh module into one that does both

Would be nice to refactor the moderators refresh module into one that does both, to prevent code duplication

Will renaming it screw anything up in the db?

Would be nice to refactor the moderators refresh module into one that does both, to prevent code duplication

Will renaming it screw anything up in the db?

No, renaming it will create a new module state, so every bot will have an extra entry in the database but who cares.

ANy news on this pr?

@TroyDota see my review, it still applies. I will not merge this as is.

 Can this be resolved or do we need to make a new pr?

Pls re-review when you get the chance

I should say overall, copying the moderators refresh module like this and just changing the bits that say "moderator" to instead be "vip" is a big anti-pattern and as you can see from the review is proving to be error-prone. A better approach would be to take the existing module and refactor it to do both things, if possible.
(Just a general comment. I plan on accepting this PR as it is once the bugs are ironed out)

i don't want to click approve yet, but I don't see any issues anymore from purely reviewing the code.

I assumed the vip badge not showing was only on my local machine's version. But it seems that it just isn't working on my main bot either. Not sure what it could be though since the space is there for the badge:

And the code is there as well:

Now I get it, it's because the SVG badge is white on transparent background. The VIP badge div also needs a background.

Now I get it, it's because the SVG badge is white on transparent background. The VIP badge div also needs a background.

I don't think it's this, since it's still not working. I am noticing that the element itself is missing from the css. Could there be something wrong in the username_link file? Since sub and mod work just fine?

After c97f916, I started getting a new error:

To make this clear:
What's still to be added is:
Badges appearing next to user profiles

@pajlada it seems, as if the webapp caches the stupid sass files because they were imported and not directly accessed via flask assets. Deleting the cache fixes this change. KINDA A WEIRDCHAMP on flask.

Also to note, if the bot is a founder the bot WILL NOT have a founder's badge on the website as, the bot ignores its own messages so it never gets to the part there it checks if its a founder or not.

Can I add broadcaster support in here? Shouldn't need to be added to the refresh module. I just want to implement it for another pr :)
Basically to add the broadcaster badge OR the mod badge (depending on the scenario).

Please revert the broadcaster column change

@pajlada All good now

I just gave this PR a try on my dev setup, and analyzed the query. We will have to also create an index on the vip column, as you can see the query takes way too long, which is caused by the Seq Scan over the entire user table (as can be seen the by "actual time" the query analyzer outputs).


Is there anyway to handle anchor tags?

Say I have an icon that when clicked should simply head to the anchor tag .
Usually I would write it as:

Does Carbon have anyway to handle these anchors?

@mesosteros we will no longer maintain this project. I suggest you have a look at https://github.com/meteorhacks/flow-router. Or fork the project and implement whatever you need yourself

Very sorry to hear that. Carbon was fantastic because of the easiness to use. Flow is quite a bit more hectic.
Thank you anyway :wine_glass:

@mesosteros feel free to keep on using it. I doubt it will break.


Unable to build trailofbits on windows 10 with Visual Studio 16 2019

Well , base on https://github.com/trailofbits/osquery-extensions/blob/master/README.md
# Follow https://osquery.readthedocs.io/en/latest/development/building/
# and stop before the configure step
d:
git clone --recurse-submodules https://github.com/trailofbits/osquery-extensions.git
cd d:\osquery
New-Item -ItemType SymbolicLink -Name external\extension_trailofbits -Target d:\osquery-extensions
cd d:\build
# Resume following the osquery build guide
cmake ../osquery/ -G "Visual Studio 16 2019" -A x64
cmake --build . --config Release --target package
And here are the errors:
Libtsk.lib (db_sqlite. Obj) : Error LNK2038: "RuntimeLibrary" mismatch detected:Value "MT_StaticRelease" mismatch value "MD_DynamicRelease" (in osquery_extension_group_main.obj) [D:\build\External\extension_trailofbits\ trailofbits_osquery_extensions.vcxProj]
Libcpmt.lib (xstol. Obj) : Error LNK2038: "RuntimeLibrary" mismatch detected:Value "MT_StaticRelease" mismatch value "MD_DynamicRelease" (in osquery_extension_group_main.obj) [D:\build\External\extension_trailofbits\ trailofbits_osquery_extensions.vcxProj]
Well I set the properties of project trailofbits_osquery_extensions by VS2019 [ "Visual Studio 16 2019" ]
Project -> properties ->  configuration -> general -> configuration type :
change it from application (.exe) to Static libraries (.lib)
and , It works!
218>trailofbits_osquery_extensions.vcxproj -> D:\build\external\extension_trailofbits\Debug\trailofbits_osquery_extensions.ext.exe
But, It's too early to laugh.....
I installed osquery-4.5.1.msi into path c:\osquery
and copied trailofbits_osquery_extensions.ext.exe to c:\osquery
but, while I am running this:
.\osqueryi.exe --allow_unsafe --disable_extensions=false --extension .\trailofbits_osquery_extensions.ext.exe
here is the return:
c:\osquery>.\osqueryi.exe --allow_unsafe --disable_extensions=false --extension .\trailofbits_osquery_extensions.ext.exe
Using a virtual database. Need help, type '.help'
osquery> E1219 15:45:59.234822 19408 watcher.cpp:653] Cannot create extension process: .\trailofbits_osquery_extensions.ext.exe
c:\osquery>
Anyway ,thanks for reading..
but, anyone can tell me how to build and run it correctly??????
help me....    T_T

Hi @chouchouzzj ! There was a change upstream that recently started to link the C runtime library dynamically instead of statically on Windows. It has been fixed, so I will test now if we can build our extensions against the latest osquery upstream Master branch.

Yep! That was it. Check out the latest core osquery and try again, or pull the latest changes into your branch. It should work.
PS C:\Projects\osquery\build> .\osquery\RelWithDebInfo\osqueryi.exe --allow_unsafe --disable_extensions=false --extension .\external\extension_trailofbits\RelWithDebInfo\trailofbits_osquery_extensions.ext.exe
Using a virtual database. Need help, type '.help'
osquery> SELECT * FROM HostBlacklist;
+---------+---------------------------+--------------+----------------+-----------+
| address | domain                    | sinkhole     | firewall_block | dns_block |
+---------+---------------------------+--------------+----------------+-----------+
|         | bitbucket.corp.ncrypt.com | <IP_ADDRESS> |                | UNMANAGED |
+---------+---------------------------+--------------+----------------+-----------+
osquery> .version
osquery 4.6.0-13-g6e9f8720
using SQLite 3.34.0


[STREAMPIPES-125] Add Redis as an optional external service

Hi there,
This PR will add Redis as an optional external service to be used in Kubernetes deployment.
Fixes: https://issues.apache.org/jira/browse/STREAMPIPES-125
Thanks,
Grainier.

Hi @grainier - thanks for the update on the k8s integration for Redis.


⚠ Turnos 24x7 has degraded performance

In fd36f58, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 953 ms

Resolved: Turnos 24x7 performance has improved in 175a90e.


Remove Java-8 only API usage to be Java 7 compatible

@smccauliff @WarrenGreen Can you take a look?

LGTM.  Thanks for fixing this.  Doesn't the automated build catch these problems though?  We shouldn't be merging PRs that don't build.

@smccauliff Thanks for the review. The automated build has caught this problem. But since Warren is in a hurry to commit the patch and I have some other improvements to make (e.g. read topic using config class), I choose to do it myself in this patch.


Removes generic type requirement on StructTarget

Based off of work done in #427, refined from this comment.
This removes the generic parameter for StructTarget and instead lets users create one with any struct that conforms to the TargetType, so one provider can be used with many different struct targets.

Current coverage is 91.64%

Merging #430 into master will not affect coverage as of 9953953

@@            master    #430   diff @@
======================================
  Files           13      13
  Stmts          479     479
  Branches         0       0
  Methods
======================================
  Hit            439     439
  Partial          0       0
  Missed          40      40

Review entire Coverage Diff as of 9953953

Uncovered Suggestions

+2.09% via ...ource/Response.swift#84...93
+1.05% via ...+ReactiveCocoa.swift#54...58
+1.05% via Source/Moya.swift#222...226
See 7 more...

Powered by Codecov. Updated on successful CI builds.

Seems fine to me, @ashfurrow! 🎉 I don't know, but maybe we could add the info about structs to Changelog with this PR?

Good thinking :+1:


build(apple): upgrade Node action

https://github.com/GlareDB/glaredb/actions/runs/6643526032

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

I'm not sure where the commit for this went, but v0.6.1. didn't have this problem. Going to go ahead and close this! Feel free to reopen if I missed something.


Backend development environment should mirror directory structure for running tests

Thanks for submitting an issue! Below are a few things you can do to help us more quickly address the issue.
Checklist
I have…

[x] described in detail below both the behavior I expected and the behavior I observed.
[x] thoroughly outlined below the steps to reproduce this issue, including relevant technical details (e.g. device, operating system, browser, browser version).
[ ] attached screenshots illustrating relevant behavior.

Expected Behavior
Unit tests can run in docker via docker compose
Observed Behavior
Unit tests fail due to different directory structure
Steps to Reproduce
To reproduce this issue…

Run backend unit tests via docker-compose run backend python manage.py test

Screenshots
N/A

closed via #167


Update Wishlist item and Budget when an item is associated to a LogSection

Expected Behavior
When we assign a wishlist item to a LogSection  hence updating its status from a want to a  shopping item we should also update the budget's status  accordingly
Actual Behavior
This is not covered in at the moment.
Acceptance Criteria
Adding an Item to a section should update its status and the budget's status
Specifications

Version: 0.0.2-rclogs

Notes
When implementing this we realize a number of facts,

Items don't have statuses and don't seem to need any
Association of items and LogSections is kinda tricky but we can manually do it

Multiple QPM items
When dealing with wishlist_items with a qpm of over one we may need to associate these items to more than one LogSection. This introduces a many to many relationships where one item could have more than one LogSection.
In order to achieve this we will likely have to introduce system where an item can be added to a maximum number of sections that is equal to the item's qpm


Dis dis

Codecov Report

Merging #555 into master will increase coverage by 0.1%.
The diff coverage is 77.77%.

@@           Coverage Diff            @@
##           master    #555     +/-   ##
========================================
+ Coverage   44.59%   44.7%   +0.1%
========================================
  Files          72      72
  Lines       15574   15583      +9
  Branches     3977    3980      +3
========================================
+ Hits         6946    6966     +20
+ Misses       6720    6705     -15
- Partials     1908    1912      +4

Impacted Files
Coverage Δ

vm/src/stdlib/dis.rs
84.21% <77.77%> (-5.79%)
:arrow_down:

vm/src/bytecode.rs
45.37% <0%> (+5.72%)
:arrow_up:

Continue to review full report at Codecov.

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


Reduce/eliminate use of Node versions <= v16

Significantly reduced, but not yet 100% eliminated due to a dependency (aws-actions/configure-aws-credentials) which also needs a node update.  I've added an issue to that repo.


[Feature]:  Informative error messages on cyclic dependency for queries on page load.

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
When queries from JS functions are marked for run on page load, some queries fail to run because the function introduces Cylic dependency error.   As a workaround, this could be negotiated by naming variables and entities uniquely. In order to achieve that the error messages needs to be more informative.
Why should this be worked on?
SInce the frequency of such error has increased, therefore, it is imperative to provide informative error messages to enable users to resolve the errors by changing the conflicting variable names.

PR #16634 is merged


Remove .impure.value and document product

.impure.value creates confusion: it makes it look like Rx have a current value when they actually don't.
This can be particularly surprising with expressions like rx.fold(0)(_ + _).impure.value that will always evaluate to 0 because .value creates and cancels its subscription on every call...
So my proposal it to remove this altogether.
I also created an RxImpureOps to replace the val impure = object {}. This should make it easier to add impure methods like .impure.oreachNext & co.

Looks good to me; minor spelling typo: lunch -> launch

Thanks!


Mcm preset missing

Please use the below as a template when making your report.
Describe the bug
When I was first installing 4.9 from wabba I was following the github start up directions and noticed that the mcm preset was not present.
Is it already a known issue?
Yes
Steps to reproduce
Steps to reproduce the behavior.
N/A
Environment

OS: Windows 11

Contact
MrDILLOY

Issue is not a bug and is in the work.


[Snyk] Security upgrade tomcat from 7.0.79 to 7.0.107

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

base/tomcat/tomcat7.0.79/Dockerfile

We recommend upgrading to tomcat:7.0.107, as this image has only 340 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

714
Out-of-Bounds SNYK-DEBIAN8-NCURSES-367687
No Known Exploit

714
CVE-2017-10087 SNYK-DEBIAN8-OPENJDK7-398935
No Known Exploit

786
Out-of-bounds Write SNYK-DEBIAN8-PROCPS-309313
Mature

786
Out-of-bounds Write SNYK-DEBIAN8-PROCPS-309313
Mature

786
Race Condition SNYK-DEBIAN8-WGET-300469
Mature

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – 02affa43-1508-4423-b5bc-06253cca6c4b
No New Or Fixed Issues Found


add a wake word

Hi!
I'm interested in using RealChar as a virtual voice assistant on my Raspberry Pi. Is there any plan for a wake word that will initiate a conversation in the future?
Thanks,
Kamil

seems like @reybahl solved this
https://github.com/reybahl/Assistant
https://picovoice.ai/platform/porcupine/


Make a hook version in a subpackage

This will need to be a subpackage so users don't rely on hooks unnecessarily. I think https://github.com/Baseflow/flutter_cache_manager does something like this for its firebase implementation. Copy how they do it
final buttonHandler = useAsyncButton(myCallback, child);

// Then add these to the UI
// buttonHandler.child
// buttonHandler.callback

As the arguments will be the same, the docs will too. I think I have two options:
Have 3 packages. One of them is common. I think I've seen firebase do this. The common one will have abstract class, models, etc. The notable thing is that it's docs will work off @macros https://stackoverflow.com/a/64602659/8213910
I have to do it like that as hooks are their function arguments and not class fields.
Second option would to just be to have 2 packages and have hooks rely on the base version...

Yoh my gosh this was so hard compared to the actual value it brings. Just glad its over and hopefully I'll get better with melos
f0437ae608ff665ad0b1e5b5781e1f1e3435a8cf


Remove the date from the copyright header

As @g-bauer pointed out somewhere, it was out of date, and will be a hurdle to maintain. So let's get rid of it =)

Best, code review, ever.

Did you actually read everything ? If so, congratulations !


Implements grafana and traefik specific tests in the integration suite.

Issue
Closes IQA-1972 and IQA-1974, these are not tied to any repository specific issues.
Testing Instructions
Running the tox integration suite and verifying no regressions happen and that the tests are successful.
Release Notes

Adds a test case to verify that grafana login works via API access when getting the password via the get-admin-password juju action.
Adds a test to ensure that all proxied URLs from traefik are reachable and return a HTTP 200 OK code.

@PietroPasotti Could you review again please?

@sed-i can you please assist moises here?

since this issue has not been moving for more than half a year, i'm going to close it. if the change is still relevant, feel free to open a new pr in the repo where they contextually would make the most sense.


Rename podspec to lowercase RevenuecatPurchasesCapacitor.podspec

Capacitor actually expects the podspec name to be lowercase so we can't rename to RevenueCatPurchasesCapacitor. This seems to come from the package name @revenuecat/purchases-capacitor. This moves everywhere we use this as uppercase to lowercase.
I've tested both a clean installation and an update after this change in our local purchase tester and seems to work fine

@tonidero what's up with this PR? can we merge it?

Ahh I forgot about this. I think so yeah. It was tested and it should work fine so will rebase and merge now.


Expose public REST API for services uptime

Expose a REST API endpoint like GET /status that gives the services uptime status

Done


Upgrade containerd/cgroups to remove github.com/cilium/ebpf's fuzzer

The fuzzer is broken and it breaks OSS-Fuzz according to #7288.

/retest-required

/test pull-containerd-build

/retest


MANGO-1575: Apply last patch from main UDMI project

Description:
Obtain the latest changes from the upstream UDMI repo, adapt and fix problems, and be prepared to send PR to upstream.
Tests:
When running locally via Docker Compose, all the tests enabled passed except for
RESULT fail enumeration.pointset pointset_enumeration ALPHA 0/5 Failed check that enumerated point count matches
RESULT fail discovery.scan periodic_scan_fixed_enumerate ALPHA 0/5 Failed check that all events have points
RESULT fail enumeration multi_enumeration ALPHA 0/5 Failed check that enumerated point count matches

It looks like it may be an environmental issue as they are not passing on their master branch either. We reported to Trevor from Google and told them that this should not block PR creation for them.
CI tests are looking good.

Already merged on upstream master branch at https://github.com/faucetsdn/udmi/pull/993


Cant change password of an acc

Panel
Version of Panel/Daemon: 0.7
Server's OS: Ubuntu 16.04
Your Computer's OS & Browser: Ubuntu 16.04 Firefox

Add Details Below:
I made the account via CLI but when trying to change the password via admin panel I get:
strpos() expects parameter 1 to be string, object given

https://you-are.verygay.today/q7ei8.png also when trying to login!

https://cdn.discordapp.com/attachments/374638621988225025/414814208857997314/unknown.png
Also when logging in,

duplicate of #950


Questions Marathon-Mesos-Docker

Hi all
As i have written here https://github.com/mesosphere/marathon/issues/2555
i'm making my master thesis on the usage of marathon mesos and docker, and in the next months also on project calico.
Since i am completely new to this world i would like to understand how the thing works.
First of all in the past week i used openstack to instantiate 5 virtual machines.
i selected the master on which i have installed marathon mesos chronos and docker and making:
sudo service marathon start
sudo service mesos-master start
going to the related addresses like localhost:8080 i see marathon UI and localhot:5050 i see mesos UI.
then i followed the same installation procedure fo all the other VMs, and correclty set the hosts files on each one and the etc/mesos/zk filein order to see the selected master.
On each VM i run:
sudo service mesos-slave start
Then i see on mesos that all the four slaves are on.
-Here comes a first question: i see all the slaves, but in offers tab i can't see anything? is it correct? And if yes, when i can see something in offers tab?
So i tried to deploy the following simple web: python -m SimpleHTTPSrver $PORT
and it works.
Now i'm studying how to make web apps using docker containers.
First i started to understand how docker works, so i downloaded a Fedora and ubuntu basic images, and tried to run them only on the master, just to make some examples.
After that i would like to use marathon to start a containerized application using docker.
First of all, should i download the desired image on all the VMs? if yes in which directory? and then should i specify this directory in marathon UI when i create the app?
Since i don't know these infos,i tried to follow this tutorial:

i made this tutorial using only my marathon-mesos master, and i reached the point in which he runs:
sudo docker run --publish 6060:8080 --name test --rm outyet
i tested through the browser and the app was running.
Another question is, how to reproduce the tutorial till here, but using a slave?
Then i stopped the app with ctrl+c and continued the tutorial.
i read: "Create a Marathon application that runs this command, but using the Marathon Docker support " (what does it mean exactly?)
Continuing: Once the outyet application is loaded onto the VM (but if i run the app on marathon the app jump between waiting and run states) you can create a new app using JSON and curl. First make the file names /vagrant/outyet.json (in these tutorials he always assumes vagrant to run VMs, but i don't, so which should be the correspondence between that path and mine? Since i'm using an ubuntu virtual machine could it be simply /home/ubuntu/outyet.json?). Then i fill the json file as indicated, and run the commands to allow  docker, but if i run this on slaves, where mesos-slave command is running, it does not work (because docker is already allowed?) So at the end i'm stuck. The results is that outyet app is running waiting, running waiting, infinte times finding no stable state.
As you can see, i tried to follow the tutorial, but i miss some basic things i guess.
Could you please suggest me how to make this app runnable? And in general which is the correct procedure to run a containerized app on marathon?
Thanks to all and sorry for this long discussion.
Best regards.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2676. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2676. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


下拉列表中文本可以变色（文本是用v-text实现的，建议使用v-html）

I would rather not use v-html due to possible XSS. You could try scoped slots for the options list.


Add libdeflate 1.20

Add libdeflate 1.20

Need skip-url-stability-check label.

@Wyverald Can you review?


Can't click on an option with mouse

Hi,
I found your script for showing pictures in a select element and like it much.
Unfortunately I can't make it run correctly. When using the script I can't click on an option from the drop down list. Also the mouse pointer won't change the appereance to the fingers like the pointer in the demo. When I choose an option with the keyboard it will work. Do you have an idea what could be the problem?

Thanks for your valuable feedback. We'll look at this asap.

I solved my problem. I placed the select element on a div/modal with a lower z-index than the options. Nevertheless many thanks.


ENH: Allow automatic view rotation by less than 1 degree

Also improved documentation of a few members of the class.

Thanks :+1


Allow ScrollSpy to work for List Groups

I'm implementing a side navigation bar using a list group with linked items.  Looks something like this:

     October 23, 2013

     October 24, 2013

     October 25, 2013

     October 26, 2013

ScrollSpy currently only works with .nav elements containing links inside li elements.  I propose we also support list groups.  List groups support active links, which makes them a good candidate for navigation elements, therefore ScrollSpy should support them.
I have an idea about how to do this, but it's really rough, so I'm just going to describe it here instead making a full pull request.  If people think the idea is good, I'll write it up and create the pull request.
We could either try and detect a list group, or allow passing an option to specify list-group mode.  I'm going with the latter.
This would require implementing the selector something like this:
this.selector       = (this.options.target
       || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
       || '') + (this.options.listGroup ? ' a' : ' .nav li > a')

and the activation code like this:
    var active;
    if (this.options.listGroup) {
      active = $(this.selector);
    } else {
      active = $(this.selector)
        .parentsUntil(this.options.target, '.active');
    }
    active.removeClass('active');

    var selector = this.selector +
        '[data-target="' + target + '"],' +
        this.selector + '[href="' + target + '"]'

    if (this.options.listGroup) {
      active = $(selector);
    } else {
      active = $(selector)
        .parents('li');
    }
    active.addClass('active');

Interestingly enough the code is simpler for the list group case.
What does everyone think?  Should I flesh this out into a pull request?

+1 for the idea


How to configure QUEUE PROPERTIES Diagnostics settings for Azure Storage Account using ARM

Hi All,
I am unable to find any documentation on  How to configure QUEUE PROPERTIES Diagnostics settings for Azure Storage Account using ARM.
Is it still not supported and this can only be done manually thru portal?
Is there any POWERSHELL script I can use as part of my deployment to set these properties for Diagnostics logs for QUEUE, BLOB, TABLE, etc.?
Appreciate your help as stuck here without any documentation.
Thanks

@ketaanhshah To assist you better on your query could you provide us with the link to the document you are referring to ?
In case your query in not related to document content, open a new forum thread either MSDN, Q&A or StackOverflow as it could be better place to get help on your scenario where the community members could provide their expert guidance to you based on their experience.

Hi @SaurabhSharma-MSFT following is the documentation link:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings-template
This doesnt have any details on how to add QUEUE PROPERTIES diagnostics settings details for Storage account in an ARM Template.

Hi @ketaanhshah  - Enabling queue properties (under Diagnostic settings) can be done manually via the via Portal, and programmatically via the client library or Set Queue service properties REST API only.
Useful reference: Storage Analytics.

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


[BUG]: Kubernetes@1task failing with "Protocol https: not supported" message.

Task name
Kubernetes@1
Task version
1.223.0
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 20.04
Task log
2023-07-04T14:57:53.2012996Z ##[section]Starting: kubectl Delete Secret
2023-07-04T14:57:53.2021764Z ==============================================================================
2023-07-04T14:57:53.2021924Z Task         : Kubectl
2023-07-04T14:57:53.2022013Z Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running kubectl commands
2023-07-04T14:57:53.2022168Z Version      : 1.223.0
2023-07-04T14:57:53.2022247Z Author       : Microsoft Corporation
2023-07-04T14:57:53.2022323Z Help         : https://aka.ms/azpipes-kubectl-tsg
2023-07-04T14:57:53.2022407Z ==============================================================================
2023-07-04T14:57:53.5144153Z ##[error][Tue, 04 Jul 2023 14:57:53 GMT]<EMAIL_ADDRESS>: Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
Error: TypeError
Error Description: Protocol "https:" not supported. Expected "http:"
2023-07-04T14:57:53.5152717Z ##[error][Tue, 04 Jul 2023 14:57:53 GMT]<EMAIL_ADDRESS>: Error - Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error.
2023-07-04T14:57:55.5161151Z ##[error][Tue, 04 Jul 2023 14:57:55 GMT]<EMAIL_ADDRESS>: Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
Error: TypeError
Error Description: Protocol "https:" not supported. Expected "http:"
2023-07-04T14:57:55.5162798Z ##[error][Tue, 04 Jul 2023 14:57:55 GMT]<EMAIL_ADDRESS>: Error - Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error.
2023-07-04T14:57:57.5196950Z ##[error][Tue, 04 Jul 2023 14:57:57 GMT]<EMAIL_ADDRESS>: Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
Error: TypeError
Error Description: Protocol "https:" not supported. Expected "http:"
2023-07-04T14:57:57.5199188Z ##[error][Tue, 04 Jul 2023 14:57:57 GMT]<EMAIL_ADDRESS>: Error - Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error.
2023-07-04T14:57:59.5227981Z ##[error][Tue, 04 Jul 2023 14:57:59 GMT]<EMAIL_ADDRESS>: Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
Error: TypeError
Error Description: Protocol "https:" not supported. Expected "http:"
2023-07-04T14:57:59.5229306Z ##[error][Tue, 04 Jul 2023 14:57:59 GMT]<EMAIL_ADDRESS>: Error - Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error.
2023-07-04T14:57:59.5234684Z ##[error]Cannot download access profile/kube config file for the cluster aks-cp-das-npd. Reason Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter..
2023-07-04T14:57:59.5279203Z ##[section]Finishing: kubectl Delete Secret

Relevant log output
2023-07-04T14:57:53.5144153Z ##[error][Tue, 04 Jul 2023 14:57:53 GMT]<EMAIL_ADDRESS>: Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
Error: TypeError
Error Description: Protocol "https:" not supported. Expected "http:"
2023-07-04T14:57:53.5152717Z ##[error][Tue, 04 Jul 2023 14:57:53 GMT]<EMAIL_ADDRESS>: Error - Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error.

Aditional info
Same error has been reported in this Issue:
https://github.com/microsoft/azure-pipelines-tasks/issues/18509

Thanks for sharing, I assume you're using proxy for this task?
we're already working on a fix, let's follow up in same topic: #18607


remove redundant pre-concurrency flag

motivation: address warnings
changes: remove pre-concurrency flag when not longer needed

cc @sebsto

Yes judging by the build log https://ci.swiftserver.group/job/swift-aws-lambda-runtime-swift59-prb/36/console


How to Use recorder for non-square images?

So on A sample from ReadMe modified for not rectangular images I get an error:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-6-938730bcece3> in <module>()
     22
     23 img = torch.randn(1, 3, 256, 256*2)
---> 24 preds, attns = v(img)
     25
     26 # there is one extra patch due to the CLS token

3 frames
/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
   1052         # Do not call functions when jit is used
   1053         full_backward_hooks, non_full_backward_hooks = [], []

/usr/local/lib/python3.7/dist-packages/vit_pytorch/recorder.py in forward(self, img)
     50             self._register_hook()
     51
---> 52         pred = self.vit(img)
     53
     54         # move all recordings to one device before stacking

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
   1052         # Do not call functions when jit is used
   1053         full_backward_hooks, non_full_backward_hooks = [], []

/usr/local/lib/python3.7/dist-packages/vit_pytorch/vit.py in forward(self, img)
    116         cls_tokens = repeat(self.cls_token, '() n d -> b n d', b = b)
    117         x = torch.cat((cls_tokens, x), dim=1)
--> 118         x += self.pos_embedding[:, :(n + 1)]
    119         x = self.dropout(x)
    120

RuntimeError: The size of tensor a (129) must match the size of tensor b (65) at non-singleton dimension 1

Code sample:
import torch
from vit_pytorch.vit import ViT

v = ViT(
    image_size = 256,
    patch_size = 32,
    num_classes = 1000,
    dim = 1024,
    depth = 6,
    heads = 16,
    mlp_dim = 2048,
    dropout = 0.1,
    emb_dropout = 0.1
)

# import Recorder and wrap the ViT

from vit_pytorch.recorder import Recorder
v = Recorder(v)

# forward pass now returns predictions and the attention maps

img = torch.randn(1, 3, 256, 256*2)
preds, attns = v(img)

# there is one extra patch due to the CLS token

attns.shape # (1, 6, 16, 65, 65) - (batch x layers x heads x patch x patch)

Missed the point that image_size  must be the biggest value between W and H of an image. This works
import torch
from vit_pytorch import ViT

v = ViT(
    image_size = 256,
    patch_size = 32,
    num_classes = 1000,
    dim = 1024,
    depth = 6,
    heads = 16,
    mlp_dim = 2048,
    dropout = 0.1,
    emb_dropout = 0.1
)

# import Recorder and wrap the ViT

from vit_pytorch.recorder import Recorder
v = Recorder(v)

# forward pass now returns predictions and the attention maps

img = torch.randn(1, 3, 256, 128)
preds, attns = v(img)

# there is one extra patch due to the CLS token

attns.shape # (1, 6, 16, 65, 65) - (batch x layers x heads x patch x patch)

Outputs:
torch.Size([1, 6, 16, 33, 33])


Regression_Demo.ipynb Notebook -  Create LINREG.GSTEST_STD table as Row Org to allow Alter Table

You will get an error in the "Standardize AGE in Test Data" cell if you are using Db2 Warehouse or other database that defaults to a column organized tables.  The error happens in the step where the column is renamed in this cell.  It appears that you can't rename columns in a column organized table.  I fix this by changing this line:
sql = "CREATE TABLE LINREG.GSTEST_STD AS (SELECT * FROM LINREG.GSTEST) WITH DATA"
to this:
sql = "CREATE TABLE LINREG.GSTEST_STD AS (SELECT * FROM LINREG.GSTEST) WITH DATA ORGANIZE BY ROW"

Thanks @db2Dean .  Let me see if I can route this to the right people for their thoughts.


how to keep the original order of the yaml keys in the generated json schema?

The problem is that the generated json schema appears to have different key order from the orginal yaml.
When I input the json schema to UI lib such as https://rjsf-team.github.io/react-jsonschema-form/, I want to keep the original key order.
Is it because the golang json lib does not preserve order?
Can you please fix this?

I don't think I can fix this here. Check out https://rjsf-team.github.io/react-jsonschema-form/docs/usage/objects/#specifying-property-order


WASM support

I was wondering whether you think it's possible to export raylib-ocaml games to WASM?

This is something I'd love to add to these bindings, but right now it's not feasible in my understanding. Support for wasm in OCaml is still a work-in-progress, see here.
raylib-ocaml  is built on top of the ctypes library and would need wasm support for ctypes to work. Of the two OCaml wasm compiler projects (wasm_of_ocaml and wasocaml) this is in scope for wasocaml, but I'm not sure of the progress. The last commit on the repo was 4 months ago.
Theoretically, it should also be possible to call into wasm libraries with wasm_of_ocaml, but I have never tried it. And in any case, this won't work with ctypes out of the box and would require creating another set of bindings next to the ctypes one.
A similar approach could be to use today's js_of_ocaml by calling the wasm code through javascript. Again, this requires a different set of bindings for javascript. Looking through the raylib bindings, there are no javascript bindings which we could re-purpose for this use case.
To summarize, I'd love to support this use case but currently it does not seem feasible because I don't want to create and maintain another set of bindings. However, I have neither used the OCaml wasm compilers in practice nor jsoo except for toy examples. If there is another way to call into wasm libraries, I'd love to hear it!
I'll leave this ticket open because this use-case is also something I'd like to have

It's going to be forever until we get wasm ocaml going, in the meanwhile I've wondered about using some other ML-like languages for handling the high level game logic and transpiling that over to C/object code with minimal dependencies, and running the rest with C Raylib. Sad but maybe the most practical method.

Any update on WASM and Raylib in OCaml?


[QUESTION] Source code for sizing tool?

https://milvus.io/tools/sizing is great, I love it.
I'd like to see how the calculations are made and maybe contribute to it by adding other indices or at least adding a link to the index reference docs https://milvus.io/docs/guides/index.md .
However I can't seem to find its source code in any repo in https://github.com/milvus-io , am I missing something?
Many thanks for all your hard work!

Hi, the page is in our website repo,  it is based on gatsby, a react based static site generator.
The page is here:
https://github.com/milvus-io/www.milvus.io/blob/master/src/pages/tool-sizing.js
Any questions are welcome.

Great, thanks!


[BUG] How to customize the number of classification heads

Describe the bug
To Reproduce
Steps to reproduce the behavior:
from timm.models import create_model
checkpoint_path = "/nas_mm_2/yinxiaofei.yxf/open_source_model/InternViT-300M-448px/tmp/timm__vit_intern300m_patch14_448.ogvl_dist/model.safetensors"
model = create_model('vit_intern300m_patch14_448',checkpoint_path=checkpoint_path, num_classes = 3)
Screenshots
RuntimeError: Error(s) in loading state_dict for VisionTransformer:
Missing key(s) in state_dict: "head.weight", "head.bias".
Additional context
If I remove the num_classes = 3 parameter, then this program is completely normal

Use pretrained=True or look up pretrained_cfg_overlay ... the checkpoint_path is for loading an exact checkpoint, does not run adaptation of heads https://github.com/huggingface/pytorch-image-models/discussions/1941


Docker setup

Added docker-compose with required services
Added dockerfile with php, apache, node, yarn and debugging capabilities
Added makefile that makes easier working with docker-compose commands

Bugsquad edit: This closes #58.
Where I should add readme on using this docker setup? Sure by default it is easy by running docker-compose up, but it has some extra options like debugging which requires to be documented.

I've updated Dockerfile accroding to hadolint comments.
Now it's ready to be merged if this is fine with you.

I could also open ports for mysql and add phpmyadmin in docker-compose file, which would give more freedom.
Then the problem we would need to solve is ports, we can't bind same port twice and there is a chance dev has something running on 80/3306.
To solve that I could add Traefik to docker-compose and bind servers to domains like these assets.godotengine.org.localhost, mysql.assets.godotengine.org.localhost:3306, phpmyadmin.assets.godotengine.org.localhost so there is no problem with remembering or dealing with taken ports.

Doesn't Traefik need to be on port 80/8080? Maybe just setting a random port for DB and Host could solve the problem, like 3315 for MySQL and 9090 for web service.
Otherwise we could set docker-compose.yml to be docker-compose.example.yml and when cloning the project you have to copy this file and you can customize the ports (like we do with the .env file), adding docker-compose.yml to .gitignore.
I don't know what's the current state of this project, I think currently he does not have enough time for this (?)

Doesn't Traefik need to be on port 80/8080? Maybe just setting a random port for DB and Host could solve the problem, like 3315 for MySQL and 9090 for web service

In proposed solution - yes (but otherwise no, it can run on any port).

Maybe just setting a random port for DB and Host could solve the problem, like 3315 for MySQL and 9090 for web service.

IMO This is not a solution. This is why I asked before just straight opening ports. Otherwise we would definitely have collisions with different environments.

Otherwise we could set docker-compose.yml to be docker-compose.example.yml and when cloning the project you have to copy this file and you can customize the ports (like we do with the .env file), adding docker-compose.yml to .gitignore.

I like this solution. WDYT @Calinou?

Is using Traefik in Docker images common for development purposes? It sounds a bit overkill to me.

Is using Traefik in Docker images common for development purposes? It sounds a bit overkill to me.

I wouldn't say it's common.

Yes, unfortunately, I don't have much time to finalize everything required to deploy it. (Note that we don't need a Docker setup to deploy it to production, as the production server uses a good old nginx + php-fpm 7.2 setup.)

I thought that it was not required, but it could be useful for contributors, for example on my computer I don't have PHP installed (especially 7.2) and having a docker-compose or whatever would be nice.
I mean, with Docker we could open some PR to help you with the project

I'll look again into it later today, what left is:

[ ] Fix error with PHP heredoc inside blade template
[ ] Make current docker-compose file an example configuration
[ ] Add some docs

Did I forgot something?

If @Calinou agrees on this solution I think that's everything

@QuentinCaffeino Sounds good to me :slightly_smiling_face:

@Calinou is there any chance you could send me list of your php extensions? I'll compare them to those that are in container, it has some extra and some removed by default.

I have a lot of extensions on my local setup (including XDebug and the like), not sure if it's very relevant.
That said, it makes sense for the container to include XDebug since it's intended for development.

It already does include xdebug.
More about how to work with remote xdebug here: https://github.com/webdevops/php-docker-boilerplate/blob/master/documentation/DOCKER-INFO.md#xdebug-remote-debugger-phpstorm

While finalizing this I remembered that XDebug probably won't work as easy with windows and I have no ability to test or fix it. So it would require to create another issue to adapt this setup for windows usage.
The problem is XDebug needs to know your host machine IP in order to connect to XDebug listener (bc it probably runs inside your IDE). I found this article which сlaims that docker on Mac/Windows have host.docker.internal host. But I'm unable to test this properly and this feature is missing on Linux so I used another solution.
Solution was to find out what's host IP before running docker and pass it as one of the docker env variables. But I'm unsure if it would work on windows.

Ok, this solution of mine was pretty old and I didn't follow docker progress on this issue. A little dig rn took me to this PR which must enable host.docker.internal for linux. I'll test that and maybe update the setup.

I've tried several things, no luck, seems like this feature is not yet in current stable release.

Beside xDebug (which is optional) what's the status of this? I mean at a first look it seems fine (although I didn't test it yet)

I think this is ready

Is there something missing here?
I can help if needed. I'm actually running the project inside a docker container with php-fpm, nginx and mariadb.

Is this ready to merge ?

@iustin-nita I need to test it locally and see if it everything works as expected before merging it.

Closing because this was superseded by https://github.com/Calinou/godot-asset-library-laravel/pull/415

Closing because this was superseded by https://github.com/Calinou/godot-asset-library-laravel/pull/415


Request for code

Hi, I came across your paper and found it very interesting. It opens up a new direction for exploring multiple modalities. I would love to experiment with your framework. Could you please let me know the ETA on the code release

me too

me too.

it'll be done this week, it is really simple actually

@fahad92virgo also, this isn't my paper, i just implement papers that i find are promising, so i'm in the same boat as you

ok, its done

@fahad92virgo no problem! hope you make some good discoveries


Missing resolutions for DMM 42BUC03-ML

I flashed the DMM 42BUC03-ML camera with the following firmware: dmk42uc03_143.euvc
Is it the right one?
The product page [1] lists a few different resolutions, but some of them are missing from the camera firmware. The missing resolutions are 1280x720 and 1024x768.
[1] http://www.theimagingsource.com/en_US/products/oem-cameras/usb-cmos-mono/dmm42buc03ml/
:~$  v4l2-ctl -d 7 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: 'GREY'
Name        : Greyscale (8-bit)
Size: Discrete 1280x960
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Thanks,
Tom

You are right, these resolutions are not available with the current firmware. I have no deadline for a next release.

I have just tried to use 720x480 and 640x480 and neither of them work. Depending on the selected frame rate, either no data is sent or the sent frames are corrupted.
I must say this is quite disappointing, the product page specifies a number of different resolutions and I ended with only one.


Typescript Support - Missing @types

Please add typings @types/vue-json-tree-view, so Typescript works out-of-the-box.

Hi @nicostuhlfauth, I'm not all that familiar with adding typings myself. If anyone would like to submit a pull request it would be very welcome!

@michaelfitzhavey Typically, typings for JS projects will not be added directly into the package, but instead they will be published seperately at @types/<npm project name>. There is a generator that worked pretty well for the project I am working on. Simply generate the typings and open a PR, as described here: https://github.com/DefinitelyTyped/DefinitelyTyped#create-a-new-package

Publishing is currently blocked but I'll look into this. Thanks!

I created a package similar to this one https://github.com/tylerkrupicka/vue-json-component which is written in TypeScript and exports types with the package. If it works for your use-case go ahead and try it out.

@tylerkrupicka Thanks for your response and creating a package. However, we decided to switch to React. But I'll keep it in mind for future projects.

Should be fixed now this is merged: https://github.com/michaelfitzhavey/vue-json-tree-view/pull/32


DAX Query Tab - Enhancement

Inspired from the "Data Preview in Tabular Editor" post by Michael Kovalsky, I think a great enhancement to Tabular Editor would be to have a third tab in the top right area that acted as a DAX query window where you wouldn't have to wrap DAX in a script. This could be similar to the query windows in DAX Studio. There is a lot of functionality in DAX Studio. This could start light and over time have more of that functionality added.
An additional idea would be to have a link or button somewhere to open DAX Studio from Tabular Editor with the connection already made. This could work similar to the External Tools functionality in Power BI.
Cory

This is part of Tabular Editor 3. Stay tuned :-)


Add a link to issues with "confirmed bug" label to the README for easy discovery

In reaction to feedback here: https://discord.com/channels/457912077277855764/998535629140922378/998685794623553597

"support question" might be a good one too to list right after it


RuntimeError('There is no current event loop in thread %r.')

https://til.simonwillison.net/ site is down at the moment:

Logs at https://vercel.com/datasette/simon-til/9SYmpgw4ExnTbRLnsevw5zXXTRgb/functions show:
[ERROR] RuntimeError: There is no current event loop in thread 'MainThread'.Traceback (most recent call last):  File "/var/task/vc__handler__python.py", line 453, in vc_handler    lifespan = Lifespan(__vc_module.app)  File "/var/task/vc__handler__python.py", line 308, in __init__    self.loop = get_event_loop()  File "/var/task/vc__handler__python.py", line 184, in get_event_loop    return asyncio.get_event_loop()  File "/var/lang/lib/python3.9/asyncio/events.py", line 642, in get_event_loop    raise RuntimeError('There is no current event loop in thread %r.'

This could be a new datasette-publish-vercel bug.

Yup, just deployed https://test-if-vercel-publish-broken.vercel.app/ with this and I'm getting the same error:
datasette publish vercel fixtures.db --project 'test-if-vercel-publish-broken'


Transition to quote + syn for code generation.

Apil 13
Throwing this out here ASAP as a draft so that others can become aware of it.  Will most definitely clash with PRs such as https://github.com/tokio-rs/prost/pull/1019.
Built upon #1020. (rebased)
Will create a proper write-up once things become presentable.
Update (14 April)
Post quote + syn POC made separation of concerns a lot clearer, which lead to a bunch of module splitting. Might be worth trying to send for these as separate PRs, which this draft then builds upon. Ex. placing unescape_c_escape_string and its unit tests in a separate module.
Update (21 April)
Think this is ready to be reviewed now.
Goals:

Lay a groundwork for enabling codegen plugin/modularity.
Make it easier to reason and debug about the generated code output

Assessment:

Still plenty left to be done. Refrained from making larger API changes before input from others, in addition to the experience gained from trying to add JSON mapping.

Similar to outcome of 1, but here an example of what has changed:

Example:
Before
self.buf.push_str(&format!(
    "impl {}::Name for {} {{\n",
    self.config.prost_path.as_deref().unwrap_or("::prost"),
    to_upper_camel(message_name)
));
self.depth += 1;

self.buf.push_str(&format!(
    "const NAME: &'static str = \"{}\";\n",
    message_name,
));
self.buf.push_str(&format!(
    "const PACKAGE: &'static str = \"{}\";\n",
    self.package,
));

let prost_path = self.config.prost_path.as_deref().unwrap_or("::prost");
let string_path = format!("{prost_path}::alloc::string::String");

let full_name = format!(
    "{}{}{}{}{message_name}",
    self.package.trim_matches('.'),
    if self.package.is_empty() { "" } else { "." },
    self.type_path.join("."),
    if self.type_path.is_empty() { "" } else { "." },
);
let domain_name = self
    .config
    .type_name_domains
    .get_first(fq_message_name)
    .map_or("", |name| name.as_str());

self.buf.push_str(&format!(
    r#"fn full_name() -> {string_path} {{ "{full_name}".into() }}"#,
));

self.buf.push_str(&format!(
    r#"fn type_url() -> {string_path} {{ "{domain_name}/{full_name}".into() }}"#,
));

self.depth -= 1;
self.buf.push_str("}\n");

After
let name_path = self.prost_type_path("Name");
let message_name_syn = message_name.parse_syn::<syn::Type>();
let package_name = &self.package;
let string_path = self.prost_type_path("alloc::string::String");
let fully_qualified_name =
    FullyQualifiedName::new(&self.package, &self.type_path, message_name);
let domain_name = self
    .config
    .type_name_domains
    .get_first(fq_message_name.as_ref())
    .map_or("", |name| name.as_str());

let fq_name_str = fully_qualified_name.as_ref().trim_start_matches('.');
let type_url = format!("{}/{}", domain_name, fq_name_str);

quote! {
    impl #name_path for #message_name_syn {
        const NAME: &'static str = #message_name;
        const PACKAGE: &'static str = #package_name;

        fn full_name() -> #string_path { #fq_name_str.into() }
        fn type_url() -> #string_path { #type_url.into() }
    }
}

Other examples
Some(quote! {
    #(#documentation)*
    #(#(#type_attributes)*)*
    #(#(#message_attributes)*)*
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, #prost_path)]
    #maybe_skip_debug
    pub struct #ident {
        #(#resolved_fields,)*
        #(#resolved_oneof_fields,)*
    }

    #nested

    #maybe_type_name
})

quote! {
    #(#documentation)*
    #maybe_deprecated
    #[prost(#field_type_attr, #maybe_label #maybe_boxed tag=#field_number_string, #maybe_default)]
    #field_attributes
    pub #field_identifier: #field_type
}

One takeaway it that this PR removes manual indentation handling, delegating it to the format feature.
Possible future "improvements" which lead to breaking changes.

Consider changing the ServiceGenerator API to pass a token TokenStream/syn::Item rather than buf: &mut String. See tonic's usage: https://github.com/hyperium/tonic/blob/eeb3268f71ae5d1107c937392389db63d8f721fb/tonic-build/src/prost.rs#L247-L276
Consider returning parse errors in config for operations such as config.field_attribute("in", "#[serde(rename = \"in\")]");

PR splitting
Waiting for #1029 and #1030 to get merged before rebasing this one on top of them. Unsure how much else there's to split up.

Unsure how much else there's to split up.

I suggest the following to make reviewing easier:

Split off "this PR removes manual indentation handling, delegating it to the format feature." That is a significant change that could be merged separately.
You have made multiple PRs to move code from code_generator.rs to separate modules, however the diff this PR is still a big red file and big green files. So I can't compare the two versions. Maybe a rebase will solve that.

Hi, thank you for starting to look into this pr 😊
I'll see what I can do during the weekend.


Update diffusers mixins

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Who can review?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@echarlaix, as discussed, one reason why we need to export the distribution parameters instead of performing sampling at export time, is because we can't control the randomness otherwise, which results in some issues, one of which is not being able to reproduce the same output even with the same inputs and seeds. Something as simple as the following snippet does not reproduce the same output with ort.
import random
import torch
import onnxruntime as ort
import numpy as np

def set_all_seeds(seed):
    random.seed(seed)
    np.random.seed(seed)
    torch.manual_seed(seed)
    ort.set_seed(seed)

class RandomModule(torch.nn.Module):
    def __init__(self):
        super(RandomModule, self).__init__()

    def forward(self, x):
        return x + torch.rand(x.size())

model = RandomModule()
x = torch.randn(1, 3, 224, 224)

set_all_seeds(0)
torch_output_1 = model(x)
set_all_seeds(0)
torch_output_2 = model(x)
print(np.testing.assert_allclose(torch_output_1, torch_output_2))

set_all_seeds(0)
torch.onnx.export(model, x, "random.onnx")
ort_session = ort.InferenceSession("random.onnx")
input_name = ort_session.get_inputs()[0].name
output_name = ort_session.get_outputs()[0].name

set_all_seeds(0)
ort_output_1 = ort_session.run([output_name], {input_name: x.numpy()})[0]

set_all_seeds(0)
ort_output_2 = ort_session.run([output_name], {input_name: x.numpy()})[0]

print(np.testing.assert_allclose(ort_output_1, ort_output_2))

PS: I just found out abourt ort.set_seed and it doesn't seem to make any difference.

the overhead from using from_numpy() and tensor.numpy is minimal because these methods only copy the pointer to the block of memory that contains the array (on cpu).

I uploaded a model that was exported using optimum 1.22 :

https://huggingface.co/optimum-internal-testing/tiny-stable-diffusion-onnx

I also added the same checks in optimum-intel for missing attributes in model configs, that way even older versions can still work (e.g. hf-internal-testing/tiny-stable-diffusion-openvino was exported using "_diffusers_version": "0.14.0").
I also removed the need for separate ORTPipeline "base" class and ORTDiffusionPipeline, now it's just ORTDiffusionPipeline which works as an entrypoint and parent class for other pipelines. This is more like what's done in diffusers as well.


exclude_modified_update is not working

I added the field a gave it the value true (actually a checkbox) but the field specified in the options (modifiedDateTime) is still updating.
My fields:
exclude_modified_update: true
modifiedDateTime: 2023-09-14 16:26

I also tried to close Obsidian and reopen but this still happens.

Can you double-check you have  v1.2.4 of the plugin?
I just tried this in the sandbox vault and it works fine. I even copied and pasted the property name from your post just to make sure.

Alan
I think I should investigate my installation of Obsidian. There is
something very strange. I completely uninstalled the plugin and it kept
updating.
It seems like I have two Obsidians running in parallel, but I don't
know why and how to detect the situation.
There are also some issues with conflicting copies created every time the
field is updated (I am using Maestral with Dropbox).
I can give you more info tomorrow (now is about 9 PM CEST in Italy) if you
want.
Thanks for your help.
Riccardo
Il giorno gio 14 set 2023 alle ore 19:26 Alan Grainger <
@.***> ha scritto:

Can you double-check you have v1.2.4 of the plugin?
I just tried this in the sandbox vault and it works fine. I even copied
and pasted the property name from your post just to make sure.
—
Reply to this email directly, view it on GitHub
https://github.com/alangrainger/obsidian-frontmatter-modified-date/issues/6#issuecomment-1719860093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOL5ZGU2KRT57INFZNZTXLX2M423ANCNFSM6AAAAAA4YG73IA
.
You are receiving this because you authored the thread.Message ID:
<alangrainger/obsidian-frontmatter-modified-date/issues/6/1719860093@
github.com>

Can you double-check you have v1.2.4 of the plugin?
I just tried this in the sandbox vault and it works as expected. I even copied and pasted the property name from your post just to make sure.
Here's a test vault showing it working - maybe you can test this on your machine and see if it still works correctly?
Modified test vault.zip

Yes, your vault is working correctly also with my installation of Obsidian. Therefore I think I need to investigate my vault (for instance possible conflicting  plugins).

Can you try uninstalling and reinstalling the plugin? I think that has a high chance of success.
If not, we can move onto other troubleshooting steps.

I did not reinstall, however now it is working on my vault too and conflicting copies stopped creating so far (maybe there was some problem on the Dropbox / Maestral side).
I think you can close this issue an I could open a new one if I find any other strange situation.


Add Highlight.Js in the Readme

Description
Add highlight.js in the Libraries present section
File
Readme

I can help you with this @MarcosEllys, could you assign the issue to me?

Sure :smile:

I can't but you can make this, I'll wait for you

If he's not doing, I'll do it @MarcosEllys

Hey @MarcosEllys - I just created #28 for this issue, let me know what feedback you have


Docs: Oxford comma

Summary
Hello! I know this can be a contentious issue, but as a member of the grammar police, I'd like to propose the standardization of use of the glorious Oxford comma (serial comma) in the docs.
Reading through the docs can be quite jarring when you find inconsistencies in comma usage, like the first two lines of features in https://docs.litestar.dev/dev/usage/contrib/sqlalchemy.html#features
We could sweep through the docs to include the commas where they should be. We should also add some guidance in the contribution guidelines.
Tracking

[x] add commas to docs
[ ] add commas to docstrings

Any consistency improvements for the docs would be warmly welcomed from me.

Completed in #1766


React 0.14

WIP still some issue probably due to <Modal />  when used renderIntoDocument()
other tests are greens !
Do you mind take a look if it is going in the good direction ?

:birthday: @n1k0

Thanks :)
You well deserved a review today o/

Man, this looks super good. I have to switch to other tasks so I didn't take the time to run the app locally, will do asap. Great work! Cheers

side note
mocha --watch option not fully working here... don't know why :(


Terminal is very slow when output contains many urls on a single line

Type: Performance Issue
VSCode will become unresponsive for a few seconds if you hover on a url that has many other urls on the same line.
This is especially problematic when outputing a huge single-line json that contains multiple urls.

Steps to reproduce:

Have something that contains a lot of urls on a single line in your terminal, for example run this python script:

url = "[https://example.com]"
print(url*5000)

Hover your cursor on any of the urls in the integrated terminal.
You should observe VSCode hangs for a moment.

VS Code version: Code - Insiders 1.92.0-insider (Universal) (8703a11164db333db471576d38ddc143d6ad7ead, 2024-07-10T08:26:11.347Z)
OS version: Darwin arm64 22.4.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
2, 3, 3

Memory (System)
8.00GB (0.14GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   14	   172	 44578	code-insiders main
    0	    57	 44588	   gpu-process
    0	    33	 44589	   utility-network-service
    0	   188	 44598	window [1] (github-issue-search)
    0	    66	 44619	shared-process
    0	     0	 44840	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    49	 44670	fileWatcher [1]
    0	    74	 44671	extensionHost [1]
    0	    49	 44690	ptyHost
    0	     0	 44692	     /opt/homebrew/bin/fish -l
    0	    98	 44833	window [2] (Issue Reporter)

Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
vsaa593:30376534
py29gd2263:31024238
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythonregdiag2:30926734
pythonmypyd1:30859725
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
pythonait:30973460
jchc7451:31067543
chatpanelt:31014475
724cj586:31013169
a69g1124:31018687
dvdeprecation:31040973
dwnewjupytercf:31046870
impr_priority:31057980
nativerepl2:31071685
refactort:31084545
pythonrstrctxt:31089940
4930e709:31088354
hdi1a554:31091669

Here the terminal is literally 12,000 bauds for my usual build logs, no kidding.
I might go back to 1978 and enjoy the better performance of a VT100 running at 19,200 bauds.
I wish that was a joke, but that's the reality.

Can reproduce, it locks up here:


Receive screen layout tweaks proposal

I love the addition of BOLT12 in the latest version of the app. The receive screen is getting a little cluttered, IMHO, so I'd like to propose some adjustments to the layout and interaction model, for your consideration.
First, the critique:

Then the proposal, which puts all formats in a swipeable carousel and removes the BOLT12 overlay:

And some details on the proposed changes:

The information design of the receive screen is difficult because it has to present all these payment requests with very different properties. Creating a consistent layout lets users focus on the content rather than having to analyze each screen and figure out what's what. The quick summary of properties reduces the need to understand technical terms and makes a practical, contextual decision easier.
Hope it's helpful. Please reach out with any questions and feedback.
The use of "Lightning address" in the mock-ups will probably come up... I know, not ideal... naming is hard 😀

Thank you for this work, there are a lot of great points.
Our initial version had the Bolt12 QR code in the carousel alongside the others, but we changed that because it made the screen complex and users were less likely to notice and understand this new option.
Grouping the 2 Lightning options together (Bolt11 & Bolt12) makes the flow simpler. First you need to decide whether to receive on-chain or via Lightning. Both options have very different tradeoffs and use cases. Once you've made that decision, if you pick Lightning, you will probably always use Bolt11 for now (except to give your contact to a friend). In the future, once Bolt12 is well supported in the ecosystem, Bolt12 will become the default (receiving with Bolt11 will be deprecated).
So I think we'll keep the Bolt12 screen separate from the rest (maybe not as an overlay though, note that on iOS it's different, Bolt12 simply replaces the Bolt11 screen). But the other suggestions look good.

The use of "Lightning address" in the mock-ups will probably come up... I know, not ideal... naming is hard 😀

The naming for Bolt12 is hard, I have not found a good solution between "Offer", "bolt12", "static invoice", "reusable payment request"...  "Lightning address" sounds good but it just adds to the confusion between the LNURL-based standard, UMA, BIP-353, and probably others.
In any case I think all these technicalities should be hidden from the user. We should not try to find a good name. It should just be called "Lightning" and this "Lightning code" should be reusable, agnostic and universally understood, whatever lies underneath. The user should not have to think about it.

Thank you for the thorough response.
I totally understand the complexity that the lack of a clear standard presents. The more elegant we can manage this transition phase towards one, the better. At the moment, when there are so many differences out there, we have to pick a good default but also allow for flexibility in case the default does not work for the counterparty.

Our initial version had the Bolt12 QR code in the carousel alongside the others, but we changed that because it made the screen complex and users were less likely to notice and understand this new option.

Not sure if the solution you ended up with is less complex. I understand the desire to make sure users notice this new feature. Once the novelty has worn off and the "New" tag is not appropriate anymore, are you planning to move things around?
Regarding naming, I totally agree. From a very practical perspective, it might be helpful to think of the scenario where you try to pay someone and need to communicate how. If both people understand "lightning address" and can arrange a payment, no matter how accurate it is on the technical side, then that term does the job it's meant to do (just like no one thinks about what IBAN stands for). Not even thinking about how that works across languages...
May I ask why Android and iOS are different? Is that just a matter of rolling thing out first on one platform and then follow up with the other? Or do you try to make OS specific adjustments to match their human interface guidelines?

I understand the desire to emphasize the new feature by grouping it under the Lightning umbrella and not hiding it behind a scroll carousel. Could we find a middle ground by introducing a tab navigation for Lightning? This would allow you to also have that "new feature" badge pointing to the toggle option, and when the feature gets old it could just be removed without impacting the UI and muscle memory fo the user. Tabs would allow the user to switch between Bolt 11 and Bolt 12 on the same screen without having to adjust the fields or placement of other buttons. Then the user can simply swipe right for on-chain.

Sorry, I totally missed your last comment. I've done a few more explorations that I'd like to share that are in the same vein.
Here's a 9-minute video explainer of the design thoughts.
And updated designs. There are a lot of ideas in there, but I'd say two of the primary goals are hiding technical terminology as much as possible, and to clarify the information design so it's very obvious what each element is and does. The video lays this out in more detail.

In these designs, there is a primary button to pull up a list of address options to choose from. These options are presented by the unique benefit of each address type, rather than their technical or feature name. This is much more explicit, but also a little more text and UI compared to bitcoin/lightning tabs (where users need more technical understanding to be able to fill in the gaps). This could be worth user-testing with non- or new-bitcoiners to see how it resonates with them.
Curious to hear what you think.


Problem with source, no view loaded.

I'm trying the usage example from readme, i use
<VideoPlayer
....
source={{ uri: this.props.uri }}
....
/>

and also for Trimmer
<Trimmer
....
source={{ uri: this.props.uri }}
....
/>

but, i got warning 'Failed prop type: Invalid prop source supplied to VideoPlayer' and no view loaded, also same for Trimmer . i got this in ios and android. did i miss something ?
then i'm trying using  source={require('./video.mp4')} no error and no view loaded.
if you don't mind, would you add an example ?
thx

@RZulfikri just add source
https://github.com/shahen94/react-native-video-processing/blob/master/lib/VideoPlayer/VideoPlayer.ios.js#L10
<VideoPlayer
....
source={this.props.uri}
....
/>

https://github.com/shahen94/react-native-video-processing/commit/88ce49ba01f43c3d5cb5af76da38b73554a1761b

already try that solution, but i got nothing in my view, it only litle red in left corner..

and my code :

did i miss something ?

 Can you please copy and past your source URI here, also please give me more details on which platform did you checked it, on which rn version do you use

Can you please copy and past your source URI here, also please give me more details on which platform did you checked it, on which rn version do you use

actually i use file from camera roll/device. I use image picker component, so the URI may look like "/Users/lembah8/Library/Developer/CoreSimulator/Devices/B187BB61-5580-423A-98BC-1E1D0F3D5FA2/data/Containers/Data/Application/D82AA33C-E5B0-467A-B4BD-B2F57E7EDBA4/tmp/trim.72D3B914-8A93-473D-8158-4046026A7C34.MOV"
i try it on IOS, using react-native 4.0

seems like you linked library not correctly, check How to setup section

I think when the path is like yours, @RZulfikri, you need to prepend file:// to the path.

@shahen94 already try setup xcodeproj by following video tutorial for  twice, but still got same problem..  @flybayer already try but still same..
can you add some example project ?
thanks.

@shahen94 when i try on android it work
This the view when i try in ios and android.

Android
IOS

i guess i missing something when setup IOS but i dont know what. For information, my project didnt have "ProjectName-Bridging-Header.h" so i create one and add some code from your video. Did the problem because of that ?

@RZulfikri you are using reacts natives images picker right ?

@shahen94  yup..

Well, it as result gives you object right, pass origUrl to source

still same, i got uri like this "file:///Users/lembah8/Library/Developer/CoreSimulator/Devices/B187BB61-5580-423A-98BC-1E1D0F3D5FA2/data/Containers/Data/Application/5020CE67-D857-4C72-9166-C13D7060452E/tmp/trim.0B0D6057-ED5D-40EA-A8D0-FEDCE281F0CA.MOV"

@RZulfikri origUrl gives you url from assets library, it should start with assets-library? .

@shahen94 so i should try that on device ? because assets-library only for devices ?

@RZulfikri not only, i used it on simulator

@RZulfikri Definitely you're linked the library not correctly. React-native shows red border around unrecognized view.

@shahen94 what should i do then ?

@RZulfikri check chrome console, there should but an error,  remove library from project and follow the video, and do all what it shows

@shahen94 ok thank you, i will try..

yeah you right. Already remove library and re-add library but still got this issue..

@shahen94 i guess it because failed import method..  based on tutorial video, i must import RVVideoProcessing like #import "RNVideoProcessing.h" and it look same at "RNVideoProcessing.h" #import "RNTrimmerView.h" and i'm trying to add file directory before file name, but still got that error..   And thanks for your response

@shahen94 i already follow step from readme and step from video, but still error..

@RZulfikri do you still have this issue ?

@shahen94 For IOS ? yes..

Well, let's try to link android manually.
for the first unlink library
$ react-native unlink react-native-video-processing

after that
Open up android/app/src/main/java/[...]/MainActivity.java
Add import com.shahenlibrary.RNVideoProcessingPackage; to the imports at the top of the file
Add new  new RNVideoProcessingPackage()  to the list returned by the getPackages() method
Append the following lines to android/settings.gradle:
include ':react-native-video-processing'
project(':react-native-video-processing').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video-processing/android')

Insert the following lines inside the dependencies block in android/app/build.gradle:
    compile project(':react-native-video-processing')

And then link iOS version again as demonstrated in the video.
https://github.com/shahen94/react-native-video-processing/issues/48

@shahen94 thanks


scenario tests will use pytest

scenario exposes a pytest plugin, and I've not yet seen unittest + scenario in action, so yeah, still TBD but if it were up to me you know what I'd pick :)

Originally posted by @PietroPasotti in https://github.com/canonical/traefik-k8s-operator/pull/172#discussion_r1219666545

Closing this one as they serve somewhat different purposes. We already have decided on using scenario where applicable.


Image support

This currently doesnt support images, any plan to add image support?

I am not actively working on this but would be happy to accept contributions


Schema name of a function call is colored with wrong color

Description
This is another case when some correct code without error is colored with "SQL semantic error foreground".
This issue is similar to this: #34741
DBeaver Version
Community Edition <IP_ADDRESS>407122322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.2
Steps to reproduce
You can use dvdrental database (it contains the table "actor").
use code:
CREATE OR REPLACE FUNCTION public."get_json"("in_actor_id" integer)
 RETURNS json
 LANGUAGE sql
 STABLE
AS $function$
    select json_build_object('id', actor_id)
    from public.actor as a
    ;
$function$
;

select public."get_json"(a.actor_id)
from actor as a

here is how it is shown (notice the red word "public"):

thanks for the report

#39424

More example
select id, max(cl.Percentage)
from city c, mytest.countrylanguage cl
where c.CountryCode = cl.CountryCode
group by id;

explain select id, max(cl.Percentage)
from city c, mytest.countrylanguage cl
where c.CountryCode = cl.CountryCode
group by id;

create table mytest.Persons (
  Id_P int,
  LastName varchar(255),
  FirstName varchar(255),
  Address varchar(255),
  City varchar(255)
);

INSERT INTO mytest.Persons VALUES (2, 'Adams', 'John', 'Oxford Street', 'London');
insert into mytest.Persons
select id_p, LastName, FirstName, address, city
from persons_b
where firstname = 'Ad'
and lastname = 'Jo'

explain INSERT INTO mytest.Persons VALUES (2, 'Adams', 'John', 'Oxford Street', 'London');
explain insert into mytest.Persons
select id_p, LastName, FirstName, address, city
from persons_b
where firstname = 'Ad'
and lastname = 'Jo'

CREATE TEMPORARY TABLE p_table AS
SELECT Percentage, CountryCode
from mytest.countrylanguage
where countrycode in ('ABW', 'AGO') or `language` in ('Dutch')
;

Hi, @machinewu! Thank you for providing you case.
We haven't added support of new highlighting for explain queries yet. Could you create a separate issue?

Hi, @machinewu! Thank you for providing you case. We haven't added support of new highlighting for explain queries yet. Could you create a separate issue?

create a new issue #35551


feat: Add keyType to git import key generation flow

Description

Import flow is blocked: The api used in case of import is “v1/git/import/keys”; because application id is not present while importing an application, this api was created.
The problem is that this API doesn’t support keyType to be passed from FE. For Azure, and any other service, except GitHub, RSA is a valid key type.

Fixes #14761
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Junit
Locally

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=d12c2d9

/ok-to-test sha=4bea353

/ok-to-test sha=8e352ee

/ok-to-test sha=1c07db8


Postgres CIText Support

Adds support for the Postgres citext type.

Apologies, I'd created this PR against the Diesel repository rather than my own fork by accident. I had meant to ask in Gitter whether it would be acceptable first.


Embeds Don't Allow for Bullets/Formatting Directly Underneath Them

When you embed something in a list, press space after the link of the embed and try to include another bullet point below it, it doesn't work.
How to replicate:

Create a list
Paste a link to media
Embed it
Press space after the link
Try to write/use formatting

Hi thanks for the bug report, but I'm not sure what you meant as it looks fine to me. Maybe the spacing looks wrong but I have no idea how to fix it in Live preview mode... All the text shows up correctly though?
Here's how it looks for me in the different views. From left to right: Source mode, Live Preview, Reading Mode.

The markdown I used:
- ![](https://github.com/GnoxNahte/obsidian-auto-embed/issues/13)
- other notes

Also for any future issues, it might be better if you can put the markdown you used so that I can copy and paste when I'm testing.

Okay now it works, it was because I put a space after the closing bracket.


WIP -  autopia settings experiment

Unmasking the autopia configuration snippet!

It doesn't seem like any work has been done on this PR for a few months. So, I'm going to go ahead and close it. Feel free to reopen or open a new one when you're ready to take it out of WIP.


Disable Auto Correction from keybpard

Dear sir,
Is there posibble to turn off auto correction on keyboard?

hi, did u solved this?


SwaggerSpecFilter with removingUnreferencedDefinitions, removes definitions within containers (List/Map)

The example condition is at (but there are other lines just like it):
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/main/java/io/swagger/core/filter/SpecFilter.java#L140
if (response.getSchema() != null && response.getSchema() instanceof RefProperty) {

As an example:
public List<Foobar> getAll() {
    ...
}

Will filter out the FooBar definition, as the operation's response is an ArrayProperty which does not extend RefProperty.
public Foobar getAll() {
    ...
}

Retains this property correctly...

@mtraynham can you please send a PR with a test case?  Would help a lot.

@fehguy No problem, should be available shortly.


Changelog from Git Commits

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I'm attempting to include a log of git commits when I push a new android build to hockey app. However, the log shown in hockey app is always "No changelog given"
Complete output when running fastlane, including the stack trace and command used
hockey(
api_token: ENV["HOCKEYAPP_API_TOKEN"],
ipa: HOCKEYAPP_APK,
notes_type: '0',
notes: changelog_from_git_commits(pretty: '%h %s')
)
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
  desc "Hockey Deploy"
  lane :hockey do |options|
    # Clean and build the apk
    gradle(task: "clean",
                    properties: {
                    'versCode' => options[:build_number]
                     })
    gradle(task: "assembleDebug",
           properties: {
           'versCode' => options[:build_number]
           })

    # Push to Hockey
    hockey(
      api_token: ENV["HOCKEYAPP_API_TOKEN"],
      ipa: HOCKEYAPP_APK,
      notes_type: '0',
      notes: changelog_from_git_commits(pretty: '%h %s')
    )
  end

Environment
fastlane version (run fastlane -v):
fastlane_version "1.100.0"
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
no
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
no

As a sanity check, can you set notes to some string?


Needed - emptyFill

Now emptyFill is not working and just has its own default value

I'm sorry but I haven't changed anything for 8 months.
Please, provide details of your problem: code example, working demo, etc.

Sure; Sorry I did not know that
in the documentation, about the emptyFill you wrote:

Color of the "empty" arc. Only a color fill supported by now
Default: "rgba(0, 0, 0, .1)"

Only a color fill supported by now; and does this mean I can't change it?!

Well, of course no. You can set any color there:
$('.circle').circleProgress({
  emptyFill: '#336699'
});

Oh; Now I get it!
But I was thinking that mean I can't set, and I tried {} and did not work
Sorry, and thanks again

You're welcome ;)


feature: show edit in post meta header

perhaps this should re-use suggest_edit? or replace the current suggest_edit link?

ryan@mba34 ~/g/ryanburnette.com (main)> hugo server
Watching for changes in /Users/ryan/git/ryanburnette.com/{archetypes,content,layouts,package.json,static,themes}
Watching for config changes in /Users/ryan/git/ryanburnette.com/config.yaml
Start building sites …
hugo v0.123.0-3c8a4713908e48e6523f058ca126710397aa4ed5 darwin/arm64 BuildDate=2024-02-19T16:32:38Z VendorInfo=gohugoio

Built in 29 ms
Error: error building site: render: failed to render pages: render of "taxonomy" failed: "/Users/ryan/git/ryanburnette.com/themes/eon/layouts/categories/list.html:14:11": execute of template failed: template: categories/list.html:14:11: executing "main" – File is nil; wrap it in if or with: {{ with partial "postmeta-head" .>: error calling partial: "/Users/ryan/git/ryanburnette.com/themes/eon/layouts/partials/postmeta-head.html:6:7": execute of template failed: template: partials/postmeta-head.html:6:7: executing "partials/postmeta-head.html" at <partial "show-edit" .>: error calling partial: "/Users/ryan/git/ryanburnette.com/themes/eon/layouts/partials/show-edit.html:12:93": execute of template failed: template: partials/show-edit.html:12:93: executing "partials/show-edit.html" at <.File }}{{ .Dir }}{{ end }}

it no work

Hugo has changed its config significantly in the last 3 years.
See https://github.com/digitalcashdev/digitalcash.dev/tree/main/layouts/partials post meta and show edit for the updated symtax.


added mapper to built-ins table

@rsearls, is the change here related to an existing jira?

@rsearls , nevermind, noticed it's for RESTEASY-1674. Next time, please be sure to mention RESTEASY-XYZ in the commit message


Migration to the latest version of SaaS

:question:
The Question
So we have been asked to migrate our exisitng running tenants from SaaS v1 version to the latest version.
Environment

AWS SaaS Boost Version:

Other information

@JaladJhamb please identify the fields you need from the SaaS Boost tenant service to operate your application.

@brtrvn, I have actually made a diff between the DynamoDB created by old and new SaaS. These were the attributes which were mentioned in the old but not in the new DynamoDB : computeSize, onboarding , overrideDefaults, planID, ALB, ECS_CLUSTER_LOG_GROUP, CODE_PIPELINE
And I have even attached the excel file which I used fo documenting the difference between both the tables.
DynamoDB_Schema.xlsx

I would not look at the DynamoDB table items. They are subject to change even more than the API. Here's a comparison of the tenant objects returned by the Tenant Service API in v1 vs. v2.

Data Type
Tenant v1
Tenant v2

uuid
id
id

timestamp
created
created

timestamp
modified
modified

boolean
active
active

boolean
provisioned
provisioned

string
onboardingStatus
onboardingStatus

string
name
name

string
subdomain
subdomain

string
planId
billingPlan

boolean
overrideDefaults
...replaced by tier, see below

string
computeSize
...replaced by tier, see below

int
memory
...replaced by tier, see below

int
cpu
...replaced by tier, see below

int
minCount
...replaced by tier, see below

int
maxCount
...replaced by tier, see below

string

tier

string

hostname

map

attributes

map
resources
resources

resources[CLOUDFORMATION]
resources[CLOUDFORMATION][consoleUrl]

resources[VPC]
resources[VPC][consoleUrl]

resources[ECS_CLUSTER]
resources[ECS_CLUSTER][consoleUrl]

resources[ECS_CLUSTER_LOG_GROUP]

resources[LOAD_BALANCER_DNSNAME]
...replaced by hostname

resources[ALB]
resources[LOAD_BALANCER][consoleUrl]

resources[CODE_PIPELINE]
resources[SERVICE_?_CODE_PIPELINE][consoleUrl]

resources[RDS_INSTANCE]
resources[SERVICE_?_DB_HOST][consoleUrl]

As you can see, much of the tenant object stayed the same between v1 and v2, but v2 adds more properties and renamed a couple of things to make it easier to understand and use. SaaS Boost v1 did not have a true concept of packaging your SaaS application by Tier. You could emulate some of what tiering represents by "overriding the default" compute settings when you onboarded a tenant. In v2, all of these compute settings (and more) are modeled as part of the app config for each service you define.
Code Pipelines and RDS resources are created per service in v2, so the naming has changed to include the service name you enter in app config. For example, if you named your service frontend, the CodePipeline resource would be called SERVICE_FRONTEND_CODE_PIPELINE.
Using Tiers
v1 if overrideDefaults == false would be similar to onboarding a tenant in v2 to whichever tier you've marked as "default"
v1 if overrideDefaults == true would mean onboarding a tenant into a tier that configures service settings and limits represented by the compute and scaling choices from v1
Also note that in the future billingPlan will move to be an attribute of the tier the tenant onboarded into.
And, just to be clear, because I know this is something your team is struggling with
tenant.resources[LOAD_BALANCER_DNSNAME] == tenant.hostname

hello @brtrvn, sorry I wasn't able to respond back due to some personal reason I wasn't active,
We were actually going through the code of SaaS and we wanted to know what is this file in s3 bucket which is actually in unreadable format actually coming from.

It's hard to say for certain from your screenshot, but CodePipeline uses S3 as a source action. The files in the CodePipeline artifact bucket are ZIP files containing the source material expected by the pipeline's build action(s). In the case of a tenant workload pipeline, the file inside the ZIP archive will be an ECS image definitions JSON file used by ECS to perform a rolling deployment of a new Task Definition for the Services.


feat: mirror pfp & projects, backfill profile_pictures

Fixes #3764
Describe the changes you have made in this PR -

Mirror Uploads : pfp and image_preview
Ensured there are no duplicate blobs & no duplicates attachments.
Ensured previous images are deleted, unlike in current carrierwave and pap. configs, and there are no duplicate attachments in S3 bucket
ensure proper deletion and attaching of images, from both S3 and Database records
Migration to backfill old profile_picture data.

rails data:migrate VERSION=20230606073111

DELETE FROM data_migrations where VERSION='20230606073111';

Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

This PR is now ready, cc @tachyons

I had tested this part a lot, without this if we stop the migration then the objects won’t get uploaded to S3 nor the records are created as the migration raises ActiveRecord::Irreversible migration error so no records are saved,Sent from my iPhoneOn 08-Jun-2023, at 10:59 AM, Aboobacker MK @.***> wrote:
@tachyons commented on this pull request.
In db/data_migrations/20230606073111_migrate_profile_picture.rb:

interrupted = false

trap("INT") do

 interrupted = true

 puts "Keyboard interrupt received. Saving progress and exiting gracefully..."

end

Remove interrupt handling, it simply won't work when migration crashes due to OOM to any other errors.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


What is the meaning of different alias tables?

I am reading your MAST paper and find the design of alias table is interesting. However, I am confused by different alias tables in this project. Can you help explaining this thing in README ?
According to my understanding, LAT means "local alias table ?"  If so, it seems LAT does not provide atomically restoreToCacheHierarchy .
For example, if thread A write x, write y;  and thread B read x, read y just between two writes of thread A.
Inconsistency happens here.

SoftWrAP in the version you reference assumes concurrency control is correctly handled by the programmer, e.g. it is not a heavyweight STM, but is easily extendible to be so.


Export CSV for date range for any given form

This feature belongs in the "manage" list view, as a button on each row. It would then prompt for start and end dates and export CSV.
Array properties should be exported as |-delimited strings.

Use the csv module.


Can I get subtitles or know if some video file have subtitles??

First, it is very interesting and very useful all the code ..
I would like to extract the subtitles of videos using this code, or it's also useful to know if a video has subtitles or not, therefore, I would like to know if it is possible to do it with this code, if so, how would you do ???

This library just wraps the command line tool. So if you construct similar command line flags as shown here, you should be able to extract the subtitles to say a temp file, then read them in/do with what you need.

I'll close this, as the question seems to be answered.
Feel free to re-open if this is not the case.