Very serious performance problem found that alluxio will have a long tail effec

Alluxio Version:
2.2.1
Describe the bug
Alluxio acceleration effect, found that alluxio will have a long tail effect, which causes some tasks to be particularly time-consuming. Compared with HDFS, there is no obvious advantage.
To Reproduce
excute spark shell
or
excute TestDFSIO also can reeproduce
Expected behavior
so smart read performance
Urgency
I think it is urgency
Additional context
`#~/cloud/alluxio/bin/alluxio fs mkdir -p /xubo/project/SparkSW/input/
for i in 1 2 3 4 5 6 7 8 9 10
do
echo 'time:'$i
for j in 1 2 3 4 5 6 7 8 9 10
do
sh test.sh 10G  hdfs://Master:9000/xubo/project/SparkSW/input/'D'$i'Line.fasta' hdfs://Master:9000/xubo/project/alluxio/output/TimeCount
#sh test.sh 10G  alluxio://Master:19998/xubo/alluxio/uniref/'D'$j'Line.fasta' hdfs://Master:9000/xubo/project/alluxio/output/TimeCount
#sh test.sh 10G  alluxio://Master:19998/xubo/project/SparkSW/input/'D'$j'Line.fasta' alluxio://Master:19998/xubo/project/alluxio/output/TimeCount
done
for j in 1 2 3 4 5 6 7 8 9 10
do
sh test.sh 10G  alluxio://Master:19998/xubo/project/SparkSW/input/'D'$i'Line.fasta' hdfs://Master:9000/xubo/project/alluxio/output/TimeCount
done
done`

@ZacBlanco @apc999

This issue doesn't have enough information to determine if there are any mis-configurations or errors. If you see poor performance then you'll need to answer a few things:

Is the data already cached in Alluxio?
Which UFS are you using?
If you aren't using a cloud-based UFS like AWS S3, is the data in the UFS co-located with Alluxio or in a separate remote cluster somewhere?

You also should share:

