Use tempfile consistently across all tests

Is your feature request related to a problem? Please describe.
At the moment, some tests use tempfile while others use tearDown to remove the tests
Describe the solution you'd like
Use tempfile everywhere. Examples

https://github.com/huggingface/huggingface_hub/blob/main/tests/test_snapshot_download.py#L72
https://github.com/huggingface/huggingface_hub/blob/main/tests/test_hf_api.py#L458

Additional context
Some files that should be checked

https://github.com/huggingface/huggingface_hub/blob/main/tests/test_file_download.py (downloads files but does not delete them)
HfLargefilesTest https://github.com/huggingface/huggingface_hub/blob/main/tests/test_hf_api.py#L1155
torch HubMixingTest https://github.com/huggingface/huggingface_hub/blob/main/tests/test_hubmixin.py#L64
keras HubMixingTestKeras https://github.com/huggingface/huggingface_hub/blob/main/tests/test_keras_integration.py#L75
https://github.com/huggingface/huggingface_hub/blob/main/tests/test_repocard.py#L105
https://github.com/huggingface/huggingface_hub/blob/main/tests/test_repository.py#L76
https://github.com/huggingface/huggingface_hub/blob/main/tests/test_repository.py#L1591
https://github.com/huggingface/huggingface_hub/blob/main/tests/test_snapshot_download.py#L34

cc @adrinjalali @LysandreJik

Hi, I could look into this.  Thanks!

I looked into the use of tempfile vs tearDown in https://github.com/huggingface/huggingface_hub/blob/main/tests/test_snapshot_download.py#L34
tempfile was doing it's job right, create temp folder/files and delete upon exit
on the other hand, the tearDown() function was used to remove the folder/files that was copied to the local working directory where pytest was run, when a repository instance is initiated in L38.  https://github.com/huggingface/huggingface_hub/blob/main/tests/test_snapshot_download.py#L38
Is this an intended behaviour?  Thanks!

Thanks for looking into this @Ruihua-Fang . The test you are referring to does not have the intended behavior. What we would like to have is to use either the tempfile module from python (https://docs.python.org/3/library/tempfile.html) or when appropriate the temp file fixtures from pytest (https://docs.pytest.org/en/6.2.x/tmpdir.html).
In this particular example, in the setUp you have:
    def setUp(self) -> None:
        if os.path.exists(REPO_NAME):
            shutil.rmtree(REPO_NAME, onerror=set_write_permission_and_retry)

which means it tries to work with a directory which might exist. While working with a temporary folder, we should always work with one which is just created and unique to this test, and both the pytest fixtures and tempdir module give you that functionality.
I'm happy if you want to keep investigating this, but it's not necessarily a good first issue :)

Hi @adrinjalali , got it and thanks :)

(outdated)


[Question] /jobs stats implement placeholder %titlename%

Hi,
is it possible to implement the placeholder %titlename% for the jobtitles in the command /jobs stats ? so that you can use the placeholder in the locale message.yml file in the part of the stats message?

What does jobtitles mean? The current job in which you have or list all available jobs?

in the file titleconfig.yml you can define the name of a title. and the placeholder %titlename% stands for this jobtitle. i'm using the same jobtitles for all jobs.

I added this, and commit soon.


sql: WHERE IN (?). Use Query Bindings.

There are unexpected quotations after query.
e.g.
$ids = '1,2';
$sql1 = 'SELECT * FROM admin WHERE admin.id IN (' . $ids . ')';
$this->db->query($sql1)->result_array();
// sql1 = SELECT * FROM admin WHERE admin.id IN (1,2)
$sql2 = 'SELECT * FROM admin WHERE admin.id IN (?)';
$this->db->query($sql2, [$ids])->result_array();
// sql2 = SELECT * FROM admin WHERE admin.id IN ('1,2')
Is it a behavior of query or some usage about query I don't know?

'1,2' is a single string value ... and that's how it gets treated as.


README.md Issue With Python 3.5

When I sudo pip3 install python-rake on Ubuntu Gnome 16.04.2, (v1.0.7 according to pip3 freeze), when using iPython 3.5, the README.md files usage instructions seem like they're wrong
Instructions:
import RAKE
Rake = RAKE.Rake([path_to_your_stopwords_file]);
# You can use one of the stoplists included in the repository under stoplists/
Rake.run(text);

What I tried:
import RAKE
rake = RAKE.Rake('/home/justin/Documents/python_rake/stoplists/SmartStoplist.txt')
text = "Compatibility of systems of linear constraints over the set of natural numbers."
rake.run(text)

Output:
runfile('/home/justin/Documents/rake test.py', wdir='/home/justin/Documents')
Traceback (most recent call last):

  File "<ipython-input-42-c9f95de7800a>", line 1, in <module>
    runfile('/home/justin/Documents/rake test.py', wdir='/home/justin/Documents')

  File "/usr/local/lib/python3.5/dist-packages/spyder/utils/site/sitecustomize.py", line 880, in runfile
    execfile(filename, namespace)

  File "/usr/local/lib/python3.5/dist-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/home/justin/Documents/rake test.py", line 3, in <module>
    rake = RAKE.Rake('/home/justin/Documents/python_rake/stoplists/SmartStoplist.txt')

AttributeError: module 'RAKE' has no attribute 'Rake'

Issue caused by objects of conflicting name left in ipython console. Closed. Sorry all.


Master

banner rainbow delimiters fix

Related: #215

Note: Robert has addressed this with c6b3e06.

When you come with more PRs please make them merge into develop not master. I basically don't do PRs into master. But keep coming.

understood

This was fixed in c6b3e060951aec3e618a54118817c94b62b1505b


drivers: clock_control: Add support for nRF54H20 clock controllers

Bases on #73783.

Rebased.

Rebased.

This PR will be continued from the new PR #77365


Ap 2367 implement cost override

What
Remove the settings flag from the cost override feature so it is accessible to any user who use delegated functions
Update limitations/legacy_proceeding_types to show the new form and display errors correctly
Update check_provider_answers so the new section is shown if DF have been used and the chnage link works to allow users to change the information
Update merits page to show the new emergency cost override details only on merits reports and not on the merits_assessment page (it cannot be changed from here due to a state change)
Link to story
Describe what you did and why.
Checklist
Before you ask people to review this PR:

[x] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2653 (5923622) into master (afe8bec) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2653   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          527       527
  Lines        10884     10884
=========================================
  Hits         10884     10884

Impacted Files
Coverage Δ

...pp/controllers/providers/limitations_controller.rb
100.00% <100.00%> (ø)

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 afe8bec...5923622. Read the comment docs.


chore: narrow down rollup version

Description
See @antfu comment for context:

https://github.com/rollup/rollup/pull/4600#issuecomment-1212040016

Used a more complex range to avoid over-constraining in a patch.
In general, I think we should start to lock rollup version to a minor, and only update it in our minors moving forward.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Merging as we discussed it with @antfu and @sapphi-red, full run of vite-ecosystem-ci was successful


Link user to the multiple accounts from same services like multiple twitter/instagram accounts

I know you mentioned it in the readme, that this feature is not currently supported, just wanted to open an enhancement task for future.

https://github.com/yubozhao/meteor-link-accounts/blob/5ece9b9051929e1dc43befa1c406e1201843d154/link_accounts_server.js#L56

This is currently not possible due to how Meteor services are structured. For the non-core packages it could be possible if the package for that provider is written in that style. In essence link-accounts is only a middle man.

We might want to explore this further. For example login from multiple self-hosted WordPress instances is one use case.


Upgrade Spring Boot 3.3.4 -> 3.3.5

This PR contains the following updates:

Package
Type
Update
Change

Spring Boot (source)
compile
patch
3.3.4 -> 3.3.5

Release Notes

spring-projects/spring-boot (Spring Boot)
v3.3.5
Compare Source
:lady_beetle: Bug Fixes

Running mvn spring-boot:run with classpaths that exceeds Windows' length limits leaves temporary files #42841
Report produced by ConditionReportApplicationContextFailureProcessor is always empty in a failed test #42785
Case-insensitive comparisons may be adversely affected by the user's locale #42735
DataSourceProperties#driverClassIsLoadable should not print a stacktrace to the error stream when it fails #42683
Some @ControllerEndpoint and @RestControllerEndpoint infrastructure remains undeprecated #42498
Auto-configuration for Rabbit Streams doesn't consider RabbitConnectionDetails #42490
ClassNotFoundException is thrown when loading protocol resolvers from ForkJoinPool task #42468
ActiveMQ Artemis Connection Factory creation fails in native image #42421
Duplicate meter binding when context contains multiple registries, none are primary, and one or more is a composite #42397

:notebook_with_decorative_cover: Documentation

