ASP.Net Core 8 / Angular 18 won't start after upgrading Angular from 17 to 18

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Upgraded Angular/material from 17 to 18 with the standard ng update commands provided via https://angular.dev/update-guide?v=17.0-18.0&l=1
Attempting to start in Visual Studio get exceptions shown below
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
All of these lines were prefixed with: "Microsoft.AspNetCore.SpaServices: Error:" I removed that text for clarity.

 node:internal/errors:496
     ErrorCaptureStackTrace(err);
     ^
 Error: Cannot set headers after they are sent to the client
     at new NodeError (node:internal/errors:405:5)
     at ServerResponse.setHeader (node:_http_outgoing:648:11)
     at setResponseHeader (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\utils\compatibleAPI.js:120:14)
     at processRequest (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\middleware.js:599:7)
     at ready (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\utils\ready.js:16:5)
     at middleware (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\middleware.js:640:5)
     at Layer.handle [as handle_request] (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\layer.js:95:5)
     at trim_prefix (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:328:13)
     at C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:286:9
     at Function.process_params (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:346:12)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:280:10)
     at C:\work\_git\myapp\MyApp\ClientApp\node_modules\connect-history-api-fallback\lib\index.js:26:14
     at Layer.handle [as handle_request] (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\layer.js:95:5)
     at trim_prefix (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:328:13)
     at C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:286:9
     at Function.process_params (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:346:12)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:280:10)
     at goNext (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\middleware.js:133:16)
     at processRequest (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\middleware.js:605:15)
     at ready (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\utils\ready.js:16:5)
     at middleware (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-middleware\dist\middleware.js:640:5)
     at Layer.handle [as handle_request] (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\layer.js:95:5)
     at trim_prefix (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:328:13)
     at C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:286:9
     at Function.process_params (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:346:12)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:280:10)
     at Server.setHeaders (C:\work\_git\myapp\MyApp\ClientApp\node_modules\webpack-dev-server\lib\Server.js:2829:5)
     at Layer.handle [as handle_request] (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\layer.js:95:5)
     at trim_prefix (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:328:13)
     at C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:286:9
     at param (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:365:14)
     at param (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:376:14)
     at Function.process_params (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:421:3)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\index.js:280:10)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:141:14)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7)
     at next (C:\work\_git\myapp\MyApp\ClientApp\node_modules\express\lib\router\route.js:145:7) {
   code: 'ERR_HTTP_HEADERS_SENT'
 }
 Node.js v18.20.3

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 18.2.1
Node: 18.20.3
Package Manager: npm 10.7.0
OS: win32 x64

Angular: 18.2.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.1
@angular-devkit/build-angular   18.2.1
@angular-devkit/core            18.2.1
@angular-devkit/schematics      18.2.1
@angular/cli                    18.2.1
@schematics/angular             18.2.1
rxjs                            7.8.1
typescript                      5.4.5
zone.js                         0.14.10

Anything else?
Angular 17 worked, ran the following commands:

ng update @angular/core@18 @angular/cli@18
ng update @angular/material@18
ng build

After trying to configure the SpaProxy, I have the following issue:
Angular is starting up on 4200, Backend is starting up on 44364
API requests for the backend are being sent to: localhost:4200/api/MyController/GetValue
rather than localhost:44364/api/MyController/GetValue
The first back-end query triggers authentication against our corporate OAuth server,
request comes from locahost:44364 showing origin of localhost:4200,
because of the different port numbers, they are triggering cross-domain origin and server is blocking with a CORS error.
Have been playing with configuration in proxy.conf.js, but currently getting invalid redirect errors
const PROXY_CONFIG = [
  {
    context: [
      "/api/**",
    ],
    target: 'https://localhost:44364',
    followRedirects: true,
    secure: false,
    //changeOrigin: true,
    logLevel: "debug",
    headers: {
      Connection: 'Keep-Alive'
    }
  }
]
console.log("PROXY_CONFIG: ", PROXY_CONFIG);
module.exports = PROXY_CONFIG;

Proxying on the client side with the SpaProxy/proxy.conf.js/json is an issue when the back-end ASP.Net Core is using OIDC Authentication.
The problem is, with the webpack proxying, it tries to the CORS origin is something like: https://localhost:4200 which then gets proxied to the ASP.Net backend (https://localhost:44364) which is a different CORS origin. When the OIDC responds with https://localhost:44364/signin-oidc - the browser drops it with a CORS error because the port numbers indicate a different origin.
I have not found any way for the proxy code to inject headers, to allow for AnyOrigin in development, for instance (or even specify a set of valid origins)
I have gone back to trying to determine where this error is introduced with the legacy Microsoft.AspNetCore.SpaServices code, which worked in Angular 17 and breaks with Angular 18.
I did find this: https://github.com/webpack/webpack/discussions/18606 which does appear to be the cause.
Downgrading webpack-dev-middleware back to 7.0.0 does appear to fix the issue.

It appears upgrading webpack-dev-middleware to 7.4.2 also fixes the issue.
Hopefully a dependency update can be made to fix this for Angular 18?

Closed via https://github.com/angular/angular-cli/pull/28340


Re-do the FAQ component

Develop a skeleton of The F.A.Q. component aimed to host questions concerning our:
-Open Days
-Signup for events (i.e. programming competitions)
-Privacy Policy
-How to contribute
The information that is currently on the component is no longer needed.

Inspiration, @adspereira :
https://codepen.io/moso/pen/vKGxMx
https://bootsnipp.com/snippets/7NGDP


The translate() method doesn't work with RichText and other widgets

Hello, actually this package is no longer maintained, instead we decided to switch to a more generic package, try:https://pub.dev/packages/universal_translator


Show JWT token subject in 'jf c show'

[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] All static analysis checks passed.
[x] This pull request is on the dev branch.
[x] I used gofmt for formatting the code before submitting the pull request.

Add subject to access tokens in jf c show command. The subject can be extracted only in JWT access tokens. In reference tokens, for example, the subject is impossible to extract.

Hi,
I'm the individual that originally requested that the token output include some identifying information as to which token was in use.
While it initially appeared that the string provided in the jf c show output may in fact be unique to the token in use, and provide some useful information to help identify which token is actually in use, it's not, and it doesn't, and rather, only indicates that you are authenticated to a service, and not, which token is in use, which was the original request.
Using 2 different tokens:

The output is identical in both cases:
User:                           bruce.edge
Access token:                   *** (Subject<EMAIL_ADDRESS>Default:                        true

The string provided, redacted above in case there is any external use for it, is identical regardless of which token is in effect at the time.
This was confirmed on a support call with jFrog staff last night for an unrelated problem.
(JFrog Support <> Roche Molecular Systems, Inc. | Case Number: 226528 if that helps)
What would be actually useful, is to show the "Token ID" in the "Access token:..." output.
Can this be changed to show the actual token ID?


[Question] Is TreeDataGrid more performant than TreeView

Are there any performance improvements comparing TreeDataGrid to TreeView, when it comes down to huge hierarchical trees (without extra columns).
I know that TreeView does not work well with large amount of data, is it the same with TreeDataGrid, or have you fixed that issue by design?

Yes. TreeView is poorly virtualized, and it introduces nesting for each tree level. When TreeDataGrid is structured "flat" in the visual tree of elements, just applying the offset.
So, yes, you can expect TreeDataGrid to be more performant on huge data sets. Especially on deep ones.


Mismatch between helm chart value naming and the actual values file and docs

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hello and good day,
I've seen that there's a mismatches between helm chart values and the actual values file,
in helm installation option, the documented way for changing arping-refresh-period time for the l2-neighbor-discovery feature is by setting l2NeighDiscovery.arping-refresh-period flag in the helm installation. this is the helm reference page also in the default helm values file
however, for the actual helm chart, the value has a different name l2NeighDiscovery.refreshPeriod: https://github.com/cilium/cilium/blob/v1.11.2/install/kubernetes/cilium/templates/cilium-configmap.yaml#L600
I would like to submit a PR for either way to fix this:

change the docs and the default helm values to mention the right value from the helm chart l2NeighDiscovery.refreshPeriod which IMHO is not descriptive as l2NeighDiscovery.arping-refresh-period.

change the Helm chart to use the right value mentioned in the docs l2NeighDiscovery.arping-refresh-period.

please lemme know if this is considered and which approach I should proceed with :))
thanks.
Cilium Version
I checked 1.10.8 and 1.11.2
Kernel Version
5.11
Kubernetes Version
1.19
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

Hi @hacktron95, nice catch! Please do submit a PR for this, thank you.
I would opt for l2NeighDiscovery.refreshPeriod across the board for a few reasons:

camelCase is preferred in yaml and would be consistent with the naming style of all other values
users might already rely on refreshPeriod since the chart has already shipped this way; modifying this would constitute a breaking change
the fact that arping is used for neigh disc is an implementation detail and is not relevant to the user; it can be omitted from the value name

Hi, I found this good-first-issue, and just correct this issue. Please help review. My first commit here.

/assign


Assignment 5 Completed

Solved album.html part of the assignment and removed extraneous copy from end of file names


Add Community NPM Packages to README

With a bulleted list of community packages. Goal to highlight them in a lightweight way.

Add instruction for contributors to fulfil community contributor requirements and create a PR to add their own package to the list

Indirectly Irresponsible Individual: @jasongitmail


Enhancement: Trigger manual refresh API

Goal-State/What/Result
A POST /v1/datasets/[name]/refresh API for triggering manual refreshes from external applications.

The payload could contain additional refresh filters, like a specific Parquet file in the bucket for S3, or a time-range filter for time-series data.
Some safety machinery around refreshes to ensure duplicate/concurrent refreshes, don't happen, a good default of minimum refresh interval per source, etc.
Data rate-limiting options for refreshes.
Fuzzy Refresh: If many instances of Spice are refreshing at once, how do we ensure they all don't DDOS the source. Consider adding fuzziness to the refresh schedule.

