v2.2.1 Video fetched through TVHTML5_SIMPLY_EMBEDDED_PLAYER give undefined URLs for streaming_data

Steps to reproduce

Get the streaming data for the video 0hznKTGTmPg.
undefined URLs are given for adaptive_formats nor formats.

Example code:
import pkg from 'youtubei.js';
const { Innertube } = pkg;

const youtube = await Innertube.create();
const basicInfo = await youtube.getBasicInfo('0hznKTGTmPg', 'TV_EMBEDDED');
console.log(basicInfo.streaming_data);

Failure Logs
Format {
      itag: 18,
      mime_type: 'video/mp4; codecs="avc1.42001E, mp4a.40.2"',
      bitrate: 359380,
      average_bitrate: undefined,
      width: 640,
      height: 360,
      init_range: undefined,
      index_range: undefined,
      last_modified: 2022-02-16T04:38:44.452Z,
      content_length: NaN,
      quality: 'medium',
      quality_label: '360p',
      fps: 30,
      url: undefined,
      cipher: undefined,
      signature_cipher: 's=AOq0QJ8wRQIgEhlFhkfgkA2eN2FiVPbzBzqCOtn6qEnRo1GKYp4XZKcCIQDs1R2aARk58TR6nq3TACgrGrrVXqjiyN7veUmPJF%3D8-A%3Dd%3Dd&sp=sig&url=https://rr5---sn-5hneknek.googlevideo.com/videoplayback%3Fexpire%3D1663519536%26ei%3D0PYmY8qYHIjU1gKQ2KfQBQ%26ip%3D<IP_ADDRESS>%26id%3Do-ADZO32o5iYN91FiB80vUBfjHs13D2kTwZ02ZQG26OqYo%26itag%3D18%26source%3Dyoutube%26requiressl%3Dyes%26mh%3D1N%26mm%3D31%252C26%26mn%3Dsn-5hneknek%252Csn-4g5ednkl%26ms%3Dau%252Conr%26mv%3Dm%26mvi%3D5%26pl%3D17%26gcr%3Dnl%26initcwndbps%3D635000%26vprv%3D1%26xtags%3Dheaudio%253Dtrue%26mime%3Dvideo%252Fmp4%26ns%3DF1OMKEZ4duyW4Q6QcKaHo5QI%26cnr%3D14%26ratebypass%3Dyes%26dur%3D8976.277%26lmt%3D1644986324452292%26mt%3D1663497663%26fvip%3D2%26fexp%3D24001373%252C24007246%26c%3DTVHTML5_SIMPLY_EMBEDDED_PLAYER%26rbqsm%3Dfr%26txp%3D5438434%26n%3D29eDZKyf8IQ8Z189%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cgcr%252Cvprv%252Cxtags%252Cmime%252Cns%252Ccnr%252Cratebypass%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%252Cinitcwndbps%26lsig%3DAG3C_xAwRQIgFhR_0UQokF2FdqvwgthXqYMBTEtd-hq5hIpHXVu4f80CIQDJ-YHYfRwO4zR3Qlpch9l-4SbqU_mXtTF8mywlz91weQ%253D%253D',
      audio_quality: 'AUDIO_QUALITY_LOW',
      approx_duration_ms: 8976277,
      audio_sample_rate: 22050,
      audio_channels: 2,
      loudness_db: undefined,
      has_audio: true,
      has_video: true
    }

Expected behavior
Download URLs given in streaming_data
Current behavior
No Download URLs given in streaming_data, only undefined URLs.
Version
Default
Anything else?
I've patched https://github.com/LuanRT/YouTube.js/blob/main/src/utils/HTTPClient.ts in order to include the missing data that I explained in https://github.com/LuanRT/YouTube.js/pull/193#issuecomment-1250233418
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

checkout my pull request https://github.com/LuanRT/YouTube.js/pull/195#issue-1377014529 . I tested the Example code you included in I did not encounter any issues.

checkout my pull request #195 (comment) . I tested the Example code you included in I did not encounter any issues.
here is a copy of the response: steaming_data.txt

I'm still getting undefined URLs with your PR, I think the decryption code doesn't work for this new Client.

checkout my pull request #195 (comment) . I tested the Example code you included in I did not encounter any issues.
here is a copy of the response: steaming_data.txt

I'm still getting undefined URLs with your PR, I think the decryption code doesn't work for this new Client.
Format {
      itag: 22,
      mime_type: 'video/mp4; codecs="avc1.64001F, mp4a.40.2"',
      bitrate: 1582183,
      average_bitrate: undefined,
      width: 1280,
      height: 720,
      init_range: undefined,
      index_range: undefined,
      last_modified: 2022-01-30T20:09:14.990Z,
      content_length: NaN,
      quality: 'hd720',
      quality_label: '720p',
      fps: 30,
      url: undefined,
      cipher: undefined,
      signature_cipher: 's=AOq0QJ8wRQIgUBrvjjvX8DChbUeYkI9DK4n1GRa_u-pP7mZUUO3J1GYCIQCPHR6Px926W0-jfpqt3KHzbc85BPRy-L4fVATBI2%3Djww%3DZ%3DZ&sp=sig&url=https://rr5---sn-5hneknek.googlevideo.com/videoplayback%3Fexpire%3D1663524479%26ei%3DHwonY4WWCMGmgQf8lSE%26ip%3D<IP_ADDRESS>%26id%3Do-AJ1UM55AJDpqypEjc3z3SCnaQTIu_unoyE3IEjNy6mL5%26itag%3D22%26source%3Dyoutube%26requiressl%3Dyes%26mh%3D1N%26mm%3D31%252C26%26mn%3Dsn-5hneknek%252Csn-4g5ednkl%26ms%3Dau%252Conr%26mv%3Dm%26mvi%3D5%26pl%3D18%26gcr%3Dnl%26initcwndbps%3D1252500%26vprv%3D1%26mime%3Dvideo%252Fmp4%26ns%3DdnAJGNC6AzA0R-oVsdt3fp0I%26cnr%3D14%26ratebypass%3Dyes%26dur%3D8976.230%26lmt%3D1643573354990133%26mt%3D1663502471%26fvip%3D2%26fexp%3D24001373%252C24007246%26c%3DTVHTML5_SIMPLY_EMBEDDED_PLAYER%26rbqsm%3Dfr%26txp%3D5432434%26n%3DBEmoHePFxcsy9zDh%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cgcr%252Cvprv%252Cmime%252Cns%252Ccnr%252Cratebypass%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%252Cinitcwndbps%26lsig%3DAG3C_xAwRAIgBWNhxn3px4QhUlWP0M2u4z6IzBqQwN2WafE4KSvQEKoCIGoU-sLtQxgwB7wJNpinSo97L-bT09pZBdUN0X6N5CT6',
      audio_quality: 'AUDIO_QUALITY_MEDIUM',
      approx_duration_ms: 8976230,
      audio_sample_rate: 44100,
      audio_channels: 2,
      loudness_db: undefined,
      has_audio: true,
      has_video: true
    }

guess we've still got a lot of things to work. xD

@unixfox The url doesn't need to be defined, signature_cipher is used to compute the final url. You must use Format#decipher to get the final url.

@Wykerd is right.
You can simply call the decipher method every Format has, ex:
const info = await yt.getBasicInfo('somevideoid');
const url = info.streaming_data.formats[0].decipher(yt.session.player);


Runtime error in  istioctl context-create for Consul

Described at  https://groups.google.com/forum/#!topic/istio-users/QdhZxiOqqUI

The problem is in Istio 0.2.12, fixed in 0.3.0, by https://github.com/istio/istio/pull/1735


Modify bale modal

Check commit history for a complete run-down of files changed. Please note that several new files for testing have been created

If I press on "Aceptar" button without having selected a material, the modal disappears without showing an alert. Same problem with the weight. I suggest adding a "Cancelar" button because back button doesn't work properly

Fixed some errors related to the implementation

Found the same errors of "Bale Edit Modal" in "Bale Create Modal"

Fixed several conflicts with master merge
Fixed Modals not validating input
Fixed Modals not closing when clicking outside of them
Added back button for Modal closing
Added strings for Modal validation

Fized CreateBaleModal being displayed by default

Removed a console log

That error keeps appearing when closing and reopening the modal. It should be cleared when reopening.

Fixed state persisting when clicking away/back button to close modal
Fixed props not being passed down from parent component "BaleList" to child "PhoneBale"

Add a placeholder in the weight field.

Fixed weight placeholder not showing

Fixed typo on recylcablematerials variable
Fixed code style

Please note that modal styles are supposed to not be percentages. Since its the same modal for phones and tablets, theres no way to put percentages and get aesthetically reasonable sizes. We could have different modals for each device, but this solution still does not account different screen sizes.

Modified:
-Both localization/en.js and localization/es.js conflicts have been resolved
Please note that CircleCi tests are already broken on master branch and are currently being fixed at user-token-fix

Fixed phonebale not showing the modal when info was toggled.


Bug fix: RequestSecurityValidator for Riposte was misconfigured

Coverage increased (+0.003%) to 63.639% when pulling e169f0eb429120d06163690d206a9e19bce78ad4 on tlisonbee:riposte-bug-fix into 67865981f2dc3e00430b83f5abbee92fda1ead1e on Nike-Inc:master.

What are the consequences of setting that to false?

The explanation of this change is in the Javadoc (auto-copied from Riposte).  Basically, you return true or false so that Riposte knows where to insert this.

True means your implementation is fast so it should be handled by the Netty worker thread
False means your implementation is slow so it should be done on an async thread.
If you aren't sure, you just have to performance test to determine the right path.

@nicmunroe helped me find this when I reached out to him.  It would definitely cause a performance problem with Riposte but unfortunately it is not our current bottleneck.  We're hitting something else before this.


Add the reason(s) for the report's creation to the data that format_callback gets

Right now format_string gets a dictionary of values computed for it. These are the values that the function is mostly likely to want.
This way, creating i18n versions of the format_callback are usually pretty simple.
However, a format_callback might want to vary its resulting string based on the reason(s) for the report.
For example, if the report was triggered by every_n_seconds_idle, then it might want to report that it was idle (and perhaps for how long, though that data is not exposed either).
This data is not exposed to format_callback. Consider reworking how this happens so more flexible format_callback can be written.

