Embedding web-worker polyfill breaks sourcemap tools

Setup

Rancher version: 2.9

Describe the bug
The BLOB code from web-worker is minified, and contains source maps that are then passed over by webpack - that creates a situation of minified code inside BLOB inside minified code which confuses some tools, eg.
https://github.com/jantimon/chrome-profile-sourcemap-resolver/pull/4
That could be fixed, but the only reason to do so would be supporting very old (pre-2013) browsers, so we are better off removing the polyfill altogether.
Expected Result
Validation steps for QA

Browser Tab 1 - Open Pods list and create a trivial pod
Browser Tab 1 - Open browsers dev tools window --> Network tab --> WS tab --> socket connection for the cluster --> MEssages tab
Browser Tab 2 - Nav to edit page for pod and edit it
Browser Tab 1 - See resoure.change message for pod just changed

/backport v2.10.1

/backport v2.9.5


win/android docs: update node install to use nodejs-lts

What:
Updated React Native CLI Quickstart/Windows-Android docs to use the LTS version of node during choco install, and recommended use of LTS in general, similarly to how React docs do the same.
Why:
_getting-started-windows-android.md currently lists the choco install command as:
choco install -y nodejs.install openjdk8
...which will install node.js version 17 (current)
While you will still be able to init an app with the react-native CLI and node.js 17, the command npx react-native run-android will fail due to the same bug affecting facebook/create-react-app#11562

Thanks for the contribution!


Spike improvements to gradle tasks and IDE import without fully configuring tasks

We have 2 approaches to this:

Improve IDE sync so that it becomes less monolithic. For example, make it easier for the IDE to ask for the dependencies model without realizing all of the tasks, and separately ask for the details of the task. This lines up with the direction we're taking with IDE sync in general.
Add some kind of new API for build logic to define the description and group proeprties of a task without triggering the full configuration, plus an API to query this. IDE sync can use this new API.

I think we should aim to do the first option, as it enables other improvements to IDE sync not related to task realization, while keeping the task API simpler.


Tp to spawn on death

Could you add a feature for teleporting the player to /spawn on death right now the reason im asking for this is im using multiworld which allows me to use multiple worlds so i can use one for spawn and one for survival and i can set the spawn and teleport fine but when i die i stay in the overworld and when i try to set the vanilla spawn to the other world it doesnt allow me but if it were possible to send the player to /spawn on death that would work.

also in the most recent update did you remove the chat module?

I will publish the next update when other stuff is ready, you can try it anyway by downloading the build here: https://github.com/Ale32bit/Solstice/actions/runs/12536715754/artifacts/2369479263


DIP1003: Remove body as a Keyword

https://github.com/dlang/DIPs/blob/master/DIPs/DIP1003.md

Don't we have to update:

the list of keywords
functions spec
the pragma mangling example as "body" is now available

as well?
Also for convenience, here's the link to the respective DMD PR: https://github.com/dlang/dmd/pull/6855

