[Bug] Fix can modify file which is not under resource path

Purpose of the pull request
Right now, user can use resource API to modify all files in the machine, this is not accepted.
This pr will fix this, user can only modify the resource file under resource path.
Brief change log

Add path restriction in the resource update path.
Remove some unused code.

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report
Attention: Patch coverage is 47.22222% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 38.54%.  Consider uploading reports for the commit 6ac4720 to get more accurate results

Files
Patch %
Lines

...heduler/api/service/impl/ResourcesServiceImpl.java
45.16%
17 Missing :warning:

...nscheduler/api/controller/ResourcesController.java
60.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15652      +/-   ##
============================================
- Coverage     38.57%   38.54%   -0.03%
+ Complexity     4792     4783       -9
============================================
  Files          1316     1316
  Lines         45043    44932     -111
  Branches       4823     4792      -31
============================================
- Hits          17374    17319      -55
+ Misses        25779    25734      -45
+ Partials       1890     1879      -11

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


Add: playwright support of web testing

In this PR, we

Added new end-to-end testing library Playwright
Added the capability of testing different types of browser, eg: Chromium, Firefox

How to test this feature:

At lib/web/autokin-web.js, uncomment the part of playwright and comment the part of puppeteer.
Created the feature test case under features/first.feature
Paste the test case below:

@autokin
Feature: My Feature
	As Autokin developer
	I want to verify that all API are working as they should

Scenario: My First Scenario
    Given that I use "firefox"
    Given that I have access to "someURLThatCanLogin"
    When I navigate to "/"
    Then I type "EMAIL" in field "#login-email-field"
    Then I type "PASSWORD" in field "#login-password-field"
    Then I click on "#button_login"

That should work and all steps should pass.
Please let me know if any help needed!

@ariesb Could you help me to merge this PR if you are available? 😄


ocamlPackages.mirage: reintroduce dev output

The changed dune install directive to install libraries to the dev
output was removed by mistake. cc @vbgl

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build ocamlPackages.mirage

Thanks.


Groundwork for porting the Plugins core entity to kong.db

This is the first half of the work porting the Plugins core entity to kong.db — Plugins is the last pending core entity using the old DAO; after this, the only core entity using the old DAO will be the deprecated Apis entity, as well as the non-core entities from Plugins, which are on the way to being ported as well.
This PR contains a number of features and fixes needed to port Plugins to kong.db, the new DAO infrastructure. This contains all the work that can be merged prior to "flicking the switch" and deleting the entity from kong.dao and adding the entity in kong.db.
This contains the minimal changes to the test suite to keep tests passing. Tests exercising the new behaviors added will appear in the second PR, in which the Plugins entity is ported over.

Builds succeeded even though the status is not updated in the PR - probably due to the current Travis issues.

BTW, it is nice to use a merge commit for such long-lived branches, as it makes the history somewhat more readable in those cases, and reverts get easier as well!


python311Packages.fastparquet: 2023.7.0 -> 2024.2.0, python311Packages.intake: 0.7.0 -> 2.0.3

Diff: https://github.com/dask/fastparquet/compare/refs/tags/2023.7.0...2024.2.0
Description of changes
Fix build (https://hydra.nixos.org/build/251064935)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

6 packages failed to build:

python311Packages.intake
python311Packages.intake.dist
python312Packages.fastparquet
python312Packages.fastparquet.dist
python312Packages.intake-parquet
python312Packages.intake-parquet.dist

8 packages built:

python311Packages.datashader
python311Packages.datashader.dist
python311Packages.fastparquet
python311Packages.fastparquet.dist
python311Packages.intake-parquet
python311Packages.intake-parquet.dist
python311Packages.pins
python311Packages.pins.dist

thrift is still using distutils.

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

4 packages failed to build:

python312Packages.fastparquet
python312Packages.fastparquet.dist
python312Packages.intake-parquet
python312Packages.intake-parquet.dist

10 packages built:

python311Packages.datashader
python311Packages.datashader.dist
python311Packages.fastparquet
python311Packages.fastparquet.dist
python311Packages.intake
python311Packages.intake-parquet
python311Packages.intake-parquet.dist
python311Packages.intake.dist
python311Packages.pins
python311Packages.pins.dist


Adopt static caching

Our Composer integration plugin currently has terrible performance. All php-tuf/composer-integration#87 does is reduce our network traffic (which, to be clear, is a good thing). We're still talking to the server a lot, and therefore blocking asynchronous operations.
I think we should add static caching. Because here's the thing -- do we really expect data downloaded from the server to change in the middle of a Composer operation? And, if it does, isn't that bad? Wouldn't it lead to inconsistency and failed validation, if the TUF metadata we've loaded into memory no longer matches what's coming from the server?
There are two places where I think static caching will give us a much-needed performance boost:

Loading data from the server. If we've already loaded something, then we should maintain it in memory, both for performance and consistency. If it needs to be refreshed from the server, well...that'll happen the next time the Composer plugin runs, since the static cache only lives in memory and has no persistence beyond the current PHP process. We can accomplish this by implementing a simple LoaderInterface decorator that implements a static cache, which the plugin should then take advantage of explicitly.
Figuring out which targets metadata contains the information about a particular target. If we have to search delegated roles, this can take an awful long time, and trigger another huge round of pinging the server. This should be an internal static cache of getMetadataForTarget() that maps a particular target name to an already-loaded metadata object.

Now, to be clear, both of these things could be done within the plugin itself. We don't have to do this in PHP-TUF. But IMHO it's good practice and we should provide it.

Superseded by https://github.com/php-tuf/composer-integration/pull/89.


Legend colors not correct

This is obviously a problem with my setup. Using the same code in the iOSChartsDemo project works as you would expect. But in my project it results in the bars being red and the legend being turquoise.

Really sorry waisting peoples time with this issue, but I don't see an obvious fix.
        heightChart.noDataText = "You need to provide data for the chart."
        heightChart.descriptionText = ""

        var dataEntries: [BarChartDataEntry] = []

        for i in 0..<dataPoints.count {
            let dataEntry = BarChartDataEntry(value: values[i], xIndex: i)
            dataEntries.append(dataEntry)
        }

        let chartDataSet = BarChartDataSet(yVals: dataEntries, label: "Units Sold")
        let chartData = BarChartData(xVals: months, dataSet: chartDataSet)
        heightChart.data = chartData

        chartDataSet.colors = [UIColor(red: 230/255, green: 0/255, blue: 0/255, alpha: 1)]

        heightChart.xAxis.labelPosition = .Bottom

        heightChart.backgroundColor = UIColor.clearColor()

        heightChart.animate(xAxisDuration: 2.0, yAxisDuration: 2.0, easingOption: .EaseInBounce)

My temporary fix is
heightChart.legend.setCustom(colors: [UIColor(red: 230/255, green: 0/255, blue: 0/255, alpha: 1)], labels: ["Units Sold"])

Please use ChartsDemo and reproduce it, so we can know what happens. But you said it's fine, it's about your setup. You may want to look at ChartsDemo code and the source code.


UEFI BIOS hacks detailed instructions

I'm currently using config-easy.plist and would like to give config-hard.plist a try, but the documentation does not inspire confidence. I understand what needs to be changed, and that there are two tools I can use to do so, but I'd definitely benefit from detailed step-by-step instructions, especially since the machine can be bricked if this is done incorrectly.
The README says:

Dortania OpenCore Post-Install guide has detailed instructions on how to use the RU.efi tool.

However, the linked page doesn't mention RU.efi and instead details a different method that involves a modified GRUB shell, leaving me worried I'd be missing something critical and end up bricking the machine.
I think it would be worth documenting this delicate procedure directly in the repository. I'd be willing to write the docs if I knew what I was doing. Any guidance?

Since these hacks are now removed from the README, does this mean that they're no longer required, even for power management improvements? Does the addition of AppleCpuPmCfgLock, AppleXcpmCfgLock and DisableIoMapper quirks solve the power management issue?
If so, we can close this!

It turns out this is actually super easy, and you can do it directly from OC without even entering the EFI shell.
Using setup_var, we need to run this command:
setup_var.efi 0x3c 0x0 -n CpuSetup -r

This can be done as a Tools entry in config.plist, I'll send a PR to do so. Thereafter, Kernel -> Quirks -> AppleCpuPmCfgLock and Kernel -> Quirks -> AppleXcpmCfgLock can both be disabled and the system boots with no problem!


tbwclose not  fired

I had to add
t.$c.trigger('tbwclose');
at the end of the 'destroy' function.

In fact, i've forget that line, thanks ^^
I will add this in next release.


auto reply

Hi,
i am thinking to use resend for a contact form in my next project. When submitting the form the admin should get an email with the inquriy but also the user should automatically get an auto reply. is that possible?

In your submission call where you are sending an email to the admin, the same way you can capture the user's email and send a response email back.

hey @maxkarkowski, from what I understand you can either send an email to both of them, or you can also the reply_to field, where you can specify a different email from the sender so when the user hits reply the correct one receives it!
closing the issue for now but feel free to reopen if you have any questions still


🚀 [Feature Request] - Update Searchbar Input from MUI to Tailwind CSS(Reduced build time)

Is your feature request related to a problem ? Please describe. ✍
We currently have a Searchbar component implemented using Material-UI (MUI) in our project. However, we've noticed that using MUI is causing longer build times and impacting our application's performance.
To improve the build process and overall performance, we propose updating the Searchbar Input component from MUI to Tailwind CSS. Tailwind CSS is known for its lightweight nature and utility-based approach, which should help us optimize our application's performance.
Benefits of the update:

Faster build times: Tailwind CSS is known to be highly performant and can potentially reduce our build times significantly.
Improved performance: By using Tailwind CSS, we can reduce the overall CSS footprint, leading to faster load times for our users.
Customizability: Tailwind CSS allows us to easily customize styles, which will give us more control over the Searchbar's appearance.

Describe briefly how you would implement this enhancement.
Action Plan:
1. Replace the existing MUI Searchbar Input component with the equivalent component using Tailwind CSS.
2. Update any necessary CSS styles to align with our application's design requirements.
3. Conduct thorough testing to ensure the Searchbar works correctly and maintains accessibility standards.

Additional context or screenshots

Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

@anmode,please assign me this issue,i have my pr ready to merge


maintenance status?

Is this project still maintained?

Hi, sorry, I have seen your PRs but currently lacking time to do any open source maintenance. My paid Rust work ran out and I probably won't get to look at it until I find another sponsor. If you need to use this at work, maybe your company could provide a small sponsorship, otherwise it will have to wait a while until I can find something.

Sorry, looking to use this for an open source project.
Darling is a little long in the tooth, so there's a real gap in the ecosystem that this project could fill


fix mypy errors after the 0.981 release

This fixes the ongoing mypy CI failure caused by yesterdays 0.981 release

BTW do the changes still pass with older versions of mypy?

BTW do the changes still pass with older versions of mypy?

Most likely, but I'll check. The annotations were wrong to begin with, but older versions of mypy didn't flag them yet. The new annotations should be correct and thus older versions should also accept them.


Move DeviceLimits validation checks into Core/Parameter_Validation layers

Move the stateful checks into CV and the stateless-ish checks into PV.  Note that this change leaves the DeviceLimits layer intact as it will be removed in a subsequent PR.

High level ?. You say you're moving the checks, but I don't see that device_limits.cpp/h are actually being removed. Is that coming in a separate commit or am I missing it? Also is there a corresponding update for desktop loader to modify LunarG standard_validation layer?

Tobin -- Yeah, I mentioned it in the PR description.  This is independent of removing that layer and the changes co-exist right now.  That'll be a separate patch series to follow.

Cherry-picked to Master.


Use the batch version of ValidateDocsMsPackagesFn

Refactor Update-DocsMsMetadata.ps1 to support batch processing in $ValidateDocsMsPackagesFn
It appears that only azure-sdk-for-java and azure-sdk-for-python implement $ValidateDocsMsPackagesFn.  Both repos have been updated to support the -PackageInfos parameter to $ValidateDocsMsPackagesFn

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Document changes

Loving the plugin, thank for it
It'd be nice to know what changes between versions (re: https://github.com/cihai/unihan-etl/pull/17 and https://github.com/emre/kaptan/pull/52)

It's part of the README and in the notes on the releases tab.

Right in front then.
Open to moving it to a CHANGES file and making available via RTD?
Other thing is setup.py could use some metadata for the github project too

Yes to all of those suggestions :)