Closed by #13


Add Test for ASB RemoveSubscriptions

Example of issue:
https://github.com/MassTransit/MassTransit/issues/1230

So the subscription is actually created, and then immediately removed, because the namespace context pipe isn't being held/merged by the receive endpoint.


Implement OAuthCredential to use LinkedIn Access Token

I am using linkedin_login package to login to LinkedIn and obtain an accessToken to use to create a credential and then login to firebase using the credential. Could it work?

How can I create a Credential from the Linkedin Access info?
I tried using this but don't know what I should put in this fields

const OAuthCredential({
    required String providerId,
    required String signInMethod,
    this.accessToken,
    this.idToken,
    this.secret,
    this.rawNonce,
  })

Can someone explain me better all the required elements and explain me a showcase?

I can access using this credential and pass it to signInWithCredential(credential) ?

Hi @kekko7072
LinkedIn auth is not supported on Firebase yet so there is no official way to do this. You can create a custom token with something like https://github.com/firebase/functions-samples/tree/main/linkedin-auth
Thank you

Sorry but my question should be still open. In fact the example is not working because is based on old version of LinkedIn api.

Can I create custom token directly using firebase Auth package ?

You can use the same principle to create a custom token from dart code


[masterbots.ai] fix: restore desktop navigation link - browse section

OPEN PR
PR Reason:

While running tests on the current https://dev.masterbots.ai/, I noticed it was impossible to navigate back to /b as the navigation link to /b was removed.

Fix:

Including back the  <HeaderLink href="/b" text="Browse" />

Images:
Old:

Fixed:

NOTE: The new mobile sidebar includes all the navigation links/routes and seems to be ok
@coderabbitai , don't check this one please, no need for this one
Summary by Sourcery
Bug Fixes:

Restore the desktop navigation link to the '/b' (Browse) section, allowing users to navigate back to the Browse page.

Summary by CodeRabbit

New Features

Added a "Browse" navigation link to the header, accessible on larger screens.
Introduced a new button variant called "powerUp" with updated styling.
Implemented a "Power-Up" toggle feature in the chat panel header.

Improvements

Enhanced model selection logic in the chat combobox to ensure safe operations in production environments.
Added a new PowerUpProvider for managing power-up state across components.

Style

Updated dimensions of the switch component for better usability.

@Bran18 -- thanks for the updates and reviewing navigation! However, I found that the updates here are not required. The /b was misunderstood, since /b stands for bot as for /u stands for user. Therefore, b is related with the bot profile page view where the /b alone is actually a non-existent page... unless we create a dashboard showing all bots as cards, which is not part of the product design for now.
I see that @merivercap requested a combobox style for active state on links? We have already an active state on designs, we should follow that instead of the current state. I added a new proposal for the designs. Please review them before applying or not a updated design :eyes:

About the design, the yellow combo box was a request from Jun. He requested in the past Friday meeting. He wants to have a more visual contracting on the active model for the combo box. And he asks us to add a yellow color to it.

PR Update:  Add Power-Up Mode Feature
Overview
Adds a new Power-Up mode toggle to enhance the chat interface with advanced model selection visuals and feedback.
Changes

Creates new usePowerUp context hook for centralized power-up state management, which will be super important to changing the way our MB Bots respond once the power-up mode is enabled (for example, using a better prompt to provide more complex information about the question, elaborating more, or having more expertise).
Adds Power-Up mode toggle switch in ChatPanelHeader
Updates ChatCombobox to reflect power-up state with enhanced visual styling
Integrates with existing UI components using shadcn/ui

Video Preview
https://github.com/user-attachments/assets/824c8794-1231-4404-a816-84ede35d5ae5

 Brandon Development Support - November 2024, 1 of 2


Obsolete GO:0018600 alpha-pinene dehydrogenase activity?