Ah this has already been done in another PR (https://github.com/dlang/dlang.org/pull/1829) in the meantime -> closing.


Common components

Defined some starting common components of the server side application, following the clean architectures in Python (second edition) book: https://leanpub.com/clean-architectures-in-python.
The current architecture follows the book up through and including chapter 4. For now, we only have an in-memory database. This will be changed later. The purpose of this pull request is to give the team common components and the starting architecture of the application.
The server-side exposes one endpoint /shifts, which returns a list of all work shifts present in the in-memory database (hard-coded to 2 shifts for now)
Client side was updated to display the received data:

Thanks @AbhilashKotha! I added your suggested changes (and added real timestamps to our canned data)


PFInstallation badge number is always 0

I'm trying to decrease badge badge number according to this blogpost (http://blog.parse.com/announcements/badge-management-for-ios/), but when I compare current badge number to non-zero, it always fail because installation's badge number is always 0. So badge number is never decreased in DB. PFInstallation just does not return right values from Parse DB.

I can remove lines with condition and decrease badge every time of course but I don't think it's right solution. Why PFInstallation is not updating even if I restart app?

Hey @janmisar, in order to get the latest badge from Parse - you would need to explicitly fetch/fetchInBackground currentInstallation object. Since currentInstallation is a synchronous call - we wouldn't want to block the current thread on network fetch, as well as having an explicit call to fetch currentInstallation lets you optimize the usage of network for your application/use-case.
Let me know if you indeed fetch the installation and it's still missing badge.
I kind of made an assumption here that you didn't, based on the screenshot/details that you posted.

Hey @nlutsenko, thanks for response, you're right. I had no idea I have to explicitly fetch installation object, so it's clear now.
Anyway I don't seem good to publish not working snippets of code on official blog, it's a little confusing.

For some reason it is not working for me. I used the fetchInBackgroundWithBlock function and when i debugPrint it out it says badge=10, but when I want to retrieve the badge value it always returns 0.


boards: cavs15: change the signing command in flash.sh

Fixed #31684
Change the command that signing with rimage by flash script after
commitID:b553166a has been merged, that patch add a new option -D for
specify configuration, so update the command of this script.
Signed-off-by: Jian Kang<EMAIL_ADDRESS>

@nashif Hi Anas, can this be merged now?


chore: updated codeowners file

I think we might be using wrong format in this file(not only in this repo I expect). Please see:

A CODEOWNERS file uses a pattern that follows most of the same rules used in gitignore files. The pattern is followed by one or more GitHub usernames or team names using the standard @username or @org/team-name format.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
*       @global-owner1 @global-owner2

So this change should be like
* @ffenix113 @xernobyl @yaziine

Also please update commit message to be the same as the name of the MR.
Thank you!


SyntaxError in bccache.py on 20210512

after I use "pip install jinja2", the code occurs an error like this:
Traceback (most recent call last):
File "./myown.py", line 15, in
from jinja2 import Template,FileSystemLoader
File "/usr/local/lib/python3.6/site-packages/jinja2/init.py", line 5, in
from .bccache import BytecodeCache
File "/usr/local/lib/python3.6/site-packages/jinja2/bccache.py", line 26
def get(self, key: str) -> bytes:
^
SyntaxError: invalid syntax
Environment:

Python version: 3.6
Jinja version:  jinja2-3.0.0

I can't reproduce this issue. I created a fresh Python 3.6 virtualenv, installed jinja2, and did from jinja2 import Template, FileSystemLoader and did not get any errors.

thanks， the errors caused by python environment


Encryption: IKey and IKeyResolver

This code already exists in KeyVault.Core so taking a dependency on that or migrating the code to a shared location solves this.

/cc @schaabs


Update Known-issues.md

@LolaJacobsen PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@marclauinger where are we at with this one?


Is there a way to get action?

Hi.
I'm using a middleware grouping role permissions, i got permissions, attributes and role except action.
/**
   * Middleware to grant or deny products creation.
   *
   * @param {Request} req
   * @param {Response} res
   * @param {Function} next
   */
  static async canCreateProducts (req, res, next) {
    const permission = User.canCreateProducts(req.acl.role)
    console.log({ permission: permission.action })
    if (permission.granted) {
      req.acl = { ...(req.acl || {}), ...permission.attributes }
      next()
    } else {
      res.boom.forbidden()
    }
  }

Hi. Since permission is checked "for" an action (and resource), code should be aware of it.
Per your abstraction; canCreateProducts method indicates action is create.

I need a to include both perms in a single middleware. I'm returning a
Permission but I can't identify it's action.
I returned an object with role, permissions, action and possession to know
permission match.
El lun., 15 abr. 2019 16:42, Onur Yıldırım<EMAIL_ADDRESS>escribió:

Hi. Since permission is checked "for" an action (and resource), code
should be aware of it.
Per your abstraction; canCreateProducts method indicates action is create.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/onury/accesscontrol/issues/69#issuecomment-483429819,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASetlD0Uk4uVnGnFycewIb7531YNTfxRks5vhPJCgaJpZM4cwlbr
.


Obsolete codes in field 048

Field 048 (Number of Musical Instruments or Voices Code) contains MARC instruments and voices codes, e.g. "ba" for "Horn".  Obsolete and unspecified codes, which are still present in legacy records, cause transformation failures.  Stylesheet ConvSpec-010-048.xml fails on line 753 with error code XTDE0820.
Here are examples from live records.
OCLC #6075808
048	__ |a wa01 |a sb01 |a vz01 |a ta01
vz is obsolete
OCLC #37290943
048 __ |b vn01 |a tb01 |a ka01 |a ea01 |a zn01
zn is unspecified
OCLC #6055856
048	__ |b vd01 |a wa01 |a wb01 |a ka01 |a po01 |a sa01 |a sb01 |a sc01 |a sd01
po is obsolete
Please include all codes listed in OCLC Bib Formats:  https://www.oclc.org/bibformats/en/0xx/048.html
Error checking to catch table-lookup failures would be helpful too.  When doing batch conversion of large numbers of records, a problem in a single score record can abort the entire batch.

spec updated


fix broken links

Problem
We have references from external websites to the documents that were moved under quill-docs. They now return 404.
Solution
Move the files back to the root folder.
@getquill/maintainers

:+1:


[HUDI-5308] Hive query returns null when the where clause has a partition field

Change Logs
We add partition fields to parquet file, while parquet file of hive doesn't, this will result returning null when the where clause has a partition field.
This pr add partition field id to hive.io.file.readcolumn.ids.
Details:
When hive queries, hive constructs a FilterPredicate. The FilterPredicate has a ValueInspector, which is initialized from hive.io.file.readcolumn.ids. If  partition fields are in where clause and hive.io.file.readcolumn.ids does not contain partition fields, FilterPredicate won't have a ValueInspector, FilterPredicate will not set isKnown, and getCurrentRecord will return null.
Some hive code
    public void addBinary(Binary value) {
        ValueInspector[] var2 = this.valueInspectors;
        int var3 = var2.length;

        for(int var4 = 0; var4 < var3; ++var4) {
            ValueInspector valueInspector = var2[var4];
            valueInspector.update(value);  // isKnown is updated here
        }

        this.delegate.addBinary(value);
    }

    new ValueInspector() {
         public void updateNull() {
              this.setResult(false);
         }

          public void update(float value) {
               this.setResult(value == target);
          }
   };

      protected final void setResult(boolean result) {
            if (this.isKnown) {
                throw new IllegalStateException("setResult() called on a ValueInspector whose result is already known! Did you forget to call reset()?");
            } else {
                this.result = result;
                this.isKnown = true;
            }
        }

    public T getCurrentRecord() {
        boolean keep = IncrementallyUpdatedFilterPredicateEvaluator.evaluate(this.filterPredicate);
        IncrementallyUpdatedFilterPredicateResetter.reset(this.filterPredicate);
        return keep ? this.delegate.getCurrentRecord() : null;
    }

    public static boolean evaluate(IncrementallyUpdatedFilterPredicate pred) {
        Preconditions.checkNotNull(pred, "pred");
        return pred.accept(INSTANCE);
    }

    public boolean visit(ValueInspector p) {
        if (!p.isKnown()) { // default value of isKnown is false
            p.updateNull();
        }

        return p.getResult();
    }

Impact
HoodieParquetInputFormat.java
HoodieParquetRealtimeInputFormat.java
Risk level (write none, low medium or high below)
low
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

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

@hudi-bot run azure

Can I get the yarn log of the IT test?

@hudi-bot run azure

@hudi-bot run azure

The ci failure is caused by running longer than the maximum time of 150 minutes.
Hive test has passed.

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

Which version of Hive has this issue ?

Which version of Hive has this issue ?

I test with hive 3.1.2, I believe hive 2.x has this issue too.

cc @xiarixiaoyao , could you help the review please?

Does the table partitioning is in hive style: par1=val1 ? I was astonished that the partition path queries for Hive return nulls.

Is the problematic table partitioning in hive style: par1=val1 ? I was astonished that the partition path queries for Hive return nulls.

Hive style and none hive style all returns null.

Is the problematic table partitioning in hive style: par1=val1 ? I was astonished that the partition path queries for Hive return nulls.

Hive style and none hive style all return null.

I'm skeptical about the use case, because Hive queries have been supported for a long time, can you share you hive table properties ?

+----------------------------------------------------+
|                   createtab_stmt                   |
+----------------------------------------------------+
| CREATE EXTERNAL TABLE `test_partition`(            |
|   `_hoodie_commit_time` string,                    |
|   `_hoodie_commit_seqno` string,                   |
|   `_hoodie_record_key` string,                     |
|   `_hoodie_partition_path` string,                 |
|   `_hoodie_file_name` string,                      |
|   `id` bigint,                                     |
|   `name` string,                                   |
|   `ts` bigint)                                     |
| PARTITIONED BY (                                   |
|   `part` string)                                   |
| ROW FORMAT SERDE                                   |
|   'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'  |
| WITH SERDEPROPERTIES (                             |
|   'path'='hdfs://xxxxxxx/tmp/hoodie/test_partition')  |
| STORED AS INPUTFORMAT                              |
|   'org.apache.hudi.hadoop.realtime.HoodieParquetRealtimeInputFormat'  |
| OUTPUTFORMAT                                       |
|   'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' |
| LOCATION                                           |
|   'hdfs://xxxxxxxxxx/tmp/hoodie/test_partition' |
| TBLPROPERTIES (                                    |
|   'bucketing_version'='2',                         |
|   'hoodie.datasource.hive_sync.enable'='true',     |
|   'hoodie.datasource.hive_sync.metastore.uris'='thrift://xxxxxxxx:9083',  |
|   'hoodie.datasource.hive_sync.mode'='HMS',        |
|   'hoodie.datasource.hive_sync.partition_fields'='part',  |
|   'hoodie.datasource.hive_sync.table'='test_partition',  |
|   'hoodie.embed.timeline.server'='false',          |
|   'preCombineField'='ts',                          |
|   'primaryKey'='id',                               |
|   'spark.sql.create.version'='3.1.1',              |
|   'spark.sql.sources.provider'='hudi',             |
|   'spark.sql.sources.schema.numPartCols'='1',      |
|   'spark.sql.sources.schema.numParts'='1',         |
|   'spark.sql.sources.schema.part.0'='{"type":"struct","fields":[{"name":"_hoodie_commit_time","type":"string","nullable":true,"metadata":{}},{"name":"_hoodie_commit_seqno","type":"string","nullable":true,"metadata":{}},{"name":"_hoodie_record_key","type":"string","nullable":true,"metadata":{}},{"name":"_hoodie_partition_path","type":"string","nullable":true,"metadata":{}},{"name":"_hoodie_file_name","type":"string","nullable":true,"metadata":{}},{"name":"id","type":"long","nullable":true,"metadata":{}},{"name":"name","type":"string","nullable":true,"metadata":{}},{"name":"ts","type":"long","nullable":true,"metadata":{}},{"name":"part","type":"string","nullable":true,"metadata":{}}]}',  |
|   'spark.sql.sources.schema.partCol.0'='part',     |
|   'transient_lastDdlTime'='1682327384',            |
|   'type'='mor')                                    |
+----------------------------------------------------+

steps to reproduce

create table in spark sql

create table test_partition (
  id bigint,
  name string,
  ts bigint,
  part string
) using hudi
tblproperties (
  type = 'mor',
  primaryKey = 'id',
  preCombineField = 'ts',
  'hoodie.embed.timeline.server' = 'false',
  'hoodie.datasource.hive_sync.enable'='true',
  'hoodie.datasource.hive_sync.mode'='HMS',
  'hoodie.datasource.hive_sync.table'='test_partition',
  'hoodie.datasource.hive_sync.metastore.uris'='thrift://host-10-19-37-172:9083',
  'hoodie.datasource.hive_sync.partition_fields'='part'
)
partitioned by (part)
location '/tmp/hoodie/test_partition';

insert a record

insert into test_partition partition (part)
select 1 as id, 'a1' as name, 1000 as ts, '2021-12-09' as part;

query in hive

select * from test_partition_ro where part = '2021-12-09';

@xicm I have not come across this issue before. I have queried MOR partitioned table with Hive and Presto with partition predicates and it returns the correct results for me. I even ran the steps that you shared - https://github.com/apache/hudi/pull/7355#issuecomment-1519710563 - but I could not reproduce. Am I missing something?
0: jdbc:hive2://hiveserver:10000> select * from test_partition_rt where part = '2021-12-09';
+----------------------------------------+-----------------------------------------+---------------------------------------+-------------------------------------------+---------------------------------------------------------------------------+-----------------------+-------------------------+-----------------------+-------------------------+--+
| test_partition_rt._hoodie_commit_time  | test_partition_rt._hoodie_commit_seqno  | test_partition_rt._hoodie_record_key  | test_partition_rt._hoodie_partition_path  |                    test_partition_rt._hoodie_file_name                    | test_partition_rt.id  | test_partition_rt.name  | test_partition_rt.ts  | test_partition_rt.part  |
+----------------------------------------+-----------------------------------------+---------------------------------------+-------------------------------------------+---------------------------------------------------------------------------+-----------------------+-------------------------+-----------------------+-------------------------+--+
|<PHONE_NUMBER>2308910                      |<PHONE_NUMBER>2308910_0_0                   | 1                                     | part=2021-12-09                           | 27a098b4-0db6-4852-a931-c26831407ccb-0_0-14-10_20230428122308910.parquet  | 1                     | a1                      | 1000                  | 2021-12-09              |
+----------------------------------------+-----------------------------------------+---------------------------------------+-------------------------------------------+---------------------------------------------------------------------------+-----------------------+-------------------------+-----------------------+-------------------------+--+
1 row selected (1.964 seconds)

I think querying by partition is the most common thing to do and if query returned null then it would have surfaced in earlier versions too. What version of Hudi are you using? Can you also share how you connect to Hive and any config that's being set, e.g. hive.input.format. For reference, I simply used beeline as:
beeline -u jdbc:hive2://hiveserver:10000 \
>   --hiveconf hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat \
>   --hiveconf hive.stats.autogather=false

@codope Thanks for your testing. It's so confusing. I just use hive cli without any other conf. My hive version is 3.1.2, I don't have hive2, what's your hive version? Is this a matter of version differences？

@hudi-bot run azure

So it is because the incorrect hive server version is used ?

So it is because the incorrect hive server version is used ?

yes, partition query returns null with hive3.

So the fix is only necessary for old hive server and it is actually not a bug?

The fix is necessary for hive3.1.2, for hive2, as codepe tested , partition query is ok.

5308.patch.zip
I'm not that familiar with Hive so just created a patch to refactor the tests.


Improve docs

Options
After

Before

Are the checks and red lights for on the left nav meant to show it's a supported option by at least one beautifier?  It's probably not necessary to do that, since we more than likely won't have an option that isn't supported in some way.

You are correct. And I will likely remove it soon. It's helpful right now for me to see and keep track.


Wrong Destination MAC when using NAT in conjunction with Virtual IP

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Hello, and thanks for OPNsense.
I have a Starlink router in bypass mode.  In this configuration, it hands out a CGNAT IP via DHCPv4.  The router also maintains a status interface on <IP_ADDRESS> (a different subnet than the 100.x.x.x CGNAT range).  Accessing <IP_ADDRESS> must be done from another IP on <IP_ADDRESS>/24.
So, using the steps at https://matthias.guru/en/2021/12/13/starlink-mit-opnsense-pfsense-als-router/ , I configured a virtual IP at <IP_ADDRESS> (and later tried .3 for testing) and an outbound NAT rule.
When I ssh to the OPNsense device itself and attempt to ping or connect to <IP_ADDRESS>, it works fine.  When attempting the same from the LAN via NAT, it doesn't.  tcpdump showed packets egressing the WAN interface in both cases, but no replies coming back from the NAT version.
I finally grabbed a pcap and analyzed it with Wireshark.  Here is the key difference:
For packets generated by logging into the firewall itself and then connecting, the destination MAC address was a correct, real one.
For packets generated from the LAN and NATed, the destination MAC address was "IETF-VRRP-VRID_01 (00:00:5e:00:01:01)".  Very strange!
I verified that the virtual IP was of type "IP alias" (and tried the other types also, just in case; none made things better.)
I can supply a pcap if that would be helpful.  I would prefer to do so privately to avoid leaking MACs.
The source MAC was the same in both examples.
To Reproduce
Steps to reproduce the behavior:

Configure a virtual IP and NAT per https://matthias.guru/en/2021/12/13/starlink-mit-opnsense-pfsense-als-router/
Attempt to connect to it from the LAN
Incorrect destination MAC is used on the WAN interface

Expected behavior
The connection should be established.
Describe alternatives you considered
I also tried setting a static route (without a virtual IP), but that didn't work either.  I also tried all typs of virtual IPs.
Screenshots

Relevant log files
N/A
Additional context
N/A
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 23.1.6-amd64

https://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol

@AdSchellevis I understand about VRRP, but it's not relevant here.  There is no other router, no HA, no failover router,  no CARP, no VRRP.  It should not be using a VRRP MAC to talk to a device for which a VRRP MAC is invalid.  The packet simply goes nowhere because there is nothing to listen to it.

I'll add that on the opnsense machine, arp <IP_ADDRESS> produces the correct MAC (starting with 26:), not the VRRP one.
Interestingly, arp <IP_ADDRESS> produces the VRRP MAC.
Theory: is it incorrectly trying to use the gateway when doing outbound NAT?
I attempted to validate this by:

First, creating a static route to <IP_ADDRESS>/24.  That did nothing by itself.
I created a Firewall LAN rule which set gateway to "default" instead of the usual gateway for traffic to <IP_ADDRESS>.  That worked around the issue.

I am unclear why this was necessary, especially since multiple other guides didn't show those steps.  Nevertheless, that workaround did something useful.

Hi John,
I'm facing exactly the same behavior as you, same info found in my pcap but running on a pfSense (please, no flame war )
-> It does not look related to Opnsense!
Could you let me know if you found a solution/alternative to this problem?

Firewall->Settings->Advanced disable reply to perhaps?

This isn't a bug, most NAT firewalls in this situation will see that second NAT and their understanding is that you have purchased additional addresses from your ISP.  NAT addresses are meant to be routable, and will use the outside interface MAC.  What you want in this case is a secondary IP, which I'm not sure that this supports.
Another workaround would be to create a DMZ interface for this and use either a sub-interface or another physical.  (very easy if your firewall is a virtual machine and all of your interfaces map to VLANs)

This is a mis-understanding of the problem.  The problem is using the
wrong MAC to talk to the destination.
I do have it working and will look up my workaround later.

reply-to is probably what you're looking for here, but I think I already mentioned that. When forcing the next hop with a policy base routing rule (route-to) you are forcing traffic to that (other) specific hop as well.


N48: tiny-snake.rs

Part of #1420
My first type contributing here, so let me know if it needs any changes.

Great, thanks!


The kitti raw datasets's IMU data for your algorithm

Hi,I want to use the IMU data in kitti raw datasets to test lego ,just remap '/imu/data' to '/kitti/oxts/imu'
but it goes wrong when turn rotation on z axis.  For example：

And When not use IMU data，it will be ok:

The kitti raw datasets coordinate transform between velodyne and imu like this:

And in your datasets 2017-06-08-15-49-45_0.bag , the tf is like this:

Can help me what's wrong?
By the way, is there any doc about featureAssociate.cpp's detail. Thanks

In addition, I use the kitti raw datasets is synced

Hi @irobotDavinci  @TixiaoShan , i also meet this problem. After convert  imu's orientation, acc and angular vel to imu' frame, which has the same origin with original imu frame but align with laser frame,  the problem not solved. I test with kitti_2011_10_03_drive_0027_synced  raw data.


Q: Translatable: Cache translations

Hi,
I'm using this bundle for multi languages categories. Because I have a lot of categories + translations, it has +- 100 queries. So I'd like to cache categories and fetch it from cache.
I tried to use repository and instead of getResult I called getArrayResult but getting this error

Impossible to invoke a method ("translate") on an array

Because it's not in array.
So I'd like to ask, how would you cache translations?
Thanks

Not sure if this is place to cache this. I'd go with Doctrine 2 level cache


Project license clarification

Hello wonderful team :)
The license section in the readme seemed a bit unclear on how the source code of repo is actually licensed. It has "Copyright 2020 DeFiChain Foundation" - just that without a permissive license to accompany usually indicates it's proprietary.
Whenever you can get around to this:

If this was indeed the intention - would be helpful if you could state it explicity - that this is how the source code on this repo is licensed.
If this wasn't, and the intention is to make it OSS friendly (like MIT or Apache 2.0, for instance which tends to be very friendly to enterprise contributions, etc) - would be great if you could add that and the LICENSE file.

Thanks!
Cheers,
Prasanna

Hi @prasannavl , thanks for your feedback, well noted!


Update version: MongoDB.Shell version 2.2.5

closes #151596

Microsoft Reviewers: Open in CodeFlow

closes #151596

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Programs\mongosh\mongosh.exe returned exit code: 1

(Automated response - build 878.)


Feature to add _n alias to same column names #3147

Signed-off-by: Tushar Mittal<EMAIL_ADDRESS>resolves #3147
Description

Checklist

[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

I think the performance implications are trivial, and the fix looks good to me.

Hi @jtcohen6 , thank you for the review. In the unit tests folder there are lot of files, please can you tell in which one should I add the test? Also I am unable to find the list of contributors, can you guide me in this as well 🙂

@techytushar Good call! It doesn't look like any of the existing unit test files have related coverage, so I think a new unit test file makes sense—something like unit/test_sql_result.py. Here's what I'm envisioning as the basic setup:
import unittest
from dbt.adapters.sql.connections import SQLConnectionManager

class TestProcessSQLResult(unittest.TestCase):
    def test_duplicated_columns(self):
        cols_with_one_dupe = ['a', 'b', 'a', 'd']
        rows = [(1, 2, 3, 4)]

        self.assertEqual(
            SQLConnectionManager.process_results(cols_with_dupe, rows),
            [{"a": 1, "b": 2, "a_2": 3, "d": 4}]
        )

        cols_with_more_dupes = ['a', 'a', 'a']

        ... more test cases ...

There's also a code style error from flake8, once fixed the rest of the CI suite will run:
core/dbt/adapters/sql/connections.py:107:80: E501 line too long (81 > 79 characters)

The Contributors section is just a few lines further down in the Changelog here.
Let me know if you have more questions, happy to help!


rook is migrating to lastest operator-sdk

this commit adapts rook new csv generation methomd.
Signed-off-by: subhamkrai<EMAIL_ADDRESS>

fyi @iamniting ^^

The VolumeReplicationClasses and VolumeReplications CRDs still need to be generated. The previous csv generation had a special step for them since Rook doesn't own them, but we still want them to be in Rook's csv.

The rook is not owning the VolumeReplication crds but let's hear from @iamniting

The VolumeReplicationClasses and VolumeReplications CRDs still need to be generated. The previous csv generation had a special step for them since Rook doesn't own them, but we still want them to be in Rook's csv.

The rook is not owning the VolumeReplication crds but let's hear from @iamniting

Subham is right, We don't generate the VolumeReplication CRDs, They are owned by CSI addons nowadays.

The VolumeReplicationClasses and VolumeReplications CRDs still need to be generated. The previous csv generation had a special step for them since Rook doesn't own them, but we still want them to be in Rook's csv.

The rook is not owning the VolumeReplication crds but let's hear from @iamniting

Subham is right, We don't generate the VolumeReplication CRDs, They are owned by CSI addons nowadays.

Correct, they are owned by CSI addons, but they have always been included in the Rook csv. If they are being removed from the Rook csv, they would need to be added elsewhere and confirm there is no issue with the change in ownership during the upgrades.

The VolumeReplicationClasses and VolumeReplications CRDs still need to be generated. The previous csv generation had a special step for them since Rook doesn't own them, but we still want them to be in Rook's csv.

The rook is not owning the VolumeReplication crds but let's hear from @iamniting

Subham is right, We don't generate the VolumeReplication CRDs, They are owned by CSI addons nowadays.

Correct, they are owned by CSI addons, but they have always been included in the Rook csv. If they are being removed from the Rook csv, they would need to be added elsewhere and confirm there is no issue with the change in ownership during the upgrades.

As far as I can see they have been dropped from the ocs csv in the 4.12 release itself and we did not hear any complaint from QE having a problem with the upgrades. So we should be good removing it. Adding @Madhu-1 to confirm it once.

@iamniting @travisn PR is ready for final review, based on my changes on the rook, there was a successful build and the acceptance suite also passed with that.
cc @agarwal-mudit

Please also update the fusion bundle. Also, I believe we should use a different tag instead of master.

I added fusion changes and I'll update rook tag once 1.11 is release

/test ocs-operator-bundle-e2e-aws

/retest

/test ocs-operator-bundle-e2e-aws

/retest

/retest

/test ocs-operator-bundle-e2e-aws

Can someone confirm if the failure is not related to the changes? I would like to merge this because it is blocking a couple of other things. @subhamkrai @iamniting @malayparida2000

/retest

Can someone confirm if the failure is not related to the changes? I would like to merge this because it is blocking a couple of other things. @subhamkrai @iamniting @malayparida2000

We are trying to debug.

Can someone confirm if the failure is not related to the changes? I would like to merge this because it is blocking a couple of other things. @subhamkrai @iamniting @malayparida2000

We are trying to debug.

Finally I am able to debug it via creating a dummy PR as I don't had the access to the cluster created in the subham PR.  I see that "csi-rbdplugin" is not running. The image "quay.io/cephcsi/cephcsi:v3.7.2" is being used for the "csi-rbdplugin," which does not have a "enable-read-affinity" flag defined, and rook is passing that flag to the container. To make it work, we need to update the latest "csi-rbdplugin" image in the rook or either we should not pass this argument.
cc @Rakshith-R
$ oc get pods | grep csi-rbdplugin
csi-rbdplugin-bhpct                                               2/3     CrashLoopBackOff   10 (3m47s ago)   30m
csi-rbdplugin-provisioner-858d44c55d-2hsq7                        6/6     Running            0                30m
csi-rbdplugin-provisioner-858d44c55d-v6j5q                        6/6     Running            0                30m
csi-rbdplugin-rzbrz                                               2/3     CrashLoopBackOff   10 (3m31s ago)   30m
csi-rbdplugin-thj4l                                               2/3     CrashLoopBackOff   10 (3m55s ago)   30m

$ oc logs csi-rbdplugin-bhpct csi-rbdplugin
flag provided but not defined: -enable-read-affinity

  csi-rbdplugin:
    Container ID:  cri-o://30fe96c5b744f0378e47c9f778b573babbccca9e110e3bf64e1af8228f9e5239
    Image:         quay.io/cephcsi/cephcsi:v3.7.2
    Image ID:      quay.io/cephcsi/cephcsi@sha256:9dde057a7de88c4c1aab54ade1b0d85a79b0bca306d1be41488e59404f88fbf1
    Port:          <none>
    Host Port:     <none>
    Args:
      --nodeid=$(NODE_ID)
      --endpoint=$(CSI_ENDPOINT)
      --v=5
      --type=rbd
      --nodeserver=true
      --drivername=openshift-storage.rbd.csi.ceph.com
      --pidlimit=-1
      --metricsport=9090
      --metricspath=/metrics
      --enablegrpcmetrics=false
      --stagingpath=/var/lib/kubelet/plugins/kubernetes.io/csi/
      --csi-addons-endpoint=$(CSIADDONS_ENDPOINT)
      --enable-read-affinity=true
      --crush-location-labels=kubernetes.io/hostname,topology.kubernetes.io/region,topology.kubernetes.io/zone,topology.rook.io/chassis,topology.rook.io/rack,topology.rook.io/row,topology.rook.io/pdu,topology.rook.io/pod,topology.rook.io/room,topology.rook.io/datacenter

Yes you need to wait for Rook 1.11, which carries cephcsi 3.8.0 release

Yes you need to wait for Rook 1.11, which carries cephcsi 3.8.0 release

@Madhu-1 It is blocking the DS we will use the beta tag to unblock it for now once your PR is merged.

Yes you need to wait for Rook 1.11, which carries cephcsi 3.8.0 release

@Madhu-1 It is blocking the DS we will use the beta tag to unblock it for now once your PR is merged.

sounds good :+1:

The rook 1.11 branch build just finished to include ceph-csi 3.8. You can use tag rook/ceph:v1.11.0-beta.0.38.gfa4d97ea6.

The rook 1.11 branch build just finished to include ceph-csi 3.8. You can use tag rook/ceph:v1.11.0-beta.0.38.gfa4d97ea6.

yes, I'm using that. Thanks

@iamniting I think verify generate changes test are flaky, some time it fails on 1.19 and then I push without any changes then it fails on 1.20. Also sometimes it fails on ocs csv change or ics csv changes.
In my local I don't see any generation after running the commands.
003  IMAGE_BUILD_CMD=docker FUSION=true make gen-latest-csv
 1004  git status
 1005  IMAGE_BUILD_CMD=docker  make gen-latest-csv
 1006  history
~/go/src/github.com/ocs-operator
srai@192 ~ (use-rook-latest-csv-gen) $ git status
On branch use-rook-latest-csv-gen
nothing to commit, working tree clean

Verifying latest CSV
hack/verify-latest-csv.sh
Success: no out of source tree changes found for CSV

Hey @subhamkrai, Yeah this test is a bit flaky. I see the e2e tests have passed & I think we are good here.

Hey @subhamkrai, Yeah this test is a bit flaky. I see the e2e tests have passed & I think we are good here. Nitin will run those tests a few more times & it will pass.

thanks @malayparida2000 for confirmation.

@iamniting I think verify generate changes test are flaky, some time it fails on 1.19 and then I push without any changes then it fails on 1.20. Also sometimes it fails on ocs csv change or ics csv changes. In my local I don't see any generation after running the commands.
003  IMAGE_BUILD_CMD=docker FUSION=true make gen-latest-csv
 1004  git status
 1005  IMAGE_BUILD_CMD=docker  make gen-latest-csv
 1006  history
~/go/src/github.com/ocs-operator
srai@192 ~ (use-rook-latest-csv-gen) $ git status
On branch use-rook-latest-csv-gen
nothing to commit, working tree clean

Verifying latest CSV
hack/verify-latest-csv.sh
Success: no out of source tree changes found for CSV

It is passed now after re running it


Implemented action none for interconnect

Description
Implements missing action :none for oneview_interconnect
Issues Resolved
Fixes #59
Check List

[ ] New functionality includes testing.

[ ] All tests pass ($ rake test).
[ ] New resources and/or actions have are included in the matchers.rb and matchers_spec.

[ ] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in examples (please include helpful comments).

[ ] Changes documented in the CHANGELOG.

@tmiotto , just curious why we need the :none action defined? When would someone want to use it like this? (And because it's not clear to me, it would probably be good to add as a comment in the examples)

Probably no one will want to use the none action, but what would be the default?
We're setting all defaults to create/create_if_missing and variants, but this resource has none of them and there isn't an obvious and eligible action to be the default one, so... It would be best to put a none action, than selecting randomly one of the ones available.

Ok. Yeah, it seems any action (including :none) would be a little strange. This at least forces the user to pick an action. I don't think we need the example in there to do nothing, but it doesn't hurt anything either I suppose.

Since we are using the examples as a kind of documentation, it would be good to warn the user about this behavior there.
I made the message more clear to explain what is happening.


Missing circleci/node:10.16.1  image

node.js 10.16.1 was released on July 31, 2019.  Please add an image for this release: circleci/node:10.16.1

Hey @johnjensenish,
This image is already available but please take a look at this blog post for our image build process: https://circleci.com/blog/build-image-update-schedule/


Removed optional tag

Removed "optional:true" tag for following testscripts:
1.TC-BI-1.1
2.TC-BI-2.1
3.TC-BOOL-1.1
4.TC-CC-1.1
5.TC-FLW-1.1
6.TC-SWDIAG-3.1
7.TC-SWDIAG-1.1
8.TC-SWDIAG-2.1
9.TC-PRS-2.1
Executed all YAML test scripts, attached logs for reference:
test-execution-logs.zip

fast track: test changes


Allow login redirect URL to point to an in-network domain for multi-site

Right now, the login redirection link in settings is required to point to the same domain as the current site. This makes it so that sub-domain multi-site setups cannot direct between sites in the same network. The save validation should account for this and allow in-network redirects.
Reported here: https://wordpress.org/support/topic/login-redirect-issues-2/

Fixed in #512 and merged into dev. Release coming soon!


Expose swscale flags

Early implement for #577
I've been using this indoor for months. My main hesitation to upstream this was its change to API.
A new argument with default value was added to VideoFrame._reformat. It seems that argument with default value was never use in cdef in this project, but this is probably the only way not to break existing code.
Please consider this as a proposal. I would like to update this PR to meet up with an updated API design.

Thanks for this. I did a bit of work to style it the same as the rest of our constants, and then refactored the reformatting into the actual VideoReformatter class.
It should now be in develop.


extracting error explanation into a separate parser

This is work in progress. I am experimenting with better ways to explain errors with antlr4.

There is no reason for keeping this PR open. I've extracted some useful parts out of it.


A couple of issues

1- for the parameter "-ExchangeSenderMemberOf", it sounds like the value "All" is not accepted. with "-ExchangeLocation" is not recommended according to the article, admins will be left with no options (unless I got the syntax wrong):

2- In section (-ExchangeSenderMemberOfException), the paragraph text is the same as the previous section (just above it).

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

ID: 64d46b9d-594b-e24e-4964-71dab360cd28
Version Independent ID: a6b0658b-cbda-6d29-59f1-d1189208c72a
Content: New-DlpCompliancePolicy (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-DlpCompliancePolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@walidelmorsy, fortunately for all of us, I spent time yesterday dealing with a similar issue in New/Set-AutoSensitivityLablel based on a support case, so I was able to basically copy those efforts into New/Set-DlpCompliancePolicy. I'll try to summarize:

In New-, ExchangeLocation only takes the value All. -ExchangeLocation All means: "the policy includes email messages (messages sent by all internal senders)". In Set-, -AddExchangeLocation All means: "add email messages to the policy", while -RemoveExchangeLocation All means: "remove email messages from the policy".
ExchangeLocation is available in plenty of other cmdlets, but it sure doesn't act that way! The parameter Type is MultiValuedProperty which implies multiple values, yet it only takes the value All. And, there are plenty of other *Location parameters in New/Set/DlpCompliancePolicy and other cmdlets that don't act that way!

You can use ExchamgeMemberOf to restrict the policy to look at email only from specific users (members of the specified groups). Likewise, you can use ExchangeMemberOfException to look at email from all users except from specific users (members of the specified groups).

Either way, in New- you must use -ExchangeLocation All in the same command with ExchamgeMemberOf or ExchamgeMemberOfException. In Set-, ExchangeLocation must already be set to All in the policy; otherwise, you must also use -AddExchangeLocation All in the same command with ExchamgeMemberOf or ExchamgeMemberOfException.

@walidelmorsy Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


BoxConstraints has a negative minimum height. The offending constraints were: TextFormField

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
return Scaffold(
backgroundColor: Pallete.backgroundColor,
body: SingleChildScrollView(
child: Center(
child: Container(
width: width > 400 ? 300 : width,
decoration: BoxDecoration(
color: Pallete.brownish,
borderRadius: BorderRadius.circular(20),
),
child: Padding(
padding: const EdgeInsets.all(20),
child:  Column(
mainAxisSize: MainAxisSize.min,
children: [
Image.asset(logo..forWeb(web: kIsWeb)),
const SizedBox(
height: 25,
),
TextFormField(
),                        ],
)
),
),
);
Expected results
as expected
Actual results
-> RangeMaintainingScrollPhysics, IdleScrollActivity#04c39, ScrollDirection.idle)

This RenderObject had the following child:
text: TextSpan
════════════════════════════════════════════════════════════════════════════════════════════════════
Another exception was thrown: One of InputDecorator's children reported a negative baseline offset.
49
Another exception was thrown: Assertion failed:
box.dart:1966
Another exception was thrown: One of InputDecorator's children reported a negative baseline offset.
Another exception was thrown: Assertion failed:
box.dart:1966
Code sample
Code sample
return Scaffold(
      backgroundColor: Pallete.backgroundColor,
      body: SingleChildScrollView(
        child: Center(
          child: Container(
              width: width > 400 ? 300 : width,
              decoration: BoxDecoration(
                color: Pallete.brownish,
                borderRadius: BorderRadius.circular(20),
              ),
              child: Padding(
                  padding: const EdgeInsets.all(20),
                  child:  Column(
                          mainAxisSize: MainAxisSize.min,
                          children: [
                            Image.asset(logo..forWeb(web: kIsWeb)),
                            const SizedBox(
                              height: 25,
                            ),
                            TextFormField(
                                          ),                        ],
                        )
                      ),
      ),
    );

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
its fine

Unable to use this throws alot of exception. Can't use TextformField in Column

There is one more point, when my system is connected to Internet it has nothing with error / exceptions, but as I go offline and try run the code snippet offline in throws exception again.

The code was working fine until i was in city and all time connected to internet, but as I switched to Village and disconnected from Internet, some of theses offending errors does not let my code run.

@godofredoc @TahaTesser @bkonyi @Hixie @zanderso Please help me with this.

@devmarwat
Please don't randomly tag people on the issue for attention.
Coming back to your issue, if you look at the error you are getting:
Another exception was thrown: One of InputDecorator's children reported a negative baseline offset. You should try to look and research as why you might be getting this.
If we go by the error, it seems to be expected because InputDecorator expects its child to have a non-negative baseline. But I don't see usage of InputDecorator in your code provided. The TextFormField also seems to be empty. Also, it seems to have custom implementation and looks incomplete so we can't use it directly to properly address the issue.
I suggest you to open this issue in support channels like StackOverflow as it more looks like a code implementation issue rather than a bug in framework.
Closing as such. If you disagree, write in comments and I'll reopen it.

Ok I take mistake but closing issue like this doesn't make any sense.
As I have addressed the code works fine when system is connected to internet but throws exception every time when not connected to internet.
I think you should reproduce the code while staying offline.
Moreover this also doesn't make any sense to send me directly to stake over flow.

@devmarwat When filing a bug you need to include a complete program that shows the problem. This is mentioned in https://docs.flutter.dev/resources/bug-reports#provide-a-minimal-reproducible-code-sample (you checked a box when filing the issue saying you had read that). You only included a code snippet. You also have to include full logs (you only included a few lines), in particular you have to include all the information between the horizontal lines of the first exception (as explained in https://docs.flutter.dev/resources/bug-reports#provide-the-most-recent-logs). You also have to include the flutter doctor -v output (as explained in https://docs.flutter.dev/resources/bug-reports#provide-some-flutter-diagnostics).
If you think this is a framework bug, then please file a new bug where you follow all the steps in the guide that the issue template links to.

@devmarwat When filing a bug you need to include a complete program that shows the problem. This is mentioned in https://docs.flutter.dev/resources/bug-reports#provide-a-minimal-reproducible-code-sample (you checked a box when filing the issue saying you had read that). You only included a code snippet. You also have to include full logs (you only included a few lines), in particular you have to include all the information between the horizontal lines of the first exception (as explained in https://docs.flutter.dev/resources/bug-reports#provide-the-most-recent-logs). You also have to include the flutter doctor -v output (as explained in https://docs.flutter.dev/resources/bug-reports#provide-some-flutter-diagnostics).
If you think this is a framework bug, then please file a new bug where you follow all the steps in the guide that the issue template links to.

There is no need of such useless things, reproduction code is enough to discuss the issue.
Reproduction code is given and if running this takes your time to check the bug, always close this and any issue that you are simply not interested in, but remember this shows what's the team interest is in.

@devmarwat

There is no need of such useless things, reproduction code is enough to discuss the issue.

Issue template is provided for a reason and we should try to use them to give as much information as possible so that helps to properly address the issue. Just providing half hearted code snippet with custom implementation doesn't help much to give you proper feedback on. So we always encourage issue authors to use template as mentioned in the link above.
Coming back to your issue, I tried the code sample you provided by updating it to make it runnable (as it was incomplete and had custom implementation) and ran it with and without internet connection, which compiled properly without giving any errors as reported.

 runnable code sample

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: MyApp(),
  ));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.yellow,
      body: SingleChildScrollView(
      child: Center(
      child: Container(
      width: 300,
      decoration: BoxDecoration(
        color: Colors.brown,
        borderRadius: BorderRadius.circular(20),
      ),
      child: Padding(
          padding: const EdgeInsets.all(20),
          child:  Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Image.asset('assets/sample_image.jpeg'),
              const SizedBox(
                height: 25,
              ),
              TextFormField(
              ),                        ],
          )
      ),
    ),
    )));
  }
}