alluxio-site.properties
Your cluster architecture
Look for any errors in the master.log, job_master.log, worker.log, or job_worker.log` and share them here.
The exact benchmark workload that is being run. The information about your script you provided doesn't tell us much about what kind of workload you're actually running.

1、Is the data already cached in Alluxio?
yes，we use MUST_CACHE  write some file into alluxio
2、Which UFS are you using?
hdfs
3、co-located with Alluxio
others info:
1、alluxio-site.properties
`alluxio.master.mount.table.root.ufs=/dev/shm
alluxio.master.bind.host=host1
alluxio.master.hostname=host1
alluxio.master.embedded.journal.addresses=host1.:19200,host2:19200,host3:19200
alluxio.security.authentication.type=SIMPLE
alluxio.master.security.impersonation.test.users=*
Worker properties
alluxio.worker.memory.size=50GB
alluxio.worker.tieredstore.level0.dirs.path=/dev/shm
alluxio.worker.tieredstore.level0.dirs.mediumtype=MEM
alluxio.worker.tieredstore.level0.dirs.quota=50GB`
2、block suspend
`worker.log.2020-06-09 20:00:24.593 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.593 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.593 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.607 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.611 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.639 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:01:24.692 DEBUG AbstractReadHandler - Received read request block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:00:24.593 DEBUG TieredBlockStore - accessBlock ssesionId =<PHONE_NUMBER>31, block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:00:24.593 DEBUG TieredBlockStore - getBlockReader - ssesionId =<PHONE_NUMBER>31, block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:00:24.593 DEBUG TieredBlockStore - lockBlockNoExcetion - ssesionId =<PHONE_NUMBER>31, block_id :<PHONE_NUMBER>914
worker.log.2020-06-09 20:00:24.593 DEBUG AbstractReadHandler - Received read request block_id :
4725420326914
`
3、

@jinhang Do you mind sharing your findings?

reopen it to new issue


Wildcard include takes precedence over exclude

TypeScript Version: 3.5.2

Search Terms: include exclude tsconfig json watch wildcard glob
Code
{
  "include": ["./*"],
  "exclude": ["./foo/"]
}

touch main.ts

tsc --watch

Then:
mkdir ./foo/

Expected behavior: No recompile when ./foo/ dir is created.
Actual behavior: Recompiles

Files included using "include" can be filtered using the "exclude" property.

– https://www.typescriptlang.org/docs/handbook/tsconfig-json.html

This is working as intended. We still need to watch the root directory for anything other than foo and hence the watch would be invoked but it will find that there is not change in program root files and use existing program.


Indexing became extremely slow

After recent changes indexing performance decreased and memory consumption increased extremely. After indexing 3k-4k files slow down is more visible.
Result for magento (24k files) project:
All PHP files parsed in 2904 seconds. 6123 MiB allocated.
Previous those values were about 100s and 600MiB.

That really is a lot. Suggestions?

It would be nice to have some configurable memory limit. And have the language server smart enough to fit in this memory limit, i.e. If the memory limit is tiny, the language server optimize the memory usage by moving this to a file system cache.
Our use case with Eclipse Che, is that the PHP language server runs as an agent in a Docker container with a total memory of 1-2 GB. There are more language severs (JSON, CSS, JavaScript, etc.), Che workspace agent, etc. I would imagine that the PHP language server in our case should be limited to 100-200 MB of memory.

Regarding memory limit I think it would be nice to add command line argument like "--tcp" for socket connection and apply it to ini_set in bin/php-language-server.php.
As for the performance problem I will take a look what is causing such slow down.

We have some experience with indexing in Eclipse PDT / Zend Studio. It was impossible to hold all data in-memory. Even a single regular project using a popular framework go over 10,000 files. The nature of the Eclipse workspace allows multiple project at the same time and the memory usage goes really crazy.
For long years we used an H2 database to store the data. H2 is an embedded relational database and as such it has some performance limitations. In the last year we switched to using Apache Lucene - a text-based search engine. It improve the performance significantly. Currently, Eclipse PDT has a much better performance than we have here, even without the latest changes which caused the big slow down.

Moving structures to disk would help.
Some ideas to remove RAM usage:

I implemented the definition map at project level so that a reference to the PhpDocument is saved, not the node. An improvement would be to discard the AST, and reparse the document upon request for definition/reference.
$content is currently kept in memory in addition to the AST. Which means we basically keep all file contents in memory. It is only used for formatting, so I propose we re-read the content on formatting request.

Any ideas regarding index time? We traverse all ASTs twice at index time.

@kaloyan-raev I heard from other folks that rebuilding the Eclipse PDT index takes them ~3min.
We could use SQLite. Or go with serialize/unserialize

@mniewrzal I don't know why it is so extreme for you... I just tried it on Symfony + dependencies, which is 7100 files:
All PHP files parsed in 147 seconds. 98 MiB allocated.

Let me clone magento

Ok I will also check Symfony + dependencies to compare results.

I heard from other folks that rebuilding the Eclipse PDT index takes them ~3min

It depends on the project size and which version of Eclipse PDT. We have done lots of the optimizations in the last couple of years. The switch to Apache Lucene was done in PDT 4.0, which was released in June this year.

We could use SQLite.

This is a relational database too. H2 has much better performance than SQLite.
I would count more on a text-based search engine like Apache Lucene. I wonder what would be the Lucene equivalent in PHP?

What do you mean by "text-based search engine"? Isn't this here about persisting the index, which is mostly used for resolving definitions (which currently works through the FQN)? In that case key/value would be the best performance, but it must be something the user doesn't have to install manually. Actually saving the objects in files wouldn't be too bad because it basically is key/value.

Also I want to note that I had always had XDebug enabled, which is noted to be a performance hog in the PHPParser docs. We should compare this to non-xdebug and if it has a significant impact investigate dynamic php.ini files.
Speaking of XDebug, has anyone ever used it to profile a PHP app? I would like to know which functions take the most time. For example, if it is the file IO after all, I would like to add an async file_get_contents that uses streaming and returns a promise. If it is the parser, we could parse the project divide&conquer style in separate processes.

$content is currently kept in memory in addition to the AST. Which means we basically keep all file contents in memory. It is only used for formatting, so I propose we re-read the content on formatting request.

File content should be kept in memory only for those files, which the language server received a didOpen notification for. And discarded on a didClose notification. The language server should not read the content from the file system for files that are currently opened in the editor.

@mniewrzal Just tested magento. It is true that it is dog-slow. For me the LS crashed at around the 20,000th file, which was several minutes into parsing already. But RAM usage isn't nearly as high as you experienced it, it was <600MB.

Interesting :) Are you using clean version from master or maybe you have some local changes?

My bad, I was working on your PHP_CodeSniffer branch. You are right, I'm now at file 4500/24226, 3 min parsing, 1,3GB RAM usage.

One more optimization that can be done is to exclude some folders from indexing, especially those containing tests.
I did some file counting on the Magento project:
$ find . -type f -name '*.php' | wc -l
24225
$ find . -type f -name '*.php' | grep "[Tt]est" | wc -l
9035

9K out of 24K files seems to be test files. This is up to 37% of CPU time and memory if we avoid indexing them.
The exclusion pattern should be configurable with some meaningful default.

Personally I want global symbol search to also work for tests though.

Sure, this is why it should be configurable. Some IDEs (like Eclipse) provide users with the ability to configure which folders are "source folders" and which not in a project. Such IDE should ask the language server to index only the source folders, but skip the rest.
This would be just empowering users to optimize performance when working with huge projects like Magento.

I profiled the LS while indexing magento.

With latest master there is problem with indexing large PHP file e.g. https://github.com/composer/composer/blob/master/tests/Composer/Test/Autoload/Fixtures/classmap/LargeClass.php
There is also similar file in magento. During parsing such file LS crashed and restarted.
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/wywrzal/git/vscode-php-intellisense/vendor/nikic/php-parser/lib/PhpParser/Parser/Php7.php on line 2335

@mniewrzal with unlimited memory limit? These large files definitely dont need to be parsed. Can we somehow catch the error? Or implement the support for ignoring files with globs, like **/Fixtures/*.*

My bad, I didn't recompile plugin sources. I was testing memory limit parameter and I had 256M limitation. Now everything is working like before. But I think it would be good to think about some limitation for PHP file size. This one file is bumping memory consumption from 18MiB to 542MiB for whole composer project.

Sure, a simple filesize() call should do. No real PHP file will be that large, it is only a fixture for testing. Please open another issue.

I think this one can be closed. Another issues can be processed with separate bug.


Starter packs: Error when changing description

Steps to Reproduce
Try to change the description of an existing starter pack - it allows you to proceed, but throws an "failed to create starter pack" error after clicking through the people and feeds tab
Attachments
No response
What platform(s) does this occur on?
Android, Web (Desktop)
Device Info
Google Pixel 8 Pro & Windows 11 (Firefox)
What version of the app are you using?
<IP_ADDRESS>5 3fd8c0613 (prod)
Additional Information
The pack that threw the error: https://go.bsky.app/9cVkvrQ

Can reproduce with 100% rate. Windows, PC, Firefox.

Confirmed on Windows 11 in Chrome with this starter pack: https://go.bsky.app/8y1QJxB

Reproduces for me on every time on MacOS (Safari & Chrome).
Furthermore: when doing the following sequence:

Select: edit the starter pack
Edit the description text, press next
Choose one more account from the list, press next
Do not add feeds, press skip

The error message "failed to create starter pack" is shown, but the account selected in phase 3. is added to the list and is showing in the starter pack. However, the description text is not changed.


Update version and remove '#' in README.

修改版本，并去除命令行中的 # 号。

Codecov Report

Merging #10411 (0388cde) into 3.0 (92bf15d) will decrease coverage by 0.31%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0   #10411      +/-   ##
============================================
- Coverage     65.65%   65.34%   -0.32%
- Complexity      296      317      +21
============================================
  Files          1233     1234       +1
  Lines         53725    53878     +153
  Branches       8110     8126      +16
============================================
- Hits          35273    35204      -69
- Misses        14616    14787     +171
- Partials       3836     3887      +51

Impacted Files
Coverage Δ

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
44.28% <0.00%> (-25.28%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
41.66% <0.00%> (-25.00%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...che/dubbo/registry/client/NopServiceDiscovery.java
44.44% <0.00%> (-11.12%)
:arrow_down:

...va/org/apache/dubbo/remoting/TimeoutException.java
22.22% <0.00%> (-11.12%)
:arrow_down:

...bbo/config/context/ConfigConfigurationAdapter.java
71.42% <0.00%> (-10.39%)
:arrow_down:

...ubbo/registry/client/AbstractServiceDiscovery.java
79.06% <0.00%> (-9.36%)
:arrow_down:

...dubbo/remoting/exchange/support/DefaultFuture.java
80.35% <0.00%> (-7.68%)
:arrow_down:

... and 120 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


[FLINK-31301][planner] Add support of nested columns in column list o…

…f insert statement
What is the purpose of the change
This PR is meant to support nested column as the insert target columns like insert into (r1.a, r2.b) select a, b from src
Verifying this change

Planner test in PartialInsertTest
ITTest in TableSinkITCase

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

This PR does not support the partition column with nested type, due to it has been limited in SqlCreateTableConverter#verifyPartitioningColumnsExist. So the partition column should only work with the top level column now.
 private void verifyPartitioningColumnsExist(Schema mergedSchema, List<String> partitionKeys) {
  Set<String> columnNames =
          mergedSchema.getColumns().stream()
                  .map(Schema.UnresolvedColumn::getName)
                  .collect(Collectors.toCollection(LinkedHashSet::new));
  for (String partitionKey : partitionKeys) {
      if (!columnNames.contains(partitionKey)) {
          throw new ValidationException(
                  String.format(
                          "Partition column '%s' not defined in the table schema. Available columns: [%s]",
                          partitionKey,
                          columnNames.stream()
                                  .collect(Collectors.joining("', '", "'", "'"))));
      }
  }
}

@lincoln-lil please take a look when you are free, thanks


Feature/spec 0.9.1 and more

Coverage decreased (-88.5%) to 0.177% when pulling 62a36286fb826dc77c4da1f1964849652f06553e on feature/spec-0-9-1-and-more into 1fa238449f9ec89c88aeaf8c4803bee47d10c181 on master.

Changes Unknown when pulling 643cce854bb3a9138a77f456892f106666bead12 on feature/spec-0-9-1-and-more into ** on master**.

Changes Unknown when pulling 643cce854bb3a9138a77f456892f106666bead12 on feature/spec-0-9-1-and-more into ** on master**.

Changes Unknown when pulling 9513e1e5d01d582a55e74bbd93ea4dbeaa519259 on feature/spec-0-9-1-and-more into ** on master**.


Error type should implement std::error::Error.

Common error chaining crates (error-chain, failure, etc...) require all error types in their chains implement the trait std::error::Error. Currently, reed_solomon_erasure::Error does not implement this trait, thus excluding it from being used alongside many popular approaches to error handling.

Thanks for the suggestion!
Out of curiousity, are you using the crate or are you just fixing crates online?
Tracked at PR #18

Thanks for the quick response! Yup, I'm working on a piece of software that is using the reed-solomon-erasure crate. I'll check out the PR now.

@DrPeterVanNostrand reed-solomon-erasure v3.1.0 has been published to crates.io. Thanks again for the suggestion! Feel free to open another issue if you find the library to be missing anything.
As a side note, the paper that your project is based on("Honey Badger of BFT Protocols") uses zfec for its implementation, which I'm not sure if this library is compatible with, though examining very briefly it seems that they should be compatible. But you'll need to test that if that's desired.

Ok awesome, I appreciate letting me know about the version bump! I'll bring up the zfec/reed-solomon compatibility thing with the rest of the team.


Linux DRM not working after apt-upgrade

Describe the bug
Hi,
I just tried to upgrade my RPi and then I wasn't able to run my program again and I have this error :

Thanks for help !
To Reproduce
Run apt-upgrade
Try to run your program
Expected behavior
No response
Avalonia version
11.1.10
OS
Linux
Additional context
No response

Are you using AOT by any chance? If so you may need to rebuild your app.

Are you using AOT by any chance? If so you may need to rebuild your app.

Yeah I'm definitely using AOT ! I already tried to rebuild my app but it is still not working.
But if I'm using Linux FBDev as startup method it's currently working...

There might be a breaking change in a native library then. I am not sure though. On a side note, it would probably help if you mentioned which distro you are using. EG Raspberry Pi OS or Ubuntu. Raspberry Pi OS is directly based on Debian for example, as such it has older packages than Ubuntu.

There might be a breaking change in a native library then. I am not sure though. On a side note, it would probably help if you mentioned which distro you are using. EG Raspberry Pi OS or Ubuntu. Raspberry Pi OS is directly based on Debian for example, as such it generally has older packages than Ubuntu.
I am guessing that error message is related to this:
https://github.com/AvaloniaUI/Avalonia/blob/c3aecf67f65931813c9cb626834f324471f1ea00/src/Linux/Avalonia.LinuxFramebuffer/Output/Drm.cs#L157-L158
Which is a call into libdrm. So also sharing what version of libdrm you have would also be helpful for anybody trying to debug this.

I finally get it working !
I was using UseManagedSystemDialogs() in BuildAvaloniaApp() method, by removing this piece of code it was working successfully.
Next time I will add which distro I'm using, but yes I am using Raspberry Pi OS Lite :)

@MultiXaNos can we close this ticket if you found out how to run Avalonia? Probably a docs update is welcome though if that's something needed for a special device.

With RPi one needs to specify the card directly, otherwise auto-detection will pick /dev/dri/card0 which isn't connected to any outputs


Changing template and values does not work

When changing a template in the content or snippet section, the save afterwards doesn't work as expected. The DocumentManager uses the old template to iterate over the values, which results in ignoring properties which only exist in the new template.

@dantleech Why are we using the form here: https://github.com/sulu-io/sulu/blob/310e120e9cd1f1390442bcba4e7b0963bae7ee7b/src/Sulu/Component/Content/Mapper/ContentMapper.php#L238
This is the cause of the issue. Our form type already uses the template of the document to iterate over the properties, but the template is not updated before the persist call a few lines later.

@danrot it binds the submitted data to the document.

@dantleech But based on the wrong template... Wouldn't it be good enough to let the value form only write the stagedData, and let a subscriber execute this line?
Then we could rank this subscriber lower than the one changing the template, seems like the cleanest solution to me. In general I think it's a bit problematic to split this task like this between the form and document manager.

Well, this code would actually be at the controller level. It is only here for BC.
The DocumentManager subscribers currently also have this "responsiblity", yes. But this is very bad, and is coupled to the problem of the current Content Types excepting raw POST data.
It is one of the things we need to fix with the content type refactoring.
The final result should be that the data from the request is bound to the Document class, after which no futher transformation will be required.

@dantleech What you are talking about is not the actual problem here. Even if the controller would contain this code, we would still have the same problem. The line I have pointed out in the previous comment would still be executed too early (i.e. the template of the document would still not be changed).
I would say the form is only responsible for staging the content (which works fine), but the document manager should "commit" it, since the document manager is also changing the template, and the commit is not valid before.
This has nothing to do with the content types, since the values which are passed to the content types are already wrong (i.e. just the default values, because the old template is used).

Skype? Google Hangouts?


Code signing for update packages

There is no way to identify the creator of the update package.
Anyone having the shared key can create a valid update package for an appliance. We can solve this by using gpg to sign the update packages, and ensure only valid ones can/will be applied to the appliance. This would require the trusted signer's public key in the appliance.

An alternative is to use a TLS public/private keypair (public included the appliance) to sign/verify packages.


Reloading servers without catflap

Besides using catflap, one can simply kill the process using the pkill command before restarting the server like this
cargo watch --shell "pkill -f '^target/'; cargo run"

This way, you don't have to alter your server.

That should happen anyway without the pkill; if it doesn't it's a (watchexec) bug. Restarting servers has always been possible.
Catflap has a different purpose: it offers a socket that's already open and remains open even if you stop listening on it. That way, you don't drop packets and you avoid port availability errors. It's a lot like reloading nginx or apache, for production examples: restart and you'll have downtime, reload and you won't.

That should happen anyway without the pkill; if it doesn't it's a (watchexec) bug. Restarting servers has always been possible.

With certain apps, like actix-web, cargo watch -x run runs into ADDR_IN_USE. Hence using pkill to kill the process before restarting.

That way, you don't drop packets and you avoid port availability errors

Ah, I see. All this looked to me like it was for avoiding port availability errors and only needed in development.

ADDR_IN_USE is because the server restarts too quickly, not because it's not killed. (Or because the server is starting sub-processes some weird way and we can't kill those easily, see the "this is a bug" thing.) There's a delay in between releasing a socket and the socket actually being reaped. ADDR_IN_USE is exactly what I mean by "port availability" issues.

ADDR_IN_USE is exactly what I mean by "port availability" issues.

Yeah, I know. I thought that was the only use for catflap. Since using pkill helps avoid that port availability issue without modifying my apps, I thought catflap wasn't necessary. I was misinformed.

That's alright :) Thank you for asking in anyway! I might clarify the Readme in this regard later


Update to MSAL 4

I forget why this sample is still on MSAL2.x?

The default branch is not master, @bgavrilMS
I need to fix that, but I also need to check links to docs.ms ... not easy as this is a quickstart.


Consider implementing the proxy protocol

Requested here: https://forum.indiebits.io/t/boringproxy-add-support-proxy-protocol/213
See: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

As haproxy.org is down via my local peering right now, the latest snapshot on the Internet Archive appears up to date:

http://web.archive.org/web/20221202044227/https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt


non-enterprise can create reverse dns zones

Which Cloudflare product does this pertain to?
DNS
Existing documentation URL(s)
https://developers.cloudflare.com/dns/additional-options/reverse-zones
Section that requires update
Enterprise customers who control their own IP prefix(es) can set up reverse zones with PTR records to allow reverse DNS lookups.
...
Availability
Any customer can create PTR records, but only Enterprise customers can create reverse zones.
...
The following Cloudflare customers can create reverse zones (for example, 2.0.192.in-addr.arpa):
Enterprise customers with an IPv4 or IPv6 address space can add the IPv4 or IPv6 reverse zone for their IP space to their account, and create the required PTR records for forward resolution.
What needs to change?
Despite the documentation saying otherwise, non-enterprise users can create & activate reverse zones. I do not know when exactly this was allowed, but it's been a thing for at least the past few months, and I have an active ipv6 reverse dns zone in my non-enterprise account. I assume this goes for IPv4 Reverse Zones as well, as can I add them to my account without issue, but I cannot verify them as I do not own any IPv4.
How should it change?
Drop all mentions of Enterprise being required ex. "Any customer can create PTR records and reverse zones"
Additional information
A few hobbynet operators I know of have been turned away from using Cloudflare for Reverse DNS due to this confusing documentation, I hope this can be clarified so I can recommend Cloudflare to more of them!

Thanks for flagging this. The documentation has been updated.


Heart Rate Button to Device Scanner?

I cloned your project and try to run on my phone. After I touch "heart rate" button, my device switched to "device scan" activity and not show any heart rate data. The only thing shown on my phone was device name.
I am new to Android development. Please help me. 😭

I have the same problem  startScanHeartRate() doesnt work help please!

Hi @napat1996 and @JhosepNoel, I'm really sorry I don't maintain the repo anymore, also so sorry for late respond, I hope you already find the solution by yourself


Migrate over to using thenewboston-js repo

Make the AccountManager rely on thenewboston-js repo fully

please get permission from me to work on it before you start

Can I work on this

i don't believe the sdk library is ready yet. talk to @zinoadidi about the progress

Hey @angle943, is the list of functions in the document above okay for the account manager or is there anything u would like to add to this list.

@tomijaga to be honest I currently don't have the bandwidth to look over the document in detail. But we can start going as is. Are you working in tandem with @zinoadidi about these issues?

@angle943 I have already a roadmap item for the switch, I will handle the process from my end with @tomijaga.
Also we are working together to make missing features already, once they are complete, I will kick off milestones for the conversion process

@zinoadidi hmm perhaps it might be better to sync up offline later, but question for you, how soon do you think you can incorporate the AccountManager with the SDK? The reason why I ask is that we are soon having a switch to beta, which might end up changing a lot of our BE end points and results

yes; I have also considered this as well and the proposal basically is we are going to sync up the SDK development with beta updates as they come; I am working to secure one or two contributors who will be dedicated to this activity.
Concerning Account Manager, there is approximately 1 task pending test from the list of missing functionalities we started to work on a couple of days ago.
That basically means we can already start switching usage by Friday / weekend.
According to our roadmap; we plan to keep the account manager in sync with SDK no matter what :) and we are ensuring this happens by such kinds of tasks https://github.com/thenewboston-developers/thenewboston-js/issues/88

sounds good, here is the migration branch: https://github.com/thenewboston-developers/Account-Manager/tree/javascript-sdk-migration

@angle943 All changes are done and ready for review


Later scripts wrong $ should be $_

E.g. correct script for last powershell script is:
git for-each-ref --format='%(refname)' refs/remotes | % { $.Replace('refs/remotes/','') } | % { git branch "$" "refs/remotes/$"; git branch -r -d "$"; }

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

ID: edd6cbc8-5e3b-c3a1-4672-d42510cc058b
Version Independent ID: 8fe81fb5-7c2d-2562-5659-55fccbb3126c
Content: Perform the migration from SVN to Git | Microsoft Docs
Content Source: docs/articles/perform-migration-from-svn-to-git.md
Service: unspecified
GitHub Login: @hkamel
Microsoft Alias: hkamel

@hkamel Can you take a look at this one too? Thank you.

@pilcherd I'm taking a look at this one, and I think I'm looking at it wrong - the script you have in the issue description matches the one in the article - what change s exactly do I need to make to fix this? If it's easier to show rather than tell, you can make a PR directly into this repo with the change? Thank you.

When I run the current script:
git for-each-ref --format='%(refname)' refs/remotes | % { $.Replace('refs/remotes/','') } | % { git branch "$" "refs/remotes/$"; git branch -r -d "$"; }
I get a bunch of errors:
$.Replace : The term '$.Replace' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:59

... r-each-ref --format='%(refname)' refs/remotes | % { $.Replace('refs/r ...

                                                    ~~~~~~~~~

CategoryInfo          : ObjectNotFound: ($.Replace:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

If I change to this:
git for-each-ref --format='%(refname)' refs/remotes | % { $.Replace('refs/remotes/','') } | % { git branch "$" "refs/remotes/$"; git branch -r -d "$"; }
It runs ok (just ran it in PS against a folder).
I believe the other script would also be wrong too:
cd c:\new-bare.git
git for-each-ref --format='%(refname)' refs/heads/tags | % { $.Replace('refs/heads/tags/','') } | % { git tag $ "refs/heads/tags/$"; git branch -D "tags/$" }
And should be
cd c:\new-bare.git
git for-each-ref --format='%(refname)' refs/heads/tags | % { $.Replace('refs/heads/tags/','') } | % { git tag $_ "refs/heads/tags/$"; git branch -D "tags/$" }

How interesting.... the items are not appearing in here correctly!!

Here is what my screen looks like in editor mode for the post (which looks like I haven't changed anything...)

I missed one too.  I believe all $ in those should be "$_".

@picherd I edited your comment to put code fences around it, like this?
git for-each-ref --format='%(refname)' refs/remotes | % { $_.Replace('refs/remotes/','') } | % { git branch "$_" "refs/remotes/$_"; git branch -r -d "$_"; }

and
cd c:\new-bare.git
git for-each-ref --format='%(refname)' refs/heads/tags | % { $_.Replace('refs/heads/tags/','') } | % { git tag $_ "refs/heads/tags/$_"; git branch -D "tags/$_" }

@pilcherd This change is live, thanks for letting us know!


Logs written during draining are not forwarded by rsyslogd

The drain script stops the rsyslogd unit which results in all logs that are written during draining to be lost. Is there a reason for this? Looking at the BOSH lifecycle of a deployment it should be stopped during the stop step.
There is an argument to be made to stop rsyslogd only in the post-stop step to retrieve as many logs as possible but this is against the expected lifecycle and could introduce other issues.

PR is merged, now we just need a release.

Release is cut!

https://github.com/cloudfoundry/syslog-release/releases/tag/v12.1.5


Rename scripts/check_branches.sh to scripts/launch_checkbranches.sh

This PR changes the name of the script scripts/check_branches.sh to scripts/launch_checkbranches.sh because we also have scripts with this same name in the docker-images folder (bears-checkbranches-dockerimage/check_branches.sh and checkbranches-dockerimage/check_branches.sh), which is confusing sometimes.

Pull Request Test Coverage Report for Build 1989

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 54.631%

Totals

Change from base Build 1987:
0.0%

Covered Lines:
2890

Relevant Lines:
5290

💛  - Coveralls


Typo Errors Fixed

Corrected "rrun" to "run" &
"followingcommand" to "following command" in [README.md].
This pull request addresses a minor typo found in the repository. The typo has been corrected to improve clarity and maintain the quality of the documentation.
This change is purely cosmetic and does not affect functionality.

Thank you for your feedback and contribution ，I have merged in another submission


Dynamic load styles for themes

I want to use different color themes (by env variables), but since angular-cli use his loader
and this not working:
styles: [require('./header.component.styl'),require('./header.component.${environment.theme}.styl')]
what are the solutions?

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


all active bids, loaded doesn't disapear.

If user has no bids skeleton loaded isn't replaced with a not bidding on anything message.

Added no active bits message when no results found.


A11y_AzureDataStudioStayHealthy_Welcome_ExtendyourdataStudio_Keyboard:The show all button is not activated on pressing enter key.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_AzureDataStudioStayHealthy;#A11ySev1;#A11yTCS;#A11yMAS;#NonBenchmark;#DesktopApp;#MAS2.1.1;#SQL Azure Data Studio;#FTP;#Keyboard;#STP;#Win32;
Environment Details:
Application Name: Azure Data Studio
Version: 1.19.0-insider
Commit: e8dc0d1
Date: 2020-05-27T17:24:57.733Z
VS Code: 1.46.0
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Additional Details:
MAS References:MAS2.1.1
Repro Steps:
1 . Launch Azure Data Studio Insiders application.
2 . If Welcome screen is not shown on application launch, then navigate to Help --> Welcome.
3 .
4 . Navigate to show all button using tab key.
Actual:
On navigating to show all button using tab key press enter the button does not get activated.
Expected:
There should be an action performed when enter is pressed on the button show all.
User Impact:
Keyboard users will not be able to access the information from activating the button.
Attachment link for Reference:
10625A11y_AzureDataStudioStayHealthy_Welcome_ExtendyourdataStudio_Keyboard.zip

fixed
Version: 1.43.0-insider (user setup)
Commit: b4d5a08199e9e0cb0138ce540c086ac32d072019
Date: 2023-03-07T06:31:08.002Z
VS Code: 1.67.0
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.25300
#Closed;
Video 3-07 at 17.19 (2).webm


Very trivial error: "No module named 'deeppavlov.skills.pattern_matching_skills'

Hi,
I am trying to follow Tutorial1, 'Hello bot', and have done the following locally:
I have create venv, ran:
pip install deeppavlov
then I am trying to import
from deeppavlov.skills.pattern_matching_skill import PatternMatchingSkill
And the system tells me:
ModuleNotFoundError: No module named 'deeppavlov.skills.pattern_matching_skill'
I am pretty sue it's something really trivial but I can't move from there.
Can you help me, please?

same problem here. do not see any references to deeppavlov.skills in http://docs.deeppavlov.ai/en either.

Hi,
This is an obsolete tutorial.
To have it running you can install an older DeepPavlov version:
pip install deeppavlov==0.4.0

We've moved away from this interface of skills and agents and are making a separate Agent entity with connectors to arbitrary skills.

Nagesh, I managed to overcome this by looking into the deprecated section of code of Deeppavlov.
From: Nagesh Chirravuri<EMAIL_ADDRESS>Sent: Sunday, May 17, 2020 3:18 AM
To: deepmipt/DeepPavlov<EMAIL_ADDRESS>Cc: Serge Gladkoff (LogrusGlobal<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [deepmipt/DeepPavlov] Very trivial error: "No module named 'deeppavlov.skills.pattern_matching_skills' (#1202)
same problem here. do not see any references to deeppavlov.skills in http://docs.deeppavlov.ai/en either.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/deepmipt/DeepPavlov/issues/1202#issuecomment-629754769, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGF22CIQEN4YFRNRANBQGDRR6FTLANCNFSM4M33CBEA.

Hi,
This is an obsolete tutorial.
To have it running you can install an older DeepPavlov version:
pip install deeppavlov==0.4.0

We've moved away from this interface of skills and agents and are making a separate Agent entity with connectors to arbitrary skills.

I suggest that you remove the tutorial from this page
It's not very welcoming to newcomers like me, that the very first tutorial in the "For beginners: Tutorials" section is totally broken. :(


resource snowflake_schema_grant's shares default value has been changed to null on Snowflake

Provider Version
0.40.0
Terraform Version
1.0.11
Describe the bug
For resource snowflake_schema_grant, I set the shares after applying the terraform and found that the shares default value will be set as null in the state file. And in my CI job, when running the terraform plan command again. There will have a change in output.
Expected behavior
plan shouldn't show any output.
Code samples and commands
I didn't set the shares in terraform main.tf.
resource "snowflake_schema_grant" "schema_grant_create_materialized_view" {
  provider      = snowflake.security
  database_name = var.database
  schema_name   = var.name
  privilege     = "CREATE MATERIALIZED VIEW"
  roles         = [module.owner_role.name]
}

But in the CI job,  run theterraform plan again to double-check the created resources, there is an update.  + shares                 = []
  ~ resource "snowflake_schema_grant" "schema_grant_create_materialized_view" {
        id                     = "PROD_LOAD_INCREMENTAL|FORMATTED_ZYTE_META||CREATE MATERIALIZED VIEW|PROD_LOAD_INCREMENTAL_FORMATTED_ZYTE_META_OWNER|false"
      + shares                 = []
        # (7 unchanged attributes hidden)

If the optional argument could be null, I think this output will disappear.
Additional context
Other resources like snowflake_role_grants's users maybe also have the same problem.

Hey 👋
Closing the issue as it's referring to the deprecated resource and we're not supporting them. Please, try to use the latest provider version with the non-deprecated resources (e.g. snowflake_grant_privileges_to_account_role). If the issue persists on the non-deprecated resource (or the feature is present in Snowflake, but not in the provider), please create a new GitHub issue. The migration guide may help during migration to the latest resources. Here's a list of the latest, non-deprecated, grant resources:
Resources
snowflake_grant_privileges_to_database_role
snowflake_grant_privileges_to_account_role
snowflake_grant_account_role
snowflake_grant_database_role
snowflake_grant_application_role (coming soon)
snowflake_grant_privileges_to_share
snowflake_grant_ownership (coming soon)
Data sources
snowflake_grants


menuLinkWithIcon

Menu Link with Icon is this :

It's a Link to switch to a page
It's an icon placed on the left of the Link

Will contain minimal logic on itself
Logic focus on parent

This component should include the capability of changind Icon and text onClick


sg200x: SPI description

Hi,
I can't find in your data sheet if the SPI  can be full master or full slave.
Please advise

Is this issue for sg2042 or sg200x, please title it, thanks.

On all respaberry pi models they declared that SPI can be only master

For SG200x, SPI controller now only support working in master mode.
See https://github.com/sophgo/sophgo-doc/blob/main/SG200X/TRM/contents/en/peripherals/spi.rst
The system is configured with 4 SPI controller modules, which can be used as Master to conduct synchronous serial communication with external devices to achieve serial-to-parallel and parallel-to-serial conversion of data.

Any more quesiton, please let me know, otherwise I will close this issue.

Any future plans to have it as an receiver only slave?

Any future plans to have it as an receiver only slave?

Adding Liugui @KennethLiu61 to help answer this.

Based on IP datesheet, SPI can support slave mode.
But we'll check internally to see if our designers customised this IP, and we'll also need to check if we support slave mode.

@roizano  can we close this issue now?

Close this issue due to no response for 2 month +.


modal: If something within a modal gets itself the focus then that focus is lost after the animations finish.

If you have directives inside your modal content that selectively get the focus then all that is lost when the modal finishes loading. (this is a regression somewhere between v0.12.1 and v0.14.2).

@arkarkark, when you say "selectively gets the focus" do you mean that you are setting the focus programmatically?  If so, where does that code live?  If not, what is your focus expectation?
The $uibModal.open({...}).rendered is a promise that is executed when the modal is finished rendering.  The correct behavior would be to call the focusing code in this block.
Please let us know.  Thanks.

Hi @icfantv thanks for the quick reply.
Let's say my modal is an item picker - if there are no items I want the focus to be on the 'create new item' button but if there are items I want the focus to be on the select where I can choose one.
I can't use autofocus attribute for this. but I can use a focus-when directive that looks at its attribute and if it's true gives the element focus.
That all happens as the modal is rendering, then it finishes as this code I wrapped in an if block steals the focus and gives it to the modal div.
I can imagine many other situations where I'm using components where I can't get the element I want to have focus to have an autofocus attribute, but I can programmatically find it and call focus() on it.
It's interesting that you mention the rendered promise, because even that isn't good enough anymore, because the focus isn't stolen until after the animation promise is resolved which is after the rendered promise is resolved (I was going to submit a PR to fix that too). There's no way outside of the modal to know when the animation promise is finished so even if you have no css animations, you still need to wrap your callback to the rendered promise in a $timeout to get it past the animation promise.
But using the rendered promise (even if it worked properly) or some surfaced animationComplete promise is much more frustrating for someone who only deals with the modal templates - right now they can use directives to say 'this' should have focus if these conditions are met. But if we're forced to use rendered we need to throw some rendered variable on the scope and wait until that becomes true before doing our logic. more watches, more focus flickering (which the comment near the modified code appears to indicate is very bad on mobile w.r.t. on screen keyboards).

Sorry. my English is not good.
Hello, I using modal too and i load ngAnimate.
In my modal I using  for slide images and yes I using ngAnimate.
Sometime animate is success sometime is fail.
(Sometime I can slide 2 picture from 5 picture, Sometime I can slide 5 pictur from 5 picture)
I try disable ngAnimate then I can slide 5 picture from 5 picture
<uib-carousel interval="myInterval" no-wrap="noWrapSlides">
				<uib-slide ng-repeat="al_image in al_images">
					<img ng-src="<?php echo site_url('files/gallery'); ?>/{{al_image.image_name}}" style="margin:auto;">
				</uib-slide>
			</uib-carousel>

@arkarkark, I freely admit that animations are not my strong suit, but my cursory searching indicates that there are animation events for which you can listen to determine when the animation has completed.
I'd have to do some more research here but am wondering if this is an impossible-to-solve race condition and whether or not some of these things will happen in a non-deterministic fashion due to browser/computer/network speed.

I think the short of it is. If something in the modal already has focus, why steal it away?

Without looking at our code, I can't say if we are or are not.  If we are, we may have a reason (and perhaps it was an unintended side affect of another fix).

So we do have logic for handling this particular scenario here
If this is indeed broken, it would be simple to recreate a Plunker - I cannot recreate this based on current master here, it seems to function fine.

It seems to not properly work on Internet Explorer.
The keyboard cursor gets misplaced, it seems to start focusing before the animation is finished. If we disable animation then it is correctly placed. Also, if you move the mouse pointer it sometimes places properly.
I reproduced using your Plunker too:


[SPARK-30891][CORE][DOC] Add version information to the configuration of History

What changes were proposed in this pull request?
1.Add version information to the configuration of History.
2.Update the docs of History.
I sorted out some information show below.

Item name
Since version
JIRA ID
Commit ID
Note

spark.history.fs.logDirectory
1.1.0
SPARK-1768
21ddd7d1e9f8e2a726427f32422c31706a20ba3f#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.safemodeCheck.interval
1.6.0
SPARK-11020
cf04fdfe71abc395163a625cc1f99ec5e54cc07e#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.update.interval
1.4.0
SPARK-6046
4527761bcd6501c362baf2780905a0018b9a74ba#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.cleaner.enabled
1.3.0
SPARK-3562
8942b522d8a3269a2a357e3a274ed4b3e66ebdde#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e
Branch branch-1.3 does not exist, exists in branch-1.4, but it is 1.3.0-SNAPSHOT in pom.xml

spark.history.fs.cleaner.interval
1.4.0
SPARK-5933
1991337336596f94698e79c2366f065c374128ab#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.cleaner.maxAge
1.4.0
SPARK-5933
1991337336596f94698e79c2366f065c374128ab#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.cleaner.maxNum
3.0.0
SPARK-28294
bbc2be4f425c4c26450e1bf21db407e81046ce21#diff-6bddeb5e25239974fc13db66266b167b

spark.history.store.path
2.3.0
SPARK-20642
74daf622de4e534d5a5929b424a6e836850eefad#diff-19f35f981fdc5b0a46f070b879a9a9fc

spark.history.store.maxDiskUsage
2.3.0
SPARK-20654
8b497046c647a21bbed1bdfbdcb176745a1d5cd5#diff-19f35f981fdc5b0a46f070b879a9a9fc

spark.history.ui.port
1.0.0
SPARK-1276
9ae80bf9bd3e4da7443af97b41fe26aa5d35d70b#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.fs.inProgressOptimization.enabled
2.4.0
SPARK-6951
653fe02415a537299e15f92b56045569864b6183#diff-19f35f981fdc5b0a46f070b879a9a9fc

spark.history.fs.endEventReparseChunkSize
2.4.0
SPARK-6951
653fe02415a537299e15f92b56045569864b6183#diff-19f35f981fdc5b0a46f070b879a9a9fc

spark.history.fs.eventLog.rolling.maxFilesToRetain
3.0.0
SPARK-30481
a2fe73b83c0e7c61d1c83b236565a71e3d005a71#diff-6bddeb5e25239974fc13db66266b167b

spark.history.fs.eventLog.rolling.compaction.score.threshold
3.0.0
SPARK-30481
a2fe73b83c0e7c61d1c83b236565a71e3d005a71#diff-6bddeb5e25239974fc13db66266b167b

spark.history.fs.driverlog.cleaner.enabled
3.0.0
SPARK-25118
5f11e8c4cb9a5db037ac239b8fcc97f3a746e772#diff-6bddeb5e25239974fc13db66266b167b

spark.history.fs.driverlog.cleaner.interval
3.0.0
SPARK-25118
5f11e8c4cb9a5db037ac239b8fcc97f3a746e772#diff-6bddeb5e25239974fc13db66266b167b

spark.history.fs.driverlog.cleaner.maxAge
3.0.0
SPARK-25118
5f11e8c4cb9a5db037ac239b8fcc97f3a746e772#diff-6bddeb5e25239974fc13db66266b167b

spark.history.ui.acls.enable
1.0.1
Spark 1489
c8dd13221215275948b1a6913192d40e0c8cbadd#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.ui.admin.acls
2.1.1
SPARK-19033
4ca1788805e4a0131ba8f0ccb7499ee0e0242837#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.ui.admin.acls.groups
2.1.1
SPARK-19033
4ca1788805e4a0131ba8f0ccb7499ee0e0242837#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.fs.numReplayThreads
2.0.0
SPARK-13988
6fdd0e32a6c3fdce1f3f7e1f8d252af05c419f7b#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.retainedApplications
1.0.0
SPARK-1276
9ae80bf9bd3e4da7443af97b41fe26aa5d35d70b#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.provider
1.1.0
SPARK-1768
21ddd7d1e9f8e2a726427f32422c31706a20ba3f#diff-a7befb99e7bd7e3ab5c46c2568aa5b3e

spark.history.kerberos.enabled
1.0.1
Spark-1490
866b03ef4d27b2160563b58d577de29ba6eb4442#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.kerberos.principal
1.0.1
Spark-1490
866b03ef4d27b2160563b58d577de29ba6eb4442#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.kerberos.keytab
1.0.1
Spark-1490
866b03ef4d27b2160563b58d577de29ba6eb4442#diff-b49b5b9c31ddb36a9061004b5b723058

spark.history.custom.executor.log.url
3.0.0
SPARK-26311
ae5b2a6a92be4986ef5b8062d7fb59318cff6430#diff-6bddeb5e25239974fc13db66266b167b

spark.history.custom.executor.log.url.applyIncompleteApplication
3.0.0
SPARK-26311
ae5b2a6a92be4986ef5b8062d7fb59318cff6430#diff-6bddeb5e25239974fc13db66266b167b

Why are the changes needed?
Supplemental configuration version information.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UT

Test build #119139 has started for PR 27751 at commit 68a0aa1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23881/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23883/
Test PASSed.

Test build #119141 has started for PR 27751 at commit 52c7e28.

Test build #119139 has finished for PR 27751 at commit 68a0aa1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #119141 has finished for PR 27751 at commit 52c7e28.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119141/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119139/
Test PASSed.

retest this please

Test build #119145 has started for PR 27751 at commit 52c7e28.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23887/
Test PASSed.

Test build #119145 has finished for PR 27751 at commit 52c7e28.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119145/
Test PASSed.

Merged to master.

Merged to branch-3.0 too


docs: August Changelog

FYI @sbalnojan this is the long running PR we can add to for the next changelog.

@sbalnojan I need to add a couple of links once the docs are updated, but this is the changelog for the month!

One note @tayloramurphy, have you thought about adding a list of external contributors to the change log? It sounds like a nice thing since the releases on GH usually also highlight them.

@sbalnojan not opposed - could just take a little while. Let me see what the effort is.

Ok so where this breaks down is on the Hub and MeltanoLabs side. There's lots of updates there that we're not tracking in release and compiling the contribution activity would be pretty cumbersome. I'd rather just not do it right now as the Changelog isn't necessarily where we'd want to highlight folks anyways.
This PR Is blocked on a few others getting merged:

#8064
one from Leo on the email notifications


Derive serde/schemars for Style

This is a companion patch for https://github.com/linebender/kurbo/pull/321
So, if both repos believe it to be a good idea, and wish to merge them kurbo would need to get merged first.

FWIW, I haven't managed yet to get this to work yet when vello is involved, which is likely me overlooking something or some feature resolver thing with transitive dependencies, assuming the former.

So, I'm really not familiar with the schemars crate or json schemas in general, so schemars derive for Brush still needs to be done.  I don't imagine it's hard but, but doesn't have any adaptor feature for serde_bytes, and haven't managed to figure out deriving the trait manually as I didn't manage to get it working with derive macros.

I'm going to just close/reopen this PR for 2 reasons:

Mostly to just get it off of my peniko/main branch
Because initially this added both schemars and serde, but now just contains serde as schemars support is waiting on upstream review.  Thus the new branch should just mention serde, which will simplify history...


Error: unpack requires at least 64 bits to unpack (got 32)

Hi sir,
Thanks for your sharing. I got one error when decode the message.
The background: I try to use cantools to decode '.blf' file which was saved by CANoe on real bus. Everything seems well when I try a demo, but a error: 'unpack requires at least 64 bits to unpack (got 32)' shown when I try the file I need to decode.
I try to solve the error but nothing useful. Here is part of codes:
{
ist = []
soll = []
D1 = []
db = cantools.db.load_file('HCAN.dbc')
can_log = can.BLFReader('20200527.blf')
for msg in can_log:
D1 = db.decode_message('EM', msg.data)
ist.append(D1['IstMoment'])
}
I have no idea about this error. Could you help me to check? Thanks a lot.

The CAN message in the BLF-file has 32 bits data, but the DBC-file says the same message has 64. Either the BLF or the DBC is wrong.

Hi eerimoq,
After check, I found the problem is the bug from BLFReader, and I ask python-can's author to fix it.
Thank you! Hope you all the best!
Jingyuan

OK...
The same error shown again.
The bug I solved from python-can is that the blf file was recorded from 2 channels and BLFReader cannot read it well. After solve this problem I translate the blf file to csv and get the message which really has 64 bites data. Also, I tried to run this file in CANoe and it worked. I copy part of the message here:
{
Timestamp:<PHONE_NUMBER>.589501        ID: 0057    S Rx                DLC:  4    71 0f 00 00                 Channel: 1
Timestamp:<PHONE_NUMBER>.591429        ID: 0090    S Rx                DLC:  8    a5 0c ff 1f c4 09 00 00     Channel: 2
}
The ID is the message 'EM' which shown in the code. The DBC has no reason of wrong (it is for real cars). But it is also true that the error tell me the bytes between blf and dbc are different. Is there any possibility that this error happens because of the same reason that these messages are gotten from two channels?
Thanks!

All I can really say is that the data sizes in the BLF and the DBC does not match. A script that reproduces the problem is needed for further investigation.

OK, I fix the bug by changing the codes.
Thanks so much!


canvas to SVG

respected sir,,
i want to export/save canvas into svg instead of png.. can you help me how to do it ..
Thanks and Regards,

您的邮件我已收到，谢谢！


failed to resolve: could not find dynamic in clap_complete

Using clap-repl = "0.2.0" when I compile a simple skeleton code I get:
❯ cargo run
   Compiling clap-repl v0.2.0
error[E0433]: failed to resolve: could not find `dynamic` in `clap_complete`
  --> /Users/carlo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-repl-0.2.0/src/lib.rs:31:38
   |
31 |         let mut cmd = clap_complete::dynamic::shells::CompleteCommand::augment_subcommands(cmd);
   |                                      ^^^^^^^ could not find `dynamic` in `clap_complete`

error[E0433]: failed to resolve: could not find `dynamic` in `clap_complete`
  --> /Users/carlo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-repl-0.2.0/src/lib.rs:42:45
   |
42 |         let Ok(candidates) = clap_complete::dynamic::complete(
   |                                             ^^^^^^^ could not find `dynamic` in `clap_complete`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `clap-repl` (lib) due to 2 previous errors

It should be fixed in the main branch. Since the unstable_dynamic feature of the clap_complete is unstable, it can break in semver minor and patch versions. I have plans to make a v0.3 soon, but you can use clap-repl as a git dependency or manually pin the clap-complete in your project to a good version.

git pinning clap-repl to the latest commit it works but I had also to manually add clap to my Cargo.toml. In general making a v0.3 could be a good idea otherwise v0.2 is currently broken as is.

I made a v0.3. Please tell me if there were any more problems,


constant 503 status codes

will work for a couple requests then return {"code":503,"message":"Unknown error while getting posts. Please try again"}

will work for a couple requests then return {"code":503,"message":"Unknown error while getting posts. Please try again"}

(+1) to this, having the same issue over the last couple of days... same as above where it works sometimes but then hits me with the 503 error.


Need help storing file to mongodb

I have tried to upload a file using multer, but I got a problem with modeling data and service.
Here's my repo link https://github.com/hamzahalvanaa/my-server
Could someone help me covering this issue?

@hamzahalvanaa Hello. Did you try using this npm package https://www.npmjs.com/package/multer ?
Can you attach to the comment with an example of a request what you try to send?  And please note, I did not find a file in your repository where you try to require multer library.

Hi, @ChechaValerii. Before, I am new to express and MongoDB. Using your template and find tutorials on how to storing a file to the database. Here is the example of how I storing file:
src/routes/index.ts
    const FOLDER_PATH = 'uploads';
    const upload = multer({ dest: `${FOLDER_PATH}`, fileFilter: UtilsProvider.imageFilter });
    app.use('/v1/uploads', upload.single('image'), UploadRouter);

src/components/Upload/index.ts
const DB_NAME = 'my_server';
const COLLECTION_NAME = 'uploadmodel';
const UPLOAD_PATH = 'uploads';
const db = new Loki(`${UPLOAD_PATH}/${DB_NAME}`, { persistenceMethod: 'fs' });

export async function findAll(req: Request, res: Response, next: NextFunction): Promise<void> {
    try {
        // const uploads: IUploadModel[] = await UploadService.findAll();
        const col = await UtilsProvider.loadCollection(COLLECTION_NAME, db);

        res.send(col.data);
        // res.status(200).json(uploads);
    } catch (error) {
        next(new HttpError(error.message.status, error.message));
    }
}

Could you show me the correct ways how to modeling and service file upload based on your template? Thank you.

Hello, sure I already create upload controller and test
components/Upload
import { HttpError } from '../../config/error';
import { NextFunction, Request, Response } from 'express';

/**
 * @export
 * @param {Request} req
 * @param {Response} res
 * @param {NextFunction} next
 * @returns {Promise < void >}
 */
export async function upload(req: Request, res: Response, next: NextFunction): Promise<void> {
    try {
        console.log(req.file); // all file info here
    } catch (error) {
        next(new HttpError(error.message.status, error.message));
    }
}

components/interface.ts
import { IUploadModel } from './model';

/**
 * @export
 * @interface IUploadService
 */
export interface IUploadService {

    /**
     * @returns {Promise<IUploadModel[]>}
     * @memberof IUploadService
     */
    upload(): Promise<IUploadModel[]>;
}

routes/index.ts
/**
  * @description
  *  Forwards any requests to the /v1/uploads URI to our UploadRouter
  *  Also, check if user authenticated
  * @constructs
  */
 app.use('/v1/uploads', UploadRouter);

routes/UploadRouter.ts
import { Router } from 'express';
import * as multer from 'multer';
import { UploadComponent } from '../components';

const router: Router = Router();

const upload: any = multer({ dest: 'uploads/' });

router.post('/upload', upload.single('avatar'), UploadComponent.upload);

export default router;

Please note, add multer to a specific route, no need add parent.


Show git dirty/clean status through branch color

I think it's a nifty enhancement, showing clean/dirty status on the left portion of the screen.

No problem. It's fine.


picodisplay.set_backlight() seems broken ...

... it does not change the brightness of the display, while the following code does:
from machine import Pin, PWM
p = PWM(Pin(20))
p.freq(1000)
p.duty_u16(int((2**16)/2))
p.duty_u16(int((2**16)/4))
p.duty_u16(int((2**16)/8))

On the latest master, I get this build error:
[ 64%] Building C object CMakeFiles/snake.dir/home/pi/pico/pico-sdk/src/rp2_common/hardware_timer/timer.c.obj
/home/pi/pico/snake/main.cpp: In function 'int main()':
/home/pi/pico/snake/main.cpp:164:19: error: 'class pimoroni::PicoExplorer' has no member named 'set_backlight'; did you mean 'set_clip'?
     pico_explorer.set_backlight(100);
                   ^~~~~~~~~~~~~
                   set_clip

So it looks like it may not even exist anymore...

My apologies, it was/is broken due to #112

Thanks.


Deprecate the 'jf rt atc' command

[x] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
[x] The pull request is targeting the dev branch.
[x] The code has been validated to compile successfully by running go vet ./....
[x] The code has been formatted properly using go fmt ./....

The /artifactory/api/security/token endpoint is deprecated in Artifactory.
Deprecate jf rt atc and suggest using jf atc instead. jf atc is using the /access/api/v1/tokens API.
./jf rt atc
10:54:27 [🟠Warn] You are using a deprecated syntax of the command.
	Instead of:
	$ jf rt atc ...
	Use:
	$ jf atc ...

Downside - The jf atc does not support basic auth:
./jf atc
10:55:03 [🚨Error] authenticating with access token is currently mandatory for creating access tokens

@yahavi I'm seeing other bad behavior regarding auth (similar to your comment above) with jf atc now that it has replaced jf rt atc. For example, #2490 .


HOTT-4737: Move storage of Permutations data to S3 bucket

Jira link
HOTT-4737
What?
I have added/removed/altered:

[x] Added functionality to read categorisation file from s3 bucket

Why?
I am doing this because:

We need to keep the permutations json file private longer term so plan is to add it to the existing persistence S3 bucket

Have you? (optional)

[ ] Added documentation for new apis
[ ] Added new environment variables with correct values to all apps in all spaces

Deployment risks (optional)

Includes destructive/migratory actions which may effect critical data
Changes an api that is used in production

Sorry to be a pain - looks like we've talked at cross purposes around rspec rules

AnyInstance rule - this should still be enforced globally with rubycop comments in specs where unavoidable
MessageChain - this should be disabled globally because we don't mind this one

I think I missundersoot that. Now it is corrected


Disallow Ed25519 signature maleability

Check that s is less than the order before attempting to verify the signature as per RFC8032 5.1.7
Fixes #7693

While fixing this I noticed issue #7698. I didn't attempt to fix that as part of this. I just followed the coding style that was there.

Are some additional test cases to exercise the various failure paths: non-zero bytes when comparing against allzeros, exercising both if statements in the loop worthwhile?

Not sure how to generate test cases for these

Pushed. Thanks.


[stdlib] Add some unchecked variants of the raw pointer APIs

This adds variants of the Unsafe{Mutable}RawPointer and Unsafe{Mutable}RawBufferPointer APIs for use in internal stdlib implementations to bypass the _debugPreconditions at runtime for release standard libraries.

@swift-ci please test

@swift-ci please test


Fix link to CSS in default HTML output

This ensures all.css is visible by the HTML file before the base URL is set, and fixes https://github.com/SwiftDocOrg/swift-doc/issues/95.
This was the most minimal change I could think of to get this to work, but another option could be to change the default base-url argument from "/" to just an empty string "" - let me know if that is preferred and I can make that change.

Thanks for looking into this, @captainbarbosa! We're actually in the process of switching away from <base> (#93), so that's probably going to be the long-term fix. Since you have fresh eyes on the situation, do you see any compelling reasons to stick with <base> or have any thoughts about the best alternative approach?

Oh, I didn't notice that. #93 looks like a better solution. I can close my PR in favor of a more long-term solution.
I'm not a regular web developer, but one additional thing I noticed is by setting <base>, sub-pages don't reference all.css relative to the rest of the project. So for example, the Docs/Index.html can find the CSS file, but Docs/MyClass/Index.html tries to reference all.css and not ../all.css. This issue occurs after applying #95. I think this is already captured in https://github.com/SwiftDocOrg/swift-doc/pull/93#issuecomment-620257837 so I won't open an issue.
I looked at Jazzy, a similar project, to see if they used <base> tags - it doesn't look like they do. I believe the equivalent config setting for that project is --root-url. It appears they are appending as many ../ that are needed to build out the links for each page, so this might be something to keep in mind when addressing #93.

https://github.com/SwiftDocOrg/swift-doc/pull/93 is likely a better solution than this PR, so I'll close this in favor 👍


Side effects between PySpark, Numpy and Pygeos

I'm using pygeos 0.11.1.
Let's create a simple Pandas Dataframe with a single column named 'id' with a range:
df = pd.DataFrame(np.arange(0,1000), columns=['id'])

Consider this simple function that selects the first 4 indexes of the 'id' column of an array, and that for some reason calls a Pyegos operation in the beginning.
def udf_example(df):

  geo = pygeos.from_wkt(np.array(['POINT (20 30)', 'POINT (34 -2)', 'POINT (20 30)']))

  some_index = np.array([0, 1, 2, 3])
  values = df['id'].values[some_index]

  df = pd.DataFrame(values, columns=['id'])
  return df

If I apply this function in Pyspark I get this result:
schema = t.StructType([t.StructField('id', t.LongType(), True)])
df_spark = spark.createDataFrame(df).groupBy().applyInPandas(udf_example, schema)
display(df_spark)

# id
# 125
# 126
# 127
# 128

If I apply it in Python I get the correct and expected result:
udf_example(df)

# id
# 0
# 1
# 2
# 3

Using a Pygeos function together with Spark causes side effects on NumPy indexing operations.

And you are sure that applying the function without a pygeos call through pyspark doesn't result in the same issue?
(I don't see any way that pygeos can influence this)

You are absolutely right:
def udf_example(df):

  some_index = np.array([0, 1, 2, 3])
  values = df['id'].values[some_index]

  df = pd.DataFrame(values, columns=['id'])
  return df

df = pd.DataFrame(np.arange(0,1000), columns=['id'])

schema = t.StructType([t.StructField('id', t.LongType(), True)])
df_spark = spark.createDataFrame(df).groupBy().applyInPandas(udf_example, schema)
df_spark.show()

# id
# 125
# 126
# 127
# 128

The problem seems to be related with Spark.
I have created a issue on their side: https://issues.apache.org/jira/browse/SPARK-37449
Thanks for the help.


HDDS-2325. BenchMarkDatanodeDispatcher genesis test is failing with NPE

What changes were proposed in this pull request?
TLDR; Fix BenchmarkDatanodeDispatcher.writeChunk test.
Genesis is a microbenchmark tool for Ozone based on JMH (https://openjdk.java.net/projects/code-tools/jmh/).
Due to the recent Datanode changes the BenchMarkDatanodeDispatcher is failing with NPE:
java.lang.NullPointerException
	at org.apache.hadoop.ozone.container.common.interfaces.Handler.<init>(Handler.java:69)
	at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.<init>(KeyValueHandler.java:114)
	at org.apache.hadoop.ozone.container.common.interfaces.Handler.getHandlerForContainerType(Handler.java:78)
	at org.apache.hadoop.ozone.genesis.BenchMarkDatanodeDispatcher.initialize(BenchMarkDatanodeDispatcher.java:115)
	at org.apache.hadoop.ozone.genesis.generated.BenchMarkDatanodeDispatcher_createContainer_jmhTest._jmh_tryInit_f_benchmarkdatanodedispatcher0_G(BenchMarkDatanodeDispatcher_createContainer_jmhTest.java:438)
	at org.apache.hadoop.ozone.genesis.generated.BenchMarkDatanodeDispatcher_createContainer_jmhTest.createContainer_Throughput(BenchMarkDatanodeDispatcher_createContainer_jmhTest.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
	at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

And this is the just the biggest problem there are a few other problems. I propose the following fixes:
fix 1: NPE is thrown because the 'context' object is required by KeyValueHandler/Handler classes.
In fact the context is not required, we need two functionalities/info from the context: the ability to send icr (IncrementalContainerReport) and the ID of the datanode.
Law of Demeter principle suggests to have only the minimum required information from other classes.
For example instead of having context but using only context.getParent().getDatanodeDetails().getUuidString() we can have only the UUID string which makes more easy to test (unit and benchmark) the Handler/KeyValueHandler.
This is the biggest (but still small change) in this patch: I started to use the datanodeId and an icrSender instead of having the full context.
fix 2,3: There were a few other problems. The scmId was missing if the writeChunk was called from Benchmark and and the Checksum was also missing.
fix 4: I also had a few other problems: very huge containers are used (default 5G) and as the benchmark starts with creating 100 containers it requires 500G space by default. I adjusted the container size to make it possible to run on local machine.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2325
How was this patch tested?
./ozone genesis -benchmark=BenchMarkDatanodeDispatcher.writeChunk

notification test (notification is supposed to be sent to<EMAIL_ADDRESS>

Thanks the review @arp7 and @adoroszlai
I re-tested it locally and committed it to the master branch.


Change MAX_NUM_EVENT_CHANNELS to 30

Change summary:

Change MAX_NUM_EVENT_CHANNELS to 30

Related issues:

https://github.com/ainblockchain/ain-blockchain/issues/1315

Thanks for the review! @jiyoung-an Now merging..


Security tests

Issue #, if available:
N/A
Description of changes:

Created security test to test the behavior of IM with users for different permissions.
The tests are not exhaustive yet, need to add more cases for transforms/rollups and verifying the actual action run in the policy for managed index
These tests are not currently run as part of the CI workflow but can be run locally by having a rest endpoint for security enabled cluster ./gradlew :integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername=opensearch -Dsecurity=true -Dhttps=true -Duser=admin -Dpassword=admin --tests "org.opensearch.indexmanagement.SecurityBehaviorIT"

CheckList:

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #184 (da50c1f) into main (5ad90ff) will increase coverage by 0.19%.
The diff coverage is n/a.

:exclamation: Current head da50c1f differs from pull request most recent head d6f4f59. Consider uploading reports for the commit d6f4f59 to get more accurate results

@@             Coverage Diff              @@
##               main     #184      +/-   ##
============================================
+ Coverage     74.48%   74.67%   +0.19%
- Complexity     1892     1894       +2
============================================
  Files           260      260
  Lines         11062    11093      +31
  Branches       1736     1746      +10
============================================
+ Hits           8239     8284      +45
+ Misses         1888     1872      -16
- Partials        935      937       +2

Impacted Files
Coverage Δ

...earch/indexmanagement/transform/model/Transform.kt
87.00% <0.00%> (-0.50%)
:arrow_down:

...nt/rollup/action/stop/TransportStopRollupAction.kt
70.73% <0.00%> (+1.21%)
:arrow_up:

...ndexstatemanagement/IndexStateManagementHistory.kt
78.67% <0.00%> (+1.47%)
:arrow_up:

...anagement/indexstatemanagement/model/Transition.kt
67.69% <0.00%> (+3.07%)
:arrow_up:

.../rollup/action/start/TransportStartRollupAction.kt
68.67% <0.00%> (+3.61%)
:arrow_up:

...action/removepolicy/TransportRemovePolicyAction.kt
61.67% <0.00%> (+10.20%)
:arrow_up:

...ansform/action/explain/ExplainTransformResponse.kt
77.77% <0.00%> (+11.11%)
:arrow_up:

...ndexmanagement/transform/model/ExplainTransform.kt
76.92% <0.00%> (+23.07%)
:arrow_up:

Continue to review full report at Codecov.

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

I have one idea, can this test logic be same as what we are gonna show as an example in our public blog. i.e. could we have a written draft somewhere for an example of how to use this ISM security feature.

Close in favor of #474


kops: 1.29.0 -> 1.29.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/kops/versions.
meta.description for kops is: Easiest way to get a production Kubernetes up and running
meta.homepage for kops is: https://github.com/kubernetes/kops
meta.changelog for kops is: https://github.com/kubernetes/kops/tree/master/docs/releases
Updates performed

Golang update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.29.1 with grep in /nix/store/zdibr9bkjyjc18jyhkpbpyx3ys7g4j73-kops-1.29.1
found 1.29.1 in filename of file in /nix/store/zdibr9bkjyjc18jyhkpbpyx3ys7g4j73-kops-1.29.1

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

kops
kops_1_29

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zdibr9bkjyjc18jyhkpbpyx3ys7g4j73-kops-1.29.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kops https://github.com/r-ryantm/nixpkgs/archive/97f821293412e1f3207c83e48e12082fffe6edcf.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/97f821293412e1f3207c83e48e12082fffe6edcf#kops

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zdibr9bkjyjc18jyhkpbpyx3ys7g4j73-kops-1.29.1
ls -la /nix/store/zdibr9bkjyjc18jyhkpbpyx3ys7g4j73-kops-1.29.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kops

Maintainer pings
cc @offlinehacker @zimbatm @DiegoLelis @yurrriq for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kubernetes/kops/releases.
meta.description for kops is: Easiest way to get a production Kubernetes up and running
meta.homepage for kops is: https://github.com/kubernetes/kops
meta.changelog for kops is: https://github.com/kubernetes/kops/tree/master/docs/releases
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.29.2 with grep in /nix/store/3q3463yjndj9d6jn2pdc0dq7iai8kbc9-kops-1.29.2
found 1.29.2 in filename of file in /nix/store/3q3463yjndj9d6jn2pdc0dq7iai8kbc9-kops-1.29.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

kops
kops_1_29

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3q3463yjndj9d6jn2pdc0dq7iai8kbc9-kops-1.29.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kops https://github.com/r-ryantm/nixpkgs/archive/d4db678fa4a9ada88939bd06ddb537c5cddc93c7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d4db678fa4a9ada88939bd06ddb537c5cddc93c7#kops

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3q3463yjndj9d6jn2pdc0dq7iai8kbc9-kops-1.29.2
ls -la /nix/store/3q3463yjndj9d6jn2pdc0dq7iai8kbc9-kops-1.29.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kops

Maintainer pings
cc @offlinehacker @zimbatm @DiegoLelis @yurrriq for testing.

Result of nixpkgs-review pr 328165 run on x86_64-darwin 1

1 package built:

kops (kops_1_29)


Add copy post/url/mention/code to tooltip menu

Summary
This PR adds additional copy options to post tooltip menu

@enahum changes made


Switching from Level 1 to Level 2 raises ValueError

When a player (1 or 2, doesn't matter) steps on the ending button of Level 1, instead of seeing Level 2 you see
Traceback (most recent call last):
  File "C:\Users\Diego Ramirez\diddi-and-eli\main.py", line 32, in update
    self.situation = init_class(stages_list[self.situation.next], tmp)
KeyError: ''

At first I thought it was related to #4, but turns out is a completely different issue. Seems like One.next is "" when it returns back to Main, which causes the KeyError. Probably, the same thing would happen if we try a switch between level 2 and 3, or something similar.
These 2 sections of code seem to be the hint to fix this:
https://github.com/DiddiLeija/diddi-and-eli/blob/3b9e41c30cef1c8db79dcde5288373af1f7e12bd/src/levels.py#L90
https://github.com/DiddiLeija/diddi-and-eli/blob/3b9e41c30cef1c8db79dcde5288373af1f7e12bd/src/characters.py#L659-L669
AFAIK this is not happening with the transitions from Menu or a scene (like Intro), because these override the generic BaseLevel.update method. There's also a chance that using "next" as a property name is not ideal, because next() is a built-in, so maybe I should change that too.
Also, I self-assigned this because I'm already working on a solution.

I figured out a workaround to the problems mentioned above, now I can fully work on #4 :)


Fire and Forget jobs retries not work

When a Fire and Forget job fails, the retries are not fired, they remain in the scheduled list, but never run, when changing the storage to UseSqlServerStorage if it works again... help please @GeXiaoguo @eG-dev

A small fix was needed to get rid of this problem. See #8  for the fix. I'm not sure if this repository is still maintained, you might need to create a copy of this just for your own use.


synchronize access to OpenSSL::Cipher, use digest package for digests, fix metric mangling under high load

synchronize access to OpenSSL::Cipher and use digest package for digests, because OpenSSL::Digest and OpenSSL::Cipher are not thread safe.

Refer to issue https://github.com/logstash-plugins/logstash-codec-collectd/issues/14 for more information.

Fix metric mangling under high load

The plugin mangles collectd metrics under some conditions.
The bug is triggered when (for example) the percent metrics are send in rapid succession, one after another.
Refer to issue https://github.com/logstash-plugins/logstash-codec-collectd/issues/15 for more information.

Super excited about this!  Thank you so much!
I assume the tests still pass.  Do you think any other tests are necessary?

Changes were applied to logstash-codec-collectd-1.0.1 which does not contain a spec file. I have not ran the testsuite because of this. The current tests should pass.
I do not think more tests are required. The thread-safety and metric mangling issues were hard to trigger, even in a busy production environment. Will be even harder (if not impossible) to capture them in a single test.

It looks like there is a spec file in the 1.0.1 branch to me: https://github.com/logstash-plugins/logstash-codec-collectd/blob/9299d7660f3ea17eb807ba243751cdd38f08d9fb/spec/codecs/collectd_spec.rb

No spec file is included in the logstash-1.5.2 vendor bundle gem logstash-codec-collectd-1.0.1.
Could you run the tests? I do not have all the development tools installed  (and cannot install them either).

Having some difficulties getting the packets properly signed:
  Sign
    should parse a correctly signed packet (FAILED - 1)
    should not parse an incorrectly signed packet (FAILED - 2)
  Drop NaN event
    should drop an event with a NaN value when 'nan_handling' set to drop
  Warn on NaN event
    should replace a NaN with a zero and receive a warning when 'nan_handling' set to warn

Failures:

  1) LogStash::Codecs::Collectd Sign should parse a correctly signed packet
     Failure/Error: subject.decode(payload) do |event|
     NotImplementedError:
       Unsupported MAC algorithm (HMAC[-]e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)
     # ./lib/logstash/codecs/collectd.rb:343:in `verify_signature'
     # ./lib/logstash/codecs/collectd.rb:411:in `decode'
     # ./spec/codecs/collectd_spec.rb:185:in `(root)'
     # /Users/buh/.rvm/gems/jruby-1.7.19/gems/rspec-wait-0.0.7/lib/rspec/wait.rb:46:in `(root)'

  2) LogStash::Codecs::Collectd Sign should not parse an incorrectly signed packet
     Failure/Error: subject.decode(payload) do |event|
     NotImplementedError:
       Unsupported MAC algorithm (HMAC[-]e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)
     # ./lib/logstash/codecs/collectd.rb:343:in `verify_signature'
     # ./lib/logstash/codecs/collectd.rb:411:in `decode'
     # ./spec/codecs/collectd_spec.rb:195:in `(root)'
     # /Users/buh/.rvm/gems/jruby-1.7.19/gems/rspec-wait-0.0.7/lib/rspec/wait.rb:46:in `(root)'

