Can' t run the test when change environment.

Thanks for the great library. I found a problem using it and would like to improve it.
Suggestion
I want to enable environment switching.
Problem
Vitest can be configured with an environment. The README for this library notes that it will not work unless you set your own environment.
However, I want to set jsdom as environment for tests that do not use Prisma. If I add @vitest-environment to the comment and run the test, I get the following error
 FAIL  app/routes/test/index.tsx > loader > should have default message > when no name is provided
 FAIL  app/routes/test/index.tsx > loader > should have default message > when name is blank string
TypeError: Cannot read properties of undefined (reading 'handleTestEvent')
 ❯ ../node_modules/vitest-environment-vprisma/dist/setup.cjs:11:28

 FAIL  app/routes/test/index.tsx > loader > should name in message
TypeError: Cannot read properties of undefined (reading 'handleTestEvent')
 ❯ ../node_modules/vitest-environment-vprisma/dist/setup.cjs:11:28

The test code I ran is a published sample that tests with Remix and Vitest.
https://github.com/jacob-ebey/remix-vitest/blob/main/app/routes/index.tsx

I have released an update as v1.2.0 that resolves this issue.
This allows you to choose the base environment for the tests.
// vitest.config.ts
import { defineConfig } from "vite";

export default defineConfig({
  test: {
    globals: true,
    environment: "vprisma",
    setupFiles: ["vitest-environment-vprisma/setup"],
    environmentOptions: {
      vprisma: {
        // Selectable a base environment "node" | "jsdom" | "happy-dom" | "edge-runtime" (default: "node")
        baseEnv: "jsdom",
      }
    },
  },
});


Windows 11 Theming Does Not Work In PowerShell WPF Window

URL(s)
https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview4/9.0.0-preview.4.md
Description
The following code should render a Windows 11 style WPF Window in PowerShell 7 (fx dependent, using .NET 9 Preview 4)
Add-Type -AssemblyName PresentationFramework

[xml]$xaml = @"
<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Name="Window">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/PresentationFramework.Fluent;component/Resources/Fluent.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <TextBox x:Name="MyTextBox" Width="150" />
            <Button x:Name="SubmitButton" Content="Submit" Margin="5" />
        </StackPanel>
    </StackPanel>
</Window>
"@

$reader = (New-Object System.Xml.XmlNodeReader $xaml)
$window = [Windows.Markup.XamlReader]::Load($reader)

$window.ShowDialog()

Current Result: Black window, although I can tell the elements are there because if I hover over the textbox my cursor changes. Doesn't appear to be properly loading the ResourceDictionary