The changelog is now on RTD and I've added some metadata to setup.py for pypi for whenever the next release comes out.


Battery Temp reporting large negative number 3Phase Low Voltage Deye

Even though certain batteries such as Pylontech has been verified to work correctly, it would appear that the reading has a different format that causes a negative number
Fix: Solve similarly than the Single Phase 15 and 16kW inverters.

Code fixed, to be released with the 4.6 release


Arrays mutations doesn't work

When adding new messages from phone, in desktop they appear empty. After reloading the wave, they appear right

When an array item is added, remote participants get an empty mutated item and the wavelet view gets inconsistent. Further changes from a remote participant are ignored

It might be not a bug, please check your code for following:

Documentation about event listener for arrays is wrong. The event listener will receive one only array as parameter on and ITEM_ADDED event:

_array.registerEventHandler(SwellRT.events.ITEM_ADDED,
function(arg) {
// arg is an array
arg[0]; // the index of new item in the array
arg[1]; // the new object
arg[2]; // (optionally) the old object in that index
});

Adding a new map to an array produces a ITEM_ADDED event with an empty map. This can explain this issue.

// 1) Paricipant A  adds a new Map to the array
_map = _array.add(_model.createMap()); //
_map.put("key", _model.createString("Hello World");

// 2) Participant B receive a ITEM_ADDED event with following argument:
arg[0] // Index of new item (the map)
arg[1] // The map object, without any field yet

I guess this is an angular-swellrt issue then? @atfornes

I also have checked the mutation event listener on maps and they are working normally. These are the steps I made:

Participant A create a model with an 'array' and shares it with Participant B
B register a listener for new items in 'array'
A add a new map 'map1' into the 'array'. Listener on B is triggered for new item 'map1'.
B register a lister for new items and changed items on 'map1'
A adds new pair  key,value on 'map1'. Listener on B is triggered for new 'map1.key'

I will check angular-swellrt for this problems

I have research on this further.
It seems to be a race condition or asynchronous management problem. The following code reproduces the issue:

Open a client and login with an user user1 and execute the following code:

var mod;
var list;
SwellRT.createModel(function(m){
  mod = m;
  list = mod.createList();
  mod.root.put('list', list);
  mod.addParticipant('user2@local.net');
})

Open a different client and login with user2 and run the following code:

var list;
SwellRT.openModel('use_wave_address_previously_created', function(mod){
  list = mod.root.get('list');
  console.log('list', list);
  list.registerEventHandler(
    SwellRT.events.ITEM_ADDED,
    function(i){
      console.log('list item added', i);
      i[1].registerEventHandler(
        SwellRT.events.ITEM_ADDED,
        function(field){
          console.log('object field added', field[0], field[1]);
        });
    });
});

With the first client copy and execute the following code (copy and execute all lines, not one by one)

var map1 = mod.createMap();
var value1 = mod.createString('value1');
list.add(map1);
map1.put('key1', value1);

Unexpected behavior!! in client 2 you will se only a log of the list item added similar to list item added ["0", Object]

With the first client copy and execute the following code (copy and execute all lines, not one by one)

var map2 = mod.createMap();
var value2 = mod.createString('value2');
list.add(map2);
setTimeout(function(){
  map2.put('key2', value2);
}, 1000);

Correct Behavior: This code is equivalent (except for the timeout waiting) to previous one, but in the second client you will see the expected logs: list item added and object field added
Furthemore, if you copy the previous two fragment codes and execute togheter, only the first list item added will be logged.
I have done a git bisect and apparently the first wrong commit is ed89f8c (previous 4 did not compile)

It seems that mutations on the XML document (the underlying map storage) are not received in the client in the right order,
(map+LNpLxYNA9oB) Doc Event CI:<entry k="keyV2" v="str+0"></entry>
(map+LNpLxYNA9oB) Doc Event CI:<i v="valueV2"></i>

in this case, we can't retrieve actually the value "valueV2" (str+0) when the map entry is updated. The fix take this into account to trigger map events when all info has been received.

Plz @atfornes could you test it on teem? thanks


Use @testable

See #1007

Thought we were already using testable?

@heshamsalman Valid point, I remembered making the change but couldn't remember if it got merged or not. The issue is we now need to do a mass project file change and untarget everything from the Tests target.
That way the recent unit test failures won't happen again! (because @testable means its unnecessary)


DSA : Added Disjoint Set Union

Description 📜

Added Documentation for Disjoint Set Union (Under Union Find)
Added all the Coding Problems available for the same concept
Fixes #1164

Can you review this, @nimisha-yadav. Thank you !

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] DSA

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hi @hariketsheth, if you're in DSA, please send in your DSA batch number while creating issues/PRs. I don't see your name in the DSA contributor list so do send in your serial number in the list for future issues/PRs.
Assuming you're in DSA then as we have mentioned, contributors can only create issues/PRs for topics mentioned in the Week Agenda and for the initial week it is Array and Analysis of Algorithms. You may save this documentation for upcoming weeks. For now, feel free to create issues pertaining to Week 1 topics provided they have not been covered already, check DSA Label. I'm closing this PR for now, but do not hesitate to reach out in case of any doubt, all the best :)

Also, your documentation was really structured and well-compiled, good work on that. Save this and it would definitely be considered once we work on this topic in the upcoming weeks!

Hi @hariketsheth, if you're in DSA, please send in your DSA batch number while creating issues/PRs. I don't see your name in the DSA contributor list so do send in your serial number in the list for future issues/PRs.
Assuming you're in DSA then as we have mentioned, contributors can only create issues/PRs for topics mentioned in the Week Agenda and for the initial week it is Array and Analysis of Algorithms. You may save this documentation for upcoming weeks. For now, feel free to create issues pertaining to Week 1 topics provided they have not been covered already, check DSA Label. I'm closing this PR for now, but do not hesitate to reach out in case of any doubt, all the best :)

Ohh I will follow the Agenda, I missed to check that out.
Also, I am not in the DSA batch but I am really interested to contribute to DSA alongwith my actual batches. So, is it possible for me to contribute in DSA ?

Ohh I will follow the Agenda, I missed to check that out.
Also, I am not in the DSA batch but I am really interested to contribute to DSA alongwith my actual batches. So, is it possible for me to contribute in DSA ?

In that case, I'm afraid you can't contribute to DSA. Feel free to fill up the form in server ann channel if you're facing any issue regarding domains.


Segmentation fault (core dumped) error

I install PotreeConverter on Ubuntu Server 16.04.3 using https://github.com/potree/PotreeConverter/issues/180#issuecomment-322482676 instructions.
When I run conversion command:
$ PotreeConverter -i vrs.las -o ~/tonnel -p index --material RGB
I receive error:
Segmentation fault (core dumped)
Test data: https://senseflycom.s3.amazonaws.com/datasets/ebee-rtk/point cloud/vrs_accuracy_2_5cm_densified_point_cloud.zip

Does it work without the -p argument?

For test data https://senseflycom.s3.amazonaws.com/datasets/ebee-rtk/point cloud/vrs_accuracy_2_5cm_densified_point_cloud.zip when I use command
$ PotreeConverter -i vrs.las -o ~/test -p index --material RGB
I receive the error:

When I run command without '-p index' option
$ PotreeConverter -i vrs.las -o ~/test --material RGB
conversion work succesfully.
I have 'xyz' file (10.3Gb, from laser scanner), - this file I succesfully convert using PotreeConverter 1.4 version.
Now I try convert this file using updated PotreeConverter 1.5 version using command:
$ PotreeConverter -i test.xyz -o ~/test01 --material RGB
I receive error:

Also some error for another types of material (INTENSITY, SOURCE)

Did you copy PotreeConverter/resources to the directory of the binary?

I did not copy earlier PotreeConverter/resources to the directory of the binary.
Now I copy ~/PotreeConverter/PotreeConverter/resources to ~/PotreeConverter/build/PotreeConverter
but the error remained

