Enhancement: Resolve local and fall back to remote schema

This PR

[x] attempts to resolve a local schema URI and falls back to using the remote schema URI otherwise

Fixes #80.
Fixes #187.
🤞

So, since we cannot rely on the constant Composer/Json/JsonFile:: COMPOSER_SCHEMA_PATH to exist, I see only two ways

check in composer-schema.json 😕
determine the path to composer-schema.json and fall back to the remote location

Personally, I'd prefer the second option, but I have no idea how to determine the path to the composer binary that executes the command
$ composer normalize

Does anyone have an idea?
Note that executing
$ which composer

does not necessarily work on every system (Windows?) and that the actual binary might be a different one, for example
$ ./tools/composer.phar normalize

What do you think?

@localheinz You could fetch the .json on install and cache it I suppose as alternative?

Hi Andreas,
Thanks for working on this, this is kinda the same idea as in #170 but your implementation is better.
By the way, where is stored the local schema ?
Thx.

Thanks for working on this, this is kinda the same idea as in #170 but your implementation is better.

Ha, it's a bit hacky, using reflection, but if it works, hehe!

By the way, where is stored the local schema ?

I'm trying to resolve the schema file relative to the class Composer\Json\JsonFile, as there we also have a relative path defined and used for the validation of composer.json in the context of running composer validate.
That is, we are using https://github.com/composer/composer/blob/1.9.0/res/composer-schema.json, and only need to find out where that actually is.
Thx.

It works perfectly at the European Commission now !

It works perfectly at the European Commission now !

Thanks for working on this, this is kinda the same idea as in #170 but your implementation is better.

Ha, it's a bit hacky, using reflection, but if it works, hehe!

By the way, where is stored the local schema ?

I'm trying to resolve the schema file relative to the class Composer\Json\JsonFile, as there we also have a relative path defined and used for the validation of composer.json in the context of running composer validate.
That is, we are using https://github.com/composer/composer/blob/1.9.0/res/composer-schema.json, and only need to find out where that actually is.

Just FYI, I recently made a package (composer plugin) and you could use it to get the directory of a specific package properly:
Directories::composerComposer() . '/res/composer-schema.json';
Or
Directories::get('composer/composer') . '/res/composer-schema.json';
Let me know what you think.


Troubleshooting cron job and db.

I'm not sure if this is the right place for this. I am having problems getting my setup working.
I first checked the db and it is empty.
MariaDB [nest_datagraph]> select * from status;
Empty set (0.00 sec)
I found this in the syslog.
Dec  3 16:00:02 raspberrypi CRON[18964]: (pi) CMD (/usr/bin/python /opt/nest-datagraph/backend/poller.py)
Dec  3 16:00:02 raspberrypi CRON[18960]: (CRON) info (No MTA installed, discarding output)
Any ideas? Thanks.

UPDATE:
I installed postfix. DB is still empty. /var/log/syslog shows...
Dec  3 17:45:01 raspberrypi CRON[1146]: (pi) CMD (/usr/bin/python /opt/nest-datagraph/backend/poller.py)
Dec  3 17:45:01 raspberrypi postfix/pickup[32697]: 78F8C1F58F: uid=1000 from=
Dec  3 17:45:01 raspberrypi postfix/cleanup[1150]: 78F8C1F58F: message-id=20171203224501.78F8C1F58F@raspberrypi
Dec  3 17:45:01 raspberrypi postfix/qmgr[32698]: 78F8C1F58F: from=pi@raspberrypi, size=724, nrcpt=1 (queue active)
Dec  3 17:45:01 raspberrypi postfix/local[1155]: 78F8C1F58F: to=pi@raspberrypi, orig_to=, relay=local, delay=0.22, delays=0.15/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Dec  3 17:45:01 raspberrypi postfix/qmgr[32698]: 78F8C1F58F: removed


Eos Ion to Qlab Computer (NO TRIGGER)

I don't know how to resolve this issue, but I'm going to do my best to explain what is happening.
I set up the OSC Router so it can convert the Ion's fire language to a another that Qlab can understand. It has been working inconsistently throughout the week. Sometimes, the sound cues will delay from firing or not fire at all. Yesterday, it worked perfectly, but tonight it stopped working altogether. I'm perplexed as to why this keeps happening. Anyone who has insight on this issue, your advice is crazily appreciated.

Check out this thread. I started it because I have a similar setup to your (ION firing Q Lab). Still has it's issues (I think it has to do with packet loss), but maybe it can help you ask different questions for your setup. Also, Here's a copy of my Eos Ion Show Control settings. What made a huge difference in reliability is dictating the string sent (cue/%1/start). Using that, you can bypass OSCRouter entirely. I still use OSCRouter, because I have multiple Q Lab computers that need to all receive the OSC commands, but If I only had one machine, I wouldn't use it anymore.
Hope any of this helps!
Eos Family Show Control Settings.xlsx

I've written my own OSC application and I see the same result from EOS consoles. The best advice is to just setup TCP on the EOS console and have OSCRouter connect over TCP. Don't use UDP.


Added tribe and more info to Yemi Osinbajo

What does this PR do?
added more info
Description of Task to be completed?
I was able to update Osinbajo's page,
How should this be manually tested?
xxx
Screenshots (if appropriate)
xxx

Well-done sir


Tap Response

Is there a way to perform an action when the parralaxHeader is tapped?

Which version do you are using?
I can´t download this version: ParallaxHeader (~> 1.0.6)
Thanks!

Im using pod 'ParrallaxHeader'
Do you know the answer? Cause otherwise you shouldn't be posting to this issue.

OK I´m sorry. I dont know the answer

I am facing same issue. I have added button and also tried to add tap gesture but still it's not working. Please help.

Hello @coderShiv
i resolved the issue like that with these step:
open terminal.
go to your project path.
Write:

pod repo update

pod install

Try if!! happy coding!

@yayoro Thanks for your reply, but I have resolved this issue.
Hi @Huddie Just set isUserInteractionEnabled property of UIImageView to true and either add tap gesture or you can also add UIButton. It will work.
Happy Coding.

many thanks @coderShiv


http://<IP_ADDRESS>/

https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md

Please let us know if you have a specific bug or feature request. Thank you!

Utility to build.docx

1486627.positions.xlsx

code_to_translate.zip

If you have a specific issue, please write it out, rather than pasting new links. Thank you!


No actual quickstart for Mobile Apps

Once again, your reworking of everything leaves the documentation behind.
I followed everything to the letter but there's no "Xamarin.Forms" available for download under Quickstart (in fact, there are NO (zip, zilch, nada, niente) client quickstarts available), I'm only seeing PHP, Node.js and other assorted backend server quickstarts.

Hello, @Rhywden.
There is a link to download quickstart app in the documentation:
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started
It could be downloaded from
https://github.com/Azure/azure-mobile-apps-quickstarts/tree/master/client/xamarin.forms

Yes. But my issue is that the documentation also states that you can download a quickstart through the Azure Portal as well.
Also, it would be great if the documentation would, instead of always relying on quickstarts and similar stuff, point to how to integrate mobile apps into an existing application.
Because when you download the quickstart you then have to hunt for all references to Mobile Apps and pray that you didn't miss anything. Basically, what's missing is a "Fundamentals" - i.e. the bare minimum of code you need to get up and running and where/when to put it.

Yes. But my issue is that the documentation also states that you can download a quickstart through the Azure Portal as well.

Could you please share a link where it could be found? We might have missed something.

Because when you download the quickstart you then have to hunt for all references to Mobile Apps and pray that you didn't miss anything. Basically, what's missing is a "Fundamentals" - i.e. the bare minimum of code you need to get up and running and where/when to put it.

@Rhywden have you checked this doc?
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-dotnet-how-to-use-client-library

Hi, we haven't heard from you in a while so I'm closing this issue. Please reopen/comment if you have more questions or run into this again.


AU module is no longer receiving updates.

What You Are Seeing?
The automated update docs page says the AU modules is being updated all the time

However the AU module is no longer receiving updates.

As per https://github.com/majkinetor/au/commit/7f9c84e1e15995595dae68b4e8d8a71f50417752
What is Expected?
The docs should not say it's getting updates
How Did You Get This To Happen? (Steps to Reproduce)
I read the thing.

Thanks for raising this. The intention is to update the docs around au once we have released a version of chocolatey-au. Perhaps we should look to update those links sooner.

I went to update some of this doc just to point to the new repo and mention it was archived by the original owner of the module, but I'm noticing we also link to the AU wiki on the archived repository from our docs.
I've opened https://github.com/chocolatey-community/chocolatey-au/issues/23 to discuss what we want to do with that as it may be better provided as part of that repo than this one, and I'll go ahead and update some of the text here to indicate we're maintaining this going forward without giving too much detail just yet. We can make more detailed updates when we have a release of our version out there.


Some Chinese characters disappear after applying zh-hans & taso patch

Excuse me, sir. I used thcrap on th155 and completed the configuration process( and also applied taso patch).
However when I run the shortcut th155 (zh-hans), a window pops up saying that my th155 is not the latest version (but I checked, my th155 has been updated on steam).
Then, after entering the game interface, I couldn't see any text in the config interface, and the character dialogues couldn't be displayed at all.
I wonder konw how to solve it and thank you for your helping.

Fixed on our side a while ago


DISCORD SERVER

PySilon Discord server got termed

here is the new one: https://discord.gg/RhwVxTrWyv


go_test:runtime unit test sporadically runs out of memory on OS X

This is the error message, and a link to the build log:
--- FAIL: TestGcSys (0.06s)
    gc_test.go:33: expected "OK\n", but got "using too much memory: 70813696 bytes\n"
FAIL
FAIL	runtime	9.366s

A workaround is to run the that test separately and see if the error goes away.

This is fixed in #80


Don't deploy staging when StagingDeployCash is locked

