util/wrapper: Add Static Client wrapper

A possible replacement for the selector/static which doesn't involve overriding the service name (this improves tracing among other things).
Example usage:
client := pb.NewAuthService("go.micro.auth", wrapper.StaticClient("auth-srv:8010", options.Client))

tests added


updates for safari tests passing on mac

All the tests pass with this, but some things I'm not sure on...

Why aren't safari tests that have clearly never worked not already guarded against?
Why we are doing not_compliant %i(webdriver browsername) if it is any other browser than IE?
How should the bug/not_compliant nestings go? Before describes? After? I think I tidied some up, but I’m not sure they are consistent across the tests now.

Looks great :+1:

I guess nobody really paid attention to running Safari suite.
I guess it was used at the times where there was FirefoxWatir and other watir-classic implementations.
AFAIK, we wrap anything that makes sense in guard. It can be describe, if whole describe is not compliant, specific contexts or examples.

I'm slightly amused/embarrassed. I've been working so hard to get the Selenium binding tests to work everywhere, and I haven't even done that for the Watir tests. :)


Why SimpleMusicPlayer not use processor? "I like that"    :)

I just want to know why,
there is a change or difference to other libraries as Naudio
:question:

features of my system:
Windows 10 Pro x64
processor: AMD Athlon(tm) II X2 250 Processor 3.00 GHz
[Motherboard] (https://pcel.com/PCChips-A51G-V7-1-73801)
--but on my laptop the opposite occurs --USE CPU :(
I hope you solve my question
I hope you continue with development.
It is an excellent program
use it daily to listen to music
Thank you :+1:

@EAxp3 Thanks!

I planned some changes, flac support and some other ideas, maybe the music lib will be gone...
The player uses the FMOD library.
How many CPU usage consumes the player on your Laptop?

version used: SimpleMP_v1.9.1_x64
Laptop: Windows 10 Home TH2 X64+AMD E1-1200 APU with Radeon(tm) HD Graphics 1.40 GHz + Audio Realtek
perhaps because of CPU or chip audio ??
It has low speed
CPU Usage:

change track:

@EAxp3 I'll give you a 1.9.2 after my work tonight...

New version? Yay! Because the previous one wasn't really working properly to me.

@Svetomech @EAxp3 new version ready https://github.com/punker76/simple-music-player/releases/tag/v1.9.2

Thanks!


Revert "Whitelist metrics for MCG addon"

Reverts rhobs/configuration#244
PTAL https://github.com/rhobs/configuration/pull/244#issuecomment-1164138165.

/cc @matej-g PTAL, thanks.

/cc @matej-g
PTAL, thanks.

thanks!


Design document for Traits

Vectors and scalars have many things in common.
We have the CanBeNa trait that applies to both but many other behaviours are common.
For example.
All vectors and pairlists support 'values()' a call that returns an iterator to just the values of a
colection. Many support 'names()', but any vector can have names. We could construct a
NamesAndValues trait.
The "new" constructor should always take a size, Integers::new(10) would create a vector of
ten zeros.
Many vectors now support as_slice(), iter() and into_iter() that should be universal.
Likewise elt(), set_elt(), get_region() and maybe subset(), sum(), min(), max(), sorted(), and filter().
Most vectors can now support  std::ops::Index to allow the use of [index] notation.
Some vectors should support as_mut_slice.
It would be good to have a chunks() iterator that uses get_region() to extract subsets of AltRep vectors.
We should also retire many of the Robj methods, perhaps all the as_ conversions in favour
of Rany.
Instead of: as_integer() etc. use if let Rany::Integers(x) = robj.
All objects should support Debug and Display traits.

We should maybe gather traits into separate modules. At present the Robj traits are in their original places, but could be grouped.
Traits like CanBeNA should be implemented for all types in one place.


Fix buffer size property name in sample configurations

All the sample configuration files refer to bufferSizeByteLimit while the correct property name is bufferByteSizeLimit, as you can see here.
This had me scratching my head for a long while, as size limits had no effect in actual use (record count and millisecond work fine!)

@codeflows, thanks for reporting this bug. Some properties files were already fixed with correct property name, while others have been fixed as part of the 1.2.0 release.


Add line and column to all Errors

This change adds offset information to Errors as they bubble up the visitor
chain, and before exiting, adds line and column information based on that
offset. The effect is that most Errors now have correct location information,
and in other cases, it's close (but not quite as exact as it should be).
The new test (de-errors.rs), serves to show the positioning of custom
deserializer Errors. These are the most problematic ones, because table-level
errors, require guessing the position from the elements. Unfortunately,
this isn't great, but it's better than nothing. The tests highlight where
the positioning falls short.
This is the continuation of #312 and #313.

No worries! Can I bug you for a new release with these changes? Thanks!

Sure thing, done!


Point back to Capgeminis tf_tls module

Once we support terraform 0.7 on aws https://github.com/Capgemini/kubeform/pull/172
and Digitalocean we can merge https://github.com/Capgemini/tf_tls/pull/45
and point back to that module

cc @tamsky @mrwacky42


Compile package to es5

This package, as well as node-drange are not transpiled to es5, and it makes cross-browser support difficult. This module is part of my dependency tree and broke ie11 support due to the use of es6 features. It would be nice if this could be distributed so that it has more cross-browser support

Are you using a package bundler? If so, which one?
My understanding is that in the future, bundlers will handle transpiling, letting library authors focus only on the library, and not on how to export the library. I don't even think that I should include a minified version, since that's one of the first things bundler's handle. This is actually one of the only projects that includes a minified browserified version.

Hi
This is bun's bag, but if you compile it to es5 or just use named exports, it solves
1 ❱ bun run index.ts
1 | (function (entry, fetcher)
    ^
SyntaxError: Missing 'default' export in module './node_modules/randexp/lib/randexp.js'.

This is related to this issue https://github.com/oven-sh/bun/issues/7465


Enable Fast Double Parser in Jackson

Description
Enable Jackson Features USE_FAST_DOUBLE_PARSER and USE_FAST_DOUBLE_WRITER
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/7822
Check List

[x] New functionality includes testing.

[x] All tests pass

[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.

Let's add to the CHANGELOG something like "Improved performance of parsing ..."?

@dblock @mgodwan I was looking into this feature and there are few "dragons" here:

https://github.com/FasterXML/jackson-core/issues/970 (takeaway, with Java 17 there is negligible speed up of 1-2%)
https://github.com/FasterXML/jackson-core/issues/577 (takeaway, the results of the conversion may differ from the JDK)

I think this is a good feature to offer but may be we should be careful with using it as default?

@reta I ran a few benchmarks with nyc taxis where I saw the following differences in throughput without and with this change:

Code Path
Indexing Throughput Avg
P50 Indexing Latency

Baseline
78162.21,docs/s
876.34 ms

Candidate (Fast Double Parsing Enabled)
81743.31,docs/s (1.04x)
837.26 ms (0.956x)

These runs use JDK17 and show good improvements.

@reta I ran a few benchmarks with nyc taxis where I saw the following differences in throughput without and with this change:

Thanks @mgodwan , this is obviously macro benchmarks (vs microbenchmarks shared by project maintainers) but the improvements for this specific workload are in more or less intact for JDK-17.
It would be great to confirm there is no differences in values produced by JDK (current) and FastDoubleParsing at least for this workload (the other concern raised by project maintainers).

Thanks @mgodwan , this is obviously macro benchmarks (vs microbenchmarks shared by project maintainers) but the improvements for this specific workload are in more or less intact for JDK-17.

Agreed that this would be workload dependent. I chose nyc taxis as it includes certain geo-point fields which are parsed as floating point numbers so they give a good indication of the kind of improvement we can expect. I had executed some micro-benchmarks on JDK17 before opening the issue for conversion from String to Double data types which yielded gains as well.

It would be great to confirm there is no differences in values produced by JDK (current) and FastDoubleParsing at least for this workload (the other concern raised by project maintainers).

I'll see how we can verify this for the workload. There are 2 aspects to this confirmation:

For parsing, Jackson inlines github.com/wrandelshofer/FastDoubleParser which is a Java port of github.com/fastfloat/fast_float and the algorithm used provides exact parsing according to the IEEE standard (https://arxiv.org/abs/2101.11408) I don't think there is any concern raised for this aspect on the other issue you had cited on the precision.

For serializing, Jackson uses Schubfach's algorithm which seems to have been adopted in the latest versions of openjdk at least as well with the implementation by the same author. Interestingly, Schubfach's provide correct serialization for a few corner cases which account for the difference which may be seen (see: https://bugs.openjdk.org/browse/JDK-4511638) and I could verify this by running against JDK17 and JDK20 for a few cases mentioned in the openjdk bug. We may benefit by allowing the use of Jackson's feature for OpenSearch 2.x which still uses JDK17 and does not have this implementation within JDK.

I've removed the USE_FAST_DOUBLE_WRITER from this PR since JDK20 already takes care of it.
For 2.x backport, I can modify the PR to include the feature USE_FAST_DOUBLE_WRITER so that we can handle the corner cases in earlier JDK implementations as well.

Please take a look at the PR and let me know your thoughts.
cc: @reta @dblock @backslasht

Thanks @mgodwan , I think making it default for 3.x is reasonable, for 2.x would be good to have a way to let users opt-out (system property for example).

@reta - Are you suggesting to provide an opt-out mechanism as there is a change in behavior?

On the related note, we use Jackson for CBOR/Smile/Yaml (CborXContent/SmileXContent/YamlXContent), should we also switch those to USE_FAST_DOUBLE_WRITER? I think it would make sense.

+1

@reta - Are you suggesting to provide an opt-out mechanism as there is a change in behavior?

Correct, we bundle JDK-17 with 2.x but users could (and do) use any JDK-11+ distribution, in case any issues are encountered, we would have a mechanism to hand off parsing back to JDK

On the related note, we use Jackson for CBOR/Smile/Yaml (CborXContent/SmileXContent/YamlXContent), should we also switch those to USE_FAST_DOUBLE_WRITER? I think it would make sense.

I have updated the parser configuration for CborXContent, SmileXContent, and YamlXContent as well.

@mgodwan conflicts :(

Resolved the conflicts.

@mgodwan - Can you please add testing notes for the non JSON formats?

@dblock are we good with making it default for main and 2.x but have an opt-out option for 2.x users (system property)?

For 3.0 (main) looks good.
For 2.x, does it actually change behavior, even on edge cases? If so I would say it's a no-go because it would break semver. It should be optional.

Thanks @dblock @reta
Could you help with merging this to main?
I can take up the required changes for backport once workflow is triggered.

Could you help with merging this to main?

@dblock sign off?

I merged it, however I am still unclear what the edge cases are. I would at least add a test that demonstrates the handling of the edge case (a test that would fail if we remove this code).

@dblock there is a difficult one (at least it seems to me):

we could look for conversion edge case (still have to find some), where JDK conversion != FastDoubleConversion, that could actually change from JDK to JDK (from the discussions above)
we could look for conversion time edge case (more like JMH-oriented test cases) where we assert that FastDoubleConversion should not take longer than X

Which ones you are thinking about? Or something very different?

we could look for conversion edge cases (still have to find some), where JDK conversion != FastDoubleConversion, that could actually change from JDK to JDK (from the discussions above)

For serialization, some cases which yield different output on jdk-17 and with jackson flag enabled are listed here.
e.g.
JDK 17 behaviour: 8.41E21 --> 8.409999999999999E21
JDK 20 behaviour: 8.41E21 --> 8.41E21
Jackson flag behaviour: 8.41E21 --> 8.41E21

I could not find any cases for JDK-20 since jdk-20 and jackson seem to be using the same algorithm for converting java double to string.

I merged it, however I am still unclear what the edge cases are. I would at least add a test that demonstrates the handling of the edge case (a test that would fail if we remove this code).

In this PR, we have only enabled jackson flag for converting from string to double[uses USE_FAST_DOUBLE_PARSER].
We have not enabled jackson implementation for double to string conversion [uses USE_FAST_DOUBLE_WRITER].
The string to double procedure does not have any edge cases we are aware of (the algorithm follows IEEE standard) while there are edge cases in highlighted in double to string are covered in the above comment.

@mgodwan So you're saying that the two outcomes of this change are 1) improved performance, and 2) fixing a bug such as specifying 8.41E21 would produce 8.409999999999999E21? If so YOLO.


[release-4.7] Fix  Squid Proxy True PowerVS jobs are failing

This is an automated cherry-pick of #286
/assign Prajyot-Parab

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci
To complete the pull request process, please assign yussufsh after the PR has been reviewed.
You can assign the PR to them by writing /assign @yussufsh in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci, Prajyot-Parab
To complete the pull request process, please assign yussufsh after the PR has been reviewed.
You can assign the PR to them by writing /assign @yussufsh in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Replaced fs with react-native-fs

Before creating a pull-request, please check https://github.com/wycats/handlebars.js/blob/master/CONTRIBUTING.md first.
Generally we like to see pull requests that

[ ] Please don't start pull requests for security issues. Instead, file a report at https://www.npmjs.com/advisories/report?package=handlebars
[ ] Maintain the existing code style
[ ] Are focused on a single change (i.e. avoid large refactoring or style adjustments in untouched code if not the primary goal of the pull request)
[ ] Have good commit messages
[ ] Have tests
[ ] Have the typings (lib/handlebars.d.ts) updated on every API change. If you need help, updating those, please mention that in the PR description.
[ ] Don't significantly decrease the current code coverage (see coverage/lcov-report/index.html)
[ ] Currently, the 4.x-branch contains the latest version. Please target that branch in the PR.

I don't think we should change Handlebars to use React Native's fs instead of the standard one, so I'm closing this.


Map tiles visualization is showing a weird tile labeled '1,1,1'.

After activating the 'background' panel, there seems to be a phantom (or possibly debug?) panel in the upper left of the view.
Just after clicking 'Show Tiles':

Panning the map a bit to see the label on the tile:

That extra 1,1,1 rect shouldn't be there.

Issue fixed in aec91bc0288ddacb8a8a7015db05d1cab362c0b3. This was a debug border being emitted by the minimap's re-use of the basemap imagery layer. Since the minimap only loads one yuuuuuuge tile, that's why it was only drawing one to the canvas.
Now the minimap will no longer attempt to render anything into the debug container.


Update to a dependency and the telemetry client initialization

Description
Resolving #19 and updating the Selenium.WebDriver.MSEdgeDriver dependency to the latest version.
Checklist

[X] I have read the submitting changes section from the contributing article.
[X] Updates have been made to the change log that reflect what is changing.

A snippet outlining the change(s) made in the PR should be written under the ## Upcoming release header -- no new version header should be added.

[X] When applicable, if the changes in this pull request are introducing breaking changes, as defined here, the following has been completed:

[X] Details for the breaking change have been documented under the ## Future header in the breaking changes article.
[X] The appropriate breaking change attributes have been implemented.

[X] When applicable, the markdown help has been regenerated using the process documented here
[X] When applicable, the changes made in the pull request have proper test coverage.

Closing this pull request because #21 was recently merged with the same updates.


When can we support Dubbo 2.7.4?

When can we support Dubbo 2.7.4?

Now, It has been released, Thanks for the long long wait~


GT-1922 Remove locale from the public API

We are changing the Locale type on js to just be a string instead


No response

Hi! Thank you so much for writing this code! It will be super helpful once I figure out how to run it.
I'm a complete beginner with Javascript, and I'm not getting a response when either running request or get using Node. Does the code need to be run in specific environment? or am I just missing something in the parameters?

Hi @maychenn!
This is meant to be run in the Google Apps Script environment and calls on APIs/methods that are exclusive to that environment.
Don't hesitate if you have any issues getting it setup there.
Thanks!

Thanks so much for responding! I was finally able to get it set up. Do you know how I can get 1d_click, 1d_view, 7d_click, etc. to show up? This is what I have for filtering currently (based on another comment). I got an error when I included it in fields.

You'd actually want to add an additional parameter to do that.
First, add this constant:
const ATTRIBUTION_WINDOWS = '['1d_view','7d_view','28d_view','1d_click','7d_click','28d_click']'
Then add &action_attribution_windows=${ATTRIBUTION_WINDOWS} to the facebookUrl constant in the url parameters.
Let me know if it works!

That's actually what I tried, and I'm now getting an error that says this even when I take the attribution window portions out:
Exception: Request failed for https://graph.facebook.com returned code 400. Truncated server response: {"error":{"message":"Invalid OAuth access token.","type":"OAuthException","code":190,"fbtrace_id":"Ab0OHVHQYS1rXAuAZm11xtW"}} (use muteHttpExceptions option to examine full response) (line 50, file "Code")
Could it have to do with Graph v8.0 that just came out? I've checked that the tokens I'm using are still valid & long-lived.


Is there any predefined solution for a global configuration?

In previous projects without ngbp I've used requireJS which is similar to the modular architecture from AngularJS. I had a module "config" which I loaded as a dependency for each other module.
Is there any predefined way to handle a global configuration in ngbp or should I continue loading the configuration as a module?
Thank you!

I believe NGBP is just a starting point for your AngularJs apps, the main goal being to start working with a basis of good practices and design patterns.
It does not include any sort of configuration module, when I'm coding I tend to follow the Angular-styleguide recommendations (https://github.com/johnpapa/angular-styleguide#style-y128) which are, for configuration, to create a configuration file for each module like module1.config.js, placed side by side with the module entry point and which will hold all the constants used in the module.

Yea.. I found out that a few functions are missing in ngbp so I built my own boilerplate: http://github.com/julmot/jmBoilerplate


Fixed an error in StoryMenuState

image is FlxGraphic changed to Std.is(image, FlxGraphic)

Creating this pull request, because I seen a lot of people coming and posting about: Expected )

change Std.is to Std.isOfType

both of them are the same, but the other one is just depricated but sure

Update your Haxe.

Update your Haxe.

No legacy support


Update dev dependencies

What kind of changes does this PR include?

Something else!

Description

Updates the development versions of Astro and Vite to the latest releases

size-limit report 📦

Path
Size

/index.html
9.42 KB (0%)

/_astro/*.js
19.25 KB (0%)

/_astro/*.css
9.56 KB (-12.41% 🔽)


Seems not working after update Vite to 5.0

After update the project to vite 5.0.0 got the following error  [ERROR] No loader is configured for ".svg" files:
Reproduction steps:

Upgrade the project to vite 5.0.0
start the project

I added this PR to solve it https://github.com/jpkleemans/vite-svg-loader/pull/125

Fixed in release 5.0.0


Reinstate quick as a synonym of default run

Further thinking about making quick the default behavior (see PR #165), I realise that this is a breaking change for older pipeline runs, and since we recently incorporated new potential users to minute, it might be wise to not make minute crash due to it, as it does not involve too much redundant code. We can eventually add a warning for deprecation and remove the functionality eventually in future official releases.

I don't know what's best practice in this type of PR though, would it have been better to re-open #165?

I am going ahead and merge this since it is not a big change. Might be eventually reverted on some "official" release but I think it is good to have a bit of retro-compatibility there.


Error - connect to subsupabase

Describe the bug
I get an error that i need to connect the project to supabase.
I already did that before and now it won't let me reconnect itI
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-9sydzu
Validations

[X] Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

load the page
it will say connect to supabase
press the button
error : "Could not connect to Supabase."
can't enter any prompt

Expected behavior
allow me to reconnect to my database
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 303188696,
  "usedJSHeapSize": 295745592,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = royleib
Chat ID = 7b8b55b6adfb

Additional context
Error:
Could not connect to Supabase.

Any update? I can't use the platform anymore for my app

??????


Cant login to Tray

I am trying to login to Tray (at home) , using Jet ISP, I dont know if it helps, but I cannot login to Tray, checked error and info logs - empty, also even if I try to type in wrong login credentials, I am still getting that Timeout Error thing ^^^

Turned out this is a firewall issue, just FYI


Fix typo in file-uploads.md

The following sentence:

...FileHelpers class demonstrates a several checks for...

Should read:

...FileHelpers class demonstrates several checks for...

Thanks @ericmutta.

Thanks for the fast follow up @serpent5 👍


[operator] Allow highly available deployment of virtual garden cluster control plane

How to categorize this PR?

/area high-availability
/kind enhancement
What this PR does / why we need it:
This PR enhances the Garden API to make it possible to configure HA mode for the control plane (only ETCD today). This will make gardener-operator scale out the ETCDs to 3 replicas each.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/7016
Special notes for your reviewer:
This is all very similar to Shoots. We don't have a failure tolerance type for Gardens though, because there is no need to configure this. The GRM's highavailabiltyconfig webhook makes sure that the ETCDs are spread on nodes, and if there are at least two zones then they also get spread across zones.
/cc @timuthy @shreyas-s-rao
Release note:

It is now possible to configure the control plane of the virtual garden cluster to run in a "highly available" mode by setting `.spec.virtualCluster.controlPlane.highAvailability={}`. As of today, this causes the ETCDs to run with 3 replicas each.

/assign

/test pull-gardener-e2e-kind-operator

/retest

/hold

/unhold


[SPARK-42286][SQL] Fallback to previous codegen code path for complex expr with CAST

What changes were proposed in this pull request?
This PR fixes the internal error Child is not Cast or ExpressionProxy of Cast for valid CaseWhen expr with Cast expr in its branches.
Specifically, after SPARK-39865, an improved error msg for overflow exception during table insert was introduced. The improvement covers Cast expr and ExpressionProxy expr, but CaseWhen and other complex ones are not covered. An example below hits an internal error today.
create table t1 as select x FROM values (1), (2), (3) as tab(x);
create table t2 (x Decimal(9, 0));
insert into t2 select 0 - (case when x = 1 then 1 else x end) from t1 where x = 1;

To fix the query failure, we decide to fall back to the previous handling if the expr is not a simple Cast expr or ExpressionProxy expr.

Why are the changes needed?
To fix the query regression introduced in SPARK-39865.

Does this PR introduce any user-facing change?
No. We just fall back to the previous error msg if the expression involving Cast is not a simple one.

How was this patch tested?

Added Unit test.
Removed one test case for the Child is not Cast or ExpressionProxy of Cast internal error, as now we do not check if the child has a Cast expression and fall back to the previous error message.

cc @bersprockets as well

Just a couple of questions:

create or replace table es570639t1 as select x FROM values (1), (2), (3) as tab(x);
create or replace table es570639t2 (x Decimal(9, 0));

For the eventual commit message: Should that be create table.... instead of create or replace table...? or is that new syntax?
For my own understanding: it seems that CheckOverflowInTableInsert previously assumed a Cast as child (and after SPARK-41991, assumed either a Cast or one wrapped by an ExpressionProxy ), but rules like PushFoldableIntoBranches make that assumption too rigid, correct?

For the eventual commit message: Should that be create table.... instead of create or replace table...? or is that new syntax?

Create table should suffice to repo this issue. I updated the commit msg. Thanks for spotting this!

For my own understanding: it seems that CheckOverflowInTableInsert previously assumed a Cast as child (and after SPARK-41991, assumed either a Cast or one wrapped by an ExpressionProxy ), but rules like PushFoldableIntoBranches make that assumption too rigid, correct?

Yes, rules like PushFoldableIntoBranches push the Cast down to each branch of CaseWhen, and what checkChild sees is a CaseWhen expr with Cast in each branch (in this case, it sees CASE WHEN (x#4 = 1) THEN cast(-1 as decimal(9,0)) ELSE cast((0 - x#4) as decimal(9,0)) END).

@RunyaoChen shall we add an end-to-end test for this one? I will merge it after that.

@RunyaoChen shall we add an end-to-end test for this one? I will merge it after that.

Sure, added an INSERT INTO query with SELECT Case When that throws the previous CAST_OVERFLOW exception.

@RunyaoChen shall we add an end-to-end test for this one? I will merge it after that.

@gengliangwang added positive case as well

Thanks, merging to master/3.4

@RunyaoChen Could you backport this fix to branch-3.3 to fix SPARK-42473?

@RunyaoChen Could you backport this fix to branch-3.3 to fix SPARK-42473?

Sure, here's the cherry-pick to branch-3.3: https://github.com/apache/spark/pull/40140
cc: @gengliangwang


Docker nvm install stable freezes

Hi, I have a realy big issue with nodejs and nvm - on docker its not willing to install.
just freezes after doing 'nvm install stable'

Operating system and version:
laradock.io - uses ubuntu xenial I think
nvm debug output:

nvm --version: v0.33.11
$SHELL: /bin/bash
$SHLVL: 1
$HOME: /root
$NVM_DIR: '$HOME/.nvm'
$PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/vendor/bin
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)'
uname -a: 'Linux 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux'
OS version: Ubuntu 16.04.2 LTS
curl: /usr/bin/curl, curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget: not found
git: /usr/bin/git, git version 2.7.4
grep: /bin/grep (grep --color=auto), grep (GNU grep) 2.25
awk: not an option: --version
awk: /usr/bin/awk,
sed: /bin/sed, sed (GNU sed) 4.2.2
cut: /usr/bin/cut, cut (GNU coreutils) 8.25
basename: /usr/bin/basename, basename (GNU coreutils) 8.25
rm: /bin/rm, rm (GNU coreutils) 8.25
mkdir: /bin/mkdir, mkdir (GNU coreutils) 8.25
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.7.0-git
nvm current: none
which node:
which iojs:
which npm:
npm config get prefix: bash: npm: command not found
npm root -g: bash: npm: command not found

nvm ls output:

root@e1ff33b0662b:/var/www# nvm ls
            N/A
node -> stable (-> N/A) (default)
iojs -> N/A (default)

How did you install nvm? (e.g. install script in readme, Homebrew):
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

What steps did you perform?

What happened?

What did you expect to happen?

root@e1ff33b0662b:/var/www# nvm install stable
this should install the node stable yet it hangs for me without result.

@PeterDaveHello

What's the exactly the Docker image that you're using with?

actualy its not only docker - its also on the host machine - ubuntu xenial

Looks like this issue can be closed.

Closing, pending more info/repro from @tomaszbrunarski.


Add self-update command

Could you add self-update command to renew the script itself as it is in Composer?
Thank you.

Already done on 3.0-dev, not backported yet

Due to dependencies conflicts (Rocketeer 2 uses a lot of old dependencies that are locked due to Laravel 4 compatibility) this won't be backport-able to the 2.x branch


Need a way to get Trace ID

API(s) error message, in case of 4xx and 5xx, to clients includes a TraceContextId so that clients can get trace error details using the TraceContextId.
Usually, this TraceContextId is passed from client as a request header and appended to it's own trace id by server.
I would be great if ctrace can provision a method to return trace id of current tracer.

Here's my idea for this:

Create a public SpanContext that implements opentracing.SpanContext
Have span.context() return this instead of opentracing.SpanContext (this will break the opentracing.Span interface so maybe create span.correlation() which returns ctrace.SpanContext or ctrace.Corrolation (which contains TraceID and SpanID).
Above these measures, have the chttp.TracedHandler add the TraceID and SpanID to the response headers using tracer.inject()

I'll be formalizing ID Access in the ctrace spec.  For go, we should do the following:

make Span return TracerID() and SpanID()
Change SpanFromContext() to return ctrace.Span rather than opentracing.Span


Refactor learn flow actions

This PR eliminates hard-coded variables in learned flow actions, refactors action methods, and ensures that each method is designed to add an action.

@hongliangl  is this ready for review? I feel it would be helpful to provide a few more information about this refactor PR, eg: what's the purpose, and what has been refactored, etc. Thanks.

@hongliangl is this ready for review? I feel it would be helpful to provide a few more information about this refactor PR, eg: what's the purpose, and what has been refactored, etc. Thanks.

Will add later

In the commit message, use "this change" instead of "this PR".

reminder

/test-all

/test-all


 It takes several days to compute polyA tails for 2 million transcripts. Is there a way to tweak settings to improve speed? (multithreading, parallel commands). We use Singularity containers, and we are not familiar with configuration.

Tailfindr is below the control of the label  big_mem_cpus in the configuration file nextflow.config within the folder. You can add a queue name that is suitable for your cluster and increase the number of cpus. Have a look if you are really using 8 cpus in your node. PS: the program should already be running in parallel on each multi fast5 subset.


Various fixes.

Fix an incorrect indent leading to multiple packages not being output
correctly in the JSON.
Fix aliases/related parsing.

tbr

LGTM


#Problem with clock control

I've decided to use  the clock control of the library but the clock is not running. It is stick  to the time on when  the program started to run.

setRunning(true) should do the trick :)

Thanks It is working now.
I may not be the first person to say this but I am really impressed by the artistic aspect of your work.


Only perform click event when not preceded by a drag

When markers are occupying a large portion of the clickable area of the map, it can be frustrating to try to pan about the map and accidentally trigger unwanted click events.
The default behavior for Google Maps markers, presumably in response to this issue, appears to be as follows:
When a drag event occurs between the mousedown and mouseup of a click, the click event is not called.
Here's with the InfoWindow sample code for example:

js-marker-clusterer, before
However, js-marker-clusterer, by changing the markers to an overlay, loses this behavior:

js-marker-clusterer, after
This pull request restores the behavior of the markers, as in:

LGTM. Have you signed the CLA?

Yes, I have. The email (gmail) is a secondary email on this account, however. Would that be an issue?

Nope, that's OK.

This breaks (i.e. it disables) zoomOnClick functionality on Chrome, possibly due to a Chrome bug which inserts a mousemove after mousedown before click -- https://bugs.chromium.org/p/chromium/issues/detail?id=161464
I'm currently using Chrome version 57.0.2987.133 on Windows 10 version 1607 (64-bit).
IMO you can fix this by changing the new mousemove handler to ...
google.maps.event.addDomListener(this.div_, 'mousemove', function(event) {
    if (event.movementX || event.movementY) {
        isDragging = true;
    }
});

... so that it doesn't set isDragging if the movementX and movementY of the mousemove event are both zero.


Enabling failpoint raftkv_early_error_report, cleanup, pessimistic_prewrite sometimes leads to tikv panic

Bug Report

What version of TiKV are you using?
sh-5.1# ./tikv-server -V
TiKV
Release Version:   7.2.0
Edition:           Community
Git Commit Hash:   12ce5540f9e8f781f14d3b3a58fb9442f03b6b29
Git Commit Branch: heads/refs/tags/v7.2.0
UTC Build Time:    2023-06-19 09:16:29
Rust Version:      rustc 1.67.0-nightly (96ddd32c4 2022-11-14)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse failpoints test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release
sh-5.1#
What operating system and CPU are you using?

Steps to reproduce
Run SkipLockRead which is a test case in UTF.
One of the subcase in SkipLockRead will encounter this problem. The subcase sets following failpoints of TiKV. It's not sure yet which is the one that causes the problem:

raftkv_early_error_report = return(?) where ? is some region ID that's being accessed
cleanup' = return(other)`
pessimistic_rollback = return(PessimisticLockNotFound)

What did you expect?
The test case executes successfully
What did happened?
TiKV panicked:
[2023/06/26 17:18:06.454 +00:00] [FATAL] [lib.rs:497] ["undetermined error: Error(Undetermined(\"async write on_applied callback is dropped\")) cid=2737, tag=pessimistic_rollback, process\n                        result=Some(MultiRes { results: [] })"] [backtrace="   0: tikv_util::set_panic_hook::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/lib.rs:496:18\n   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2032:9\n      std::panicking::rust_panic_with_hook\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:692:13\n   2: std::panicking::begin_panic_handler::{{closure}}\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:579:13\n   3: std::sys_common::backtrace::__rust_end_short_backtrace\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18\n   4: rust_begin_unwind\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:5\n   5: core::panicking::panic_fmt\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:65:14\n   6: tikv::storage::txn::scheduler::TxnScheduler<E,L>::on_write_finished\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:845:25\n   7: tikv::storage::txn::scheduler::TxnScheduler<E,L>::process_write::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:1597:21\n   8: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\n      tikv::storage::txn::scheduler::TxnScheduler<E,L>::process::{{closure}}::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:1152:71\n      <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\n      <resource_metering::InTags<T> as core::future::future::Future>::poll\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/resource_metering/src/lib.rs:266:9\n      tikv::storage::txn::scheduler::TxnScheduler<E,L>::process::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:1166:9\n      <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\n      tikv::storage::txn::scheduler::TxnScheduler<E,L>::execute::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:735:54\n   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\n      <tracker::tls::TrackedFuture<F> as core::future::future::Future>::poll::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tracker/src/tls.rs:64:23\n      std::thread::local::LocalKey<T>::try_with\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:446:16\n      std::thread::local::LocalKey<T>::with\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:422:9\n      <tracker::tls::TrackedFuture<F> as core::future::future::Future>::poll\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tracker/src/tls.rs:62:9\n      tikv_util::yatp_pool::future_pool::PoolInner::spawn::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/yatp_pool/future_pool.rs:167:27\n      <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\n      yatp::task::future::RawTask<F>::poll\n             at rust/git/checkouts/yatp-e704b73c3ee279b6/5523a9a/src/task/future.rs:59:9\n  10: yatp::task::future::TaskCell::poll\n             at rust/git/checkouts/yatp-e704b73c3ee279b6/5523a9a/src/task/future.rs:103:9\n      <yatp::task::future::Runner as yatp::pool::runner::Runner>::handle\n             at rust/git/checkouts/yatp-e704b73c3ee279b6/5523a9a/src/task/future.rs:387:20\n  11: <tikv_util::yatp_pool::YatpPoolRunner<T> as yatp::pool::runner::Runner>::handle\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/yatp_pool/mod.rs:193:24\n  12: yatp::pool::worker::WorkerThread<T,R>::run\n             at rust/git/checkouts/yatp-e704b73c3ee279b6/5523a9a/src/pool/worker.rs:48:13\n      yatp::pool::builder::LazyBuilder<T>::build::{{closure}}\n             at rust/git/checkouts/yatp-e704b73c3ee279b6/5523a9a/src/pool/builder.rs:114:25\n      std::sys_common::backtrace::__rust_begin_short_backtrace\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:121:18\n  13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:551:17\n      <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\n      std::panicking::try::do_call\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\n      std::panicking::try\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\n      std::panic::catch_unwind\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\n      std::thread::Builder::spawn_unchecked_::{{closure}}\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:550:30\n      core::ops::function::FnOnce::call_once{{vtable.shim}}\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:513:5\n  14: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\n      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\n      std::sys::unix::thread::Thread::new::thread_start\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\n  15: start_thread\n  16: __GI___clone\n"] [location=/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/storage/txn/scheduler.rs:845] [thread_name=sched-worker-pool-3]

And the test case failed:
Error:
        Error Trace:    cases.go:1376
                                                sql.go:62
                                                cases.go:1342
                                                util.go:85
                                                case.go:28
                                                runner.go:134
                                                command.go:228
                                                command.go:840
                                                command.go:945
                                                command.go:885
                                                main.go:27
                                                proc.go:250
                                                asm_amd64.s:1571
        Error:          An error is expected but got nil.

which is thrown at:
https://github.com/PingCAP-QE/automated-tests/blob/66d637144b626916cad42cd27e32f322e7660fcd/ticases/transaction/pessimistic/cases.go#L1376

tikv.log.gz

If the cause is the incompatibility between newly added assertions and previous test cases, we should open an issue in the test case repository recording the necessity of refactoring the cases as needed.

The cause is that async_write didn't use on_applied callback (which we wrapped with must_call recently) when the local variable res is an Err. res is made in the following code:
 let mut res = (|| {
            fail_point!("raftkv_async_write");
            if batch.modifies.is_empty() {
                return Err(KvError::from(KvErrorInner::EmptyRequest));
            }
            Ok(())
        })();

        ASYNC_REQUESTS_COUNTER_VEC.write.all.inc();
        let begin_instant = Instant::now_coarse();

        if res.is_ok() {
            // If rid is some, only the specified region reports error.
            // If rid is None, all regions report error.
            res = (|| {
                fail_point!("raftkv_early_error_report", |rid| {
                    let region_id = ctx.get_region_id();
                    rid.and_then(|rid| {
                        let rid: u64 = rid.parse().unwrap();
                        if rid == region_id { None } else { Some(()) }
                    })
                    .ok_or_else(|| RaftServerError::RegionNotFound(region_id).into())
                });
                Ok(())
            })();
        }

It's possible to be Err only when:

An empty write batch is passed to async_write, which should be unreachable in fact; or
Failpoint raftkv_early_error_report is enabled to make a mock error.

To fix the problem, it seems that we can just call the callback when res is an error at:
https://github.com/tikv/tikv/blob/fa7baa9a5ab38a2c0872ec772252bf16158f6fb5/src/server/raftkv/mod.rs#L552
By the way, it's kind of weird that our CI didn't find this problem as there are tests that are making use of the failpoint raftkv_early_error_report. Are they not running on CI?

Since async write won't be called with empty write batch in production, neigher will failpoints be used, this bug doesn't block releasing.

it seems that we can just call the callback when res  is an error

It's better to unify how the request is finished.

Are they not running on CI?

There is  a test case test_raftkv_early_error_report using this failpoint, but it does not panic which is weird.

https://github.com/tikv/tikv/pull/14872 's cherry-pick to 6.5 and 7.1 branch is not merged yet, and the problem would be introduced after merging them. Added affect-6.5 and affect-7.1 label for this issue.


When I import the project and run the sample but the activity show none

When I import the project and run the sample but the activity show none

Post your class please

Same here

Have you set 2016 in getMaxYear() method?

That made the trick! thanks :)


Fixing style and rubyStyle in RubyText

The parameters style and rubyStyle inside RubyText were not used to modify properly the style in one time for all the text and furigana.

Thanks for the fix, expect to deal with it tonight.


Count method returns undefined

I am getting undefined when trying to cache the count of documents according to current query.

This is only occuring when i got 0 documents. If i am getting documents more than 0 then it  is not returning undefined

cacheQuery is not caching the result searched using regex. I think this is due that regex expressions cannot be stringified.Tell me if there is a genuine way to cache them.

I've made a quick check and yes, that seems like a bug. Good catch with those regexp values. I will think about the way of handling them correctly. I haven't verify yet your first question. Could You split them into two issues? Or are they related?

they are both different questions.

There is a bug when caching count() it returns undefined if there is no document found in the database. If documents are in the number if greater than 0 then it will return number but in case of 0 it returns undefined.
Regex expression wasn't working properly with caching strategy.

Please split them into two issues then. I will have a look. Good job


Add changes to keywords and test cases to make them adapted for platforms

This change is

, але трошки кульгають commit messages:

which are demanded it

@annawzz

for viewer instead all users

Достатньо for viewer only.

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

Comments from Reviewable

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

Comments from Reviewable

Reviewed 2 of 2 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Lingering Potions Event (feature request)

Possible to add an event for the lingering potions when thrown?
Similar to the 'on potion splash' event with <context.potion>, <context.entities>, etc..
Thanks!
Uledrith

There is an event for that, though see #1726 regarding trouble with it


Delete this, nevermind

Silent aim shoots at the floor with AA on

This problem has been happening with me. How did you fix it?

smoothing may be the problem.

smoothing may be the problem.

What do you mean by this? If you're talking about the smooth setting in the aimbot tab, I have that set to 1 for everything.

smoothing requires a delay but if you are smoothing for 1 tick it only can go half way (you are shooting on the first tick)
2 ticks: 1/3rd way
3 ticks: 1/4th way

smoothing requires a delay but if you are smoothing for 1 tick it only can go half way (you are shooting on the first tick)
2 ticks: 1/3rd way
3 ticks: 1/4th way

I'm not sure how I would apply this knowledge to actually fixing the problem. It also doesn't explain how I have this problem but other people don't, since I would assume it would work the same for everyone.

either disable smoothing or unbind your +attack key (or just dont use it) and use the aimbot's auto shot on key instead.

either disable smoothing or unbind your +attack key (or just dont use it) and use the aimbot's auto shot on key instead.

I already use auto shot on key, which is one of the side buttons of my mouse.


Add padding property to ChatBubble widget

It would be a nice addition to be able to set our own custom padding. I see that the ChatBubble widget has a setPadding() function that determines the padding size based on the clipper and bubble type, but think that it would be useful to be able to define the padding myself as well.
Thank you for this excellent plugin!

Checkout custom chat bubble widget class. https://arkapp.medium.com/chat-bubble-widget-for-flutter-95d3bb82ddd8

In flutter_chat_bubble 2.0.0, padding property is added.


add eksctl-anywhere

Description
add eksctl-anywhere CLI
solve #792
How Has This Been Tested?
make test                                                                                 4s
CGO_ENABLED=0 go test github.com/alexellis/arkade github.com/alexellis/arkade/cmd github.com/alexellis/arkade/cmd/apps github.com/alexellis/arkade/cmd/chart github.com/alexellis/arkade/cmd/system github.com/alexellis/arkade/pkg github.com/alexellis/arkade/pkg/apps github.com/alexellis/arkade/pkg/archive github.com/alexellis/arkade/pkg/config github.com/alexellis/arkade/pkg/env github.com/alexellis/arkade/pkg/get github.com/alexellis/arkade/pkg/helm github.com/alexellis/arkade/pkg/k8s github.com/alexellis/arkade/pkg/types -cover
?   	github.com/alexellis/arkade	[no test files]
ok  	github.com/alexellis/arkade/cmd	(cached)	coverage: 17.2% of statements
ok  	github.com/alexellis/arkade/cmd/apps	(cached)	coverage: 1.9% of statements
?   	github.com/alexellis/arkade/cmd/chart	[no test files]
?   	github.com/alexellis/arkade/cmd/system	[no test files]
?   	github.com/alexellis/arkade/pkg	[no test files]
?   	github.com/alexellis/arkade/pkg/apps	[no test files]
?   	github.com/alexellis/arkade/pkg/archive	[no test files]
ok  	github.com/alexellis/arkade/pkg/config	(cached)	coverage: 22.9% of statements
?   	github.com/alexellis/arkade/pkg/env	[no test files]
ok  	github.com/alexellis/arkade/pkg/get	0.455s	coverage: 52.7% of statements
ok  	github.com/alexellis/arkade/pkg/helm	(cached)	coverage: 5.3% of statements
?   	github.com/alexellis/arkade/pkg/k8s	[no test files]
?   	github.com/alexellis/arkade/pkg/types	[no test files]

make e2e
...
=== RUN   Test_CheckTools/Download_of_eksctl-anywhere
    --- PASS: Test_CheckTools/Download_of_eksctl-anywhere (5.61s)
...
PASS
coverage: 54.9% of statements
ok  	github.com/alexellis/arkade/pkg/get	31.253s	coverage: 54.9% of statements

Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[X] No

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Documentation

[X] I have updated the list of tools in README.md if (required) with ./arkade get -o markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s

[] I have tested this on arm, or have added code to prevent deployment

Thanks for putting up a PR

How Has This Been Tested?

Seems like you've not provided sufficient testing here so we can't merge until you do.
See a recent PR by @Jasstkn for what we're looking for.

There is a contributing guide that I highly recommend to read. I think you will find all the answers there.
As a good example of expected changes for the PR like yours, check this PR.

Sorry, we need you to follow this step and show console output for both downloads:
Please always test your tools manually (hack/test-tool.sh) and with the end-to-end test tool (make e2e).

https://github.com/alexellis/arkade/blob/master/CONTRIBUTING.md
@Jasstkn could you make the instructions more explicit in the CONTRIBUTING.md file please? Perhaps that's the disconnect?

Make e2e is ok on my side but the hack test-tools not
Because you are force testing all the architecture even the one who are not released , that’s why is ask the question above
hack/test-tool.sh eksctl-anywhere

go build
./arkade get eksctl-anywhere --arch arm64 --os darwin --quiet
Error: incorrect status for downloading tool: 404

@tuxtof there is no forcing going on, sorry if you understood it that way.
Print the output of all the tools, the ones which are in the template you added.

@alexellis i clean the repo keeping only the working binary
also add the output of make test and make e2e in the description
hack/test-tool.sh is always not working as it try to DL arch who don't exist (see my comment above)
hope it will be ok for you
++

@tuxtof hey. looks like your commits aren't signed. please, follow instructions from the bot's message.

@alexellis hi. this PR looks good, you might want to take a look and accept it if anything is fine. 😎

All good, thanks to you both :slightly_smiling_face:


gandi-cli: 0.19 -> 1.3

Motivation for this change
gandi-cli 0.19 is hopelessly out of date.
Things done

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

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

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

@worldofpeace all suggestions applied, thanks for reviewing :+1:

Success on x86_64-linux (full log)
Attempted: gandi-cli
Partial log (click to expand)
Successfully installed gandi.cli-1.3
/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3
strip is /nix/store/6s8dkfj3irwv52cap2hd9k7gaddklfs1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3/lib  /nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3/bin
patching script interpreter paths in /nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3
checking for references to /build/ in /nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3...
wrapping `/nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3/bin/gandi'...
/nix/store/ssaf20232if6lym2qp2zr52qzv0ka2pk-gandi-cli-1.3

Sure, why not.
Added myself as maintainer.

@kampka Thanks for your contribution :sparkle:


Update number of sliders (and re-render panel) based on deps

Hello,
First of all, thanks for developing this really nice package.
I'm using Leva to set a sidebar whose components should be updated depending on the value of some React states or refs.
For instance, the GUI should show n sliders, where n is the number of joints of a selected robot (robotRef.current.n). The following images show an example:
The UR10 robot has 6 joints, so 6 sliders are shown:

The Laikago robot has 12 joints, so 12 sliders are shown:

I haven't been able to update the panel programatically depending on the value of Robot Selection or any other state or ref.
I've tried to do this by running the following code within a useEffect, which sets the sliders as a dictionary.
  let joint_sliders = {}

  for (var [key, value] of Object.entries(robotRef.current.joints)) {
    joint_sliders['q'+key] = {
      value: robotRef.current.q[key],
      min: -360,
      max: 360,
      step: 0.1,
      label: value,
    }
  }

This dictionary is passed to leva within a subfolder "Joint positions":
  const [robotValues, setRobotValues] = useControls(
    "Robot Settings",
    () => ({
      robotSelection: {
          label: "Robot selection",
          value: robotRef.current.name,
          options: ["Franka Panda", "Kinova Gen3", "Unitree Laikago", "UR10"],
          onChange: (robotSelection) => { updateRobot("name", robotSelection) },
      },
      "Joint positions": folder(
        joint_sliders,
        { collapsed: true }
      )
    }),
    [robotRef.current.n],
    { store: robotStore }
  );

I tried using [robotRef.current.n] as dep but that didn't work. The labels are being updated (not immediately but after changing the robotSelection twice), but the number of sliders is always the same (not depending on n).
Could you please guide me towards a possible way to achieve this with Leva?
Thanks in advance.

Have you tried splitting the calls and making the first call a dependent of the first?
const [activeRobot, setRobot] = useControls('Robot Selection', { ...ex}
const jointsSettings = useControls(makeJointsControls(activeRobot), [activeRobot])

---
// create a cache so it's faster if you switch back and forth
let jointsCache = {}
function makeJointControls(robot) {
    if(jointsCache[robot.uuid] return jointsCache[robot.uuid]
    let joint_sliders = {}

  for (var [key, value] of Object.entries(robot.joints)) {
    joint_sliders['q'+key] = {
      value: robotRef.current.q[key],
      min: -360,
      max: 360,
      step: 0.1,
      label: value,
    }
  }
jointsCache[robot.uuid] = joint_sliders
return joint_sliders;
}

I just threw that together but it will reset the schema when the robot changes and rebuild the input array
Reference: https://leva.pmnd.rs/?path=/story/hook-dependency--adding-inputs

@alejandroastudillo the reason why deps aren't working properly is because robotRef.current.n isn't reactive. Deps work the same as they would in useEffect, they don't actually watch a value.

@dbismut @DennisSmolek thanks a lot for your help. I ended up adapting your suggestions and the adding inputs example from the storybook and was able to re-render using deps. I had to create an "intermediate" variable n that would be updated after activeRobot was updated. If I used activeRobot as dep, it wouldn't work as intended (changing the sliders only after changing activeRobot twice.
  const [n, setN] = useState(0)

  const [{ activeRobot }, setActiveRobot] = useControls(() => ({
    activeRobot: {
      label: "Robot selection",
      value: robotRef.current.name,
      options:  ["Franka Panda", "Kinova Gen3", "Unitree Laikago", "UR10"],
    },

  }), { store: robotStore })

  useEffect(() => {
    updateRobot("name", activeRobot);
    setN(robot_dof[activeRobot])
  }, [activeRobot]);

  const inputs = Array(n)
  .fill(0)
  .reduce((acc, _, i) => Object.assign(acc, { [`q${i}`]: {
    value: robotRef.current.q[i],
    min: -360,
    max: 360,
    step: 0.1,
    onChange: (q0) => { updateRobot("q", q0, i) },
  } }), {})

  const jointAngles = useControls(
    inputs,
    [n],
    { store: jointsStore }
  )

The issue now is that using deps seems not to be compatible with the use of stores. Whenever I add a dep, the assigned store is completely ignored by useControls.
For instance, assuming inputs is already populated,

This code set the sliders inside the jointsStore but is not updated when n changes:

  const jointAngles = useControls(
    inputs,
    // [n],
    { store: jointsStore }
  )

This code updates the sliders outside any store whenever n is modified:

  const jointAngles = useControls(
    inputs,
    [n],
   // { store: jointsStore }
  )

and does exactly the same as
  const jointAngles = useControls(
    inputs,
    [n],
    { store: jointsStore }
  )

Is this a bug of the store usage?

@alejandroastudillo deps should always be the last argument.

Thank you @dbismut. This is now working properly.


Filesystem access (3dsx)

Allow filesystem access on CTRNAND and TWLNAND for 3dsx build. NAND dumping as well if possible. (enhancement)

Impossible, at least for the moment. Would require ARM9 patching, as I can't control exheader ARM9 I/O access flags.

That's what I thought. Damn.
Thanks for the explanation.


Installation with pip doesn't seem to quite work

Heyo, saw this on twitter and wanted to give the package a try, but having some issues with the install as instructed on the README
 git clone https://github.com/betsig/how_are_we_stranded_here.git
pip install how_are_we_stranded_here
Collecting how_are_we_stranded_here   ERROR: Could not find a version that satisfies the requirement how_are_we_stranded_here (from versions: none) ERROR: No matching distribution found for how_are_we_stranded_here

In a conda with kallisto and RSeQC installed fine with a direct pip install git call
"pip3 install git+https://github.com/betsig/how_are_we_stranded_here.git"


Decoration suggestions - balloons!

How about my suggestions for balloons!

Thanks Kelly! I love balloons. Especially Red ones! 🎈


Chap3: How do i select a threshold from the precision and recall vs threshold curve

Hi Ageron, I have another question although the last is still pending.
when I look at the precision versus recall curve. I can see that if my focus is on precision then a precision of 90% will mean a slap to recall at 60%. How do I use this information on the precision and recall versus threshold curve to select a threshold for fine-tuning?

Hi @FritzPeleke ,
Thanks for your question. The optimal precision/recall depends on your task. For example, if you're building an intruder detection system, you will want to catch as many intrusions as possible (high recall). In this case, you can lower the threshold a lot, which will increase recall (less false negatives, where an intruder gets in undetected) and decrease precision (more false positives, where the alarm goes off even though there's no intrusion). However, if you decrease the threshold too much, you will start to get many false positives. You will have to decide how many false positives per day you can tolerate. If a false positive just means that a security guard will need to look at a screen for a few seconds, then perhaps you can tolerate several false positives a day. But if it means waking up someone and getting them to travel 20km, then not so much.
This is just an example, you can easily imagine other tasks where precision is more important than recall (e.g., selecting videos that are safe for children to watch).
Hope this helps.


Add support for filtering analysis results by created_at

What is the expected enhancement?
Version 0.44.0 of the experiments service API supports filtering analysis results in GET /analysis_results by the created_at field:

The behavior here is similar to how start_time filtering works for GET /experiments. We should add support to Qiskit for listing analysis results and filtering by created_at.
An integration test should be added to test/ibm/experiment/test_experiment_server_integration.py.

These are the paths that need changes I think:
https://github.com/Qiskit-Partners/qiskit-ibm/search?q="def+analysis_results"

This is how the range operators work for filtering experiments by start_time, we should follow this pattern for filtering analysis results by created_at:
https://github.com/Qiskit-Partners/qiskit-ibm/blob/bac4cb09feee2c5a3c8f1007457d5ad2d71f9626/qiskit_ibm/experiment/ibm_experiment_service.py#L379-L384

I plan on working on this today.


I would like my bot to respond text in attachments.

I would like to my bot to respond text in attachments. However, "respond_to" and "listen_to" seem to respond to plain text only.
Anyone have a good idea?
Specifically, I want to respond bot to notification from stackdriver to slack as follows.

I think you would listen to / reply to everything, check for and open an attachment (if an appropriate type), then parse the contents.
I have found the the reply/listen_to will match in multiple cases, so a catch all rule would not prevent other more specific rules from running.

thank you for your advice.
I got "message.body" as dct type as below.
@listen_to(r'[\s\S]*')
def listen_func(message):
dct = message.body


deployment always failed in VSCode

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: 500
Error Message: An error has occurred.
Version: 0.17.0
OS: win32
OS Release: 10.0.19042
Product: Visual Studio Code
Product Version: 1.46.1
Language: en

Call Stack
extension.bundle.js:309:399343extension.bundle.js:309:399343
retryCallback extension.bundle.js:225:116429
retryCallback extension.bundle.js:157:31051
extension.bundle.js:157:32664extension.bundle.js:157:32664
handleRedirect extension.bundle.js:171:7747
extension.bundle.js:157:29836extension.bundle.js:157:29836
Request._callback extension.bundle.js:1:584810
Request.r._callback.r.callback.r.callback extension.bundle.js:201:4468
Request.emit events.js:203:13
Request.<anonymous> extension.bundle.js:201:17577
Request.emit events.js:208:15
IncomingMessage.<anonymous> extension.bundle.js:201:16367
Object.onceWrapper events.js:291:20
IncomingMessage.emit events.js:208:15
endReadableNT _stream_readable.js:1168:12
processTicksAndRejections task_queues.js:77:11

@chanhong please add detailed repro steps

Doing this on VSCode 1.15.1

Right-click on the name of the app under "App Service" of Azure extension in VSCode
Click on "Deploy to Web App..." and the "Output" shows the following:
Creating zip package...
Starting deployment...
Error: An error has occurred.

What kind of project are you deploying? And how did you create the web app?

This was from the original WebMatrix web site project.  This is the content
of my coproject.sln file.  Thanks
Microsoft Visual Studio Solution File, Format Version 12.00
Visual Studio Version 16
VisualStudioVersion = 16.0.29102.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "coproject",
"coproject", "{FEB37E52-0E8B-45A1-A20E-546C54381A29}"
ProjectSection(WebsiteProperties) = preProject
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.7.2"
Debug.AspNetCompiler.VirtualPath = "/localhost_62448"
Debug.AspNetCompiler.PhysicalPath = "coproject"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_62448"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/localhost_62448"
Release.AspNetCompiler.PhysicalPath = "coproject"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_62448"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
VWDPort = "62448"
SlnRelativePath = "coproject"
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FEB37E52-0E8B-45A1-A20E-546C54381A29}.Debug|Any CPU.ActiveCfg = Debug|Any
CPU
{FEB37E52-0E8B-45A1-A20E-546C54381A29}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FEB37E52-0E8B-45A1-A20E-546C54381A29}.Release|Any CPU.Build.0 =
Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0B2C4E97-3964-4BD2-8E6C-DD76DA524A90}
EndGlobalSection
EndGlobal
On Tue, Jul 7, 2020 at 3:42 PM Eric Jizba<EMAIL_ADDRESS>wrote:

What kind of project are you deploying? And how did you create the web app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-azureappservice/issues/1617#issuecomment-655174170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ2DZ46DNRT6ZPBQZCJJYLR2OQGXANCNFSM4OHISHIQ
.

VS Code ignores sln files, as far as I know. So it's a C# project? How'd you create it?

Since it is a "site" project so the folder is the project and no project
file is needed.
Thanks
On Mon, Jul 13, 2020 at 10:22 AM Eric Jizba<EMAIL_ADDRESS>wrote:

VS Code ignores sln files, as far as I know. So it's a C# project? How'd
you create it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-azureappservice/issues/1617#issuecomment-657687575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ2DZ62APFDAJJDFHYZ3B3R3M7GXANCNFSM4OHISHIQ
.

Closing due to lack of information. Please see our issue reporting guidelines if you still need help.


Add a paper for prompt tuning

Hi Paranioar!
Could you please add a recent work about prompt tuning in text-video retrieval? Our code has been released, Thanks a lot
(AAAI2024_DGL) DGL: Dynamic Global-Local Prompt Tuning for Text-Video Retrieval
Xiangpeng Yang and Linchao Zhu and Xiaohan Wang and Yi Yang
[paper] [code]

Hi Paranioar! Could you please add a recent work about prompt tuning in text-video retrieval? Our code has been released, Thanks a lot
(AAAI2024_DGL) DGL: Dynamic Global-Local Prompt Tuning for Text-Video Retrieval Xiangpeng Yang and Linchao Zhu and Xiaohan Wang and Yi Yang
[paper] [code]

Okok.


Image gallery toggle

There is a need to better showcase some of the great images we're collecting through the Hub, and this could also be useful for AASHE staff internal use.
Decision (July 27): Create a gallery toggle in all list, search and filtered results views.

Toggle should appear near top of page: List View | Gallery View

List view:

If a resource has multiple images, display as a collage view.
Make image thumbnails large enough to see what is happening in image(s)

Gallery view:

Include download image and bulk download for multiple images (staff only).

Discussion/decision needed:

Should we also provide tabs or embedded blocks/image carousels in the sustainability topic pages?
Should the gallery view include resources that don't have images, just placeholders? Or should it be a filtered view that only includes resources with at least 1 image?
Will the gallery view include filters at left (ideal if it would)?
What happens if a view contains no images? Is there a default "no results" statement?
What gets displayed in the gallery view?

Resource Title
Image thumbnail
Caption
Photographer credit?

Moved to inbox in light of Andrea's request.

Andrea: Best option for internal staff purposes would be Images tab on main home page that would access all images across all content types.

Ben: Gallery view would automatically disable the filter since there are multiple images in some resource entries.

Decision:

No placeholder - can either make it not possible to view placeholder data, or by default, you get the filtered for must contain images list, but can click other filters to view placeholder resources.

I have temporarily assigned this to @baronvonvaderham. if you get to it this week, that's awesome, but if not, I should be able to finish it up when I get back.

Hey @monika-aashe and @juliandsmith - I have the gallery toggle feature up on my dev site:
https://aashe-hub-dev-ben.herokuapp.com/browse/types/outreachmaterial/?content_type=outreachmaterial&gallery_view=gallery
There are a few issues:

the photographs content type seems to be cached so the thumbnails aren't showing up
I've change the "# of results" display to "# of resources" - because resources can have more than one image associated with them, this is a bit of a half-measure. It might be better to change that to display the "# of images," but that's actually a lot of work and a simple solution would slow down the load time as it's currently designed, so it would require work to do it efficiently.

If this is ready to go, we can merge it in and get it going.
Also, please feel free to add any resources you'd like to this site.

Looks nice! I do have a couple of questions/comments, but since you're on VACATION, I think it's okay for us to wait to discuss on Wednesday's Hub call.

While I like the toggle with diagrams, it might be clearer to include text such as "list view" and "gallery view" (or both). Or include some hover-over help text. I'd be interested to hear what others think.

Can we ensure that the toggle only appears for views where one or more images are submitted? For example, the Academic Programs, Research Institutes, Course Materials, Tools, Videos Content Types don't allow for image uploads, so in the list views on these pages, the Toggle should remain hidden.
I like saying "x Resources" on list view and "x Images" on Gallery view, but if that's too time consuming, then maybe keeping it at "X Results" is better, since it's more general.
When I apply filters on the dev site in gallery view, the page reverts back to list view and I have to switch it back to gallery. Can this be set so it stays on the view you were on when you applied the filters?

Not sure about including the "Download" option for non AASHE staff in the gallery view, but we can discuss more next week.

NIce work, go back to vacation!

Ok, I've

[x] added a mouse-over for the list and gallery buttons
[x] limited the the display of the toggle to the correct content types
[x] fixed the issue where the filters reverted

The download link is only available to staff, which I think we discussed and makes sense to me.
Finally, when it comes to the # of Resources part, it would still a lot of work to change it to read # of images and we should probably hold off on for now. I think I like having it say "Resources" though, as that # will still be accurate. For example, if there are 2 resources with 3 images each, then 6 thumbnails will show up and top will say "2 Resources," which is still accurate. If it were to say "Results" then I think that might be more misleading than the alternative.

@monika-aashe @juliandsmith
Ok, my dev server has a working version of this:
https://aashe-hub-dev-ben.herokuapp.com/browse/?search=&gallery_view=gallery
Please provide any feedback here, so that I can make any changes and publish this feature.

Looks good to me!

Looks good to me too!

Since the thumbnail process is making the staging site extremely slow and sometimes time out, we've had to develop a workaround where the thumbnails are create asynchronously when the images are first uploaded. This is mostly developed in the celery branch, but there are a few outstanding pieces:

[ ] Decide if we even use celery… maybe synchronous is fast enough?
[ ] add tests
[ ] update templates to use generated thumbnails that are now stored on the model
[ ] add placeholder images
[ ] run thumbnailing on all existing images

Will use celery for now.


Rendering Issues

Sometimes it disappears like when i click a button or something

Do you know what button you pressed? Maybe you pressed the keybind that makes it disappear.

The visible keybind toggles on/off the hud and it is O, maybe you pressed it. You can unbind it in the controls settings in the Minecraft options menu

No, its not because of the keybind, even if you unbind the keybind that bug happens.

Do you know what button you pressed?

I pressed Escape and opened Mod Menu, after that the coordinates display doesn’t show up anymore. I think that only happens when you go into a GUI, where you cant see the game in the Background.

Yea for me tho if i unbind/bind it happens like if i press some key it
disappears
On Fri, Aug 12, 2022, 19:19 TheTrashCrafter @.***>
wrote:

No, its not because of the keybind, even if you unbind the keybind that
bug happens.
—
Reply to this email directly, view it on GitHub
https://github.com/Boxadactle/coordinates-display/issues/2#issuecomment-1213003625,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARK4MQ6IGE3IR6ID6OBMM6DVYYXN5ANCNFSM56IATOGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@TheTrashCrafter, the HUD disappears when you enter the configuration GUI. This is to prevent it from rendering twice, since it is already rendered in the configuration GUI. When you exit the GUI, does it stay invisible?

@ImOnTopL which version of this mod are you using? In the 1.19.2 version I can't find anything that would make the HUD disappear.

If i go into Mod Menu and then back to the game it no longer displays, if i go then in the configuration GUI and again back to the game it shows again.

Maybe it stops rendering when you go into Mod Menu, but only renders again if you exit the configuration GUI.

I'm making a forge version and I need to update the fabric version. I'll fix this bug in those versions of the mod

Is there gonna be a 1.19 port of the fix?

Sorry, was having problems with forge and my hard drive, should be up by tomorrow

Okay, thank you.

Srry school happened its the 1.19 version
On Sun, Aug 14, 2022, 02:25 Boxadactle @.***> wrote:

@ImOnTopL https://github.com/ImOnTopL which version of this mod are you
using? In the 1.19.2 version I can't find anything that would make the HUD
disappear.
—
Reply to this email directly, view it on GitHub
https://github.com/Boxadactle/coordinates-display/issues/2#issuecomment-1214202330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARK4MQ474G5IKWXCEGT7BBDVY7SCDANCNFSM56IATOGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Failing builds because of recorder/sqlalchemy

Home Assistant release (hass --version):
dev and master branches
Python release (python3 --version):
all
Component/platform:
recorder
Description of problem:
Today I've run several builds on TravisCI and I've seen several test failures related to the recorder. Where none of the changes was in any way related to the recorder. Since it's a sporadic issue I guess this is some sort of race condition/concurrency issue...
Some examples I could still dig up:

https://travis-ci.org/ChristianKuehnel/home-assistant/jobs/319062419
https://travis-ci.org/home-assistant/home-assistant/jobs/318193245
https://github.com/home-assistant/home-assistant/pull/9534

Here's an example log file in case the build logs disappear:
https://gist.github.com/ChristianKuehnel/acdd424dde001654b16b8a890b0a7136
Expected:
Tests should be deterministic, if there's something broken, the test should always fail.
Problem-relevant configuration.yaml entries and steps to reproduce:
The problem is non-deterministic. So I don't really know what triggers it.

Duplicate of https://github.com/home-assistant/home-assistant/issues/10966.


Feat: Close editors to the left

This PR fixes #116165
Add Close to the Left
https://user-images.githubusercontent.com/20318608/107324468-16f1d500-6ae3-11eb-967a-c964fc6c7b3f.mp4

The command already exists, it's just not implemented in the same way as  workbench.action.closeEditorsToTheRight

You may need to clean up all the remains, for example
https://github.com/microsoft/vscode/blob/42fcb8d7c55b0c283ebabbbc2c13968e0f15b6db/src/vs/workbench/browser/parts/editor/editorActions.ts#L506-L534
https://github.com/microsoft/vscode/blob/64a14963f7b9a273ebadd51d7efca6cd4604cfd1/src/vs/workbench/browser/parts/editor/editor.contribution.ts#L332

I don't like both close to the right and close to the left in the editor tab context menu. Maybe close to the left can be an alternative action (which means that it only appear when opening context menu with Shift key hold down), like Delete vs Delete Permanently in explorer context menu. Or even better, have a setting for default direction, the other one becomes the alternate automatically.

I predict understandable resistance from @bpasero to adding another item to this menu.
Perhaps the many Close options could be gathered into a submenu (This, Others, All Right, All Left, Saved, All). Likewise the four Split options. To cater for those who won't like the change we could add window.editor.tabContextMenuStyle with values normal and compact.


Create a port to C

Port this logic into C so that it can be as close to the metal as possible.

In progress but stuck awaiting books.

Better to get one's head around and fully-document what is happening in here - as a contrast between precise and imprecise computing - than worry about what compiler can eat it.

Best to drop this issue and go forth.


Add additional config option - provision_docker_command

Similar to provision_command but you can specify the Dockerfile command prefix for each.
Opted to go this way to avoid breaking provision_command current functionality.
Includes example use case in README.

Actually if you can, hold off reviewing this for a bit. Because the Dockerfile is sent to docker via stdin, there is no build context, and as such you can't use commands like COPY or ADD respectively. Going to update this PR shortly.

@portertech to clarify my use case here, I am pre-installing Chef and Busser so that Docker can build cached images of those steps, rather than them being done after the Docker containers are started within test-kitchen. This allows me to speed up repetitive test runs quite a bit.
About 50% of the savings were from the chef install.sh part, the other 50% from Busser being done via a script.sh
.kitchen.yml platform config:
- name: ubuntu-14.04
  driver_config:
    image: ubuntu:14.04.2
    platform: ubuntu
    provision_docker_command:
    - RUN curl -s -L https://www.chef.io/chef/install.sh | ${sudo} bash -s -- -v 12.2.1
    - COPY kitchen-setup.sh /tmp/kitchen-setup.sh
    - RUN /tmp/kitchen-setup.sh

script.sh contents (so far):
#!/bin/bash

# This script is to try and short circuit kitchen-docker "setup" step, to pre-install
# inside Docker container images.

# The below was generated by executing: kitchen setup -l debug os-suite

BUSSER_ROOT="/tmp/busser"
GEM_HOME="/tmp/busser/gems"
GEM_PATH="/tmp/busser/gems"
GEM_CACHE="/tmp/busser/gems/cache"
export BUSSER_ROOT GEM_HOME GEM_PATH GEM_CACHE

gem_bindir=$(/opt/chef/embedded/bin/ruby -rrubygems -e "puts Gem.bindir")

if ! /opt/chef/embedded/bin/gem list busser -i >/dev/null; then
  /opt/chef/embedded/bin/gem install busser --no-rdoc --no-ri
fi
${gem_bindir}/busser setup
/tmp/busser/bin/busser plugin install busser-serverspec

Example of my benchmarks (single OS/suite, nothing parallel):
Before:
       Finished destroying <default-ubuntu-1404> (0m0.66s).
       Finished testing <default-ubuntu-1404> (2m48.17s).
-----> Kitchen is finished. (2m48.27s)

After (once Docker has a cache built up):
       Finished destroying <default-ubuntu-1404> (0m0.26s).
       Finished testing <default-ubuntu-1404> (0m52.86s).
-----> Kitchen is finished. (0m52.98s)

Safe to merge now if your happy... :) Thx.

oops concurrency was busted, fixed now.

You don't actually need anything new for this. Just add them as provision commands: https://github.com/poise/poise-boiler/blob/master/lib/poise_boiler/kitchen.rb#L67-L74 . This also pre-caches the gems needed for busser and busser-serverspec, if you use BATS et al, swap the gems out.
Works great for sub-30s kitchen test cycles.

Interesting, thanks. Might give that a try :)
Obviously having the option to do non-RUN Dockerfile commands could be useful to people.

If you get that fancy, there is already an option to provide your own Erb template for the whole dockerfile, which allows literally anything Docker can handle.

Except you need a real Dockerfile to get build context for things like COPY and ADD... :)

Not sure what you mean, when you set the dockerfile config option in your YAML, it is literally used as the template for the dockerfile that gets used.

https://docs.docker.com/reference/builder/
The path to the source repository defines where to find the context of the build.

ADD

...

Multiple <src> resource may be specified but if they are files or directories then they must be relative to the source directory that is being built (the context of the build).

Because it is ephemeral by nature, I'm not sure where you could put the dockerfile that would make sense. The only place you could have a real file would be somewhere in a temp dir, but then relative paths would be meaningless. The working directory for the command should always be the folder containing .kitchen.yml which is about the best you can hope for.

This PR already puts them in the current dir, with .kitchen.yml
See https://github.com/CpuID/kitchen-docker/commit/9de2f57e562066b5179340f38b53d6f48a97c77a#diff-774b848acbb1b98e97bb4293c11174e1R224

I defer to @portertech on that as a feature, but :-1: on merging as written. Shelling out to rm is both slow and needlessly platform-specific. Also a cleaner way to generate a random suffix would be SecureRandom.hex(20) or similar.

@coderanger thats fair enough, I agree about the shelling out to rm actually, wasn't 100% happy about it. Whats your thoughts on using fileutils instead? Any other preferences?
Happy to go with SecureRandom.hex(20)

You shouldn't need any kind of recursive delete since you are writing in to the current folder, so File.unlink should be enough. For bonus points this means that strange characters in the filename won't make it flip out and recursively attack your disk :-)

Ah I completely overlooked the unlink function in File, thx :)

btw @coderanger thanks for the tips on how you did stuff within poise_boiler, I ended up with:
      provision_command:
        - curl -s -L https://www.chef.io/chef/install.sh | ${sudo} bash -s -- -v 12.2.1
        - export BUSSER_ROOT=/tmp/busser GEM_HOME=/tmp/busser/gems GEM_PATH=/tmp/busser/gems GEM_CACHE=/tmp/busser/gems/cache && export GEM_BINDIR=$(/opt/chef/embedded/bin/ruby -rrubygems -e "puts Gem.bindir") && /opt/chef/embedded/bin/gem install --no-ri --no-rdoc thor busser busser-serverspec serverspec bundler && "${GEM_BINDIR}/busser" setup && /tmp/busser/bin/busser plugin install busser-serverspec && chown -R kitchen /tmp/busser

Separate PR https://github.com/portertech/kitchen-docker/pull/136 created to supercede this, for just Docker Build Context work, inclusive of recommendations here.

Separate PR https://github.com/portertech/kitchen-docker/pull/137 supercedes the provision_docker_command logic. Closing this now.


update urllib to latest

bumping urllib due to https://github.com/advisories/GHSA-g4mx-q9vg-27p4

Hi! Thanks for your contribution, but we would like to avoid upgrading to the next major version (v2) at the moment.
As I can see, the CVE got fixed in 1.26.18 too, so maybe all we need to do is replacing the minimum version with that.

@pyrooka sure will do that
is there any reason for not doing that ?

Well, we plan to do it in the near future, but we have other projects that also need to be updated and we would like to do it in one batch. So the main reason is our internal tracking and to keep these projects in sync.

ok thanks.
I suppose you will take it from here :) ? (wrt to travis and stuff)
Should I do anything else ?

Closing this PR and opened this PR due to Travis issues.


mac/make-installer.sh master fails

cd installers/mac; ./make-installer.sh master fails:
Installed elm-repl-0.4.1
Updating documentation index /Users/thsoft/Library/Haskell/doc/index.html
cp: Elm-Platform/master/bin/elm-doc: No such file or directory

Versions:

OS X 10.10.3
ghc 7.10.1
elm-platform 5134bbbf70345698b1c6ea2df9d48d4d4aab65bf

Ah, yeah, elm-doc is in limbo at the moment. That seems like the root cause of this.

I deleted elm-doc from the script, and successfully installed Elm from the resulting .pkg file, but now ``elm-package publish|bump|diff``` fails with:
elm-package-unwrapped: elm-doc: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)

This should be sorted out now, thanks for the report!


Add a web request to check if the teams are currently swapped

Oops, I based my fork on an older version I think?


Segmentation Fault while using Google Drive .NET API

Hello,
I'm trying to make a Google Drive App.
I've made all the steps from the home page, have the latest version for the VS Plugin and Tizen SDK (as asked here: https://github.com/Samsung/Tizen-CSharp-Samples/issues/31)
I've used Google's .NET Quickstart guide (https://developers.google.com/drive/api/v3/quickstart/dotnet) in a console application, in which it works perfectly, but in the Tizen 5.0 Class Library (added to the Blank App Xamarin Form) I stumble only on "Segmentation Fault".
The first one is when it's trying to read the credentials.json file (which was added to the solution and set to be copied to the location of the executable).
I've fixed this by using StorageManager.Storages and looking for the Internal StorageType, then created the file, if it didn't exist, and adding the json to it (using System.IO.File). I've also replaced "new FileStream("credentials.json", ...)" with "System.IO.File.Open(credentialsPath, ...)".
The only hint I had for this was the call stack which indicated that there was a problem when accessing the memory (see first image).
The second one is when it tries to call AuthorizationAsync. Unfortunately this it the first place in which I couldn't figure out what I should do because the call stack wasn't of help (see second image).
The third one is when I've tried a new approach. This one goes further, but fails when it tries to get the files from the service. The call stack shows that there is a memory access problem, but I can't figure out what might cause this (see third image).
Screenshots: https://imgur.com/a/J6mkfYe
I have the following privileges in the manifest: internet, network.get, mediastorage, systemsettings, externalstorage, filesystem.read, filesystem.write. The last five were added thinking that they are the fix for the first problem and I've left them just in case.
Is there a way to get more information on the actual error or is there a correct way of doing a connection with Google Drive ?
Thank you,
Flavius

Please check relative path.
default cwd(current working directory) is not root of app.
maybe it will be help
https://samsung.github.io/TizenFX/API4/api/Tizen.Applications.DirectoryInfo.html#Tizen_Applications_DirectoryInfo_Resource

Hello Mr. Lee,
Thank you for your response.
By using "Application.Current.DirectoryInfo.Cache;" instead of "StorageManager.Storages" fixed the first problem that I've mention.
As for the second problem, making the "GetAllFiles" method an async Task and using a try catch when calling it, I was able to get a little bit more information on why it fails. The exception message from "GoogleWebAuthorizationBroker.AuthorizeAsync" is: "Failed to launch browser with "https://accounts.google.com/o/oauth2/v2/auth?XYZ" for authorization. See inner exception for details.", with the inner exception details: "No such file or directory".
In the Console Application "GoogleWebAuthorizationBroker.AuthorizeAsync" opens the default browser with using the OAuth2 link, but in this case it seems that it doesn't find the browser.
I've checked the Emulator to see if there is the is a browser application and it is, "Internet".
Is there an extra step to set this as default, or there is no way for the current SDK to support the way Google opens a browser ?
Thank you and I wish you a good day,
Flavius

Google Library not support Tizen platform(tizen40, it compatible with netcore 2.0, netstandard2.0) yet.
https://github.com/googleapis/google-api-dotnet-client/blob/620b8f1792d876f0bf9bdd2379d493aa4bbb2015/Src/Support/Google.Apis.Auth/OAuth2/LocalServerCodeReceiver.cs#L427-L462

To open browser in your app, you should use AppControl with http://tizen.org/privilege/appmanager.launch privilege
            Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
            appControl.Operation = Tizen.Applications.AppControlOperations.View;
            appControl.Uri = "https://google.com";
            try
            {
                Tizen.Applications.AppControl.SendLaunchRequest(appControl);
            }
            catch (Exception err)
            {
                System.Console.WriteLine(err.Message);
            }

Thank you for your time and help.
I'll try to make this app in a different language or wait until the Google Library will be supported, which I hope it will be soon.
Have a nice day,
Flavius

Now you can use google api client for .net library in Tizen with xamarin.forms
Here is a solution
https://gist.github.com/myroot/d998b80dbf52ad7632dfe519ca992fdc


NotifySyncPushCommits() [E] NotifyWatchers: insert new actioner: Error 1406 (22001): Data too long for column 'content' at row 1

Description
One occurrence of
2023/11/24 02:07:13 ...ion/action/action.go:403:NotifySyncPushCommits() [E] NotifyWatchers: insert new actioner: Error 1406 (22001): Data too long for column 'content' at row 1

was caught in gitea 1.20.3 error log on mirror update.
Gitea Version
1.20.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.30.2
Operating System
Debian
How are you running Gitea?
Compiled from sources.
Database
MySQL/MariaDB

This field uses TEXT in MySQL which is at most 64kb. You can adjust your MySQL settings.

You can adjust your MySQL settings.

How to "adjust your MySQL settings"? At least, I do not think "truncate silently" is a choice for modern databases.

I was wrong. It can't be adjusted.

I think it should be truncated explicitly on Gitea side, to make sure the message fit the database size.