id: GO:0018600
name: alpha-pinene dehydrogenase activity
namespace: molecular_function
def: "Catalysis of the reaction: alpha-pinene + O2 + 2 H+ + 2 e- = H2O + myrtenol." [UM-BBD_reactionID:r0709]
xref: EC:1.14.-.-
xref: UM-BBD_reactionID:r0709
is_a: GO:0016705 ! oxidoreductase activity, acting on paired donors, with incorporation or reduction of molecular oxygen
The EC:1.14.-.- xref should be removed from GO:0018600 (it's already correctly on GO:0016705).
Actually, GO:0018600 could be obsoleted since it has no annotations and no obvious EC/RHEA term

Hi @emanuel-schmid
Looking at the eawag-bbd entry for this: http://eawag-bbd.ethz.ch/servlets/pageservlet?ptype=r&reacID=r0709
it cites this paper https://pubmed.ncbi.nlm.nih.gov/10192895/
I dont have access to the full text, but is there evidence that this activity exists? It seems from the abstract that some cell extracts gave some products, but it could be multi-steps reactions catalyzed by multiple proteins.
It may be more appropriate to map to  'GO:0033074 pinene catabolic process' and 'GO:0046249 alpha-pinene catabolic process' , since we dont have direct evidence of the enzymatic activity described by  GO:0018600 alpha-pinene dehydrogenase activity.
What do you think?
Thanks, Pascale

Removed EC
Added references for pienene catabolic process

alpha-pinene monooxygenase [NADH] activity is incorrectly mapped:
The reaction described is "Catalysis of the reaction: alpha-pinene + NADH + H+ + O2 = NAD+ + H2O + alpha-pinene oxide." and is correctly mapped to UM-BBD_reactionID:r0742
However we have a related term, alpha-pinene monooxygenase activity, describing UM-BBD_reactionID:r0716: Catalysis of the reaction: alpha-pinene + O2 + 2 H+ + 2 e- = H2O + pinocarveol.
GO and UM-BBD match; however that term has EC:<IP_ADDRESS> and RHEA:32891, that correspond to alpha-pinene monooxygenase [NADH] activity .

[ ] Move EC and RHEA from GO:0018595 to GO:0018634
[ ] question for @emanuel-schmid: should we obsolete  alpha-pinene monooxygenase activity, or is there evidence for that reaction?

pinene synthase activity : EC:<IP_ADDRESS> : transferred to EC:<IP_ADDRESS> and <IP_ADDRESS> .
However it seems that most enzymes can produce both the alpha and the beta form, sometimes one more efficiently than the other, but for now we can keep these as NARROW xrefs of GO:0050550.
Also add NARROW Xrefs RHEA:25488 and RHEA:25496

Discussed with Kathrin at EAWAG-BBD, and she agrees that there is no biochemical evidence for the two reactions being questionned:
GO:0018600 alpha-pinene dehydrogenase activity
GO:0018847 alpha-pinene lyase activity
Papers cited characterized the degradation of pinene, but the reactions are not know.
Pascale

Dear all,
The proposal has been made to obsolete
GO:0018600 alpha-pinene dehydrogenase activity
GO:0018847 alpha-pinene lyase activity
The reason for the obsoletion is that there is no evidence that these reactions exist. There are no annotations to these terms; these terms are not present in any subsets. The reactions have cross references to BBD database, but  papers cited have no biochemical evidence.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/26207
Thanks, Pascale


google_map_flutter for iOS has higher elevation.

Steps to Reproduce

On iOS add GoogleMaps widget in stack.
Add another overlay, e.g. AnimatedBuilder

Target Platform: iOS
Target OS version/browser: 9.0
Devices: iPhone 7.0
Logs

[✓] Flutter (Channel beta, v1.10.7, on Mac OS X 10.15.1 19B88, locale en-PK)
    • Flutter version 1.10.7 at /Users/farry/development/flutter
    • Framework revision e70236e36c (7 weeks ago), 2019-10-02 09:32:30 -0700
    • Engine revision 9e6314d348
    • Dart version 2.6.0 (build 2.6.0-dev.0.0<PHONE_NUMBER>)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/farry/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B500
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.4886.3

[✓] VS Code (version 1.40.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • Farrukh’s iPhone • ba892969dc83d48598c02bbe138f72b288abbdb8 • ios • iOS 13.1.3

! Doctor found issues in 1 category.

Hi @farry19
what behavior did you experience?
Wrong placement in the Stack ?
thank you for providing your flutter doctor -v
and the steps to reproduce the problem

I was able to embed package into iOS while adding some keys into plist.info and when it appears, all the other overlays in stack went back to the maps layer:

Then i wrapped both the map widget and the underlaying into material and set the higher elevation to overlaying cards but the result is like in attached image.

Hi @farry19
that is clearer than 100 words,
thank you

Sorry for my understandings and posts, but I was following this tutorial:
https://youtu.be/CjhXyY_92xU
everything is working fine except the overlay cards for locations in IOS.

Hi @farry19
I'm glad that you fixed the issue,
thank you for letting me know

Hi @farry19
I'm glad that you fixed the issue,
thank you for letting me know

I didn't confirm you that i have fixed the issue, i rather updated you that i was following this tutorial and on iOS i have the issue.

Hi @farry19
I checked this code from the link under the mentioned video and I can't see described issue, cards are shown above the map.
I tried with flutter master v1.15.19-pre.17, iOS 13.3 (emulator) and google_maps_flutter 0.5.24+1.
Are you still experiencing this?

Hi @farry19
Without additional information, we are unfortunately not sure how to resolve this issue. We are
therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the
bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Streamline name casing in README

As per this suggestion, I did a quick scan through the README and streamlined all name casing: schemas are camelCased, types are PascalCased.

In a lot of cases I'm partial to Pascal-casing, since schemas ultimately represent types. This also enables a pattern that I personally love where a schema and it's inferred type can share a name. They are the runtime & static representation of the same type, so this feels right to me.
const Dog = z.object({
  name: z.string(),
  age: z.number(),
});

type Dog = z.infer<typeof Dog>

But for utility schemas with a self-evident static type I wouldn't capitalize.
const nonemptyString = z.string().min(1)

That's what I do and what feels natural to me within TypeScript norms.
I appreciate the PR, but a lot of the changes in this PR feel weird to me so I'm not going to merge. Ultimately people can do what they want and I don't think there's much value in trying to establish a dogma here.


kiex install issue

Here is my issue:
system : macOS High Sierra version 10.13.1
erlang: installed using https://github.com/kerl/kerl
kerl status
Available builds:
20.1,20.1
----------
Available installations:
20.1 /usr/local/Cellar/erlang/20.1
----------
The current active installation is:
/usr/local/Cellar/erlang/20.1

erl output
erl
Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V9.1  (abort with ^G)

But when I run kiex install 1.5.2 I got this error
Failed to extract the erlang release!
That Elixir requires Erlang R17 or later
Erlang installation choices:
   * Download - https://www.erlang-solutions.com/downloads/download-erlang-otp
                http://www.erlang.org/download.html
   * Kerl - https://github.com/spawngrid/kerl
   * Package manager -
           Arch: See AUR package,
           FreeBSD: pkg install erlang
           OS X: brew install erlang
           Ubuntu/Debian/CentOS see erlang-solutions.com

Something I am missing here?
Thanks for any help.

Same issue happened to me and I've solved it just updating kiex itself. Hope this helps.


Rietmann/tris and tets

Current coverage is 87.31% (diff: 93.20%)

Merging #55 into master will increase coverage by 9.92%

@@             master        #55   diff @@
==========================================
  Files            56         56
  Lines          2857       2751   -106
  Methods         342        339     -3
  Messages          0          0
  Branches        500        481    -19
==========================================
+ Hits           2211       2402   +191
+ Misses          646        349   -297
  Partials          0          0

Powered by Codecov. Last update a7733e6...10b4350


How to use (Group) Managed Service Accounts

Added example of configuring WinSW to use GMSA. Tested with Windows Server 2012 R2.

👍


[Feature] Add composable template

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #662 (36a16f4) into 2.x (37d5b9d) will increase coverage by 0.01%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              2.x     #662      +/-   ##
==========================================
+ Coverage   59.46%   59.47%   +0.01%
==========================================
  Files         291      308      +17
  Lines        9680    10092     +412
  Branches     1702     1799      +97
==========================================
+ Hits         5756     6002     +246
- Misses       3476     3621     +145
- Partials      448      469      +21

see 32 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Code freeze date of 2.7 is April. 18 PDT.
If this is planed for 2.7, please ask your team members review & merge this by end of April 17. Thanks!

Code freeze date of 2.7 is April. 18 PDT. If this is planed for 2.7, please ask your team members review & merge this by end of April 17. Thanks!

Sure, we are doing internal bugathon and will approve this before April. 18


Chapter3/homework/1

Took Homework 2 of Chapter 2 and refactored using lists and properties.

Ready for review.  As recommended, I removed the private backing field and just use auto-implemented properties   I had left comment in my resolves but unsure if I am also suppose to leave comment in this box which I am typing right now.  I am guessing that you've been too busy to review and that's why there's been no feedback.  Not sure if I am supposed to be typing something here.

I would say the PR is pretty good, you can just removed those private setters because if you set just in a ctor, they are not needed.


[Feature] Expose name of deleted PR branches

Gitea version (or commit ref): 1.11.0
Git version: 2.24.1
Operating system: Linux (Alpine)
Database (use [x]):

[x] PostgreSQL
[x] MySQL
[x] MSSQL
[x]  SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes: https://try.gitea.io/ppmathis/test/pulls/1
[ ] No
[ ] Not relevant

Description
When the head branch of a pull request in either state gets deleted, the pull request no longer exposes the original branch name. This is directly related to #9158, which requested tracking the ref to the tip of the deleted branch and a working commit/changes view.
I would like to suggest to also expose the name of the branch which got deleted through both UI and API instead of just showing from deleted into <target branch>. The name of the branch can usually be accessed as head.ref in the API, however the whole head property is null as soon as the branch got deleted.
Screenshots
PR with correct branch name before branch deletion

PR with missing branch name after branch deletion

Because that branch maybe from another repository which deleted.

We should probably display branch name even if it is deleted just without link and marked as deleted

@lafriks That would be the kind of behavior I'd expect - even when the branch or repository got deleted, the PR should still expose the original branch name through UI and API.
This also follows the implementation of all other major Git platforms including GitHub and is useful for stateless bots which can determine if a PR has been previously opened by checking for a predictable branch name.


ios-sim-portable not compatible with Node 8.0.0

Please allow ios-sim-portable installation with Node 8.0.0
yarn global add nativescript
yarn global v0.24.6
warning No license field
[1/4] 🔍  Resolving packages...
warning nativescript > ios-device-lib ><EMAIL_ADDRESS>Use uuid module instead
warning nativescript > plist > xmlbuilder ><EMAIL_ADDRESS>This package is discontinued. Use<EMAIL_ADDRESS>warning nativescript > xcode ><EMAIL_ADDRESS>Use uuid module instead
warning nativescript > progress-stream > through2 > xtend ><EMAIL_ADDRESS>
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=4.2.1 <5.0.0 || >=5.1.0 <8.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

Hey @xmlking ,
Thanks for reporting this. We still have not validated the package is working correctly with Node.js 8 and that's why we have not updated the engines tag.
You can pass --ignore-engines to yarn, so the engines tag will not be checked.
Hope this helps.


better donation links

Github Donations are cumbersome because they require the user to have a Github account (or create one if they don't have one). Since the crossover between BES users and Github users is unknown, it makes sense to replace this mechanism with something requiring less work.
Stripe has both Donation and Subscription "no code" options. These options create a link to payment pages which require no logins or naything. This is likely the best option.

#159


add visual indication when sentry truncates dict data

Problem Statement
My understanding is that sentry has a limit on the amount of data it collects, so it sometimes truncates the data to make sure it doesn't exceed that limit. This is especially clear for long strings (like queries in the breadcrumbs section) with the added ellipsis at the end, but not so much for python dicts.
Here's one example of what I see when there is an error when receiving a postmark webhook (and here's the complete object for reference):

In the above example, I'm sure sentry has truncated the data because I can see the postmark metadata in one frame of the stack trace (we assign the metadata to a separate variable with metadata = payload["Metadata"] and I can see the contents of that variable)
The problem is that the dict representation doesn't tell me if sentry has truncated the data or not. So, now for each error, I need to think twice: did sentry truncate the dict data or did the client of my code not submit the key I'm expecting to find.
Solution Brainstorm
I think a simple ellipsis at the end of each truncated dict would be a good visual indication that sentry has truncated the data.
{
  "key1": "value1",
  "key2": "value2",
  ...
}

However, I'm not sure what happens to existing data especially if sentry didn't collect before information about if variables were truncated or not.

cc @antonpirker - would you mind taking a look at this?

Hey @ghazi-git !
Yes, that makes sense (I thought it would add some indication if the body is truncated)
We have put this on our backlog, but can not promise anything for an ETA because we have quite some stuff on our plate.
But If you want to give it a go and submit a PR, this is always very welcome! (Probable solution would be to wrap the truncated body into a AnnotatedValue field)

hearing that this is on your radar is good enough for me. Still, I'll try to take a look at it once I get some time.

After being lost for a while in the recursive calls inside serialize, I think sentry-sdk is sending the necessary info to notify sentry server that the request data was truncated. In the screenshot below, notice how meta_stack has info about the length of the request payload which is 15.

While I don't understand fully how everything works, my guess is that sentry-sdk sends the original length of the request data when it truncates it. In this case, the request data originally had 15 keys, but the request data in the event sent to sentry servers has only 10 keys (10 is also the value of MAX_DATABAG_BREADTH ).
If what I mentioned above checks out, I think this issue can be moved to the getsentry/sentry repo for further review on their end.

Transferring this to the main Sentry repo -- the payload from the SDK should already contain metadata about what was truncated, so it should just be a matter of how to display it nicely in Sentry.
As a sidenote, on the SDK side we've since added max_request_body_size="always" (see docs which will prevent any truncation.


Harmonize TypeScript/Python types

Bigger picture we pursue LinkML,
But for now harmonize
ngff-zarr-types.ts
with
https://github.com/thewtex/ngff-zarr/blob/main/ngff_zarr/zarr_metadata.py

NGFF types updated in #37


AdoptAWidget - Update ActionListener with an example

Description
Adds a dartpad sample to ActionListener documentation:
This pull request is:

[x] A code sample
[ ] More references
[ ] More explanation

Related Issues
Closes #69480
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

I couldn't think of a good real world application, that's why I decided going with the prints. If you can think of any I would gladly update it, if not I'll submit a new patch with your feedback once doc generation is working again #70137

/cc @johnpryan

@oroblesr I think you should be able to generate docs. I think #70137 is only happening on my machine. Are you seeing it too?

Yeah, I'm hitting lots of Could not find an option named "type" errors, and have not being able to build docs for over a week now.

@oroblesr Maybe try merging in master and see if that fixes the docs generation thing? 🤷

@justinmc I have rebased to the latest master and still can't generate the docs again.

@oroblesr Can you make sure you pushed?  The only commit I see on this PR here on Github shows a date of November 3rd.

I have push the change.

@oroblesr Do you have plans to follow up on the feedback provided soon?

@oroblesr Do you have plans to follow up on the feedback provided soon?

I have removed the autoformatter and attended the comments

I have removed the autoformatter and attended the comments

@oroblesr Thanks for participating in AdoptAWidget. We would like to send you a special thanks. If you are interested, please send an email to nyener at google dot com and provide a link to this issue.


Should Enums be allowed to have empty string values?

What, if any limitations are there on the values of an string decorated with the @enum trait? Specifically, Should it be valid for enum's to be modeled with empty string values?  I'm asking this question because it will direclty drive how the v2 AWS SDK for Go is able to codegen enum shapes.
I'd like to suggest that enum shapes should not be modeled with enum values of empty string. With validation returning and error if there are empty string value enums.
This question and proposal is similar to stating enum strings have a default value, i.e. empty string. This default value allows SDK to not need to distinguish the difference between unset and empty string. This removes the need for languages like Go to use pointers (aka optional) for enum shapes. The zero value (default) of the enum type would be equivalent to the unset or empty string value.
With this proposal, code generators for languages like Go would not distinguish the difference between unset, null, or empty string of enum values during deserialization. During serialization a unset,null,empty string would also be interpreted as unset, and not be serialized. Or in case of sparse list/map serialized as the protocol's null value.

The value property of a definition in the @enum trait is defined as a string with a minimum length of 1. We can update the specification to state this more clearly, but the proposed state is already the case in implementation. An empty value would throw a model validation error like this:
Model:
namespace ns.foo

@enum([{value: ""}])
string Invalid

Error:
[Error] ns.foo#Invalid: Error validating trait `enum`.0.value: String value provided for `smithy.api#NonEmptyString` must be >= 1 characters, but the provided value is only 0 characters. | TraitValue N/A:0:0

Thanks for the feedback!  I wasn't aware of the minimum length trait on enum values. This is very helpful. I think with that information it clarifies that the v2 AWS SDK for Go could safely render enum shapes as values, not pointers (aka optional). Since the SDK can use the empty string to identify that the user of the SDK has not provided a valid value.


feat: add selectable & hidden props

Note for future self:
Tests fail b/c text_v2 object matches empty text objects, which maybe is preferred...if so refactor text unit tests in image of input unit tests or modify regex. Also consider merging text_v1 and text_v2 models now rather than later.


Incompatible with React Developer Tools

I am not sure what's the root cause but this app doesn't play well with the React Developer Tools. It is possibly because we implement this app in a non-recommended way.
Please check this video:
https://www.youtube.com/watch?v=4kBRc9JUlzg

I had no issues with react dev tools before. Can you check again in master branch?
In the video it seems to be clear that one of the modules didn't set getState function properly and caused the app to break. If it is still the case we need to hunt down which module is faulty.


[Feature] Make it possible to add a url property to the tabs node in yml.

Is your feature request related to a problem? Please describe.
It would be great if we could add links to external URLs in the tabs definition. Example:
https://github.com/homanp/superagent/blob/main/fern/docs.yml#L7
Describe the solution you'd like
tabs:
  discord:
    url: # <------ if url prop present then it just links out

+1 as this is relevant to my current build.

This is now possible https://buildwithfern.com/learn/docs/building-your-docs/navigation#tabs


NoMethodError: undefined method `on' for #Biz::Periods::Proxy:0x007f9b164d5d10

Thanks for this great gem.

      biz = Biz::Schedule.new do |config|
        config.hours = {
          mon: {'09:00' => '17:00'},
          tue: {'00:00' => '24:00'},
          wed: {'09:00' => '17:00'},
          thu: {'09:00' => '12:00', '13:00' => '17:00'},
          sat: {'10:00' => '14:00'}
        }
        config.holidays = [Date.new(2014, 1, 1), Date.new(2014, 12, 25)]
        config.time_zone = 'Asia/Jerusalem'
      end
     biz.periods.on(Date.today)

gives me:
NoMethodError: undefined method `on' for #Biz::Periods::Proxy:0x007f9b164d5d10

Whoops, that's because that feature was recently merged and hasn't been included in a release yet. I was hoping to take a crack at this feature request before cutting a new release.
Give me until the end of the week and I'll ship a new version, one way or the other.

Thank you:)

I haven't had a chance to get to that other feature request yet, so I went ahead with cutting a new release.
Enjoy v1.7.0!


Minimal GUI changes

3-way split for panes
Added Module display

@cheongliyuan I changed timeSlotToString() to be a public method so that my ModuleCard can retrieve it easily. Let me know if you want to create a separate getter method since it currently doesn't fulfil getter naming conventions.

@AaronLuk I need your appeal classes to put in the relevant appeal GUI classes without breaking compilation of the entire application.

@SendorasLeft Ok, no need for seperate getter method if timeSlotToString() works well.


Can not pull the image for local-coordinator

I tried to apply the yaml file of local-coordinator in the k8s, but it failed.

I meet the same problem.


Refactoring: vue-core module

I think we need to rework on the vue-core module and to split between smaller modules.
I think the vue-core module should add:

Vue.js with Vite
axios
vue-router (can be discussed)
all important tools like eslint, typescript, vitest + config, etc

It should not add the home page
Then, the home page should be splitted into 2 modules:

vue-home-domain, which depends on vue-core
for the primary part, which depends on vue-home-domain:

vue-home-primary-native, with default App.html, AppVue.vue etc
vue-home-primary-bootstrap
vue-home-primary-tailwind (for example)
etc

Pinia should be in another dedicated module.
Don't hesitate to comment this, if you have better idea.

I want to work on this,
but I need more details about vue-home-domain.
Could you please explain its purpose?
Regarding vue-router, I suggest making it a separate module, similar to vue-pinia.

I need to think more, but for now, the vue-home-domain would be nearly empty, as there is no domain. Or maybe simply a Home.ts which would contains the welcome message.

About vue-router and vue-pinia, yes, it should be in separated modules

@pascalgrimaud,
Since there will be a vue-home-primary-native module,
Does that mean the vue-core module will have an empty App.html file ?


Adds inputs for fetch:cookiecutter action: copyWithoutRender, extensions, imageName

Hey, I just made a Pull Request!
Adds 2 inputs to the fetch:cookiecutter built-in action: copyWithoutRender and extensions.
These get added to the cookiecutter.json generated in this action.
Fixes: https://github.com/backstage/backstage/issues/4920.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation (updates show up at /create/actions)
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Did you check that it works? 😁

I just checked they appear in the generated cookiecutter.json, and trust cookiecutter to do the rest.

@vinayvinay @benjdlambert
I am trying to use a Kubernetes EmptyDir volume as my temporary file system directory and am able to clone the template repo to /tmp but facing an issue that seems to be related to cookiecutter's replay project generation feature where it tries to dump a json file to ~/.cookiecutter_replay/ and was trying to turn this option off, was wondering if using the copy without render option would solve my issue?

@regicsolutions I don't think that it will help you, I think you'll need to set a HOME environment variable to somewhere you can write to. That seems to be what is causing the issue. Is that there is no ~ at the beginning.

Hi @regicsolutions, it doesn't look like copyWithoutRender will fix this issue. copyWithoutRender tells Cookiecutter to copy files without trying to render those as a template (docs).
It looks like a permissions issue because for some reason the replay directory is being created at root: /.cookiecutter_replay, whereas in my case where it works, it is being created under root's home directory: /root/.cookiecutter_replay, might want to look into why that's happening in your case. Hope that helps.

Just need to make those checks pass 😅

Hi @regicsolutions, it doesn't look like copyWithoutRender will fix this issue. copyWithoutRender tells Cookiecutter to copy files without trying to render those as a template (docs).
It looks like a permissions issue because for some reason the replay directory is being created at root: /.cookiecutter_replay, whereas in my case where it works, it is being created under root's home directory: /root/.cookiecutter_replay, might want to look into why that's happening in your case. Hope that helps.

Thanks!
Regarding extensions, would cruft be considered an extension or just the the extensionsdefined on the cookiecutter site?

all done! thanks for your feedback and patience, @benjdlambert and @Rugvip. this PR did end up with quite a lot of back-and-forth, some of which I could have avoided.

@regicsolutions, we're referring to Jinja2 extensions here, cruft isn't one of those.

Thanks! 👍

@vinayvinay i tried this in a kubernetes environment and not able to get it to work using a Docker image that's hosted in my private nexus Docker repository. Any idea how i would go about setting a Docker registry?
Here's the error i get:

Using this as my step:
  steps:
    - id: fetch-base
      name: Fetch Base Template
      action: fetch:cookiecutter
      input:
        url: ./template
        imageName: 'nexus-server:8080/repository/docker/cookiecutter:latest'
        extensions:
          - jinja2_custom_filters_extension.string_filters_extension.StringFilterExtension
        values:
          project_name: '{{ parameters.repo }}'

@regicsolutions docker isn't going to be available inside k8s pods for you to run I don't think. There's some workarounds but they all seem a little hacky. https://estl.tech/accessing-docker-from-a-kubernetes-pod-68996709c04b
This is what #3746 is working towards, is the ability to run the scaffolder on non k8s pods, or some other pod which is running another docker image.
If you're looking to enable extensions you can bake them into the docker image that you deploy as mentioned in the docs here.
The other solution I can think of, is that you could create actions that call out to k8s jobs and operate on top of a volume, but this needs a lot of thought how it can work nicely.


Update host config to be up to date for uwp

@RebeccaAnne,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Update subscriber.did with correct types

Counter and Subscriber are structs in Rust and therefore records in Candid. Variants are for Enums.
Overview
For correctness sake (esp. in beginner-friendly tutorials)
Requirements
Nothing.
Considered Solutions
The correct types.
Recommended Solution
Changing the candid to the correct types.
Considerations
Users will learn candid correctly.

@LXIF thank you for your contribution!


Update README.md

To update Miden VM version from v0.6 to v0.7, momentarily. We can update to v0.8 once the examples are tested in the playground.

Superseded by #5.


cannot create db with default import.sh

I followed the instruction then got this message:
root@acef54deeedb# bash /mnt/map/osm/import.sh
createdb: database creation failed: ERROR:  could not stat file "base/1/pg_internal.init":
No such file or directory

Any guide for this? (OS : CentOS 7.3)

Which instructions did you follow? You mean, these: https://github.com/bmwcarit/barefoot#map-server ? Looks like something went wrong, when building the image. Have you tried deleting and rebuilding the image?

Yes, that instruction. I deleted and rebuilt the image, too. I should try again to see if it helps.

I have tested the instructions with the new Docker version 17.04.0-ce, build 4845c56 which succeeded. Can you please capture the complete message log of image creation (build command) and the import and post it here?

In this log you didn't rebuild the image because it's using image layers from cache (see "Using cache"). I would try to delete the image with sudo docker rmi barefoot-map(of course, you must delete depending containers first, e.g., with sudo docker rm -f barefoot-oberbayern), and then rebuild it with sudo docker build -t barefoot-map ./map &> build.log. This will save the log in the file build.logwhich you can then post or attach to this thread.

Now, that generated a long log.
build.txt

Unfortunatenly, I can't reproduce the problem. Have you checked if the import works now after you rebuilt the image? What I can tell you and what you could check is:

base/1/pg_internal.init refers to the process ID of some PostgreSQL process. However, your log screenshot, see [ OK ] indicates that the process is healthy. Nevertheless, you could check that back with service postgresql status.
For some reason, the creation of the database fails which relies on the PostgreSQL command createdb. You could check that back with sudo -u postgres createdb test and sudo -u postgres psql -l should show a list of the databases and include the line test      | postgres | SQL_ASCII | C       | C     |. (You can delete it afterwards with sudo -u postgres dropdb test.)

Would be nice if you keep me tuned on that. Thanks.

UPDATE (with friendly reference from user @crea): Could you check the SELinux status of your CentOS with sudo sestatus? If it says: SELinux status: enabledtry to set it to permissive instead of enabled and reboot your host system.

Seems to be resolved. Closing this issue for now.


Bug fixes in utils/utils.py

Utils has problems with text generation due to deprecated parameters.
Here are two bug fixes that I put in:
38c38
<         width, _ = draw.textsize(test_line, font=font)

    width, _ = draw.textlength(test_line, font=font)

113c113,115
<     pad_image = pad_image.resize(images[0].size, Image.ANTIALIAS)

pad_image = pad_image.resize(images[0].size, Image.Resampling.LANCZOS)

Replacing with Image.Resampling.LANCZOS  should fix it. But I am failing too on width, _ = draw.textsize(test_line, font=font)

Possible fix, but not yet tested carefully
In def process_mulline_text
width = draw.textlength(test_line, font=font)
no more , _
def add_caption(image, text, position = "bottom-mid",  font = None, text_color= 'black', bg_color = (255, 255, 255) , bg_opacity = 200):
if text == "":
return image
image = image.convert("RGBA")
draw = ImageDraw.Draw(image)
width, height = image.size
lines  =  process_mulline_text(draw,text,font,width)
text_positions = []
maxwidth = 0
overall_text_height = 0
# Calculate positions for each line of text
for line in lines:
left, top, right, bottom = draw.textbbox((0, 0), line, font=font)
text_width = right - left
text_height = bottom - top
overall_text_height += text_height + 5  # Add a little extra spacing between lines
    if position == 'bottom-right':
        text_position = (width - text_width - 10, height - overall_text_height)
    elif position == 'bottom-left':
        text_position = (10, height - overall_text_height)
    elif position == 'bottom-mid':
        text_position = ((width - text_width) // 2, height - overall_text_height)

    text_positions.append(text_position)
    maxwidth = max(maxwidth, text_width)

# Draw a rectangle behind the text for better visibility
rectpos = (width - maxwidth) // 2
rectangle_position = [rectpos - 5, height - overall_text_height - 5, rectpos + maxwidth + 5, height - 10]

# Create a transparent layer to draw the rectangle
image_with_transparency = Image.new('RGBA', image.size)
draw_with_transparency = ImageDraw.Draw(image_with_transparency)
draw_with_transparency.rectangle(rectangle_position, fill=bg_color + (bg_opacity,))

image.paste(Image.alpha_composite(image.convert('RGBA'), image_with_transparency))
# print(ind,text_position)
draw = ImageDraw.Draw(image)
for ind, line in enumerate(lines[::-1]):
    text_position = text_positions[ind]
    draw.text(text_position, line, fill=text_color, font=font)

return image.convert('RGB')

Possible fix, but not yet tested carefully
In def process_mulline_text
width = draw.textlength(test_line, font=font)
no more , _
`def add_caption(image, text, position = "bottom-mid", font = None, text_color= 'black', bg_color = (255, 255, 255) , bg_opacity = 200): if text == "": return image image = image.convert("RGBA") draw = ImageDraw.Draw(image) width, height = image.size lines = process_mulline_text(draw,text,font,width) text_positions = [] maxwidth = 0 overall_text_height = 0 # Calculate positions for each line of text for line in lines: left, top, right, bottom = draw.textbbox((0, 0), line, font=font) text_width = right - left text_height = bottom - top overall_text_height += text_height + 5 # Add a little extra spacing between lines
    if position == 'bottom-right':
        text_position = (width - text_width - 10, height - overall_text_height)
    elif position == 'bottom-left':
        text_position = (10, height - overall_text_height)
    elif position == 'bottom-mid':
        text_position = ((width - text_width) // 2, height - overall_text_height)

    text_positions.append(text_position)
    maxwidth = max(maxwidth, text_width)

# Draw a rectangle behind the text for better visibility
rectpos = (width - maxwidth) // 2
rectangle_position = [rectpos - 5, height - overall_text_height - 5, rectpos + maxwidth + 5, height - 10]

# Create a transparent layer to draw the rectangle
image_with_transparency = Image.new('RGBA', image.size)
draw_with_transparency = ImageDraw.Draw(image_with_transparency)
draw_with_transparency.rectangle(rectangle_position, fill=bg_color + (bg_opacity,))

image.paste(Image.alpha_composite(image.convert('RGBA'), image_with_transparency))
# print(ind,text_position)
draw = ImageDraw.Draw(image)
for ind, line in enumerate(lines[::-1]):
    text_position = text_positions[ind]
    draw.text(text_position, line, fill=text_color, font=font)

return image.convert('RGB')`

There were many issues in the file, especially with PIL being incompatible with the latest version and also textsize issues, should be textbox for multiple lines in the caption.
The attached version of the file works well on the latest library and also with multiple text lines and multiple captions. We've run quite a lot of tests  and all working well.
Because of all the work done on the file, diff shows up lots of lines, so attaching the file here.
utils.zip


Statistics currently are capturing the user's name

We need to double-check which statistics we capture and make sure they are all anonymous

Should be fixed in https://github.com/SuffolkLITLab/docassemble-InterviewStats/pull/20/


Refactor findAvailablePort() method

Combine the logic for Windows and other OS's inside of this method. Extract the code differences to other methods.

This can probably be closed?
git grep findAvailablePort | wc -l
       0

@TrevCraw was there anything interesting motivating the idea to refactor here or was it purely for code organization?
Nothing Maven vs. Gradle specific I assume.
I started looking for relevant issues since I noticed findAvailablePort not working as expected using Gradle and Windows 11... but in the past couple hours my problem went away.  Blame the daemon cache I guess.
Thought I'd ask anyway.

@scottkurz It is purely for code organization


LuckPerms Web Editor won't load

I have a strange issue with the Web Editor.
When I initially downloaded the plugin a few days ago, I was able to use the "/lp editor" command, click the link, and use the Web Editor without any issues.
However, after that initial day or two of using the Web Editor, I have had nothing but issues. First I was unable to get a link, as it would give me the in-game message of "Preparing a new editor session. Please wait...", but never actually provide a link. Today it does give me a link but refuses to work on Chrome. First I got it to open on Chrome, but it wouldn't save the changes and provide a link; it just kept loading. I then refreshed and got the same issue of it claiming it couldn't load the Web Editor. I tried making one or two new links, none of them worked. I then tried opening the links in Firefox, and it worked once, and I could save the changes, but that also only worked once. Now I keep getting the "Loading error", no matter what I do.
Please help!

Please check your browser's console for any errors and provide them to us.
Also, I think this issue is more related to lucko/LuckPermsWeb than the plugin itself.

This is the console-error I get. Thanks for the reference; I wasn't aware that the Web Editor had its own forum. I will ask there as well.

I'm afraid that you have to wait as this is most likely an issue caused by the nameservers of bytebin not being fully updated yet (It can take up to 24 hours for that)

Hm, I just got access for a few minutes. On Chrome as well. I was able to do 1 change, save it and implement it. Once I tried changing something else it wouldn't save, and now I am back to getting the initial error.
It is not a one-time thing, and it has been more than 24 hours since it initially happened.

It's a DNS issue. You may need to flush your DNS cache.

Should be resolved now.


Can't get it to work at all

Hi there,
I hope you could help me out, because I just can't get this to work (I'm inexperienced with Angular).
My config is defined like this:
$stateProvider.state('articledetail', {
                url: 'articledetail/:article',
                templateUrl: '/articledetail/articleDetail.html',
                controller: 'articleDetailController',
                controllerAs: 'vm'
            }).state('articledetail.tab1', {
                url: '/tab1',
                templateUrl: '/articledetail/tab1.html'
            }).state('articledetail.tab2', {
                url: '/tab2',
                templateUrl: '/articledetail/tab2.html'
            }).state('articledetail.tab13', {
                url: '/tab3',
                templateUrl: '/articledetail/tab3.html'
            }).state('articledetail.tab4', {
                url: '/tab4',
                templateUrl: '/articledetail/tab4.html'
            });

            $stateProvider.state('error', {
                url: '/error',
                templateUrl: '/error/error.html'
            })

I'm moving to my articledetail state:
$state.go('articledetail', { 'article': article.itemNumber });

In the controller (articleDetaillController), I'm defining the tabs:
        vm.tabData   = [
            {
                heading: 'Algemene info',
                route:   'articledetail.tab1'
            },
            {
                heading: 'Info 2',
                route:   'articledetail.tab2'
            },
            {
                heading: 'Info 3',
                route:   'articledetail.tab3'
            },
            {
                heading: 'Info 4',
                route:   'articledetail.tab4'
            }
        ];

My articledetail.html:

    <tabs data="vm.tabData" type="tabs" />
    <form class="form-horizontal" name="editForm" novalidate>

                <button class="btn btn-primary pull-right" type="submit">Artikelgegevens aanpassen</button>

    </form>

The 4 tab html's contain content that should be loaded at the place of ui-view
It just doesn't work, that's all I can say. I'm not getting ANY error at all, the tabs are just not displayed (and I've confirmed vm.tabData exists in the view) and no tabs are loaded.
What am I doing wrong here?

