response is empty

Everything is going fine but I am getting nothing here its null/false  var_dump($tweets);
$url = 'https://api.twitter.com/1.1/search/tweets.json?';
$getfield = 'q=army';
$requestMethod = 'GET';
$twitter = new TwitterAPIExchange($settings);
$twitterjson =  $twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest();
$tweets = json_decode($twitterjson, true);
var_dump($tweets);
Everything is going good but $tweets is empty/false

Try $getfield = '?q=army';

tried this also. but same result. is there anything else I am missing. I have test var_dump($twitterjson = $twitter->setGetfield($getfield)) this is also good
I have test this in twitter API console there I am getting results

Before you do that, can you also try: ?q=#army

Ok, I will try this and let you know about this..Thanks for your kind help

I have the same problem I checked the keys and tokens like 3 times, and tried 2 examples (including the above mentioned "q=army"), but var_dump() always returns NULL... What else could I possibly do wrong?

@geiszla Have you tried ?q=army. You seem to be missing the ?.

@J7mbo in the example above, the "?" is at the end of the url string, that's why I wrote that. But I tried it both ways, and it still gives me NULL. Meanwhile I figured out, that the empty json is because of the timeout of the request. But I don't know why this happens. It should at least give an error message..

I got that issue while building on my local machine, when I moved it to a testing server online it worked just fine. Where are you currently testing from?

I have a free site on 000webhost: http://anondb.webuda.com/refresh.php,
so it should work. Maybe there is something that should be set up on 000webhost?

I got this error "error:couldn't connect to hostNULL", I'll send you my working code tomorrow when I get back to my desk if you haven't resolved the issue by then.

I found an issue related to my problem: https://github.com/iips-dc/SunriseBaithakApp/issues/8
But it says "cURL is installed by default here. However CurlSSL is only available
with premium accounts.". Is this using curlSSL? And if yes, how can I avoid it?

i have some problem.

It seems this is an environmental issue? It must be something to do with PHP versions or cURL.


Add socket.io API

Add socket.io API

Can this be also used in web panel instead of current 1ms polling?

@behrad it's "Socket.IO JSON API" :)

I see, and why not use it in the default kue express web app?

@behrad  good idea :smiley:

@behrad How to deal with this situation :
app.use(kue.app);
//or
var server = require('https').createServer({
	  key: fs.readFileSync('./privatekey.pem'),
    cert: fs.readFileSync('./certificate.pem')
},kue.app);

Didn't get your point @jackmasa !?

@behrad
Socket.io + Express :
var app = require('express').createServer();
var io = require('socket.io')(app);
//or
var server = require('https').createServer({
      key: fs.readFileSync('./privatekey.pem'),
    cert: fs.readFileSync('./certificate.pem')
});
io.attach(server);

But in many cases this is the use kue:
app.use(kue.app);
//or
var server = require('https').createServer({
      key: fs.readFileSync('./privatekey.pem'),
    cert: fs.readFileSync('./certificate.pem')
},kue.app);

Do you have any good way to get socket.io attach the default kue express?

Any news on this?

I think socket API helps only on more scalable Job creation/management, otherwise one could easily wrap existing HTTP API inside their own socket implementation.
We should separate HTTP API into another module from kue 1.0 and add socket.io there


Gem release

Can you please release a new version to Rubygems.org?
The current highest version there requires Paperlcip ~> 3.4, though 4.X is out
This is fixed on master, by doing '=> 3.4' rather than than the pessimistic operator.
I'm getting around this by doing gem "paperclip-googledrive", github: "evinsou/paperclip-googledrive", but a proper gem release would be nice  :)
Thanks!
Sean

+1


use es2021 for client side typescript

this PR tells typescript about all the new features added to javascript in 2021

oops

Resolved conflicts to match what the original PR meant to do.


Dropdown Fund in trading UI show all

i am using 1-8-stable. Certain coin, like XRP is not visible in currencies. which meant it not setup. In fund page profile also doesnt show XRP.
But when in trading ui, it show all including the coins that have status invisible.

Is this normal behaviour default in trading-ui?

Market#visible is not supported right now.

https://github.com/rubykube/peatio/issues/817


Markdown linting

fix the mix of line-wrapped and unwrapped in the note.
should we find a linter for markdown to enforce uniformity?

could potentially check some of #19  as well?


Warning messages should use 'cancel' instead of 'close'

You can use 'isCloseAffordance' like this: https://github.com/Microsoft/vscode-azurefunctions/blob/master/src/DialogResponses.ts#L13

Resolved!


If the target position is not reachable, the hero will stuck in map and can't cancel current action.

Some times a map random generated, and there is some coins or enemy placed around collision, but I still can find them by findnearestItem or findnearestenemy, so the hero always try to move and I can't cancel the action.

At the moment of speaking, the move command will cancel after a certain amount of time if said location is unreachable.  The hero will say that he cannot reach the location.


[CI] Add benchmark workflow that automatically reports performance regressions

This PR adds a new Github CI workflow that performs benchmarks and reports (in the form of a comment to the respective PR) potential performance regressions.
This is still WIP but I had to open a PR to be able to actually run the workflow on the self-hosted runners.

The github benchmark action recently added a feature that comments benchmark results on pull requests (and updates the results if new commits are added to the PR), so maybe we can merge this and test if it works as expected and then as a follow-up extend the actual benchmarks that are run.


channel/rubocop-0-81 uses rubocop 0.80.1

See here https://github.com/codeclimate/codeclimate-rubocop/blob/channel/rubocop-0-81/Gemfile.lock#L44
Also the compare view with channel/rubocop-0-80 shows only a ruby version change https://github.com/codeclimate/codeclimate-rubocop/compare/channel/rubocop-0-80...channel/rubocop-0-81
Sorry if I'm being too hasty :innocent:
Thank you very much for your work, have a nice day!

Seems fixed


Anyone tried OpenId?

Description
I tried to use OpenId for secure my endpoints, but when the security is not applied. My endpoint returned it's result without the use of my token.
I cloned the dev-2.0 branch and used the hello example.
My swagger config file:
openapi: "3.0.0"

info:
  title: Hello World
  version: "1.0"
servers:
  - url: http://localhost:9090/v1.0

paths:
  /greeting/{name}:
    post:
      summary: Generate greeting
      description: Generates a greeting message.
      operationId: hello.post_greeting
      responses:
        200:
          description: greeting response
          content:
            text/plain:
              schema:
                type: string
                example: "hello dave!"
      parameters:
        - name: name
          in: path
          description: Name of the person to greet.
          required: true
          schema:
            type: string
            example: "dave"

components:
  securitySchemes:
    openId:
      type: openIdConnect
      openIdConnectUrl: http://<IP_ADDRESS>:8080/.well-known/openid-configuration

# Global security
security:
  - openId:
      - admin

curl http://<IP_ADDRESS>:9090/v1.0/greeting/wim --request POST
produces:
hello wim

I think OpenID is not implemented, feel free to propose an implementation/PR (?).

Yeah, sorry @WimDH I haven't had a chance to fully understand OpenID Connect and implement it.
I've been trying to focus on getting the OpenAPI 3 support released with feature parity to Swagger 2, and then after that's released I'm happy to start adding features like this. This is definitely high on the list.

You can still use oauth2 and parse the JWT yourself in x-tokenInfoFunc. Currently there's no programmatic way to access the current token from the authorization header (apart from parsing it again). Maybe I could add that to #686.

@hjacobs @dtkav @cziebuhr from what I understand:
One of .well-known/openid-configuration-listed endpoints is called certs.  It carries a list of dictionaries that are compliant with JWK (Json Web Key RFC 7517). In my Keycloak there is only one and it carries enough info to reconstruct a public key that is required to verify a signature of a JWT token.
in python RSAAlgorithm.from_jwk(keys[0]) where RSAAlgorithm comes from jwt package and keys is a direct output of certs endpoint.
Once signature on token is verified to be coming from the .well-known server, there are usually other checks like audience, expiry and so on.
As an an example unrelated directly to openapi specification i will list below kubernetes spec to demonstrate the difference in groups handling:
spec:
  kubeAPIServer:
    oidcIssuerURL: https://your-oidc-provider.svc.cluster.local
    oidcClientID: kubernetes
    oidcUsernameClaim: email
    oidcGroupsClaim: groups

In JWT token:

might then very easily translate to in openapi.yaml:
paths:
  /pets/{petId}:
    get:
      summary: Get a pet by ID
      security:
        - openId:
          - api-user

Reason I'm listing this is I believe it is important to observe implementation that cares where the GroupClaims are coming from. As you are crafting the token, groups can be placed in different locations. I use groups, but as you are defining a mapping it could be any name. I have not seen such placeholder in the OpenApi3 Discovery specification. I would kindly ask you consider this during implementation.
In Summary: OpenID Connect Discover (oidc) is very close from being fully realized in python for OpenApi. Personally I have both beautiful dreams and nightmares about this section for a long time. I think for all of us, getting to a point where you can use abstracted system like Keycloak, Auth0, Google, Cognito ... with or without federated LDAP that admit control to selected endpoints based on token's self-contained details is very long awaited.

Hello, I am just curious if there is any improvement in this issue.

Hello I am just curious if there was an improvement in this issue. It is something I would like to use

Yep, same for me, are there any news ?

Still no news on this issue?

This feature would be much appreciated.

I'm curious if there is any news on this issue. I would really like to use this.

+1

+1

This would be great, oidc is becoming de-facto.

From what I can tell, it could be as simple as this:
https://github.com/dmarkey/connexion/pull/1/files
But leaves it up to the application to do the JWT validation.


Fixed an error when executing with the OSS version of PowerShell

