usb: allow hardware to handle ZLP for Variable-length Data Stage

Allow hardware to handle ZLP for Variable-length Data Stage.
On nRF52840, USB hardware and driver handle the status stage. When it comes to Variable-length Data Stage nRF52 hardware finishes a transmission with ZLP.
How to test:
Apply the patch below:
diff --git a/subsys/usb/class/loopback.c b/subsys/usb/class/loopback.c
index 66e2aaf0b8..49f37709f1 100644
--- a/subsys/usb/class/loopback.c
+++ b/subsys/usb/class/loopback.c
@@ -144,6 +144,9 @@ static int loopback_vendor_handler(struct usb_setup_packet *setup,
            (setup->bRequest == 0x5c)) {
                LOG_DBG("Device-to-Host, wLength %d, data %p",
                        setup->wLength, *data);
+               if (setup->wLength == 1024) {
+                       *len = 512;
+               }
                return 0;
        }

Perform TEST14: e.g. testusb -v 1 -t 14 -c 1000 -D /dev/bus/usb/005/056
on the current master nRF52840 device will not able to transmit on the control IN endpoint after first 512 bytes. With this patch, testusb reports Broken pipe but device remains full functional.
Alternatively, cdc_acm_composite sample can be used as it has a string descriptor exact 64 bytes long.
rebased on #19321

@emob-nordic @carlescufi
This ZLP issue can be reproduced with cdc_acm_composite sample (patch 52f040c4e8a6b68be4cb1bf0e098087003cbaffb is necessary because of request length check issue). The logs should look something like this:
��***** Booting Zephyr OS build zephyr-v2.0.0-633-g52f040c4e8a6 *****
[00:00:00.005,157]  cdc_acm_composite: Wait for DTR
[00:00:00.009,185]  usb_cdc_acm: USB device suspended
[00:00:00.009,216]  usb_cdc_acm: USB device suspended
[00:00:00.149,291]  usb_cdc_acm: USB device resumed
[00:00:00.149,322]  usb_cdc_acm: USB device resumed
[00:00:00.220,489]  usb_cdc_acm: USB device suspended
[00:00:00.220,489]  usb_cdc_acm: USB device suspended
[00:00:00.389,251]  usb_cdc_acm: USB device resumed
[00:00:00.389,251]  usb_cdc_acm: USB device resumed
[00:00:00.705,810]  usb_nrfx: Unexpected event (nrfx_usbd): 3, ep 0x80
[00:00:31.317,871]  usb_cdc_acm: USB device configured
[00:00:31.317,871]  usb_cdc_acm: USB device configured


Custom persister without write (only for read from DB)

mEventStore = StoreBuilder.<Long, Event>key()
                .fetcher(eventId -> {
                    LOGD(TAG, "Fetch event " + eventId);
                    return restClient.getEventRepository().get(eventId);
                })
                .persister(new Persister<Event, Long>() {
                    @Nonnull
                    @Override
                    public Observable<Event> read(@Nonnull Long eventId) {
                        LOGD(TAG, "Read event " + eventId);
                        Event event = DatabaseHelper.getEvent(eventId);
                        return event != null ? Observable.just(event) : Observable.empty();
                    }

                    @Nonnull
                    @Override
                    public Observable<Boolean> write(@Nonnull Long eventId, @Nonnull Event event) {
                        LOGD(TAG, "Write event " + eventId);
                        // No operations
                        return Observable.just(true);
                    }
                })
                .open();

Problem: when Event stored in my DB its worked, but if no - I want just fetch from rest or memory. How to achieve this?
Logs:
Read event 2644
Fetch event 2644
Write event 2644
Read event 2644
nothing to return...

What I need:
Read event 2644
Fetch event 2644
return fetched event and store in memory (not in DB)

I'm not sure what you are asking. If you don't want it to ever return something from persister then don't have a Persister or don't save within your persister.

@digitalbuddha I want to return from DB if exist (and cache in memory), otherwise fetch from rest (and cache in memory)

Possible solution
 mEventStore = StoreBuilder.<Long, Event>key()
                .fetcher(eventId -> {
                    Event event = DatabaseHelper.getEvent(eventId);
                    return event == null ? restClient.getEventRepository().get(eventId) : Observable.just(event);
                })
                .open();

yup your solution works.  You can use your fetcher to first check our DB and then go to your network.


Fix issues with certificate based auth

This PR fixes two different bugs: a missing import and a tempfile issue. The existence of both of these bugs actually prevents using kubeconfig files containing certificates.

CLA updated.

This change is also included in #39.

@drubin also cc: @brendandburns

/lgtm
/approve


RPC example

Hi mate,
thank you for you great library, it's a rocks! I have spend  a lot of time to try implement RPC Call between two web service in the cloud but without success. I don't understand as implement it. Have you an example, please?
Thank you, have a nice day.

Hi @matte0080,
Sorry, I don't have any RPC examples, however amqplib does have one. Here's the client and here's the server. For the avoidance of doubt, amqplib (and therefore rascal) won't run in the browser, so this is only useful for server->server calls.
If you haven't found it already the RabbitMQ tutorial does cover RPC too.
Hope that helps.


FairMOT training

Description

Refactor TrackingDataset to only require a data_root path that contains the images and annotations subfolders
Debug the TrackingLearner fit() method and include a fully functional but abbreviated 01_training notebook that runs through dataset initialization, model initialization, and training
Cleanup the opts()

Related Issues

Checklist:

[ ] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[ ] I have updated the documentation accordingly.
[ ] This PR is being made to staging and not master
[ ] I will squash merge this PR into staging

@caseyhong Looks good. This PR is nearly ready to go to staging.


[BUG] Array push of multiple elements followed by pop does not append to the array

Describe the bug
When you push multiple elements to an array and then pop a subset of them, none of the elements are pushed correctly.
Likewise, for unshifting multiple elements and shifting one of them.
Sample input
interface NumberArrayState {
    arr: number[]
}
const reducer = redcr((state: NumberArrayState) => {
    state.arr.push(4, 5);
    state.arr.pop();
});

Current output
Specify which ES version you're targeting: ES2020
const reducer = (state) => {
    state = {
        ...state,
        arr: [...state.arr.slice(0, state.arr.length - 1)]
    };
    return state;
};

Output after the fix:
const reducer = (state) => {
    state = {
        ...state,
        arr: [...state.arr, 4]
    };
    return state;
};


MeshDataTool incorrectly importing mesh and adding vertices

Godot version
v4.0.alpha.custom_build [e0f6a22fd]
System information
Ubuntu 21.10, Ryzen 5 2600, GTX 1060 6GB
Issue description
Attempting to import a mesh into MeshDataTool causes it to seemingly add vertices that weren't originally in the mesh.
Expected to show a vertex count of 24, like that seen in previous versions. Instead it is shown to be 36 vertices in 4.0.
Steps to reproduce
1. Run Report.zip in 4.0 (or Report 3.4.zip in 3.4)
2. Play scene "Spatial.tscn"
3. Read console output "Reported vertex count: 36" (or "Reported vertex count: 24" if using 3.x)
Minimal reproduction project
Report.zip for 4.0
(Tested on v4.0.alpha.custom_build [e0f6a22fd])
Converted to 4.0
Report 3.4.zip for 3.x
(Tested on v3.4.4.rc.custom_build [6b4d7d20a] & v3.4.stable.official [206ba70f4])
Showing the expected result

Seems fixed in 4.0-stable and 4.1-beta3 (reports 24).


add support for new VM Extension for SAP

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

VM Extension

VM Extension

@qwordy thank you for approving the PR. Before merging, I would like to look into why the tests are failing.

@qwordy thank you for approving the PR. Before merging, I would like to look into why the tests are failing.

@qwordy ready for merge now. Thank you

@qwordy ready for merge now. Thank you


Mobile friendly user section

When a user wants to register their mobile and login to the user section it's not yet optimized for mobile devices.

Will be resolved in 1.0


Optimize update by sending only changed pages

Keep track of the bounding box of changed pixels. First .display() call will send all pixels, all subsequent .display() calls will only send pixels changed during calls to .image().
For most display operations this significantly increases the frame rate (on I2C at least) by reducing the number of bytes that need to be transmitted.
A new optional parameter .display(force=True) can be used to force full transmission of all pixels.
Limitations:

I2C updates send everything in multiples of 16 bytes. To ensure that an integer multiple of 16 bytes is sent, the bounding box column addresses are rounded up and down to be divisible by 16. This is theoretically not necessary for SPI operation, and may be optimized further.
SPI operation has not been tested

There is not actualy a restriction that I can find on sending 16 bytes at a time.
See this PR where I send the entire screen's data in one shot: https://github.com/adafruit/Adafruit_Python_SSD1306/pull/25

hiya, this library is being deprecated - we have a similar library that works with Python3 and modern linux computers. please check out this guide for more info
https://learn.adafruit.com/monochrome-oled-breakouts/python-wiring
we now blast the whole display at once, which is plenty fast :)
https://github.com/adafruit/Adafruit_CircuitPython_SSD1306/blob/master/adafruit_ssd1306.py#L205


Static pages

All super basic, but it proves it'll work, and gets things initialized. makes it easier to see heroku content too.

:+1:  Awesome


[Admin]Create Admin Chat Command handler with permissions

need this before #25

in commit #9a26429672dc42afd306e3d6cae353d8d99aee0b


[Snyk] Security upgrade bulma from 1.0.0 to 1.0.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

768/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Uncontrolled resource consumption SNYK-JS-BRACES-6838727
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: bulma
    The new version differs by 38 commits.

43b879d Build 1.0.1
0c3d845 Fix #3786
bb05184 Fix select arrow color
615e58c Fix homepage
f28e758 fix github link
2f3c280 Update responsiveness.html link
53f62f4 Fix #3809
96597e6 Update concepts.html
81a4753 Fix #3760
07b6f9e Fix #3759
6da946f Fix #3747
f062fa3 Fix #3744: build non-minified versions
e9a4aac Fix #3736
a151ff6 Update changelog
7786dd0 Fix #3737
7aec58a Fix #3755
72e99d1 Update links.json
f1fe176 Update to Font Awesome 6
fb1dc09 Fix #3785
a38cd56 Update navbar.html
d2687d4 Fix #3729
af09747 Fix #3735
0f694f9 Switch to Font Awesome 5
f09a0ec Correct Responsiveness page title

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Uncontrolled resource consumption