If above doesn't represent your case, please file a new issue using template and try to provide all requested details so that we can properly address the issue.


Fix build warning

Just a minor change to fix #662
That issue happens on my side too (Ubuntu 14.04 x64).

Probably either should remove the comment on the line above (/* Explicitly cast away the const-ness of buf */), or figure out why that cast was added in the first place.

According to http://www.zlib.net/manual.html
z_const Bytef *next_in;     /* next input byte */

This should be cast as const Bytef * instead of Bytef *.

It seems that comment line above is not needed anymore.


pad.c is missing

Thanks for making fart-os, it seems like the kind of OS I need. However, when I try to build it, I get the following error:
~$ git clone http://github.com/yupferris/fart-os
Cloning into 'fart-os'...
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 11
Unpacking objects: 100% (17/17), done.
Checking connectivity... done.
~$ cd fart-os/
~/fart-os$ make
clang -o pad pad.c
clang: error: no such file or directory: 'pad.c'
clang: error: no input files
makefile:16: recipe for target 'pad' failed
make: *** [pad] Error 1
~/fart-os$

Help please. How can I find out if fart-os is the right choice for me, when I can't even get it to compile?

This should be fixed now. I hope you find what you've been searching for with fart-os!

Thanks! Works fine now!


SCI vs Git CI - different behavior