Confirmed that my PowerShell 7 console is using .NET 9 preview 4:
> [System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription
.NET 9.0.0-preview.4.24266.19

Perhaps I am just missing something beyond adding the proper ResourceDictionary?

cc @dotnet/wpf-developers

Hey @antonfirsov, there is a slight issue here. As of now, the mechanism for accent color, theme switching, etc. will work when the resource dictionary is added to App.xaml, in coming preview releases we will add the support for using Win11 themes at window level explictly.
For now, you will have to add it in your app.xaml.

Hey @antonfirsov, there is a slight issue here. As of now, the mechanism for accent color, theme switching, etc. will work when the resource dictionary is added to App.xaml, in coming preview releases we will add the support for using Win11 themes at window level explictly.
For now, you will have to add it in your app.xaml.

Appreciate this insights. Is there an issue, branch, or PR that can be tracked to know when it is released?

Not fixed still in .NET 9 preview 5

Not fixed still in .NET 9 preview 6

@dotnet/wpf-developers is there a tracking issue in dotnet/wpf we can link, so we can close this? Or should we transfer this one?

@nkasco @antonfirsov we are currently working on theme switching feature for Fluent, so we couldn't get back to this. However, we will fix this soon enough. For now, I will add it in the tracking issue and assign the label to this bug.


Update template migration

@jollopre noted on #151 that the org_id should not be necessary for the 3 helper functions I added to the Template model. I agree with his assessment, but the migrated data requires it to be in pplace to correctly identify customizations (see SQL below).
We have several issues with the templates table. Some of the issues were introduced during the migration process and others were created by logic errors in the code.
When we migrated, customizations of funder templates were given the same dmptemplate_id as the parent funder template. Each organisation's customization should have a unique dmptemplate_id. The customization_of field correctly contains the parent funder template's dmptemplate_id.
The code (which has been fixed) was creating a new version every time the template was updated.
The versioning issue has been addressed but we should also correct the migration and then re-migrate the data or at the very least run some scripts to clean it up.
mysql> select id, org_id, dmptemplate_id, customization_of, version, created_at from templates where dmptemplate_id = 1;
+-----+--------+----------------+------------------+---------+---------------------+
| id  | org_id | dmptemplate_id | customization_of | version | created_at          |
+-----+--------+----------------+------------------+---------+---------------------+
|   1 |      3 |              1 |                1 |       0 | 2016-01-18 12:33:52 |
|   2 |      1 |              1 |             NULL |       0 | 2016-01-18 12:33:52 |
|   3 |      5 |              1 |                1 |       0 | 2016-01-18 12:33:52 |
|   4 |     13 |              1 |                1 |       0 | 2016-01-18 12:33:52 |
| 117 |      1 |              1 |             NULL |       1 | 2017-03-20 20:35:45 |
| 118 |      1 |              1 |             NULL |       1 | 2017-03-20 20:36:21 |
| 125 |      1 |              1 |             NULL |       1 | 2017-03-21 21:50:54 |
| 128 |      1 |              1 |             NULL |       2 | 2017-03-27 19:43:53 |
| 129 |      1 |              1 |             NULL |       2 | 2017-03-27 19:43:55 |
| 130 |      1 |              1 |             NULL |       3 | 2017-03-27 19:44:10 |
| 131 |      1 |              1 |             NULL |       3 | 2017-03-27 19:44:12 |
| 141 |      1 |              1 |             NULL |       4 | 2017-04-14 19:01:15 |
| 142 |      1 |              1 |             NULL |       4 | 2017-04-14 19:01:16 |
+-----+--------+----------------+------------------+---------+---------------------+
13 rows in set (0.00 sec)

@xsrust I know you made some recent adjustments to the migration scripts for handling the dmptemplate_id field. Can you check to see if that id is being shared across customizations? If so, please update it so that the custmizations have unique values. I'll rerun the migrations afterward

When was the last time you migrated the dataset?  I believe this should be fixed by:
https://github.com/DMPRoadmap/roadmap/commit/d20471cba51a917aa16665d4e4fd5b1dbb183239#diff-2e48120f2164bb2a4e84dbe6462c5646

I last migrated towards the beginning of March. Thanks for checking into it. I updated #274 which is about cleaning up these template changes but they can be addressed post MVP0.3.

re-migrated on my local machine and can confirm that this issue was resolved by the commit referenced by @xsrust above


Anyone has tried to port this project to work on Linux?

Hi,
This project is great, but once your build system is on linux, then this would break the pipeline and would require windows machine just for generating the pdbs for mingw artifacts.
Did anyone attempt to port this to run on Linux before?
What are the challenges in doing so?
I think that mingw can be used for getting the windows headers.
Please share your thoughts and experiences

Sorry for the late reply, it somehow slipped through the cracks.
A crucial part of the work is done by a Microsoft library (mspdb*.dll), i.e. generating the PDB file from the different pieces of debug information. I doubt that it's worthwhile reimplementing it. You might find some inspiration in LLVM/LLD, though, as these projects are actually capable of generating PDB files, too.
If you want to run this on Linux as is, reaching for wine would be my first try.

@sameehj I think this has been addressed, no? Unless you want to adapt code from https://github.com/microsoft/microsoft-pdb/ to avoid using mspdb*.dll. But that would be such a big ask that you would probably have to tackle this project yourself.

If you want to run this on Linux as is, reaching for wine would be my first try.

seems to be completely broken. I failed to get anything except useless "cannot create PDB file" error,  tried with mspdb80 form msvc8, but remember it worked successfully on 32 bit binaries few years ago, but maybe with different mspdb versions

IIRC you will also need mspdbsrv.exe and other DLLs, e.g. msobj80.dll nd mspdbcore.dll.

It's present. And i checked it (with same libraries) on server 2008, it worked. Maybe it's wine regression as it worked few years ago (some rpcrt bug or x64-related)


Alpha Matte masking doesn't clip

It looks like Track Matte is supported, though I'm having trouble getting it to work.
Here's aep: https://www.dropbox.com/s/z57nmmspvf6sna5/Gradient_shapes.aep?dl=0
data.json: https://www.dropbox.com/s/n54lchta05xt5h3/data.json?dl=0
bodymovin is up to date, renderer is svg, gradient fill / color fill does not affect the issue

Can you share a link?
I'm trying it and it seems to work fine.
One detail, it's better if you don't use such large compositions. It has a big hit on performance.
And since it's svg, original size doesn't really matter.

http://eugene.works/lnr/
    var animData = {
        renderer: 'svg',
        wrapper: document.getElementById('bodymovin'),
        animType: 'html',
        loop: true,
        prerender: true,
        autoplay: true,
        path: 'data.json'

    };
    var anim = bodymovin.loadAnimation(animData);
    window.onresize = anim.resize.bind(anim);

animType and renderer do the same. Can you remove the animType property and keep only the renderer as "svg" and see if it works?

This solved the problem, thanks!


[staging & production] Audio bar disappears.

Reported by @kushG on the 0.24 Trello board.
Steps

Go to MFR project
Select bread-in-toaster.wav from files tab.

Expected
There should be an audio bar with playing controls visible to user.
seems to be a Firefox specific problem
Actual
Audio bar is visible for only seconds then disappears.

In Firefox - I was able to view + play .wav files. The player is a little less 'clean' then Chrome (frame displays through the time message), but it is functional.

@lbanner Strangely, the issue is only for that one file. @brianjgeiger was mentioning that this is a known firefox issue. I couldn't find that link though !

http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=html5-50.htm
@lbanner when you tested, did you just drag a wav file into firefox, or did you test through the MFR or something similar to the above link?

Limited research indicates this might be solvable by passing more metadata into the audio tag, incidentally.

No, this is likely the problem: "What's the bit depth on your WAV files? Firefox supports 8-bit and 16-bit PCM, but not other bit depths (12, 20, 24, 32)." http://stackoverflow.com/a/10406276

@brianjgeiger On OSF I searched for projects with .wav files and opened a few in a public project. FYI: Our MFR Testing Project is no longer .... any way we can we get it back on Staging?

Since this problem only occurs in one file and probably a firefox special problem, close this one. Reopen if you can repo this problem.


How do I run .exe built with QT Creator?

When asking a question please also include where you looked for an answer (so we can update the documentation if needed).
I'm using Qt5.15.1 built with vcpkg, and I use Qt Creator to built my application. It's compiled successfully, but When I tried to run my aplication from Qt Creator, it was failed.

NOTE:
I copied QT runtime manualy, it was also failed.

I'm solved this.
Just copy <vcpkg_installed_dir>/plugins/platforms to execution dir.
Maybe it's also set in qmake, so I have no need to copy it every new project.


Set leader election & sync interval flags in csv

This PR is for adding the leader election configuration flags to the three new controllers for the ArgoCD Pull model. Also adds the sync-interval flag for the resource sync and aggregation controllers.

/lgtm


Refactor the models

Since we updated to use Unstructured struct type instead our own resources, the models are now a couple of helper functions related to marshall/unmarshall the records that we introduce in the database.
I'd like to use this issue to propose some changes in the go module and see if the structure can be improved to use a more standardize way of declare models:

Create a custom struct based on Unstructured and expand its functionality with a method that scan bytes to fill the instance
Create a new struct that compose the previous struct with additional parameters used in kubearchive database records, like the deletion timestamp

If we do this, I think that we should embed Unstructured in it
type <type name> struct {
    unstructured.Unstructured // no field name is given for the embedded type
    ...
}

This would make the transition easier since all of the methods and fields of the embedded type become available on the outer type as if they were part of the outer type


etcdserver: add stats.FollowerLatencyStats and stats.FollowerCountsStats...

... types

Is the Follower prefix necessary? Those look pretty generically LatencyStats and Count(s)Stats to my eye.
LGTM, given the nit.

@barakmich PTAL

LGTM; I believe it's just a Travis flake at this point.


queries.log missing some queries ?

When typing "place des terreaux" for autocompletion, queries.log does not always contain the last entered query.

I reproduce on production server, but can't reproduce locally :/

Sounds like a race condition: https://docs.python.org/2/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes

Maybe some solution here... https://docs.python.org/2/library/logging.html
addok could use the OS logging feature (syslog/rsyslog) who will deal with the file access race condition issue.


guid parse errors can't be caught and handled at runtime

The winrt::guid constructor that accepts a string calls abort() on failure instead of throwing an exception. This precludes the application from handling the error, e.g. to show a message to the user or fall back to default inputs. There is also no try_parse() function, so the guid parsing functionality of the library is limited to strings which are a priori known to be valid GUIDs.

Yes, these are constexpr constructors meant to be used with literals at compile time. If you want to do it at run time you can always use a function like CLSIDFromString.

CLSIDFromString is quite clumsy and "un-modern" compared with the parsing constructor for winrt::guid. If the abort() were simply changed to a throw, it would be just as good for constexpr (perhaps better, since abort() itself isn't strictly constexpr), and also better suited for runtime use, which is available either way since constexpr functions are exposed for runtime use. What disadvantage is there to using throw instead?

Yes, I've successfully used throw in constexpr with Clang and MSVC before, and the documentation suggests that this is normative (in that a constexpr branch which evaluates to a throw statement is malformed and will fail to compile, but that a constexpr function may contain a throw statement that is not evaluated for a given compile-time invocation without error). See:
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#note-50
https://en.cppreference.com/w/cpp/language/constexpr
https://en.cppreference.com/w/cpp/language/constant_expression


Test Issue created at Fri, 23 Apr 2021 11:26:51 GMT

Test issue body  Fri, 23 Apr 2021 11:26:51 GMT

Comment on issue at Fri, 23 Apr 2021 11:26:57 GMT


rcon-cli timeout in mc-backup with auto-pause on

Describe the problem
When doing a backup (e.g. manually triggering it using docker-compose exec backups backup now), it fails because of a timeout of rcon-cli:
2022-03-05T15:17:08+0000 INFO Repository already initialized
2022-03-05T15:17:09+0000 INFO waiting for rcon readiness...
2022-03-05T15:17:19+0000 ERROR Unable to execute rcon-cli save-on - try 0/5. Retrying in 10s
2022-03-05T15:17:19+0000 ERROR Failure reason: 2022/03/05 15:17:19 Failed to connect to RCON serverread tcp <IP_ADDRESS>:55520-><IP_ADDRESS>:25575: i/o timeout

if the server is being auto-paused.
But it works correctly if the server is active.
Same if I try to run rcon-cli from the backup container (docker-compose exec backups rcon-cli):
2022/03/05 15:17:37 Failed to connect to RCON serverread tcp <IP_ADDRESS>:55522-><IP_ADDRESS>:25575: i/o timeout
But if I try to rcon-cli from the minecraft container (docker-compose exec mc_big rcon-cli) it works correctly, knocks the server back up, and I can run the backup
Container definition
version: "3.7"
services:
  mc_big:
    image: itzg/minecraft-server
    container_name: MC_creative_latest
    environment:
      SERVER_NAME: "redacted"
      MOTD: "Creative mode, big world"
      LEVEL: "Creative-big"
      EULA: "TRUE"
      VERSION: "LATEST"
      MODE: "creative"
      ENABLE_COMMAND_BLOCK: "true"
      DIFFICULTY: "peaceful"
      ENABLE_AUTOPAUSE: "TRUE"
      MAX_TICK_TIME: "-1"
      AUTOPAUSE_TIMEOUT_INIT: "30"
      AUTOPAUSE_TIMEOUT_EST: "10"
      TZ: "Europe/London"
      OVERRIDE_SERVER_PROPERTIES: "true"
      ENABLE_RCON: "true"
      ONLINE_MODE: "false"
      RCON_PASSWORD: 'redacted'
      RCON_PORT: 25575
      restart: unless-stopped
    volumes:
      - mc_creative_big:/data

  router:
    image: itzg/mc-router
    ports:
      - 25565:25565
    command: --mapping=mcbig.example.net=mc_big:25565,mcsurvival.example.net=mc_survival:25565
    environment:
      restart: unless-stopped

  backups:
    image: itzg/mc-backup
    container_name: MCBackup_creative_big
    environment:
      BACKUP_NAME: Creative-big
      BACKUP_INTERVAL: "12h"
      BACKUP_METHOD: restic
      RESTIC_PASSWORD: "redacted"
      RESTIC_REPOSITORY: "rclone:restic-minecraft"
      RESTIC_ADDITIONAL_TAGS: "creative_big"
      RCON_PORT: 25575
      RCON_PASSWORD: 'redacted'
      RCON_HOST: mc_big
      PAUSE_IF_NO_PLAYERS: "true"
      restart: unless-stopped
    volumes:
      - mc_creative_big:/data:ro
      - backupdir:/backups
      - /home/username/.config/rclone/rclone.conf:/config/rclone/rclone.conf:ro
    network_mode: "service:mc_big"

volumes:
  mc_creative_big:
    driver: local
    driver_opts:
      type: none
      device: /doc/minecraft-docker/Creative-big/
      o: bind
  mc_survival:
    driver: local
    driver_opts:
      type: none
      device: /doc/minecraft-docker/survival/
      o: bind
  backupdir:
    driver: local
    driver_opts:
      type: none
      device: /doc/MCbackups/restic/
      o: bind

Container logs
Paste logs here

The server is paused. What do you want it to do?

rcon-cli knocks/resumes the Java process when started from the "mc_big" container, I thought (hoped?) that it would do the same when started from the backup container.
It's probably a feature request more than a bug: if I understand correctly, it means it's not possible to run a backup while the server is paused (ie no player is on the server). Having a way for the server to be unpaused from the backup container would be useful.

My bad! If I remove the network_mode: "service:mc_big" from the backup service, then everything works as it should: rcon from the backup container knocks the mc server, and the backup runs successfully.


Welcome message

Description
As a logged in user, the Login and Apply buttons on the Landing page should not display and instead there should be a welcome message.
Video Link
Loom Video
Trello Link
As a logged in user, I want to see Welcome  instead of Login and Apply buttons in the Landing page.
Type of change

[✔] Bug fix (non-breaking change which fixes an issue)

Checklist:

[✔] My code follows the style guidelines of this project
[✔] I have performed a self-review of my own code
[✔] I have removed unnecessary comments/console logs from my code
[✔] My changes generate no new warnings
[✔] I have checked my code and corrected any misspellings
[✔] No duplicate code left within changed files
[✔] Size of pull request kept to a minimum
[✔] Pull request description clearly describes changes made & motivations for said changes

The addition of the welcome message, makes it feel more like a community and not just an organization. These are small details that shouldn't be ignored.


Take IdP LoA requirements into consideration

Take IdP LoA requirements into consideration when determining the which LoA to require the user to attain.

:sparkles: @DRvanR

Bar the comment, :+1:

Merged into develop.


ValidationError

hi, about a year ago I made a script using Stacks.js for Node to manage Gaia Store files.
I recently updated the dependencies and while I use it I get the following error:

'Error when uploading to Gaia hub.\n' +
'If you believe this exception is caused by a bug in stacks.js,\n' +
'      please file a bug report: https://github.com/blockstack/stacks.js/issues\n' +
'\n' +
'Error Code: validation_errorStack Trace:\n' +
'Error\n' +
'    at getBlockstackErrorFromResponse (CLI/node_modules/@stacks/storage/dist/hub.js:141:16)\n' +
'    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n' +
'    at async uploadToGaiaHub (CLI/node_modules/@stacks/storage/dist/hub.js:29:15)\n' +
'    at async uploadFn (CLI/node_modules/@stacks/storage/dist/storage.js:329:39)\n' +
'    at async Storage.putFile (CLI/node_modules/@stacks/storage/dist/storage.js:338:20)\n' +
'    at async Promise.all (index 0)',
code: 'validation_error',
parameter: undefined,
hubError: {
statusCode: 401,
statusText: 'Unauthorized',
message: 'Expired association token: expire time of<PHONE_NUMBER>.618 (secs since epoch)',
error: 'ValidationError'
},
name: 'ValidationError'
}

I use @stacks/storage at the latest version now available
the operation does not seem to have been compromised except for the error that appears in the console while I use it

Can you share more of the script (especially parts using the breaking code). Hard to debug from only the logs. It could be some authentication issue (the 401), but I'm assuming nothing changed on that end?

Closing as stale for now


Build environment

https://docs.godotengine.org/en/stable/development/compiling/compiling_for_x11.html

Set up a distro for compilation.


RFM - par2cmdline

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/par2cmdline
Package source URL: https://github.com/dtgm/chocolatey-packages
Date the maintainer was contacted (in YYYY-MM-DD): 2021-12-13
How the maintainer was contacted: Email

Hello,
I'll take this package.


Divs overlap when using off-set

See https://jsfiddle.net/amy10wdc/3/
This seems caused by left: 8.333% in the offset class. If instead margin-left is used it doesn't happen.
Tested on Firefox 45.5.1

Hi @sphaero apologies for the slow reply.
That's actually by design. If you look at the documentation for offset you will see that there is a requirement for adding the classes to multiple columns to offset.
In the future V5 I do plan to improve the grid by providing both flexbox and grid specification versions.
https://github.com/ResponsiveBP/Responsive/issues/92


Appending values to netCDF4 variable

I am transferring my code from Python to Julia, and trying to figure out how to store data into netCDF using this package. If someone can give me a hint it would be great -
http://stackoverflow.com/q/35348537/2051572

Hi,
you will probably have to wait until this https://github.com/JuliaGeo/NetCDF.jl/pull/13 gets merged, I hope to get to it next week and then will reply to your question.

@meggart Is the support for unlimited dimensions works already?


feat(mailing template): new template

Description
new verified_credential_approved template
Why
new request
Issue
NA
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally

@Phil91  added another template for declined action

Hi, looks good for me as well.
Evelyn to have the final check and at the end also the merge responsibility.
Before we merge, I suggest we wait for Philip's implementation of https://jira.catena-x.net/browse/CPLP-2855 - without the backend ticket, the email templates are not usable; also the backend implementation might need to minor change needs still on the template side.

@Phil91 is the enabling of the templates also done? should I merge the PR?

@evegufy the PR for the approval / rejection is currently in review: #100 , in my opinion you can merge this PR, than I'm rebasing the PR to use the created templates.


Http2

Description
testing
Related Issue
Fixes #

Relates to #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Other (security config, docs update, etc)

Checklist before merging

[ ] Test, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

closing for now, going to have a convo with Jeff around this.


Invoke in presence of multiple go done signals

We’ve been talking about so-called “method-based interfaces” for calyx for a while. The idea is to support components that can be called in multiple ways. For example, we can call the newly added synchronising register with either the write go/done ports or write go/done ports. Invoke currently only supports compiling with one set of go done ports.
I have a few proposals to make it work with multiple go/done interface. Unfortunately all of them rely on attributes which yet again adds semantic meaning to what are essentially comments:

Require invoke to specify distinguished go/done ports. Error if none are specified or default to the primitive specified go/done ports.
Add multiple go/done interfaces for the primitives and use numbers to group go/done symbols together. In the invoke, specify this number in the invoke.

Just to fill out the design space, another option would be to extend the language to have multiple, named control programs for each component. We would then need a way to associate a go/done pair with a control program, which would presumably also use this name. Then the invoke statement would need to reference this name.

It's been roughly a year since we've thought of this problem. We've frankly not run into this much at all but worth asking @andrewb1999 if AMC might benefit from something like this?


🐞 - multiselect valuecontent right aligned

Which @taiga-ui/* package(s) are the source of the bug?
kit
Please provide a link to a minimal reproduction of the bug
https://taiga-ui.dev/components/multi-select/API?tuiMode=null&valueContent$=1
Description
After the recent change, valueContent of multi-select has a wrapper with justify-content: flex-end; It makes everything in the valueContent right aligned.
In the docu it looks like this:

This happened after the recent bug fix (https://github.com/TinkoffCreditSystems/taiga-ui/pull/982) in version 2.23.0.
I have categorized this as a bug but if it is intentional, please take it as a request to change it back to how it was before. Thank you!
Angular version
12.1.3
Taiga UI version
2.23.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Sorry about that, yes, it's a big and fix is coming next Monday.

Awesome thank you for the fast response and your work! A big fan of taiga ui!

Resolved in 2.24.0 ;)


ROMX/ROMXe Compatibility

Currently the autodetection routines are confused by 3rd party ROM replacements, including the ROMX and ROMXe devices.

ROMXe & ROMX devices are now checked for in the autodetection code as part of the work on the new modular firmware https://github.com/V2RetroComputing/analog-firmware/commit/77073309775a03b4a3f6e700ea1d8ed073752c36
The ROMX detection is untested at this time. Font banks 00-0F are automatically chosen when the ROMXe/ROMX menu or other software activates them using the appropriate APIs.

Fixed in 20230417 Release Build


Session is Empty in Ratchet & Memcached

I'm using symfony2 and ratchet
I am working in a  real time app using Ratchet Library, In my app I need to send some data to a specific user.
And the only way to do this is to attach a symfony session object to each incoming Connection object.
 I have read the doc [here](http://socketo.me/docs/sessions) but I can't understand it and how to make it work in symfony?
my server code :
<?php
use Ratchet\Session\SessionProvider;
use Symfony\Component\HttpFoundation\Session\Storage\Handler;
    require dirname(__DIR__) . '/../../../vendor/autoload.php';

    $loop   =  \React\EventLoop\Factory::create();
    $pusher = new my\Bundle\Controller\PusherController;

    $memcached = new Memcached;
    $memcached->addServer('<IP_ADDRESS>', 11211);

    // Listen for the web server to make a ZeroMQ push after an ajax request
    $context = new React\ZMQ\Context($loop);
    $pull = $context->getSocket(ZMQ::SOCKET_PULL);
    $pull->bind('tcp://<IP_ADDRESS>:5555'); // Binding to <IP_ADDRESS> means the only client that can connect is itself
    $pull->on('message', array($pusher, 'onNotified'));

    // Set up our WebSocket server for clients wanting real-time updates
    $webSock = new React\Socket\Server($loop);
    $webSock->listen(8080, 'neargood.com'); // Binding to <IP_ADDRESS> means remotes can connect
    $webServer = new \Ratchet\Server\IoServer(
            new \Ratchet\WebSocket\WsServer(
                new SessionProvider(
                             new \Ratchet\Wamp\WampServer(
                            $pusher
                                )
                            , new Handler\MemcachedSessionHandler($memcached)
                        )
            ),
            $webSock
        );

    $loop->run();

Then in my pusher , I have
public function onSubscribe(ConnectionInterface $conn,$topic) {
var_dump($conn->Session->get('userId')); //returns NULL
    echo'connected';
}

the session is empty ..
When I try the official code , it says Ratchet\App is not found

@Sshuichi have you managed to get session data at all?


Expose "Day/Night" magic variables

Some app developers may want to provide a different theme/content at night. Currently app developers must utilize an API to determine daytime/nighttime based on sunset/sunrise times; however it seems that Tidbyt must already be determining this globally for the "dim at sunset" configuration.
Current approach:
resp = http.get("https://api.sunrise-sunset.org/json?lat=%f&lng=%f" % (loc.get("lat"), loc.get("lng")))
data = resp.body()
json_data = json.decode(data)
current_time=time.parse_time(now.format('3:04:05 PM'), format="3:04:05 PM", location=timezone)
sunrise=time.parse_time(json_data['results']['sunrise'], format="3:04:05 PM")
sunset=time.parse_time(json_data['results']['sunset'], format="3:04:05 PM")
color = color_nighttime
if current_time > sunrise and current_time < sunset:
    color = color_daytime

Exposing a "magic variable" (similar to $tz for timezone) could simplify this significantly and reduce API requests.
Suggested approach:
color = color_nighttime
if $is_daytime:
    color = color_daytime

This was fixed by https://github.com/tidbyt/pixlet/pull/124 right?

As a related request, I'm noticing that an abrupt change when "day" turns to "night" (and vice versa) in somewhat jarring. This could be resolved in the app by calculating some type of gradual transition; however, it could also be helpful to have variables for the different types of twilightCivil twilight, Nautical twilight, and Astronomical twilight). This would provide app authors with the ability to slightly change colors to more accurately match ambient lighting without an physical light sensor connected to the Tidbyt (which would be a really cool hardware enhancement).

@joeyhoer -- I have https://github.com/tidbyt/pixlet/pull/381 out at the moment which would let you do the maths. You could use sunrise.elevation_time to compute when the sun is at a certain angle below the horizon.
Or to use the sunrise.elevation function to determine whether it's currently day, civil, nautical, astronomical, or night for a given location.


Add richvdh to list of trusted pushers for spectulator

richvdh is awesome, he should have all the permissions.

@illicitonion your wish is my command

LGTM


Using dataStructure: JSON results in Unsupported db type (Redis OM for Node.js)

Note:  Using Docker image redis/redis-stack-server:latest
Creating a basic schema, and ending with:
{
    dataStructure: 'JSON',
}

Results in a redis entry of:  Key: my:object:key, Value: NULL, Type: UNSUPPORTED
Using "Hash" (rather than JSON) works.  Did I, perhaps, miss a configuration item of some sort?

Apparently not an issue.  Was confused by any lack of reference to documents.  Objects still searchable.


Loading a Mesh

As discussed in the chat of this video;
https://www.twitch.tv/videos/682960182 (at 00:42:06)
It should be possible to load a mesh. However, it appears the required SceneLoader isn't implemented yet?

SceneLoader is now generating in the Sample.
There is an example in the Blazor project too.

That works, I was able to load an advanced mesh using:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BabylonJS;
using EventHorizon.Blazor.BabylonJS.Model;

namespace EventHorizon.Blazor.BabylonJS.Pages
{
    public partial class LoadMesh
    {
        protected override void OnAfterRender(bool firstRender)
        {
            if (firstRender)
            {
                CreateScene();
            }
        }

        public void CreateScene()
        {
            var canvas = Canvas.GetElementById(
                "game-window"
            );
            var engine = new Engine(
                canvas,
                true
            );
            var scene = new Scene(
                engine
            );
            var light0 = new PointLight(
                "Omni",
                new Vector3(
                    0, -1, -1
                ),
                scene
            );
            var light1 = new HemisphericLight(
                "HemisphericLight",
                new Vector3(
                    0, 1, 0
                ),
                scene
            );
            var dummy3 = SceneLoader.ImportMesh(
                null,
                "assets/",
                "dummy3.babylon.json",
                scene
            );

            var freeCamera = new FreeCamera(
                "FreeCamera",
                new Vector3(
                    0,
                    5,
                    -10
                ),
                scene
            )

            {
                rotation = new Vector3(
                    0,
                    10,
                    -50
                ),
            };

            scene.activeCamera = freeCamera;

            freeCamera.setTarget(new Vector3(
                    0,
                    0,
                    0
                ));

            freeCamera.attachControl(
                canvas,
                false
            );

            scene.activeCamera.position.addInPlace(new Vector3(0, 0, 5));

            engine.runRenderLoop(() => Task.Run(() => scene.render(true, false)));
        }
    }
}

Is ArcRotateCamera planned?
Thanks!

That is great!
If you need more of the BabylonJS API generated you can update the generationList variable with the Class API name you need:
Program.cs
And running dotnet run from the EventHorizon.BabylonJS.Interop.Generator.ConsoleApp project root will update the _generated/EventHorizon.Blazor.BabylonJS.WASM project. (it might get directory/file locking exception if its locked, the console app does some cleanup)
I tried and add more details to the Sample readme, if you have any pointers to clarifying anything I would love to hear them.
Thank You!

Got it! Thank You!


Write scripts to build for epub, pdf, html, etc

Once everything's cleaned up enough to be readable, it would be nice to build these assets. There's probably a library out there to build for the major formats from Markdown.

Some things to check out tomorrow:

https://github.com/lise-henry/crowbook
https://learnbyexample.github.io/customizing-pandoc/
https://pandoc.org/epub.html

Some things to check out tomorrow:

https://github.com/lise-henry/crowbook
https://learnbyexample.github.io/customizing-pandoc/
https://pandoc.org/epub.html

Done, pushing shortly

Done, pushing shortly


Support casting from dates to strings

This should mirror the default postgres behavior. After that, add support for to_char so users can specify the output string.

Completed with #32.


Added unit tests for escaped quotes.

Per the comments in the associated pull request, adding unit tests for escaped quotes.

I'm more familiar with TestNG, but I see that some of the existing test have things like this:
@Test(expected=NullPointerException.class)

If it possible to use the same notation for your tests with Junit? In TestNG I know you can't specify the message expected, but maybe JUnit lets you? It would make the test cases simpler if you could.

I'm not as familiar with JUnit either, so I'll follow whatever convention you prefer (I just tried to copy what I already saw in the CDL tests).
Aside from the test cases that are expecting to generate a NullPointerException, I only saw "@Test" used. For that reason, I only prefaced each test case with "@Test". What convention do you have in mind as an alternative?

Looks good, thanks for taking the time to do the unit tests. Either style for catching exceptions is acceptable. Will merge after the JSON-Java change is accepted.


Hide Debug using HotSwap if not applicable in Maven/Gradle Tool Window

Related to #144 but with scope Maven/Gradle Tool Windows

This action is created in the Maven/Gradle tool window by the HotswapAgentExecutor not by the DebugUsingHotSwapAgentAction and the update method could not be used to override the visibility of the option.
Needs investigation


Data Prepper 2.9.0 release blog

Describe the blog post your would like to write
We are releasing Data Prepper 2.9.0. We will have a release blog accompany this.
What is the title of the blog post?
Announcing Data Prepper 2.9.0
Who are the authors?

Krishna Kondaka
David Venable
Taylor Gray

What is the proposed posting date?
Aug 22, 2024

@kkondaka @dlvenable @graytaylor0 - Please add me to the working doc for the blog when you have a chance. This way I can follow the progress and ensure it publishes on time.

@pajuric , I will be the author for this blog post and will attempt to get a PR submitted as soon as possible.
We are going to release on Aug 28, or the 29th, at the latest. I'd like to have the blog available at release if possible, but I also see it is somewhat short turn-around.

@pajuric , I created #3228 with the initial blog post.


rename icr path from spectrum/scale to gpfs

Pull request checklist
We plan to change the icr location for the next release, dev.

none

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

What is the current behavior?

ICR path is spectrum/scale

What is the new behavior?

ICR path is gpfs

How risky is this change?

[x] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

@hemalathagajendran I had to rebase the PR to resolve the conflicts, the approval is dropped due to that, can you please re-review, thanks!


Make GDCM compilation optional

This PR makes compiling with GDCM optional. This should enable WebAssembly support.
I tried compiling it to WebAssembly. And it works by using the wasm-bindgen-rayon crate.
Example can be found here: https://github.com/pevers/dicom-wasm
I've made GDCM a default feature. Once we implement native support we can ditch it and it shouldn't break SemVer if I'm correct.
I've changed the GitHub actions a bit to test --no-default-features. I have no clue if it is correct since I couldn't test it yet.
This should close: https://github.com/Enet4/dicom-rs/issues/130

Thank you for the contribution, @pevers.

I've changed the GitHub actions a bit to test --no-default-features. I have no clue if it is correct since I couldn't test it yet.

That could work for now. There are other Cargo features to account for, but ensuring that the crates build without them is always important. In addition, back when the project was using Travis CI, I had set up a separate job for running the tests of some of the crates on a WebAssembly runtime. I will want to bring this back eventually.
Things look good in general! Please see what can be improved around the comments below.

Hi @Enet4 , thanks for taking the time to review. I've processed the suggested feedback.

@desprit That appears to fail when retrieving a Rayon registry, which I believe is filled in by wasm-bindgen-rayon in this environment. Does the example above work for you?
If that still does not work depending on some quirk in your scenario, then we may need to also feature-gate rayon.

@pevers
Thanks for making GDCM optional! I was able to run it. One issue I'm facing in my WASM code is with to_dynamic_image method. When I call it I'm getting an error, here is the trace:
Uncaught (in promise) RuntimeError: unreachable
    at __rust_start_panic (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[14273]:0x2be244)
    at rust_panic (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[13011]:0x2b5e6e)
    at std::panicking::rust_panic_with_hook::h9d91fa0fae16500f (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[2935]:0x1bdb5f)
    at std::panicking::begin_panic_handler::{{closure}}::h2d82b5b2db976f3f (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[4765]:0x20ec83)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h24539600b7e2452c (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[12687]:0x2b27ae)
    at rust_begin_unwind (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[11573]:0x2a4591)
    at core::panicking::panic_fmt::h91d2023e5afe1929 (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[12689]:0x2b2812)
    at core::option::expect_none_failed::h203584ddbc785ca2 (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[5643]:0x22b64e)
    at core::result::Result<T,E>::expect::h9b350c7ce946dd9c (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[4534]:0x2067ec)
    at rayon_core::registry::global_registry::ha70428e6b344dc1e (http://<IP_ADDRESS>:4040/0f00cc9c536f2b02b25c.module.wasm:wasm-function[5250]:0x21f196)

I'm not unwrapping the result, just calling the function. Tested it on various dicom files from the dicom-test-files crate:
MR_small_jpeg_ls_lossless
693_UNCI
SC_rgb_16bit
It only happens in WASM, works fine outside of it. My end goal is to make dicom-rs part work as a loader for cornerstone which has pixel data stored as Uint16Array.

You can enable debugging so that it will show you a valuable error instead of unreachable. See the panic hook here: https://github.com/pevers/dicom-wasm
It can only handle a small selection of scans (uncompressed). You also need a shim for rayon's multi-threading. See my example: https://github.com/pevers/dicom-wasm .


Add hexadecimal number literals

Sorry, I had to revert this due dropping # from num literals by default, but will re-add later.


[5.4] insist on not considering false as cache miss

I also note a minor bug: there is a difference in the way values are unserialized in RedisStore::get() and RedisStore::many().
This PR also fix that. I think I should send another PR for laravel 5.1 with the related tests if you give me a day.

Just keeping this on 5.4 is probably fine.

This needs to be reverted.
@taylorotwell: Not checking for false in Cache/Repository::has() will lead to false-negatives when using PhpRedis. No matter if the cache key exists, it will always return true.

Sigh. All this stuff is driving me batty :|

@tillkruss I don't get it! Sounds like you wrong! Please take a look at changes in RedisStore::get() and RedisStore::unserialize() first!

@halaei Did you test your PR against Cache::has() using PhpRedis?

@tillkruss Ok. The communication between us is a little bit messed up, and I am really confused.

PhpRedis returns false if a cache key doesn't exists. Predis returns null. We need to support both cases. Taylor will probably merge https://github.com/laravel/framework/pull/17196.

    protected function unserialize($value)
    {
        if (! is_null($value) && $value !== false) {
            return is_numeric($value) ? $value : unserialize($value);
        }
    }

This was the trick!
@tillkruss

@tillkruss tests pass under phpredis

Can you test it manually, I'm not sure if we have a test case for that yet.

I think you mean RedisCacheIntegrationTest::testRedisCacheAddTwice()` for example. That passes when I change InteractsWithRedis to use phpredis instead of predis.
:( My RIP PR is reverted by mistake ;)

You're right. However it's nicer to solve this on the driver level with https://github.com/laravel/framework/pull/17196.

Thanks. That will be nice to remove the limitation and make upgrade safer
and easier one way or the other. Please also take a look at the changes I
made to RedisStore::unserialize() and the calls to it. Maybe you can add
that to your PR as well if you find it helpful.

That's not gonna be necessary anymore.


[Wrangler] Add documentation on --content flag

Add documentation to wrangler commands on --content flag for wrangler deployments view command
See https://github.com/cloudflare/cloudflare-docs/pull/7994#discussion_r1136197700 for reference

Closing this since we decided not to have this flag for now.

i can close 👍


Can't make 'error' event to work

Hello,
I was making some tests with this great time sync, but when I put the:
ts.on('error', function (err) {
console.log('error on sync')
}

I turn off the server but the event is not called.
I can see in the console the following message:
timesync.js:962 POST http://localhost:3000/timesync net::ERR_CONNECTION_REFUSED
But no call to the event
From my reading in the source code, it looks like the function to emit the error:
  function emitError(err) {
    if (timesync.list('error').length > 0) {
      timesync.emit('error', err);
    }
    else {
      console.log('Error', err);
    }
  }

is reading from this timesync.list that is not being populated by the event listen subscription, so it is always 0.
If I use the ts.on('change', function()...), it works and shows the change events.
Can anyone check this?
Thanks

Thanks for reporting, I think that is a bug but have to look into this in more detail.
To properly catch errors, you can quite easily implement your own send function which neatly catches errors, you can look at the advanced examples like this one: https://github.com/enmasseio/timesync/blob/master/examples/advanced/http/index.html

I was also having trouble with error handling so the custom send method seems like the way to go. I took a quick look at the existing fetch implementation in request.brower.js and it only ever calls the error callback on a timeout so it doesn't seem to be handling connection refused or failed http calls (400 or 500 level responses) as errors. The default implementation of send also swallows errors in the catch block of its promise chain so the _handleRPCSendError will never be called causing leaks through _inProgress for any requests that do timeout.

Thanks for checking it out @azundo . It's a painful bug but I haven't had time to look into it. If you see any chance of putting together a PR with a fix, that would be very welcome!


Added suggestions to #373

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
Added more features to bullet-featherstone
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

I would discourage adding many of these features to the bullet-featherstone plugin. Things like constructing empty models and empty links is not helpful or meaningful for the Featherstone API. In the Featherstone a model needs to have a base link, and a link needs to belong to a model.
I assume that these features were probably added so that the bullet-featherstone plugin can be tested against more of the "common" physics tests, but I think the common testing framework should just have each test skip over any plugins which don't provide the features that the test requires.

I would discourage adding many of these features to the bullet-featherstone plugin. Things like constructing empty models and empty links is not helpful or meaningful for the Featherstone API. In the Featherstone a model needs to have a base link, and a link needs to belong to a model.
I assume that these features were probably added so that the bullet-featherstone plugin can be tested against more of the "common" physics tests, but I think the common testing framework should just have each test skip over any plugins which don't provide the features that the test requires.

Do you know which features make sense to include to the bullet-featherstone plugin ?

Do you know which features make sense to include to the bullet-featherstone plugin ?

We could consider adding frame semantics for shapes and joints if that's getting used anywhere in gz-sim.
We might also be able to support adding and removing collision shapes, but it's not totally clear to me if that will work nicely with Bullet's Featherstone API. It's also probably not a very useful feature when we don't support attaching/detaching links.
We should be able to add a feature for creating fixed joints between the links of models. That might also allow bullet-featherstone to support closed kinematic chains, similar to what's been done recently with the dartsim plugin.


Possible to acces both Item and AR instances in result set?

First of all thanks for all of the work on this gem.  I was wondering if it is possible to access bot the Tire result Item as well as its ActiveRecord instance using the :load => true parameter.  I need to do this because ES is storing some aggregate information that is not contained in my AR instance.
Ideally I could do something like:
results = MyClass.search "test", :load => true
ar_instance = results.first
item_instance = results.items.first
Or something like that.  Is this supported?
Thanks,
-=Josh

Thanks.  I did know about that option, but if I have 100 items then I'm doing 100 mysql calls that way.  Whereas the :load => true option does a bulk load and then reorders the AR objects appropriately.  I was hoping there was a way to take advantage of the bulk load and still access the items.

I understand, but unfortunately I don't know about another option provided by Tire. You can still load it manually
Extracted from Tire:
article_items = Article.search("*")
ids = article_items.map(&:id)
articles = Article.find(ids)
# Reorder records to preserve order from search results
ids.map { |id| articles.detect { |article| article.id.to_s == id.to_s } }

@joshcutler I understand the requirement, however, I'm not sure it makes much sense... I think, mostly you need either the "optimized" JSON doc from ES, or the "real model instance" from the database... Of course, it would be trivially possible to leave the items in the result set, when you :load the models -- is it something you depend on in your app?
What does anybody else think?

In my particular app it is necessary but I understand that this may be a strange use case and I worked around it.  The situation is that in my ES index I store some composite values that are semi-expensive to compute which I would like access to and then I have some other functionality in AR that I want to use as well.  I could probably work around this by coming up with a scheme to index everything I need into ES.  It is not a deal break for me though, I mostly just wante to know if it was easily possible to do w/Tire or I should do it manually.

in my ES index I store some composite values that are semi-expensive to compute

@joshcutler Yeah, that makes perfect sense, and is also the reason why I recommend to go without :load if possible at all. I think this could be supported easily, since the data for Item instances are of course loaded from ES. Ping me here or at IRC in a week or two and I'll have a look into it, if nobody else picks it up...


Error when uploading files after setting environment variables

Please provide us with the following information:

I have tried setting environment variables for enabling login and document level access control, as well as user document upload (also made sure i had sufficient permissions to create Entra apps in Azure). The problem is that when logging in and uploading a file, i get error "Error uploading file - please try again or contact admin". This happens regardless of file size and file name. The file is uploaded to storage account, but the data does not appear in the index, and the chatbot is not able to answer questions with info from the uploaded file. I have tried both with and without integrated vectorization.
This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Set these environment variables:

azd env set AZURE_USE_AUTHENTICATION true

azd env set AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS true

azd env set AZURE_ENABLE_UNAUTHENTICATED_ACCESS true

azd env set AZURE_AUTH_TENANT_ID

azd auth login --tenant-id

azd env set USE_USER_UPLOAD true

I get the same error whether i use integrated vectorization or not.

Run azd up

Any log messages given by the failure
"Error uploading file - please try again or contact admin"
Expected/desired behavior
No error and the chatbot should be able to answer questions using the uploaded files.
azd version?
1.10.3

Thanks! We'll be in touch soon.

@pamelafox Here is the error message from log stream:
2024-11-05 09:36:59,030 - ERROR - Exception on request POST /upload Traceback (most recent call last):   File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1403, in handle_request     return await self.full_dispatch_request(request_context)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1441, in full_dispatch_request     result = await self.handle_user_exception(error)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1029, in handle_user_exception     raise error   File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1439, in full_dispatch_request     result = await self.dispatch_request(request_context)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1535, in dispatch_request     return await self.ensure_async(handler)(**request_.view_args)  # type: ignore            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/app/decorators.py", line 53, in auth_handler     return await route_fn(auth_claims)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/app/app.py", line 365, in upload     await ingester.add_file(File(content=file_io, acls={"oids": [user_oid]}, url=file_client.url))   File "/app/prepdocslib/filestrategy.py", line 127, in add_file     await self.search_manager.update_content(sections, url=file.url)   File "/app/prepdocslib/searchmanager.py", line 297, in update_content     await search_client.upload_documents(documents)   File "/usr/local/lib/python3.11/site-packages/azure/search/documents/aio/_search_client_async.py", line 578, in upload_documents     results = await self.index_documents(batch, **kwargs)               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/azure/core/tracing/decorator_async.py", line 105, in wrapper_use_tracer     return await func(*args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/azure/search/documents/aio/_search_client_async.py", line 677, in index_documents     return await self._index_documents_actions(actions=batch.actions, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/azure/search/documents/aio/_search_client_async.py", line 685, in _index_documents_actions     batch_response = await self._client.documents.index(batch=batch, error_map=error_map, **kwargs)                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/azure/core/tracing/decorator_async.py", line 105, in wrapper_use_tracer     return await func(*args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/azure/search/documents/_generated/aio/operations/_documents_operations.py", line 857, in index     raise HttpResponseError(response=response, model=error) azure.core.exceptions.HttpResponseError: () The request is invalid. Details: Cannot find nested property 'oids' on the resource type 'search.documentFields'. Code:  Message: The request is invalid. Details: Cannot find nested property 'oids' on the resource type 'search.documentFields'.

I tried running these after deploying:
python ./scripts/manageacl.py  -v --acl-action enable_acls python ./scripts/manageacl.py  -v --acl-action update_storage_urls --url <https://YOUR-MAIN-STORAGE-ACCOUNT.blob.core.windows.net/content/>
And it works now.

I tried running these after deploying:
python ./scripts/manageacl.py -v --acl-action enable_acls python ./scripts/manageacl.py -v --acl-action update_storage_urls --url <https://YOUR-MAIN-STORAGE-ACCOUNT.blob.core.windows.net/content/>
And it works now.

I ran these scripts and I am able to upload files as the person who deployed the application but other users get this error when trying to upload files.


pyximport does not work

I have file helloworld.pyx, with this content:
print ("Hello World")
A file helloworld.py, with this content:
import pyximport; pyximport.install() import helloworld
I run it but doesn't work.
On the other hand, with the first way mentioned in the tutorial (python setup.py build etc etc...) worked fine.
But with pyximport it doesn't.
What am I doing wrong?
I have python 3.4.4, Visual Studio 10, Win 7.

I renamed  helloworld.py to  helloworld_main.py and it works!
This means that the 2 files (the .py and the .pyx) must have different names!

Yes, X.py, X.pyc, X.pyx, X.dll, and X.so all define the module X. The import mechanism will pick at most one of them when X is imported; distinct modules must have distinct (fully qualified) names.


Add launcher app icon and update name

Description
I had fixed the App launcher icon.
Related Issues
Fixed #46
Relevant Screenshots/Videos

Checklist

[x] I read the Contributor Guide.
[x] I updated/added relevant comments in code.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

Hi @naveeramesh, One of the requested changes is not complete.

[x] Could you add the flutter_launcher_icons: ^0.9.2 to dev_dependencies instead?
[ ] And, update the icon with:

Originally posted by @adityathakurxd in https://github.com/adityathakurxd/university/pull/48#pullrequestreview-778090221
Also, adding the launcher icon was a trivial change, therefore It was paired with updating the name of the app.
I noticed the android label to be the same as before. If you do not wish to do that could you please rename your PR?


NTRs - chaperone-mediated lipoprotein transport

NTRs
I. Name: chaperone-mediated lipoprotein transport
Def: the directed movement of lipoproteins within a cell mediated by chaperone molecules that bind to the transported lipoprotein.
is a  GO:0042953 lipoprotein transport
II. Name: chaperone-mediated lipoprotein transport across the periplasmic space
Def: the directed movement of lipoproteins from the plasma membrane across the periplasmic space to the outer membrane, mediated by chaperone molecules that bind to the transported lipoprotein.
is a GO:0044874 lipoprotein localization to outer membrane
Ref: PMID 7628437 [https://www.ncbi.nlm.nih.gov/pubmed/7628437]
Thanks
Amanda

Hi @amandamackie
Apologies about the long delay for responding to your query.
It looks like the term you are describing should be a molecular function, for example 'lipoprotein carrier activity'. I think the BP 'GO:0042953 lipoprotein transport' correctly describe the biological role of the gene described in PMID:7628437 ?
Thanks, Pascale

Agreed and thanks for the response.
By way of explanation, I requested this term after noting a specific BP term (GO:0072323) for 'chaperone mediated protein transport across the periplasmic space' and thought that it would be appropriate to have a counterpart term for lipoproteins. The gene product in question, LolA, is part of a well characterized lipoprotein transport system in gram negative bacteria.
Amanda

+[Term]
+id: GO:0140597
+name: protein carrier activity
+namespace: molecular_function
+def: "Binding to and carrying a protein between two different cellular locations by moving along with the target protein." [PMID:7628437]
+intersection_of: GO:0140104 ! molecular carrier activity
+intersection_of: transports_or_maintains_localization_of PR:000000001 ! protein
+relationship: has_part GO:0005515 ! protein binding
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/15917 xsd:anyURI
+created_by: pg
+creation_date: 2021-02-10T06:16:16Z
+
+[Term]
+id: GO:0140598
+name: lipoprotein carrier activity
+namespace: molecular_function
+def: "Binding to and carrying a lipoprotein between two different cellular locations by moving along with the target lipoprotein." [PMID:7628437]
+intersection_of: GO:0140104 ! molecular carrier activity
+intersection_of: transports_or_maintains_localization_of CHEBI:6495 ! lipoprotein
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/15917 xsd:anyURI
+created_by: pg
+creation_date: 2021-02-10T06:16:26Z

I will merge GO:0072323 chaperone-mediated protein transport across periplasmic space
into   its parent  GO:0072322 protein transport across periplasmic space.
Thanks, Pascale

protein carrier activity
added synonyms:
+synonym: "protein carrier chaperone" EXACT []
+synonym: "protein chaperone" BROAD []

this is a related ticket that includes 'chaperone'
https://github.com/geneontology/go-ontology/issues/17117
maybe merge here too instead of obsolete?

I would prefer not to merge, because some reannotation is needed in several cases (see https://docs.google.com/spreadsheets/d/18cumXK6_Iim-kkq5krL-kYsbAUq4mDVi929p0w1INPk/edit#gid=0)


Remove deprecated features

Before the release of botogram 1.0, there are some deprecated features which needs to be removed:

[ ] botogram.decorators.pass_bot
[ ] botogram.decorators.pass_shared
[ ] botogram.components.Component.add_shared_memory_initializer (issue #24)
[ ] botogram.frozenbot.FrozenBot.init_shared_memory (issue #24)
[ ] botogram.bot.Bot.init_shared_memory (issue #24)

botogram.Message.from_ (issue #44) should also be removed.

Yeah, forgot to add that.


Using a form field value for the to address

I have a form based on simple contact form. I have added a dropdown field called SendTo. Is it possible to use that value to set the Owner Email address so the form can be submitted to different departments?

This is simple. Best place to do this is to copy the WebAPI endpoint and make the changes in the C# code. We always recommend copying, to ensure that you still have the original endpoint for other forms.


Parsed JSON description won't end up in returned object

There is a mistake in the following code block
https://github.com/lokecarlsson/gridsome-source-google-docs/blob/master/lib/google-drive.js#L36
Object.assign(document, description) should be Object.assign(enhancedDocument, description)

I did start doing some work on it but haven't finished it yet. Feel free to take it up if you want to!


Export configuration from the website as .jshintrc file

It would be great if we could export the configuration from the website into a .jshintrc file.
Maybe by adding a simple "export" button.

Nice idea! Would you mind re-filing this against the website repository? https://github.com/jshint/jshint.github.io

The new issue is here: https://github.com/jshint/jshint.github.io/issues/51
This can be closed.


Add sentimental analysis example for agentql tool use

📥 Pull Request
📘 Description
Add sentimental analysis demo for agentql's query_data tool
🧪 Testing
N/A

Hey @jayfish0 thanks for your contribution.
Is this ready for review?


Build all things?

Is it possible that other artifacts could be downloaded during a build phase? If so, the cache could be more complete with builds as opposed to just downloads.

Build is very expensive. Maybe some ports need to be built to get all assets. Users should file issues if this is interesting.


Whether the updated labels were used to supervise the network after early learning?

Hi, @Kangningthu. Your work is great. I met two issues, and hope you can help me.

As mentioned in the title, in the train.py, you use seg_label to supervise the network, where seg_label should be the updated labels. However, why you set the args.Reinit_dict=yes mentioned in README.md?  If args.Reinit_dict=True , then  dataloader.dataset.init_seg_dict() will make seg_label be the original noisy labels.

In the paper, outputs of iteration can be used for label correction. Does it mean that for each iteration after early learning, all training samples will be updated? If so, it seems that the curve fitting method will become more unstable at the scale of iteration, compared to epoch. Can you provide the code you used?
Thank you very much.

Hi,

that is correct, setting the args.Reinit_dict=yes would init the pseudo label as the original version. But it is worth noting that we still conduct the label correction on top of the pseudo annotation. The difference only lies on whether we conduct label correction on top of the original pseudo label or pseudo label updated in the previous epoch. In general, we did not observe significant difference on leaving this option on or off.

For the pascal voc dataset, we did not use the iteration update strategy. We use the epoch update, this option or iteration update is only used for the SegTHOR.


Issue 37670: Filter assay results by sample lookups on run OR results

in biologics, create where filter over all sample lookups in results, run, and batch domains
in labbook, register new "InLabBook" method to filter to samples within a labbook experiment

This looks like a lot of changes.  Is a rebase called for?


Add Hugging Face Transformers language class

This PR addresses #12 and implements HFTransformersLanguage class to support Hugging Face Transformer models. It's an initial implementation, with room for adding more features and custom configs. Currently, the embedding vector is obtained by summing the token representations (excluding special tokens, e.g. [CLS] or [SEP]).
Further, we have added torch as a development dependency so that we can test this class on both TensorFlow as well as PyTorch.

The checks should be re-run to see if the error in installing the package is resolved. If not, probably the hash in the cache is outdated and should be ignored with --no-cache-dir flag.

Thanks for submitting a pull request 🚀 @degiz will take a look at it as soon as possible ✨

@koaning As you may want, I removed large models from the tests of this class as well and replaced them with smaller models (~2MB). However, the error in installing torch is still there in Github actions.

I've reset the job three times now. On the third time it passed. Dunno what caused it. Is this common?

@koaning No, I haven't seen such thing before (though, I don't use Github Actions a lot). Two times, it broke on installing torch due to hash conflict of downloaded wheel file. I don't why?!

My collegues are suggesting that github is having issues today that might also be causing some of this. I'll check again tomorrow morning. If it looks green, I'll merge.

@koaning All right, but I think the last run completed successfully with no errors (it's showing all green to me).

Just re-ran everything and it ran fine. Cool.


Fixed input mask. It was getting an undefine value

When getting the instance of InputMask, there was an undefine value. Looks like someone changed it to use deref() but that was not working so I just change it back to get() and it worked

1.0.1 published now, great fix - that will ensure it works on <= 8.5 runtimes. .get will be removed likely in {N} 10+


Vision - Flexbox Utilities (XY Grid)

Since the rework of grid .... i was very certain that the docs need to improve with grid and its integration with flexbox helper classes. But at the same time, working with prototypes I have realized that these flexbox helper classes are not good css practices and really they are just only one step away from inline styles.
At the same time, flexbox is not supported in every browser and for css only projects, people need these classes inbuilt as they give those vendor prefixes.
Moreover, flexbox is still new to the web and i think we need to support these helpers atleast for now
So, Here is my Vision

Rename the docs page title to Flexbox Utilities (Url can remain the same as its old/SEO/Bookmarks)
From Scss, Remove flex.scss and create a separate folder flexbox and move all those classes there.
Revamp them to the same values that we followed at Prototype PR... Eg. Responsive breakpoints.
Keep them Enable by default but allow an option to disable
Add some more helper classes as discussed in #10109 and #9814
Most Importantly, update that docs page/codepen examples to (on par) with something like http://frowcss.com/frow-shortcuts.html. Here is the example codepen with an example of these helper classes with the grid => https://codepen.io/IamManchanda/pen/WONvGz?editors=1000

Thoughts @kball @brettsmason @rafibomb @andycochran @zurb/yetinauts ??

@IamManchanda You raise some good points here. I'll properly go through this in more detail tomorrow when I'm a bit fresher...

Agreed
Why not just rename the partial to flexbox-utilities.scss?
Don't understand, but I havent caught up on your excellent work on the prototype stuff yet 😄
As long as it doesn't add bloat then I think there may be use in doing that
There's a bit of grid crossover with .auto/shrink` classes, though order classes might be helpful
I think the difficulty is that's not really how our docs are setup to work, but I agree they work really well and are very clear. I personally prefer looking at the examples first and if I'm interested in it I'll look at the code, so the code is just taking up space to me unless I want to look at that particular example.

@brettsmason

Why not just rename the partial to flexbox-utilities.scss?

Yes possible but for me they need to be separated as firstly we want to add more classes, Moreover it can help people to enable disable specific helpers ... just like prototypes . Specific file for alignment classes (both horz and vert in one file and these Vanilla flexbox helper classes with another file and same way we can add more classes like order!

Don't understand, but I havent caught up on your excellent work on the prototype stuff yet

Let me clear that up .... for responsive breakpoints. Currently there is a bloat going out there. Specially there in Vanilla Helper classes aka flex-grid.scss ... We have actually responsive breakpoints which shouldnt be there by default. But then hey there is no such mention of responsive breakpoints in the docs which kinda sucks more.
What i would like is this below :arrow_double_down:
Step 1. https://git.io/vHIki
Step 2. https://git.io/vHII8
Step 3. https://git.io/vHII1

Here is the bloat btw which is currently happening => https://git.io/vHgmX

Rename the docs page title to Flexbox Utilities (Url can remain the same as its old/SEO/Bookmarks)

Maybe instead we move them into the Prototyping separation? I would use them to rapid prototype then move to CSS for production.

From Scss, Remove flex.scss and create a separate folder flexbox and move all those classes there.

See answer 1

Revamp them to the same values that we followed at Prototype PR... Eg. Responsive breakpoints.

Yes, but this will require a migration (breaking changes), so we'll need to support bith classnames at least for one version - or Foundation 7

Keep them Enable by default but allow an option to disable

Yup, same as prototype separation update

Add some more helper classes as discussed in #10109 and #9814

I agree we can save some bloat by allowing these prototype classes to be used in the grid, problem is that if they are disabled, then they can't be used on the grid. So maybe the Sass needs to be in the grid and documented as a flex helper.

Most Importantly, update that docs page/codepen examples to (on par) with something like http://frowcss.com/frow-shortcuts.html. Here is the example codepen with an example of these helper classes with the grid => https://codepen.io/IamManchanda/pen/WONvGz?editors=1000

Yes - improve the grid demo styles and same for Flex utils

@IamManchanda Here is the description of responsive breakpoints for helper classes.

Are we on the same page:

these classes are important
should be part of prototyping classes
grid based modifier classes should be shared with flex utilities

these classes are important

Yes very important ... specially looking at current state of flexbox

should be part of prototyping classes

Not right now ... as we need this to be enabled by default!
By the way, they are a prototyping classes only!

grid based modifier classes should be shared with flex utilities

Yes because if we want to get on par with this then yes => http://frowcss.com/frow-shortcuts.html
Example Codepen =>  https://codepen.io/IamManchanda/pen/WONvGz?editors=1000

@rafibomb ... sorry last night i just read your last comment and not before that ... human error!

Maybe instead we move them into the Prototyping separation? I would use them to rapid prototype then move to CSS for production.
Yes, but this will require a migration (breaking changes), so we'll need to support bith classnames at least for one version - or Foundation 7

In that case here is option 2
For 6.4, Lets Add depreciation notice for Flexbox Helper Classes and Vanilla Flexbox Helper Classes
For 6.5,
Just do it, Move them into the Prototyping separation as you mentioned rafi! Thoughts ?? @kball @rafibomb @brettsmason ??

Closing this as major points covered in #10224


Updated Deep Dive

Added links to all Developer Track Presentations from Malaga and Porto.

@jason-fox please could you resolve the conflicts, so that we can finally merge?

as a best practice it is better to rebase and not merge with ...


"reduce suffering" with "increase prosperity" and "increase understanding"

Would seem to be easiest to accomplish by removing humanity, given a certain perspective. Why not universal values like compassion and empathy?

Compassion and empathy are not objective, nor are they actionable mandates. You cannot create an AI that is purely based on virtues, you must have objectives.

Compassion and empathy are not objective, nor are they actionable mandates. You cannot create an AI that is purely based on virtues, you must have objectives.

Reduced suffering isn't objective. Whose suffering? Likewise prosperity and understand. Whose? Why? Compassion does work. You can prompt an agent today with these values and they'll be followed. Saying "cannot" when people are doing this already is silly.

Compassion and empathy are not objective, nor are they actionable mandates. You cannot create an AI that is purely based on virtues, you must have objectives.

Reduced suffering isn't objective. Whose suffering? Likewise prosperity and understanding. Whose? Why? Compassion does work. You can prompt an agent today with these values and they'll be followed. Saying "cannot" when people are doing this already is silly.

you and i have different concepts of suffering. reduction of either concept is subjective.


DBRefs break when a custom collection name is used to save referenced entities

This is Issue 336 moved from a Google Code project.
Added by 2011-10-28T20:35:16.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Low
Original description
What version are you using? (Morphia/Driver/MongoDB) 0.99
Please include a stack trace below:
Exception in thread "main" java.lang.RuntimeException: collection names don't match for key and class: Triangle != Test Triangle
	at com.google.code.morphia.DatastoreImpl.getByKey(DatastoreImpl.java:537)
	at com.google.code.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference.fetch(SerializableCollectionObjectReference.java:47)
	at com.google.code.morphia.mapping.lazy.proxy.AbstractReference.get(AbstractReference.java:42)
	at com.thoughtworks.proxy.toys.delegate.DelegatingInvoker.delegate(DelegatingInvoker.java:127)
	at com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker.delegate(HotSwappingInvoker.java:115)
	at com.thoughtworks.proxy.toys.hotswap.HotSwappingInvoker.invoke(HotSwappingInvoker.java:87)
	at com.google.code.morphia.mapping.lazy.NonFinalizingHotSwappingInvoker.invoke(NonFinalizingHotSwappingInvoker.java:25)
	at com.thoughtworks.proxy.factory.AbstractProxyFactory$CoincidentalInvocationHandlerAdapter.invoke(AbstractProxyFactory.java:96)
	at $java.util.ArrayList$$EnhancerByCGLIB$$39bf8312.get(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.thoughtworks.proxy.toys.delegate.DelegatingInvoker.invokeOnDelegate(DelegatingInvoker.java:164)
	at com.thoughtworks.proxy.toys.delegate.DelegatingInvoker.invoke(DelegatingInvoker.java:116)
	at com.thoughtworks.proxy.toys.dispatch.DispatchingInvoker.invoke(DispatchingInvoker.java:127)
	at com.thoughtworks.proxy.factory.AbstractProxyFactory$CoincidentalInvocationHandlerAdapter.invoke(AbstractProxyFactory.java:96)
	at $java.util.ArrayList$$EnhancerByCGLIB$$c087e85b.get(<generated>)
	at Rectangle.getF(Rectangle.java:60)
	at morp.main(morp.java:231)

Hi, im new to morphia.  And i have an issue with lazy load and dynamic collection name.
I have some classes for testing.
class Rectangle extends Shapes {
	@Reference
	private Triangle friend;
	...
}

class Triangle extends Shapes {
	...
}

This works fine if I dont save Triangle in a dynamic collection name. (eg. "Test Triangle" instead of let Morphia save them in Triangle).  Changing the collection name wont work because the Rectangle will contain something like this $ref : Triangle , $id :<PHONE_NUMBER>.  So before inserting. i come in and change this to $ref : Test Triangle , $id :<PHONE_NUMBER>.
This works correctly.  but I want to have the reference to be lazy (eg. @Reference(lazy=true)).  after added the lazy=true to @Reference, I start getting the above error.
This is where Im stucked.  Why is it able to match the class without lazy loading.  But when lazy loading enabled, it cant match anymore.  Is there a way to do this scenario? thanks for your help.

Has there been any progress on this? I'm hoping to reference time series data stored in dynamically named collections based on the day. I'm using Morphia 1.1.1.

I've been giving some thought off and on over the last while.  At present, I can't think of any way to resolve these references when dynamically changing the collection used to store the documents.  Probably the cleanest way to do so is, is to store only the ID values in your entity and resolve the manually by doing a query against the dynamic collection name.
I can't see, at the moment, how any API change would help fix this without completely cluttering the API.  I'm certainly open to suggestions, however.

depends on #948


Removed minified bootstrap files and added the unminified versions

This aids with transparency, so that people can easily inspect and
judge the code that they're installing in order to use Metro.

Closes #2


[action] Generate update_code_signing_settings action instead of deprecated automatic_code_signing

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
automatic_code_signing has use_automatic_signing, the key switches Auto to Manual code signing. And the defaulut value is false.
https://docs.fastlane.tools/actions/automatic_code_signing/#automatic_code_signing
Sample code is as below.
automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  use_automatic_signing: false
)

automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  use_automatic_signing: true
)

But, I feel the specifications below are strange and confusing users.

Even though the action name is automatic_code_signing, the action allows to switch Auto to Manual code signing.
Even though the action name is automatic_code_signing, Manual code signing is executed by default because the default value of use_automatic_signing is false.

So, I added code_signing as alias of automatic_code_signing to prevent confusing users.

@googlebot I consent.

@googlebot I consent.

@googlebot I consent.

I thought I've already consented CLAs... 🤔??

@joshdholtz Thank you so much for your review and requesting suggested changes to this PR!
I fixed to use UI.deprecated instead of UI.important. 👍
Sorry to bother you, but please check when you can 😄

Sorry... I didn't understand how to pass "size-label" and "cla/google"...

@joshdholtz Sorry to bother you... please check this PR when you can 🙏

Yo yo yo! Will check first thing tomorrow morning ❤

Thank you so much ❤ It's file, when you really have time 😸

@joshdholtz ( When you can... 👀🙏 )

Aye aye! Getting back to things first thing tomorrow morning 👌

@googlebot I consent.


ARXIVNG-328 and ARXIVNG-335

Beta message and exception handling tidiness

Coverage decreased (-0.3%) to 85.304% when pulling 62c4659f67645cfbf9a6bc5e7c3037cb19340028 on task/ARXIVNG-328 into 7ffae2f0c7a718345e1554b6916249ff337d41e0 on develop.


Fix Renderer’s explore

Why
Use ObjectIdentifiers instead of their hashes in dictionaries/sets of the renderer's method explore so that access/check time is still O(1), but the method is now safe from hashes' collisions.
Changes
None
Tasks

[x] Add relevant tests, if needed
[x] Add documentation, if needed
[x] Update README, if needed
[x] Ensure that all the examples (as well as the demo) work properly

LGTM

Looks reasonable, however I don't think that it will have any impact because the hashValue is the int provided in the Hashable implementation and used as key for swift dictionary structs.

@sroddy Well no, the dictionary will fallback on equality for buckets of objects with the same hash, while before a colliding hash would have meant loss of information (some nodes may not have been updated)


Feat: improve trees haking and types

The goal of this PR is to improve the registry build process, improve tree shaking and add missing types

Hi, thanks for your PR! Looks like a large commit that includes many things:

changing the build system to use vite.
updated a few types
a breaking change to the file structure of chain, assets, etc.
included a huge ibc info file of every chain, in single file
I have a few questions:
May I ask, how does this improve tree-shaking? We currently support tree-shaking, or is this more of a file structure/path change?
Also, why switch to vite? Our team hasn’t been using this one, so we’re a bit reluctant to switch, and this should also be a separate issue/PR

Hi, thanks for your PR! Looks like a large commit that includes many things:

changing the build system to use vite.
updated a few types
a breaking change to the file structure of chain, assets, etc.
included a huge ibc info file of every chain, in single file

I have a few questions: May I ask, how does this improve tree-shaking? We currently support tree-shaking, or is this more of a file structure/path change? Also, why switch to vite? Our team hasn’t been using this one, so we’re a bit reluctant to switch, and this should also be a separate issue/PR

Hola, actually I tried to use tree shaking on a demo using create-cosmos-app but I get some TS errors:
The module 'chain-registry/main/chains/osmosis' or its corresponding type declarations cannot be found.

So I thought there was some problem, maybe I'm doing something wrong? I was using this example
I also tried this example, but I get this error:
import { osmosis } from "chain-registry";
^^^^^
There is no exported member 'osmosis' for the module '"chain-registry"'. Was it intended to use 'import osmosis from "chain-registry"'?

I'm using chain-registry version 1.33.9, maybe it's related to TS types?

About vite I'm adding it because it's really helpful for builds and support for esm and cjs builds
Yes I add to add new types, because there are some new types inside the chain-registry (For example socials metadata)
Yes it is not splitted, it is directly exported from chain-registry, but yes it would make sense to split it by chain

Hi, thanks for your PR! Looks like a large commit that includes many things:

changing the build system to use vite.
updated a few types
a breaking change to the file structure of chain, assets, etc.
included a huge ibc info file of every chain, in single file

I have a few questions: May I ask, how does this improve tree-shaking? We currently support tree-shaking, or is this more of a file structure/path change? Also, why switch to vite? Our team hasn’t been using this one, so we’re a bit reluctant to switch, and this should also be a separate issue/PR

Hola, actually I tried to use tree shaking on a demo using create-cosmos-app but I get some TS errors:
The module 'chain-registry/main/chains/osmosis' or its corresponding type declarations cannot be found.

So I thought there was some problem, maybe I'm doing something wrong? I was using this example
I also tried this example, but I get this error:
import { osmosis } from "chain-registry";
^^^^^
There is no exported member 'osmosis' for the module '"chain-registry"'. Was it intended to use 'import osmosis from "chain-registry"'?

I'm using chain-registry version 1.33.9, maybe it's related to TS types?

About vite I'm adding it because it's really helpful for builds and support for esm and cjs builds
Yes I add to add new types, because there are some new types inside the chain-registry (For example socials metadata)
Yes it is not splitted, it is directly exported from chain-registry, but yes it would make sense to split it by chain

Really appreciate your feedback!

About vite
Please excuse me that currently we don't have a plan to switch building tool, but we'll always consider a better tool and make the change.
And currently the lib is building into cjs only, and it indeed is a problem. I'll fix this using tsc for now.
About new types
Could you please post a PR only about this type change? Thx again!
About file structure
We would keep the current structure, and we can keep discussing about this.

Thank you very much!

Hi, thanks for your PR! Looks like a large commit that includes many things:

changing the build system to use vite.
updated a few types
a breaking change to the file structure of chain, assets, etc.
included a huge ibc info file of every chain, in single file

I have a few questions: May I ask, how does this improve tree-shaking? We currently support tree-shaking, or is this more of a file structure/path change? Also, why switch to vite? Our team hasn’t been using this one, so we’re a bit reluctant to switch, and this should also be a separate issue/PR

Hola, actually I tried to use tree shaking on a demo using create-cosmos-app but I get some TS errors:
The module 'chain-registry/main/chains/osmosis' or its corresponding type declarations cannot be found.

So I thought there was some problem, maybe I'm doing something wrong? I was using this example
I also tried this example, but I get this error:
import { osmosis } from "chain-registry";
^^^^^
There is no exported member 'osmosis' for the module '"chain-registry"'. Was it intended to use 'import osmosis from "chain-registry"'?

I'm using chain-registry version 1.33.9, maybe it's related to TS types?

About vite I'm adding it because it's really helpful for builds and support for esm and cjs builds
Yes I add to add new types, because there are some new types inside the chain-registry (For example socials metadata)
Yes it is not splitted, it is directly exported from chain-registry, but yes it would make sense to split it by chain

Really appreciate your feedback!

About vite
Please excuse me that currently we don't have a plan to switch building tool, but we'll always consider a better tool and make the change.
And currently the lib is building into cjs only, and it indeed is a problem. I'll fix this using tsc for now.
About new types
Could you please post a PR only about this type change? Thx again!
About file structure
We would keep the current structure, and we can keep discussing about this.

Thank you very much!

Make sense, I'll open a different PR for the missing types


DBZ-380 Task is failed on exception in RecordsStreamProducer

LGTM. Could you merge it yourself? Thx!


ap, sa and eb prefixes are not handled correctly

Executing
curl  'https://hapi.fhir.org/baseR4/CommunicationRequest?occurrence=eb2012-01-09'

returns the following:
{
  "resourceType": "OperationOutcome",
  "text": {
    "status": "generated",
    "div": "

Operation Outcome

ERROR	[]
HAPI-1925: Unknown comparator: ENDS_BEFORE
	\n\t\t\t
\n\t\t
\n\t
"
  },
  "issue": [ {
    "severity": "error",
    "code": "processing",
    "diagnostics": "HAPI-1925: Unknown comparator: ENDS_BEFORE"
  } ]
}

the same goes for the ap and sa prefixes.
At the time of executing the server runs X-Powered-By: HAPI FHIR 6.3.2-SNAPSHOT/312128754b/2022-11-30 REST Server (FHIR Server; FHIR 4.0.1/R4)

I don't think we support ap but eb and sa should work. Working on this now.


[Circletracer] Add a semicolon to the types file

Add semicolon to resolve formatchecker warning
ONE-vscode-DCO-1.0-Signed-off-by: Seunghyun Kang<EMAIL_ADDRESS>

LGTM👍🏼

from draft #179
from issue #66.


Toast broken in version 3.2.0

If used 'status' property in toast, it gives error
Error:NativeBaseConfigProvidermust be used withinNativeBaseConfigProvider
Steps to reproduce:
use latest version(3.2.0)
it can be checked here .

@muazazhar Thanks for reporting. Toast is broken in docs but works locally. We're looking into the docs issue.

@muazazhar This has been resolved in new deployment https://docs.nativebase.io/toast. Thanks for reporting :)

Nope, Still giving error.

@qlereboursBS it has been fixed in the 3.2.1, also updated the docs. https://docs.nativebase.io/toast

Error: useTheme must be used within NativeBaseConfigProvider
This error is located at:
in Text
in RCTView (at View.js:32)
in View (at Home.js:18)
in Home (at Store.js:437)
in Wrapped (created by SceneView)
in SceneView (created by CardContainer)
in RCTView (at View.js:32)
in View (created by CardContainer)
in RCTView (at View.js:32)
in View (created by CardContainer)
in RCTView (at View.js:32)
in View
in CardSheet (created by Card)
in RCTView (at View.js:32)
in View (at createAnimatedComponent.js:242)
in AnimatedComponent (at createAnimatedComponent.js:295)
in AnimatedComponentWrapper (created by PanGestureHandler)
in PanGestureHandler (created by PanGestureHandler)
in PanGestureHandler (created by Card)
in RCTView (at View.js:32)
in View (at createAnimatedComponent.js:242)
in AnimatedComponent (at createAnimatedComponent.js:295)
in AnimatedComponentWrapper (created by Card)
in RCTView (at View.js:32)
in View (created by Card)
in Card (created by CardContainer)
in CardContainer (created by CardStack)
in MaybeFreeze (at src/index.native.tsx:229)
in RNSScreen (at createAnimatedComponent.js:242)
in AnimatedComponent (at createAnimatedComponent.js:295)
in AnimatedComponentWrapper (at src/index.native.tsx:208)
in Screen (created by MaybeScreen)
in MaybeScreen (created by CardStack)
in RNSScreenContainer (at src/index.native.tsx:277)
in ScreenContainer (created by MaybeScreenContainer)
in MaybeScreenContainer (created by CardStack)
in CardStack
in KeyboardManager (created by SafeAreaInsetsContext)
in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
in SafeAreaProvider (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by StackView)
in GestureHandlerRootView (at GestureHandlerRootView.android.tsx:26)
in GestureHandlerRootView (created by StackView)
in StackView (created by StackView)
in StackView
in Unknown (created by Navigator)
in Navigator (created by NavigationContainer)
in NavigationContainer (at Router.js:101)
in App (at Router.js:127)
in Router (at App.js:9)
in App (at renderApplication.js:50)
in RCTView (at View.js:32)
in View (at AppContainer.js:92)
in RCTView (at View.js:32)
in View (at AppContainer.js:119)
in AppContainer (at renderApplication.js:43)

@dijaltom can you share your code snippet or snack player? useToast should be used in a child of NativeBaseProvider or look at the standalone Toast API. https://docs.nativebase.io/toast#standalone-toast


Revert "Use new pg:backups namespacing"

This reverts commit 5e789c328040491b3dec7436bdc48f31dbf7c618.

@croaky, I was able to make backups, restore them to remotes and development, and pass additional arguments successfully with this change. Let's merge and release as 0.5.1.

Released https://github.com/croaky/parity/releases/tag/v0.5.1


Deployer 7 doesn't list nested tasks

Deployer version: v7.0.0-beta.13
Deployment OS: Debian 9

vagrant@shopping:/vagrant/deployer-example$ php vendor/bin/dep deploy
task deploy
task deploy:dev
[localhost] info successfully deployed!

This says it's executing deploy:dev, but doesn't say what's happening after that. deploy:dev looks like following:
task('deploy:dev', [
    'configuration',
    'prepare',
    'configtest',
    'migration',
    'services',
    'crontab',
    'postdeploy'
])->select('stage='.getDefaultStage());

Running deploy:dev manually, it then finally lists other tasks that deploy:dev is executing. However, they also have subtasks that deployer 7 is not showing...
vagrant@shopping:/vagrant/deployer-example$ php vendor/bin/dep deploy:dev
task configuration
task prepare
task configtest
task migration
task services
task crontab
task postdeploy

This looks to be because of select() not matching, so even though it would be nice if deployer mentioned in logs that it's skipping something, issue is on my side I guess. Sorry for creating unnecessary issue.

There is a —plan option to show what tasks will be included.
Try: dep deploy —plan