See https://github.com/rpocklin/ui-router-tabs/tree/issues/29 for a working example based on your code.
Main problem was not declaring a parent route for the tabs, and I cleaned up the routing parameters a little (you can change this depending on your situation but this shows it working).
Hope it helps.

Closing due to inactivity.

I believe I had the same issue, I used <tabs data="vm.tabData" type="tabs" /> with no luck, but switched it to <tabs data="vm.tabData" type="tabs"></tabs> and it worked

Ahh yes.  That's a tricky one, and i've been stung by that before.  It's because, technically self-closing custom tags aren't a standard.  In Angular you should always close directive tags with a separate closing tag.  This is particular to Angular.js and nothing to do with this library.
Most browser won't complain so it gets 'hidden' but you don't get the functionality you are after!


FinRL_PaperTradingDemo for Single Ticker

Hi, does anyone know how to adjust the PaperTrading notebook so I can run it on a single ticker using daily data or if there is a better notebook file for that? I have less than 2 months of coding/python experience, so if anyone can explain at that level it would be appreciated.

You may set a ticker list for the single ticker case that only has one ticker, e.g., ["AAPL"]. For daily data, you may try to change the time interval.

I ran back again into the AttributeError: 'NoneType' object has no attribute 'item'
I'm a little lost on where I would change the args.target_step = and how to go about coming up with value.