Details
Failed workflow run: https://github.com/Expensify/Expensify.cash/runs/2195663283?check_suite_focus=true
We were planning on doing staging deploys only when the staging branch is updated, so that meant we would create a new version on master when a new PR is merged, regardless of whether the StagingDeployCash is locked. However, we've since made deploys happen in the version workflow, but we forgot to skip the workflow when the StagingDeployCash is locked.
Fixed Issues
n/a
Tests

Make sure the StagingDeployCash is locked
Merge this PR
Make sure the staging deploy is skipped

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Nice, this worked https://github.com/Expensify/Expensify.cash/actions/runs/690853276


Testing: Perform Initial Tests on Windows

We are looking to expand support to Windows users by providing an installable Windows release. Before we proceed to automate a Windows release pipeline, we need to confirm that the current project works well on a Windows environment.
This is a particularly good first issue to take, and a good opportunity to understand the inner workflow of the project. It will also pave the way to reach a greater audience.
Objectives:

Test Functionality on Windows:

Set up the project on a Windows machine by following the manual installation instructions.
Run through the core functionality (e.g., processing a video, extracting audio) and verify if everything works as expected.

Identify Platform-Specific Issues:

Report any issues specific to Windows (e.g., file path problems, dependency issues, permission errors).
If possible, suggest solutions or fixes to make the project compatible.

Provide Feedback:

Document what worked and what didn't in your testing environment (Windows version, any special setup you needed to do).
Suggest improvements to the documentation if there are any changes needed for Windows users.

Can you assign me this issue ?

Hi @IbrahimHamshari, thanks for your interest!
I've assigned the issue to you. Please take note of each problem you encounter and provide updates to our documentation to ensure a seamless manual installation experience for our Windows users.
Feel free to reach out if you have any questions along the way

Hi @omeryusufyagci
I can't get this to build on Windows 10. I tried with Visual Studio and MSYS2. They both gave errors regarding the inclusion of nlohmann/json.hpp in ConfigManager.h. I tried installing the mingw-w64-x86_64-nlohmann-json package in MSYS2 but it didn't help.

Hi @readysetlearn thanks for reporting this. I'm expecting quite a few small issues like this to come up here. Let's revisit this with @IbrahimHamshari once his initial review is finished and proposes a set of manual installation instructions for Windows.

Trying to test on a Mac, I've also run into some problems and just updated the documentation to include details about the ffmpeg path and installation instructions for the JSON library. We can add the Windows instructions in the same collapsable section under Prerequisites. Now it seems to be fine on MacOS and Linux.
Eventually we should provide an installation script, and detect the paths, update the config file ourselves, but for now let's try to document exhaustively.

Yeah, I also ran into some issues with that fixed it, but I have some path errors right now and I'm trying to fix them right now.

I've ran into some issues that I think it requires deep knowledge about the code itself, how can I contact you to understand the project more ?

Thanks @IbrahimHamshari for sharing the details. Indeed, we have some work to do to support both both OSs without cluttering the code base. I have the rough game plan in my mind though:

Update config.json with dedicated paths:

"ffmpeg_path_unix": "/usr/bin/ffmpeg",
"ffmpeg_path_windows": "C:\\ ...",

Same for the DeepFilter path, and we should put the default paths on Windows.

Update the ConfigManager to support "1":
We need to add getters here, e.g. getFFmpegPath(), which will return the correct value depending on the OS definition.

#ifdef _WIN32
    return getConfigValue("ffmpeg_path_windows");
#else
    return getConfigValue("ffmpeg_path_linux");
#endif

Update the implementation wrt "2":
Now we can cleanly take these values from the ConfigManager singleton, e.g. configManager.getFFmpegPath().

Migrate to std::filesystem::path
We already use this to manage paths, but this is an oversight from me that they're hardcoded here.
Example of what I mean:

// instead of
m_chunksDir = m_outputDir + "/chunks";
// use
m_chunksDir = (std::filesystem::path(m_outputDir) / "chunks").string();

Of course, to refactor all similar operations for other variables as well.

I believe at this point it should work, but to improve the ease of use of the ffmpeg commands, we should also introduce a CommandBuilder. This is where I want to go with this:

// Instead of:
std::string ffmpegCommand = ffmpegPath + " -y -i \"" + m_inputVideoPath +
                            "\" -ar 48000 -ac 1 -c:a pcm_s16le \"" + m_outputAudioPath + "\"";

// we should do:
cmd.addArgument(ffmpegPath);
cmd.addFlag("-y");
cmd.addFlag("-i", input);
cmd.addFlag("-ar", "48000");
...
cmd.addArgument(output);

I didn't write down the CommandBuilder interface here, but I hope you get the idea.

There is a lot to unpack here, and your feedback has been great to identify so many issues. As a high level overview, I think this should work, and I'll try to take a look at this soon (tonight hopefully!).
Fyi, @andcscott about the CommandBuilder as it may affect the class you're writing.

Thanks @omeryusufyagci for the insight, I was able to fix the paths. But the problem right now is that "deep-filter-0.5.6-x86_64-unknown-linux-musl" is not suitable for window, I'm not sure though when I try to execute a command on it this happens

this error happens when trying to process a video

@IbrahimHamshari you found another update needed for the config file! That file is a linux executable, so we have to ensure to use a windows binary. Could you please try with this Windows executable?
You'll need to move the downloaded file under the res directory and update the config.json to point to this path.
This should resolve the primary problem.
Can you locate MediaProcessor binary under build/? It may be an artifact of the problem above.

Could you try to append the .exe extension here?
I see that you tested with ./MediaProcessor; your shell could be smart enough to add the .exe extension, but the system might not recognize the file.

Yeah I tried that, same issue.

Could you please share the full logs in text form, from the start of the backend server? Thanks

Here is the log file:
log.txt

Have you edited the "./" part of that subprocess call? That's unix syntax; it should be something like MediaProcessor\\build\\MediaProcessor.exe (tbt). I'd try to os.listdir where you're calling the binary, and perhaps run it with abs path. Is your fork up to date? If above doesn't help, could you push your work-in-progress version? It will help to understand better.


Normal for Public IP and Address to alternate Yellow and Red?

It does not permanently stay yellow, it fairly frequently goes from Yellow to Red, sometimes both yellow, sometimes its one of the other for a little bit. Ports are open. I see the node on 1ML.com

Its the first time such a rotating colors are reported. Not exactly sure why that is happening. The script does a netcat port scan on the public IP with that port number and if that works (exitcode 0) it gets displayed yellow - if not red. So the netcat port scan seems to deliver different results.

pls close this.


REFACTOR: Add  missing SquareCTF Writeups

We have one writeup for this from PineBel. See #80

Need to do TOFWL one


Typescript complains for options being passed to setQueryData

Describe the bug
After fetching some data from useQuery hook, I am trying to set query data using queryClient.setQueryData  as below:
   const options = {
       staleTime: Infinity,
       cacheTime: 1000
   }
   queryClient.setQueryData(_key, value, options);

But while setting options in setQueryData , typescript complains as below
Type '{ staleTime: number; cacheTime: number; }' has no properties in common with type 'SetDataOptions'

Also docs here does not mention about options param. I got to know from typescript suggestions that queryClient takes third param as well.
Is there any doc available for types exported by react-query ?

I have never used setQueryData with more than 2 parameters. No, you cannot set any options with setQueryData. it sets the query data, not the query options, as the name suggests :)
That being said, there is a third parameter, and it is:
https://github.com/tannerlinsley/react-query/blob/c3434575a1221a33ed9684f87ef961f7df5adeb4/src/core/query.ts#L82-L84
so not much you can do with it.

Is there any option to set query options while setting query data ?

not that I know of. What are you trying to do please?

My usecase is that when some data list is fetched, then I would like to store that list in cache by referencing each object in list by its unique key so that I can get that object fetched with the help of useQuery hook using that unique key. But while setting that data in cache I would like to convey react-query that you have to keep this data for long time by using staleTime option.

I think you need to use state for that. Probably somthing similar to this PoC here: https://twitter.com/TkDodo/status/1378732290789011457
where I'm setting staleTime depending on returned http headers, but it can be set depending on anything really in onSuccess ...

In version 2, queryCache.setQueryData used to provide three args (queryKey, updater, config) as per the docs here. With the help of third option we could set query options while setting the data. But in version 3 setQueryData does not have config option. Is this option moved to some other place or removed permanently ?

didn't know that. You can use queryClient.setQueryDefaults to set the default options for a query, but observers can still override it.

Okay great! Will check this out. But was this expected to remove the usage of setting options while setting the data. IMO, this is useful as there are genuine use cases to set a new query with its data and options.


Can‘t reach output in README.md

(wenet/example/aishell/s0)
在aishell-1用最新的train_u2++_conformer.yaml配置训练，在attention_rescoring解码模式只能达到4.86左右，达不到README.md中记录的4.63。请问大概是哪方面原因？

please make sure all the training parameters are the same with ours, and the gpus should be the same to ours.

The accuracy of the model is related to the performance and quantity of the graphics card. I got a better performence when i used four P100 rather than two.


feat(schema): try to infer runtime default values automatically

When a runtime default value is provided and the entity instance can be constructed without providing any parameters, the default values will be inferred automatically.
We try to create two entity instances to detect the value is stable, and compare the values by reference, this will discard things like new Date() or any object values in general.

Codecov Report
Base: 99.81% // Head: 99.80% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (14174ad) compared to base (74a439d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3529      +/-   ##
==========================================
- Coverage   99.81%   99.80%   -0.01%
==========================================
  Files         211      211
  Lines       13020    13026       +6
  Branches     3031     3033       +2
==========================================
+ Hits        12996    13001       +5
- Misses         24       25       +1

Impacted Files
Coverage Δ

