Mark unittests and functions in std.uni as @safe pure nothrow @nogc

I marked unittests, non-template functions and template functions with limited template arguments as @safe pure nothrow @nogc if possible.
They will not break any existing codes.
Note:

I replaced @trusted or @system with @safe in some unittests and function because now they work with @safe.
I added template constraints to comparePropertyName and propertyNameLess. They implicitly require template arguments Char1 and Char2 to work with std.ascii.toLower.
I remove some comments "iota is system" because now it can work with @safe.
decoder and units are template functions but they only takes char types as a template argument.

Auto-merge toggled on

Thanks!
Does this provide additional guarantees to any public interfaces? If so, it might be nice to know for changelog purposes.

After it is merged, normalize can work with @safe and the example in synopsis also works with @safe.

Nice. I expect we will have more safety related improvements for 2.068 and the changelog should have at least one entry emphasizing that, so I'll label this for the changelog.


[NOT_AN_ISSUE]Please consider to use FreeType font rasterizer

Awesome work!

PTAL at https://github.com/ocornut/imgui_club/tree/master/imgui_freetype
It has hinting support so it will result in better text render quality.
(you'll find screenshots here: https://github.com/ocornut/imgui/issues/618)

Thank you. :)

You mean for screenshots? Because this widget uses the font tenderer whatever ImGui uses. So it is on the user to pick the font renderer he or she wants.

you are welcome
yes, for screenshots and for demo app. :)


Update to the master

Trunk has been reviewed. Code should move to the master

Pushing the code into master


CMake error: missing Protobuf_LIBRARY

Hi,
I'm trying to compile monodepth-cpp.
I'm following your instructions and managed to build tensorflow c++ with bazel.
In the last step of your instructions, "Organize Tensorflow library in local folder", protobuf .h files are copied to a local directory, but nothing is done for .so library files.
So, I don't know which path I need to specify in FindProtobuf.cmake file for Protobuf_LIBRARY.
Can you please give me a hint?
Thanks in advance.

I found the solution.
I missed the part (then install dependencies separately) after bash tensorflow/contrib/makefile/download_dependencies.sh: you need to build and install Protobuf manually.


improve the CryptoSetup interface

Removes race conditions in the cryptoSetupClient and simplifies how packets are sealed.

Codecov Report

Merging #493 into master will increase coverage by 0.13%.
The diff coverage is 89.42%.

@@            Coverage Diff             @@
##           master     #493      +/-   ##
==========================================
+ Coverage   90.39%   90.52%   +0.13%
==========================================
  Files          81       80       -1
  Lines        5410     5423      +13
==========================================
+ Hits         4890     4909      +19
+ Misses        334      328       -6
  Partials      186      186

Impacted Files
Coverage Δ

packet_unpacker.go
97.06% <ø> (ø)
:arrow_up:

handshake/crypto_setup_server.go
83.75% <100%> (+1.74%)
:arrow_up:

client.go
82.67% <76.47%> (+0.85%)
:arrow_up:

packet_packer.go
88.32% <87.5%> (ø)
:arrow_up:

handshake/crypto_setup_client.go
88.34% <96.77%> (+1.21%)
:arrow_up:

crypto/config_for_client_1.8.go

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 06446b9...90fc8e2. Read the comment docs.


Networks from different count metrics

Our pipeline currently consists of three major components:

NGS read mapping and creating BAMs
Converting reads to counts (FPKM)
Building and analysing coexpression networks

The first part in making BAMs is pretty set in stone, we are not going to go back and change any of this sparing a major quality incident.
The second chunk is the most recent with us having to go back and tear out cufflinks for our own read counting mechanism.
The final part is where the majority of the analysis has been. This is the most plastic portion and the part we are actively working on the most. One of our questions has been, how much do our results rely on the previous parts of the pipeline. We have gone with reasonable decisions making these networks, but we wonder if we built them using a different metric, would the network connectivity change drastically?
Task 1: Rebuild our vanilla COB class
Install camoco on whatever computer and build a COB instance using an FPKM table generated as output from mixedHTSeq. You will need to build a couple of other camoco classes, mainly the RefGen class using the longest transcript gff files we talked about
Task 2: compare_degree COB method
We need a way to compare one COB instance to another COB instance. Write a method in the COB class that takes in another COB class. The method should iterate over the genes in the instance and compare the degree (number of significant network interactions) of the gene in instance A to instance B. We can talk more about what statistic to use here, but for right now just plan on returning a pearson correlation for the two degree vectors.
Task 3: Build a COB using canonical genes
Download gene annotations from here and recreate a gff using gene intervals which are labeled as canonical. Re-run mixedHTSeq on this new GFF file and build a COB instance using canonical genes. Compare the longest transcript COB instance to the canonical COB instance.

##Add one:

Make report with biggest changes between the longest_transcript and the is_canocical.

All tasks here completed, pull requests have been made to Camoco and mixedHTseq to add them in.


When invalid pdf is rendered, next valid PDFs will never load

I am using a rest client to receive a PDF, if it comes as invalid (which I don't have a way to check this before), render fails as expected but if I try to load any valid PDFs after the invalid one, render will always fail for any.

i also meet this problem

Hi guys,
I haven't been able to reproduce this issue. Have you tried closing the invalid PDF before loading the new one? This way you make sure that all resources are freed and resources are erased.


Add NodeJS

Fixes #19

Thanks for the PR. Looks good to me. Will make it possible to build ASP.NET Core projects created from React, Vue, or Angular templates.
Will probably bump Node version when v20 is released (LTS).


Enhancement of Users Addition Form

Is your feature request related to a problem? Please describe.
I was testing out the feature of adding a new user and assigning facilities to it which can be improved by displaying the values in the input box as well along with the selection options which could also prevent some accidental selections if there are any. Currently, the selected facilities are being shown below the Facilities Input Box which gets hidden during selection making.
Describe the solution you'd like
We can display the facilities selected as comma separated values in the same input box along with the tick marks
Additional context
https://github.com/user-attachments/assets/c2c40131-6e4d-48c8-ba6f-577c6ebcfb01

Hi @Jacobjeevan @rithviknishad , Let me know your thoughts on this enhancement feature. I'll start working on it once you approve the issue.

🤔  This isn't necessary since selected items are highlighted during selection anyways (and when selection drop down isn't triggered, the selected choices will be displayed underneath, so would be redundant).


Wrong closer reference in issues

Description
In Organization,
I have an issue, closed by my colleague

But in Issues list this issue marked as closed by me issue author, not my colleague user who actually closed issue.

Gitea Version
1.19.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
windows as servie
Database
SQLite

It looks like Author is mentioned as a person who closed issue instead of one who really closed it.

The issue list just shows who created the issue and that it is closed. It does not show the closer.

Ok, I see. Sorry for misunderstanding.
We have a group of two - developer and tester.
Tester AND developer create issues, both tester AND developer able to close issues, but tester have to verify outcome.
Idea was to list issues by "closed by developer" and double check them.
What we supposed to do now?  Create a label "Completted by developer" and allow close issues by tester only?

I think you can do that. Add a done label for developers, and close button for testers when they confirmed.

Teach me how to set permissions for Close Issue in case we use organization and teams approach.

Should I close this issue and open a new one with request to make it possible to control who can close issues?

Close this issue, another opened
https://github.com/go-gitea/gitea/issues/26014


Add option --exit-success

Make an option like --exit-success to force CodeceptJS to exit with 0.
CodeceptJS returns 1 when a test fails. Using it as a NPM script, breaks the life-cycle after finishing:
Example:
...
	"scripts": {
		"codeceptjs": "codeceptjs run --reporter mocha-multi --colors"
	},
...

Then:
npm run codeceptjs

and then when some test does not pass:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>codeceptjs: `codeceptjs run --reporter mocha-multi --colors`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>codeceptjs script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     ...-debug.log

So adding such option will allow to solve this problem like this:
...
	"scripts": {
		"codeceptjs": "codeceptjs run --reporter mocha-multi --colors --exit-success"
	},
...

It will not interfere the life-cycle.

Very strange request. You can just add  or operator || to return true in case of failure
codeceptjs run || true

How to do
npm run codeceptjs -- test/mytest,js

???

@DavertMik || true also does not work on Windows.
So, I would like to suggest reopening this Issue in order to solve it. Thx.


⚠ Bofrost.at has degraded performance

In bf65ae8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1455 ms

Resolved: Bofrost.at performance has improved in 774254b after 6 minutes.


feat(aws-constructs-factories): add a factory for sqs queues

Description of changes:
Expose a new factory for sqs queues
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 9f933271467c3f051205f481ec5c6535637e219b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: fd123782d01608f6b681f8b669329d3bba69636b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 6927c73f230a39a27bf94a5816601ca6a672a6da
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a276967aac351b13c9ddeb65f64a4be2e49cc4f2
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 037ae7a6b4a61dd62ed12fe4dd009570266ab81b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 335b2ebcfcfcadf84a5d51b5175482e43ee97aa5
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 92f3ad25288eb9c91fccdb345b0d6a358eddfce2
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 9ccb56b02e62d68f6ca44672bbdd7b65f8a7fdc6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


ln: failed to create symbolic link '/tmp/build/.heroku/python': No such file or directory

https://github.com/heroku/heroku-buildpack-python/commit/05e29c74bcc4b73a0ab2690f767a53bfdbd5de13#r35419023

deploy_log.txt
Here is the complete log

I think this recent change is causing the failure:
https://github.com/heroku/heroku-buildpack-python/blob/1721fa3703ca85afecb09656299866c036461a66/bin/compile#L108
-mkdir -p "BUILD_DIR/.heroku"
+mkdir -p "$BUILD_DIR/.heroku"

I have the same issue. Will there be a hotfix in the near future? We are unable to deploy our changes otherwise.

Hey, I would like to grab this issue.


Console displays �

When an emoji attempts to be printed in console, the console instead displays �. This should be fixed to display the emoji itself instead, if possible.

This appears to be an issue with most terminals, rather than the bot itself. Windows Terminal has emoji support and prints the emoji just fine. (Tested using Windows Terminal v1.0 with PowerShell 5.1 and the command python bot.py to run the bot.)


feat(MetricsElement): add MetricsElement component

addresses #17.
Test instructions:

review the code.
npm test
npm run examples and navigate to React Router>Metrics Element Example, check the functionalities.
check the doc update.

[Current coverage][cc-pull] is 99.26%