Build log
Preview build with this PR (78ef34bacd7a0731c84eef41f1b719f4a6d71253)

more info:cloud: Storage Free space   4.92 GiB    32.77%:open_file_folder: 0 B    CI_WORK/GitHubActions/roki-web


Rendering problem of TextInput in React Native with secureTextEntry set to true

This problem is about usage of redux-form in React Native. Please refer to below gif for detail:

The old password field is a <TextInput onChangeText={input.onChange} value={input.value} secureTextEntry /> wrapped in redux-form's Field while new password field is just <TextInput secureTextEntry />. Upon typing in old password, the last character is ciphered into * immediately; However, in new password, the last character is ciphered with 1-2 seconds delay.
Is it some rendering problem of Field?

Seems to me that it's a react-native's issue and has nothing to do with redux-form

UITextInput on secureTextEntry will wipe written values as according to here : https://stackoverflow.com/questions/7305538/uitextfield-with-secure-entry-always-getting-cleared-before-editing. Was looking at the same problem too.


Nested empty - waiting for typescript merge

fixed https://github.com/spence-s/human-object-diff/issues/10

closed because of too many conflicts and reopen as https://github.com/spence-s/human-object-diff/pull/23


Timed command in Netopeer2-cli

We executed "timed on" and after that on executing edit-config we get the following out put :

edit-config --target running --config=/root/srv6_policy_config.xml
OK
mono  0m1,011s

What is the meaning of the string mono  0m1,011s? If some one can explain?

HI,
since it is in the same format as time(1) I was hoping ti would be obvious to everyone. Anyway, it means that your RPC took 0 minutes and 1,011 seconds.
Regards,
Michal

1011 seconds?..but how is that possible it takes around 1 seconds to execute. Am i miss understanding something? Does it mean the command is taking 1011 miliseconds?
Get Outlook for Androidhttps://aka.ms/ghei36

