React DevTools v4 blog post

First pass at v4 release blog post. I decided to keep this pretty high level (with the details being in the changelog) so that it could hopefully answer all of the most important questions at a glance.
Release date and React Native version is arbitrary. I just needed something to fill in.
View the formatted blog post

For folks who haven't been following along, what do you mean by "A lot has changed!" (since...?)

"the extension should update " can you link to the extension for folks who haven't installed it yet?

The header above says that we're announcing a new release, so I think "a lot has changed [in the new release]" is implied, but I could add "in version 4" if you think that's better?


Add Windows desktop files for manual tests

This adds support for building and running manual tests, such as the raw
keyboard test on Windows desktop.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

No new tests added in code since this just enables existing tests to run on Windows.


common/types: BigInt: CBOR-serialize correctly

This PR adds custom (de)serialization for BigInt because it was broken.
The current version of our code CBOR-serializes every BigInt instance as {}, the empty struct (CBOR: 0xa0). It was then deserialized as 0.
BigInt is defined in our code as
type BigInt struct {
	big.Int
}

https://github.com/fxamacker/cbor/blob/master/encode.go explains that structs are serialized as maps. The inner big.Int is stored in an implicit BigInt.Int field, and is public (as evidenced by some sloppy usage in our own code). So IDK why it's not being serialized by cbor, and I'm fairly sure it was serialized correctly in the past.
Regardless, we did not have tests, which this PR also adds.
Note: Because the new serialization format is no longer map-based (if it ever was), my hope was that old cached values won't be decoded successfully, and affected cache entries will be automatically invalidated. That's not the case; the cbor library decodes 0xa0 (empty map) into the default object automatically. I found a workaround but it's verbose and would require us to special-case 0 when encoding.
The only affected cached value is the return value of GetNativeBalance(). I suggest we rename its cache key to "forget" old cache values in the near future. (Thanks @pro-wh for the idea.) I can't do so in this PR because the node is having issues ("Bad Gateway").

Also, this issue should be reported upstream.

Reported https://github.com/fxamacker/cbor/issues/454 upstream


 It assumes r3e's approach is correct

It is kind of correct for ISI games too.  However, this area is a mess really.  For example in rF2, nothing really happens if you don't complete penalty in 3 laps.
I have asked for more details exposed by game especially wrt penalties, this is number one on priority list I asked of S397.
While it is weird that CC goes silent after 3 laps while one can still drive, I am not sure what is better alternative (without games actually fixing their bugs).

seems that RF2's implementation is close enough to R3E's here. No idea what pCars2's implementation is, not sure that I really care at this point


Cody puts files into wrong folders in multi-folder workspaces

Version
v1.48.1
Describe the bug
When I work in a workspace with multiple folders and ask Cody to apply changes to the file in not the first folder it creates new files under the first folder instead of modifying existing ones.
Expected behavior
Cody updates files you are working in place despite what folder they are in.
Additional context
To reproduce:

Create a following folder structure:
demo
| - folder1
| - folder2
Open folder 1 in VSCode, then do "Workspace: Add Folder to Workspace..." command and select folder2.
Add a file e.g. demo.py into folder2 and ask Cody to change something in it
Click Apply
Cody will create a new file under folder1, specifically folder1/folder2/demo.py instead of modifying folder2/demo.py

Hey @DzmitrySudnik
Thank you for reporting this issue. It is by design that Cody works only in a single workspace environment. Some features may work in multi-workspace env, but Smart Apply doesn't.
The team is considering expanding that feature.
If you don't mind open a feature request at our community forum here https://community.sourcegraph.com/c/cody/5
the team will be aware of.
Thank you

Thanks @PriNova I've created https://community.sourcegraph.com/t/support-multi-folder-workspaces/1626


Is registry.field33.com server down?

I got a Host Error when accesing the registry server.

@caesar0301 thx for pointing it out. Will check


Web component: Masthead - When user hovers on menu options, grey background is covering the copy text.

Detailed description
Issue:
When user hovers on menu options, grey background is covering the short description text.
Additional information

@Praveen-sr, can't replicate the error. Could you please provide more information on how to recreate it?

@NSDrowned Re tested this on web components, now we don't have this issue.


Method '1_logger_emit_Console' not found

With the code:
import { Logger }        from 'meteor/ostrio:logger';
import { LoggerConsole } from 'meteor/ostrio:loggerconsole';

// Initialize Logger:
const mylog = new Logger();
// Initialize and enable LoggerConsole with default settings:
(new LoggerConsole(mylog)).enable();

export function log(level,message)
{
    console.log('['+level+'] ',message);
    mylog.info('message',{},'');

}

I get the log message in the browser, but always with the error:
Error invoking Method '1_logger_emit_Console': Method '1_logger_emit_Console' not found [404]
What is wrong?!

Hello @WarShoe ,
This two lines:
const mylog = new Logger();
(new LoggerConsole(mylog)).enable();

Should be executed on both Client and Server.

Thanks!
The error is gone, the console logging looks OK (and the next step will be to use mongodb).  I am not sure about the best practice, but this is what I do know:
var mylog = {};

export function log_init() {
    mylog = new Logger();
    (new LoggerConsole(mylog)).enable();
}

// logger-neutral function, because I decide now about the logger package to use in my code
export function log(level,message,data)
{
    console.log('['+level+'] ',message,data); // just for check
    mylog[level](message,data);
}

log_init() is called by Meteor.startup() for server/client. Please let me know if there is a better way to init the package.
P.S. Where is it mentioned in the documentation?! Did I miss it?

Please, support this project by:

Star on GitHub
Star on Atmosphere
Check other packages we have made


LinkWidget.render_options fails on unicode data

Solution: Encode data as UTF-8 before passing to urlencode.
Here's the patch for widgets.py:
2a3
> import types
52a54,56
>
>         # Make sure that data is utf-8 encoded before being passed to urlencode.
>         data = dict([(k,v.encode('utf-8') if type(v) is types.UnicodeType else v) for (k,v) in data.items()])

This solution works for me


Unbundle the SDK: client without runtime, runtime without client

Problem
A Dagger SDK can do 2 things:

Generate client bindings to consume functions and types from other modules
Build a runtime to provide new functions and types

These two features are tightly coupled: an SDK must implement both or it is considered incomplete. A module is expected to use both, or it is probably "doing it wrong".
But there are cases where I don't actually want both:

Example 1: I want to run Dagger pipelines from my software, without running my software in a Dagger runtime. For this, I need generated client bindings, but no runtime. This is not possible.

Example 2: I want to expose my Dockerfile and docker-compose.yaml as a Dagger module. I could manually rewrite my docker-compose and Dockerfiles to code, but I would lose compatibility with my team's workflow. I could use a generic "Docker" module with functions like service(name: String!): DockerComposeService and type DockerComposeService { up: Service! }. But that's a generic schema, it doesn't express the specifics of my compose file with custom types. Instead I want backend(db: ServiceID!, source: Directory!, stripeAPIToken Secret!), infered from the contents of my file. This requires a custom runtime, but it does not require generating a client. This is not possible today.

Solution
Decouple the two big features of a Dagger SDK - client and runtime - so that one can be provided, and used, without the other.
Design
Consider this a request for bikeshed. Some considerations:

dagger develop combines many SDK features in one command. We have already discussed the idea of unbundling it. Maybe that would help.
The concept of a "runtime" is mostly hidden from the user. Should we embrace it, and show it to the user as a first-class concept?
Perhaps each feature of an SDK can be explained as a pipeline? One pipeline to generate client bindings; another pipeline to build a runtime; and SDKs may or may not implement all pipelines?
In the second example above ("generate functions from my docker project"), would we talk about a "Docker SDK"? If not, then what terminology would be used?

Just to be clear on "it's not possible today", every SDK's codegen is already decoupled from the runtime module actually. You just need to get the corresponding executable outside of the dagger cli (basically need a clone of dagger's repo and possibly build the codegen binary, but it can be comoditized in a module, even using an SDK's runtime module as a dependency for most of the work).
However the runtime module does provide a sort of unified and simple way to access that feature, but returns more than what you want if just need the client bindings.
SDK runtime modules currently need to implement two functions only (by convention):

Codegen()
ModuleRuntime()