It seems that SCI treats files differently than CI or local abaplint run from command line.
I did:
"global": {     "exclude": ["/ws/"],     "files": "/src/**/*.*"     },
CI and command line runs work but SCI keeps returning errors for these files.
It seems like SCI doesn't look on file path but only on filename.
Am I doing something wrong? Maybe any repo setting is wrong? I use prefix folder logic.

SCI? are you using https://github.com/abaplint/abaplint-sci-server ? which version?

Yes, abaplint-server, version: 2.83.13

Yes, abaplint-server

I see that newest abaplint version is 2.83.13. I think I will start with upgrade of abaplint server 😄 Thanks for poiting the right way.

closing

I didn't forget about it. I'm waiting for my IT to upgrade abaplint... It's on company's machine that I don't have access to...

okay, reopening

Finally, I have a 2.85.14 version. Unfortunately the issue still occurs.

update to the latest 2.85.17 😁 nah, probably also an issue with that version
anyhow, it depends a lot on the settings, I of cause recommend pushing everything to github and using https://github.com/marketplace/abaplint

I confirm that 2.85.17 still has this issue

well, I cannot reproduce it
need to know the design and configuration of your setup

Let's drop this topic. I have no idea how to prepare an easy to use script/repo/setup for playback. I can describe how I have it set up, but I've already stopped using this approach (running SCI with abaplint) because it's very slow compared to running abaplint in the pipeline after commits.

ok
yea, I also dont SCI with abaplint, due to the same reason
however, I have some plans to make it faster and easier, but reducing the scope of rules when running on SCI

Sure :)


[WIP] E2E Testing

Test framework:
tiffanyfay/aws-k8s-test-framework#1

What parts of helpers.go should go into the framework, and where?

TODO: Use testpod instead of nginx so metrics can be retrieved from it.


[BUG] WebformBuilder.saveComponent event Issue with Angular 15

Environment
Please provide as many details as you can:

Hosting type

[ ] Form.io
[x] Local deployment
Version: Windows 11

Formio.js version: 5.5.0-rc.9
Frontend framework: Angular 15.1.5
Browser: Chrome
Browser version: Version 110.0.5481.177

Steps to Reproduce

Drag any component from the form builder (i.e. Text Field)
set properties
click on the save button to save the component on Form.
On click on save button, getting console errors

Expected behavior
SHould not give any errors, and save component on Form.
Observed behavior
On click save button , gives console errors

Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.
For code or form JSON, please enclose in a code block:
// your code here

We are on angular 14.2.1 and also see this.  I haven't been able to reliably reproduce it.  I've only seen it twice on my machine which is a mac m1; my coworkers encounter it daily and they are on older windows laptops, so my best theory is its a timing/async issue related to angular event handlers and zones.
https://github.com/formio/angular/blob/master/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts#L94

@chakshutadesai we cannot reproduce the issue. You can check our demo repository with the latest @formio/angular version https://github.com/formio/angular-demo. Maybe you missed some configuration. Please provide some example in JSFiddle for example for future investigation. Thanks!

Thank you for your contribution. As this issue has been inactive for over 90 days, I will close it for now. If you'd like to reopen the issue, please reply and we can resume the triage process.


Mocking useNavigate with jest does not work

🐛 Bug Report

After upgrading to "react-router-dom": "6.0.0-beta.0", mocking the useNavigate hook fails. Tried it in a similar fashion to the useHistory approach which works.
To Reproduce
Steps to reproduce the behavior:

Create a component that uses useNavigate hook and make a navigate call inside of it.
Create a react-testing-library test for it and mock the hook like

jest.mock('react-router-dom', () => ({
    ...jest.requireActual('react-router-dom'),
    useNavigate: () => ({
        navigate: jest.fn(),
    }),
}))

Expected behavior

Test works and the navigate mock function is called.

Actual Behavior

Test fails with

Error: Uncaught [TypeError: navigate is not a function]

Link to repl or repo (highly encouraged)

https://codesandbox.io/s/react-router-forked-t90r7
The sandbox doesn't properly work because jest.mock is still not a function (aka sandbox doesn't support it yet boo).
envinfo

System:
    OS: macOS 11.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 15.7.0 - ~/.nvm/versions/node/v15.7.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 7.4.3 - ~/.nvm/versions/node/v15.7.0/bin/npm

Duplicate of https://github.com/ReactTraining/react-router/issues/7768

@andradaaag how are you "rendering" your component? I am getting this error after using your mock:
useNavigate() may be used only in the context of a <Router> component.

im using enzyme:
const wrapper = shallow(<MyComponent />);

@zacharytyhacz it seems you need to wrap your <MyComponent /> in a <Router> just as the error says.


not able to connect AWS RDS for postregSQL database

Error on connection testing:
Running the contributed command: 'sqltools.testConnection' failed.
Desktop information:

SQLTools Version [e.g. v0.23]
VSCode Version: [latest]
OS: [Windows]
Driver:

AWS PostgreSQL

Database version: [PostgreSQL 12.1]

Same in MacOS and PG 11.7 and the driver is SQLTools PostgreSQL/Redshift Driver

Are you able to try the community-contributed driver?
https://marketplace.visualstudio.com/items?itemName=kj.sqltools-driver-redshift

To connect  to AWS RDS, I need to set this FOUR:

User password: Ask on connect
SSL: Enabled
requestCert: Check
rejectUnauthorized: Check And Uncheck. This is important, and make a difference.

The "rejectUnauthorized": false should fill in the setting explicitly.
{
  "pgOptions": {
    "ssl": {
      "requestCert": true,
      "rejectUnauthorized": false
    }
  },
  "previewLimit": 50,
  "server": "XXX",
  "port": 5432,
  "askForPassword": true,
  "driver": "PostgreSQL",
  "name": "aws.rds.starter",
  "username": "XXX",
  "database": "XXX"
}


Switch python version used for pyside2 test

