Cannot list installed apps

On 2.5-head - commit id: b2953cbccf

Install CIS v2 from Charts
Installed app is NOT available.
Error in console:

This should be fixed by rancher/dashboard#2034

On 2.5-head - commit id: baf4867cb5
Installed apps can be listed.


Mouse tweaks

Add mouse button support to events (didn't get a chance to fully test yet, implemented according to https://wiki.osdev.org/USB_Human_Interface_Devices).

@mtlynch Was already planning to poke at mouse support, but was happy to see you already got the hard work done. Pushing this PR in case helpful, but otherwise will wait until after your PR merges (thoughts on me adding touch support?).

Awesome, thanks!


[errarhiiv] Add new extractor (closes  #24434)

Please follow the guide below

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

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Resolves #24434.
Example URLs

Single video: http://arhiiv.err.ee/vaata/eesti-aja-lood-okupatsioonid-muusad-soja-varjus
Playlist: http://arhiiv.err.ee/seeria/eesti-aja-lood-okupatsioonid/info/0/default/koik

Ignore this pull request! I'm working on a better extractor that will eventually cover the whole err.ee subdomain and will render  this one (errarhiiv) obsolete anyway.


Switch from git:// to https:// for rebase hook

Starting from March 15, Github no longer supports unauthenticated access
using git:// protocol [1]. For our use-case inside rebase pre-commit
hook, switching to https:// over git:// shouldn't have any consequences.
[1] https://github.blog/2021-09-01-improving-git-protocol-security-github/
Signed-off-by: František Nečas<EMAIL_ADDRESS>TODO:

[ ] ‹fill in›

Fixes
Related to
Merge before/after

Hm, unrelated test failure?

yeah, we should disable those e2e tests since they are no longer relevant (now that many projects will stop using this)

https://github.com/packit/sandcastle/pull/165 should resolve the CI failure

merging this manually and will rebase mine instead


iOS: Firestore transaction fails with 'Transaction failed all retries'

Steps to Reproduce
Trying to run a very simple transaction, similar to the example in the cloud_firestore documentation (using v0.7.3):
    DocumentReference usernameDocRef =
        Firestore.instance.collection(_USERNAMES).document(username);

    await Firestore.instance.runTransaction((transaction) async {
      var snapshot = await transaction.get(usernameDocRef);
      if (!snapshot.exists) {
        await transaction.set(usernameDocRef, {
          _UsernamesKey.userid: _user.id,
        });
      }
    });

Logs
[+9301 ms] [VERBOSE-2:dart_error.cc(16)] Unhandled exception:
[        ] PlatformException(9, Transaction failed all retries., null)
[        ] #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:547:7)
[        ] #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:279:18)
[        ] <asynchronous suspension>
[        ] #2      Firestore.runTransaction (file:///Users/duncan/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.3/lib/src/firestore.dart:115:10)
[        ] <asynchronous suspension>
[        ] #3      FirebaseDataService.updateUsername (package:project/service/firebase_data_service.dart:308:30)
[        ] <asynchronous suspension>
[        ] #4      UsernamePresenter.usernameChosen (package: project/registration/username_presenter.dart:17:39)
[        ] <asynchronous suspension>
[        ] #5      _UsernameSelectionView.build.<anonymous closure> (package: project/registration/username_view.dart:64:43)
[        ] #6      OnePressButtonState._pressed (package: project/shared.dart:171:14)
[        ] #7      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:494:14)
[        ] #8      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:549:30)
[        ] #9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
[        ] #10     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161:9)
[        ] #11     TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:94:7)
[        ] #12     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:315:9)
[        ] #13     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12)
[        ] #14     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11)
[        ] #15     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:19)
[        ] #16     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
[        ] #17     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
[        ] #18     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
[        ] #19     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
[        ] #20     _invoke1 (dart:ui/hooks.dart:134:13)
[        ] #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:5)

flutter doctor -v
[✓] Flutter (Channel dev, v0.5.5, on Mac OS X 10.13.4 17E202, locale en-GB)
    • Flutter version 0.5.5 at /Users/duncan/git/flutter
    • Framework revision 020e0ef55c (8 days ago), 2018-06-14 13:17:08 -0700
    • Engine revision c3976b3c71
    • Dart version 2.0.0-dev.61.0.flutter-c95617b19c

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/duncan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 25.0.2
    • Dart plugin version 181.4668.60

[✓] Connected devices (1 available)
    • duncan_iphone • - • ios • iOS 11.4

• No issues found!

We are facing a similar exception while running on iOS, in andriod works fine.
LOG:
Exception has occurred. PlatformException (PlatformException(9, Transaction failed all retries.: Every document read in a transaction must also be written in that transaction., null))
Using cloud_firestore: ^0.12.9+2
DocumentReference docRef = Firestore.instance
      .collection('e')
      .document(escuelas.elementAt(indiceTemporal))
      .collection('o')
      .document(_userID);

Firestore.instance.runTransaction((Transaction transaction) async { // Exception is thrown
  DocumentSnapshot docSnapshot = await transaction.get(docRef);
  if (docSnapshot.exists){
    await transaction.update(docRef,{'x': DateTime.now()});//prueba para ios
    documentosPreorden.add(docSnapshot);
  }

We are facing a similar exception while running on iOS, in andriod works fine.
LOG:
Exception has occurred. PlatformException (PlatformException(9, Transaction failed all retries.: Every document read in a transaction must also be written in that transaction., null))
Using cloud_firestore: ^0.12.9+2
FLUTTER DOCTOR
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G103, locale es-MX)
• Flutter version 1.9.1+hotfix.4 at /Users/danielcastropineda/flutter
• Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at /Users/danielcastropineda/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.7.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 36.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] VS Code (version 1.39.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.5.1
[✓] Connected device (1 available)
• iPhone •... • ios • iOS 12.4.2
DocumentReference docRef = Firestore.instance
.collection('e')
.document(escuelas.elementAt(indiceTemporal))
.collection('o')
.document(_userID);
Firestore.instance.runTransaction((Transaction transaction) async { // Exception is thrown
DocumentSnapshot docSnapshot = await transaction.get(docRef);
if (docSnapshot.exists){
await transaction.update(docRef,{'x': DateTime.now()});//prueba para ios
documentosPreorden.add(docSnapshot);
}

Still getting this error on iOS as well. It crashes a physical iPhone 4s. Seems to be fine on Android

@el-mimoso @guit4eva If this is still an issue for you please open a new issue with the specific instance where you are seeing this.
Thanks!


"ksync init" and it's subcommands like "ksync init --upgrade" should not delete pods on the remote server without user confirmation.

Seems like ksync init and it's subcommands redeploy the ds/ksync Pods regardless of them  being present on the server or not.
As an end user my expectation was if the init has already been done and the bits are present on the server side, we don't need to un-deploy the Pods  and redeploy the same exact pods again.
Specially on relatively large or shared clusters this could be a pretty expensive operation with some unintended downtime.
Same argument holds for ksync init --upgrade. Meaning if no new version is available we should not un-deploy Pods on the server only to create same exact versions again.

@ashahba I see where your concern might be here, however this behavior is purposeful. The daemon set that runs the radar/syncthing portion of ksync is entirely stateless and designed to be blown away/reloaded at will. The upgrade process, if there is a new image, is to pull an update image and relaunch the same ds. It really doesn't hurt to reload it even if there isn't a new image. In addition, since it doesn't touch user data, and runs in the kube-system namespace, it should be relatively transparent to the end user.
I'm interested in hearing if you have other concerns around this through. We have considered adding a dry-run option #135 to some commands.

The only concern I have is the unwanted downtime when we know for certain that there is no new updated images available. But as far as user data I have seen any loss there.

I think if we see some problems we can revisit this, otherwise we'll keep it as is.


Fix layout of basic plan bundles(homepage)

issue #83

Hey, @arayush841 You got a merge conflict (from line 180)
Consider removing lines from 182 till 187 (both inclusive)


Handle mtl and texture absolute paths

Fixes https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/213
I confirmed that the tests fail if path.resolve is changed back to path.join.

This works well. My only comment here is I think we should consider setting --secure to be true by default. In general, we should always create tools that are secure by default.
I don't think that should be a big issue for users of this library, since I imagine OBJs with relative absolute paths aren't common, and getting the old behavior would just be a matter of setting --secure false.

I opened a separate issue for secure by default: https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/220
Is this one ok to merge?

Yup, this is good!


Fix lowercase method

There is currently a method called lowercase that lives in /lib/lowercase.js.
It is incomplete and needs to be fixed!
Acceptance Criteria:

Running yarn test lowercase results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

HI @BlakeGuilloud,
Happy to tackle this issue. Will add on skeleton method too.

You got it @Wulingoh ! Thanks a ton.


Improve scibite cord transform

This should fix the transform such that the output nodes and edges are entirely CURIEs.

Switching to draft. Need some more fine tuning

@justaddcoffee Thanks for pointing that out

NP! Oh, also, need to add that block I took out back to merge.yaml:
   SciBite-CORD-19:
      type: tsv
      filename:
         - data/transformed/SciBite-CORD-19/nodes.tsv
         - data/transformed/SciBite-CORD-19/edges.tsv

commit 7d808cbef1a2eee6209cef274cbd314025ed2056 runs great and to completion on my laptop

Looks good @deepakunni3 ! If possible, could we use a tempdir to unzip files, so data/raw stays pristine, so to speak?
I'll send a diff you can git apply on gitter, if you want


Make it easier to specify per-content Connect parameters

Right now, it's not possible to specify most parameters for the deployed content on Connect on a per-item basis, and the setup is a little confusing.
Perhaps it would be worth converting to a per-item format that could set more parameters:
with:
  my_app_1:
    dir: ./dir1
    title: My App 1
    access-type: all
    vanity: my_app_1
  my_app_2:
    dir: ./dir2
    title: My App 2
    access-type: acl
    allowed-users:
      - 1234
      - 5678

This was posted over three years ago. Is this likely to be implemented? Are there any alternative solutions?


Protect content

Hello, is it possible to protect the content by disabling the copy and paste options ...?

(I don't want to do so... but,)
You can prevent copying content somewhat by activating unaccessibilizer extension included in the package.


Suggest tag upgrade for power=cable_distribution_cabinet

It would be helpful if there was an outdated tag warning etc for power=cable_distribution_cabinet. The wiki suggests the tag be replaced with  man_made=street_cabinet + street_cabinet=power.
There's currently 9,261 instances of it. Including a bunch around where I live that an upgrade warning would help a lot with re-tagging.

Can you link to the wiki where they suggest this?
In my opinion, this one sounds dubious.  Power stuff previously always had a power=* tag.
Also, laypersons usually wouldn't know what's inside a street cabinet.  Many of these street cabinets with power stuff in them are probably just pad mounted transformers and switches, which would better be tagged as those things.

Can you link to the wiki where they suggest this?

Its on the power=cable_distribution_cabinet page here. There's a quick mention of it on the talk page also.

Power stuff previously always had a power=* tag.

Yeah, usually that's the case. I think it's different in this instance though because tagging it as street_cabinet=power instead of power=* allows for more details. in the power=substation article it suggests adding it to street_cabinet=power. Although, the suggestion to do so isn't also made in the man_made=street_cabinet article. So, I don't know. Street cabinets used for power are considered substations in my mind. So adding power=substation to them makes sense to me.

Also, laypersons usually wouldn't know what's inside a street cabinet.

I agree with you when it comes to most street cabinets. Electrical ones are pretty obvious though due to their size, shape, color, etc. Plus they usually have a thing on them with the volts and what electric company maintains them. Along with a shock warning. Although that might just be the ones where I live.

Let's not do this

Well, I confirm power=cable_distribution_cabinet was replaced by man_made=street_cabinet for the cabinet part.
It doesn't prevent to combine it with power=transformer or power=switch when appropriate.
cable_distribution_cabinet doesn't mean anything and should be discouraged in favor of man_made=street_cabinet + street_cabinet=power
I think we'll agree on this since it precisely prevents to use more appropriate values like transformer or switch.
utility=power should be considered as well to state it's power stuff.

Well, I confirm power=cable_distribution_cabinet was replaced by man_made=street_cabinet for the cabinet part.

What I'm saying is - up until recently, all power features have had a power=* tag and this was very helpful.  Actually I think it might be the only class of tags in OSM that was properly namespaced under a single tag key.  Check it out, this is our code for detecting power features:
https://github.com/openstreetmap/iD/blob/857903129896aa92bbe8c101dc57a8d8b4656f28/modules/renderer/features.js#L198-L200
Switching to man_made=street_cabinet messes this up and it introduces an ambiguity between many different kinds of things that can be in street cabinets. If we want to hide or show power features, we need to include extra tags into how our software classifies power features.  From my point of view, it's like you just took the one good key in OSM and broke it for no good reason.  Would you consider switching it back?

cable_distribution_cabinet doesn't mean anything and should be discouraged in favor of man_made=street_cabinet + street_cabinet=power
I think we'll agree on this since it precisely prevents to use more appropriate values like transformer or switch.

"doesn't mean anything"?  There are over 8000 of them!

utility=power should be considered as well to state it's power stuff.

No, power=* states that it is power stuff and always has.  Again, please preserve this convention.

I'm reading https://wiki.openstreetmap.org/wiki/Proposed_features/Street_cabinet surprised that people voted for this.
(This reminds me a lot of that other conversation about measuring trees by their circumference instead of their diameter.)
Like, there are a few things in the world that I know a lot about, and I feel like in each case OSM has voted to adopt tags that work against the way that people in those industries think about those features.
A pad mounted transformer or switchgear is not a "street cabinet" in the same way that a telecom service area interface or distribution frame is.  They are very different things that happen to be located in street cabinets.  The cabinet is not even the important thing.

Well, I confirm power=cable_distribution_cabinet was replaced by man_made=street_cabinet for the cabinet part.

What I'm saying is - up until recently, all power features have had a power=* tag and this was very helpful. Actually I think it might be the only class of tags in OSM that was properly namespaced under a single tag key.

That will be preserved:
One motivation of man_made=street_cabinet is to free power=* key for features that are directly involved in power infrastructure. The cabinet doesn't transform, transmit or cut power while the switch inside does.

Switching to man_made=street_cabinet messes this up and it introduces an ambiguity between many different kinds of things that can be in street cabinets. If we want to hide or show power features, we need to include extra tags into how our software classifies power features.

Wrong assumption : introducing man_made=street_cabinet didn't encourage to remove power=* from features. The point is only to use it with more meaningful values and generalize concept of cabinet for mappers who are not interested in industrial or power stuff (also important to improve contribution)

From my point of view, it's like you just took the one good key in OSM and broke it for no good reason. Would you consider switching it back?

cable_distribution_cabinet doesn't mean anything and should be discouraged in favor of man_made=street_cabinet + street_cabinet=power
I think we'll agree on this since it precisely prevents to use more appropriate values like transformer or switch.

"doesn't mean anything"? There are over 8000 of them!

This value has two main problems:

People were using ''cable_distribution_cabinet'' for pretty anything: small substations, domestic connection boxes, traffic lights controllers. Data was useless in such circumstances and many more documented terminology was required to encourage people to give more details.
Having cable_distribution_cabinet in power may encourage to define cable_transmission_cabinet, cable_switching_cabinet, power_transforming_cabinet, power_holy_grail_cabinet. It's bad because it's more sentences than words. And when there are several words, several tags are often necessary to get better semantics.
"A power switch inside a cabinet" got a better translation with man_made=street_cabinet + street_cabinet=power (or utility=power) + power=switch than power=my_beautiful_cabinet_with_switch_inside (exaggerated on purpose)

utility=power should be considered as well to state it's power stuff.

No, power=* states that it is power stuff and always has. Again, please preserve this convention.

utility=* was introduced for markers. (marker=*).
It's not properly power stuff, all power devices/facilities will remain in power, no problem with that.
Markers aren't involved in what they are supposed to warn about. It's not a pipeline accessory, a power line/cable accessory or a telecom device. They're not fulfilling any service (instead of a transformer, switch, valve...).
I completely agree it's convenient to have all power devices/networks under the same key and it's also important to preserve consistency.

Like, there are a few things in the world that I know a lot about, and I feel like in each case OSM has voted to adopt tags that work against the way that people in those industries think about those features.

Mainly because all of those industries work in silos without looking how things run elsewhere (rude but try to change my mind).
OSM is an opportunity to produce semantics that bring comparability, versatility and generic concepts.
I currently work for a software development company that provide optimization software to utilities network operators. Be sure everyone has its own data model, no one can take benefit of any progress without huge and costly efforts. Is that desirable ? I don't think so.

A pad mounted transformer or switchgear is not a "street cabinet" in the same way that a telecom service area interface or distribution frame is. They are very different things that happen to be located in street cabinets. The cabinet is not even the important thing.

I agree that street_cabinet could have been cabinet only as to save us street focus.
Depends on who is interested in the data.
Cabinets become the important thing when a disabled person in wheelchair have to go down from pavements each time cabinets are too big to pass beside.


Incorrect redirection of activity feed hyper link

Activity feed hyper link redirects to Conversation basics which is an incorrect redirection. It should redirect to Send activity feed notifications to users in Microsoft Teams - Microsoft Graph | Microsoft Learn.
Please change Activity feed hyper link to Send activity feed notifications to users in Microsoft Teams - Microsoft Graph | Microsoft Learn.

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

ID: ba4f5720-3eb2-fe1d-472e-497d1449f97b
Version Independent ID: eaa22434-4691-77e2-8905-bf6d7e9e0bef
Content: Overview for using Microsoft Teams, Shifts, and Viva Learning to foster teamwork - Microsoft Graph
Content Source: concepts/teams-concept-overview.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @nkramer
Microsoft Alias: MSGraphDocsVteam

@surbhigupta12 - Could you please help to update the above hyperlink.

Updated the document through PR https://github.com/microsoftgraph/microsoft-graph-docs/pull/22808.

Closing this as the doc has been updated.


Own reactions are not filtered out correspondingly

Hi guys! I'm observing some weird behavior with ownReactions using the latest java client lib. For some reason all reactions are sown as my own reactions despite they're made by other users. Attaching a code snippet:
public static void main(String[] args)throws MalformedURLException, StreamException,ExecutionException, InterruptedException {
        var key = "";
        var secret = "";
        Client client =  Client.builder(key, secret).build();

        // lets say I follow Mark
        var userMark = client.flatFeed("user", "mark");
        var timeline = client.flatFeed("timeline", "me");
        timeline.follow(userMark).get();

        // Mark publishes some post
        var activity = Activity.builder()
            .actor("mark")
            .verb("publish")
            .object(String.join(":", "post", "mark_awesome"))
            .time(new Date())
            .build();
        var postId = userMark.addActivity(activity).thenApply(Activity::getID).get();

        // I, Mark and someone else liked that post
        var myReaction = new Reaction.Builder()
            .kind("like")
            .activityID(postId)
            .userID("me")
            .build();
        client.reactions().add("me", myReaction).get();

        var markReaction = new Reaction.Builder()
            .kind("like")
            .activityID(postId)
            .userID("mark")
            .build();
        client.reactions().add("mark", markReaction).get();

        var someFellowReaction = new Reaction.Builder()
            .kind("like")
            .activityID(postId)
            .userID("fellow")
            .build();
        client.reactions().add("fellow", someFellowReaction).get();

        // and finally I wanna see the post with a reactions assuming
        // that `own reactions` is gonna be one like I made
         var ownReactions = client.flatFeed("timeline", "me")
             .getEnrichedActivities(new Limit(1), new Offset(0),
                 new EnrichmentFlags().withRecentReactions().withOwnReactions().withReactionCounts())
             .thenApply(activities -> activities.stream().findFirst().get())
             .thenApply(EnrichedActivity::getOwnReactions).get();
         // expect to see one reaction instead of actual three
         System.out.println(ownReactions.get("like").size());
    }

The actual response I got:
[
   Reaction   {
      id=c159d93e-18c2-4621-b43c-e39ba0799406,
      appID=null,
      kind=like,
      userID=fellow,
      activityID=d829d530-28c5-11ea-8080-800055dc4c6b,
      parent=,
      ownChildren=null,
      latestChildren={

      },
      childrenCounts={

      },
      userData=null,
      activityData={

      },
      extra={
         updated_at=2019-12-27T16:27:59.531212Z,
         created_at=2019-12-27T16:27:59.531212Z
      }
   },
   Reaction   {
      id=4160a90d-01a5-4656-8c1c-776d26069f30,
      appID=null,
      kind=like,
      userID=mark,
      activityID=d829d530-28c5-11ea-8080-800055dc4c6b,
      parent=,
      ownChildren=null,
      latestChildren={

      },
      childrenCounts={

      },
      userData=null,
      activityData={

      },
      extra={
         updated_at=2019-12-27T16:27:59.391021Z,
         created_at=2019-12-27T16:27:59.391021Z
      }
   },
   Reaction   {
      id=67e81610-3adb-4235-abe5-614e898d297b,
      appID=null,
      kind=like,
      userID=me,
      activityID=d829d530-28c5-11ea-8080-800055dc4c6b,
      parent=,
      ownChildren=null,
      latestChildren={

      },
      childrenCounts={

      },
      userData=null,
      activityData={

      },
      extra={
         updated_at=2019-12-27T16:27:59.235449Z,
         created_at=2019-12-27T16:27:59.235449Z
      }
   }
]

@Nekuromento can you provide more information on this? AFAICT the code is not including the ID for the current user (if that's correct the APIs should not return anything for own_reactions)

@tbarbugli The userId is set during timeline instantiation:
var ownReactions = client.flatFeed("timeline", "me")

https://github.com/GetStream/stream-java/blob/388c70d06ff1f104b6cdde3a200f640da0d4b1be/src/main/java/io/getstream/client/Client.java#L190-L192
And getEnrichedActivities methods signature don't support passing current user ID to the  api

Actually switching to CloudClient resolves the issue. Will go with that workaround


Max runtimes

Baron seems to apply 500s time limit by default on larger NLPs. Couldn't locate where this limit was chosen in Baron.jl. Also I do not have sum.lst file in the Baron's folder, where these user-defined parameters can be entered. So, was wondering if is this to do with Baron's default solver options or is Baron.jl applying this time limit while creating the .bar file?

We shouldn't be setting a time limit by default from BARON.jl. Looking at the BARON manual, there appears to be a MaxTime parameter that defaults to 1000 seconds, so you could try changing that.
Feel free to reopen if there's something actionable at the julia level.

@joehuchette Thanks! MaxTime parameter works. I was just wondering where the 500s default limit was getting applied to Baron in the Julia level.

Agreed that the 500 is unexpected, I’d guess maybe it’s either 1) you’re using an older version of BARON and they’ve since changed the default, or 2) they use a different (shorter) time limit for subproblems.

@joehuchette Its probably (2) as I have the most recent version of Baron. Good that 'MaxTime' addresses the issue. Thanks!


Test failures on node 4.2.6

They look to be related to my bosco dir migration code.
From @cliftonc:
Some of the 'bosco' tests don't pass - but no idea what they do - @geophree ?
1) bosco config folder should default to dot-dir for config on not-linux:
     Error: expected '/Users/ccunningham/.bosco' to equal '/my/home/.bosco'
      at Assertion.assert (node_modules/expect.js/index.js:96:13)
      at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
      at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
      at Context.<anonymous> (test/bosco.test.js:72:68)

  2) bosco config folder should call migrate with correct args:
     ExpectationError: Unexpected call: _migrateConfig(/Users/ccunningham/.bosco, /my/home/.config/bosco)
    Expected _migrateConfig(/my/home/.bosco, /my/home/.config/bosco[, ...]) once (never called)
      at Object.fail (node_modules/sinon/lib/sinon/mock.js:449:33)
      at Object.invokeMethod (node_modules/sinon/lib/sinon/mock.js:181:35)
      at Bosco._migrateConfig (node_modules/sinon/lib/sinon/mock.js:89:43)
      at Bosco.findConfigFolder (index.js:9:18730)
      at getConfigDir (test/bosco.test.js:39:22)
      at Context.<anonymous> (test/bosco.test.js:79:7)

  3) bosco "after each" hook for "should call migrate with correct args":
     ExpectationError: Expected _migrateConfig(/my/home/.bosco, /my/home/.config/bosco[, ...]) once (never called)
      at Object.fail (node_modules/sinon/lib/sinon/mock.js:449:33)
      at Object.verify (node_modules/sinon/lib/sinon/mock.js:129:39)
      at each (node_modules/sinon/lib/sinon/collection.js:34:33)
      at Object.resolve [as verify] (node_modules/sinon/lib/sinon/collection.js:50:17)
      at Object.verifyAndRestore (node_modules/sinon/lib/sinon/collection.js:66:26)
      at Context.<anonymous> (test/bosco.test.js:22:26)

Looks like this is a node version issue.  Fine with v0.10.38, but breaks with v4.2.6.


升级paddlenlp-2.2.1后的问题

paddlenlp-2.0.7 ->paddlenlp-2.2.1
paddlepaddle-gpu 2.1.0.post112 -> paddlepaddle-gpu 2.2.0.post112
因为运行环境是docker镜像，镜像在运行的环境有可能没有gpu。
以前的cpu环境上安装paddlepaddle-gpu，执行时是警告。
升级后因为找不到GPU直接终止程序，希望还是保持继续使用cpu执行。
/usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:696: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
  collections.MutableMapping.register(ParseResults)
/usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:2273: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
  elif isinstance( exprs, collections.Sequence ):
/usr/lib/python3/dist-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
/usr/local/lib/python3.7/dist-packages/paddle/fluid/framework.py:312: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
  "You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default."
E1221 02:47:28.297333    78 pybind.cc:1566] Cannot use GPU because there is no GPU detected on your machine.

add device_id paramter,  the error is gone
ner = Taskflow("ner", device_id=-1)


what features are supported?

what's missing?

Most of the WebAuthn specification has been implemented, so both attestation and assertion should be working.
The only two TODOs in the code right now for missing parts of the spec are Token Binding (7.1, step 6), which doesn't seem to be supported by Chrome and checking sign counting (7.2, step 17). Unfortunately, I do not have an authenticator myself and used Krypton to test everything, which does not seem to support this part.
The other part of the spec that is missing is support for more Token Attestation Formats. Right now only FIDO U2F is supported, which does seem to be the most common. It is quite hard to test other formats without access to them, as that would probably require first replicating the signing procedure correctly.
I do have access to the Android SafetyNet format using Chrome Canary on Android, but unfortunately it doesn't set the User Present flag, which means it won't even get to format validation.
All other parts of the spec should be present. So, it can be used already because it does seem that the FIDO-U2F format is the most common format, implemented by most authenticators.

is it possible to use a smartphone as authenticator?

Yes, fingerprints are supported on the latest Chrome on both Android and iOS. I haven't tested other browsers.
It is also possible to use Krypton to use your mobile phone as an authenticator for your desktop.

I don't want to force to install third party apps, my idea was to use webauthn + QR following whatsapp web model, but I guess it does not respect the standard, right?

I don't think that's the intended purpose of WebAuthn, so I don't think it's supported.

Update for completeness: it seems like TouchID is not supported using Chrome (see #9) nor Safari (the protocol announced is apple).

Update for completeness: it seems like TouchID is not supported using Chrome (see #9) nor Safari (the protocol announced is apple).


how can i solve this problem

i am using the microbit
i took the github library by extension mode. but i can see the only this sign
microbit is Just showing X(LED) .
how can i solve this`?

This is the I2C initialization failed prompt. There is no problem with the program.When you download the program and connect to huskyles, it will show successm.The mode setting also has the same prompt。

Thanks! I'll try!


duplicate check for github usernames in registry.yaml

fix #108

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I enforce Fatih's suggestion

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I enforce Fatih's suggestion

@esau-morais what do you mean by that?

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I enforce Fatih's suggestion

@esau-morais what do you mean by that?

I'm just agreeing that it'd would be great to apply your suggestion

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I can move it to a separate function. I would love to write to tests !
Test scenarios can be as follows;

correct scenario, 2 different github usernames, 2 different domains
wrong scenario, 2 same github username, 2 different domains

Is there a test written for CI Script as an example in this repository?

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I enforce Fatih's suggestion

@esau-morais what do you mean by that?

I'm just agreeing that it'd would be great to apply your suggestion

Thank you. I wasn't sure whether you were applying the suggestion or just supporting the idea. Thanks for the explanation

@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you

I can move it to a separate function. I would love to write to tests !
Test scenarios can be as follows;

correct scenario, 2 different github usernames, 2 different domains
wrong scenario, 2 same github username, 2 different domains

Is there a test written for CI Script as an example in this repository?

No, but I will set it up in a few hours

I see that you already did 🚀

I separated my function, also  I created  a separate file for my function. Because If I try to import the "check-registry" file, main() function is working and gives an error. So I created a new folder for registry file related checks then I put my script into it.
I installed the jest package.
I create a GitHub workflow file for when "ci" folder changes, it will run all tests under "ci" folder. idk is working or not; In my local I tried with "act" command (local github workflow simulator) and it seems ok

oh i forget to add pull_request in workflow file...

oh i forget to add pull_request in workflow file...

I fixed it now. I am merging it. Thank you


Is there any way i can add a suggested code from keyboard to fill this all text fields.

Hello,
i have been trying to add the otp i got from a service and since iOS 12 its possible to show that sms otp into keyboard suggestion. so we can just tap that and otp field will be filled with provided data.

Hi @ffahadMalikk ,
If you're talking about OneTimeCode then, YES, you can achieve this by adding this to your code.
otptextField.textContentType = .oneTimeCode

Hi @Root-vb thank you for your response. but actually i am asking for like auto fill password. As from iOS 12 apple allows you to read verification code from sms and show suggestion on keyboard and typing that will set the code. I want this to control manually like is there any kind of approach  using which i can set a string of 4 digits to fill the textfields in the view.

Hey @ffahadMalikk, If you add this to your code,
otptextField.textContentType = .oneTimeCode

Using this you can do exactly like the screenshot. Rest I didn't get your,

I want this to control manually

part.

I have a numeric string for 4 characters and i want to set that string to code view. My scenario consists of a case when i have a string from API and on tap of a button i want to fill the OTPview with that string.

@ffahadMalikk No, for now you can't. But that's something important that went unnoticed. I'll surely look into it soon. If you have anything that can help, please submit a PR. Any contribution is appreciated.

Will do if i got any free time i send you a PR. Thank you!

@Root-vb I have done resolved this issue with custom String input to text fields. i did not fork yet and not committed any changes. Is it ok if i do now?

@ffahadMalikk  If you have anything that can help, please submit a PR. Any contribution is appreciated.

Sure will send you one shortly

Hello Vaibhav,
As i mentioned earlier i have sent a PR and try to make sure to follow same
style you followed in previous commits.
Will look forward for your response.
Regards,
On Fri, Feb 28, 2020 at 4:11 PM Vaibhav Bhasin<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/Root-vb/OTPFieldView/issues/5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Root-vb/OTPFieldView/issues/5?email_source=notifications&email_token=AGEJC23H7E7OZMHN5CMYCPDRFDWNLA5CNFSM4KS37RTKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW6WLE2Y#event-3081548395,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGEJC2ZCEGM56IA4TYFWTL3RFDWNLANCNFSM4KS37RTA
.


About Per-scene optimization

For my scene, I have 4K images and the initial pointcloud with a resolution of 540p. After per-scene optimization, I can get a good result. However, when I render new views, the resolution is always 4K / 1.25 (3840x2160 -> 3072x1728), could you tell me why?

I think you can check the resolution size here.


fix help text for generated account

There is a small inaccuracy in the new template generated by ucc-init.

@dfederschmidt Thank you for the contribution! Can you please sign CLA and COC (by following the instructions from the bot)?

I have read the CLA Document and I hereby sign the CLA

I have read the Code of Conduct and I hereby accept the Terms

You also need to comment "I have read the Code of Conduct and I hereby accept the Terms" and then pipeline will pass.

I have read the Code of Conduct and I hereby accept the Terms


Add strict cookie support back by rendering callback as page

Just add a transparent JS redirect and see if Safari is OK with that.

Safari still will not set a strict cookie after a redirect, even if the landing page does not redirect again.


Pagefind UI: Possibility to preset search string

I've build a search page with Pagefind UI, which includes search parameters, but actually I can't preset the incoming search string, neither as init option nor via callback after init. Read about my workaround here: https://kiko.io/post/Pagefind-UI-and-URL-Parameters/
Would be great to have the option to preset a search string on init and automatic execution of the search if it's present.

Hi @kristofzerbe 👋
I forgot that I still haven't documented this method for Pagefind UI, which is my bad. It does exist:
let pagefind = new PagefindUI({ element: "#search" });
pagefind.triggerSearch("some search terms");

You also do not need to wait for any initialization to use this method, Pagefind will delay it until the search is loaded and ready.
You can see some discussion for this in #144 — I'll make sure to get this in the documentation soon (especially with a similar method #213 going out in the next release). Let me know if this works for you!

:D ... wonderful. Will try it out soon and update my post. Thanks for your incredible work.

Implemented, running, post updated... 👍🏼
https://kiko.io/post/Pagefind-UI-and-URL-Parameters/

...

Hi Werner,
Pagefind UI has sort of a callback function called "ProcessResult", where you can do thing before the result is rendered (see https://pagefind.app/docs/ui/). At this point of time the search string is already processed.
I would use it to take the search string out of the input field and add it to the URL via history.pushState ... see https://stackoverflow.com/questions/136458/change-the-url-in-the-browser-without-loading-the-new-page-using-javascript
Greets from Hessen
Kristof

Thanks for the tip, Kristof
that might work.
In additiona I am wondering how to add the currently selected filter state as parameters to the URL and vice-versa initialize the filter settings from the URL - ideally by extension of the default-UI.
Has anybody tried this already?


Pekko module missing at maven central

As reported in #481, the pekko module is missing from maven central.

The probably cause has been found. More details will follow once the problem has been resolved.

The pekko module is available again. Note, the earliest available version is 4.3.2.


HHH-6975 - SQL error "expected NUMBER got BINARY" when calling AuditReader.find().

Bug fixed for Oracle db but can't test it for any other db

Isn't it rather a bug in the way enums are mapped to the DB? So in the hierbate type of rev type?

Hello,
Yes I think it is that... Is there any other way than this one to solve my problem...
Thanks,
Regards,
=========================
Vincent Verrier (Sii)
M M A
Support au développement 3m@
-----Message d'origine-----
De : Adam Warski<EMAIL_ADDRESS>Envoyé : mardi 31 janvier 2012 20:32
À : VERRIER Vincent (sii)
Objet : Re: [hibernate-orm] HHH-6975 - SQL error "expected NUMBER got BINARY" when calling AuditReader.find(). (#260)
Isn't it rather a bug in the way enums are mapped to the DB? So in the hierbate type of rev type?

Reply to this email directly or view it on GitHub:
https://github.com/hibernate/hibernate-orm/pull/260#issuecomment-3746150

I don't know, I would have to check on an Oracle DB, which I don't have access to ;). Though for others things work with Oracle. Don't know what's specifc to your setup.

Which exact version of Oracle Database, JDBC driver and Hibernate Core are you using?
Could you post here the creation script of audit table that causes this issue? Are you sure that audit data in this table is accurate?
Could you create a standalone application that reproduces your problem and use P6Spy proxy driver to print the exact SQL statement that is executed (http://www.mkyong.com/hibernate/how-to-display-hibernate-sql-parameter-values-solution)?
I would like to help you but I need more details.
Regards,
Lukasz

Hello Lukasz,
First of all, thank you for considering my request and please forgive my english because I'm french and don't speak the language very well.
About the informations:
Oracle DB: <IP_ADDRESS>.0
Oracle Database 10g Enterprise Edition Release <IP_ADDRESS>.0 - Prod
PL/SQL Release <IP_ADDRESS>.0 - Production
CORE	<IP_ADDRESS>.0	Production
TNS for 32-bit Windows: Version <IP_ADDRESS>.0 - Production
NLSRTL Version <IP_ADDRESS>.0 - Production
========
JDBC Driver: ojdbc14

oracle.weblogic10
ojdbc14
1.0

========
Hibernate Core:3.6.5.Final

org.hibernate
hibernate-core
3.6.5.Final

========
Audit table creation script:
- the first attachment (REVINFO.sql) is the global audit table that match a timestamp to a revision.
- the second attachment (AUDIT_TABLE.sql) is the table of the audited entity (in my case it's a person).
The issue comes from AUDIT_TABLE.sql (but I think it would be the same for REVINFO.sql).
========
You asked: Are you sure that audit data in this table is accurate?
I'm pretty sure because I've been changed the code in hibernate-envers project to make it works and the audit data is accurate.
========
I will try to use P6Spy and send you the request that is executed.
Thank you again for your time.
Regards,
Vincent
-----Message d'origine-----
De : Lukasz Antoniak<EMAIL_ADDRESS>Envoy : mardi 21 fvrier 2012 21:02
: VERRIER Vincent (sii)
Objet : Re: [hibernate-orm] HHH-6975 - SQL error "expected NUMBER got BINARY" when calling AuditReader.find(). (#260)
Which exact version of Oracle Database, JDBC driver and Hibernate Core are you using?
Could you post here the creation script of audit table that causes this issue? Are you sure that audit data in this table is accurate?
Could you create a standalone application that reproduces your problem and use P6Spy proxy driver to print the exact SQL statement that is executed (http://www.mkyong.com/hibernate/how-to-display-hibernate-sql-parameter-values-solution)?
I would like to help you but I need more details.
Regards,
Lukasz

Reply to this email directly or view it on GitHub:
https://github.com/hibernate/hibernate-orm/pull/260#issuecomment-4085151

Hello Vincent,
I am afraid that your attachments (SQL scripts) are not available on GitHub. Please send me an email (lukasz dot antoniak at gmail dot com) or post them here. Have your tried to upgrade JDBC driver? If your bug can be reproduced by running a small standalone application, please send it to me. I have an access to Oracle 10gR2 database on my local machine.
Regards,
Lukasz


SUGGESTION: Add PHP (Hypertext Preprocessor) to AIO Egg for web applications

Bump!

bump

Nginx exists for a reason

not for pterodactyl

maybe u can run nginx in a docker container but idk

Nginx or caddy could be added to aio

@DIBSTERYT

Might be possible, looking into it, my only concern is that we might be adding too many things to the all in one egg. Yes it's a all in one, but does it need to have every possible type?

Staff discussion, we have voted against such a decision for the current state of the egg.

It wasnt completed

It wasnt completed

Yeah we're not going to add it.


Nuget.exe not found, trying to download or use cached version.

Everytime trying to run a Dart file, it shows this error twice in the console before successfully build the project.

SOLVED: Download the nuget.exe file from https://www.nuget.org/downloads and then put it in the windows/system32 folder.


Duplicate operationId Error (operations are for separate endpoints)

Problem statement
When generating a server and there are multiple endpoints, the operations directory in restapi contains subdirectories for each of those endpoints.
For example:
paths:
  '/users/{id}':
    parameters:
      - name: id
        in: path
        required: true
        type: string
    get:
      operationId: getById
      summary: Get User By ID
      tags:
        - Users
      responses:
        '200':
          description: ''
          schema:
            $ref: '#/definitions/user-output'
  '/pets/{id}':
    parameters:
      - name: id
        in: path
        required: true
        type: string
    get:
      operationId: getById
      summary: Get Pet By ID
      tags:
        - Pets
      responses:
        '200':
          description: ''
          schema:
            $ref: '#/definitions/pet-output'

Should produce the following:
└── restapi
    ...
    ├── operations
    │   ├── pets
    │   │   ├── ...
    │   ├── users
    │   │   ├── ...
    │   └── ...

However, instead of generating the server I get this error: "getById" is defined 2 times
[Assuming I had used getById for both operations and it generated a server with no validation errors] When referring to these operations (example for response) in the api, we say users.NewGetByIdOK() or pets.NewGetByIdOK() which means it doesn't matter if the operation id was the same.
Possible Solution
Is it possible to bypass this validation error IF the operation ids will go into separate directories?

If you add the --skip-validation flag only one of the getByID operations will be generated

operationId is always globally unique per swagger 2.0 specification. The id MUST be unique among all operations described in the API.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operationObject

Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.

I am currently in the same problem. It makes more sense for the operationId to be unique per each endpoint. Per 2.0 spec, can we understand it to be unique as per endpoint but not globally?

I realize that this is an old issue, but I just got this error in a Azure DevOps pipeline. I'm using the API Management task in my release.
2019-05-16T21:13:16.4509808Z @{code=ValidationError; target=representation; message=Parsing error(s): Cannot have multiple operations with the same operationId: Get}
2019-05-16T21:13:16.7856049Z ##[error]The remote server returned an error: (400) Bad Request.
2019-05-16T21:13:16.8243022Z ##[section]Finishing: API Management - Create/Update API
sun7927 is right, it doesn't make sense to apply this rule globally; it should be by service.
Has there been any movement on this?

No, the Swagger 2.0 spec doesn't allow it.  It says it MUST be globally unique.

Weird
I did find a Swashbuckle swagger gen line of code for the configure
services that added the service name to the front of the operation making
those unique, but it doesn't help me with the Get (as in get all) and
Get/Id (as in get this one).
Thank you for your help, I'll figure something out.
Peter
On Fri, May 17, 2019 at 2:38 PM gregmarr<EMAIL_ADDRESS>wrote:

No, the Swagger 2.0 spec doesn't allow it. It says it MUST be globally
unique.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/go-swagger/go-swagger/issues/1143?email_source=notifications&email_token=AMBX4JD2EKBNUWPZEEMGVL3PV33RJA5CNFSM4DXM4UE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVRGEA#issuecomment-493556496,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMBX4JHU6CEU54C72SOEYZLPV33RJANCNFSM4DXM4UEQ
.


Support for custom JsonSerializerOptions in 8.x

Is your feature request related to a problem? Please describe.
I am trying to switch to the new library 8.x, but it does not seem it allows for custom format for Json serialization.
E.g. I need to add a date format, enum conversion, camel case, etc.
Before it was possible to do this:
var connectionSettings = new ConnectionSettings(pool, (serializer, values) =>
{
            return new JsonNetSerializer(serializer, values, () => MySettings);
}

I did not find anything on how to do it in 8.x.
Describe the solution you'd like
I want a possibility to provide my own options. If required it should be merged with DefaultRequestResponseSerializer if it has some options that have to be present.
Describe alternatives you've considered
It seems it is possible to get to the Options of the default serialiezr like that:
var jsonSerializerOptions = ((SystemTextJsonSerializer) client.RequestResponseSerializer).Options;
I am not sure if it is intended, but it is not possible to replace the options completely, but possible to augment them. It seems a bit strange way of accessing the options and looks more like a side effect than a feature.

Thanks for the answer, what do I risk if I use the workaround that you have described (since I would rather use it now than wait)? It is only one fairly simple class that I write to the database. There are no references to the library in there.
Do you also have some estimate as to when you will be able to implement this?

Hi, @ilya-scale. For simple POCOs, the custom Serializer will be fine. We'll likely expose most customisation that way but just look to simplify the experience. Deriving a custom serializer is a supported scenario, it's just hard to implement fully at the moment.
I can't provide a specific timeframe for customisation improvements. I can say that I hope to provide something sooner, rather than later as it's a common requirement we want to support more easily.

Thanks, I have written this class, that should support all of the default converters as a workaround:
public class DefaultElasticsearchSerializer : SystemTextJsonSerializer
{
    public DefaultElasticsearchSerializer(Serializer builtInSerializer)
    {
        var builtInSerializerOptions = ((SystemTextJsonSerializer)builtInSerializer).Options;

        Options = MyClass.GetDefaultOptions();

        foreach (var converter in builtInSerializerOptions.Converters)
        {
            Options.Converters.Add(converter);
        }
    }
}

@ilya-scale - Be wary of grabbing the converters from the buildInSerializer for now. I noticed a bug, and we're exposing the request/response serializer instead of the source serializer when we invoke the factory. For now, it will add converters that could potentially conflict with your own types. I'll fix that bug in the next patch.

Thanks, do you suggest I should for now just use my converters instead?

@ilya-scale That might be best for now to avoid any breaks or unexpected behavioural changes until we provide a formal, supported way to configure this.

Thanks for help!
I will do this. It seems to work just fine for my case now, so hopefully you guys will release a fix before I need a more complicated document to be stored :)

Great news! Thanks @stevejgordon
Hopefully can be tested soon 👍

You're welcome @KoalaBear84. Hopefully, this has all the capabilities you need and the new docs cover common scenarios.


Problems automating conversion with Sonarr

So I am struggling to setup the converter with Sonarr. I am pretty new to this whole coding thing so please explain like I am your grandma...
So I set up (almost) everything as intended and tried downloading and see if it may work. The manual conversion works. To no surprise the automatic conversion didn't..
So what I didn't understand/ found out how to solve are two steps:
A) In the sonarr part of Autostart.ini I set  host, port and apikey. As I wasn't able to find anything on google about sonarrs webroot I left that one blank (which probably causes problems?)
B) I didn't get part 3) of the Sonarr setup. It states:

Set the Drone Factory Interval' to 0 to disable it, and disable 'Completed Download Handling' in Radarr settings. The script will trigger a specific path re-scan, allowing the conversion to be completed before Radarr starts moving stuff around. This step is optional if you do not desire any processing between the downloading by whichever downloader you choose (NZB or Torrent), but is required if you wish to convert the file before it is handed back to Radarr. You must use either a download script or enabled Completed Download Handling. If neither are used the file will never be passed back

As it says upfront I disabled Completed Download Handling and did anything else... But the last part says it has to be enabled or else I need a download script... Which script?
I have high hopes that fixing these would allow me to have automatic conversion...
Thank anyone so much for any help!

Webroot is usually blank, this is more for people running reverse proxies or things where multiple services are consolidated on one port behind different webroots, seems like you did everything correctly
Its an either or situation. Something needs to tell Sonarr your downloads have completed, no matter what downloading program you're using. Completed download handling is the easier way to do this and is fine to use, and sonarr will run postSonarr.py after it moves and renames the file to its final destination and run the conversion. Some people want all the conversion done before Sonarr gets passed the completed file for various reasons, so the other option is to turn off completed download handling and use a downloader script that will do the conversion and pass the now already converted file back to Sonarr so all Sonarr has to do is move, rename, and tag the file but the bulk of the conversion is done before Sonarr gets the download back from the downloader. In this context, a downloader is something like NZBGet, SAB, Deluge, etc and downloader scripts are the NZBGetPostProcess.py, SABPostProcess.py, DelugePostProcess.py etc each matched with their respective download program. The big thing here is you don't want to use both methods (completed downloading handling AND one of those scripts) because they will conflict with each other and Sonarr will start trying to grab downloads while conversion is in progress.

The fact that manual.py is working is a good sign, you just need to get your automation stuff configured

Feel free to continue discussion just closing this since it's not a technical issue

I tried starting from scratch but it also does not work. Somehow once Sonarr downloaded everything it just stops and the data never gets converted. After trying to find a solution for hours I kind of just gave up.
So I looked just for some way to bulk convert manually but I could not figure out settings for ffmpeg that work for me. So if I use your manual converter I can watch the videos on plex. But if I transcode them manually, it does not seem to work. Right now I am using simple batch file
for %%a in ("*.mkv") do ffmpeg -i "%%a" -c:v libx264 -preset fast -crf 20 -b:v 288k "newfiles\%%~na.m4v" pause
But this does convert my files but they are not able to be watched on plex whilst the one converted with your manual are. Your code is extremely extensive so I was not able to find the solution by myself. Could you tell me which conversion settings you do use? So I could have a batch file that just runs over my library? Inputting each seperately into the manual has been quite tedious (although way less time consuming than to fix it myself).

The conversion is dynamic and adjusted based on the input source so there's not going to be a universal FFMPEG command that will get you the same results. Did you configure your postSonarr.py script? Post some pics or examples of your configuration and check the logs its probably something minor required to get it working.


Audit charging of per-kilobyte fees

Any operation with potentially unbounded size needs to charge a size fee.  Determining whether an operation is variable-size is non-trivial.  An operation is variable size if it contains a vector, flat_set or other potentially variable-size element.
Note that this containment may be through any number of intermediate structs.  For example, any operation which contains an authority has potentially unbounded size.
We should be able to audit this in a semi-automatic way with logic similar to js_operation_serializer which traverses all operations, and noting any variable-size types found (in any number of sub-structures), allowing us to flag each operation as variable-sized (or not).  We will still have to manually specify whether any base type is variable-size or not.

It makes more sense to charge size-based fees on an operation-wide basis, i.e. you serialize the operation, see how big it is, and then charge based on that.  Which would give a single size-based fee for all operations, instead of placing size-based fees on each operation.  This makes more sense, as size fees are not meant to raise revenue, merely to protect network resources.  Therefore size-based fees should be the same for all operation types -- there is no reason to allow them to be settable for each operation individually.
Moreover, as pointed out in the OP, setting size-based fees for each operation individually requires careful auditing to be sure that every operation of potentially unbounded size includes a size-based fee.

The transaction signatures can potentially grow very large, e.g. if you create a large number of multisig accounts with maximum fan-out and use a custom_operation to require them all to sign.  A size fee needs to be charged for signatures as well.  What this suggests is that the size fee should be charged based on transaction size, including signatures!

Some fee members are share_type, others are uint64_t or even uint32_t.  We should be consistent and always use the same type; I recommend share_type

This issue was moved to bitshares/bitshares-core#59


About restore a backup

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Well i just install bookstack in a Debian lxc with the script instructions file. I dont change it.
Later i try to restore a backup file that i already have.
i then follow the backup / restore document.
And........ it all work fine!!! (but, all work fine?)
Im asking here because in the backup / restore document it says

If you are restoring from scratch follow the installation instructions first to get a new BookStack instance set-up but do not run the php artisan migrate installation step when installing BookStack. You may need to comment this command out if using an installer script.

and yes i install from this script: https://www.bookstackapp.com/docs/admin/installation/#ubuntu-2004
But, just see this info of "php artisan migrate" --- " comment this command out if using an installer script" after already installed bookstack.
The thing is that i say "well, i dont care, lets see if works anyway". And IT WORKS!
But then, that is wrong in the documentation? or could be that something is not well restored in my bookstack?
well, just that, im looking for i recall, and it seems was all recovered, but, i could be wrong.
And in case is all good, maybe that "comment out php artisan migrate" is old in the documentation?
Well, thanks for all!
Exact BookStack Version
24.02.3
Log Content
nothing
Hosting Environment
Debian LXC

maybe that "comment out php artisan migrate" is old in the documentation?

No, that's still current and valid advice. It's best to restore into a blank database otherwise there can be issues, and those issues may not show right away.
If the backup you restored was for the same version of BookStack, you might be okay, but it can depend on specifics of the backup format and data, therefore we just keep to the advise of restoring into an empty database.

Ok, yes, i believe..... believe... that it is the same version.
Thanks for clarify!


test_gpt2.cu correctness bounds tune per-parameter

adding a todo
this is me being a bit paranoid but in test_gpt2.cu we check that our code agrees with pytorch reference. we're using a single global threshold for all comparisons of 1e-2. we could instead compare the gradients on the parameters parameter by parameter, and tune this amount to be per-parameter as low as we can make it, maybe eyeballing a plus ~10% buffer. otherwise my concern is that one global 1e-2 could be too large for some of these parameter gradients in absolute terms, and we could be making silent errors with new kernels. when we "trip the wire" with a new kernel, we should inspect manually and carefully that things are ok despite tripping the check, and it's okay to increase the bound.
the code for checking all parameters is already there, but commented out.
would welcome a PR that digs into this on per-parameter basis and looks at what thresholds we can get away with in this comparison.

Still a beginner at writing kernels, would love to work on this issue and delve deep experimenting with the weights this summer.


[FIX] Replace everything with a picture of a duck

The goal of this PR is to replace the entire repository with this picture of a duck

The reasoning behind this is because it's a picture of a duck and ducks are in charge now.

Thank you for your useful contribution.


[TC-170] dbdump in HA environment can be slow

If Traffic Ops and the primary postgres db are on separate machines with some amount of network latency,  Tools->dbdump can take a while.
If network latency is low,  that db dump takes 2 seconds or less.  If not,  I've seen up to 70 seconds.  Not sure how much of an issue this will be in production,  but backups should be set up accordingly..
Author: Dan Kirkwood
JIRA Link: https://issues.apache.org/jira/browse/TC-170
Found Version: 2.0.0

Recommendation is for TrafficOps and postgres primary db be installed on machines with low network latency between them to mitigate this situation.


fix gradle :blackbox:bootstrap on macOS

fix gradle :blackbox:bootstrap on macOS with latest Python from Anaconda
crate $ gradle :blackbox:buildDocs

> Configure project :core
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
        at build_bmqw03zymq71tv8ht2yhw6yof.run(/Users/ysz/src/crate/app/build.gradle:24)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Task :blackbox:bootstrap FAILED
Error: Command '['/Users/ysz/src/crate/blackbox/.venv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
/Users/ysz/src/crate/blackbox/bootstrap.sh: line 13: .venv/bin/pip: No such file or directory
/Users/ysz/src/crate/blackbox/bootstrap.sh: line 14: .venv/bin/pip: No such file or directory

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':blackbox:bootstrap'.
> Process 'command 'sh'' finished with non-zero exit value 127

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

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
1 actionable task: 1 executed

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

retest this please

Retest this please.

test this please

retest this please

retest this please

retest this please


Site down!

It looks like the site is currently down, can anyone confirm?
http://downforeveryoneorjustme.com/p5js.org

Having this issue right now.
I used that same link and I get "This site is busy.." etc

It's up for me, looks like its on your end! (could have just been a site update)

It's back now! It was a good 15ish minutes of down time.


Experiment with embedding tracy capture tool into binaries

The command line capture utility is pretty simple: https://bitbucket.org/wolfpld/tracy/src/master/capture/src/capture.cpp
It does pull in a decent chunk of the server code (texture compression, etc), but at a glance most of it looks pretty portable. It'd be worth - even if only for host builds - to have iree/base/tracing_enabled.cc do effectively what capture.cpp is (setup a worker and then fwrite the data out) so that we can have the --iree_trace_file= flag and not have to worry about running multiple executables.

Not useful; more interesting would be building the tracy auto capture tool and routing to that.


Redux replacement with reactive programming

You may check wrapper around RNRF - https://github.com/aksonov/react-native-reactive. Feedback is welcome.

That sounds interesting!

Just found impressive MobX framework and build RNRF bridge to it:
https://github.com/aksonov/react-native-mobx


Creating RDF documents as one of the core functionalities

Hello,
I am a software developer/data architect. I am involved in many research projects where we carry out data uplifting activities. Our activities including converting source data into RDF. We use openrefine + rdf extension to create RDF documents in our project. I wonder if there is a plan for the openrefine team to support creating RDF documents as one of the core functionalities of openrefine.

In the past I worked with @rajaram5 on making data FAIR using Open Refine with an extension. I agree with Rajaram that making this functionality core to OpenRefine would be a major enhancement.

Would this be served by including the RDF extension as part of the OpenRefine distribution or is this a request for different functionality to the current extension?

To start with it would be good idea to include RDF extension as part of OpenRefine distribution with some UI fixes to the RDF skeleton of RDF extension

I tend to agree with your view @wetneb - if we could deliver a good "extension management" that could be controlled by the user then the question of what was 'core' and what was not would become much less of an issue generally and that would be a better approach than just bringing all useful extensions under central maintenance
My only point against this is that adding the RDF extension to the distribution is something that would be pretty easy to do and although I completely accept your points about the maintenance and responsibility - this would raise the profile of the RDF extension, and if @stkenny was willing to maintain within the OR repo instead of separately then we'd basically be in the same situation as now with respect to maintenance - but with a raised profile for the RDF extension which could make it easier to get more developers involved

Unfortunately, even if @stkenny agrees to maintain the extension as he is doing now, it does change quite a lot of things:
Say I want to introduce a breaking change in some API (for instance the change of JSON serialization from org.json to Jackson, to take a dramatic example). I cannot introduce it in OpenRefine without also updating the RDF extension in the same go, otherwise the CI build for this repository will fail. So either I do it (tada! I am now maintaining that extension too!), or I want to stick to my current commitments and not touch the RDF extension, what should I do? Leave the PR open and ask @stkenny to do the upgrade in the RDF extension in the same PR as soon as possible? That means putting a lot of pressure on him or a lot of frustration on me.
Many of our changes are time-sensitive: we need to fix an important vulnerability (say log4shell), we need to unblock the work of a contractor (say the Debian packaging), we need to release features from a funded project, and so on.
Similarly, if @stkenny wants to release a new version of the RDF extension, he can also be blocked by our agenda in the rest of the tool.
In the current situation, @stkenny can decide to update the RDF extension at his own pace instead.

Nothing more to add to @wetneb comments.  He's spot on with the direction that we should approach for both extension authors, our users, and our maintainers.

As much as I agree with the Idevops_ points discussed so far, there is another angle I would like to add to the discussion. From a user perspective, navigating the version control between Openrefine and its extensions can be complicated at times. Each extension will need to be updated which each new release of open refine. Then there is the recent development where Open Refine (and other packages) are packed in portals such as, for example, the Jupyter Notebook server of the Wikimedia Foundation [1]. This is huge since it allows easier access. Unless of course enabling  and maintaining plugins is part of the UX and does not require admin access to for example PAWS. To my knowledge that isn't currently the case.
[1] https://hub.paws.wmcloud.org/

@andrawaag
If we developed a feature where an Extensions manager could install extensions over the internet if users were given a dialog prompt to allow installing over the internet or not...

Do you foresee issues where the UX of the Extensions manager showed which extensions were compatible (regular text - checkbox is available to install them ) and which were not (greyed text - no checkbox to select and install them)?
On the manual side of things, Do you foresee issues where a local folder path for extensions can be specified and then OpenRefine checks that path upon startup as it does now and shows the Extensions manager and warnings about incompatible extensions that could not be loaded?

Unfortunately I think having a vibrant ecosystem of extensions, whilst also keeping the ability to rapidly introduce breaking API changes may well be mutually exclusive. At a minimum the extension developers will need some notice of what needs to be changed.
Other than the Jackson change the RDF extension hasn't really changed much since it was forked from Fadi Maali's repository. It has really just been trying to keep it working, so it could do with some new features/design. Having it in the OpenRefine organisation would likely be beneficial as it would at least give a single authoritative source for people. The number of forks and outdated links has caused confusion in the past. See for example https://github.com/stkenny/grefine-rdf-extension/issues/48

Unfortunately I think having a vibrant ecosystem of extensions, whilst also keeping the ability to rapidly introduce breaking API changes may well be mutually exclusive. At a minimum the extension developers will need some notice of what needs to be changed.

I have tried to provide migration guidelines in the past and am very keen to know how it can be done better.
It would really help me to have concrete feedback on this!
Also, making it easier to install extensions and detect their incompatibilities with OpenRefine is likely to require some breaking changes on its own (such as: migrating out of Butterfly to something else), so that is a bit of a dilemma for me. Here too, input welcome!

Having it in the OpenRefine organisation would likely be beneficial as it would at least give a single authoritative source for people.

Okay, given the other comments in this thread I think we have a consensus for that, so let us do it :) I will create the repo and invite you.

I created RDF Transform to combine the RDF extension with features of the OntoRefine version and extend with more robust processing.  Review to see if this suits many of the issues reported here.
See: RDF Transform


Does not have access to any teams with an active membership... Have Certs on laptop

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/portal_client.rb:47:in `team_id': User<EMAIL_ADDRESS>does not have access to any teams with an active membership (RuntimeError)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/portal_client.rb:92:in `block in apps'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/client.rb:183:in `block in paging'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/client.rb:181:in `loop'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/client.rb:181:in `paging'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/portal_client.rb:90:in `apps'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/app.rb:80:in `all'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/portal_client.rb:449:in `ensure_csrf'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.34.1/lib/spaceship/portal/portal_client.rb:139:in `create_app!'
	from /Users/jacobfolsom/Desktop/su-a-cyder/evilsnap/su-a-cyder.rb:4:in `<main>'
#!# Process Failed!

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# INSERT CONTENT HERE
update_fastlane
skip_docs

desc "Run bundle install and tests"
lane :test do
  validate_repo(tool_name: detect_tool)
end

desc "Increment the version number of this gem"
lane :bump do |options|
  tool_name = options[:tool] || detect_tool
  path = "./lib/#{tool_name}/version.rb"

  latest_release = current_version(tool: tool_name)
  `open https://github.com/#{github_url(tool: tool_name)}/compare/#{latest_release}...master`

  local_version = version_get_podspec(path: path) # here, to not show the lane change

  puts "Live Version: #{latest_release}"
  puts "Local Version: #{local_version}"

  bump_type ||= 'minor' if prompt(text: "New Feature?", boolean: true)
  bump_type ||= 'patch' if bump_type.nil? && prompt(text: "Bugfix/Improvements?", boolean: true)

  if bump_type
    version_bump_podspec(path: path, bump_type: bump_type)
    git_commit(path: path,
               message: "Version Bump by fastlane")
    push_to_git_remote
  else
    puts "Doing nothing..."
  end
end

desc "Does everything that's needed for a release, this includes running tests and verifying the GitHub release"
lane :release do |options|
  # Fetching all information required for the release
  #
  tool_name = options[:tool] || detect_tool

  # Verifying RubyGems version
  #
  validate_repo(tool_name: tool_name)

  require "../lib/#{tool_name}/version"
  version = module_ref(tool_name: tool_name)::VERSION
  old_version = current_version(tool: tool_name)
  puts "Deploying #{tool_name} #{version}"
  if Gem::Version.new(version) <= Gem::Version.new(old_version)
    UI.user_error!("Version number #{version} was already deployed")
  end

  # Git verification
  #
  ensure_git_status_clean
  ensure_git_branch(branch: 'master')
  git_pull
  push_to_git_remote

  # Preparing GitHub Release
  #
  github_release = get_github_release(url: github_url(tool: tool_name), version: version)
  if (github_release || {}).fetch('body', '').length == 0
    print_release_changelog(tool: tool_name, old_version: old_version)

    # For now, continue to open the git comparison from the old repository, so that we can
    # catch any changes that were made before the mono-repo change (eventually remove this)
    `open https://github.com/#{github_url(tool: tool_name)}/compare/#{old_version}...master`

    title = prompt(text: 'Title: ')
    description = prompt(text: "Please enter a changelog: ",
                         multi_line_end_keyword: "END")

    github_release = set_github_release(
      repository_name: github_url(tool: tool_name),
      name: [version, title].join(" "),
      tag_name: version,
      description: description,
      is_draft: false
    )

    release_url = github_release['html_url']
    clipboard(value: release_url)

    message = [title, description, release_url].join("\n\n")
    add_fastlane_git_tag(tag: "#{tool_name}/#{version}", message: message)
  end

  # Actual release
  #
  sh "gem push ../pkg/#{tool_name}-#{version}.gem"

  # After publishing
  #
  if ENV['SLACK_URL']
    slack(
      channel: "releases",
      default_payloads: [],
      message: "Successfully released [#{tool_name} #{version}](#{release_url}) :rocket:",
      payload: {
        "New" => github_release['body']
      }
    )
  end

  puts "You can now tweet:".green
  tag_url = "https://github.com/fastlane/fastlane/releases/tag/#{tool_name}/#{version}"
  puts "[#{tool_name}] #{github_release['name']} #{tag_url}"
end

error do |lane, exception|
  if ENV['SLACK_URL']
    slack(channel: "testing", message: exception.to_s, success: false)
  end
end

desc "Verifies all tests pass and the current state of the repo is valid"
private_lane :validate_repo do |options|
  # Verifying that no debug code is in the code base
  #
  ensure_no_debug_code(text: "pry", extension: ".rb", path: "./lib/") # debugging code
  ensure_no_debug_code(text: "TODO", extension: ".rb", path: "./lib/") # TODOs
  ensure_no_debug_code(text: "now: ", extension: ".rb", path: "./lib/") # rspec focus
  ensure_no_debug_code(text: "<<<<<<<", extension: ".rb", path: "./lib/") # Merge conflict

  rubocop if File.exist?("../.rubocop.yml") # some project don't yet use rubocop

  # Restricted from running on Travis CI because it causes builds to hang.
  #
  unless ENV['TRAVIS']
    # Verifying the --help command
    #
    tool_name = options[:tool_name]
    binary_path = File.join("..", "bin", tool_name)
    unless no_binary.include? tool_name
      content = sh "PAGER=cat #{binary_path} --help"
      ["--version", "https://fastlane.tools", tool_name].each do |current|
        UI.user_error!("--help missing information: '#{current}'") unless content.include? current
      end
    end
  end

  # Running ruby things
  #
  sh "cd .. && bundle install"
  sh "cd .. && rake install"

  # Run the tests
  #
  sh "cd .. && bundle exec rspec"
end

desc "e.g. fastlane/deliver"
private_lane :github_url do |options|
  ["fastlane", options[:tool]].join("/")
end

desc "Get the version number of the last release"
private_lane :current_version do |options|
  puts "Checking the latest version on RubyGems"
  download(url: "https://rubygems.org/api/v1/gems/#{options[:tool]}.json")["version"]
end

desc "All repos that don't have a binary to test"
private_lane :no_binary do
  ['fastlane_core', 'spaceship', 'credentials_manager']
end

desc "Detects the name of the tool based on the current directory"
private_lane :detect_tool do
  Dir["../*.gemspec"].last.match(/(\w+).gemspec/)[1]
end

desc "Get a reference to the module of this tool"
desc "This method can be overwritten by the individual Fastfiles of the tools (e.g. PEM)"
private_lane :module_ref do |options|
  Object.const_get(options[:tool_name].split('_').collect(&:capitalize).join)
end

desc "Print out the changelog since the last tagged release"
private_lane :print_release_changelog do |options|
  tool_name = options[:tool]
  old_version = options[:old_version]

  cmd = "git log --pretty='* %B' #{tool_name}/#{old_version}...HEAD --no-merges .."
  puts "Changes since release #{old_version}:\n" + `#{cmd}`.gsub("\n\n", "\n")
end

desc "Add a git tag in the fastlane repo for this release"
private_lane :add_fastlane_git_tag do |options|
  `git tag -am #{options[:message].shellescape} #{options[:tag].shellescape}`
  push_git_tags
end

Environment
fastlane version (run fastlane -v): fastlane 1.104.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?

@XPMCoding Can you let me know what lane you are running when you see this? Can you share the full input and output of the lane so I can take a look at what's going on. I can't wait to get to the bottom of this. Thanks!


Docker empty dir for allowing it to be writable during CI runs

https://github.com/actions/actions-runner-controller/issues/2123


chore: log when we're ignorning an unhealthy container

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 37.813%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main.rs
0
10
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
287

Relevant Lines:
759

💛  - Coveralls

:tada: This PR is included in version 1.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Tools won't get cleanup or get reused

The action fills up our runner when run couple of time. It creates always new /tmp/arkade-* and then the storage fills up.
What can we do against that? Maybe something with #35?

Hi @kanimaru
Can you define "fills up"? The binaries people tend to pull in are just a few megabytes.
Is your /tmp directory being properly managed? What's the OS?
And why are you not using an ephemeral runner? Reusing the same runner is dangerous and causes a lot of unexpected side-effects.

Sorry was in Vacation.

Can you define "fills up"? The binaries people tend to pull in are just a few megabytes.
Even couple of megabytes are in sum very heavy especially when multiple projects don't cleanup afterwards.

Why do you think the arkade-get action is to blame for creating files in /tmp/arkade-* and not arkade itself?
I'm not sure didn't looked deeper into it just saw that there wars tons of /tmp/arkade-* folders that was killing the build maschine

Is your /tmp directory being properly managed? What's the OS?
I don't know how the Runner is setup. Different Team manages it but I would guess they didn't change much from default installation. It's Ubuntu 20.04.5 LTS

And why are you not using an ephemeral runner solution? Reusing the same runner is dangerous and causes a lot of unexpected side-effects.
I know but I have no other choice I can be happy that I get at least 1 worker to build my stuff. It's bad cooperated decision... don't ask.

But it's OK I just wanted to report that you maybe had a bug that you probably fixed already. I have to swap to another solution. From the new runner I got, I can't connect to the internet without going over a proxy. And Arkade seems not to care about proxies at least I think so. Action responded with a 502 when it tries to install tools. But manually I can pull the tool or arkade with curl. Will now build a Docker Image with the tools I need and use this :/.
But thx for the response and the fix <3

We've made some changes to try and recover some of the folders, for folks who are not running with ephemeral runners, like yourself.
https://github.com/alexellis/arkade/commit/8f028584fc537ec79e0e1f70d7299ca5107765a8


Fix HyperVSocketEndPoint .ServiceId setter

cc: @PaulHigin
Fix #13995.

@SteveL-MSFT Could you please ask anybody from HyperV team to review this?

Rebased onto #13880, and suppression removed.


♻ chore(core): Print CLI debug info only with debug flag

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

new-dawn

PR #1045   👈

This stack of pull requests is managed by Graphite.


Dragging Tab results in app crashing

Description
When i have two tabs open and drag one out to the bar to open as a new window, the app crashes
Steps To Reproduce

open folder in new tab
drag the tab out of the bar to open in a new window

Expected behavior
having two "tabs" in separate windows
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19043.1466
Relevant Assets/Logs
debug_fulltrust.log
debug.log

Merging with #7838

Would you be able to post a screen recording of this?


Unable to run my app on Xcode 12 due to conflicting names

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.4
Firebase SDK version: 7.6.0
Installation method: CocoaPods
Firebase Component: Core, Analytics, Crashlytics, Performance

[REQUIRED] Step 2: Describe the problem
I'm unable to run my app in Xcode 12.4. I'm getting the following types of warnings which I believe lead to a crash on launch:
Class Event is implemented in both /private/var/containers/Bundle/Application/A0D715D1-7AB6-4647-814B-5A03440B3114/APP.app/Frameworks/Protobuf.framework/Protobuf (0x116f42488) and /private/var/containers/Bundle/Application/A0D715D1-7AB6-4647-814B-5A03440B3114/APP.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK (0x114517e60). One of the two will be used. Which one is undefined.
Steps to reproduce:
Install Firebase and the SquareReaderSDK frameworks and run the project.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:

I'm not totally sure what is going on here, but here's some info that may help:

There does not seem to be a SquareReaderSDK CocoaPod.  We'll likely need an example to reproduce.
I don't see an Event class in the Protobuf pod.
We're planning to remove the Protobuf dependency from Firebase in an upcoming release
Even before that, the enabling of dynamic frameworks due out in Firebase 7.8.0 may help. See #7570

Thanks for the quick reply, Paul.
After investigating this further, the crash is due to another warning unrelated to Firebase. It's the same kind of warnings but it pertains to 2 other frameworks.


Codext no longer fills page in Firefox 94

Starting from Firefox 94 codext no longer fills the page:

It seems that Firefox requires that all elements have the height and width specified as 100%, all the way from the html tag to the codext iframe. Unfortunately this does add a scrollbar to the page, so I can imagine that this is not the ideal solution.

Hello @Roysten ! 👋🏻
Thanks for reporting this.

Unfortunately this does add a scrollbar to the page, so I can imagine that this is not the ideal solution.

Could you please share a screenshot of how it looks?

I was going to send a screenshot, but I found here https://stackoverflow.com/questions/9129182/iframe-100-height-causes-vertical-scrollbar that the scrollbar can be prevented by setting display: block.
The following HTML fixes the issues in Firefox 94 for me:
<html style="height: 100%;">
    <body style="margin: 0px; height: 100%;">
        <iframe style="border: 0px none; width: 100%; height: 100%; display: block;"></iframe>
    </body>
</html>

Awesome, thanks for looking into this! Would you like to submit a pull request?

Thanks for raising the PR (#11). That's now merged, so I'll close this issue. We'll get the new version released to browsers very soon!

The new version is available on Firefox, and will soon be available on Chrome as well. 😉


IIV on Firefox/iOS 10 doesn't support autoplay

IIV is still enabled on Firefox iOS 10 but it doesn't not work correctly with autoplaying videos. This is a browser limitation.
Test 1 (it should be green for native support): https://codepen.io/anon/pen/xEdwop
Test 2 (it should autoplay): https://bfred-it.github.io/iphone-inline-video/demo/

IIV appears to work on iOS 10.2 and Firefox 5.3 (2) 🎉 even though Firefox hasn't enable native playsinline support.


Refactoring the User forms.

Refactoring the user form with a custom handler.

Issue 64 is finished.


All commands should be lower case and  max 4 characters

cdm <-- chariot deployment manager
cme <-- chariot management engine
csim <-- chariot simulator. Today it supports only -n node activities. We can extend it to support other activities in future.
Change others accordingly

Done. See README for list of commands.