The result of the first one is what gets exported during dagger init or dagger develop, but also runs automatically during a dagger call. The second one is what provides the container that executes the user's source code. The rest of the functions the SDKs today have, serve only to support these two, including a commonly used Base for setting up a container that can run code in the chosen language.
We can easily break the Codegen function into two, where one just returns the client bindings and make sure to not require it while loading a module. If you hook that into dagger develop and don't care to support running modules, then that branch of code that needs the ModuleRuntime function just doesn't run, so it's not required to exist.
Note that these functions already represent pipelines that deliver a specific SDK feature, and yes, they can be optional.
Note also that contrary to the suggestion of "client without runtime", what I said above is still using the runtime "module" even if just for the client bindings, but not necessarily the runtime "container". I feel inclined on one hand to call this module the "sdk module" rather than "runtime", but the latter is more accurate. Besides the runtime module, the SDK includes a full package where client bindings for the core API is only one part of it. This is the library that we release to public repositories and lives outside of the runtime module. They're decoupled as the module could be anywhere.
Additionally, for any SDK that's not Go or TypeScript, they usually have a codegen written in the chosen language and that requires setting up an environment to run it, which is what the runtime module already provides, even if on a different language than the SDK's. So it still tracks that a "runtime module" that only implements a codegen function for only the client bindings, probably needs an environment to run that codegen script. That could be interpreted as a "runtime" too.
Curiously, only the directory where these modules are in are conventionally name runtime/, but the module names in dagger.json are "-sdk".
All of this seems pretty doable and not hard to me. Probably most of the work is for every SDK to make sure custom bindings can be used with the published SDK library, but within the user's code since today they're generally coupled to the dagger "package". Could be trivial in one SDK but tricky in another. This is related and overlaps with:

https://github.com/dagger/dagger/issues/5993

Btw, a quick solution for custom bindings outside of modules is to continue to codegen the whole SDK like non-Go SDKs do. Then instead of installing the library from the public repository, you just install from the locally generated one (vendored), like runtime modules do, just executed from the host instead. At least in Python that should work today, and I bet in all non-Go SDKs too.


use github actions to push the contents to s3

I assume we're manually syncing it right now?  imo thats a lot of work we could foist on the robots. see something like https://github.com/marketplace/actions/s3-sync. I'm pretty familiar with github actions so if this is something you want to do & need help feel free to ping me.

We are using AWS CodePipeline for this currently. If you want, you can ask Johnathan about the details, he's the one who set it up.


operator trustify-operator (0.1.0-alpha.2)

Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Are you familiar with our operator pipeline?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want to use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Your submission should not

[ ] Add more than one operator bundle per PR
[ ] Modify any operator
[ ] Rename an operator
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description of the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/pipeline restart operator-hosted-pipeline

@haripate my apologies for bothering you. Do you happen to know why the test add-bundle-to-index is failing? I can not see too much useful information in the logs


update kubernetes to v1.18.x and update the ingress apiVersion

cc @brancz as this is kube
cc @simonpasquier as this involved dependencies
thanks :)

Not sure why the windows test job should fail here. Can that job alone be restarted?

Looks like the master branch build is failing for test_windows: https://circleci.com/gh/prometheus/prometheus/29422?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
The files changed in this PR don't correspond with the test failures.

Also having a hard time understanding the CI failure. Restarted it for now, let's see what happens.

This needs a rebase

Failed again. Hmmm, I see another master merge build failing: https://circleci.com/gh/prometheus/prometheus/29487?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
FYI: @brian-brazil

@roidelapluie Will you be able to help with this PR?

@simonpasquier @brancz @brian-brazil @juliusv  Figured out why it's failing
The go windows executor is using go 1.12.7 and not go .13. k8s.io/apimachinery has breaking changes which will only build in >= go 1.13 versions.
How can we fix this? I believe I am using the latest windows orb in the hopes that they would have updated the go version, but that doesn't seem to be the case. Would we need to contact CircleCI?

@simonpasquier could you help out with the CircleCI orb stuff? I once semi-figured out how it worked, but have forgotten everything about it again.

@simonpasquier could you help out with the CircleCI orb stuff? I once semi-figured out how it worked, but have forgotten everything about it again.

AFAIK circle ci does not offer go 1.14 for windows yet.

It might be possible to install a newer version before running the tests but from a quick look, neither the circleci/go orb nor the circleci/windows orb offer this possibility...

Same problem as https://github.com/prometheus/prometheus/pull/7158

Any suggestions on what can be done at this point?
I am assuming we still want to move past go 1.12 limitations?

@tariq1890 I have updated go to 1.14 on windows on master. Please rebase.

Also please revert your changes to circleci.yml

@tariq1890 Thanks!
@brancz Please review :)

lgtm


Convert 'echo' command to a manufacturer specific 'ping' command

Problem
The echo command is an hand rolled command. It has been super useful but currently, in its current shape, it is a pain as it make some part of the code harder to write while it will never really be used as it is in an end product.
This PR replace echo by a ping manufacturer specific command. This is nice because if add supports for some part of the code that where not used until then, notably the manufacturer specific side of ZCL clusters, and it removes the need for some special handling support in various places.
The changes in examples/all-clusters-app/all-clusters-common/gen/endpoint_config.h has been done using AppBuilder while the rest of the gen/ changes has been done using ZAP.
Summary of Changes

Add a manufacturer specific command to the all-clusters-app configuration
Update src/app/zap-templates/call-command-handler-src.zapt to support manufacturer specific command
Remove echo command support in examples/common/chip-app-server
Simplify chip-tool by killing the EchoCommand class
Simplify chip-tool by mergin the NetworkCommand and ModelCommand classes together

Pushed an update to resolve merge conflicts.

@vivien-apple Please rebase to tip to retrigger CI on top of the pigweed fixes?

This just sends back a status response, unlike the existing echo command, which responds with the incoming data, right? Why that change?

You are right.
There are 2 reasons why I did that:

The first one is that there is already an echo protocol now. I'm not saying I'm happy with that but since it is there it would not make sense to duplicate it.
The second is because I felt like the goal of echo at the beginning was to make sure the data is encoded/decoded properly. Since ping will be encrypted/decrypted already, and since the command will be parse on both ends, it just seems redundant.


Scala Index version is 1.1.3 but documentation is about 1.1.0

There is a little bit of mess in the README.md, in relation to the version.
In the documentation, all references are about 1.1.0, but the last version following the label of scala index is 1.1.3

If 1.1.3 is the last version, it is necessary to change:

The url pointing to the Maven repository to https://repo1.maven.org/maven2/com/github/enalmada/akka-kryo-serialization_2.12/1.1.3/
the sbt dependency package to "com.github.enalmada" %% "akka-kryo-serialization" % version
There is no tag for version 1.1.3 in Git.

If the last version is 1.1.0, it is necessary to change the scala index label.