packages/core/src/metadata/MetadataDiscovery.ts
99.84% <100.00%> (-0.16%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


17.1 and 17.1.1 minor issues

From the 2021-05-21 release:

17.1, page 565 typo: "unkown"
Both the end of 17.1 and the first paragraph of 17.1.1 (end of page 565/start of page 566) contain duplicate phrasing (maybe intentional?):

[...] the function by a list of function values on a grid of D points, we can perform inference with random vectors, instead of random functions. We generalize this to arbitrary input domains in Sec. 17.3.

fixed, thanks


Cubemap textures upside down when DXT compression is active

Hello team!
We encountered an issue where setting DXT compression to 'active' on textures used by a cubemap will mirror the textures when running the scene.
Example project:
https://playcanvas.com/project/738454/overview/cubemap-compression-bug
Removing the compression will return the cubemap textures to their correct orientation.
Would be great if someone could look into this issue.
Thanks!

Hi @anox1337,
Thanks for reporting, this is actually a known issue. The problem is that playcanvas treats images upside-down. We plan to address this, but it's not a small job.
For now it's unfortunately not possible to use the editor-generated compressed textures as cubemaps.
Closing this ticket as dup of #1983.
Thanks!


[hdf5] build failure when using version 1.10.5-12 with baselines after tag 2024.11.16

Operating system
Ubuntu 22.04.5 LTS (WSL)
Compiler
GCC
Steps to reproduce the behavior
`vcpkg install` with the following manifest:

{
  "name": "hdf5-1-10-error",
  "homepage": "http://example.com",
  "description": "Minimal example to reproduce HDF5 build error with older versions on newer baselines",
  "dependencies": [
    {
      "name": "hdf5",
      "features": [ "zlib", "cpp" ]
    }
  ],
  "builtin-baseline": "b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c",
  "overrides": [
    {
      "name": "hdf5",
      "version": "1.10.5-12"
    }
  ]
}

Failure logs
$ $VCPKG_ROOT/vcpkg install
error: the baseline does not contain an entry for port szip

Additional context
For technical reasons, we need to use hdf5 with the 1.10 API. Upgrading to the latest version is infeasible at this time. I am aware of the -DH5_USE_110_API CMake flag which is supposed to allow usage of the 1.10 API with later versions of the package, but using this in practice caused multiple test failures and should also be considered infeasible.
Investigating a bit, it appears that hdf5 version 1.10.5-12 relies on szip. However, this was removed with #38107 and VCPKG can't figure out what to do with this older version anymore. How can we use this version of hdf5 with later baselines? This is preventing baseline updates, which prevents us from ensuring packages are up-to-date and integrating new changes and will probably become a security issue before too long. Is there a way to continue using this version of hdf5 with newer baselines, or are we forced to update to later versions of hdf5?

You need to add an overrides entry for szip, too.

Thanks, this appears to have solved the issue. Looking at the build output from the previous baseline we were using I used version 2.1.1#12 of szip

Is there a particular reason this was completely removed?

Upstream hdf5 started to prefer the libaec alternative a while ago.
The vcpkg "curated registry" CI does a fuel integration and must avoid conflicts or flakiness from alternatives.
With szip no longer being tested in CI, and no longer being an active dependency of any port, "advertising" the original port isn't a good option. (And the historical versions are still available for those who need it, with manifest mode, or as a base for user-side overlay ports.)
Disclaimer: Community feedback.

Ok, thanks for the response! I think we can close this


Re-implement support for sub-function

Pull Request Test Coverage Report for Build 631

95 of 102 (93.14%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 82.634%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/typecheck.js
29
30
96.67%

lib/ast/class_def.js
7
10
70.0%

lib/ast/function_def.js
55
58
94.83%

Totals

Change from base Build 628:
0.03%

Covered Lines:
6577

Relevant Lines:
7747

💛  - Coveralls


[v1.2.0] Visual Studio 2022 build errors, need help

I really like the idea about modern c++ gui wheel, it's pretty awesome, so I want to try it out, but I'm having some build issues.
ENV: windows 10 x64 / Visual Studio 2022 / guipp v1.2.0
build steps
cmake .. -G"Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES=Debug;Release -DGUIPP_BUILD_DEPENDENT_LIBS=ON
cmake --build .
issues

D:\Code\clockapp\libs\guipp\gui\win\native_win32.cpp(351,19): error C2059: syntax error: '='

i try to fix it:

D:\Code\clockapp\libs\guipp\gui/layout/layout_container.inl(93,22): error C2039: 'add': is not a member of 'gui::layout::scroll_view' [D:\Code\clockapp\build\gui\ctrl\ctrl.vcxproj]

i can't fix it, need you help :) .

Oh dear, My bad,
Someone is interested in my code and I push an unfinished version on github.
I have a new version 1.2.1 released that now compiles on Windows again.
Please pull the latest version and don't forget to update the submodules too (git submodules update).
Please note that the version number may be a bit too optimistic.
The whole project is still very much in flow and it is not yet complete in my opinion.
But it is good enough to build working, stable C++ application for Windows and Linux.
I have also created working applications for MacOS, Android (native) and ubports (all three using QtBase as a bottom layer).
But the build-chains are yet not really ready and some manual work is necessary.
I would be happy to receive further feedback.
Greetings
Redleg


Placeholder for CSI side car code

Issue/Feature Description:
We need to find a best way to manage and maintain the sidecar code of csi as everytime a patch needs to be added on each new release version of these side cars.
Why this issue to fixed / feature is needed(give scenarios or use cases):
For easy maintainability of the CSI sidecar codes for different version as different csi vendor plugins might use different version of the side cars

/cc @kumarashit

@IMO let's maintain the code as it is now, as release wise it seems reasonable to manage the code structure similar to current one, hence going ahead to close the issue


unnest + field access of "list of struct" broken

Describe the bug
See reproducer.
To Reproduce
Use the following sqllogictest:
statement ok
CREATE TABLE lists_of_structs_table
AS VALUES
    ('row1', [named_struct('a', 1, 'b', 2), named_struct('a', 2, 'b', 3)]),
    ('row2', [named_struct('a', 4, 'b', 5)])
;

query T?
select column1, unnest(column2) from lists_of_structs_table;
----
row1 {a: 1, b: 2}
row1 {a: 2, b: 3}
row2 {a: 4, b: 5}

# unnest + struct element access
query error DataFusion error: Schema error: No field named b. Valid fields are lists_of_structs_table.column1, lists_of_structs_table.column2.
select column1, unnest(column2)["b"] from lists_of_structs_table;

Expected behavior
Since unnest creates a struct column, I feel that this should work.
Additional context
Tested w/ 5391c98f7a3fda1f8eef994591286b1596033bc5 .

let me take a look, i'm working on some cleanup regarding this feature: https://github.com/apache/datafusion/pull/12836

I think this is some problem with the parser, and perhaps not yet supported.
The query will be perform correctly if replace double quote with single quote
select column1, unnest(column2)["b"] from lists_of_structs_table;

The query with double quote will fail for normal queries, not just unnest

Oh 🤦, I think I've tripped over the quoting then. I can never remember which is the string and which one is the identifier in SQL. In that case, the error message is actually correct, since my query tries to index the struct with a dynamic string from column b, which doesn't exist. The intention was to index with a static string 'b' (as you suggested). So that's not actually a bug.


Delta Sharing Server support for CDF request on tables readerVersion 3

I'm looking for informations regarding plans to support Change Data Feed (CDF) requests on tables with readerVersion 3 in the Delta Sharing Server. Currently, new Delta tables with readerVersion greater than 1 are only readable by delta-kernel, as delta-standalone does not support readerVersion > 1.
The implementation of queryCDF for DeltaKernelTable is currently hardcoded as "not supported yet":
https://github.com/delta-io/delta-sharing/blob/758ba6a7d0ff34e60cd942d2e83a2e6d7b7e8fa7/server/src/main/scala/io/delta/sharing/kernel/internal/DeltaSharedTableKernel.scala#L382-L391
Is there a roadmap or timeline for implementing CDF support for readerVersion 3 tables?
Thank you!

Hi @danielmcstr, thanks for the issue! I'm not sure if this is entirely relevant to your usecase, but delta-sharing has recently added support for change data feed on version 3 tables with deletion vectors through a python/pandas api.
If this is indeed relevant, then I can say that more reader feature support is in the works at delta-kernel-rs which will open them up for delta-sharing's python connector.

Hmm seems that the endpoint you're using is going through Delta Standalone 🤔 The features mentioned require you to go through the python connector to leverage delta kernel rs. I'm not familiar with standalone, so I'll defer to @linzhou-db  who may have more context. Sorry I couldn't be of much more help 😔

Good afternoon @OussamaSaoudi-db, @danielmcstr:
I can read a table with Delta Sharing Sever version 1.2.0 and delta sharing client 1.2.0 with delta-kernel-rust-sharing-wrapper 0.1.0 with the following properties:
delta.enableChangeDataFeed=true
delta.enableDeletionVectors=true
delta.feature.changeDataFeed=supported
delta.feature.deletionVectors=supported
delta.minReaderVersion=3
delta.minWriterVersion=7
I can also read them with Delta Sharing Client 1.3.1 and delta-kernel-rust-sharing-wrapper 0.2.1
What I do is: spark.read.format("deltaSharing").load(urls[4]) after I have created all the short lived urls for the tables brought by the delta sharing client


add swap action

swap action can swap between selected windows.
https://github.com/kamecha/ddu-source-window/assets/42508708/cfa53bfe-0690-4316-8ef0-1eddfe46cf82

Thank you for nice PR!
new feature looks great!
👍


Terminal takes >2 mins to start-up on AMD64

Environment
Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0

Any other software? VSCode, Office,

Steps to reproduce

Install Terminal from the store
Wait for installation to complete
Launch terminal

Expected behavior
Terminal opens.
Actual behavior
Terminal fails to start correctly. App process is created, but Terminal window fails to render its content to appears almost entirely transparent. Sometimes, the outer non-client area is visible and draggable which leaves pixel-trash on-screen.
HOWEVER, Terminal does finally appear on-screen after ~2 mins:

ARM64, not AMD

Couldn't repro under debug, problem seems to have gone away.


network.operator: add back missing validation

Previously, we had manually edited the CRD. Now we generate it automatically.
This PR only adds back the validation that was missing; it isn't a full audit of every possibly missing property.
/cc @rcarrillocruz

seems reasonable
/lgtm

/lgtm


Create video walkthrough of the Project

Create video overview of the project

@ishuverma do you think you would be able to include the video within the README?

Good idea. Will do.
On Sun, Feb 19, 2017 at 8:29 PM, Andrew Block<EMAIL_ADDRESS>wrote:

@ishuverma https://github.com/ishuverma do you think you would be able
to include the video within the README?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sabre1041/iot-ocp/issues/11#issuecomment-280979925,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APpY8CZ57rOrJa0YYQOOyf9qZOXzyDmsks5reQicgaJpZM4KffWU
.


skipPropagateChangesToRootElements should be default true

Transformation services has hit 2 issues with the 'skipPropagateChangesToRootElements' being defaulted to false so far.

iModelDb.name property in TS changing to the rootsubject name. PullMergePush calls intiializeIModelDb which sets imodelDb.name to rootsubject.name.
https://github.com/iTwin/imodel-transformer/issues/174

I don't see a reason to keep it as default false, mostly because afaik there was never actually any user / consumer request to propagate changes between the root elements.
Might be worth bringing this up with the larger group as well

Suggest to also update documentation with information that iModel name will be updated when skipPropagateChangesToRootElements is set to false:

Agree its worth mentioning, thanks.
This is caused by calling initializeiModelDb after we pushChanges. initializeiModelDb updates the .name property on the iModelDb by setting it to the name of the rootsubject. Since changes to root elements are being propagated, that root subject name gets changed and leads to the iModelDb.name property being updated.


[REEF-791] Replace inefficient use of keySet iterator with entrySet iterator

JIRA:
REEF-791
Pull Request:
Closes #

This looks good, I will merge.


is Editable in Grid extendable？

Description:
I want to extend the Editable in the grid, is there any way to succeed it?

This feature is based on https://vitalets.github.io/x-editable/


Min Date

how to change min day more year from starting year

Could you explain a bit more?

Could you explain a bit more?

how to set minimum date in this calendar also i need to get only single click of date selection with background colour ?


YAML example using the new way of including Global Parameters

Hi there,
I keep coming back to this page but I don't believe it tells me what I need. I am creating an Azure DevOps pipeline using YAML which deploys Data Factory. I am including the Global parameters in the ARM Template, as per the new tick box, which creates this section in the ARM template definition:
"Microsoft.DataFactory/factories/globalparameters": {
"properties": {
"*": {
"value": "="
}
}
}
For some reason, whenever I try to include a global parameter in the ARMTemplateForDataFactory.json, it fails and I don't know how to fix it.

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

ID: 7b30daa8-67a6-a4ed-e644-eae2f79c361f
Version Independent ID: c982e67d-577d-67f6-aafc-1b733b213d26
Content: Global parameters - Azure Data Factory
Content Source: articles/data-factory/author-global-parameters.md
Service: data-factory
Sub-service: authoring
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@RB-IJYI
Thanks for your feedback! We will investigate and update as appropriate.

@RB-IJYI
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1


'"react-router-dom"' has no exported member named 'Routes'. (in chapter 5)

I followed the book in chapter 5 but got this error. The version of react-router-dom I have installed is 6.14.12. Could someone please help? Thank you.

Are you sure you have installed React Router 6? version 6 is still in beta ...
Try npm install @react-router-dom@next

I don't know why I followed the insturctions to install react-router-dom but seemed that something is different. My visual studio core can recognize react route codes on this website ( https://reactrouter.com/web/example/basic ) but can't understand codes in the book.
Anyway, thanks a lot. I tried npm install react-router-dom@next (no @ before react-router-dom), and it works now. Thank you.


time: faster ISOWeek

$ go test -run=NONE -bench=BenchmarkISOWeek time > old.txt
make changes
$ go test -run=NONE -bench=BenchmarkISOWeek time > new.txt
$ benchcmp old.txt new.txt
benchmark              old ns/op     new ns/op     delta
BenchmarkISOWeek-4     7558          6293          -16.74%

use abs more faster
func (t Time) ISOWeek() (year, week int) {
	// weeks start with Monday
	// Monday Tuesday Wednesday Thursday Friday Saturday Sunday
	// 0      1       2         3        4      5        6
	// +3     +2      +1        0       -1     -2       -3
	// the offset to Thursday
	abs := t.abs()
	d := Thursday - absWeekday(abs)
	// handle Sunday
	if d == Thursday {
		d = -3
	}
	// find the Thursday of the calendar week
	d *= secondsPerDay
	if d > 0 {
		abs += uint64(d)
	} else if d < 0 {
		abs -= uint64(-d)
	}
	year, _, _, week = absDate(abs, false)
	return year, week/7 + 1
}


⚠ Bofrost.at has degraded performance

In c856715, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 994 ms

Resolved: Bofrost.at performance has improved in d4d589e.


fix: do not crash when performing "sibling-related" operations on the root node

Ref. title

Superseded by #277


Move ELK installation to binary

I'm working on a different approach involving local repo served from one of the VMs in cluster (probably k8s-master). Shouldn't mess with our code as much as binary installations and it'll make tracking of rpms unnecessary. Closing for now.


Move all block strings into messages.js

Changes

Moves all block messages and menus into msg/messages.js
Modifies the build.py script to not include localization scripts (a more thorough removal of existing i18n infrastructure will come later)

Adds

New Node.js utility for converting messages into JSON that can be used by Transifex
New Node.js utility for converting languages provided by Transifex back into JavaScript
New NPM script for executing both utilities (npm run translate)

Removes

Unused block definitions (e.g. "pen", "music", and "video motion" blocks that have been migrated to extensions
Unused Blockly messages

Notes

This PR is pretty big so I recommend going through it commit by commit
You'll need to look at the full diff on msg/messages.js, msg/json/en.json, and msg/js/en.js

@AnmAtAnm for blockly-side comments on messages.

Looks good.
Blocks and strings look good in the various block definition files. I notice your messages.js does not include translator comments. Obviously the comments for Blockly blocks don't apply, but I would expect translators to possibly need additional context surround some strings, particularly those that require %1 arguments.
The js_to_json and json_to_js look like pretty accurate recreations of the relevant parts of build.py, though I didn't run it.

FYI - We're updating Blockly code to use array key references to all Msg constants, and removing the @export annotations. This is critical for apps that either compile those constants, or rely on runtime manipulation of the constants. @export was duplicating the string table, instead of just renaming it.
Further, Rachel pointed out that the end goal is run-time language swapping.  For this to work, the blocks will need to use the "%{BKY_MESSAGE_ID}" notation, in order to defer the string lookup until block creation time. Direct Blockly.Msg references, as seen in this PR, will be reified once when the block definition is read/executed, and will not pick up later Blockly.Msg changes.


fix dependabot

Okay, so apparently Dependabot had changed since I last used it, which I did not notice as I don't have full access to the repo. Some Dependabot settings can now be configured in the admin panel.
@lut99: Could you enable the following settings in Settings > Code Security?
Under Dependabot:

Dependabot alerts
Dependabot security updates
Dependabot version updates
Dependabot on Actions runners

It looks like that last setting is why the Dependabot file was inert.
Since the Dependabot settings in the interface can take care of security updates now, we can remove that part from the configuration as it would be redundant. This PR removes that section.
These can now be separately handled in the GitHub settings, after which
they are coupled with the Dependabot alerts.

Uhh, this is embarrassing. You don't have to do it here, of course. :rofl:


Old Trips should never be added to the database

Otherwise we find ourselves in the weird situation where we add trips only to delete them 30 seconds later.

Labelling as wonfix, because it makes little sense to do the extra database query until a deletion is actually requested.


Positioning of HTML elements over overriding css in style attribute does not work

In case of dynamic visualization it is needed sometimes to control positioning of elements on the page depending on values retrieved from database.
Static positioning works fine when adjusted in CSS styles. However, if there is a need to override it dynamically in style attribute of HTML tag, it doesn't work. Looks like all other overridings except top, bottom, left, and right work.
In example below div with style attribute ignores top and left properties, but all other are applied:
Content:

CSS Style:
.parent {
    position: relative;
    width: 200px;
    height: 300px;
    border: 5px solid #1C4C97;
    background-color: blue;
}
.child {
    position: absolute;
    top:50px;
    left: 50px;
    width: 10px;
    height: 10px;
    background: white;
}

Here is example how height of the item can be dynamically according to value from DB, but the same trick doesn't work for top, bottom, left, and right.

@nikchuk I will take a look and get back to you.

@mikhail-vl maybe you had a chance to check this out?

Hi @nikchuk
There is html syntax error so styles are not applied. Unfortunately, we don't check HTML for errors so it's not clear what was wrong. Please make sure that you separate inline styles by semicolon.
style="position : absolute ,// error here ..."

Here is the valid HTML for your case:
First:

Second:

hi @asimonok. Thanks for answering and sorry for confusion. It was not a copy paste from my code, it was a typo here. In my code there was semicolon and the positioning over inline style still does not work.

@nikchuk could you share more details about the issue?
Is this the expected result on the screenshot?

Sure.
Here is how it looks like with inline style:

  .tank {
    position: relative;
    width: 200px;
    height: 300px;
    border: 3px solid black;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
  }
  .liquid {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: blue;
    opacity: 0.2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .sq {
    position: absolute;
    height: 150px;
    width: 150px;
    //top : 200px;
    //left : 200px;
    background: red;
  }

As you can see red square is at the top left corner (position ignored) but the size is 30px as written in inline style.
If position is defined in css, everything looks ok, but I can not use then the value from database for positioning:

  .tank {
    position: relative;
    width: 200px;
    height: 300px;
    border: 3px solid black;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
  }
  .liquid {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: blue;
    opacity: 0.2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .sq {
    position: absolute;
    height: 150px;
    width: 150px;
    top : 200px;
    left : 200px;
    background: red;
  }

It is really weird, because the part with positioning is missing for this div (red square) in the inspection mode:

@nikchuk thanks for the provided details. If I got it correctly, It looks .sq class doesn't have the left and top CSS rules in the CSS file. Please check if it really has. Because we don't sanitize imported CSS files somehow.
Also, it's interesting that there is a combined CSS selector .css-1nas63 .sq. Is it a hardcoded value in your CSS file or made dynamically?
In addition, CSS styles will be used overridden with inline styles. The problem could be that.
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

@asimonok it has for sure. And if you add them directly in the inspection tool - they appear and apply to dedicated div.
.css-1nas63 is something dynamic, I'm not sure from where it comes. My css added in DynamicText was mentioned in one of the comments above. There is nothing else connected to the page.
As I also mentioned, the same code works absolutely as expected if added into simple html file and launched in browser.

@asimonok FYI, disable sanitizing in Grafana has helped. This specific inline style is not removed and properly applied.

@nikchuk Sanitizing in Grafana is tricky and it's constantly improving, which is great from the security point of view. Also, Grafana runs JavaScript in a Sandbox now, which can lead to unexpected results.
Great to hear that you figured it out.


Update tokens_per_sec to tokens_per_sec_per_gpu

Context
We log tokens_per_sec_per_gpu but this is called tokens_per_sec which causes some confusion.
Changelog
Update the name of the param being logged
Test plan
Eyes:

would tokens_per_sec_per_gpu ever differ slightly among ranks?

would tokens_per_sec_per_gpu ever differ slightly among ranks?

it's a good question - it will, but the current nomenclature doesn't really call this difference out either. We assume rank 0 is representative (reasonable for randomly shuffled data). This just makes what we log more explicit


cas: Introduce latest pattern handling for image fetching.

The last commit is the interesting one. It's based on #393.
On fetching, if downloaded with the "latest" pattern (no version label
specified), the ACI is saved in the store with the "latest" flag.
In future, on "rkt fetch" or "rkt run", a way for the user to define if the
provided images (by local file or URL) should be saved in the store with the
lastest flag, should be provided. For doing this there's the need to find how
the user can request this for a specific file/URL as multiple files/URls can be
provided.
See appc/spec#73 for my thoughts about the need of the "latest" flag.

Please rebase

@iaguis Done!

LGTM

I'm good with this. @philips can you ack the latest behaviour is in line with your expectations too?

Thanks for your review. I'm very interested to know if the behavior is good. This is also referenced in appc/spec#73.

@sgotti sorry, we have a conflict now - can you please rebase and I'll get this merged? thanks!

@jonboulle Done!

lgtm


Create support admin page to allow of deletion of facility

Background
To empower the support team to resolve user issues more quickly, we should provide them functionality to delete facilities in an organization using the existing mutation to markFacilitiesAsDeleted.
Action requested
Create a page only accessible to support admins to manage facilities. The page should have the ability to select an organization, a facility from that organization, and buttons to either delete or undelete the facility.

Backend mutation already exists to handle the deletion/undeletion of a facility.
To fetch all organizations & facilities the organizations query will likely have to be used.
Rough example:

Acceptance Criteria

The page is accessible and passes AXE scans.
A user is able to delete and undelete a facility.

Open questions:

what happens to pxp flow if patient viewing a result performed at a deleted facility
what happens to patient assigned to a facility that gets deleted - what do we see in Edit Patient and can we conduct a test for them from anywhere?

should we warn support before deleting a facility if there are patients only assigned to that facility because they will potentially become untestable?

does deleting a facility impact the result view table?
what happens if a user logs in and they have access to no facilities?

creating a spike to answer these first:
proposes a solution to preventing getting into any bad states when deleting a facility (either by preventing deletion if users assigned to only that facility or making support remove all users from facility before deletion.. also still need to check what happens to results for a deleted facility)

@jayna-SkylightDigital please add expected behavior when:

patient in testing queue of facility to be deleted
there are patients assigned to the facility (would become inaccessible if facility is deleted)
users assigned to only that facility

confirm if we're okay with them seeing the warning message that they don't have access to any facilities

see #5977 for notes on corner cases

blocked by #6115

should we support self-service undeleting of facilities? we didn't do much spike work around this and it's not a common support request (but does seem like it would be easy to add)

Expected behavior:
Patients in Testing Queue of Facility to be Deleted

If a SimpleReport user attempts to delete a facility that has active tests in the testing queue, a warning message should be displayed to inform the user that if the facility deletion is completed, the patient's test will be cancelled and removed from the queue.
The user may either cancel out of the deletion process to address the tests currently in the queue, or proceed with the deletion and confirm their acknowledgement that any tests currently in the queue will be deleted.

Patients Assigned to the Facility

A SimpleReport user may not delete a facility if there are patients still assigned to that facility.
If a SimpleReport user attempts to delete a facility that still has patients assigned to that facility, a warning message should be displayed informing the user that the patients in that facility must be reassigned to a different facility before the deletion process can proceed.

Open questions:

Can the system allow for bulk reassignment of patients to another facility with a single click?
If the organization has no other facilities, should the warning message inform the user that a new facility must be created before patients can be reassigned?

Users Assigned to Only the Facility Being Deleted

If a SimpleReport user was assigned to a facility that has been deleted (and is not assigned to any other facilities), they will still be able to log into SimpleReport, but they will lose access to all other SimpleReport functionality until they are assigned to a new facility by their organization administrator.
Upon login, SimpleReport should display a warning message to these users informing them that their assigned facility has been deleted, and they must contact their organization administrator to be reassigned to a different facility.
A SimpleReport user should not be able to delete their own facility if they are not assigned to any other facilities.

Open questions:

is there a way to make it easy for this user to reach out to their administrator? (provide email on screen, or one-click to contact via email)

@jayna-SkylightDigital to create a follow-up ticket with nice-to-haves from this comment
for now, we'll just do a warning modal (see updated acceptance criteria)


Pin dependencies versions to minors

Codecov Report

Merging #36 (a250f77) into main (75435b2) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          296       296
=========================================
  Hits           296       296

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

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

Continue to review full report at Codecov.

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


Support HPC worker nodes without outgoing network access

It's common for worker nodes not to have any outgoing network access. This will prevent Simvue from working. One way around this could be, assuming login nodes have outgoing internet access:

All the usual methods (init, log_metrics etc) write to a file rather than send anything
We provide a CLI tool which can be run on a login node. This long-running process can read the file(s) and send data to Simvue.

We would need a way to tell the Simvue class (soon to be Run class) what directory to use, and a way to tell the CLI process the same info. Maybe even .simvue.ini in the home directory, with an extra line specifying the buffer directory.
May need to deal with login nodes which are only able to run processes for a few minutes.

[ ] Decide on file format & directory structure to use for storing JSON to be sent to the server
[ ] Add offline mode to the Run class, e.g. run.init(offline=True)
[ ] Create CLI with --cron option to collect data from the offline directory and send to the server

This was done, late closure.


Fix unused braces warnings

Basically due to this function:
https://github.com/taiki-e/auto_enums/blob/f77fd83a2b2c1b694cdc23cad0d301a7402c12b7/core/src/utils.rs#L55-L57
brace_token of the block that passed to f should have call_site span.
If f generates unused braces containing the span of this.brace_token,
this will cause confusing warnings: https://github.com/rust-lang/rust/issues/71080

bors r+

Thanks!

Published 0.7.2 which includes this fix.


Deprecation Warning: not recognized RFC2822 or ISO format.

Issue
When using the DatePicker (even the example shown on the Github page) a warning is issue by Moment.js
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format.

The warning can be seen in the moment.js docs here:
http://momentjs.com/guides/#/warnings/js-date/
Expected Behavior
No warnings should appear when using the component
Environment

react-native -v: ^0.57.8
node -v: 10.14.2
npm -v: 6.4.1
target platform: Android | iOS
operating system: Windows

I ran into this issue as well. I believe it has to do with the fact that the format prop of datepicker mutates the date. The onDateChange then receives a string date that is not parsable by moment.
It would be nice if the format just displayed it in whatever format I wanted but didn't actually change the underlying date. That way when onDateChange is fired, the date is still in a consumable format.

I can suggest to use ISO format of result date.
I fixed my issues this way:
const format = "hh:MMM, DD MMMM, hh:mma" // crazy format

class DefaultTimePicker extends React.PureComponent {

  render() {
    const { selectedValue } = this.props

    let value = null
    if(selectedValue) value = moment(selectedValue).format(format)

    return (
      <DatePicker
        date={value}
        format={format}
        onDateChange={this.handleChange}
      />
    )
  }

  handleChange = value => {
    const isoValue = moment(value, format).toISOString()
    this.props.onValueChange(isoValue)
  }
}


Add Slack link to CONTRIBUTING.md

:v:

My logic when choosing to use the Community link was to follow the pattern of IRC which was linking to the community page for general suggestions to them since in my mind the point of those aren't to bring them to the actual places but rather to say here are the hubs / quickest response places in the official TWBS community, and then link them to the full community section which includes this link so they can choose what is best for their needs.

:+1:
Slack is now an 'official' help/communication channel, so it makes sense to give it a bit more prominence.


fix spelling issue in firmware message

just because this should not be in the final release ;)

Nice catch! Still up for review, which seems to have worked. Many thanks.


Update and/or add component print styles

What
We have 148 components across GOV.UK and 13 of them have print styles (see the component auditing for details). This PR updates the print styles for any public-facing components. The changes broadly fall into these categories:

hiding/removing components that should never be printed
improving components that already have print styles
creating print styles for components that don't already have them

Trello card
Why
People still print a lot of pages from GOV.UK. And recent discussions have highlighted potential problems, or at least a perception that HTML pages when printed aren't as good as PDFs. We're trying to move away from/discourage the use of PDFs on GOV.UK, so improving the print experience could help.
Visual Changes
There are too many differences to include all before/after shots here. Changes will be reviewed with a designer before deployment.

Due to the size of this PR, I'm going to remove the following 10 commits to their own PRs today (7/Aug/2024). FYI @andysellick. I'll make another comment when this has been completed.

inverse_header component print styles
step_by_step_nav_header component print styles
step_by_step_nav_related component print styles
govspeak attachment component print styles
govspeak button component print styles
govspeak highlight_answer component print styles
govspeak media_player component print styles
table component print styles
tabs component print styles
Remove dark backgrounds from inverted headings

The 12 commits listed above have now been moved over to their own PRs. @andysellick

@matthillco also can you add a CHANGELOG entry for this PR? Thanks.


change api schema

Adding additional fields into the API swagger specs

Codecov Report

Merging #309 into develop will increase coverage by 0.23%.
The diff coverage is 92.85%.

@@             Coverage Diff             @@
##           develop     #309      +/-   ##
===========================================
+ Coverage    83.12%   83.35%   +0.23%
===========================================
  Files           38       38
  Lines        17455    17889     +434
  Branches      1752     1783      +31
===========================================
+ Hits         14509    14912     +403
  Misses        2317     2317
- Partials       629      660      +31

Impacted Files
Coverage Δ

candig/server/datarepo.py
72.41% <ø> (ø)

candig/server/datamodel/clinical_metadata.py
90.92% <91.66%> (+0.06%)
:arrow_up:

candig/server/repo/models.py
99.83% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix cannot get ytInitialPlayerResponse data in Youtube membership stream

I found player_response got empty value in youtube membership stream. Replace old regex with a better regex.
https://github.com/xenova/chat-downloader/issues/145

Can confirm that the changes above works for the membership video in mine

Thanks for these changes! I will include them in the next version.
PS: Sorry for the late response, I've been quite busy with university.


Add in Pokemon HOME sprite map

https://projectpokemon.org/home/docs/spriteindex_148/home-sprites-gen-1-r128/

Will probably need a rework of the sprite system to support this, as it doesn't support this style of URL
https://github.com/guitaristtom/obspokemonhud/blob/2690df643abc738af5b37cf04cc8ce7fdf8df156/map_showdown.json
Example of Bulbasaur, shiny and then not shiny:
https://projectpokemon.org/images/sprites-models/homeimg/poke_capture_0001_000_mf_n_00000000_f_n.png
https://projectpokemon.org/images/sprites-models/homeimg/poke_capture_0001_000_mf_n_00000000_f_r.png

Maybe could utilize this instead? It is lower quality though...
https://pokemondb.net/sprites/bulbasaur


AT undo log 反序列化

What would you like to be added:
Why is this needed:

proto buffer  https://github.com/apache/incubator-seata-go/pull/691


enter-ing array getindex fails

julia> using Gallium
julia> A=rand(10);
julia> @enter A[1:4]
ERROR: BoundsError: attempt to access 0-element Array{Int64,1} at index [0]
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64
 in macro expansion at ./REPL.jl:95 [inlined]

I have seen this same error with other functions that call @generated functions as well.

This works in ASTInterpreter2, so I'll close this here. I'll pull in ASTInterpreter2 here in the near future (and remove the legacy Gallium bits).


WebClient.files.upload is broken

First Attempt (and Failure)
To start out, I figured I'd try using form-data to create the multipart form.
let slack = require('@slack/client');
let WebClient = slack.WebClient;

let web = new WebClient(process.env.SLACK_API_TOKEN);

let readFile = fs.createReadStream('some_file.png');
let form = new FormData();

form.append('file', readFile);

web.files.upload(form, null, null, readFile.path, null, null, '<INSERT_CHANNEL_HERE>');

So I ran that and got the following error:
Unhandled rejection SlackAPIError: invalid_array_arg
    at makeAPICallPromiseResolverInner (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/client.js:163:22)
    at handleHttpResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:103:5)
    at handleTransportResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:140:19)
    at wrapper (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.handleRequestTranportRes (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/request.js:20:5)
    at Request.wrapper [as _callback] (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.self.callback (/home/zrl/dev/mr-googly/node_modules/request/request.js:200:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:1046:10)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:973:12)
    at emitNone (events.js:85:20)
    at IncomingMessage.emit (events.js:179:7)
    at endReadableNT (_stream_readable.js:913:12)

The documentation says that invalid_array_arg means The method was passed a PHP-style array argument (e.g. with a name like foo[7]). These are never valid with the Slack API., but we're not explicitly passing in any sort of PHP-style array (or even an array at all).
I decided to look under the hood to see what was happening and found that the FormData stream object isn't being read as a stream at all. Instead, it's being serialized by the API client into a PHP-style form array, causing the error. Here's a screenshot of what the beginning of my RequestB.in looked like when testing this:

Second Attempt (and Failure)
Alright, so I decided to try manually serializing a file as a multipart/form-data string and then pass that in.
Having [object Object] as the file's body is invalid for PNG files, but it shouldn't prevent it from being uploaded. Uploading a PNG file with those contents manually works fine in Slack.
let slack = require('@slack/client');
let WebClient = slack.WebClient;

let web = new WebClient(process.env.SLACK_API_TOKEN);

let test = `--------------------------3552cad3b2d39974
Content-Disposition: form-data; name="file"; filename="file.png"

Content-Type: application/octet-stream

[object Object]

--------------------------3552cad3b2d39974--`;

web.files.upload(test, null, null, 'file.png', null, null, '<INSERT_CHANNEL_HERE>');

This time I got a different error:
Unhandled rejection SlackAPIError: no_file_data
    at makeAPICallPromiseResolverInner (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/client.js:163:22)
    at handleHttpResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:103:5)
    at handleTransportResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:140:19)
    at wrapper (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.handleRequestTranportRes (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/request.js:20:5)
    at Request.wrapper [as _callback] (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.self.callback (/home/zrl/dev/mr-googly/node_modules/request/request.js:200:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:1046:10)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:973:12)
    at emitNone (events.js:85:20)
    at IncomingMessage.emit (events.js:179:7)
    at endReadableNT (_stream_readable.js:913:12)

Third Attempt (and Failure)
As a last ditch effort, I tried passing in the contents of a file directly as a string (with no multipart/form-data wrapping).
let slack = require('@slack/client');
let WebClient = slack.WebClient;

let web = new WebClient(process.env.SLACK_API_TOKEN);

web.files.upload('test', null, null, 'text.txt', null, null, '<INSERT_CHANNEL_HERE>');

And got the same error:
Unhandled rejection SlackAPIError: no_file_data
    at makeAPICallPromiseResolverInner (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/client.js:163:22)
    at handleHttpResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:103:5)
    at handleTransportResponse (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/call-transport.js:140:19)
    at wrapper (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.handleRequestTranportRes (/home/zrl/dev/mr-googly/node_modules/@slack/client/lib/clients/transports/request.js:20:5)
    at Request.wrapper [as _callback] (/home/zrl/dev/mr-googly/node_modules/lodash/index.js:3592:19)
    at Request.self.callback (/home/zrl/dev/mr-googly/node_modules/request/request.js:200:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:1046:10)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/home/zrl/dev/mr-googly/node_modules/request/request.js:973:12)
    at emitNone (events.js:85:20)
    at IncomingMessage.emit (events.js:179:7)
    at endReadableNT (_stream_readable.js:913:12)

Attempt at Figuring Out the Problem
I checked out the request made by the API tester on https://api.slack.com/methods/files.upload/test and it looks like all of the arguments besides the file are passed through the URL (like https://slack.com/api/files.upload?token=xxx&channels=xxx), while the file is submitted as a multipart form as the POST body.
There are currently two issues with the way the API client handles files.upload:

The API client doesn't even submit the request as a multipart form. The Content-Type sent is application/x-www-form-urlencoded (and the contents of the request match that).
The API client doesn't allow streams to be passed in for files.upload, making it very difficult to upload any sort of real file.

By convention in the API we use opts style arguments for any optional argument to the API call, so you can do a file upload like:
var opts = {
  content: fs.readFileSync(filePath)
};

web.files.upload('api_test.csv', opts, function(err, res) {
  console.log(res);
});

The full arguments the opts arg takes are:
 * @param {Object=} opts
 * @param {?} opts.file - File contents via `multipart/form-data`. If omitting this parameter, you
 *   must submit `content`.
 * @param {?} opts.content - File contents via a POST variable. If omitting this parameter, you
 *   must provide a `file`.
 * @param {?} opts.filetype - A [file type](/types/file#file_types) identifier.
 * @param {?} opts.title - Title of file.
 * @param {?} opts.initial_comment - Initial comment to add to file.
 * @param {?} opts.channels - Comma-separated list of channel names or IDs where the file will be
 *   shared.

NOTE: the above was written with the 3.0.0 version of the client, it's the same basic principle for 2.3.0, but I haven't looked at the old JSDoc there.

I'll add an example to the README of how to do a file upload in a sec and close this issue once I have.

You guys broke this API, upgraded from 2.3.0 and my files uploading just stopped working.
If anybody experiences you can downgrade to 2.3.0 version, files uploading works there.


page title shows html

minor bug

I can not reproduce this behaviour here (Firefox), but I added a title tag with useful content to the default theme, so your browser should not need to guess a title.


MailCore/MailCore.h file not found

After cloning the project, i am getting the issue "MailCore/MailCore.h file not found".

please check the attached file.

Submodule 'Vendor/apptentive-ios' (git@github.com:apptentive/apptentive-ios.git) registered for path 'Vendor/apptentive-ios'
Submodule 'Vendor/mailcore2' (git@github.com:MailCore/mailcore2.git) registered for path 'Vendor/mailcore2'
Cloning into 'Vendor/apptentive-ios'...
Permission denied (publickey).
fatal: Could not read from remote repository.


Don't use shouty-caps in issue templates

I'm having some buyer's remorse now that we're seeing these in issues -- I'd rather be looking at more lower-casing in the issues list.
Thoughts? :)

@maniarathi @atolopko-czi ping 🙏 -- accept, reject, request for revisions -- ?

Codecov Report
Base: 79.85% // Head: 90.74% // Increases project coverage by +10.88% :tada:

Coverage data is based on head (256b4ac) compared to base (a9e3031).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #894       +/-   ##
===========================================
+ Coverage   79.85%   90.74%   +10.88%
===========================================
  Files          72       30       -42
  Lines        3704     2021     -1683
===========================================
- Hits         2958     1834     -1124
+ Misses        746      187      -559

Flag
Coverage Δ

python
90.74% <ø> (-0.05%)
:arrow_down:

r
?

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

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/tdb_handles.py
93.19% <0.00%> (-0.69%)
:arrow_down:

R/TileDBGroup.R

inst/tiledb/include/tiledb/query.h

src/rinterface.cpp

src/include/span/span.hpp

inst/tiledb/include/tiledb/schema_base.h

src/include/tiledbsoma/array_buffers.h

R/utils-tiledb.R

inst/tiledb/include/tiledb/attribute.h

inst/tiledb/include/tiledb/utils.h

... and 33 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


bug: API bug?

[Edit by @SyntaxColoring: This ticket is mirrored internally as Jira RSS-205.]
Overview
I'm trying to aspirate using the HTTP API, but get an error UnexpectedProtocolError: Cannot aspirate more than pipette max volume. A p20 pipette is successfully loaded, and the aspiration is 5.0 uL, so this error is unexpected.
Steps to reproduce
The issue is described in more detail in https://github.com/PyLabRobot/pylabrobot/issues/23.
Specifically, see the following mitmproxy dump: data_20_03_2023.zip
Current behavior
No response
Expected behavior
No response
Operating system
None
System and robot setup or anything else?
No response

Thanks for reporting this. This seems strange. We'll look into this and update here when we have more information.

Turn out to be an issue in an external library. Thanks again for the help!


refactor: Print Statements

Resolves #780

@Erengun Thanks for your contribution. However, with my work on migrating the plugin to the platform interface (which is still pending a small bugfix), I think we will no longer need this PR, as I have cleaned up the print statement usage there.

This is no longer needed, in #916 we removed all print statements (except 2 for logging of issues with the image buffer on MacOS)


make overnight suspension took in wrong object type

this is talking about this job
josh's plate (item: 99605), which had an object type of "E coli plate of Plasmid," was used as an input for this job, even though it shouldn't have been because it's the wrong object type. there was an overnight suspension created from this plate (but no steps were shown on screen because the steps only show up if the input is a glycerol stock or a checked e coli plate of plasmid, due to the way i wrote the protocol).
this issue likely originated from "Check Plate"--josh's plate was imaged multiple times, which (i think) messed with the way the protocol changed the object type of the plate from "E coli plate of Plasmid" to "Check E coli plate of Plasmid" (though i'm not exactly sure why or how). compare josh's plate to arjun's (item: 99450), which also went through "Check Plate" but came out the other side with the correct object type (checked e coli plate of plasmid). arjun and josh's jobs were batched together for the overnight suspension, but arjun's errored out (correctly; this was an issue quickly fixed inside the overnight suspension protocol) and josh's didn't, which makes me think that the "Check Plate" protocol and "Make Overnight Suspension" protocols are working at least somewhat correctly, but, somehow, josh's plate slipped through when it shouldn't have.
For reference:
the "check plate" job for josh's plate
the "check plate" job for arjun's plate
josh's plan number: 44
arjun's plan number: 354

