Upgrade react peer dependency to v17

Fixes #1646
This PR only meets peerDependency, a dependency upgrade and version bump might be needed in order to support v17 completely.

Welcome to The Future™


Feature support - allow a global resolve wrapper to be established

A request was made to allow a global resolve wrapper interface to be established that would provide the ability to wrap the resolves at a top level while still being able to establish resolves at the individual type levels
Initial question is whether this should replace the default type resolvers when it is established or if the individual default resolvers should be left in place

references discussion on #4

This feature was included in v0.1.0 #20

global resolve wrappers can now be established at the query and mutation level (see README)


[LOG4J2-2391] Lazily initialize ThrowableProxy data

Goal is to avoid the most expensive components until render
time, allowing patterns using non-extended traces to avoid
the cost of class loading.
This implementation is fairly naive in that initialization
will deeply initialize all causes and suppressed causes
when any action requires initialization, rather than
lazily initializing only what is required.
Benchmarking results with this change show that the
"complexLog4j2ThrowableAsync" performance matches
"complexLog4j2Throwable" due to avoiding ThrowableProxy
initialization.
Benchmark                                                            Mode  Cnt       Score       Error  Units
FileAppenderThrowableBenchmark.complexLog4j1                        thrpt    3    8537.030 ±  5312.479  ops/s
FileAppenderThrowableBenchmark.complexLog4j2ExtendedThrowable       thrpt    3    2534.330 ±   600.769  ops/s
FileAppenderThrowableBenchmark.complexLog4j2ExtendedThrowableAsync  thrpt    3    2488.063 ±   838.325  ops/s
FileAppenderThrowableBenchmark.complexLog4j2Throwable               thrpt    3   13206.010 ±   320.408  ops/s
FileAppenderThrowableBenchmark.complexLog4j2ThrowableAsync          thrpt    3   12795.284 ±  2677.436  ops/s
FileAppenderThrowableBenchmark.complexLogbackFile                   thrpt    3   11377.932 ± 25787.767  ops/s
FileAppenderThrowableBenchmark.julFile                              thrpt    3   54271.234 ± 42052.793  ops/s
FileAppenderThrowableBenchmark.log4j1                               thrpt    3   75694.883 ± 13310.643  ops/s
FileAppenderThrowableBenchmark.log4j2ExtendedThrowable              thrpt    3   46216.007 ±  1046.523  ops/s
FileAppenderThrowableBenchmark.log4j2Throwable                      thrpt    3  110604.119 ± 33981.960  ops/s
FileAppenderThrowableBenchmark.logbackFile                          thrpt    3  112429.311 ± 95759.913  ops/s

Is this level of complication really worth it? Can you translate you findings in plain English SVP?

As I said on the mailing list, I would like to simplify ThrowableProxy by moving all the rendering logic to a new Class, ThrowableProxyRenderer.  I don't know how it got this way but somewhere along the line we have over-complicated this class to the point that it is hard to figure out what it is doing.

@rgoers Absolutely, this is not ready to merge.
@garydgregory The idea is that loading classes in order to add extended stack trace information can be incredibly expensive depending on the application. On java 8 using the default ClassLoader (network classloaders may be much slower), the benchmarks show a performance drop from 13,000 ops/s to 2,500 ops/s depending on whether we use the throwable pattern, or extended throwable pattern, which uses a ThrowableProxy. For synchronous logging, we can simply select the %ex pattern instead of %xEx (default) and avoid initializing a ThrowableProxy instance, avoiding class loading.
Upon further inspection, AsyncLoggerContextSelector (unlike AsyncLoggerConfig) does not initialize ThrowableProxy until it is is requested, which always occurs on the background thread. This is broken in a slightly different way. The performance is ideal because it avoids creating a stack trace as well as class loading, however when class loading is required, the context classloader from where the throwable was logged has already been lost, and the stack trace only contains frames from the disruptor background thread rather than those from the stack where the exception was caught and logged.

Clearly we should fix bugs. It seems normal that using layout patterns that query for more data will be slower... Maybe that fact should be better documented in the pattern layout: Displaying extended stack traces is slower than normal stack traces... for those who care... ;-)

Yes, the performance is important when it clearing is underperforming.

@carterkozak What is the status of this PR?

Sorry, this has gotten stale and I need to come back to the problem when I have some time. I'm not confident this is the best solution as it only defers initialization instead of reducing the total cost, so it's only helpful for the AsyncLoggerConfig codepath, not AsyncLoggerContextSelector (fully async) or synchronous modes. I'll take a look at updating the async config code to defer throwableproxy initialization in the same way as fully async so they're more closely comparable.

Any progress? Should this be closed in lieu of a different solution?


Feature Request: Decouple Project and User Creation

Currently, whenever a user is created, a project is automatically created along with it, though there is no way to create a project without creating a user. We want to adopt litmus in our org, but we want to have different projects per squad/domain of our organisation. It would be great to see if we can decouple the concept of the project and the user and also allow adding multiple owners to the project as mentioned in this issue.

What do you think of this issue @Saranya-jena @amityt? If you think it's good, I'll implement this feature.

This issue is currently being worked upon as part of LFX mentorship.


Small fix: clarity to Charmed Operators install

@DomFleischmann I believe this small explanation is beneficial. wdyt?

@DomFleischmann can you please /lgtm? :)


Add back in json output

Add in json output variant (--format json, default is still html)
Fixed timezone handling issues that arose from moving to latest Pandas (0.24.2)
Refactored write_html() to reduce code duplication in generating json output.
Explicitly specifiy units (1 day) when adding to index.min()

Codecov Report

Merging #74 into master will decrease coverage by 1.16%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   25.78%   24.61%   -1.17%
==========================================
  Files           5        5
  Lines         737      772      +35
==========================================
  Hits          190      190
- Misses        547      582      +35

Impacted Files
Coverage Δ

zingstats/zing_stats.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Renaming duplicated objects' name results in invalid declaration

Environment

Application Services Version: 1.12
appsvcs: f5-appsvcs-3.25.0-3.noarch.rpm
BIG-IP Version: <IP_ADDRESS>-<IP_ADDRESS> (converting config from <IP_ADDRESS>.0.276.0)

Summary
When ACC recognizes same names of objects (of different types), it adds a suffix, e.g.: "_virtual_dup", which results in an invalid name on BIG-IP in some cases (eg. virtual server's name: "<IP_ADDRESS>" is valid on BIG-IP, but "<IP_ADDRESS>_virtual_dup" is not).
Steps To Reproduce
Steps to reproduce the behavior:

Convert following config:

ltm virtual /tenant_2/application_2/<IP_ADDRESS> {
    destination /tenant_2/application_2/<IP_ADDRESS>:53
    ip-protocol udp
    mask <IP_ADDRESS>
    profiles {
        /Common/dns { }
        /Common/udp_gtm_dns { }
    }
    source <IP_ADDRESS>/0
    translate-address disabled
    translate-port disabled
}
ltm virtual-address /tenant_2/application_2/<IP_ADDRESS> {
    address <IP_ADDRESS>
    arp enabled
    icmp-echo enabled
    mask <IP_ADDRESS>
    traffic-group /Common/traffic-group-local-only
}

Observe the following output and error message:

"tenant_2": {
        "class": "Tenant",
        "application_2": {
            "class": "Application",
            "template": "generic",
            "<IP_ADDRESS>_virtual_dup": {
                "layer4": "udp",
                "translateServerAddress": false,
                "translateServerPort": false,
                "class": "Service_Generic",
                "profileDNS": {
                    "bigip": "/Common/dns"
                },
                "virtualAddresses": [
                   "<IP_ADDRESS>"
                ],
                "virtualPort": 53,
                "persistenceMethods": [],
                "snat": "none"
            }
        }
    }

which fails to deploy:
            "time": "2021-05-25T15:38:12.588553Z",
            "message": "Failed to deploy AS3 declaration\nTraceback (most recent call last):\n  File \"/migrate/journeys/backend/task.py\", line 200, in deploy_config\n    deploy_declaration(output_as3_path, destination)\n  File \"/migrate/journeys/utils/as3_ops.py\", line 254, in deploy_declaration\n    raise AS3DeclarationDeploymentError(icr_output)\njourneys.errors.AS3DeclarationDeploymentError: iControl REST error: code: 422, message: declaration is invalid, errors: ['/tenant_2/application_2: propertyName \"<IP_ADDRESS>_virtual_dup\" should match pattern \"^[A-Za-z]([0-9A-Za-z_.-]{0,188}[0-9A-Za-z_.])?$\"']",

So the pattern of virtual server's name is still invalid.
Expected Behavior
Because BIG-IP allows IP addresses as objects' names (for virtual server, pools, monitors) and also allows saving objects with the same names (but different types, eg. ltm virutal /Common/test and ltm pool /Common/test), we should expect that customers will see such errors quite commonly.
The solution would be to add prefixes (which start with a letter) instead of suffixes, eg. "virtual_dup_<IP_ADDRESS>" instead of "<IP_ADDRESS>_virtual_dup" and re-naming objects which start with a number.
Actual Behavior
ACC adds a suffix to a duplicated virtual object's name, which does not improve customer experience (who will still see an invalid name error).

Merge branch 'virtual_address_dups' into 'develop'


moving some modules to pathlib

This moves a few of the smaller modules to Pathlib, to see how the code looks and make sure that things still work properly. It significantly cleaned up the toc.py module, which is pretty nice :-)

I'm gonna merge this since tests are happy, and then try it out on https://github.com/choldgraf/jupyter-book-deploy-demo to see if it fixed the folder ordering issue!


UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1-2: invalid continuation byte

In the dynamic client after loading the program accounts, I want to decode the data:
http_client = Client("https://api.devnet.solana.com")
pubkey = PublicKey("...")

accounts = []

for x in http_client.get_program_accounts_json_parsed(pubkey).value:
	accounts.append(x.account)

But, the bytes cannot be decoded:
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1-2: invalid continuation byte
What should I do?
Thanks a lot.

Can you give a reproducible example please?

This was the main code. I am just trying to load the accounts from the main program and nothing more. I don't know what do you want exactly

I'm looking for a minimal reproducible example please https://stackoverflow.com/help/minimal-reproducible-example

Ok got it,
consider I have submitted multiple accounts using my wallet into the program. I have a program that makes the accounts containing three variables, var1, var2, and var3 (except the authority).
The web interface makes multiple instances of that account:
ac1: var1, var2, var3
ac2: var1, var2, var3
now the network contains the ac1 and ac2, meaning that the program has two accounts.
Now I have the publickey
pubkey = PublicKey("...")
of the program and I want to load and decode those variables(the three variables belong to ac1 and ac2) into my python program.
The client is connected to the program using publickey and tries to load the ac1 and ac2:
accounts = []

for x in http_client.get_program_accounts_json_parsed(pubkey).value:
	accounts.append(x.account)