Milestones:
M1: Basic dataset refresh
M2: Rate-Limited/Fuzzy Refresh. Moved to separate enhancement: https://github.com/spiceai/spiceai/issues/1102
M3: Filtered refresh. Moved to separate enhancement: https://github.com/spiceai/spiceai/issues/1102
Why/Purpose
This is important for scenarios when very granular control over when data is refreshed is required:

have large dataset so would like to reduce unnecessary refreshes, data transfer over the network and associated cost
event based refreshes (for example, when source dataset has been updated)
when refresh schedule is hard to define using refresh_interval

For example, the team creates a reporting based on data queries every day at 8am. Instead of setting refresh interval for 1 hr to have fresh data I can create simple automation to trigger refresh via Api at 7-30am.
By When
Issue/Spec written and reviewed: 04/10 (M1)
M1: 04/11
M2 / M3: Moved to separate enhancement: https://github.com/spiceai/spiceai/issues/1102
Done-Done: 04/17
Done-Done

[ ] First Principles Driven
[ ] The Algorithm
[ ] PM/Design Review
[ ] UX Review
[ ] Threat Model / Security Review
[ ] Tests
[ ] Documentation
[ ] Samples/Quickstarts/Tutorials

The Algorithm

[ ] Every requirement questioned?
[ ] Delete (Scope) any part you can.
[ ] Simplify.
[ ] Break down into smaller iterations/milestones.
[ ] Opportunities for automation.

Spec
M1. Basic dataset refresh

POST /v1/datasets/[name]/refresh endpoint.

Empty request body
Returns 201 when refresh has been successfully triggered

{
 "message": "Dataset refresh triggered for [name]"
}

Following the algorithm (simplify, delete any part you can), moving this functionality out of basic implementation to https://github.com/spiceai/spiceai/issues/1102

Returns 200 with message below if dataset refresh is already in progress.

{
 "message": "Refresh is already in progress for dataset [name]"
}

How/MAP
A clear and concise plan of how this should be implemented.
M1: Basic dataset refresh

[x] Update AcceleratedTable implementation to enable manual refreshes
[x] Add POST Api endpoint v1/datasets/:name/refresh to handle refresh
[x] Documentation update

Implementation (issues)

https://github.com/spiceai/spiceai/pull/1083
https://github.com/spiceai/spiceai/pull/1078
https://github.com/spiceai/spiceai/pull/1075
https://github.com/spiceai/docs/pull/191

QA

Adding as potential ideas what could be in scope
Api endpoint to get refreshes history + example of PowerBI refresh request body
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset

GET /v1/datasets/[name]/refreshes endpoint.

{ "value":[
  {
    "id":252103441,
    "refreshType":"Scheduled",
    "startTime":"2017-06-16T08:02:05.69Z",
    "endTime":"2017-06-16T08:14:29.61Z",
    "status":"Completed"
  },
  {
    "id":251845601,
    "refreshType":"ViaApi",
    "startTime":"2017-06-16T00:10:46.087Z",
    "endTime":"2017-06-16T00:10:53.04Z",
    "status":"Completed"
  },
// and etc…
}

{
  "type": "full",
  "commitMode": "transactional",
  "objects": [
    {
      "table": "Customer",
      "partition": "Robert"
    }
  ],
  "applyRefreshPolicy": "false"
}

Will be great to have corresponding telemetry support (meta - dataset name , refreshType - scheduled, viaApi, etc):

dataset_refresh_triggered
dataset_refresh_duration_ms
dataset_refresh_completed
dataset_refresh_failed

Basic functionality for manual refresh API has been implemented; created separate enhancement for advanced functionality (Rate-Limited/Fuzzy Refresh): https://github.com/spiceai/spiceai/issues/1102


how to build the test file?

The test file should consider a config.yaml, images and a model files which save the weights? in the Usege, why does it create a weights folder? python test.py weights/CSBSR_w_PSPNet_beta03/latest --sf_save_image
Thank you

Hello,
Thank you for bringing up these questions regarding the test setup and configuration. Let me address each of your points for clarity:

Configuration and Model Files: Yes, it is necessary to consider both the config and model files. The config file is recognized from the directory specified in the first command-line argument, under config.yaml. For the model files, you should use the second command-line argument to specify either the iteration number or the model file name, excluding the extension. There is no need to explicitly specify images in test.py, and the --sf_save_image is an optional argument that if  used, means that the output images will not be saved.

Creation of a Weights Folder: You are correct in assuming that the folder is created to store the weight files that I have made publicly available. This setup is intended to keep the workflow organized and ensure that weight files are easily accessible during testing.

Usage Correction: Regarding the usage in the README, I apologize for the confusion caused by the error. The correct command should indeed be:

python test.py weights/CSBSR_w_PSPNet_beta03 latest --sf_save_image
Please let me know if you need further clarification on any of these points, or if there's anything else I can assist you with.
Best regards,

I have not received any further responses regarding the issue raised in how to build the test file? #1. As a result, I am assuming that the problem has been resolved. Therefore, I will proceed to close this issue.
If the problem persists or you have any additional concerns, please feel free to reopen the issue or create a new one.
Thank you for your understanding and cooperation.


feat: add remove_all option

What this PR does / Why we need it
Which issue(s) this PR fixes
Fixes #15

p.s.) Edited on the browser so haven't been tested

@shunkakinoki Thank you for the PR and the interest in this project! And sorry for the late reply.
Your motivation makes sense to me.
I'm recently thinking whether we should JSON array as inputs.labels to allow object filters. With a JSON input, we would specify all the labels without an additional input (remove_all).
So I want some time to design this action. After I fixed the design, I'm going to be back here.
Anyway, your idea helps me think about the design and use cases. Thanks so much again 😄
We welcome feedbacks for this project (actions-ecosystem) anytime 👍

@micnncim I understand your intentions!
Thanks for being so detailed too.
The object filter redesign seems to be very compelling!
Looking forward to the next release then, I really appreciate the work!!!


Echo Dot 2nd gen not discovered

The code
if(request.indexOf("M-SEARCH") > 0) {
    ....
    respondToSearch();
}

expects M-SEARCH to be in request but not at the beginning (index 0).
In my case, the Echo's discovery message contains M-SEARCH at the very beginning, at index 0.
I had to change the code to:
if(request.indexOf("M-SEARCH") >= 0) {
    ....
    respondToSearch();
}

in order to make it work and respondToSearch() to be invoked. This way, my device has been discovered by my Echo.
I've just looked at the fauxmo.py project and their code for this case is:
if data.find('M-SEARCH') == 0 and data.find('urn:Belkin:device:**') != -1:
data.find('M-SEARCH') == 0 means that 0 is the index of M-SEARCH in data string.

Thanks. Updated the code


uwsgi: Increase request buffer size to 64k, from 8k default.

The default value in uwsgi is 4k; receiving more than this amount from
nginx leads to a 502 response (though, happily, the backend uwsgi does not
terminate).
ab18dbfde5fa originally increased it from the unstated uwsgi default
of 4096, to 8192; b1da797955ae made it configurable, in order to allow
requests from clients with many cookies, without causing 502's1.
nginx defaults to a limitation of 1k, with 4 additional 8k header
lines allowed2; any request larger than that returns a response of
400 Request Header Or Cookie Too Large.  The largest header size
theoretically possible from nginx, by default, is thus 33k, though
that would require packing four separate headers to exactly 8k each.
Remove the gap between nginx's limit and uwsgi's, which could trigger
502s, by removing the uwsgi configurability, and setting a 64k size in
uwsgi (the max allowable), which is larger than nginx's default limit.
uWSGI's documentation of buffer-size (3, 4) also notes that "It
is a security measure too, so adapt to your app needs instead of
maxing it out."  Python has no security issues with buffers of 64k,
and there is no appreciable memory footprint difference to having a
larger buffer available in uwsgi.
Screenshots and screen captures:
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv! I wonder if it'd be useful to report an issue with uWSGI upstream for them to expand on "a security issue" in their documentation; I feel like it'd certainly be clearer writing for them to explicitly discuss it as a DoS issue to consume "more memory than necessary" with buffers here.

Filed https://github.com/unbit/uwsgi/issues/2452.


Feature/geode 4362 view preparation throws uncaught RuntimeException

Galen cleaned up GMSEncrypt and then we worked together to fix this bug.
The problem was happening when a new member joined with a coordinator that
suddenly shuts down before other members have been told to install the
new membership view.  They've received a "prepare for view change" message
containing the new view but have not been told to commit that change.
Another member then becomes coordinator and sees that there was a new member
in the prepared view.  It picks this up and adds it to the new view it
sends out.
The problem was that the public encryption keys of the members weren't
being transferred from the old view to the new view and when looking for
public keys we were fishing them out of GMSEncrypt instead of getting
them from the membership view.  This caused an NPE to be thrown when trying
to fish out the public key of the new member - GMSEncrypt didn't know about
this new member because the view containing it was never installed - it
was only prepared.
The fix is to transfer the public keys from the old view to the new one and
to look for public keys in the view instead of GMSEncrypt.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

merged to develop in 0afb75bbaef7dfba7bfba70d8de0617c30db99c2


Is there support for web?

The salesiq team told me to use the same mobile sdk for web app. Please confirm this>

Duplicate of #19 , #47


add readme to package

Move readme from root to package
Upgrade yarn to latest stable release

Remove unnecessary yarn related files

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
154

Relevant Lines:
154

💛  - Coveralls


Restart share manager pods, when tolerations/priority class changes

There is an interesting behavior, that we can only change the toleration settings while all volumes are detached, so the user needs to scale down all rwx volumes, for the sharemanager to detach the volume.
Signed-off-by: Joshua Moody<EMAIL_ADDRESS>

verified the existence of the updated annotation + tolerations manually.


After install pygame on macosx el capitan

