(CraftCMS) When omit_containers: [”db", "dba"] is set don't create /home/user/.my.cnf

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
No response
Expected Behavior
When working with external Databases by disabling the DB container with  omit_containers: [”db", "dba"] in config.yml , ~/.my.cnf should be empty or omited. so CraftCMS can pick up the correct DB settings from it's .env file when running the mysqldump command
Actual Behavior
When ~/.my.cnfis created even when omit_containers: [”db", "dba"] is present the ./craft db/backup command exits whit an error
Backing up the database ... error: The shell command "mysqldump --defaults-extra-file="/tmp/xwecxbjielux.cnf" --add-drop-table --comments --create-options --dump-date --no-autocommit --routines --default-character-set=utf8 --set-charset --triggers --no-tablespaces --single-transaction --no-data --result-file="/var/www/html/storage/backups/tkf--2022-11-18-134826--v4.3.3.sql" tkf && mysqldump --defaults-extra-file="/tmp/xwecxbjielux.cnf" --add-drop-table --comments --create-options --dump-date --no-autocommit --routines --default-character-set=utf8 --set-charset --triggers --no-tablespaces --no-create-info --ignore-table=tkf.assetindexdata --ignore-table=tkf.imagetransformindex --ignore-table=tkf.resourcepaths --ignore-table=tkf.sessions --ignore-table=tkf.cache tkf >> "/var/www/html/storage/backups/tkf--2022-11-18-134826--v4.3.3.sql"" failed with exit code 2: mysqldump: Got error: 2005: "Unknown MySQL server host 'db' (-2)" when trying to connect

Steps To Reproduce

Create a new CraftCMS Project as described in the docs

mkdir my-craft-project
cd my-craft-project
ddev config --project-type=craftcms
ddev composer create -y --no-scripts --no-install craftcms/craft
ddev start
ddev composer update
ddev craft install
ddev launch

Change the config to the following

name: myname
type: craftcms
docroot: web
php_version: "8.1"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
  type: mariadb
  version: "10.4"
disable_settings_management: true
nfs_mount_enabled: false
mutagen_enabled: false
omit_containers: ["db", "dba"]
use_dns_when_possible: true
composer_version: "2"
web_environment: []
nodejs_version: "16"

SSH into the container and run

./craft db/backup

Anything else?
Creating an empty ~/.my.cnf file resolves the issue

Just adding an empty .my.cnf to the homeadditions folder does the trick too.
Our databases are on an internal MySQL Development Server.

Sounds like you've got it sorted out :)

Maybe a mention in the docs would be great. Since CraftCMS own Nitro is EOL and they recommend DDEV as the best alternative and DDEV officially is supporting CraftCMS a mention of this behaviour in the docs would be helpful. From my perspective using ddev together with external database services doesn't looks very uncommon.

It's quite unusual for people to use an external database... I've heard of it maybe 2-3 times. And can be a bad idea for many folks, breaking the model of local development.
An extra paragraph about external databases could improve https://ddev.readthedocs.io/en/latest/users/basics/database-management/ and a PR would be welcome. You just click the pencil in the upper right.

That seems super intrusive. It would change the .my.cnf on a server or wherever???

It gets written to a temporay file in the /tmp folder and deleted afterwards as you can see in start of the mysqldump command.
"mysqldump --defaults-extra-file="/tmp/xwecxbjielux.cnf"
But they use --defaults-extra-file instead of --defaults-extra which merges the global and the temporary config.

When running the full backup command with --defaults-extra the config in .my.cnf get ignored and the command succeeds. Gonna fill a bug report on the CraftCMS project.

That seems reasonable, sure seems like a bug to me.
Still would appreciate a docs PR adding on a little about using external or non-ddev-managed databases.

Craft will fix their Backup Command in the next release https://github.com/craftcms/cms/commit/c1068dd56974172a98213b616461266711aef86a


Length of loggers

Description & Motivation
The feature to use multiple loggers is really helpful. But I have issues when I try to handle code in such a way that any logger maybe turned off at any time.
For example, when I'm writing this code, I am writing a model able to log into mlflow and tensorboard. When both loggers are passed to Trainer(logger=[ml_flow, tesnorboard_logger]) vs Trainer(logger=[tesnorboard_logger]), I have to write a lot of different custom code to handle that. Upstream handling of how many loggers were passed and of which type in which order is messy. Example, I want to log an image to tesnorboard logs when I only pass tensorboard logger will be: self.logger.experiment.add_image() but when multiple logs are passed and in unknown order, the code becomes unnecessarily convoluted.
Pitch
Handle multiple loggers in model easily. We should be able to check if logger of a type is present or not and if present, get them. This should happen with minimal friction such as checking all indexes. One solution may be to have self.loggers as a dictionary rather than list?
Alternatives
Providing __len__ for pytorch_lightning.loggers.base.LoggerCollection can be one low hanging fruit which does simplify a lot (of course doesnot go all the way).
Additional context
No response
cc @borda @awaelchli @Blaizzy

Hi @bipin-lekhak
Sorry for the delayed response.
We actually got rid of the LoggerCollection and opted for a simpler design where loggers are just exposed in a list. As of Lightning 1.8.0, trainer.logger returns the first logger in the list and trainer.loggers returns the list of all loggers. Our recommendation for users who have logger-specific code is to implement their calls like so:
for logger in trainer.loggers:
    if isinstance(logger, WandbLogger)
        logger.experiment.wandb_api_call()
    if isinstance(logger, MLflowLogger)
        logger.experiment.mlflow_api_call()

This is only needed if users need to make logger-api-specific calls. For regular metrics, self.log() in the LightningModule remains logger-agnostic.
To your feature request:
If it helps, you can check len(trainer.loggers) today.
LoggerCollection was never able to solve this problem of logger-specific api calls. Plus, we tried to unify logger apis in the past but were never successful (https://github.com/Lightning-AI/lightning/issues/12183, https://github.com/Lightning-AI/lightning/issues/11837).
Relevant issues:
#14283
Closing this for now.

Thanks for your response. My solution was something similar to what you have suggested. Your response validated my solution.


chunk key parsing speedup

Hey @ayushnag ,
I actually took a quick look your code and made a few small optimizations. This should give you a 2-3x speedup.

Thanks @agoodm! I actually just replaced the ast.literal_eval() segment with np.fromstring(chunk_tag.attrib["chunkPositionInArray"][1:-1], dtype=int, sep=',') which has also shown performance improvements. Now I am getting similar performance numbers to your method but I have only tested on files with <= 300 chunks per variable. I will keep this in mind when testing with more files/chunks

Actually there is a ~10ms improvement using this instead of the np method (just testing on one file) which might scale. However as Tom mentioned here we can have less memory pressure with numpy2.0. I will go ahead and merge this for now and we can revisit later


Related Powershell Commands

As the Teams Web GUI is not working at the moment, I am missing the related PowerShell commands in this documentation.

Enable and Disable External Access (not Guest Access)
Editing Allow or Blocked Domains

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

ID: 59900927-5e5f-77a4-04be-e05a91330fca
Version Independent ID: 1e4d6b87-f57c-fa45-1630-3c32b821d93c
Content: Manage external access (federation) in Microsoft Teams - Microsoft Teams
Content Source: Teams/manage-external-access.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@weyCC81 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Part 1:
Enable and Disable External Access (not Guest Access)
= Get-CsTenantFederationConfiguration

i checked my organisations with = Get-CsTenantFederationConfiguration
result
Identity                            : Global
AllowedDomains                      : AllowAllKnownDomains
BlockedDomains                      : {}
AllowFederatedUsers                 : True
AllowPublicUsers                    : True
TreatDiscoveredPartnersAsUnverified : False
SharedSipAddressSpace               : False
but in teams app i cannot find any external users ?

Hi @rz7k9k
Here some explanation:
There is a difference between Guest-User and External-User on both types it is possible enable/disable the general use and further more possible to add restrictions on different domains.
Guest-User: Can be invited to teams (group) and share files with internal user
External-User: Can only chat with internal user
https://docs.microsoft.com/en-us/microsoftteams/guest-access-powershell#guest-access-vs-external-access
Part 1 Enable/Disable External User
I think this can be solved with an of the following parameters:
Get-CsTenantFederationConfiguration | fl AllowFederatedUsers, AllowPublicUsers
Part 2 Allow/Block Domain for External User
I think this can be solved with a combination if the following parameters
Get-CsTenantFederationConfiguration | fl AllowedDomains, BlockedDomains, AllowedDomainsAsAList
Part 3 Enable/Disable for Guest User
Could that be the following command?
Get-CsTeamsClientConfiguration | fl AllowGuestUser
Part 4 Allow/Block Domain for Guest User
Could that be the following article?
https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-group-access-to-office-365-groups?redirectedfrom=MSDN
Is there a Get for Set-GuestAllowBlockDomainPolicy.ps1?

Hi weyCC81,
thanks for your reaction.
i checked all the settings on my domain and 'External users' is enabled.
But i cannot connect to users in a different domain with TEAMS
i checked it with powershell and also on Office.com Teams settings.

@weyCC81 Thank you for reaching out. The document was updated recently. Please let me know if you can't find what you're looking for.

@weyCC81 just to let you know that the problem was that some of my on premise users that are synced to Azure AD had old attributes of an on premise lync server. I removed everything and problem solved.

@rz7k9k @weyCC81 thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@Reeced40 Which commit are you talking about? I can not find any changes which relate to new powershell scripts/commands.


<zerorpc.events.Event object at 0x7f1df6565dc0>)> failed with KeyError

Summary of changes
execute command: composer update ( in project: laravel-zerorpc )
we got an error:
- The requested package 0rpc/zerorpc-php 1.2.4 exists as 0rpc/zerorpc-php[1.2.1, 1.2.2, dev-master, 1.2.3] but these are rejected by your constraint.
I think, because the newest release version is 1.2.4 and the version in composer.json is 1.2.3, so we need to update it.
How to Test

in test, you could take my github url ( git@github.com:BarryPaneer/zerorpc-php.git ) instead.
cd  laravel-zerorpc
composer update

/fyi: @zhangjustin , @mark-juwai : Please review.

please, merge it. thx.

and please rebuild the tag again, thx.
https://github.com/juwai/zerorpc-php/releases/tag/1.2.4

I have no permission.

There might be some issue with rebuild. Let's just increase it.

ok.
so 1.2.5

Created, please check.

ok. it's works.


What is it?

Hi, I got your tweet about this for my newsletter (http://webtoolsweekly.com/). It looks like this is some kind of Slack-based productivity tool, which is fine, I can include it.
But I have no idea what it is, specifically. And I can't tell from the README. Can you edit the README to include a one or two sentence description that makes sense to most people, to describe exactly what this is? Thanks!

Sure, thing! This indeed is clearer to people already familiar to Slack and know what they're looking for, but you're right, I'll make a more common description.
Thanks

There you go, @impressivewebs . See https://github.com/DataEasy/slack-hooker/commit/728ebe259eefe025f035bf2b7fe2638417766bcf and tell us if it's better now ;)
Thank you again

Yep, that should be sufficient. Thanks!


Add /v3/stacks endpoint; Fixes #1172

Is there a related GitHub Issue?
#1172
What is this change about?
Adding endpoint /v3/stacks
Does this PR introduce a breaking change?
No
Acceptance Steps

Things to remember
Code is inspired by the buildpacks implementation.
As the issue states to only focus on providing the endpoint without any filters, I will work on implementing the filters after this one is merged

Looks good overall, put some minor comments

@danail-branekov @georgethebeatle can someone let me know what failed, I do not have access to check it myself and locally all tests work including e2e tests

@benjaminguttmann-avtq our pipeline is going through some turbulence right now, not your fault. In the meantime we would appreciate it if you squashed your commits into one :)


WIP - MAINT: more potential cleanups related to version bumps #20458

Reference issue

#20458
What does this implement/fix?

Code cleanup for outdated dependencies
Additional information

Currently a WIP. Testing pytest versions that won't break unless there is already consensus on a version to validate against

Superseded by gh-20711, but I did add the original author of this PR to the commit from the other one, given that they were "competing" PRs, just to be conservative on credit, etc.


Regarding Azure Certification

Now I guess they don't provide certificate after attending the trainings. Please can someone confirm

They only give you 50% discount per semester with 30 days challenge

Now I guess they don't provide certificate after attending the trainings. Please can someone confirm

Thanks for the information.


Create IIIF collections with child items

Update existing Create endpoint to support creating IIIF Collections
part 2:
create IIIF collection which has items
Acceptance Criteria:

addition to POST endpoint /{customer id}/collections
IIIF Collections do not contain the "storage-collection" behavior (see iiif-behaviors)
still requires data added to the database but IsStorageCollection = false
JSON document needs to be saved to S3
Any arbitrary fields can be saved
slug and parent properties are required

At this point the child items are still external? (not child managed iiif colls) - discuss


Amazon Products Reviews Sentiment

As an LGMSoC participant, I'd like to work on this issue.
Kindly assign it to me :)

I'm LMSOC participant...can I work on this?

I know ML well so I would request you to please assign this project to me

@Niketkumardheeryan  can you please assign this issue to me? I saw its up for grab

@Niketkumardheeryan can you please assign this issue to me? I saw its up for grab


Runtime crash with latest Vulkan SDK

Hi, just wanted to report this in case you weren't aware, this sample doesn't run anymore due to changes in the Vulkan SDK with respect to Vulkan Video beta version having changed some interfaces / structs.
Thanks

I assume I'm getting the same error on my side:
#0  0x00007fffeb828d12 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.515.49.16
#1  0x0000555555594a2a in NvVkDecoder::GetVideoFormats(nvVideoProfile*, unsigned int, unsigned int&, VkFormat*) ()
#2  0x0000555555595e2c in NvVkDecoder::StartVideoSequence(VkParserDetectedVideoFormat*) ()
#3  0x00005555555bce6e in VulkanVideoParser::BeginSequence(VkParserSequenceInfo const*) ()
#4  0x00007ffff5f021a8 in VulkanVideoDecoder::init_sequence(VkParserSequenceInfo*) ()
   from /home/scerveau/DEV/IGALIA/PROJECTS/VALVE/vk_video_samples/vk_video_decoder/bin/libs/nv_vkvideo_parser/linux_amd64_release/libnvidia-vkvideo-parser.so.1
#5  0x00007ffff5eeac5b in VulkanH264Decoder::dpb_sequence_start(slice_header_s*) ()
   from /home/scerveau/DEV/IGALIA/PROJECTS/VALVE/vk_video_samples/vk_video_decoder/bin/libs/nv_vkvideo_parser/linux_amd64_release/libnvidia-vkvideo-parser.so.1
#6  0x00007ffff5eedd7d in VulkanH264Decoder::ParseNalUnit() ()
   from /home/scerveau/DEV/IGALIA/PROJECTS/VALVE/vk_video_samples/vk_video_decoder/bin/libs/nv_vkvideo_parser/linux_amd64_release/libnvidia-vkvideo-parser.so.1
#7  0x00007ffff5f025c1 in VulkanVideoDecoder::nal_unit() ()
   from /home/scerveau/DEV/IGALIA/PROJECTS/VALVE/vk_video_samples/vk_video_decoder/bin/libs/nv_vkvideo_parser/linux_amd64_release/libnvidia-vkvideo-parser.so.1
#8  0x00007ffff5f02947 in VulkanVideoDecoder::ParseByteStream(VkParserBitstreamPacket const*, int*) ()
   from /home/scerveau/DEV/IGALIA/PROJECTS/VALVE/vk_video_samples/vk_video_decoder/bin/libs/nv_vkvideo_parser/linux_amd64_release/libnvidia-vkvideo-parser.so.1
#9  0x00005555555bc3cc in VulkanVideoParser::ParseVideoData(VkParserSourceDataPacket*) ()
#10 0x0000555555578f1c in VulkanVideoProcessor::ParseVideoStreamData(unsigned char const*, int, unsigned int, long) ()
#11 0x0000555555578b28 in VulkanVideoProcessor::GetNextFrames(DecodedFrame*, bool*) ()
#12 0x000055555556f9f7 in VulkanFrame::on_frame(bool) ()
#13 0x000055555557fd15 in Shell::present_back_buffer(bool) ()
#14 0x00005555555c49f8 in ShellXcb::loop_poll() ()
#15 0x00005555555c4c93 in ShellXcb::run() ()
#16 0x000055555557c7af in main ()

what would be the plan to get something working and demonstrate that the HW is able to decode a H64 stream ?
Thanks in advance.

Sorry for the issue! A new version of Vulkan Video that we are preparing will also call for an application upgrade. Please keep an eye for updates on drivers and samples during the following two weeks. Please use the driver version that is stated in the README file for the time being.

I gave a try to the driver 515.49.15 suggested here but it's crashing as well. I'm using 515.49.08

Just for the sake of testing, it's possible to apply this patch and the app should decode streams: https://gist.github.com/ceyusa/e6209e2d12d166256ba375bbeb45b310

I gave a try to the driver 515.49.15 suggested here but it's crashing as well. I'm using 515.49.08

Perhaps try the older 470.62.28 driver. I think this is a temporary issue until we get everything updates to the latest API changes.

Sorry, again, for the issue! We have posted a new version of the Vulkan Video decode app and parser that should address all of the above issue against the latest NVIDIA BETA drivers at https://developer.nvidia.com/vulkan-beta-51757-windows and https://developer.nvidia.com/vulkan-beta-5154919-linux.
Cheers!

Hello, using the latest nvdia driver (517.57) and trying to run the encode sample app, I still have a runtime crash...
As we can see in the attached image, my wrapper can't seem to find those two functions vkGetPhysicalDeviceVideoCapabilitiesKHR and vkGetPhysicalDeviceVideoFormatPropertiesKHR using vkGetDeviceProcAddr
Any clues?

Hello, running the sample I get unresolved external symbols (the functions related to the video api)


Update archives for the month of April

Review and publish archives
For each of the following archives, find the run status in the Github archiver run. If validation tests pass, manually review the archive and publish. If no changes detected, delete the draft. If changes are detected, manually review the archive following the guidelines in step 3 of README.md, then publish the new version. Then check the box here to confirm publication status, adding a note on the status (e.g., "v1 published", "no changes detected, draft deleted"):
- [x] eia176 - no changes detected, not published and draft deleted
- [x] eia191 - v4 published
- [x] eia757a - no changes detected, not published and draft deleted
- [x] eia861 - no changes detected, not published and draft deleted
- [x] eia923 - v14 published
- [x] eia930 - v2 published
- [x] eiawater - no changes detected, draft deleted
- [x] eia_bulk_elec - v6 published
- [x] mshamines - v4 published
- [x] nrelatb - no changes detected, deleted draft
- [x] epacems - v7 published
- [x] eia860 - no changes other than `datapackage.json` format, deleted draft
- [x] epacamd_eia - no changes other than `datapackage.json` format, deleted draft

Validation failures
For each run that failed because of validation test failures (seen in the GHA logs), add it to the tasklist. Download the run summary JSON by going into the "Upload run summaries" tab of the GHA run for each dataset, and follow the link. Investigate the validation failure.
If the validation failure is deemed ok (e.g., Q2 of 2024 data doubles the size of a file that only had Q1 data previously), go ahead and approve the archive and leave a note explaining your decision in the task list.
If the validation failure is blocking (e.g., file format incorrect, whole dataset changes size by 200%), make an issue to resolve it.
- [x] eia860m - added a second month of data and almost doubled size, all as expected. v17 published
- [ ] https://github.com/catalyst-cooperative/pudl-archiver/issues/318
- [ ] ferc2 - When running locally - "The following files have absolute changes in file size >|25%|: {'ferc2-2007.zip': 0.7273698385642252}"
- [x] ferc6 - 2021-2023 taxonomies contain invalid files, all years of xbrl data have changed in size - re-ran after #323 merged, no validation issue
- [x] ferc60 - 2021 and 2022 taxonomies contain invalid files - re-ran after #323 merged, no validation issue
- [x] ferc714 - When running locally - "The following files have absolute changes in file size >|25%|: {'ferc714-xbrl-2020.zip': 0.4996762784976085, 'ferc714-xbrl-2021.zip': 0.7985890429364467}"

Other failures
For each run that failed because of another reason (e.g., underlying data changes, code failures), create an issue describing the failure and take necessary steps to resolve it.
- [ ] eiaaeo - known issue with DOI marked deleted, waiting on Zenodo response
- [ ] https://github.com/catalyst-cooperative/pudl-archiver/issues/319

Relevant logs
Link to logs from GHA run

What do the file size change numbers mean? Are they the new file size relative to the old file size? Or is that the magnitude of the change observed?

Very weird to see such an old FERC 2 file with a big filesize change. But sometimes they've stripped out binary data from the DBs retroactively (like where there was an whole freaking PDF or Word doc inside the DB)
Also weird that already published XBRL data would change so dramatically. It might be helpful to just try running those XBRL data through the conversion to SQLite and see if they work, and maybe iterate through all the tables and identify any with big row-count changes.

While trying to debug the FERC-714 and FERC-2 archiving validation errors, I got a weird response from the Zenodo Sandbox server, which doesn't seem to be happening on the Production server. In the datapackage.json we end up with ID_NUMBER in the path URL rather than the actual record ID, so somehow we're not getting the ID we need, or failing to substitute the real ID in before uploading the files, but the fact that it happens on the Sandbox and not on Production suggests it's not a problem we're introducing?
        {
            "profile": "data-resource",
            "name": "ferc2-xbrl-2023.zip",
            "path": "https://sandbox.zenodo.org/records/ID_NUMBER/files/ferc2-xbrl-2023.zip",
            "title": "ferc2-xbrl-2023.zip",
            "parts": {
                "year": 2023,
                "data_format": "xbrl"
            },
            "encoding": "utf-8",
            "mediatype": "application/zip",
            "format": ".zip",
            "bytes": 8175132,
            "hash": "c9d3346e331535af8a7f622065ef17bf"
        }

FERC-714
Looking at the FERC-714 validation failure, now only the 2020 data is changing too much:
"The following files have absolute changes in file size >|25%|: {'ferc714-xbrl-2020.zip': 0.49967830175699846}"

However, the original file is only ~500K, whereas a full year of XBRL data is ~50MB, and all of the pre-existing XBRL files shrank in size, so some kind of change across the board seems to have made everything smaller.
Also, 2020 is not XBRL data that we are currently extracting, so I am going to go ahead and approve this as not currently concerning.

FERC-2
Upon re-running the FERC-2 archiver, it ended up passing just fine. It's still strange that the ferc2-2007.zip file would have shrunk by some huge amount (or changed at all!) so maybe that was due to a glitch in downloading? So I guess I will go ahead and approve the new archive.

Given that we don't expect the EIA AEO to be updated in 2024 at all, and we have reached out to Zenodo about the deleted DOI several times, I'm going to go ahead and close this issue. We'll have another one next week 😄


SSDv2 does not support host caching

I suggest you update the limitations section to include SSDv2 does NOT support host caching.

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

ID: 6399195a-9386-586f-c75f-9ae9b5c33bc7
Version Independent ID: fd8e2c4c-dd45-d847-8b8a-f5706b3f1b6f
Content: Deploy a Premium SSD v2 managed disk - Azure Virtual Machines
Content Source: articles/virtual-machines/disks-deploy-premium-v2.md
Service: azure-disk-storage
GitHub Login: @roygara
Microsoft Alias: rogarana

@mattlunzer
Thanks for your feedback! We will investigate and update as appropriate.

@mattlunzer
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


One oauth2 plugin can not shared by many apis.

Summary
kong's Oauth2 plugin can only support all apis using one plugin, or one api using one plugin, but it does not support one plugin shared by many apis, which has led to the unavailability of Oauth2 plugin in practice. What a pity.

duplicate #1488

I wouldn't see this as a duplicate of #1488
I agree it's beneficial to be able to assign oauth to a number of api's, not just everyone as this prevents mixing different authorisation methods on the same url. It's does cause huge issues in designing microservice solutions where kong is acting as a sole api gateway.


Upgrade to Next.js 12

Upgrade from Next.js 10 to Next.js 12
Remove non-standard typings for getStaticProps and API Routes
Remove Terraform to simplify repository
Remove now.json in favor of improved environment variable handling in later versions of Next.js / Vercel
Removed custom ignore files and on commit scripts
Used standard .gitignore from create-next-app
Use swcMinify for faster builds

📝 Changed routes:

/

(view full size)

And 4 other routes:

/api/exit
/api/sameorigin/[snapshotId]
/api/save
/api/share/[snapshotId]

Commit caa24cfca906b4e8ffd63a8a9d78a51c84ab6b9a (https://preview-mode-demo-510py2tnw.vercel.sh).


Tab Bar is not working with swipeable_page_route

This looks like a duplicate of #6 if you want to achieve horizontal scrolling inside the page:

Unfortunately, I haven't found a way to allow horizontal scrolls between tabs in the content area, but to swipe back when the user is on the left-most tab. Hence, there's an extra parameter in the SwipeablePageRoute constructor: setting onlySwipeFromEdge to true allows the user to swipe back (if they start the swipe near the left edge of the screen) or swipe between tabs (by starting their swipes further to the right). […] – https://github.com/JonasWanke/swipeable_page_route/issues/6#issuecomment-744340540

If that doesn't solve your issue, could you please post a small code sample demonstrating the problem?


Transitioning 0.6.3 code to 0.7

Describe your problem here.
Ok, so. I need help transitioning code for songPos into 0.7 because the source code rework apparently broke songPos completely.
for those that don't understand, songPos is usually written like this in lua: songPos = getPropertyFromClass('Conductor', 'songPosition'); It basically makes everything tick. but with 0.7's rework update, that completely broke songPos.
if you don't believe me, try it yourself! and see that it doesnt work anymore.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nope!

replace Conductor with backend.Conductor, I recommend looking at the new source folder as everything on it changed so you need to adjust your code to fit the new folder structure

replace Conductor with backend.Conductor, I recommend looking at the new source folder as everything on it changed so you need to adjust your code to fit the new folder structure

thanks!

replace Conductor with backend.Conductor, I recommend looking at the new source folder as everything on it changed so you need to adjust your code to fit the new folder structure

you are a life saver!


Start implementing remaining scripts

Flesh out implementation of CollectCom tx, with some stuff on the side

Resulting Datum and Value checks in the Head validator are not done now tough. This is what the statemachine was doing.


Added basic icon support for webview (Windows Only!)

This pull request will add basic support for changing the default icon on webview.
This was only tested on a Windows machine as I do not have Linux installed.
One thing I do think we will need to do is wrap the C functions in a macro, so that they will only be exported if the OS is Windows.
This will avoid undefined errors for Linux users. Any suggestions would be appreciated.
[if windows]
fn C.set_window_icon(application_title &wchar.Character, ico_file_path &wchar.Character)

Currently this is only supported by Windows, but Linux and MacOS will come in the future.
Here is an example of how different webview windows can have different icons.
The one on the left has a darker icon compared to the one on the right.

In order to make this as abstract as possible, I had to create a new parent struct WebviewContext which takes the webview context as well as the title, this is also a design change since it would be nice to offer more meta data to developers in order to make their application as unique as possible.
pub struct WebviewContext {
pub:
	ctx &C.webview_t
pub mut:
	title string
}

Also when creating a webview window a default title and icon is set.
pub fn create(opts CreateOptions) &WebviewContext {
	ctx := C.webview_create(int(opts.debug), opts.window)
	mut s := &WebviewContext{
		ctx: ctx
		title: 'webview'
	}
	s.set_title(s.title)
<EMAIL_ADDRESS>	return s
}

I also changed the location of the test files in order to keep them within the same module as to avoid V trying to use .vmodules instead.

Basic usage:
	mut w := create(debug: false)
	w.set_title('My Awesome App!')
	w.set_size(600, 400, .@none)
	w.set_html('
<samp>${@FILE}</samp>

Testing set_icon

')
	w.set_window_icon('my_awesome_icon.ico')
	w.run()

	w.destroy()

[if windows]
fn C.set_window_icon(application_title &wchar.Character, ico_file_path &wchar.Character)

Having written the review from the code view I missed that you also suggested this. So yes, I think it's good as long as just windows is supported!

[if windows]
fn C.set_window_icon(application_title &wchar.Character, ico_file_path &wchar.Character)

Having written the review from the code view I missed that you also suggested this. So yes, I think it's good as long as just windows is supported!

Thanks for the great feedback, I did see some changes that, I forgot to remove, like the bool 😄 .
I have added the macros, will just adjust the code and we can go for another round 😎 .

You'll probably run into an error an error when adding the macro and trying to use a return value.
E.g:
pub fn (w &Webview) set_icon(icon_file_path string) ! {
	if !C.set_window_icon(wchar.from_string(w.title), wchar.from_string(icon_file_path)) {
		return error('Failed setting icon.')
	}
}

A V result return could be more valuable than having the temporary [if windows] macro. It would be okay then to just mention in the doc comment that only windows is supported for now. What do you think on this?
There is probably also a better option than using a bool, as it can return multiple errors. Then both errors MessageBoxW(NULL, L"Failed to load icon from file!", L"Error", MB_ICONERROR); and MessageBoxW(NULL, L"Failed to find the application window!", L"Error", MB_ICONERROR); can be signaled to the user as V errors.

You'll probably run into an error an error when adding the macro and trying to use a return value.
E.g:
pub fn (w &Webview) set_icon(icon_file_path string) ! {
	if !C.set_window_icon(wchar.from_string(w.title), wchar.from_string(icon_file_path)) {
		return error('Failed setting icon.')
	}
}

A V result return could be more valuable than having the temporary [if windows] macro. It would be okay then to just mention in the doc comment that only windows is supported for now. What do you think on this?
There is probably also a better option than using a bool, as it can return multiple errors. Then both errors MessageBoxW(NULL, L"Failed to load icon from file!", L"Error", MB_ICONERROR); and MessageBoxW(NULL, L"Failed to find the application window!", L"Error", MB_ICONERROR); can be signaled to the user as V errors.

I like it, will have it return the errors instead and we can panic (that is, if we want to panic on error) when trying to set the icon on linux/macos.
I am also currently working on Linux support, just getting my dev environment up, but for this pull request, it will only be windows.
I will update the docs as mentioned.

Thanks for the updates.
I'll walk the dog, and come back to the PR later.

I am also currently working on Linux support, just getting my dev environment up, but for this pull request, it will only be windows.

Nice!

I don't want to interfere with anything ongoing, let me know when this is ready then I go about it as soon as a free moment opens up :+1:

So, I got it to work on Linux running Lubuntu.
MacOS will be a bit of a challenge since, I don't own one, but for now this should be good for most use cases.
What do you think?

So, I got it to work on Linux running Lubuntu with GTK.
MacOS will be a bit of a challenge since, I don't own one, but for now this should be good for most use cases.
What do you think?

I think that's awesome @Ouri028! It's planned to publish a new version with the latest changes soon, maybe we can make the feature be part of it.
I think it's okay if mac follows later (it would be great, as incorporating communication with native mac windows might also be a good step towards solving #6 directly from this V wrapper).
There are also solutions to the platfrom related problem. I'll do some tests later so I can speak having tested this specific case without doing too much guessing.
Other things are:

I haven't fully thought through the default icon yesterday as it was quite crowded, sorry about this. Setting a default window icon is not a choice the lib should make for the user. But the feature itself is great! Adding and setting the icon in the lib can can be done for the app example as examples/v-js-interop-app/icon.ico examples/project-structure/assets/icon.ico.
Same goes for a default window title, not a choice the lib wants to make for the user.

Platform support works. I push the changes here so it can remain part of the PR and we have some actual code to discuss about.

Platform support works. I push the changes here so it can remain part of the PR and we have some actual code to discuss about.

I agree fully about it being a user choice instead of making it a default option, I will just add an example to the project such as how to set the default icon and title.
I will clean up the code and move the tests back and push the feature, I will have a look at the MacOS implementation to see what I can do there, even if just to get a sample started.

Okay, I don't want to break anything ongoing or make merging changes and suggestions to complicated. So I pushed it as temporary branch for now: https://github.com/ttytm/webview/commits/temp/add-icon-support

The test couldn't be automated to check of the icon actually works, it needs to be viewed. So it fits well as example.

LGTM. Needs a rebase and addressing the latest feedback about the icon_test file. When there is no conflict with macOS I say it can be merged :) else we can use the e.g. icon_windows.v approach to reduce it to supported platforms.

I'm fine with either, I'll look into the MacOS support and see what can be done there, but if people want the feature, we can make it available as suggested icon_windows.v

Workflows should run automatically after the first approval. Sorry about the delays. I'll check what is goin on there after the PR was merged. I'm back at my desk in about 2-3h. Thanks already for all the efforts 💪

Workflows should run automatically after the first approval. Sorry about the delays. I'll check what is goin on there after the PR was merged. I'm back at my desk in about 2-3h. Thanks already for all the efforts 💪

Glad I was able to help, I'm actually planning on using this library to build my future desktop apps , so its mutually beneficial 😎

Glad I was able to help, I'm actually planning on using this library to build my future desktop apps , so its mutually beneficial 😎

That's nice to hear! It's also my first choice and I'll continue to use it for my GUI Apps too. It gets better and better 😇
Now this is also finished. Good work @Ouri028!


[stable/traefik] quote boltdb prefix

What this PR does / why we need it:
otherwise the toml file would be invalid.
Which issue this PR fixes
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @geraldcroes

Hey @carlossg,
thanks a lot. We have another PR open which will bump the minor version: #14585
Maybe its a good idea to wait for that, so the fix is in the then new 1.70.X version of the chart?

Maybe its a good idea to wait for that, so the fix is in the then new 1.70.X version of the chart?

hey, your call.. either way is fine by me :)

/assign
/ok-to-test
/lgtm

not sure why tests fail... the test case does not even uses boltdb..

/lgtm


Is multiple choice constraints possible via StringParser?

Similar to how outlines allows for the LLM to respond with a specific word from a set of choices, can we do the same with LMFE?
I've been researching a lot of the different enforcers and I really liked the setup/process here. Also like, huge kudos for explaining how enforcement works, every other repo kinda just says "hey this works!" Plus the addition of diagnostics is really up my alley, as I like to understand how my prompts are impacting the output.
My particular use case is using LLMs to label data, right now I've been iteratively testing manually, but it seems that an enforcer might be a good fail safe -- especially if I mainly want it to output just a "Yes" or "No" answer. Similar to the example Outlines gave. I am non-technical, sorry if this was as a bad question! Would love to get code examples directly if this is possible thank you!

Yes, you can do this by creating UnionParser with multiple StringParsers!

Yes, you can do this by creating UnionParser with multiple StringParsers! Apologies, I cannot write a code sample at this moment.

okay! Im going to try to look into this w/ copilot and try to get something together! if you do get a chance id love to see an example, thank you so much for taking the time to point me in the right direction!

worked w/ copilot to get this working! Was a lot easier (less scary) than I thought it would be! Here is my code in case anyone else wanted a similar solution, here "yes" and "no" were my multiple choice labels. Basically just followed the example up until the json part.
# Import String & Union Parser classes
from lmformatenforcer.characterlevelparser import StringParser, UnionParser

# Create StringParser instances for "Yes" and "No"
yes_parser = StringParser("Yes")
no_parser = StringParser("No")

# Create a UnionParser with the "Yes" and "No" parsers
union_parser = UnionParser([yes_parser, no_parser])

# Create a logits processor with the union_parser
logits_processor = build_vllm_logits_processor(tokenizer_data, union_parser)

# Create a SamplingParams object
sampling_params = SamplingParams()
sampling_params.max_tokens = DEFAULT_MAX_NEW_TOKENS
sampling_params.logits_processors = [logits_processor]

# Generate texts from the prompts
outputs = llm.generate(prompts, sampling_params=sampling_params)

# Load the data
df_training = pd.read_csv(dataset_path)

# Extract the generated text and add it to the dataframe
df_training['LLM_output'] = [output.outputs[0].text for output in outputs]

# Display only the 'content' and 'LLM_output' columns
display(df_training[['content', 'LLM_output']])

Hi, is it possible for the model to obtain multiple labels at one time?


Could not get variables.tar.gz

Hi,
I'd like to test a batch of sequences locally. But I failed to fetch variables.tar.gz using git lfs and it shows "this repository is over its data quota". Could you provide the file by other means if possible?

Hi, here's a download link: https://filesender.surf.nl/?s=download&token=1cc4d098-e01e-441a-8990-ccff052fd88d
Apologies for the inconvenience.
Best,
Niek

Thanks! But I met errors when decompressing it bytar -zxvfor tar -xvf:
gzip: stdin: not in gzip format
Is the problem caused by the file itself, or by the decompressing commands?

Could you try this one: https://filesender.surf.nl/?s=download&token=fb727787-f165-4d23-b535-68a5e8cfc842
Best,
Niek

I just updated the github repo with a permanent download link that makes the lfs file obsolete. Thank you for pointing out this flaw. I hope everything works smoothly for you now.
Niek

Thank you. It works now.


[unenv] fs.readFile is not implemented yet! (sendgrid)

Hey guys!
I am sending an email with attachment from rsc api folder and I got this. Does that mean this is something not yet in Worker? Any help guys!!
Thank you
{
  "truncated": false,
  "outcome": "ok",
  "scriptVersion": {
    "id": "4a60b4e9-00b0-4112-96f5-f6e169246941"
  },
  "scriptName": "cloudflare-invoices-center",
  "diagnosticsChannelEvents": [],
  "exceptions": [],
  "logs": [
    {
      "message": [
        "Error uploading file:",
        "Error: [unenv] fs.readFile is not implemented yet!"
      ],
      "level": "error",
      "timestamp":<PHONE_NUMBER>141
    }
  ],
  "eventTimestamp":<PHONE_NUMBER>141,
  "event": {
    "request": {
      "url": "https://xxxxxxxxxxxxxxxxx/api/upload-profile-picture",
      "method": "POST",
      "headers": {
        "accept": "*/*",
        "accept-encoding": "gzip, br",
        "accept-language": "en-US,en-CA;q=0.8,en;q=0.5,fr-CA;q=0.3",
        "cf-connecting-ip": "<IP_ADDRESS>",
        "cf-ipcountry": "CA",
        "cf-ray": "8cfbef97aedd111d",
        "cf-visitor": "{\"scheme\":\"https\"}",
        "connection": "Keep-Alive",
        "content-length": "321568",
        "content-type": "multipart/form-data; boundary=---------------------------65224256623712046681452898732",
        "cookie": "REDACTED",
        "dnt": "1",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-origin",
        "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0",
        "x-forwarded-proto": "https",
        "x-real-ip": "<IP_ADDRESS>"
      },
    "response": {
      "status": 500
    }
  },
  "id": 20
}

Hello,
Here is the compatibility matrix of node apis with wrangler and workerd https://workers-nodejs-compat-matrix.pages.dev/
If you enable nodejs_compat with wrangler version >3.78.10. Most of the fs library should be available for you. I hope this helps :)

Found this link, where it explains why you are getting the error and a space where you can propose the APIs that you want in workerd.

Here is the compatibility matrix of node apis with wrangler and workerd https://workers-nodejs-compat-matrix.pages.dev/

One caveat here is that the fs API are mocked because you can not access to a disk in the worker runtime.
There will probably be some work on this to support a virtual file system in the future.
But for now and coming back to the problem, the issue is that some package is trying to access the file system (fs).
Can you setup your code to attach a file from somewhere else than the file system? (i.e. inline, network, ...)

Hey @shashankboosi and @vicb !!
I am using node v22.9.0, wrangler version 2.80.1.
Here is my wrangler.toml file:
#:schema node_modules/wrangler/config-schema.json
name = "xxxxxxxxxxxxxxxxx"
main = ".worker-next/index.mjs"
compatibility_date = "2024-09-25"
compatibility_flags = ["nodejs_compat"]
Minification helps to keep the Worker bundle size down and improve start up time.
minify = true
Use the new Workers + Assets to host the static frontend files
assets = { directory = ".worker-next/assets", binding = "ASSETS" }
[[kv_namespaces]]
binding = "NEXT_CACHE_WORKERS_KV"
id = "xxxxxxxxxxxxxxxxxxxxxxxxx"
[observability]
enabled = true
Here is the code causing the issues:
export async function POST(req: Request) {
sendgrid.setApiKey(process.env.SENDGRID_API_KEY!);
try{
const formData = await req.formData();
const username = formData.get('username') as string;
const description = formData.get('description') as string;
const date = formData.get('date') as string;
const fileCount = +(formData.get('file-count') as string);

const files: File[] = [];

for (let i = 0; i < fileCount; i++)
  files.push(formData.get('file_' + i) as File);

const attachments = [];
const id = nanoid();
let i = 1;

for (const file of files) {
  const arrayBuffer = await file.arrayBuffer();
  const name = `${id}_${i}`;
  const fileType = file.name.split('.').at(-1);

  const command = new PutObjectCommand({
    Bucket: process.env.AWS_BUCKET_NAME,
    // @ts-ignore
    Body: arrayBuffer,
    Key: `customers-support-images/${name}.${fileType}`
  });

  await s3Client.send(command);

  attachments.push({
    filename: file.name,
    content: Buffer.from(arrayBuffer).toString('base64'),
  });

  i++;
}

const html = await render(SupportTicketEmail({ username, description, date }));

const options: any = {
  from: 'xxxxxxxxxxxxxxxxxxxxxx',
  to: [xxxxxxxxxxxxxxxxx],
  subject: `New Support Ticket from ${username}`,
  html,
  attachments
};

await sendgrid.send(options);

// Return success response
return new Response(JSON.stringify({ success: true, message: 'Email sent successfully' }), {
  headers: { 'Content-Type': 'application/json' },
  status: 200
});

} catch (error: any) {
console.error('Error sending email:', error.message);
return new Response(JSON.stringify({ success: false, message: 'Failed to send email', error: error.message }), {
headers: { 'Content-Type': 'application/json' },
status: 500
});
}
}

This piece of code works fine and is so fast with my actual cloud provider but I want migrate to cloudflare worker and "hopefully" reduce my cloud costs.

The issue seems to be linked to sendgrid accessing the file system.
One thing I would suggest: create a striped down example reproducing the issue starting from a simple worker example npm create cloudflare@latest.  Make this repro available in a github repo.
They you can start a discussion about the sendgrid package here.
You can also check with the sendgrip community why they have to use the file system and if there is a way around.

Hey @vicb!
It is not just SendGrid, I have the same issue when I try to attach a file and send it to AWS S3.
Same error as well when I try to get a file from AWS S3. I am wondering if you guys have an example with reading a file or involving the module fs.
thanks

Ah, sorry for the misunderstanding, you can not use fs because the runtime does not have access to disk.
You can download an S3 file to a Buffer or send a Buffer to S3 not you will not be access to save/load it to/from disk because there is no disk.
Does that make sense?

@vicb Sorry I do not understand your explanation. The code I provided above is what recommended by AWS S3 and SendGrid.
You are asking to do differently and do you have an example of code please?
I am trying to follow the code example from AWS S3 and SendGrid.
I will appreciate it so much if you can provide an example code please.
Thanks

Not related to OpenNext (but to node compatibility)


Remove v2-alpha from workflows

As we are moving to merge v2-alpha into develop for a full release, we should remove all of the alpha release code from the workflows.

Closed by https://github.com/gchq/Gaffer/pull/2939


Support for startFrame and endFrame arguments in play ref method

The current implementation of the play ref method in react-native-skottie does not support specifying start and end frames, which is a feature in lottie-react-native. This functionality allows for greater control over the animation segments, especially useful in cases where only a part of the animation needs to be played.

+1 on this feature request to give more flexibility in the api

+1 This is litterally the only reason why my team and I haven't moved to Skottie


[Unconfirmed] Sometimes Server Details fails

Sometimes the Server Details Page has no content.
Steps to reproduce:
Caution
This error could actually only be fixed via the Hetzner Cloud Console
Steps:

Create a Backup from a Server (Srv1)
Create a new Server from the Backup (Srv2)
Deactivate the Backup on Srv1 (or Delete the Backup)
Go on the Servers List
ERROR: The Page freezes and the servers are displayed 0....9999-Times
Go to the Hetzner Console and delete Srv2
Restart the App complete
Reselect the Project
All is Good

@janxb Can you please check this? Actually i see the issue only on iPhones

Developer Note:
Looks like the result set from the API is "null":
"null is not an object (evaluating 'e.server.image.description')" -
In the API Doc the field "image" could be an object or null

I can confirm this issue. Please note: I tested it with snapshots and not with backups, because they don't cost me money.. ;)
When deleting the snapshot a server was created from, I get lots of different effects like duplicated servers in the server overview, and empty server details pages. See the attached screenshots for details.
I think it makes sense to return null for the "image" field, because when you delete the source image, there is no other data to be displayed there.


metrics: Add metrics comparison tool

Now we have some metrics framework in place, and a pending CI system (localCI) that should be usable for metrics CI, we need some tools to enable the metrics CI framework.
Add a tool that compares the reported metrics (CSV files) against a set of baseline metrics, and reports back pass/fail with some details.

This is related to #89


📖 GPU compute - shorten sleep timer for pods on GPU node.

User Story
As a…engineer
I need/want/expect … pods to be put to sleep in a timely manner
So that…the GPU node can be scaled down thus avoiding costs for unused compute
Definition of Done

[ ] POD sleep timer decreased and tested
[ ] Code pushed to Development
[ ] Another team member has reviewed
[ ] Tests are green
[ ] Code pushed to production

PR merged and Control panel release created in dev and deployed
I can see the Kubernetes deployment is using the correct chart  "chart=vscode-1.1.2"
Leaving pod to be idled out

Successfully tested in dev release

created a release restricted to me in production will check if behaves as expected and then make the release available to current users

GPU pods and nodes now idled and scaled as expected.
Restricted tools release available in dev and prod


Add omnipd for translation to puredata externals

Hi, just discovered this cool project. Since the external layout for max and puredata is quite similar, would it be possible to start another project omnipd to provide for translation to pure data externals?

Hi @shakfu!
Sorry for the late reply. This is definitely possible but I have been very busy with work. I'm slowly working on the 0.5.0 release for Omni, perhaps this can be included with that.


flagstate property issue

when I enable the property of flagstate it not displays the flag of the relevant country

Thanks for the update will check what's the issue, If any issue found definitely it will resolve in next version

make it fast as soon as possible . Thank you :)
On Sun, Apr 4, 2021 at 11:41 PM Altaf Chaudhari @.***>
wrote:

Thanks for the update will check what's the issue, If any issue found
definitely it will resolve in next version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/altafc22/csc_picker/issues/9#issuecomment-813075944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS6WCF3GP3Z2B6GYCLO2XVLTHCTWXANCNFSM42LPSC3A
.

can you please explain the issue in detail

its displaying the correct country for me, I've checked couple of them first, canada and last one on the list all 3 displaying the correct flag. Which country are you selecting?

Closing this issue, because there is no clear discription about issue.  i have tested for many countries, packege is showing correct flags.


QH-DSPDC-1147-uri-definition

Updating the data model to switch xsd:anyURI to dct:URI (3 instances)

Sorry for the changes after the review! I just switched those changes back and then replaced any instances of rdfs:range dct:URI ; with rdfs:range xsd:anyURI ;. The updated Data Model was loaded into Top Braid Composer to check for errors - so far each of the properties are showing an updated range datatypes, so changes look good.


fix: apply schema to actions api

Apply the object schema (if given) to the actions API

Test Plan
Testing locally
Deployment instructions
[Add any special deployment instructions here]

I'm not sure why the docs build is broken -- it looks like it's using an old version of our prisma schemas


Node >16 TypeError: Failed to parse URL from @ffmpeg/core/dist/ffmpeg-core.wasm

Describe the bug
When running the first example on the README in a NodeJS environment, I get the following error:
❯ node --experimental-wasm-threads index.js
[info] use ffmpeg.wasm v0.11.4
[info] load ffmpeg-core
[info] loading ffmpeg-core

[fferr] TypeError: Failed to parse URL from<EMAIL_ADDRESS>/path/to/nodeFfmpeg/node_modules/@ffmpeg/core/dist/ffmpeg-core.js:12

if(l){ra=oa?require("path").dirname(ra)+"/":__dirname+"/";ta=function(a,b){wa||(wa=require("fs"));xa||(xa=require("path"));a=xa.normalize(a);return wa.readFileSync(a,b?null:"utf8")};va=function(a){a=ta(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a};1<process.argv.length&&(ka=process.argv[1].replace(/\\/g,"/"));ja=process.argv.slice(2);process.on("uncaughtException",function(a){if(!(a instanceof ca))throw a;});process.on("unhandledRejection",u);la=function(a){process.exit(a)};f.inspect=

                                                                                ^

RuntimeError: abort(TypeError: Failed to parse URL from /path/to/nodeFfmpeg/node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm). Build with -s ASSERTIONS=1 for more info.
    at process.u (/path/to/nodeFfmpeg/node_modules/@ffmpeg/core/dist/ffmpeg-core.js:25:109

To Reproduce
Steps to reproduce the behavior:

Download the attach ZIP containing package.json, package-lock.json, index.js and the flame test.avi
==> node-ffmpeg-error.zip
npm install everything
node --experimental-wasm-threads index.js
See error

Expected behavior
It's the default example, it should just run.
Desktop:

OS: Darwin Kernel Version 21.6.0 arm64

NodeJS:

Version v18.8.0

ffmpeg.wasm

@ffmpeg/core version: 0.11.0  (latest release rn)
@ffmpeg/ffmpeg version: 0.11.4  (latest release rn)

Additional context
I wrote a lib that uses ffmpeg.wasm, and it works amazingly in the browser, but when running it on Node, despite my best efforts, I keep running into this.
I thought my setup was wrong so I created this minimalist NodeJS app that uses the README code, and lo and behold it shows the same error.
Here is the README code I'm referring to:
const fs = require('fs');
const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg');

const ffmpeg = createFFmpeg({ log: true });

(async () => {
  await ffmpeg.load();
  ffmpeg.FS('writeFile', 'test.avi', await fetchFile('./test.avi'));
  await ffmpeg.run('-i', 'test.avi', 'test.mp4');
  await fs.promises.writeFile('./test.mp4', ffmpeg.FS('readFile', 'test.mp4'));
  process.exit(0);
})();

Downgrade node.js to v16 should work, not sure why node.js v18 doesn't work at the moment.

Downgrade node.js to v16 should work, not sure why node.js v18 doesn't work at the moment.

Downgrading to Node.js v16.17.0 fixed it! I added the following to my package.json to be sure:
  "engines": {
    "node": "<=16.17.0"
  },

I think this is still happening on newer node versions, its saying that fetch failed. It seems like this is the new error:
[fferr] TypeError: fetch failed
node_modules/@ffmpeg/ffmpeg/src/createFFmpeg.js:43
Uncaught RuntimeError RuntimeError: abort(TypeError: fetch failed). Build with -s ASSERTIONS=1 for more info.

aka I think it's having a problem grabbing the WASM file

Was stuck on this for hours. Downgrading from Node 19 to 16 worked for me. Geez.

Still no updates?

Downgrade to node 16.x still not work when deployed to Vercel.
Runetime: Node.js 16.x
[info] use ffmpeg.wasm v0.11.6
[info] load ffmpeg-core
[info] loading ffmpeg-core
Error: Cannot find module '@ffmpeg/core'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /var/task/.next/server/pages/api/whisper.js
- /var/task/node_modules/next/dist/server/next-server.js
- /var/task/___next_launcher.cjs


Block 3003832 submission failed with: high-hash [ blockhash]

Hi Xiaolin
I got this warning on MAZACOIN
[W] [MAZA] Block 3004860 submission failed with: old-versionbits(0x09000000)
I checked the pool wallet on block explorer it has some coins found by the pool  which means it has found a block
meanwhile the pool UI shows no blocks found  or even orphaned
for another coin ROGER
multiple blocks   found and submitted  but all of them are  orphaned
logs shows :
classified as orphaned due to daemon error -5
what should I do to skip this error ?
thank you

need used address legacy type

Hi Xioalin thanks dear
could share your miningcore.js webui  configs api and weburl parts I could not set  https am almost giving up
last tutorial I tried was "https://blog.tekspace.io/how-to-setup-lets-encrypt-ssl-certificate-with-nginx-on-ubuntu-22-04/"
same thing only https index and http not working and the pool show the maintenance message

Hi Xioalin
using legacy worked on ROGER but not for MAZA
after using legacy address am getting this error [MAZA] Block 3007619 submission failed with: high-hash ???
thanks dear

Hi Xioalin Do I have to use legacy on all coins ? using legacy worked on ROGER but not for MAZA after using legacy address am getting this error [MAZA] Block 3007619 submission failed with: high-hash ???
thanks dear

What algorithm for MAZA

Hi Xioalin Do I have to use legacy on all coins ? using legacy worked on ROGER but not for MAZA after using legacy address am getting this error [MAZA] Block 3007619 submission failed with: high-hash ???
thanks dear

What algorithm for MAZA

SHA256

maza coin does nbot support ASSIC Boost

maza coin does support ASSIC Boost won't work on miningcore software

Thank you very much
I noted that the latest  Maza Core dropped support for ASICBOOST "https://github.com/MazaCoin/maza/releases" so I tried older version MAZA v0.10.2 and I got the same issues


Plugin does not compile in Xcode Version 9.2 (9C40b)

First of all, thank you very much @Ayiga and others for the great work on the original iOS plugin.
I have installed this plugin and it won't compile on Xcode Version 9.2 as it keeps complaining about APPingModule.h
Please see screenshot.
Is there any special config or setting that I need?
Many thanks.

I had those compile errors as well, just comment them out. After you comment out those lines you'll get more compile errors, just keep commenting them out until it works.

Thanks @VictorCoding   for the tip :-)

After you comment out those lines you'll get more compile errors, just keep commenting them out until it works.

cringe
I'm sorry all... I have not had time to maintain this thing lately... and I haven't even attempted to build or test the iOS fork, just trusted the community.
I'm moving soon, but I did find my label printer, and my old iPad, so I should be able to dust this thing off soon, in the coming month or so.

I can't get the plugin to compile, either. I get the same errors as arcadius. I can either comment them out or replace them with __Check_Compile_Time(), which also seems to work. But, after that, I get errors like this:

It looks like I'm missing a library or something, but I have no experience with Objective C or Xcode, so I'm at a total loss here. I have confirmed that I only get these errors when I build with this plugin. If I remove it, the build works perfectly fine. I've tried a few of the different branches that have iOS support and they all yield the same errors.

Hi @rhohn94
The compilation issues among others are fixed in pull request
https://github.com/gordol/cordova-brother-label-printer/pull/35
You can install that fix by following instructions in the top comment.
Thanks

@arcadius, thanks for the reply -- I'm trying with your fork now, but still get the Mach-O Linker error. I no longer get the check_compile_time errors, though. I am using Xcode version 9.4.1, if that's any help.

@rhohn94 ... possibly uninstall the old plugin that does not compile... and make sure it's all gone before installing the new one.
After un-installing the old one, you may need to remove the ios platform and re-add it,
Then make sure it all compile and can run before you install the one from the pull request with:
cordova plugin add https://github.com/MenelicSoftware/cordova-plugin-brother-label-printer#dev --save

Indeed, with cordova/ionic you need to add/remove the platform after you make changes... at least, historically. Feel free to re-open this if y'all are still having issues.


LMSDEMO-36 - Banner

one more request can you add option that you pass image as component (in addition to current props) see LMSDEMO-31 for details


Unable to delete metrics although getting a 204 response

Creating the ticket here after some basic StackOverflow triage was unsuccessful: https://stackoverflow.com/questions/57160635/prometheus-metrics-do-not-disapper-after-being-deleted
What did you do?
I have a two-VM Prometheus cluster running version 2.6.1. There are some metrics that I need to delete and seem to be unable to do so.
admin-api is enabled:
 └─28557 /opt/prometheus/prometheus-server/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/data/prometheus/databases --storage.tsdb.retention=15d --web.enable-admin-api --web.external-url=http://redacted --log.level=debug
I run curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={instance="my-hostname"}' -v on both VMs.
What did you expect to see?
Expected for all metrics containing instance="my-hostname" label (ie. metricName{label="xxx",label="yyy",instance="my-hostname"} to not be searchable / graphable etc - so to efectively disappear.
What did you see instead? Under which circumstances?
Got 204 as expected
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 9090 (#0)
> POST /api/v1/admin/tsdb/delete_series?match[]={instance="my-hostname"} HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 204 No Content
< Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin
< Access-Control-Allow-Methods: GET, OPTIONS
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Date
< Date: Tue, 23 Jul 2019 07:54:30 GMT
<
* Connection #0 to host localhost left intact

The metrics containing the label are still visible in the "graph" and "alerts" web-interface tabs.
The metric is also available when curling directly the API curl -g 'http://localhost:9090/api/v1/series?match[]=metricName{instance="my-hostname"}'
Cleaning tombstones (curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/clean_tombstones' -v), reloading Prometheus processes, restarting the VMs, waiting 48 hours didn't change a thing.
Also tried deleting some more narrow set of metrics (curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={label="xxx",label="yyy",instance="my-hostname"}') with no effect.
System information:
Linux 4.15.0-1041-azure x86_64
Prometheus version:
prometheus, version 2.6.1 (branch: HEAD, revision: b639fe140c1f71b2cbad3fc322b17efe60839e7e)
build user:       root@4c0e286fe2b3
build date:       20190115-19:12:04
go version:       go1.11.4

Can you please provide your config, and the exact commands and queries you're using without any placeholders?

Sadly I am not able to provide you with the full config with no edits as it contains sensitive data (ie. host discovery secrets). Are there parts of it you need the most?

I basically need to know if you're ingesting data with these labels, and if your PromQL query matches up with your delete command. This is more likely a typo than a bug.

Upon further inspection it turned out that there was an unexpected node-exporter file in /var/spool/prometheus directory on the source host causing node-exporter to re-scrap ancient metrics over and over again. After deleting the file and re-running the delete command the metrics are gone.
Apologies for the fuss.


[AMORO-2091] Resolve the optimzing exception for KeyedTable with Timestamp(without zone) column as Primary key

Why are the changes needed?

Close #2091.
Brief change log

using InternalRecordWrapper to build PrimaryKeyData for NodeFilter

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

I have cherry-picked it to 0.4.x.

I have cherry-picked it to 0.5.x.


Prevent specific snippets from being used/ or override them

The C snippets are great, but all the for loop snippets have the ++ and -- on the wrong side for my style tastes (and the ones of my projects). Is there a way to delete these snippets from being loaded with LuaSnip? Or a way to overwrite them?

I think this might be worth opening a PR to correct the ordering of the increment/decrement.
However to answer you question, you can create the snippets you want in a local snippets directory and source them in the config something akin to this:
require("luasnip/loaders/from_vscode").load { paths = "/home/<user name here>/.config/nvim/snippets" }

Then for the snippets you want to override, format it like
{
  "function": {
    "prefix": "function",
    "body": "${1:some_name} ()\n{\n\t${0}\n}",
    "description": [
      "Something something\n",
    ]
    "luasnip": {
      "priority": 2000
    }
  },
}

I believe that so long as the priority is > 500, it should load as one of the top snippets.
To prevent the snippets from loading entirely ... at this moment in time I don't know how to do that :sweat_smile:


Fix GMT time conversion timestamp

Codecov Report

Merging #304 into master will decrease coverage by 0.99%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #304      +/-   ##
============================================
- Coverage     96.55%   95.55%   -1.00%
  Complexity       21       21
============================================
  Files             4        7       +3
  Lines           203      270      +67
  Branches          8        8
============================================
+ Hits            196      258      +62
- Misses            5       10       +5
  Partials          2        2

Flag
Coverage Δ
Complexity Δ

#go
96.93% <ø> (ø)
0.00 <ø> (ø)

#java
96.42% <ø> (ø)
21.00 <ø> (ø)

#node_js
95.91% <ø> (ø)
0.00 <ø> (ø)

#python
92.53% <100.00%> (?)
0.00 <0.00> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...tial/python/alibabacloud_ccp_credentials/client.py
91.07% <100.00%> (ø)
0.00 <0.00> (?)

...tial/python/alibabacloud_ccp_credentials/models.py
100.00% <0.00%> (ø)
0.00% <0.00%> (?%)

...al/python/alibabacloud_ccp_credentials/__init__.py
100.00% <0.00%> (ø)
0.00% <0.00%> (?%)

Continue to review full report at Codecov.

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


Loosen nodejs version restriction

Description

Set nodejs version to 18.*
Closes #1259

By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


Magic

Hello,
first, thank you for developing this project which is very useful!
With the Python kernel, there are "magic" commands starting with the % sign (for more info, run %magic in a Python kernel).
They have a nice features like %%html to render the cell as a block of HTML, %%latex to render the cell as a block of latex, or %%svg to render the cell as an SVG literal.
Would it be simple to add such functionalities? (I can contribute if needed).
Best,
Anthony

sorry for late reply.
the magic commands such as html, latex, etc. can be implemented by calling Jupyter_notebook.display.
it's easy maybe, but I don't feel importance of the functionalities.
If you send a PR, I will merge it.


[bug]: Manpages Script breaks Dockerfiles

Dockerfile no longer builds:
48.45 ./scripts/gen_man_pages.sh  /usr/local
48.45 make: ./scripts/gen_man_pages.sh: No such file or directory
48.45 make: *** [Makefile:136: manpages] Error 127
------
Dockerfile:29
--------------------
  28 |     #  Install/build lnd.
  29 | >>> RUN cd /go/src/github.com/lightningnetwork/lnd \
  30 | >>> &&  make \
  31 | >>> &&  make install tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"
  32 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /go/src/github.com/lightningnetwork/lnd &&  make &&  make install tags=\"signrpc walletrpc chainrpc invoicesrpc peersrpc\"" did not complete successfully: exit code: 2

Introduced in #8525.

cc @mohamedawnallah

Thanks, @carlaKC for reporting the issue! Submitted a PR that would address this issue 🙏


Fix/sag

SAG is now able to construct triangular roofs
SAG doesn't bug out when the bottom rectangle has height 0
SAG tests

Here are some illustrations to help with the geometry (click them to get the right orientation):

Actually we are able to handle the case where b=0. Because we can handle this case:
_____
|____|

but not this case
  ___
_|   |_
|____|


Fix the CustomTabsService binding exception on Huawei device

Add the function createSession() to create the custom tabs session.

Change the property WeakReference<Activity> mActivityRef to WeakReference<Context> mContextRef to avoid the duplicate calling of getApplicationContext

Did the E2E testing on the repro device - Huawei Mate 9 pro w/ api 8.0.0.

Also, sanity tested on Nexus 6p with api 8.1.0 and api 6.0.

@heidijinxujia Can you provide a brief summary in the this PR of what the issue was?

@iambmelt Sure, added into the description.


[FEATURE] Blog image preview support

Is your feature request related to a problem? Please describe.
Hi, can you add an image preview to the blog preview and let users to manipulate it directly from the blog markdown file?
Describe the solution you'd like
For example, if users specify the following in the markdown file:
img: /assets/img/12.jpg
Then in the blog post preview, you should see the 12.jpg as image preview.

As a non-essential feature, this might not be implemented by the plugin itself but can instead be setup manually using a customized template, and an example can be found here. There is also a related issue: https://github.com/liang2kl/mkdocs-blogging-plugin/issues/16.

Thanks! The problem has been solved!


netease-music-tui: init at v0.1.2

Motivation for this change
New package.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Details
closure size
/nix/store/agrz6qbrmc3fabrw9s2f3ihjzs6l7ncw-netease-music-tui-v0.1.2	   49127512

nixpkgs-review
1 package added:
netease-music-tui-v0.1.2

1 package built:
netease-music-tui

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

1 package built:

netease-music-tui

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

1 package marked as broken and skipped:

netease-music-tui

Result of nixpkgs-review pr 107560 run on x86_64-darwin 1
1 package marked as broken and skipped:

netease-music-tui

Should I remove darwin from platforms? The package supports it, but I haven't device to test it.

Result of nixpkgs-review pr 107560 run on x86_64-darwin 1
1 package marked as broken and skipped:

netease-music-tui

Should I remove darwin from platforms? The package supports it, but I haven't device to test it.

This simply means it can't be build on darwin because I think alsa is not available on there.

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

1 package built:

netease-music-tui


fix galleryimage

Fix #36
Test URLs:

Before: https://main--helix-sportsmagazine--headwirecom.hlx.page/import-test/golf-news-tours/_default/gallery/2007/6/samwoods
After: https://fix-galleryimage--helix-sportsmagazine--headwirecom.hlx.page/import-test/golf-news-tours/_default/gallery/2007/6/samwoods

Normally the galleryimage block loads first but since it relies on autoblocking that runs after, I added a delay for galleryimage block to load only after autoblocking is done generating the galleryimage template.
IMO the problem is simply that autoblocking shouldn't generate the HTML template for the galleryblock instead, galleryimage should generate its own template. This is causing some performance issues as well.
This kind of issue can be tackled in V2.


General overhaul

Hey! This branch contains some minor changes to the site aesthetics :

Removes all the "close" buttons from the modals. The user can use the top right cross or click outside of the modal to close it.
Fixes the titles of the modals.
Adds some indications on the enhancement page.
Fixes the size of the modifiers row on the play page.

Very nice !


Nie-127 Fassung: Zeige richtige Seiten

The diplomatic transcription shows now the correct text peaces and their pictures (as soon as they're in the DB).
The order of the pages has still to be done.
For checking: look at some poems in notebooks or manuscripts and toggle the diplomatic transcription view. The snippets should correspond to the edited text and make up the whole poem.

Everything seems fine to me! I'll merge it. Should I delete the branch afterwards, or do you still need it?


build(deps): update deps

updated deps
make changes for breaking changes in material-components-web 13.0.0
update instructions in README

Before:

After:

:tada: This PR is included in version 6.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat/add-new-service-name-rules

Detail
Enhancement
I've just added these rules

App Studio
End User Messaging
HealthOmics

Upgrade dependencies

ran yarn upgrader and I confirmed no well known severity

:tada: This PR is included in version 1.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for saving goal weight

LGTM

lgtm.  Don't need to fix the nits.  Sorry for the late review.


Localize next link detection

Hi, thanks for the module.
As described in #24 this PR exposes a new option nextText to let users to translate the text of the next page link, according to the language chosen.

Thanks for your contribution. Published.


Change domain of zst Radom (Zespół Szkół Technicznych im. Tadeusza Kościuszki w Radomiu) from Poland

Please change domain of Zespół Szkół Technicznych
im. Tadeusza Kościuszki w Radomiu school
School Official Website: https://zst-radom.edu.pl/
School Location: City: Radom, Street: Bolesława Limanowskiego 26/30, Country: Poland
School offers long-term course (5 years): https://zst-radom.edu.pl/index.php/kierunki-ksztalcenia-2/
Major courses offered at the school associated with computer science are:
technik informatyk(IT technician)
technik programista(programmer technician).
Students & Teachers email domain: zst.radom.pl

@Wziuwama First stage of verification passed, official domain is zst-radom.edu.pl as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.zst-radom.edu.pl/index.php/klauzula-dostepnosci/

@Wziuwama Pull request merged. Thank you for the update.


Remove circular dependency in utils.py to fix import in rapu.py

Closes #86 and adds packages mentioned in that issue

Thanks for resolving, will there be an official release pending for this change?


ValidationException when calling the InvokeAgent operation

Following error is produced when testing a Bedrock agent:
ERROR    Error running test: An error occurred (ValidationException) when calling the InvokeAgent operation: Either of inputText or invocationResult with invocationId must be non-empty

Hi there! Have there been any updates on this bug? I am seeing it too when I do more than 5 or so tests. @tonykchen
@sharonxiaohanli

I'm having the same issue. Is there a timeline for a fix on this?


fix: add phony target to crd gen makefiles to ignore path on disk

Signed-off-by: Evan Baker<EMAIL_ADDRESS>
Reason for Change: Adds .PHONY targets (back?) to the CRD gen makefiles.
make by default interprets a target name as being the desired file output to the disk. If the target (manifests) exists as a path on disk (./manifests/), the target will not execute.
Adding .PHONY for a target indicates that the output/target name is not a file, and the target will execute regardless of the file status.

Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

closed in #1776


Add examples related to string operations

Purpose

$subject

Fixes https://github.com/ballerina-platform/ballerina-lang/pull/38926

Opened a new PR, https://github.com/ballerina-platform/ballerina-lang/pull/39052


No warning for dots and quotes in table names (Power BI dataset)

Hi,
I'd like to ask you to display at least a warning if a user tries to change a name of a table and the new table name contains either a dot or a quote. It can happen that the modified pbit file won't be loaded in Power BI Desktop any more.
Power BI Desktop and Power Query Editor contains a check for long time, however the check was in the UI only. I think that something has changed in the November version of Power BI Desktop because a PBIT file containing a dot in a table name can't be loaded anymore :(

This is not an issue with Analysis Services, which supports periods and quotation marks in table names just fine. I am very hesitant to implement a lot of rules/warnings specifically for Power BI file, as any modification you make to a .pbit file or model loaded into Power BI Desktop is unsupported, and can break/corrupt the model. Also, whenever a new version of Power BI Desktop is released, it is possible that a modification which did work in a previous version, no longer works, or vice versa, so it's a nightmare to maintain.
After all - this is why I display the following warning whenever you do anything to a .pbit file or a model loaded in PBI Desktop:


[simulation] auto detects whether a node uses virtual time UART

This PR enhances OTNS to auto-detect if a node uses virtual time UART, instead of depending on OS env VIRTUAL_TIME_UART.
This PR should allow OTNS to work transparently with OpenThread simulation of both UART types, and even to create nodes of both types at the same time (but it's not tested).

@simonlingoogle , please help fix conflicts.

@jwhui conflicts resolved

Not sure why but openthread ./script/bootstrap is failing frequently. @jwhui


System Call micro-benchmarks

Code needs to be written to measure performance of system calls we interpose on.
Currently this only exists for a handful of system calls in u-benchmarks folder.

Added as part of Daniel's commits


Fix NPE in EclipseLogger

@wpopielarski Can you see any other way how this NPE could occur?

retest this please

LGTM


[META] Remove unused routes and dead code

There're some unused routes that should be deprecated, as well as coded not needed.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Case insensitive and automatically selected labels

Is your feature request related to a problem?
I am using the latest version of memos and find two things very inconvenient to use:
When I type in the tag name, it is case sensitive, which is a bit uncomfortable for some tags that start with a capital letter.
The selection of prompt labels cannot be made through the up and down keys and the Enter key, but can only be clicked by the mouse, so you need to leave the keyboard with both hands, which is a bit of an interruption to the input experience
Describe the solution you'd like
I hope contributer to this project will consider adding two features to improve the experience.

Add case insensitive settings
Provide automatic selection of the first one for the prompt label, and the function of switching options by pressing the upper and lower buttons

Additional context
This is a bit of advice that I think could make it better, not asking project contributors to meet my needs, hoping not to give everyone a bad feeling.
I enjoyed this project, it helped me a lot, thank you for your contribution and thank you for being patient in reading my advice.

@rpishgithub I started working on it. It would help me if you could:

visit ticket https://github.com/usememos/memos/pull/2126
suggest answers to functionality questions (todo items starting with "decide")


Update durable-functions-azure-storage-provider.md

There's no equivalent of extended sessions in .NET isolated. Several customers with the setting enabled have seen errors after migrating from in-proc to isolated.

#sign-off


Portlet map is not supported

https://samples-bi-demo.demo.community.intersystems.com/dsw/index.html#/USER/Bug/Portlet map.dashboard

Portlet map is now supported


[dv,flash_ctrl] Fix many DV failures

This PR has a number of commits:

Fix tracking of injected errors
Align legacy and otf rand_op constraints
Fix tracking of addresses written
Handle data errors in host reads
Adjust number of transactions in some tests

With these fixes the flash_ctrl regression has much fewer errors left.
I intend to close the umbrella issue #22879, and open issues for more specific failures.
Fixes #22879

@vogelpi The first 3 commits are the most extensive, and the other three will seem trivial. The 4th commit is interesting, and I asked @rswarbrick for feedback.

The one CI failure is totally unrelated. Merging.


(Bug) Localization fixes

Description
About https://github.com/GoodDollar/GoodDAPP/pull/3648 and https://github.com/GoodDollar/GoodDAPP/pull/3673
I sincerely apreciate all the time and patience spent on this @johnsmith-gooddollar
Screenshots of the fixed screens are attached bellow.
There really was some problems with Git related to creating a new PR using an old branch.
Please make sure that all local npm packages are up to date with package.json before creating an Android build as the fix on this PR includes adding new packages and new package settings.
With this version I tested the Android build with both a physical Android phone and an emulator and I was unable to reproduce the crash. If any crash or error persists after this, I will need help for understanding and fixing it.
Fixed Screenshots:

@alecsantos96 I'm sorry but we need PR did from master. The issues is there, i won't accept any PRs from your current branch. Please solve your issues and re create PR from master
I'm closing this

@alecsantos96 Please make sure Android app is still using V8
We're switched to use it from jsc

@johnsmith-gooddollar
The Android app is still using "V8". It's a slightly bigger version because settings were changed on the build.gradle file to add new libraries required for Lingui on Android.

@alecsantos96 android release still failing:
error src/language/i18n.js: src/language/i18n.js:Invalid call at line 28: import("@lingui/loader!./locales/".concat(locale, "/catalog.json")).
103
Error: src/language/i18n.js:Invalid call at line 28: import("@lingui/loader!./locales/".concat(locale, "/catalog.json"))
I suppose you just tried to run app locally eg npm run android
Try also to build app bundle. The error could reproduce during prod build only

Also as I see this import uses webpack format to define import via specific loader
But RN doesn't uses webpack, the app is built with Metro. Maybe this could be the issue. Have you checked / tested lingui to be working with RN?


Error : enable to lock config file

Hello, I am facing the same issue as #1624 :
[etienne@styx gogs]$ ls -al /home/gogs
total 24
drwxr-xr-x 5 gogs gogs 4096 sept. 26 18:57 .
drwxr-xr-x 4 root root 4096 dÃ©c.   7  2014 ..
drwxr-xr-x 4 gogs gogs 4096 dÃ©c.  12  2014 data
-rw-r--r-- 1 gogs gogs   78 sept. 26 18:57 .gitconfig
drwxr-xr-x 5 gogs gogs 4096 janv. 27  2015 gogs-repositories
drwx------ 2 gogs gogs 4096 dÃ©c.  12  2014 .ssh
[etienne@styx gogs]$ sudo su - gogs
gogs@styx:~$ gogs run web
2015/10/01 09:50:56 [T] Custom path: /opt/gogs/custom
2015/10/01 09:50:56 [T] Log path: /opt/gogs/log
2015/10/01 09:50:56 [I] Gogs: Go Git Service <IP_ADDRESS>6 Beta
2015/10/01 09:50:56 [I] Log Mode: File(Trace)
2015/10/01 09:50:56 [I] Cache Service Enabled
2015/10/01 09:50:56 [I] Session Service Enabled
2015/10/01 09:50:56 [I] Mail Service Enabled
2015/10/01 09:50:56 [.../gogs/models/repo.go:124 NewRepoContext()] [E] Fail to execute 'git config --global core.quotepath false': error: could not lock config file /home/gogs/.gitconfig: Permission denied

I run last version of gogs as user "gogs" on an up-to-date debian 7.
As you can see, even when runs as its normal user, gogs raises me an error.
I can provide other informations if needed.

Thanks your feedback!
But I think error

could not lock config file /home/gogs/.gitconfig: Permission denied

explains itself well.

Arg, my mistake !
gogs@styx:~$ ls -al /home/gogs
total 28
drwxr-xr-x 5 gogs gogs         4096 oct.   2 09:51 .
drwxr-xr-x 4 root root         4096 dÃ©c.   7  2014 ..
-rw------- 1 gogs domain users   13 oct.   2 09:51 .bash_history
drwxr-xr-x 4 gogs gogs         4096 dÃ©c.  12  2014 data
-rw-r--r-- 1 gogs gogs           78 oct.   2 09:51 .gitconfig
drwxr-xr-x 5 gogs gogs         4096 janv. 27  2015 gogs-repositories
drwx------ 2 gogs gogs         4096 dÃ©c.  12  2014 .ssh

all seems fine, but :
gogs@styx:~$ id
uid=10013(gogs) gid=10000(domain users) groupes=10000(domain users),10005(BUILTIN\users)
gogs@styx:~$ ls -aln /home/gogs
drwxr-xr-x 5<PHONE_NUMBER> sept. 26 18:57 .
drwxr-xr-x 4   0   0 4096 dÃ©c.   7  2014 ..
drwxr-xr-x 4<PHONE_NUMBER> dÃ©c.  12  2014 data
-rw-r--r-- 1 105 109   78 sept. 26 18:57 .gitconfig
drwxr-xr-x 5<PHONE_NUMBER> janv. 27  2015 gogs-repositories
drwx------ 2<PHONE_NUMBER> dÃ©c.  12  2014 .ssh

so a correct chown corrected the thing.
I think the problem occured because I integrated the server in the Active Directory...
My bad. Sorry for the false problem.

@Mageti no worries.
BTW, I know it's a permission problem but I'm pro on this topic so not quite understand how was your situation and how did you fix it then?
If we can generalize this problem and put into docs many help more people.

The resolution was :
chown -R 10013 /home/gogs

10013 being the uid of the gogs user, the samba one. (echo $UID as gogs user)
105 was the uid of the local gogs user, used before the server joined the Active Directory (with samba)

I'm sorry, I still don't understand the thing with Active Directory, never mind :sweat_smile:
Maybe someday I use Active Directory then I'll understand...


Not compatible with M1 Macs

Hi, just setup my new Mac MIni and this came up:
Extension not compatible with CPU architecture.

U,m this has been outstanding for a while. Could anybody from Zeppelin comment on or fix this?

Thanks for this


Change order of print statement

Hi, change as been made for test_imagearraycopy.cpp as well.

Merging this as it has 3 approvals


build: disable hakari

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
hakari brings trouble

makes dependabot not work well
sometimes makes people confused what dependencies are build

We also don't enjoy he benefits of hakari due to some unknown reasons: If we cargo build -p risingwave_cmd_all, and then cargo test -p risingwave_frontend, it rebuilds from log, so many crates are being rebuilt.
So I prefer to disable it for now

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

It seems previously, feature failpoints is enabled


[stack] fix drop area

drop ring is cut off by app chrome
entire main area should be droppable

drop ring is cut off by app chrome

This is either intentional (top edge of droppable area is occluded by the topbar because the stack is scrolled) or no longer an issue.
https://github.com/dxos/dxos/assets/855039/88b497e9-53eb-418d-9321-acd6f962381f

entire main area should be droppable

This is nontrivial and may need reprioritization. Since the other issue is mitigated, I’m marking this as P2 for now, though please update as needed.

@thure this seems reasonable to me, but can we elaborate on "non-trivial" here for the sake of future prioritization?

Yes, I’d estimate as 3 points:
• add a layout variant of Stack which fills the inline axis and pads sections such that they have the same maximum content size as they do now
• StackMain stretches the Stack tile to fill the block axis


Fix helps use long texts.

Code breaks with long Texts

@forkbabu ohh, wouldn't this just make the first word the filename?

@forkbabu ohh, wouldn't this just make the first word the filename?

@forkbabu what is the maximum filename length for your OS? i'll just put a hard limit

@forkbabu what is the maximum filename length for your OS? i'll just put a hard limit

@lucidrains it crashed while using "For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord."  on Google Colab (Ubuntu 18.02LTS)

@lucidrains it crashed while using "For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord."  on Google Colab (Ubuntu 18.02LTS)

@forkbabu do you want to try https://github.com/lucidrains/big-sleep/releases/tag/0.4.4

@forkbabu do you want to try https://github.com/lucidrains/big-sleep/releases/tag/0.4.4


Bastion: Primary Fire Damage

Created by: DpsDoomMain
Damage was increased to 25 in overwatch 2 and in overwatch 1 it was 20

Created by: MaxwellJung
His firerate is different. I plan to adjust his primary fire damage so that the amount of damage he deals in a given time is consistent to OW1. Also, duplicate of MaxwellJung/ow1_emulator#588

mentioned in issue ow1_emulator_backup#651

mentioned in issue ow1_emulator_backup#650

moved from ow1_emulator_backup#652


Do you use only one channel in FuSionNet ?

def forward(self, image_vis,image_ir):
# split data into RGB and INF
x_vis_origin = image_vis[:,:1]
x_inf_origin =
x_vis_origin  only get one channel? why?

Yes, we only fusion the Y-channel in our FusionNet .


Bump commonsIo to version 2.16.0

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Known set of tests are failing, these don't show up in master. Going to merge this


#set is a mismatch vs other cases of #private

I can definitely see how #set is important for the utility of auto-accessors. But some things feel a bit like a surprising mismatch to me, e.g.,

#set is a bit different from how the #private feature means in general, where # sets off a private name.
#set introduces a new private name which isn't lexically present. Previously, there was absolutely no relationship between this.x and this.#x, but now we'd be introducing syntactic sugar that ties them together.
Some cases that you might expect don't work, e.g., there is no way to use an operator += on an accessor x { get; #set }

I'd prefer to consider omitting this feature (and maybe reconsidering the autoaccessor feature generally, as a base for #set is a large amount of its motivation, though allowing more fine-grained decorator application also seems important and useful).

I can definitely see how #set is important for the utility of auto-accessors. But some things feel a bit like a surprising mismatch to me, e.g.,

#set is a bit different from how the #private feature means in general, where # sets off a private name.
#set introduces a new private name which isn't lexically present. Previously, there was absolutely no relationship between this.x and this.#x, but now we'd be introducing syntactic sugar that ties them together.

I have been considering some alternatives to the syntax as well that could potentially alleviate this concern, such as:
class C {
  accessor x { get; set as #x; }
  // or
  accessor x { get; set #x; }
  // or
  accessor x { get; #x set; }
}

Some cases that you might expect don't work, e.g., there is no way to use an operator += on an accessor x { get; #set }

This is one of the reasons I mentioned the possibility of #set also introducing a private getter with the same spelling.

I'd prefer to consider omitting this feature (and maybe reconsidering the autoaccessor feature generally, as a base for #set is a large amount of its motivation, though allowing more fine-grained decorator application also seems important and useful).

I would be fine with dropping #set from the proposal and possibly re-introducing it (or some form of it) as a follow-on proposal, assuming whatever version of this proposal that moves forward leaves room for such a capability.

These are some interesting mitigations and address the problems that bother me the most. Thanks.


dose flex affect position value?

Thanks for react native accelerate our project,but now we run into a trouble.
I want to  make an element(include text) display center,like this

But if flexDirect value is anything other than 'row',display well (center),otherwise the layout is wired。

There is no flexDirect state (flexDirect:column as same)

I am sorry for that i don't know how to use react-native info ,is this right?

I change the issue,please checkout