Good that you ran the tests! My previous commit broke security level sign.
verify_signature() should use Digest::HMAC instead of OpenSSL::HMAC.
Tested with +/- 500 collectd instances producing around 1000 collectd events per second.
The two UDP listeners run without issues, no exceptions raised. It looks pretty stable to me.

Tests pass now, thanks for the updated code.
Can you add a line or two to the CHANGELOG.md file?

By the way, this will be committed soon, but likely not published to rubygems.org until the release of Logstash 2.0 (which is a few weeks away, still).

I updated the changelog. Great to hear that the changes will be committed soon.
It would be nice to see that my other pull requests (https://github.com/logstash-plugins/logstash-input-udp/pull/13 and https://github.com/logstash-plugins/logstash-filter-throttle/pull/5) go into logstash-2.0 also.

With regard to the udp input, you may need to do some refactoring with recent changes for Logstash 2.0.  There are likely to be some major changes in the UDP input.  See: https://github.com/logstash-plugins/logstash-input-udp/issues/11 and https://github.com/logstash-plugins/logstash-input-udp/issues/4.  If you have any comments, you could add them there.
We're at an engineering all-hands meetup in Barcelona this week, but we're ironing out ways to more responsive to plugin PRs and issues as I write this.  We're going to make some strides in this area.

Ready!


Remote database

After taking a look at the documentation, I did not find a way to interact with the remote database, is that any method to deal with that or would it be available in the future?

https://yaoapps.com/doc/a.介绍/b.安装调试


strange output since last G2 update ?

Glyphs Version 2.3b (837)

A major update is coming for versions 837+


TypeError: unhashable type: 'Database'

I have just upgraded to pyensembl-0.6.1 and I got a mysterious error...
Python 3.4.3 (default, Mar 26 2015, 14:39:22)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from pyensembl import *
genome = EnsemblRelease(75, auto_download=True)
genes = genome.gene_names_at_locus(contig=4, position=10000)
Traceback (most recent call last):
File "", line 1, in
File "/Users/amarcozzi/Homebrew/lib/python3.4/site-packages/pyensembl/ensembl_release.py", line 275, in gene_names_at_locus
strand=strand)
File "/Users/amarcozzi/Homebrew/lib/python3.4/site-packages/pyensembl/database.py", line 341, in distinct_column_values_at_locus
sorted=True)
File "/Users/amarcozzi/Homebrew/lib/python3.4/site-packages/pyensembl/database.py", line 265, in column_values_at_locus
if not self.column_exists(feature, column_name):
File "/Users/amarcozzi/Homebrew/lib/python3.4/site-packages/pyensembl/common.py", line 30, in wrapped_fn
if key not in memoized_values:
TypeError: unhashable type: 'Database'