I have the same problem. Compiled on a bare Ubuntu 16.04 LTS server, when I run PotreeConverter it segfaults:
jan@sv-mockup:[potree_test] $ ./contrib/PotreeConverter/build/PotreeConverter/PotreeConverter -i test/shipwreckSmoothedCloud_03.ply -o public/
== params ==
source[0]:         	test/shipwreckSmoothedCloud_03.ply
outdir:            	public/
spacing:           	0
diagonal-fraction: 	200
levels:            	-1
format:
scale:             	0
pageName:
projection:

Segmentation fault (core dumped)

It seems to be a problem in the file reader:
an@sv-mockup:[potree_test] $ strace ./contrib/PotreeConverter/build/PotreeConverter/PotreeConverter -i test/shipwreckSmoothedCloud_03.ply -o public/
execve("./contrib/PotreeConverter/build/PotreeConverter/PotreeConverter", ["./contrib/PotreeConverter/build/"..., "-i", "test/shipwreckSmoothedCloud_03.p"..., "-o", "public/"], [/* 21 vars */]) = 0
brk(NULL)                               = 0x228f000

(...)

write(1, "== params ==\n", 13== params ==
)          = 13
write(1, "source[0]:         \ttest/shipwre"..., 55source[0]:         	test/shipwreckSmoothedCloud_03.ply
) = 55
write(1, "outdir:            \tpublic/\n", 28outdir:            	public/
) = 28
write(1, "spacing:           \t0\n", 22spacing:           	0
) = 22
write(1, "diagonal-fraction: \t200\n", 24diagonal-fraction: 	200
) = 24
write(1, "levels:            \t-1\n", 23levels:            	-1
) = 23
write(1, "format:            \t\n", 21format:
) = 21
write(1, "scale:             \t0\n", 22scale:             	0
) = 22
write(1, "pageName:          \t\n", 21pageName:
) = 21
write(1, "projection:        \t\n", 21projection:
) = 21
write(1, "\n", 1
)                       = 1
stat("test/shipwreckSmoothedCloud_03.ply", {st_mode=S_IFREG|0755, st_size=27815798, ...}) = 0
stat("test/shipwreckSmoothedCloud_03.ply", {st_mode=S_IFREG|0755, st_size=27815798, ...}) = 0
stat("test/shipwreckSmoothedCloud_03.ply", {st_mode=S_IFREG|0755, st_size=27815798, ...}) = 0
open("test/shipwreckSmoothedCloud_03.ply", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=27815798, ...}) = 0
read(3, "ply\nformat binary_little_endian "..., 4096) = 4096
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Before I am going to dig deeper I would like to know if I inadvertently did something stupid...

I also experience the segmentation fault error when trying to load .ply file. I am using the latest release (version 1.5), and  my computer is running Ubuntu 16.04 LTS.
I also installed the complied version (version 1.5) for Windows on my Windows 7 machine, and I seem to experience the same error: segmentation fault when trying to load .ply file.
I also tried version 1.3.1 on my Windows 7 machine, and this version was able to load .ply was without any problems.
Any ideas/methods to fix?

I have the exact same issue.
I'm running Ubuntu 16.04 and also tried the docker Image.
For me its not possible to read *.ply data (ASCII nor BINARY)

XYZ FILES are Not Process
./PotreeConverter.exe C:/wamp64/www/PotreeConverter2/PotreeConverter_1.5_windows_x64/teknikrum_finger_a_fine**.xyz** -o C:/wamp64/www/PotreeConverter2/PotreeConverter_1.5_windows_x64 --generate-page pageName

This may help you https://github.com/potree/PotreeConverter/pull/283

Hi,
I'm using Ubuntu 16.04. Had the same issue with segmentation fault.
In the main.cpp file line 72 you'll find: args.addArgument("source,i,", "input files");
remove the extra comma so it looks like this:   args.addArgument("source,i", "input files");
This ended the segmentation fault issues for me.
Thanks

Similary to @EmilWine's suggestion, after PotreeConverter in command I define input file without -i flag. So instead PotreeConverter -i inputFile.laz ... I use PotreeConverte inputFile.laz ... which in my case solved segmentation fault problem.

Strangely the solution from fgilic solved the problem for me too. (Ubuntu 18.04):
This doesn't work (Segmentation fault):
PotreeConverter -i inputFile.las
This works:
PotreeConverter inputFile.las


Prints undefined and all posts are still there.

Here is the output from the console:

I would need your twitter handle to check this out. Could you send it by email to<EMAIL_ADDRESS>?

I would need your twitter handle to check this out. Could you send it by email to<EMAIL_ADDRESS>?

i had this issue as well, my handle is @serialartistry if it helps

same issue here 😞

same issue


"string-quotes": "double" seems to be broken

I ran prettier on my less files using --string-quotes false in the CLI.
When I run prettier-stylelint with --string-quotes false in CLI or "string-quotes": "double" in .stylelintrc.json, it ignores that and sets everything to use single quotes anyway.
I think I may be related to this code:
    if (rules['string-quotes']) {
        const quotes = rules['string-quotes'][0];

        if (quotes === 'single') {
            prettierOptions.singleQuote = true;
        }
    }

If the quotes rule is not single, it won't be defined at all, when it should actually be false, perhaps?

Never mind this issue, I had defined single in package.json for some reason. Removed it and it's working.


Feature: configurable connectors for AWS clients

Motivation and Context

#1225
Description

This PR implements the ability to configure an HTTP connector on SDK and Service configs. If a service client is then created by calling Client::new, the connector will be used when making requests. This is especially useful for replacing the connector when testing. An abridged example is included in the changelog. This also updates S3 and S3 Control integration tests to make use of this new feature.
Testing

I wrote a test.
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

PR to update the example that this change would break


onnx do not support conv weight from symbol

if weight is from another node
will raise exception
def _fix_channels(op_name, attrs, inputs, proto_obj):
"""A workaround for getting 'channels' or 'units' since onnx don't provide
these attributes. We check the shape of weights provided to get the number.
"""
weight_name = inputs[1].name
if not weight_name in proto_obj._params:
raise ValueError("Unable to get channels/units attr from onnx graph.")

Hi @glingyan , thanks for your issue. We will consider this as a feature request. @anirudhacharya @Roshrini can you take a look at this? @nswamy can you add label as ONNX?

@glingyan thank you for reporting the issue. Can you please share your complete use case. And the share the ONNX model you are trying to import.

https://github.com/r9y9/wavenet_vocoder/
https://www.dropbox.com/s/zdbfprugbagfp2w/20180510_mixture_lj_checkpoint_step000320000_ema.pth?dl=0
https://www.dropbox.com/s/0vsd7973w20eskz/20180510_mixture_lj_checkpoint_step000320000_ema.json?dl=0

I modify both pytorch and mxnet to successfully import the model

support Norm
to fix the issue, I bypass in torch to pass input size as attr
def mul(g, self, other):
See Note [Pointwise by scalar]

return g.op("Mul", self, _if_scalar_type_as(other, self), **_broadcast_if_scalar(other))

return g.op("Mul", self, _if_scalar_type_as(other, self), **_broadcast_if_scalar(other), self_i = self.type().sizes())

change reshape in pytorch

return g.op("Reshape", self, shape)

#shape = g.op("Constant", value_t=torch.LongTensor(size))
#return g.op("Reshape", self, shape)
return g.op("Reshape", self, shape_i=size)

fix split issue
def split(g, self, split_size, dim):
@@ -491,7 +492,8 @@ def _convolution(g, input, weight, bias, stride, padding, dilation,
# symmetric padding
"pads_i": padding + padding,
"dilations_i": dilation,

         "group_i": groups}

         "group_i": groups,

         "out_channel_i":  weight_size[0]}

please use pytorch v0.4.0, latest pytorch have big change on onnx,  and shape is also a operator, the graph increase 100% node size,

actually for wavenet it is not a good reason to use onnx


Update CI

Adds dependabot support, so you will get notified of the github actions updates.
Switches to julia-cache (might help with the recent CI failures) and julia-docdeploy actions.

Sorry, I previously missed your PR! Looks great, I will get to merging it (and the other one) & making a new release by the end of the week.

@Maximilian-Stefan-Ernst Thank you! FYI, I have few other tweaks in my pipeline, I will publish them as they would be ready, if you don't mind :)


rename + split up

log reading
Soon this project will support reading ELB logs (it already does, to some extent.) Let's rename - it's still getting everything from S3 and expecting AWS logs, so we could do something like aws-log-reader. We also have https://github.com/mapbox/log-reader (cc @tmcw) - I wonder if we should take over this namespace or combine these projects.
preparing
A bunch of these streams do some kind of preparation - extract paths, filter by regex, sample, etc - I'm ok with keeping preparation/transforming under the name "reader," unless there are objections.
replaying
Right now we also provide a stream for replaying logs against a given host, which doesn't make sense at all with the name "cloudfront-log-reader." Let's move this into a new repo and expand its functionality. "log-replayer" could go nicely with "log-reader"..... or "log-replay" / "log-read"??? D:
Thoughts, anyone? @yhahn @ianshward @willwhite