Environment Info
kivy: 1.9.1
pygments: 2.1.1
docutils: 0.12
watchdog: 0.8.3
jedi: 0.9.0
gitpython: 1.0.2
six: 1.10.0
kivy-garden: 0.1.4
Platform: Darwin-15.3.0-x86_64-i386-64bit
Python: 2.7.10
Traceback
Traceback (most recent call last):
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 403, in mainloop
self._mainloop()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 290, in _mainloop
EventLoop.idle()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/base.py", line 327, in idle
Clock.tick()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/clock.py", line 515, in tick
self._process_events()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/clock.py", line 647, in _process_events
event.tick(self._last_tick, remove)
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/clock.py", line 406, in tick
ret = callback(self._dt)
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/uix/label.py", line 352, in texture_update
self._label.texture.bind()
File "kivy/graphics/texture.pyx", line 761, in kivy.graphics.texture.Texture.bind (/private/var/folders/1q/5c1jbf9s6ksdt6p4_47tzwjc0000gn/T/pip-build-IHaXjA/kivy/kivy/graphics/texture.c:10121)
File "kivy/graphics/texture.pyx", line 786, in kivy.graphics.texture.Texture.bind (/private/var/folders/1q/5c1jbf9s6ksdt6p4_47tzwjc0000gn/T/pip-build-IHaXjA/kivy/kivy/graphics/texture.c:9844)
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/text/init.py", line 628, in _texture_fill
self.render(real=True)
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/text/markup.py", line 119, in render
ret = self._render_real()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/text/init.py", line 559, in _render_real
data = self._render_end()
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/kivy/core/text/text_pil.py", line 57, in _render_end
self._pil_im.mode.lower(), self._pil_im.tostring())
File "/Users/Pyc0kw4k/Lab/.virtualenvs/kivy/lib/python2.7/site-packages/PIL/Image.py", line 695, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
End of Traceback

The tostring issue has been fixed in kivy master https://github.com/kivy/kivy/commit/83a9528acc0f369c364a02812e49f47792152fd3.
You should also use sdl2 instead of pygame, follow the installation docs:
https://kivy.org/docs/installation/installation-osx.html


PHP 5.2 can't be installed on Debian 7

If I try to install PHP 5.2 on Debian with
phpbrew install --old php-5.2.15 +default +intl

it fails with
libtool: unrecognized option -export-dynamic'
Trylibtool --help' for more information.
make: *** [sapi/cli/php] Error 1

This is similar to issue #83 but the solution don't work. I tried the the following tutorial (after using phpbrew to download all): http://tobyf.de/2013/03/php-5-2-auf-debian-wheezy/ (sorry only German, but the commands should be understandable) which seems to work. So I tried it using phpbrew with the parameters given in the tutorial to test if it works. This looks like this
phpbrew install --old php-5.2.15 --enable-force-cgi-redirect --enable-fastcgi --with-regex=php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-iconv --enable-exif --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex --enable-shmop --enable-sockets --enable-wddx --with-libxml-dir=/usr --with-zlib --with-openssl=/usr --enable-soap --enable-zip --with-mhash=yes --with-gd --with-mysql --with-mysqli --with-pdo-mysql --with-pear --with-jpeg-dir=/usr/lib --enable-gd-native-ttf --with-ttf --with-freetype-dir=/usr --with-libdir=/lib/x86_64-linux-gnu/

which fails with the same error. So I tried the following
./configure --enable-force-cgi-redirect --enable-fastcgi --with-regex=php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-iconv --enable-exif --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex --enable-shmop --enable-sockets --enable-wddx --with-libxml-dir=/usr --with-zlib --with-openssl=/usr --enable-soap --enable-zip --with-mhash=yes --with-gd --with-mysql --with-mysqli --with-pdo-mysql --with-pear --with-jpeg-dir=/usr/lib --enable-gd-native-ttf --with-ttf --with-freetype-dir=/usr --with-libdir=/lib/x86_64-linux-gnu/ --prefix=/opt/phpbrew/php/php-5.2.15 --with-config-file-path=/opt/phpbrew/php/php-5.2.15/etc --with-config-file-scan-dir=/opt/phpbrew/php/php-5.2.15/var/db --with-pear=/opt/phpbrew/php/php-5.2.15/lib/php

with
make

Which should be the same but works. So it seems very strange to me...

Same as https://github.com/phpbrew/phpbrew/issues/492#issuecomment-111742848


Fix: useSuspenseQueries broken result type

Fix: useSuspenseQueries broken result type
Issue:
Issue 7118
What's in this PR ?

In some adapters ,queryFn doesn't include SkipToken as type.
This fix included: angular-query-experimental, react-query, solid-query, svelte-query, vue-query.
Added a test for useSuspenseQueries in useQueries.test-d.tsx.

huh, we've already fixed #7118 with #7194
can you please verify if that fix was correct or if your additional changes are needed? We also concluded that it wasn't necessary for other adapters because they don't have dedicated useSuspense... hooks


Need example/test with particles having negative charge (electrons)

CLIC DR example added in xtrack v0.10.0


Roll Flutter Engine from 28ea95b36f1b to c0a4f8d13c8f (2 revisions)