This appears to be a protocol issue, and I'm closing it.


response.stream doesn't do what it says on the tin.

The following example doesn't work as expected, in Chrome. I would have expected it to first return "foo" and then return "bar" to the client, some time later, but in my tests, it doesn't. Instead, in Chrome, it just returns the whole response at once.
On the other hand, curl -N localhost:8000 does do the right thing...
from sanic import Sanic
from sanic.response import stream
import asyncio

app = Sanic(__name__)

@app.route("/")
async def test(request):
    async def sample_streaming_fn(response):
        response.write('foo\n')
        await asyncio.sleep(1)
        response.write('bar')
    return stream(sample_streaming_fn)

if __name__ == "__main__":
    app.run(host="<IP_ADDRESS>", port=8000)

Other things I tried:

disable keep alive: from sanic.config import Config; Config.KEEP_ALIVE = False
headers={'Transfer-Encoding':'chunked'}

Chrome is apparently capable of remote code optimization/JITing. So that's how they have load times that fast 🤔

@savvopoulos
Does chrome show both 'foo' and 'bar' instantaneously, or both after one second?
I believe you are seeing the behaviour described in this StackOverflow question:
https://stackoverflow.com/questions/35073009/disabling-chrome-buffering-when-streaming-text-data
Chrome has a 1024 byte response buffer. It tries to fill this buffer from the stream, before displaying the content. From the answer on that site, it appears that if you change your response type from text/plain to application/octet-stream, it will cause chrome to bypass the buffer and will stream the response directly to the page.