Hmm, so one thing that I never circled back to refactoring out was updating s3scan to make use of the new gzip scan functionality (https://github.com/mapbox/s3scan/pull/14#issue-140786857).
This would essentially melt away the log reading part of cf-log-reader I believe leaving just the prep / replay part.
log-replay makes sense to me -- I wonder if ^^ changes the naming convention of the tool for doing prep though if "reading" can now be handled 100% by s3scan?


Setup project?

Hi @breandan, I'm trying to make this project work in IntelliJ 15, but I have no idea how to enable the Kotlin code. It seems to be missing the Kotlin SDK/libraries, but how do I fix that?

Hi Erik, do you have the latest version of the Kotlin Plugin enabled? I could be mistaken, but that should be the only requirement.

I think so, I'm using the bundled version of IntelliJ 15. (see screenshot)

I checked out the repo,
changed the project SDK to IDEA IC-139.224.1 (Java 8),

and that's it. Maybe step two is incorrect? I can find the IntelliJ classes, but just not the Kotlin ones, and I see no option to add it. Creating a new project with Kotlin support is no problem.

Hmm, that's unusual. It should automatically detect the Kotlin classes when your IDE loads the project. I was able to successfully build the project on a clean install of IntelliJ IDEA CE 143.382. When first launching the IDE, I added a JDK, and the IntelliJ Platform Plugin SDK (as described in the SDK Docs), then it was able to build the project with no further configuration required.

There must be some reason why it does not detect the Kotlin files in your project, however you can still try to force IntelliJ IDEA to recognize them. What happens when you select Tools | Kotlin | Configure Kotlin in Project?

I recently untracked the idear/.idea/workspace.xml file, but when the project is sucessfully configured, that file should contain a section that looks like this. If all else fails, you could try pasting directly, but normally we don't recommend editing the .idea/* files directly.
<configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
  <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  <option name="MAIN_CLASS_NAME" />
  <option name="VM_PARAMETERS" />
  <option name="PROGRAM_PARAMETERS" />
  <option name="WORKING_DIRECTORY" />
  <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  <option name="ALTERNATIVE_JRE_PATH" />
  <option name="PASS_PARENT_ENVS" value="true" />
  <module name="idear" />
  <envs />
  <method />
</configuration>

Ah, yes, there it is! If I do Tools -> Kotlin -> Configure Kotlin, then it fixes most of the issues; now the Kotlin code is found.
However, there is still one issue left now, and that is that the code doesn't compile. I think I know why that is. This is caused by the AceJumpAction:
Error:(35, 13) Kotlin: Class 'AceJumpAction' must be declared abstract or implement abstract base class member public abstract fun<EMAIL_ADDRESS>p0: com.intellij.openapi.actionSystem.AnActionEvent): kotlin.Unit defined in com.intellij.openapi.project.DumbAwareAction

So, I guess this code doesn't work with IntelliJ 14, but only with 15?

Based on your prior screenshot, it looks like we're on the same version of the Kotlin plugin, which means we're also using the same compiler. It might be an issue with IntelliJ IDEA 14*, but in theory it shouldn't matter which version of IntelliJ IDEA you are using, as long as it uses the same compiler.
*Have you applied for an Open Source license to IntelliJ IDEA 15? Surely you must be eligible...