From: Michal Vasko<EMAIL_ADDRESS>Sent: Friday, April 3, 2020 1:30:41 PM
To: CESNET/Netopeer2<EMAIL_ADDRESS>Cc: Chinmaya Aggarwal<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [CESNET/Netopeer2] Timed command in Netopeer2-cli (#583)
CAUTION:This email originated from an external organization
HI,
since it is in the same format as time(1) I was hoping ti would be obvious to everyone. Anyway, it means that your RPC took 0 minutes and 1,011 seconds.
Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCESNET%2FNetopeer2%2Fissues%2F583%23issuecomment-608289849&data=02|01||092cb26452db4e86800308d7d7a51bf7|a65543b9ae9349b580f00b85821adc50|1|0|637214976445225240&sdata=Fhjltg1aDttpH0TMRiUqZ3m5oNTDf0E%2BKv%2FrhZ8C%2BRw%3D&reserved=0, or unsubscribehttps://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMWH5LAIOZBBKMSDRYBQBXTRKWJSTANCNFSM4L3SPRAQ&data=02|01||092cb26452db4e86800308d7d7a51bf7|a65543b9ae9349b580f00b85821adc50|1|0|637214976445235238&sdata=etI1jnQ8qJPtmFK8DtUkLdQcvwaBEtSqLFhdB%2FSxe1I%3D&reserved=0.
DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.

Okay, I would never think this may be a problem, but I have changed , to . because I suppose it is used more. I hope you will understand it now.
Regards,
Michal


can't login to Exceptionless

Whatever I do I can't login - Reset password does send me a link and upon following that it's always error out . Like someone advise here to wait and see if the account has been locked , but unfortunately that's not the case either . Any help please ?

Hello,
Is your api server running? Open your browsers network request tab and see what api calls are failing. What is the response code?

I get this error message
{Message: "Invalid Password Reset Token."}
Message
:
"Invalid Password Reset Token."

Yes the API server is up and running as I have other teammates who are able to login .

I'd request a new password token and look at the server logs as it will tell you more information.

Did this fix it?


add 11 [skip ci]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>

build

build

build

build

build

build

build

build

build

build

build

build

build

build

build

build

build

build

build


Initialize remote for export where needed whenever they are read from…

[x] indentation is made with 4 spaces
[x] your pull request contains only changes intended (no refactoring, line return added, ... that could make code review harder. Make another one if you think it is needed...)
[x] run and verify that existing tests pass. Add some new units tests, if needed.
[x] update the documentation, if needed.
[x] update the release notes file

Fixes #1123 by making sure work item export is set on or off as soon as remotes are read from the git repo.

Thanks a lot


Make timeline accessible for keyboard users

The timeline and scrubber are inaccessible for users who cannot perform drag n' drop movements or have to rely on the keyboard. The ability to move the scrubber through keys, e.g. the arrow keys, may help in solving this problem
Solving issue #67 may also somewhat alleviate this problem.

In a basic manner solved by #95.

In a basic manner solved by #95.


Updated README, added Docker folder

Change-type: patch
Signed-off-by: Alan Boris<EMAIL_ADDRESS>

@balena-ci I self-certify!

Thank you for the PR @alanb128 !


Missing ros2 feature pack

Hello! I encountered a bug, after I installed the required environment, after executing the colcon build command and source the environment variables, The following error occurs when the launch file (ros2 launch ros2_slam_auto_navigation launch_sim.launch.py) is launched:
ros2 launch ros2_slam_auto_navigation launch_sim.launch.py
[INFO] [launch]: All log files can be found below /home/hamster/.ros/log/2024-12-23-15-07-39-640989-hamster-NBxxTA-69769
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'echo_bot_pkg' not found, searching: ['/home/hamster/mycode/ros2-slam-auto-navigation/install/ros2_slam_auto_navigation', '/opt/ros/humble']"
I can't find the echo_bot_pkg feature pack. How can I solve this problem?

Hi @Night-elf-1, Thank you for your report! I’ve released a new version. Please pull the latest version of the source code, and the errors should be resolved.

thank you！
------------------ 原始邮件 ------------------
发件人:                                                                                "taherfattahi/ros2-slam-auto-navigation"                                                                                @.>;
发送时间: 2024年12月23日(星期一) 下午3:31
@.>;
<EMAIL_ADDRESS>主题: Re: [taherfattahi/ros2-slam-auto-navigation] Missing ros2 feature pack (Issue #1)
Hi @Night-elf-1, Thank you for your report! I’ve released a new version. Please pull the latest version of the source code, and the errors should be resolved.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Eliminate SLF4J logging error message

We need to fix some SLF4J configuration (in bitcoinj?) that is causing the following error message in :
foundation.omni.test.rpc.sto.MSCSendToOwnersTestPlanRawSpec STANDARD_ERROR
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Should be fixed in: 30346bd87bb8186b105a11c05398d83b6125c9d0

Fix verified on CI server.


Load testing of site

Description
We should consider which parts of the site are likely to receive bursts of traffic (e.g. a blog post goes viral) and consider a plan for handling this.
Possible options:

CDN for static content
Degradation into a read-only view (maybe only for non-logged in users?)

This could probably turn into an epic when it is ready to be worked on.


Editing a service link name , does not result in the service name link being changed.

Server version - v0.23.0-rc6
Create a service S1.
Create another service S2 and link to service S1 with service name as "abc".
Edit service S2.
Service link name shows as blank which is tracked in #1074.
When u enter another name for this service link , the changed name is not stored in service_expose_map.

@sangeethah thats a valid bug - we should update dns on link rename. Just one correction - the link name is stored in service_consume_map.

Tested with build from master - jun/08
Create a service S1.
Create another service S2 and link to service S1 with service name as "abc".
Edit service S2.
Enter another name for this service link say "xyz".
Service link name is changed.
From the containers of service S1, DNS resolution for "abc" fails and DNS resolution for "xyz" succeeds and resolves to containers in S2.


gl_engine: change all shader output premultiplied alpha color

This PR change all GL shader output premultiplied alpha color, also change the blending functor in gl_renderer
with this patch, the masking color is correct.
GradientMask

LumaMasking

I plan to implement some basic blending methods based on this equation
https://docs.oracle.com/javase/8/docs/api/java/awt/AlphaComposite.html
Which require premultiplied alpha color.
I think, if need unpremultiplied color, at the final color blit stage, the color can convert to unpremultiplied by dividing the alpha channel.

I plan to implement some basic blending methods based on this equation https://docs.oracle.com/javase/8/docs/api/java/awt/AlphaComposite.html Which require premultiplied alpha color.
I think, if need unpremultiplied color, at the final color blit stage, the color can convert to unpremultiplied by dividing the alpha channel.

Got it. Or perhaps GL could nicely apply or not apply the alpha blending equation in the final composition, potentially avoiding an additional color change stage like what sw rendering doing this.

@SergeyLebedkin When you verify this, please "rebase and merge"


Add Puget Sound salmon time series: Ballard locks counts

I learned last week that WDFW has an archive of salmon counts made by observers watching through windows in the ladder. It only covers adult returning sockeye, summer Chinook, & coho, but it may be worth scraping -- especially for the coho since Hanson's papers indicate coho and chum are in the SRKW fall diet in Puget Sound, & J pod's first fall visit to the main basin last weekend (Sat-Mon) seems to have happened before the fall chum run (based on anecdotes told by recreational fishers)... (Or maybe those chum are holding in Puget Sound waiting for some more rain events?)
Here is the source from a QR code in the viewing exhibit-- https://wdfw.wa.gov/fishing/reports/counts/lake-washington

Thanks Scott! When time allows, I can start with scraping this year's data :)


Seeder Faker Integration!

who wants it? can we have it?

@chriscalip can we get some more information on this, what is the exact requirement?
@dmassiani @VictorGorban

@chriscalip Support added :
https://github.com/InfyOmLabs/laravel-generator/issues/964#issuecomment-888851391


Navigation menu keyboard events

Preview: https://docs-git-pietikinnunen-nav-accessibility-goteleport.vercel.app/docs/
Enables very basic keyboard navigation for the header nav menu and aria-expanded values to improve the accessibility of the site.

Enable using tab or shift+tab to go through the header navigation items.
Pressing space or enter/return key when a main navigation menu item or a submenu is in focus should open it.
Pressing escape when any navigation item is in focus should close the navigation

Associated PRs in the other repos:
https://github.com/gravitational/next/pull/2542
https://github.com/gravitational/blog/pull/564

Hello, would you mind adding a brief description of the expected behavior to help me test this? Thanks!

Hello, would you mind adding a brief description of the expected behavior to help me test this? Thanks!

Hey, yes absolutely, sorry about that! I added the expected behavior in the description


Using with G6VP "Vite"

Hello @pomelo-nwu
Currently our current project is on the CRA(Create React App) framework, but we are planning to replace it with another framework.
We are planning to migrate our project to Vite.
Since we are actively using Graphin and G6VP in our project, I wanted to consult you. Are there any known problems with the Vite? Is this upgrade suitable for G6VP or Graphin use.
In addition, we are looking forward to seeing if there is any development regarding the G6VP v2 release date.
Finally is it possible to use react@18 version for Graphin and G6VP?
Thanks

one more question
If G6VP react 18 update comes, can we use NextJS?

#379

Vite or NextJS'de npm


OCM-3334 | feat: allow setting GPU limitations

This adds support for setting the missing field of GPU limitations. Users are able to provide it via two options:

CLI, by repeating the option multiple times. E.g.:

rosa create cluster --autoscaler-gpu-limit nvidia.com/gpu,0,10 --autoscaler-gpu-limit amd.com/gpu,1,5

Interactively. E.g.:

rosa create cluster
...
? Enter the number of GPU limitations you wish to set (optional): 2
? 1. Enter the type of desired GPU limitation: nvidia.com/gpu
? 1. Enter minimum number of GPUS of type 'nvidia.com/gpu' to deploy in
the cluster. (optional): 0
? 1. Enter maximum number of GPUS of type 'nvidia.com/gpu' to deploy in
the cluster. (optional): 10
? 2. Enter the type of desired GPU limitation: amd.com/gpu
? 2. Enter minimum number of GPUS of type 'amd.com/gpu' to deploy in the
cluster. (optional): 1
? 2. Enter maximum number of GPUS of type 'amd.com/gpu' to deploy in the
cluster. (optional): 5

This is a rewrite of https://github.com/openshift/rosa/pull/1438 to adapt it to the code after a refactor. In addition it also sets a way to configure the GPU limitations via CLI arguments.

/hold
doing some more testing

/cc @Gregory-Pereira @gdbranco

All testing is done!
/unhold

Thanks, this implementation looks great.
/lgtm


Filter/mutate source data

I'd like to be able to do some basic mutation of the underlying data, for example filtering rows or changing the column order based on user inputs in other components in the TUI
I know how to implement the functionality in the backend itself to actually mutate the dataframe, but less sure what would be required to refresh the UI after mutation or which caches, etc need to be invalidated.
Do you have any recommendations for how to best implement this?  Does everything need to go thru the front end, or is there a way to directly change the contents of the backend and have the front end pick up the changes?

You're going to want to follow the pattern of DataTable.update_cell and the other DataTable methods that mutate data (clear, sort, add_column, add_row, add_columns, add_rows, remove_row, etc):
There are a lot of caches that do need clearing. Most of that can be done in the background by setting a couple of flags:
https://github.com/tconbeer/textual-fastdatatable/blob/373f01d2a36567a6b63bc53d73a9f4f8842735b7/src/textual_fastdatatable/data_table.py#L1508-L1511
But there will be other targets that need updating as well, if you want to reorder columns, etc. (I'd look at the existing methods to ensure you're resetting all of the column caches, etc.)


docs: formatting

This PR contains a:

[ ] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[x] metadata update

Motivation / Use-Case

Breaking Changes

Additional Info

Feel free to merge when CI will be green

@evilebottnawi I need you to approve to merge
Merging can be performed automatically with 1 approving review.

Bug on azure pipelines :disappointed:
Stopped on MacOS

@evilebottnawi
I can't push to branch master
https://github.com/webpack-contrib/eslint-loader/pull/294#issuecomment-534702207

@ricardogobbosouza try again

@evilebottnawi
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: Required status check "licence/cla" is expected. At least 1 approving review is required by reviewers with write access.
To github.com:webpack-contrib/eslint-loader.git

[new tag]         v3.0.1 -> v3.0.1
! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'git@github.com:webpack-contrib/eslint-loader.git'

@ricardogobbosouza problem still exists?

@evilebottnawi  yes

@ricardogobbosouza what is email on commit? CLA failed when email is invalid for commit

@ricardogobbosouza try again

@evilebottnawi sorry, its works

Great! Feel free to ping me if you need help with something, you can invite other people as member if you need help from other developers (you have permission), anyway before big release will be great if somebody review your code (like me or other developers from webpack/webpack-contrib)

Ok, thanks


/"^"_-‐
python3 ./test.py -f insert/before_1970.py

https://github.com/taosdata/TDengine/blob/6a390942b1e7f98c9af4f43a7598e52179ef120d/tests/pytest/fulltest.sh#L23

This failed-test was much more productive compared to the 'norm'.


Clean-up DX12 ToString Functions

Leading into Convert overhaul but mergeable in their own right.

CI gfxreconstruct build queued with queue ID 43663.

CI gfxreconstruct build # 3203 running.

CI gfxreconstruct build queued with queue ID 43685.

CI gfxreconstruct build # 3204 running.

CI gfxreconstruct build # 3204 passed.

CI gfxreconstruct build queued with queue ID 43748.

CI gfxreconstruct build # 3205 running.

CI gfxreconstruct build # 3205 passed.

CI gfxreconstruct build queued with queue ID 45659.

CI gfxreconstruct build # 3213 running.

CI gfxreconstruct build # 3213 passed.

CI gfxreconstruct build queued with queue ID 46328.

CI gfxreconstruct build # 3224 running.

CI gfxreconstruct build queued with queue ID 46343.

CI gfxreconstruct build # 3225 running.


JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[NFTPort.Attribute]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

Nfts of owner returning error with certain NFTs

PR https://github.com/nftport/nftport-unity/pull/16 Fixed


[IMPAC-648] v1.6.0 - Refactor "data not found" mode

Better styling and wording
Example mode with stub data
Update delete widget 'pop-up' to match the new design
Slight refactor of WidgetSvc

@xaun this is ready - can you please review?
goes with: https://github.com/maestrano/impac/pull/486

@xaun thanks for the review. I've applied your suggestions.
I'm going to merge the PR as this needs to be deployed tonight. Please let me know if you have any other comment.

@cesar-tonnoir In my review I forgot to highlight the fact that a config change was made & the README.md configurations section(s) were not updated. Do you think you could patch this? Cheers

@cesar-tonnoir also as the data-not-found.directive images have been removed, mentions of defaultImagesPath also need to be removed.
This includes:

readme.md
assets.svc.coffee
workspace/app/app.js


Modified to allow only string as example doc string

Modified to allow only string as example doc string.
Fixes #3072
corresponding PR that adds warnings in 3.99 #3073
a case of rspec below
$ cat test.rb
context do
  it :pending do
    # Only pending option without reason
    expect(true).to eq false
  end

  it pending: 'only pending option' do
    expect(true).to eq false
  end

  it 'description with option', pending: 'some reason' do
    expect(true).to eq false
  end
end

before
Two examples failed because pending option was recognized as description and invalid.
$ bundle exec rspec test.rb --format documentation

  pending (FAILED - 1)
  {:pending=>"only pending option"} (FAILED - 2)
  description with option (PENDING: some reason)

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) description with option
     # some reason
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:12:in `block (2 levels) in <top (required)>'

Failures:

  1) pending
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:4:in `block (2 levels) in <top (required)>'

  2) {:pending=>"only pending option"}
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:8:in `block (2 levels) in <top (required)>'

Finished in 0.01356 seconds (files took 0.08744 seconds to load)
3 examples, 2 failures, 1 pending

Failed examples:

rspec ./test.rb:2 # pending
rspec ./test.rb:7 # {:pending=>"only pending option"}

after
Every pending option is valid because example recognized description only if the first argument is string object.
$ bundle exec rspec test.rb --format documentation

  is expected to eq false (PENDING: No reason given)
  is expected to eq false (PENDING: only pending option)
  description with option (PENDING: some reason)

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) is expected to eq false
     # No reason given
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:4:in `block (2 levels) in <top (required)>'

  2) is expected to eq false
     # only pending option
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:8:in `block (2 levels) in <top (required)>'

  3) description with option
     # some reason
     Failure/Error: expect(true).to eq false

       expected: false
            got: true

       (compared using ==)

       Diff:
       @@ -1 +1 @@
       -false
       +true

     # ./test.rb:12:in `block (2 levels) in <top (required)>'

Finished in 0.01475 seconds (files took 0.08761 seconds to load)
3 examples, 0 failures, 3 pending

Sorry, it looks something went wrong with rspec.
I'll check it :bow:


buildPostData() does not work with the following json

What is the expected behavior?
buildPostData() does not work with the following json:
$not_encoded = '{
            "action": "EventsRouter",
            "method": "query",
            "data": [{
            "limit": 2000,
            "params": {
            "eventState": [0],
            "severity": [5]
            }
            }],
            "tid": 1
            }';

What is the actual behavior?
I made sure to set a content header for json.
The regular curl way works:
CURLOPT_POSTFIELDS => json_encode($not_encoded),
This doesn't:
$this->setHeader('Content-Type', 'application/json');
            $this->buildPostData(json_encode($not_encoded));
            $this->setBasicAuthentication($this->username, $this->password);