Document that embedded Tomcat must be at least 10.1.25 #42849
Fix systemd example configuration #42805
Document that the exact behavior of the maximum HTTP request header size property is server-specific #42789
Clarify why @Primary is recommended when defining your own ObjectMapper that replaces JacksonAutoConfiguration's #42787
Polish javadoc for Binder#bindOrCreate(String, Class) #42778
Document that Tomcat's maxQueueCapacity need to be greater than 0 #42726
Remove stale link to jar-to-war getting started guide #42723
Fix typos and formatting errors in documentation #42718
Fix case used for examples in "Sanitize Sensitive Values" #42702
Fix Regex javadoc links #42685
Document how Map properties are bound from environment variables #42672
Improve classpath index documentation for reproducible builds #42643
Remove links to Spring Data GemFire #42596
Order alphabetically the sections in Common Application Properties #42520
Improve the javadoc describing when @ConditionalOn(Missing)Bean will infer the type to match #42505
Document how to handle MANIFEST.MF in native image with Maven #42476
Fix links to Micrometer reference doc #42467
Polish documentation #42454
Add Javadoc since for PrometheusScrapeEndpoint(PrometheusRegistry, Properties) #42406
Remove note about graceful shutdown with Tomcat requiring 9.0.33 or later as we now require 10.1.x #42382
Document support for Java 23 #42380
Improve documentation for CycloneDX integration #41506

:hammer: Dependency Upgrades

Prohibit upgrades to Undertow 2.3.18.Final #42756
Upgrade to CycloneDX Maven Plugin 2.8.2 #42631
Upgrade to GraphQL Java 22.3 #42757
Upgrade to Infinispan 15.0.10.Final #42632
Upgrade to Jaybird 5.0.6.java11 #42752
Upgrade to Jersey 3.1.9 #42633
Upgrade to Jetty 12.0.14 #42635
Upgrade to Jetty Reactive HTTPClient 4.0.8 #42634
Upgrade to jOOQ 3.19.14 #42818
Upgrade to JUnit Jupiter 5.10.5 #42637
Upgrade to Logback 1.5.11 #42753
Upgrade to Micrometer 1.13.6 #42543
Upgrade to Micrometer Tracing 1.3.5 #42544
Upgrade to Neo4j Java Driver 5.25.0 #42628
Upgrade to Netty 4.1.114.Final #42639
Upgrade to Pooled JMS 3.1.7 #42640
Upgrade to Pulsar Reactive 0.5.8 #42819
Upgrade to R2DBC Pool 1.0.2.RELEASE #42754
Upgrade to R2DBC Postgresql 1.0.7.RELEASE #42755
Upgrade to Reactor Bom 2023.0.11 #42545
Upgrade to Spring Authorization Server 1.3.3 #42546
Upgrade to Spring Data Bom 2024.0.5 #42547
Upgrade to Spring Framework 6.1.14 #42548
Upgrade to Spring GraphQL 1.3.3 #42742
Upgrade to Spring Integration 6.3.5 #42549
Upgrade to Spring LDAP 3.2.7 #42550
Upgrade to Spring Pulsar 1.1.5 #42551
Upgrade to Spring RESTDocs 3.0.2 #42743
Upgrade to Spring Retry 2.0.10 #42552
Upgrade to Spring Security 6.3.4 #42553
Upgrade to Spring Session 3.3.3 #42554
Upgrade to Tomcat 10.1.31 #42642

:heart: Contributors
Thank you to all the contributors who worked on this release:
@IMWoo94, @arefbehboudi, @izeye, @jeonghyeon00, @ngocnhan-tran1996, @nosan, and @quaff

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Spring Boot 3.3.4 -> 3.3.5

See:
- https://github.com/spring-projects/spring-boot/releases/tag/v3.3.5
- https://github.com/spring-projects/spring-boot/compare/v3.3.4...v3.3.5


php: use PDO, add transactional example

Some refactoring and adds the transactional example (it's not presentable until https://github.com/cockroachdb/cockroach/issues/5758 gets fixed, but that shouldn't be long).
I tested this locally by adding a sleep(3) between the two transactional writes and running for i in $(seq 0 1); do php ../docs/_includes/app/txn-sample.php& done (which is guaranteed to see a restart).
Ping #182 - all of those transactional examples need tests even more since those wrappers might actually get picked up by production code one day.

This change is

Added a commit that removes the hack now that the upstream blocker has merged. Unfortunately, for unknown reasons the retry stuff does not work (see latest commit message).
@andreimatei, anything obvious? It did work with the previous commit, which had exactly the same harness, just using two string concatenated statements instead of a prepared one.

I think what's probably happening is that this PDO guy is freaking out when it sees an error, and doesn't let you do anything on that connection/txn until you do a ->Rollback(). That is very unfortunate. I don't know why the code before the last commit didn't have the same problem... Are you sure you were getting retries? Is it easy to look in the code for PDO and see if it taints the connection on error?
With the C++ driver, for example, the only way to recover from errors is to use their built-in support for nested txns / savepoints. Maybe PDO has something similar, except some googling didn't reveal any clear answers.
The one thing I did find is this guy adding support for SAVEPOINT, although his code does not look like it'd help with entering or not entering an error state.
https://www.kennynet.co.uk/2008/12/02/php-pdo-nested-transactions/
It's also possible that something completely unrelated is happening. Can you tell which statement is raising the error?
If you think that it's the server that reports this error, I can do some printfs to verify.

Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions.

_includes/app/txn-sample.php, line 14 [r3] (raw file):
can we check that the balance is ok? I think the other samples do it.

_includes/app/txn-sample.php, line 50 [r3] (raw file):
tabs :)

Comments from Reviewable

If that's the case, why does the old version work? I was definitely getting retries at HEAD^ (with my bash-for), and it worked wonderfully. There's probably source code somewhere but I think it's going to be easier to see what comes over the wire.

Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

I think printfs are the way to go. Could you take a look? brew reinstall php56 --with-postgresql should give you a PHP that you can run php something.sql on.

Toby do you mind merging the version that works, for now? I just realized no version was ever checked in :)

The one that works is still pretty bad (SQL injection), but you can
fix/merge it if you like - I'm en route to Berlin, so probably won't get to
it until Monday.
On Thu, Apr 7, 2016, 18:50 Andrei Matei<EMAIL_ADDRESS>wrote:

Toby do you mind merging the version that works, for now? I just realized
no version was ever checked in :)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/cockroachdb/docs/pull/183#issuecomment-206989667

--
-- Tobias

Review status: 0 of 2 files reviewed at latest revision, 5 unresolved discussions.

_includes/app/basic-sample.php, line 13 [r1] (raw file):
tans

_includes/app/txn-sample.php, line 17 [r3] (raw file):
add this
    $dbh->setAttribute(PDO::ATTR_EMULATE_PREPARES,true);

Might want to add it to the basic sample too.

_includes/app/txn-sample.php, line 18 [r3] (raw file):
bro best I could do for you is
      $stmt = $dbh->prepare('UPDATE accounts SET balance = balance + :deposit WHERE id = :account');
      $stmt->bindValue(':account', $to, PDO::PARAM_INT);
      $stmt->bindValue(':deposit', $amount, PDO::PARAM_INT);
      $stmt->execute();
      $stmt->bindValue(':account', $from, PDO::PARAM_INT);
      $stmt->bindValue(':deposit', -$amount, PDO::PARAM_INT);
      $stmt->execute();

With ATTR_EMULATE_PREPARES set, if you use the execute() version with an array of args, all the args are passed as strings and cockroach borks with an <int> + <string>  error. The Internet says that if we supported some sort of getMetadata function then maybe the emulation would understand that it's an int, but I don't know how we'd get PDO to use that function and I got bored. Also the PDO code is quite unreadable.
I think the int + string error might go away with Morty, as per rule 3 here. Is that right @nvanbenschoten ?
https://github.com/cockroachdb/cockroach/blob/master/docs/RFCS/typing.md#proposed-typing-strategy-for-morty

_includes/app/txn-sample.php, line 50 [r3] (raw file):
also add a  . "\n" here

Comments from Reviewable

PTAL @andreimatei, should be good to go now.

Review status: 0 of 2 files reviewed at latest revision, 5 unresolved discussions.

_includes/app/basic-sample.php, line 13 [r1] (raw file):
Done.

_includes/app/txn-sample.php, line 14 [r3] (raw file):
Done.

_includes/app/txn-sample.php, line 17 [r3] (raw file):
Done.

_includes/app/txn-sample.php, line 18 [r3] (raw file):
Done.

_includes/app/txn-sample.php, line 50 [r3] (raw file):
Done.

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 5 unresolved discussions.

Comments from Reviewable


Minor change into README.md file

Fix command to run explorer dev server. Must have been a type and nobody noticed.
Although, I've run into another issue. I'm unable to compile locally after following guide in the README file. There seems to be a lot of dependency issues with @iota packages. It might be due that nobody tested to download explorer project directly and install all other dependencies via pnpm only.

We will update the readme to require min node v20 instead of node v18 in https://github.com/iotaledger/iota/pull/4205
Thank you very much for the contribution ⭐


Bulk create max size

