Upgrade to Vibe.d 0.8.5

The error can be reproduced locally with:
dub test -- --trace --debug dlangbot.utils

It looks like setTimer isn't firing :/

Superseeded by #239 (hopefully...)


 This bug causes segmentation fault at exit (I observe this behavior during an exception), because ~CommPG needs a valid oob to destroy UCC context.
This PR changes the ownership of oob to a shared pointer, and make CommPG to store one instance of that pointer to make sure the lifetime of oob is always longer than CommPG.

Superseded by https://github.com/facebookresearch/torch_ucc/pull/13

since now both the intrusive_ptr and the Store ptr use the same name - for readability purpose - can we change one name to something different - like storePtr - and keep the other as store ?


feat: managing Asset via URN instead of ID

Is your feature request related to a problem? Please describe.
I am planning to have a job/pipeline that will be getting and deleting a single asset.
Right now compass has those APIs to get and delete, but it is using asset's ID.
Problem is, the job will not have the asset's ID available when running, instead it can generate asset's URN.
Describe the solution you'd like

New API to retrieve an asset using its URN
New API to delete an asset using its URN

Describe alternatives you've considered

Use GetAllAssets API and filter the results

Approach 1
Modify current APIs to also accept URN.

GetAssetByID - [GET] /v1beta1/assets/{id}
DeleteAsset - [DELETE] /v1beta1/assets/{id}

Compass internally will use the given {id} from route parameter as both, asset's id or urn.
Approach 2
New API to use URN instead of ID

GetAssetByURN - [GET] /v1beta1/assets/urn/{urn}
DeleteAssetByURN - [DELETE] /v1beta1/assets/urn/{urn}

Approach 1 is overall simpler and quicker to implement.
Approach 2's HTTP endpoints cannot be RESTful as they all will conflict with current APIs using ID.

wdyt @bsushmith ?

@StewartJingga I'm of a slightly different opinion here.
Approach 1:

We would alter the API definitions for this, and this can lead to confusion as it takes both values - either {id} or {urn}

Approach 2:

The new APIs would be nice along with a deprecate tag on the APIs using {id}. We can remove them completely after a couple of versions.

Approach 2's HTTP endpoints cannot be RESTful as they all will conflict with current APIs using ID.

Can you elaborate on this?
Both[GET] /v1beta1/assets/{id} and [GET] /v1beta1/assets/urn/{urn} will not have endpoint conflicts. Please CMIIW here.

Can you elaborate on this?
Both[GET] /v1beta1/assets/{id} and [GET] /v1beta1/assets/urn/{urn} will not have endpoint conflicts. Please CMIIW here.

@bsushmith They won't have conflict with the new endpoints that i'm proposing.
But those proposed endpoints are not RESTful in a way that is does not follow recommended convention of restful.
Another plus point when going with approach number 1 is, we can easily remove the old (using id) behaviour while still keeping it RESTful.

Makes sense. @StewartJingga +1

@StewartJingga  From an API point of view, approach 1 is better.

For updating the existing endpoint in a backward compatible way, we need the endpoint to accept both ID and URN and return the asset. We can delegate the decision to the service layer or the repository layer.
Delegating to the service layer means that we check if the given ID is a UUID and call GetByID or GetByURN defined in the repository layer. This has the downside of not being able to fetch by URN if the URN is a UUID - if a user creates an asset with the URN as f742aa61-1100-445c-8d72-355a42e2fb59, GetAssetByID will always return 'not found'.
The repository layer could handle this by using id = $id or urn =  $id. This however can match multiple rows if and when the user specifies a uuid as the URN for an asset and the uuid is the id for some other asset. This can theoretically be an attack vector.
Both scenarios are very unlikely but I feel it would be better to not return the asset as opposed to returning the wrong one, so leaning towards delegating to the service layer. Note that this limitation of the system would be temporary and would be addressed once we stop supporting get by ID.
Also wanted to call out some more implementation details before raising the PR:

Since we are expecting URN to be unique going forward, we should add a unique index on the urn column in assets table. The existing index on urn, type, service can also be dropped.
GetAssetByURN is internally used for upsert of an asset. We can remove this (not a breaking change since it is inside internal pkg) and switch over to GetAssetByID since it would support fetch by urn.
Subsequently, the Find method on Repository would become unused and should be okay to remove. Note that this is a method on a publically exposed interface so it is technically a breaking change. Please call out if you think it is not okay to remove it.


meteor build mobile app failed File to read not found or unreadable:

project based on angular-meteor-base
Internal Error: File to read not found or unreadable:
D:/personwork/angular-meteor-base/D:/personwork/angular-meteor-base/client/impor
ts/app/custimports/app/custadd/customers-add.component.scss
right:D:/personwork/angular-meteor-base/client/impor
ts/app/custimports/app/custadd/customers-add.component.scss
i updated latest angular-compiler
meteor packages:
<EMAIL_ADDRESS>           # Packages every Meteor app needs to have
<EMAIL_ADDRESS>     # Packages for a great mobile UX
<EMAIL_ADDRESS>                 # The database Meteor supports right now
<EMAIL_ADDRESS>          # Reactive variable for tracker
<EMAIL_ADDRESS>               # Meteor's client-side reactive programming library

<EMAIL_ADDRESS> # CSS minifier run for production mode
<EMAIL_ADDRESS>  # JS minifier run for production mode
<EMAIL_ADDRESS>              # ECMAScript 5 compatibility for older browsers
<EMAIL_ADDRESS>            # Enable ECMAScript2015+ syntax in app code
<EMAIL_ADDRESS>          # Server-side component of the `meteor shell` command

angular-compilers

package.json
{
  "private": true,
  "scripts": {
    "start": "meteor run",
    "start:prod": "AOT=1 ROLLUP=1 meteor --production",
    "test": "TEST_BROWSER_DRIVER=puppeteer meteor test --driver-package=ardatan:mocha --raw-logs",
    "test:ci": "TEST_BROWSER_DRIVER=puppeteer meteor test --driver-package=ardatan:mocha --raw-logs --once"
  },
  "dependencies": {
    "@angular/animations": "^7.1.1",
    "@angular/cdk": "^7.1.1",
    "@angular/common": "7.1.1",
    "@angular/compiler": "7.1.1",
    "@angular/core": "7.1.1",
    "@angular/forms": "7.1.1",
    "@angular/material": "^7.1.1",
    "@angular/platform-browser": "7.1.1",
    "@angular/platform-browser-dynamic": "7.1.1",
    "@angular/router": "7.1.1",
    "@babel/runtime": "7.1.5",
    "@ng-bootstrap/ng-bootstrap": "^4.2.1",
    "bootstrap": "^4.3.1",
    "core-js": "2.5.7",
    "ionic-angular": "^3.9.8",
    "lodash": "^4.17.14",
    "meteor-node-stubs": "0.4.1",
    "meteor-rxjs": "0.4.14",
    "rxjs": "6.3.3",
    "zone.js": "0.8.26"
  },
  "devDependencies": {
    "@angular/cli": "^7.1.1",
    "@angular/compiler-cli": "7.1.1",
    "@types/chai": "4.1.7",
    "@types/meteor": "1.4.23",
    "@types/mocha": "5.2.5",
    "@types/sinon": "5.0.7",
    "chai": "4.2.0",
    "mocha": "5.2.0",
    "puppeteer": "1.10.0",
    "sinon": "7.1.1",
    "typescript": "3.1.6"
  }
}

I can meteor run android success

add environment variables ATO to 0,build successful


Add a guides section with a few basic things.

This is mainly so that these instructions are more searchable.
It's discoverable in the interface,
but a lot of users never discover it.

👍  something we need to write a whole bunch more of


Commas in numbers

Description
Change guidance on commas and numbers, to improve readability.
Correct examples.
This will close #147
Definition of Done

[x] PR approved by Libby
[ ] Related GitHub issues closed
[x] Update to Updates page

Actually, while we are looking at this page, can we improve on this line too? Use a word for people or animals upwards from 1 million, for example 22.3 million.
Maybe my brain is running slow, but why are we specifying animals here? We would usually write 1 million widgets wouldn't we so why specify only for people and animals? @libbyv

Agree. It's confusing.
How about this?
Use the word 'million' instead of digits for anything above 1 million eg
22.3 million Australians
?
DTO Content Community Lead
0408 283 745
www.DTO.gov.au http://www.DTO.gov.au
On Fri, Oct 14, 2016 at 2:52 PM, Julian Fleetwood<EMAIL_ADDRESS>wrote:

Actually, while we are looking at this page, can we improve on this line
too? Use a word for people or animals upwards from 1 million, for example
22.3 million.
Maybe my brain is running slow, but why are we specifying animals here? We
would usually write 1 million widgets wouldn't we so why specify only for
people and animals? @libbyv https://github.com/libbyv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AusDTO/gov-au-content-guide/pull/186#issuecomment-253703348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APIL4wdmpE4ShS2aIQp_PMrY8b5W4sdhks5qzvxvgaJpZM4KBKBM
.

