Updating a ng-model, while the slider is being moved

Hi, Julien!
Is it possible to update the ng-model value on each slider's step, like this tooltip (http://take.ms/JSkLh) is updated?
Thank you in advance!

Hi @primez do you mean to get ng-model changing on every moves, I will see if it is not triggering too much events.

Yes, update it on every move.
Thank you.

Hi, Julien!
Have you succeeded with checking of this feature?

Hi sorry but i am not at home for still one week..really sorry

It will be done, certainly by options attribute, something like "realtime"

Awesome! Thank you very much!

made few changes today but not yet for you, coming soon

done, put in options realtime attribute to true
https://github.com/darul75/ng-slider/releases/tag/2.1.8

Cool. Thank you!

+1 great feature. using this to control audio. I'll send you the project when it's ready for the public

+1 great feature. I'm using this to control audio. I'll send you the project when ready for public release.

Ok, nice


masonry: fix updating Portal on scrollbar drag

Fixes scrolling Portal on scrollbar drag by recomposing instead of relayouting.
Regression probably caused in 59ee615651266421ffe65dadee6d16663f056c9d (https://github.com/linebender/xilem/pull/488) or ff7635e4c281ff381433728bd070323347638f29 (https://github.com/linebender/xilem/pull/522).

This seems right, but I can't test it due to a bug that appears to be present in both main and this PR:
Node #166 of TreeUpdate includes duplicate child #165;

Huh. That's odd, I thought layout automatically triggered a compose. Maybe it hasn't merged yet.

I tested it (with the panic fix). Dragging the scrollbar still doesn't seem to work.

The scrollbars currently do not receive the pointer events due to a separate bug; the events are instead passed to the inner widget of the Portal, perhaps I should've provided that context in this PR. This patch by @DJMcNab fixes that separate issue, PR https://github.com/linebender/xilem/pull/565 also fixes it:
diff --git a/masonry/src/widget/widget_ref.rs b/masonry/src/widget/widget_ref.rs
index 2f85ea5ba..6bd00a32c 100644
--- a/masonry/src/widget/widget_ref.rs
+++ b/masonry/src/widget/widget_ref.rs
@@ -190,7 +190,7 @@ impl<'w> WidgetRef<'w, dyn Widget> {
                 }
             }
             // TODO - Use Widget::get_child_at_pos method