I had no problem with Windows PowerShell, but when I ran it with the OSS version of PowerShell (v.7.2.4), I got the following error, so I examined the source.
InvalidOperation: C:\Users\username\scoop\apps\winfetch\current\winfetch.ps1:862
Line |
 862 |      foreach ($pkgitem in $CustomPkgs) {
     |                           ~~~~~~~~~~~
     | The variable '$CustomPkgs' cannot be retrieved because it has not been set.

I found that the $CustomPkgs variable in line 962 of winfetch.ps1 was not used and running it as is caused the error, so I commented it out.

This is not an error. You have likely set StrictMode to be On somewhere in your $PROFILE.
This code section is required for custom package manager readout.

Thank you for telling me the cause.
And I'm sorry for the early dust.
Thank you for the your wonderful plugin.


Update UI Dependencies

There's a lot of security alerts related to the UI application's dependencies, which can be seen here:
https://github.com/allenai/pawls/security/dependabot
We should update the dependencies noted there to resolve the associated security alerts.

I'm going to ping Doug Downey and Shannon about this.

Hey @codeviking ! Sorry it seems I don't have access to this link -- https://github.com/allenai/pawls/security/dependabot .. Maybe it requires my role on this GitHub project to be somewhat changed/reconfigured? Thanks!

@lolipopshock Oops. Sorry about that. I just made you an owner of the repository. I also gave all of the S2 Research team write.
Let me know if you still don't have access!

Yeah can see it now! Thanks!


/info endpoint crashes Rita

root@OpenWrt:~# tail -f /var/log/rita.log
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:345:21
note: Run with `RUST_BACKTRACE=1` for a backtrace.

This appears not to be an issue anymore in later versions


Coderrect found zero races - most likely I have missed something.

See https://github.com/ClickHouse/ClickHouse/issues/19897

Hi!
Thanks for trying our tool, and giving feedbacks!
Given the information in your issue post, it seems you are using Coderrect correctly, and the analysis log does seem abnormal.
We are looking into this issue and will let you know once we find anything.


Update to jupyter-packaging 0.10

Fixes #125

Looks good on Binder and locally when installing the CI assets: https://github.com/jupyterlab/retrolab/suites/3236873705/artifacts/75091348


Pagination component

Current situation

On Hub:

On Ask:

On Constable:

Accessibility considerations

Do not use color alone to indicate the current page
On the markup side, encourage use of aria-current, if possible
Have reasonable tap targets

@tysongach what if the framework in use doesn't provide a way to add classes to the generated pagination links, or it generates different markup than expected?

@setphen That’s a good question and something to consider. However, it would also be good to talk specifics, rather than what ifs. As a system, we should expect that each consumer is a unique situation and, where possible, we should provide a level of flexibility that works for those who have hard constraints.
In Rails I think we tend to use the Kaminari gem, which does seem to offer a lot of flexibility.

@tysongach I have the beginning of some work on this component here. A couple of steering questions for you:

What did you envision for smaller breakpoints? I've seen patterns where it collapses into a select element with next and previous page links. We could also just present it as a long list, like what is currently in the CodePen.
How configurable should the first pass be? From our past discussions, I'm assuming less is more, so pick one visual treatment and go with it, and leave things like border, fill toggles, and next/previous arrow icons for later?


Golint/vet warnings in go/client/logclient_test.go

var fiveSeconds is of type time.Duration; don't use unit-specific suffix "Seconds"
var sevenSeconds is of type time.Duration; don't use unit-specific suffix "Seconds"
the cancel function returned by context.WithDeadline should be called, not discarded, to avoid a context leak

There is a similar Govet warning in go/jsonclient/client_test.go:
the cancel function returned by context.WithDeadline should be called, not discarded, to avoid a context leak


Check the render method of 'NavigatorReduxWrapper'.

I've been dealing with this problem for 2 days, After creating a new project, I get this error.
Thanks for your help.

ignite doctor results:
`System
platform           darwin
arch               x64
cpu                8 cores                                    Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
directory          /Users/emre/projects/react-native/demoap
JavaScript
node               10.16.3      /usr/local/bin/node
npm                6.9.0        /usr/local/bin/npm
yarn               1.17.3       /usr/local/bin/yarn
React Native
react-native-cli   2.0.1
app rn version     0.59.9
Ignite
ignite-cli           3.1.0                                                                                /usr/local/bin/ignite
createdWith          3.1.0
boilerplate          ignite-andross
examples             classic
navigation           react-navigation
askToOverwrite       true
generators           {"component":"ignite-andross","container":"ignite-andross","listview":"ignite-andross","list":"ignite-andross","redux":"ignite-andross","saga":"ignite-andross","screen":"ignite-andross"}
boilerplateVersion   4.1.0
Android
java               1.8.0_222    /usr/bin/java
android home       -            /Users/emre/Library/Android/sdk/
iOS
xcode              10.3`

Anyone want to submit a PR?

@ZulianTiger Can you write full path to this file, because i cannot find.

This worked for me. Thanks!

PR has been created for this issue.
Track here at https://github.com/react-navigation/redux-helpers/pull/100


periodic noise(s)

Especially on the cellular side of things, is there a way to generate tiled/toroidal 3D volumes of noise?
https://github.com/aqsis/aqsis/blob/883cc9e027108d596437e231f6d05ef01d0cdda8/libs/math/noise1234.cpp#L325

It's possible for 2D using 4D noise, but there are currently no plans to add the 6D noise required for tiled 3D noise. Certain noise types will get periodic versions that could be used, it's on the to-do list.

@Auburn to be honest, I don't understand how 6D noise can be used to tile 3D noise.  Is there a link somewhere explaining how this is done?  Or some way for me to get my head around it?

Maybe if I understood how to tile 2D noise using 4D noise, I could generalize from there.

If you imagine a 1D line could be made to loop by drawing a circle in 2D, that is basically what happens for each dimension. 1 dimension is moved to 2 dimensions using sin and cos

Thansk @Auburn!


⚠ Tachidesk Server has degraded performance

In 930be84, Tachidesk Server (https://tachidesk.culturecloud.eu.org) experienced degraded performance:

HTTP code: 502
Response time: 9190 ms

Resolved: Tachidesk Server performance has improved in c4fdfa8.


Question: Question regarding the snap

What's the need to symlink the binaries with rustup. Is there any special issue to address. Can you kindly explain? I am trying to understand this snap to use in my snaps. Thanks and Thanks for recreating this.

What's the need to symlink the binaries with rustup. Is there any special issue to address.

Hi, this is because rustup is a launcher. It will try to determine which binary to launch by looking at how you invoke it. If you invoke the rustup binary through a symlink with the name rustc, then rustup will launch rustc.
You need to use rustup as a launcher if you want to use any toolchain binaries installed by it.


input type="url" usability not shown

input type="url" is a supported feature of HTML5 but its usability feature is not available
https://caniuse.com/#search=input type%3D"url"
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url

It's found at https://caniuse.com/#feat=input-email-tel-url , have added input type="url" as search keyword.


Toolkits for Open Source Project Management

催更来了。有个疑问，topic 是关于 management toolkit for open source project 还是 open source project management software。例如 Jira 是个可以用来管理 software project 的 toolkit 但是他本身并不是 open source 的。这也是个有意思的问题，需要一切面向 Open Source 吗 😂

@lqhuang management toolkit for open source project

I have some questions of interest:

How to ensure that there is no duplicated issue?
How to make a issue can always link to most of the issues relates to it?
How to notify the people interested in a issue as soon as the blocking issues get solved?


Feature: Simulate Pods scheduling process in any existing clusters

Hi, I am new to this project (from scheduling-plugin sig). I learned about the kube-scheduler-simulator. In my option, this simulator only simulate pods scheduling process in a new simulation cluster, which means it can't simulate a real cluster for now(e.g production environment) . Is it possible to simulate pods in an already exist environment?
I am interesting in contributing to this project, maybe I need to learn more details about it.

Hi @lianghao208 :)
Currently, when you start the simulator, there are no resources on the simulator, and we have to create resources(pods, nodes, ...) one by one to simulate cluster.
#28 is one idea to enable user to export current resources on the simulator to some file and import resources with that file later.
But your idea is importing resources from a real cluster, right? That makes sense to me.

I am interesting in contributing to this project, maybe I need to learn more details about it.

Yes, you can work on this feature if you want. I will support you as much as I can.

But your idea is importing resources from a real cluster, right? That makes sense to me :)

Yes, my idea is to import a real cluster's etcd data (etcd's endpoint, certs are needed) into the simulator, then the simulator will create the same resources as the imported cluster's.

Yes, you can work on this feature if you want. I will support you as much as I can.

Thank you, I will try to work on this.

my idea is to import a real cluster's etcd data (etcd's endpoint, certs are needed) into the simulator, then the simulator will create the same resources as the imported cluster's.

I see.
Let me ask you one question. Can't most users get certs of etcd easily because getting etcd certs requires strong permissions in the cluster? Do you expect the administrator to use this export feature? Or is there an easy way for users to get the cert for the real cluster etcd? (I'm not very familiar with etcd certificate in Kubernetes.)
I think there are several ways to achieve this import feature, including your way. And the way I'm thinking is to get resources from api-server of real cluster.

I will try to work on this.

Thanks. Feel free to /assign :)

/kind feature

Hello, thank you very much for this project, I look forward to it very much. We also need to check the scheduling situation on a real kubernetes cluster. We operate and maintain about 60+ kuebrnetes clusters. As a cluster administrator, users often ask why two Pods are scheduled to one node, which causes container exceptions, such as local PV cannot be allocated. We can only increase the scheduler's log level  to 9 to view the log. We hope this project can help us. And In this way，I think we should get information from apiserver instead of etcd. After all, providing etcd's certificate means that there is one more entry for the cluster to be destroyed. And Apiserver can use webhook to integrate various authentication channels.