Merging [#23][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.19%

@@             master        #23   diff @@
==========================================
  Files            14         15     +1
  Lines           374        403    +29
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            372        400    +28
- Misses            2          3     +1
  Partials          0          0

Powered by Codecov. Last updated by [6a034a0...b43c3d1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/nfl/react-metrics/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/nfl/react-metrics/compare/6a034a0e5ede7f0b5bb06e79999c242b52edb811...b43c3d1aca9c7df50255ff0ca6707e906bf81f69
[cc-pull]: https://codecov.io/gh/nfl/react-metrics/pull/23?src=pr

👍  looks good to me. Tests pass and examples work.


docs: Fix a few typos

There are small typos in:

emailahoy/init.py

Fixes:

Should read whether rather than wether.
Should read function rather than fuction.
Should read exist rather than exsit.

Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thank you.


Disconnection in background not detected

Describe the bug

When we are in call and put the app in background and wait until the room does not exists anymore. When we resume the app sometimes we did not receive the disconnected event.

To Reproduce

the keep alive stop when the app is in background (and the device is not charging) so after a while the room has zero participant but i’m not always getting the disconnect event when I resume the app
you need to stay with app in background during 3 minutes

Device Info:

LiveKit SDK version: 1.1.5

This may simply be a background processing issue. Created an example to address this in #175.


Decision head should advance once a tile has exhausted all tasks

Users have shown that they want the selected grid tile to automatically advance to the next tile once all required decision have been made about a tile.
This would reflect the behavior in Raven where once a verification decision has been applied to the spectrogram, it will automatically select the next item.

Related to #129.
Also what is the behaviour when you page?
Do we:

Keep a selection of size of 1, and select the first item on the new page? So a user can "continue"
Or do we keep current behavior, select nothing, and require user to select first item with a "right arrow key press" (as in #129)

Voting for option 2, because that lets users make batch decisions by default - the assumption is that most items in the grid are not interesting.


Search button reappears if you click it

I've had a small problem with the search box reappearing after I disabled it.
Steps to reproduce

Ensure search button is hidden (show_search = false).
Open blog page in browser.
Click the area where the search button would appear if it was not hidden.

Expected behaviour
The search button should stay hidden. It should not respond to any clicks.
Actual behaviour
The search button appears when the area is clicked.

Thank you for posting this. It will be fixed in next release.

fixed in v1.3.1


Test state behaviour using mock tests

ticket closed as its now tracked under the correct repo as https://github.com/hashgraph/hedera-services/issues/13940


Battery voltage measurement fails after sleep. Restore ADC function a…

…fter sleep to fix
@AdrianLxM  This is the fix I mentioned.

Thanks  @jamorham. I will have to wait until I have my circuit with resistors to test it. :(


Extra space after @date with .now?string("yyyy-MM-dd HH:mm")

This is my template:
@date ${.now?string("yyyy-MM-dd HH:mm")} \n
I want to generate javadoc like @date 2019-08-06 15:50. But actually, there's an extra space in front of the '-' sign: @date 2019 -08-06 15:50

When I use yyyy.MM.dd HH:mm as a format, this bug doesn't happen.

issue+1,
also happens when use yyyy/MM/dd HH:mm as format

issue+1

issue+1
when there is existing javadoc contains date value,t it also happens

issue+1


git clone issue

Trying to use this command here
git clone -b develop --single-branch https://github.com/JamesIves/perforce-commit-discord-bot.git
Cloning into 'perforce-commit-discord-bot'...
warning: Could not find remote branch develop to clone.

I'm totally newbie with discordbot and git, but I tryed to use this setup here.
https://twentysix26.github.io/Red-Docs/red_install_debian/
Only changes this here
git clone -b develop --single-branch https://github.com/Twentysix26/Red-DiscordBot.git
to
git clone -b develop --single-branch https://github.com/JamesIves/perforce-commit-discord-bot.git
I can download it fine manully. But not with SSH

There's no branch called develop, I'm also unsure what this has to do with that other repo?


INFRA-1275: Switch Tiger-dev ECR to Infra1

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-oss-check/204/ : SUCCESS in 3s

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-public-demos-gate-PR86
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-merge-compliance-check/74/ : SUCCESS in 10s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-sonarqube-scan-zuul-gate/72/ : SUCCESS in 41s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-fossa-scanning-zuul/35/ : FAILURE in 10s (non-voting)


Camera issue on version 3.9.0

This was reported by a single user - it occurs every time they use the sighting compass. It previously worked on 3.8.0 for them, and clearing the cache or reinstalling does not help. Installed via F-Droid.
Message: dlopen failed: couldn't map "/mnt/asec/com.kylecorry.trail_sense-1/base.apk!/lib/arm64-v8a/libimage_processing_util_jni.so" segment 2: Permission denied
java.lang.UnsatisfiedLinkError: dlopen failed: couldn't map "/mnt/asec/com.kylecorry.trail_sense-1/base.apk!/lib/arm64-v8a/libimage_processing_util_jni.so" segment 2: Permission denied
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at androidx.camera.core.ImageProcessingUtil.(Unknown Source:2)
at androidx.camera.core.ImageProcessingUtil.b(Unknown Source:0)
at androidx.camera.core.i.c(Unknown Source:70)
at androidx.camera.core.j.f(Unknown Source:60)
at androidx.camera.core.i.a(Unknown Source:6)
at v.g0.a(:1)
at v.b.run(:24)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Another issue reported by a second user:
Message: Attempt to invoke interface method 'w.n androidx.camera.core.impl.CameraInternal.c()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'w.n androidx.camera.core.impl.CameraInternal.c()' on a null object reference
at androidx.camera.core.UseCase.g(Unknown Source:0)
at androidx.camera.core.k.H(Unknown Source:65)
at p.r.run(:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Best course of action will be to revert the version update of the camerax dependencies, it appears that isn't a stable build.

I believe this is fixed now (since 3.8.0 worked fine with beta01/beta02 code)


Blocking step in submit_workflow

Within async def submit_workflow, the following line is blocking:
    output_dataset.meta = final_metadata.result()

Closed with https://github.com/fractal-analytics-platform/fractal/pull/142


Devise error messasge do not shows proper

Fresh install Rails 7 and and devise 4.8.1
If I login in with wrong password, a flash error message will show up to page, like following screenshot:

But the weird thing is that flash error message is append to the end of html, like following screenshot:

the _error_message.html.erb is located in app/views/deivse/shared:
<% if resource.errors.any? %>

      <%= I18n.t("errors.messages.not_saved",
                 count: resource.errors.count,
                 resource: resource.class.model_name.human.downcase)
       %>

      <% resource.errors.full_messages.each do |message| %>

<%= message %>

      <% end %>

<% end %>

I try to change above error view file, but the flash message still not change, even I empty the error view file.

Adding data: { turbo: false } fixed the problem for me, but now the whole page reloads when the form is submitted.
Looks like a problem with turbo_stream rendering.

same issue here! any solution?

see Issue for other ways to fix this and this pull request

The main branch should contain all that's necessary for fully working with Turbo now, which should fix this. A new version will be released soon, but feel free to test it out from the main branch in the meantime, and report back on any issues. Thanks.


Preview 2.0 Panic error

Hello,
just tried and received this
Last line was: INF Scanning subscriptions for Microsoft.SignalRService/webPubSub
panic: interface conversion: interface {} is map[string]interface {}, not string
goroutine 80 [running]:
github.com/Azure/azqr/internal.AprlScanner.graphScan({}, {0x2431e68, 0xc0000916d0}, 0xc00040e168, {0xc000352b40, 0xc, 0x0?}, 0xc000279350)
D:/a/azqr/azqr/internal/aprl_scanner.go:198 +0xb94
github.com/Azure/azqr/internal.AprlScanner.Scan.func2({0xc000352b40?, 0xc?, 0x8f?}, 0xa9aa0a9aa0a9aa0?)
D:/a/azqr/azqr/internal/aprl_scanner.go:154 +0x125
created by github.com/Azure/azqr/internal.AprlScanner.Scan in goroutine 1
D:/a/azqr/azqr/internal/aprl_scanner.go:146 +0x254
Regards,
Red.

Hi thanks for reporting.
Can you please set the AZURE_SDK_GO_LOGGING environment variable to all and run the tool with the --debug flag and share the details?

Hello,
it seems to be quite the same:
[Aug 20 11:36:11.379389] Retry: response 200
[Aug 20 11:36:11.380006] Retry: exit due to non-retriable status code
panic: runtime error: index out of range [2] with length 1
goroutine 58 [running]:
github.com/Azure/azqr/internal/azqr.GetSubsctiptionFromResourceID(...)
D:/a/azqr/azqr/internal/azqr/azqr.go:274
github.com/Azure/azqr/internal.AprlScanner.graphScan({}, {0x2431e68, 0xc000156050}, 0xc00010c2e0, {0xc000438b40, 0xc, 0x0?}, 0xc0002f8870)
D:/a/azqr/azqr/internal/aprl_scanner.go:223 +0xb37
github.com/Azure/azqr/internal.AprlScanner.Scan.func2({0xc000438b40?, 0xc?, 0x8f?}, 0xffffffffffffffff?)
D:/a/azqr/azqr/internal/aprl_scanner.go:154 +0x125
created by github.com/Azure/azqr/internal.AprlScanner.Scan in goroutine 1
D:/a/azqr/azqr/internal/aprl_scanner.go:146 +0x254
Regards,
Red.

We have
RESPONSE Status: 429 Too Many Requests so I suppose it's related to that
https://learn.microsoft.com/en-us/graph/throttling
Regards,
Red.

Hello, it seems to be quite the same:
[Aug 20 11:36:11.379389] Retry: response 200 [Aug 20 11:36:11.380006] Retry: exit due to non-retriable status code panic: runtime error: index out of range [2] with length 1
goroutine 58 [running]: github.com/Azure/azqr/internal/azqr.GetSubsctiptionFromResourceID(...) D:/a/azqr/azqr/internal/azqr/azqr.go:274 github.com/Azure/azqr/internal.AprlScanner.graphScan({}, {0x2431e68, 0xc000156050}, 0xc00010c2e0, {0xc000438b40, 0xc, 0x0?}, 0xc0002f8870) D:/a/azqr/azqr/internal/aprl_scanner.go:223 +0xb37 github.com/Azure/azqr/internal.AprlScanner.Scan.func2({0xc000438b40?, 0xc?, 0x8f?}, 0xffffffffffffffff?) D:/a/azqr/azqr/internal/aprl_scanner.go:154 +0x125 created by github.com/Azure/azqr/internal.AprlScanner.Scan in goroutine 1 D:/a/azqr/azqr/internal/aprl_scanner.go:146 +0x254 Regards, Red.

This seems to be yet another issue. If you run with the env variable and the --debug flag you should see the ARG query that causes the issues. Can you share please share it?

We have RESPONSE Status: 429 Too Many Requests so I suppose it's related to that https://learn.microsoft.com/en-us/graph/throttling https://learn.microsoft.com/en-us/azure/architecture/patterns/throttling
Regards, Red.

Throttling is been handled and is not the cause of these Panic errors

Hello,
don't know what you exactly mean (sorry, I'm only a user and not a developer) but, last lines before the error are:
[Aug 20 11:36:10.816275] Retry: response 429
[Aug 20 11:36:10.816275] Retry: End Try #1, Delay=1s
[Aug 20 11:36:11.378879] Response: ==> REQUEST/RESPONSE (Try=1/829.39ms, OpTime=829.39ms) -- RESPONSE RECEIVED
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-06-01-preview
Accept: application/json
Authorization: REDACTED
Content-Length: 2242
Content-Type: application/json
User-Agent: azsdk-go-armresourcegraph/v0.9.0 (go1.22.0; Windows_NT)
RESPONSE Status: 200 OK
Cache-Control: no-cache
Content-Length: 275362
Content-Type: application/json; charset=utf-8
Date: Tue, 20 Aug 2024 09:36:10 GMT
Expires: -1
Pragma: no-cache
Strict-Transport-Security: REDACTED
X-Cache: REDACTED
X-Content-Type-Options: REDACTED
X-Ms-Correlation-Request-Id: REDACTED
X-Ms-Ratelimit-Remaining-Tenant-Reads: REDACTED
X-Ms-Ratelimit-Remaining-Tenant-Resource-Requests: REDACTED
X-Ms-Request-Id: 116da4f0-70aa-4944-8074-8129e12ce11d
X-Ms-Resource-Graph-Request-Duration: REDACTED
X-Ms-Routing-Request-Id: REDACTED
X-Ms-User-Quota-Remaining: REDACTED
X-Ms-User-Quota-Resets-After: REDACTED
X-Msedge-Ref: REDACTED
Regards,
Red.

Hmm sorry about that. If you use the --debug flag (i.e. azqr scan --debug) you should see messages like:
DBG // Azure Resource Graph Query
// This resource graph query will return all storage accounts that does not have a Private Endpoint Connection or where a private endpoint exists but public access is enabled
resources
| where type =~ "Microsoft.Storage/StorageAccounts"
| where isnull(properties.privateEndpointConnections) or properties.privateEndpointConnections[0].properties.provisioningState != ("Succeeded") or (isnull(properties.networkAcls) and properties.publicNetworkAccess == 'Enabled')
| extend param1 = strcat('Private Endpoint: ', iif(isnotnull(properties.privateEndpointConnections),split(properties.privateEndpointConnections[0].properties.privateEndpoint.id,'/')[8],'No Private Endpoint'))
| extend param2 = strcat('Access: ', iif(properties.publicNetworkAccess == 'Disabled', 'Public Access Disabled', iif(isnotnull(properties.networkAcls), 'NetworkACLs in place','Public Access Enabled')))
| project recommendationId = "dc55be60-6f8c-461e-a9d5-a3c7686ed94e", name, id, tags, param1, param2

If possible share with me the Azure Resource Graph Query that shows right before the panic error.
Thanks for your patience and help!

Hello,
it should be this one:
[90m2024-08-20T12:40:03+02:00 DBG // Azure Resource Graph Query
// Find Subnets with Service Endpoint enabled for services that offer Private Link
resources
| where type =~ 'Microsoft.Network/virtualnetworks'
| mv-expand subnets = properties.subnets
| extend se = array_length(subnets.properties.serviceEndpoints)
| where se >= 1
| project name, id, tags, subnets, serviceEndpoints=todynamic(subnets.properties.serviceEndpoints)
| mv-expand serviceEndpoints
| project name, id, tags, subnetName=subnets.name, serviceName=tostring(serviceEndpoints.service)
| where serviceName in (parse_json('["Microsoft.CognitiveServices","Microsoft.AzureCosmosDB","Microsoft.DBforMariaDB","Microsoft.DBforMySQL","Microsoft.DBforPostgreSQL","Microsoft.EventHub","Microsoft.KeyVault","Microsoft.ServiceBus","Microsoft.Sql", "Microsoft.Storage","Microsoft.StorageSync","Microsoft.Synapse","Microsoft.Web"]'))
| project recommendationId = "24ae3773-cc2c-3649-88de-c9788e25b463", name, id, tags, param1 = strcat("subnet=", subnetName), param2=strcat("serviceName=",serviceName), param3="ServiceEndpoints=true"
but not sure since I don't see it on session screen but only using > debug.txt (where I don't see the panic error)
The command line is:
.\azqr2_0.exe scan --mask=false -f --debug > debug.txt
Regards,
Red.

Just released: v.2.0.0-preview.4
Please check if it fixes the issue for you.

seems to be running, but very slow

Keep you updated.
Red.

@red-erik closing this one since the panic error was fixed.
Diagnostic Settings issue for large environments will be tracked here: https://github.com/Azure/azqr/issues/249


Doc - Backport scripts and content changes to 3.2

Shall eventually fix the build issues in the new Jenkins.
Backport of https://github.com/arangodb/arangodb/pull/5209 and other changes.
Tested locally with success using oskar with a build script fix and ./scripts/buildDocumentation --books "Manual AQL HTTP Cookbook" - do we need to handle the non-existence of the Drivers book <= 3.3 in the build_documentation script?

Drivers book needs to be excluded (does not exist <= 3.3):
============================== Build Book - Drivers ==============================
book source:       /oskar/work/ArangoDB/Documentation/Books/Drivers
preprocessing dir: /oskar/work/books_pp/Drivers
output dir:        /oskar/work/books_html/Drivers
-------------------------- Source Checks - Book Drivers --------------------------
+ bs 01 checking for bad code sections in Drivers
grep: /oskar/work/ArangoDB/Documentation/Books/Drivers: No such file or directory
+ bs 02 checking for headers that won't proper display on github in Drivers
grep: /oskar/work/ArangoDB/Documentation/Books/Drivers: No such file or directory
+ bs 03 checking for unused image files Drivers
find: '/oskar/work/ArangoDB/Documentation/Books/Drivers': No such file or directory
--------------------------- Preprocess - Book Drivers ----------------------------
 - copy directory structure
/oskar/containers/documentation.docker/build_documentation: line 189: cd: /oskar/work/ArangoDB/Documentation/Books/Drivers: No such file or directory

Error: could not enter book source dir: /oskar/work/ArangoDB/Documentation/Books/Drivers

@ObiWahn How can/should this be done?

@Simran-B yes some check if the version is lower than 3.3 is probably the best what could be done. The information should not be on part of different branches anymore, but it still needs some place where it will be encoded. I think that oskar is the right place because it is the tool, that knows how to build ArangoDB. As the documentation is part of the database I think the information should be encoded in the same place.

Documentation build finally succeeded with this oskar patch: https://github.com/arangodb/oskar/pull/87
I hope this will be easy to forward port to 3.3 to fix it for new jenkins as well.

@Simran-B for 3.3 we can use this branch and PR hopefully - or if needed close that and reopen a new one (in that I did several changes to fix links etc): https://github.com/arangodb/arangodb/pull/8249

http://jenkins01.arangodb.biz:8080/view/Documentation/job/arangodb-documentation/373/


Ollama error after a few requests - ubatch must be set as the times of VS

Hi,
My config: A770 + Ollama + OpenWebui + intelanalytics/ipex-llm-inference-cpp-xpu:latest docker
After 2-3 chat message I get this error:
ollama_llama_server: /home/runner/_work/llm.cpp/llm.cpp/llm.cpp/bigdl-core-xe/llama_backend/sdp_xmx_kernel.cpp:191: void sdp_causal_xmx_kernel(const void *, const void *, const void *, const void *, const void *, const void *, float *, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int, const int, const int, const int, const int, const float, sycl::queue &) [HD = 128, VS = 32, RepeatCount = 8, Depth = 16, ExecuteSize = 8]: Assertion `(context_length-seq_len)%VS==0 && "ubatch must be set as the times of VS\n"' failed.
If click the 'refresh'/'again' button in the OpenWebui chat Ollama reloads the model and it works, but again, after a few messages it fails.
Interesting thing is if I keep pressing the refresh button it works every time.

I've tried multiple models and the OpenWebui in the Intel docker + the official latest version.
Can someone point me to the right direction? Thank you

"Interesting thing is if I keep pressing the refresh button it works every time."
I'd like to correct myself. I've tried this with smaller models and I can click refresh 10 times, it works every time, but now I tried it with Mistral-Small which is a larger model and it failed even with the refresh button, not just after a new message.

Screencast From 2024-10-17 03-37-55.webm
You can see a first few fails first try, ollama reloads the model every time, but than by clicking only the refresh button it works perfectly.

"Interesting thing is if I keep pressing the refresh button it works every time."
I'd like to correct myself. I've tried this with smaller models and I can click refresh 10 times, it works every time, but now I tried it with Mistral-Small which is a larger model and it failed even with the refresh button, not just after a new message.

I encountered a similar problem "ubatch must be set as the times of GS".

Thank you for your feedback, you may try ipex-llm[cpp] latest (version number >= 10.17) tomorrow.

Thank you for your feedback, you may try ipex-llm[cpp] latest (version number >= 10.17) tomorrow.

The original issue is fixed, no errors and it doesn't reload, but after the first request the response it total nonsense, just random text. Same behavior with all models.

If you need any more information, please let me know. I really appreciate the help.

Hi everyone, we have done another attempt and it is working on test cases, pls try again tomorrow with latest ipex-llm[cpp]


Exposing connection pools for sqlite

PR Info
Changes

Provide a function to expose sqlite connection pools

I think this might be what you're looking for? https://github.com/SeaQL/sea-orm/blob/010433bf1633dd387f8493071c0b3838a7fbb575/src/database/db_connection.rs#L537

thanks, I didn't find it beforehand, turns out I also needed to add a sea-orm-internal feature to show this function in vscode's autocompletion

I think I will expose it by default moving forward

That's great, but I think this function should be included in the sqlx-sqlite feature.After all, it might not make sense to be able to use it without enabling this feature.

Yes, the method itself is guarded by sqlx-sqlite

Oh, indeed, I was wrong, everything is fine.


A11y Fixes (Home Page)

Going through with a screen reader to identify potential accessibility issues on the home page.
Issues Identified

A number of decorative images had alt descriptions that weren't needed.
GitHub was listed inconsistently (incidentally the screen reader pronounces the "th" sound if you put it as Github so I figured this was a safe change everyone would want to make it consistent.
Found typo Check **our** another player's stats on WOM, including Efficiency metrics.
Stats, all being in one div was being read all at once. Using group role to let it read them one at a time.

This is great, a11y really isn't something I know much about so I really appreciate this! I'm sure there's plenty of other issues throughout the app
Thanks!

Happy to! I wanted a simple one to start with but I'll keep working through the application in my free time if you don't mind me making adjustments.

Not at all, feel free


Support for gcc-go?

Disclaimer: I'm not programming in go.
I see you including textflag.h here, I suppose it's an implementation-specific header that can only use with Google's go compiler. The GNU implementation of go doesn't have it, could you please consider removing the use of this header if possible? I see that klauspost/cpuid didn't use this header. Or if it's impossible to remove the use of textflag.h, could you please consider adding another code to work with gcc-go?

事先声明：我没写过go
您的这些汇编文件里用了textflag.h，而就我所知这不是go标准内的头，这意味着只有Google的go编译器能编译这个库，而我在用GNU的go实现编译时就报错了。考虑到 klauspost/cpuid没有用到这个头，您能不能试着移除掉对textflag.h的依赖呢？又或者也许您可以考虑单独添加对gcc-go的支持？

@RealXuChe Sorry for late, I'll do it soon

@RealXuChe
https://github.com/templexxx/cpu/pull/10
Could you try it? :D

@templexxx
Erm, I encountered this problem when compiling frp, and now I still can't compile it because the downstreams haven't updated their dependencies. I'll do the test after asking the downstreams to update their dependencies.
BTW, may you update the dep version of this package in github.com/templexxx/xorsimd?

我是在编译frp的时候遇到这个问题的，现在因为下游的依赖版本都还没有更新，我还是没办法编译。我会去找下游更新依赖版本，然后测试一下的。
说到更新依赖版本，也请您更新一下你的github.com/templexxx/xorsimd里这个项目的依赖版本。

@RealXuChe okay thank you for reminding

@RealXuChe with the changes in https://github.com/templexxx/xorsimd/releases/tag/v0.4.2, no NOSPLIT anymore


[master] [KOGITO-1359] Setup jobs-service to data-index feature test

https://issues.redhat.com/browse/KOGITO-1359
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

I will cherry-pick after in 0.9.x

@MarianMacik are you good with latest change ?


Play around with multinomial logit

In particular, see if it can predict an unknown class, e.g., maybe when the predicted probabilities for all three classes are equally low.

Use one-vs-rest logistic regression and check the output probabilities for each class.


Messages failing to send

Bug Report

import path .../sdk/messaging/azservicebus
SDK versionlatest
go-version 1.18

Setup azure app service to send messages to a queue using
func SendMessage(message string) {
	client := GetClient()
	sender, err := client.NewSender("mlsa3", nil)
	if err != nil {
		panic(err)
	}
	// defer sender.Close(context.TODO())

	sbMessage := &azservicebus.Message{
		Body: []byte(message),
	}
	err = sender.SendMessage(context.TODO(), sbMessage, nil)
	if err != nil {
		panic(err)
	}
}

on the azure portal, it reflects that requests are coming through but is not registering the messages. I have tried to lookup logs but cannot pinpoint where the problem is coming from. the queue name is accurate, and I am generating the client with an accurate uri <queue_name>.servicebus.windows.net

Hi @dibrinsofor,
Let's try a few things, see if we can flush this bug out of hiding. :)
First, can you turn on debug logging for the package? This'll give us a bit more information about what's happening internally, and might give us the context we need to see where the failure is.
https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/messaging/azservicebus/README.md#logging
This should give us enough information to see if there is a bug on the sending side.
Here are a few other things that are worth looking into:

Is it possible your messages are being received by a receiver before you see them in the portal?
Does your queue have auto-forwarding setup?
Are there any messages in your dead letter queue for your queue?


Fastlane Spaceship in-app-purchases localization

I want to make 1 built-in purchase, which will be localized in different languages. To do this, I make versions like:
versions: {
  "en-US" => {
    name: "Remove advertising",
    description: "Remove advertising"
  },
 "pt-BR" => {
    name: "Remover publicidade",
    description: "Remover publicidade"
  },

...

},

And everything is fine and working, but exactly until I come across specific languages that are displayed in the terminal as:
irb(main):063:2*   "hi" => {
irb(main):064:3*     name: "\U+FFE0\U+FFA4\U+FFB5\U+FFE0\U+FFA4\U+FFBF\U+FFE0\U+FFA4\U+FFE0\U+FFA5\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFAA\U+FFE0\U+FFA4\U+FFA8 \U+FFE0\U+FFA4\U+FFB9\U+FFE0\U+FFA4name: "     E0\U+FFA4\U+FFB5\U+FFE0\U+FFA4\U+FFBF\U+FFE0\U+FFA4\U+FFE0\U+FFA5\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFAA\U+FFE0\U+FFA4\U+FFA8 \U+FFE0\U+FFA4\U+FFB9\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFE0\U+FFA4",
irb(main):065:3"     description: "\U+FFE0\U+FFA4\U+FFB5\U+FFE0\U+FFA4\U+FFBF\U+FFE0\U+FFA4\U+FFE0\U+FFA5\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFAA\U+FFE0\U+FFA4\U+FFA8 \U+FFE0\U+FFA4\U+FFB9\U+FFE0\U+FFA4description: "\U+FFE0\U+FFA4\U+FFB5\U+FFE0\U+FFA4\U+FFBF\U+FFE0\U+FFA4\U+FFE0\U+FFA5\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFAA\U+FFE0\U+FFA4\U+FFA8 \U+FFE0\U+FFA4\U+FFB9\U+FFE0\U+FFA4\U+FFE0\U+FFA4\U+FFBE\U+FFE0\U+FFA4\U+FFE0\U+FFA4"
irb(main):066:3>   },

And a bunch of errors during execution, starting from the wrong syntax and ending with the fact that there should be more than 10 characters of a description.

And a bunch of errors during execution, starting from the wrong syntax and ending with the fact that there should be more than 10 characters of a description.

You might want to share these "bunch of errors" with us if we should try to understand what is going on ;)

@Vlastelin1 how do you download in app purchase metadata?

And a bunch of errors during execution, starting from the wrong syntax and ending with the fact that there should be more than 10 characters of a description.

You might want to share these "bunch of errors" with us if we should try to understand what is going on ;)

Traceback (most recent call last):
        3: from /usr/bin/irb:23:in `<main>'
        2: from /usr/bin/irb:23:in `load'
        1: from /Library/Ruby/Gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>'
SyntaxError ((irb):65: syntax error, unexpected tIDENTIFIER, expecting '}')
    description: " description: " "
                   ^~~~~~~~~~~

Traceback (most recent call last):
        3: from /usr/bin/irb:23:in `<main>'
        2: from /usr/bin/irb:23:in `load'
        1: from /Library/Ruby/Gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>'
SyntaxError ((irb):950: syntax error, unexpected tIDENTIFIER, expecting '}')
    description: "description: " "
                  ^~~~~~~~~~~
(irb):951: syntax error, unexpected '}', expecting end
(irb):953: syntax error, unexpected ',', expecting end
...nce_name: "Remove advertising",
...                              ^
(irb):954: syntax error, unexpected ',', expecting end
...llylatypova.slovaknumbers.ads",
...                              ^
(irb):955: Can't assign to true
cleared_for_sale: true,
                  ^~~~
(irb):965: syntax error, unexpected ')', expecting end

@Vlastelin1 how do you download in app purchase metadata?

I use this guide - https://andreygordeev.com/2017/09/14/create-iap-records-programmatically/

Looks like a syntax error. I'd recommend fixing that first.


Check pointer fields of g.spec

Signed-off-by: Haiyan Meng<EMAIL_ADDRESS>Backport #144 to v1.0.0-rc1 and remove the references to a Linux
pointer field.
Signed-off-by: W. Trevor King<EMAIL_ADDRESS>

LGTM


Fix node pods not displayed with kubectl 1.12+

Fixes #565.
The underlying issue is that someone forgot that kubectl table output is meant to be parseable by tools such as awk, and that multi-word column headers should therefore be hyphenated instead of spaced.  This person added a pod column called NOMINATED NODE.  Because we parse based on space-separation, we interpreted this as two columns, NOMINATED and NODE.  And the spurious NODE column duplicated and overwrite the real NODE column which we needed to relate pods to nodes.
Fortunately it seems that we can - for now at least - rely on at least three spaces between columns, per the TabWriter implementation and the settings in the k8s tabwriter.go file.  So there is a simple fix to set the column separator regex to at least two spaces.  It would be good to get this fixed upstream for the benefit of other tools though.  But we should also implement robustness improvements in our own parser, e.g. to deal with spaces in data fields.
NOTE: Unfortunately we can't use structured-text solutions such as -o json, or solutions where we control the output such as -o custom-columns, to work around this, because we need the STATUS field.  This does not map to a single server field, but is instead synthesised by the kubectl table formatter.  To my mind it is a bug in kubectl that we can't access this value without surrendering to an unpredictable output format.  But there it is.

Lol… this is a fun one. You mention that we need the STATUS field from the table output, because it's synthesized from kubectl. I noticed that outputting with -o json outputs a phase field ie.              "phase": "Running". This field also seems to map to the phase field in the PodStatus object on the Pod: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase.
Wondering if we could use this in the future.

Also how could they ;_;


Run a function after component has mounted...

Is there a way to run a custom function after the <TextareaAutosize /> component has mounted?

Not rly - you can check the source code here. What's ur use case for such a functionality?

Thanks for getintg back. Mananged to solve my use case using the built-in 'on height change' handler.


Added prettier dark icon.

Added the prettier dark icon from https://github.com/ianstormtaylor/prettier-logo as it looks like these designs will be adopted based on the version 1 announcement (http://jlongster.com/prettier-1.0) and community discussion (https://github.com/prettier/prettier/issues/757).
This is how it looks in the extensions sidebar:

Great!
I've also seen 2 variations on the logo. Seems we agree on which will be the official one.
But I'm not sure we can use it.
The repository where you have taken it from has no license.

Ah, I missed that!
Opened an issue (https://github.com/ianstormtaylor/prettier-logo/issues/2) and will update here once it's been added.

Can you also put a screenshot with the light theme ?

Sure, it looks like this:

Which do you prefer?

Sorry I meant vscode with a light theme not the icon.
Between both I prefer the dark icon.

Oops, sorry! Here you go:

The background isn't transparent?
https://github.com/ianstormtaylor/prettier-logo/blob/master/images/prettier-icon-dark.png

Oh, I took the dark avatar one and cropped it (https://github.com/ianstormtaylor/prettier-logo/blob/master/images/prettier-avatar-dark.
Updated the branch, this is how they look now.

Looks good to me.
I think @esbenp should approve this choice.
And missing license.

Prettier is now using the icon, and Prettier is MIT licensed, I reckon that means you're good to go.

I'm sorry, I've done it with prettier's icon. One from prettier/prettier (MIT, official) https://github.com/prettier/prettier/blob/eccb17495aeb413c1c19644bbb4a17d294012dfd/docs/icon.png

I would have been happy to do this. You should give your contributors a chance to complete their PRs before doing it yourself in the future.

You are right. Was a little too enthusiastic after having found a workaround.
I'll force push master without my changes !

Done :-)
Sorry for those who would have taken HEAD in the meantime!

So. Could you please update the image to https://github.com/prettier/prettier/blob/eccb17495aeb413c1c19644bbb4a17d294012dfd/docs/icon.png
And resize it to 128x128 (50%).
I don't think we should make it transparent. It doesn't feel great on white background. (And it's official)

Awesome, thanks a lot for doing that. I've updated with the requested image :)

Thanks!


Allow Avatar as a Timeline.Point

[x] I have searched the Issues to see if this bug has already been reported
[x] I have tested the latest version

Summary + Context
I'm trying to make a feed of user posts. I'd like the Timeline.Point to be an Avatar that shows the user's profile picture. It'd also be nice to be able to put text to the right of the Avatar, like the username but that seems way easier to hack with Timeline.Time

@codercody is it supported by default flowbite library?

In the activity log section of the timeline component on the flowbite website there's an example of what I had in mind - the avatar in the spot of the Timeline.Point

OK, so... the request is to add the support to Timeline.Point to support iconRender function, so you can use Avatar or any other component as inner content of the Timeline.Point.

Hello, Is anyone working on this? Id like to give this a shot

Hello, Is anyone working on this? Id like to give this a shot

Sure, go ahead

Hello, So sorry to hassle you with me but I got some free time to give this a shot today and I keep running into a lot of issues. The main one seems to be a client/server components issue where it says, for example 'Accordion' imports useRef which means it has to be a client component. This is an easy fix but I think I am doing something wrong. This is in .mjs files when i try to run the nextJS App. I followed the steps in the documentation for contributing so please let me know if theres anything im missing misunderstanding on how to get everything to run properly locally. Thank you in advance

Hello, So sorry to hassle you with me but I got some free time to give this a shot today and I keep running into a lot of issues. The main one seems to be a client/server components issue where it says, for example 'Accordion' imports useRef which means it has to be a client component. This is an easy fix but I think I am doing something wrong. This is in .mjs files when i try to run the nextJS App. I followed the steps in the documentation for contributing so please let me know if theres anything im missing misunderstanding on how to get everything to run properly locally. Thank you in advance. Edit: To be clear I did get it working by just using use client at root of the tree so what Im really asking is is this right and then I revert it back before pushing or am I doing something off? any pointers are appreciated as well. Thank you again

Best way to work on the UI library (flowbite-react) is by starting the storybook app (apps/storybook) since it watches the files in the packages/ui.
All the management should be done from the root package.json which contains multiple scripts, but to start storybook u must run bun dev:storybook, a new browser tab will be opened after with the stories.
Note: the docs (apps/web) consume the UI library (packages/ui) just like any other npm package, to ensure correct functionality both in client and server env, thats why when u want to go to the source of a component, it sends u to either the .d.ts file or the .mjs file, since thats the build output of flowbite-react (UI package).
I'll find some time to enrich the docs contributing page in the close future for easier onboarding and better DX.

Hi everyone 👋, I found both @SutuSebastian'  @rluders' suggestions very helpful, and I’d love to work on this if no one else has claimed it yet.

@adel-gu I haven't noticed anyone working on this atm


Can't access elements in detox after react-native firstly load

Describe the bug
I'm running detox on app that started from native app and now working as a combination of react native app and native code.
I'm using iOS simulator to check the test.
My app is starting in the iOS native side, and the detox tests running on it and get the elements(all works fine), but as we go with the flow of the app, when we firstly load the bundle(index.js- for running the react-native side), we can't access the elements(in the native side) with detox, and the tests failed.
To Reproduce

start the app and run it on iOS native side
Go with the flow, until you get the place you integrate with react native code.
The app will stop listen to detox tests

describe('Previews', () => {

  beforeAll(async () => {
      await device.launchApp({ permissions: {notifications: 'YES',location:'always'}});
    });

     it('should tap on acceptButton', async () => {
       await element(by.id('acceptButton')).tap();
     });

     it('should tap on enable Notifications button', async () => {
       await element(by.id('enableNotificationsButton')).tap();
     });

     // Here the bundle of the react-native loading, and the detox can't find 'editButton'
     // 'editButton' it's still in the native side
    it('should click on editButton',  async() => {
       await element(by.id('editButton')).toBeVisible();
     });

});

Expected behavior
Will run the tests as expected and don't stop them.
ERROR
detox[73960] WARN:  [Client.js/PENDING_REQUESTS] App has not responded to the network requests below: (id = 6) invoke: {"type":"action","action":"tap","predicate":{"type":"id","value":"continueFaceIdButton"}} Unresponded network requests might result in timeout errors in Detox tests.

Environment :

Detox:"^17.4.4"
React Native:"0.61.5"
Node: 14.8.0
Device: "Pixel_3a_XL_API_29"
OS: android
-jest-circus:"^26.0.1"

stackoverflow issue opens too
** https://stackoverflow.com/questions/63935855/cant-access-elements-in-detox-after-react-native-firstly-load

Your error doesn't match the id in the test you claim doesn't work.
Also, there is a template for a reason. Please follow it and provide the following info:

If you are experiencing a timeout in your test

[ ] I have followed the instructions under Lower-level Idling Resources Debug and am providing the log below:

@LeoNatan Thank you for the response, i don't know why but when i added this 'beforeAll', it cause opening another iOS simulator and on this simulator there is no problem when the bundle firstly load, and the tests worked as expected.

 beforeAll(async () => {
      await detox.init(undefined, { launchApp: false });
      await device.launchApp({ permissions: {notifications: 'YES',location:'always'}});
  })

If you have any clue i will be glad to know 🤔
Thanks.

This is not what I asked. Please read how to obtain the log in the link I provided. Closing as a question, as this is better suited for SO.


V1 - Update GuardianDb

Update GuardianDb to work with v1

https://github.com/ueberauth/guardian_db/pull/52
There didn't actually need to be an update to GuardianDb for 1.0. It just gets setup slightly differently. Yay for functions!


fix: setting oban attributes

[ ] Should I prefix everything with "oban.*" for these attributes?

Should I prefix everything with "oban.*" for these attributes thou? I prefer to do

You can add that to this. Might as well get it done since we're touching it.

@bryannaegele done!

@tsloughter @bryannaegele is there anything I need to do to get this to the finish line?

@bryannaegele done, hopefully I understood the assignment

@joaothallis anything else?
I am wondering how to get this to the finish line

Should I prefix everything with "oban.*" for these attributes?

Reading the spec it is not specifying that other attributes should start with messasing. But the attributes that are in the spec they can not have the prefix oban.

Added Unit Tests, let me know!

@bryannaegele ready to go

You're going to kill me but would you mind poking at this test that started failing with newer Oban after I bumped it?
https://github.com/open-telemetry/opentelemetry-erlang-contrib/issues/287

@bryannaegele https://github.com/sorentwo/oban/pull/1035 it needs to be fixed in the Oban side, it was removed by mistake

Awesome! Thanks for following up.


KONICA_MINOLTA_C658Series doesn't work

"Add printer" finds the printer KONICA_MINOLTA_C658Series.
The actual model is C458.
On Konica website I found the corresponding to C658Series file KOC759U.ppd.
cups accepted it and installed the printer:
Description: KONICA MINOLTA C658Series
Location: KONICA-C458
Driver: KONICA MINOLTA C759SeriesPS(P) (color)
Connection: lpd://KMBA5BCB.TheLanName.local/print
Defaults: job-sheets={job_sheets_default} media=na_letter_8.5x11in
sides=one-sided

However, "Print test page" fails:
Print Test Page KONICA_MINOLTA_C658Series
Error
Unable to print test page:
No such file or directory

This printer appears in the printer list in browsers, but everything that is printed there disappears.
Print jobs aren't shown in the list of jobs.
cups-2.2.8 installed on FreeBSD 11.2 from the package.

Well, the "no such file or directory" error is probably a missing cups-filters file/package.
The C458 is also AirPrint/IPP and can be used directly with the IPP Everywhere driver and device URI "ipp://hostname/ipp/print".

Is cups-filters supposed to be always installed along with cups?

Yes, or its equivalent. CUPS doesn't include the necessary PDF and raster generation filters (hasn't for about 10 years now...), which are system-specific. On macOS we have something called "CoreGraphics" that provides this, but for open source we rely on the cups-filters project (which contains the original CUPS 1.0 filters plus a lot of newer stuff that uses Ghostscript, MuPDF, Poppler, and other software as needed/available.

Why isn't /usr/local/share/cups/data/testprint a part of cups?

After cups-filters is installed, all jobs are:

Processing - "Unable to locate printer "KMBA5BCB.TheLanName.local"."

They don't move anywhere.

Because there is no filter to convert the testprint file in the core sources and because the test file is different depending on the OS you use.


Interpolated strings are causing issues with IE 11

Since the code base has interpolated strings throughout, when bundling with Webpack/Nextjs we can't load the client bundle in IE 11 or browsers that do not support interpolated strings. This occurs because Webpack does not compile modules installed using node_modules it just bundles them.
Related https://github.com/feathersjs/errors/pull/117

How to use Feathers on the client is documented in the client API chapter. You have to either

Configure your module loader to include modules in the @feathersjs namespace for transpilation or
Use the already pre-transpiled @feathersjs/client packages which is compatible with IE10+ (as long as ES6 polyfills like core-js are included)


JetBrains: LLM name shows "Default" when opening older Chat and restarting the editor fixes the issue and showing "Claude 2.0 by Anthropic".

Installation Information
Plugin version: 5.3.3914-nightly
IDE version: IC-233.14475.28
Describe the bug
Steps to reproduce:

Install Cody plugin v5.3.1544-nightly in your JetBrains IntelliJ IDEA editor
Delete the "RunOnceActivity.CodyHistoryLlmMigration": "true" from workspace.xml
Create multiple chats with different LLM
having THESE changes run the same project
Upgrade to v5.3.3914-nightly and open Cody
Go to "Chat History" and open older chats i.e. last week

Observed behavior:
Opening a chat shows LLM name as "Default" in LLM dropdown.
Addition checks:
Close the editor and relaunch it and check these chats from step-6. It will now show "Claude 2.0 by Anthropic".
Expected behavior
It should show "Claude 2.0 by Anthropic" without requiring restart.
Additional context
Video link:
https://drive.google.com/file/d/1n9TqgRB4QuzCijhWGa3lR6Zz1edwUZoJ/view?usp=drive_link

Hi @jay-fibi 👋 in this case the testing seems to be a bit disorganized - what I think happened here is that you see "Default" for some chat that has been created and and badly migrated already (so we cannot resolve the model name for it anymore).
Note that for all the chats created in the testing session the name is correct - that is important and enough.

I am going to try to explain you what happens b/w versions:
v5.3.1544-nightly - in this version we store the LLM as it's display name e.g. "Claude 2.0 by Anthropic".
We noticed that this approach is poor as we need the model "key" (the value that we can use in the backend). Hence, we decided to introduce a new persistence for LLMs.
The new approach persists three values: model (which is the key - useful for the backend), provider (e.g. "Anthropic" or "OpenAI", etc), and title (e.g. "Claude 2.0" or "GPT-4 Turbo Preview", etc).
Since we change the persistence the way we persists LLMs we must migrate the old values.
The new persistence and the migration has been introduced in 5.3.2999-nightly. The migration had two issues
1⃣ It was removing the old field in persistence (the display name field).
2⃣ It was incorrectly handling two models (one for enterprise and one for pro)
These two created a scenario when we were not able to migrate the llm persistence but removed the old field anyway.
Both these issues are fixed now by https://github.com/sourcegraph/jetbrains/pull/990 and released in 5.3.3914-nightly.

tl'dr

The chat that gives you "Default" now was created in v5.3.1544-nightly.
Then you run 5.3.2999-nightly - the migration was performed and due to the bugged behavior it removed LLM from persistence.
5.3.3914-nightly cannot fix that chat anymore since the former field in persistence has been removed by ☝

I think we can close this issue. Users should not experience "Unknown" or "Default" since we have not released 5.3.2999 (the version with the broken migration) as the RELEASE (aka stable channel).

@mkondratek Thanks for providing details. Yes, feel free to close this issue.


Colors are not working on bar chart

How to reproduce
@Composable
fun ChartView() {
  val now = Calendar.getInstance()
  val dates = mutableListOf<Long>()
  for(i in 0..7) {
    now.add(Calendar.DATE, -i)
    dates.add(now.time.time)
    now.add(Calendar.DATE, i)
  }
  val chartData = mutableListOf<ChartData>()
  val goal = 2500
  dates.reversed().forEach {
    val tracked = (1000..3000).random()
    chartData.add(
      ChartData(
        x = it,
        y = tracked.toFloat(),
        formattedValue = "$tracked Steps",
        goalMet = tracked >= goal
      )
    )
  }
  BarChart(data = chartData, metColor = Color.Green, unmetColor = Color.Gray, goal = goal)
}

@Composable
fun BarChart(data: List<ChartData>, metColor: Color, unmetColor: Color, goal: Int = 2500) {
  val chartMarkerFormatter = SimpleDateFormat("EEE, MMM, d", Locale.US)
  val chartXLabelFormatter = SimpleDateFormat("EEE", Locale.US)
  val colors = mutableListOf<Color>()
  val xVals = mutableListOf<Float>()
  val yVals = mutableListOf<Float>()
  val formattedValues = mutableMapOf<Double, String>()
  val dates = mutableMapOf<Double, String>()
  val xLabels = mutablMapOf<Double, String>()
  data.forEachIndexed { index, chartData ->
    xVals.add(index.toFloat())
    yVals.add(chartData.y)
    colors.add(if (chartData.goalMet) metColor else unmetColor)
    formattedValues[index.toDouble()] = chartData.formattedValue
    dates[index.toDouble()] = chartMarkerFormatter.format(chartData.x)
    xLabels[index.toDouble()] = chartXLabelFormatter.format(chartData.x)
  }

  val producer = remember {
    CartesianChartModelProducer()
  }
  LaunchedEffect(Unit) {
    withContext(Dispatchers.Default) {
      producer.runTransaction {
        columnSeries { series(x = xVals.toList(), y = yVals.toList()) }
      }
    }
  }

  val verticalAxisFormatter = CartesianValueFormatter { y, _, _ ->
    y.toInt().toString()
  }
  val bottomAxisFormatter = CartesianValueFormatter { x, _, _ ->
    if(xLabels[x] != null) {
      xLabels[x]!!
    } else {
      x.toString()
    }
  }
  val markerFormatter = CartesianMarkerValueFormatter { _, t ->
    if(formattedValues[t[0].x] != null) {
      "${dates[t[0].x]} \n ${values[t[0].x]!!}"
    } else {
      "${t[0].x}"
    }
  }
  CartesianChartHost(
    chart = rememberCartesianChart(
      rememberColumnCartesianLayer(
        ColumnCartesianLayer.ColumnProvider.series(
          colors.map { color ->
            rememberLineComponent(
              color = color,
              shape = Shape.rounded(topLeftPercent = 25, topRightPercent = 25),
              thickness = 8.dp
            )
         }
      )
    ),
    startAxis = rememberStartAxis(
      valueFormatter = verticalAxisFormatter,
      itemPlacer = VerticalAxis.ItemPlacer.count(cont = { yVals.size })
    ),
    bottomAxis = rememberBottomAxis(
      valueFormatter = bottomAxisFormatter,
      itemPlacer = remember {
        HorizontalAxis.ItemPlacer.default(spacing = 1, addExtremeLabelPadding = true)
      },
      tick = null,
      guideline = null
    ),
    marker = rememberMarker(formatter = markerFormatter),
    horizontalLayout = HorizontalLayout.fullWidth(),
    decoration = listOf(rememberComposeHorizontalLine(goal)
  ),
  modelProducer = producer,
  modifier = Modifier.fillMaxWidth().padding(start = 8.dp, end = 8.dp)
)
}

data class ChartData(
    val x: Long,
    val y: Float,
    val formattedValue: String,
    val goalMet: Boolean
)

Observed behavior
All bars in the chart are either gray or green depending on whether or not the first item has the goal met or not. If the first item has not met the goal, then all bars are gray, if the first item has met the goal, then all bars are green. It does not color each bar individually.
Expected behavior
Each bar in the chart should be the correct color that is assigned when setting up the ColumnCartesianLayer.ColumnProvider.series
Vico version(s)
2.0.0-alpha.28
Android version(s)
14
Additional information
I can supply screenshots if needed and I have also added logging into the loop when creating the series in the chart and it does show the correct color being assigned to the series, just during display you only see one color bar, regardless of whether or not the goal was met.

Hello @danwguy. This is working as expected. As stated in the documentation, ColumnProvider.series uses one LineComponent per series. Your chart has one series. To achieve the desired result, you should create a suitable ColumnProvider.
I'd also suggest reading about the following:

Asynchrony and extras — see here and here.
Expensive calculations in Compose.
Moving processing off the main thread.

Your code includes multiple issues related to these topics, which may lead to poor performance and incorrect behavior.


Styling: Improve the styling of job posting form

For the languages and tools create a tag list component, where user can search and hit enter to select a tag from the list.
Improve the styling of the image uploading state, add error, loading and success states to it
Add a job posted success or failed state of the form.

@hariscs
Assign this issue to me..
I will do it for my learning

What is the route of this screen...I am on this route "http://localhost:3002/post-job"

Here I Got this.. and the Image You shared is different
@hariscs

What is the route of this screen...I am on this route "http://localhost:3002/post-job"

Here I Got this.. and the Image You shared is different
@hariscs

Sync your forked repository with the main @MuaviyaImran

Yes, It worked


Question: How to use this in context of an http4s app wish FS2

Hi there! Apologies for asking a question as an issue, but I see that discussions aren't enabled on your repo.
Firstly, thanks for providing this library, so far, it looks great, and I hope it will be able to integrate into a new app I'm writing.
I've spun up a small sample app with http4s, but I've run into a wall using it when it isn't an IOApp.Simple application. I am using it in the context of F in the following pseudocode example:
def stream[F[_] : Async]: Stream[F, Nothing] = {
    for {
      mongoClient: MongoClient[F] <- Stream.resource(MongoClient.fromConnectionString[F]("mongodb://localhost:27017"))
      versionsAlg = VersionRegistry.impl[F](mongoClient)
      ...
      httpApp = ???
      exitCode <- Stream.resource(
        EmberServerBuilder.default[F]
          .withHost(ipv4"<IP_ADDRESS>")
          .withPort(port"8080")
          .withHttpApp(finalHttpApp)
          .build >>
          Resource.eval(Async[F].never)
      )
    } yield (exitCode)
  }.drain

At this point, there is no problem as I now have MongoClient[F]. The problem comes inside my VersionRegistry.impl[F]:
  def impl[F[_] : Concurrent](M: MongoClient[F]): VersionRegistry[F] = new VersionRegistry[F] :
    def get(beta: String): F[VersionRegistry.Versions] =
      val db: F[MongoDatabase[F]] = M.getDatabase("sdkman")

The problem I'm now facing is that I'm not able to flatMap over F[MongoDatabase[F]] as this is merely an F, not an IO. I think the Mongo client wants you to get a new database instance on every request; therefore, I'm re-using the singleton client at the above level.
 Still, I'm just not seeing it right now :smile: Once I get the answer, I'd be happy to contribute a PR to your docs to clarify this for future travellers who want to integrate this into an http4s app.
I've also thrown my sample code project up in a repository for you to check out and play with.
I hope you can shed some light, thanks!

Hi @Kirill5k, thanks so much for getting back to me and pointing me in the right direction. I managed to get the whole thing working as you suggested (I've pushed my changes to the same repo in case you were curious). One thing I couldn't get working was initialisation of the codec using the mongodriver marcros, but I've just gone for doing a manual transformation from bson to case classes which works fine.
Thanks again!


[epic] Improve Frictionless Data website [Jan 2019 ongoing]

Improving the Frictionless Data website and overall "developer experience" for the project as a whole.
Tasks

[ ] Get list of properties (i.e. something that is on web and gets traffic) and associated info including traffic stats #376

Areas for Improvements
General UX

[ ] No way to link to sections of specs (no anchor option - there was in the old version!). This is really important. I constantly want to drop a link to someone and having to paste a title of a section is annoying.
[ ] Magical Table of contents on left is very annoying (see specs section as an example)
[ ] Top of page navbar does not have the main links for users (stuff hidden in an accordion)
[ ] No "edit this page" links (at least on pages like patterns)
[ ] can we get a proper nave menu not a drop-down one. I want to see at a glance the key things i can find or do.

Theme

[ ] Black theme has a poor feel IMO. Old theme was quite nice and had an "open", "breathing" sense to it (it even got copied!)
[ ] Dubious about the logo
[ ] Font is tough to read (very small) and ugly - old specs site was more readable

Front page

[ ] Tagline is very weak (compared to before)
[ ] Main text is about watching the video rather than what we are about
[ ] Main call to action is "play" video button which could just be part of video!

[ ] video does not show up on mobile

[ ] remove the read more / read less button about the vision - just show it all so that i don’t have to click on something to read it all and it is all visible at first glance (when i see read more i think i’m going to go to a different page).

Core tools / libs by language and their status and compliance
Sample table layout below ...

_
Python
Javascript

Table Schema
✓ (v1.0) Link
✓

Data Package
✓ (v1.0) Link

Sites as they were before rework and merge
Main site: frictionlessdata.io
https://web.archive.org/web/20170927073213/https://frictionlessdata.io/

Very simple, very clear front page (could probably have had a bit more on it)
Tagline: Lightweight standards and tooling to make it effortless to get, share, and validate data.

Compare with today: "Processing, publication, access, insight. The future of data is frictionless." which sounds weird, unclear and like marketing BS ...

Design is clean and light ...

New site:

Specs: specs.frictionlessdata.io
https://web.archive.org/web/20171029113319/http://specs.frictionlessdata.io/

Plain, simple, does what it says on the tin ...
Links to Pre v1 (useful to some)
Clear nav links
Clear links to specs on left for ease of navigation

Specific Areas
Tools
https://frictionlessdata.io/software/ cached screengrad
Old site: https://web.archive.org/web/20171012103437/http://frictionlessdata.io/tools/

Current site uses an tiling setup for images for a listing of code libraries!!! Terrible UX ...
Also now called software rather than tools (but includes things that aren't software e.g. online services ...)

DUPLICATE. This is now merged into a major website improvement effort covered in https://github.com/frictionlessdata/project/projects/2


Flutter nested navigators - please provide an official working example of Flutter nested navigators between various Scaffold pages

Hi Flutter team,
I was researching nested navigators, but there is nowhere a working example with Scaffolds. Could we have one in addition to the snippet posted here?
https://api.flutter.dev/flutter/widgets/Navigator-class.html#nesting-navigators
I am seeing this question all over the place:

https://stackoverflow.com/questions/60515525/bottom-navigation-bar-with-sub-navigators-for-each-tab
https://stackoverflow.com/questions/48098085/nesting-routes-with-flutter
https://stackoverflow.com/questions/55716230/how-to-do-nested-navigation-in-flutter
https://stackoverflow.com/questions/55213680/in-a-nested-navigator-structure-of-flutter-how-do-you-get-the-a-specific-naviga
https://stackoverflow.com/questions/56890424/use-nested-navigator-with-willpopscope-in-flutter

Even this attempt has lots of issues filed: https://github.com/bizz84/nested-navigation-demo-flutter

Steps to Reproduce

...
...
...

Logs

This issue has indeed come up frequently, for example: https://github.com/flutter/flutter/issues/18740#issuecomment-508134439.
CC @goderbauer

Thanks for the link @HansMuller  , I  read the whole thing, and It sounds like all one has to do is switch to the CupertinoTabBar to have nested navigators working fully. I dont really care what it is called (Cupertino, Material or whatever) as long as it works on all platforms. I am reading up on the Flutter CupertinoTabBar now :) I am noticing the official docs are being worked on too with Navigator 2.0 https://flutter.dev/docs/development/ui/navigation I was hoping though I dont have to research this stuff for days with many outdated paths.  The Material design language was created for any platform, not just Android. When you write a Material app in Flutter, it has the Material look and feel on all devices, even iOS. If you want your app to look like a standard iOS-styled app, then you would use the Cupertino library.
You can technically run a Cupertino app on either Android or iOS, but (due to licensing issues) Cupertino won't have the correct fonts on Android. For this reason, use an iOS-specific device when writing a Cupertino app."
Will try anyway. Wonder what "Cupertino won't have the correct fonts on Android" means though.

Ok, looks like I found finally sg that looks promising! The Navigator  class is pretty cool. Hail Mr Pepe :P https://medium.com/@Mr_Pepe/nested-navigation-with-a-bottom-navigation-bar-using-flutter-d3c5086fbcdc Although I see a comment that says Hero does not work here. I guess we cannot have everything,

The official latest nested navigator does not seem to work like this for me
https://gist.github.com/johnpryan/bbca91e23bbb4d39247fa922533be7c9

Just tested the "official" example at https://api.flutter.dev/flutter/widgets/Navigator-class.html
It is not functional after a copy and paste...
The Homepage does not do anything
class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return DefaultTextStyle(
      style: Theme.of(context).textTheme.headline4,
      child: Container(
        color: Colors.white,
        alignment: Alignment.center,
        child: Text('Home Page'),
      ),
    );
  }
}

+1 for the official real world example, i came from React Native dev and it cost me several days and still can not sastify with flutter navigator. There is something i want to create in my project:
Root Stack Navigator >> Switch Navigator (login flow) >> Bottom Tab Navigator >> Stack Navigator (1 tab is 1 stack navigator).
And i just want every screen in my project can easy navigate to another screen (or tab, or open drawer...) like Navigator.pushNamed('/detail') , i don't want to create my route when i push it up.
I saw someone make it with Provider in root, but i don't think it is good idea.
If someone can make the sample it will be great. Thanks.

Found a working official example it seems
Nav 2 is coming as per https://flutter.dev/docs/development/ui/navigation
https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade


[Request]: Remove Reachability implementation from connectivity_plus ios & macos (darwin)

Plugin
connectivity_plus
Use case
The plugin code contains two implementations, one using NWPathManager and one using a 3rd party library Reachability.
The plugin will always use NWPathManager on iOS 12 and macOS 10.14.
At the same time, the minimum supported iOS version is 12, and the minimum supported macOS version is 10.14. So the Reachability implementation would never be used.
Proposal
Remove the Reachability implementation, cleanup the dependency too and simplify the code to always use the NWPathManager.

Hi, Im running into error with Reachability running on ios simulator. How can I remove the Reachability implementation? Im using flutter

@ronyquail please open a new bug report if you are having issues. Also please read the readme file of the plugin, which has information regarding simulators.


More unique footnote reference

Hey,
Redcarpet does not differentiate a footnote reference enough:

In the first post, the first footnote has the id "1".
In the second post, the first footnote has also the id "1". If I click on this one, the page scroll to the first post's first footnote anchor. Indeed, both footnotes have the same "unique" reference (which confuses the browser in my case).

I may have missed a configuration option somewhere (I'm using redcarpet with jekyll). A MD5 of the footnote body instead of a number should prevent this behavior and be enough for most cases I think.

is this a single markdown document or a combination of documents?

It's a combination.

Hi there!
I will close it as a duplicate of #393 ; this would be cool to find a good solution for this issue, this seems more common that what I would expect. Thanks for reporting anyway @solarsailer ! :-)


Update build+publish process and use bundled packages

Signed-off-by: Jason Tang<EMAIL_ADDRESS>Description of your changes
Updates the build machinery to use bundled packages, as well as publish to crossplane-contrib OCI repos in both DockerHub and Upbound registries.
xref https://github.com/crossplane/crossplane/issues/3350
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested
Build
➜  provider-styra git:(main) ✗ VERSION=v0.2.1 GO=go1.16.3 make build.all
15:54:11 [ .. ] verify go modules dependencies have expected content
all modules verified
15:54:13 [ OK ] go modules dependencies verified
15:54:14 [ .. ] go build linux_amd64
15:54:16 [ OK ] go build linux_amd64
15:54:17 [ .. ] go build linux_arm64
15:54:19 [ OK ] go build linux_arm64
15:54:20 [ .. ] docker build build-087ed814/provider-styra-amd64
[+] Building 1.4s (7/7) FINISHED
 => [internal] load build definition from Dockerfile                                            0.0s
 => => transferring dockerfile: 304B                                                            0.0s
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load metadata for gcr.io/distroless/static@sha256:1f580b0a1922c3e54ae15b0758b57  0.3s
 => [internal] load build context                                                               0.8s
 => => transferring context: 44.26MB                                                            0.8s
 => CACHED [1/2] FROM gcr.io/distroless/static@sha256:1f580b0a1922c3e54ae15b0758b5747b260bd99d  0.0s
 => [2/2] ADD bin/linux_amd64/provider /usr/local/bin/crossplane-styra-provider                 0.1s
 => exporting to image                                                                          0.1s
 => => exporting layers                                                                         0.1s
 => => writing image sha256:8f1bd144dedce535b523d22cec245f6b6b031a5224782b03dd496e5762b7da39    0.0s
 => => naming to docker.io/build-087ed814/provider-styra-amd64                                  0.0s
15:54:22 [ OK ] docker build build-087ed814/provider-styra-amd64
15:54:22 [ .. ] Building package provider-styra-v0.2.1.xpkg for linux_amd64
xpkg saved to /Users/jasontang/workspace/provider-styra/_output/xpkg/linux_amd64/provider-styra-v0.2.1.xpkg
15:54:24 [ OK ] Built package provider-styra-v0.2.1.xpkg for linux_amd64
15:54:24 [ .. ] docker build build-087ed814/provider-styra-arm64
[+] Building 0.9s (7/7) FINISHED
 => [internal] load build definition from Dockerfile                                            0.0s
 => => transferring dockerfile: 304B                                                            0.0s
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load metadata for gcr.io/distroless/static@sha256:1f580b0a1922c3e54ae15b0758b57  0.0s
 => CACHED [1/2] FROM gcr.io/distroless/static@sha256:1f580b0a1922c3e54ae15b0758b5747b260bd99d  0.0s
 => [internal] load build context                                                               0.7s
 => => transferring context: 40.97MB                                                            0.7s
 => [2/2] ADD bin/linux_arm64/provider /usr/local/bin/crossplane-styra-provider                 0.1s
 => exporting to image                                                                          0.1s
 => => exporting layers                                                                         0.1s
 => => writing image sha256:e08add8336b478690377d0cfe598c9e92d1bdad03f5f754f16a43140cdd6e1c4    0.0s
 => => naming to docker.io/build-087ed814/provider-styra-arm64                                  0.0s
15:54:26 [ OK ] docker build build-087ed814/provider-styra-arm64
15:54:26 [ .. ] Building package provider-styra-v0.2.1.xpkg for linux_arm64
xpkg saved to /Users/jasontang/workspace/provider-styra/_output/xpkg/linux_arm64/provider-styra-v0.2.1.xpkg
15:54:28 [ OK ] Built package provider-styra-v0.2.1.xpkg for linux_arm64

Publish
➜  provider-styra git:(main) ✗ VERSION=v0.2.1 GO=go1.16.3 make -j2 publish
15:54:54 [ .. ] Pushing package xpkg.upbound.io/jastang/provider-styra:v0.2.1
15:54:54 [ .. ] Skipping image publish for docker.io/provider-styra:v0.2.1
Publish is deferred to xpkg machinery
15:54:54 [ OK ] Image publish skipped for docker.io/provider-styra:v0.2.1
xpkg pushed to xpkg.upbound.io/jastang/provider-styra:v0.2.1
15:55:08 [ OK ] Pushed package xpkg.upbound.io/jastang/provider-styra:v0.2.1

Check
➜  provider-styra git:(jastang-bundled-packages-and-ci) crane manifest xpkg.upbound.io/jastang/provider-styra:v0.2.1 | jq .
{
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "size": 1005,
      "digest": "sha256:0443b3d16c99fcb9b461c411281dd2278b6a7c57aae2ea46c0c4d3b685477ca5",
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "size": 1005,
      "digest": "sha256:ee5c80b04f1cc797469e3c451abe520d7f81b52e72a9e5eecbbb0cc3c864a10d",
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    }
  ]
}

TODO:
confirm dockerhub org crossplane-contrib is ready
configure the Actions secrets for Upbound before running CI

@jastang looks like we'll need to bring in similar changes to https://github.com/crossplane-contrib/provider-aws/pull/1460/files#diff-b051933e1c5ed7533648af4517ede8d50df55b68a56c44e6094d3019595abcf2 here.

@jastang looks like it might be 👍🏻 I feel good about merging here, but let's wait until actions are back online so we can ensure publish works


Proposition: Support a more open Containerfile in addition to Dockerfile

What is the problem you're trying to solve
nerdctl build expects Dockerfile by default and ignores Containerfile.
Describe the solution you'd like
As Dockerfile has evolved from a Docker-specific technology to a general purpose container image build format, it would be appropriate to also support more general naming, like e.g. buildah has already done.
Also, while at it, it might also be good to drop docker from code base naming unless particular logic is actually docker-specific.
Additional context
Ref: https://github.com/containerd/nerdctl/blob/master/pkg/buildkitutil/buildkitutil.go#L43

We are using buildkitd under the hood to build docker image so this should be addressed to buildkit before https://github.com/moby/buildkit

We are using buildkitd under the hood to build docker image so this should be addressed to buildkit before https://github.com/moby/buildkit. I will close this issue for the moment feel free to add comments later :)

I don't think buildkit makes assumptions regarding name of the file, so the necessary change is only at nerdctl side.

Can I work on this?
Thanks

Hi @Kitanotori
Why wont simplify providing -f Containerfile work?
When a user does not specify a file, should the behavior be to:

use Dockerfile only
2.use Containerfile Only?
look for Dockerfile first (if it is present use it); then  use Containerfile later?
look for Containerfile first(if it is present use); then use Dockerfile?
What should we do when both are present (in the weird edge case); should we prefer Dockerfile / Containerfile

@manugupt1 I'm not proposing removing Dockerfile; I'm proposing to support also Containerfile. Ideally first check Containerfile and if not found then Dockerfile. But the order doesn't really matter, as it is unlikely both exist at the same time.

Thanks!
I think we should keep Dockerfile as default and if it does not exist Containerfile should be checked for. THis is because moving from Dockerfile to Containerfile is a breaking change.
@AkihiroSuda @fahedouch @junnplus can you tell me which approach would you prefer? thanks!

should keep Dockerfile as default and if it does not exist Containerfile should be checked for

SGTM

fixed by https://github.com/containerd/nerdctl/pull/1219


net/http: Read deadline and hijack conflict ? (regression in 1.8)

What version of Go are you using (go version)?
go version go1.8.3 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/vadmeste/work/gospace"
GORACE=""
GOROOT="/home/vadmeste/work/go"
GOTOOLDIR="/home/vadmeste/work/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build477756641=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?

I ran the following http server: https://play.golang.org/p/AzKdcy-k05 in my local machine
curl http://localhost:1234 in a separate terminal

What did you expect to see?
curl http://localhost:1234 returns text immediately
What did you see instead?
curl http://localhost:1234 returns text after 5 secondes
More explanation:
The code represents a simple http server, with a customized net.Conn which set deadline on Read().
The http server has a handler which hijacks the connection and returns some text. However, running curl http://localhost:1234 doesn't return only after 5 seconds (which is the read timeout value).
** The code works with go 1.7.6 but doesn't with go 1.8.3 **
It looks like this commit causes the problem: https://github.com/golang/go/commit/faf882d1d427e8c8a9a1be00d8ddcab81d1e848e

Go 1.9rc1 is due out imminently, which means the time to report issues with Go 1.8 was about 7-9 months ago. I suggest you try out Go 1.9 and report any bugs you find before it's too late for Go 1.9.
Go 1.8 documented:
https://golang.org/doc/go1.8#net_http

The Context returned by Request.Context is canceled if the underlying net.Conn closes. For instance, if the user closes their browser in the middle of a slow request, the Handler can now detect that the user is gone. This complements the existing CloseNotifier support. This functionality requires that the underlying net.Conn implements recently clarified interface documentation.

And https://golang.org/doc/go1.8#net

The Conn documentation has been updated to clarify expectations of an interface implementation. Updates in the net/http packages depend on implementations obeying the documentation.
Updating: implementations of the Conn interface should verify they implement the documented semantics. The golang.org/x/net/nettest package will exercise a Conn and validate it behaves properly.

But your net.Conn implementation looks fine, so I think this is actually a bug in net/http, but it's too late to fix for Go 1.9, so I'l target this at Go 1.10.

But this net.Conn implementation in its Read method unconditionally calls SetReadDeadline itself, extending it from aLongTimeAgo (1 second after Unix time began) to 5 seconds from current time.
As a workaround, you could make your net.Conn type implement SetReadDeadline itself and track whether it's in aLongTimeAgo mode (I'd just check for any deadline before current time) and if so, don't do your own extensions.
I'll have to think about how to fix this in Go. Too bad we don't have context support in io.Reader. The the Hijack could've just canceled the context of the background 1 byte read, not affecting other deadlines.
/cc @tombergan

@bradfitz, thanks. It also works for me. I appreciate you suggesting the workaround.

@tombergan Could you take a look at the CL?

Not convinced this is a bug in net/http. Hijack is not the only code being broken by this Conn implementation. Conn clients also expect that:
conn.SetReadDeadline(time.Now().Add(30*time.Second))
readHeader(conn)

will not read for more than 30 seconds. But this Conn implementation keeps bumping the deadline forward on every read, so as long as the header is coming in 1 byte every 4.9s, the readHeader could go on forever.
If a Conn.Read is going to change the timeout, presumably to keep Read from blocking for too long, it should still use the min of whatever timeout it wants to impose and any previously-set deadline.
I would be in favor of simply closing this bug.
Moving to Go 1.11 in any event but feel free to close, @tombergan or @bradfitz, if you agree with the rationale here.

Agreed, will close. We've gone two releases so far with the Conn requirements spelled out in docs and net/http strictly depending on, and we've had minimum fallout, and most custom Conns have simply fixed their implementations given the new docs.


Match gridsearch masked array approach

Passing in a list of dicts for the parameter space resulted in cv_results_ not being able to be converted to a dataframe. This was due to some parameter fit runs not always using all parameters, such as the case with sklearn's SVM's different kernels.
Using list.extend only actually added things to a list in the cv_results dictionary when the field was there, and the lists often got out of sync with each other, making the resulting dictionary of lists unable to be consumed by pandas.DataFrame
This uses the approach found in sklearn.gridsearch of masked arrays, and keeping track of the index we're actively filling in the resulting dictionary of masked arrays to keep everything aligned.

Hello @austinwiltshire! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file skopt/searchcv.py:

Line 548:80: E501 line too long (98 > 79 characters)
Line 565:80: E501 line too long (118 > 79 characters)
Line 572:80: E501 line too long (113 > 79 characters)
Line 649:80: E501 line too long (100 > 79 characters)
Line 650:80: E501 line too long (99 > 79 characters)
Line 666:9: E303 too many blank lines (2)
Line 666:33: E261 at least two spaces before inline comment
Line 666:80: E501 line too long (91 > 79 characters)
Line 671:80: E501 line too long (95 > 79 characters)

Hi @austinwiltshire,
I modified quite a lot and fixed the CI. Could you merge the upstream changes and try to pass the checks? That would be great.

So I know it's been a while but I finally had some time to come back to this @holgern but I can't get master to build.
Running python 3.7.3 and getting many test failures with pytest using the instructions from the readme.md

It was a version issue, a few things don't work with the lastest sklearn or scipy it looks like. I am now on versions closer to the min supported and tests pass.
I'm trying to figure out why this didn't work in the first place - it looks like you have a test for this very situation, what issue did I find?

@holgern Got my sea legs again and figured things out. Let me know what you think.

I think the same things are failing on this branch as on master. At least the masked array bit I had a fix for elsewhere - remove reference to sklearn's version and use numpy.ma instead (which is all the latest versions of sklearn pointed to anyway).


this.container.use is not a function

Package version
Adonis Core Version: 5.1.4
Adonis5 Swagger Version: 1.2.1
Node.js and npm version
Node Version: 14.15.3
NPM Version: 6.14.9
Yarn Version: 1.22.10
Sample Code (to reproduce the issue)
Update adonis to the latest version
BONUS (a sample repo to reproduce the issue)
Just any newly created adonis App
TypeError: this.container.use is not a function

1 SwaggerProvider.initSwaggerRoutes
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/adonis5-swagger/build/providers/SwaggerProvider.js:14

2 SwaggerProvider.boot
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/adonis5-swagger/build/providers/SwaggerProvider.js:10

3 Registrar.boot
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/fold/build/src/Registrar/index.js:116

4 anonymous
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/application/build/src/Application.js:543

5 Profiler.profileAsync
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/profiler/build/src/Profiler/AbstractProfiler.js:20

6 Application.bootProviders
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/application/build/src/Application.js:541

7 HttpServer.wire
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:56

8 HttpServer.start
  /Users/devonte/Documents/GetCircuit/circuit-engine/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:146

I got it, I will check it as soon as I can. I suppose, that adonis/fold has breaking changes in last versions.

Yup a lot of things were broken. I have been trying to figure out what changes are needed in your repo but do not know enough about Adonis Plugins

Could you try to npm i git://github.com/reg2005/adonis5-swagger.git#adonis_update

@VladyslavParashchenko that worked!
I see where my issue was. When trying to fix the code I was using
        const config = this.container.resolveBinding('Adonis/Core/Config');
        const router = this.container.resolveBinding('Adonis/Core/Route');

instead of the updated
        const config = this.app.container.resolveBinding('Adonis/Core/Config');
        const router = this.app.container.resolveBinding('Adonis/Core/Route');

Any Adonis Provider has flag needsApplication in provider. Adonis provider loader set to provider constructor adonis app or only container depends on this flag. I think that adonis changed default behavior for this flag, and adonis swagger provider received whole app object, instead of only container. I don't know details know, I will check it in my free time.
We will update package, after testing on our apps with more old adonis versions.

Can you send me a link to how to create Adonis Providers so I can be well versed in this and next time be able to help you update the actual codebase and just send a PR

As I know adonis haven't any docs, how to develop packages. I usually read official packages source core, for getting knowledge how adonis is working.

Any update on when this will be merged?

I can't deploy new package version to npm.  Account owner for this package hasn't asnwered me yet.