any clue?

I don't think this is a problem with the latest version 0.6.3, can you try upgrading through pip?
If that fixes it, sorry there was an outdated version PyPI, we need to automate our release process (talking about this with @tavinathanson)

Yes it works now!


Add shaunsingh/nyoom.nvim

Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[ ] If it's a colorscheme, it supports treesitter syntax.
[x] The title of the pull request is Add `username/repo`  when adding a new plugin.

Thanks for the PR!
Closes #350.


Enable logging for incoming server requests

Same as #14 (closed) without duplicate commits.
The server now prints out incoming requests with some associated metadata
Function call changed to: UMBridge.serve_models([testmodel], 5232, true) with the last Bool argument acting as a trigger to initiate logging (default argument is false).
As of now, there's an extra level of verbosity with all Evaluate calls being printed out -> a possible resolution could be to export the logs to file instead.  tail -f <filename> | grep "keywords" can then be used to filter for incoming requests.  OR use a separate argument to enalbe logging for evaluate all together?
The two TODO's mentioned in with_logging, and serve_models refer to which of the two approach would be preferred.

My preference would be to avoid writing extra files.
Perhaps allowing for different levels of verbosity rather than bool would resolve this?
@linusseelinger thoughts?


Fix out of memory issues hashing large files on iOS

The hasing functions on android iterate over the files in 1MB chunks when hashing them.  The iOS was using this api, which reads the entire file into memory at once:
NSData *content = [[NSFileManager defaultManager] contentsAtPath:path];