Purpose
Creating multiple objects at once using bulk endpoints is cool, but paginating by lists of 10 items is a bit too restrictive. I think we can do better than that.
Proposal
We need to study per bulk endpoint what could be the optimal API_xxx_BULK_CREATE_MAX_SIZE value depending on the payload size and each endpoint performance.

It has been stated in #157 that a reasonable size of 1000 items per request can be handled.


Chi-squared test for the variant split check

I have removed the previous chi-square test of homogeneity, since this is not exactly what we need.
A test of homogeneity tests whether two (or more) sets of multinomial counts come from different sets of population proportions. Or it tries to find out whether two different unknown populations have the same distribution as each other.
A goodness of fit test is for testing whether a set of multinomial counts is distributed according to a pre-specified set of population proportions.
The second is what we need: we try to answer the question whether our data or, more specifically,  our variants splits consistent with the expected proportions we claim.
If you have comments or doubts feel free to approach and discuss.

Coverage increased (+0.03%) to 92.489% when pulling 6780d4bedf4a87ff2c8508fa92760ad4d116d150 on chi-square-test-simplified into cf1a10c3bb543e654a3c5f00d45cc1645c577b41 on master.

Note: I am still a bit concerned about the correction we need to perform for multiple testing (maybe we can avoid this by not conducting the statistical test, but rather by introducing the threshold). But I investigate which threshold will be meaningful.

We could consider an alternative approach entirely. We could simply arrange to store the raw data (the number of assignments) and then do the statistical analysis in some external pipeline connected to our monitoring tool.
Then, in the longer term, when we understand this issue better and we understand the multiple testing issue, we can consider how much of the analysis can be added into expan.
In general, I think we should "gather good data first, ask questions later"

In decided to stick with the chi-square test goodness of fit test, because it's very straightforward (you just need a variant column and expected variant weights) and the other: if you test multiple times it's easy to correct with our correction methods: just collect p values and call method from out correction module and get the new alpha to make a decision.

Ready for review!

@shansfolder @gbordyugov @aaron-mcdaid-zalando please review or approve, I need it for further development.

@daryadedik it looks good from my side, but I would suggest to wait for a second reviewer for such new functionality. ;)

@shansfolder sure.

Is this true?:
This adds two new function, chi_square_test_result_and_statistics and chi_square, but those tests are not called anywhere (except in the tests).
If that is true, then obviously this can be safely merged

:+1:


g update

Thanks for posting this issue. Please open a new issue if this is still a problem for you.


SPAT Timestamp - Latest

This PR adds the latest query param to the /spat/json endpoint, and incorporates it into the GUI. The changes are as follows:

[x] API - added latest query params to /spat/json, which grabs the latest SPAT message
[x] API - added compact query params to /spat/json, which reduces the size of SPAT data in responses by eliminating "duplicate" messages
[x] GUI - When map is loaded without context (no notification/timestamp), it retrieves the latest SPAT data timestamp through /spat/json?latest=true, and re-renders the map with that timestamp

Note: The compact functionality is not yet integrated into the GUI, this is not yet supported. This will be completed in a future PR.

The map will now auto-select the latest SPAT message and re-render with that timestamp:

Compaction doesn't provide SPaT deduplication. Currently is just removes the validation messages field. Since this field is very verbose, this reduces the required bandwidth for transmitting SPaT messages considerably.


Exception on RestAction#map/flatmap results in the RestAction to stop (and none of the success/failure consumers to run)

General Troubleshooting

[x] I have checked for similar issues.
[x] I have updated to the latest JDA version. (Using 4.4.0_352 and 5.0.0-alpha.8)
[x] I have checked the branches or the maintainers' PRs for upcoming bug fixes.

Bug Report
If an exception occurs within the RestAction#map/flatmap function, an error pops up and the RestAction doesn't finish.

ERROR RestAction - Encountered error while processing success consumer

Intentional behaviour?
This could be intentional, RestAction#flatmap(Predicate, Function) exists.
But this does mean the issue persists for RestAction#map, and that was my original issue.
So still, RestAction#map is limited with error handling, and my original issue persists.
Seems I've to change the behaviour so I can use RestAction#flatmap instead, or I'll handle it with null?
Expected Behavior
The failure consumer to trigger
Code Example or Reproduction Steps
        jda.retrieveUserById("257500867568205824")
                .flatMap(user -> {
                    Role role = (Role) user;
                    return user.retrieveProfile();
                }).queue(role -> {
                    System.out.println("success, feeling good");
                }, failure -> {
                    System.out.println("OWH NO! SOMETHING WENT WRONG!");
                });

Code for JDABuilder or DefaultShardManagerBuilder Used
        JDA jda = JDABuilder.create("smirk", GatewayIntent.GUILD_MESSAGES)
                .build()
                .awaitReady();

Exception or Error
[ForkJoinPool.commonPool-worker-1] ERROR RestAction - Encountered error while processing success consumer
java.lang.ClassCastException: class net.dv8tion.jda.internal.entities.UserImpl cannot be cast to class net.dv8tion.jda.api.entities.Role (net.dv8tion.jda.internal.entities.UserImpl and net.dv8tion.jda.api.entities.Role are in unnamed module of loader 'app')
	at nl.tijsbeek.Application.lambda$main$0(Application.java:20)
	at net.dv8tion.jda.internal.requests.restaction.operator.FlatMapRestAction.supply(FlatMapRestAction.java:44)
	at net.dv8tion.jda.internal.requests.restaction.operator.FlatMapRestAction.lambda$queue$0(FlatMapRestAction.java:54)
	at net.dv8tion.jda.api.requests.Request.lambda$onSuccess$0(Request.java:95)
	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Can you try if this works as expected with #2044

Looks like this does cause some unwanted behaviour.
When using this as code:
        jda.retrieveUserById("257500867568205824")
                .map(user -> {
                    Role role = (Role) user;
                    return user.retrieveProfile();
                }).queue(role -> {
                    System.out.println("success, feeling good");
                }, failure -> {
                    failure.printStackTrace();
                });

It results this as error:
java.lang.ClassCastException: class net.dv8tion.jda.internal.entities.UserImpl cannot be cast to class net.dv8tion.jda.api.entities.Role (net.dv8tion.jda.internal.entities.UserImpl and net.dv8tion.jda.api.entities.Role are in unnamed module of loader 'app')
	at nl.tijsbeek.Application.lambda$main$0(Application.java:20)
	at net.dv8tion.jda.internal.requests.restaction.operator.MapRestAction.lambda$queue$0(MapRestAction.java:42)
	at net.dv8tion.jda.internal.requests.restaction.operator.RestActionOperator.lambda$handle$0(RestActionOperator.java:64)
	at net.dv8tion.jda.api.requests.Request.lambda$onSuccess$0(Request.java:95)
	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: net.dv8tion.jda.api.exceptions.ContextException
	at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54)
	at net.dv8tion.jda.internal.requests.restaction.operator.RestActionOperator.contextWrap(RestActionOperator.java:124)
	at net.dv8tion.jda.internal.requests.restaction.operator.RestActionOperator.handle(RestActionOperator.java:59)
Caused by: net.dv8tion.jda.api.exceptions.ContextException

	at net.dv8tion.jda.internal.requests.restaction.operator.MapRestAction.queue(MapRestAction.java:41)
	at nl.tijsbeek.Application.main(Application.java:22)

Not sure or it's your intention to have an error like this?
These "caused by ContextException" look weird?
Regardless, it does fix the initial issue so thanks.

Not sure or it's your intention to have an error like this? (random empty line)

This doesn't seem to be caused by JDA, but rather by whatever is used to print the exception. JDA correctly initializes the exception cause and that logic hasn't changed for a while.

I see, my fault.
In that case, yes it fixes the issue correctly.

Fixed in 5.0.0-alpha.10


Fundamentals 3 gives conflicting dependency information

On the first page it says:

The other "Fundamental Series" QuickStarts explore topics such as working with Tables, Pivot Tables, Dashboards and more. We have broken these QuickStarts up so that they can be taken in any order you want, except the "Fundamentals 1: Getting Around" QuickStart should be taken first.

But on the second page it says:

Our starting point is the "Plugs Sales" Workbook created in the "Fundamentals 2: Working with Tables" QuickStart.

The screenshots show the columns added in Fundamentals 2 and the text references them as well (ex: [Profit]).

Adjusted text to "This QuickStart assumes you have already taken the Fundamentals 1 & 2 QuickStarts "


Double "back" before exit

Is your feature request related to a problem? Please describe.
The app should double check before exiting, After the first close request, it should give a toast saying "Press back again to exit"
Additional context
If and only in you're on the main page or the login page, this should happen

Assign this issue to me

The double back feature does not seem to be implemented correctly as the WillPopScope widget is deprecated now and the logic of this feature is not working everytime in PopScope widget. It works only when the screen is launched first time when the app is created. I think we can make a pop up asking to exit instead of double back.

Any update ?