I think you are right that it shouldn't matter, but this is the problem:
override public fun actionPerformed(p0: AnActionEvent?) {

IntelliJ tells me this doesn't override anything, so I thought the actionPerformed method was only added in a later version of IntelliJ. However, that's not the case. The real method to override is this:
override public fun actionPerformed(@NotNull p0: AnActionEvent) {

So, the @NotNull is the issue here. The same for the update method. I don't know why this is, and why you are not affected by it. If I change the signature, this class compiles, but I run into a new issue, and that is that the Logger cannot be found. It doesn't seem to be included in the lib folder either, but this is actually a separate issue.

(And no, I haven't applied for the OS license yet... I can do that, thanks for the tip!)

Now I know what's going on: we're using different SDKs. These method signatures recently changed in IntelliJ IDEA 15, and that's why you're seeing the override error. Furthermore, slf4j was only recently added to the platform, so you don't yet have that dependency.
I've just added gradle support in dca38a97f797eea2bd29b32a64fe483b5f347ae5, so that (hopefully) we don't have to worry about the SDK environment. To run the plugin, you just need to execute gradlew runIdea from the root directory. I'm using Gradle 2.9 running on Java 1.8.0_45 - which is sort of the same problem as before, although marginally better. ;)

I'm giving up, this is going nowhere.
I did a fresh clone, ran gradle runIdea, "works". Works as in: starts up. I haven't managed to let IntelliJ recognize a single command.
Then I opened the project in IntelliJ 15, and nothing is working. I don't have a Project SDK, the code is not compiling, etc. I was hoping the Gradle support would fix it and I could just open the project in IntelliJ, but it seems I ran into the same problems as before, and it gets a little frustrating.

And this is the result of running './gradlew runIdea': https://www.youtube.com/watch?v=rQlgH9D2rJA

@bodiam you should not just open the project, you should select create from sources option and  later import that from gradle.
Will take a look at the problem tonight.

Hi @alexeykudinkin , thanks for the help, but what's the difference?
I tried your suggestion, and while I lost my run configuration and the project is imported with the wrong language level, it seems to work now. At least the code compiles, and manually adding the gradle run configuration works.
The plugin itself doesn't work, though I see my shouting in the logs, the stacktraces still happen, and nothing else. Also this message is a bit weird:

@bodiam seems weird, will investigate.

@alexeykudinkin Thanks! If I need to check something, please let me know!

Closing this ticket, as the project setup has significantly improved since 2015. Feel free to open a new issue if you encounter any new issues. Thanks!


EI 1025 996 display new agreement required content on view applications page

This PR is no longer required, as this branch merged into BaseBranch_EI-996-990-1025 and tested together with other 990 & 1025 changes. BaseBranch_EI-996-990-1025 has been merged.


does it suitable for classification framework?

great code and paper thanks
only
does it suitable for classification framework
dichotomy of positive vs. negative outcomes in populations
for example from 1000 sequences
200 belongs to class YES
and
800 belongs to class NO
then
1
find patterns from YES belongs to YES but not to NO
2
find patterns from NO belongs to NO but not to YES

Exactly!
This is the approach presented in our Dichotomic Pattern Mining (DPM) framework, see Frontiers'2022 and AAAI'22
If you look at the Quick Start Example in the Readme, you can see that we can mine for patterns from POSITIVE and NEGATIVE outcomes. Then one can look at frequent patterns that are unique to pos/neg, or in common between pos/neg, or their union. This is exactly what dichotomic_pattern_mining() method returns.
Then, we can take these patterns and "re-encode" the sequences as 1-hot binary encodings denoting whether the sequences exhibit frequent patterns found.
This reverse encoding process of turning sequences into feature vectors is quite complicated actually. That's why we provide the Pattern2Feature() functionality and the get_features() method.
These 0-1 encoded vectors can be used for downstream machine learning tasks for classification, as in your example.
Our papers use this Dichotomic Pattern Mining framework for classification of digital behavior for intent prediction and intruder detection etc.
The cool/novel thing is, one can use standard ML algorithms (e.g., XBOOST) that are not designed to work with sequential data to work with sequences thanks to this transformation. It turns out, this actually works quite well/competitive compared to LSTM, RNNs etc. while remaining "interpretable".
I will add more annotations to Quick Start DPM example and there is also a corresponding DPM notebook that you can use
Hope this helps!
Serdar

Great thanks
It would be nice to add xgboost example , since in paper there is no xgboost
From start to end example will help to understand what exactly needs to be done

For example
In real data
Sequences may be very long
Let's say 1000 tokens
Then some limitation needed to prevent to be in the same pattern building process
tokens located very far each from another
For example
In one given sequence
If token a located very far from token b
Then these a and b should not be influencing on pattern calculations...

Then one can look at frequent patterns that are unique to pos/neg,
BUT lets say pattern ABC
Existing 1234 times in positive data
Existing 5 times in negative data
Then why to eliminate this ABC from classifier tuning?

For example In real data Sequences may be very long Let's say 1000 tokens Then some limitation needed to prevent to be in the same pattern building process tokens located very far each from another For example In one given sequence If token a located very far from token b Then these a and b should not be influencing on pattern calculations...

Yes the aforementioned limitation can be applied by using a maximum span constraint on the indices of items in a pattern, for which we have added as a default constraint and users can set max_span to control the limit of span when initializing seq2pat, see this line. I think on the other way around, user may also use minimum span to explore patterns particularly with larger span in between.

Then one can look at frequent patterns that are unique to pos/neg,
BUT lets say pattern ABC Existing 1234 times in positive data Existing 5 times in negative data
Then why to eliminate this ABC from classifier tuning?

This is basically hinting that the ABC pattern may neither be frequent in positive or negative, but the occurrences are quite different, then there might still be a value to include the pattern in classifier? This might need some further analysis when we compare the patterns between pos/neg groups. I agree that an enough significant difference between the pattern's occurrences while comparing two groups might have a contribution to classifier, but if they are not frequent enough, then the process would also suffer from too many arbitrary patterns and/or it tries too hard to capture too much noises, which we would want to avoid.

Sure
Thanks


Move constants in code into config.properties

I kinda forgot about this issue, and thus wasn't tagging commits for it. I think this is pretty much done.


:bug: reset from the GRUB menu on alpine, gets stuck in an endless loop

If you try to reset alpine amd64 via the grub menu, the system gets stuck in an endless loop. The reset does work, so if you manually restart the machine after it has finished the copying process, then you can boot in the right reset system.

confirmed, it ends the reset and it starts again!

makes sense as we set the tty to be the reset, so if at the end it doesnt reboot, it will just start the same process again and again as its a tty process set in /etc/inittab

this is still an issue in v3.1.0, reopening

wtf

looks like a different problem, its trying to find the shim to copy it into place, but alpine doesnt ship a shim?
1970-01-01T00:03:17Z INF Copying /run/initramfs/cos-state/cOS/recovery.img source to /run/cos/state/cOS/active.img
1970-01-01T00:03:26Z INF Finished copying /run/initramfs/cos-state/cOS/recovery.img into /run/cos/state/cOS/active.img
1970-01-01T00:03:34Z INF Using grub config dir /run/cos/active/etc/cos/grub.cfg
1970-01-01T00:03:34Z INF Copying grub contents from /run/cos/active/etc/cos/grub.cfg to /run/cos/state/grub2/grub.cfg
1970-01-01T00:03:34Z INF Generating grub files for efi on /dev/sda
1970-01-01T00:03:35Z WRN did not find grub font ascii.pf2 under /run/cos/active
1970-01-01T00:03:35Z WRN did not find grub font euro.pf2 under /run/cos/active
1970-01-01T00:03:35Z WRN did not find grub font unicode.pf2 under /run/cos/active
1970-01-01T00:03:35Z INF Unmounting disk partitions
1970-01-01T00:03:36Z ERR failed to reset: 1 error occurred:
        * could not find any shim file to copy

So.... no idea what we should do here

This si weird because during install we also call the same method so a shim should exist somewhere? Maybe the install is also failing...

hmm since we don't install on rpi, I didn't test that ... but I am not sure it was giving me any error, it was just looping

oh I see, during ISO build we try to find the shim and grub.efi in the base OS (for secureboot) and if not we go into the fallback artifacts, which are provided by luet packages.
In ISO building that its ok, but for arm images...enki is not there to copy the fallback part, so its not shipping the efi files.
We may need to add them in the build arm image script or make the agent NOT try to copy them if we are on rpi+alpine


Refactor annotation rendering

As it was discussed in the https://github.com/mozilla/pdf.js/pull/8625 this is a first commit from the series of changes were I'm adding rendering of font properties and color features for input wizard annotations. This commit doesn't contain any functional changes rather code refactoring. As it was already discussed in more details we need an additional worker to parse annotation AcroForm dictionary. I created a dummy one called AnnotationWorkerTask in order to reduce number of potential regressions, but it might be possible to re-utilize the standard worker although it doesn't seem like we have any performance penalties with additional one.
This commit also contains updated unit-tests.

Hi!
I simplified this commit as much as possible and rebased this commit. Now it contains asynchronous annotation parsing as it was proposed above.
QQ - can be keep reviewing in this thread or it'd better to close this request and open a new one?

Hi, All!
Is there any news on code review?

Hi, updated commit is pushed into branch

Thank you! I'll ty to re-check this during the weekend. I think that will result in the final set of comments and then we should be good to merge this.

First of all, thank you very much for such a throughout code review, it helped me to understand my changes a way better :-)
All proposed changes are committed, 2 commits are rebased. I ran all the tests successfully including the rendering the file 'annotation-text-without-popup.pdf' which had a null annotation element.

Hi, guys!
What is the next step for this PR? Should it be merged first or I can add another commit?

@dmitryskey Sorry, I forgot about this since we're working hard to finish PDF.js version 2.0. You now have a merge commit above, which is usually what we try to avoid. You should use Git rebase instead so you can rebase onto the latest master without a separate merge commit. Other than that, I think code-wise the patch looks good. If the merge commit is gone, I would like to do some final testing an then we can merge it.
@yurydelendik Since this is an API change, should we target it for inclusion in version 2.0 or should we merge it afterwards?

Hi!
I merged with the latest code in the master and combined my changes into single commit. All tests were passed.

Is this landing at any time soon?

Now that 2.0 is in pre-release, let's put this in a 2.1 release.
@timvandermeij do you want to finish review and merge?

Yes, I'll probably have time for this during this weekend.

Can I close this pull request because of merge?


Fix Solana Stablecoins

Logic rework. Previously we were assuming mints/burns could only happen in premints, so we were tracking net outflow from premints as supply.
However, we discovered the above assumption is not true.
Consequently, new formula works as follows:

CIRC_SUPPLY = TOTAL MINTS OUTSIDE OF PRE-MINTS - TOTAL BURNS OUTSIDE OF PRE-MINTS + NET OUTFLOW OUT OF PRE-MINTS TO EOAs

Bit urgent given there is customer impact here - I've tested extensively locally
Going to merge, but feel free leave feedback. Will monitor job outputs tomorrow.


Connector documents with TLS (no wallet)

Hello Blake,
Please resolve the conflicts in file
tableau-desktop/tableau-dekstop/tableau-desktop.md


Question and remarks about the quality of face comparison.

Hi Serengil, thank you for your work!
I have a question: I see that face comparisons are done using 'embeddings' vectors. Would it be possible to obtain these vectors from multiple photos instead of just one? Wouldn't the comparison be more accurate that way?
Below, I calculated the median of the vectors from these 5 photos in the 6th position: we can see that even though it's the same person, there are differences between the obtained 'embeddings'.

Also, I noticed that the face comparison is not very accurate and sometimes produces false positives (depending on the model and distance metric used). Perhaps I'm not doing it correctly?
In the example below, metrics preceded by the character '✔' indicate that the 'Model / Backend / Metric' triplet finds a match between the two photos, while the character '✘' indicates that the faces belong to different individuals. We can see that in some cases, the 6th photo is associated with the other 5 photos even though it's not the same person. I also find that the 'percentage of face similarity' is not very high. Is there a way (maybe using a different model?) to improve all of this?

Thank you! 😊

short answer is no. because this is one shot learning example. it is not designed to work with many faces.
you can try to find the average of many vectors, or concat vectors but it will not work.


Fix references to undefined this

https://github.com/thelounge/lounge/commit/79eb83d82ff48a58aac7bc1bd6a44ece5ef85dcc introduces a couple uses of this in a function that doesn't know about the channel.
I preferred to pass the channel instead of making this part of the prototype (and therefore exporting it) but I can switch to that otherwise.

@astorije I think prototype is better suited here (think private function in a class). Also, oops.

think private function in a class

What do you mean, I don't think it's possible to have a private member, is it?

It is possible in an actual class, I just suggested that prototype is better here than passing references in the same file.

Actually, nothing .call() can't fix 😁
That way, still private, can still use this. What do you think?
It looks like private methods are an ES7 thing, and just not very pretty syntactic sugar over .call (same code, just this::writeUserLog(client, msg)).


Unable to install this very package

Hello.
I'm from South East Asia and I have tried installing this over
npm install --save openrecord pg

It hangs and npm won't continue
As a work around, I tried:
cd node_modules
git clone git@github.com:PhilWaldmann/openrecord.git
cd openrecord
npm install

I think one of the packages within your package.json is causing the install to hang. Can I get some help identifying which, and what to do? I'd also like if installing it in your region works, after you have cleaned your npm cache.

Hi Jekku,
I know, some dependencies are outdated (something I want to fix in the coming weeks), but I can't find any problem installing the package. Unfortunately I don't have any influence on the regional distribution of npm. It's working fine in Europe.
do you have any logs (npm-debug.log)? Maybe you experiences a short network timeout.

It doesn't spew out pieces of STDERR, it hangs. Thus, no npm-debug.log. I'll try to wait it out for 30mins to an hour. God, third world internet is really horrible.

It installed JUST NOW O.o Closing this up. thanks anyway!

Glad to hear that it's working now for you!


Update 1.1.9

Bugfixes
Some Refactorings
JSON Primitive Data Types are considered now
Table Search Field added
Table Filter Info Label added

closed due to missing html disable properties


chore: attempt 2 to fix renovate config

Fixes #1250

@mayurkale22 I would say go ahead and don't wait for any approvals for changing the renovate bot config.
This way you will able to test what is working and what not much faster.


Bundling not work for me in Azure

Any ideas why in Azure the ScriptBundle not works? I have local version with Web.config

In Azure, with the same config the script minification and bundling is not executed. The only difference is that in Azure, I have a master Web.config with connection string separated per location, and in a subdir the normal application with the standard Web.config

I found the error: in my output script\site dire is missing the ScriptBundles.json file. Now it's ok.


dejavu-ttf: new package at 2.37

Description of package
The DejaVu fonts are a font family based on the Vera Fonts.
This package solves my issue with cups-filters #794
Installed manifest of package
/var/db/kiss/installed/dejavu-ttf/version
/var/db/kiss/installed/dejavu-ttf/sources
/var/db/kiss/installed/dejavu-ttf/post-install
/var/db/kiss/installed/dejavu-ttf/manifest
/var/db/kiss/installed/dejavu-ttf/checksums
/var/db/kiss/installed/dejavu-ttf/build
/var/db/kiss/installed/dejavu-ttf/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/share/fonts/TTF/DejaVuSerifCondensed.ttf
/usr/share/fonts/TTF/DejaVuSerifCondensed-Italic.ttf
/usr/share/fonts/TTF/DejaVuSerifCondensed-BoldItalic.ttf
/usr/share/fonts/TTF/DejaVuSerifCondensed-Bold.ttf
/usr/share/fonts/TTF/DejaVuSerif.ttf
/usr/share/fonts/TTF/DejaVuSerif-Italic.ttf
/usr/share/fonts/TTF/DejaVuSerif-BoldItalic.ttf
/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf
/usr/share/fonts/TTF/DejaVuSansMono.ttf
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf
/usr/share/fonts/TTF/DejaVuSansCondensed.ttf
/usr/share/fonts/TTF/DejaVuSansCondensed-Oblique.ttf
/usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf
/usr/share/fonts/TTF/DejaVuSansCondensed-Bold.ttf
/usr/share/fonts/TTF/DejaVuSans.ttf
/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf
/usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf
/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf
/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
/usr/share/fonts/TTF/DejaVuMathTeXGyre.ttf
/usr/share/fonts/TTF/
/usr/share/fonts/
/usr/share/
/usr/

New package

[x] Latest upstream version.
[x] I agree to maintain this package.
[x] I agree to notify @dylanaraps if I can no longer maintain this package.

Could this same issue not be solved by installing any font? There are a bunch in the repositories.
/home/dylan/projects/repo/extra/liberation-fonts
/home/dylan/projects/community/community/font-awesome-otf
/home/dylan/projects/community/community/font-awesome-ttf
/home/dylan/projects/community/community/iosevka-nerd-fonts
/home/dylan/projects/community/community/terminus-font
/home/dylan/projects/community/community/unifont

I have installed this fonts, and the problem persists, until i install dejavu
/var/db/kiss/installed/font-awesome-ttf
/var/db/kiss/installed/font-awesome-otf
/var/db/kiss/installed/freefont-ttf
/var/db/kiss/installed/liberation-fonts
/var/db/kiss/installed/terminus-font

I don't know about iosevka-nerd-fonts and unifont

If cups-filters needs some font, maybe it will be specified on depends file.

I find it rather odd that a font is needed and I'm against making a package depend on a specific font to be installed... Anyway. I'll merge this PR for now.


[HUDI-4841] Fix sort idempotency issue

Change Logs
BlockLocation sort compare implementation is not idempotent, causing getBlockIndexForPosition() to throw IllegalArgumentException.
Issue link: https://issues.apache.org/jira/browse/HUDI-4841
PR where bug was introduced:
#2814
CopyOnWriteInputFormat#getBlockIndexForPosition() requires BlockLocations to be sorted by offsets in ascending order.
However, the current comparator implementation does not guarantee that the BlockLocation array is sorted in an ascending order.
Stacktrace
Caused by: java.lang.IllegalArgumentException: The given offset is not contained in the any block.
at org.apache.hudi.table.format.cow.CopyOnWriteInputFormat.getBlockIndexForPosition(CopyOnWriteInputFormat.java:374)
at org.apache.hudi.table.format.cow.CopyOnWriteInputFormat.createInputSplits(CopyOnWriteInputFormat.java:242)
at org.apache.hudi.table.format.cow.CopyOnWriteInputFormat.createInputSplits(CopyOnWriteInputFormat.java:66)
at org.apache.flink.runtime.executiongraph.ExecutionJobVertex.<init>(ExecutionJobVertex.java:234)
... 21 more

Please refer to JIRA ticket for more details on how one can reproduce this error.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

This bug mainly affects reading


Non-space delimiters (-, =, etc.)

Could an option be added to delimit gloss chunks by delimiters other than spaces as well, most notably - and =? Such that we'd get, for instance
pwos   kephul=lwo kwoskal ho=kwo namwo-sin  skuzu=kwo
cherry bark  =INS gokkal  do=CVB wood -shoe drag =CVB

as opposed to
pwos   kephul=lwo kwoskal ho=kwo namwo-sin  skuzu=kwo
cherry bark=INS   gokkal  do=CVB wood-shoe  drag=CVB

Why not just add spaces between them explicitly? As in
pwos   kephul =lwo kwoskal ho =kwo namwo -sin  skuzu =kwo
cherry bark   =INS gokkal  do =CVB wood  -shoe drag  =CVB


Editing existing database pages

Extension
https://www.raycast.com/notion/notion
Description
Hi,
I started using the Create Database Page command a lot lately, and something that I'm missing and still have to go to the app for is editing existing pages. I love the interface of the Create Database Page command, as well as its functionality, and I'd love for it to be implemented in a command that will allow to search for a specific page in a database, and then edit different properties.
I tried creating such extension, but failed miserably since I am not a developer and have no clue how to code...
Who will benefit from this feature?
Everyone who has a need to update/edit existing database pages.
Anything else?
No response

Thanks for the feature request. Would you like to work on it?

I have no coding experience so I don't see how, but I can definitely try.

This feature already exists, but it's kind of buried. Here's how to use it:

Run the Search Notion command.
Search for a database and choose the Navigate to Database action.

This will bring you to a list of the database's pages.

Use the Edit Property... action on a page.

I'll look into making the Edit Property... action accessible from the root of Search Notion.

PR has been created. Waiting for testing.

@raycastbot keep this issue open


[FLOC-3299] Flocker client support for Container API

Fixes https://clusterhq.atlassian.net/browse/FLOC-3299

Just some nits in documentation. Code all looks great, Thanks!
I'm going to leave for someone else to address and merge solely because one of my comments requests judgement from someone who has worked on flocker for longer than I have.


Constants

Coverage increased (+0.4%) to 98.182% when pulling 6301f7ea2af6e567dbfbfc04d4ee993aedebbefa on constants into 8ac56b7fd605721f8bed41b7f4fcf3c711002afc on master.


Use of deprecated ConstructorInitializerAllOnOneLineOrOnePerLine .clang-format option

https://github.com/TheLartians/ModernCppStarter/blob/f0b5bdb1f5c638c7c4c957d626dc9a3460a452e5/.clang-format#L9
Documentation says it's deprecated
I think what you want is
BinPackParameters: false
BinPackArguments: false

IMHO: we should use this: https://clang.llvm.org/docs/ClangFormatStyleOptions.html#packconstructorinitializers

Possibly, I'm not well versed in the "most commonly admitted consensual .clang-format practices" so I'll let the decision to others. I was just looking through the definitions and I saw something deprecated which is not the best default i believe for a modern starter.
As a digression I went through the options because originally i wanted to have the & "on the left" for function definitions like auto fn(const Type& x) instead of auto fn(const Type &x) and i believe this .clang-format does not enforce this as it is
DerivePointerAlignment: false
PointerAlignment: Left

I also don't know if this "left alignment" is a standard practice.

Thanks for the heads up! I wasn't aware that the option was deprecated. Happy to accept a PR that updates the config without impacting the other style settings much.


BREAKING CHANGE: Initial client re-write (#6)

Well, here's a stab at re-arranging things! Not sure if it's any good, but I hope it simplifies things a bit more. Example usage:
import bgpstuff

ip = "<IP_ADDRESS>"
asn = "293"

client = bgpstuff.Client()
client.get_route(ip)
client.get_origin(ip)
client.get_as_path(ip)
client.get_roa(ip)
client.get_as_name(asn)
client.get_sourced_prefixes(asn)
client.get_totals()
client.get_totals(ip_version=4)
client.get_totals(ip_version=6)
client.get_totals(ip_version="4+") # Will fail, sorry Elad.
client.get_invalids()

For testing, yes. I raised https://github.com/mellowdrifter/python-bgpstuff.net/issues/8 earlier to do that

could you merge my few changes first btw?

Okay, I think I merged properly. This is where my git-fu starts to fall apart fast :sweat_smile: . The change that was merged was basically overwritten, as the error state isn't saved as an attribute in this iteration of the client.


Import and export formats to consider for nmrxiv.

Evaluate and choose the right format.
Bagit - Chemotion/Radar4Chem supports.
RO-CRATE

Evaluation details: https://docs.google.com/presentation/d/1w72LL1qQl27pSHHPIV3uS79tTyZq5LD-c9Eu5cjgXFQ/edit#slide=id.g25304c5fa4f_0_0

Closed in favor of https://github.com/NFDI4Chem/nmrxiv/issues/724


Recipe validation error in org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_5.recipeList[1]  refers to a recipe that doesn't exist

Using the following configuration as is that I extracted from this tutorial  : https://docs.openrewrite.org/reference/recipes/java/spring/boot2/upgradespringboot_2_5
<plugin>
                                <groupId>org.openrewrite.maven</groupId>
                                <artifactId>rewrite-maven-plugin</artifactId>
                                <version>4.21.0</version>
                                <configuration>
                                    <activeRecipes>
                                        <recipe>org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_5</recipe>
                                    </activeRecipes>
                                </configuration>
                                <dependencies>
                                    <dependency>
                                        <groupId>org.openrewrite.recipe</groupId>
                                        <artifactId>rewrite-spring</artifactId>
                                        <version>4.18.0</version>
                                    </dependency>
                                </dependencies>
                            </plugin>

Produces the following error :
[ERROR] Recipe validation error in org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_5.recipeList[1] (in jar:file:/C:/Users/Yeikel/.m2/repository/org/openrewrite/recipe/rewrite-spring/4.18.0/rewrite-spring-4.18.0.jar!/META-INF/rewrite/spring-boot2-upgrade-version.yml): refers to a recipe that doesn't exist.
Is the documentation outdated?

Thanks @yeikel, We'll have a look

This one is my fault; I did a bit of refactoring and forgot to delete the reference to what was an extra declarative recipe.
Fortunately, the only consequence is a recipe validation error.
On a side note, not having the missing recipe name in the does not exist message adds unnecessary complexity to the troubleshooting process. (https://github.com/openrewrite/rewrite/issues/1499)


IntColorComplex throws null exception

Reproduction steps are as follows:
I created an effect with 3 colors
{ 					"type": "color", 					"config": { 						"color": { 							"list": [ 								{ 									"time": 0, 									"value": "ffffff" 								}, 								{ 									"time": 0.5, 									"value": "ff00ff" 								}, 								{ 									"time": 1, 									"value": "9ff3ff" 								} 							] 						} 					} 				},
Then i play the animation, tab out of the tab, and tab back in. When I get back, there is an exception and the entire system grinds to a halt (could be due to message amount in debug log)
If my color list has only two items (from time 0 to time 1) it works fine, it's when I added a third color that this exception happens on tabbing out.

So today I tried to reproduce this issue again today, and I couldn't, so there must be another thing happening at the same time.

Good catch! There was an error when particles were spawned with behaviors using the linked list interpolation (3+ stages, not stepped) during a long frame. I've fixed it in version 5.0.4.


Latest Npgsql breaks Cedar.EventStore.Postgres

https://github.com/danbarua/Cedar.EventStore/commit/e4649ccd221d10766ba27e432b5ed4b8cae56455 still works.

Now that the MSSql imple is baked and settled, postgres impl to be rebooted.


fixed missing health check implementation in simple consumer

For what is this pull request

fixed missing health check in simple consumer
added health check docs

Config to verify:

Profiler:
    Type: aggregate

    Runs: 100000
    Batches: 100
    Characters: "abcdefghijklmnopqrstuvwxyz .,!;:-_"
    Message: "%256s"
    Streams: "profile"
    KeepRunning: true
    ModulatorRoutines: 0

    Aggregate:
        C1:
          Type: consumer.Profiler
        C2:
          Type: consumer.Profiler
        C3:
          Type: consumer.Profiler

Benchmark:
    Type: "producer.Benchmark"
    Streams: "profile"

Checklist

[ ] make test executed successfully
[ ] unit test provided
[ ] integration test provided
[x] docs updated

The unit tests are currently failing:
´´´
=== RUN   TestConsumerInterface
--- FAIL: TestConsumerInterface (0.00s)
consumers_test.go:34: Panic while testing consumer.Kafka
"SimpleConsumer": ERROR: Health check endpoint "//pluginState" already registered

I only need to update the config setting there in the tests i guess - i will check that next week.

Changes Unknown when pulling 8bd69cb552b856f4acb7a806693a5b4628ab15ba on fixed_missing_consumer_health_checks into ** on master**.

Changes Unknown when pulling 472a00469494dc166ff64b212f1c25d50859cf65 on fixed_missing_consumer_health_checks into ** on master**.


How to specify which dimension to reduce along when using sum ?

Basically, I want to convert torch.sum(tensor, 1). tch::Tensor has a sum(dtype) method which doesn't allow to specify which dimension to reduce along: it reduces along all of them, like torch.sum does when no dim is passed.
I guess the correct method to call is sum_dim_intlist, however dim must implement Into<Option<&'a [i64]>>, which forces to use a slice. Isn't there anything simpler than this call ?
some_tensor.sum_dim_intlist([1].as_slice(), false, Kind::Int64)

I think you're right and that's the appropriate way to do it, I wouldn't know about a simpler way now but I've just prototype in #621 a way to simplify this and allow one to write the following:
some_tensor.sum_dim_intlist(1, false, Kind::Int64)

However this is a bit of a breaking change so we probably want to think a bit more about it (besides only making it a major revision change which is already the case).

I've merged these changes via #682 so the following should work now.
some_tensor.sum_dim_intlist(1, false, Kind::Int64)

Hopefully this makes it simpler to write code that involve reduction across a dimension. Feel free to re-open if you run into further issues.


System does not return enough details in case of constraint violations

In many cases where users are missing any mandatory fields or providing bad requests genie does not provide enough details about the issue. For example commandArgs is a mandatory required field for jobRequest. If you don't provide it the message just says "null constraint violation" but does not provide details of the field causing it.

This was fixed in a previous commit.


Last Week in Pony - July 24, 2022

Audio from the July 24, 2022 Pony development sync is available:
https://sync-recordings.ponylang.io/r/2022_07_19.m4a


Support advance cross-reference (debatable)

"See chapter N, section N.M on page P"
We could use our "labelrefs.sile" package for such things, that would be handy for books/articles needing usual cross-reference links.
However Pandoc never seem to have reached a consensus on how this should be declared in (extended-)Markdown. We could come up with our own syntax extension, but that wouldn't be portable. To be investigated.

Oops wrong package!


npm run command not working after running npm build

As the description says, I am not exactly certain what happened. I ran npm run build for the first time, it ran fine. I then attempted to run npm run package and it wouldn't work. I checked all the other npm commands and no luck.
npm ERR! Linux 4.10.0-32-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "package"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10

npm ERR! missing script: package

The debug log says:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'package' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose stack Error: missing script: package
4 verbose stack     at run (/usr/lib/node_modules/npm/lib/run-script.js:151:19)
4 verbose stack     at /usr/lib/node_modules/npm/lib/run-script.js:61:5
4 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5
4 verbose stack     at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45)
4 verbose stack     at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3)
4 verbose stack     at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5)
4 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:311:12
4 verbose stack     at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
4 verbose stack     at tryToString (fs.js:456:3)
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:443:12)
5 verbose cwd /home/bill/vagrant-local/www/webale/htdocs/wp-content/themes/FoundationPress
6 error Linux 4.10.0-32-generic
7 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "package"
8 error node v6.11.2
9 error npm  v3.10.10
10 error missing script: package
11 error If you need help, you may report this error at:
11 error     <https://github.com/npm/npm/issues>
12 verbose exit [ 1, true ]