For large files, this was causing allocations on iOS to fail or causing out of memory issues.  This change reads the files in 1MB chunks on iOS to avoid this situation.

Thank you very much for the great improvement


fibinacci.html

@Rajeshkannab77  - Can you read the readme instructions again. Make sure to follow the instructions exactly. I'm going to close this PR


Is this project active?

Hi everyone.
I want to help, but I want to know if this project is active. Is this project active?
Is there anything I can do to help this community, this open project?

 I tried to install it, and it's complicated. It's full of dependency conflicts, and I must mention that the main branch hasn't been updated in 7 years. It makes me want to cry. It would be great to create an alternative project (although it will be very challenging) that can gain momentum. Let's hope that happens. Greetings!

Hi all - while I don't expect much new development here (I want to merge some old fixes), I am working on a new editor here:
https://github.com/cacticouncil/lilypad

@chipacu - feel free to email me<EMAIL_ADDRESS>and I can send you a draft whitepaper about it.


Contribution to "Prototype Pollution in minimist"

Updates

Affected products

https://github.com/substack/minimist#security

Thank you for your contribution! Unfortunately, we cannot accept it at this time because it is a duplicate of this contribution. The information has been updated in the advisory.
This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!


build(deps): bump certifi in /services/session-sidecar

Bumps certifi from 2021.10.8 to 2022.12.7.