This runs fine on my machine with the latest solana-py and solders, though it prints an empty list (idk if that's what you expect):
from solana.rpc.api import Client
from solders.pubkey import Pubkey

http_client = Client("https://api.devnet.solana.com")
pubkey = Pubkey.from_string("E1g4fAGA38Q7yD2SuMZeemsm8T879jtqzrtch8ffMFHA")

accounts = []

for x in http_client.get_program_accounts_json_parsed(pubkey).value:
    accounts.append(x.account)

print(accounts)

If you update to the latest versions do you get the same behaviour?
Also this issue should be in the solana-py or solders repo, not here


Arrays vs. strings in classifier training

Hello, I was just wondering if I could get some clarification on the difference between passing an array and a string to the addDocument() method. For example, what is the difference between ['sell'] and 'sell' in the example below?
classifier.addDocument(['sell', 'gold'], 'sell');
Are strings within an array not tokenized/stemmed during training? If so, would it be best to pass non-English words to addDocument() within an array, to avoid having them incorrectly stemmed? And if I want to train on specific phrases, those should not be passed within an array, correct?
Thank you!

Ah - just took a look at the documentation again and realized this question is wayyy off base, haha. I think I figured out what I need to know. Sorry about that!


Support cockroach dump in IMPORT PGDUMP

Closes #3622.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/b01d1bffb01f2de9e342c2d1cbfb14dd0a97d7d5/


Convert select option for selecting languages to datalist

Right now the select tag is used for selecting language of the app. It makes harder to find if particular language is supported by the app. It would make users life little easier if datalist tag is used instead of select tag. since user will be able to search supported languages and select them.

Hi there. if this issue is not worked on by anyone I would like to help.

Hi there. if this issue is not worked on by anyone I would like to help.

Not sure if it's going to be ideal.. plus you can type now as well.. try typing sve.. or eng..

Not sure if it's going to be ideal.. plus you can type now as well.. try typing sve.. or eng..

First time I'm hearing about datalist. Doesn't seem to work/display correctly on Firefox.

First time I'm hearing about datalist. Doesn't seem to work/display correctly on Firefox.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

and you have to delete in order to see other options.. right?

and you have to delete in order to see other options.. right?

Exactly.. using only mouse you can't change language very easily.. I think we can skip it.

Exactly.. using only mouse you can't change language very easily.. I think we can skip it.

First time I'm hearing about datalist. Doesn't seem to work/display correctly on Firefox.

You are right in Firefox data list elements appear only on searching this might not be what is needed.

First time I'm hearing about datalist. Doesn't seem to work/display correctly on Firefox.

You are right in Firefox data list elements appear only on searching this might not be what is needed.

Thank you @lipis and @dwelle for your time. Can I close this issue ?

Thank you @lipis and @dwelle for your time. Can I close this issue ?


Added a name

Hello Angel!
Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

Sorry I have to close this PR, kindly update your code and initiate a fresh PR
Cheers 🥂

Good morning Success,
I'm just seeing this mail now and I want to know if I can still merge and
push this request.
I'd appreciate your immediate response.
Thanks☺
On Mon, Aug 15, 2022 at 10:51 PM Success Chikezie @.***>
wrote:

Closed #121
https://github.com/Oluwasetemi/altschool-opensource-names/pull/121.
—
Reply to this email directly, view it on GitHub
https://github.com/Oluwasetemi/altschool-opensource-names/pull/121#event-7191998085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5EJJUN5SUZSSTGPWCMTFDVZK3W7ANCNFSM553SG3PQ
.
You are receiving this because you were assigned.Message ID:
<Oluwasetemi/altschool-opensource-names/pull/121/issue_event/7191998085@
github.com>

I'm confused and i don't know where to start from. I'd appreciate if you could guide me on what to do

Okay. I've sent you a message on Slack


Async model support

I tested this using:
llm -m groq-llama-3.3-70b 'a long poem about llamas' --async

Works the same with or without the --async flag.

This PR ends up including the content from this one too:

#10

Merged in #13


feat: add command to check if license is SPDX compliant

Main changes

:new: (feat)

In preparation to handle multiple licenses expression, I've create a new option intended to be used to check if a certain license is SPDX compliant. If checkLicense option is provided, it won't trigger the package scanning logic, will just return whether the argument is a valid SPDX license or not. This way, users will be able to check if the license is valid before using it on the checker commands.
Context

:ticket: Closes / Relates #64

One suggestion added

Done. Also added to the option description


angular, ng serve always get error。only happend when face-api.js>0.20.1, which with 'draw'.

This is the wrong message I got.
ERROR in node_modules/@tensorflow/tfjs-core/dist/io/browser_files.d.ts(24,34): error TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/http.d.ts(23,31): error TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/indexed_db.d.ts(31,34): error TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/local_storage.d.ts(41,34): error TS1039: Initializers are not allowed in ambient contexts.
node_modules/@types/offscreencanvas/index.d.ts(10,22): error TS2304: Cannot find name 'CanvasImageSource'.
node_modules/@types/offscreencanvas/index.d.ts(11,22): error TS2304: Cannot find name 'CanvasImageSource'.
node_modules/@types/offscreencanvas/index.d.ts(12,22): error TS2304: Cannot find name 'CanvasImageSource'.
node_modules/@types/offscreencanvas/index.d.ts(17,43): error TS2304: Cannot find name 'ImageBitmapSource'.
node_modules/@types/offscreencanvas/index.d.ts(18,43): error TS2304: Cannot find name 'ImageBitmapSource'.
node_modules/@types/offscreencanvas/index.d.ts(27,53): error TS2304: Cannot find name 'CanvasState'.
node_modules/@types/offscreencanvas/index.d.ts(27,66): error TS2304: Cannot find name 'CanvasTransform'.
node_modules/@types/offscreencanvas/index.d.ts(27,83): error TS2304: Cannot find name 'CanvasCompositing'.
node_modules/@types/offscreencanvas/index.d.ts(28,9): error TS2304: Cannot find name 'CanvasImageSmoothing'.
node_modules/@types/offscreencanvas/index.d.ts(28,31): error TS2304: Cannot find name 'CanvasFillStrokeStyles'.
node_modules/@types/offscreencanvas/index.d.ts(28,55): error TS2304: Cannot find name 'CanvasShadowStyles'.
node_modules/@types/offscreencanvas/index.d.ts(28,75): error TS2304: Cannot find name 'CanvasFilters'.
node_modules/@types/offscreencanvas/index.d.ts(28,90): error TS2304: Cannot find name 'CanvasRect'.
node_modules/@types/offscreencanvas/index.d.ts(29,9): error TS2304: Cannot find name 'CanvasDrawPath'.
node_modules/@types/offscreencanvas/index.d.ts(29,25): error TS2304: Cannot find name 'CanvasText'.
node_modules/@types/offscreencanvas/index.d.ts(29,54): error TS2304: Cannot find name 'CanvasImageData'.
node_modules/@types/offscreencanvas/index.d.ts(29,71): error TS2304: Cannot find name 'CanvasPathDrawingStyles'.
node_modules/@types/offscreencanvas/index.d.ts(30,9): error TS2304: Cannot find name 'CanvasTextDrawingStyles'.
node_modules/@types/offscreencanvas/index.d.ts(30,34): error TS2304: Cannot find name 'CanvasPath'.
node_modules/@types/offscreencanvas/index.d.ts(42,53): error TS2304: Cannot find name 'CanvasRenderingContext2DSettings'.
node_modules/tfjs-image-recognition-base/build/commonjs/dom/awaitMediaLoaded.d.ts(1,115): error TS2304: Cannot find name 'unknown'.

this is my package.json .
{
  "name": "face-api",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^6.1.0",
    "@angular/common": "^6.1.0",
    "@angular/compiler": "^6.1.0",
    "@angular/core": "^6.1.0",
    "@angular/forms": "^6.1.0",
    "@angular/http": "^6.1.0",
    "@angular/platform-browser": "^6.1.0",
    "@angular/platform-browser-dynamic": "^6.1.0",
    "@angular/router": "^6.1.0",
    "@tensorflow/tfjs-node": "^1.2.3",
    "canvas": "^2.5.0",
    "core-js": "^2.5.4",
    "draw": "0.0.0",
    "face-api.js": "^0.20.1",
    "rxjs": "~6.2.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.8.0",
    "@angular/cli": "~6.2.3",
    "@angular/compiler-cli": "^6.1.0",
    "@angular/language-service": "^6.1.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.3.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "^2.9.2"
  }
}

Is it because my typescript version can't match?
Can someone help me see what's wrong?

the edition of typescript is not matched.   should us v-3.xxx with face-api.js-0.20.1

@929853209 , Is your issue got resolved ?
I'm also facing exactly same issue.

@929853209 , Is your issue got resolved ?
I'm also facing exactly same issue.

"face-api.js": "^0.20.1",
"typescript": "~3.4.3"
this is my version in package.json ,
there are some new typescript api in face-api.js-0.20.1，i have to update my angular version which can use typescript-3.4.3


small changes to trip overview

Changes were described in the commits

Davor:

Danach:

First of all, thank you so much for your great effort, contributing to this project.
All in all, the code looks fine, but still some errors may be fixed before merging:

[ ] trip.html is the old broken view with wrong departure times and not crossed out cancelled stations

[ ] The font is loading from the root folder which leads to errors when runned locally but can easily be fixed.

[ ] The carriage position indicator now has a huge margin for whatever reason.


Error doing job

Logger: homeassistant
Source: helpers/entity.py:526
First occurred: 07:54:34 (11 occurrences)
Last logged: 07:57:04

Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/ha_strava/camera.py", line 65, in image_update_listener
    camera.rotate_img()
  File "/config/custom_components/ha_strava/camera.py", line 228, in rotate_img
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 526, in async_write_ha_state
    raise RuntimeError(f"Attribute hass is None for {self}")
RuntimeError: Attribute hass is None for <Entity strava_cam: https://dgtzuqphqg23d.cloudfront.net/dTrG59sGN9rEEHj1Qmv1BkRdyHREykXdk5SHjjHUCbU-512x384.jpg>

This error floods the Ha logs. Can I do something about it?
Thank you for your hard work!

Also got this error:
Logger: homeassistant.components.camera
Source: helpers/entity_platform.py:520
Integration: Κάμερα (documentation, issues)
First occurred: 08:02:02 (9 occurrences)
Last logged: 08:02:02

Platform ha_strava does not generate unique IDs. ID strava_0_photos already exists - ignoring camera.strava_activity_0_photos

The first error seems that it had to do with the option "import photos from strava" disabled


Add support for patch

This solves #34

Can you do me the quick favor of adding a test to this, please?
It looks right, but this is sanity checking for future changes.
Thanks!

@JLLeitschuh tests are now in place.

Thanks for reviewing and accepting the PR. Is it going to be in a minor-release any time soon?