Actually i looked up for why my logic wasn't working properly with gorouter and I found there is a issue for the same in flutter sdk for gorouter and willpopscope which hasn't been solved yet. If you know of a soution for this please tell me
https://github.com/flutter/flutter/issues/102408

@Abhigyan103 I would like to work on the issue under JWOC

@Abhigyan103 /attempt

Any update ?

Will be making the update by tonight. Need to test it.


ServiceBusTrigger Still Performing Host Retries

We are using the ServiceBusTrigger in C#.
Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.7.0
Microsoft.Azure.Functions.Worker 1.13.0
I was under the impression that worker retries would be stopped, but it appears they have not?
"The retry policy support in the runtime for triggers other than Timer and Event Hubs is being removed after this feature becomes generally available (GA). Preview retry policy support for all triggers other than Timer and Event Hubs will be removed in October 2022."
When an exception occurs there are still exactly 5 retries performed. There appears to be no way to control this or turn it off as we have set host.json but it is ignored:
    "strategy": "fixedDelay",
    "maxRetryCount": 0,
    "delayInterval": "00:00:01"
}

This is not the same thing as the subscriptions maxDequeueCount, as these retries are also performed separately.
How do we turn off host retries for ServiceBusTrigger as they fulfill no useful function.

Guidance for configuring retries for different extensions can be found here, and we would not expect host.json to configure retry policies for a Service Bus function.
The behavior you're seeing is definitely strange - do you have a minimal repro of your function? And what version of the functions runtime are you on (4.x)?

Thank you. We are familiar with how to configure retries. The thing is we don't want the runtime performing any retries.
Microsoft have stated that automatic retries for most of the triggers was being removed, as it is inherent in the trigger architecture.
"The retry policy support in the runtime for triggers other than Timer and Event Hubs is being removed after this feature becomes generally available (GA). Preview retry policy support for all triggers other than Timer and Event Hubs will be removed in October 2022."
We would not expect any retries performed by the Functions runtime.
It is difficult to know why the retries are occurring so quickly as the message lock duration on the subscription is 5 minutes. So we would expect in the event of exceptions the message would be retried in ... 5 minutes.
As you can see there are 5 retries all within a few milliseconds of each other.
Yes we are using:
FUNCTIONS_EXTENSION_VERSION: ~4
FUNCTIONS_WORKER_RUNTIME: dotnet-isolated
Microsoft.Azure.Functions.Worker 1.14.1
Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.7.0
I will provide a minimal repo after testing the minimal repo produces the same issue.

My Repo:
namespace ServiceBusRepoFunction;

public class OrganisationDataSyncRepoFunction
{

	[Function("OrganisationDataSyncRepoFunction")]
	public void Run([ServiceBusTrigger("organisation-change-notification-dev", "repo-subscription")] string message, int deliveryCount, string messageId)
	{
		System.Threading.Thread.Sleep(100);
		long ticks = System.Diagnostics.Stopwatch.GetTimestamp();
		throw new Exception($"MessageId: {messageId}, DeliveryCount {deliveryCount}, Now: {DateTime.UtcNow:O}, Timestamp: {ticks}");
	}
}

Here is the setup.
I have a topic and subscription. The subscription has a retry count of 12, and a message lock duration of 5 minutes.
I put 1 single message into the topic and get 60 exceptions logged into App Insights all within a few seconds of each other.
From the logging though it appears the issue may be with the App Insights integration and logging, as all of the exceptions are logged at different "Event times" according to app insights, but all contain exactly the same exception message.
OUTPUT:
Result: Function 'OrganisationDataSyncRepoFunction', Invocation id '1c651e02-e39d-4869-a076-0f5a8c47e9d1': An exception was thrown by the invocation.

 Exactly the same exception message logged multiple times but at different event times.


⚖ Register Validator: Smart Stake

Network Choice
dentrite-1
Who are you?
Smart Stake has been providing validator services since 2019 and is a validator in 35+ networks. Smart Stake specializes in providing user focused intuitive analytics for all stakeholders of the networks it validates. It also has relayers analytics dashboard for the whole cosmos and decentralization analytics comparing 35+ networks on various metrics.
Delegator address
axone1nfhdk2h8tutq38pa5r5j33j8m78kgfycl4xdd8
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"Smart Stake","identity":"DD06F013A474ACA3","website":"smartstake.io","security_contact":"info@smartstake.io","details":"Your hub for validator, network, and decentralization analytics. Support @ t.me/SmartStake. Like our services? Delegate on any of the networks @ smartstake.io"},"commission":{"rate":"0.050000000000000000","max_rate":"0.100000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"axonevaloper1nfhdk2h8tutq38pa5r5j33j8m78kgfyc0q2lh9","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"twHmwzMqZ24zzp1453Y7Quy29FVH6ni+qw+6i+ASvxw="},"value":{"denom":"uaxone","amount":"1000000000000"}}],"memo":"1ef56d1624dad72537e4abf9d66c2707c5fc575b@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ai/u1ROFuFpWG5H0wJWgfeLgOypE/ruNEWMZslKnhdL0"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["fRpEz1OGaYQ8gn3lDB1KWt1r1pXyZJX67L7tnzlV9TscSnyTSsRu8CfURneujla/2IhRgBukUVKiLOfBaYLkhA=="]}

😉 Here is the corresponding PR: https://github.com/axone-protocol/networks/pull/834


Failing tests should report expected and received values

When a test fails, it just reports something like:
Failed: list_length(mylist) != 11

It would be most helpful if it also reported the value it did receive, something like:
Failed: list_length(mylist) expected 11 received 10

The problem is that we don't know the correct formatting specifier to do this - that's why the RETURNS_*** functions are able to have prettier output, but ASSERTs are not.
I've discovered C11's _Generic feature, which looks like it might allow us to have this behavior. I can look into it next class.

I've implemented a prototype in https://github.com/NateLevin1/ctest/commit/80af3388b6126ecd554050981b5ddac2961b8327 — going to close this issue & we will talk about it next class.


Failed to convert extracted value to float64

my json looks like:
{
  "execution_status": {
    "status": "ok",
    "last_execution_date": "2021-11-19T09:14:47.819Z"
  }
}

and config.yml:
---
metrics:
- name: status
  type: value
  path: "{.execution_status.status}"

result is:
ts=2021-11-19T09:21:51.263Z caller=level.go:63 level=error msg="Failed to convert extracted value to float64" path={.execution_status.status} value=ok err="strconv.ParseFloat: parsing \"ok\": invalid syntax; strconv.ParseFloat: parsing \"ok\": invalid syntax" metric="Desc{fqName: \"status\", help: \"status\", constLabels: {}, variableLabels: []}"

What am I doing wrong?
Thanks!

@jhoustek23
The exporter tries to map "ok" to a number, this is obviously not working
in order to get a string out you have to use it as a label, e.g.:
metrics:
- name: execution_status
  type: object
  path: "{.execution_status}"
  labels:
    status: '{.status}'
  values:
    status: 1

This should result in the following metrics:
execution_status{staus="ok"} 1

thank you! its working

Another solution for this can be found here - https://github.com/prometheus-community/json_exporter/issues/186#issuecomment-1328156005.
I will close this issue since it has already been resolved for OP.


hide tabs item

Describe the feature
tab item can be hide

Relevant code
func main() {
	//icons.AddFS()
	gi.TheApp.SetIconBytes(icon)
	b := gi.NewBody("fleet")

	tab := gi.NewTabs(b)
	tab.NewTab("issue").OnClick(func(e events.Event) {
		//To determine whether it is currently shown or hidden, switch the status here
	})
}

I will look into this.

I will look into this.

This will save space on small screen computers, but you should enlarge the parent control where the tab is located after the hiding operation


Added method for customizable "boost-from-average"

It may be possible to benefit from "boost-from-average" for many more objectives with an appropriate implementation of how the initial score should be computed (it is in general not simply the average label).

@olofer,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@guolinke , does it be consistence with parallel setting?
@olofer , the custom logic will always enable for the xentropy settings?

@chivee thanks for info..
@olofer you should sync up the global init score like this: https://github.com/Microsoft/LightGBM/blob/master/src/boosting/gbdt.cpp#L403-L425
can you create another PR to fix it ?

The custom average computation is only invoked if (1) boost_from_average is set, and (2) if the objective allows it at all (BoostFromAverage returns true) and (3) it is implemented and returns true. At least that was my interpretation. It seems to work the way I want on my test test scripts (using the CLI). The method can be used to improve this "auto-init-score" setting for the other objectives also.
OK I will have to look through the parallel stuff... thanks.

@olofer , I got you, what I'm concerning is that does this implementation will always work better than the original initial way, if the answer is no, we should added an option for the customization initial ways. @guolinke , maybe we can added add 'init_average' option.
for the parallel stuff , you can simply copy the logic.

Some thoughts: I think a scalar option "init_score" or "init_bias" (double) that allows a fully manual assignment to start from is the most flexible and should be available for usage (I think xgboost has this option); but it is super-convenient also to have these "auto_init" option, which could be plain average or the objective-specific average, but if the "init_score" is provided that one should override all other init settings...