Sorry if I'm missing something obvious. I just thought this was very strange.

Are you using the latest version of FoundationPress?  As youncan see in the README, the package script is gone.

I checked my package.json file and it was identical. The thing that was strange was I already running watch for browser sync. It has been up and running for days. I only backed out of it to run the build command and it worked just fine, but after, nothing worked any more. I will investigate more tomorrow.

The build command is still there, but package doesn't exist anymore. Or are you saying the build command has stopped working now?

Yes, actually, the build command is still there, however it says both "watch" and "package" are missing scripts. I cloned the repository on the 14th, so it would appear that I have the latest version. I have been developing on it ever since with no issues until this.

@billymo As I said, the package script has been removed since FoundationPress v2.10.0.
To run the watch command, type npm start.
To build your assets, type npm run build
Please see the readme for more details.


recent topics: Fix exception displaying PMs with 5+ senders.

The previous logic incorrectly tried to map elements of the list of user IDs beyond 4 senders to their .id fields, which were undefined; the correct thing to do is just use the list of user IDs that we already have.

This was backported as d14870b564a09fc2a73cacb8712047dc82b4706b in #24537.


Cache backward compatibility

to merge to https://github.com/huggingface/datasets/pull/5331

Oh yea you're right, good catch ! I'll try to fix that

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Ansible in Workstation