Hi @angelcervera
Thx for the info. The latest release of io.altoo:akka-kryo-serialization is 1.1.0 and all the tags/code you see is up to date.
There is however @enalmada who has made a clone of the repo and released the same project (looks like he tested releasing since there are no changes).
Somehow he was allowed by sonatype to upload these to maven central :(
Now the sacadex scanner downloads these fake packages that are valid poms but somehow associates them with this project.
    <groupId>com.github.enalmada</groupId>
    <artifactId>akka-kryo-serialization_2.13</artifactId>
    <packaging>jar</packaging>
    <description>akka-kryo-serialization</description>
    <version>1.1.3</version>
    <name>akka-kryo-serialization</name>
    <organization>
        <name>com.github.enalmada</name>
    </organization>
    <url>https://github.com/altoo-ag/akka-kryo-serialization</url>

Hmm this is very annoying. This looks like a bug in the scaladex scanner.
Other than that: nobody should upload code under io.altoo to the sonatype repo.

I have a bunch of projects using Play Framework which wont start unless all dependencies use its exact version of akka which they like to change alot.  So when they release I update the modules I need and publish to my own org.   Is there something I could do to make scaladex scanner ignore my stuff or minimum changes to make it not associated with the original fork like leaving url blank or something?

@Enalmada Instead of releasing the projects with different dependencies you can remove/ignore the dependency so they are only taken from play.
This is what we for example do to not get akka from kamon. You should do this for all projects except for the one which you want to match the akka depencency from.
"io.kamon" %% "kamon-akka-http" % kamonAkkaHttpV excludeAll(ExclusionRule("io.kamon", "kamon-core_2.13"), ExclusionRule("com.typesafe.akka", "akka-actor_2.13"), ExclusionRule("com.typesafe.akka", "akka-cluster_2.13"), ExclusionRule("com.typesafe.akka", "akka-remote_2.13"), ExclusionRule("com.typesafe.akka", "akka-http_2.13"))

@Enalmada this should be ready to go:
lazy val akkaKryoSerializationDeps = Seq(
  "io.altoo" %% "akka-kryo-serialization" % "1.1.0" excludeAll (ExclusionRule("com.typesafe.akka", "akka-actor_2.13")),
)

@Enalmada I found the reason why your artifacts are wrongly linked - you need to fix the scm tags in the poms - this is what scaladex uses to link...
This is from your pom which should link to your own git repo:
<scm>
<url>
git@github.com:altoo-ag/akka-kryo-serialization.git
</url>
<connection>
scm:git:git@github.com:altoo-ag/akka-kryo-serialization.git
</connection>
</scm>

@nvollmar we might need to create a version > 1.1.3 to "fix" this issue

Maybe Kryo 5 is finally released a new RC has been published a couple of weeks ago

fixed by rolling out a 1.1.5 version

I tried the excludeAll (ExclusionRule("com.typesafe.akka", "akka-actor_2.13")) and it seems to work.  Thanks for that better way to handle this!


Test type acquisition and full project intellisense for JS/TS

Test for #182791

[x] anyOS @alexdima
[ ] anyOS @Yoyokrazy

Complexity: 4
Create Issue

This iteration we enabled type acquisition on vscode.dev for JS/TS. This means:

We can provide intellisense for packages listed in the package.json

For JS files, we can provide intellisense for imported files even if they aren't in the package.json, i.e. you can type import $ from 'jquery'; and start getting jQuery IntelliSense

With these two features on, we've also enabled semantic error reporting again
Testing
For this test plan item, try out this new support on https://insiders.vscode.dev and make sure it works as expected. Test in Chrome/edge.
Some basic areas to test

Open a small/medium sized TS project from github

You get IntelliSense for the module imports
Confirm auto imports work
You should get semantic/typings errors
You can use go to definition and find all references on types from modules

Try doing the same but this time opening a folder from your local machine

Create a loose js file. Try adding an import for a third party library and confirm you get IntelliSense for it after the typings are installed

Known limitations

Safari currently doesn't support this. The nightly safari should but for

Currently only tested for small/medium projects. Larger project, such as vscode, will likely work but may take a while to load. We're working on implementing caching to support them better

Very cool!


#68 Add minimum records for ingestion

I've converted the PR back to draft since I've found an issue with transformations that are based on tables with zero record count.


[Dubbo-4771]fix protocol register set false not work

What is the purpose of the change
fix #4771
Brief changelog
AbstractServiceConfig.java
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Don't think it actually change something. Now we have all services configured with register=false by default. Soon there is no filter for skipping the registration based on property set we have this:
[DUBBO] Register dubbo service org.apache.dubbo.samples.api.GreetingService url hessian://<IP_ADDRESS>:20881/org.apache.dubbo.samples.api.GreetingService?blalbla&[register=false]&release=2.7.4-SNAPSHOT&revision=1.0.0&balblablabla, dubbo version: 2.7.4-SNAPSHOT, current host: <IP_ADDRESS>
As you can see service has register set to false but anyway it was registered.

@AnthonyKot You can pull my branch and test, it works even though the log print register. I think it's a problem about the log.

@AnthonyKot You can pull my branch and test, just watch the zookeeper if the service is registered. It works even though the log print register. I think it's a problem about the log.

@AnthonyKot I test it again and it works. You can watch the zookeeper if the service is registered. I think it's just the log has an error.

Codecov Report

Merging #4776 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #4776      +/-   ##
============================================
+ Coverage     63.92%   63.92%   +<.01%
  Complexity      451      451
============================================
  Files           769      769
  Lines         33171    33188      +17
  Branches       5229     5231       +2
============================================
+ Hits          21204    21216      +12
+ Misses         9547     9546       -1
- Partials       2420     2426       +6

Impacted Files
Coverage Δ
Complexity Δ

...org/apache/dubbo/config/AbstractServiceConfig.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...in/java/org/apache/dubbo/config/ServiceConfig.java
59.32% <100%> (+0.17%)
0 <0> (ø)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0%> (-2.18%)
0% <0%> (ø)

...he/dubbo/registry/multicast/MulticastRegistry.java
67.87% <0%> (-1.81%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
64.7% <0%> (-1.18%)
0% <0%> (ø)

...pache/dubbo/remoting/transport/AbstractServer.java
47.91% <0%> (-1.05%)
0% <0%> (ø)

...mmon/serialize/kryo/utils/AbstractKryoFactory.java
75% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...g/apache/dubbo/registry/consul/ConsulRegistry.java
62.5% <0%> (+0.62%)
29% <0%> (ø)
:arrow_down:

.../exchange/support/header/HeaderExchangeServer.java
67.92% <0%> (+0.94%)
0% <0%> (ø)
:arrow_down:

.../rpc/protocol/dubbo/LazyConnectExchangeClient.java
58.82% <0%> (+2.35%)
0% <0%> (ø)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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


Simplify \frametitle commands

On first sight, it's easy to miss that \frametitleii{} expands to C++98.
Here, I define
\frametitlecpp[98, 11, 14, ...]{Title}

which should be easier to read.
I can offer to run text replacements on all frametitlexx.
This could make things such as #55 a bit easier.

Sorry @sponce that was even faster than I thought. I think it's ready to merge. Without further comments, I'll merge tomorrow.

All fine for me. I've almost clicked merge directly, but let's give the evening for others to comment in case and feel free to merge tomorrow indeed.


fix(crypto): corrects Key-length error message

Context
While looking into how Cardano handles Bip32, specifically how it generates keys from Bip39-word entropy, I discovered that the error message in question kept correcting me for providing a 64-byte length key and not a 32-byte length key. However, the actual check is done against 96-bytes, i.e. the length of xprv after the pbkdf2 algorithm.
Perhaps the idea is that the original entropy should be 32-bytes and that's why NORMAL_ED25519_PRIVATE_KEY_LENGTH is set to that. However, that's not what the if-statement is actually checking against.
Proposed Solution
Replace NORMAL_ED25519_PRIVATE_KEY_LENGTH with BIP32_ED25519_PRIVATE_KEY_LENGTH, the length that is actually checked against.
Important Changes Introduced
None.

Hey, please take a look at it now @AngelCastilloB

https://github.com/input-output-hk/cardano-js-sdk/pull/1162 decided to create a new PR for expediency

Force pushing this branch would have been the way to go @HashMapsData2Value 😉


Added v1 uuid generation and basic test

This PR adds the V1 Uuid functionality.

Requested changes have been made. Let me know if you need anything else.

@rrichardson oh I think it's ok to use AtomicUsize internally but I think the API should take a u16, right? An internal implementation detail could then just be to widen that up to a usize, right?

Ok. I've changed it the public param to u16.
I think it's also be useful to have a method which unpacks the values back
out to a u64 (timestamp) and a u16 count. This would be for easy comparison.
It's only relevant for V1 uuids. What do you think?
On Tue, Jun 20, 2017, 3:07 PM Alex Crichton<EMAIL_ADDRESS>wrote:

@rrichardson https://github.com/rrichardson oh I think it's ok to use
AtomicUsize internally but I think the API should take a u16, right? An
internal implementation detail could then just be to widen that up to a
usize, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/uuid/pull/92#issuecomment-309905739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHlCyd9p8vJhT8mxw99Y0AoZJQOVFqoks5sGEKogaJpZM4NzJhu
.

Sure yeah sounds reasonable to me! We could have the methods return Option and only have it be Some for v1 uuids, right?

Looks great to me, thanks so much again @rrichardson!


qtscrcpy: init at 1.7.0

Motivation for this change
Android real-time display control software.
(GUI front end of scrcpy)
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Changes performed, thanks for reviewing!

@SuperSandro2000 Thanks for reviewing. I will finding example of qtWrapperArgs and try it.

@SuperSandro2000 Thanks for reviewing. I will finding example of qtWrapperArgs and try it.

That not work because the src is qputenv not read env 😂.
See https://github.com/barry-ran/QtScrcpy/blob/v1.7.0/QtScrcpy/main.cpp#L38

I wrap it but seems it doesn't work, reading source code aggravated my confusion...

@SuperSandro2000 @musfay
Wrap and gives it env variable is not working, because it set the QTSCRCPY_ADB_PATH at bootstrap.
I also found an issue with this annoying feature: https://github.com/barry-ran/QtScrcpy/issues/287.
And here is the related source code: https://github.com/barry-ran/QtScrcpy/search?q=QTSCRCPY_ADB_PATH.
The author suggests modifying the config file https://github.com/barry-ran/QtScrcpy/blob/master/config/config.ini#L17 to specify ADB path,
but AUR’s approach is just to replace the hardcoded path: https://aur.archlinux.org/cgit/aur.git/tree/path-fix.patch?h=qtscrcpy.
And seems we should also make a nix module to deal with the config file...

@SuperSandro2000 Changes performed.

Why this PR closed? We should still need this app I guess


Do not recommend Debian 9/stretch

Debian 9 / Stretch is no longer getting security patches as it is EOL and it's community LTS support runs out in June of this year.  https://wiki.debian.org/LTS
We should not be recommending it to people at this point. We can keep pre-building the stretch image for existing use until June as long as there isn't a critical security issue that is "won't fix".

//cc @2percentsilk as FYI


Code Locked. Unlock? Button does not 'lock' code

Challenge Name
https://beta.freecodecamp.org/en/challenges/json-apis-and-ajax/handle-click-events-with-javascript-using-the-onclick-property
Issue Description
left the page, came back. saw the "I found some saved work, loading now" dialogue box bottom right, Noticed the 'Run tests (ctrl + enter)' button changed to 'Code Locked. Unlock?'
Was still allowed me to remove my code before clicking it.. Clicked it and got the 'Run tests (ctrl + enter)' button again but my code was gone
Not sure what the intended functionality of the button is if it does not actually lock the Editor Panel.
Browser Information

Browser Name, Version: Chrome
Operating System: Windows 10
Mobile, Desktop, or Tablet: Laptop

Screenshot

Code lock stops any code running in your browser. If the code looks 'funky', please ask in gitter chat to make sure it is doing what is it supposed to be doing :+1:

Gotcha. thanks for the heads up.


Add HPA

Add HPA Resource (part of splitting of https://github.com/Shopify/kubernetes-deploy/pull/188/files)
In v2beta1 we get access to threecondition statusesAbleToScale, ScalingActive , and ScalingLimited. I think it makes sense to succeeded when AbleToScale is true.

The first, AbleToScale, indicates whether or not the HPA is able to fetch and update scales, as well as whether or not any backoff-related conditions would prevent scaling.

The downside of using v2beta is no support in 1.7. I think its worth the tradeoff

I found the difference between the intent of ScalingActive and AbleToScale a bit confusing too, so I looked up all the possible reasons for them (this file):
AbleToScale

FailedGetScale: the HPA controller was unable to get the target's current scale
BackoffDownscale: the time since the previous scale is still within the downscale forbidden window
BackoffBoth: the time since the previous scale is still within both the downscale and upscale forbidden windows
BackoffUpscale: the time since the previous scale is still within the upscale forbidden window
ReadyForNewScale: the last scale time was sufficiently old as to warrant a new scale
FailedUpdateScale: the HPA controller was unable to update the target scale
SucceededRescale: the HPA controller was able to update the target scale to %d

ScalingActive

InvalidSelector: the HPA target's scale is missing a selector
InvalidSelector: couldn't convert selector into a corresponding internal selector object
FailedGetObjectMetric/FailedGetPodsMetric/FailedGetResourceMetric/FailedGetExternalMetric: the HPA was unable to compute the replica count
InvalidMetricSourceType: the HPA was unable to compute the replica count
ValidMetricFound: the HPA was able to successfully calculate a replica count from %s
ScalingDisabled: scaling is disabled since the replica count of the target is zero

Based on that, AbleToScale is talking about ability to scale right now in particular, whereas ScalingActive tells us whether the HPA is correctly configured. So the latter is what we want.

It looks like I used AbleToScale vs ScalingActive because scalingActive is false in minikube:
            "status": {
                "conditions": [
                    {
                        "lastTransitionTime": "2018-07-17T00:15:37Z",
                        "message": "the HPA controller was able to get the target's current scale",
                        "reason": "SucceededGetScale",
                        "status": "True",
                        "type": "AbleToScale"
                    },
                    {
                        "lastTransitionTime": "2018-07-17T00:15:37Z",
                        "message": "the HPA was unable to compute the replica count: unable to get metrics for resource cpu: unable to fetch metrics from resource metrics API: the server could not find the requested resource (get pods.metrics.k8s.io)",
                        "reason": "FailedGetResourceMetric",
                        "status": "False",
                        "type": "ScalingActive"
                    }
                ],
                "currentMetrics": null,
                "currentReplicas": 1,
                "desiredReplicas": 0
            }
        }

Turns out the issue was https://github.com/kubernetes/kubernetes/issues/57673 e.g. that we need to deploy the metric server from https://github.com/kubernetes-incubator/metrics-server.
This is ready for 👀 again

Did you have to tweak the metrics server configs at all to get them working, or are they a direct copy-paste from https://github.com/kubernetes-incubator/metrics-server?

Direct copy-paste

1.8 is failing but not 1.9 or 1.10. Do you think https://github.com/kubernetes-incubator/metrics-server supports 1.7 and > 1.8 (not >=1.8)?

1.8 failing appears to be related to minikube. And as far as I can tell a change in k8s default from 1.8 to 1.9. To make it work I had to run add --extra-config=controller-manager.horizontal-pod-autoscaler-use-rest-clients=true to the minikube start command minikube addons enable metrics-server  to make it pass. I'm going to disable the tests for 1.8 rather than mess with this more.
https://github.com/kubernetes/kubernetes/issues/57673
https://stackoverflow.com/questions/48325627/minikube-horizontal-pod-autoscaling-error-unable-to-get-metrics-for-resource-cp


select full table without group by and order by，query use large memory，be memory exceed limit[Bug]

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.0.2
What's Wrong?
i have a unique model table, 600w rows,when i use select * from table limit 7000000, query failed caused by memory exceed limit;  use mem_tracker can see query use large memory

my be server still have 3g available memory
i think a sql without group by order by .. just scan full table data should not use too many memory, because be need not to load all data into memory from disk ，then send to client
my table ddl and query profile
profile_1705491397004.txt
ddl.txt
What You Expected?
select * from table  can execute successfully without using large memory
How to Reproduce?
be without rich available memory, like 3g
table uncompressed data size exceed 3g
select * from table
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct


custom routes?

Can custom routes be added?

I am trying to use this for angular app is there any example that I can use. I am new to this.


Batch import fails with property of type Number

This issue is mostly to track the fix:
Copy paste from Slack for context:
Hello, I just tried out the batching feature to try and create things and I think a found a bug: As soon as any of the properties contain a number, the requests fail with:
{ errors:
          { error:
             [ { message:
                  'Illegal primitive value for property testNumber, value is "188432168"' } ] },
         status: 'FAILED' },
      thingId: '6df2250d-4fc3-4a97-b469-43e6ca5047cb' } ] }