-            if let Some(child) = innermost_widget.children().into_iter().find(|child| {
+            if let Some(child) = innermost_widget.children().into_iter().rev().find(|child| {
                 !child.widget.skip_pointer() && child.state().window_layout_rect().contains(pos)
             }) {
                 innermost_widget = child;

(Zulip thread here: https://xi.zulipchat.com/#narrow/stream/317477-masonry/topic/Portal.20Scrollbars.20click-and-drag)

PR #565 is unlikely to be merged today.
If you could include that change in the current PR, we could test it and merge it now.

If you could include that change in the current PR, we could test it and merge it now.

Done. The scroll bar should be responsive now, but note there is still an issue related to the drag anchor, so the scroll bar jumps around a bit. My patch on Zulip fixes that (https://xi.zulipchat.com/#narrow/stream/317477-masonry/topic/Portal.20Scrollbars.20click-and-drag), but that patch should only be used if PointerState::position (LogicalPosition) is intended to not be relative to the widget origin.
diff --git a/masonry/src/widget/scroll_bar.rs b/masonry/src/widget/scroll_bar.rs
index 3434a01..5a4e3fe 100644
--- a/masonry/src/widget/scroll_bar.rs
+++ b/masonry/src/widget/scroll_bar.rs
@@ -133,7 +133,8 @@ impl Widget for ScrollBar {
                 let cursor_min_length = theme::SCROLLBAR_MIN_SIZE;
                 let cursor_rect = self.get_cursor_rect(ctx.size(), cursor_min_length);

-                let mouse_pos = Point::new(state.position.x, state.position.y);
+                let mouse_pos =
+                    Point::new(state.position.x, state.position.y) - ctx.window_origin().to_vec2();
                 if cursor_rect.contains(mouse_pos) {
                     let (z0, z1) = self.axis.major_span(cursor_rect);
                     let mouse_major = self.axis.major_pos(mouse_pos);
@@ -147,7 +148,8 @@ impl Widget for ScrollBar {
                 ctx.request_paint();
             }
             PointerEvent::PointerMove(state) => {
-                let mouse_pos = Point::new(state.position.x, state.position.y);
+                let mouse_pos =
+                    Point::new(state.position.x, state.position.y) - ctx.window_origin().to_vec2();
                 if let Some(grab_anchor) = self.grab_anchor {
                     let cursor_min_length = theme::SCROLLBAR_MIN_SIZE;
                     self.cursor_progress = self.progress_from_mouse_pos(

but that patch should only be used if PointerState::position (LogicalPosition) is intended to not be relative to the widget origin.

It's not, it's supposed to be global. (Events are passed unmodified to all widgets right now.)

It's not, it's supposed to be global. (Events are passed unmodified to all widgets right now.)

Shall I add the anchor fix to this PR as well?

Sure.

@tomcur if you're happy for this to land, I'll merge.
For context, we normally use an author-merges policy, but you aren't an org member yet (I expect you to be added in the 2024-09-05 office hours).

I can confirm this now works as expected on Android.

I'm happy for this to be merged, thank you. Nice to hear you're proposing to add me as org member!


Question: how does FLAML handle categorical features?

Hi,
I am trying to learn how FLAML handles categorical features - i.e., which encoding methods (e.g., OneHotEncoding, OrdinalEncoding) are used.
I looked through the following code:
https://github.com/microsoft/FLAML/blob/c4c15f533fb1d9e33690a18c85eba041c80699b7/flaml/data.py#L187
but I can't see where the categorical features are actually encoded.
Also, I was wondering if different estimators will use different encodings? E.g., OrdinalEncoder for lgbm and OHE for RandomForest?

Different estimators use different encodings. CatBoost uses the raw categorical features, for example. That can be found in the _preprocess function of each estimator in model.py.

Thank you, @sonichi.
So if I understand modey.py correctly:

The default/base _preprocess does a Ordinal-type encoding via  X[cat_columns] = X[cat_columns].apply(lambda x: x.cat.codes)
LGBM's preprocess doesn't do anything to categorical features, effectively leaving them "raw"
KNN's _preprocess drops all categorical features

Yes. Both LGBM and CatBoost use raw categorical features.

thank you!


Small rendering bug when using --detect-shared-borders

Data: greenland.geojson.zip
Adding raw GeoJSON to the map (no rendering issues):

Running data through Tippecanoe with --detect-shared-borders. Notice white line in the 2/1/1 tile:

tippecanoe --output=greenland.mbtiles --minimum-zoom=0 --maximum-zoom=5 --buffer=2 --low-detail=10 --full-detail=10 --drop-smallest-as-needed --no-feature-limit --detect-shared-borders greenland.geojson
Running data through Tippecanoe without --detect-shared-borders. No white line in the 2/1/1 tile:

tippecanoe --output=greenland.mbtiles --minimum-zoom=0 --maximum-zoom=5 --buffer=2 --low-detail=10 --full-detail=10 --drop-smallest-as-needed --no-feature-limit greenland.geojson

Thanks! I'll take a look.

I can reproduce the rendering glitch at certain zoom levels (zoom 2.98 here):

I think this is a triangulation or rendering bug in Mapbox GL, not a bug in Tippecanoe. As you can see in the screenshot, the missing row of pixels does not have an outline like the coastline does, indicating that it is part of the interior of the polygon, which is the renderer's responsibility to fill, not part of the edge, which is the tile encoder's responsibility to provide.

I think this is a triangulation or rendering bug in Mapbox GL, not a bug in Tippecanoe. ...

@ericfischer @malwoodsantoro What is the status of this issue ?


couldn't find smoke_imdb_language_model.json

Hi,
in tests/fixtures/  there are only four files and I couldn't find the smoke_imdb_language_model.json， could you please kindly provide it?

Thanks for bringing this up! I haven't touched this code base in a while and there were some changes I've been meaning to make; I'll add that file along with those changes.

Thanks a lot! That will be very helpful!
On Sun, Nov 11, 2018, 11:06 Tam Dang<EMAIL_ADDRESS>wrote:

Thanks for bringing this up! I haven't touched this code base in a while
and there were some changes I've been meaning to make; I'll add that file
along with those changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dangitstam/topic-rnn/issues/11#issuecomment-437695801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcDQZwhGhh_gv7sGBvIMifIOlmnkqhZUks5uuHUxgaJpZM4YS_A8
.


v3.3.0 – Content Relationship Field returns null

Hey,
I've just set up a new project, installed v3.3.0 (without realising) and I think I've discovered a bug. When querying a content relationship field, the data returned inside the document is null. Here's an example of my query:
{
  prismicHomepage {
    data {
      projects {
        project {
          document {
            ... on PrismicProject {
              id
              data {
                title {
                  html
                }
              }
            }
          }
        }
      }
    }
  }
}

I just tried rolling back to v3.2.1 and it returns the data correctly.
Let me know if I can supply any other info to help you debug.
Thanks!

Thanks @kieranstartup, I just came across it myself as well. Working on a fix. 👍

Fix published in v3.3.1
@MarcMcIntosh Just want to confirm that the change made here (link) isn't a required change for the latest Gatsby Cloud changes that was just merged? The value passed to createNode on that line needs to be the same as here in order to get the same ID when linking the field to the linked document:
https://github.com/angeloashmore/gatsby-source-prismic/blob/4fb49edd94a1b9703c6178128f27c9db84b7f965/src/environment.node.ts#L110

Hi @angeloashmore
Yes the Id's need to be the same,
(I must have missed that line during when writing the webhhooks part).
One of the changes that I made when writing the integration for was to use only the field.id for creating node ids.
This was because when a doc has been deleted we can not find out the type as only the id is sent in the webhook payload.
I'll have to have a look and see where else crearteNodeId is called.

Hi @angeloashmore
Yes the Id's need to be the same,
(I must have missed that line during when writing the webhhooks part).
One of the changes that I made when writing the integration for was to use only the field.id for creating node ids.
This was because when a doc has been deleted we can not find out the type as only the id is sent in the webhook payload.
I'll have to have a look and see where else crearteNodeId is called.

The latest fixes have been published in v3.3.2.
All link fields and the Gatsby Preview integration should work as expected now. Thanks everyone! 🎉


polish step fails in isoseq3 workflow

I installed Isoseq as in https://github.com/PacificBiosciences/IsoSeq_SA3nUP/wiki/Tutorial:-Installing-and-Running-Iso-Seq-3-using-Conda#running and ran all commands from that page and from https://github.com/PacificBiosciences/IsoSeq3 which give results until I try to polish.
The polishing command uses the unpolished.bam and the original subreads used for CCS but returns empty content in all polished. files as well as 3 warning during runtime.
isoseq3 polish unpolished.bam m54094_180927_125111.subreads.bam polished.bam
>|> 20181009 11:07:04.535 -|- WARN       -|- operator() -|- 0x7f917efcc700|| -|- No subreads for cluster transcript/828 in window 0-500
>|> 20181009 11:07:12.090 -|- WARN       -|- operator() -|- 0x7f9174fb8700|| -|- No subreads for cluster transcript/816 in window 0-500
>|> 20181009 11:07:12.158 -|- WARN       -|- operator() -|- 0x7f9174fb8700|| -|- No subreads for cluster transcript/816 in window 500-1000

The polished.bam has a header where you can see the previous commands reported.
samtools view -h polished.bam
@HD     VN:1.5  SO:unknown      pb:3.0.1
@RG     ID:e4927d21     PL:PACBIO       DS:READTYPE=TRANSCRIPT  PU:transcript   PM:SEQUEL
@PG     ID:ccs-3.0.0    PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-23616117   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-323CEACF   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-35184AC6   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-364747FC   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-3751DD58   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-37DCFA6C   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-3872F55A   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-39AE5771   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-39D589C3   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-47D43D26   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4A82D30B   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4CEBA27A   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4D70490A   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4DB78682   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4E31A573   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-4FD8F07    PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-53693C07   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-5BD44F34   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-625B3E8A   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-66600F9A   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-6BC74ED3   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-73D12D9F   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:ccs-3.0.0-7CD52484   PN:ccs  VN:3.0.0        DS:Generate circular consensus sequences (ccs) from subreads.   CL:ccs
@PG     ID:lima VN:1.8.0 (commit v1.8.0)        CL:lima --isoseq --dump-clips --no-pbi -j 24 merged_ccs.bam primers.fasta demux.bam
@PG     ID:sierra       VN:3.0.0 (commit v3.0.0)        CL:cluster demux.5p--3p.bam unpolished.bam -j 48
@PG     ID:tango        VN:0.7.1 (commit v0.4.0-121-g22a3096*)  CL:polish unpolished.bam m54094_180927_125111.subreads.bam polished.bam

-rw-r--r--  1 u0002316 domain users  606 Oct  9 13:20 polished.bam
-rw-r--r--  1 u0002316 domain users   65 Oct  9 13:20 polished.bam.pbi
-rw-r--r--  1 u0002316 domain users   20 Oct  9 13:20 polished.hq.fasta.gz
-rw-r--r--  1 u0002316 domain users   20 Oct  9 13:20 polished.hq.fastq.gz
-rw-r--r--  1 u0002316 domain users   20 Oct  9 13:20 polished.lq.fasta.gz
-rw-r--r--  1 u0002316 domain users   20 Oct  9 13:20 polished.lq.fastq.gz
-rw-r--r--  1 u0002316 domain users 1.3K Oct  9 13:20 polished.transcriptset.xml

The unpolished.bam is valid and contains 3901 sequences and the subreads are plenty as well.
Any idea what this could be coming from?
Thanks

Those are only warnings and should not lead to empty output.

Is your input to CCS a single subreads.bam file, since I see many ccs input files, but you use one subreads.bam input.

Is your subreads.bam file accompanied by a .pbi file?

How long does the polish step take?

HI,
could this be because I polished during the SMRTLInk CCS step while the full CLI tutorial tells not to at CLI?
I am rerunning ccs now at CLI but it will take a day to finish...

I answer myself since there was no further reaction....
After running the CCS at CLI as well with command from the tutorial (vs using SMRTLink into CCS for my first attempt) I now got polishing to work.
What is weird is that I got no error telling me something was wrong in the first place.
During the polishing, I got multiple warnings like below (-v) which I hope are OK
many more of the second kind
>|> 20181011 09:13:55.574 -|- WARN       -|- operator() -|- 0x7f75bb7e6700|| -|- No subreads for cluster transcript/4231 in window 0-500
>|> 20181011 09:14:00.398 -|- INFO       -|- Polish -|- 0x7f75be7ec700|| -|- negative inf in mutation testing: 'm54094_180927_125111/6095081/114882_117024'
>|> 20181011 09:14:00.849 -|- INFO       -|- Polish -|- 0x7f75b4fd9700|| -|- negative inf in mutation testing: 'm54094_180927_125111/68485256/107706_109725'
>|> 20181011 09:14:11.151 -|- INFO       -|- Polish -|- 0x7f75b6fdd700|| -|- negative inf in mutation testing: 'm54094_180927_125111/27591428/40848_42828'
>|> 20181011 09:15:16.477 -|- INFO       -|- Polish -|- 0x7f75affcf700|| -|- negative inf in mutation testing: 'm54094_180927_125111/28508729/127119_128264'
>|> 20181011 09:16:04.578 -|- INFO       -|- Polish -|- 0x7f75b67dc700|| -|- negative inf in mutation testing: 'm54094_180927_125111/71172803/68421_69750'

negative inf in mutation testing: is just debugging information for consensus developers, and should be harmless to results.

Thanks. I guess this can be closed then


feat: add guild services and health routes

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[ ] Pre-Commit Checks were ran and passed
[ ] Tests were ran and passed

Description

Adds guild services, including routes, DB service/dependencies
Implements basic /health routes for healthchecks.

Close Issue(s)

moved to https://github.com/JacobCoffee/byte/pull/74


Use new single argument constructor in examples

Fixes #152.

Thank you for noticing it @ahocevar, please merge.


How to filter users according to metadata

Hello 👋
So I added some information in the metada field. And in the users.dart example i changed the stream from the build to my stream function that filters.
I just noticed that the metadata from the current user and the actual user arent the same. Did i update the information incorrectly ? How could i filter the users according to metadata information
  final User? currentUser = FirebaseAuth.instance.currentUser;

  Stream<List<types.User>> filterUsers() async* {
    var users = FirebaseChatCore.instance.users();
    var filteredUser;
    await for (final doc in users) {
      for (final user in doc) {
        // check if user is different from us
        if (currentUser?.uid != user.id) {
          print(currentUser!.metadata.toString());
        }
      }
    }
  }

What I see in the metadata field is  :

And how I updated the user's metadata
  void updateUserData() async {
    usersCollection
        .doc(currentUser!.uid.toString())
        .update({'metadata': activities});
  }
}

What I see in my firestore

final User? currentUser = FirebaseAuth.instance.currentUser; is a Firebase internal user (not to be confused with users that come from the user table), it does not contain any metadata. It is internal Firebase type and it should only indicate you the currently logged in user - by comparing uid from the internal user to the id of the user from the users table.
In your snipped you try to read metadata from the internal user, it is impossible, you should use user from the users table that you compared if (currentUser?.uid != user.id) { user.metadata }
When you're updating user you need to pass the whole json of the user, get it from the users stream, map to json and paste to the .update(userJson); not just .update({'metadata': activities});

I noticed that
var users = FirebaseChatCore.instance.users(); returns all users except the current one, how can i get the currentUser from the firebasechatcore ? I found FirebaseChatCore.instance.firebaseUser but it is equivalent to what i had before which does not have the metadata.
ty

You're right indeed, users do not return the current user https://github.com/flyerhq/flutter_firebase_chat_core/blob/9432c388c702342e771670a0324410b3f1e1db0f/lib/src/firebase_chat_core.dart#L426
then it is as simple as
FirebaseFirestore.instance.collection(users).doc(firebaseUser.uid)


sample_recognize_receipts.py should have a check before print items in receipt

Package Name:  sample_recognize_receipts.py
Package Version: Current
Operating System: Any
Python Version: 3.9

Describe the bug
If the receipt is not itemized an error is display in the sample
To Reproduce
Steps to reproduce the behavior:

have a receipt without items
run python sample_recognize_receipts.py on that receipt

Expected behavior
The program should complete successfully even without items.
Screenshots
This is the output of a run of the sample in one document I have:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-21-84af238b6b50> in <module>
----> 1 PrintReceipt(receipt_lst[6])

<ipython-input-20-09663b52ec70> in PrintReceipt(receipts)
     13         print("Receipt items:")
     14 #        if receipt.fields.get("Items"):
---> 15         for idx, item in enumerate(receipt.fields.get("Items").value):
     16             print("...Item #{}".format(idx+1))
     17             item_name = item.value.get("Name")

AttributeError: 'NoneType' object has no attribute 'value'

Additional context
None.

@squassina thanks for bringing to our attention! The sample will be fixed asap.

I'm opening the PR for this!

@squassina got it - thank you for your contribution! Feel free to tag me on the PR for review. :)

PR opened here:  #19342


Recv returns 0 under MacOS

This was not the root cause of the customer issue on MacOs. Closing now.


element contrribution

Pull Request Checklist

[ ] Changes has been tested on an Android device or Android emulator with API 16
[ ] UI change has been tested on both light and dark themes
[ ] Pull request is based on the develop branch
[ ] Pull request updates CHANGES.md
[ ] Pull request includes screenshots or videos if containing UI changes
[ ] Pull request includes a sign off

merged to elemento


bigint approach used instead of dp

After working on this issue, i found that BigInt approach is better than dp for large values of n and r because it is more memory efficient and prevents overflow, whereas DP can consume excessive memory and still face overflow issues.
issue #133

kindly add hacktoberfest-accepted label to this PR


11/12/2018 05:00 : Create Pull Request for branch master -> prTesting1_2018111204

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


No player damage

Maybe I have it misconfigured, but my sentinels who are range-attacking myself (OWNER) are doing no damage. I can take damage from everything else, and the sentinels can damage mobs...just not me. What could I be missing?

Are you sure:

PvP is fully enabled for the NPC and yourself
You are not on the NPC's ignore list (/sentinel removeignore owner)


Add new version of our old UI Mobile.

Hey, I would love to contribute, Please assign me so that i can start working.


Feedback for "Working with Data Lake"

https://help.sap.com/docs/SAP_DATASPHERE/be5967d099974c69b77f4549425ca4c0/93d0b5d4faa24777a4b78513f7ed6172.html?locale=en-US
The link at the bottom of this page doesn't work.

Dear SAP Datasphere User
Thank you for reporting this wrong link! We'll look into it and come back to you soon.
best regards
the UA team

https://people.sap.com/michael.eaton3

Dear SAP Datasphere User,
The broken link has been fixed and will be visible in version 2023.14.
So that you can already use the link, here it is:
System Views in Data Lake Relational Engine (SAP HANA DB-Managed)
Thanks a lot for your contribution.
Best regards,
The UA Team


When multiple property changes provoke a single change method, arguments to that method are incorrect

Now that multiple property changes can provoke a single property change method call, the arguments to the property change method must include all the old and new values and probably also the names of the properties that have changed.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


command to add search locales from serpapi

I am not sure how to get more than 10 locations from serpapi's location api. The documentation isn't very clear.
https://serpapi.com/locations-api

I think the API is only if you are wanting to search for a search locale based on a string like "Austin". Since we are just taking all of those DMA locations, you should be able to use the entire locations.json file.


Unable to quit the game.

1.User can quit the game after clicking on the quit button on pygame window.

I have already solved this issue and sent a PR.

Thank you for solving this


Edits for clarity

@shalako thanks!  Quick q: when you say "upstream" as in "TLS to Applications and other Upstream Services," do you mean the direction of traffic from the router towards the app instances?

Yes, but the feature is not only for app instances. The bit service (BOSH deployed system component) already uses the feature, and Cloud Controller and UAA will soon.

On Feb 13, 2018, at 8:41 AM, Paul Spinrad<EMAIL_ADDRESS>wrote:
@shalako thanks! Quick q: when you say "upstream" as in "TLS to Applications and other Upstream Services," do you mean the direction of traffic from the router towards the app instances?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@shalako Good to know-- let's set up a meeting to discuss, will send invite-- thanks!


How to add retry logic

Hi, I am trying to add retry logic but I can't make it work. retry(3) is ignored in the get function. However if I try to add retry outside of class it works. I will appreciate if you can help me solve this problem. I think also adding documentation for retry logic can be super helpful. Thanks.
class ApiClient {
    var baseURL:String

    init(baseURL:String) {
        self.baseURL = baseURL
    }

    func get(type:ApiType) -> Observable<[Post]>{
        return RxAlamofire
            .request(.get, baseURL + "/someurl") //doesn't exist
            .flatMap {
            $0.validate(statusCode: 200..<300)
            .rx.json()
            }.retry(3) // this is ignored
            .map{(data) -> [Post] in
                var posts = [Post]()
                // parse it
                return posts
        }
    }
}
    let apiClient = ApiClient(baseURL: "https://jsonplaceholder.typicode.com")
    apiClient.get(type: .posts)
      // .retry(3) //if I add retry logic here it works.
        .subscribe(onNext:  { [weak self] posts in
            self?.objects = posts
            self?.tableView.reloadData()

            }, onError: { error in
                print(error)

        }).addDisposableTo(disposablebag)

Hm,
I think this should work, weird.

I really don't know the reason but below code also works
func get(type:ApiType) ->Observable<[Post]> {
        return json(.get, baseURL + "/someurl")
            .retry(3)
            .map{ responseData in
            var posts = [Post]()
                // parse it

            return posts
        }
    }

Hey @tosbaha
I'm sorry for the 4 month late reply here but I'm trying to help clean up the issue backlog ;)
The reason here is that RxAlamofire.request doesn't return an error for non-200 HTTP codes. I would argue this is a wrong approach, but this is following the same design as Alamofire itself.
Using SessionManager.rx.json would fire an error for a failed request.
See here: https://github.com/RxSwiftCommunity/RxAlamofire/issues/72#issuecomment-274797043

I am not good at math but I think it is 5 months :) Anyway, I moved to Moya since I felt this project wasn't maintained. Best regards.

Yeah it said January and it's may and I haven rounded up ;)


NavigationStack issue

In iOS 16's NavigationStack, the impulseBar will continuously animate the entire page upwards.

Hey @jiemi, sorry for the super late response, your issue should be fixed on version 1.0.0, you are most welcome to check it out. Have a fantastic day!


500 Internal Server error on non-index pages

After installing Pico on my server, the index works, but attempts to go to other pages result in a 500 Internal server error.

Had this problem, and I couldn't get access to the error logs. For the people coming here from google, I found the problem by commenting out all the lines in the .htaccess. This removed the 500 error, and showed the homepage (but not other pages, obvs).
I then removed the comments line by line, and found that the offending line was
'''
RewriteRule ^(config|content|lib|vendor)/.* - [R=404,L]
'''
Removing the "=404" part worked. I suppose my host may have an outdated version of apache...


CAMEL-11243 Split camel-kubernates component into 13 (build-configs, …

…builds, configmaps, namespaces, nodes, persistent-volumes, persistent-volumes-claims, pods, replication-controllers, resources-quota, secrets, service-accounts, services)

Looks good to me, I will merge it.

Thanks @igarashitm the PR has been merged. Can you close the PR and add a note in the camel 2.20 release page http://camel.apache.org/camel-2200-release.html ?


_find_end problem

Hi there.
Thanks for providing this wonderful ldf-parser first.
However I have some problems while reading your codes. How the '_find_end' method locates the last '}' when there are maybe multiple '{' and '}' in Frames section?

Sorta understood. Thx.

Hi, it's been a while since I've worked on this actively. I'm pretty sure it counts the number of {s and }s until they are non-zero and equal. If the text goes {some_text}, then we have 1 { and 1 } (1,1). If it goes {some {other} {text} } we find two { before we find the first }, count is (2, 1). Then we find another { (3,1), then we find two }s which puts us at (3,3), which means we've found the end pair for the initial {. Hope that helps some.

Thx. I have an another question though. Does this parser take comments into account?

Honestly? It's been 2 years since I've had an LDF file to test the parser with. My immediate thought is no, but there's a chance it will ignore comments.


How to use images with different zoom levels for incremental reconstruction?

Hi! I wanted to know how images with different (varying) zoom levels can be used to create a reconstruction? Using incremental reconstruction, it ends up reconstructing a curved surface for flat land. Is there some parameter that can be used to fix this?
Additionally, could you point me to references that I can read to understand how both incremental and triangulation reconstruction algorithms works in some detail? The documentation is superficial.

Hi @n-shubham,
Yes, you can use different zoom level, as long as the focal length is properly stored in the image's EXIF. If you end up with a "bowl effect", it might be :

Combination of bad geometry (flat land + nadir capture)
Incorrect focal length or projection in the .exif files or camera_models.json files (fisheye versus perspective)

Let me know if that helps,
Yann


Contextual notification buttons missing in certain page views

approve_moderation, reject_moderation, lock, unlock, unpublish, move_confirm, particularly create, image edit

Fixed in https://github.com/torchbox/wagtail/commit/b779ec4a314d777f549de48aab719f348411503e


Fix GenerateCompatibilityTests test code generator

Fix GenerateCompatibilityTests test code generator to produce compatible code for System.Text.Formatting.Tests, #490.

looks good


feat: Add --all as a build option

Feature requested
Add the --all (or --projects) option for the ng build schematic. This option would build libraries, then applications, then the default project; because of how they are dependent of each other. It should ignore the e2e projects.
To make it easier to find, and order which project should be built first, it would be better to change the generate schematics of application and library to change the angular.json file adding libraries and applications as attributes holding an array of strings.
{
  ...
  "libraries": ["foo-lib", "bar-lib"],
  "applications": ["example-foo"],
  "defaultProject": "project"
}

Case of use
Building several libraries and applications in a monorepo that all packages/projects have the same semantic version.
When working with several libraries and applications on a monorepo, it is a pain to create a npm script for each project, and update the build:all npm script. Running a single command to build all projects is less painfull and has less chance of mistakes (forgetting, skipping).
Example / attempt
As much as this example works for me, I still can't order the libraries and applications. If I have a library that needs another, and it builds first, it would break.
const fs = require('fs');
const { exec } = require('child_process');
const projectTypes = {
  library: 'libraries',
  application: 'applications'
};

function readAngularJson() {
  try {
    const data = fs.readFileSync('./angular.json', 'utf8');
    return JSON.parse(data);
  } catch (err) {
    throw err;
  }
}

function generateBuildProjects() {
  const angularJson = readAngularJson();
  const projects = angularJson.projects;
  const projectsKeys = Object.keys(projects).filter((key) => {
    return key.indexOf('e2e') < 0 && key !== angularJson.defaultProject;
  });
  const buildProjects = {
    libraries: [],
    applications: [],
    defaultProject: angularJson.defaultProject
  };

  projectsKeys.forEach((pk) => {
    const project = projects[pk];
    const projectType = projectTypes[project.projectType];

    buildProjects[projectType].push(pk);
  });

  return buildProjects;
}

function buildAll() {
  const bp = generateBuildProjects();
  const projects = [
    ...bp.libraries,
    ...bp.applications,
    bp.defaultProject
  ];
  build(projects);
}

function build(projects) {
  const project = projects.shift();
  console.log('Started building', project);

  const child = exec(`ng build ${project} --prod`, (err, stdout, stderr) => {
    if (stdout) console.log(stdout);
    if (stderr) console.log(stderr);
  });

  child.on('close', () => {
    if (projects.length) build(projects);
    else console.log('finished');
  });
}

buildAll();

Duplicate of https://github.com/angular/angular-cli/issues/11002


allow APIs to declare additional content-types

Let's support content-types beyond the built-in XML, JSON, Atom, RSS, and text.
class Twitter::API < Grape::API
  content_types :xls => "application/vnd.ms-excel"
end

Should this allow you to overwrite content-types altogether? This could be achieved by adding a content_type method that adds and a content_types method (this one) that overwrites.

I like the notion of refashioning this to content_type (rather than the plural)... makes it more clear that it's additive. See latest commit; updated interface is:
class Twitter::API < Grape::API
  content_type :xls, 'application/vnd.ms-excel'
end

And I understand the content_types idea, but I don't personally need it and it's a break from the handling of other format settings (which are typically merged together), so I suggest leaving that until it's useful for someone.

Nice and clean. Merging.


how to get comments?

What is the most correct way to get comments on a post in the channel. How do I get comments for a specific post in a channel?
Now I get to receive all the messages in the chat at once, intended for comments in this channel

Use getMessageThread and then getMessageThreadHistory for the received message thread.

Use getMessageThread.


cellxgene-schema must not allow clarifying text for assay_ontology_term_id

The schema has removed guidance in assay_ontology_term_id that allowed clarifying text enclosed in parentheses if there was not an exact match for an assay:
assay_ontology_term_id
If there is not an exact match for the assay, clarifying text MAY be enclosed in parentheses and appended to the most accurate term. For example, the sci-plex assay could be curated as "EFO:0010183 (sci-plex)"
If present, then validation MUST fail and display a warning.

The following must be removed from the cellxgene-schema label application step:
assay
Any clarifying text enclosed in parentheses and appended to assay_ontology_term_id MUST be appended to assay. For example, if the sci-plex assay was curated as "EFO:0010183 (sci-plex)", then the value would be "single-cell library construction (sci-plex)".

Tested the following cases. It looks good, but logging could be slightly improved to be more precise:

Test Case
Expected Result
Obtained Result
Test File
Needs attention

assay_ontology_term_id appended with ' (Slide-seqV2)'
Fail validation
Failed validationLogging: ERROR: 'EFO:0009899 (Slide-seqV2)' in 'assay_ontology_term_id' is not a valid ontology term id of 'EFO'.ERROR: 'EFO:0009899 (Slide-seqV2)' in 'assay_ontology_term_id' is not a child term id of '[['EFO:0002772', 'EFO:0010183']]'.
adata_assay_text.h5ad

valid efo assay_ontology_term_id but not a child of EFO:0002772 or EFO:0010183
Fail validation
Failed validationLogging: ERROR: 'EFO:0006571' in 'assay_ontology_term_id' is not a child term id of '[['EFO:0002772', 'EFO:0010183']]'.
adata_assay_child.h5ad

For the first test case, it correctly logs that it is not a valid ontology term id of 'EFO'. However, there is no need to have the additional check if it is a child of  '[['EFO:0002772', 'EFO:0010183']]'.

Test file is located: https://drive.google.com/drive/u/0/folders/1hNK5E2f9BBFky16nga486Mh0mHhTkgCR

updated logging to be more concise and precise

Thanks for making the logging more concise. This looks good to me!

Test Case
Expected Result
Obtained Result
Test File
Needs attention

assay_ontology_term_id appended with ' (Slide-seqV2)'
Fail validation
Failed validationLogging: ERROR: 'EFO:0009899 (Slide-seqV2)' in 'assay_ontology_term_id' is not a valid ontology term id of 'EFO'.
adata_assay_text.h5ad


feat(testing.Result): Default to UTF-8 when charset is missing

The requests library attempts to auto-detect the charset using chardet, but we just assume UTF-8 to avoid having to pull in another dependency.

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

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

@@             master       #824   diff @@
==========================================
  Files            29         29
  Lines          1789       1789
  Methods           0          0
  Messages          0          0
  Branches        299        287    -12
==========================================
- Hits           1789       1761    -28
- Misses            0         22    +22
- Partials          0          6     +6

Powered by Codecov. Last updated by [a719168...abfcc8c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/falconry/falcon/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/falconry/falcon/compare/a71916889016dcba2b7bd699b61c341193149ab8...abfcc8cadc95698155b2f7c5ec820edb82397f23
[cc-pull]: https://codecov.io/gh/falconry/falcon/pull/824?src=pr

This looks fine... I'm guessing from the changes, if someone specifies a blank string for encoding then we should attempt to try that. If that's not the preferred behavior, we might get a slight performance bump by looking into @ueg1990's suggestion. Thoughts?

@jmvrbanac Practically speaking, we shouldn't ever get a blank string since that would require the app to specify charset="" or similar in Content-Type, which doesn't seem very likely. Re performance, I'm not too concerned in this case since it is for testing, and any perf benefit would be negligible anyway. Practically speaking, I think this just boils down to a question of style. I can change it if everyone likes the inline style, just let me know what you think.


Remove duplicated words.

Signed-off-by: Li Peng<EMAIL_ADDRESS>

Thank you, @flyd1005
I'll prioritize this for the engineering team to review.

Hi @flyd1005
I merged the text changes.
Note, I did not include the Godeps changes in your commit since these are copies of deps and this is not in the scope of gorouter.  Also we have removed Godeps as of this week.
thx
@markstgodard


Publish compiler as npm package

It might make sense to publish the whole package to npm and have the compiler published as a bin since that's how most people will be managing their other dependencies. We can also add it to the templates. There may be some trickiness around getting wasm-merge in place. Leaving this open for discussion and ideas on how to implement.

Seems fairly feasible to package it up. While I think it would be unwise to use this dependency due to its outdated dependencies, it can serve as a great reference either way: binary-install example. Someone also went through the trouble of rewriting it without axios: simple-binary-install.
Apparently [https://www.npmjs.com/package/binaryen](binaryen npm package) already contains wasm-merge and wasm-opt bins, and I can confirm extism-js works just fine with them. So this is just a matter of adding it as a peerDep.

This would be really awesome to see, it would make the process of using the pdk super streamlined for node devs.  Also, it unlocks npx flows where you could execute a build without even having to install it locally, which is really great for quick-starting.


Fixed build errors by removing function inlined in cpp and fixed init order to match decl

Thanks for this very useful plugin!
We saw an error and warnings :

error: you may not portably define inline functions that are not supplied in header visible in the TU that uses the code. I have removed inline but I can move the definition in the header as an alternative (but I don't think there will ever be 10000s of objects to compare, so...)
warning; the init order in a class ctor is based on the declaration, not the definition of the fields initializers. It raises a warning since the actual order is not the one defined. I have rearranged them.

Comments welcome.
Thanks again!

@JSaueressig88 Hi, I have no opportunity to test this, please check this PR)

Removing inline will only ever potentially affect performance. In this case that's fine as what you called out is true (doing thousands of comps is unlikely with this code or anything related to it).
The warning is something I noticed recently as well, good call out.
Merging these two changes as they shouldn't negatively affect the code in any manner.

Good job guys, thanks!


[#200]Added Event Perspektywy Women in Tech Summit 2023

Related Issue
The file had fewer events information.
Closes: # 200
Describe the changes you've made

Added the event details of Perspektywy Women in Tech Summit 2023 in the Events array.
Modifed the cities array(added "Warsaw").
An image for the event has been added in the images folder.

Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update.
[ ] This change requires a documentation update

How Has This Been Tested?

Checklist

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots (if applicable)

Event as in website looks like this-

Code of Conduct

[x] I agree to follow this project's Code of Conduct

@Deepu178 , I have already removed the package-lock.json file, installed the dependencies using yarn and committed the changes 2 days ago.

@Deepu178 , kindly look into my PR, as the event I have added will start this week so it would help add to the content of the website.


Monitor(s) do not turn off during Standby

When ds4windows app is running, it won't let Windows turn off the monitors. I tried changing various settings like hide ds4windows and that didn't help. Only when ds4windows is exited is when Windows will turn off the monitors during standby.

Upon further examination it appears the issue is tied to the configuration under "Output Slots" tab. When a controller is marked Plugged and marked as Permanent then it doesn't let the monitors turn off during standby.

Incorrect port issue reported.


Command is not shut down when file changes if long running process

hi there, perhaps i should be using this program a different way, but i would think that if i use this module for monitoring a node server's file that it would exit the process before starting up the next one. I am currently running into an error where my server is erring out because i cannot attach to the same port as the previous instance.

I experience this too

nodemon is what you want, it restarts the process: https://github.com/remy/nodemon


chore(master): release 1.2.58

:robot: I have created a release beep boop
1.2.58 (2023-09-13)
Miscellaneous

deps: update dependency wayofdev/cs-fixer-config to v1.2.59 (5898d71)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-symfony-serializer/releases/tag/v1.2.58 :sunflower:


Added while loop parser and (currently ignored) tests.

Hi David,
This is almost identical to the infinite loop parser. I wrote tests but I left them disabled until a little more of the language can be parsed. (I couldn't come up with a test that makes sense with what is currently available.)
If I get time to do some more of these, would you prefer them in a larger pull request? Maybe two or three at a time? Or do you prefer to keep your PRs small?
Let me know your comments and corrections! Thanks for taking the time for review!
--Greg

Perfect! Keep them coming :heart_eyes:
I don't have a preference between smaller or larger PRs so whatever is easiest for you. The only thing is I think having multiple of your PRs open at the same time will be confusing because we will end up with conflicts between them. So if you open a PR and I don't get to it until several hours later, just keep pushing your work as additional commits in the same PR.


In Host Registration, choosing This Site Address will move back to Something else

Steps:

Change the value in Something else and save
Go back into Host Registration and click on the This Site's Address radio button
Save and go back into Host Registration.

Results:
Radio selection is back on Something else radio button and the IP address is copied.
Expected:
I would expect the radio button to stay on This site's address.

v0.22.0-rc1
Verified fixed


Add the support of YUAN capture card

I add a new gxf extension and operator to support our capture card (YUAN).
Some applications have modify to let developer can switch to our capture card as AJA card.
Those patch still need our SDK and driver to work (capture video from our card).
But don't cause build break or crash when user select to use AJA card or video replayer.
Even select YUAN card without our SDK and driver, applications still running.
QCAP_SOURCE (our gxf extension) will send out a "No QCAP SDK" screen to hint user.
And we will provide more document on how to use our card and how to get the support from us.

Refactored with the MR: https://github.com/nvidia-holoscan/holohub/pull/105


Fix problems with permissions on ubuntu trusty.

I have some problems with using this role.
I use vagrant with vagrantfile:
Vagrant.configure(2) do |config|
    config.vm.box = "ubuntu/trusty64"
    config.vm.define "gitlab" do |gitlab|
        gitlab.vm.hostname = "gocd-agent"
        gitlab.vm.network "private_network", ip: "<IP_ADDRESS>"
    end
    config.vm.provision "ansible" do |ansible|
        ansible.groups = {
            "gitlab" => ["gitlab"],
            "all_groups:children" => ["gitlab"]
        }
        ansible.limit = "all"
        ansible.playbook = "../ansible/gitlab.yml"
    end
end

and in gitlab.yml:
- hosts: gitlab
  roles:
     - {
        role: geerlingguy.gitlab,
        gitlab_external_url: "https://<IP_ADDRESS>/"
      }

And when I try run vagrant up I get some errors with permissions and I fix this and role works correctly.

@karolrynio - The simpler way to achieve this is to run the playbook as sudo. There are two ways to do it:

In gitlab.yml, add a line above the roles: line with sudo: true.
In the Vagrantfile, add ansible.sudo = true after the other ansible. config lines.


Change Article Footer

Add a way to raise corrections for articles in one- to few-clicks.
Replace social links with a collapsible field or SVGs, depending on weight, for cleanliness.

Bug label due to bad - but not horrible - formatting on mobile.

http://iconfont.io/get-started/ ?

In progress at https://github.com/partridge-tech/chris-blog/tree/footer

TODO:

Reposition icons for better usability and increase spacing.
Consider centering and spreading icons among that area?

I could also break the no JS "rule" in order to start making page data dynamic, and splitting views into tracking-diasabled icon-showing + tracking-enabled text-box-showing-plus-congratulatory-message. Ultimately, I want tracking-disabled people to have the superior experience, and may scratch this altogether because of that.


🐞 [BUG] - Improving the cards alignment in Blog Section

Description
I've been browsing through the blog section of our website and noticed that the card alignment appears to be off. Currently, we have four cards in the first row and only one card in the second row (may change according to the screen size), which doesn't look visually appealing.
I'd like to propose a solution to improve the card alignment in the blog section by implementing a responsive design, we can ensure that the cards are displayed more evenly across rows.
Current behaviour
Currently, we have four cards in the first row and only one card in the second row (may change according to the screen size), which doesn't look visually appealing.
Expected behaviour
The layout should adapt smoothly to different screen sizes and resolutions, ensuring optimal viewing experiences on various devices, including desktops, tablets, and mobile phones.
Reproduction steps
1. Go to the website
2. Click on 'blog'
3. Scroll down to 'down'
4. See the cards alignments

Screenshots

Logs
No response
Browsers
Microsoft Edge
OS
Windows
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

No need as of now


How to get nodes based on label fields.

Hello...
I have configured few nodes with label key=test. Would like to use go client to list only nodes having those label. Tried following, does not seem to work
nodes, _ := cs.CoreV1().Nodes().List(metav1.ListOptions{
LabelSelector: "key=test",
})

that's the proper syntax... your code is ignoring the returned error... try checking that to see if you have a connection or permission issue

Thanks it worked. Yes it was connection issue


Add WEBM to --audio-format. It's the original downloaded file when using -x [audio-only]

Please follow the guide below

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

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

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

Description of your issue, suggested solution and other information
Currently, to download the best quality audio from youtube video, we simply use
youtube-dl -x ULR
The application download the webm file, then quickly "get out" the opus file from webm container and immediately delete original webm file.
However, the opus file isn't widely supported, I want to keep the webm file.
Of course, the application suggest using "-k" to keep that file. But when we use -k, the whole video file (which is 8-10x bigger) would be downloaded.
Please add one more option for this purpose (download audio-only as Webm), or simply add webm to --audio-format

Thank you

webm is a container not a codec, it has nothing to do with --audio-format.

webm is a container not a codec, it has nothing to do with --audio-format.

Ok then, so how can we keep the webm (audio only) file. It's actually downloaded, but impossible to keep?

Provide complete verbose log of what are you trying to execute.

Screenshot of execute with detailed highlight and explanation

webm is a container not a codec, it has nothing to do with --audio-format.

In addition, it's "--audio-format", not "--audio-codec". So literally, "webm", an audio file format, is still fit to that option.


Error in sign.targets: PE file is already strong-name signed

git clone MSBuild
cibuild
cibuild again

C:\MSBuild\Tools\sign.targets(70,5): error : C:\MSBuild\bin\obj\MSBuildTaskHost\x86\Debug\MSBuildTaskH
ost.exe: PE file is already strong-name signed. [C:\MSBuild\src\XMakeCommandLine\MSBuildTaskHost\MSBui
ldTaskHost.csproj]
  Microsoft.Build.Tasks -> C:\MSBuild\bin\x86\Windows_NT\Debug\Output\Microsoft.Build.Tasks.Core.dll
C:\MSBuild\Tools\sign.targets(70,5): error : C:\MSBuild\bin\obj\MSBuild\x86\Debug\MSBuild.exe: PE file
 is already strong-name signed. [C:\MSBuild\src\XMakeCommandLine\MSBuild.csproj]

Win10 machine, VS 2015 Update 3.

I never sent a PR for this, despite claiming I would. Know the fix.


'Add a car' changing 'Brand''Model' fields

Environment: Asus ROG Phone 2, Android 9.
Reproducible: Always reproduce
Build v1.0.47
Preconditions:
Enable internet connection, login to our account.
Steps to reproduce:

Go to 'My Profile'
Click on 'Your cars'
Click on 'Add a car'
Click on 'Brand'
Choose any brand
Click on 'Model'
Choose any model
Click on 'Brand'
Choose another brand

Actual result
After changing 'Brand' field, field 'Model' staying with the same statement.
Expected result
After changing 'Brand' field, field 'Model' should be cleared.
User story links:
https://github.com/ita-social-projects/Car-Back-End/issues/33
Priority: High

Fixed by TetianaLysak


InvalidTokenError: Failed to fetch authorization server metadata

Checklist

[X] I have looked into the Readme and Examples, and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
Been using this library to validate the access tokens and recently started to get a 401 error saying Failed to fetch authorization server metadata.
As I started to dig into the library code, found out that the discovery  method is failing to fetch the openid and oauth configs.
Note: I have verified my issuer url and seems to be good.
Pasting the error being thrown inside the catch block of the discover method:
AggregateError:
    at internalConnectMultiple (node:net:1114:18)
    at internalConnectMultiple (node:net:1177:5)
    at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
    at listOnTimeout (node:internal/timers:575:11)
    at processTimers (node:internal/timers:514:7) {
  code: 'ETIMEDOUT',
  [errors]: [
    Error: connect ETIMEDOUT <IP_ADDRESS>:443
        at createConnectionError (node:net:1634:14)
        at Timeout.internalConnectMultipleTimeout (node:net:1685:38)
        at listOnTimeout (node:internal/timers:575:11)
        at processTimers (node:internal/timers:514:7) {
      errno: -110,
      code: 'ETIMEDOUT',
      syscall: 'connect',
      address: '<IP_ADDRESS>',
      port: 443
    },
    Error: connect ENETUNREACH 2606:4700::6813:a718:443 - Local (:::0)
        at internalConnectMultiple (node:net:1176:40)
        at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
        at listOnTimeout (node:internal/timers:575:11)
        at processTimers (node:internal/timers:514:7) {
      errno: -101,
      code: 'ENETUNREACH',
      syscall: 'connect',
      address: '2606:4700::6813:a718',
      port: 443
    },
    Error: connect ETIMEDOUT <IP_ADDRESS>:443
        at createConnectionError (node:net:1634:14)
        at Timeout.internalConnectMultipleTimeout (node:net:1685:38)
        at listOnTimeout (node:internal/timers:575:11)
        at processTimers (node:internal/timers:514:7) {
      errno: -110,
      code: 'ETIMEDOUT',
      syscall: 'connect',
      address: '<IP_ADDRESS>',
      port: 443
    },
    Error: connect ENETUNREACH 2606:4700::6813:a818:443 - Local (:::0)
        at internalConnectMultiple (node:net:1176:40)
        at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
        at listOnTimeout (node:internal/timers:575:11)
        at processTimers (node:internal/timers:514:7) {
      errno: -101,
      code: 'ENETUNREACH',
      syscall: 'connect',
      address: '2606:4700::6813:a818',
      port: 443
    }
  ]
}

Assuming the time out (5000 ms) specified inside the fetch method is causing to fail and throw. Because when I have tried to fetch the openid configs using curl with the specific url https://{issuer_base_url}/.well-known/openid-configuration, I was able to get the configs.
Reproduction

Generate an auth0 access token and append to the authorization header of the request: authorization: Bearer access_token.
Use the express-oauth2-jwt-bearer library to validate the token.

import { auth as auth0 } from 'express-oauth2-jwt-bearer';
import { promisify } from 'util';

async validateAuth0Token(req: Request, res: Response) {
    const validateToken = promisify(
      auth0({
        issuerBaseURL: ISSUER_BASE_URL,
        audience: AUDIENCE,
        tokenSigningAlg: 'RS256',
      }),
    );

    await validateToken(req, res);
  }

Additional context
No response
express-oauth2-jwt-bearer version
1.6.0
Node.js version
20.10.0

tried removing the timeoutDuration  and still getting the same error.
also tried this package and getting the same error. not sure if I need to bring this up with the Auth0 community.

Any solution for this ?

same issue

I solved it by setting NODE_TLS_REJECT_UNAUTHORIZED to 0

I solved it by setting NODE_TLS_REJECT_UNAUTHORIZED to 0

just again this morning and it worked. no changes made  to my app


fix(build): pin npm version in appveyor to v3, compat with node 4

See the problem with landing https://github.com/karma-runner/karma/pull/2981#issuecomment-383850613

I don't think the appveyor fail is related to this change.

Blocked by #2951


"Maximum Call Stack Size Exceeded" when drawing randomly generated grid

Hey guys!
I was updating my Conway's Game of Life example to 0.14 (which is a great release, I must add!), and I ran into an interesting problem.  When the grid is a small size, everything works fine, but somewhere between 35 and 40 in Firefox and somewhere between 50 and 75 in Chromium, it just crashes with the following:
Uncaught RangeError: Maximum call stack size exceeded
init compile:2752
Elm.fullscreen compile:2623
(anonymous function) compile:4601

This did at least force me to rewrite a terrible recursive function I wrote to ensure it was no my fault, but alas!  There is a gist here you can take a look at:  https://gist.github.com/sonnym/5d0314f6cb18fae0aa71
Thanks for all your hard work!

Okay, with TCE coming in the next release, I am going to close this one. Thanks for the report and figuring out exactly what was the root issue!


Possible work around/Eshop access on region changed 3DS

I managed to get eshop access/home-screen game updates and even check system transfer(although I haven't done any transfer yet since I need 2 more days for another transfer) on a region changed N3DS that previously connected to eshop.
My N3DS XL is originally JPN, it was second hand and has a couple of games installed on the home screen. I a9lh it and region changed it afterwards to EUR but as everyone else, I can't access eshop/update the games via homescreen because of the error code im getting(007-2001). The method I used for region changing was the old one, where you have to install cias of the specific region you want it to be.
Just recently, I bought a JPN white n3ds on 11.0, so what I did was restore my CFW N3DS XL to it's original JPN nand, system transfer it to the 11.0 JPN white n3ds and used dsiwarehax to a9lh it. It went smoothly and now both my JPN 3DS is already on a9lh. I also region changed the white n3ds to us but I didn't manage to connect to eshop though(even though I haven't connected it to eshop since it's brand new) but it's not a big issue for me.
I restored my EUR nand back up to my JPN N3DS XL so I can be able to play my games again. But out of curiosity, I tried opening Eshop since the "green circle" notification has been bugging me for months, but what do you know, It went through(which previously does not because of the error). I tried downloading Swap Doodle but it seems I need NNID for that so I made a new NNID, and I managed to download Swap Doodle afterwards. I also tried updating a game in the homescreen and it updated(I can't do this previously so that's the reason I had CIAngel back when there's no Freeshop yet).
So TLDR, it seems that N3DS that connected to eshop before region changing can access eshop after region changing. I'm not pretty sure about this, but if you need my NAND so you can check, I'll gladly send it to you.
Edit:
I managed to went through the part where the system transfer is looking for a target system now, and it's only connected to Local connection. Does it mean it passed Nintendo's check and considered it as a legit EUR N3DS now?
UPDATE:
Currently performing a System Transfer and it seems to be working fine!! Im gonna post the result once it's finished.
UPDATE2:
Confirmed, system transfer works using a region changed 3DS. Currently doing dsiwarehax now on a legit EUR N3DS.

i have a same issue as yours,N3DS XL JPN region changes to USA,and cannot access eshop,also my OLD 3ds XL JPN to USA region change had issue error code 007-2001.i hope you can find a way pleaseeeee really appreciated..

Wow, thats awesome! so how exactly did it work I wonder? I would be really interested in getting my region changed JPN N3ds  to Connect to EShop

Im not really sure. I opened an issue about this so someone who has the right knowledge can look at what happened.

Before you did your first region change had you acessed the eshop?
It is believed that only a N3DS that has never acessed the eshop can log into the eshop after a region change. So if you never did acess the eshop and got the error after your first region change than it was likely caused by other reasons.

Lacking any insight into how this happened, I'll chalk it up to some kind of unknown server factor and mention it in the guide.

estimated friend
i have the same problem with 50 3ds japan to USA, did you get any solution to go to eshop after the change.??


[New Feature]: Add Animation to Dark/Light Mode Toggle

🎮 feature Request
The current dark/light mode toggle lacks animation, resulting in a sudden change in appearance that can be jarring for users.
Point down the features
Implement animation effects to smoothly transition between dark and light modes when toggling. This could involve a fade effect, sliding animation, or similar transition to enhance the user experience
I am an open-source contributor and would like to contribute this feature enhancement to the project.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@thevijayshankersharma Please change image color also


Add basicauth extension to contrib distribution

See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/7167

I didn't manage to build any distribution which has contrib revision >= https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/fff0a082334d0573891dea39c448a2704b47c6dd which bumped prometheus deps by few major releases.
Will wait for dependency hell to be resolved in contrib before proceeding. I see there is some action going on. :)
Distributions to build: otelcol,otelcol-contrib
Building: otelcol
Using Builder: /Users/stepanrakitin/bin/ocb
Using Go: /usr/local/bin/go
❌ ERROR: failed to build the distribution 'otelcol'.
🪵 Build logs for 'otelcol'
----------------------
2022-01-20T21:15:39.832+0100    INFO    internal/command.go:82  OpenTelemetry Collector distribution builder    {"version": "0.42.0", "date": "2022-01-07T01:55:32Z"}
2022-01-20T21:15:39.833+0100    INFO    internal/command.go:102 Using config file       {"path": "manifest.yaml"}
2022-01-20T21:15:40.218+0100    INFO    builder/config.go:103   Using go        {"go-executable": "go"}
2022-01-20T21:15:40.218+0100    INFO    builder/main.go:52      You're building a distribution with non-aligned version of the builder. Compilation may fail due to API changes. Please upgrade your builder or API   {"builder-version": "0.42.0"}
2022-01-20T21:15:40.224+0100    INFO    builder/main.go:76      Sources created {"path": "./_build"}
Error: failed to update go.mod: exit status 1. Output: "go: finding module for package github.com/prometheus/prometheus/pkg/relabel\ngo: finding module for package github.com/prometheus/prometheus/pkg/timestamp\ngo: finding module for package github.com/prometheus/prometheus/pkg/value\ngo: finding module for package github.com/prometheus/prometheus/pkg/labels\ngo: finding module for package github.com/prometheus/prometheus/pkg/textparse\ngo: finding module for package github.com/prometheus/prometheus/pkg/exemplar\ngo: found github.com/prometheus/prometheus/pkg/timestamp in github.com/prometheus/prometheus v2.5.0+incompatible\ngo: found github.com/prometheus/prometheus/pkg/value in github.com/prometheus/prometheus v2.5.0+incompatible\ngo: found github.com/prometheus/prometheus/pkg/labels in github.com/prometheus/prometheus v2.5.0+incompatible\ngo: found github.com/prometheus/prometheus/pkg/textparse in github.com/prometheus/prometheus v2.5.0+incompatible\ngo: found github.com/prometheus/prometheus/pkg/relabel in github.com/prometheus/prometheus v2.5.0+incompatible\ngo: finding module for package github.com/prometheus/prometheus/discovery/install\ngo: finding module for package github.com/prometheus/prometheus/pkg/exemplar\ngo: finding module for package github.com/samuel/go-zookeeper/zk\ngo: finding module for package github.com/Azure/azure-sdk-for-go/arm/compute\ngo: finding module for package github.com/Azure/azure-sdk-for-go/arm/network\ngo: found github.com/samuel/go-zookeeper/zk in github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414\ngo: finding module for package github.com/Azure/azure-sdk-for-go/arm/network\ngo: finding module for package github.com/prometheus/prometheus/pkg/exemplar\ngo: finding module for package github.com/prometheus/prometheus/discovery/install\ngo: finding module for package github.com/Azure/azure-sdk-for-go/arm/compute\ngithub.com/open-telemetry/opentelemetry-collector-releases/core imports\n\tgithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver imports\n\tgithub.com/prometheus/prometheus/discovery/install: module github.com/prometheus/prometheus@latest found (v2.5.0+incompatible), but does not contain package github.com/prometheus/prometheus/discovery/install\ngithub.com/open-telemetry/opentelemetry-collector-releases/core imports\n\tgithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver imports\n\tgithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal imports\n\tgithub.com/prometheus/prometheus/pkg/exemplar: module github.com/prometheus/prometheus@latest found (v2.5.0+incompatible), but does not contain package github.com/prometheus/prometheus/pkg/exemplar\ngithub.com/open-telemetry/opentelemetry-collector-releases/core imports\n\tgithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver imports\n\tgithub.com/prometheus/prometheus/discovery imports\n\tgithub.com/prometheus/prometheus/discovery/azure imports\n\tgithub.com/Azure/azure-sdk-for-go/arm/compute: module github.com/Azure/azure-sdk-for-go@latest found (v61.3.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/compute\ngithub.com/open-telemetry/opentelemetry-collector-releases/core imports\n\tgithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver imports\n\tgithub.com/prometheus/prometheus/discovery imports\n\tgithub.com/prometheus/prometheus/discovery/azure imports\n\tgithub.com/Azure/azure-sdk-for-go/arm/network: module github.com/Azure/azure-sdk-for-go@latest found (v61.3.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/network\n"

@jpkrohling The main issue I see are the components which reference other components, e.g. https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/0ae61c5528951ce7ddac72200c6954377f0c1fdc/receiver/prometheusexecreceiver/go.mod#L7 and go.mod not respecting replace directives, leading to incompatibilities.


CASMINST-5558: Linting

Description
Just linting. No content changes.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.3


Python Opencenus Trace ID and Span ID in azure monitor

I am trying to add traceId and spanId to logs in azure functions in python, following https://docs.microsoft.com/en-us/azure/azure-monitor/app/correlation#log-correlation in Azure documentation
traceId and spanId is added to log statements in local development using VS Code but I am not able to see the same traceId and spanId in azure monitor,
``
I followed https://docs.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python#logs section of the documentation to add AzureLogHandler but still things don't seem to work
I want to be able to query the logs in Azure Application insights using the traceId and spanId What is missing in my code so traceId and spanId is not logged in azure monitor
Below is my code to configure logs in python
def logger_and_tracer(name):
    config_integration.trace_integrations(["logging", "requests"])
    tracer = Tracer(sampler=AlwaysOnSampler())
    formatter = logging.Formatter(
        "fileName=%(filename)s functionName=%(funcName)s traceId=%(traceId)s spanId=%(spanId)s %(message)s"
    )
    logger = logging.getLogger(name)
    azure_logger = AzureLogHandler()
    syslog = logging.StreamHandler()
    azure_logger.addFilter(CustomDimensionsFilter(default_log_items))
    syslog.addFilter(CustomDimensionsFilter(default_log_items))

    azure_logger.setFormatter(formatter)
    syslog.setFormatter(formatter)

    logger.setLevel(logging.DEBUG)

    logger.addHandler(syslog)
    logger.addHandler(azure_logger)

    return (logger, tracer)

@abhishekkumaresan
Just to clarify, you are getting the log telemetry in the "traces" table in Azure monitor but the operation_id and parent_operation_id fields are 0s correct? Could you provide a screenshot of this?
Can you also show how you are calling logger_and_tracer() to instantiate your logger, where you are calling logger.warning... and also what the logs look like in "local development using VS Code ".

Hi @lzchen
I am getting the traceId and spanId in local development
The blue line above the Yellow one, I am getting traceId and spanId with other items

but I am not getting the same in Azure monitor or Application Insights

below is the sample HTTP trigger where logger_and_tracer is invoked
def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse:

    name = "My Name"
    logger, tracer = config.logger_and_tracer(__name__)
    logger.warning("name = {name}".format(name=name))
    if not name:
        try:
            req_body = req.get_json()
        except ValueError:
            pass
        else:
            name = req_body.get("name")

    if name:
        return func.HttpResponse(
            f"Hello, {name}. This HTTP triggered function executed successfully.",
            headers={"trace_id": tracer.get_tracer().trace_id},
        )
    else:
        return func.HttpResponse(
            "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.",
            headers={"trace_id": tracer.get_tracer().trace_id},
            status_code=200,
        )

azure-common==1.1.27
azure-core==1.16.0
azure-functions==1.7.2
azure-identity==1.6.0
azure-keyvault-secrets==4.3.0
azure-storage-blob==12.9.0b1
azure-storage-file-datalake==12.5.0b1
opencensus==0.8.0
opencensus-context==0.1.2
opencensus-ext-azure==1.0.8
opencensus-ext-logging==0.1.0
opencensus-ext-requests==0.7.5
opencensus-extension-azure-functions==1.0.0

This is my requirements.txt, I feel I am missing somewhere with setup and dependency
Prior to asking here I posted in Stackoverflow https://stackoverflow.com/questions/70636922/python-opencenus-trace-id-and-span-id-in-azure-monitor
I tried even the one in there he is able to see traceId but I am not seeing it
Thanks

@abhishekkumaresan
In the example output you pasted, you are getting a value for traceid but spanid is zeroed out. This mostly means that you are able to get a trace Id from SOME Tracer instance (it is probably the tracer instance that is created from logger_and_tracer). The reason why your spanid is zeroed out is because you are not encapsulating your logging statement within a span.
Try adding this:
with tracer.span(name='http-operation'):
      logger.warning("name = {name}".format(name=name))

This will probably correlate your log messages with the `INTERNAL` span that you generate with the tracer that you've created.  If that's the case, you shouldn't use an internal tracer, you need to use the tracer that is passed into the context (because this is the tracer that is used to handle azure functions calls telemetry).

As shown in the stackoverflow answer:

```python
# You must use context.tracer to create spans

    with context.tracer.span("parent"):
    logger.info('Message from HttpTrigger')
    return json.dumps({
    'method': req.method,
    'ctx_func_name': context.function_name,
    'ctx_func_dir': context.function_directory,
    'ctx_invocation_id': context.invocation_id,
    'ctx_trace_context_Traceparent': context.trace_context.Traceparent,
    'ctx_trace_context_Tracestate': context.trace_context.Tracestate,
    })

@lzchen  Thanks, I get your point, but for me the trace and span information is not getting logged in Application Insights or Azure Monitor

This is Local Azure functions in VS code here we can see the Span Information but

But here in Azure Monitor it is not logged, bit strange, mostly  I am missing something, not sure what is that
The code for this is
def main(req: func.HttpRequest, context: func.Context):

    OpenCensusExtension.configure()
    config_integration.trace_integrations(["logging"])
    logging.basicConfig(
        format="%(asctime)s traceId=%(traceId)s spanId=%(spanId)s %(message)s"
    )
    tracer = Tracer(sampler=AlwaysOnSampler())
    logger = logging.getLogger(__name__)
    logger.warning("Before the span")
    with tracer.span(name="hello"):
        logger.warning("In the span")
    logger.warning("After the span")

    logger.info("Executing HttpTrigger with OpenCensus extension")

    # You must use context.tracer to create spans

    with context.tracer.span("parent"):
        logger.info("Message from HttpTrigger")
        return json.dumps(
            {
                "method": req.method,
                "ctx_func_name": context.function_name,
                "ctx_func_dir": context.function_directory,
                "ctx_invocation_id": context.invocation_id,
                "ctx_trace_context_Traceparent": context.trace_context.Traceparent,
                "ctx_trace_context_Tracestate": context.trace_context.Tracestate,
            }
        )

I have one more question
Will all the log statements have InvocationId  in it,  will I get all the log statements if I query with
where customDimensions['InvocationId'] == '<Request'sInvocationID>'

@abhishekkumaresan

But here in Azure Monitor it is not logged, bit strange, mostly I am missing something, not sure what is that

I'm not sure if the screenshot you are pasting is the right place to look. The traceId/spanId should be represented by the operation_id and parent_operationId respectively. Can you paste a screenshot of those fields?

@lzchen Yes correct, context.trace_context.Traceparent  returns "00-843355861749b0c7b5454ea3d6f05c2b-fb20540fcea60292-00"
And the Operation_Id for the request is<PHONE_NUMBER>49b0c7b5454ea3d6f05c2b, Now I can match and query for the logs
previously when I was using tracer.get_tracer().trace_id the trace_id was not matching with the Operation_Id, and that is because I was using a internal tracer that I generated
Thanks for taking the time to explain


[bugfix] form_data - fix empty metrics

It is sometimes the case that in form_data, metrics is set to null and that breaks the logic here as it expects a list or None.
This PR fixes that edge case.
@michellethomas  @john-bodley

Codecov Report

Merging #5190 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #5190   +/-   ##
=======================================
  Coverage   77.46%   77.46%
=======================================
  Files          44       44
  Lines        8730     8730
=======================================
  Hits         6763     6763
  Misses       1967     1967

Impacted Files
Coverage Δ

superset/viz.py
81.29% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I'm more inclined to the last version, because the following code determines that it's value is an iterator.


wip(pie-monorepo): DSW-935 Do not review

Test PR to help me debug the build issues on #749

Superseded by #784


Removed 'second opinion' to avoid confusion

Removed terminology second opinion which was causing confusion to customers.

@chrisda could you please merge this for me?


[HOLOCENE] New SystemConfig fields

Overview

[!NOTE]
The specification for these changes can be found here.

2 new fields are added to the SystemConfig in the Holocene hardfork:

Name
Type

eip1559Denominator
u64

eip1559Elasticity
u64

As a part of this, there are several updates we need to make:

Add a new UpdateType for the EIP-1559 scalars in op-alloy-genesis.

Add logic for parsing the update log here.

Add new Holocene fields to the SystemConfig type in op-alloy-genesis.

Pending: https://github.com/ethereum-optimism/specs/pull/404

https://github.com/alloy-rs/op-alloy/pull/139


Mark Big Query as FIPS Compliant in app metadata

Mark the app as fips_compliant

Static failing test:

Min Platform Version
License


Fix MacOS build instructions

It seems that homebrew now installs to /opt/homebrew

The build scripts and instructions have been changed since v4 and this PR no longer applies.


Add initializer with uniquing closure(s)

Add an initializer that is equivalent to Dictionarys init(_:uniquingKeysWith:).
Design Discussion
I attempted to do a rough draft implementation of this and discovered that the problem space is more complex for our type. (For more info, see the "What Are Duplicates.md" docs that I added to PR #15 ).  In short, we need to guarantee that both left and right are unique. Dictionary only needs to guarantee that keys are unique, and therefore it's sufficient to provide one closure to unique just the keys.
So what should be the shape of our initializer?
One Closure
Perhaps we could use a shape like this:
public init<S>(
        _ pairs: S,
        uniquingLeftRightPairsWith combineLeftRight: ((Left, Right), (Left, Right) throws -> (Left, Right))
    ) rethrows where S: Sequence, S.Element == (Left, Right) {
        self.init()
    }

I need to think more about how this would be implemented. In the case of Dictionary, the combine closure is called when two identical key values are found. But in our case we need to call this closure even when they are not perfectly identical. We need to call it when:

Both tuples have the same Left value
or both tuples have the same Right value
but not when a Left value matches a Right value.

Two Closures
Alternatively we could ask for two closures. One to deduplicate each side respectively. We could use a shape like this:
init<S>(
        _ pairs: S,
        uniquingLeftWith combineLeft: (Left, Left) throws -> Left,
        uniquingRightWith combineRight: (Right, Right) throws -> Right
    ) rethrows where S: Sequence, S.Element == (Left, Right)

But again, I'm not sure how this would be implemented. Would combineLeft be processed on everything first, and then we process using combineRight?
Implementation Discussion
I looked at Dictionary's implementation for inspiration. There are many layers of abstraction, so I'm still wrapping my head around it.
I did notice a few interesting things

their implementation uses a public method merge(). Perhaps we should offer and use this. https://developer.apple.com/documentation/swift/dictionary/merge(_:uniquingkeyswith:)-m2ub
Under the hood merge() uses an internal _mutatingFind and _find method. It also passes an isUnique variable. I'm not certain if this is relevant to our use case as, unlike them, we are not interacting directly with the hash table. See: https://github.com/swiftlang/swift/blob/c49aeaf177090f4803c5604732cd184be9fa2600/stdlib/public/core/NativeDictionary.swift#L768

I implemented a method which checks what type of conflict exists, if any, between a new left-right pair and the current contents of the dictionary. A conflict in this context is a condition that would override an existing left-right pair or break the bijective property. See commit 6eb46cf.
This would allow defining the initializer as follows:
/// Creates a new dictionary from the left-right pairs in the given sequence, using a combining
/// to resolve conflicts.
/// - Parameters:
///   - leftRightPairs: A sequence of left-right pairs to use for the new dictionary.
///   - combine: A closure that is called when a conflict is encountered, receiving the left-right pair
///     and a description of the conflict that exists.
init<S>(
    _ leftRightPairs: S,
    uniquingWith combine: (Element, Conflict) throws -> Element
) rethrows where S: Sequence, S.Element == Element

Note: Element is a type alias of  (left: Left, right: Right).

https://github.com/ladvoc/BijectiveDictionary/commit/6eb46cf2d699d901e7575f20f334e466ef66ecfc looks good.
Perhaps let's hold off on this issue until that commit is merged.

I have renamed the helper methods and made them public as per your suggestion. Please see PR #20.

Do you want to tackle the uniquing init?

I have implemented init(discardConflicting:) initializer, a special case of init(uniquingWith:) which discards all conflicting left-right pairs. See commit dc62d25.
I am giving more thought to the best way to define init(uniquingWith:) to make it easy to use.


Remove version: Nikkho.FileOptimizer version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/nikkhokkho/files/FileOptimizer/16.70.1825/FileOptimizerSetup.exe/download
Status Code: 200
(Automated message - build 896)

URL: https://sourceforge.net/projects/nikkhokkho/files/FileOptimizer/16.70.1825/FileOptimizerSetup.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Chapter 3. Page 100. ZeroDivisionError: integer division or modulo by zero

Hi ageron,
When I was trying this piece of code:

the error message given is:

I did defined the function plot_digits() by copying from the notebook.
Can you place help me on that? Thank you so much!

Hi @qiaozhi9092 ,
To debug, first look at the error message, and where it occurs: the message says there is a division by zero error at the line that computes n_rows = (len(instances) - 1) // images_per_row + 1.
As you can see, the only division on this line is a division by images_per_row, so it means it must be equal to 0. So next, let's look at where it is defined. Going up a couple line you find that it is defined as: images_per_row = min(len(instances), images_per_row). Since we know that the result is 0, it means that either len(instances) is equal to 0, or images_per_row is equal to 0 (or both). Since your code calls plot_digits(X_aa[:25], images_per_row=5), we see that it must be that len(instances) is 0.
In other words, X_aa[:25] is empty. Next, let's look at where this one is defined:
X_aa = X_train[(y_train == cl_a) & (y_train_pred == cl_a)]

It seems that there is no instance in the training set that corresponds to these two conditions: y_train == cl_a and y_train_pred == cl_a.
One possible reason might be if you loaded the training set using fetch_openml(): it returns labels as strings, not integers. This is why in the notebook I make sure to convert the labels to integers just after loading the dataset:
mnist.target = mnist.target.astype(np.int8) # fetch_openml() returns targets as strings

Hope this helps.

Hi @ageron,
Thank you so much for your prompt reply. You made a very clear instruction of how to debug in this scenario.
Thank you again for your help, I am enjoying every little bit of your book!
Best,


basic IPAM module for pods

Coverage increased (+1.6%) to 49.486% when pulling 5dc14420c35d11ae63f464107b808ba53bc09c66 on rastislavszabo:master into ad5add5864322e579e82b6929ac15cb6cda10c60 on contiv:master.


The NuGet package is missing

The NuGet link off the readme 404s.
Browsing NuGet doesn't turn up any plausible matches.
What happened to this?  :(

Looks like the work was done to setup the build, but the publish was never kicked off. @adamskt - any ideas?

@adamskt - I pushed to the release branch, which is the condition on the nuget push task, but had to manually trigger a build because it only triggers on master and release/*. Then, the nuget push failed because it looks like the Nuget credentials have expired and I can't figure out where Pipelines is even pulling them from.

Pushed package to NuGet and fixed in f717047


non-nullable not working with TickerProviderStateMixins (or AnimationControllers)

I have refactored tons of code to use the non-nullable approach, using sdk 2.9 or later.  It appears to be 99.1% backwards compatible.   I'm able to get everything to work except classes that used the TickerProviderStateMixins (including Single version).  I continue to get this error:
error1: Type parameters couldn't be inferred for the mixin 'TickerProviderStateMixin' because no type parameter substitution could be found matching the mixin's supertype constraints (mixin_inference_no_possible_substitution at [MyApp]
_error2: The class 'MyApp' cannot implement both 'State' and 'State<StatefulWidget*>*' because the type arguments are different.
I have tried it with any number of code sets, including numerous ones from  Flutter tutorials for AnimationController, such as https://flutter.dev/docs/development/ui/animations/tutorial.  However, they all produce the same errors, regardless of IDE, OS, and complexity of code.  This is easily reproducible using any Flutter example with the Ticker mixins after switching to the non-nullable approach (I switched by updating the .yaml).

@TriMontana what's the latest SDK you've tried this with (I know there were some bugs around mixin inference that have been fixed).  Also, are you seeing this in the IDE, using flutter analyze, flutter run, or all of the above?

Hello and thanks for your quick response.  I tried it briefly using the beta channel and 2.10.0 this a.m. but still no luck. I didn't have much time to devote to it due to other priorities, so I might be missing something simple in the settings. I've now switched back to SDK 2.9.3 on stable and have used clean builds and invalidated caches to start anew (but still the problem). So I'll have to rework that code to bypass AnimationContoller for now.  I have tried it with both VS Code and Android Studio, using the IDE plugins to pulldown the Dart and Flutter SDKs as well as pulling them down manually.  I'm seeing the errors in both of the IDEs, so the errors do not allow me to compile the code and run any debugging (or I'm not familiar with how to debug without compiled code).  Hope you can help or point me in the right direction that component is key to the app.  Thanks.

@TriMontana do I understand correctly that your code works before you opt it in, and fails afterward?  You may be able to work around this by providing explicit type arguments to SingleTickerProviderStateMixin, e.g.
            class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin<LogoApp>

@scheglov Are there any known issues around this? We don't have a concrete reproduction yet unfortunately.

Great! That works perfectly, i.e.  providing explicit type arguments to SingleTickerProviderStateMixin.
Thanks so much!
        class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin<LogoApp>

@leafpetersen I think https://github.com/dart-lang/sdk/issues/42605#issuecomment-655097555 - we might need spec / support for out-of-order case.

@scheglov - do we need a spec update to make progress here? And, is this something we'l want for nnbd stable?

I'm not able to reproduce this issue. This code is resolved without errors in the analyzer.
abstract class LogoApp extends StatefulWidget {}
abstract class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin {}

Closing as stale.


Superstream source error

Source information
Superstream 14.11
Source language
English
Steps to reproduce
Open Superstream source
Click on Web view
Source page error shows

Expected behavior
It should open quickly
Actual behavior
Blank white screen with page server error
Aniyomi version
Stable <IP_ADDRESS>
Android version
Android 12
Other details
Pls fix it ASAP 🙏
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

dude you don't need to make so many issues. closed in favor of #103

dude you don't need to make so many issues. closed in favor of #103

Aren't you going to change it? Closed as in not planned?
Pls try to update it or at least add a new extensions source fixing the broken link
I am making so many issues because that source is important to me


JupiterOne: Feature - New App - JupiterOne connector

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Testing of all the changes has been performed (for bug fixes / features)
[x] The readme.html has been reviewed and added / updated if needed (for bug fixes / features)
[x] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[x] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[x] Verify all checks are passing.
[x] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[x] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[x] New App
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[ ] If you are exposing any endpoints using a REST handler,
please document them in the readme.html.
[x] If this is a new connector or you are adding new actions

[x] Please document in the readme.html all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[ ] If any actions are unable to run on SOAR Cloud, please document this in the readme.html.

[ ] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[ ] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[ ] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.

The first release of the JupiterOne SOAR connector. The connector exposes a "Run Query" action for running JupiterOne queries (J1QL).
What is the current behavior? (OPTIONAL)

Describe the current behavior that you are modifying.

What is the new behavior? (OPTIONAL)

Describe the behavior or changes that are being added by this PR.

Other information (OPTIONAL)

Any other information that is important to this PR such as screenshots of how the component looks before and after the change.

Pay close attention to (OPTIONAL)

Any specific code change or test case points which must be addressed/reviewed at the time of GA release.

Screenshots (if relevant)

Thanks for contributing!

It's not clear to me how to fix the CI error. I looked at other connector projects and did not see any repo_name_to_appid.json file. Any feedback would be appreciated!
{
  "Repo Name Has Expected App Id": {
      "message": "Could not find an app id for jupiterone. Please add the app id for jupiterone to data/repo_name_to_appid.json",
      "success": false,
      "verbose": [
          "Could not find an app id for jupiterone. Please add the app id for jupiterone to data/repo_name_to_appid.json"
      ]
  }
}

Hey Austin, I emailed you about this earlier today, but to summarize here: we'll take care of it from here. We have to get Splunkbase ready for a net-new app.

@austinkelleher, Could you please provide write access?

@mishalp-crest I don't have write access to this repo currently. You could open a PR against my branch on the JupiterOne fork and I could merge it into my branch. See: https://github.com/JupiterOne/splunk-soar-connector-jupiterone/tree/INT-3633-splunk-app

@mattsayar-splunk it looks like another build was triggered and the tests are now passing! Were there changes that you made on your end?

Hello @austinkelleher
We have taken (copied)  the branch from the JupiterOne repo and done the required changes in the SOAR repo branch
(Ref.: INT-3633-splunk-app-from-contri-repo).
This PR https://github.com/splunk-soar-connectors/jupiterone/pull/2 has all the changes.
so, we are going to use it to release the app
Let us know if you have any doubts/concerns?

Looks like Mishal has you all squared away


Spanish Translation

Added Spanish translation

It is "Latin America Spanish", right?

Yeah

Also fixed a typo in english translation

Gonna review that now...

Seems OK for me (IDK Spanish, just checked with the Google Translate).
Thanks for your contribution!

Yeah I'm Spanish native, also, es and es-419 are basically the same so if u want, copy and paste the strings.json


Merge 2.4.0 beta1 changes to develop

abandoning this one as this has conflicts. opened a new with conflictys resolved.