@nilsmagnus Are you willing to give JitPack.io a shot to see if you can get a release that way?
https://jitpack.io/
If it works, it will significantly reduce the maintenance requirements for me to publish releases.


Issue when changing the track of the video

Hello, I'm having the following issue:
When changing the language of the video, it doesn't change the track until new video content is downloaded. So the old language is reproduced for all the part of the video that is already buffered, and when that part finishes, the new language starts being reproduced.
I found some properties that can be passed to Dash.js, but neither of these work:

setFastSwitchEnabled
setTrackSwitchModeFor

Am I doing something wrong? Or how can I do to achieve this?
Here is my code (complete code):
<video id="example-video" width="600" height="300" class="video-js vjs-default-skin" controls></video>
<script>
  var player = videojs('example-video', {
    html5: {
      dash: {
        setFastSwitchEnabled: true,
        setTrackSwitchModeFor: ['audio', 'alwaysReplace'],
      }
    }
  });

  player.ready(function() {
    player.src({
      src: 'http://dash.akamaized.net/dash264/TestCases/10a/1/iis_forest_short_poem_multi_lang_480p_single_adapt_aaclc_sidx.mpd',
      type: 'application/dash+xml',
    });

    player.play();
  });
</script>

Thanks

Just to be clear, you're talking about switching audio languages, right?
Taking a look at the dash.js Github, they have this ticket still open and this PR still open which fixes it.
Unfortunately, since their code freeze started November 29th and it still hasn't been merged in, it probably won't be in the next release (2.6.4) but the next-next release (2.6.5). And taking a look at the API, setFastSwitchEnabled just says to stick the new segment closer to now, not at now, and setTrackSwitchModeFor just applies to the buffer behind the now.
That being said, you can build dash.js with that specific PR applied and load that instead of the regular dash.js. I just tried that and switching audio now happens as soon as you select the language (with a slight buffer, of course).

Yes, I was talking about audio tracks. I built the dash.js with the code in that PR and it worked. Thanks a lot for your help!

No problem.
Just as a heads up, in the dash-if slack one of their guys mentioned they were having some issues which were holding up the merge, and they might be splitting that PR into 2. You might want to subscribe to that PR for any updates.

Oh, thanks for the heads up! I'll subscribe then!


Install Missing features does nothing

I get a box that says I need to install Universal Windows Platform Tools to load the sample project, after clicking "install" nothing happens....
any ideas?

We've seen problems with installing the platform tools before.
You can try adding the feature through the Add/Remove Programs section in the Control Panel, modifying Visual Studio.
We don't control this part of the project though and I'm not sure there is much we can do about Visual Studio installation problems, sadly. You can file a bug at https://connect.microsoft.com/visualstudio if the problem persists.
If anyone else is seeing this problem and can give details about their installation, it might prove helpful, especially if they have since fixed the problem.

Thanks for the rapid response.  I will try that.  I may have to link more VS content to my Z: however since C: is once again down to its last 2 GB.
You guys are awesome for open sourcing this btw.

Any resolution on this? I'm using VS2017 and the project I open requires WPF amongst other things, the installer pops up, ask permission to close VS2017, runs through its install procedure and then returns me to the same project which reports project unloaded and the only option is to "install missing features"?


Puffinn LSH

Introduce locality-sensitive hashing with the puffinn library #22 .
Per default, when using algorithm='lsh', now puffinn is used instead of falconn.
Puffinn is currently actively developed, and supports pickle-ing its index #20 #28

Codecov Report

Merging #30 into develop will decrease coverage by 0.3%.
The diff coverage is 93.9%.

@@             Coverage Diff             @@
##           develop      #30      +/-   ##
===========================================
- Coverage    99.08%   98.77%   -0.31%
===========================================
  Files           53       53
  Lines         4348     4473     +125
  Branches       464      492      +28
===========================================
+ Hits          4308     4418     +110
- Misses          20       32      +12
- Partials        20       23       +3

Impacted Files
Coverage Δ

skhubness/neighbors/classification.py
100% <ø> (ø)
:arrow_up:

skhubness/neighbors/graph.py
96.15% <ø> (ø)
:arrow_up:

skhubness/neighbors/unsupervised.py
100% <ø> (ø)
:arrow_up:

skhubness/neighbors/regression.py
100% <ø> (ø)
:arrow_up:

skhubness/neighbors/lof.py
100% <ø> (ø)
:arrow_up:

skhubness/analysis/estimation.py
99.57% <ø> (ø)
:arrow_up:

skhubness/neighbors/tests/test_lof.py
97.93% <100%> (+0.05%)
:arrow_up:

skhubness/neighbors/__init__.py
100% <100%> (ø)
:arrow_up:

skhubness/neighbors/tests/test_neighbors.py
99.78% <100%> (ø)
:arrow_up:

skhubness/neighbors/lsh.py
94.92% <91.13%> (-2.66%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


Limit FileSystem ReadOnly detection to local disks

Would be helpfull to have an option to limit FileSystem ReadOnly detection to local disks.
Using a Storage solution on kubernetes, that mounts PeristentVolumes via e.g.iSCSI on the node the pod that consulmes it,  runs on, resulting in e.g. an extra /dev/sdb, the problem detector would also trigger on that volume going ReadOnly. As that volume is really part of a pod (which could move to another node), it doesn't really say something about the node's health. Being able to exclude those disks, or perhaps better, to limit the detection to the initial local disks (only /dev/sda in my current situation) would be a good solution here.
If it could automagically by default only look at locally physically  attached harddisks, that would be better, but I'm not sure that is easy to define.

The default config is just some recommendation config, it is not supposed to cover all cases.
https://github.com/kubernetes/node-problem-detector/blob/master/config/kernel-monitor.json
You can alter it as needed in your environment.

I understand, thanks for your feedback.
Probably due to my lack of enough understanding on how to configure this, I'm not sure how I would go about differentiating between the two types of disk, given the type of filters defined in the json you linked.
What come to mind is adding the line including the specific disks names, hardcoded in the config. I'm not sure it would be easy to differentiate between different nodes and disk configurations, and cases where the reported disk name (e.g. /dev/sda) might not be persistent across reboots.


Performance issue

Google_mobile_ads is really heavy. If this package is executed, any app will be completely out of performance. Rather the admob_flutter package is lighter. Can't you make it light?

same #318

Hi @roberthook823, Thanks for filing the issue, There's already an open issue describing this case #318 you may follow up there for further updates. Closing this issue as duplicate if you disagree feel free to write in comments and I will reopen it.
Thank you.


Unable to access Legend via legend-omnibus

Hi.  I'm launching Legend via this command in an EC-2.
curl https://legend.finos.org/omnibus/start.full.sh | bash
Per legend-studio, I'm getting an unauthorized error.

If you get Unauthorized error, visit SDLC server at http://localhost:6100/api/auth/authorize in your browser

But this endpoint itself is unauthorized.  Unsure what to do next.
[ec2-user@ip-10-229-18-5 legend-studio]$ curl -v http://localhost:6900/sdlc/api/auth/authorize
* Uses proxy env variable no_proxy == 'localhost,<IP_ADDRESS>,*amazonaws.com,<IP_ADDRESS>,amazonaws.com,*.aws'
* Host localhost:6900 was resolved.
* IPv6: ::1
* IPv4: <IP_ADDRESS>
*   Trying [::1]:6900...
* Connected to localhost (::1) port 6900
> GET /sdlc/api/auth/authorize HTTP/1.1
> Host: localhost:6900
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 401 Unauthorized

I'm able to access gitlab in legend-omnibus, and I clicked around... But nothing interesting in here.  http://localhost:6951/users/sign_in

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


docs: convert any optional parameters to new syntax

This issue has the proper syntax: https://github.com/driftyco/ionic-site/issues/558
@param {string} [awesomeParamName] description here.

Example API doc with optional: http://ionicframework.com/docs/v2/api/components/slides/Slides/#slideTo

will be working on this today

Looking good so far. Closing this for now as most of the public methods that need it are already taken care of.


RadzenDatePicker: Changing months or years should not change the selected date till one is clicked.

Describe the bug
Changing months should not change the selected date, as the same day-of-month in a different month is very unlikely to be the date they want, and it is far more likely that the user is paging around to view the calendar and find the date they want, or perhaps to cancel.
To Reproduce
On any date picker, go to the next month.  Notice that merely changing the month changes the selected date to be in the new month.  This is contrary to how all date pickers elsewhere work.
Expected behavior
Show the next month with nothing selected, retaining the current value of the date.
I hope you will prioritize this, as it makes the date picker unusable for me.

@enchev, why are you closing it without comment?

I tried this today; thank you for the fix, @enchev .
It still isn't quite right; can you reopen for a minor tweak?  The class rz-state-active still appears on one day no matter what month you have navigated to, so the date seems to be "selected" even though it really isn't.


Name error for channel tests on rspec

Hi! I'm implementing a really simple chat feature with Rspec and while connection specs work fine I'm getting this error on the channel tests
NameError:   uninitialized constant ChatChannel
This is my rspec code
RSpec.describe ChatChannel, type: :channel do
let(:user) { build_stubbed(:user) }
 ...
end
I've really no idea what's going on... Any help would be appreciated, thanks!

Fixed, my channel rb file had a bad name, my mistake. Closing now.


antlr-runtime-cpp build issue affecting nixos rebuild

Steps To Reproduce
Steps to reproduce the behavior:

build antlr-runtime-cpp-4.9.3

which is part of the following dependency tree:
error: 1 dependencies of derivation '/nix/store/mfnq7cznmx3fvm80kgp7w8xdh88sf2yw-python3.10-afdko-3.9.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6l5gap4df3q3j28xbbf4by6vm958c7qg-python3.10-nototools-0.2.17.drv' failed to build
error: 2 dependencies of derivation '/nix/store/cd42pjz1vhviwr35n72h1v8rhsb96yns-python3-3.10.7-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pqn7g4509lk83rq0506n817r9ml5djgh-noto-fonts-emoji-2.038.drv' failed to build
error: 1 dependencies of derivation '/nix/store/97pf9f4zjxa46qaazvsd8fwdip4y32ip-fc-cache.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gdwfanr8gcqijkya8ix9xfdhzfhlhswg-xserver.conf.drv' failed to build
error: 2 dependencies of derivation '/nix/store/2kjldlxvxq1lba3y1s1jz5hrcsvsvglh-fc-00-nixos-cache.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lhzjj5s6cwalrlwxscyqp9mb9bxgwj5k-unit-display-manager.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1mg8jnri4ad67q18c2qrxg3pgbpz6w0d-fontconfig-conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y6q37nlpnybm84ck2b642j8a41jlgjwv-fontconfig-etc.drv' failed to build
error: 2 dependencies of derivation '/nix/store/3y0kc6wqgcddfcxv4yfkn56fad71bbsl-abstractions-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d0afah2klcgfxxfc1m81bzi9j8k8dpda-apparmor.d.drv' failed to build

Build log
building '/nix/store/rkzbl90775l062v6bhn9va8b3siwqdkv-antlr-runtime-cpp-4.9.3.drv'...
unpacking sources
unpacking source archive /nix/store/mkmp5f1hh81m4gpfi3gw6sjjk204yqlw-source
source root is runtime/Cpp
chmod: cannot access 'runtime/Cpp': No such file or directory
error: builder for '/nix/store/rkzbl90775l062v6bhn9va8b3siwqdkv-antlr-runtime-cpp-4.9.3.drv' failed with exit code 1

Additional context
Reverting 83b0d09f1c0988883af87a3e469c51d1a6c12444 fixes the build issue
Notify maintainers
@workflow / @Technius
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.5, NixOS, 22.11 (Raccoon), 22.11.git.9fcfa4400aa`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos, nixos-small"`
 - channels(fabian): `"home-manager, nixos-19.03-19.03, nixos-19.09-19.09, nixos-20.03-20.03, nixos-20.09-20.09, nixos-21.05-21.05, nixos-21.11-21.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Related to #191299

Can be fixed with:
diff --git a/pkgs/development/tools/parsing/antlr/4.nix b/pkgs/development/tools/parsing/antlr/4.nix
index<PHONE_NUMBER>2..8753bb834de 100644
--- a/pkgs/development/tools/parsing/antlr/4.nix
+++ b/pkgs/development/tools/parsing/antlr/4.nix
@@ -77,7 +77,7 @@ let
         pname = "antlr-runtime-cpp";
         inherit version;
         src = source;
-        sourceRoot = "runtime/Cpp";
+        sourceRoot = "source/runtime/Cpp";

         outputs = [ "out" "dev" "doc" ];


Error with SMALLINT column and -1 value

in first sorry for my bad english. I hope you understand me.
In table with small int column with value set to -1, the script make record with<PHONE_NUMBER> value.
I have searched in source code, particularly in paginated_read function (line 232)
If i replace mysql.prepare and mysql.execute with a simple mysql.query, it's ok (i remake query for each limit).
def paginated_read(table, page_size)
count = table.count_for_pager
return if count < 1
counter = 0
0.upto((count + page_size)/page_size) do |i|
query = table.has_id? ? 'WHERE id >= '+String(i*page_size)+' AND id < '+String(table.has_id? ? (i+1)page_size : page_size)+'' : 'LIMIT '+String(ipage_size)+','+String(table.has_id? ? (i+1)*page_size : page_size)+''
query = "SELECT #{table.columns.map{|c| ""+c[:name]+""}.join(", ")} FROM #{table.name} #{query}"
statement = @mysql.query(query)
while row = statement.fetch_row
counter += 1
yield(row, counter)
end
end
counter
end
gem --version
1.3.5
ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
mysql --version
mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64) using readline 5.2
I don't understand why fetch don't return -1 value and fetch_row return -1
Thanks
Seb
ps: sorry for my atrocious ruby code but it's the first time (read and write ruby code ...)

Closing as an old issue, that would seem to be out of date.
Feel free to re-open and update with comments aganst the master branch.


Add argument to reverse engineering to allow exclusion of certain objects

Implementation:

mimic the MainDeployerArgs.changeInclusionPredicate field and add it to AquaRevengArgs
Use this in RevengWriter

Done


type parameter added for MaskedInput

It is a useful enhancement for mobile devices.
If I would like to fill a MaskedInput only with numbers and I set the MaskedInput field's type attribute to number then a numeric keyboard shows up if I am using the app on a mobile device.

Can't be done since current JS code seems to fail on non-text inputs.


Pr/prepare deb packaging

I'm prepare debian packaging for this library.
I think this PR is necessary for Debian, so hope you can accept them in upstream as well.
Thank you!

I changed 'cp -a' to 'cp -p' because cp does not have a -a option in OpenBSD nor in Solaris. Hopefully this is equivalent for your needs. Otherwise let me know.


Create docs configuration

This is a new config file for docs that will get merged into all repos. There will be some CI rules around it:

Unique uuids (globally)
Unique slugs (within track)
Valid paths (from repo apex)
Required title
Optional blurb

The four slugs present in this file are all required and immutable. Other slugs can be added.
This is a WIP version for Ruby.

Are there ways to link to the other doc, from a doc? Will that be URL based?

You can link to relative docs in the same folder.  (e.g. If you don't have Ruby installed check out [the installation docs](./testing).)
If we'd had all the docs in one repo, you could also have used relative links across docs, but the link-checker CI will fail on those now, so you'll have to use full URLs instead.

@ErikSchierboom Do you know what needs to be done here to get this over the finish line?

@kytrinyx I do. This PR can be closed, as this file already exists: https://github.com/exercism/ruby/blob/main/docs/config.json
See https://exercism.org/docs/tracks/ruby for the end result (there wouldn't be anything there without that file)


Backslash Unescape IDs set via attr_list on toc

Fixes #1493.

Thank you @waylan for the super fast fix, and @facelessuser for reviewing :heart:

I'm looking into the autorefs warning.

OK here's what going wrong:

when rendering API docs, we enable automatic summaries (summary: true in mkdocs.yml)
previously this was an Insiders feature, and it was recently made available to everyone, so it's now active in this project too
when we render the extensions sub-package, we summarize each submodule
to summarize items, we render the first line of their docstring
in the case of the admonition module, it's first line contains an inline reference: [rSt][]
since we only render this first line, the reference is unresolved by Python-Markdown itself, and autorefs kicks in (and fails too)

Possible solutions:

don't use "defered inline references" (not sure what to call them) in docstrings summaries (the first line) and instead put their URL directly within it (so [rST](https://...) instead of [rST][])
use pymdownx.snippets to auto-append references at the end of each markdown document (done on the fly, no modification to any file)

The failing test is not related to any changes here so should be handled separately. I'm ignoring it for this PR so a new PR would be appropriate. But thank you for explaining why it was failing.
As an aside, if you are rendering a partial document, then you need to account for reference links and properly render them. IMO there should be no requirement that the document author needs to account for this and alter the way links are formatted. In fact, personally, my preferred style is to always use reference links in documentation. We don't actually have a defined style guide for this project, but it is reasonable to expect that some of your users might.
Yes, I am suggesting that the issue is with mkdocstrings' behavior. I would expect one of two behaviors (possibly both options available via a config option):

Reference links are resolved.
Links are striped from summaries and only the label text is included.

As far as a temporary fix goes, we should probably either:

Disable summaries. But I'm not clear on what they look like so maybe we do want them. I need more info to know.
Simply reformat that one link as a quick fix.
Consider reworking the text so that the link doesn't appear in the summary. I haven't actually looked at it so this may or may not make sense to do.

But any further discussion should probably happen elsewhere.


[SIL] Add explicit template instantiation for std::_Construct

Not sure what the cause is here, but both Ubuntu 22.04 and UBI 9 have an undefined reference to std::_Construct from
SILBuilder::substituteAnonymousArgs. It's possible that may also be fixed by moving the implementation out of the header, but let's just instantiate the template explicitly for now (we needed a similar workaround in 5.9).

@swift-ci please smoke test

@swift-ci please build toolchain Ubuntu 22.04 platform

Seems implementation specific (suppose that should have been obvious from the _). So can't go with this change.


Improve page index metadata loading in SerializedFileReader::new_with_options

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As @etseidl pointed out in https://github.com/apache/arrow-rs/pull/6466/files#r1778966728

This should be a bit more efficient since read_page_indexes will fetch the necessary bytes from the file in a single read, rather than 2 reads per row group.

We can use the new ParquetMetaDataLoader API to read the page indexes in more efficiently (fewer IOs for example)
However, when I tried to implement it, we caught what appears to be a subtle bug -- specifically that the predicates would have been ignored: https://github.com/apache/arrow-rs/pull/6466/files#r1783526090 -- no tests failed.
Describe the solution you'd like
I would like to:

Reduce the IO's needed to read page indexes in SerializedFileReader::new_with_options, and clean up the code to use the new ParquetMetaDataReader
Add test coverage for reader predicates and page index

Describe alternatives you've considered
leave as is
Additional context

@alamb are you working on this or would you like me to take it?

@alamb are you working on this or would you like me to take it?

I am not planning to work on this at this time. If you had time to look at it that would be great.
THank you 🙏

take


Packaging improvements for nightlies

Instructions for how to install stable and master binaries,
without hardcoding wheel filenames
Turn on Python 2 build (numba is only needed for testing)
Make builds a little more hermetic
Prefer building against nightly CPU-only torch build
Don't install all of requirements.txt, it's not necessary

Signed-off-by: Edward Z. Yang<EMAIL_ADDRESS>

I prefer to have the requirements in a file just for visibility (maybe packaging_requirements.txt). The current requirements.txt has a bunch of test dependencies like librosa, etc. which is used in the CI

I prefer to have the requirements in a file just for visibility (maybe packaging_requirements.txt). The current requirements.txt has a bunch of test dependencies like librosa, etc. which is used in the CI

Sure, and this PR doesn't remove requirements.txt. It just stops using them for wheel builds.


refactor(updateChecker):Fix bugs and refactor code

PR Checklist
If you have any questions, you can refer to the Contributing Guide
What is the current behavior?
BUG_1: Will repeatedly pop up update prompt box.
BUG_2: Only check for the latest version（If the latest release is a prerelease, the update will stop）.
Issue Number
Example: #123
What is the new behavior?

Will fetch the tags list and check for the latest version.
fix some bug about repeatedly pop up update prompt box.
Add the ability to ignore updates to this version.
Add a progress bar for updates.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to review?
Other information


Removed scipy from dependencies

Scipy is listed as a dependency but does not appear to be used in payu.
Scipy depends on NumPy, which is a very large package, so we probably do
not want this to be installed.

Well spotted.
You can just merge stuff like this if you want @marshallward

Bob and Alistair have a interesting policy where they are not permitted to merge their own code, and the other must merge it.
I don't think I'm back up to speed yet to review yours and hold up essential NCI business, but I like the idea of someone else merging my code at the moment :).


Build failure when building the executable

Current Behavior:

Building the executable results in a failure, all steps are successful except the last step:

Steps To Reproduce:
# Linux and WSL
git submodule update --init --recursive
mkdir build
cd build
cmake .. -G Ninja
ninja

Environment:

OS: Rocky Linux 8.8
HW: Intel(R) Xeon(R) Platinum 8470Q

Hi @aahouzi, would you please try using GCC>10?

@VincyZhang Thanks, it's working now ! Can we add this requirement somewhere before starting the build ? it would be helpful for the users..

Thanks for reminding! Added note in Readme.md: https://github.com/intel/neural-speed/blob/5b71e268f6bb798ceb2c4609b75967ac095705ce/README.md


Created event is not firing

Context on Flowdock
Looks like we introduced a bug 28 days ago, where the Created event won’t be fired for the deposit.
Because logCreated is called before the TDT is created, approvedToLog will return false and thus not emit the event.

Closed, we fixed it recently.


Remove PyPDF

PyPDF is no longer used by notification-api repository and can be removed
User Story - Business Need

[ ] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)
As a developer
I want to remove unused libraries
So that code is  easier to maintain and upgrade in the future
Additional Info and Resources
Issue 1178
Issues 1163
Engineering Checklist

[ ] Removed pypdf from setup.py
[ ] Deleted pypdf_consts.py from test folder
[ ] Deleted preview.jinja2 because it loads "'letter_pdf/"
[ ] Deleted pdf.py
[ ] Deleted test_pdf.py
[ ] Deleted LetterPrintTemplate + LetterImageTemplate from template.py
[ ] API is updated with new Utils master

Acceptance Criteria

[ ] All notification_utils tests pass
[ ] All notifications-api tests pass
[ ] All notification-api-qa tests pass

QA Considerations
For QA to populate. Leave blank if QA is not applicable on this ticket.

[ ] QA suite passes in Perf
[ ] Additional manual testing as determined by conversation with developer

Hey team! Please add your planning poker estimate with Zenhub @babyjunior56 @EvanParish @k-macmillan @kalbfled @ldraney @nikolai-efimov @cris-oddball

@babyjunior56 once you make the new api cleanup ticket (not dao/models) please add as a blocker dependency here. Or ask me and I can!

Closing/no longer relevant.


Make it so it's not to abviouse it's  a spam bot

Some bots block you after you type the same thing over and over again, mostly if you type the same twice.


Print Screen keybind missing name

Print Screen key shows 0x2c instead of "Print Screen" key text
Windows 11 (21H2)

I'd blame this on Windows - as I'm just calling windows function to get key name.
Are you using some fancy keyboard? Or keyboard layout?

Really appreciate this cool app!
Just a basic QWERTY keyboard really. Nordic layout and Norwegian (Bokmål) for input language in Windows.

Yep, I get [0x2c] too when I switch to Norwegian input layout.
There doesn't seem to be good way to get key name in Windows...  Looks like hardcoding names of popular keys would be better way. I'll probably change that later.


About the celery task queue in this project

Dear Matt
I have been enjoying your Full stack python deployment guide recently
But I am stuck in the Chapter 9 Task queue. I can't understand the purpose of the task queue.
So I find this, and after reading the code I am still mystified
What is the purpose of the task queue in this project? You seems only have script running thw celery worker process but not running any task?
Besides, how do you daemonize the celery in this cyoa project? It seems you only have some bash script

Hey @ripitrust, the Celery task queue is just a simple example - if you want to save the in-memory Redis data to the persistent storage PostgreSQL database then this would show you how. Unfortunately, it's a bit of a contrived example, not a complicated use case for Celery. I added it because I wanted to make sure deployments would include a task queue, which is pretty standard in most deployments. I found the first few times I stumbled through adding a task queues to my deployments it was a real pain so having it would be valuable for readers.
Daemonization comes in via Supervisor. Supervisor runs both Celerybeat and Celery task queue. The bash scripts are just for development purposes when you're not using Supervisor.

@makaimc
Thank you so much for your reply
So in this project, the celery task is run by the celery beat, right ?

No problem!
Celery is a little confusing because when you run periodic tasks you need two processes. One is Celerybeat, which is the scheduler. The other part is Celery, which actually executes the task. It was kind of the hard conceptual idea for me to get over first. I kept thinking that the Celery process did both things, schedule the next execution and actually do the execution, but they are separate parts. That's why both are necessary in this case with a periodic task.
In a really simple case, where you just fire off tasks in the background, you could just run Celery without Celerybeat. Celery would execute the tasks as soon as possible without adhering to a pre-defined schedule like once an hour.

@makaimc
Great, I start to get the idea.
So let's say I have my flask app dispatching background task to a new thread everytime it comes in, is it similar to send tasks to celery queue in the simple case?

yep, in your case you'd have the simpler case. just fire off the tasks to Celery and you'll let it handle them as soon as it can, no need to have a scheduler like Celerybeat running. makes set up a bit easier

@makaimc  and if the task is periodic, then I can't run it in thread.

if you want it to run at a designated interval, like once an hour, then Celerybeat will add a new task to Celery each hour to run

@makaimc
Great, thank you so so much for your explanation
Btw I have to say your full stack deployment book helped me hugely. really great work

awesome! thank you! I'm really excited to get this new update out which will smooth out some of the confusion readers have had with particular sentences and sections. hopefully will ship it as soon as I get back to the States (I'm in Italy on vacation at the moment).
good luck!

@makaimc
nice to hear that, already feel excited about the new update
enjoy your vacation


Move WebSocketHandshake to blaze-core

Found this while looking for hidden Randoms while that's a hot topic in Cats-Effect.  After I toiled to make it compile, it turns out the client handshake still isn't used, but it does provide a round-trip test to ensure the server side works.
The original version can go poof on merge to main.

Yes, it should be.  I don't think anybody is using it other than blaze.  I only left it because it was scoped broadly enough it might have been used in another repo that I wasn't thinking of.


Dbt done but comos mark it is a fail run.

Dbt done itself but comos mark it is a fail run.
Vesions:

dbt==1.6.2
postgres==1.6.2
astronomer-cosmos: master branch.

The log generated by customers_run is bellow:
*** Reading local file: /usr/local/airflow/logs/dag_id=basic_cosmos_dag/run_id=scheduled__2023-09-07T00:00:00+00:00/task_id=customers.customers_run/attempt=1.log
[2023-09-08, 10:14:46 +07] {taskinstance.py:1083} INFO - Dependencies all met for <TaskInstance: basic_cosmos_dag.customers.customers_run scheduled__2023-09-07T00:00:00+00:00 [queued]>
[2023-09-08, 10:14:46 +07] {taskinstance.py:1083} INFO - Dependencies all met for <TaskInstance: basic_cosmos_dag.customers.customers_run scheduled__2023-09-07T00:00:00+00:00 [queued]>
[2023-09-08, 10:14:46 +07] {taskinstance.py:1279} INFO -
--------------------------------------------------------------------------------
[2023-09-08, 10:14:46 +07] {taskinstance.py:1280} INFO - Starting attempt 1 of 1
[2023-09-08, 10:14:46 +07] {taskinstance.py:1281} INFO -
--------------------------------------------------------------------------------
[2023-09-08, 10:14:47 +07] {taskinstance.py:1300} INFO - Executing <Task(DbtRunLocalOperator): customers.customers_run> on 2023-09-07 00:00:00+00:00
[2023-09-08, 10:14:47 +07] {standard_task_runner.py:55} INFO - Started process 2739 to run task
[2023-09-08, 10:14:47 +07] {standard_task_runner.py:82} INFO - Running: ['airflow', 'tasks', 'run', 'basic_cosmos_dag', 'customers.customers_run', 'scheduled__2023-09-07T00:00:00+00:00', '--job-id', '51', '--raw', '--subdir', 'DAGS_FOLDER/basic_cosmos_dag.py', '--cfg-path', '/tmp/tmpi9tpv2yi']
[2023-09-08, 10:14:47 +07] {standard_task_runner.py:83} INFO - Job 51: Subtask customers.customers_run
[2023-09-08, 10:14:47 +07] {task_command.py:388} INFO - Running <TaskInstance: basic_cosmos_dag.customers.customers_run scheduled__2023-09-07T00:00:00+00:00 [running]> on host e5f9301841cc
[2023-09-08, 10:14:47 +07] {taskinstance.py:1507} INFO - Exporting the following env vars:
AIRFLOW_CTX_DAG_OWNER=airflow
AIRFLOW_CTX_DAG_ID=basic_cosmos_dag
AIRFLOW_CTX_TASK_ID=customers.customers_run
AIRFLOW_CTX_EXECUTION_DATE=2023-09-07T00:00:00+00:00
AIRFLOW_CTX_TRY_NUMBER=1
AIRFLOW_CTX_DAG_RUN_ID=scheduled__2023-09-07T00:00:00+00:00
[2023-09-08, 10:14:47 +07] {local.py:173} INFO - Cloning project to writable temp directory /tmp/tmphjjrswnm from /usr/local/airflow/dags/dbt/jaffle_shop
[2023-09-08, 10:14:47 +07] {subprocess.py:60} INFO - Tmp dir root location:
 /tmp
[2023-09-08, 10:14:47 +07] {subprocess.py:73} INFO - Running command: ['/usr/local/bin/dbt', 'deps']
[2023-09-08, 10:14:47 +07] {subprocess.py:84} INFO - Command output:
[2023-09-08, 10:14:48 +07] {subprocess.py:94} INFO - 03:14:48  Running with dbt=1.6.2
[2023-09-08, 10:14:49 +07] {subprocess.py:94} INFO - 03:14:49  Installing dbt-labs/dbt_utils
[2023-09-08, 10:14:50 +07] {subprocess.py:94} INFO - 03:14:50  Installed from version 1.1.1
[2023-09-08, 10:14:50 +07] {subprocess.py:94} INFO - 03:14:50  Up to date!
[2023-09-08, 10:14:52 +07] {subprocess.py:98} INFO - Command exited with return code 0
[2023-09-08, 10:14:52 +07] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
[2023-09-08, 10:14:52 +07] {base.py:73} INFO - Using connection ID 'airflow_db' for task execution.
[2023-09-08, 10:14:52 +07] {base.py:147} INFO - Using real values for profile default
[2023-09-08, 10:14:52 +07] {config.py:168} INFO - Creating temporary profiles.yml at /tmp/tmp6igiwe_i/profiles.yml with the following contents:
default:
    outputs:
        dev:
            dbname: airflow
            host: postgres
            password: '{{ env_var(''COSMOS_CONN_POSTGRES_PASSWORD'') }}'
            port: 5432
            schema: public
            type: postgres
            user: airflow
    target: dev

[2023-09-08, 10:14:52 +07] {local.py:205} INFO - Trying to run the command:
 ['/usr/local/bin/dbt', 'run', '--models', 'customers', '--profiles-dir', '/tmp/tmp6igiwe_i', '--profile', 'default', '--target', 'dev']
From /tmp/tmphjjrswnm/dbt_project
[2023-09-08, 10:14:52 +07] {local.py:206} INFO - Using environment variables keys: dict_keys(['AIRFLOW_CTX_DAG_OWNER', 'AIRFLOW_CTX_DAG_ID', 'AIRFLOW_CTX_TASK_ID', 'AIRFLOW_CTX_EXECUTION_DATE', 'AIRFLOW_CTX_TRY_NUMBER', 'AIRFLOW_CTX_DAG_RUN_ID', 'COSMOS_CONN_POSTGRES_PASSWORD'])
[2023-09-08, 10:14:52 +07] {subprocess.py:60} INFO - Tmp dir root location:
 /tmp
[2023-09-08, 10:14:52 +07] {subprocess.py:73} INFO - Running command: ['/usr/local/bin/dbt', 'run', '--models', 'customers', '--profiles-dir', '/tmp/tmp6igiwe_i', '--profile', 'default', '--target', 'dev']
[2023-09-08, 10:14:52 +07] {subprocess.py:84} INFO - Command output:
[2023-09-08, 10:14:53 +07] {subprocess.py:94} INFO - 03:14:53  Running with dbt=1.6.2
[2023-09-08, 10:14:53 +07] {subprocess.py:94} INFO - 03:14:53  Registered adapter: postgres=1.6.2
[2023-09-08, 10:14:53 +07] {subprocess.py:94} INFO - 03:14:53  Unable to do partial parsing because saved manifest not found. Starting full parse.
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  Found 5 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 464 macros, 0 groups, 0 semantic models
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  Concurrency: 1 threads (target='dev')
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  1 of 1 START sql table model public.customers .................................. [RUN]
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  1 of 1 ERROR creating sql table model public.customers ......................... [ERROR in 0.11s]
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  Finished running 1 table model in 0 hours 0 minutes and 0.20 seconds (0.20s).
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  Completed with 1 error and 0 warnings:
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54    Database Error in model customers (models/customers.sql)
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO -   improper relation name (too many dotted names): public.airflow.public.customers__dbt_backup
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO -   compiled Code at target/run/jaffle_shop/models/customers.sql
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54
[2023-09-08, 10:14:54 +07] {subprocess.py:94} INFO - 03:14:54  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1
[2023-09-08, 10:14:57 +07] {subprocess.py:98} INFO - Command exited with return code 1
[2023-09-08, 10:14:57 +07] {local.py:222} INFO - Inlets: []
[2023-09-08, 10:14:57 +07] {local.py:223} INFO - Outlets: []
[2023-09-08, 10:14:57 +07] {dag.py:2690} INFO - Sync 1 DAGs
[2023-09-08, 10:14:57 +07] {dag.py:3437} INFO - Setting next_dagrun for basic_cosmos_dag to 2023-09-08T00:00:00+00:00, run_after=2023-09-09T00:00:00+00:00
[2023-09-08, 10:14:57 +07] {taskinstance.py:1768} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/airflow/astronomer_cosmos/cosmos/operators/local.py", line 329, in execute
    self.build_and_run_cmd(context=context)
  File "/usr/local/airflow/astronomer_cosmos/cosmos/operators/local.py", line 325, in build_and_run_cmd
    result = self.run_command(cmd=dbt_cmd, env=env, context=context)
  File "/usr/local/airflow/astronomer_cosmos/cosmos/operators/local.py", line 226, in run_command
    self.exception_handling(result)
  File "/usr/local/airflow/astronomer_cosmos/cosmos/operators/local.py", line 107, in exception_handling
    raise AirflowException(
airflow.exceptions.AirflowException: ('dbt command failed. The command returned a non-zero exit code 1. Details: ', '\x1b[0m03:14:53  Running with dbt=1.6.2', '\x1b[0m03:14:53  Registered adapter: postgres=1.6.2', '\x1b[0m03:14:53  Unable to do partial parsing because saved manifest not found. Starting full parse.', '\x1b[0m03:14:54  Found 5 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 464 macros, 0 groups, 0 semantic models', '\x1b[0m03:14:54', "\x1b[0m03:14:54  Concurrency: 1 threads (target='dev')", '\x1b[0m03:14:54', '\x1b[0m03:14:54  1 of 1 START sql table model public.customers .................................. [RUN]', '\x1b[0m03:14:54  1 of 1 ERROR creating sql table model public.customers ......................... [\x1b[31mERROR\x1b[0m in 0.11s]', '\x1b[0m03:14:54', '\x1b[0m03:14:54  Finished running 1 table model in 0 hours 0 minutes and 0.20 seconds (0.20s).', '\x1b[0m03:14:54', '\x1b[0m03:14:54  \x1b[31mCompleted with 1 error and 0 warnings:\x1b[0m', '\x1b[0m03:14:54', '\x1b[0m03:14:54    Database Error in model customers (models/customers.sql)', '  improper relation name (too many dotted names): public.airflow.public.customers__dbt_backup', '  compiled Code at target/run/jaffle_shop/models/customers.sql', '\x1b[0m03:14:54', '\x1b[0m03:14:54  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1')
[2023-09-08, 10:14:57 +07] {taskinstance.py:1318} INFO - Marking task as FAILED. dag_id=basic_cosmos_dag, task_id=customers.customers_run, execution_date=20230907T000000, start_date=20230908T031446, end_date=20230908T031457
[2023-09-08, 10:14:57 +07] {standard_task_runner.py:100} ERROR - Failed to execute job 51 for task customers.customers_run (('dbt command failed. The command returned a non-zero exit code 1. Details: ', '\x1b[0m03:14:53  Running with dbt=1.6.2', '\x1b[0m03:14:53  Registered adapter: postgres=1.6.2', '\x1b[0m03:14:53  Unable to do partial parsing because saved manifest not found. Starting full parse.', '\x1b[0m03:14:54  Found 5 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 464 macros, 0 groups, 0 semantic models', '\x1b[0m03:14:54', "\x1b[0m03:14:54  Concurrency: 1 threads (target='dev')", '\x1b[0m03:14:54', '\x1b[0m03:14:54  1 of 1 START sql table model public.customers .................................. [RUN]', '\x1b[0m03:14:54  1 of 1 ERROR creating sql table model public.customers ......................... [\x1b[31mERROR\x1b[0m in 0.11s]', '\x1b[0m03:14:54', '\x1b[0m03:14:54  Finished running 1 table model in 0 hours 0 minutes and 0.20 seconds (0.20s).', '\x1b[0m03:14:54', '\x1b[0m03:14:54  \x1b[31mCompleted with 1 error and 0 warnings:\x1b[0m', '\x1b[0m03:14:54', '\x1b[0m03:14:54    Database Error in model customers (models/customers.sql)', '  improper relation name (too many dotted names): public.airflow.public.customers__dbt_backup', '  compiled Code at target/run/jaffle_shop/models/customers.sql', '\x1b[0m03:14:54', '\x1b[0m03:14:54  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1'); 2739)
[2023-09-08, 10:14:57 +07] {local_task_job.py:208} INFO - Task exited with return code 1
[2023-09-08, 10:14:57 +07] {taskinstance.py:2578} INFO - 0 downstream tasks scheduled from follow-on schedule check

Dbt return code 1. => Close issue.


Inconsistent Phone Number Validation for Specific International Numbers

Describe the bug
The phone number validation fails for certain numbers in the application https://react-international-phone-storybook.vercel.app/?path=/story/validation--default. These numbers are considered valid by Google's libphonenumber library and are validated correctly on https://intl-tel-input.com/examples/validation.html.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://react-international-phone-storybook.vercel.app/?path=/story/validation--default'
Enter one of the affected phone numbers (e.g. +31614621316)
See validation error, although the number should be considered valid

Expected behavior
The numbers should validate properly according to the Google's libphonenumber library as seen on https://intl-tel-input.com/examples/validation.html.
Affected Numbers and Countries:

Netherlands: +31614621316
Brazil: +55<PHONE_NUMBER>
China: +86 10 6468 2001
Germany: +49 69 2711 5111
Ireland: +353 1 679 3958
Israel: +972 337 53200
Japan: +81 3 5405 8800
Korea (South): +82 2 3788 0100
Malaysia: +60 3 87763095
New Zealand: +64 9977 9912
Philippines: +63454571127

Additional context
The majority of test cases are taken from https://www.staralliance.com/en/airline-contacts or https://zadarma.com

Hey @beardsleym
Thanks for a detailed list of invalid validation phones 🙏
I'm not sure that I will be able to fix it in the near future. I think you can use libphonenumber for validation instead of a validation hook from this lib.
I'm planning to remove validation in v3, or base it over some library like libphonenumber.


Transitioning to ----> Asahi Fedora Remix

Here's a quick and dirty guide on how to transition from this project to ---> Asahi Fedora Remix
https://www.asahi-fedora-remix.org/
Note: You must be running Fedora 37 in order for this to work.

install the fedora-remix-branding repo

rpm --import<EMAIL_ADDRESS>curl https://pagure.io/fedora-asahi/asahi-repos/raw/main/f/group_asahi-fedora-remix-branding.repo --output /etc/yum.repos.d/group_asahi-fedora-remix-branding.repo

remove this project's repo

rm /etc/yum.repos.d/asahi-linux.repo

install the Asahi Fedora Remix common and edge repos

dnf install asahi-repos-common asahi-repos-edge

Install the Asahi Fedora Remix mesa rpms

because the rpms in the Asahi Fedora Remix repo have a slightly different versioning scheme
ie they use a tilde in the version mesa-libglapi-23.1.0~asahipre20230321-1.fc37.aarch64
then we need to "downgrade" in order to switch over to the remix version
dnf downgrade $(dnf list installed | grep mesa | grep pre2023 | awk '{print $1}')

keep fedora logos (optional)
if you'd rather keep fedora-logos (vs replacing them with the asahi-fedora-remix-logos variant)
then I would add this exclude statement to that repo config.

echo 'exclude=asahi-fedora-remix-logos asahi-fedora-remix-release*' >> /etc/yum.repos.d/group_asahi-fedora-remix-branding.repo

dnf upgrade

dnf upgrade

Switch packages over to the Asahi Fedora Remix versions

run the following command to see which installed packages originated from my repo: @asahi-linux
[root@fedora ~]# dnf list installed | grep @asahi-linux
asahi-firstboot.noarch                               20230128-1.fc37                     @asahi-linux
kernel.aarch64                                       6.2.0-100.asahi11.1.fc37            @asahi-linux
...
m1n1.aarch64                                         1.2.6-1.fc37                        @asahi-linux
m1n1-tools.noarch                                    1.2.6-1.fc37                        @asahi-linux
uboot-images-armv8.noarch                            2023.01-3.fc37                      @asahi-linux

You can remove the asahi-firstboot package if you want (it was only needed for the first boot)
I would recommend reinstalling anything other then the asahi-firstboot and kernel packages.
That way, are using the official versions of those packages
examples
[root@fedora ~]# dnf reinstall uboot-images-armv8
Last metadata expiration check: 0:22:24 ago on Sat Mar 25 15:04:28 2023.
Dependencies resolved.
======================================================================================================================
 Package                 Arch        Version             Repository                                              Size
======================================================================================================================
Reinstalling:
 uboot-images-armv8      noarch      2023.01-3.fc37      copr:copr.fedorainfracloud.org:group_asahi:u-boot       15 M

Transaction Summary
======================================================================================================================

[root@fedora ~]# dnf reinstall m1n1
Last metadata expiration check: 0:23:01 ago on Sat Mar 25 15:04:28 2023.
Dependencies resolved.
======================================================================================================================
 Package                 Architecture               Version                          Repository                  Size
======================================================================================================================
Reinstalling:
 m1n1                    aarch64                    1.2.6-1.fc37                     updates                    150 k

Transaction Summary
======================================================================================================================

Fedora 38

From here you should be able to transition to F38 (if you want to)
dnf install dnf-plugin-system-upgrade
dnf system-upgrade download --releasever=38

Please let me know if you run into any issues.

sudo rpm --import<EMAIL_ADDRESS>[samilk@fedora-asahi ~]$ https://pagure.io/fedora-asahi/asahi-repos/raw/main/f/group_asahi-fedora-remix-branding.repo --output /etc/yum.repos.d/group_asahi-fedora-remix-branding.repo
bash: https://pagure.io/fedora-asahi/asahi-repos/raw/main/f/group_asahi-fedora-remix-branding.repo: No such file or directory

Apparently there is no file or directory, making this not possible for me.

Ahhh, sorry forgot the curl part of that command.

Thank you for all the work done in getting to this point. Is there any way it would be possible to install Silverblue as default?

@sarcastillo That question has already been answered a few times.
https://github.com/leifliddy/asahi-fedora-builder/issues?q=is%3Aissue+is%3Aclosed

After installing asahi-fedora-remix-release, my system is reporting that it's on rawhide instead of f38
~ python3 -c 'import dnf, pprint; db = dnf.dnf.Base(); pprint.pprint(db.conf.substitutions,width=1)'
{'arch': 'aarch64',
 'basearch': 'aarch64',
 'releasever': 'rawhide'}

Need to execute dnf commands with --releasever=f38 in order to prevent f39/rawhide RPMs from being installed.

Hmm. I followed the exact same steps and the kernel 6.2.8-450.asahi.fc37 gets installed but it doesn't boot. I need to check the second 6.2.0-100.asahi11.1.fc37.aarch64 in order to boot.
When I try booting the 6.2.8 kernel it outputs the following error:
error ../../grub-core/loader/arm64/linux.c:59:invalid magic number
errorv../../grub-core/loader/arm64/linux.c:283:you need to load the kernel first.
Press any key to continue.

@tudorbarascu damn, yeah it looks like those asahi-fedora-remix-release rpms are not ready yet.
Here's what you can do for now if you want.

edit /etc/yum.repos.d/group_asahi-fedora-remix-branding.repo
and append this
exclude=asahi-fedora-remix-logos asahi-fedora-remix-release*

remove the asahi-remix-release and logo packages

rpm -e --nodeps asahi-fedora-remix-logos asahi-fedora-remix-release asahi-fedora-remix-release-common asahi-fedora-remix-release-identity-basic

Install the fedora-release and logo rpms.
Substitute releasever appropriately.

dnf install fedora-release fedora-release-common fedora-release-identity-basic --releasever=38

Let me know if that works for you.

@tudorbarascu I'm not sure why that kernel didn't install right.
Can you try reinstalling the kernel?
dnf reinstall $(rpm -qa | grep kernel | grep 6.2.8)
If it still doesn't boot, can you post this output?
rpm -qa | grep kernel | grep 6.2.8
rpm -ql kernel-core-6.2.8-450.asahi.fc37.aarch64 | grep boot | grep -v dtb | xargs ls -lh
find /boot/loader/ | grep 6.2.8-450 | xargs cat

An update was just pushed out that sorts out that rawhide issue
[root@fedora ~]# rpm -qf /etc/redhat-release
asahi-fedora-remix-release-common-38-0.1.noarch

[root@fedora38 ~]# cat /etc/redhat-release
Fedora release 38 (Thirty Eight)

An update was just pushed out that resolves that rawhide issue

Yup, working fine now. Had to do a reinstall of asahi-fedora-remix-release-common-38-0.1.noarch though because the build wasn't incremented... just a heads up for anyone else experiencing this issue.

rpm -ql kernel-modules-core-6.2.8-450.asahi.fc37.aarch64 | grep -E 'modules.order|modules.builtin' | xargs ls -la
ls: cannot access '/lib/modules/6.2.8-450.asahi.fc37.aarch64/modules.builtin': No such file or directory
ls: cannot access '/lib/modules/6.2.8-450.asahi.fc37.aarch64/modules.builtin.modinfo': No such file or directory
ls: cannot access '/lib/modules/6.2.8-450.asahi.fc37.aarch64/modules.order': No such file or directory

@tudorbarascu Arggg I'm not sure what would cause that. I see that you're running one of my earlier builds that has the /boot btrfs subvolume. I'm not sure if that would cause any issue or not.
My later builds created a dedicated ext4 /boot partition
So, I just update this project to use the Asahi Fedora Remix repos.
I know it might be a huge PITA to reinstall everything. But that would definitely future-proof your system.

I don't follow. :). So I should update to Fedora 38 or reinstall everything?  Thank you

I would just reinstall everything. That way you get the dedicated /boot partition.

Booting to macos and running sudo curl -L https://alx.sh/wipe-linux | sh will remove the existing Linux partitions.

I have two systems like this, one in production + my laptop. Tried upgrading to fedora 38 and see if it fixes, same error. Will stay a little bit longer until I find the time to move everything. I don't mind the installing but moving all the settings whatever packages, docker images etc. I had is the hard part :) and I don't know if there's a way to preserve that, guess not. Thank you, you're doing a great job.

@tudorbarascu Did you use this installer? https://www.asahi-fedora-remix.org/
I'm just asking as my project now uses the asahi fedora remix repos as well.
But mine uses the copr:copr.fedorainfracloud.org:group_asahi:kernel-edge repo.
I can't believe that you're running into that same issue -- we should probably ask that question here:
https://app.element.io/#/room/#asahi:fedoraproject.org

Oh, in that case that's why. I did the reinstall while running it. I'm running Linux 192-168-0-191.rdsnet.ro 6.2.8-400.asahi.fc38.aarch64 #1 SMP PREEMPT_DYNAMIC Sat Mar 25 17:49:43 UTC 2023 aarch64 GNU/Linux

You might want to install the asahi-repos-edge rpm and install the edge kernel, unless you don't want accelerated graphics.

Thank you. I managed to make the transition fairly painless (I think it was painless actually).
For anyone else in my state:

I created a list with installed packages to reinstall after: https://www.addictivetips.com/ubuntu-linux-tips/quickly-re-install-all-installed-apps-on-fedora/
Did a rsync for important endpoints while keeping the privileges: /home, /etc ..  E.g. I cd-ed to a location on an external ssd and did arsync -avz --progress /home .
Whiped the installation using sudo curl -L https://alx.sh/wipe-linux | sh and reinstalled using the script from https://www.asahi-fedora-remix.org/
After reinstalling all the packages from step 1, I installed asahi-repos-edge rpm and install the edge kernel
rsynced back from the backup what it was in /etc/NetworkManager/system-connections and everything from/homeand basically I had my system back :).

I have the same issue as tudorbarascu

Hi, I transitioned to Fedora Remix with reinstall and it all went well until today when my system froze.

If you have issues after migrating to the Fedora Remix, I suggest submitted them to the Fedora Remix project on a per-issue basis: https://pagure.io/fedora-asahi/project/issues


[Feature] Addon Changelogs as a built in feature

Is your feature request related to a problem? Please describe.
Looking for changelogs is quite a pain. ZLibrary plugins have changelogs built-in but no way of showing them once they were dismissed, BDFDB adds a changelog button to the plugin card to open it again. On top of that some addons might want to display it without using a library.
Asking people to look at github commit histories would be less convenient, especially on repos with a lot of of addons or if the commit names aren't that useful ("fixed some stuff", "maybe it's working now", "f discord breaking my plugins") and in general if the last commit is just something like "Bump version to x.x.x". On top of that commit messages are intended primarily for the developers to track their changes, not the consumers, so they'll often end up quite technical.
Additional context
The discussion came up on the BD server.
This issue is also intended to organize the discussion a bit better and asking for input on the matter.
Describe the feature you'd like
A way for addons to show changelogs in the app, and not just when updating. I personally like the changelog button that BDFDB adds but we can and should also consider alternatives of course.
One possible solution to that would be an option method getChangelog() for plugins that may function similar to getSettingsPanel().
Another suggestion was having an @changelogUrl metadata field pointing to a json object representing the changelog. The advantage would be that it also works for themes.
In my opinion requiring an http request for the changelog isn't ideal though, and I would rather keep the amount of web fetches down and not introduce even more of them. Especially for plugins that could easily ship it with the plugin. Maybe having both would be nice. (some short discussion about the current state of plugin updating after that one)
And a lesser pro for getChangelog() if it functioned similarly to getSettingsPanel() would be some freedom about how changelogs are displayed.
A lesser con against getChangelog() if it functioned similarly to getSettingsPanel() would be some freedom about how changelogs are displayed resulting in a wild mix of changelog styles, some worse than others, rather than a uniform style.
But themes also open other questions. Most themes are just a bunch of variable a couple of import or even just a single import statements anyway (which I personally don't like but that's a different matter). As a result the theme file itself hardly ever updates, except when the plugin is overhauled with new base imports or variables to set (which resets the user's configuration which we could maybe address in some way, and there is no autoupdating, which are extra reasons why authors wouldn't wanna update the theme file).
As a result these changelogs, if the theme author would often not be tied to versions and be fluent, which kinda makes them less useful, would also be a pro @changelogUrl argurment.

Changelog on updates page


Improve Notifications Sidebar

### Tasks
- [ ] Adjust sidebar length to 320px (fixed)
- [ ] Truncate long dapp names
- [ ] Make hover more snappier (see below)

Instead of being responsive, the Notifications sidebar should be always fixed at 320px. Longer app names should be truncated.

 Can we reduce duration to 300ms and see how that feels?

@chris13524 @chadyj The tasks in this ticket are also fixed.

LGTM. Closing


ScriptEvaluationError when a property includes a dollar sign ($)

Hi,
I noticed that if you try to use a string property which contains a $ char then a ScriptEvaluationError is thrown.  Here is some sample code to demonstrate it:
internal static async Task Main()
{
    using (var graphClient = new GraphClient("your-gremlin-host-name", "your-db-name", "your-graph-name", "your-access-key"))
    {
        var g = graphClient.CreateTraversalSource();

        //add vertices/edges using strongly-typed objects
        var personV = new PersonVertex
        {
            Ages = new[] { 4, 6, 23 },
            Id = "person-12345",
            Label = "some-label",
            Name = "my $ name"
        };
        var purchasedE = new PersonPurchasedProductEdge
        {
            Id = "person-12345_purchased_product-12345"
        };
        var productV = new ProductVertex
        {
            Id = "product-12345"
        };
        var test = g.AddV(personV).As("person")
                    .AddV(productV).As("product")
                    .AddE(purchasedE).From("person").To("product");

        Console.WriteLine(test.ToGremlinQuery());
        var response = await graphClient.QueryAsync(test);
    }

    Console.WriteLine();
    Console.WriteLine("All done...");
    Console.ReadKey();
}

You'll see that I have just taken the sample code and changed the Name property to include a dollar sign.  The error message is:
ScriptEvaluationError:

ActivityId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
ExceptionType : GraphCompileException
ExceptionMessage :
	Gremlin Query Compilation Error: Script compile error: Missing ')' @ line 1, column 129.
Source : Microsoft.Azure.Graphs
	GremlinRequestId : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	Context : graphcompute
	Scope : graphparse-translate-outer
	GraphStatusCode : ScriptEvaluationError
	HResult : 0x80131500

Thanks, David

This may be an underlying problem in Microsoft's implementation.  I've noticed the problem can also be reproduced if you execute the following query in the Azure Portal (Data Explorer):
g.addV("person").property("name","Chuck Norri$")
... which throws an exception in the portal too.  Although it works if I try this:
g.addV("person").property("name","Chuck Norri\u0024")
But it would be nice if something could be done in this library to automatically convert '$' to '\u0024' so that any string values with a dollar sign don't throw exceptions.

This is because CosmosDB does not support GStrings (http://groovy-lang.org/syntax.html#all-strings).
I haven't tested what other features are not supported yet, but prepending with a \ appears to do the trick in terms of escaping characters.

Many thanks @BenjaBobs, you're absolutely right, prepending a \ also works fine.  Thank-you for explaining about GString support.  Do you think that anything can be done in this project to help, since any string could contain a dollar sign? The following dirty hack in GraphClient.cs solves the problem for me, but I don't like it:
public Task<IReadOnlyCollection<JToken>> QueryAsync(string gremlinQuery)
{
    if (gremlinQuery == null)
        throw new ArgumentNullException(nameof(gremlinQuery));

    gremlinQuery = gremlinQuery.Replace("$", "\\$"); // dirty hack

    return _gremlinClient.SubmitAsync<JToken>(gremlinQuery);
}

Thanks for your help!  I'm finding this project very useful, much better than having graph queries as hard-coded strings...

I'm using the exact same dirty hack, but ideally CosmosDB would support full Gremlin, or this project would have some sort of handling of GString and other unsupported Groovy features.
I haven't come up with a good way to find out what else CosmosDB doesn't support yet, but at least we have the list of keywords and special characters for Groovy.

I apologize for taking so long to chime in on this one. I've been thinking about it a bit. I think escaping the special characters would be the best thing to do going forward. I do have some hesitancy with not allowing users to utilize the GString and all it supports, but I wonder if @BenjaBobs is right. Maybe the best way to make it clear is to have some kind of GString object that accepts a raw string and doesn't escape it at all. I can't imagine very many people needing such a feature, but it would be simple to implement and would be there for the advanced users who need it. In the end, the script evaluation error you received will be a shock to most and that can be avoided by doing the proper escaping.
Would either of you be able to compile a list of the characters that need escaping? Is it simply the quotes and dollar sign characters?

 Here are the results: https://pastebin.com/yWpb0q0Y

Thanks @BenjaBobs and @evo-terren!
The only char that I've had a problem with is the $ so far.  I threw together some nasty code to try a few other chars, like this:
var test = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
for (int c = 0; c < test.Length; c++)
{
    try
    {
        var personV = new PersonVertex
        {
            Name = $"index #{c} testing for this char {test[c]} code={(int)test[c]} thanks"
        };
        var add = g.AddV<PersonVertex>(personV);
        var added = (await graphClient.QueryAsync(add)).FirstOrDefault();

        var check = g.V<PersonVertex>(added.Id);
        var checkd = (await graphClient.QueryAsync(check)).FirstOrDefault();

        if (checkd.Name != personV.Name)
        {
            Console.WriteLine($"No match: {c} {test[c]} ({(int)test[c]})");
        }
    }
    catch (Exception)
    {
        Console.WriteLine($"Error: {c} {test[c]} ({(int)test[c]})");
    }
}

NOTE: my dirty hack was in place to fix the $ problem, and if I remove it, the only char that fails is the $ symbol.  I hope that helps.

I also found that the dollar sign seemed to be the only offender. I just released a new version v<IP_ADDRESS>6-alpha which should address this serialization issue.
I also created a GroovyString object which can be used for advanced usage for anyone who would like to utilize more features with the groovy.lang.GString. Hopefully this will work out for everyone.
Let me know if you have any more issues.


Demonstrate a simple visualization result cache

This PR demonstrates how we can cache results of the future stats endpoint for use by other plugins or by the web client.

This is really great 👍
Only thing is I don't think that the new endpoint needs to know about all the filters, just the one pertaining to the requested variable. So I'd guess we cache based on the plugin config rather than the filters + ID.


Cant type in password in cmd

Hi!

When I try to start the bot i have to type in my login and my password.
it is possible to type in my log in, but i cant type in the password. When i press the keys of the  password - nothing appears on the screen.
i downloaded the files several hours ago so it should be no update problem.
Does anyone know whats the problem ?
with kind regards

password is just not shown for the security reasons. Just type it blindly and press enter


Stacked options in Multi Bar chart does not work on Library beta version.

Hi nvD3 development team,
First of all, I would like to say big thanks to you all for the great library.
When I use Multibar chart, I met an issue:
You can check here:
http://krispo.github.io/angular-nvd3/0.x/#/multiBarChart
When the chart is rendered, you can choose Library on top-left of the screen, then choose library version 0.1.1, then you check/unchech on Stacked option on right of the screen, the chart will change following your choosing. But when you choose library beta version, the chart will be nochange when you check/unchech on Stacked option.
Please help us fixing the issue.
Thanks in advance,
Hieu Tran

Fixed by https://github.com/krispo/angular-nvd3/pull/101


Problem with receiving notification when app is built on phonegap - second try

Expected Behaviour
App should be receiving notification. If app is in the background phone should be alerted and when clicked should open confirmation alert that ask him if he want to open specific page.
Actual Behaviour
When app is in background phone is alerted by notification but when clicked it just open app. Everything works fine on phonegap developer app but when i build app and install it on my device this problem accurres.
Reproduce Scenario (including but not limited to)
Build the app that have 2 ways of receiving notification, one when app is in the background and other when app is open. Build your app and try to send notification when app is open.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 4.4.4 and 2 more android devices i dont know exact version of android
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Samsung Galaxy Ace 4
Cordova CLI version and cordova platform version
cordova --version                                    # e.g. 6.0.0
cordova platform version android                     # e.g. 4.1.1

Plugin version
cordova plugin version | grep phonegap-plugin-push   # e.g. 1.5.3

Sample Push Data Payload
  data: {
        title: 'Badge Test',
        message: 'Badges, we don\'t need no stinking badges',
        alertId: 'AlertId'
        alertName:'Tvoj alert'
    }

Sample Code that illustrates the problem
 push.on('notification', function(data) {
     console.log("notifikacije: "+data.additionalData.alertId);
     var alertId = data.additionalData.alertId;
     if (alertId) {
       navigator.notification.confirm(
           'Da li zelite da pogledate novi oglas sa ' + data.additionalData.alertName + 'alerta?',
           function(buttonIndex) {
             if (buttonIndex === 1) {
               showAlertById(alertId);
             }
           },
          'Novi oglas',
          ['Da','Ne']
        );
     } else {
       navigator.notification.alert(
           data.message,         // message
           null,                 // callback
           data.title,           // title
           'Ok'                  // buttonName
       );
     }
}

Logs taken while reproducing problem
V/Push_Plugin(10689): extrasToJSON: {"message":"Badges, we don't need no stinking badges","additionalData":{"alertId":"59370fcda6f8ed0004165034","alertName":"Tvoj alert","foreground":true,"google.message_id":"0:1497303401450228%34e62519f9fd7ecd","coldstart":false},"title":"Badge Test"}
D/SystemWebChromeClient(10689): file:///android_asset/www/cordova.js: Line 312 : Error in Success callbackId: PushNotification1333552155 : TypeError: Cannot call method 'confirm' of undefined
I/chromium(10689): [INFO:CONSOLE(312)] "Error in Success callbackId: PushNotification1333552155 : TypeError: Cannot call method 'confirm' of undefined", source: file:///android_asset/www/cordova.js (312)

@filippetroviccc running adb logcat | grep Push when testing would help as we'd have logs to look into.

Thank you Simon for replying, this is log that when i use adb logcat | FINDSTR Push because i am using windows . I think would be helpful for you to find what was problem.
V/Push_Plugin(10689): extrasToJSON: {"message":"Badges, we don't need no stinking badges","additionalData":{"alertId":"59370fcda6f8ed0004165034","alertName":"Tvoj alert","foreground":true,"google.message_id":"0:1497303401450228%34e62519f9fd7ecd","coldstart":false},"title":"Badge Test"}
D/SystemWebChromeClient(10689): file:///android_asset/www/cordova.js: Line 312 : Error in Success callbackId: PushNotification1333552155 : TypeError: Cannot call method 'confirm' of undefined
I/chromium(10689): [INFO:CONSOLE(312)] "Error in Success callbackId: PushNotification1333552155 : TypeError: Cannot call method 'confirm' of undefined", source: file:///android_asset/www/cordova.js (312)

@filippetroviccc yeah, there is your error right there:
I/chromium(10689): [INFO:CONSOLE(312)] "Error in Success callbackId: PushNotification1333552155 : TypeError: Cannot call method 'confirm' of undefined", source: file:///android_asset/www/cordova.js (312)

You are calling navigator.notification.confirm without having cordova-plugin-dialogs added as one of your plugins. Run cordova plugin add cordova-plugin-dialogs then build/run and re-test and you should no longer get the error in the success callback.
The reason you didn't see this in the PhoneGap Developer app is because it includes that plugin by default.
P.S. This is why I ask people to fill out the full issue template as it is much easier to diagnose issues when I have the information.

@macdonst Sorry for not filling out issue template immediate.
By installing cordova-plugin-dialogs new problem occurs, I get build error when I try to build my app.
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'project'.
> You have not accepted the license agreements of the following SDK components:
  [SDK Patch Applier v4, Google Repository].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.278 secs
Error: /project/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'project'.
> You have not accepted the license agreements of the following SDK components:
  [SDK Patch Applier v4, Google Repository].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

P.S. Do I need to open another issue thread for this?

@filippetroviccc the error is right there:
* What went wrong:
A problem occurred configuring root project 'project'.
> You have not accepted the license agreements of the following SDK components:
  [SDK Patch Applier v4, Google Repository].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

Run android from the command line and accept the Android SDK license.

@macdonst Everything works fine, thank you  for help I will now close this issue.


chore: change colour scheme

fixes #516

The accent color is not used anywhere. Please fix this in the follow up PR