The error message itself is actually submitted from the janus graph connector, so I did some more digging.
The thingclass the batching endpoint calls the connector with is something like this
ThingCreate: (models.ThingCreate) {
  AtClass: (string) (len=11) "MyTestThing",
  AtContext: (string) (len=18) "http://example.com",
  Schema: (map[string]interface {}) (len=2) {
   (string) (len=10) "testNumber": (json.Number) (len=8) 54202875, <----------------------------------
   (string) (len=10) "testString": (string) (len=23) "always the same for now"
  }
 },
 CreationTimeUnix: (int64)<PHONE_NUMBER>437,
 Key: (*models.SingleRef)(0xc0000141b0)({
  NrDollarCref: (strfmt.UUID) (len=36) 657a48b9-e000-4d9a-b51d-69a0b621c1b9,
  LocationURL: (*string)(0xc000240a40)((len=21) "http://<IP_ADDRESS>:8080"),
  Type: (string) (len=3) "Key"
 }),
 LastUpdateTimeUnix: (int64) 0
})

Note the highlighted line, the field is of type json.Number … not something the connector is aware of
I then also checked out the tests to see why they are passing, since this should fail with any number, but I can only see a test for an error case (“non existing class names”), but I don’t see any tests for the happy path?
etienne [11:01 AM]
I’m probably pushing a rather pragmatic fix for this (since I need the batching in a kubernetes test setup): I’m simply converting json.Number to the needed type in the janus connector (we can then worry about a nicer solution later)

Reopening because it also fails for int :)


Update setting-your-profile-to-private.md

Update instructions for changing profile privacy settings

Updated the instructions for changing profile privacy settings to be more descriptive and clear.

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

@vinaydanidhariya Thanks so much for opening a PR! ✨ I have made the following small tweaks -

Removed "Open settings" since previous steps makes it redundant
Restructured remaining steps to be more cohesive now that "Open settings" step has been removed

I'll update the branch and get this merged once tests are passing 🍏

Hi


Import "requests" PRs and issues

https://github.com/endoflife-date/endoflife.date/issues?q=+label%3Arequest+

https://github.com/endoflife-date/endoflife.date/issues/2680