things I tried:

disable keep alive: from sanic.config import Config; Config.KEEP_ALIVE = False
headers={'Transfer-Encoding':'chunked'}

A streaming response should already set the "Transfer-Encoding":"chunked" header automatically for you.

Does chrome show both 'foo' and 'bar' instantaneously, or both after one second?
Both after one second.

https://stackoverflow.com/questions/35073009/disabling-chrome-buffering-when-streaming-text-data
I did try to find out why Chrome does this but couldn't. So thank you for posting this!


[Automatic report] Invalid command-line arguments

Report from NightOS.

Cause: Launcher
Title: Invalid command-line arguments
Message: Invalid argument >>> Start <<< ; command-line flags must start by "--".

Additionnal informations
{
  "uptime": 10648,
  "loadtime": false,
  "host": "linux",
  "arch": "x64",
  "pkg_version": "<Unable to read the system's version (Fs error: ENOENT: no such file or directory, open '/media/devf/DATA/electron/night_os/NightOS/userland/package.json')>"
}

it's a app scrash!!!!!!!!!!!!


vscode能不能增加一个新建项目的选项

VSCode Version:
OS Version:

Steps to Reproduce:

Reproduces without extensions: Yes/No

VS Code uses folders to define projects. Can you please example this issue more? An example of the desired behavior would help