Hi. Can you give an example of what you are trying to accomplish? Also, buildPostData should not typically be used directly. Here's an example of how to POST json data. https://github.com/php-curl-class/php-curl-class/blob/master/examples/post_json.php

Oh, I see. Thanks, it works now.
The $curl->post() example confused me. I should have read the docs a little more closely.


BUG: No change in background color

When i am trying to change the background color of the canvas by clicking on the color palet, it is not changing.
Video for preview:
https://github.com/user-attachments/assets/b2a5ca69-0f0a-4ee2-825a-77ef87d664a6
Please assign me this issue under hacktoberfest to solve.
Thank you

This is not a bug, as the background color is only applied when the starting and ending points intersect (similar to the line). We should however come up with some better UX, though likely we just cannot hide it, as a user should have an option to select the background before he draws a complex shape. If you have some ideas on how to resolve it.

ok
thank you


X

Blocks Insulation, PowerInf, Sulphur-Eaters, TitanShuttles, E-Market, SellPatents.
If we ever do #1 then this blocks Hi-Tech Lab too.
So Insulation would look like  PROD[-X Heat, X] which is translated to -X Production<Me, Heat>, X Production<Me, Megacredit>. Normally MultiInstructions are split in the task queue but this would have to be kept together until the X is specialized to a specific value.
Note: X is defined as != 0.

I actually did this ... but X's must be connected with "THEN".


Out of memory when test with CUDA_VISIBLE_DEVICES=0,1 python main.py --model res18 -b 2 --resume results/wzy_res18/retrft96$f/00$i.ckpt --test 1 --save-dir wzy_res18/retrft96$f/ --config config_training$f

process 1 epoch
using gpu 0,1
/home/ustc/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py:24: UserWarning:
There is an imbalance between your GPUs. You may want to exclude GPU 1 which
has less than 75% of the memory or cores of GPU 0. You can do so by setting
the device_ids argument to DataParallel, or by setting the CUDA_VISIBLE_DEVICES
environment variable.
warnings.warn(imbalance_warn.format(device_ids[min_pos], device_ids[max_pos]))
/home/ustc/lclin/dataset/LUNA16/subset9/
/home/ustc/lclin/dataset/LUNA16/subset1/
/home/ustc/lclin/dataset/LUNA16/subset2/
/home/ustc/lclin/dataset/LUNA16/subset3/
/home/ustc/lclin/dataset/LUNA16/subset4/
/home/ustc/lclin/dataset/LUNA16/subset5/
/home/ustc/lclin/dataset/LUNA16/subset6/
/home/ustc/lclin/dataset/LUNA16/subset7/
/home/ustc/lclin/dataset/LUNA16/subset8/
89
results/wzy_res18/retrft960/bbox
(18, 1, 208, 208, 208)
THCudaCheck FAIL file=/pytorch/aten/src/THC/generic/THCStorage.cu line=58 error=2 : out of memory
Exception NameError: "global name 'FileNotFoundError' is not defined" in <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7fb5965d14d0>> ignored
Traceback (most recent call last):
File "main.py", line 389, in
main()
File "main.py", line 148, in main
test(test_loader, net, get_pbb, save_dir, config)
File "main.py", line 334, in test
output = net(input,inputcoord)
File "/home/ustc/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/ustc/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 114, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/home/ustc/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 124, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/ustc/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/parallel_apply.py", line 65, in parallel_apply
raise output
RuntimeError: cuda runtime error (2) : out of memory at /pytorch/aten/src/THC/generic/THCStorage.cu:58

From my experience, if you did not change the batch size, you should use 4 GPUs to train. Thank you very much for your interest!

when i train ,i was ok,but when i test,error(I use pytorch0.4)
in main.py i set
test_loader = DataLoader(
dataset,
batch_size = 1,
shuffle = False,
num_workers = args.workers,
collate_fn = data.collate,
pin_memory=False)
i thought this was the min batch_size，but still this error...

What is your GPU memory for each GPU? and how many GPUs? The warning information is weird. Try to update pytorch and cuda. How many GPU did you use in the training?

i use 2 1080ti,total 24G,and i run watch -n 1 nvidia-smi
i see the memory is exhausted for both card,i am really confused about this

I know what is your problem. You should crop your imager. 208208208 is too big.

The dataset loader crops the images to 96x96x96, isnt it? Even I have the same problem.

Yes. Are you using 4 GPUs or smaller batch sizes?

4 GPUs and batch size is 1

#39


Save config

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Add DjangoCon EU 2021

@staeff, thanks for this! Can you rebase on the latest master to pick up your other changes?

Nice!


Blocks VueJS DevTools

Can't use VueJS dev tools to inspect my app when this plugin as  becomes the root component and I can't drill down to the app itself.

Hmm... getting a bit confused by this, it seems to be an inconsistent behaviour. Sometimes  takes over and other times it doesn't... Unfortunately I don't have time right now to test and figure out when it takes over :(

Think I've got it:
If I have the VueJS dev tool screen on and the page reloads,  takes over and it doesn't refresh afterwards. If I open the VueJS dev tool screen after loading's finished, it's fine.

All that's happening is that when devtools first loads, it's detecting the available apps to display in the vue panel.  At load the only app available is the loading app, after that the loaded app becomes available.  You just need to hit the refresh icon above the app tree to reload the tree so it can see the newly loaded main application.
Basically you now have two vms in there.  The loader, and your application.  When the devtools first start up it's just displaying the first available app until the second becomes available.  The vue devtool is anoying this way, it tends to not load certain changes at run time (such as the introduction of a new vm).  That's why they added the refresh button as a workaround.


Redis package can not handle long passwords

Version:
Node.JS v10.14.2
Redis: v4.0.9

Platform:

Ubuntu Linux Bionic 18.04 with latest upgrades

Description:

When I tried to use a long password generated by the Linux random password generator I got an invalid password error back from the Redis package, when I tried to connect.  When I changed the password to something much shorter, everything worked fine.   This may be a problem with this Node.JS package itself, because the long password did work if I went into redis-cli and used it with the auth command.  The long password did not contain any exotic characters, just alphabetic upper and lower case characters.  However, the exact same password did not work when passed in during the createClient() method, regardless of what method variant I used (i.e. - full URL, or "auth_pass"/"password" in options block, or redisClient.auth() method - they all failed with the long password).
Here is my current code that does work now with the shorter password.  You can see all the other call variants I used when trying to make things work, in the code that is commented out:
var fullRedisUrl = 'redis://:' + process.env.REDIS_AUTH + '@' + process.env.REDIS_URL + ':' + process.env.REDIS_PORT;

var redisClient = redis.createClient(fullRedisUrl);

/*
var redisClient = redis.createClient(
    {
        port: process.env.REDIS_PORT,
        host: fullRedisUrl,
        no_ready_check: true,
        // This does not work.  Use auth() method on Redis client instead.  See below.
        auth_pass: process.env.REDIS_AUTH
	});
*/

/*
// Authenticate with Redis.
redisClient.auth(process.env.REDIS_AUTH, function(err, reply) {
    if (err) {
        console.error(err);
	}
	else {
	    console.log(reply);
	}
});
*/

Can you try an equally long password and see what's actually received by Redis (with MONITOR)?

@stockholmux Can you point me to some docs to how to use MONITOR?  Never used it.

@roschler humm.... sounds like an escaping problem somewhere. I can confirm that this module has no problem with forward slashes.

As far as MONITOR, open redis-cli and type monitor. It will show you all the commands going to the server. It should help debug this issues - you'll see AUTH and then the password in redis-cli. See if they match up with a console.log(process.env.REDIS_AUTH).

@roschler the reason is that you use the redis URL. It has to be well formed and apply to the rules outlined in the README. You can use slashes in the password as well but then you should not use the redis url.

Yes that's right.  I tried the "auth" method too.  You can see the code I tried in this Stack Overflow post:
https://stackoverflow.com/questions/54558676/same-redis-password-that-works-with-redis-client-fails-with-node-js-createclient
When I get some time I'll try MONITOR.  Right now things are working with passwords that don't contain forward slashes.

@roschler please post an example password that failed for you (one that you do not use). I guess there is a backslash in there and pasting that directly as string is causing escaping issues as @stockholmux already pointed out. E.g. 'abc\def' in JS is 'abcdef'.

@BridgeAR I'll do that when I try the MONITOR test this weekend.
Note, your example shows a backslash.  The password I had trouble with had a forward slash as I said above (see my reply to Kyle above).

You could also just use the debug mode instead of using monitor. That is likely more straight forward.


The ability to change font family in the setting page

Looking at the proposal in #49174, some may need different font based on their needs, and some may like more stylish font. We can create the ability to choose the font based on user preference.
It can be similar to the theme, applying classes based on JavaScript logic. It may change base on if the font-families don't have the same height, width and don't have margin/padding baked in them.

I totally agree! Giving users the option to choose their preferred font based on their needs and style preferences is a fantastic idea. This added flexibility will enhance the overall user experience and accommodate a wider range of preferences. The mono fonts (those that meet the requirements) could be fetched from Google Fonts like Figma does it 👀

It is definitely a nice to have, but the cons out number the pros in this case. close it?


Add a 'context' symbol and expose mocha context

Don't merge yet!
There are tests added to the core, and the this seems to be passed down to test methods properly.
I have to just add typing's for mocha/jest/etc. and eventually add a test or two there as well.

Build started
git clone -q --branch=pana-cc/context https://github.com/testdeck/testdeck.git C:\projects\testdeck
fatal: unable to access 'https://github.com/testdeck/testdeck.git/': Could not resolve host: github.com
Command exited with code 128
Nice build fail :) It should be fine

Ok,
This looks ready for a review. It somewhat works on my machine but keeps failing on the CI.
@silkentrance would you like to review the squashed version?

ok I broke it here as well, git clean -xdf git reset --hard broke and then the jasmine tests fail...