Fix error when sending build failure email

Do not attempt to link to stdout log in failure email if the stdout log file has not been uploaded yet.

Several additional changes:

I moved the weird Build Artifact logic to a decorator like I wanted to.
I removed some dead code
I fixed the pesky comma issue by moving the code into a Rails helper.

LGTM


Add trash_dir to UserDirs

Self-explanatory.
In Linux, it is located under $HOME/.local/share/Trash. It has these entries:

directorysizes file only containing deleted folders.
info directory with *.trashinfo files inside.
files directory containing deleted files and directories.

Sorry, it's a duplicate of #25 and #60. Closing.


Use KISS or Similar for Fast FFT

The current FFT used is slow but works fine. Since 3d mixing might quickly be a bottleneck, and other segments might need FFT as well, a faster implementation would be well worth it.
Requirements:

Statically linkable, or includable.
Artistic license compatible.
Fast (duh)

86f1ac7 now uses Spiral FFT.


.col-{1-12} has priority over .col-md

I encountered an issue that I didn't have with Bootstrap v4. I always used the combination "col-12 col-md" to stretch the row on small devices and arrange them with others evenly divided on medium devices. This doesn't work anymore, because the rule "col-md" gets ignored and it seems that this is a bug for me.

Framework used on: https://meisterplan.com/
Operating System: macOS 11.4
Browser: Chrome v92

Duplicate of #34611 and since fixed in main. Will be released next week.


Fix android number format

It seems that the currency should be set on the DecimalFormatSymbols instance before setting it to the NumberFormat instance in order to display proper currency.
With the old implementation, we had the following results, from which the first is ok, but the second is wrong:
const bgFormat = new Intl.NumberFormat('bg-BG', {
	style: 'currency',
	currency: 'BGN',
});
const usFormat = new Intl.NumberFormat('en-US', {
	style: 'currency',
	currency: 'BGN',
});
console.log(bgFormat.format(123.9)); // 123,90 лв.
console.log(usFormat.format(123.9)); // $123.90

And with the new one, the second call results in BGN123.90 which seems to be the correct result.
Fixes #23

@cla-bot check

@NathanWalker can you merge this PR please? thx


Windows cuptiActivityRegisterCallbacks not found

Environment info
Operating System:
Windows 10 64bit
Python 3.5.2
nVidia GTX 760 (compute capability 3.0)
Installed version of CUDA and cuDNN:
CUDA 8.0
cuDNN 5.1
A link to the pip package you installed:
Latest nightly build (at least latest I could find)
http://ci.tensorflow.org/job/nightly-win/DEVICE=gpu,OS=windows/lastSuccessfulBuild/artifact/*zip*/archive.zip

The output from python -c "import tensorflow; print(tensorflow.__version__)".
0.12.head

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
This is the complete code:
import tensorflow as tf
import matplotlib.image as mpimg
from tensorflow.python.client import timeline

filename = 'data/MarshOrchid.jpg'
image = mpimg.imread(filename)

with tf.device('/gpu:0'):
    x = tf.Variable(image, name='x', dtype=tf.float32)
    y = tf.transpose(x, perm=[1, 0, 2])
    model = tf.global_variables_initializer()

with tf.Session(config=tf.ConfigProto(log_device_placement=True)) as sess:
    run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
    run_metadata = tf.RunMetadata()
    sess.run(model)
    result = sess.run(y, options=run_options, run_metadata=run_metadata)

    tl = timeline.Timeline(run_metadata.step_stats)
    ctf = tl.generate_chrome_trace_format()
    with open('timeline.json', 'w') as f:
        f.write(ctf)

What other attempted solutions have you tried?
Works OK:
tf.RunOptions.SOFTWARE_TRACE
Don't work:
tf.RunOptions.HARDWARE_TRACE
tf.RunOptions.FULL_TRACE
Logs or other output that would be helpful
"C:\Program Files\Python35\python.exe" E:/Documents/Workspace/machine_learning/test/test-1.py
E c:\tf_jenkins\home\workspace\nightly-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:586] Could not identify NUMA node of /job:localhost/replica:0/task:0/gpu:0, defaulting to 0.  Your kernel may not have been built with NUMA support.
Device mapping:
/job:localhost/replica:0/task:0/gpu:0 -> device: 0, name: GeForce GTX 760, pci bus id: 0000:01:00.0
x: (Variable): /job:localhost/replica:0/task:0/gpu:0
x/read: (Identity): /job:localhost/replica:0/task:0/gpu:0
transpose: (Transpose): /job:localhost/replica:0/task:0/gpu:0
x/Assign: (Assign): /job:localhost/replica:0/task:0/gpu:0
init: (NoOp): /job:localhost/replica:0/task:0/gpu:0
transpose/perm: (Const): /job:localhost/replica:0/task:0/gpu:0
x/initial_value: (Const): /job:localhost/replica:0/task:0/gpu:0
F c:\tf_jenkins\home\workspace\nightly-win\device\gpu\os\windows\tensorflow\core\platform\default\gpu\cupti_wrapper.cc:59] Check failed: ::tensorflow::Status::OK() == (::tensorflow::Env::Default()->GetSymbolFromLibrary( GetDsoHandle(), kName, &f)) (OK vs. Not found: cuptiActivityRegisterCallbacks not found)could not find cuptiActivityRegisterCallbacksin libcupti DSO

Process finished with exit code -1073740791 (0xC0000409)

I suppressed "I" messages with "TF_CPP_MIN_LOG_LEVEL = 1". I don't know if I'm missing something but it seems like it's trying to load libcupti.so from "c:\tf_jenkins..." path witch doesn't exist. I do have:
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp"
in path environment variable. Program works OK. It just gives me an error when I try to trace execution.
I don't know if I messed up something or is this a bug.

on the gpu_device.cc error. Apparently is a warning being logged as error.
see this StackOverflow answer.

Regarding cupti_wrapper.cc error, could you please try adding <path-to-cuda-folder>\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\CUPTI\libx64 to your PATH and see if it solves this problem?
Two files on CUDA 8 cupti64_80.dll and  cupti.lib are in ...CUDA\v8.0\extras\CUPTI\libx64 and moving those files to ...\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin and \NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64 respectively might yield the same results but is another alternative if you rather.

I can reproduce a similar error by running the example file examples/tutorials/mnist/mnist_with_summaries.py, as follows:
(py3-tf) D:\Developer\frameworks\Anaconda2\envs\py3-tf\Lib\site-packages\tensorflow\examples\tutorials\mnist>python mnist_with_summaries.py
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA library cublas64_80.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA library cudnn64_5.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA library cufft64_80.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA library nvcuda.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA library curand64_80.dll locally
Successfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Extracting /tmp/tensorflow/mnist/input_data\train-images-idx3-ubyte.gz
Successfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Extracting /tmp/tensorflow/mnist/input_data\train-labels-idx1-ubyte.gz
Successfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Extracting /tmp/tensorflow/mnist/input_data\t10k-images-idx3-ubyte.gz
Successfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting /tmp/tensorflow/mnist/input_data\t10k-labels-idx1-ubyte.gz
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 1080
major: 6 minor: 1 memoryClockRate (GHz) 1.8095
pciBusID 0000:01:00.0
Total memory: 8.00GiB
Free memory: 6.66GiB
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:906] DMA: 0
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:916] 0:   Y
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1080, pci bus id: 0
000:01:00.0)
WARNING:tensorflow:From mnist_with_summaries.py:141 in train.: SummaryWriter.__init__ (from tensorflow.python.training.summary_io) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.FileWriter. The interface and behavior is the same; this is just a rename.
WARNING:tensorflow:From mnist_with_summaries.py:142 in train.: SummaryWriter.__init__ (from tensorflow.python.training.summary_io) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.FileWriter. The interface and behavior is the same; this is just a rename.
Accuracy at step 0: 0.0724
Accuracy at step 10: 0.6865
Accuracy at step 20: 0.8022
Accuracy at step 30: 0.8291
Accuracy at step 40: 0.8745
Accuracy at step 50: 0.8785
Accuracy at step 60: 0.8857
Accuracy at step 70: 0.8884
Accuracy at step 80: 0.887
Accuracy at step 90: 0.8902
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:119] Couldn't open CUDA library cupti64_80.dll
F c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\platform\default\gpu\cupti_wrapper.cc:59] Check failed: ::tensorflow::Status::OK() == (::tensorflow::Env::Default()->GetSymbol
FromLibrary( GetDsoHandle(), kName, &f)) (OK vs. Not found: cuptiActivityRegisterCallbacks not found)could not find cuptiActivityRegisterCallbacksin libcupti DSO