Closing as not actionable without additional information


room-join cannot get member

room-join event cannot get member when the event is emitted.
.on('room-join', async function(room, inviteeList, inviter) {
  log.info( 'Bot', 'EVENT: room-join - Room %s got new member %s, invited by %s',
            await room.topic(),
            inviteeList.map(c => c.name()).join(','),
            inviter.name(),
          )
  const topic = await room.topic()
  room.say(`welcome to ${topic}!`, inviteeList[0])
})

Expect
20:10:04 INFO Bot EVENT: room-join - Room 线上机器人_3 got new member 李佳芮 , invited by 苏轼
Actual
20:10:04 INFO Bot EVENT: room-join - Room 线上机器人_3 got new member , invited by 苏轼
20:09:55 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(ws.on(message))
20:09:55 SILL PuppetPadchat startWatchdog() bridge.on(heartbeat)
20:09:55 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=ws.on(message)})
20:09:56 VERB PuppetPadchat onPadchatMessage({id=2282760660631983436, type=StatusNotify(5)})
rawPayload: { content:
   '<msg>\n<op id=\'2\'>\n<username>4174082170@chatroom</username>\n</op>\n</msg>',
  continue: 1,
  description: '',
  from_user: 'wxid_zj2cahpwzgie12',
  msg_id: '2282760660631983436',
  msg_source: '',
  msg_type: 5,
  status: 1,
  sub_type: 51,
  timestamp:<PHONE_NUMBER>,
  to_user: '4174082170@chatroom',
  uin: 324216852 }