Configure ansible (with hosts) in workstation to be able to post-configure the environment (i.e. cleanup, testing, perform script actions ...)

Installed and a /etc/ansible/hosts file created.
Now user can see if machines are up with:
  # ansible all -m ping


Implement UserInfo for URIs

Model UserInfo as a case class, with instances and principled encoding and decoding.

is this still useful nowadays? iirc modern browsers are removing or have removed support for this to a varying degree for security reasons... it looks like this removal is becoming standardized, too - see https://tools.ietf.org/html/rfc3986#section-7.5 .

I did this one early because I'm going through the RFC top-to-bottom.  It raises some interesting questions that will pertain to other URI components, but it's a poor choice in its own relevance.  I would strongly argue against its use in any API I control, but I've also seen a lot of our users with APIs they don't control, and it remains part of the spec.  I would argue it belongs for compliance's sake, but I hope nobody uses it.
Subsequent PRs with paths and queries will be far more interesting and relevant.


Update LG/OLGs

Need to update the OLGs, LGs, and SC in the main document.

This has been completed.


fix: fix not to show error message during manual driving

Description
Update not to show error message (eg. relative angle is too large) during manual driving.
This message is necessary only during autonomous driving.
Related links
None.
How was this PR tested?
Here is a way to conduct the test. You can check error messages on rqt_runtime_monitor.

Launch the planning simulator.
Add a manual controller(https://github.com/autowarefoundation/autoware_tools/tree/main/common/tier4_control_rviz_plugin).
Use the manual controller to intentionally shift the route.
Confirm that no error message appears in this state.
Switch to autonomous driving after deviating from the route.
Confirm that a message appears when the route is deviated during autonomous driving.

Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@T-Kimura-MM
Please check the failed CI:
https://github.com/autowarefoundation/autoware.universe/actions/runs/10592026221/job/29350648585?pr=8656
1: Test timeout computed to be: 60
1: Running with ROS_DOMAIN_ID 1
1: -- run_test.py: invoking following command in '/__w/autoware.universe/autoware.universe/build/autoware_planning_validator':
1:  - /__w/autoware.universe/autoware.universe/build/autoware_planning_validator/test_autoware_planning_validator --gtest_output=xml:/__w/autoware.universe/autoware.universe/build/autoware_planning_validator/test_results/autoware_planning_validator/test_autoware_planning_validator.gtest.xml
1: [==========] Running 23 tests from 3 test suites.
1: [----------] Global test environment set-up.
1: [----------] 4 tests from PlanningValidatorTestSuite
1: [ RUN      ] PlanningValidatorTestSuite.checkValidFiniteValueFunction
1: [       OK ] PlanningValidatorTestSuite.checkValidFiniteValueFunction (22 ms)
1: [ RUN      ] PlanningValidatorTestSuite.checkValidIntervalFunction
1: [       OK ] PlanningValidatorTestSuite.checkValidIntervalFunction (7 ms)
1: [ RUN      ] PlanningValidatorTestSuite.checkValidCurvatureFunction
1: [       OK ] PlanningValidatorTestSuite.checkValidCurvatureFunction (5 ms)
1: [ RUN      ] PlanningValidatorTestSuite.checkValidRelativeAngleFunction
1: [       OK ] PlanningValidatorTestSuite.checkValidRelativeAngleFunction (6 ms)
1: [----------] 4 tests from PlanningValidatorTestSuite (40 ms total)
1:
1: [----------] 17 tests from PlanningValidator
1: [ RUN      ] PlanningValidator.DiagCheckForNominalTrajectory
1: [       OK ] PlanningValidator.DiagCheckForNominalTrajectory (215 ms)
1: [ RUN      ] PlanningValidator.DiagCheckForNaNTrajectory
Error: OR] [1724830142.196422764] [planning_validator]: trajectory has invalid value (NaN, Inf, etc). Stop validation process, raise an error.
1: -- run_test.py: return code -11
1: -- run_test.py: generate result file '/__w/autoware.universe/autoware.universe/build/autoware_planning_validator/test_results/autoware_planning_validator/test_autoware_planning_validator.gtest.xml' with failed test
1: -- run_test.py: verify result file '/__w/autoware.universe/autoware.universe/build/autoware_planning_validator/test_results/autoware_planning_validator/test_autoware_planning_validator.gtest.xml'
1/5 Test #1: test_autoware_planning_validator ...***Failed    0.45 sec


How to add multiple users?

How to add multiple users? Is there exist some examples related to dynamically add users?

https://github.com/simov/express-admin/issues/29#issuecomment-30514629


Fix #3418 Allow pybamm-requires to return early if an existing SUNDIALS installation is found

Description
Users can skip the re-installation of the build-time components if already present but still factor in the cases where it is necessary for them to reinstall for debugging purposes.
The key aspects are:
-Checking for existing Sundials and KLU installations before installing
-Breaking out the install scripts for each dependency
-Allowing a force rebuild with --force
-Keeping the pybind11 install logic the same
Fixes #3418
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Closing this because #3461 has been opened. I would recommend pushing commits to the same branch and therefore in a single PR going forward


Container query stops working when changing DOM

It seems that under some specific circumstances, changes in DOM either aren't detected or for some other reason, the generated class is not reattached to @container-affected elements.
It seems that two container queries are needed to reproduce the issue.
Minimal example: https://jsfiddle.net/edt3b1Lz/
After clicking on Render A, .a's container query stops working until the container is resized.

I am experiencing the same thing, my components loads in async(about 7 secs after cqfill loads), and sometimes cqfill handles it well, but most of the time it doesn't.
Resizing fixing my issue as well

Are there any updates on this?

Did anyone find any workaround ?

My workaround so far has been to redraw the whole container, which isn't ideal.

same problem here

same problem here

This issue should be fixed by the newest version of the polyfill (currently in alpha). Please give it a try and let me know if you run into any further issues.
Thank you!


change regex to match the default status-log format currently used by openvpn 2.4 on ArchLinux

this addresses #9

I'm working on exactly that.
Currently this is unfinished, I'll let you know once this is ready.
Do you know how virtual ipv6 addresses are shown on debian?

The format I get is this
OpenVPN CLIENT LIST
Updated,Thu Feb  1 11:38:11 2018
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
[...]
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
[...]
GLOBAL STATS
Max bcast/mcast queue length,1
END

Can you provide a header example line of a debian server?

I pasted it above already...

Is there no HEADER line which announces the log format?

This is the full content of the file without the peers ofc...

The regex construction and entry value extraction is now handled per server / logfile.
Everything works on archlinux and the compatibility to the debian log should ok (Your regex is used if there is no header line detected in the logfile). Could you test if this is still working?

Closing this in favour of the latest version using client-connect and client-disconnect hooks.


Dead Link in README.md: "Getting Started with CI/CD"