We'll update the codes soon, setting target_step as one of the input parameters so that users can easily set it.

It's updated. You can set target_step by setting ERL_PARAMS = {..., "target_step": x ,...}

Thanks for the update, testing right now. Question, how does one see the episode step? Is that equivalent to the batch size or break_step?

In most of our envs, the episode step is roughly the number of rows (times) of the data. For your case, I think a target_step of 5000 or 10000 should work.

Ok got it.
I'm not sure if I should make another thread for this, but it looks like that when I get to the Part 2: Train the agent and start the "train" it looks like it's actually redownloading the data from Alpaca rather than using the cleaned data done in the Step 3. Data Cleaning & Feature Engineering.
Also from the Data Cleaning, I see that it's actually trying to process 1m data; I set it to 1D. And it splits up tic, in this case AAPL, with one row tic=A, second row tic=L, 3rd row tic=A, 4th row tic=L, etc. So, it's also duplicating values for tic "A" and tic "L", as well as doing it on a 1m basis.

The training function now redownloads data for each run. We will add a save function and support loading saved data in the future. For now, if you don't want to redownload data each time, you may try to save and load the data by yourself. As long as the data can be successfully loaded into the environment, it should work.

For the problem of data cleaning you mentioned, we will check it. For now, you may see the compare notebook for training, which uses daily data from Yahoo! Finance data.