20:09:56 VERB Message static create(2282760660631983436)
20:09:56 SILL Accessory #24<Message> constructor()
20:09:56 VERB Message constructor(2282760660631983436) for class Message
20:09:56 VERB Message ready()
20:09:56 SILL Puppet messagePayloadCache(2282760660631983436) cache MISS
20:09:56 VERB Puppet messagePayload(id=2282760660631983436, noCache=false)
20:09:56 SILL Puppet messagePayloadCache(2282760660631983436) cache MISS
20:09:56 VERB PuppetPadChat messageRawPayloadParser({msg_id="2282760660631983436"})
20:09:56 SILL PuppetPadchat messagePayload({"id":"2282760660631983436","timestamp":1528891795,"text":"<msg>\n<op id='2'>\n<username>4174082170@chatroom</username>\n</op>\n</msg>","type":0,"fromId":"wxid_zj2cahpwzgie12","roomId":"4174082170@chatroom"})
20:09:56 SILL Puppet messagePayload(2282760660631983436) cache SET
20:09:56 SILL Contact ready() @ PuppetPadchat<default>
20:09:56 SILL Contact ready() isReady() true
20:09:56 VERB Room ready()
20:09:56 VERB Room topic()
20:09:56 SILL Contact alias()
[线上机器人_3]<苏轼>:Message#Unknown(Room<线上机器人_3>▲Contact<苏轼>►)<<msg>
<op id='2'>
<username>4174082170@chatroom</username>
</op>
</msg>
20:09:56 VERB Puppet selfId()
20:09:58 SILL PuppetPadchatManager syncRoomMember(8415007221@chatroom)
20:09:58 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["8415007221@chatroom"])
20:09:58 VERB PuppetPadchatManager startQueues() delayQueueExecutor.subscribe(syncRoomMember(8415007221@chatroom)) executed
20:09:59 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000001,"count":3,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/Y9W8tLiasksdThST5JCJpsfhZDhxNFVrQfdTlicudK1T7g1Y93icScbEIlGRfWZH6I7pyyfC9ECF8tw70Q4sLVTLA/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"wxid_zj2cahpwzgie12\",\"nick_name\":\"梦君君\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/Y9W8tLiasksdThST5JCJpsfhZDhxNFVrQfdTlicudK1T7g1Y93icScbEIlGRfWZH6I7pyyfC9ECF8tw70Q4sLVTLA/132\",\"user_name\":\"mengjunjun001\"},{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver
20:09:59 SILL PuppetPadchatManager syncRoomMember(8415007221@chatroom) total 6 members
20:10:04 VERB PuppetPadchat onPadchatMessage({id=5703673574348750197, type=Recalled(5)})
rawPayload: { content:
   '4174082170@chatroom:\n<sysmsg type="delchatroommember">\n\t<delchatroommember>\n\t\t<plain><![CDATA[你邀请"李佳芮"加入了群聊  ]]></plain>\n\t\t<text><![CDATA[你邀请"李佳芮"加入了群聊  ]]></text>\n\t\t<link>\n\t\t\t<scene>invite</scene>\n\t\t\t<text><![CDATA[  撤销]]></text>\n\t\t\t<memberlist>\n\t\t\t\t<username><![CDATA[qq512436430]]></username>\n\t\t\t</memberlist>\n\t\t</link>\n\t</delchatroommember>\n</sysmsg>\n',
  continue: 1,
  description: '',
  from_user: '4174082170@chatroom',
  msg_id: '5703673574348750197',
  msg_source: '',
  msg_type: 5,
  status: 1,
  sub_type: 10002,
  timestamp:<PHONE_NUMBER>,
  to_user: 'wxid_zj2cahpwzgie12',
  uin: 324216852 }