Ok, I think latest jest versions do not execute hooks in a reverse order.
I set the executeAfterHooksInReverseOrder to the default of false for jest.
P.S. panayot-cankov is my work related account

NYC coverage fails, throws on node 10 and outputs “Unknown%” coverage on the newer versions.

I disabled nyc, something is wrong with it, but we have pretty neat coverage at the moment, and I don't have the time to dig down what happened to it. Congratulations, we have a new feature - context. At this point I don't think it is a breakign change. it would have if it were in mocha-typescript, but since testdeck is new set of packages, it is something that was never available in testdeck. And migration is quite straight forward, instead of @context myField, you just use this[context] in methods.

It has been almost one year since issue was created and we still hope for the solution. Could you publish it please?


smoothie lifecycle extension does not support arbitrary ViewModelStoreOwner, only Activity/Fragment

This is a problem, because Jetpack Navigation allows for the creation of NavGraph-scoped ViewModels, bound to the lifecycle of a NavBackStackEntry.
Toothpick should be able to support this scenario.

It also begs the question, how to use AbstractSavedStateViewModelFactory to get a SavedStateHandle into a ViewModel provided by the Toothpick ViewModelBinding.

Interesting, will do some research and target 4.0.
Thanks for the issue!

We just need to update toothpick.smoothie.viewmodel.ViewModelProvider to use the new API for androidx...ViewModelProvider:
https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider
It takes a ViewModelStoreOwner as a constructor param, it will make it work with this use case and simplify TP code as well.


Sew It Good Part 2 & Part 3 have wrong locales

General information:
Project issue is for:
Server? Modules?
Expected result:
Sew it good part 2 text should be to hand over 2 Gzhel in any condition
Sew it good part 3 text should be to hand over 2 6B13 FIR in any condition
Actual result:
Both quest texts are still reading the old verbiage
"Hand over armour in 0-50% dura"
"Hand over armour in 50-100% dura"
To note: At least the quest Part 2 does allow you to hand in any quality for both armours. I haven't completed Part 3 yet but I'm sure it's the same.
And to be honest, I don't know if the locales were updated on live when BSG changed these in live post 0.14. Figured I'd throw the issue in just in case.
How to reproduce:

Have Sew It Good Part 2 & 3
Look at text
Profit

Attachments

2024-02-11[23-18] (0).png (3726 KiB)
2024-02-11[23-19] (0).png (3787 KiB)

Originally written by acidphantasm

Found a screenshot from 3 weeks ago that was AFTER the change to make it any durability and the quest text was still 0-50% & 50-100%
Safe to say this is a BSG issue and not SPT and can be closed!

Originally written by acidphantasm


[Feature Request] Ability to disable Youtube playlists

Can we have a feature that disables youtube playlists? It's quite annoying when users add 200 song playlists to the bot. We simply don't need youtube playlists.

Can you elaborate on what specifically about this you find annoying? Generally, I think playlists are very useful, as they reduce the number of commands needed for knowledgeable users. Also, because the bot uses a fair queue, one user adding many songs won't prevent everyone else's music from being heard. One potential annoyance I can think of is someone adding a lot of songs to the queue and then leaving the voice channel, although I think a better solution than disabling playlists entirely would be a feature to auto-clear users' songs when they are absent from voice for a period of time.

It's just very weird allowing users to play any playlist on Youtube when local playlists can only be created by owner.
Having playlist permissions for a basic user is too much power, especially when you're dealing with a server size of ours (around 400k)
Just today we had someone queue 200 wario meme videos on the bot and nobody wanted to join the vc because of that, and of course moderators weren't pinged.

It's just very weird allowing users to play any playlist on Youtube when local playlists can only be created by owner.
Having playlist permissions for a basic user is too much power, especially when you're dealing with a server size of ours (around 400k)
Just today we had someone queue 200 wario meme videos on the bot and nobody wanted to join the vc because of that, and of course moderators weren't pinged.

Local playlists can only created by the owner because making local playlists affects the filesystem on the host's computer or server; playing uploaded playlist files would be a reasonable feature to add. Regardless, the functionality of local playlists is unrelated to this issue.
It seems like in your case, your members need to be more proactive in alerting moderators to users with malicious intent. There's nothing that would have stopped the user from adding multiple "meme videos" one-by-one, and in either case (a playlist or multiple individual additions), a moderator can clean up all of that user's additions to the queue with a single command anyway.
I run several servers on the same scale as yours, and on the rare occasions that someone does try to troll, adding a full playlist is no more malicious than just adding a few troll videos, as once someone reports it (usually on the first troll track), it's all cleaned up by a moderator the same way.

Another way of looking at the situation is that no amount of queue limitations could have fixed your issue if nobody reported it, as the bad actor could have simply kept queuing up meme videos whenever one ended.

I'm sure the situation would have been very different if the person kept spamming his videos, in this situation a person simply did one command and disappeared. If someone is actively breaking the rules, that has higher chance of being reported than a single command that disappears in the message history

I would also like to see a max count for playlists, or even queue limit.
So only allow a user to have a queue of x size. Let's say 20 songs.
Or atleast allow a settings to prevent massive playlists, yes moderators could manually clear it. But it's easier to have it self managed than requireing moderator input.
Would you accept a pull request for something like this ?

If you're relying on reports/moderators: I don't see why people would be more or less likely to report someone because of more messages. If someone is trying to listen to the queue, then I would imagine that they wouldn't even consider the messages sent by a user, but rather their audio being interrupted by meme tracks, in which case they can simply check who has queued up the meme track and report it.
If you're trying not to rely on moderators: a limit on tracks has zero effect, as someone can simply queue up a new track whenever one of theirs finishes. The order in which different people queue up tracks doesn't affect the play order anyway, as the tracks get sorted based on who adds them.
While I do agree that people queuing up troll-tracks is a problem, I don't think limiting the queue or disabling playlists solves this problem. I'm sure there is another solution out there that does solve this problem, while not causing inconveniences for average users.

For example (this is a really rough outline of an idea), imagine an per-user auto-skip feature, where User A can somehow automatically vote to skip tracks from User B (as if they used the skip command every time a track from User B came up). If a user is adding problematic tracks to the queue, the users that are trying to listen could still report them to a moderator, but this would give them a tool in the meantime to manage the tracks (as a group) without needing immediate moderator action. This kind of feature might also encourage use of the skip feature when appropriate (maybe after the 3rd time User A attempts to skip a User B track, it prompts them to enable auto-skip).


Download inside a specific folder

My scenario is
app.zip
sub01.zip
sub02.zip
Now I want to first download app.zip, then unzip sub01.zip and sub02.zip inside app folder.
app
 |
 +-- sub01
 |
 +-- sub02

How can I do it? This allows me to add sub03 or sub04 later in future.

Try the following:
var sync = ContentSync.sync({ src: 'http://myserver/assets/app.zip', id: 'app', type: 'replace' });

sync.on('complete', function(data) {
  var sync2 = ContentSync.sync({ src: 'http://myserver/assets/sub01.zip', id: 'app/sub01', type: 'merge' });
});

i can confirm this works

I'm between builds. I will try it over the weekend. Thanks for @revolunet confirming it.


Documentation and Comments

I'd try to contribute, but i don't know C# nor do I understand anything because there is no documentation.
If i find the time to learn C#, then I'd also be happy to help with that.
VI VON ZULUL


iOS DRM not working

Bug
Hello everybody,
I am trying to use DRM on android it works fine but not on iOS.
Platform

Which player are you experiencing the problem on:

iOS

Environment info

React native info output:
 System:
    OS: macOS 11.4
    CPU: (8) x64 Apple M1
    Memory: 35.60 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.0 - /usr/local/bin/node
    Yarn: 1.22.4 - ~/workspaces/myapp/node_modules/.bin/yarn
    npm: 6.14.13 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 29, 30
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.3
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.11 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: ^5.1.1
Steps To Reproduce

Add licenseServer and certificateUrl in drm prop
Reproducible sample code
<Video
          source = {{
            uri: 'https://xxx.cloudfront.net/out/v1/xxxxx/index.m3u8',
            type: 'm3u8'
          }}
          drm = {{
              type: 'fairplay',
              licenseServer: 'https://fps.ezdrm.com/api/licenses/XXXX-XXX-XXX',
              certificateUrl: 'https://xxx.cloudfront.net/live/players/test/1.0/fairplay.cer'
          }}
          onError={(err) => console.log('error ', err)}
          style={styles.backgroundVideo} />

Did you use this DRM provider before with other solutions? Like web player (videojs)?

@KrzysztofGastolek if I have a html with video that works on iOS devices, mac os

I am testing on a physical device and from xcode this appears:

@mezalejandro I'm having the same issue, did you solved it?

Be sure that the license url is correct
Try to use getLicense method instead of licenseServer property https://github.com/react-native-video/react-native-video/blob/master/DRM.md#getlicense

@zhulduz How can I get contentId in getLicense method? In videojs I have a method getContentId: function (emeOptions: any, initData: Uint8Array).

@mmajk55 check the second argument in the method getLicense
https://github.com/react-native-video/react-native-video/blob/master/Video.js#L240


Create tag mj-json to allow for embedding of advanced json encoded mjml inside an mjml document