Do we even need the extra example? ie
Use the word million instead of digits for 1 million and upwards.

**For example**

> - 1 to 9, not one to nine
> - 10 to 9999
> - 10,000 to 1 million

Hey @libbyv sorry last set of changes to look at.

Good to go, thanks Jools.


Rename repository to support packer init

In order to use this plugin with packer init, the repository name must be packer-plugin-goss.
Further information here: https://developer.hashicorp.com/packer/docs/plugins/install-plugins#installation-guides
This will allow us to include the plugin in required_plugins like this:
packer {
  required_plugins {
    goss = {
      version = "~> 3.1"
      source  = "github.com/YaleUniversity/goss"
    }
  }
}

With the current repo name, we get the following error when running packer init:
$ packer init .
Failed getting the "github.com/yaleuniversity/goss" plugin:
1 error occurred:
        * GET https://api.github.com/repos/yaleuniversity/packer-plugin-goss/git/matching-refs/tags: 404 Not Found []

This issue should resolve and supercede #65

Duplicated by #58


Fix windows translate script to print "Translate complete" when sysprep is run

Fix windows translate script to print "Translate complete" when sysprep is run. Also mark the image as BYOL if sysprep is run and BYOL licensing was selected.

/unittests

/retest


Custom trait implementation

In OpenBrush 4.0-beta it is possible to avoid boilerplate code with usage of implementation macro, but currently it only works with OpenBrush native traits. If some projects want to separate logics of custom trait implementation and actual contract file, there will still be a lot of boilerplate code, that should be written manually. We can resolve this issue in the following way:

Create something like trait_implementation macro that will be used on TraitImpl. It will have the parameter - the actual trait naming, for which implementation is described.
trait_implementation macro will generate functional macro, like trait_impl!(Contract) that will generate

impl Trait for Contract {
	#[ink(message)]
	fn message(&self) {
		TraitImpl::message(self)
	}
}

This macro can be integrated in implementation macro, and it will use it on storage struct
Macro does not allow overriding the implementation, but could reduce a lot amount of boilerplate code in contract implementations.

Seems reasonable like this but how do you deal with payable functions ?

Thanks for starting this. IMHO all solutions will be stubs while we wait for the proper/fix of the trait system in ink! itself. Tracking issue: https://github.com/paritytech/ink/issues/1689

Seems reasonable like this but how do you deal with payable functions ?

We can add the payable marker that will work inside the trait_implementation macro, so messages that are payable will be generated also as #[ink(payable)]


relational table support ?

@rayhan0421 its a nice idea! We work it.

Nice Idea!
I realized that in pivot.stub ha references to foreign keys, but not even understand how I can use that there ready.
There is already some form of use or is this just an introduction to development?
I would like to contribute to this if does not work, I try to understand to develop together with you.


User patch

Add features to forward either event's user or session's user to Script context

Ok I understand, do you have an idea to export user (or maybe other variable when calling the script through rest api ?) to the script ?

I think one good practice should be to pass to the sandbox a clone of all variables... I have an idea I will try to implement it !
I created an issue, it's referenced in the milestone for Gladys 3.4 which I'm trying to release this Sunday :)

Hi,
In v 3.4 you've changed the way you declare the user regarding this PR.
It works fine when you pass from Controller, but when you come from a Scenario, you don't push user in the options variable in the core.script.exec.js so context.user is not declared inside script.
In script.exec.js, don't you should add  ?
 if(!options.user && options.scope.user) options.user = options.scope.user;
just after line 8.
In my PR, I was doing :
if (options.scope && options.scope.user) var user = options.scope.user;
but it was not clear as you said.

Fixed here => https://github.com/GladysProject/Gladys/commit/e8428b11a743404041e269a756bfeae0fc7f2322 :)


Build iso and host from Rancher

When a MachineRegistration is created, we should give an option to build the iso and host it from the upstream cluster.
A POC of what this could look like is at:
https://gist.github.com/agracey/9d053ca7e0adef6fe7e8bb9b7687f4f9
And I'm working on an improved version of this at:
https://gist.github.com/agracey/b0eedb7eef7094558197f94a7689f238
(As with all of my POCs, feel free to ignore 🤣 I built it because I needed easier demo builds on limited hardware)
There are a few changes that I think would be needed to make this a reality:

Addition of Elemental Teal version (OCI tag) to MachineRegistration spec
An nginx or other hosting option and the persistent volume underneath (Maybe the s3gw project if it's ready enough?)

rancher/elemental#336 could help on making this procedure lighter, since it allows to add a yaml into an existing iso on the fly.

Now tracked at rancher/elemental-operator#207


[5.6] More flexibility for custom log drivers

I love the ability to have custom log drivers in config, without needing to call extend on drivers, and it reminded me of something very similar I was doing in an app as a way of specifying lazy values in config, by using callables (in particular, using the array notation since we cannot serialize closures).
So, the example at https://laravel.com/docs/5.6/logging#creating-custom-channels is great, and still works, but the following example now works also:
'channels' => [
    'custom' => [
        'driver' => 'custom',
        'via' => [App\Logging\MyCustomLogger, 'make'],
    ],
],

with a static function
<?php

namespace App\Logging;

use Monolog\Logger;

class MyCustomLogger
{
    public static function make(array $config)
    {
        return new Logger(...);
    }
}

This is very simple, and you don't need to go through the service container. Moreover, you don't need to create a special class with an invoke method, you can just add a static method wherever you feel, even on the logger class itself.

Perhaps add a test?


Add NPE check for PulsarService#getAdminClient

Motivation
If user set incorrect brokerClientTlsEnabled config, the PulsarService#getAdminClient would throw NPE and the error logs is not clear. For example, start a standalone pulsar with brokerClientTlsEnabled=true, some admin APIs that don't involve PulsarService#getAdminClient work well, however some admin APIs like GET /admin/v2/non-persistent/:tenant/:namespace will throw NPE with following logs:
org.apache.pulsar.broker.PulsarServerException: java.lang.NullPointerException
	at org.apache.pulsar.broker.PulsarService.getAdminClient(PulsarService.java:1193)
	at org.apache.pulsar.broker.admin.v2.NonPersistentTopics.getList(NonPersistentTopics.java:273)

After this PR, the logs became:
org.apache.pulsar.broker.PulsarServerException: java.lang.IllegalArgumentException: adminApiUrl is null, isBrokerClientTlsEnabled: true, webServiceAddressTls: null, webServiceAddress: http://localhost:8080

Modifications

Check if adminApiUrl is null in PulsarService#getAdminClient and give a human readable error message.

Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


[Snyk] Upgrade no.bekk.bekkopen:nocommons from 0.5 to 0.12.0

Snyk has created this PR to upgrade no.bekk.bekkopen:nocommons from 0.5 to 0.12.0.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:sparkles: Snyk has automatically assigned this pull request, set who gets assigned.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 9 versions ahead of your current version.
The recommended version was released 10 months ago, on 2021-02-11.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
👩💻 Set who automatically gets assigned
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Fikset i main allerede.


DOC-2978

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/DOC-2978

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Object Reference not set - Non Prefab selected in Hierarchy

NullReferenceException: Object reference not set to an instance of an object
GiantParticle.InspectorGraph.InspectorGraph.CreateWindow (GiantParticle.InspectorGraph.Data.Nodes.IObjectNode node) (at Packages/com.giantparticle.inspector_graph_pro/Editor/InspectorGraph/InspectorGraph.cs:377)
GiantParticle.InspectorGraph.InspectorGraph.ProcessNewGraph (GiantParticle.InspectorGraph.Data.Nodes.IObjectNode node) (at Packages/com.giantparticle.inspector_graph_pro/Editor/InspectorGraph/InspectorGraph.cs:309)
GiantParticle.InspectorGraph.InspectorGraph.PollCurrentOperation () (at Packages/com.giantparticle.inspector_graph_pro/Editor/InspectorGraph/InspectorGraph.cs:275)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at <13adf3fa3c294df3837c3b9a91e8b147>:0)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at <13adf3fa3c294df3837c3b9a91e8b147>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <13adf3fa3c294df3837c3b9a91e8b147>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <13adf3fa3c294df3837c3b9a91e8b147>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <0db5bdae9bd5480591882b7702459213>:0)

I select a Non-Prefab in my Hierarchy ,  Pro Version of Asset ,
... not sure what i did to get this glitch I juuust bought asset and trying it out on old project

Hi @JoyousSuccess
Thanks for the report, it will be helpful to have more information about this error and how to reproduce it.


Feature request : zoom % indicator in darkroom

Hi Hanatos,
when zooming on my photos in DR, I always wonder how much I'm zoomed in : am I at 100% (which I usually want) or more  (sometimes OK, sometimes not) ?
Do you think adding a zoom text indicator (xyz%) somewhere in DR could be feasible ?
And if this is too much UX/UI for the moment, dont hesitate to say so :-)
Many thanks !
GLLM