Hi, I cant find this code:
https://colab.research.google.com/github/AI4Finance-LLC/FinRL-Library/blob/master/examples/old/DRL_single_stock_trading.ipynb
would please check it?
thanks.


[Backport v3.7.99-ncs2-branch] [nrf noup] drivers: flash: Allow reading secure mem by nrf_rram.

Backport 711346aa377a65263784cd0d37efc9230e68229b from #2352.

@thst-nordic Is the autobot for opening manifest PRs for sdk-zephyr not working on v2.9-branch?


kserve-controller-manager crashing

/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
kserve-controller-manager seems failing
I have used kubeflow manifest and aws kubeflow manifest to install kubeflow by using customize.
while ! kustomize build deployments/vanilla | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 30; done
After installation, everything is working fine except the kserve controller.
Below are the logs from kserve controller.
 I1229 21:57:22.401457       1 request.go:665] Waited for 1.099410219s due to client-side throttling, not priority and fairness, request: GET:https://<IP_ADDRESS>:443/apis/cert-manager.io/v1beta1?timeout=32s                               │
│ {"level":"info","ts":1672351043.4518898,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8080"}                                                                                │
│ {"level":"info","ts":1672351043.452151,"logger":"entrypoint","msg":"Registering Components."}                                                                                │
│ {"level":"info","ts":1672351043.452164,"logger":"entrypoint","msg":"Setting up KServe v1alpha1 scheme"}                                                                                │
│ {"level":"info","ts":1672351043.4523108,"logger":"entrypoint","msg":"Setting up KServe v1beta1 scheme"}                                                                                │
│ {"level":"info","ts":1672351046.103796,"logger":"entrypoint","msg":"Setting up Knative scheme"}                                                                                │
│ {"level":"info","ts":1672351046.1039238,"logger":"entrypoint","msg":"Setting up Istio schemes"}                                                                                │
│ {"level":"info","ts":1672351046.1040695,"logger":"entrypoint","msg":"Setting up core scheme"}                                                                                │
│ {"level":"info","ts":1672351046.104119,"logger":"setup","msg":"Setting up v1beta1 controller"}                                                                                │
│ {"level":"info","ts":1672351046.1049294,"logger":"setup","msg":"Setting up v1beta1 TrainedModel controller"}                                                                                │
│ {"level":"info","ts":1672351046.1049807,"logger":"entrypoint","msg":"setting up webhook server"}                                                                                │
│ {"level":"info","ts":1672351046.1049895,"logger":"entrypoint","msg":"registering webhooks to the webhook server"}                                                                                │
│ {"level":"info","ts":1672351046.1050506,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/mutate-pods"}                                                                                │
│ {"level":"info","ts":1672351046.1051028,"logger":"controller-runtime.builder","msg":"skip registering a mutating webhook, object does not implement admission.Defaulter or WithDefaulter wasn't called","GVK":"serving.kserve.io/v1alpha1, │
│ {"level":"info","ts":1672351046.1051168,"logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"serving.kserve.io/v1alpha1, Kind=TrainedModel","path":"/validate-serving-kserve-io-v1alpha1-trainedmodel"}   │
│ {"level":"info","ts":1672351046.1051528,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/validate-serving-kserve-io-v1alpha1-trainedmodel"}                                                                      │
│ {"level":"info","ts":1672351046.1052134,"logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"serving.kserve.io/v1beta1, Kind=InferenceService","path":"/mutate-serving-kserve-io-v1beta1-inferenceservice"} │
│ {"level":"info","ts":1672351046.1052468,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/mutate-serving-kserve-io-v1beta1-inferenceservice"}                                                                     │
│ {"level":"info","ts":1672351046.1052692,"logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"serving.kserve.io/v1beta1, Kind=InferenceService","path":"/validate-serving-kserve-io-v1beta1-inferenceservi │
│ {"level":"info","ts":1672351046.1053116,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/validate-serving-kserve-io-v1beta1-inferenceservice"}                                                                   │
│ {"level":"info","ts":1672351046.1053417,"logger":"entrypoint","msg":"Starting the Cmd."}                                                                                │
│ {"level":"info","ts":1672351046.1056266,"msg":"starting metrics server","path":"/metrics"}                                                                                │
│ {"level":"info","ts":1672351046.1057649,"logger":"controller.inferenceservice","msg":"Starting EventSource","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService","source":"kind source: /, Kind="}                  │
│ {"level":"info","ts":1672351046.105793,"logger":"controller.inferenceservice","msg":"Starting EventSource","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService","source":"kind source: /, Kind="}                   │
│ {"level":"info","ts":1672351046.1058002,"logger":"controller.inferenceservice","msg":"Starting EventSource","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService","source":"kind source: /, Kind="}                  │
│ {"level":"info","ts":1672351046.1058056,"logger":"controller.inferenceservice","msg":"Starting EventSource","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService","source":"kind source: /, Kind="}                  │
│ {"level":"info","ts":1672351046.1058104,"logger":"controller.inferenceservice","msg":"Starting Controller","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService"}                                                    │
│ {"level":"info","ts":1672351046.1061084,"logger":"controller.trainedmodel","msg":"Starting EventSource","reconciler group":"serving.kserve.io","reconciler kind":"TrainedModel","source":"kind source: /, Kind="}                          │
│ {"level":"info","ts":1672351046.1061342,"logger":"controller.trainedmodel","msg":"Starting Controller","reconciler group":"serving.kserve.io","reconciler kind":"TrainedModel"}                                                            │
│ {"level":"info","ts":1672351046.1062627,"logger":"controller-runtime.webhook.webhooks","msg":"starting webhook server"}                                                                                │
│ {"level":"info","ts":1672351046.1064513,"logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}                                                                                │
│ {"level":"info","ts":1672351046.1067054,"logger":"controller-runtime.webhook","msg":"serving webhook server","host":"","port":9443}                                                                                │
│ {"level":"info","ts":1672351046.1978335,"logger":"controller-runtime.certwatcher","msg":"Starting certificate watcher"}                                                                                │
│ E1229 21:57:26.299092       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:57:27.250126       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:57:30.002949       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:57:35.622501       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:57:48.385973       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:58:04.455635       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ E1229 21:58:46.523741       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.InferenceService: failed to list *v1beta1.InferenceService: Internal error occurred: error resolvi │
│ {"level":"error","ts":1672351166.1067326,"logger":"controller.trainedmodel","msg":"Could not wait for Cache to sync","reconciler group":"serving.kserve.io","reconciler kind":"TrainedModel","error":"failed to wait for trainedmodel cach │
│ {"level":"error","ts":1672351166.1068146,"logger":"controller.inferenceservice","msg":"Could not wait for Cache to sync","reconciler group":"serving.kserve.io","reconciler kind":"InferenceService","error":"failed to wait for inference │
│ {"level":"info","ts":1672351166.107205,"logger":"controller-runtime.webhook","msg":"shutting down webhook server"}                                                                                │
│ {"level":"error","ts":1672351166.1073403,"msg":"error received after stop sequence was engaged","error":"failed to wait for inferenceservice caches to sync: timed out waiting for cache to be synced"}                                    │
│ {"level":"error","ts":1672351166.1090791,"logger":"entrypoint","msg":"unable to run the manager","error":"failed to wait for trainedmodel caches to sync: timed out waiting for cache to be synced"}

What's the InferenceService yaml:
[To help us debug please run kubectl get isvc $name -n $namespace -oyaml and paste the output]
k get isvc --all-namespaces
Error from server (InternalError): Internal error occurred: error resolving resource

Anything else you would like to add:
I have just installed vanilla deployment out of the box.
Environment:

Kubeflow version: 1.6.1
Cloud Environment: EKS AWS
Kubernetes version: v1.23.13-eks-fb459a0
OS : Amazon Linux 2

k get isvc --all-namespaces
Error from server (InternalError): Internal error occurred: error resolving resource

this makes me think its something to do with the cluster itself. Once the CRD is registered, there shouldnt be anything from kserve side to cause an internal error on the server. Will see if anyone else has more insights

another data, looks like kubeflow was uninstalled and reinstalled on this cluster, so maybe the webhook configurations were not cleaned properly and not updated correctly according to new installation?

/assign @theofpa

k8s 1.23 is not a validated version, but this is an interesting issue to fix towards building support for that version

Hey Theo, 1.23 is tested for Kubeflow-1.6.1 https://awslabs.github.io/kubeflow-manifests/docs/about/eks-compatibility/

@pragadeeshraju @surajkota This seems like some networking issue between kserve and kube apiserver, is there any issue with the cluster itself?

@yuzisun I have tried it in a new cluster, and it's working as expected. But, could not find what the issue was.  Could be a networking issue but I don't have any other pods complaining about it.


[API] On lagrange, we need to show the nft on the webpage

it should list the nfts in the
https://lagrangedao.org/datasets/[datasetname]/settings
list of the nfts:
token_id,created_data,tx_hash,network,type

need @rykci  support for the license type from OP

license type is determined by ERC20 datatoken

Do we have a link for ERC20 datatoken explaination?

https://docs.oceanprotocol.com/core-concepts/datanft-and-datatoken#implementation-in-ocean-protocol
You can publish a data NFT initially with no ERC20 datatoken contracts. This means you simply aren’t ready to grant access to your data asset yet (sub-license it). Then, you can publish one or more ERC20 datatoken contracts against the data NFT. One datatoken contract might grant consume rights for 1 day, another for 1 week, etc. Each different datatoken contract is for different license terms.
Docs do not explain how the terms are assigned

Do you think we could have a meeting with them next week?
If needed we can ask Ahmad help to get a meeting from their Dev. We have contacts

@rykci Where will the server keep track of a datasets NFTs and how will the server discover new NFTs? Is a part (or both) of this accomplished by Rishabh's task?
Also, you will need to create an issue for frontend changes too that will actually display the data / list returned by this API

@PlutoNbai  can help @rykci  create frontend issue

@flin-nbai after #7 is done, you should be able to query a tx hash to get a dNFT contract address

@flyworker I reached out on Discord. Services are defined in the metadata, they use type and timeout (duration)
one erc721 token has encrypted metadata, in this metadata you can have multiple services
https://docs.oceanprotocol.com/core-concepts/did-ddo#services

@rykci great, do we have any other blockers?


Cannot play stream from enigma2 openwebif

I can add the stream URL to the app by sharing the m3u file from a browser. The stream URL looks like http://<IP_ADDRESS>:8001/1:0:1:23C3:446:1:C00000:0:0:0 which is correct but I can't edit and save the URL. Attempting to add it directly results in a "Station is not valid." message.
Clicking play starts the button animation, nothing plays and eventually it stops.
I expected it to play.
According to ffplay, the stream structure is:
Input #0, mpegts, from 'http://<IP_ADDRESS>:8001/1:0:1:23C3:446:1:C00000:0:0:0':
Duration: N/A, start: 68519.046933, bitrate: 256 kb/s
Program 9140
Program 9142
Program 9143
Program 9144
Program 9153
Program 9154
Program 9155
Stream #0:00x76f: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s
Program 9156
Program 9157
Program 9158
Program 9159
Program 9163
Program 9164
Program 9165
Program 9166
Program 9168
Program 9175
Program 9176
Program 9177
Program 9178
Program 9179
Program 9180
Program 9181
Program 9182
Program 9183
Program 9184
Program 9185
Program 9186
Program 9187
Program 9194
Program 9198
Program 17020
Program 17021
Program 17022
Program 17024
Program 17026
Program 17030
Program 17031
Program 17035
Program 17036
Program 17054
Program 17099
Is it possible to play such streams? They play in vlc or mpv but of course they're not specific radio players like URL-Radio.
It is also possible to get an aac stream from the box but then it also has a blank video stream. That looks like this in ffplay:
Input #0, mpegts, from 'http://<IP_ADDRESS>:8001/1:0:1:23C3:446:1:C00000:0:0:0?bitrate=32000':
Duration: N/A, start: 69401.969667, bitrate: 124 kb/s
Program 1
Stream #0:0[0x66]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn, 180k tbc
Stream #0:1[0x67]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 124 kb/s
I think this is the related error in adb logcat:
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal: Playback error
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:   l1.n: Source error
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at l1.r0.k(SourceFile:17)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at l1.r0.handleMessage(SourceFile:354)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at android.os.Handler.dispatchMessage(Handler.java:102)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at android.os.Looper.loop(Looper.java:223)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at android.os.HandlerThread.run(HandlerThread.java:67)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:   Caused by: c2.d: None of the available extractors (b, b, d, j, l, a, b0, e, g0, e, f, a, d, d, b, a) could read the stream.
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at h4.t.O(SourceFile:184)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at r1.j0.a(SourceFile:120)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at v1.k.run(SourceFile:41)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-04 11:55:44.531 11086 12811 E ExoPlayerImplInternal:       at java.lang.Thread.run(Thread.java:923)
Let me know if I can offer any more info. Thanks for reading this far!

Hey,
This is not a valid streaming url...

This is not a valid streaming url...

What do you regard as valid streaming URL? It works if put into the stream entry box in the other apps I mentioned.

What works on an Enigma2 receiver does not mean it will work here.

The stream is being transcoded and sent by an Enigma2 (at the IP address <IP_ADDRESS>), not played on it.


Accept date/timestamp as a type for dynamic and endpoint badges

:clipboard: Description
Hi! I've been experimenting with using badges to show "last update" dates on my repo and was curious about trying to generate relative date badges from either a dynamic or API request (rather than having to commit a change in URL for the badge)
I don't believe this is currently possible (because the value seems to be only looking for a string) but I'd be happy to be proven wrong!
e.g.
https://img.shields.io/badge/dynamic/json?color=brightgreen&label=last%20updated&query=message&url=https%3A%2F%2Fgithub.com%2Fnflverse%2Fnflverse-data%2Freleases%2Fdownload%2Fsnap_counts%2Fts.json generates a badge for a given date/timestamp like , but I'd really like to be able to generate the same styling as
  from a more dynamic source

Thank you for the question. You are correct that you cannot do this type of formatting transformation as part of the dynamic badge (not unless there's some fairly exotic json path function that happens to be supported by the jsonpath lib we use).
However, this is precisely one of the types of scenario that the Endpoint is designed to support. In the Endpoint badge model, you write the main processing code that retrieves data from the upstream source and then applies whatever sort of extraction/transformation logic you want in order to derive the badge rendering attributes like the message and color.
The Shields.io servers then simply calls your Endpoint to get those values specified in the response in order to provide a corresponding badge
https://shields.io/endpoint/
Going to close this as there's no action to be taken on our end, but please feel free to post any follow up questions

Followup question: is it possible for me to tap into the logic used by the relative-date + timestamp badge by supplying<PHONE_NUMBER> or are you suggesting that I would have to convert<PHONE_NUMBER> to "11 hours ago" for myself?

Would encourage reading the aforementioned docs for the Endpoint badge which explain this. It's you/your Endpoint's responsibility to set the message value to be 11 hours ago or whatever you want yourself.
The response schema of an API for an Endpoint badge looks like this:
{
  "schemaVersion": 1,
  "label": "hello",
  "message": "sweet world",
  "color": "orange"
}

Shields' Endpoint badge uses those values that you define in your Endpoint to render a badge, Shields is not going to subsequently do any additional processing/transformation of Endpoint values.

Thanks for the clarification! I realize that it's not in-scope (currently), I've been using dynamic badges to read from a GitHub json file and was hoping to replicate functionality without making a new commit to change the timestamp and/or without setting up an api to respond to said requests.
Appreciate you taking the time to respond and I'm massively grateful for the badges project!

Sure thing, happy to help!
To be clear though, what you're asking is never going to be in scope for our Dynamic badge, again that's why the Endpoint badge exists. Setting up an Endpoint can be incredibly easy and free, with just a few lines of JavaScript using a free service like RunKit.
As I'm sure you can imagine, there's myriad possibilities for the types of manipulation the internet may want to do with values from an arbitrary json/xml/yaml file and that's why it's simply not possible for us to try to support anything/everything our users might want to do.
The Endpoint badge serves this use case, and yes that does mean that if you want to apply some custom logic then you'll need a dash of code for yourself, either as part of Endpoint badge if you don't control the upstream data source, or if you do control the source, to modify how the json file is being written to ensure it contains the formatting you want with a Dynamic badge


Display value from model in FieldType template

Question
Is there any recommended way of displaying a value from the model in the HTML-template?
If I try {{model[key]}}, I get the error "Type 'string[]' cannot be used as an index type".
@Component({
  template: `

{{to.label}}

{{model[key]}}

  `,
})
export class LabelValueComponent extends FieldType {}

I could fix it by casting the key into a string. Something like the following. But maybe there is a better way that I am missing?
getValue(): string {
    return this.model[this.key as string];
  }

The casting would do the job, but ensure to always use a string/number value to the key property and not an array. Another solution is to use formControl.value.

The casting would do the job, but ensure to always use a string/number value to the key property and not an array. Another solution is to use formControl.value.

@aitboudad Thanks for the suggestion. "formControl.value" seems like a cleaner solution so I switched to using that one instead.

{{formControl.value}}

```

@aitboudad Thanks for the suggestion. "formControl.value" seems like a cleaner solution so I switched to using that one instead.
<div class="col-sm-9 value">{{formControl.value}}</div>
```


[WIP] Refactor Auth provider out of GlobalContext provider

After this is done, GlobalContextProvider can probably be renamed to DeckProvider / that will be all that's left.
The API has changed so getUser is now async so we have to decide whether to add a separate ProfileProvider or have 2 fetches in the AuthProvider or move profile data into the user object's little profile data field made specifically for this purpose (requires more changes to profile pages, which I'm trying not to touch right now).

I am starting to feel like this is not super helpful to do. Now that "languages" has been factored out... fetching User and Profile/Decks seems like it's actually fine to do both of them in one context-provider.
If we had synchronous access to the session/user then maybe it's worth it, but in the new supabase-js, added in #13 , there isn't, so we still need to useEffect and manage state/updates.
I'm going to recommend we close this PR, and declare the epic #8 closed.


Copy Cosign Signature with The Rest of the Images

Describe the problem/challenge you have
Currently we don't have a clear path to copy signatures with images.
Describe the solution you'd like
Test out copying signatures using cosign
Anything else you would like to add:
N/A

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

available in https://github.com/vmware-tanzu/carvel-imgpkg/releases/tag/v0.9.0 via --cosign-signatures flag on copy cmd.


Usage question: zipping datasets

I was hoping that I could use this port to zip a mainframe dataset using the "//'USERID.DATA'" method as used with cp but this results in a zip warning: name not matched: error. I can copy the dataset into USS and then zip but this requires additional steps. Is there any way round this?

I was hoping that I could use this port to zip a mainframe dataset using the "//'USERID.DATA'" method as used with cp but this results in a zip warning: name not matched: error. I can copy the dataset into USS and then zip but this requires additional steps. Is there any way round this?

Zip uses C open() which does not support dataset I/O. Do you have dsfs set up on your system? That is the future direction for dataset I/O on z/OS UNIX - https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-overview-zos-data-set-file-system

Unfortunately this is a 2.4 system so seems I'm out of luck for now


update chaps index

Description
update chaps index:

increase bounds on ledger core
increase bounds on plutus
support Plutus V3 in conway ledger era

TODO

[ ] There is a broken golden test, Bech32DecodingError
[ ] There is a TODO to decide if we should change the signature of mkVersionedProtocols pass the new query parameter to NodeToClientVersionData.

Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
roundtrip tests
integration tests
See Runnings tests for more details

[ ] Any changes are noted in the CHANGELOG.md for affected package
[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] Self-reviewed the diff

Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges.  Please contact IOG node developers to do this
for you.

replaced by #24


Ensure the engineLayer is disposed when an OpacityLayer is disabled

After #90017 the addToScene returns directly when there is no child in current layer. The corresponding engineLayer may not be disposed correctly, which causes an assertion failed in web engine (#92830).
This PR fixes issue #92830.
No tests are changed.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[ ] All existing and new tests are passing.

Gold has detected about 1 new digest(s) on patchset 1.
View them at https://flutter-gold.skia.org/cl/github/94280

hmmm, it seems the ci failed due to server error XD

@ctrysbita Can you rebase this to the latest master, which will hopefully take care of the golden issues that were mistakenly detected on this PR?
Also, can you please add a test for this? Thanks.

@goderbauer Rebased. And I think it is just a bugfix which does not change any behavior. Maybe we don't need additional test?

And I think it is just a bugfix for canvaskit executor which does not change any behavior. Maybe we don't need additional test?

The purpose of the test is to make sure that we never accidentally re-introduce this bug in the future, e.g. when somebody goes in and refactors this code.

@goderbauer OK, I've added. Could you have a review?

/cc @dnfield Can you do a secondary review?


Personalized model for clients

❓ Questions and Help
Until we move the questions to another medium, feel free to use this as your question:
Question

Is it possible to deploy different models to clients? For example, deploy only a part of the model on the server.

Hi, it is possible. You can do so by modifying this loop
https://github.com/facebookresearch/FLSim/blob/main/flsim/trainers/sync_trainer.py#L389


feat: add heading support

Adds a parsing rule for headings
Unlike normal markdown, it seems like discord only allows up to 3 levels, so "#### abc" is just treated as text instead.

LGTM, apologies for not seeing this earlier! missed the notification and never knew this existed.


ejabberd mod_eventful module not working in Ubuntu 14.04 LTS

When in mobile side, invoke ejabberd call then our API not calling and that crash report is listed below.
Our System	 : Ubuntu 14.04 LTS
ejabberd version : 2.1.1
Error log path :
var/www/ejabbered/ejabberd.log and found that..
{'module could not be loaded',
[{http,request,
[post,
{"http://<IP_ADDRESS>/messages",
[{"Authorization",
"Basic SFRUUCBCQVNJQyBVU0VSTkFNRTpIVFRQIEJBU0lDIFBBU1NXT1JE"}],
"application/x-www-form-urlencoded",
"from=ABCUSER%40<IP_ADDRESS>/15310114851488363705601144&to=XYZUSER%40<IP_ADDRESS>&type=chat&subject=&body=%7B%22isdownload%22:false%2C%22issent%22:false%2C%22fromuserid%22:%22ABCUSER%40<IP_ADDRESS>%22%2C%22ptopid%22:%22%22%2C%22messageid%22:%221488363577548%22%2C%22message_time%22:%221488363577911%22%2C%22mediathumb%22:%22%22%2C%22is_read%22:false%2C%22isseen%22:false%2C%22fromprofilepic%22:%22%22%2C%22isread%22:false%2C%22messagesource%22:%22VGhlIG9ubHkgcHJvYmxlbSBJIGhhZCB3YXM%3D%22%2C%22messagetype%22:%22text%22%2C%22fromusername%22:%22ABCUSER%20AB%22%7D&thread="},
[],
[{sync,false},{stream,self}]],
[]},
{mod_eventful,handle_call,3,
[{file,"src/web/mod_eventful.erl"},{line,188}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
This log may help to get more into it.

Hi,
This project is deprecated. I can no longer offer any support on it.
Thanks,
Theo

Thanks for message

So what should i will use instead of mod_eventful module ?
Any idea or any reference whom i can ask this question ?

I would contact Process One who write ejabberd and offer commercial support.


404 Links

Issue in /src/pages/guides/distribution/index.md
404 on the following:
Packaging Your Plugin
Options for Distribution
Submission and Review
Marketing Your Plugin
Please note: the links in the left columns are fine, the ones on the page are 404

These appear to be fixed and published, at https://developer.adobe.com/photoshop/uxp/2022/guides/distribution/
successfully tested both in the page and the left nav items


Rails5 support

Can't update my rails app due to this gem depends on
    carrierwave-crop was resolved to 0.1.2, which depends on
      rails (>= 3.2)

1

Ditto


[bug]: Cannot start Invoke AI 3.1.0 on Mac M1 Max

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
cpu
VRAM
No response
What version did you experience this issue on?
3.1.0
What happened?
After installing Invoke AI 3.1.0, I ran the invoke.sh script in Terminal which opened the window below:

If I press ok the I get message Exiting... in Terminal.
Screenshots
No response
Additional context
No response
Contact Details
No response

This is a new one! Could you take a screen recording of this?
Are there are any other logs that come up before this appears?

Here's the recording:
https://github.com/invoke-ai/InvokeAI/assets/73276364/791afef5-e851-4bc4-8cb6-c63431874f19
It also happens if I just run the script with no bash command preceding the filepath.
I don't think there are any other logs.

It also happens if I just run the script with no bash command preceding the filepath.

Does this happen when you try sh invoke.sh or ./invoke.sh?

It also happens if I just run the script with no bash command preceding the filepath.

Does this happen when you try sh invoke.sh or ./invoke.sh?

Yes it does.

Completely mystified by this one.

@caleidoscopio Mind sharing the invoke.sh script here?

Try running invoke.sh —no-tui.  I suspect that you have a version of dialog installed which doesn’t behave the way the regular ones does.

@Millu Here's the file
invoke.sh.zip
@lstein, unfortunately adding the -no-tui flag didn't fix it


alibabacloud: fix race

Fixes: https://github.com/cilium/cilium/issues/16170

@l1b0k could you please rebase your branch and force push again? It looks like Travis CI wasn't triggered by the latest push. Thanks!

@l1b0k It looks like now the old change (deleting the read-lock) is back rather than the fix you pushed before in https://github.com/cilium/cilium/commit/d0f0be8b6890147038c3f4cafbfe0610e51835d9

test-me-please

test-runtime

All remaining CI failures are known flakes:

k8s-1.19-kernel-5.4 failure is #14959 https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-5.4/136/
k8s-1.20-kernel-4.19 failure is #16154 https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.19/458/
k8s-1.21-kernel-4.9 failure is #15103 https://jenkins.cilium.io/job/Cilium-PR-K8s-1.21-kernel-4.9/485/

The code changed by this PR doesn't affect these, so no need to re-trigger.
Travis CI still didn't trigger despite rebasing the PR and trying to close/reopen. I've ran these tests locally and verified the race is indeed solved. Marking as ready to merge.


Preview Dataframe when hovering Trrack on a Node in TrrackVis

Show the first ~5 rows of the dataframe in a really compact non-interactive table by hovering on some icon in a trrack-vis node.

Use mantine popover
Needs to get the cached dataframe
Ideally first 5/last 5 columns

We need to be able to pass custom tooltips to Trrack to have this work. The tooltip would assumably be a callback function that takes the Trrack state as its only parameter and returns a component. So this is precluded by an update to trrackvis

5/23/24 meeting decided this feature is no longer wanted; instead we want an option to switch to table view when looking at a vis.


Update build system to easily generate development Docker images

The current build infrastructure does not make it easy enough use development builds of Nakama server (especially via Docker images). Improvements could be made to automate development builds via CircleCI or similar.

Dockerfiles to build the release images have been available in the "build" folder for a while. Further improvements to the build tools for continuous integration can be tracked as a separate issue.


Post-Logout Page

Description
At the moment, logging out via /api/auth/logout will return a JSON response of {"message":"Logged out"}. I suggest adding a proper (possibly static) page with nice visual components.

Will be handed in #422


use unexposed port to check healthy

in _pod.tpl
    livenessProbe:
      httpGet:
        path: /
        port: 13133
    readinessProbe:
      httpGet:
        path: /
        port: 13133

But port 13133 is not exposed

Hello @caibirdme, can you expand on what you mean?   LivenessProbe and readinessProbe ports are normally not exposed in the deployment/daemonset's ports section.  You can see both probes working as expected in our tests. Are you experiencing an issue getting K8s to interact with the probes?

Liveness probe failed: Get "http://********:13133/": dial tcp ******:13133: connect: connection refused
Liveness probe failed: Get "http://********:13133/": dial tcp ******:13133: connect: connection refused
I am getting this issue while deploying the collector, what may be the reason ?


chore(deps-dev): bump jest to 29

jest updated to v29
As of Jest 28 "jest-environment-jsdom" is no longer shipped by default, have to install it separately.
Checklist

[ ] This PR makes changes to the public API
[ ] I have included links for closing relevant issue numbers

Thanks for taking time, i will merge this when the next point is sorted out.
One small thing i saw in the pipeline is a warning when running the tests:
ts-jest[ts-jest-transformer] (WARN) Define `ts-jest` config under `globals` is deprecated. Please do
transform: {
    <transform_regex>: ['ts-jest', { /* ts-jest config goes here in Jest */ }],
},

Would be great to get rid of that...

super nice, thanks for contributing


[release-2.0] Allow GeneratingHandlers to skip Apply if resource version didn't change

Backport of #341

needs go mod tidy

It was actually a missing file from go generate I don't know how it got left behind.