@JDRomano2 did you try suggested above?

@Carmezim Thank you for the quick reply. I'm sorry I wasn't able to reply earlier.

Yes. I'm aware of that. I just copy/pasted entire console output.

Your suggestion solved the problem. It works now. Thank you very much.

@mrry do you think this Cupti files issue is worth adding to "common problems"?

@Carmezim Yes, a PR with that change would be excellent!


Add TensorrtExecutionProvider modeling tests

As per title.
Would have catched https://github.com/huggingface/optimum/issues/717

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

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


add copy to clipboard. Resolves #28

Hi, thank you for submitting this PR. This is a much needed addition to our app. I'm going to bring on another teammate to help me review this. Functionality wise, the "copy to clipboard" works, however, we will most likely be changing the styling.


Error: Can't make callback from given data

Issue Summary
We're using Mathjax library to render math equations & getting the following error.
Error: Can't make callback from given data
    at USING (MathJax.js?config=TeX-AMS_HTML-full,Safe:19:5557)
    at Object.Push (MathJax.js?config=TeX-AMS_HTML-full,Safe:19:8335)
    at Object.Queue (MathJax.js?config=TeX-AMS_HTML-full,Safe:19:35245)
    at global.js:2:1715982

The following is the html code snippet.

Note that mathjax is being loaded in init.js as follows
var script = document.createElement("script");
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_HTML-full,Safe';
script.referrerPolicy = 'no-referrer';
document.head.appendChild(script);

The global.js snippet where we're getting the error
function renderMath(mathbody, callback) {
    mathbody = LatexMath.decodeLatex(mathbody);
    if (!window.MathJax || !MathJax.Hub || !MathJax.Hub.Queue) {
        console.log('MathJax not ready yet, waiting to render math');
        setTimeout(renderMath, 10, mathbody, callback);
    } else {
        MathJax.Hub.Queue(function () {
            try {
                MathJax.Hub.Queue(["Typeset", MathJax.Hub ,"math"]);
                var mathnode = MathJax.Hub.getAllJax("math")[0];
                MathJax.Hub.Queue(["Text", mathnode, mathbody]);  // line causing the error
                if (callback) { MathJax.Hub.Queue(callback); }
            } catch (err) {
                console.trace(err);
                handleError(err.message);
            }
        });
    }
}

Technical details:

MathJax Version: 2.7.9
Client OS: Mac OS 14.4.1
Browser: Chrome 125.0.6422.144

In your code
                MathJax.Hub.Queue(["Typeset", MathJax.Hub ,"math"]);
                var mathnode = MathJax.Hub.getAllJax("math")[0];
                MathJax.Hub.Queue(["Text", mathnode, mathbody]);  // line causing the error
                if (callback) { MathJax.Hub.Queue(callback); }

you first queue a typeset action, and then try to look up the typeset math.  But the queued action does not occur at the time your make the MathJax.Hub.Queue() call, but at a later time, when previously queued actions are completed.  Since these lines themselves are within a queued function, the typeset call will not be made until that outer function completes, for example.  So you are trying to look up the typeset math before it is typeset.  That means mathnode will be null, and that is leading to the error message, since that call is asking MathJax to use mathnode.Text, and a null value doesn't have a Text property.
You need to queue your mathnode lookup as well in order to make sure it is performed after the typesetting is complete.  Something like
                MathJax.Hub.Queue(
                  ["Typeset", MathJax.Hub ,"math"],
                  function () {
                    var mathnode = MathJax.Hub.getAllJax("math")[0];
                    MathJax.Hub.Queue(["Text", mathnode, mathbody]);
                    if (callback) { MathJax.Hub.Queue(callback); }
                  }
                );