By #64, we created a new service to export/import all resources.
I think we can use that to achieve this.

users passes information to connect kube-apiserver in existing cluster.
When simulator is start, fetch all needed resources from existing cluster (via kube-apiserver)
import that resources via Import func (ref)

should be enough, maybe?

/cc @196Ikuchil

Hi👋
I would like to work on this issue, ok?

@196Ikuchil
Yes. I think it should be Okay.
(@lianghao208 Sorry if you've already worked on this. Thanks for proposing this nice feature.)

/assign

@sanposhiho It's ok, I think @196Ikuchil will have a better solution. I can review @196Ikuchil 's PR after it has been submitted.

users passes information to connect kube-apiserver in existing cluster.
When simulator is start, fetch all needed resources from existing cluster (via kube-apiserver)
import that resources via Import func (ref)

If the whole process can be separated into multiple tasks, I would like to work on some of them too.

@lianghao208

I can review @196Ikuchil 's PR after it has been submitted.

Thanks.
Since this feature enables the communication between real-world Kubernetes and the simulator and I'm not very experienced as a Kubernetes operator, having a reviewer other than myself would be very helpful.

If the whole process can be separated into multiple tasks, I would like to work on some of them too.

Yeah. In detail, I think the following changes are needed.
Please let me know if there are any concerns, lack of explanation, or other good ideas.

create an option to enable this import from existing cluster feature.

All options for the simulator are located here: https://github.com/kubernetes-sigs/kube-scheduler-simulator/blob/master/config/config.go

add ignore error option in Export and Import method in ExportService.
When ignore error option is passed, Export method shouldn't return errors and log the error instead.

The simulator may only be able to get some of the resources due to lack of permissions or other reasons.
And some users may want to import just some of the resources from an existing cluster.
So, use this ignore error option when getting resources from existing cluster.

create CopyResourcesService (tentative name) and all logic for this feature should be in that service.

CopyResourcesService will have two ExportService; one is for api-server in the simulator, the another is for existing cluster.
CopyResourcesService fetches all resources from existing cluster via Export method in ExportService for existing cluster. and Import them via Import method in ExportService for api-server in the simulator.
CopyResourcesService should be crated only when this feature is enabled by the option.

To create ExportService for the existing cluster, we need to create client from .kubeconfig file.

ExportService for the existing cluster requires creating other services for existing cluster as well.

documentation for this feature.

@lianghao208 @196Ikuchil
If we can reach an agreement on this, I think we can proceed with development in sections. (Then let's discuss and decide who will be in charge of changing which parts of this feature.)

@sanposhiho
I generally agree.
I have implemented the ExportService, so I should be in charge of this at least.

add ignore error option in Export and Import method in ExportService.

@sanposhiho
Hi, I'm working on the second issue.
Where should we pass the ignore option? By ExportService or each method calling?
type Service struct {
	client               clientset.Interface
	podService           PodService
	nodeService          NodeService
	pvService            PersistentVolumeService
	pvcService           PersistentVolumeClaimService
	storageClassService  StorageClassService
	priorityclassService PriorityClassService
	schedulerService     SchedulerService
	ignoreErr            bool // this
}
...
func NewExportService(client clientset.Interface, pods PodService, nodes NodeService, pvs PersistentVolumeService, pvcs PersistentVolumeClaimService, storageClasss StorageClassService, priorityClasss PriorityClassService, schedulers SchedulerService, ignoreErr bool) *Service {
....

source code
OR
func (s *Service) Export(ctx context.Context, ignoreErr bool) (*ResourcesForExport, error) {
...

source code
The first one looks better for me because this ignore error option is clearly determined by whether it is for local or external, I think.

I think this point also is not determined.
When should we pass the config file (like a kubeconfig)?
Is it when we launch the scheduler on the terminal? (e.g. environment variable)

there is a possible config file that also has already been prepared if someone does set ignore error option to true before launch.
config file is imported directly. (Not through the network.) This is more secure, If the schedular work on an external server.

Or, is it via a web form?

it is easy to manipulate for any user.
It is easy to reupload(reimport) another config file.

Where should we pass the ignore option? By each ExportService or each method calling?

I prefer each method call. And it should be implemented as functional option pattern.
https://github.com/uber-go/guide/blob/master/style.md#functional-options

The first one looks better for me because this ignore error option is clearly determined by whether it is for local or external, I think.

-1. We may use it in different places in the future. We can never fully know how it will be used in the future.
Since the number of methods is not very large, it is better to implement options for each function, so that they can also be used flexibly in the future.

When should we pass the config file (like a kubeconfig)?

Please use KUBECONFIG environment variable. We don't really need to care about this cuz we can use clientcmd.NewDefaultClientConfigLoadingRules().
See the client-go's documentation.
https://pkg.go.dev/k8s.io/client-go/tools/clientcmd

Hi @sanposhiho @lianghao208
I have finished the prework of this issue and it was merged.
So, I'd like to start the work on the remaining tasks.
If you have any messages, feel free to mention me on here👌

/reopen
The remain task is the documentation.

The remain task is the documentation.

I'm waiting for the #106 issue to be resolved.

Hi @196Ikuchil does the above PR also fixes #106 or it partially implements that? I'm also in way to add documentation as part of that issue.

Hi, @pravarag Sorry for my confusing comment.
That PR doesn't fix issue #106 I think. It describes how to use the function of importing existing clusters.
But, indeed, it also describes some environment variables.
So, could you add those environment variables to your documentation?
Thank you!

Hi, @pravarag Sorry for my confusing comment. That PR doesn't fix issue #106 I think. It describes how to use the function of importing existing clusters. But, indeed, it also describes some environment variables. So, could you add those environment variables to your documentation? Thank you!

Thanks for mentioning, I'll add the above ones as well.


flutter build apk always fails with error: Could not determine the dependencies of task ':app:processReleaseResources'

Description
Everything is fine until I upgrade my flutter sdk to latest stable version v1.17.1 yesterday.
Now I can still run my app in debug mode or run in release version, but I just can't assemble any release apk via flutter build apk command.
Below is the main error message:
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Failed to notify dependency resolution listener.
   > sun.security.internal.spec.TlsMasterSecretParameterSpec.getExtendedMasterSecretSessionHash()[B

Weird thing
I tried figure out which step is wrong, using flutter build apk -v command, here is output:
// many success steps are omitted, below is the wrong part:
[  +32 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +117 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +3 ms] executing: [/Users/yuanqin/Desktop/projects/vmgirls/android/] /Users/yuanqin/Desktop/projects/vmgirls/android/gradlew -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64
-Ptarget=lib/main.dart -Ptrack-widget-creation=true -Pshrink=true assembleRelease
[+2283 ms] FAILURE: Build failed with an exception.
[   +2 ms] * What went wrong:
[        ] Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
[        ] > Failed to notify dependency resolution listener.
[        ]    > sun.security.internal.spec.TlsMasterSecretParameterSpec.getExtendedMasterSecretSessionHash()[B
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 2s
[ +374 ms] Running Gradle task 'assembleRelease'... (completed in 2.9s)
[   +6 ms] "flutter apk" took 4,760ms.
Gradle task assembleRelease failed with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      buildGradleApp (package:flutter_tools/src/android/gradle.dart:407:7)
#2      _rootRunUnary (dart:async/zone.dart:1192:38)
#3      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#4      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#6      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#7      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#10     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#11     _rootRunUnary (dart:async/zone.dart:1192:38)
#12     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#13     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#15     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#16     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#17     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#18     _rootRun (dart:async/zone.dart:1184:13)
#19     _CustomZone.run (dart:async/zone.dart:1077:19)
#20     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#24     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

This is the command that gets wrong in ablow output:
[   +3 ms] executing: [/Users/yuanqin/Desktop/projects/vmgirls/android/] /Users/yuanqin/Desktop/projects/vmgirls/android/gradlew -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64
-Ptarget=lib/main.dart -Ptrack-widget-creation=true -Pshrink=true assembleRelease

However, when I enter <project>/android folder, and manually run  the command .gradlew -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib/main.dart -Ptrack-widget-creation=true -Pshrink=true assembleRelease, weird things happened, I successfully generated apk without any errors:
CLICK ME to see logs
> Task :app:compileFlutterBuildRelease
[  +28 ms] executing: [/Users/yuanqin/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +50 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f7a6a7906be96d2288f5d63a5a54c515a6e987fe
[        ] executing: [/Users/yuanqin/flutter/] git tag --contains HEAD
[ +301 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.17.1
[  +14 ms] executing: [/Users/yuanqin/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/yuanqin/flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +89 ms] executing: [/Users/yuanqin/flutter/] git rev-parse --abbrev-ref HEAD
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[   +7 ms] executing: sw_vers -productName
[  +18 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +20 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E287
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +11 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[  +86 ms] Initializing file store
[  +14 ms] Done initializing file store
[+1710 ms] Skipping target: kernel_snapshot
[ +221 ms] aot_android_asset_bundle: Starting due to {InvalidatedReason.outputMissing}
[ +287 ms] aot_android_asset_bundle: Complete
[ +404 ms] Skipping target: android_aot_release_android-arm
[   +1 ms] android_aot_bundle_release_android-arm: Starting due to {InvalidatedReason.outputMissing}
[   +7 ms] android_aot_bundle_release_android-arm: Complete
[ +123 ms] Skipping target: android_aot_release_android-arm64
[        ] android_aot_bundle_release_android-arm64: Starting due to {InvalidatedReason.outputMissing}
[   +8 ms] android_aot_bundle_release_android-arm64: Complete
[ +105 ms] android_aot_release_android-x64: Starting due to {InvalidatedReason.inputChanged}
[   +5 ms] executing: /Users/yuanqin/flutter/bin/cache/artifacts/engine/android-x64-release/darwin-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=/Users/yuanqin/Desktop/projects/vmgirls/.dart_tool/flutter_build/93bb596af109e3e0b3f18972f8d4668a/x86_64/app.so --strip --no-causal-async-stacks --lazy-async-stacks /Users/yuanqin/Desktop/projects/vmgirls/.dart_tool/flutter_build/93bb596af109e3e0b3f18972f8d4668a/app.dill
[+10191 ms] android_aot_release_android-x64: Complete
[  +93 ms] android_aot_bundle_release_android-x64: Starting due to {InvalidatedReason.inputChanged}
[   +7 ms] android_aot_bundle_release_android-x64: Complete
[  +72 ms] Skipping target: _composite
[        ] Persisting file store
[  +11 ms] Done persisting file store
[   +9 ms] build succeeded.
[  +14 ms] "flutter assemble" took 13,511ms.

> Task :url_launcher:compileReleaseJavaWithJavac
Note: /Users/yuanqin/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.4.7/android/src/main/java/io/flutter/plugins/urllauncher/WebViewActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:transformClassesAndDexWithShrinkResForRelease
Removed unused resources: Binary resource data reduced from 78KB to 70KB: Removed 9%

> Task :app:stripReleaseDebugSymbols
Compatible side by side NDK version was not found.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libflutter.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libapp.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libflutter.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libapp.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/x86_64/libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '/Users/yuanqin/Desktop/projects/vmgirls/build/app/intermediates/merged_native_libs/release/out/lib/x86_64/libapp.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.

BUILD SUCCESSFUL in 57s
349 actionable tasks: 314 executed, 35 up-to-date

This is very strange, isn't it ?
Possible solutions I have tried:

fully delete flutter sdk and install latest stable version, not working.
create anoter new flutter project, still can't build apk.
using another proxies(since I'm in China), not working.

Steps to Reproduce
flutter create example
cd example
flutter build apk

Other information
Output of flutter doctor -v:
CLICK ME

[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-CN)
    • Flutter version 1.17.1 at /Users/yuanqin/flutter
    • Framework revision f7a6a7906b (4 days ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/yuanqin/Library/Android/sdk
    • Platform android-29, build-tools 29.0.1
    • ANDROID_HOME = /Users/yuanqin/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods. For more info, see https://github.com/flutter/flutter/issues/14293.
      To re-install CocoaPods, run:
        sudo gem install cocoapods

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.45.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Redmi Note 7 Pro • ec1dca5c • android-arm64 • Android 10 (API 29)

! Doctor found issues in 3 categories.

At last
I don't want to bother you guys, but I have spent hours on this problem, and still can't find a solution.
Sincerely thank you for help.

Problem solved after rebooting my computer.


Color Optimization in Website to differentiate Cards and Navbar

@mdazfar2
I have analyzed the website and found that the cards and navbar is diffused with the background color ,so to feel like its really a card and a different section I have given the unique color combo according to the theme of your website .
To correct that please allow me to this repo.
also, add some labels like @hackoteberfest , @gssoc,etc..
Screenshot 1:

Screenshot 2:

@thakuratul2 @Kavita1928
What are your opinions on it?

@thakuratul2 @Kavita1928
What are your opinions on it?

@mdazfar2 :-Thank you for responding ,I want to change some color opacity of  navbar and cards to make it distinguise b/w them  I saw this issue in many pages.

I would like to work on this issue , as I have a strong background in CSS and HTML. Please assign me under GSSOC'24 extended.

@mdazfar2  According to me present color gradients  are good

@mdazfar2 According to me present color gradients are good

@Kavita1928 Alright! closing issue for now.

@Kavita1928 :there is clear diff b/w this two pictures which posted above and if you will apply it you can get good visibility and showing diff b/w cards and rest of things this also make diff. in contact page .
@mdazfar2 :-can you assign me this repo. also i will change some more things which will add some attractiveness to this web-application.

@Trumilnasit, if you really want to contribute, please look at issue #159 and ping me accordingly. Thank you. Only PRs that are necessary will receive the GSSoC label; changing colors and text won't qualify. Please don't be discouraged, I appreciate your interest in contributing. Thank you.


Fix: fixes for PR #5032 build failed.

Fixes for PR#5032 build failed.

/azp run java - storage - ci

Testing closed.


ERROR: Invalid answer from server

HA: 2022.2.9
Install: Manual Supervisor

Here is what i see when starting a new integration.

XMR Pool Statistics
Setup XMR Pool Wallet
'Name of the Wallet'
'Wallet Address'

ERROR: Invalid answer from server
Wallet Address is the easy one, but i'm thinking Name of the Wallet is where my ignorance lies. i've tried

wallet name as shown in my Monero Wallet GUI
the miner id used in my minor pool
the url to the minor pool that i use

What am I missing? What should go in that 'Name of the Wallet' ?

Hello, name of wallet is any name of your choice. To be honest I did try only 'simple, one-world names', e.g. XmrWallet
Wallet name is used as part of entities names.
Please take a look as well to this issue: https://github.com/hwmland/homeassistant-xmrpool_stat/issues/4#issue-1059755344
Please try to copy here relevant part of the log if you'll not be successful with this integration yourself (preferably enable debug log for this integration)


📃: Movie Finder

:red_circle: Title : Movie Finder
:red_circle: Aim :  Movie Finder is a website through which users can easily find every possible information regarding a particular movie.
:red_circle: Tech Stack Used :  HTML, CSS, Javascript
Screenshots 📷
Sample screenshot ( will be enhacing the UI further)

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Siddheya Kulkarni
What is your participant role? GSSoC Participant

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Asymtode712 go ahead.


Use terminal if using nvim

terminal escape characters are displayed when using ! in neovim
opens the terminal output in a vsplit instead

A very primitive workaround to get the terminal output displaying correctly in neovim. Opens up a vsplit with the terminal output.


split datafusion-object-store module

Which issue does this PR close?

Closes #1772.
Rationale for this change

By splitting the object store into a separate module, the object stores in datafusion-contrib no longer need to depend on the whole datafusion crate. They only need to depend on this separated module. What's more, if we hope to introduce the object stores in datafusion-contrib as some featuers in the datafusion crate, the issue of dependency cyclic can be avoided.
What changes are included in this PR?

Introduces a new crate datafusion-storage for object store interfaces.
Moves the object store in previous datasource mod into this new datafusion-storage crate.

The reason of still keeping ObjectStoreRegistry in the datafusion crate is

for future introduces object store features which can make it possible to have many default object stores besides the LocalFileSystem, like HadoopFileSystem in datafusion-objectstore-hdfs, S3FileSystem in datafusion-objectstore-s3.
the object stores in datafusion-contrib don't need it.

Are there any user-facing changes?

Hi @Jimexist, @matthewmturner, @yjshen,  @alamb, could you help review this patch?

Overall looks good.  I think my only point, similar to what we discussed before, is on some of the ObjectStore functionality that is still hanging around in datafusion core i.e. ListingTable and functionality in datasource.  I know the ObjectStore doesnt need them and this keeps datafusion-storage light, which of course is nice.  To me they just seem logically coupled so at first was odd seeing the functionality split like that.
That being said, i have given this more thought and given how the above mentioned functionalities leverage physical plan, etc. i do think it makes sense to have datafusion wrap these functionalities together.  just walking through my thought process out loud :)
thanks for this.

To me they just seem logically coupled so at first was odd seeing the functionality split like that.

🤔  maybe it is time for datafusion-listing-table crate

🎉


Programmatic API

Hi @nmaro. What about to have programmatic API for ooth alongside HTTP?
That will allow creating ooth-based services that can communicate not only by HTTP, but any transporter (e.g WebSocket, RabbitMQ, NATS, etc) and with the power of any framework (e.g. seneca, moleculer, sails, koa, etc.).
In this way, current HTTP API, which is now hard tied to express, may become an express router which uses programmatic API internally.
As far of now I can't find any way to integrate ooth with some existing code base than make fetch/request to ooth's HTTP endpoint, and that looks like a pretty strange (and expensive in latency) solution.

I like this

Hey @katsanva since I believe this will generate a major release I think we need to discuss the details a bit more.
Ooth is coupled to express, because it is coupled to passport.js which injects the user in the request and session. I think I need a better idea of where you want to make the decoupling cut. Could give some examples of

methods that you would like to call on such a programmatic API (and what they would do).
What you would give to the ooth constructor instead of an express app.

A note: the express app provided to ooth is used to

register a few global middlewares (cookieParser, bodyParser, passport and expressWs)
register express.Router to which all routes are registered (methods called are all, get, ws, post).

Hey, @nmaro
Its all about to decouple oooh from express and HTTP protocol only.
The idea is to make same API to HTTP one, like POST /local/register -> ooth.local.register() and so on. Going this way to create an instance you need only to define what strategies should ooth use and what backend for users to use.
It may be the best way to re-use passport strategies without actual passport.js usage.
The express usage may persist in some ooth-express package, which will only call ooth.local.register() and so on under the hood.

Now every method registered with
ooth.registerMethod can be called with ooth.callMethod
For example with ooth-local it is now possible to run
ooth.on('register', ({_id, email, verificationToken}) => ...))
await ooth.callMethod('local', 'register', { email, password })
If this doesn't satisfy all your use cases just let me know, I'll close this for now.


Cards: Title & Block Color Properties in Theme - No effect?

Describe the bug
There are two properties in the Cards section of the Dark Theme file and I set their values as follows:

$clr-card-block-color:  #DE0063;   //A dark pink
$clr-card-title-color: #00CF92;  //A bright green

After compiling and running the Dark Theme in the Kitchen Sink demo, I looked at all of the pages in the Cards section. However, I couldn't see any traces of the pink or green in the cards. The other colors I changed were white for the background and light gray for the border color.
$clr-card-bg-color: #fff;
$clr-card-border-color: #CBD2D6;
Steps to reproduce the behavior:
I made changes to the properties shown in the file:
clarity-master/src/clr-angular/utils/_theme.dark.clarity.scss

Change the values in the dark theme file as noted above.
Run the Clarity Kitchen Sink app.
View the Cards section of the demo.
Look for any trace of the pink or purple in the cards demo'd on all of the Cards pages.

Expected behavior
There aren't any notes in the theme file detailing what to expect. I was thinking the two properties would change either some text color in those sections or the background color. Being able to set both heading text and section background colors independently would be cool.
Versions
Kitchen Sink app as downloaded from Git on Monday, Jan. 7, 2019.
Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: Appears to be v1.0.3

I have verified that $clr-card-block-color is not being used and will remove it.
I've verified that $clr-card-title-color works after the changes in #2942
Same with bg and border-color.


Simple Conditional Layer

Adds a simple conditional layer which allows for key colors to be set based on a boolean value read from a game state integration.

Everything looks good! Thanks for the contribution!


AttributeError when running OGset.py

Hi Sina,
I've been trying to run read2tree in multispecies mode using a custom set of marker genes (200) for 24 primate species I downloaded from OMA using the tutorial you've provided. The first step of building the 01-03 folders worked but when running with the reads of the first species, it abruptly stops after finishing the mapping step, just when it starts to run OGset.py.
Traceback (most recent call last):   File "/scratch_isilon/groups/compgen/scuadros/r2t/bin/read2tree", line 4, in <module>     __import__('pkg_resources').run_script('read2tree==0.1.5', 'read2tree')   File "/scratch_isilon/groups/compgen/scuadros/r2t/lib/python3.10/site-packages/pkg_resources/__init__.py", line 706, in run_script     self.require(requires)[0].run_script(script_name, ns)   File "/scratch_isilon/groups/compgen/scuadros/r2t/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1555, in run_script     exec(script_code, namespace, namespace)   File "/scratch_isilon/groups/compgen/scuadros/r2t/lib/python3.10/site-packages/read2tree-0.1.5-py3.10.egg/EGG-INFO/scripts/read2tree", line 16, in <module>   File "/scratch_isilon/groups/compgen/scuadros/r2t/lib/python3.10/site-packages/read2tree-0.1.5-py3.10.egg/read2tree/main.py", line 360, in main   File "/scratch_isilon/groups/compgen/scuadros/r2t/lib/python3.10/site-packages/read2tree-0.1.5-py3.10.egg/read2tree/OGSet.py", line 494, in add_mapped_seq AttributeError: 'Mapper' object has no attribute 'og_records'
I have installed read2tree from source, creating an environment with conda, installing all dependencies with conda and then downloading and installing read2tree.  I tested the installation with the toydataset in read2tree/tests and it worked without problems.
I've attached the mplogfile as well.
mplog.log
Lastly I'm running this in an Slurm Scheduled HPC, asking for 70 GB of memory.
I don't know if this is related to the fastqs I am giving as input, or the installation of read2tree. I would appreciate if you have an idea on this problem.
Many thanks!
Sebastian

Hi Sebastian
Thanks for contacting us.  I closely read the description and the log. I appreciate all the details you provided us.
However, I just ran read2tree with the same procedure for marker gene set and a read dataset and I couldn't reproduce the error.
It would be great if you could start over from an empty folder and run with read2tree --debug, so we will have the bam files. The new run will help us to know whether there was a rare memory/disk issue of the system.
I would be happy to try read2tree with your read dataset if it is possible to share it with us.
Best,
Sina

Hi Sina,
Thanks for your reply! I have run the same command with teh --debug option, here's the associated mplog file
mplog_wdebug.log
The .phy files in the 03 directories appear to be there. Here's the output of the ls of the ouput directory
list_out.txt
I would really appreciate if you could try from your side with my input , but it appears the fastqs are a bit too big (376 MB) for github, is there a way I can share them with you via a drive or something else? Basically these are a 4% subset of the reads for samples from Kuderna et al.2023. I can also try and subset a smaller % of the reads. Let me know what suits you best.
Thanks again!
Sebastian

Thanks.  I assume you got the same error (the error appearing in terminal is not reported in the log file). Could you please try google drive to upload the your read set and share the link with me?

Thanks for providing the data.
It seems that the sequencing coverage is very low to generate the consensus sequence for building the MSA and tree as all of the 04_mapping_PD_0001_paired_subset_1/{species}_OGs_cov.txt  are nan, they should be some integer values in at least few of genes. I admit that the error report and logging should be improved.
I can see there are around 2.6m reads in the sample so the sequencing coverage would be 0.2x. We had some cases that the we were able to infer trees with such coverage, however this depends on the sampling strategy of reads and the gene markers. In your case, very few of the reads were mapped to the 200 genes.
Would it be possible for you to run with more reads? maybe a coverage of 5x, 5*3Gbp/300bp=50m reads.
Best,
Sina

Hi Sina,
Thanks for running it from your side!
Interesting, yes the coverage factor makes sense, specially given that there's only 200 markers.
The sampling setup was originally designed to give as input to MitoFinder to eventually build mitochondrial phylogenies. 4% of a single fastq seemed to do the trick for most cases (also because the program used A LOT of memory and given it a higher proportion of reads would have been a computational burden).
Also a small detail is that these reads have been trimmed with cutadapt. From what I've understood read2tree gets rid of the necessity of all these filtering procedures, so I don't know if that can affect something (or maybe not at all).
I will try with sampling a higher proportion of reads to get to the numbers you propose and run read2tree again. I'll let you know if it works then.
Thanks a lot again.
Sebastian

Hi Sina,
I've been trying to run with different subsampling levels and even giving it the whole fastq (from a given lane, the samples are multiplexed so around 65M reads) but the error stays the same. I've also tried other samples to no avail. The *_OGs_cov.txt files only have nan values, which I don't finish to understand why. The 24 species chosen for the OGs should be representative of the whole primate phylogeny (also because there are only primates available with OMA).
Also the first step to generate the 01-03 directories should only be run once unless you change the set of OGs/species you build your reference with right?
I can also get the full fastq for a given sample (no demultiplex) by converting alignments we already produced, to have full 30X coverage. But other than that I don't have much more ideas to explore.
Thanks.
Sebastian

Thanks for the follow-up and sorry for late reply. I'm downloading the ERR10941432 dataset and I will run read2tree and update you afterwards.

It looks working
$  ls -alth ERR10941432.fastq
-rw-r--r-- 1 s r 25G Mar 31 13:58 ERR10941432.fastq

$ read2tree --debug  --tree     --standalone_path  marker_genes  --reads  ../data/ERR10941432.fastq   --dna_reference  dna_ref.fa   --threads 48 --output_path output1

 $ head  04_mapping_ERR10941432//MACFA_OGs_cov.txt
#species,og,gene_id,coverage,std
MACFA,OG960714,MACFA25325,1.4259043173862311,0.6619733979873893
MACFA,OG969202,MACFA24806,2.400735294117647,1.4314223861522688
MACFA,OG1134907,MACFA25459,1.637313432835821,0.7773540695983083
MACFA,OG1185253,MACFA12063,nan,nan
MACFA,OG1215693,MACFA25545,1.9624470018170805,1.0223640121290376
MACFA,OG975665,MACFA05452,2.206997084548105,0.7487661512532715

could you also send us the mplog.log file, the output log, and the command line?
I'm also wondering whether you started a new folder when re-running read2tree with the new dataset. or (or removing the mplog.log file and the output folder). Otherwise, read2tree uses the faulty output of previous unfinished run.

Hi Sina,
Apologies for the late reply. I've run again read2tree in a couple of different samples and it worked this time around with 65-69M reads! When it was failing before with the same samples I did delete the output directory but not the mplog file so I don't know if that could be the reason why it failed previously.
My question now is, if read2tree is run in multispecies mode, and for one pair of sequences it fails. Should the mplogfile be deleted together with the respective subdirectories in the output directory before fixing the error and launching read2tree again?
Thanks a lot for the help. I think with this last question resolved the issue can be closed.
Sebastian


Issue on IOS14

Somme random issue on IOS14

What a actual of issue? Can you describe it ?

Please use the issue template.


Question: does LinearMouse affect trackpad behaviour?

Or does it only apply to external mice?

It only applies to external mice.

Is it possible to make it work with trackpads?
CursorSense seems to have done it somehow but I'm not sure they use the same mechanism as you do.

Hi, @Atemu!

Is it possible to make it work with trackpads?

Technically, yes. LinearMouse, as the name suggests, is designed to ignore trackpads. It should affect trackpads if the following guard in the code is removed:
https://github.com/linearmouse/linearmouse/blob/aa29cd7ff6b37586fa04190f834f308c817d6293/LinearMouse/CursorManager.swift#L99-L102
I believe trackpads use kIOHIDPointerAccelerationTypeKey instead of kIOHIDMouseAccelerationTypeKey. So if you'd like to change the acceleration of trackpads, kIOHIDPointerAccelerationTypeKey could be the right property.

CursorSense seems to have done it somehow but I'm not sure they use the same mechanism as you do.

I think so, though CursorSense isn't open-sourced. :)

CursorSense isn't open-sourced

That's why I'm here ;)
If it's feasible by your evaluation, I'll create a separate issue and maybe try to hack on it myself. Thanks!


New replication APIs to support blob_id generation

Extend the create pg API to accept a list of replica configs (struct with peer_id and replica_ordinal)
Add an API to get the list replica configs of the peers

@raakella1 pls if you can link the PR with issue

Closing this issue as it is not necessary. This issue was opened when we were planning to use an 8 bit ordinal for blob id. That design is scrapped.


Allow 360 as Hue

Currently we can't have hsl(360, 100%, 50%) with this PR it's allowed value.
I could have updated modPos:
modPos :: Number -> Number -> Number
modPos x y | x == y = y
modPos x y = (x % y + y) % y

But don't know if it would correct for it's usage in here:
hue' c | maxChroma == red   = ((g - b) / chroma') `modPos` 6.0

I'm currently on holidays and not able to review this properly, but I'll get back to you when I'm at home.

Thanks!

Welcome!

I think you have not made a new release? 3.1.0?

I'll create a new release when we have integrated the HSV stuff.

3.1.0 is out, Thanks!

Nice!
You forgot to add Allow 360 as Hue in the release description :p


Revert "[Swift] This test infloops, disable while people fix the unde…

…ryling problem."
Erik committed a compiler fix.

@swift-ci test and merge


Ionic2: Http sends ERROR :{"isTrusted":true}

Ionic2: Http sends ERROR: {"_body":{"isTrusted":true},"status":200,"statusText":"Ok","headers":{},"type":3,"url":null}

Hello! While we appreciate you opening an issue with us I am going to close this issue and ask that you open a new one that has the issue template filled out please.
When doing so please provide a sample application via GitHub that demonstrates the issue you are having.
Thanks for using Ionic!


http mode for Google Cloud Run?

I tried to set up the proxy as container in Google Cloud Run environment.
The proxy only allows https.
The Google Load Balancer uses https on client side (with Googles app.run certificates), but uses http behind this balancer to forward request to the container.
Is there any chance to use http?
Or does anyone know how to configure cloud container environments like GCR to use https on backend?

Non-technical hobbyists will inevitably shoot themselves in the foot if we make it easy to use tesla-http-proxy without TLS. So we won't be doing that.
However, tesla-http-proxy is a fairly thin CLI on top of the Proxy package, and so users should be able to create a HTTP-only client without needing to fork the repository.

I tried to set up the proxy as container in Google Cloud Run environment. The proxy only allows https. The Google Load Balancer uses https on client side (with Googles app.run certificates), but uses http behind this balancer to forward request to the container.
Is there any chance to use http? Or does anyone know how to configure cloud container environments like GCR to use https on backend?

Facing the same problem... Were you able to find a solution?

Facing the same problem... Were you able to find a solution?

I forked the repository and added http/http handling based on used port.
If you are using port 80 or 8080, http is used.
Then I used my repository to create CloudRun container and set port 80 in the Goggle container config.
https://github.com/RonnyWinkler/teslamotors-vehicle-command/blob/main/cmd%2Ftesla-http-proxy%2Fmain.go#L113

@RonnyWinkler that worked, thank you!

Facing the same problem... Were you able to find a solution?

I forked the repository and added http/http handling based on used port. If you are using port 80 or 8080, http is used. Then I used my repository to create CloudRun container and set port 80 in the Goggle container config.
https://github.com/RonnyWinkler/teslamotors-vehicle-command/blob/main/cmd%2Ftesla-http-proxy%2Fmain.go#L113

Any luck with fleet-telemetry?


Loading Neon2 with different MEI files

Some sort of splash page that lets you select which MEi file to edit.

completed in d5061d2


update multi_quantization installation

now toolkit "quantization" is renamed to " multi_quantization"  and released to pypi.

Thanks!


Fixed typo in optimize-and-bundle.md

Changes
Fixed a typo

Testing

No change to tests, only edit 1 char in doc.

Docs

Doc update 1 char only.

Thanks @alex-drocks!


Dependency updates

From my side, you can merge this whenever you want @majst01

@kolsa please comment at least on the removed parts because you authored them :-)
@Gerrit91 please merge and tag then


Switch to dynamic generation of bfx pipeline vocabulary

Related to: https://github.com/laminlabs/bionty/issues/180

In the future, we might consider incorporating the EFO with bfx_pipeline entity? https://github.com/laminlabs/bionty/blob/main/bionty/_readout/_core.py
For example, enabling lookup for pipelines based on molecule.
Also see the current schema in lamindb: https://github.com/laminlabs/lnschema-wetlab/blob/main/lnschema_wetlab/_core.py#L71-L82


Revamp tunnel handling

Instead of a thread per connection:
https://github.com/shanty-social/conduit/blob/master/client/conduit_client/ssh.py#L23
Have a single thread using select to service all connections. Use two dictionaries for looking up socket pair.

https://docs.python.org/3/library/selectors.html#module-selectors


Shouldn't manager_vf be function of x_t?

Right after eq.(7) in the paper, the authors say V_t as a function of x_t. However, in the code it is a function of g_hat (feudal_policy.py->_build_manager()),
self.manager_vf = self._build_value(g_hat)
Shouldn't it be a function of x_t?

That's correct, we caught that late in this development cycle.  We still
couldn't get anything to converge with that value function, but you're
correct that it should be built from the visual input.
On Mon, Sep 11, 2017 at 2:17 AM, imbalu007<EMAIL_ADDRESS>wrote:

Right after eq.(7) in the paper https://arxiv.org/pdf/1703.01161.pdf,
the authors say V_t as a function of x_t. However, in the code it is a
function of g_hat (feudal_policy.py->_build_manager()),
self.manager_vf = self._build_value(g_hat)
Shouldn't it be a function of x_t?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dmakian/feudal_networks/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHLEtC3itFyh26hIcrDFt4nhyDlaemDks5shNBsgaJpZM4PSrxj
.

Hi,
I didn't understand your answer - Are you still trying to implement it or did you abandon this repository?
Thanks

I'll make a formal post about it as I haven't looked at this in a bit (been
busy elsewhere), but as of now I've talked with some researchers and we
have reason to believe that FeUdal networks will not converge as described
in the original paper.
In the coming weeks I'll try to consolidate the code-base and clean it up
as well as possible in case (1) new details are published on how to
actually train these networks or (2) someone else can figure out a magic
bullet.
On Wed, Sep 13, 2017 at 9:25 AM, Lior Shani<EMAIL_ADDRESS>wrote:

Hi,
I didn't understand your answer - Are you still trying to implement it or
did you abandon this repository?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dmakian/feudal_networks/issues/2#issuecomment-329166772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHLEk_RL2ZO9KS034nHLP3_R2q-llVwks5sh9evgaJpZM4PSrxj
.

Thanks for the quick and detalied response.
If I can offer any help, I haven't seen an implementation of the "dilated lstm" in your code (or maybe I missed it?).
I think it's a core idea in this paper for two reasons:

Had it worked without it, I don't believe it was in the paper.
Without it, there is no mechanism that controls the time interval c, so the goals objective is ill-defined. I believe it suppose to act as some kind of a finite-state machine.

I do have a dilated LSTM implemented, its in a branch (see dlstm_fix).
Hence the need for consolidating!  You can find it in models/models.py
On Wed, Sep 13, 2017 at 2:28 PM, Lior Shani<EMAIL_ADDRESS>wrote:

Thanks for the quick and detalied response.
If I can offer any help, I haven't seen an implementation of the "dilated
lstm" in your code (or maybe I missed it?).
I think it's a core idea in this paper for two reasons:

Had it worked without it, I don't believe it was in the paper.
Without it, there is no mechanism that controls the time interval
c, so the goals objective is ill-defined. I believe it suppose to act as
some kind of a finite-state machine.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dmakian/feudal_networks/issues/2#issuecomment-329256012,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHLEuxbIhqJcBQv2cTRXgc8gxB6QCuSks5siB7BgaJpZM4PSrxj
.

Ohh. I didn't check other branches. Anyhow, that's truly frustrating because this model sounds really tempting (and I guess you put a lot of work into it).
Good luck

@dmakian You mentioned a formal post about convergence problems and the idea feudal networks may not converge as described in the paper. Any update there?

Sorry this has been off my mind for a while.  I doubt a post is coming.
In short: I believe that feudal networks can work, I just think that the implementation is fragile.  If DeepMind released their code I'm sure it would function, but as with a lot of Deep RL small differences in code can lead to wildly different performance.

Hey David, just a quick question: do you believe feudal nets is just an LSTM based A3C in disguise? I have a suspicion that the worker finds a way around the goal embedding.


Fix/op return fail

Related to #426

Description
Fix opReturn fail behavior
Test plan
create a button/widget with op-return prop set to a large string like this:
"ABCDEFGHIJKLMNOPABCDEFlkfdnlkfndlksnkjsnfkldsnlknlksssssssss;sssssssssGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
the expected behavior is blur QR code and show the error message in console instead of in the button text.

After a few seconds, the text at the top changes from the red error to "send any amount":

I thought this was the desired behavior, as per the issue description.
In any case, I also think is better to leave the error there.

It's referring to when the widget is regenerated.


[Bug] Web api keep send invalidsid with account test duongvu

Correct cookie value session id is:

Correct value from cookie is

Temporary resolve by first priority cookie sid , after args sid


REST API for device management and other features?

Is there any REST API that I can:

retrieve pending/accepted/rejected device list including device SSHID
accept/reject a device
manage user
get tenant_id
... ... ...

Thanks!

@openedhardware Yes, there's a REST API. It's just that it is not documented yet and not is intended for public usage but we can reconsider that.

Any update here?
It's a bit annoying for us to accept each device one by one on our portal...
Is there any way to accept all devices by an API?

Any update here?
It's a bit annoying for us to accept each device one by one on our portal...
Is there any way to accept all devices by an API?

I did a initial work for this in: https://docs.shellhub.io/api/

Perfect! Will keep an eye on it!
Cheers.

@openedhardware for your needs, the current documented API is good enough? If so, we'd like to close this issue.


5746 Generate HL7 SFT segment from FHIR

This PR generates the SFT segment from FHIR data.  It also fixes some bugs found in the process of generating the config.
Test Steps:

Check out the branch for this PR.
Verify the tests pass by running the command ./gradlew package and verifying the build is successful.
Run the following command to convert a FHIR bundle to HL7.
./prime fhirdata --input-file "src/testIntegration/resources/datatests/HL7_to_FHIR/sample_co_1_20220518-0001.fhir" -s metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml
Verify an HL7 message is generated from the conversion and includes the SFT segment.
Look at the source HL7 used at src/testIntegration/resources/datatests/HL7_to_FHIR/sample_co_1_20220518-0001.hl7 and verify the data for the SFT segment is identical with the following exceptions:
a. SFT-6 requires #6104, but once that issue is merged the date will appear

Changes

Added initial set of configs for the FHIR to HL7 conversion
Had to remove the FHIR path validation at the schema level as some paths will use custom constants that are not available at that time and hence the validation will fail.  Validation will now happen at conversion time instead of schema load time.
Fixed bug where the top level schema constants were not loading and made it so the arguments of functions will require a custom context to eliminate the possibility of a coding mistake
Fixed get value not stopping at the first valid value
Added try/catch around evaluates.  I was getting an index out of bound exception when trying to fetch an extension that did not exist.
Added support for prefix constants.  This is the same feature that the FHIR Path Engine has for the ext constant.  If you use a constant in FHIR path it can replace a prefix.  E.g., %'rsext-suffix' will be converted to <rsextvalue>suffix.
Fixed an issue where the constant resolver is called at all times and incorrect error out.  Now it returns null instead of an exception

Checklist
Testing

[x] Tested locally?
[ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[x] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

#5746

To Be Done
Specific Security-related subjects a reviewer should pay specific attention to

Slightly meta commentary - After reading through your mapping yml files, I'm wondering if we do want to throw an error in evaluateString if it can't evaluate to anything. It would be a schema error for not checking whether the data type exists first/is being parsed incorrectly.

Now that I think about it, if we evaluate to nothing then it should just be no value as data may or may not have been provided for a specific field.  Everything is really optional in these formats.


bard api 404

Describe the bug
Use bard api 404
Version
OS: win10
Python: 3.11
Bard API:  0.1.38
Using proxy:
Legion:
Code

The HTTP 409 Conflict response status code indicates a request conflict with the current state of the target resource. Conflicts are most likely to occur in response to a PUT request.
It seems there is a conflict with the local resources designated as a proxy server because the local server is unable to act as a proxy. I recommend using an appropriate proxy server.

@dsdanielpark I am also getting the same error. Only difference is that, I am executing my python script from inside my wsl2.

Code
import bardapi
import os

token = "*************"

input_text = "How much is one mile in kilometers"

response = bardapi.core.Bard(token).get_answer(input_text)


liburing 2.3 breaks ABI w/o SOVERSION bump

The latest liburing release seems to be breaking the ABI, by deprecating the kring_mask and kring_entries members by the new ring_mask and ring_entries, used by the inline functions.
The problem is that these structures are public, and there are inline functions making use of the old or new members depending on what version the callers were linked against. So code compiled against the old version should work with the new shared library as the old and new members are always filled. But code compiled against the new version will not work with the old shared library as there the new members used in the new inline functions are going to be wrong (either uninitialized or 0, have not checked).
This was introduced in commit f5cd4eb2b50840510a4c6bbe5ba34a5a2058a2ae by @calebsander.

The problem is that these structures are public, and there are inline
functions making use of the old or new members depending on what
version the callers were linked against.

How to tell the app that the shared library needs an upgrade if it's compiled against liburing-2.3?

The Debian liburing packaging could force the dependencies for anything linked against it to be at least 2.3. We have symbol usage granularity (see https://git.hadrons.org/cgit/debian/pkgs/liburing.git/tree/debian/liburing2.symbols), so I could bump all minimum versions (but that potentially adds an artificial version restriction), I could instead go over any symbol in the library that indirectly calls  io_uring_mmap() and bump their symbol minimum version, but I'm not sure whether that will amount of a global version bump.
The problem I see though is that this is probably going to be missed by users/distros, as the headers try to be careful about the ABI with padding in structs and similar (even though the inline functions are problematic), and with the use of versioned symbols. But if the end result is that building against a new liburing requires bumping the entire minimum version (regardless of just new versioned symbols used), then this all seems a bit pointless and it could just as well bump the SOVERSION instead?

What are the rules in the versioning if a release breaks the ABI?

There are several ways this could be handled. Bumping the SOVERSION would be one. Versioning the struct or similar so that the inline functions only use the new members if this is a new struct instead of an old one. Making the functions that use the new members not inline anymore. And perhaps others I've not considered right now.

Does this have something to do with the recent pending pull request?
PR Link: #681

Not at all, I have nothing to do with that PR, as I don't use the packaging upstream at all. :)

I might have missed some codepaths, but I guess I could do the following:
diff --git i/debian/liburing2.symbols w/debian/liburing2.symbols
index 9c20795..19cac25 100644
--- i/debian/liburing2.symbols
+++ w/debian/liburing2.symbols
@@ -10,16 +10,16 @@ liburing.so.2 liburing2 #MINVER#
<EMAIL_ADDRESS>2.3
<EMAIL_ADDRESS>2.0
<EMAIL_ADDRESS>2.3
-<EMAIL_ADDRESS>2.0
+<EMAIL_ADDRESS>2.3
<EMAIL_ADDRESS>2.0
<EMAIL_ADDRESS>2.0
-<EMAIL_ADDRESS>2.1
-<EMAIL_ADDRESS>2.1
+<EMAIL_ADDRESS>2.3
+<EMAIL_ADDRESS>2.3
<EMAIL_ADDRESS>2.0
<EMAIL_ADDRESS>2.0
-<EMAIL_ADDRESS>2.0
-<EMAIL_ADDRESS>2.0
-<EMAIL_ADDRESS>2.0
+<EMAIL_ADDRESS>2.3
+<EMAIL_ADDRESS>2.3
+<EMAIL_ADDRESS>2.3
<EMAIL_ADDRESS>2.3
<EMAIL_ADDRESS>2.2
<EMAIL_ADDRESS>2.0

But, as you can see this seems rather unintuitive, as these symbols introduced in previous versions require a newer library version when used (due to the inline function mismatch), which seems to go counter to versioning the symbols. Hmm perhaps this could also be worked around by adding symbol aliases in the library at LIBURING_2.3 and making those new symbols the default symbol to be bound to (using symbol@@LIBURING_2.3), so that old code would use the old versioned entry, and new code would require the new LIBURING_2.3 entries, denoting the ABI break.

But if the end result is that building against a new liburing requires
bumping the entire minimum version (regardless of just new versioned
symbols used), then this all seems a bit pointless and it could just
as well bump the SOVERSION instead?

Not familiar with the SOVERSION. Does that imply bumping the version to 3.x?

Not familiar with the SOVERSION. Does that imply bumping the version to 3.x?

Yeah the SOVERSION is commonly used to refer to the version part of the SONAME, so in this case from 2 to 3 (the SOVERSION does not necessarily need to map to the project version though, but it's fine if it does). Of course bumping the SOVERSION tends to be inconvenient as that requires rebuilding any reverse dependency.
For example there seems to be space for a version member in both affected structs, so that approach could be easily implemented, or making the inline accessor not inline anymore, or the symbol aliases option. But I'd wait for @axboe's preference here.

But, as you can see this seems rather unintuitive, as these symbols
introduced in previous versions require a newer library version when
used (due to the inline function mismatch), which seems to go counter
to versioning the symbols.

Let's wait for Jens' comment on this. @axboe, any comment?

Another way would be to have only inline functions and no .so file at all anymore...

Another way would be to have only inline functions and no .so file at
all anymore...

Sounds good. But I think it should be optional, not replacing the main
shared library.
I am thinking of creating a liburing lite where you can use liburing
by only including a header file, statically linked. It would also be
great if the header file could be auto-generated from the upstream
tree.

Another way would be to have only inline functions and no .so file at
all anymore...

Sounds good. But I think it should be optional, not replacing the main
shared library.

Eh, not inline, but most importantly "static" and marked as __maybe_unused.

Another way would be to have only inline functions and no .so file at all anymore...

While certainly an option, this would be equivalent to bumping the SOVERSION on each release, requiring rebuilding all reverse dependencies. Also the semantics would be equivalent to what could be achieved today by statically linking the library. So to me there does not seem much benefit in going in that direction, TBH.


fix param serialization bug and add a bunch of unit/integration tests

Fixes #512 and adds some unit and integration tests for several different parameter serialization scenarios involving lists and maps and lists of maps.

This now has Cloudwatch and Cloudformation tests.  Sufficient to close https://github.com/rusoto/rusoto/issues/484 and https://github.com/rusoto/rusoto/issues/487 ?
Build and integration tests pass! 👍

Yup, I forgot those issues were outstanding.
Fixes #484
Fixes #487


My site is using AVIF but the report warns that 'No WebP image found on the website'

@cloydlau - thank you for this issue. In the next version, there will be a fix that will not report missing WebP in case of AVIF support.
WebP has slightly better support for older browsers than AVIF, but today we consider this to be a negligible difference. AVIF is now supported by all major browsers on all major platforms/devices. It is no longer necessary to require WebP if AVIF is also available.

Thanks for the reply, it's worth mentioning that my site also does progressive enhancement, which means it falls back to WebP if AVIF isn't supported, and to JPG/PNG if WebP isn't supported either. So presumably this scenario needs to be taken into account as well.


Fix: OG not redering

Summary by CodeRabbit

New Features

Updated profile image rendering to show a stylized placeholder with the first letter of the username if no user avatar is provided.

Improvements

Enhanced metadata image URL generation for better endpoint management.

 Development Support, Jimoh - May 2024


build: latest updates

v14.7.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Remote debugging fails on a remote computer in a local network

Error Unforeseen event in activity "WireUpCoreRuntime".
System.IO.FileNotFoundException: file not found 'E:\Users\Fucking\Documents\Visual Studio 2015\Repos\Windows-universal-samples\Samples\StreamSocket\cs\bin\x86\Debug\Core$targetnametoken$.exe'.
Nome file: 'E:\Users\Fucking\Documents\Visual Studio 2015\Repos\Windows-universal-samples\Samples\StreamSocket\cs\bin\x86\Debug\Core$targetnametoken$.exe'
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
in System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
in Microsoft.Build.Net.CoreRuntimeTask.WireUpCoreRuntime.InternalExecute()
in Microsoft.Build.Net.CoreRuntimeTask.WireUpCoreRuntime.Execute()
in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
in Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() StreamSocket Compilazione

"K Y" and a Windows user name of "f*cking" - really?
Come on.  :(

This is not a samples issue. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


Whid stuck in auto payload mode

So I’m trying to get back into the menu but can’t because it keeps typing. I can’t get in to change it back to not launch the payload when it’s plugged in. Tried to reset software following directions with IDE and the ESP tool but the esp tool doesn’t connect even tho it’s plugged in. It still runs the payload though non stop. I tried the hard reset too but didn’t do anything. Any ideas? Thanks in advance.

Plug it into a usb charger and not into a machine.

I did that, I can’t connect to the ip even after connecting to correct wifi

I run ifconfig and see that ip is <IP_ADDRESS> and it’s juat not connecting


Fix NullPointerException caused by null-builder

324

 Quality gate: Passed
 Everything looks good
Details

 Quality gate: Passed
 Everything looks good
Details


Split out whitespace rules into multiple rules.

Split the overflow indentation check into its own rule.

I submitted a PR upstream as well with context on why we forked


Don't cache error responses from Crossref

For 200 responses from Crossref:

Don't cache the empty string
Don't cache "unexpected HTTP status: status=503\n(org.crossref.common.exceptions.IORuntimeException occured 7/27/23 6:21 PM)"

https://axios-cache-interceptor.js.org/config/request-specifics#cache-cachepredicate

https://sciety.grafana.net/explore?orgId=1&panes={"ObO":{"datasource":"grafanacloud-logs","queries":[{"datasource":{"type":"loki","uid":"grafanacloud-logs"},"editorMode":"code","expr":"sum by (message, payload_error_status) (count_over_time(\n{app_kubernetes_io_name%3D\"sciety\",app_kubernetes_io_instance%3D\"sciety--prod\"}\n| json | __error__%3D\"\"\n| level %3D \"error\" | payload_error_message%3D`Empty response from Crossref`\n[7d]))","hide":true,"queryType":"instant","refId":"A"},{"datasource":{"type":"loki","uid":"grafanacloud-logs"},"editorMode":"code","expr":"{app_kubernetes_io_name%3D\"sciety\",app_kubernetes_io_instance%3D\"sciety--prod\"}\n| json | __error__%3D\"\"\n| level %3D \"error\" | message%3D`Unable to parse document` | payload_error_message%3D`Empty response from Crossref`","hide":false,"queryType":"range","refId":"B"}],"range":{"from":"now-7d","to":"now"}}}&schemaVersion=1

Proof that we see cache misses on an article that was affected by this crossref issue:


Is it possible to combine 2+ tables with hasMany?

Hi guys,
Is it somehow possible to create a merged table with more than two identifiers? In the wiki page it is possible to add more columns, for example "why" on this page: https://github.com/dresende/node-orm2/wiki/hasMany.
But i would like to have it like this: users_companies { user_id, company_id, permission_id } where permission_id is an id of the 3th table.
I know i can do this by creating a custom function which fetch the permission in the user/company model on request, but i would rather have the 'cleaner' version.
Thanks in advance!

Not that I'm aware of.

Unfortunately for me then, but i almost implemented the alternative. Thx anyway!


Fix: Broken Docs Build

re-generated package-lock.json to fix build

Codecov Report

Merging #625 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #625   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          64     64
  Lines         675    675
=====================================
  Hits          675    675

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 bfc95fb...7844f52. Read the comment docs.


Add inlay hints support to the ruby-lsp

Inlay hints display "invisible" information to the user to assist with the understanding of the code. For example:
class User < ApplicationRecord
  (self.)has_many :posts
#^ inlay hint displaying the receiver (doesn't actually exist in the real code)
end

We can also display the name of positional arguments as inlay hints.
Documentation: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint

@vinistock I want to give this a try. I'll start by listing common cases that can use the hint.

There's no built-in way by checking the method definition straight. We'd need to keep track of which section we're currently inside. Something like this in pseudo code
class InlayHint < BaseRequest
  def initialize(...)
    @current_visibility = :public # Maybe use a Sorbet enum?
  end

  def visit_call(node) # not sure if it's call, command, fcall...
    if this_thing_is_private_public_or_protected
      @current_visibility = the_new_visibility
    end
  end

  def visit_def(node)
    add_hint_using_current_visibility
  end
end

Two thoughts:

I think we shouldn't add anything for public methods, since that's the default
If it's possible, I think this inlay hint would look better on top of the method name (not on the left or right)

Ooo neat, thanks for the pointers!

I think we shouldn't add anything for public methods, since that's the default

Completely agree. That would be really messy.

If it's possible, I think this inlay hint would look better on top of the method name (not on the left or right)

Should be entirely possible. This hint in particular really runs the risk of looking messy, I agree that above is a good place to start. If I get a chance to hack on it, I'll be sure to propose a few options with screenshots for easy evaluation.


multiple JSON-values into the same property not working

I am following below section of documentation

Tip: It is possible to deserialize multiple JSON-values into the same property. This can be useful if you have multiple JSON sources with inconsistent names, but want a single target object. In the process of serialization, the first value will be used.
@JsonProperty("jsonPropName", String, true)
@JsonProperty("jsonPropertyName", String, true)
name: string = undefined;

but its not giving me expected output.
NOTE: All other properties are getting converted as expected with only one @JsonProperty decorator.
here is link of reproduction of this issue.
https://stackblitz.com/edit/angular-uh3d4a

This is a future feature that has already been added to the code on GitHub. I shouldn't have pushed the recent commit to the master branch.
Please always refer to the documentation on npmjs website, because that's the documentation matching the currently released version!
The ReadMe on this GitHub already implements this new feature and after doing some more integration tests I will release it (probably within 7 days).
TLDR: As of now, you can only use 1 decorator for the property.

I released the current version v1.1.1 now.
Unfortunately, I decided to drop support for multiple decorators just for now. One of the reason is that the logic was not consistent in my eyes. I have to rethink the idea and discuss with my colleagues what will be best for the future.

Okay. Waiting for the same.

That piece of documentation still lives in the readme as well as on npmjs. It should probably be removed as it's a little misleading since it doesn't work properly as of yet.

That is not good, can you show us where? Just on NPM or also GitHub?

Right above the https://github.com/dhlab-basel/json2typescript/blob/master/README.md#first-parameter-classidentifier-optional section.
Tip: Make sure you import JsonObject from json2typescript.

    @JsonProperty("jsonPropName", String, true)
    @JsonProperty("jsonPropertyName", String, true)
    name: string = undefined;

It's in the same place on npm as well.

I don’t even understand what it is doing there, it’s in the wrong chapter. Will be deleted soon.

Hi! Any updates on this one? 🙄


It Just Seemingly Crashes....?

🐛 Bug
When ever i run it using mlc_chat_cli --local-id vicuna-v1-7b-q3f16_0, it just stops loading the model into memory with this error :
[12:31:23] C:\Miniconda\envs\mlc-llm-build\conda-bld\mlc-chat-nightly-package_1686373785773\work\3rdparty\tvm\src\runtime\vulkan\vulkan_buffer.cc:61:
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
Check failed: (__e == VK_SUCCESS) is false: Vulkan Error, code=-2: VK_ERROR_OUT_OF_DEVICE_MEMORY
Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.
Well It Says Out Of Device Memory, but i took a look at the vram usage and it never uses it all it goes near 2.9 then this error occurs, and i am using the integrated gpu for rendering normal stuff, so its not that either.

To Reproduce
Steps to reproduce the behavior:
1.mlc_chat_cli --local-id vicuna-v1-7b-q3f16_0
Environment

Platform (e.g. Vulkan):
Operating system (Windows 11):
Device (GTX 1650)
How you installed MLC-LLM (conda, source): YEs
How you installed TVM-Unity (pip, source):....I dont think so
CUDA/cuDNN version (12.1):
Any other relevant information:

Additional context

Vulkan driver is not installed.

Please try RedPajama-INCITE-Chat-3B-v1, which is more friendly to 4G VRAM

4G VRAM is not enough for Vicuna-7b.