Is your feature request related to a problem? Please describe.
I am dynamically generating mjml documents using ejs and for the most part this is easy, however I would like to use some more advanced modern style document generation techniques, ex. Array.map to convert an array into a series of columns, etc.  In such cases it would be easier for me to return an serialized json object rather than mjml code.
Describe the solution you'd like
If there was a either a new tag, ex, <mj-json>{json goes here}</mj-json> or an attribute added to an existing tag, ex. `
Describe alternatives you've considered
I could just use the older for loops with conditionals for opening and closing tags (which is what I will end up doing currently)

I don't think this would comes up into mjml-core as mixing markup is a pain to handle. However, you can just use the jsonToXml helper that we currently have : https://github.com/mjmlio/mjml/blob/bd9bb7f10235ab473a0279c2768161504eace326/packages/mjml-core/src/helpers/jsonToXML.js


Cool Null Object Reference prevention

Prevents crashes when the game tries to get a chart that doesn't exist, then displays an error message.
First serious PR so tell me if something's wrong and what to improve.
(for Story Menu, Freeplay and the Chart Editor)

looks cool
maybe make the warning screen as a class instead

I was considering doing that but I felt like a class was too much, I'll probably do it anyway

error code could be improved by just creating the variables you made on MusicBeatState, since p much all states extend it, they would be able to call that same function for error logs and such
great PR!

error code could be improved by just creating the variables you made on MusicBeatState, since p much all states extend it, they would be able to call that same function for error logs and such
great PR!

thanks for the ideas, I'm going to push a new commit now


plot only stationary track for objects without sufficient data

current implementation still not working. don't know why, but setting rasbg,decbg = backtrack.radecdists(epochs2,best_pars[0],best_pars[1],0,0,0)  e.g. plx, pm to zero in the radecdists function does not appear to return the proper track to plot.

to get the plot to look correct, you should set jd_tt equal to the first epoch of your data (really we should recommend or just implement this as the default). I think it looks correct for the HD 131399 A b example.


Recycle bin flushing bug

Win 10 20h2 / v<IP_ADDRESS>
when you empty recycle bin, the recycle bin is flushed but the refresh is not triggered, so you don't see the recycle bin is empty.

Thanks for the report. Fixed in #3669


Different Currency

I am having a problem when they have different currency.. i am having this kind of error "The currency of this PayPal transaction must match the currency of the merchant account"?

This is probably an issue with your paypal account setup rather than this library
see https://www.paypal-community.com/t5/Sandbox-Environment/Integration-problem-when-using-Braintree-with-EUR-currency-PLN/td-p/1725844
If you're attempting to submit the payment in EUR via Braintree, the receiving PayPal account must have an open EUR balance or the transaction will fail. This applies to all currencies, so if you attempted to submit the payment in CAD for example, the receiving account needs to have an open CAD balance for the transaction to be accepted.


Add info about POS data being assigned to the first Account

Rationale
Currently, there is only one coinbase, and Smesher cannot change it easily from the application level. It is possible to reset it/manipulate it by accessing App files that are, by default, hidden.
It might be confusing for the Smesher that - once he/she creates another account or Wallet, the POS data and Rewards Address always stay the same (the first Account).
In the future, the best case scenario would be for the Smesher to be able to choose all the POS/Smeshing details - including Rewards Address. As for now, it seems very User oriented to add information about the Rewards Address being the first Account, no matter how many Wallets/Accounts there will be. It is crucial, especially for those who would potentially want to delete their first Wallet.
A tooltip on the Smeshing screen (next to the Rewards Address) and information during POS data configuration would be enough for now.
Prerequisites
https://github.com/spacemeshos/smapp/issues/1027
User story

[ ] I open the Smeshing Screen (running a local node)
[ ] I create POS data by following all the necessary steps
[ ] On the confirmation screen, I can see a note that the POS data that was set up will not change no matter how many Wallets or Accounts will be created in the future
[ ] I can read similar information on the Smeshing screen anytime I have some doubts about the Rewards Address

Acceptance criteria

[ ] The basic scenario works as described
[ ] There are no or very few questions/reports from the Community about POS data not being changed after changing Wallets/Accounts

Out of scope
TBU
How to implement
A tooltip on the Smeshing screen (next to the Rewards Address) and information during POS data configuration would be enough for now.
How to test
Go through the case scenario and check whether the information is displayed correctly and formulated clearly.
Check whether the Application works as expected - the POS data stays the same after switching Wallets and Accounts.

Hi @monikasmolarek , this issue should be resolved in 0.2.10
The Smeshing screen is updating accordingly to what we have from go-spacemesh node. One moment on multi-account, when we have 2 node wallets, information will be taken from the first one because we are able to run only 1 node.

Getting back to this - I created this feature request after our call, during which we discussed this question. Adding a simple phrase on the confirmations screen or in the tooltip on the Smeshing screen would be enough.
Additionally, I'm also thinking about improving the confirmation/fireworks screen we get after setting up POS directory - there's an information about a desktop notification when the set up is ready - I've never seen any trace of this notif...

Hi @monikasmolarek , we can do the notifications as part of #1068 , to make it clear for the end user about the statuses
cc: @brusherru , @pigmej

Or we may add the "specify coinbase for rewards" step in the PoS setup.
There should be input with suggestions and the default coinbase should be pre-selected.

This additional step would be perfect!

Isn't it what is currently in smapp in the most recent release in the step called Spacemesh arguments?
Cc @brusherru

Yeah, no longer valid point. This feature request was created in response to repeating questions from the community, but it's addressed, we can close it now.


Bot able to respond but no message is sent on the chat?

Sent a lot of messages using the api but for some reason the messages arent sent to the bot but the bot is able to respond to those "ghost messages"

I use the same code many times but for some reason this problems pops up and the character thinks "its being ignored"


Remove reference to if_sxml_writer or provide this interface

Here https://github.com/SAP/abap-file-formats-tools/blob/main/src/zcl_aff_writer_xstl.clas.testclas.abap#L970' #37
and in its test classes

it is released, https://abapedia.org/steampunk-2202-api/if_sxml_writer.intf.html
so it can be added to open-abap

good information 👉 close the issue here


Question on Saga

In this boilerplate, the generator githubData defined here is meant to listen for the action 'LOAD_REPOS'.
My question is should not we add an infinite loop to the generator so that after the loading completes, it can continue to listen to future action? What i mean is something like this (taken from here)
function *foreverAlone () {
  while (true) {
    yield take('HI')
    yield put({ type: 'WAVE' })
  }
}

I must be missing something here. Thank you.

takeLatest already implements an infinite loop. Reference: https://redux-saga.github.io/redux-saga/docs/api/index.html#takelatestpattern-saga-args

thanks. that clears up my confusion.

@diegohaz thanks for clarifying


Support for pg-boss v10

Latest major version of PGBoss added a couple of breaking changes and the current version of this module does not work with it. Are there any ideas on how to integrate it with nest-pg-boss?
I can potentially help to do the work but I'd like to know what is the preferred approach. For example, it will be easier to add breaking changes here as well and support just version 10.

@luca3m Here is a fork that seems to work fine :smile: (tested locally with a simple job)
https://github.com/Prohst-Tech/nest-pg-boss


Discord.py Example.

I feel like it needs a better example for discord.py when your commands are in different cogs. Since you probably don't want to add all commands as functions.
I tried to add, but it would never be recognized as a function.
Looked at your bot, but was not much of a help.
An example would be much appreciated.

For discord.py, the only major difference call in the GPTFunctionLibrary's add_in_commands method sometime before making a call to OpenAI.  Decorated commands can be in any cog, and you should only need to do this once.
Like how coroutines use call_by_dict_async, to invoke a decorated discord.py command you need to use call_by_dict_ctx which requires a commands.context object along with the function_dict.
essentially:

if not added:
   mylib.add_in_commands(ctx.bot)
   added=True

# After call to OpenAI

result=await mylib.call_by_dict_ctx(ctx,function_dict)

I'll add a dedicated discord.py example in the next version.

a dedicated example for discord.py bot commands has been added.
check examples/discord_bot.py


docs: re-add Servers tutorial and change code snippet

Description

Re-added the Servers tutorial in the next-major-spec branch.
Changed the code snippet to match v3.

Related issue(s)
Fixes #1859

@AnimeshKumar923 perfectly updated! 👏🏼

Thank you! My pleasure sir!

/rtm

oh nvm this one didnt re request a review for some reason O_O that makes no sense to me, but hey, it's merged!


Clarify and add samples how to use HTTP variables in actions

It's completely unclear is this possible, and how to use HTTP variables in actions.
E.g. if I can use variables in the URL rewrite/destination or URL rewrite/source

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

ID: a7c75138-6957-23fd-b6d5-72360d846dd1
Version Independent ID: f354f8ed-9302-d124-219e-344953fe84de
Content: HTTP variables for Azure CDN rules engine
Content Source: articles/cdn/cdn-http-variables.md
Service: azure-cdn
GitHub Login: @duongau
Microsoft Alias: duau

Thanks for the feedback! We are currently investigating and will update you shortly.

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Fix a (serious) mistake: missing fib_table argument in add_route

This shouldn't have passed the test :)
I'm trying to figure out how to write a unitest for add_route (when next-hop is resolved) and del_route
I added "process" to exabgp to program the bgp updates, but it does not work. Somehow, exabgp says "permission denied" when the control script is placed inside a temp dir.

That's right; it should not have. I see lint errors there too.
I will investigate why the test passes when it should not as that must mean the routing tests are broken. Thanks for picking this up and submitting a fix quickly.

It passed because exabgp sent route announcements too quick so that none of them has nexthop resolved. If we can delay the announcement of <IP_ADDRESS>/24, we could see it fail.

I noticed this also. We should also check that the switch has the correct
flows installed with the resolved MAC addresses, which is what I am adding
now.
On Sat, Jul 30, 2016 at 10:33 AM, trungdtbk<EMAIL_ADDRESS>wrote:

It passed because exabgp sent route announcements too quick so that none
of them has nexthop resolved. If we can delay the announcement of
<IP_ADDRESS>/24, we could see it fail.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/133#issuecomment-236310330, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEgZ11RS02KJnpmqodVlqcWZz5IyN823ks5qan-ggaJpZM4JYZf6
.


"Headless" ICF - API access to functionality

Is your feature request related to a problem?
Some users are working to integrate ICF into a larger "open source portal" context, where they already have a web app and additional tooling around OSS contributions (like which projects are available for contributions, who is allowed to contribute, etc). They'd like to make use of the internals of ICF - the mirror lifecycle management and synchronization - but wrap this in their own web service.
Describe the solution you'd like
The goal would be to make ICF "embeddable" in other applications. @ajhenry brainstormed a couple of options like creating a RPC client, making the app "import"-able as a package, or having a separate web service from the front end which could be called by another app. Not sure which has the highest effort/reward and would best meet the user need, so this requires more exploration and thought.
Describe alternatives you've considered
No response
Additional context
No response

Some users are working to integrate ICF into a larger "open source portal" context, where they already have a web app and additional tooling around OSS contributions (like which projects are available for contributions, who is allowed to contribute, etc).

For Private Mirrors to have a 'headless' API functionality some of the workflows would change when the currently coupled UI is replaced with the user's larger 'open source portal', right?
Would this issue describe the creation of a stand-alone API that can then be onboarded internally by a team who does have that internal facing portal? The assumptions made here are that the user would:

have a db or some system of record of who is allowed to contribute
have a db or system of record of what projects can be contributed to
have a list of licenses or other parameters that will need to be checked prior to allow a contribution be made to a repo
require new user registration would be handled by the existing 'open source portal'
have SSO integration would be used instead of the OAuth w/ GitHub method used by the current application to verify the user's identify and then verify their access to the various orgs

Currently there are four routers:

Config
Git
Repos
Octokit

I would assume that these would become the end points or callable routes in this API? Would some additional functionality be useful for audit and/or compliance checks? (--Just starting to think out loud here--)

@Miablo thanks for the write-up!

For Private Mirrors to have a 'headless' API functionality some of the workflows would change when the currently coupled UI is replaced with the user's larger 'open source portal', right?

Yes I think that's exactly right, and as you say at the bottom the different routers would become callable separately, just to execute the functionality they are responsible for, and the larger user auth/authz would be externalized since it's likely different for everyone.

@ahpook What do you envision for this implementation? Are you ya'll locked in on using tRPC or would you all be open to using something like:

DeepKit
NestJs withfastify
or anything else that may be a good fit

I'm trying to think through the scope for this specific issue and it would make sense to have one issue (this current one) to create the API itself and then other new issues, if ya'll want, to create a solo component for the UI and a solo component for the web hooks. This would then create separate consumable components of private mirrors or provide the full functioning app as well as an option for consumers to pick and choose their solution.
What are your thoughts?

Thank you, thank you for the keys to the kingdom! 😁  I will create a proposed API design doc / diagram to toss in here for review.

@ahpook -- we just had a design session internally and talked about how for our initial pilot to use PMA we, OSPO, will be manually creating the forks for our testers. Because of this  I wanted to propose adding a /forks endpoint to this new PMA API. The idea is that we can GET, POST, PATCH/PUT, or DELETE forks using the endpoint. More specifically though I wanted to focus on the POST method where we would create the fork.
I created a draft of a diagram to show how this endpoint could run through a few validations before creating the fork. The initial assumption is that if this create a fork button or whatever is used to trigger this endpoint is enabled then the user has successfully passed authentication checks (logged in to their gh account, etc.).
I wanted to get the conversation started regarding this endpoint. The area that is encapsulated in the diagram houses additional checks we could do as part of the fork creation request.
One big one is the license check and to block or prevent contributions from being made to projects who don't have approved licenses.
I would like to make these checks module somehow where a company can input a list or some other data source to use for approved licenses or approved projects they may have, etc.

Thoughts?

Do you expect the policy checks in the Fork exists -> No branch to be configurable or extensible? I.e. how would someone else with a different set of policies implement them?

Yes! That is how I imagined it in my mind, but wasn't sure how to implement. I wonder if I can create some example or common custom checks that could be used by others as a template using git-proxy? I need to look into it more and see how git-proxy would work, but looks promising!

https://github.com/finos/git-proxy/issues/594 <--- Looks like someone from Citi is working on adding the license check plugin 🥇


Show options for keyboard and mouse interfere

Hi,
When you check show options in keyboard, you loose the popup for mouse even if show mouse is checked.
It should be better to have both options settable  independently.
Greetings
Steph

I see neither option in the settings.

@bfritscher has a branch of the latest Carnac that implements mouse input display here: https://github.com/bfritscher/carnac?tab=readme-ov-file


Create dataset ndltd_taiwan

uid: ndltd_taiwan
type: primary
description:

name: National Digital Library of Theses and Dissertations in Taiwan
description: National Digital Library of Theses and Dissertations in Taiwan
homepage: https://ndltd.ncl.edu.tw/
validated: True

languages:

language_names:

Chinese

language_comments: zh_TW
language_locations:

Eastern Asia
Taiwan

validated: False

custodian:

name: National Digital Library of Theses and Dissertations in Taiwan
in_catalogue:
type: A government organization
location: Taiwan
contact_name: National Digital Library of Theses and Dissertations in Taiwan
contact_email:
contact_submitter: True
additional: https://ndltd.ncl.edu.tw/
validated: False

availability:

procurement:

for_download: No - we would need to spontaneously reach out to the current owners/custodians
download_url:
download_email: no email, click 'english' on the top right -> 'contact us' on the top right

licensing:

has_licenses: Unclear
license_text:
license_properties:
license_list:

pii:

has_pii: Unclear
generic_pii_likely:
generic_pii_list:
numeric_pii_likely:
numeric_pii_list:
sensitive_pii_likely:
sensitive_pii_list:
no_pii_justification_class: general knowledge not written by or referring to private persons
no_pii_justification_text:

validated: False

source_category:

category_type: collection
category_web:
category_media: scientific articles/journal
validated: False

media:

category:

text

text_format:
audiovisual_format:
image_format:
database_format:
text_is_transcribed: No
instance_type: article
instance_count: 100K<n<1M
instance_size: n>10,000
validated: False

fname: ndltd_taiwan.json

#selfassign

#self-assign

I sent a simple email. Will keep this thread updated.

Sorry for the late update. I received a phone call a while back, in which the person said that they can't provide for bulk download because they don't legally own the documents.
So I took a look at the documents license.
This is the license shown when you try to download a document:

Original chinese text (click to expand)
 本電子全文僅授權使用者為學術研究之目的，進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法與相關法律之規定，切勿任意販賣營利、重製、散佈、抄襲、改作、轉貼、播送或於網際網路公開傳輸，以免觸法。

This electronic full text only authorizes users to conduct personal non-profit retrieval, reading, and printing for academic research purposes. Please abide by the provisions of the Copyright Law of the Republic of China and related laws, and do not arbitrarily sell for profit, reproduce, distribute, plagiarize, modify, repost, broadcast, or publicly transmit on the Internet to avoid breaking the law.

And this is the license agreement you need to sign to submit to the site:

Original chinese text  (click to expand)
茲同意將授權人擁有著作權之上列論文全文(含摘要)，提供讀者基於個人非營利性質之線上檢索、閱覽、下載或列印，此項授權係非專屬、無償授權國家圖書館及本人畢業學校之圖書館，不限地域、時間與次數，以微縮、光碟或數位化方式將上列論文進行重製，並同意公開傳輸數位檔案。

Agree to provide the authorized person to have the full text of the copyright (including abstract), providing readers to retrieve, reading, downloading or printing on the line of personal non-profit nature, this authorization is non-exclusive, unpaid authorized national library and my graduation school The library, unlimited region, time and number of times, will be reinproducted in micro shrinkage, disc or digitization, and agreed to publicly transfer digital files.

@ggdupont After re-reading it in Chinese. I think it says "personal non-profit (retrieval, reading, and printing) for academic research purposes"
But I am not legal expert. c.c. @yjernite

Thanks @cccntu.
It seems we cannot use this dataset.
Feel free to reopen it if you think we can use it.


[AutoPR storage/resource-manager] Fix List containers

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6298

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5713


[AutoPR blueprint/resource-manager] modeling blueprint to both managementGroup and subscription

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4908

(message created by the CI based on PR content)

PR was closed + conflicts


Autoroute patterns localization

Resending for dev branch (1.x renamed)

Working on it guys don't worry

This is ready you can test it out first. I added some nice jQuery to show/hide patterns. And also added the option to use the patterns per culture or not.

Remove all "en-US" from migrations, leave the Culture empty, and assume it's the SiteCulture if empty.
Define the default values (without culture) in the Create methods of the migrations, and actually migrate the previous patterns to the new ones, without losing them.

I fixed everything as asked on today meeting. I added some comments, let me know what you think ; I can do other changes, if needed, pretty quick.

You are right. autoroutePart.Settings["AutorouteSettings.DefaultPatternIndex"]; is still in the database and we can still get it. The migration should take care of it for not seeing any reference of the old setting in the code. If we lazy update it and we program an autogenerateAlias function it will also need to batch update them one by one later on. My preference is having it updated from the start instead of needing to add overhead of validations. But that's your call in the end ;)
Also, since I have now the option to enable/disable the culture patterns ; I just added the current patterns to the default culture leaving the other cultures with the default pattern "{Content.Slug}". So, by default the culture patterns option will never be enabled. And after the migration it will also be set to false. So, it should not break any actual patterns. Though, if you say that you want me to CLONE those old patterns into every cultures already installed we could do that also in the migration. But there is also the fact that we need to enable the culture patterns for making a distinction between each culture patterns. So they will need to edit/save them anyhow to do that.
@sfmskywalker @sebastienros

Here it is as requested.

Last comment is to check how to serialize the settings in JSON.


Logging unauthorized activities in the Event Log

See: https://github.com/Volue-Public/energy-mesh-python/discussions/336

@alftester: the plan is to implement this in Mesh 2.7, that is going to be released beginning of February.


Move parameters from secrets manager to ssm

Feature or Bugfix

Refactoring

Detail
Replaced externalId and PivotRoleName secrets in SecretsManager by SSM parameters:

modified parameter_stack and secrets_stack to create the parameters and remove the secrets.
the new externalId parameter uses a pre-existing secret if it exists, otherwise it generates a random sequence of numbers and letters
modified the sts handler to retrieve the pivotRoleName and externalId from SSM

Relates

#443

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For this feature I have tested 2 scenarios:

Scenario 1: deployment from scratch -> when using this branch directly to deploy data.all to a clean account, a random externalId is generated and a parameter with this value is stored in SSM Parameter Store.
Scenario 2: backwards compatibility for pre-existing secret in Secrets Manager -> when upgrading to this branch, the pre-existing secret value is used to assign a value to the new parameter in SSM Parameter Store and then the secret is deleted.

For both I have performed several actions in the deployed UI:

[ ] - List objects in Catalog --> ensure correct configuration of OpenSearch and Lambda
[ ] - List objects in any other view --> ensure correct configuration of GraphQL API
[ ] - Link environment and Create Dataset --> ensure correct configuration of cdkproxy
[ ] - Crawl and sync tables --> ensure correct configuration of short async tasks (IMPORTANT they use the pivotRole and externalId)
[ ] - Table sharing --> ensure correct configuration of sharing task (IMPORTANT they use the pivotRole and externalId)


[columnar] Raise the maximums for row counts

implements #185.
What's changed?
columnar.chunk_group_row_limit and stripe_row_limit  maximums set to 10000000.

is enforcing chunk_group_row_limit  >= stripe_row_limit already implemented? just want to make sure we aren't opening up potential weird behavior.

just want to make sure we aren't opening up potential weird behavior.

we can always try and see what weird behavior it ends up allowing.  we had the ability to mismatch these before this PR.

Yes, for sure; can you please test it?

we had the ability to mismatch these before this PR.

That's true, but I'd rather not replace a smaller foot-gun with a larger foot-gun, though both foot-guns would likely have the same result.

clickbench=# set columnar.chunk_group_row_limit = 1000000;
SET
clickbench=# set columnar.stripe_row_limit = 1000;
SET
clickbench=# create table hits using columnar as select * from hits_orig limit 5000000;
SELECT 5000000
clickbench=# \timing on
Timing is on.
clickbench=# select count(*) from hits;
  count
---------
 5000000
(1 row)

Time: 25.338 ms

alternately, with defaults:
clickbench=# create table hits using columnar as select * from hits_orig limit 5000000;
SELECT 5000000
clickbench=# \timing on
Timing is on.
clickbench=# select count(*) from hits;
  count
---------
 5000000
(1 row)

Time: 26.616 ms

thanks, so I guess it clamps the values itself?


The diff algorithm was stopped early (after 5000 ms.)

Please share the two files that you are comparing!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add FrequentNetifUpdate option/directive

In case clients use BrowsePoll to a server with many queues or there is many printers on the local network, updating network interfaces after every found record slow cups-browsed a lot (f.e. on Fedora this step takes about 2-3s second for every queue). This PR adds FrequentNetifUpdate configure option and directive, which can turn off this update when we examine found records - the network interface update based on NM DBUS notification is not affected with this directive.
Would you mind adding it to the project?
Thank you in advance!

That is a good idea. Thank you very much.

Better would even be not only having "On" and "Off" but also an automatic mode, which does frequent network interface updates if there are 0-5 queues and not if there are more queues. This could be the default in distros. Then for small-network users all works automatically and who has larger networks is rather enterprises which have an admin can easily cope with extra work like restarting cups-browsed.

@tillkamppeter that's a great idea! I've designed something similar for timeouts in cups-browsed, but haven't got into it yet, it is on TODO list (since the original issue why I came up with timeout calculaction was solved by other way).


Add CLI with shape-fixer.

Description
This adds a CLI to databroker. In this PR it only has one command, but it is expected to grow more.
Motivation and Context
This captures the "shape-fixer" which we use to retroactively edit the shape in the EventDescriptor to match the actual shape. This is intended to make it easily usable by people other than me. :-)
How Has This Been Tested?
The shape-fixer has been used on about ten beamlines. This exact PR branch was run at ISS today.

Example usage, which we should put into docs once we add documentation about the migration path:
python -m databroker.cli admin shape-fixer  mongodb://... --asset-registry-uri mongodb://... --query "TimeRange(since='2022-08')" --limit 10 --dry-run --strict --handler 'APB = iss_patches:APBBinFileHandler' --handler 'PIZZABOX_ENC_FILE_TXT_PD = iss_patches:PizzaBoxEncHandlerTxtPD' --handler 'XSP3 = iss_patches:ISSXspress3HDF5Handler' --handler 'APB_TRIGGER = iss_patches:APBTriggerFileHandler' --handler 'PIL100k_HDF5 = iss_patches:ISSPilatusHDF5Handler' --handler 'AD_HDF5 = area_detector_handlers.handlers:AreaDetectorHDF5Handler'

Example output:

Before merging we should get this working via
databroker ...

not just
python -m databroker.cli ...

We rely on scripts like iss_patches.py being importable from the CWD. Annoyingly, it seems like that using the proper CLI (databroker ...) breaks that somehow. I haven't run into this before.

This would benefit from automated tests, if not to ensure the code works now then to ensure it doesn't break in the future. I imagine this is difficult because of the dependencies on external services. The solution is to make it easy to generate simulated runs of bluesky documents.

Agreed.


add scalac option for java8

see #330

Also, scala-java8-compat dependency need to use invokedynamic and LambdaMetaFactory.
libraryDependencies += "org.scala-lang.modules" %% "scala-java8-compat" % "0.7.0"

cheers I missed the dependency

awesome :+1: :+1: :+1:
thanks @xuwei-k :wink:


Cleanup web3 handling

Even though there have been recent improvements, web3 is still not clearly handled.  #62 will make the situation a bit more complex too.
Either web3-adapter should assume more of the low-level roles (and leave display to renderer.js) or it should be merged into renderer.js.

Hm, should I just go ahead and resolve this as part of #62?

Well this is only my opinion where web3 belongs.
Perhaps having it a separate PR is cleaner, but not fully sure.

web3-adapter was merged into (new module) execution-handler in #62.

@axic Was this issue resolved by #62?


timestamp/time: have the option of sending an initial packet.

Signed-off-by: Gustavo Lima Chaves<EMAIL_ADDRESS>

Patch seems good removing "ignore_case" option.

Alright, fixing locally and merging. Thanks.


Confirm switch default is not False

Running on Windows 10 without -Confirm switch, you get prompted to confirm.  Based on that, I would say that the default value for this switch is true, not false.
Also, the syntax is -Confirm:$False to specify not to confirm.  It would be nice to show this example, because it's not an intuitive syntax like for path, target, etc.

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

ID: c85cdb14-7ddb-bb14-fa9e-b19e563cd80e
Version Independent ID: c6b90405-cd80-c45c-4812-dbc6100f6bfb
Content: Remove-DfsnRootTarget (dfsn)
Content Source: docset/windows/dfsn/remove-dfsnroottarget.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Hi @e0i  The PR #994 Solve this issue ! I updated the documentation for the confirm swhitch. Please review and Merge !

Content has had been merged.


How can i change this path with loadNuxt ?

When I run a nuxt app with express, I found the server always use this path for distPath. So can I change this path with config or programnal code.
https://github.com/nuxt/nuxt.js/blob/da318a5e1a2b191e5b5cb16ab248bd339099b8db/packages/vue-renderer/src/renderer.js#L59

Hi @zouhangwithsweet. You may use a nuxt module to replace via this.nuxt.server.renderer.distPath but consider that it is an internal prop and {buildDir}/dist/server is hardcoded in several places and there is no guarantee.
I would recommend for production pipeline, either exclude the rest of .nuxt (with Docker for example adding .nuxt/dist/server) or preserve directory structure of .nuxt (buildDir)

Hi @zouhangwithsweet. You may use a nuxt module to replace via this.nuxt.server.renderer.distPath but consider that it is an internal prop and {buildDir}/dist/server is hardcoded in several places and there is no guarantee.
I would recommend for production pipeline, either exclude the rest of .nuxt (with Docker for example adding .nuxt/dist/server) or preserve directory structure of .nuxt (buildDir)

Yes, I just copy the .nuxt into Docker folder. Thanks :)


npmcdn.com → unpkg.com

The site https://npmcdn.com/ has moved to https://unpkg.com/ (to refrain from using npm's name because of its trademark policy, I presume).
Their name's change should be reflected in README.

Thank you


Over resource limits on Streamlit Cloud

Hey there :wave: Just wanted to let you know that your app on Streamlit Cloud deployed from this repo has gone over its resource limits. Access to the app is temporarily limited. Visit the app to see more details and possible solutions.

The YouTube download feature has recently caused issues with Streamlit hosted resource limits. This is likely related to https://github.com/Bklieger/groqnotes/issues/4.
You can use the Replit hosted version instead:
https://groqnotes.replit.app


sudo apt-get update error

Hi there,
I did sudo apt-get update and got the following error, could someone please guide me on how to fix this? Thanks
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
sh: 1: /usr/lib/cnf-update-db: not found
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code

This isn't an issue with wslg, doesn't involve anything in the graphics pipeline from the looks of it

I guess it is because I updated from Win10 to Win11 with WLS2. Reinstalled Ubuntu and no error showing up now. Thanks

Resolving this one per above.


Question:

By any chance, is this library inspired by MUI or is it a port? Cause the documentation is a copy-paste of MUI and the components props are pretty similar if not identical.

It is heavily inspired by MUI and in some cases borrow heavily from the clear/concise MUI docs. However, I'll be shifting the scope to the ui.shadcdn.com model, focusing on components designed for easy copy-and-paste integration into apps.


Allow specification of cache

This allows for offline use of the search helper (e.g. in development situations) as a cache can be recorded before-hand and used if no connection is detected.

Cool, can you add a comment stating that in some situations you might want to warm the cache?
And add a test too so that we do not break this feature?

cc @dustincoates

@vvo Indeed. Will do both. :+1:

I'll take a look at that failing test. Doesn't seem related to what I added, so may take a little bit of time to pin down.

careful you commited the builded files, can you revert them?

@vvo Sorry, thought I was supposed to build before committing. Will revert and make those changes.

@vvo Let me know if this is in line with what you had in mind.

@vvo Let me know if this is in line with what you had in mind.

We're almost good, let me know, sorry for late reply

rebased into a single commit