i think that is an easy/reasonable request and should not be much work nor bloat the code :)

works fine, thanks


Add octoAI LLM support

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (does not change functionality, e.g. code style improvements, linting)
[ ] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.

[ ] Unit Test
[ ] Test Script (please provide)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

Can't test this yet because OctoAI is having issues

@KapilM26 can you please rebase the PR and test with OctoAI?

@KapilM26 Can you please test the functionality now and resolve the merge conflicts?

Closing this PR since been inactive for long time. @KapilM26 feel free reopen.


Add API support for dependency-created stat(layout)s

Is your feature request related to a problem? Please describe.
Randostats is designed with extensibility in mind - stat and stat layout classes are public and documented should other mods choose to implement other niche stats that may not be a good fit to be included in RandoStats. But currently there is no way to hook your stats and layouts into the existing layout system.
Describe the solution you'd like
Add API support for the above. Likely the correct way to do this is:

Whatever solution in #4 to handle layout settings in menu should be publically available; dependencies control their own layout settings
Add an API to inject layout settings prior to parsing them into factories
Adjust StatLayoutHelper to specify which factory class should be used (needs research: how? would like to keep out of globalsettings if possible because it should not ever change for a given factory)

re: last bullet point, possibly a property annotation would be a good option

This is out of scope now - Fstats provides the API


chore: bump lean-toolchain to v4.2.0-rc4

Fixes a potential data loss bug. All projects should update their toolchain as soon as possible.
Please see https://github.com/leanprover/lean4/releases/tag/v4.2.0-rc4 and the zulip thread for more information.

Thanks!


Building and signing a debug iOS build fails when using url_launcher

Steps to Reproduce

Create a flutter app that uses the latest version of the url_launcher package
Attempt to build and sign a debug version of the iOS app

Expected results:
The build should succeed
Actual results:
The build fails with the following error:
[23:58:32]: ▸ objc[49780]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x20e5b6b90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1087d82c8). One of the two will be used. Which one is undefined.
[23:58:32]: ▸ objc[49780]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x20e5b6be0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1087d8318). One of the two will be used. Which one is undefined.
[23:58:33]: ▸ Processing url_launcher_ios-Info.plist
[23:58:33]: ▸ Copying FLTURLLauncherPlugin.h
[23:58:33]: ▸ Copying url_launcher_ios-umbrella.h
[23:58:33]: ▸ Compiling FLTURLLauncherPlugin.m
[23:58:33]: ▸ Compiling url_launcher_ios-dummy.m
[23:58:33]: ▸ Compiling url_launcher_ios-dummy.m
[23:58:33]: ▸ Compiling FLTURLLauncherPlugin.m
[23:58:33]: ▸ Compiling url_launcher_ios_vers.c
[23:58:33]: ▸ Compiling url_launcher_ios_vers.c
[23:58:33]: ▸ Linking url_launcher_ios
[23:58:34]: ▸ ❌  ld: bitcode bundle could not be generated because '/Users/adam/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/adam/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter'
[23:58:34]: ▸ ❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)
[23:58:34]: ▸ Linking url_launcher_ios
[23:58:34]: ▸ ** ARCHIVE FAILED **
[23:58:34]: ▸ The following build commands failed:
[23:58:34]: ▸ Ld /Users/adam/Library/Developer/Xcode/DerivedData/Runner-bfrgbcvlkjrigidokoohkofhympq/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/url_launcher_ios.build/Objects-normal/arm64/Binary/url_launcher_ios normal arm64 (in target 'url_launcher_ios' from project 'Pods')
[23:58:34]: ▸ (1 failure)
objc[49780]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x20e5b6b90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1087d82c8). One of the two will be used. Which one is undefined.
objc[49780]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x20e5b6be0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1087d8318). One of the two will be used. Which one is undefined.
▸ Processing url_launcher_ios-Info.plist
▸ Copying FLTURLLauncherPlugin.h
▸ Copying url_launcher_ios-umbrella.h
▸ Compiling FLTURLLauncherPlugin.m
▸ Compiling url_launcher_ios-dummy.m
▸ Compiling url_launcher_ios-dummy.m
▸ Compiling FLTURLLauncherPlugin.m
▸ Compiling url_launcher_ios_vers.c
▸ Compiling url_launcher_ios_vers.c
▸ Linking url_launcher_ios

❌  ld: bitcode bundle could not be generated because '/Users/adam/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/adam/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter'

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

▸ Linking url_launcher_ios
** ARCHIVE FAILED **

Notice also that if you remove the url_launcher package, the build will succeed, meaning this package is likely the problem.

Code sample

This code sample is a sample of the fastfile I use to build and sign the iOS build, and is not a sample of a flutter app.
default_platform(:ios)

platform :ios do
  desc "Build the app in the specified mode"
  lane :ios_build_debug do
    Dir.chdir "../.." do
      sh("flutter", "clean")
      sh("flutter", "packages", "get")
      sh("flutter", "build", "ios", "--debug", "--no-codesign")
    end
    match(
      app_identifier: "com.example.app",
      type: "adhoc",
      readonly: true
    )
    gym(
      scheme: "Runner",
      workspace: "./Runner.xcworkspace",
      sdk: "iphoneos15.2",
      configuration: "Debug",
      export_method: "ad-hoc"
    )
  end
end

You will need a correctly configured Appfile and Matchfile for this to work

Logs

> flutter analyze
Analyzing sample_project...
No issues found! (ran in 1.8s)

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/adam/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/adam/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /opt/homebrew/opt/java/bin/java
    • Java version OpenJDK Runtime Environment Homebrew (build 17.0.1+1)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] Connected device (2 available)
    • iPhone 13 (mobile) • C814DB9E-635D-4AA4-9DA4-C3AACDF77E15 • ios          • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64 • macOS 12.1 21C52 darwin-arm

! Doctor found issues in 3 categories.

@afgriffiths
Please check this similar fixed issue and since the issue is causing due to url_launcher plugin, you can try this solution and see if it helps to resolve it.

@darshankawar
Thanks for your quick reply!

This does not fix the issue, instead the error is:
Xcode's output:
↳
   ld: '/Users/adam/Documents/workplace/sample_project/build/ios/Debug-
   iphoneos/url_launcher_ios/url_launcher_ios.framework/url_launcher_ios' does not contain bitcode. You must rebuild it with
   bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this
   target. file '/Users/adam/Documents/workplace/sample_project/build/ios/Debug-
   iphoneos/url_launcher_ios/url_launcher_ios.framework/url_launcher_ios' for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      note: Using new build system
      note: Planning
      note: Build preparation complete
      note: Building targets in dependency order

Encountered error while building for device.

Shouldn't this Podfile line be automatically included? The issue said it was included in the 2.0.4 release, and I am on Flutter 2.8.1

@afgriffiths
I tried a sample app and added url_launcher and ran flutter build ios which generated the build file properly as below:
dhs@Dhss-MacBook-Pro testdemo % flutter build ios
Building com.example.testdemo for device (ios-release)...
Found saved certificate choice "Apple Development: Darshan Kawar (AV76JL68FU)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Darshan Kawar (AV76JL68FU)"
Running pod install...                                           1,227ms
Running Xcode build...
 └─Compiling, linking and signing...                        18.6s
Xcode build done.                                           90.7s
Built /Users/dhs/Documents/NCFlutter/testdemo/build/ios/iphoneos/Runner.app.
dhs@Dhss-MacBook-Pro testdemo %

I am on latest master (Channel master, 2.9.0-1.0.pre.491) and used latest plugin version:  url_launcher: ^6.0.18. Did you add the iOS prerequisite for the plugin as mentioned in the readMe: https://pub.dev/packages/url_launcher#ios ?

@darshankawar
I need a debug build, by default flutter build ios produces a release build that does not require bitcode.
Reproduction steps:

Perform the fix you linked to the Podfile
Run flutter build ios --debug
See the error I described in my previous comment appear

Add the fix you linked to the Podfile

Thanks. Even without above change, I ran flutter build ios --debug which compiled and generated the build file properly without any issues:
dhs@Dhss-MacBook-Pro testdemo % flutter build ios --debug
Building com.example.testdemo for device (ios)...
Found saved certificate choice "Apple Development: Darshan Kawar (AV76JL68FU)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Darshan Kawar (AV76JL68FU)"
Running pod install...                                           1,244ms
Running Xcode build...
 └─Compiling, linking and signing...                        13.7s
Xcode build done.                                           34.3s
Built /Users/dhs/Documents/NCFlutter/testdemo/build/ios/iphoneos/Runner.app.
dhs@Dhss-MacBook-Pro testdemo %

Thanks for digging in and providing further details.  Since I haven't been able to replicate this, I'll close it for now and will keep an eye on this pattern / behavior to see if such issue is reported or not.


getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object

When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object
In https://github.com/microsoft/FeatureManagement-JavaScript/blob/8fe0efd0d923f1f24364f53a5b20702c1f923f0f/src/schema/validator.ts#L8
In featureProvider.ts
https://github.com/microsoft/FeatureManagement-JavaScript/blob/8fe0efd0d923f1f24364f53a5b20702c1f923f0f/src/featureProvider.ts#L30
The same validateFeatureFlag function is called with both a single FeatureFlag and array of FeatureFlag but the function doesn't handle arrays.

Facing with same issue.  FEATURE_FLAGS_KEY contains not a single feature flag but array of feature flags so it is incorrect to call this function for this array.


Readme needs improvement

been adding quite much, please have a check :)

It's much much better now, closing.


Error mounting Jsprit on Eclipse

Hi guys,
I'm new to Maven and I'm trying to create a Maven Prject on Eclipse for JSprit, but I end up having this error message when running jsprit-instances.
Any ideas?
ERROR:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jsprit-instances: Compilation failure -> [Help 1]

For questions please use our forum instead: https://discuss.graphhopper.com/c/jsprit


refactoring

When possible, use the class to get settings, plugin, app... Instead of passing the object in arguments
Create an object that regroups all settings:

one for Repofrontmatter[]
One for repoFrontmatter (not array)

Create another instance for only repository parameters that regroup RepoFrontmatter and Repository
Rename folder to github for the publish folder

It allow a better reading of the function and prevent passing 5+ args

Review TODO

[ ] create a testing repository with random note

[ ] Some note must be shared in sandboxing
[ ] Another in testing-repo
[ ] Some note must have embed and links
[ ] Add some note with repoFrontmatter

[ ] Test modal review (deleted, edited...)

YAML

[ ] Publish all files
[ ] Publish all new notes
[ ] Publish new note and edited notes
[ ] Publish one note
[ ] Purge
[ ] Refresh

FIXED folder

[ ] Publish all files
[ ] Publish all new notes
[ ] Publish new note and edited notes
[ ] Publish one note
[ ] Refresh

Obsidian path

[ ] Publish all files
[ ] Publish all new notes
[ ] Publish new note and edited notes
[ ] Publish one note
[ ] Purge
[ ] Refresh

Every seems to work as expected.


feat: add meta info as props

This PR's objective will be implemented with the different methodology and so will be closed.


fix: OLSConfig CR watches the LLM token secret without owning the secret

Description
This PR fix a bug that the LLM token secret referenced by an OLSConfig CR is deleted when the OLSConfig CR is deleted.
The operator will watch the refertenced secret without owning the secret, reconcile if any changes applied to that LLM token secret.
This PR replaces https://github.com/openshift/lightspeed-operator/pull/101
This PR makes the operator passes the E2E test.
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[x] If it is a core feature, I have added thorough tests.

Testing

/cc @xrajesh
/cc @vishnuchalla
This is a fix to the commit bringing the reconciliation upon LLM token secret change.

/lgtm
/approve


Vapor Server side Swift + SwiftOpenAI + Fly.io: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.

Hi, I am building a backend API for my ios app using Vapor, a server side swift framework. I have successfully built the api and the SwiftOpenAI package was very useful. However, unfortunately when I tried to deploy the server to the world using Fly.io (which takes in a docker file and ships it to the world), I got a ton of errors regarding the import Foundation.
Apparently, this is because Linux does not support URLSession. And apparently, I should avoid Foundation in general when it comes to server side swift.
Someone from the Vapor community told me I should be able to inject my own HTTP client. Is there any way to do this for this package?
And if not, I guess i'd have to fork this library and switch out the HTTP client for a different one? I don't know what to do here, could you possibly help?
Errors from Fly.io:
2.498 Building for production...
2.693 [0/881] Compiling a_utctm.c
2.707 [1/881] Compiling a_time.c
2.708 [2/881] Compiling _NumericsShims _NumericsShims.c
2.709 [3/881] Compiling a_type.c
3.456 [5/885] Compiling _NIOBase64 Base64.swift
4.280 [7/887] Compiling _NIODataStructures Heap.swift
4.363 [9/888] Compiling SwiftOpenAI AzureOpenAIAPI.swift
4.363 /build/.build/checkouts/SwiftOpenAI/Sources/OpenAI/Azure/DefaultOpenAIAzureService.swift:14:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4.363       urlSessionConfiguration: URLSessionConfiguration = .default,
4.363                                ^~~~~~~~~~~~~~~~~~~~~~~
4.363 Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
4.363 public typealias URLSessionConfiguration = AnyObject
4.363                  ^
4.363 /build/.build/checkouts/SwiftOpenAI/Sources/OpenAI/Azure/DefaultOpenAIAzureService.swift:14:59: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4.363       urlSessionConfiguration: URLSessionConfiguration = .default,
4.363                                                          ~^~~~~~~
4.363 /build/.build/checkouts/SwiftOpenAI/Sources/OpenAI/Azure/DefaultOpenAIAzureService.swift:24:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4.363    public let session: URLSession
4.363                        ^~~~~~~~~~
4.363 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
4.363 public typealias URLSession = AnyObject

Edit: apparently Foundation is in fact supported on Linux.
But yes, according to the error message it looks like we need to import FoundationNetworking as well.
Can i submit a PR that does: import FoundationNetworking under every import of "Foundation"?

Hi! can you please be more specific:

The problem I see though is that now, if anyone ever forgets to do this in a file (who maintains this package), it will crash again, for any people using SwiftOpenAI in a linux environment.

Does this mean if I add a new file where Foundation is needed it will cascade into a crash for any people using SwiftOpenAI in a Linux environment?
Is it correct to assume that with the current state of the package this is not usable on Linux correct?
If you propose to add :
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

in every file where
import Foundation

I would need to review why is this needed, can you please share documentation and some repo where this is applied? I am not familiar with Vapor and I am not sure if that is the right approach. Thanks!


Add NEON support

As a continuation of #86, I thought it would be interesting to try to add NEON support to this, given that I haven't written much SIMD code before. It doesn't build continuously on CI yet due to lack of runners, as @james7132 has pointed out, but the tests do pass locally for me on my MBP. Up to you if it's worth merging anyway!

There should be support for running on ARM via macOS 14 runners. Can you try changing the aarch64 job to run on them and to run the same checks as the x86 jobs?

Hold on, I added an additional job but perhaps that's a little excessive.

@james7132 You're right about the MSRV, but somehow it passes on 1.56.0 anyway 🤔

That's certainly odd. Might be a bug with those versions of Rust, or the APIs used here were soft stabilized early.
Could you run the benchmarks and do a comparison against master to ensure this is a performance gain?

Could you run the benchmarks and do a comparison against master to ensure this is a performance gain?