pywin32 v302 wheel for python3.6 on Windows seems to have an issue, this PR just exchange the version of python used for pyqt5/pyside2 tests.

This fixes CI, can someone have a look at this?


Unable to create examples due to "flatbuffers/flatbuffers.h' file not found"

I am trying to create the "hello_world" example with the following code:
make -f tensorflow/lite/micro/tools/project_generation/Makefile hello_world

Unfortunately, this results in a fatal error:
flatbuffers/flatbuffers.h file not found #include `flatbuffers/flatbuffers.h`

Running on WSL2 Ubuntu 20.04 on Windows 10.
Looking at the directory structure, this file is not there. Therefore it seems that the Makefile needs to be updated.

Please try the following command to build the hello world example
make -f tensorflow/lite/micro/tools/make/Makefile hello_world

Thank you @tanmaydas82 : I have tried your suggestion.
make -f tensorflow/lite/micro/tools/make/Makefile hello_world

However this creates another error:
make: tensorflow/lite/micro/tools/make/flatbuffers_download.sh: Command not found
tensorflow/lite/micro/tools/make/Makefile:489: *** Something went wrong with the flatbuffers download: .  Stop.

The reason of this failure can be an out of date flatbuffer download in the following directory
tensorflow/lite/micro/tools/make/downloads/
Please try to run the make after deleting the tensorflow/lite/micro/tools/make/downloads/flatbuffers directory completely.

@tanmaydas82 : The downloads folder is empty. There is no  flatbuffers  directory inside.
I have therefore decided to pull the latest version from git (my original code was about a week old) and run again:
make -f tensorflow/lite/micro/tools/make/Makefile hello_world

I get a new error:
File "/mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/generate_cc_arrays.py", line 26, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

I did not find any requirements.txt file that is mentioning this requirement. Am I missing something here?
Thanks for your support.

@subrockmann : Please share the full log, if possible. I can then look at it more closely and potentially we can find a solution.  Thank you!

@tanmaydas82 : I ran the code again and I have received the following output:
(base) dev@HP-Omen:/mnt/i/tinyml/tflite-micro$ make -f tensorflow/lite/micro/tools/make/Makefile hello_world
tensorflow/lite/micro/tools/make/downloads/flatbuffers already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/kissfft already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/pigweed already exists, skipping the download.
Traceback (most recent call last):
  File "/mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/generate_cc_arrays.py", line 26, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'
tensorflow/lite/micro/examples/hello_world/Makefile.inc:38: *** Something went wrong: .  Stop.

After that I removed the folders "flatbuffers", "kissfft" and "pigweed" from the downloads folder and ran again the following command:
"""
(base) dev@HP-Omen:/mnt/i/tinyml/tflite-micro$ make -f tensorflow/lite/micro/tools/make/Makefile hello_world
--2022-12-10 10:21:25--  https://github.com/google/flatbuffers/archive/a66de58af9565586832c276fbb4251fc416bf07f.zip
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/google/flatbuffers/zip/a66de58af9565586832c276fbb4251fc416bf07f [following]
--2022-12-10 10:21:25--  https://codeload.github.com/google/flatbuffers/zip/a66de58af9565586832c276fbb4251fc416bf07f
Resolving codeload.github.com (codeload.github.com)... <IP_ADDRESS>
Connecting to codeload.github.com (codeload.github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘/tmp/tmp.94DieUMG9r/a66de58af9565586832c276fbb4251fc416bf07f.zip’
/tmp/tmp.94DieUMG9r/a66de58af     [      <=>                                         ]   2.74M  2.47MB/s    in 1.1s
2022-12-10 10:21:27 (2.47 MB/s) - ‘/tmp/tmp.94DieUMG9r/a66de58af9565586832c276fbb4251fc416bf07f.zip’ saved [2872508]
Switched to a new branch 'tflm'
Applying /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/.//../../flatbuffers.patch to /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/./
--2022-12-10 10:22:11--  https://github.com/mborgerding/kissfft/archive/refs/tags/v130.zip
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/mborgerding/kissfft/zip/refs/tags/v130 [following]
--2022-12-10 10:22:11--  https://codeload.github.com/mborgerding/kissfft/zip/refs/tags/v130
Resolving codeload.github.com (codeload.github.com)... <IP_ADDRESS>
Connecting to codeload.github.com (codeload.github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘/tmp/tmp.uTn4GzCxei/v130.zip’
/tmp/tmp.uTn4GzCxei/v130.zip      [ <=>                                              ]  59.09K  --.-KB/s    in 0.05s
2022-12-10 10:22:11 (1.24 MB/s) - ‘/tmp/tmp.uTn4GzCxei/v130.zip’ saved [60513]
Switched to a new branch 'tflm'
Applying /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/kissfft/.//../../kissfft.patch to /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/kissfft/./
Cloning into 'tensorflow/lite/micro/tools/make/downloads/pigweed'...
remote: Sending approximately 37.74 MiB ...
remote: Counting objects: 34, done
remote: Finding sources: 100% (34/34)
remote: Total 56158 (delta 26956), reused 56144 (delta 26956)
Receiving objects: 100% (56158/56158), 37.71 MiB | 3.86 MiB/s, done.
Resolving deltas: 100% (26956/26956), done.
Updating files: 100% (3522/3522), done.
Updating files: 100% (3570/3570), done.
Note: switching to '47268dff45019863e20438ca3746c6c62df6ef09'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 47268dff pw_hdlc_lite: Client I/O improvements
Switched to a new branch 'tflm'
Applying /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/pigweed/.//../../pigweed.patch to /mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/make/downloads/pigweed/./
warning: pw_presubmit/py/pw_presubmit/format_code.py has type 100644, expected 100755
warning: pw_presubmit/py/pw_presubmit/pigweed_presubmit.py has type 100644, expected 100755
Traceback (most recent call last):
File "/mnt/i/tinyml/tflite-micro/tensorflow/lite/micro/tools/generate_cc_arrays.py", line 26, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
tensorflow/lite/micro/examples/hello_world/Makefile.inc:38: *** Something went wrong: .  Stop.
(base) dev@HP-Omen:/mnt/i/tinyml/tflite-micro$
"""
It is still the same issue that requires the installation of the PIL module.

Please see https://github.com/tensorflow/tflite-micro/blob/main/third_party/requirements.txt for additional pip packages that are needed.
PIL is part of the pillow pip package.

@advaitjain: Thanks that has soved the issue. I did not expect to find a requirements.txt that deep into the project structure.


License report fails for<EMAIL_ADDRESS>with FileNotFoundExc oci-java-sdk/bmc-bom/pom.xml

Cloned tip of master. Modified build.gradle.kts to be like:
    val checkoutRepositories : List<String> = if (project.hasProperty("checkoutRepo")) checkoutRepo.split(",") else listOf();
    var repositoryNames : List<String> = checkoutRepositories.map {
        it.split('@').first();
    }

    listOf(
<EMAIL_ADDRESS>    ).filter {
        !repositoryNames.contains(it.split('@').first())
    }.plus(
        checkoutRepositories
    ).filter {
      it.contains("micronaut")
    }.map {
        val (name, branch) = if (it.contains('@')) {
            it.split('@')
        } else {
            listOf(it, "master")
        }
        Pair("https://github.com/micronaut-projects/${name}.git", branch)
    }.forEach {
        checkout(it.first, it.second)
    }
}

Run the report using openjdk version "<IP_ADDRESS>" 2023-08-24 command line:

It fails after  1+minute with following error:
> Failed to apply plugin 'io.micronaut.build.internal.oraclecloud-bom'.
   > java.io.FileNotFoundException: /home/admin/dev/micronaut-license-report/checkouts/oci-java-sdk/bmc-bom/pom.xml (No such file or directory)

See full output below
Configuration cache is an incubating feature.
Calculating task graph as configuration cache cannot be reused because file 'build.gradle.kts' has changed.

> Task :checkoutMicronautOracleCloud
Checking out https://github.com/micronaut-projects/micronaut-oracle-cloud.git branch v3.1.0 in /home/admin/dev/micronaut-license-report/checkouts/micronaut-oracle-cloud
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
> Task :settings-build-logic:generateExternalPluginSpecBuilders FROM-CACHE
> Task :settings-build-logic:extractPrecompiledScriptPluginPlugins FROM-CACHE
> Task :settings-build-logic:compilePluginsBlocks FROM-CACHE
> Task :settings-build-logic:generatePrecompiledScriptPluginAccessors FROM-CACHE
> Task :settings-build-logic:generateScriptPluginAdapters FROM-CACHE
> Task :settings-build-logic:compileKotlin FROM-CACHE
> Task :settings-build-logic:compileJava NO-SOURCE
> Task :settings-build-logic:pluginDescriptors
> Task :settings-build-logic:processResources
> Task :settings-build-logic:classes
> Task :settings-build-logic:jar

> Task :reportForMicronautOracleCloud
Injecting init script /home/admin/dev/micronaut-license-report/src/init.gradle

Type-safe project accessors is an incubating feature.
> Task :buildSrc:extractPluginRequests FROM-CACHE
> Task :buildSrc:generatePluginAdapters FROM-CACHE
> Task :buildSrc:compileJava FROM-CACHE
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:compileGroovyPlugins FROM-CACHE
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar

FAILURE: Build failed with an exception.

* Where:
Build file '/home/admin/dev/micronaut-license-report/checkouts/micronaut-oracle-cloud/oraclecloud-bom/build.gradle' line: 3

* What went wrong:
An exception occurred applying plugin request [id: 'io.micronaut.build.internal.oraclecloud-bom']
> Failed to apply plugin 'io.micronaut.build.internal.oraclecloud-bom'.
   > java.io.FileNotFoundException: /home/admin/dev/micronaut-license-report/checkouts/oci-java-sdk/bmc-bom/pom.xml (No such file or directory)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 11s
16 actionable tasks: 6 executed, 10 from cache

> Task :reportForMicronautOracleCloud
Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.4-bin.zip'.

0 problems were found storing the configuration cache.

See the complete report at file:///home/admin/dev/micronaut-license-report/build/reports/configuration-cache/2b71nq728reev27ibznjy1rjx/36dh3xzyasxyhqixyvabonid5/configuration-cache-report.html