20:10:04 VERB PuppetPadchat onPadchatMessageRoomEvent({id=undefined})
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, "李佳芮")
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"name":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet contactSearch(query={"name":"李佳芮"}, idList.length = 2)
20:10:04 VERB Puppet contactQueryFilterFactory({"name":"李佳芮"})
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"contactAlias":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 ERR Config ###########################
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet contactSearch(query={"alias":"李佳芮"}, idList.length = 2)
20:10:04 VERB Puppet contactQueryFilterFactory({"alias":"李佳芮"})
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"roomAlias":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, undefined)
20:10:04 VERB Room ready()
20:10:04 SILL Contact ready() @ PuppetPadchat<default>
20:10:04 SILL Contact ready() isReady() true
20:10:04 VERB Room topic()
20:10:04 INFO Bot EVENT: room-join - Room 线上机器人_3 got new member , invited by 苏轼
20:10:04 VERB Room topic()
20:10:04 VERB Room say(welcome to 线上机器人_3!, )
20:10:04 ERR Config unhandledRejection: TypeError: Cannot read property 'id' of undefined [object Promise]
20:10:04 ERR Config ###########################
20:10:04 ERR Config process.on(unhandledRejection) promise.catch(Cannot read property 'id' of undefined)
Config TypeError: Cannot read property 'id' of undefined
    at AnotherOriginalClass.<anonymous> (/Users/egg/git/rui/wechaty/src/room.ts:321:35)
    at Generator.next (<anonymous>)
    at /Users/egg/git/rui/wechaty/src/room.ts:27:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/egg/git/rui/wechaty/src/room.ts:23:12)
    at AnotherOriginalClass.say (/Users/egg/git/rui/wechaty/src/room.ts:254:16)
    at Wechaty.<anonymous> (/Users/egg/git/rui/wechaty/examples/room-bot.ts:131:8)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/egg/git/rui/wechaty/examples/room-bot.ts:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:18399) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 2)

20:10:04 VERB PuppetPadchat onPadchatMessage({id=5703673574348750197, type=Recalled(5)})
rawPayload: { content:
   '4174082170@chatroom:\n<sysmsg type="delchatroommember">\n\t<delchatroommember>\n\t\t<plain><![CDATA[你邀请"李佳芮"加入了群聊  ]]></plain>\n\t\t<text><![CDATA[你邀请"李佳芮"加入了群聊  ]]></text>\n\t\t<link>\n\t\t\t<scene>invite</scene>\n\t\t\t<text><![CDATA[  撤销]]></text>\n\t\t\t<memberlist>\n\t\t\t\t<username><![CDATA[qq512436430]]></username>\n\t\t\t</memberlist>\n\t\t</link>\n\t</delchatroommember>\n</sysmsg>\n',
  continue: 1,
  description: '',
  from_user: '4174082170@chatroom',
  msg_id: '5703673574348750197',
  msg_source: '',
  msg_type: 5,
  status: 1,
  sub_type: 10002,
  timestamp:<PHONE_NUMBER>,
  to_user: 'wxid_zj2cahpwzgie12',
  uin: 324216852 }
20:10:04 VERB PuppetPadchat onPadchatMessageRoomEvent({id=undefined})
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, "李佳芮")
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"name":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet contactSearch(query={"name":"李佳芮"}, idList.length = 2)
20:10:04 VERB Puppet contactQueryFilterFactory({"name":"李佳芮"})
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"contactAlias":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet contactSearch(query={"alias":"李佳芮"}, idList.length = 2)
20:10:04 VERB Puppet contactQueryFilterFactory({"alias":"李佳芮"})
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, {"roomAlias":"李佳芮"})
20:10:04 VERB PuppetPadchat roomMemberList(4174082170@chatroom)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170)
20:10:04 VERB PuppetPadchatManager getRoomMemberIdList(4174082170) length=2
20:10:04 SILL PuppetPadchat roomMemberList()=2
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberPayload(roomId=4174082170@chatroom, contactId=wxid_lredtm37y7rc22 noCache=false)
20:10:04 SILL Puppet roomMemberPayloadCache(id=4174082170@chatroom) @ PuppetPadchat<default>
20:10:04 VERB Puppet roomMemberSearch(4174082170@chatroom, undefined)
20:10:04 VERB Room ready()
20:10:04 SILL Contact ready() @ PuppetPadchat<default>
20:10:04 SILL Contact ready() isReady() true
20:10:04 VERB Room topic()
20:10:04 INFO Bot EVENT: room-join - Room 线上机器人_3 got new member , invited by 苏轼
20:10:04 VERB Room topic()
20:10:04 VERB Room say(welcome to 线上机器人_3!, )
20:10:04 ERR Config ###########################
20:10:04 ERR Config unhandledRejection: TypeError: Cannot read property 'id' of undefined [object Promise]
20:10:04 ERR Config ###########################
20:10:04 ERR Config process.on(unhandledRejection) promise.catch(Cannot read property 'id' of undefined)
Config TypeError: Cannot read property 'id' of undefined
    at AnotherOriginalClass.<anonymous> (/Users/egg/git/rui/wechaty/src/room.ts:321:35)
    at Generator.next (<anonymous>)
    at /Users/egg/git/rui/wechaty/src/room.ts:27:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/egg/git/rui/wechaty/src/room.ts:23:12)
    at AnotherOriginalClass.say (/Users/egg/git/rui/wechaty/src/room.ts:254:16)
    at Wechaty.<anonymous> (/Users/egg/git/rui/wechaty/examples/room-bot.ts:131:8)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/egg/git/rui/wechaty/examples/room-bot.ts:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:18399) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)

This issue should have been fixed by the last commit.

fix this, but a new bug: #1330


Support ARM64 platform in XGBoost examples

Currently, we support only the AMD64 platform in all XGBoost examples.
However, some users use ARM64 machines such as Macbooks. So, supporting the ARM64 platform allows users to try the training-operator examples on their machines easily.
Contributors should support the following examples by adding the platform parameters here: https://github.com/kubeflow/training-operator/blob/e31d11faa9f6ce5111b60c01079d39295589e0ef/.github/workflows/publish-example-images.yaml#L24

[ ] examples/xgboost/xgboost-dist/Dockerfile
[ ] examples/xgboost/lightgbm-dist/Dockerfile
[ ] examples/xgboost/smoke-dist/Dockerfile

/good-first-issue

/assign


Clipskip option

One of the options that I have missed the most when running SD

Hi, I've just added a new feature called 'clip skip.' Currently, you can use it to skip to the second-to-last layer


chore: release master

:robot: I have created a release beep boop
charts/ton-grpc: 0.1.1
0.1.1 (2023-09-21)
Bug Fixes

update helm charts repos (25022ab)

charts/tvm-grpc: 0.1.1
0.1.1 (2023-09-21)
Bug Fixes

update helm charts repos (25022ab)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/getgems-io/tonlibjson/releases/tag/charts/ton-grpc-v0.1.1 :sunflower:

:robot: Release is at https://github.com/getgems-io/tonlibjson/releases/tag/charts/tvm-grpc-v0.1.1 :sunflower:


Feature/checkbox group design system

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (a44747f) to head (27708bf).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.0.0      #605   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 85        85
  Lines               1495      1499    +4
  Branches             525       525
===============================================
+ Hits                1495      1499    +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@jgonza16 remember to rebase first :)


Added extended rights to 'find' command. Smaller changes to has_vulne…

Noticed there were false positive instances of ESC1, showing enrollment rights for users that were not able to enroll in those templates.
Looking at the ACEs it turned out the the 'Enroll' permission was indeed assigned to the principal, but the ACTIVE_DIRECTORY_RIGHTS.EXTENDED_RIGHT was not, which prevented enrollment.
Certify has the same permission check implemented here.
While adjusting the code I also changed the "write permissions" view to show which specific write permissions a principal has, but only report the write permission as ESC4 if the entire template can be modified.

I have verified that this indeed does fix ESC1 false-positive in my current target.


Measurable Ratings: Include retired apps on measurable page

Currently we only show active apps on the measurable page, but we should include retired apps too.
Sometimes retired apps are intentionally mapped to a measurable.

This could perhaps be tackled via the new filter function that gives us a partial implementation of faceted  searching.   (Kam added it in 1.16).
Non-trivial as a lot of the sections will need to be aware they may be showing 'dead' data.