would do it.  You don't need the outer queued function with the try-catch, as that will only catch an error in the outer MathJax.Hub.Queue() call in the code above, and that should not fail.  You could use one in the function() here, but it might be better to test if mathnode is defined and report an error yourself rather than let the next MathJax.Hub.Queue() call to fail.
Finally, if this is code you are writing new, it might be better to use MathJax v3 than the much older v2.  MathJax v3 is faster, and uses a more modern API (based on promises rather than MathJax v2's custom queues and callbacks).

Hey @dpvc, thanks for responding. As of now it's legacy code that we're trying to maintain as we're not yet planning to migrate to MathJax 3 since that would require considerable effort. I tried what you suggested & that solved the issue. Thanks again!


VegaLite rendering in notebook is very slow

The following Julia code renders a 1000-point VegaLite scatter plot in 5+ seconds, or ~50 seconds for 10000-points. The Julia runtime is instantaneous, it is the render part which is slow. This slow render makes it very cumbersome to use VegaLite for visualization in notebooks
using VegaLite

npoints = 10000
[(; x = rand(), y = rand(), z = rand()) for _ in 1:npoints] |>
@vlplot(
    :point,
     x=:x,
     y=:y
)

In comparison, rendering the same 10000-point plot in a recent Chromium browser takes less than 2 seconds.

I'm sorry for not getting back to you on this, I'll be looking into this today.

I've tested this at my end & it was instantaneous (tried this a few times).
Please could you provide the following information:

VS Code version
OS Version
Jupyter extension version
Notebook renderer version
Output from the Jupter output panel (go into the command Jupyter: View Output)
Output from the console window (go into the command Toggle Developer Tools to get there & then select console tab)
From what I understand sometimes its 5s and other times 50s (ie between 5-50s).

Please could you confirm this

Are you using the Julia extension?
Are you using this locally or remotely on SSH or the like.
Finally, once you save this notebook and reload VS Code, do you experience the same perf issues when opening the saved notebook (i.e. can you see the vega output when opening the notebook, & without having to re-run it)

When collecting this required info, I tried running the sample code in the latest Windows version of VS Code, and it runs 10 times faster than in my main macos machine. So that's a major clue.
In any case, the data for the machine with the issue follows:

Code version:

Version: 1.62.3
Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Date: 2021-11-17T07:59:13.865Z (3 days ago)
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

OS version: macos Big Sur 11.6.1
Jypyter extension version: v2021.10.1101450599
Notebook renderer version: not sure how to check that, but the mimetype for the output figure is svg+xml

Do you see similar perf issues when using regular Jupyter notebooks (i.e. outside VSCode).

Thanks for following up on this!
Very interesting question, I should have checked: the delay is also present in a jupyter notebook in the browser (both Vivaldi and Firefox). Same timings in macos, much slower than simply displaying the plot in the browser (i.e. running the command in the OP from a Julia REPL).
So this means the problem is not in the vscode jupyter integration. Feel free to close this then.

THanks for confirming that


Fix macOS CI compilation

macOS image was updated and the default version is now 15, so we install v14 with brew before.

Did you add settings.json by accident @rsubtil?

Did you add settings.json by accident @rsubtil?

Ups :sweat_smile:


Feature | Add storage templates

Description ✨

Add support for storage template to allow custom OS
Fix the cancel button not working
Update the docs
Minor linting fixes

Gogogo push the button.. oh wait.. should we bump up the version with
minor, as I already tagged v1.2.0
On Tue, 1 Feb 2022, 20:06 Alejandro Ramírez, @.***>
wrote:

Description ✨

Add support for storage template to allow custom OS
Fix the cancel button not working
Update the docs
Minor linting fixes

You can view, comment on, or merge this pull request online at:
https://github.com/montel-ig/ui-driver-upcloud/pull/10
Commit Summary

b1cb74c
https://github.com/montel-ig/ui-driver-upcloud/pull/10/commits/b1cb74c447575f20d3f4df67ae095659f068891b
Add support for custom storage template
981c919
https://github.com/montel-ig/ui-driver-upcloud/pull/10/commits/981c919d8bf5480963141611cab25cd22ecd2ff6
Small fixes to hbs template
b71cb94
https://github.com/montel-ig/ui-driver-upcloud/pull/10/commits/b71cb94d5a6f7ee34a2ec66a37040248eb39c2e8
Update documentation

File Changes
(7 files https://github.com/montel-ig/ui-driver-upcloud/pull/10/files)

M .jshintrc
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-c3ca886e85c3a97b5cc4c34d04e5b9d5c78359b1e69fd09b74a842b5dea81bb0
(1)
M README.md
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(11)
M component/component.js
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-6f1aada17f0b5b430df56586fb0a9e2783574be9bcb1c788a7e8d76b3d01c3db
(502)
M component/template.hbs
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-c0ec76ca0d50a1a8a5d5c23c9f82c8ce50e192aa24b88aa1c3ea548efc627c82
(52)
A docs/all-options.png
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-0077bd2ab3e0bc5bfa2292e0069a19d359010ad18d1a7b2e62c6e59f4e8a0517
(0)
A docs/cluster-type.png
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-0470a5069ac8cb58c3e102c2cea09f0cc6a6c449675b4733a1fddbb0e8c67e0c
(0)
A docs/upcloud-login.png
https://github.com/montel-ig/ui-driver-upcloud/pull/10/files#diff-e926d65135853021927abd4250d6135a3afeaecd1e1bdced2b04fe372c315921
(0)

Patch Links:

https://github.com/montel-ig/ui-driver-upcloud/pull/10.patch
https://github.com/montel-ig/ui-driver-upcloud/pull/10.diff

—
Reply to this email directly, view it on GitHub
https://github.com/montel-ig/ui-driver-upcloud/pull/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEPQ2TSEMAZKTNXFZTWSELUZAOI5ANCNFSM5NJ37W3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because your review was requested.Message ID:
@.***>


docs(design): eliminated steps & rule #s

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


no launched, no more commits, the project is dead?

it is sad if it is true

The codebase lives on in Distrikt: https://twitter.com/dfinity/status/1379462844027006976.


fetchpatch: add sortHunks

When fetchpatch sorts hunks, it can move hunks that change a file before the hunk that creates the file.
This can cause the patch to fail to apply when patch attempts to modify a file that doesn't exist yet.

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Need to remove sortHunks before passing on to fetchurl:
diff --git a/pkgs/build-support/fetchpatch/default.nix b/pkgs/build-support/fetchpatch/default.nix
index 2639a7b50895..54ae99051c92 100644
--- a/pkgs/build-support/fetchpatch/default.nix
+++ b/pkgs/build-support/fetchpatch/default.nix
@@ -90,5 +90,5 @@ fetchurl ({
   '' + postFetch;
 } // builtins.removeAttrs args [
   "relative" "stripLen" "decode" "extraPrefix" "excludes" "includes" "revert"
-  "postFetch"
+  "postFetch" "sortHunks"
 ])

Ok, second, more serious, problem: patchutils can only distinguish hunks by filename, and as a result is incapable of dealing with patches containing multiple sections that modify the same file. See:
$ curl https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9897.patch | lsdiff
a/compiler/GHC/Settings.hs
a/compiler/GHC/Settings/IO.hs
a/compiler/GHC/SysTools/Tasks.hs
a/configure.ac
a/hadrian/bindist/Makefile
a/hadrian/cfg/system.config.in
a/hadrian/src/Rules/Generate.hs
b/m4/fp_ld_supports_response_files.m4
a/configure.ac
a/distrib/configure.ac.in
a/hadrian/bindist/config.mk.in
a/m4/fp_ld_supports_response_files.m4
a/m4/fp_ld_supports_response_files.m4
a/m4/fp_ld_supports_response_files.m4
a/m4/fp_ld_supports_response_files.m4
a/m4/fp_ld_supports_response_files.m4

I think it could be fixed by using the --number-files option.
$ curl https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9897.patch | lsdiff --number-files
File #1         a/compiler/GHC/Settings.hs
File #2         a/compiler/GHC/Settings/IO.hs
File #3         a/compiler/GHC/SysTools/Tasks.hs
File #4         a/configure.ac
File #5         a/hadrian/bindist/Makefile
File #6         a/hadrian/cfg/system.config.in
File #7         a/hadrian/src/Rules/Generate.hs
File #8         b/m4/fp_ld_supports_response_files.m4
File #9         a/configure.ac
File #10        a/distrib/configure.ac.in
File #11        a/hadrian/bindist/config.mk.in
File #12        a/m4/fp_ld_supports_response_files.m4
File #13        a/m4/fp_ld_supports_response_files.m4
File #14        a/m4/fp_ld_supports_response_files.m4
File #15        a/m4/fp_ld_supports_response_files.m4
File #16        a/m4/fp_ld_supports_response_files.m4


fix the contact

point to<EMAIL_ADDRESS>and maybe some more social media channels?

Thanks, JW!


Tooltips for symbols

Please add tooltips that explain what each symbol is when you hover over it. For example, there's a box with a right pointing arrow. What is it supposed to do? I thought it was the symbol for exit, but it seems to remove all items from the construction queue. Is that right?

Hi Bee,
Do you mean the logout button that is revealed when the player info box is expanded?


Lounge setup command

We should probabaly write a cli for setting up the config for new users to make deployment easier.
Maybe the first option can ask if you're a "simple" or "advanced" user; advanced could ask about useHexIp, WebIRC, etc and simple could just ask private/public, first account, etc.

Advanced configuration would just be editing the config.json yourself.
As for the simple setup, we could ask a few simple options when starting the server for the first time. But we need to decide which options to ask for (can't ask for all of them obviously).

Public?
Logs?
Prefetch?
Port?
identd?


undefined method '[]' for nil:NilClass when confirming email

Hello,
I am getting a undefined method '[]' for nil:NilClass error when confirming an email. The issue appears very rarely and requires some luck to reproduce. I have noticed the issue appears because the user's tokens doesn't contain the given client id in the line tokens[args[:client_id]]['expiry']. I have been able to reproduce the issue locally (again with very low reproducibility rate) by clicking multiple times to the confirmation link sent by mail. You can find additional information below.

Version:  0.2.0
Request and response headers: http://localhost:3000/auth/confirmation?config=default&confirmation_token=XXX&redirect_url=https%3A%2F%2Fexample.com
Rails Stacktrace:

vendor/bundle/ruby/2.5.0/gems/devise_token_auth-0.2.0/app/models/devise_token_auth/concerns/user.rb:211:in `build_auth_url'
vendor/bundle/ruby/2.5.0/gems/devise_token_auth-0.2.0/app/controllers/devise_token_auth/confirmations_controller.rb:26:in `show'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:194:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
vendor/bundle/ruby/2.5.0/gems/sentry-raven-2.7.4/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
vendor/bundle/ruby/2.5.0/gems/sql_queries_count-0.0.1/lib/sql_queries_count/controller_runtime.rb:14:in `process_action'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:134:in `process'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal.rb:191:in `dispatch'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal.rb:252:in `dispatch'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:34:in `serve'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.19/lib/scout_apm/instant/middleware.rb:53:in `call'
vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.19/lib/scout_apm/middleware.rb:20:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-attack-5.4.0/lib/rack/attack.rb:181:in `call'
vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:25:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/head.rb:12:in `call'
vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/migration.rb:559:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
vendor/bundle/ruby/2.5.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:135:in `call_app'
vendor/bundle/ruby/2.5.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:30:in `block in call'
vendor/bundle/ruby/2.5.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:20:in `catch'
vendor/bundle/ruby/2.5.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:20:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
vendor/bundle/ruby/2.5.0/gems/railties-5.2.1/lib/rails/rack/logger.rb:38:in `call_app'
vendor/bundle/ruby/2.5.0/gems/railties-5.2.1/lib/rails/rack/logger.rb:26:in `block in call'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
vendor/bundle/ruby/2.5.0/gems/railties-5.2.1/lib/rails/rack/logger.rb:26:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in `call'
vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in `call'
vendor/bundle/ruby/2.5.0/gems/sentry-raven-2.7.4/lib/raven/integrations/rack.rb:51:in `call'
vendor/bundle/ruby/2.5.0/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:225:in `call'
vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:658:in `handle_request'
vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:472:in `process_client'
vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:332:in `block in run'
vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread'

Environmental Info:

Routes: default routes
Gems: pg
Custom Overrides:  none
Custom Frontend: mobile app

This might be fixed in #1250, post here if it's still happening when you have this gem from the master branch, otherwise I will close this in 1 month

@MaicolBen I am still seeing the same issue on the lasted commit on master (f929fb4). If it's of any use, I used the following script to test:
require 'faker'

user = User.new(email: Faker::Internet.email, password: '123456789')
user.save!

while true do
  response = HTTParty.get("http://localhost:3000/auth/confirmation", query: { config: :default, confirmation_token: user.confirmation_token, redirect_url: 'https://google.com' })
  if response.code > 299
    p response
    exit 1
  end
end

You must provide provider attribute:
User.new(email: Faker::Internet.email, password: '123456789').valid?
=> false
User.new(email: Faker::Internet.email, password: '123456789', provider: 'email').valid?
=> true

True, but I configured my User model to set the default provider as email.

Checked. Works as expected.
200
#<HTTParty::Request:0x0000558df166c810
 @changed_hosts=true,
 @credentials_sent=false,
 @http_method=Net::HTTP::Get,
 @last_response=#<Net::HTTPOK 200 OK readbody=true>,
 @last_uri=
  #<URI::HTTPS https://www.google.com/?account_confirmation_success=true>,
 @options=
  {:limit=>3,
   :assume_utf16_is_big_endian=>true,
   :default_params=>{},
   :follow_redirects=>true,
   :parser=>HTTParty::Parser,
   :uri_adapter=>URI,
   :connection_adapter=>HTTParty::ConnectionAdapter,
   :query=>
    {:config=>:default,
     :confirmation_token=>"qNzEjKqat1-pzKzs1KA8",
     :redirect_url=>"https://google.com"}},
 @path=#<URI::HTTPS https://www.google.com/?account_confirmation_success=true>,
 @raw_request=#<Net::HTTP::Get GET>,
 @redirect=true>

You do something wrong. You need to know confirmation_token value until you make a request. I think you create user in one environment after try to get request to another one (test and development).
Once again. Create user in a database. Copy confirmation_token. Paste the token into you script.
Play with it:

run rails s in terminal.
run rails c in another terminal and paste there this code:

require 'httparty'

User.delete_all
user = User.new(email<EMAIL_ADDRESS>password: '123456789', provider: 'email')
user.valid?
user.save

response = HTTParty.get("http://localhost:3000/auth/confirmation",
   query: {
     config: :default,
     confirmation_token: user.confirmation_token,
     redirect_url: 'https://google.com' }); nil

response.request

@dks17 I have checked and I am sure that during testing I am using the same environment, I am even seeing this issue in production (only by user interaction) and this is my attempt at reproducing it. Your attempt may have worked because the issue is not 100% reproducible as I stated in the original description, that's why I am sending requests in a loop. I will try to setup a blank project and try to reproduce the issue when I have some time.

 Try to collect all you can and put here at once: user attributes, controller params, request and e.t.c. Don't invent new code that loose relates with you issue like Faker::Internet.email. Because Faker::Internet.email does not provide unique email address and sometimes the tests are failed because of it.
If params[:confirmation_token] contain a token that is not persisted in a database this code returns new user object:
https://github.com/lynndylanhurley/devise_token_auth/blob/f929fb458012a91474f92cd948739cea98bcb419/app/controllers/devise_token_auth/confirmations_controller.rb#L6-L9
@resource = resource_class.confirm_by_token('23')
#=> #<User id: nil, email: nil, reset_password_redirect_url: nil, allow_password_change: false, name: nil, nickname: nil, image: nil, provider: nil, uid: "", created_at: nil, updated_at: nil, operating_thetan: nil, favorite_color: nil>
@resource.valid?
#=> false

And the last. Update the stack trace you provided in the top message after update to the new version of the gem.

I am currently unable to reproduce the issue against the current master, probably done something wrong during my last test. Therefore, I am closing the issue. Just as a side note, the issue seems to be even fixed in 1.1.0, which doesn't seem to include #1250. Thanks for the help you provided.


Proxy is not work on mobile

I use generic digital ocean droplet(ubuntu 16.04), Docker version 18.03.0-ce, build 0520e24 and 2 string from You instructions
docker pull schors/tgdante2
docker run -d --net=host --restart unless-stopped -e PORT=1080 -e USER=user0 -e PASS=secret0 --name tgdante schors/tgdante2

(I change USER and PASS to randon str)
After this, I take access to firewall
ufw allow 1080
And after this, my desktop telegram is work correctly, but mobile is not work
Maybe need to create new user in tgdante2 for every telegram user ore every new device? Or one this config can be used by many tg users without problems? Or I dont understand something

Close issue. Digital Ocean is illegally in my country now (Russia), and some mobile operators is block it very fast.
Proxy is working great, thx for it))