Fix decimal info getColumns()

Fixes #1013 and replaces PR #1258

Thank you, and sorry for noticing this too late


Replaced reference to Uservoice with PEEP-000

The issue
Fixes #2809: Feedback forum no longer exists.
The fix
As per discussion in 2809, the link to Uservoice has been replaced with a link to PEEP-000.
The checklist

[X] Associated issue
[x] A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

Hi, would you mind adding PEEP-000 link to ISSUE_TEMPLATE/Feature_request.md and PULL_REQUEST_TEMPLATE.md as well?


Dashboard documentation

Describe the feature you'd like
Currently, Bucketeer documentation only covers the SDK integration. It needs to provide guides about how users can use the dashboard.
Background
The Bucketeer dashboard has several configuration tabs whose functions are not clear for new users. In addition, the documentation does not present any guide on how to start using the dashboard and creating flags. Therefore, we can add new sections to the documentation covering these issues.
Alternative solutions
No response

You can remove this issue. It was supposed to be created on the bucket docs.


(DO NOT MERGE WIP) W-7849620 & W-7849514 - Schema and WIP logic for recurring donations …

…in BDI
Includes new fields on the Data Import record and new Data import object and field mappings for Recurring Donations.
Also adds a new class to contain Recurring Donations logic and inserts into the main DataImportService flow.
Note this will not work without Advanced Mapping enabled.
Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

All good here, excellent work @callen-sfdo!


Update package declaration and add method name attribute

This PR updates:

package_declaration, instead of using scoped_identifier, I figured it would be better to just use a sequence of identifiers similar to import_declaration.
method_invocation, I added method_name rule to extract method name with attributes, otherwise, it is impossible to scope method name in language-java.

I added a test for package_declaration and updated tests for method_invocation.

The build failed with npm ERR! Invalid Version: https://registry.npmjs.org/nan/-/nan-2.8.0.tgz, does not seem to be related. @aymannadeem could you take a look? Thank you!

ping @Aerijo and @50Wliu, could you take a look at the PR and help me with build? Thanks!

With #46 merged to master, the continuous integration should succeed now. Would you merge master?

@suztomo rebased, thanks!

@maxbrunsfeld can you review? Thanks.

Hey @sadikovi - I see your point about the difficulties of highlighting things within scoped_identifier. I will review this when I get a chance.

Thank you.
I will rebase tonight, looks like a lot of changes have been made here. Actually, this changes are only to have some means to extract method name (just wraps the last identifier and argument list into a method_name rule) and make package rule to be similar to import rule (just a sequence of identifiers).


typos and format fixed

Can one of the admins verify this patch?

As this PR has conflictioni now, I merged it manually. Close this PR now


Small grammatical fixes in documentation

Coverage remained the same at 86.974% when pulling e6f35d8fde75ff24c451e91f7512b3c16034edfa on zioul123:Grammar-change into c957b09e393927c4638b619517bd05fba353ee78 on CS2103-AY1819S1-W13-1:master.


Add more accessibility question

Add question on autocomplete attribute
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

On issue #374

Thank You!

@jdwilkin4  plz review/merge this PR


Request USANetwork Extractor Update

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.10.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl.exe --ap-mso Comcast_SSO --ap-username 'PRIVATE' --ap-password 'PRIVATE' -v http://www.usanetwork.com/suits/videos/managing-partner
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ap-mso', 'Comcast_SSO', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '-v', 'http://www.usanetwork.com/suits/videos/managing-partner']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.10.29
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92226-g2797bd5c81, ffprobe N-92226-g2797bd5c81
[debug] Proxy map: {}
[USANetwork] managing-partner: Downloading webpage
[USANetwork] 3789226: Downloading Provider Redirect Page
ERROR: Unable to extract post url; please report this issue on https://yt-dl.org/bug. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl

with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\usanetwork.py", line 62, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\adobepass.py", line 1448, in _extract_mvpd_auth
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\adobepass.py", line 1360, in post_form
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\common.py", line 987, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\common.py", line 978, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

youtube-dl.exe -v http://player.theplatform.com/p/HNK2IC/qRe1IXDE_V0F/select/media/0OtFklnLsoNe
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://player.theplatform.com/p/HNK2IC/qRe1IXDE_V0F/select/media/0OtFklnLsoNe']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.10.29
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92226-g2797bd5c81, ffprobe N-92226-g2797bd5c81
[debug] Proxy map: {}
[ThePlatform] 0OtFklnLsoNe: Downloading SMIL data
ERROR: This content requires a valid, unexpired auth token.

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\theplatform.py", line 297, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\theplatform.py", line 44, in _extract_theplatform_smil
youtube_dl.utils.ExtractorError: This content requires a valid, unexpired auth token.
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.usanetwork.com/suits/videos/managing-partner

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Can someone update the USANetwork extractor? I tried the web page and direct link method. Neither method works (see above). Thanks for the consideration.

Duplicate of #11257.


CA-2039 Suppress cpu level logging if not available (or not rooted)

This PR include with CA-2031, CA-2039, CA-2040 and CA-2053
Changes

Rename of role to the same as defined AppRole
Add function for check if rooted. will not getting cpu data if not rooted.
Add permission checking before start the service
set Bluetooth on when admin role is started

Hello Rfcx/Rfcx-Guardian-Android team,
How are you doing? This is to inform you that I am not a part of this
operation anymore, but I am still a big fan and well wisher of rfcx and
Topher, no doubt. So would u please remove my email from the list? I am
getting continuous notification of the communication.
Thank you very much
Debjani Shyama
Social Media Associate
64-65 Kazi Nazrul Islam Avenue, Dhaka-1215, Bangladesh
Phone:01788 198233
On Mon, Mar 2, 2020 at 11:40 AM Antony Harfield<EMAIL_ADDRESS>wrote:

@antonyharfield approved this pull request.
Ok - good to merge!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rfcx/rfcx-guardian-android/pull/13?email_source=notifications&email_token=ACA4UYPCYVOMW462BRY73BDRFNBDLA5CNFSM4K5XNE6KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXPVZIA#pullrequestreview-366959776,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACA4UYNZO3GHM3U5CYS7SZTRFNBDLANCNFSM4K5XNE6A
.

Hi @Debjani1989,
You can unsubscribe this repository by choose unwatch here


Make func_cv optional

The func_cv screen was not optional despite the fact that func_cl is the combined version of func_cc and func_cv. The Makefile now supports the CV_ENABLE flag to toggle this screen.
Because cl combines features in cc and cv, both cc and cv are now disabled by default in favor for the cl screen.

Much appreciated. This resolves #133

At this point I would actually like to keep CV by default but I see a future where it's optional. My rationale is the same as mentioned here:

The only reason for keeping CV mode, is if you like the PSU to shutdown when reaching the limit instead of limiting the amperage. I can se a usecase for that when you are working on equipment where undervoltage could damage the device.

That would be my use case, powering micro controllers. If the amp limit is hit, power needs to be cut or my uC gets toasted ;)

When the future OpenDPS wifi gets written (as there is too much information both accurate and obsolete in my old blog posts) there could be a section explaining the different modes and their use cases. As I understand, the CL mode is very useful for charging batteries (please correct me if I am wrong).

I've encountered a small issue with this branch : when you configure it so that FUNCGEN is the only screen that's enabled, and then you switch to "another" screen, you end up with a screen that's mostly black. Only the sine wave and the input voltage are shown, all else has been removed.
Other than that, I think it's a good idea to have func_CV be optional :-)


Update enrichment failures so that it can contain a list of Iglu errors

When at least one of the contexts added by the enrich job is invalid, an enrichment failure is emitted wrapping an IgluError.
At the moment such a bad row can contain the information about only one invalid context, whereas there can be several at the same time.
FailureDetails.EnrichmentFailure should evolve so that it can contain a List[IgluError].

Or rather NonEmptyList[IgluError] maybe?

It's already the case, I got confused.


Chain service concludeAndWithdraw

This PR builds on https://github.com/statechannels/statechannels/pull/2651.
Add concludeAndWithdraw chain service API.

Closing as https://github.com/statechannels/statechannels/pull/2662 has been approved.


Support rolling upgrade and determine installed HDP version

This PR replaces use of hard coded HDP release number with a special variable ${hdp.version} that is parsed by Hadoop/Mapreduce framework to determine installed HDP version on the node. This is required to support rolling upgrade of the cluster.