Release notes
Commits

updated-dependencies:

dependency-name: certifi dependency-type: indirect ...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>Description
Description (including a screenshot/video if applicable) of what your PR solves or adds.
Fixes: #issue
Checklist

[ ] I have manually tested my changes and I am happy with the result.
[ ] The documentation reflects the changes.
[ ] The PR branch is set up to merge into dev instead of master.
[ ] I haven't introduced breaking changes that would disrupt existing jobs, i.e. backwards compatibility is maintained.
[ ] In case I changed the dependencies in any requirements.in I have run pip-compile to update the corresponding requirements.txt.
[ ] In case I changed one of the services' models.py I have performed the appropriate database migrations (refer to the DB migration docs).
[ ] In case I changed code in the orchest-sdk I followed its release checklist.
[ ] In case I changed code in the orchest-cli I followed its release checklist.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Changing the "versions" string to "version" for Proxy Service

Description

Related Issue

Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

test environment:
test case 1:
test case 2:
...

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

Could you provide a changelog @nazliyanik ?

Could you provide a changelog @nazliyanik ?

Provided

@nazliyanik I put the correct url into the changelog. Could you approve my suggesttion? Then we can merge this.
Thank you!


[TS][Example] pipes e2e fails when run locally

This is a known problem, but I haven't found an issue to track it, so here it is. When performing the tests manually, expected results are observed. So the problem might be with protractor's timing?
[12:33:39] AppDir: public/docs/_examples/pipes/ts
[12:33:42]   Suite: Pipes
[12:33:46]     passed - should open correctly
[12:33:46]     passed - should show 4 heroes
[12:33:46]     passed - should show a familiar hero in json
[12:33:46]     passed - should show alternate birthday formats
[12:33:46]     passed - should be able to toggle birthday formats
[12:33:46]     passed - should be able to chain and compose pipes
[12:33:46]     passed - should be able to use ExponentialStrengthPipe pipe
[12:33:47]     passed - should be able to use the exponential calculator
[12:33:48]     failed - should support flying heroes (pure)
    Expected 2 to equal 4, 'not mutating; should see both adds'.
[12:33:48]     Failed: Index out of bound. Trying to access element at index: 2, but there are only 2 elements that match locator By(css selector, flying-heroes #flyers div)
[12:33:48]     failed - should support flying heroes (impure)
[12:33:48]     Expected 2 to equal 3, 'new flying hero should show in mutating array'.
[12:33:48]     passed - should show an async hero message
[12:33:48]   Suite failed: Pipes

@Foxandxss : FYI, still an issue as of 07/28.

Disabling problematic tests for now via #2068.

This seems to be the cause: https://github.com/angular/angular/issues/9419