This actually does not look like a performance improvement at all, especially for insert:
iter_ones/contains_all_zeros
                        time:   [249.43 µs 249.48 µs 249.55 µs]
                        change: [-1.3684% -1.1830% -1.0116%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 15 outliers among 100 measurements (15.00%)
  1 (1.00%) low mild
  7 (7.00%) high mild
  7 (7.00%) high severe

iter_ones/contains_all_ones
                        time:   [318.65 µs 318.90 µs 319.31 µs]
                        change: [-0.6792% -0.4328% -0.1776%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 15 outliers among 100 measurements (15.00%)
  1 (1.00%) low severe
  2 (2.00%) high mild
  12 (12.00%) high severe

iter_ones/all_zeros     time:   [9.0124 µs 9.0205 µs 9.0350 µs]
                        change: [-1.6067% -1.1067% -0.6296%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 13 outliers among 100 measurements (13.00%)
  2 (2.00%) low mild
  1 (1.00%) high mild
  10 (10.00%) high severe

iter_ones/sparse        time:   [425.23 µs 425.75 µs 426.50 µs]
                        change: [-2.7981% -0.9138% +0.2436%] (p = 0.34 > 0.05)
                        No change in performance detected.
Found 12 outliers among 100 measurements (12.00%)
  5 (5.00%) high mild
  7 (7.00%) high severe

iter_ones/all_ones      time:   [2.0850 ms 2.0909 ms 2.0956 ms]
                        change: [-0.2407% +0.1276% +0.4604%] (p = 0.49 > 0.05)
                        No change in performance detected.
Found 16 outliers among 100 measurements (16.00%)
  4 (4.00%) low severe
  3 (3.00%) high mild
  9 (9.00%) high severe

Benchmarking iter_ones/all_ones #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 5.8s, enable flat sampling, or reduce sample count to 60.
iter_ones/all_ones #2   time:   [1.1386 ms 1.1409 ms 1.1440 ms]
                        change: [+1.3563% +1.7023% +2.0310%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 12 outliers among 100 measurements (12.00%)
  3 (3.00%) low severe
  6 (6.00%) low mild
  1 (1.00%) high mild
  2 (2.00%) high severe

insert_range/1m         time:   [1.8628 µs 1.8998 µs 1.9302 µs]
                        change: [+5.2290% +11.538% +18.620%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 17 outliers among 100 measurements (17.00%)
  14 (14.00%) low severe
  2 (2.00%) low mild
  1 (1.00%) high severe

insert/1m               time:   [454.00 µs 497.73 µs 556.27 µs]
                        change: [+69.471% +96.240% +126.39%] (p = 0.00 < 0.05)
                        Performance has regressed.

intersect_with/1m       time:   [2.9109 µs 2.9166 µs 2.9242 µs]
                        change: [+5.8231% +5.9922% +6.1686%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 16 outliers among 100 measurements (16.00%)
  1 (1.00%) low severe
  10 (10.00%) high mild
  5 (5.00%) high severe

difference_with/1m      time:   [2.9193 µs 2.9292 µs 2.9399 µs]
                        change: [+5.2192% +5.5294% +5.8663%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe

union_with/1m           time:   [2.9099 µs 2.9205 µs 2.9325 µs]
                        change: [+1.5792% +2.3179% +3.0397%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe

symmetric_difference_with/1m
                        time:   [2.9253 µs 2.9343 µs 2.9442 µs]
                        change: [+5.4782% +5.9696% +6.3993%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 11 outliers among 100 measurements (11.00%)
  11 (11.00%) high mild

count_ones/1m           time:   [2.0864 µs 2.0897 µs 2.0935 µs]
                        change: [+0.0646% +0.2295% +0.4112%] (p = 0.01 < 0.05)
                        Change within noise threshold.
Found 9 outliers among 100 measurements (9.00%)
  5 (5.00%) high mild
  4 (4.00%) high severe

clear/1m                time:   [565.88 ns 575.07 ns 584.42 ns]
                        change: [-5.6735% -4.0915% -2.5815%] (p = 0.00 < 0.05)
                        Performance has improved.

Benchmarking grow_and_insert: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 5.6s, enable flat sampling, or reduce sample count to 60.
grow_and_insert         time:   [1.0669 ms 1.0685 ms 1.0707 ms]
                        change: [-31.067% -27.660% -23.895%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe

Will have to take a closer look at what's going on.

Looking at the assembly briefly, it doesn't look like rustc is doing any clever auto-vectorization on master. For BitOrAssign, which would be the significant operation for insertion, I'm seeing fewer instructions on my branch than on master. But perhaps the ordinary registers are just faster here, for whatever reason. Closing this PR for now.

@msvbg what were your power settings on your MacBook Pro? These numbers don't look right to me given what was changed.

Re-ran the benches with RUSTFLAGS="-C target-feature=+neon" cargo bench -- --baseline master, ensuring that my Mac is in "high power" mode. Still not a very convincing perf improvement, but there's no longer a 96% regression in the insert benchmark.
iter_ones/contains_all_zeros
                        time:   [249.47 µs 249.67 µs 250.10 µs]
                        change: [-2.7610% -2.2502% -1.7630%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  2 (2.00%) high mild
  8 (8.00%) high severe

iter_ones/contains_all_ones
                        time:   [318.56 µs 318.73 µs 319.08 µs]
                        change: [-2.1921% -1.6749% -1.1876%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
  4 (4.00%) high mild
  9 (9.00%) high severe

iter_ones/all_zeros     time:   [9.1568 µs 9.1673 µs 9.1823 µs]
                        change: [-0.5514% -0.1511% +0.2790%] (p = 0.48 > 0.05)
                        No change in performance detected.
Found 10 outliers among 100 measurements (10.00%)
  1 (1.00%) low severe
  2 (2.00%) low mild
  4 (4.00%) high mild
  3 (3.00%) high severe

iter_ones/sparse        time:   [432.22 µs 433.60 µs 435.04 µs]
                        change: [+1.9273% +2.3159% +2.6537%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 18 outliers among 100 measurements (18.00%)
  8 (8.00%) low severe
  7 (7.00%) high mild
  3 (3.00%) high severe

iter_ones/all_ones      time:   [2.0885 ms 2.0905 ms 2.0926 ms]
                        change: [-0.4081% -0.1119% +0.1445%] (p = 0.46 > 0.05)
                        No change in performance detected.
Found 16 outliers among 100 measurements (16.00%)
  3 (3.00%) low severe
  1 (1.00%) low mild
  9 (9.00%) high mild
  3 (3.00%) high severe

Benchmarking iter_ones/all_ones #2: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 5.7s, enable flat sampling, or reduce sample count to 60.
iter_ones/all_ones #2   time:   [1.1291 ms 1.1310 ms 1.1326 ms]
                        change: [-0.8895% -0.5608% -0.2625%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
  1 (1.00%) low mild
  2 (2.00%) high mild

insert_range/1m         time:   [2.5106 µs 2.5169 µs 2.5222 µs]
                        change: [+12.591% +19.891% +26.866%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 19 outliers among 100 measurements (19.00%)
  15 (15.00%) low severe
  2 (2.00%) high mild
  2 (2.00%) high severe

insert/1m               time:   [382.28 µs 382.83 µs 383.78 µs]
                        change: [-2.1876% -2.0004% -1.7855%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
  3 (3.00%) high mild
  5 (5.00%) high severe

intersect_with/1m       time:   [2.7413 µs 2.7423 µs 2.7437 µs]
                        change: [-0.4427% -0.2778% -0.1140%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) high mild
  2 (2.00%) high severe

difference_with/1m      time:   [2.7610 µs 2.7674 µs 2.7770 µs]
                        change: [-0.3222% +0.1216% +0.5720%] (p = 0.59 > 0.05)
                        No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
  1 (1.00%) high mild
  3 (3.00%) high severe

union_with/1m           time:   [2.7567 µs 2.7603 µs 2.7637 µs]
                        change: [-0.2862% -0.1305% +0.0254%] (p = 0.11 > 0.05)
                        No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
  7 (7.00%) high mild
  4 (4.00%) high severe

symmetric_difference_with/1m
                        time:   [2.7729 µs 2.7744 µs 2.7763 µs]
                        change: [+0.5935% +0.7573% +0.9161%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  3 (3.00%) high mild
  1 (1.00%) high severe

count_ones/1m           time:   [2.0761 µs 2.0781 µs 2.0806 µs]
                        change: [+0.0409% +0.2089% +0.3783%] (p = 0.01 < 0.05)
                        Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
  1 (1.00%) low mild
  1 (1.00%) high mild
  1 (1.00%) high severe

clear/1m                time:   [595.17 ns 607.78 ns 619.59 ns]
                        change: [-3.0057% -1.0915% +0.8554%] (p = 0.31 > 0.05)
                        No change in performance detected.

Benchmarking grow_and_insert: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 6.2s, enable flat sampling, or reduce sample count to 60.
grow_and_insert         time:   [1.0632 ms 1.0644 ms 1.0658 ms]
                        change: [-0.3564% -0.1129% +0.0930%] (p = 0.34 > 0.05)
                        No change in performance detected.
Found 15 outliers among 100 measurements (15.00%)
  6 (6.00%) high mild
  9 (9.00%) high severe


Unable to download webpage

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl --verbose https://www.youtube.com/playlist?list=PL4sylQahxyeqyoREq2yFZrGpSuDghweSX
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/playlist?list=PL4sylQahxyeqyoREq2yFZrGpSuDghweSX']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.6 - Linux-3.13.0-85-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PL4sylQahxyeqyoREq2yFZrGpSuDghweSX: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol> (caused by URLError(SSLError(8, '_ssl.c:510: EOF occurred in violation of protocol'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 388, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1942, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 859, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

Can you watch the playlist in browsers? And did you use any proxies/VPNs?

Yes I can watch the playlist in browsers. Not using any proxy/VPN.

Could you try with newer Python versions? Python 2.7.11 or 3.x.

Sorry mis-closing.

I am also getting this error however youtube-dl was bundled with another application. How would I go about debugging this error?

Does the problem occur with a standalone installation?

No it's being run through another python script. The script is a bot that plays music to a voice chat service https://github.com/SexualRhinoceros/MusicBot/tree/review

In musicbot/downloader.py, remove 'quiet': True, and add 'verbose': True,

`[Command]<PHONE_NUMBER>35575296/Nerethos (*play https://youtu.be/C1pQxz5wzjQ)
[youtube] C1pQxz5wzjQ: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused b
y <HTTPError 503: 'Service Unavailable'>); please report this issue on https://y
t-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.or
g/update  on how to update. Be sure to call youtube-dl with the --verbose flag a
nd include its complete output.
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\sit
e-packages\youtube_dl\extractor\common.py", line 388, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\sit
e-packages\youtube_dl\YoutubeDL.py", line 1945, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 471, in open
response = meth(req, response)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 581, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 503, in error
result = self._call_chain(*args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 686, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 471, in open
response = meth(req, response)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 581, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 509, in error
return self._call_chain(*args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\url
lib\request.py", line 589, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
<class 'musicbot.exceptions.CommandError'>: ERROR: Unable to download webpage: H
TTP Error 503: Service Unavailable (caused by <HTTPError 503: 'Service Unavailab
le'>); please report this issue on https://yt-dl.org/bug . Make sure you are usi
ng the latest version; see  https://yt-dl.org/update  on how to update. Be sure
to call youtube-dl with the --verbose flag and include its complete output.`

Sorry its not that easy to read, it's just a copy/paste of the cmd window

"HTTP 503 Service Unavailable" is different from @rohitkumar07's case. (EOF occurred in violation of protocol) It looks like a temporary issue on YouTube-server side. Please open a new issue if the problem persists.
By the way, you can use code marks for raw texts. See https://guides.github.com/features/mastering-markdown/.

Sorry I didn't notice his error code, just the thread title. I'll open a new issue if I'm still having problems in a few days.
Thanks for the markdown info, I created my account to post this issue so I'm not familiar with it!

@rohitkumar07 Could you try:
curl -v "https://www.youtube.com/playlist?list=PL4sylQahxyeqyoREq2yFZrGpSuDghweSX"

I tried:
$ curl -v "https://www.youtube.com/playlist?list=PL4sylQahxyeqyoREq2yFZrGpSuDghweSX" > out.txt

The out.txt file is attached.
* Hostname was NOT found in DNS cache
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>...
* Connected to www.youtube.com (<IP_ADDRESS>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-ECDSA-AES128-GCM-SHA256
* Server certificate:
* 	 subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=*.google.com
* 	 start date: 2016-05-04 09:05:56 GMT
* 	 expire date: 2016-07-27 08:39:00 GMT
* 	 subjectAltName: www.youtube.com matched
* 	 issuer: C=US; O=Google Inc; CN=Google Internet Authority G2
* 	 SSL certificate verify ok.
> GET /playlist?list=PL4sylQahxyeqyoREq2yFZrGpSuDghweSX HTTP/1.1
> User-Agent: curl/7.35.0
> Host: www.youtube.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Strict-Transport-Security: max-age=604800
< P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=en for more info."
< X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
< X-Content-Type-Options: nosniff
< Content-Type: text/html; charset=utf-8
< X-Frame-Options: SAMEORIGIN
< Expires: Tue, 27 Apr 1971 19:44:06 EST
< Cache-Control: no-cache
< Date: Sat, 14 May 2016 16:34:57 GMT
* Server Ytfe_Worker is not blacklisted
< Server: Ytfe_Worker
< Set-Cookie: VISITOR_INFO1_LIVE=rrCnV1bQ1HM; path=/; domain=.youtube.com; expires=Fri, 13-Jan-2017 04:27:57 GMT; httponly
< Set-Cookie: PREF=f1=40000000; path=/; domain=.youtube.com; expires=Fri, 13-Jan-2017 04:27:57 GMT
< Set-Cookie: YSC=v5Qhi21MDNc; path=/; domain=.youtube.com; httponly
< Alternate-Protocol: 443:quic
< Alt-Svc: quic=":443"; ma=2592000; v="33,32,31,30,29,28,27,26,25"
< Accept-Ranges: none
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
<
{ [data not shown]
100  167k    0  167k    0     0   266k      0 --:--:-- --:--:-- --:--:--  266k
* Connection #0 to host www.youtube.com left intact

out.txt

Is youtube-dl still broken?

Seems to be working now. It was able to download the playlist.

OK closing.


[BP-1.10][16576][state backends] Fix the problem of wrong mapping between stateId and metaInfo in HeapRestoreOperation

What is the purpose of the change
cherry-pick FLINK-16576 to release-1.10
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run travis


ci: add cargo doc test

LGTM. a little confused why this passed CI, but did not pass cargo test. Is there different between cargo test and risedev test？

Maybe cargo nextest doesn't run doctests?

indeed. We may need a extra doc test in CI
Originally posted by @BowenXiao1999 in https://github.com/singularity-data/risingwave/pull/2503#issuecomment-1125886719

nextest not support default doc test. So we need to switch back to cargo test to test it.

is this a kind of bug？#bugbash

Can thedoc testalso be added to . /risedev check ? I've been screwed many times :)

Can thedoc testalso be added to . /risedev check ? I've been screwed many times :)

My consideration is that, risedev check should only check for most common issues (e.g. clippy, fmt, unit test) while not checking complicated and infrequent ones (sqllogictest, doc test). It's of low chance that people would get doc tests wrong, so I believe it's okay to leave it only running on CI. 🤣

My consideration is that, risedev check should only check for most common issues (e.g. clippy, fmt, unit test) while not checking complicated and infrequent ones (sqllogictest, doc test). It's of low chance that people would get doc tests wrong, so I believe it's okay to leave it only running on CI. 🤣

you are right, maybe it's because I have refactored too many issues in one breath before...


proper gif thumbnail creation

This PR fixes some issues with gif thumbnail creation - the color wasn't re-set to transparent between frames and a default palette was used, instead of the palette the gif itself used. In addition the position of each frame was also off, which is fixed.
Here is one such gif example:
source: https://files.sorunome.de/lyra/source.gif
before: https://files.sorunome.de/lyra/before.gif
after: https://files.sorunome.de/lyra/after.gif
(before and after are different sizes because i derped (forgot that one server had that one thumbnail size disabled), but you should see the difference still)

Looks great! Thanks again.


L515 seems to be unrecognized in Unity

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
Surfacebook 2

SDK Version
2

Language
unity 2021.2.14

Segment
PC

Hi - I'm setting up an L515 to use in a Unity project and when I press play on the Start Here scene it waits for a moment and then displays "Connect a RealSense Device." I have the device plugged into my laptop and tested it in the RealSense Viewer and it is recognized and works fine. I've entered the serial number in the Unity Start Here scene, but the scene still acts as though it's not there. Have I missed something? Thanks!

Hi @nataliesettles  I tested the Unity wrapper with an L515 with firmware <IP_ADDRESS> on RealSense SDK version 2.51.1 and Unity 2021.1.16f1.  I did not experience any problems with running the StartHere scene that generates an on-screen list of sample programs when run in the Unity editor.  It is not necessary to enter the L515's serial number in order for the scene to work.
Which RealSense SDK version are you using, please?
Are you running the StartHere scene with the small triangular play button at the top of the Unity editor window?  That is what I recommend instead of performing File > Build and Run.
Please also try unplugging the micro-sized end of the USB cable from the base of the L515 camera, reversing the connector's orientation and plugging it back into the L515 camera, please (USB-C cables are two-way insertion at the micro-sized end). Does doing so make any difference to the camera's ability to be detected by the StartHere scene?

Hi @MartyG-RealSense - thanks! Unity now recognizes the device, but there is now a new issue:
What does work:
Turns out it was the serial numbers that were getting in the way - thanks for the heads-up about this. Once I deleted them Unity was able to recognize the device. I also tested the cable, but it was already in the correct position because when I turned it the device stopped working in RealSense Viewer.
What doesn't work:
Now I get only one option in the Start Here scene menu, and when I click on it I get an error. See the screenshots attached below.
SDK Version:
Looking at the contents of the Unity package I downloaded from the RealSense site and imported into Unity I believe it is SDK 2.0. Is there a place to confirm this in the package contents other than the name of the folder?

It's great to hear that you made significant progress!
I experienced the Component at index 2 error myself and the scene still ran successfully, so that is not likely to be a significant problem.
Did you install the RealSense SDK on your Windows computer using the Intel.RealSense.SDK-WIN10 installer program from the 'Assets' file list of a particular SDK version on the 'Releases' page at the link below?
https://github.com/IntelRealSense/librealsense/releases
If you did install the SDK using this method, did you then return to the Assets file list for the same SDK version that you installed and download the Intel.RealSense.unitypackage file from the list?

A bit more progress this time as well, but still not quite working.  I hadn't run the Intel.RealSense.SDK-WIN10 installer program, but did have the corresponding unity package installed. I've now run the installer, restarted Unity and these are the results:

I was able to replicate your problem with only the Point Cloud Processing Blocks (Depth) example being listed if I inserted the L515 into a USB 2 port on my computer.  When the camera was inserted into a USB 3 port, the full list of examples was available.

The camera is plugged into one of the two USB 3 ports. Do you have any ideas about how to address potential mis-detection? Here is what I see in the Device Manager.

You could launch the RealSense Viewer tool and look at the number beside the camera name at the top of the Viewer's options side-panel.  If the number is '2.1' then the camera is being detected by the RealSense SDK as a USB 2 connection and if it is '3.1' or '3.2' then it is being detected by the SDK as a USB 3 connection.

Does the full list of programs appear if you unplug the camera from the USB port, wait a couple of seconds and then re-insert the connector into the port with a firm, quick motion and run the Start Here scene (a slow insertion may cause a USB 2 mis-identification).
You could also try running the example programs individually instead of through the Start Here scene list by navigating to the RealSenseSDK2.0 > Scenes > Samples folder and launching one of the sample scene files such as TexturesDepthAnd Infrared.unity

How long have you had the camera since purchase?  If an L515 can never achieve USB 3 mode and reversing the USB connector orientation does not change this then it can be an indication of a hardware fault inside the camera, in which case you may be able to return it to the retailer that you purchased it from.
Will any of the individual sample scenes in the Samples folder run if the camera is being detected as USB 2.1?

No - nothing runs on it. My hardware contractor gave it to me for free to see if I could get it working. I'll see how long ago he bought it. Now that we know it's likely faulty he may just want to return it. Thanks for your help.
BTW, I did find this similar thread, but after some research determined that my laptop is not involved in the controller issue @ofl1 eventually identified.

Thanks very much.  Yes, the original purchaser of the camera (likely the hardware contractor) would have to return it.

Thanks for your time and help on this - best wishes!

Hi @nataliesettles  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Parsing Mountinfo to get information not in mountstats

As @SuperQ said here, I've added parsing for mountinfo to procfs, along with test cases for it.

@pgier Can you take a look at this?

This looks good to me but it's up to @pgier or @SuperQ to give a more authoritative review

@pgier Thanks for the feedback! I've modified the code to bring them in line with your suggestions.

@SuperQ I've made the changes as you requested! Thanks for the feedback.

@SuperQ Do you think the PR is in an acceptable state right now?

@SuperQ Gentle reminder! :)

@pgier I am currently using the changes in this PR in my own fork of node_exporter (by replacing the procfs module in the vendor/ folder), and would like to create a PR for that too.
I was hoping that could create a new release of procfs with these changes included, so that there wouldn't be an issue with the modules in node_exporter. Are you planning to do so?

@dipack95 I'd like to get a couple more PRs merged and then I'll tag a new release probably some time next week.


Packages with "." in their names

Pdoc is erroring out while generating documentation for packages having "." in their names, like examples,
scp-0.5.1
six-1.9.0
anyone else facing same issue ? is this need to be fixed ?

Please provide the output that you get.


Avoid Druid Broker Bottleneck

Eliminate broker as bottleneck in cases where large amount of data needs to be pulled out from Druid for subsequent processing in spark. One possible solution is to talk directly to Historical nodes.
For example:
SELECT c_name,
bal,
sales_prospects_amount
FROM   (SELECT c_name,
Sum(c_acctbal) bal
FROM   orderlineitempartsupplier
GROUP  BY c_name
HAVING Sum(c_acctbal) > 1000)r1
JOIN (SELECT cname,
Sum(sales_prospects_amount) AS sales_prospects_amount
FROM   sales_leads
GROUP  BY c_name) r2
ON r1.c_name = r2.cname

+1

fixed with aae401f45e2d84643d74e076a4ae8042ff0452bd
set queryHistoricalServer = true,
see examples in HistoricalServerTest


🐛 rquest-omop-worker pandas dependency tries and fails to use numpy 2.x

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Using recently published container images or building / running from source, rquest-omop-worker's pip install will install numpy 2.x (breaking changes vs 1.x) which will not work with the current codebase. This is due to pandas not constraining the version of its numpy dependency.
error:
Traceback (most recent call last):
  File "/usr/local/bin/rquest-omop-worker", line 5, in <module>
    from scripts.worker import main
  File "/usr/local/lib/python3.10/site-packages/scripts/worker.py", line 7, in <module>
    from rquest_omop_worker import query_solvers
  File "/usr/local/lib/python3.10/site-packages/rquest_omop_worker/query_solvers.py", line 5, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.10/site-packages/pandas/__init__.py", line 22, in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev
  File "/usr/local/lib/python3.10/site-packages/pandas/compat/__init__.py", line 15, in <module>
    from pandas.compat.numpy import (
  File "/usr/local/lib/python3.10/site-packages/pandas/compat/numpy/__init__.py", line 4, in <module>
    from pandas.util.version import Version
  File "/usr/local/lib/python3.10/site-packages/pandas/util/__init__.py", line 1, in <module>
    from pandas.util._decorators import (  # noqa:F401
  File "/usr/local/lib/python3.10/site-packages/pandas/util/_decorators.py", line 14, in <module>
    from pandas._libs.properties import cache_readonly  # noqa:F401
  File "/usr/local/lib/python3.10/site-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
  File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Expected Behavior
rquest-omop-worker should work correctly, and not error due to changes in numpy's API.
Steps To Reproduce

pull the latest docker image of hutchstack/rquest-omop-worker
Prepare an input json for a distribution or availability query
Prepare a .env file with DB connection details
Run the image with the prepared files e.g.:

sudo docker run -v .:/var/opt/worker --env-file .env -it hutchstack/rquest-omop-worker rquest-omop-worker -d --body /var/opt/worker/input.json -o /var/opt/worker/output.json

Environment
- OS: Fedora 40, Ubuntu 22.04

I'm part of a Project Team
DRS
Anything else?
The fix is to add an explicitly versioned numpy dependency, per: https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from
Are you willing to contribute to resolve this issue?
✅ Yes, me or my team intend to do the development.

confirmed fixed by #53


add more metadata to setup

convert README.md to ReST using m2r converter
This provides more description on PyPI

Coverage remained the same at 100.0% when pulling d156b1490e0d6177b4441def1678f988c6b48403 on termim:metadata into cb44fd2f550d7f354bf45903b57f59e628984188 on glyph:master.

It went OK, and we now have a beautiful formatted doc in the PyPI description: https://pypi.org/project/Automat/0.5.0/ https://pypi.python.org/pypi/Automat


enable STRICT_DUPLICATE_DETECTION in Jackson parser

Ready for review.

WDYT? @gracekarina @frantuma

Hi @sullis Thanks for this PR, I have to test this with the dependant projects before merging.

Let me know if I need to write additional unit tests. I am happy to contribute. @gracekarina

@gracekarina  when do you plan to release [swagger-parser] 2.0.17?

Hi, probably mid january

See the same change for Yaml parser: #1313


Can‘t disconnect on Android Stidio 2.2.3

Can‘t disconnect on Android Stidio 2.2.3

It works on my IDE, Android Studio 2.2.3

Can‘t disconnect on Android Stidio 2.3.3


Booru.org subdomains - some tokens are not saved in a separate log

Bug description
Some tokens are not saved to a separate log. These are %general%, %date% and %source%. This happens both during batch and manual (individual) download.
Steps to reproduce

Go to Tools --> Options --> Save --> Separate log files
Click on 'Add a separate log file' and fill it with desired tokens (%artist%, %date%, %source%, etc)
Save the options
Choose a booru subdomain from the sources - <some_booru>.booru.org
Click get this page
Go to Downloads tab and click Download button
Once the batch is finished, go to the save folder, open a log file
There are empty lines where there should be information from tokens

Expected behavior
The information should be there, but it's not.
Context
All 3 files in the attachment
main.log
restore.log
settings.log
I changed extensions of restore.igl and setting.ini to log, cause GitHub nagged that it doesn't support these formats.
System information

OS: Ubuntu 18.04 (64bit)
Grabber version: 6.0.5

I'll close this issue as a duplicate of #1428 since they're the same issue (just applied to different sources).
I'll comment on the other one too 😄


Make copy of temporary variable returned by Geotransforms

Thanks for the pull request @joseph-kaile!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!
Maintainers, here's how to check for a submitted CLA.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.


Add location model + search endpoint

As part of the registration process, we want to allow the user to search through the list of available parishes and select their one. The plan is to create a model + view in the API that allows searching the available parishes.

@KaitCrawford Ready for review.


Lower z-index values

Is your feature request related to a problem? Please describe.
Leaflet uses z-index values that are extremely high by default (500-1000).
This means in any application, if you want to display something over leaflet (like a dialog), you need to set a z-index higher than 1000, this is not ideal.
The user does not want to have leaflet at the top of all other elements.
Describe the solution you'd like
Lower the values of Leaflet z-index usage.
e.g:
1000 becomes 100 or 10.
500 becomes 50 or 5.
Describe alternatives you've considered
No alternatives.
Additional context
Example of the issue:
https://i.imgur.com/xNkGz0v.png
In this screenshot, leaflet appears over a modal/dialog and its backdrop because the z-index of leaflet is set to 1000.

No; the approach then is to set a z-index in the map's container, in order to keep track of the different stacking contexts. The z-index values of the map panes inside the stacking context of a map container are independent of the z-index values of the map container itself in an outer stacking context.

Thanks @IvanSanchez , I did not know about the stacking context.
My bad! Everything works fine with your approach.


Is the SQL single server deadline Nov 2024 or Mar 2025?

The single server retirement page states that it will be supported until March 28, 2025.
However, the answer to "Can I still create a new version 11 Azure Database for PostgreSQL - Single Server after the community EOL date in November 2023?" states:

Beginning November 30 2023, you'll no longer be able to create new single server instances for PostgreSQL version 11 through the Azure portal. However, you can still make them via CLI until November 2024.

The linked page also states that version 11 will only be supported until Nov 9 2024, but single server does not support any newer versions.
I'm confused whether we can continue to use single server version 11 between Nov 2024 and Mar 2025?  Or does it mean that existing servers will continue to run but we can't create new ones even with the CLI?  (We are planning migration to flexible server, but need to do some extra steps before it.)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: aa92b4e1-294c-223d-ca46-7c9efe76a692
Version Independent ID: 3715f7d5-f3fd-9cae-982f-116273e2bbbb
Content: What's happening to Azure Database for PostgreSQL single server?
Content Source: articles/postgresql/single-server/whats-happening-to-postgresql-single-server.md
Service: postgresql
Sub-service: single-server
GitHub Login: @markingmyname
Microsoft Alias: maghan

@plaa
Thanks for your feedback! We will investigate and update as appropriate.

March, 2025.
Thanks for bringing this to our attention.
The retirement date got moved.

#please-close


Update supported versions for 1.23 release

Please can you check that this is correct for the 1.23 release: @Semmle/cs, @Semmle/java.
I'll add a link to the relevant Sphinx output topic when Jenkins has built it.

Java change LGTM.


Conversion to BERT models always makes lowercase

The following line should respect Huggingface tokenizers argument do_lower_case
https://github.com/Hugging-Face-Supporter/tftokenizers/blob/79df92729fc5a26c23a86d0788576c235800b9e3/tftokenizers/detect.py#L45

Fixed with #14


Allow GUIDs as primary key instead of just numbers (and fix typings)

toNumber() is only used to parse IDs, so I recommend changing it to toPrimaryKey and also allow GUIDs.
also added the possibility to override the singularName or pluralName from the source Model
and fixed the misconfigured typings from https://github.com/vuex-orm/plugin-graphql/issues/158

Hi @timvandesteeg ,
thank you very much for your contribution! :)
Could you please provide tests for overwriting the singular/plural name and also for using GUIDs?

Added the tests :)
Compliments for this plugin by the way. Love the abstraction it provides!

Looks good :)
Thank you very much for the kind words. Would be nice when I'd have more time for this project :(

Releases as https://github.com/vuex-orm/plugin-graphql/releases/tag/v1.0.0-rc.42


Mention in the recap that the AND operator will still render cond

This pull request modifies the recap section in "Conditional Rendering" page.

Reasoning for this PR:
In the page the recap of conditional rendering with AND operator says:

In JSX, {cond && } means “if cond, render , otherwise nothing”.

while it is not always true. As we know, it will render nothing only if cond is one of null, undefined or "" (empty string).
I'm aware that previously the pitfall of putting numbers in AND conditional render is described very well, but I believe the recap should not be forgetting about it.
I fear that simplified thought in the recap is what will stay in one's mind leaving a conclusion that it's always fine to, almost with the muscle memory, use the AND to conditionally render.

I also allowed myself to edit the formatting, as I found the updated sentence being quite long, so having it in new line (I believe) improves the readability. Let me know what is your opinion.

Instead, what if we added a bullet point that says:

In JSX, {0 && <A />} renders "0", avoid numbers on the left side of &&.

I would vote for this ☝
My goal when making this PR was to make sure that in the recap we don't leave any inaccuracy, so this still would do.

I still don't think that is essential knowledge and this is a very intro post but I won't block it
another alt:
if cond is true, render <A />; if false, render nothing
this is perfectly correct (does not specify what happens in the non-true/false case) but comprehensible to someone who is not caring about it

Yeah I agree with @sophiebits I think the pitfall section is enough and this isn't necessary

Alright, so closing.
Thanks for the discussion 👍


Create a flag to block new bets and send default messages when finished or temporally closed

We have the /brb page, but that doesn't block attendees to send new bets.
It would be nice if we have a default messaging to send if the bet was finished or temporally closed.

Agree. We have two scenarios for this:

multi-days event: we need to ask people bet the next day
end of activation: it's not available anymore. It will look like a "thank you for interacting with us..."

Main issue here is how to handle multiple languages.

I'd suggest to simplicity to have only one general statement that fits both scenarios.
"The Wheel Of Twilio is currently closed. Feel free to talk to our staff" or so
In the end, the purpose is to stop accepting more bets and let people know. I think attendees will be able to figure out that the game might come back the next day if there is one. Or they would ask someone at the booth.
At least that's what I'd recommend for US/EMEA events but this could also be a small modification in the LATAM fork if you think you need it there.
Regarding the languages, the Wheel of Twilio is already localized. So you'd only need a new language file.
PS: Copilot does a really nice job translating strings :)


cross-validation curve

I was trying to monitor the TD_loss and rewards using tensorboard by launching it using this command:
sim> tensorboard logdir=./results
However, I couldn't see the validation curve with the testing. In other words, there is no summary writer in  rl-test.py that write  the summary [TD_loss, entropy, and reward]  of testing!
I can only see the summary [TD_loss, entropy, and reward] of learning from  sim/multi-agent.py.
How can I enable and show the cross-validation curve to monitor the model convergence?

Hi Hongzi,
I have updated the repo to support the training & testing curves on tensorboard.
It is now available at this repo: https://github.com/ahmad-hl/pensieve-py38
Should I fork your repo then provide the update in the forked one, or it is okay to keep it like this?


Bump OpenTelemetry Collector dependencies to v0.71.0

Looks like this needs invoke tidy-all and invoke generate-licenses, otherwise LGTM

I actually ran both of those and got no output. Let me try again. Sorry for the back and forth.


Display a list of the YFPR tweets on the main page

Using the Twitter API

Not replies
Only ones with GitHub links in them

Hey how can i work on this?

Hey @jk16. It's actually not possible to work on it right now as the Twitter API requires OAuth/Server Side authentication and this is just a static website hosted on GitHub. If we ever move to our own server (fairly unlikely in the short-term) then we can try and do this. Sorry about that! When I wrote the issue I didn't know that the Twitter API worked in that way.

I'll reopen this when we finally move away from GitHub pages?


Rename New func to avoid alliteration

Changes constructor to just New.
The example on the README called my attention since it repeated the name of the package on tempdb.NewTempdb.
This is kind of a stylistic change, not a real issue, so feel free to close this if you don't agree.

Hey @vdemario thanks a lot for you contribution ❤
I felt that was a bit verbose as well, pls feel free to always fork/open issues about any issue you may find or any enhancement,
Thx again!!


Linux AppImage stuck on blank white screen

When running the app using AppImage, it shows blank white screen. Since it uses Tauri for desktop clients instead of Electron, I can't access dev tools to get any logs. Also running from command line doesn't output anything.

I am running on Fedora Kinoite 37, KDE Plasma 5.26.5, Wayland.
P.S. This also happens on Arch Linux.

Hyprland(Wayland) and i3(X11) on arch linux also have this problem

Sorry for late reply over a year and a half.
I believe this is fixed by v1.11.1 (490c7f5e4cfc8dd80897fbaaa6c904cfe40b3bc1) by updating tauri to version 1.0.0.
However it seems that Ubuntu 20.04 is not supported anymore.


Send command to bot for farming by AppID

Is it possible to sent command to bot for farming specific game?
Such as send "!farm 227300" to my bots.
So I will can craft a badge for specific game faster.
Problem: I have 10 bots and each bots often farm different games.
Thanks.

I still need to think about that, because implementing such command may cause non-optimal situation because of used cards algorithm.

Nope, not something that I want to consider right now because of the need for altering card farming algborithms.


Too many console.log statements

With the latest change, there is a console.log statement every 1-2 seconds. There are just too many logs in the end in browser console.
Can this be changed back to original where it only logged when status changed?

Had to switch to polling because of browser support and firewall issues around web sockets.
What’s the issue caused by the logging?

On Sep 4, 2019, at 12:42 PM, jrattanpal<EMAIL_ADDRESS>wrote:
With the latest change, there is a console.log statement every 1-2 seconds. There are just too many logs in the end in browser console.
Can this be changed back to original where it only logged when status changed?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It's not a blocker.
It just adds too many statements. My computer (macbook air) is slow and all these messages make it even slower.
in our case, it took about 15-20 minutes for app to install. And there were all these messages every 1-2 seconds during that and that was too many.

this is fixed...only logs when something about the CDS changes.


Cannot display in PyCharm

Hi,
I try the code in terminal, and it works very well. However, when I run the code test_progress.py from PyCharm, nothing displays.

I got the solution.
Open menu: Run ->Edit Configurations and select "Emulate terminal in output console".