Thanks!
cherry-picked in v3.0.24 (with @cbaenziger 's corrections for the jar)

Thanks for the fix-up @aespinosa; @amithkanand any idea where the version string gets baked in?


Super rare exports are more than rare

Hello,
for testing purposes i imported 3 different super rare, 3 rare and 4 original backgrounds.
When i make 100 variations and count them after; there is 27 super rare and 26 rare and 47 original background exports.
why super rares are more often than rares? am i missing something?

The rarity system has not been implemented on Main branch.
I've created a pull request, you can find my fork here


Implement header method

Issues/PR
Fix Issue #6.
Changes

Add Header struct according to protobuf defination on Extended Header response.
Implement header method.
Update headerpath method.
Add Tests for Header method.

Files affected

types.go
const.go - (heightKey is no longer user)
client.go
client_test.go

@Regis-Caelum please rebase or merge with main.


compare with paul and sahat

we should have a look at those again for issues and ideas

comparing with paul, might not help much as he mainly incooperates our changes in his version.

done it myself. wasn't much to find


Add SetPhase instruction to pulse

Summary
This PR adds SetPhase instruction to pulse.
TO-DO

[x] Reno

Docs build failing -- the fix is in https://github.com/Qiskit/qiskit-terra/pull/4556


Make it possible to use djula as templating engine

Caveman's default template engine is Djula, so the rest of my website is written in Djula. So instead of maintaining two template bases it would be nice to be able to use Djula. I'm planning on implementing this week, is this something that has a possibility to be merged back upstream?

In principle I like the idea to use difference template 'engines' for themes.
If implemented as a plugin, it has a 100% chance of being merged upstream. Otherwise it would be less likely, but would depend on how invasive is the change, if it breaks backwards compatibility, etc.

The theming layer was always intended to be rather thin. I'd also be :+1: for seeing Djula as a possible alternative template layer. Look forward to seeing the PR!


Simplify fr_batch_inv and reject zero inputs

This implements the first approach from https://github.com/ethereum/c-kzg-4844/issues/205

Please add a remark that if C_KZG_BADARGS is returned, we did mutate out.

Please add a remark that if C_KZG_BADARGS is returned, we did mutate out.

Good point.  Will do.


[Feature] make conversion in context menu

Hi,
Highlight text, right-click (open context menu), change case.

I have created an early version of such improved CaseConversion plugin:
https://github.com/bfelder/CaseConversion/blob/master/case_conversion.py
Just use a test view with words like CaseConversionTest in it.
Mark them with caret and run:
view.run_command('toggle_case_converter')
A quick panel will be displayed offering all types of case conversions. The best part is that as you move through the quick_panel the selected word is changed on the fly. Very cool.
This patch is early stage and still has major hiccups.
Still, I'd like to have some feedback on it. Do you like it?  What do you not like?


Pull request code review ui broken

[ ] Cannot load upside/downside codes.
[ ] Comment Plus icon will not displayed when mouse on the line number.
[ ] Reivew dialog cannot pop up.

I see ReferenceError: SimpleMDE is not defined error also the PR page.


ci: use uv in Python client tox.

Problem
uv is a faster alternative to pip installer. We already use it in common package unit tests.
Solution
Add uv in install_command tox configuration.
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[x] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (not required for changes to tests, docs, or CI config)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2024 contributors to the OpenLineage project

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

Project coverage is 85.52%. Comparing base (444d706) to head (4843265).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2739   +/-   ##
=======================================
  Coverage   85.52%   85.52%
=======================================
  Files          58       58
  Lines        3413     3413
=======================================
  Hits         2919     2919
  Misses        494      494

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


Implement failure modes for update and delete operations

See spec for more information. Failure should be asserted in the DeleteOperationTest.

@ivansenic As per discussion I am assigning this issue to my name.


[Feature Request] adding checkbox to make Bot Public

Describe the solution you'd like
to have in edit bot a checkbox when check it the bot become available to all users in the chatbot, this feature enabled for specific people in cognito (new group or admin)
Why the solution needed
some bots should be available to everyone , sharing links is not good UX especially when we have large teams

duplicated #291


ModuleNotFoundError: No module named 'fake_useragent'

as the picture show, there is an issue that can't found fake_useragent,but it actually has been installed.

How did you install it? What gives you confidence that the installation was successful?

Similar issue here. Proof that the module is installed (I did an uninstall and re-install just to be sure)

Paths in my sys.path:

as the picture show, there is an issue that can't found fake_useragent,but it actually has been installed.

 Well, that is how Python works too bad.


Update domains.json

Hi! What is your PR about?

[ ] Add or edit a skin
[x] Add a custom domain for your space
[ ] Add an alias to migrate your space

@gokaiorg hey, we set up the CNAME as well and noticed that vote.stakeborgdao.com takes you to the Snapshot homepage, and not to the space itself (https://snapshot.org/#/stakeborgdao.eth).
Already called https://ina9pk8175.execute-api.us-west-2.amazonaws.com/dev?domain=stakeborgdao.eth but saw Requesting new SSL failed - domain might not be pointed correctly.
Is there anything else we need to do, or just wait for stuff to propagate?
Thanks!

@mihneadb You need to add your sub domain here https://ina9pk8175.execute-api.us-west-2.amazonaws.com/dev?domain=vote.stakeborgdao.com
Then it should be related to your DNS config https://docs.snapshot.org/spaces/add-custom-domain#configure-your-dns
Did you do this step? You will need to add this as CNAME in your domain DNS snapshotpage.b-cdn.net

@gokaiorg I did nothing since posting my message and now it works :) maybe something took more time to happen? Thanks!

And yes, I did do the CNAME and all steps for that matter.


Wrong project name when build for WASM

axmol version: dev branch
devices test on: wasm
developing environments

NDK version: n/a
Xcode version: 15
Visual Studio: n/a
cmake version: 3.28
Steps to Reproduce:

git clone https://github.com/paulocoutinhox/axmol-extensions.git
cd axmol-extensions
axmol build -p wasm

Error:
CMake axmol target_precompile_headers
-- AX_USE_ALSOFT=OFF
-- Enabled axmol extensions:JSONDefault;cocostudio;SDFGen;Inspector;ImGui;fairygui;DragonBones;spine;physics-nodes;particle3d;assets-manager;GUI;
-- No shader found in /Users/paulo/Developer/workspaces/cpp/axmol-extensions/Source/shaders
-- #### AX_WASM_EXPORTS=_main,_axmol_director_pause,_axmol_director_resume,_axmol_director_step
-- Configuring done (15.2s)
-- Generating done (0.3s)
-- Build files have been written to: /Users/paulo/Developer/workspaces/cpp/axmol-extensions/build_wasm
build1k: BUILD_ALL_OPTIONS=--target axmol_extensions --config Release --parallel, Count=5
make: *** No rule to make target `axmol_extensions'.  Stop.
build1k: Build done

More one error. After build it throw error:

Uncaught ReferenceError: SharedArrayBuffer is not defined
    at axmol-extensions.js:1:19813

same issue with #1498


Question: How can one create a custom legend?

I am looking into creating a custom legend, map controls are proposed by google but I think AGM maps does not support custom map controls.
Any successful other way so far?

good feature request. Currently tracked in #941 Thanks for thinking about it. There is even a PR #1398, however the auther is not performing the requested changes.


Can I erase something after drew?

Hi,
How can I erase something after drew?
example:
step1. draw a bezier stroke
step2. draw a Rectangle
step3. erase stroke that I drew in step1.
Thanks.

This is not possible. You can start over with a new drawing and only draw the items that should be visible.


test trained model RFBNet300

Hi, thank you for your great work.
When I try to evaluate the trained model RFBNet300_VOC_80_7, which is one of your given models.
I got the following error:
im_detect: 1/10 0.022s 0.001s
Evaluating detections
Writing aeroplane VOC results file
Writing bicycle VOC results file
Writing bird VOC results file
Writing boat VOC results file
Writing bottle VOC results file
Writing bus VOC results file
Writing car VOC results file
Writing cat VOC results file
Writing chair VOC results file
Writing cow VOC results file
Writing diningtable VOC results file
Writing dog VOC results file
Writing horse VOC results file
Writing motorbike VOC results file
Writing person VOC results file
Writing pottedplant VOC results file
Writing sheep VOC results file
Writing sofa VOC results file
Writing train VOC results file
Writing tvmonitor VOC results file
VOC07 metric? Yes
Traceback (most recent call last):
File "/home/johnsnore/Research/RFBNet/test_RFB.py", line 190, in
top_k, thresh=0.01)
File "/home/johnsnore/Research/RFBNet/test_RFB.py", line 143, in test_net
testset.evaluate_detections(all_boxes, save_folder)
File "/home/johnsnore/Research/RFBNet/data/voc0712.py", line 253, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/johnsnore/Research/RFBNet/data/voc0712.py", line 310, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/johnsnore/Research/RFBNet/data/voc_eval.py", line 152, in voc_eval
BB = BB[sorted_ind, :]
IndexError: too many indices for array
And I found BB=[]
Is that something wrong?
Should I do something else before run test_RFB.py？

I figure it out.
Thank you~
I close this.

@JingpengSun I only get a mAP of 0.8056 not 80.7% posted in github. And you?
`AP for aeroplane = 0.8503
AP for bicycle = 0.8607
AP for bird = 0.7765
AP for boat = 0.7568
AP for bottle = 0.6060
AP for bus = 0.8886
AP for car = 0.8758
AP for cat = 0.8679
AP for chair = 0.6422
AP for cow = 0.8527
AP for diningtable = 0.7793
AP for dog = 0.8610
AP for horse = 0.8899
AP for motorbike = 0.8706
AP for person = 0.8226
AP for pottedplant = 0.5870
AP for sheep = 0.8153
AP for sofa = 0.8113
AP for train = 0.8825
AP for tvmonitor = 0.8145
Mean AP = 0.8056
Results:
0.850
0.861
0.777
0.757
0.606
0.889
0.876
0.868
0.642
0.853
0.779
0.861
0.890
0.871
0.823
0.587
0.815
0.811
0.882
0.815
0.806

`

Hello! I also meet the problem.
BB = BB[sorted_ind, :]
IndexError: too many indices for array
How to solve it? Thank you! @JingpengSun

Epoch:1 || epochiter: 330/544|| Totel iter 330 || L: 2.8262 C: 3.1523||Batch time: 0.3125 sec. ||LR: 0.00048617
Epoch:1 || epochiter: 340/544|| Totel iter 340 || L: 3.5080 C: 2.8519||Batch time: 0.3134 sec. ||LR: 0.00050088
Traceback (most recent call last):
File "train_RFB.py", line 261, in
train()
File "train_RFB.py", line 212, in train
images, targets = next(batch_iterator)
File "/home/xinyu/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 322, in next
return self._process_next_batch(batch)
File "/home/xinyu/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
KeyError: 'Traceback (most recent call last):\n  File "/home/xinyu/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop\n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/xinyu/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in \n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/xinyu/RFBNet-master/data/voc0712.py", line 179, in getitem\n    target = self.target_transform(target)\n  File "/home/xinyu/RFBNet-master/data/voc0712.py", li
hi，do you know how to solve this problem？

I figure it out.
Thank you~
I close this.

I meet the same question with you,how to do with it?thank you

@JingpengSun i also meet the same question with you,how to do with it? thanks


"Could NOT find CUDA" error appeared when building from source

🐛 Bug
I'm trying to do development installation following the instructions in CONTRIBUTING.md, but the building process cannot find CUDA and failed.
It seems like anaconda has its own way to handle cuda installation, and doesn't put the installation under /usr/local/cuda or something similar.
To Reproduce
Steps to reproduce the behavior:
conda install pytorch cudatoolkit=11.0 -c pytorch-nightly
pip install cmake
git clone https://github.com/pytorch/audio.git
cd audio
git submodule update --init --recursive
conda install -c conda-forge sox
python setup.py develop

Output:
(torchaudio_dev) ycy@ycy-playstation:~/working/audio$ python setup.py develop
-- Building version 0.8.0a0+fa71c5e
running develop
running egg_info
writing torchaudio.egg-info/PKG-INFO
writing dependency_links to torchaudio.egg-info/dependency_links.txt
writing requirements to torchaudio.egg-info/requires.txt
writing top-level names to torchaudio.egg-info/top_level.txt
reading manifest file 'torchaudio.egg-info/SOURCES.txt'
writing manifest file 'torchaudio.egg-info/SOURCES.txt'
running build_ext
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
CMake Warning at /home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:31 (message):
  Caffe2: CUDA cannot be found.  Depending on whether you are building Caffe2
  or a Caffe2 dependent library, the next warning / error will give you more
  info.
Call Stack (most recent call first):
  /home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
  /home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
  CMakeLists.txt:55 (find_package)

CMake Error at /home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:90 (message):
  Your installed Caffe2 version uses CUDA but I cannot find the CUDA
  libraries.  Please set the proper CUDA prefixes and / or install CUDA.
Call Stack (most recent call first):
  /home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
  CMakeLists.txt:55 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ycy/working/audio/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeOutput.log".
See also "/home/ycy/working/audio/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "setup.py", line 60, in <module>
    setup(
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/setuptools/command/develop.py", line 136, in install_for_development
    self.run_command('build_ext')
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/ycy/working/audio/build_tools/setup_helpers/extension.py", line 52, in run
    super().run()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/ycy/working/audio/build_tools/setup_helpers/extension.py", line 96, in build_extension
    subprocess.check_call(
  File "/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/ycy/working/audio', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_PREFIX_PATH=/home/ycy/miniconda3/envs/torchaudio_dev/lib/python3.8/site-packages/torch/share/cmake', '-DCMAKE_INSTALL_PREFIX=/home/ycy/working/audio/build/lib.linux-x86_64-3.8/torchaudio/', '-DCMAKE_VERBOSE_MAKEFILE=ON', '-DPython_INCLUDE_DIR=/home/ycy/miniconda3/envs/torchaudio_dev/include/python3.8', '-DBUILD_SOX:BOOL=OFF', '-DBUILD_KALDI:BOOL=ON', '-DBUILD_TRANSDUCER:BOOL=OFF', '-DBUILD_TORCHAUDIO_PYTHON_EXTENSION:BOOL=ON', '-DBUILD_LIBTORCHAUDIO:BOOL=OFF', '-GNinja']' returned non-zero exit status 1.

Expected behavior

Environment
Collecting environment information...
PyTorch version: 1.8.0.dev20201112
Is debug build: False
CUDA used to build PyTorch: 11.0
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.2 LTS (x86_64)
GCC version: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Clang version: Could not collect
CMake version: version 3.18.4

Python version: 3.8 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce RTX 3070
Nvidia driver version: 460.32.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.2
[pip3] torch==1.8.0.dev20201112
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               11.0.221             h6bb024c_0
[conda] mkl                       2020.2                      256
[conda] mkl-service               2.3.0            py38he904b0f_0
[conda] mkl_fft                   1.2.0            py38h23d657b_0
[conda] mkl_random                1.1.1            py38h0573a6f_0
[conda] numpy                     1.19.2           py38h54aff64_0
[conda] numpy-base                1.19.2           py38hfa32c7d_0
[conda] pytorch                   1.8.0.dev20201112 py3.8_cuda11.0.221_cudnn8.0.3_0    pytorch-nightly

Additional context

Setting these environmental variables would probably help:
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions

@imaginary-person
Thanks, but the problem is I cannot even find the location where the cuda has installed... I installed it by conda, and cannot find similar folder structure like in the officail nvidia installation.

I encountered this when I had PyTorch installation with CUDA capability but not having CUDA. Since torchaudio does not need CUDA, you can either try building it with CPU only PyTorch or fix your CUDA installation.

Temporary solved by using CPU only PyTorch.

I'm also running Ubuntu 20.04.
If you want to leverage the GPU, install CUDA toolkit from the Nvidia website, and then install PyTorch again, and then try building torchaudio. There are many posts on Stackoverflow about conda not installing all packages of the CUDA toolkit, but only the packages it needs.

Closing as this is not an issue on torchaudio.

If the goal is to experiment with the latest features, one can also use the nightly versions, e.g. here.


Error message when building the Dockerimage

I want to build the docker image by using
docker build -t my-opentsb .

unfortunately  I get the error message
The command '/bin/sh -c apk add --virtual builddeps     ${BUILD_PACKAGES}   && : Install OpenTSDB and scripts   && wget --no-check-certificate     -O v${TSDB_VERSION}.zip     https://github.com/OpenTSDB/opentsdb/archive/v${TSDB_VERSION}.zip   && unzip v${TSDB_VERSION}.zip   && rm v${TSDB_VERSION}.zip   && cd /opt/opentsdb/opentsdb-${TSDB_VERSION}   && echo "tsd.http.request.enable_chunked = true" >> src/opentsdb.conf   && echo "tsd.http.request.max_chunk = 1000000" >> src/opentsdb.conf   && ./build.sh   && cp build-aux/install-sh build/build-aux   && cd build   && make install   && cd /   && rm -rf /opt/opentsdb/opentsdb-${TSDB_VERSION}' returned a non-zero code: 2

Moreover here is the complete console output ix.io
Most likely the maven address is updated since opening the  maven address
501 HTTPS Required.
Use https://repo1.maven.org/maven2/
More information at https://links.sonatype.com/central/501-https-required

Where can this be adjusted

@LeducH
https://github.com/OpenTSDB/opentsdb/issues/1899
check v2.5.0 milestone

Thanks so much for reporting this issue.  I am archiving this repo as it seems no longer relevant in today's environment.


[RESOLVED] S100-Santiago has been restarted (uptime < 10m)

Problem started at 16:12:55 on 2023.06.22
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Operational data: 00:00:09
Original problem ID: 29031
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23522&eventid=29031

Problem has been resolved in 10m 7s at 16:23:02 on 2023.06.22
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Original problem ID: 29031


Spacebar shows item's contents and Quicklook

Problem
When using the spacebar to "Show item's contents", it both shows that item's content and opens the Quicklook panel. The item showed in the Quicklook panel is the first item of the "contents".
Reproduce

Set "Spacebar behavior" to "Show Item's Contents".
Trigger QS.
Type the name of a folder, say "Desktop".
Press spacebar.

I am running running B66 (3922) and OS X 10.7.3.

I can confirm this.
I will work on fixing it for the ß66 final release. Thank you for reporting the bug


undefined method `split' for nil:NilClass in 3.0.8 (rails 5)

I see this in my production log after upgrading to opbeat 3.0.8 (Rails 5)
I'll take a closer look asap, but wanted to file the issue here fast as well so others can chip in ;-)
Aug 26 09:05:06 myphoner app/web.2:  F, [2016-08-26T07:05:06.483114 #134] FATAL -- : vendor/bundle/ruby/2.3.0/gems/opbeat-3.0.8/lib/opbeat/middleware.rb:10:in `call'
Aug 26 09:26:19 myphoner app/web.2:  E, [2016-08-26T07:26:19.663950 #134] ERROR -- : ** [Opbeat] Error capturing or sending exception undefined method `split' for nil:NilClass

Examining this error, I now see another error in my local environment:
** [Opbeat] Failed POST: #<Opbeat::Error: Error from Opbeat server (400): {
    "status": 400,
    "structured_error": {
        "http": {
            "url": "must be the full URL, including scheme and host"
        }
    },
    "error_message": "Unable to validate data."
}>

I'm guessing the headers fix in https://github.com/opbeat/opbeat-ruby/issues/34 was not enough - maybe there's some more parameters missing now?

@mikker when debugging, I can see that the http object is not valid - maybe the format of the headers changed in rails 5?
From: /lib/opbeat/error_message/http.rb @ line 54 Opbeat::ErrorMessage::HTTP.from_rack_env:
    50:         if filter = opts[:filter]
    51:           http.apply_filter filter
    52:         end
    53:
 => 54:         binding.pry_remote
    55:
    56:         http
    57:       end
    58:
    59:       def apply_filter filter

[1] pry(Opbeat::ErrorMessage::HTTP)> http.url
=> "://::0"

@jeppeliisberg Can you check if this PR fixes your problem? https://github.com/opbeat/opbeat-ruby/issues/36

Fixed in 8ac500c52ce43624a7cd6b615a8ea151338dd051


is there has injectScript remote url examples

    injectScript({
      global: 'home_app',
      url: 'http://localhost:3000/_next/static/chunks/remoteEntry.js',
    })
      .then((container) => container.get('./pages-map'))
      .then((data) => {
        setPageMap(data);
      });

@guoqiangfydxx @ScriptedAlchemy I have an example of it here
https://github.com/brunos3d/nextjs-runtime-remote-injection

Is there a way to even get hooks/ react context through injectScript?
@ScriptedAlchemy thank you so much for all your work.

You might be able to use top-level await if you use ES modules, but hooks and context generally don't work if they depend on a promise. You would have to either use Suspense and inject them lower in the tree, or use top-level await so they are resolved synchronously

@ScriptedAlchemy  it worked well 🙏. I have also added a Boundary component that doesn't allow children to render unless the scope is present on the window and hence it won't break while running top-level await.
But would u suggest using this in production? especially as top-level await is an experimental feature from webpack.


Splitter has wrong behavior when dragging

Describe the bug
When the splitter is dragged out of the clamp range and back, it's in the wrong position.
To Reproduce
Just run the demo and drag the splitter.
Expected behavior
The splitter should always follow the pointer.
Screenshots
Here's a video showing different behaviors between egui::DragValue and splitters:
https://user-images.githubusercontent.com/59129152/213701383-c4a595e8-d4de-45ad-b683-b7c5338ea50e.mp4
Additional context
Possible solution: use another value to store the "last dragged value" (the same as DragValues do)  and clamp this value, not the splitters' position.
current code (hsplit): https://github.com/Adanos020/egui_dock/blob/bc489166c962562315ce1f8733de7f3acb95275c/src/style.rs#L178
We'll need to store fraction when dragging starts and use this value for clamping:
*fraction = (drag_start + delta / range).clamp(min, max);

Now I'm unsure about where to store this value, and is it enough to have one value for all DockAreas.

Now I'm unsure about where to store this value and is it enough to have one value for all DockAreas.

Good find! We can try the approach you suggested, though it may also be possible to use pixel-perfect positions of the splitter and mouse cursor. That way we could avoid storing extra data for each split.

I think all the splitters can use a same value, since only one splitter can be dragged at a time. Drag value used this solution.

Got it, thanks. Worth giving it a try.

Closed by #103


Remove word duplicates in spirv_reflect.c

Quick fix for a repetition of the words "target" and "member" in the comments.

 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.

Thanks @Chubercik for the fix!

My pleasure! Also sorry for the slight commit bloat, I got tunnel-visioned 😅


add support for pyright

What needs doing:

[ ] add a hook in .pre-commit-hooks.yaml
[ ] add an example in docs/examples.rst
[ ] add dependency to requirements-dev.txt
[ ] add a new test in tests/tools (see tests/tools/test_yapf.py for an example)

@MarcoGorelli is it supported?

Hi - I'd expect it to work out-of-the-box
If not, please do let me know

@MarcoGorelli
So I tested it and it works, but not in a way which I need it to work. I was unable so far to find any workaround.
The issue is that nbqa assumes that all files may be evaluated independently, which is not true for type checkers.
In this case I want pyright to evaluate notebooks in context of all other files in repository. When I specify . path to nbqa, then it feeds pyright only with python files generated from notebooks. I expected that it will also include my other python files, but this is not the case.
What I'm missing in this tool is the ability to convert notebook to python files and keep them. I see that currently this feature can't be used independently and also those generated python files are instantly removed.
If I could generate those python files and keep them, then I could easily run pyright on them in the next step.

If I could generate those python files and keep them, then I could easily run pyright on them in the next step.

seems like a reasonable request - reopening then, thanks for the ping!

Hello, I would like to understand if this limitation also applies to mypy, which also needs the context of the whole codebase to correctly analyze the notebooks?

In case it's helpful I'm able to run nbqa with pyright via uv:
uv run nbqa pyright examples

and it correctly picks out all the notebooks in the examples directory. Imports from the notebooks to the rest of the local code work.
This seems to work well for us, and now avoids a extra steps of nbconvert and temporary files, so that's really useful so far. Thanks for making the tool.


actions: Add label for nxp boards, drivers, socs

Extends the github labeling action to automatically add the nxp label to
nxp-related boards, drivers, and socs.
Signed-off-by: Maureen Helm<EMAIL_ADDRESS>

@MaureenHelm could you rebase please?

@MaureenHelm could you rebase please?

Done


Listen for double-clicked event on tray to minimize/restore window

I came here now only to create an issue askin for this lol

@engelgabriel  thanks for merging it!
@sampaiodiego You're welcome :)


Update Pages “WhatDoTermitesLookLikePage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
741c2d2555cf7067e577308b520fcce71730d804

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/6551f5b0de39b6000877b73e


math/big: add substantial documentation

The math/big package is mysterious to newcomers. It's even a bit mysterious to seasoned Go programmers. We'd do well to include some large examples, and expand a bit in the package comment and the doc comments of Rat and Int.
cc @griesemer

Something like this? (as a first little step)
https://go-review.googlesource.com/#/c/11034


Mocked context for test can be mounted by default

Feedback from a user:

Often I have to set mounted as true in wm-tests.

We can set mounted by default as true. Normalwise wm tests cover exactly this state, so making it the default is logical.
All already implemented tests shouldn't be affected by this change: if the value wasn't specified previously everything is okay, if was - it is already defined.

Released https://github.com/Elementary-team/flutter-elementary/releases/tag/elementary-test-2.1.0


add jenkins job for freme-ner

I created the job only for freme-ner package but when something changes in the codebase of freme-ner then it does not get updated on freme-dev

done


Renamed DnsRecord to RecordSet. Fixes #779.

You might already have noticed but CI is failing:
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-java/gcloud-java-dns/src/test/java/com/google/gcloud/dns/SerializationTest.java:[94,42] cannot find symbol
  symbol:   variable DNS_RECORD_PARTIAL
  location: class com.google.gcloud.dns.SerializationTest
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-java/gcloud-java-dns/src/test/java/com/google/gcloud/dns/SerializationTest.java:[94,62] cannot find symbol
  symbol:   variable DNS_RECORD_COMPLETE
  location: class com.google.gcloud.dns.SerializationTest

I finished my pass

Done with revisions. Ready to proceed.

Coverage remained the same at 85.575% when pulling 43e7b53828cdc4d1519d2ee509645cf964f20ae3 on mderka:rename-dns-record into 2f90e7e338349287ace33375896907af0f032ca1 on GoogleCloudPlatform:dns-alpha.

Added one more nit, feel free to merge when done!

Fixed and squashed commits. I will merge when travis finished. Thanks.

Coverage remained the same at 85.575% when pulling 1a5aade24d7cf0b7d0ee64eb80c3726174800446 on mderka:rename-dns-record into 2f90e7e338349287ace33375896907af0f032ca1 on GoogleCloudPlatform:dns-alpha.