Describe the bug
A clear and concise description of what the bug is.
Dead link.
There's a link in the README.md that reads as follows:
Getting started guides for popular CI/CD platforms along with reference pipelines are available [here](https://docs.dxatscale.io/reference-implementation/github)

This leads to a "Page not found".
To Reproduce
Steps to reproduce the behavior:
Click the link!
Expected behavior
A clear and concise description of what you expected to happen.
To be taken to a page with guides on getting started with CI/CD.
Screenshots
If applicable, add screenshots to help explain your problem.

Platform Details (please complete the following information):

OS: N/A
Version [e.g. CLI Version  eg: 1.6.6] N/A
Salesforce CLI(sfdx cli) Version: N/A
CI Platform: N/A

Additional context
Add any other context about the problem here.
I would have just put up a PR but didn't know the correct page for the link ref.

Thanks @dunks184 , its been resolved


XX.subscribeOn(Schedulers.io()) not working

Hello, first of all I want to say that your Library looks great and I'm glad being able to use it.
Unfortunately I'm getting an error on following line of code:
RxView.clicks(_btn_loadWithRxAndroid)

    .subscribeOn(Schedulers.io())    // Error occures here

    .observeOn(AndroidSchedulers.mainThread())

    .subscribe(...);

It says: "subscribeOn( rx. Scheduler) in Observable cannot be applied to ( io.reactivex. Scheduler)"
Am I doing something wrong or is it still under development? I hope you can clear me up or have another workaround for me.
I have every of the rxbinding dependencies included like:
compile 'com.jakewharton.rxbinding:rxbinding:1.0.1'

except the leanback-v17 one.

There's two problems here.
The first, as the exception message indicates, is that you are using the wrong Schedulers import. io.reactivex.Scheduler is from RxJava 2.x whereas rx.Scheduler is from 1.x. You need to import the 1.x version of Schedulers or fully-qualify the type (rx.Schedulers).
The second is that every observable in this library requires that you subscribe on the main thread and no other. In your example this amounts to just deleting both subscribeOn and observeOn allowing the stream to subscribe synchronously on the main thread and also observe items synchronously on the main thread.

@JakeWharton you mean there is no Subscription in Rx2 right ?

There is but in different package.
If you want to make a network call on click you have to use observeOn twice. It is because (as Jake said) RxBinding require subscriptions to execute on main thread.
RxView.clicks(_btn_loadWithRxAndroid)
    .observeOn(Schedulers.io())
    .switchMap{ call() }
    .observeOn(AndroidSchedulers.mainThread())
    .subscribe(...);

Attempt to invoke virtual method 'io.reactivex.Single io.reactivex.Single.subscribeOn(io.reactivex.Scheduler)' on a null object reference
at com.dt.admin.newdriver.ui.login.LoginPresenter.onServerLoginClick(LoginPresenter.java:56)

That very much likely indicates null pointer exception in your code.
Moreover it doesn't seem to be related to RxBinding because it's illegal to subscribe on non-Main thread scheduler for all UI (afaik) bindings. (unless view was created on non-main thread originally, but that's advanced stuff)


Asking for an Improvement

Hi!
This is a fantastic plugin. It performs exactly as needed, and that's great. However, there's one improvement I'd love to see: Hiding the tags upon insertion and only showing them when hovering over the text formated with sub & sup tags .
To clarify, here’s how the plugin currently works:

I format the selected text with sub & sup tags.
It displays the tags like this: selected text.
Only if I click elsewhere on the page does it show the text as subscript.

What I'd like it to do:

I format the selected text with sub & sup tags.
It instantly shows the selected text as subscript without displaying the tags.
The tags should only appear if I click on the subscripted text.

Dear @lpokt,
Thank you for your patience and for sharing your insightful feedback on the plugin. I apologize for the delayed response.
I’ve carefully reviewed your suggestion regarding the immediate rendering of  and  tags upon insertion, with the tags themselves hidden and only revealed upon hovering over the formatted text. While this feature would indeed enhance the user experience, implementing it presents certain challenges within the current capabilities of Obsidian’s editor.
Obsidian’s editor, particularly in Live Preview mode, is designed to display Markdown and HTML tags as they are typed, rendering them only after the user moves the cursor away from the current line. This behavior ensures that users can see and edit the raw Markdown or HTML code directly.
To achieve the functionality you’re describing—where the tags are hidden immediately upon insertion and the formatted text is displayed instantly—would require altering the core behavior of Obsidian’s editor. Such modifications are beyond the scope of a plugin, as they would necessitate changes to the editor’s fundamental rendering process.
However, with the current version of the SupSub plugin, you can achieve the desired formatting by following these steps:

[x] Apply Superscript or Subscript Formatting. Use the designated hotkeys to wrap your selected text with  or  tags. For example, pressing Ctrl + Alt + = (or Option + Cmd + = on macOS) will wrap the selected text with  tags.
[x] Move the Cursor Away. After applying the formatting, move the cursor to another line or click elsewhere in the document. This action prompts Obsidian to render the tags, displaying the text as superscript or subscript accordingly.

I appreciate your understanding and am grateful for your valuable input. If you have any further suggestions or questions, please feel free to share them.
Best regards,
@wjgoarxiv

Thank you for your detailed and thoughtful response to my suggestion. I truly appreciate the time and effort you’ve put into explaining the challenges and providing a workaround.
I’d like to share an observation that might offer a potential solution that worth exploring.
The Typing Assistant plugin in Obsidian provides functionality that resembles what I’m suggesting. When activing the Select Option and using its bold option, the selected text is instantly displayed as bold without showing the ** Markdown syntax. The ** only becomes visible when I click on the formatted text.
I hope that it might be technically possible to achieve similar behavior for  and  tags in the SupSub plugin. While I understand that adapting such functionality could involve unique challenges, I believe exploring this approach might yield a more seamless experience for users.
I hope this example proves helpful, and I look forward to seeing how the plugin evolves. Please let me know if there’s anything further I can do to support or clarify this suggestion.

Hi @lpokt,
Thank you for your valuable suggestion! I'm excited to inform you that version 1.0.3 now includes pop-up buttons for generating  and  tags, inspired by your feedback. This should provide a smoother and more seamless experience like the Typing Assistant plugin. If you have further ideas or feedback on this update, please let me know.
Best regards,
@wjgoarxiv

Thank you so much for your efforts in improving this plugin.
I wanted to clarify my request regarding the  and  tags. Specifically, I’m hoping the tags won’t appear immediately after insertion when using the pop-up buttons.
To make my point clearer, here’s a video demonstrating what I mean.
In the video, you’ll notice {in the Using plugin section} how the Typing Assistant plugin handles the insertion of bold syntax. When I use its buttons to apply bold formatting, the ** Markdown syntax is instantly hidden, and the bold text is displayed right away—without requiring me to click elsewhere on the page.
I believe achieving a similar functionality for  and  tags in the SupSub plugin would greatly enhance its usability and make the user experience smoother.
Thank you once again for considering this suggestion and for your dedication to enhancing this project.

Dear @lpokt
I've updated the new version (v1.0.4)! So please download it, and check whether the instant formatting feature (not visualizing either  or  tags) is running smoothly in your environment.
If there aren't any troubles, I'll close this issue. So please let me know:)

Awesome! I just tried the new version (v1.0.4), and it works perfectly—exactly how I imagined it from the start!
The instant formatting feature is smooth, and no issues so far. Thank you so much for your efforts and quick updates—really appreciate it! Everything's running flawlessly now, Great job!

Dear @lpokt
Thank you for your feedback!
I'm pleased to hear that Supsub works perfectly for you and that the instant formatting feature meets your expectations.
Feel free to reach out if you have any more suggestions or run into any other issues.
Best regard,
@wjgoarxiv


Ideas for future refactor

This is a "master" issue for tracking various ideas relating to a future refactor:

What shall be included
What shall not be included
?

I believe @j-wags has some ideas for this :rocket:
I've also added a refactor tag to track other issues.

Closed by #68


Add className to react/swiper element

Clear and concise description of the problem
I want to be able to add a class on the React Swiper element.
<Swiper className="custom-class">

Suggested solution
Merge className prop with default class "swiper"
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[X] I'm willing to open a PR

https://codesandbox.io/s/10st98?file=/src/App.jsx

https://codesandbox.io/s/10st98?file=/src/App.jsx
@nolimits4web

My bad. I meant the SwiperWrapper element.

@andershagbard did you fix that problem? cause i have the same

Reopened here: https://github.com/nolimits4web/swiper/issues/6149


DUOS-1189[risk=no]Add 'Dataset Name' column to DAC Chair, Member, and Admin Consoles

SCOPE:
-NOTE: this PR does not implement the additional column in the member console, like the ticket requests. This is because the member console is getting its data from the v1 endpoint that does not contain datasets or dataset id. We could implement this column without changing the api call if we query for the dar off of the access election and then query again for the dataset based off of the datasetid included in the dar. This would be two extra api calls for every row, which would slow things down quite a bit. I think it makes more sense to convert the member console over to the v2 api call and reuse the components used for the new chair and admin access pages. But that is out of the scope of this PR. Additionally, in the meantime, the datasets are already accessible from this page by clicking on the dar modal. Thoughts?
-implement Dataset column on new chair and new admin manage access
ADDRESSES:
https://broadworkbench.atlassian.net/browse/DUOS-1189
Have you read Terra's Contributing Guide lately? If not, do that first.
I, the developer opening this PR, do solemnly pinky swear that:

[ ] PR is labeled with a Jira ticket number and includes a link to the ticket
[ ] PR is labeled with a security risk modifier [no, low, medium, high]
[ ] PR describes scope of changes

In all cases:

[ ] Get a minimum of one thumbs worth of review, preferably 2 if enough team members are available
[ ] Get PO sign-off for all non-trivial UI or workflow changes
[ ] Verify all tests go green
[ ] Squash and merge; you can delete your branch after this
[ ] Test this change deployed correctly and works on dev environment after deployment

@raejohanek

We could implement this column without changing the api call if we query for the dar off of the access election and then query again for the dataset based off of the datasetid included in the dar. This would be two extra api calls for every row, which would slow things down quite a bit. I think it makes more sense to convert the member console over to the v2 api call and reuse the components used for the new chair and admin access pages. But that is out of the scope of this PR. Additionally, in the meantime, the datasets are already accessible from this page by clicking on the dar modal. Thoughts?
-implement Dataset column on new chair and new admin manage access

This conversation should be in the ticket, so let's move it there.