There is no easy fix for this one. You will have to edit one file after the project is cloned: in checkouts/micronaut-oracle-cloud, apply the following patch:
diff --git a/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle b/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
index 268cc470..7b71ed83 100644
--- a/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
+++ b/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
@@ -12,7 +12,7 @@ if (!extraPropertiesExtension.has('ociArtifacts')) {
     String ociVersion = libs.oci.bom.get().version
     def ociArtifacts = parseOciBomArtifacts(ociVersion)

-    String ociProjectVersion = new XmlSlurper().parse("checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
+    String ociProjectVersion = new XmlSlurper().parse("checkouts/micronaut-oracle-cloud/checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
     def ociProjectArtifacts = parseOciBomArtifacts(ociProjectVersion)

     if (ociVersion != ociProjectVersion) {

Comment as of Oracle Cloud module v 4.1.0 line has to be changed to:
String ociProjectVersion = new XmlSlurper().parse("checkouts/micronaut-oracle-cloud/target/checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
target folder added to checkout of OCI SDK.


Working example

What kind of Issue is this?
Problem
Its a very great plugin but I'm not able to use it in my app, tried things nothing working
Can you please make a documnet where you mention a live working example changing screens on click something like this here:
https://stackoverflow.com/questions/49978995/change-content-of-tabs-in-react-native-material-bottom-navigation-and-react-n
Thanks
ps: I also tried to fill your issue template 💯

react-native-material-bottom-navigation is unopinionated, which means there is no "real and only way" on implementing it with any routing library. From an outside perspective, the BottomNavigation is just like having multiple Buttons. The BottomNavigation is no navigation library, it is just a big fancy button.
You can find a working example of the BottomNavigation here: https://github.com/timomeh/react-native-material-bottom-navigation/blob/master/examples/Playground/App.js
This example doesn't use a navigation library. You can render anything you want by using this.state.activeTab:
export default class App extends React.Component {
  state = {
    activeTab: 'games'
  }

  // this.renderTab and this.tabs are hidden in this example,
  // check the docs for the full code

  render() {
    const { activeTab } = this.state

    return (
      <View style={{ flex: 1 }}>
        <View style={{ flex: 1 }}>
          {activeTab === 'games' && <GamesScreen />}
          {activeTab === 'movies' && <MoviesScreen />}
          {activeTab === 'news' && <NewsScreen />}
        </View>
        <BottomNavigation
          activeTab={activeTab}
          onTabPress={newTab => this.setState({ activeTab: newTab.key })}
          renderTab={this.renderTab}
          tabs={this.tabs}
        />
      </View>
    )
  }
}

This is a very simple but naive approach. I don't recommend doing it this way. You should rather use a navigation library.
As I wrote in the Usage-Docs on "Changing your screen":

If you want to display different contents on your screen depending on the active tab, you can use the onTabPress prop and save the active tab in your state. Check out the Chapter Controlled Component.
You most likely want to use this together with a navigation library, e.g. React Navigation or React Native Navigation.

If you use react-navigation for example, you can do something like this:
<BottomNavigation
  onTabPress={newTab => navigation.navigate(newTab.key)}
/>

Check the React Navigation Docs for a full guide on how to do navigation.
I recommend that you choose a Navigation Library first and read their docs before you add the BottomNavigation into your project.

Note: I'm closing this issue because it's a question and not a real issue or bug.


Added dev OpenAPI spec, removed debug endpoint from prod OpenAPI spec

Description
This PR removes debug endpoints from openapi.json and adds new openapi_dev.json with debug ednpoints. I edited the spec via apicur.io online editor.
Fixes #385
Type of change

Bug fix (non-breaking change which fixes an issue)
Documentation update

Testing steps
I uploaded a new spec to gist.github.com and validated it via https://petstore.swagger.io/.

@quarckster I've restarted uni tests btw - still the DL issue is there :(

Codecov Report

Merging #386 (876d7e4) into master (18e2cd5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #386   +/-   ##
=======================================
  Coverage   50.17%   50.17%
=======================================
  Files          12       12
  Lines        1160     1160
=======================================
  Hits          582      582
  Misses        495      495
  Partials       83       83

Continue to review full report at Codecov.

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


"import x as y" lost

running isort on
import os
import os as _os

results in
import os as _os

Ran into this problem in a large file that imported the same thing twice in different places with different names. Appreciate that this is bad code, but it would only be obvious after sorting, and isort breaks it.

@timothycrosley should this be enabled by flag? or by default?

Sorry, but the fix doesn't make a lot of sense to me.
Given this file:
import os
import os as _os
import sys as _sys
_sys.stdout.write("pathsep on %s is %s\n" % (os.name, _os.pathsep))

The default behaviour (isort 4.3 without parameters) results in
import os as _os
import sys as _sys

_sys.stdout.write("pathsep on %s is %s\n" % (os.name, _os.pathsep))

which is broken code. I do not understand why breaking code should be the default behaviour.
Running isort -k adds an unused import:
import os
import os as _os
import sys
import sys as _sys

_sys.stdout.write("pathsep on %s is %s\n" % (os.name, _os.pathsep))

and while that code still works I don't want to sprinkle unused imports all across my project just to avoid breaking code.

This is fixed in develop and will make it's way in isort 5.0.0
Thanks!
~Timothy


No compatible with v2021.3

Error Message:
Incompatible: requires IDE build 212.* or earlier

Thanks.. its works now


Why are the default lower frequency from FilterBanks.OctaveBands is 62.5?

Why is the default lower frequency of FilterBanks.OctaveBands 62.5? Should it be 11, 22, 44 as specified in ISO 266?
Lower Frequencies: 11, 22, 44, 88, 177, 355, 710, 1420, 2840, 5680, 11360
Middle Frequencies: 16, 31.5, 63, 125, 250, 500, 1000, 2000, 4000, 8000, 16000
Upper Frequencies: 22, 44, 88, 177, 355, 710, 1420, 2840, 5680, 11360, 22720

In MPEG-7 default lower frequency is 62.5 Hz
Anyway, you can set your own lower frequency:

var octaveBands = Filterbanks.OctaveBands(octaveCount, samplingRate, lowFreq: 22);

Everything is customizable here.
You can create your own filterbank, completely from scratch:

var octaveBands = new []
{
    (11,  16,  22),
    (22,  31.5, 44),
    (44, 63, 88),
    //...
    (11360, 16000, 22720)
};

var filterbank = FilterBanks.Rectangular(fftSize, samplingRate, octaveBands);


have Nextcloud folder appear in Cloud Disk

What's the Problem?
Hello
i'm using Nextcloud https://nextcloud.com/ as my cloud file storage, but it seems that it is not recognize as so by Files :) .
Solution/Idea
Have file integrate Nextcloud as a cloud file service.
Alternatives
use Windows Explorer in the samtime
Priorities
this will allow Nextcloud user to have Files as the definitive tool for file manager :)
Files Version
Version : <IP_ADDRESS> OS Version: 10.0.19042.1415
Windows Version
Windows 10 20H2 19042.1415
Comments
No response

Merging with #4420


No revert button

The documentation indicates

If you discover bugs while in Production, you can revert to previous application version by clicking and approving the change again.

Does this imply you need to revert code and re-commit to have the pipeline build again, or is there a way to simply flip the blue/green deployments back to the previous version.  The later would be preferable.  In this case would a seperate pipeline which skips the code build step and only performs the flip operation be required?

Hi @brightsparc,
Revert button would simply put the blue service (older version) of your application into production. This means the ALB target groups will revert back to target groups that were defined for Blue service. Let me know if this helps.
Thanks


Installing upROOT on lxplus

Hi!
I have a rather basic question: what would be the easiest way of installing upROOT and pandas on lxplus? I tried the pip -install for both of them and it simply does not work out the well.
Cheers,
Zhelun

The default Python on lxplus is Python 2.7, which has less than two months to live. NumPy and Pandas both dropped support for Python 2.7 on January 1, 2019, almost a full year ago. The latest versions of these packages that do support Python 2.7 are NumPy 1.16.x and Pandas 0.23.x.
You can install them in your home directory like this, though it's not recommended:
pip install --user --upgrade 'numpy<1.17' 'pandas<0.24' uproot

and check (possibly needing to set PYTHONPATH):
>>> import numpy
>>> numpy.__version__
'1.16.5'
>>> import pandas
/afs/cern.ch/user/p/pivarski/.local/lib/python2.7/site-packages/pandas/core/nanops.py:39: UserWarning: The installed version of bottleneck 0.7.0 is not supported in pandas and will be not be used
The minimum supported version is 1.0.0

  ver=ver, min_ver=_MIN_BOTTLENECK_VERSION), UserWarning)
>>> pandas.__version__
u'0.23.4'
>>> import uproot
>>> uproot.__version__
'3.10.11'

The recommended way to do it is to either get a more up-to-date Python from your collaboration's software framework or to install Miniconda. I personally would go the Miniconda route—I've found it to be the easiest way to get any system up and running because it doesn't rely on (virtually) anything from the base OS distribution.

Zooming into your console output, I see that the Python version on this system is 2.6, which was ended on October 29, 2013, more than six years ago. You won't find any reasonable version of NumPy or Pandas that will work on Python 2.6. In fact, uproot requires at least NumPy 1.13.1 because this is the first version that allows JaggedArrays to be evaluated with ufuncs, and NumPy 1.13.1 does not support Python 2.6.
You must use a newer version of Python; don't even try the trick I described above to make Python 2.7 work. Since you need a new Python, get a version 3 Python; 3.7 and 3.8 are current. I recommend Miniconda.

On lxplus, you have the option of using LCG, simply activate the environment:
# check your platform: CC7 shown below, for SL6 it would be "x86_64-slc6-gcc8-opt"
source /cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh

Just to be clear, Uproot supporting Python 2.6 doesn't actually fix the fact that the default version of Python on the old lsplus6 (lsplus defaults to lsplus7 and Python 2.7 now) is wrong - you son't be able to do anything else after importing uproot, such as: installing numpy, pandas, using any modern code, etc. You'd have to manually pin old versions of all packages - why not manually pin uproot too, then? So uproot is simply "first point of failure" here. I think we should declare 2.6 is completely unsupported and move on, possibly with a "final version to support 2.6" note, and a sys.version_info > (2, 6) check for a better error message.

(Obviously I'm referring to Uproot4, but this seems to be the issue keeping Python 2.7 syntax out of Uproot4)


 I know that you can, of course, do something like fselect "name WHERE uid <> $(id -u)" but it feels a little cleaner to not have to do shell interpolation.

Great contribution! Thank you, these functions are really good to have.


Exception at ConstructorUNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.

After did everything in your github post. I kept getting

#Solution

Navigate to Setup
In the Quick Find bar, type in Critical Updates
Select Critical Updates
Locate the Require TLS 1.1 or higher for HTTPS connections under the Update Name column
Click on Deactivate.

Navigate to Setup
In the Quick Find bar, type in Critical Updates
Select Critical Updates
Locate the Require TLS 1.1 or higher for HTTPS connections under the Update Name column
Click on Deactivate.


Upgrade K8s dependencies to  v.1.16+

Because we raise the minimum requirement for Longhorn v1.1.0 to Kubernetes v.1.16+, we should update K8s dependencies (client-go, Kubernetes, metric-client, etc..) to  v.1.16+.

*Test Steps:
Make sure Longhorn installation and upgrade are ok.

Validation: PASSED
k8s version: v1.16
Test steps:

Install Longhorn from master
Install Longhorn v1.0.2, then upgrade to master.


sometimes sub-Flow opens multiple times after latency and even clears some values

What are the steps to reproduce?
If within the flow, a sub-flow node exists, I have sometimes a strange situtation:
Usually, when I double-click on the sub-flow, a dialog and I can change properties or edit the subflow.
But sometimes it does not react and when I click multiple times, suddenly it opens.
Here a screenshot:

Click repeated in a very short time on a sub-flow
OR
configure authentication (e.g. using header variable) and wait for a longer time. Then double-click on a sub-flow.
What happens?
If within the flow, a sub-flow node exists, I have sometimes a strange situtation:
Usually, when I double-click on the sub-flow, a dialog and I can change properties or edit the subflow.
But sometimes it does not react and when I click multiple times, suddenly it opens.
It seems that related to that, sometimes values set for Environment-Variables on the object get deleted.
See also https://discourse.nodered.org/t/strange-issue-or-bug-opening-a-sub-flow/39866
What do you expect to happen?
-Multiple opens should be prevented
-clearing of values should not happen
Please tell us about your environment:

[x] Node-RED version: 1.2.7
[x] Node.js version: v12.18.0
[x] npm version: 6.14.4
[x] Platform/OS: debian latest
[x] Browser: chrome

@knolleary Unfortunately the issues still appear even with latest version. So I have still the issue that objects sometimes double open or the field contents gets cleared.
Btw I do not see the mentioned load dialog. Might this be a different issue?

What version are you testing with? This is fixed in the 1.3.0-beta.1 release that I published about 10 minutes ago.

Ah i tested 1.2.9


Output is not showing correctly

Type: Bug
#include<stdio.h>
#include<stdlib.h>
typedef struct node{
int n;
int number;
int* arr;
}node;
int main(){
struct node* p = (node*)malloc(sizeof(node));
p->n = 0;
p->number = 9;
printf("%d\n",p->n);
printf("%d\n",p->number);
p->arr[p->n]=p->number;
printf("%d",p->arr[0]);
return 0;
}
This code output is shown wrong in my system but works fine in my friend's
Output is 0 9 9
but it's showing 0 9
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.65GB (2.27GB free)

Process Argv
--crash-reporter-id 3fdc920f-2f38-4196-93ef-f184f7d94679

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

better-cpp-syntax
jef
1.16.1

vscode-dotnet-runtime
ms-
1.5.0

python
ms-
2022.16.1

vscode-pylance
ms-
2022.10.30

jupyter
ms-
2022.9.1202862440

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.10

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.255.4

remote-ssh
ms-
0.90.1

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.72.0

cmake-tools
ms-
1.12.27

cpptools
ms-
1.12.4

cpptools-extension-pack
ms-
1.3.0

LiveServer
rit
5.7.9

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903
vscccc:30566498
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30573243

/needsMoreInfo
Is it showing correctly if you run it from terminal and not just hrough VS Code?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

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


How do you port extra keys to FNF mods?

You've ported 6K-9K to Tricky V2. Then how do you port it to other mods?
I want to port one of my favourite mods into 6K-9K, so it would be really useful if you wrote the instructions.


TypeError: getaddrinfo() argument 1 must be string or None

Problem
xgboost changed the order of the RabitTracker constructor parameters in 2.1.0
In 2.0.3, host_ip comes first
In 2.1.0, host_ip is second.
This breaks the call here.
Steps to reproduce

Create a new venv.  Tested with python 3.10.13

Install packages

pip install xgboost_ray==0.1.19 xgboost==2.1.0 scikit-learn ray[train]

Run example:

from xgboost_ray import RayDMatrix, RayParams, train
from sklearn.datasets import load_breast_cancer

train_x, train_y = load_breast_cancer(return_X_y=True)
train_set = RayDMatrix(train_x, train_y)

evals_result = {}
bst = train(
    {
        "objective": "binary:logistic",
        "eval_metric": ["logloss", "error"],
    },
    train_set,
    evals_result=evals_result,
    evals=[(train_set, "train")],
    verbose_eval=False,
    ray_params=RayParams(
        num_actors=2,  # Number of remote actors
        cpus_per_actor=1))

bst.save_model("model.xgb")
print("Final training error: {:.4f}".format(
    evals_result["train"]["error"][-1]))

Error
2024-07-09 15:35:11,003 INFO main.py:1191 -- [RayXGBoost] Starting XGBoost training.
Traceback (most recent call last):
  File "/home/jovyan/run.py", line 10, in <module>
    bst = train(
  File "/home/jovyan/venv/lib/python3.10/site-packages/xgboost_ray/main.py", line 1612, in train
    bst, train_evals_result, train_additional_results = _train(
  File "/home/jovyan/venv/lib/python3.10/site-packages/xgboost_ray/main.py", line 1194, in _train
    rabit_process, rabit_args = _start_rabit_tracker(alive_actors)
  File "/home/jovyan/venv/lib/python3.10/site-packages/xgboost_ray/main.py", line 261, in _start_rabit_tracker
    rabit_tracker = _RabitTracker(host, num_workers)
  File "/home/jovyan/venv/lib/python3.10/site-packages/xgboost/tracker.py", line 64, in __init__
    get_family(host_ip)  # use python socket to stop early for invalid address
  File "/home/jovyan/venv/lib/python3.10/site-packages/xgboost/tracker.py", line 14, in get_family
    return socket.getaddrinfo(addr, None)[0][0]
  File "/opt/conda/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
TypeError: getaddrinfo() argument 1 must be string or None

Proposed solution
Pin the xgboost dependency to <2.1.0
OR
change this line to
rabit_tracker = _RabitTracker(host_ip=host, n_workers=num_workers)

@ajayrgb  - thanks for posting this solution. I was facing same issue since that last few days but couldn't figure out anything. Finally this worked.

thanks, roll-back xgboost to 2.0.3 is useful for me

Same issue here. I have to roll back xgboost to 2.0.3.


Feature: Automatic updates

First of all, this tool is pretty awesome at the current stage already.
I want to suggess an feature to turn automatic updates on and off, for example there could be a option in the config file like:
# enable automatic updates (0 = off, 1 = on, 2 = as soon as the patch occours)
updateModus=1
updateHour=0300 (0300 = 03:00, 1500 = 15:00, etc..)
updateBroadcast="Ark has been updated, the server will update and restart within 15 minutes"
updateTimer=15

Something like this would make the tool perfect
Regards

This can already be done with a cron job and the arkmanager update --warn command.
For updating at 03:00, put this in your crontab:
0 3 * * * /usr/local/bin/arkmanager update --warn

For checking for updates every hour, put this in your crontab:
0 * * * * /usr/local/bin/arkmanager update --warn

Oh sorry, forgot about the cron jobs, thank you =)


very nice work! Do PACA only exist in the up-sample blocks of U-Net?

Hi~, can I ask for some detail about the model.
In Figure 2 of the paper, it is shown that PACA only exists in the up-sample blocks of U-Net.
Is there any specific motivation behind this design?
Looking forward to your reply.
Thanks very much
@yangxy

It's OK to add PACA to any transform blocks. We add it to the upsample blocks only because we found this is enough to capter pixelwise info and it saves GPU memory.


Sample code for Census end-to-end workload

Census sample code pull request includes the jupyter notebook file, license.txt, sample.json and README
Signed-off-by: Vrushabh Sanghavi<EMAIL_ADDRESS>Description
The pull request includes sample code for the Census end-to-end workload. The dataset is hosted on Google cloud and is downloaded when running the code. The commit includes a jupyter notebook file, license.txt, sample.json and README.
Presently, there is a known defect in impi_rt that does not correctly add libfabric to the LD_LIBRARY_PATH in the conda environment. There is presently a Jira issue open and I am told it will be addressed in the Gold release. Temporary solution:
export LD_LIBRARY_PATH=/path/to/conda/env/aikit-modin/lib/libfabric/:$LD_LIBRARY_PATH
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Sample Migration (Moving sample from old repository after completing checklist established)

How Has This Been Tested?
The sample code has been tested through the Jupyter notebook environment as well as the python code. The screenshot of the result is also available in the Readme.
In order to run the sample on command line:
source /opt/intel/oneapi/setvars.sh --force
source activate base
conda create --name intel-aikit-modin -c intel/label/oneapibeta -c intel -c conda-forge runipy intel-aikit-modin=2021.1b10
conda activate intel-aikit-modin
runipy census_modin.ipynb OR python census_modin.py

[X] Command Line

Checklist for Moving samples:
Links and Details can be found in the samples WG Teams Files.

[X] Review sample design with domain reviewers https://github.com/oneapi-src/oneAPI-samples/wiki/Reviewers-and-Domain-Experts
[X] Implement coding guidelines and ensure code quality.
[X] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
[X] Adhere to readme template
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Enforce format via clang-format config file
[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[X] Review readme with Tom Lenth or Joe Oster. (GitHub User: JoeOster)
[ ] Tested using Dev Cloud when applicable
[ ] Implement fixes for ONSAM Jiras
[ ] If you have new dependencies/binaries, inform Samples Project Manager Swapna R Dontharaju (@srdontha) or @JoeOster

Kate said that this sample passes CI testing for Gold packages - so I will merge this


How to keep the original url using proxy?

Hi! It's my Caddyfile:
myapp.mydomain.com {
proxy / <IP_ADDRESS>:8001
log /var/log/myapp.log
tls off
}
When I access via browser the url http://myapp.mydomain.com, the url in the address bar changes to http://<IP_ADDRESS>:8001.
This IP is a docker container running a specific webapp.

try
myapp.mydomain.com {
    proxy / <IP_ADDRESS>:8001 {
        proxy_header Host {host}
    }
    log /var/log/myapp.log
    tls off
}

The proxy_header worked! Thanks!