Toggle favorite when click favorite on search screen

Idea Description

Reference images and links

🙋♂

Thanks!! Assigned!!


Rule message leaks to other transaction

Testing
When we use the rule which in modsecurity_crs_20_protocol_violations.conf for tesing:
SecRule REQUEST_URI "\%((?!$|\W)|[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" \
        "chain,phase:2,rev:'2',ver:'OWASP_CRS/2.2.9',maturity:'6',accuracy:'8',t:none,block,msg:'URL Encoding Abuse Attack Attempt',
id:'950107',tag:'OWASP_CRS/PROTOCOL_VIOLATION/EVASION',severity:'4'"
        SecRule REQUEST_URI "@validateUrlEncoding" "setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.warning_anomaly_score}
,setvar:tx.%{rule.id}-OWASP_CRS/PROTOCOL_VIOLATION/EVASION-%{matched_var_name}=%{matched_var}"

First payload
GET /dataproxy.jsp?webname=%A5 HTTP/1.1
m_rulesMessages in transaction count 0
Second payload
GET /dataproxy.jsp?webname=%AZ HTTP/1.1
m_rulesMessages in transaction count 1
Third payload
Then we submit first payload again:
GET /dataproxy.jsp?webname=%A5 HTTP/1.1
m_rulesMessages in transaction count 1
The rulesMessages leaks from second payload to third payload :(
Analyze
We check the source code and find:
rule.cc

bool Rule::evaluate(Transaction *trasn) {
...
    if ((!m_log_message.empty() || !m_log_data.empty())
            && !ruleMessage->m_match.empty()) {
            ruleMessage->m_data = m_log_data;
            trasn->m_rulesMessages.push_back(ruleMessage);
        } else {
            delete ruleMessage;
    }
...
}

When second payload evaluated, m_log_message set the message and leaks to third payload.
When third payload running, first rule return 1. Whatever chain rule result return,  trasn->m_rulesMessages.push_back will be invoked.

Rule messages got a huge refactoring, this is no longer a problem.


Add "Target Android SDK" information to Help > About menu

Feature request from the power users: Add the target SDK supported by App Inventor to the Help > About dialog.

I think I made the correct changes to the source to solve this issue. If I am correct it will look like the following:

I unfortunately cannot test the code I wrote because I am currently working on my Chromebook. You can see the changes I made here.
If everything works when I get back home I will create a Pull Request with the changes.

I found a constant in Compiler.java named TARGET_SDK_VERSION. I thought I had the right idea by importing the com.google.appinventor.buildserver.Compiler package into TopToolbar.java, but that doesn't seem the work. I get the following error when building with ant:
[javac] /home/bart/Programming/bartmathijssen/appinventor-sources/appinventor/appengine/src/com/google/appinventor/client/TopToolbar.java:9: error: package com.google.appinventor.buildserver does not exist
[javac] import com.google.appinventor.buildserver.Compiler;
[javac]                                          ^
[javac] /home/bart/Programming/bartmathijssen/appinventor-sources/appinventor/appengine/src/com/google/appinventor/client/TopToolbar.java:790: error: cannot find symbol
[javac]           "<BR/>Target Android SDK: " + Compiler.TARGET_SDK_VERSION;
[javac]                                                 ^
[javac]   symbol:   variable TARGET_SDK_VERSION
[javac]   location: class Compiler

@bartmathijssen I think you were exploring this and you made the comment that shows as ghost. You would need to move the TARGET_SDK_VERSION into a common package (appengine doesn't depend on buildserver, so Compiler won't be available for import). Once you move the constant to a module that both appengine and buildserver depend on then you can do it this way. The most appropriate place is probably YaVersion.java.


new scc::tlm_target_bfs. A scc::tlm_target based class with callback-enabled bitfields

This feature add a new tlm_target-based class tlm_target_bfs and additional helpers to aid modeling peripherals with callback enabled bitfields.
See examples/ for a basic usage example.

Close Pull-Request. Re-issue in https://github.com/VP-Vibes/SystemC-Components/pull/5 (updated to new scc modularity)


Portal placement wrong when I scroll

Bug report 🐞
Version & Environment

Version of browser

79.0.3945.88 (Official Build) (64-bit) (ubuntu)

Version of geist-ui/react

2.1.0-canary.2

Expection
When I click on a button to show a portal dialog, it should point at the button
Actual results (or Errors)
When I scroll down the page, then click on a button to display a portal, then the modal is pointing at the wrong thing.
<Popover content={this.getEditPopoverContent()}>
    <Button iconRight={<Edit2/>} auto={true} size="mini" ghost={true} shadow={true}/>
</Popover>

Correct:

Incorrect (as soon as the page scroll changes):

I am guessing the portal is globally rendered and not locally to the element it should be triggered from?
Is this a bug or have I done something wrong

I'm not sure, I have not succeeded in reproducing the problem you describe, could you try to provide an online example if possible. (Codesandbox or GitHub CodeSpaces)