https://github.com/flutter/engine/compare/28ea95b36f1b...c0a4f8d13c8f
2022-09-20<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from ByuJQGQgrBHyqqxLr... to gcHdDsKmQTV_IVNjv... (flutter/engine#36281)
2022-09-20<EMAIL_ADDRESS>Fix inverted setSystemUIChangeCallback (flutter/engine#36248)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from ByuJQGQgrBHy to gcHdDsKmQTV_
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Show Selected Medicine in the Placeholder of the Medicine Component

Describe the bug
Currently, when a medicine is selected, the placeholder does not update to show the selected medicine in the prescription module.
To Reproduce
Steps to reproduce the behavior:

Go to 'any active consultation, click on medicine
Add a medicine and select one out of the dropdown
See error

Expected behavior

[ ] The selected medicine should be displayed in the placeholder of the dropdown component.

Screenshots

Hey @nihal467 , I would like to work on this issue

https://github.com/user-attachments/assets/0927e483-b193-42b7-9cd5-c4c1d4b17278
Am I misunderstanding the issue again, or is it genuinely working fine on my end? 😅

https://care-staging.ohc.network/facility/5880ad89-57ae-4994-af50-7d99855e7f9d/patient/050080f2-252b-46e4-a44e-eba324693c16/consultation/40396cc3-e859-419e-a659-c6d59cc6b81f/prescriptions

https://care-staging.ohc.network/facility/5880ad89-57ae-4994-af50-7d99855e7f9d/patient/050080f2-252b-46e4-a44e-eba324693c16/consultation/40396cc3-e859-419e-a659-c6d59cc6b81f/prescriptions
@AdityaJ2305 try to add it here

Working fine

@AdityaJ2305 can you do a hardrefresh before you try it

Sure, I’ve tried it on care.ohc, and it’s working fine!

Ah, got it! The issue only occurs when typing and selecting, not when selecting directly from the dropdown.

⚠ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

@AdityaJ2305

⚠ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

@AdityaJ2305

Sorry about that, I thought the first issue was almost resolved. I’ll make sure to follow this in the future.

⚠ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

@AdityaJ2305

Sorry about that, I thought the first issue was almost resolved. I’ll make sure to follow this in the future.

And please get the issue assigned first before you open a PR 😅  Good to see your enthusiasm, but the issue is others will start doing the same and it just becomes a race of who can open a PR first 😅

is there anyone working on this issue?

I would like to work on this issue. Can you please assign this to me?


Only generate up to one nested struct when fuzzing

ord
Only generate up to one nested struct when fuzzing

Why?

We’re wasting time checking deeply nested structs which I think will be functionally equivalent to struct of a struct.


Formulate a research question

Tasks

[ ] Formulate a research question in one sentence
[ ] State the motivation
[ ] Add both to the project plan

Deliverables

[ ] Project plan containing research question and motivation

Deliverables

research question
motivation


[Abort Controller] Flaky test

The @azure/abort-controller package contains a flaky test:

should abort when calling abort() after creation but before request finishes

I found a couple CI builds where this test fails:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=50165
https://dev.azure.com/azure-sdk/public/_build/results?buildId=50208
Both times only one of the mac jobs failed.

Fixed in #3784


note that there exist trivial denial of service attacks

.. and suggest use only on trusted networks.
@ali1234

Do you have any idea how it could prevent DoS attack? Because to be honest I see some aspects about security that could be improved, but not really about preventing DoS. How would it work without external services, load balancers etc.?
We could implement rate limiting, but this would be bad from the performance standpoint.
I would be happy to implement that, but right now, I can't imagine how this could work on microcontroller.
And there is still DDoS...
Considering that we can't host https directly on microcontroller (as far as I know), using e.g. nginx on Raspberry Pi seems logical always when someone wants to expose the web server to public. And by using nginx we can get both https and load balancing etc.

@michalpokusa I'd this is just a warning about use: if you use this on the public internet, be aware you are open to this kind of attack. I don't see a reason to try to mitigate a DoS attack; if that is a possibility you might not want to put yourself in that situation.

It probably won't be possible to really mitigate directed attacks, but the problem I reported is trivial enough that it can happen accidentally (which is how I found it).

we'd be happy to see this made more robust! The point of this change was not to dissuade folks from improving the package, but rather to be honest about the level of security that is presently provided.


removing screenshot buttons mod

hello I would like to know how to make these green screenshot buttons on float checker dissapear? I don't use them and they take up too much space

my browser is Firefox thx

Dupe of #142


My model seems not using my custom designed loss function

I defined a triplet loss function as follow:
def triplet_loss( self, alpha ):
     def loss( y_true, y_pred ):
        anc, pos, neg = y_pred[ :, :emb_size ], y_pred[ :, emb_size:2 * emb_size ], y_pred[ :, 2 * emb_size: ]
        distance1 = tf.sqrt( tf.reduce_sum( tf.pow( anc - pos, 2 ), 1, keepdims=True ) )
        distance2 = tf.sqrt( tf.reduce_sum( tf.pow( anc - neg, 2 ), 1, keepdims=True ) )
        return tf.reduce_mean( tf.maximum( distance1 - distance2 + alpha, 0. ) )
    return loss

and then I compile it with my model by
self.model.compile(loss=self.triplet_loss(alpha=margin,
                                          # emb_dim=emb_size
                                           ),
                    optimizer=optimizer )

then the model start training process by using self.model.train_on_batch(data),
`Iteration 1/10000: Train loss: 4.558698, lr = 0.001000
Iteration 2/10000: Train loss: 4.558681, lr = 0.001000
Iteration 3/10000: Train loss: 4.558654, lr = 0.001000
Iteration 4/10000: Train loss: 4.558623, lr = 0.001000`

However, the problem is that I didn't even pass the emb_size  to the loss function. And I tried to remove the every thing in my function loss in my loss function as:
`def triplet_loss( self, alpha ):
    def loss( y_true, y_pred ):
        print("My loss function")
    #     anc, pos, neg = y_pred[ :, :emb_size ], y_pred[ :, emb_size:2 * emb_size ], y_pred[ :, 2 * emb_size: ]
    #     distance1 = tf.sqrt( tf.reduce_sum( tf.pow( anc - pos, 2 ), 1, keepdims=True ) )
    #     distance2 = tf.sqrt( tf.reduce_sum( tf.pow( anc - neg, 2 ), 1, keepdims=True ) )
    #     return tf.reduce_mean( tf.maximum( distance1 - distance2 + alpha, 0. ) )
    return loss`

and run the training program again, the training can still working, and the loss is similar to above
Iteration 1/10000: Train loss: 4.556189, lr = 0.001000
Iteration 2/10000: Train loss: 4.556171, lr = 0.001000
Iteration 3/10000: Train loss: 4.556145, lr = 0.001000

So I think the keras is not using my loss function at all, why would this happen? what should I do to fix this problem?
The complete code is here
Please help me, I have struggled for a long time. Thanks in advance

@Colin-Guolin
Could you please refer this, and let us know if it helps.Thanks


Bug 2104424: Check Descheduler Operator and enable/disable on pages

📝 Description
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2104424
Check correctly if the Kube Descheduler Operator is installed and enable/disable Descheduler field appropriately on VMs/Templates Scheduling tabs, also in the Review and create VirtualMachine page - Scheduling tab.
Additionaly, remove unnecessary title from the Review and create VirtualMachine page - Scheduling tab for UI consistency reasons.
🎥 Demo
Before:
Templates Scheduling tab and Descheduler field disabled even when the operator is installed:

Review and create VirtualMachine page - Scheduling tab with the unnecessary title, also Descheduler field always editable no matter the operator installed:

After:

/lgtm
:+1: :+1: :1st_place_medal:


Video Grid option

Please implement an option to create grid videos.

Try version 3.19.0. Added a simple way to create grid videos (limited to two).


Implement Token Introspection Method for Publish Tokens

https://indieauth.spec.indieweb.org/#access-token-verification-request
Problem is how to, if my WordPress plugin accepts tokens, to verify they work.
If not verification, even the old school using it to fetch a page that returns something.

Agreed! Bridgy doesn't implement IndieAuth itself at all, just Micropub, but I'll see what I can do.

Yes, so it doesn't have to be to spec. It's  just a starting point.  You could use something like the old IndieAuth method.
https://www.w3.org/TR/indieauth/#access-token-verification
No auth.

I've done this by moving Bridgy's minimal Micropub query support behind auth, specifically ?q=config. That now fails unless you include a valid token for a valid, publish-enabled Bridgy account. (I think that's how the spec says it's supposed to work anyway 😁)


Compressed IPC Crash in certain cases

Hi guys,
It seems the IPC decompression crashes with the particular attached example (it works fine if uncompressed). I have tried many variant but just cannot get my head around why it would fail (it loads fine in PyArrow). Many thanks in advance!
bigfile_3.dmp
use arrow2::io::ipc::read::{FileReader, read_file_metadata};
use std::fs::File;
let mut file = File::open("bigfile_3.arrow").expect("file not found");
let metadata = read_file_metadata(&mut file).unwrap();
let mut read = FileReader::new(file, metadata, None, None);
let mut parsed_df = read.next().unwrap().unwrap();

thread 'tokio-runtime-worker' panicked at 'range start index 8 out of range for slice of length 0', /arrow2-0.18.0/src/io/ipc/read/read_basic.rs:124:42

Updated initial question to use Arrow2 only


Brainstorm projects for Outreachy

Come up with 2-3 interesting projects
Plan for the contribution period

Proj outline due: End of Sept (Justin to find out)
Internship: Dec 6 to Mar 4

Provide context to the Nathans
Everyone thinks offline
Setup a meeting to discuss

Amreen to reach out to Justin whether we've been selected as an org


how to call class method with string function name?

example:
class A {
B(){
return true;
}
C(){
return false;
}
}
var str = "B";
how to call function B with str;

The general problem requires reflection, so you can only do it using the dart:mirrors library. That library is not available on all platforms (it's not on the web and not in Flutter).
Short of that, you need to know the possible methods ahead of time, and then you can either write a function like:
Function getMember(A object, String name) {
   if (name == "B") return object.B;
   if (name == "C") return object.C;
   throw ArgumentError.value(name, "name");
}

or use something like package:reflectable to generate the function for you.

Closing.  To add to @lrhn 's explanation, mirrors is not likely to be provided for client code as it interferes with the compiler's ability to optimize code.

@linguitang, on the reflectable version issue, please see https://github.com/dart-lang/reflectable/issues/153.

The general problem requires reflection, so you can only do it using the dart:mirrors library. That library is not available on all platforms (it's not on the web and not in Flutter).
Short of that, you need to know the possible methods ahead of time, and then you can either write a function like:
Function getMember(A object, String name) {
   if (name == "B") return object.B;
   if (name == "C") return object.C;
   throw ArgumentError.value(name, "name");
}

or use something like package:reflectable to generate the function for you.

it is usable if line are limited, but if there are thousands or variable, then the questions remains on its place unsolved.


[QUESTION] How to return a list field?

First check

[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.

I'm using a model like:
class Question(BaseModel):
    id: int
    title: str = Field(..., min_length=3, max_length=50)
    answer_true: str = Field(..., min_length=3, max_length=50)
    answer_false: list
    category_id: int

And trying to get the questions using the following function:
def get(id: int):
    query = questions.select().where(id == questions.c.id)
    return database.fetch_one(query=query)

@router.get("/{id}/", response_model=QuestionDB)
def read_question(id: int = Path(..., gt=0),):
    question = get(id)
    if not question:
        raise HTTPException(status_code=404, detail="question not found")
    return question

And here is the data that has been stored in the database:

But it can't return the list field (answer_false) correctly and this field's values are being returned as characters:

What am I doing wrong and how should I fix this?

It was because of my sqlalchemy config. I Removed dimensions in the table's config it the problem got fixed:
questions = Table(
    "questions",
    metadata,
    Column("id", Integer, primary_key=True),
    Column("title", String(50)),
    Column("answer_true", String(50)),
    Column("answer_false", ARRAY(String)), ## adding dimension will cause the list to not work in get requests
    Column("created_date", DateTime, default=func.now(), nullable=False),
    Column("category_id", Integer, ForeignKey("categories.id")),
)

Thanks for reporting back and closing the issue :+1:


fix dead link

https://developer.ibm.com/courses/all/docker-essentials-extend-your-apps-with-containers/ no longer exists. find a replacement or remove it.

found the correct link (I think) via google
https://developer.ibm.com/courses/docker-essentials-a-developer-introduction/

seems to work again, goes to the course.


Cannot read content from Fibaro HC app

Hi,
The app works great, but the push messages which I receive from Fibaro HomeCenter app... it says the app name but not the content of t.
Is this a big or maybe an enhancement?
thanks

This is an enhancement and a duplicate of Issue #5.
Long story short, I've been having serious motivation issues in regard to my apps since I got my job over 3 years ago. So, sorry for the long delay in anything getting done. The fact that I'm finally here in the issue tracker is a step in the right direction.


[Feature Request] Make the URL PREVIEW editable

Making this editable would be awesome since the top input field is always so small =]

I feel like this is solving the problem in the wrong way. I'd rather come up with a solution to make the top bar more usable. Maybe show multiple lines in the top bar if it has focus?

Something like that. The biggest problem I see is that when you need to change something at the very end of the URL. I just feel like there's gotta be a better way.

Closing this one as stale for now.


Not enforcing EnableAutoConfiguration on aggregate parent

The aggregate parent configuration now imports the required auto configuration classes such as ChannelBindingAutoConfiguration and EndpointAutoConfiguration
while @EnableBinding is still at the parent configuration to be able to share the binding configuration among the child applications
Add ConditionalOnMissingBean in spring cloud stream auto configuration classes so that if EnableAutoConfiguration is enabled at child application classes
they don't get instantiated again
Conditionally import EmbeddedServlet auto-configuration when web environment is enabled for parent
Add test

Resolves #737

Ok, tried with real aggregated app and works better, merging.

Just leaving a note here, this now works as is even if postgre libs are on CP
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class FilegpfdistApplication {

	public static void main(String[] args) {
		AggregateApplicationBuilder builder = new AggregateApplicationBuilder(FilegpfdistApplication.class, args);
		builder
			.from(LoadGeneratorSourceConfiguration.class).args(args)
			.to(ThroughputSinkConfiguration.class).args(args)
			.run();
	}
}

Previously I had to run it with --spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration to disable that auto-config on child contexts as well.
I still need to exclude on main app as otherwise I get
***************************
APPLICATION FAILED TO START
***************************

Description:

Cannot determine embedded database driver class for database type NONE

Action:

If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

cherry picked per https://github.com/spring-cloud/spring-cloud-stream/commit/8792423abceb6e12ddbc851a116e3402348bcdb5

@jvalkeal thank you for the review/verifying and merging.
In the case of exclusion of DataSourceAutoConfiguration at the @SpringBootApplication, isn't this something user has to exclude anyway because of the EnableAutoConfiguration that is brought by the @SpringBootApplication?

well yes but previously aggregated app forced that full auto-config, which this PR made better. Now I can actually exclude that on main class and not using boot's global property.


Mistake in condition?

How does the code work on rows 339, 343, 399, 403 in sscanf.inc? Probably there are mistakes.

Those lines are fine: http://wiki.sa-mp.com/wiki/Strval.
if ('0' <= string[0] <= '9')

these lines check if the first character of the passed string is a number between 0 and 9, so it does a minor check whether the string has a big probability to be an actual number. So a string of "9432" continues in the next block, as well as "0433", "425", but not "+4232", "-423", "6.9", "sdfjdsa", "STRING".
Inside that if, ret is created with the value of the string converted to a number, if possible. Then another check is made, to check if the converted number is between those valid intervals, if it is, then that number is correct and it is returned. The kustom specifier fills a passed variable with the ID, which is correct.
The only problem in that code is with the weapons check, because strlen returns 0 if the passed string is not a number, so an invalid number string not starting with '0'...'9' may actually fill the variable with 0, which is the "Unarmed" weapon ID, which isn't correct.

I mean the format of these conditions, becouse:
printf("%i", (0 <= -1 <= 2)); // printed: "0"
printf("%i", (0 <= 0 <= 2)); // printed: "0"
printf("%i", (0 <= 1 <= 2)); // printed: "0"
printf("%i", (0 <= 2 <= 2)); // printed: "0"
printf("%i", (0 <= 3 <= 2)); // printed: "0"

Expression "a < b < c" is compiled as "(a < b) < c".

Well, in C it is compiled as "( a < b ) < c", while in Pawn is compiled as "a < b && b < c". Did you test that ?
printf("%i", (0 <= -1 <= 2)); // should print: "0"
printf("%i", (0 <= 0 <= 2)); // should print: "1"
printf("%i", (0 <= 1 <= 2)); // should print: "1"
printf("%i", (0 <= 2 <= 2)); // should print: "1"
printf("%i", (0 <= 3 <= 2)); // should print: "0"

I tested with original compiler (Win Server package from sa-mp.com).
http://i.imgur.com/tL6b8H2.png/

That's weird. I tested that code in the original SA-MP compiler and it indeed prints 0, 0, 0, 0, 0. But here's another test:

I didn't know that range checks are different for rvalues and lvalues.
So the code from sscanf is still correct, as it uses an lvalue.


The error is dispayed on screen when clicking on View button availabe in  Analytics

Describe the bug
When View button availabel in the Analytics page is clicked  then error is diapyed on screen
Refer  screenshot

To Reproduce
Steps to reproduce the behavior:

Go to HR
Click on Recruitment
Click on Reports
Click on View button

Expected behavior
Error should not be dispayed to the user on screen.

@P4NK4J  hey, can you tell me where should i need to change ?? "controller.php" or "blade.php"

The issue has been fixed

The task is complete please refer screenshot


support for secure cookies when connection is not secure but proxy is

also tweaked a line that was causing tests to fail.

awesome, thanks @benadida!


[HUDI-6787] Integrate the new file group reader with Hive query engine

Change Logs
Replace existing hive read logic with filegroup reader
HoodieFileGroupReader is the generic implementation of a filegroup reader that is intended to be used by all engines. I created HoodieFileGroupReaderRecordReader which implements RecordReader. HoodieFileGroupReaderRecordReader uses HoodieFileGroupReader with HiveHoodieReaderContext to read filegroups (cow, mor, bootstrap) with the hive/hadoop engine.
Impact
hive will be more maintainable
Risk level (write none, low medium or high below)
high
need to do lots of testing
Documentation Update
N/A
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@vinothchandar

@bvaradar Can you help the review of the hive related code?

@bvaradar Can you help the review of the hive related code?

Yes @danny0405 . Will review this PR.

Thanks @bvaradar, we all appreciate it!

Overall looks good to me. @jonvex : What Hive versions are we targeting/testing ?

@bvaradar I used the docker demo to test. I think that is using Hive 2. We would like this to replace the existing implementation so the goal is to support everything that works when fg reader is disabled.

@jonvex could you check in the code of testing new file group reader on Hive 3 from #11398?


blog - image captions

Update old blog post image captions to have a "small" class so that they are... smaller.

PR - https://github.com/pupil-labs/pupil-labs-website/pull/200


[BUG] UUID is not set when goto today or goto weekly and create new entry.

Please confirm

[x] I am running the latest version of this plugin

Describe the bug
A clear and concise description of what the bug is.
I select either the entries goto today or goto thisweek to create a new entry. I get an error and an entry is created without the use of a template.
To Reproduce
Steps to reproduce the behavior:

Start nvim
open Telekasten panel
select either: goto today or goto thisweek (make sure no file for this was created previously)
select file (Note: no template is to be shown in preview pane)
press enter
See error

E5108: Error executing lua ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:648: bad argument #2 to 'gsub' (string/function/table expected)
stack traceback:
        [C]: in function 'gsub'
        ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:648: in function 'linesubst'
        ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:673: in function 'create_note_from_template'
        ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:1762: in function 'GotoDate'
        ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:1821: in function 'selection'
        ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:3131: in function 'panel'

Expected behavior
Upon selection of file i expect the template content to be displayed in the preview pane, and on enter I expect no error and a file created based on the template.
Operating system (please complete the following information):

OS: ubuntu 22.04

Additional context
neovim v0.9.0-dev

Works as expected on my setup. Can you post your config? Especially the part were you setup the different directories?

sure, here goes:
local home = vim.fn.expand("~/notes")
zettelkasten.setup({
    home = home,
    filename_space_subst = "_",
    command_palette_theme = "window",
    show_tags_theme = "window",
    media_previewer = "viu-previewer",
    dailies = home .. "/" .. "dailies",
    weeklies = home .. "/" .. "weeklies",
    templates = home .. "/" .. "templates", -- path to templates
    template_new_note = home .. "/templates/new_note.md",
    template_new_daily = home .. "/templates/daily.md",
    template_new_weekly = home .. "/templates/weekly.md",
})

if I goto to the functions I see the place with uuid is filled with a '_'.
local function GotoDate(opts)
    opts.dates = calculate_dates(opts.date_table)
    opts.insert_after_inserting = opts.insert_after_inserting
        or M.Cfg.insert_after_inserting
    opts.close_after_yanking = opts.close_after_yanking
        or M.Cfg.close_after_yanking
    opts.journal_auto_open = opts.journal_auto_open or M.Cfg.journal_auto_open

    local word = opts.date or os.date(dateformats.date)

    local fname = M.Cfg.dailies .. "/" .. word .. M.Cfg.extension
    local fexists = file_exists(fname)
    if
        (fexists ~= true)
        and (
        (opts.dailies_create_nonexisting == true)
        or M.Cfg.dailies_create_nonexisting == true
        )
    then
        create_note_from_template(
            word,
            _,
            fname,
            M.note_type_templates.daily,
            opts.dates
        )
        opts.erase = true
        opts.erase_file = fname
    end

when I change this to:
local function GotoDate(opts)
.
.
.
    if
        (fexists ~= true)
        and (
        (opts.dailies_create_nonexisting == true)
        or M.Cfg.dailies_create_nonexisting == true
        )
    then
        local uuid = get_uuid(opts)
        create_note_from_template(
            word,
            uuid,
            fname,
            M.note_type_templates.daily,
            opts.dates
        )
        opts.erase = true
        opts.erase_file = fname
    end

it does work. so far.

I think I understand the issue now....
Correct me if I am wrong, but basically you have at some point {{uuid}} in your template for daily/weekly notes, right?
As it is currently implemented, the UUID system is mostly meant to prefix/replace the filename for regular notes. This is because in zettelkasten, you never know if the title of a note will change, hence UUID makes more sense to keep all links working when changing a note title.
Daily/weeklies are special notes that have their own naming format. This is done so other functions can differentiate straight away between a note and a journal entry. See :h telekasten.note_naming. Because of that, these special notes do not use uuid at all. Therefore, calling it from their template leads to the issue.
Can you confirm I got all this right and expand a bit more on your workflow/usecase for a UUID in these notes?
If the goal is just to have a datetime stamp, just use the proper template for that instead of {{uuid}}. If you really want an unique identifier for all your notes, then yes the fix you propose will likely solve that, I can review it a bit more in depth and push it.

none of my templates  show {{uuid}}. these are my templates:
daily:
    ---
    title: {{hdate}}
    ---

weekly:
    ---
    title: {{year}}-W{{week}}
    date:  {{hdate}}
    ---
    # Review Week {{week}} / {{year}}

basic (new_notes):
    ---
    title: {{title}}
    date:  {{date}}
    ---

I wanted to use {{uuid}} in te titles but I got a failure so I hold back of those.

what I do notice in when I print the value of uuid in this function:
local function linesubst(line, title, dates, uuid)
    if dates == nil then
        dates = calculate_dates()
    end
    if uuid == nil then
        uuid = ""
    end
...

When I print uuid I see it as <userdata 1> not at nil

I have the same issue.
I don't use {{uuid}} in any of my templates either.

After some update, I have this issue too.
E5108: Error executing lua: ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:649: bad argument #2 to 'gsub' (string/function/table expected)
stack traceback:
        [C]: in function 'gsub'
        ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:649: in function 'linesubst'
        ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:673: in function 'create_note_from_template'
        ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:1761: in function 'GotoDate'
        ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:1820: in function 'goto_today'
        .../after/plugin/telekasten.lua:25: in function <.../nvim/after/plugin/telekasten.lua:25>
``

I created a PR #238 which I believe should correct the issue.
In my environment at least, it appears _ has a boolean value assigned to it. So when _ is passed as the uuid, the code is expecting nil and instead receives a bool, causing the substitution to fail. Changing those calls to use nil explicitly seems to fix everything.


Add webhook endpoint

r? @bdorfman-stripe

Ah sorry for forgetting to review this. I think probably this demo should also show getting a customer id or some similar data out of metadata and linking the charge to the customer as well.

ah yep, that's a good idea – i'll add in another PR

(added in #14 )


Error when opening a large image format

I'm getting this RuntimeError('Incompatible keyframe') when I click on the large image icon to open the .btf image.

This works fine on an older version of DSA(I'm able to open it properly) but not in the latest.
Below is the error.log when I click on large image icon.
[2022-07-29 20:49:43,511] ERROR: 500 Error
Traceback (most recent call last):
  File "/opt/girder/girder/api/rest.py", line 649, in endpointDecorator
    val = fun(self, path, params)
  File "/opt/girder/girder/api/rest.py", line 1238, in POST
    return self.handleRoute(method, path, params)
  File "/opt/girder/girder/api/rest.py", line 977, in handleRoute
    val = handler(**kwargs)
  File "/opt/girder/girder/api/access.py", line 57, in wrapped
    return fun(*args, **kwargs)
  File "/opt/girder/girder/api/rest.py", line 400, in wrapped
    return fun(*args, **kwargs)
  File "/opt/girder/girder/api/rest.py", line 430, in wrapped
    val = fun(*args, **kwargs)
  File "/opt/large_image/girder/girder_large_image/rest/tiles.py", line 222, in createTiles
    return self.imageItemModel.createImageItem(
  File "/opt/large_image/girder/girder_large_image/models/image_item.py", line 77, in createImageItem
    sourceName = girder_tilesource.getGirderTileSourceName(item, fileObj)
  File "/opt/large_image/girder/girder_large_image/girder_tilesource.py", line 175, in getGirderTileSourceName
    if AvailableGirderTileSources[sourceName].canRead(item):
  File "/opt/large_image/large_image/tilesource/base.py", line 2526, in canRead
    cls(path, *args, **kwargs)
  File "/opt/large_image/large_image/cache_util/cache.py", line 204, in __call__
    raise exc
  File "/opt/large_image/large_image/cache_util/cache.py", line 197, in __call__
    instance = super().__call__(*args, **kwargs)
  File "/opt/large_image/sources/tifffile/large_image_source_tifffile/__init__.py", line 102, in __init__
    for idx, s in enumerate(self._tf.series):
  File "/.pyenv/versions/3.9.13/lib/python3.9/functools.py", line 993, in __get__
    val = self.func(instance)
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 3953, in series
    series = getattr(self, '_series_' + name)()
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 4500, in _series_sis
    pages = self.pages._getlist(validate=False)
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 6368, in _getlist
    pages = [getitem(i, validate=validhash) for i in key]
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 6368, in <listcomp>
    pages = [getitem(i, validate=validhash) for i in key]
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 6415, in _getitem
    page = tiffpage(self.parent, index=pageindex, keyframe=self._keyframe)
  File "/opt/venv/lib/python3.9/site-packages/tifffile/tifffile.py", line 8648, in __init__
    raise RuntimeError('incompatible keyframe')
RuntimeError: incompatible keyframe

It would be great if you can suggest me what to do to resolve this. Thank you.

Hmm...  It looks like your file is trying to be opened via the tifffile source (which didn't exist until a few weeks ago).  You can manually uninstall large-image-source-tifffile, but the right solution is to detect that this file shouldn't be handled via that source.  I'll look into it further next week.
Would you happen to have a file that can be used for public testing that shows the problem?

Thank you so much. Let me see If I can find a public BigTiff image that can be used to test this. The one I'm using is from a private dataset.

@manthey Unfortunately I couldn't find any public image that could be used to test this usecase. However, when I ran the "identify" command from Imagemagick on this image file, I got the below.
hu_prostate_PC4-20200605_2019_01.btf[0] TIFF64 45048x40466 45048x40466+0+0 8-bit sRGB 5.09903GiB 0.010u 0:00.007
hu_prostate_PC4-20200605_2019_01.btf[1] TIFF64 27x25 27x25+0+0 16-bit Grayscale Gray 0.010u 0:00.003

I'll close this (the dockers should be rebuilt in ~ 1 hour).  Please reopen if it isn't resolved.

@manthey I pulled the updated dockers and it worked like a charm! Thanks so much for your swift action on this issue.


Add support for new preserve-aggregate options

Add support for the new, finer-grained aggregate preservation options
that were added to CIRCT/firtool.
Signed-off-by: Schuyler Eldridge<EMAIL_ADDRESS>

This requires a newer docker image. However, the docker image build is currently broken. 🥲

Thank you for updating options!


realsense2_camera: 4.54.1-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository realsense2_camera to 4.54.1-1:

upstream repository: https://github.com/IntelRealSense/realsense-ros.git
release repository: https://github.com/IntelRealSense/realsense-ros-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 4.51.1-1

realsense2_camera
* Applying AlignDepth filter after Pointcloud
* Publish /aligned_depth_to_color topic only when color frame present
* Support Iron distro
* Protect empty string dereference
* Fix: /tf and /static_tf topics' inconsistencies
* Revamped the TF related code
* Fixing TF frame links b/w multi camera nodes when using custom names
* Updated TF descriptions in launch py and readme
* Fixing /tf topic has only TFs of last started sensor
* add D430i support
* Fix Swapped TFs Axes
* replace stereo module with depth module
* use rs2_to_ros to replace stereo module with depth moudle
* calculate extriniscs twice in two opposite ways to save inverting rotation matrix
* fix matrix rotation
* Merge branch 'ros2-development' into readme_fix
* invert translation
* Added 'publish_tf' param in rs launch files
* Indentation corrections
* Fix: Don't publish /tf when publish_tf is false
* use playback device for rosbags
* Avoid configuring dynamic_tf_broadcaster within tf_publish_rate param's callback
* Fix lower FPS in D405, D455
* update rs_launch.py to support enable_auto_exposure and manual exposure
* fix timestamp calculation metadata header to be aligned with metadata json timestamp
* Expose USB port in DeviceInfo service
* Use latched QoS for Extrinsic topic when intra-process is used
* add cppcheck to GHA
* Fix Apache License Header and Intel Copyrights
* apply copyrights and license on project
* Enable intra-process communication for point clouds
* Fix ros2 parameter descriptions and range values
* T265 clean up
* fix float_to_double method
* realsense2_camera/src/sensor_params.cpp
* remove T265 device from ROS Wrapper - step1
* Enable D457
* Fix hdr_merge filter initialization in ros2 launch
* if default profile is not defined, take the first available profile as default
* changed to static_cast and added descriptor name and type
* remove extra ';'
* remove unused variable format_str
* publish point cloud via unique shared pointer
* make source backward compatible to older versions of cv_bridge and rclcpp
* add hdr_merge.enable and depth_module.hdr_enabled to rs_launch.py
* fix compilation errors
* fix tabs
* if default profile is not defined, take the first available profile as default
* Fix ros2 sensor controls steps and add control default value to param description
* Publish static transforms when intra porocess communication is enabled
* Properly read camera config files in rs_launch.py
* fix deprecated API
* Add D457
* Windows bring-up
* publish actual IMU optical frame ID in IMU messages
* Publish static tf for IMU frames
* fix extrinsics calculation
* fix ordered_pc arg prefix
* publish IMU frames only if unite/sync imu method is not none
* Publish static tf for IMU frames
* add D430i support
* Contributors: Arun Prasad, Arun Prasad V, Arun-Prasad-V, Christian Rauch, Daniel Honies, Gilad Bretter, Nir Azkiel, NirAz, Pranav Dhulipala, Samer Khshiboun, SamerKhshiboun, Stephan Wirth, Xiangyu, Yadunund, nvidia

realsense2_camera_msgs
* add info about extrinsic msg format in Extrinsics.msg and README.md
* Expose USB port in DeviceInfo service
* Fix Apache License Header and Intel Copyrights
* apply copyrights and license on project
* Contributors: Arun Prasad, Nir Azkiel, SamerKhshiboun, Stephan Wirth

realsense2_description
* Update mesh path
* clone PR1637 to ros2-development
* Fix Apache License Header and Intel Copyrights
* apply copyrights and license on project
* Replace deprecated parameter node_name with name
* Contributors: Arun Prasad, Nir Azkiel, SamerKhshiboun, augustelalande, marqrazz

Holding for Humble sync.


Making it smoother for folks to contribute to repo2docker

Some personal fiddling on top of @betatim's PR #654. All edits up for discussion!
Ready for review ❤
Changes in this PR:

Reformatting and added comments to bug_report and feature_request issue templates.
Added more words around the contributing guidelines via read the docs. Some reformatting but generally a lot of the content is the same, just with a few extra bits and bobs added to make it (I hope) more accessible.
Added more words to the links in CONTRIBUTING.md to try to nudge folks to go and actually read the documentation.

I think you mean #654, #624 is an old PR.

Thanks!
I think using the word "assigned" implies that there is someone who can tell someone else what to do. At least when I assign someone homework, tasks, etc I expect them to complete those. We don't have the luxury here. Even when I can assign people work I tend to organise for them to self select to work on it because people are for more motivated if they are working on things they wanted to work on. That is the spirit I think should be in someone asking for a feature. They should be creating FOMO around the feature so that everyone wants to work on it and we have to send people away ;)
Maybe we can convert the sentences that refer to assigning work into "use this to advertise/lobby/convince for your feature and help others understand how much effort it would be to make them more likely to choose to work on this" (needs better wording). Basically scoping the work, pointing to potential places that need work, considering what unintended consequences could come of it. However a lot of that work isn't needed if the work won't happen because "out of scope" or what not. So I don't think we should make it that costly to post a feature request.
What I'd like to see from people making feature requests is that they demonstrate that they understand that making changes comes at a cost, involves making trade-offs, that only if it aligns with someone's priorities* will they put effort into this and that they are willing to help with the effort.  The extreme version is: do you think the project owes you anything? If yes, please move along.
I'd also remove the say thank you bit. If it is part of the template it feels a bit fake which makes it lose its "magic".

Hey @betatim - Thanks for the comments - they were a little premature because I've tried to capture your points in the guidelines for contributing. I don't think having them in the feature request issue template is the right place - as we discussed on twitter, people are just not going to read them!! 🤦♂
I have to head to dinner (SORRY) but there are a few more changes now for you to take a look at. I haven't REALLY got your point about building momentum in there, but maybe there's an additional bullet point that can fit in?
Happy to remove the thank you part. I kinda like it but it might be a little overly radical to expect people to actually say thank you in a new and creative way each time they ask people for free work 😉

Oh - on the "assigned" part. Would "self-assigned" be any better?
Again, the goal is to nudge people to realise that when they ask for something, they are asking someone to do that work....which is basically exactly the same as "assigning" it. So I think I'm quite pro using the word exactly as intended!
But obviously the point of these templates is not to make the maintainers (in you @betatim!) uncomfortable, so happy to adjust/remove!

This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/a-proposal-for-jupyterhub-communications/505/23

Again, the goal is to nudge people to realise that when they ask for something, they are asking someone to do that work

I agree this is what people are doing and what their expectation. I'd like to nudge people a bit in the direction of "I am asking a friend to do me a favour" and the mindset you are in when you do that. Which is different from a teacher asking you to do X as a homework.

Tagging @choldgraf because I think he wanted to take a look at this 😸

I think these are all really nice additions to the content that's there. It would be great to find ways to generalize some of this content and harmonize it with what we already have in the Jupyter community (see links in the comment I made above). However this is a clear improvement to the contributing docs and I'm +1 after some of the minor comments are addressed. Thanks @KirstieJane !

Ok cool! I think I've incorporated the changes @betatim & @choldgraf! Hope it ends up being helpful!

:heart: @KirstieJane and all who have reviewed this, I get especially happy about this kind of work to hlelp strengthen our community!

Hey all - my 2 cents on this one: looking at the current level of word-parsing going on, I think it's time to just merge this one in :-)
@KirstieJane, can you ping when you think the code is ready for MRG? Others: if you think there's a reason to hold off merging, then please chime in!

Cooolio! I think this is ready to merge. As it’s to documentation does it need to be added to the change log?

Going to merge ahead of travis tests being done. Thanks a lot everyone for your patience and ideas and effort!
I think a PR adding it to the change log is in order. I'd also suggest a post on discourse to tell people we put effort into this, mention the three different templates and say "this isn't set in stone, let's see how it goes and if you have thoughts please get involved"


chore: migrate product images modal to typescript

This PR is born out of frustration of writing plain JS without type checking, causing potentially future problems in the development of the product images model (and other SF JS). This is not fixed in stone, and am willing to revert this if there is a significant pushback.

Current dependencies on/for this PR:

next

PR #229   (this PR)

This comment was auto-generated by Graphite.


Being added to a list or starter pack should generate a notification

Describe the Feature
When I'm added to a list or starter pack I'd like to get a notification.
Currently users aren't aware if they've been added to one and have to use 3rd party tools to figure this out.
As a list/pack creator I would also like the people that are on my list to know.
Attachments
No response
Describe Alternatives
No response
Additional Context
No response

This seems reasonable, although then you could wonder about notification spam if someone is removing and adding people at a rapid pace.
I guess just something to consider in the implementation

You can do that by follow/unfollow somebody too. So that's more of a general problem I think


build gradle failed

Failed to resolve: com.github.ahmedeltaher:Azan:3.0
Show in Project Structure dialog
Affected Modules: app
I use android studio Dolphin and sdk 33

Very late reply but make sure your settings.gradle look like this

The same error

did you try using my solution? @mooti-barry


Piv 216 additional oauth proxy timing metrics

Add timing metrics through oauth-proxy flow.
related story: https://vasdvp.atlassian.net/browse/PIV-216

I think we should make the following changes.

We should use gauge.set(...) instead of startTimer(). The concern here is thread safety. Since multiple requests could be in-flight, and gauge is a shared object, there is the possibility of capturing inaccurate values. We'll have to do the timing on our own (using process.hrtime.bigint()).
Let's drop the gauge for the database. I'm not sure it adds value. To really add value we'd want to measure each type of read and write to see where performance is an issue, and we'd want to do it across the entire application. Too much overhead for now.
Move the token validation gauge into tokenValidation.js so any client will reap the benefits.
The refresh gauge should be renamed to something like oktaRefreshTokenGauge to emphasize Okta, and should also capture a value when the request fails.


Ability to attach details

(I understand that not everyone likes another tab in 1-tab program, so i speak mostly about ability)
it would very comfortable to attach 'details'->'files' on the bottom of app, like in other torrent app - to change priority and see progress of every file without additional clicking.
Especially, with ability to tray\expand.

Im not sure what you mean when you say ability; you mean like an On/Off option or something?
If people wont use it there is no point of having it.
In this case people are used to the (bloat) design of other clients so...
If you mean its implemented for all i just think any tab-like design will break the pure minimalist design for the price of what... two clicks.

change priority and see progress of every file without additional clicking

hmm
Perhaps adding a Details Hotkey is much more acceptable then adding tab attachments. Keeps the minimalist look and with one clicks less its spawns the details. Maybe even add a partner Files Hotkey... thats also a possibility for you.
EVEN BETTER
By adding a small icon/button in the line of the torrent that directly opens said stuff. It could be an on/off column (as all columns should be). It doesen't even need to be an icon it could be: F files, D details... That simple.
Exsample:
Torrent name | # | D F P T | size | status | IIIIIII-----% | ETA | ...
-DFPT are clickable buttons.
Seems the program space is used more efficiently this way (compared to tabs) and you get less clicks as well.

like in other torrent app

Every client today is a (obvious) ripoff of the other one avaiable in one way or another (except transmission). Its always better to be unique rather than a copy. If something is going to be replicated, please let it be torrenting options/features.
I have no life. :3

For now, I think we will stick with what we have (a details dialog) instead of a details tab view at the bottom.
A tip though, you can bring up the details dialog by double clicking a torrent (or pressing Enter with a torrent selected).


Update to cats 0.2.0

Hurray!

Current coverage is 55.41%

Merging #54 into master will not affect coverage as of 4f0a562

Powered by Codecov. Updated on successful CI builds.


Pink for SkåneExpressen

SkåneExpressen line-number signs should be yellow.

Check Skånetrafiken app for reference

Similar #36

Pink is default value. Because transport type name checked for in ColorValueConverter is wrong.


[QUESTION] Change Default Pod CIDR

Hi,
Im running two clusters createt with k3d on 2 VMs. I'm trying to make a curl request from a pod in Cluster 1 to a Pod in Cluster 2.
Problem: The VMs working in the IP-Range 10.42.x.x . The Pods default CIDR is the same Range. So it is not possible to Request the Pod in the second Cluster on the second VM, cause POD1 ist serching the IP-Adress on his Cluster.
Is there a way to change the default Pod CIDR? Or is there an other way to communicat between clusters with my Problem?

Hi there, thanks for opening this issue!
I honestly doubt that this will work properly, since you have so many layers of virtualization/abstraction.
How would the routing of the pod networks work? I guess you'll have to do this manually then to route the pod IPs into the containers, right (in case those are Linux VMs)?
Anyway, here are the network settings for k3s: https://rancher.com/docs/k3s/latest/en/installation/install-options/server-config/#networking
You can use them in k3s like this: k3d cluster create --k3s-server-arg --cluster-cidr='<IP_ADDRESS>/16'

Thank you the for the answer.
I will try that out.
It is only for demonstration how a very simple multi-cluster communication with flatnetworks could work. It is logically not applicable on a large scale, because manual routing is not the point.
greetings from Münster


Memory leak for "bedtools coverage -sorted -split" with BAM files, in v2.26.0 but not v2.25.0

Case: RNA-Seq alignment BAM, approximately 12 GB in size, compared against the exon lines of the A. thaliana GFF reference. Using BEDTools v2.25.0, the analysis is completed in ~approximately 30m, with BEDTools stopping at using ~4GB of RAM.
Typical command line:
bedtools coverage -split -sorted -a exons.gff -b alignment.bam -s

However,  with version 2.26.0, using this exact command line will result in a massive memory leak because of which BEDTools will start using over 50GB of RAM before finishing analysing Chr1.
The problem is, we are aware of the incorrect handling of RNA-Seq BAM files in v2.25.0 and on the fragmentary output we obtain before running out of memory we do observe some differences. As we presume that those differences reflect incorrect calculations on our current version of the files, we would be interested in being able to run the new version without going out of memory.

Thanks for reporting this - I will look into the cause asap.

I see the cause of the leak. Now I just need to come up with a solid solution. Thanks for reporting this. I hope to have it resolved next week when I return from vacation.

Any updates on the issue? I hope the well-deserved holidays went well!

Dear Dr. Quinlan, any update on the issue?

Yes, the massive memory leak in coverage with -split has been addressed. Please test!

Test done, and passed with flying colours - the memory leak has indeed disappeared. Thanks!


camera-target property doesn't work (anymore?)

Description
This page describes how to change camera-target and the example there works:
https://googlewebcomponents.github.io/model-viewer/examples/staging-and-camera-control.html
However, it seems that neither camera-target nor the distance setting of camera-orbit work in the current version (0.6.2+).
(that is, for both the html tag and code access)
Correction: at least for the camera-orbit distance, it seems that it does something but doesn't allow full user control. Seems the values are clamped somehow and only a very limited range of values does anything (see live demo values).
Live Demo
https://glitch.com/edit/#!/full-lyre
Browser Affected

[X] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[X] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[X] Windows

Versions

model-viewer: latest
three.js: rXX

@soraryu currently our docs update on every successful build of the master branch. The advantage of this is that our docs contain information of new things that will be coming in the next release. The disadvantage of this is that new features that you see in our docs might not be available in a release yet.
This is the case with camera-target. As of right now, the latest release is v0.6.2, but camera-target won't be officially released until v0.7.0. The build of model-viewer.js on our docs page is the latest and greatest (and buggiest) thing you will find on our master branch. This is why camera-target appears to work there: because it isn't released yet.
As for the camera radius, you are correct that it is currently clamped. We have work planned to make this configurable, see #458 for that.
Sorry for the confusion. We are going to change our processes as we approach v1.0.0 in order to make this less confusing. We plan to only update our docs for each release, and I hope to also version our docs at that time.


Docs: Add dify on dingtalk tutorial

the representation can be checked through this forked branch, https://github.com/zfanswer/dify-docs/blob/add-dify-on-dingtalk-tutorial/zh_CN/learn-more/use-cases/dify-on-dingtalk.md

Is contribution unwelcome？

Is contribution unwelcome？

Sorry, we welcome contributions from the community. Previously, the review of the PR was delayed due to internal reasons. We will verify and modify it appropriately and publish it after it is correct.
Thank you for your contribution!

Is contribution unwelcome？

Sorry, we welcome contributions from the community. Previously, the review of the PR was delayed due to internal reasons. We will verify and modify it appropriately and publish it.
Thank you for your contribution!

Don't mind, I was half-joking :P

Please allow me to update the code. Thanks.
To https://github.com/zfanswer/dify-docs.git
 ! [remote rejected] add-dify-on-dingtalk -> add-dify-on-dingtalk (permission denied)
error: failed to push some refs to 'https://github.com/zfanswer/dify-docs.git'

AllenWriter

sure, I've invited you as a collaborator of the repo.

Please allow me to update the code. Thanks.
To https://github.com/zfanswer/dify-docs.git
 ! [remote rejected] add-dify-on-dingtalk -> add-dify-on-dingtalk (permission denied)
error: failed to push some refs to 'https://github.com/zfanswer/dify-docs.git'

hi, I've already invited you as a collaborator so you can push your changes, seems you didn't accept yet, so I send invitation again.

https://github.com/zfanswer/dify-docs/invitations

Please allow me to update the code. Thanks.
To https://github.com/zfanswer/dify-docs.git
 ! [remote rejected] add-dify-on-dingtalk -> add-dify-on-dingtalk (permission denied)
error: failed to push some refs to 'https://github.com/zfanswer/dify-docs.git'

Hi,
I'm sorry for not getting back to you sooner. I've accepted your invitation. Thanks

Thanks for your contribution!

The documentation is now available: https://docs.dify.ai/v/zh-hans/learn-more/use-cases/dify-on-dingtalk

Cool，Thanks！
AllenWriter @.***>于2024年9月26日 周四11:05写道：

The documentation is now available:
https://docs.dify.ai/v/zh-hans/learn-more/use-cases/dify-on-dingtalk
—
Reply to this email directly, view it on GitHub
https://github.com/langgenius/dify-docs/pull/217#issuecomment-2375753115,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANUNLKQSHSN7IVYO6FA3L3ZYN2ZHAVCNFSM6AAAAABMZVKCRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZVG42TGMJRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update collections, command, completion, ... to 1.8.0

Updates

org.scala-sbt:collections
org.scala-sbt:command
org.scala-sbt:completion
org.scala-sbt:core-macros
org.scala-sbt:main
org.scala-sbt:main-settings
org.scala-sbt:sbt
org.scala-sbt:task-system
org.scala-sbt:util-logging
org.scala-sbt:util-position

from 1.4.9 to 1.8.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Scalafix Migrations

org.scala-sbt:sbt:1.5.0 (created no change)

https://gist.githubusercontent.com/eed3si9n/57e83f5330592d968ce49f0d5030d4d5/raw/7f576f16a90e432baa49911c9a66204c354947bb/Sbt0_13BuildSyntax.scala
Documentation: https://eed3si9n.com/syntactic-scalafix-rule-for-unified-slash-syntax

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-sbt" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, scalafix-migrations, commit-count:1

Superseded by #171.


Add international cities

Add selected international cities to data and map

Added data and deployed to map. QA'd and functioning properly.


golang.org: 403 Forbiden when trying to download from rack400.com vm

Go version
go1.21.6 & go1.22.0/linux-amd64
Output of go env in your module/workspace:
1:
root@id-916752:~# wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
--2024-02-08 23:57:07--  https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
Resolving golang.org (golang.org)... 2a00:1450:400e:811::2011, <IP_ADDRESS>
Connecting to golang.org (golang.org)|2a00:1450:400e:811::2011|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-02-08 23:57:07 ERROR 403: Forbidden.
2:
root@id-916752:~# sudo tar -C /usr/local -xvf go1.21.6.linux-amd64.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

What did you do?
I want to install Go, but I receive an error message(403 Forbidden) and it doesn't work. download website opens fine in my browser and I don't have any internet issues. This is on a Linux server with the specifications for any version of Go.
What did you see happen?
wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
HTTP request sent, awaiting response... 403 Forbidden
2024-02-08 23:57:07 ERROR 403: Forbidden.
What did you expect to see?
install GO version

This looks like a virtual machine, could please share it's IP or at least the ASN used, this looks like rate limiting gone wrong.

This looks like a virtual machine, could please share it's IP or at least the ASN used, this looks like rate limiting gone wrong.

this ip : <IP_ADDRESS>
There is no problem in the browser
thanks for this

is that a browser from the same machine?
what if you use something else (e.g. currl)?
the wget output indicates it's using ipv6 but you've given an ipv4 address

is that a browser from the same machine?

yes

what if you use something else (e.g. currl)?

curl :  curl -O -L "https://go.dev/dl/go1.21.6.linux-amd64.tar.gz"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100    75  100    75    0     0    436      0 --:--:-- --:--:-- --:--:--   436
100  1449  100  1449    0     0   4911      0 --:--:-- --:--:-- --:--:--  4911

the wget output indicates it's using ipv6 but you've given an ipv4 address

I would appreciate it if you could provide more explanation about the last solution. I cannot use wget under any circumstances and I still receive the same error.

Does wget -4 https://golang.org/dl/go1.21.6.linux-amd64.tar.gz also fails ?
It would be nice to know the IPv6 address of the machine too.

Does wget -4 https://golang.org/dl/go1.21.6.linux-amd64.tar.gz also fails ?
It would be nice to know the IPv6 address of the machine too.

I used this method: this ok.
wget --inet4-only https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
out:
wget --inet4-only https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
--2024-02-09 23:48:02--  https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
Resolving golang.org (golang.org)... <IP_ADDRESS>
Connecting to golang.org (golang.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://go.dev/dl/go1.21.6.linux-amd64.tar.gz [following]
--2024-02-09 23:48:02--  https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
Resolving go.dev (go.dev)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to go.dev (go.dev)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz [following]
--2024-02-09 23:48:02--  https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz
Resolving dl.google.com (dl.google.com)... <IP_ADDRESS>
Connecting to dl.google.com (dl.google.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 66704768 (64M) [application/x-gzip]
Saving to: ‘go1.21.6.linux-amd64.tar.gz.3’
go1.21.6.linux-amd64.tar.gz.3       100%[===================================================================>]  63.61M   104MB/s    in 0.6s
2024-02-09 23:48:03 (104 MB/s) - ‘go1.21.6.linux-amd64.tar.gz.3’ saved [66704768/66704768]
but
But I am encountering this error again during extraction:
:~# tar -xvf go1.21.6.linux-amd64.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Can you please show ip addr for the IPv6 address as IPv4 looks to be working ?

Thank you very much, the extraction was successful. I deleted the previous files and reinstalled it. And as you said @seankhliao
@Jorropo , the problem was with IPv6 and IPv4.


Separated auth for admin, user models

Separated auth for admin, user models #121 Referencing this question in the past, how do you go about doing this nowadays with the new adonis5 ts app? I've gone trough the documentation and it instructs to add a new provider inside the Providers and same with the GuardsList inside 'contracts/auth.ts' but it doesn't go any further than that. Thanks in advance!

Issue doesn't adhere to the guidelines of creating a proper issue.

Make sure that you are only reporting bugs or submitting feature requests on Github.
In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the discussion threads
In any case, issues which are not descriptive enough will be closed. Please respect our time.

Ok I understand sorry about that.


JWT Payload decoded is kept after clearing the original encoded

What improvement do you think would an existing feature or tool in DevToys?
Referring to the JWT Encoder / Decoder, I've noticed that once you press on Clear, this only cleans the copied JWT.
However the Payload after decoding is kept.

Solution/Idea
What if the Payload is also cleared?
Perhaps there is one reason behind, but at first sight I don't find why is kept there if the original JHWT has been removed.
Comments
If do you think is a valid proposal, I would like to clone the repo, check by my own and raise a PR.
Many thanks

Hello, sorry for the late response.
You can work on this bug and we will include the changes in the version 2.
Thank you.


Can't open a file location from Chrome downloads

Description
When you have finished downloading a file on Chrome, you can press the folder icon which takes you to the file lcoation. Using Windows Explorer, this works, but not when Files is set as the default file app. When Files is the default app, it simply opens the folder in which the downloaded file is, but nothing more. It doesn't select it, and even less brings the user to it
Steps To Reproduce

Download a file with Chrome
Press the folder icon

Requirements
Always happens
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3737
Log File
debug.log

Thanks for the feedback, We're tracking this in #14429 . You can check there or click subscribe in the right sidebar for updates.

Sure, thanks a lot :)


Remove convergence warning and improve legend location

closes #457
I look at all figures and move the legend on the side whenever needed. This way was already used for some figures.
I as well remove some convergence warning raised in one of the exercise that was kind of unattended.

https://2614-246063957-gh.circle-artifacts.com/0/jupyter-book/python_scripts/ensemble_bagging.html
/opt/conda/envs/scikit-learn-mooc/lib/python3.9/site-packages/sklearn/base.py:443: UserWarning: X has feature names, but MinMaxScaler was fitted without feature names

Hum maybe this has been fixed in #513. Let me merge to review the re-rendered notebooks.


Make measurement name configurable

Right now it is hard-coded to pi_wx since that's what I'm using it for, but it should be configurable.

fixed in https://github.com/cdzombak/pi-bme280-influx-logger ; this repo is no longer maintained