Updater won't work within defined Animation

Description of bug / unexpected behavior
I noticed this bug, when I'm trying the example CountingScene, and I have commented at request. Here is the content
I have some issues about this CountingScene. I try to change the updater shown below
class CountingScene(Scene):
    def construct(self):
        ....
        # number.add_updater(lambda number: number.move_to(ORIGIN))
        number.add_updater(lambda number: number.move_to(LEFT * 5))

In fact, this DecimalNumber won't change its position with this updater.
So I think this line of code might not be taking effects. As matter of fact, you can see in the official pages, the DecimalNumber is NOT always in the origin!
Expected behavior
Updater should work in the defined animation
How to reproduce the issue
Just run the code CountingScene
How to solve
It is caused by the function Animation.get_all_mobjects_to_update
    def get_all_mobjects_to_update(self) -> list[Mobject]:
        """Get all mobjects to be updated during the animation.
        """
        # The surrounding scene typically handles
        # updating of self.mobject.  Besides, in
        # most cases its updating is suspended anyway
        return list(filter(lambda m: m is not self.mobject, self.get_all_mobjects()))

Because the filter will return a new object instead of the object itself!

Infact, I changed the Animation.get_all_mobjects_to_update still won't solve the problem...
So it must be a deeper bug😂

I have figured out a way to fix this issue, but I DON'T understand the process at all!
just resume_updating in Scene.update_to_time would be fine!!!
    def update_to_time(self, t):
        dt = t - self.last_t
        self.last_t = t
        for animation in self.animations:
            animation.update_mobjects(dt)
            alpha = t / animation.run_time
            animation.interpolate(alpha)
            animation.mobject.resume_updating()
        self.update_mobjects(dt)
        self.update_meshes(dt)
        self.update_self(dt)

Looking forward to a more professional solution😀

Hello and thank you for the report !

Because the filter will return a new object instead of the object itself!

In the general case, filter does not alter the objects. I don't think this is the right path to the issue.
Speaking of your issue, it looks like a very interesting corner case. Here is an MRE :

class Count(Animation):
    def __init__(
        self, number: DecimalNumber, start: float, end: float, **kwargs
    ) -> None:
        # Pass number as the mobject of the animation
        super().__init__(number, **kwargs)
        # Set start and end
        self.start = start
        self.end = end

    def interpolate_mobject(self, alpha: float) -> None:
        # self.mobject.updating_suspended = False # HERE IS A FIX
        # Set value of DecimalNumber according to alpha
        value = self.start + (alpha * (self.end - self.start))
        self.mobject.set_value(value)

class CountingScene(Scene):
    def construct(self):
        # Create Decimal Number and add it to scene
        number = DecimalNumber().set_color(WHITE).scale(5)
        def update(mb, dt):
            mb.shift(UP / 10)
        number.add_updater(update)
        self.add(number)
        self.wait()
        # Play the Count Animation to count from 0 to 100 in 4 seconds
        self.play(Count(number, 0, 100), run_time=4, rate_func=linear)
        self.wait()

And the following result :
https://user-images.githubusercontent.com/36239975/206544667-f1146c74-390b-442d-ada9-e72c20dc9f91.mp4
After some little digging, it looks like updater called are blocked during the Count animation. The fix you proposed is a solution because resume_updating force call any updaters attached to the mobject.
It appears that mobject.updating_suspended is wrongly set to True during the animation, thus preventing the mobject from being updated. I cannot look into the details right now, but I'm pretty sure the problem is easy to pinpoint.
As a "cleaner" solution (but far from clean) you can add self.updating_suspended = False (see the code above).
It looks to me like an easy fix, or at least a non overly complex issue.

Hello again,
After a very quick dig I found out the source of the issue :
It's actually a desired effect. Animation has an attribute suspend_mobject_updating that is self-explanatory, by default set to True.
However, note that the behaviour of this attribute is broken, for example,
    def construct(self):
        s = Square()
        s.add_updater(lambda m: m.shift(UP / 10))
        self.play(Create(s))

will run the updater at every frame, despire Create having suspend_mobject_updating to True.
The source of this wrong behaviour is here :
        self.starting_mobject = self.create_starting_mobject()
        if self.suspend_mobject_updating:
            # All calls to self.mobject's internal updaters
            # during the animation, either from this Animation
            # or from the surrounding scene, should do nothing.
            # It is, however, okay and desirable to call
            # the internal updaters of self.starting_mobject,
            # or any others among self.get_all_mobjects()
            self.mobject.suspend_updating()

As the comment said (the comment dates back to Grand Sanderson, 4 years ago) it is supposed to be a "desirable effect".

I'm closing it for now. Please feel free to reopen if you want to discuss it further.


Cargo fmt & clippy, run CI on PR, spelling

Made a few changes similar to recent cleanup efforts with the geo repo
spellchecking
make clippy happier (there are still a few outstanding ones, todo in a separate PR)
automatically run CI on PRs, not just push

[x] I agree to follow the project's code of conduct.
[ ] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

bors r+


[Feature] additional output options?

Hi everyone,
Are there plans to add mappings to additional output formats, or some documentation around how to output to custom formats?
current usecase would include ProtoBuf-sourced Go struct population from, say, EDI sources.  Ideally without requiring a JSON intermediary, but for providing value reusing JSON output towards custom formats might help other consumers adopt omniparser and build precedence for different output options.

Thanks for the suggestion!
Currently the parser internally generates and transforms into, for each ingested record, a generic map[string]interface{} for most the cases, then marshals it into a json []byte and returns to caller. That's what the Ingester.Read() interface method is about: https://github.com/jf-tech/omniparser/blob/master/schemahandler/schemaHandler.go#L58.
On one hand, we thought json is the ubiquitous format used in golang and it's virtually marshalable/unmarshalable into/from any other formats, hence the choice of it as the return format from Ingester.Read(). In your case, it would be a simple use of jsonpb (https://pkg.go.dev/github.com/golang/protobuf/jsonpb) to convert json output from omniparser into protobuf.
On the other hand, we understand there might be cases when perf is critical, and the extra map[string]interface{}  -> json -> jsonpb step is undesired and one might want to convert the internally generated generic object map[string]interface{}  directly into target/custom format. We, however, simply don't know if there is enough need for such a perf optimization.
What's your opinion? Do you think your case requires this perf enhancement by avoiding the json->pb conversion on your caller side?

Closed due to inactivity. @dhartford please reopen if you want to discuss on this topic further. Will be glad to.


MQTT missing motion_detection_image

Hi,
there are a couple of issues regarding ai_human_detection. As for now, when AI human detection is disabled, then there is a motion_start message - I can confirm this.
Using MQTT, I don't get an image, when a motion is detected. There is no motion_detection_image topic delivered to MQTT broker.
Any idea?
Thanks in advance!

Funny...I tried a reboot before posting this as an issue and it didn't work...now it does...


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1141 ms

Resolved: Bofrost.at performance has improved in ee642c7.


Support fields/attributes of a constructor?

Would it be difficult to support to recognize the attributes of a constructor? My solution for now is to pass the parameters to a function then run the calculation. But it seems not to be efficient.
An example below:
julia> using LoopVectorization
[ Info: Precompiling LoopVectorization [bdcacae8-1622-11e9-2a5c-532679323890]

julia> mutable struct foo
           a
           b
       end

julia> f = foo([1,2], 2)
foo([1, 2], 2)

julia> @avx for i in 1:2
           f.a[i] += f.b
       end
ERROR: LoadError: Expression not recognized.
f.b
Stacktrace:
 [1] add_operation!(::LoopVectorization.LoopSet, ::Symbol, ::Expr, ::Int64, ::Int64) at C:\Users\89639\.julia\packages\LoopVectorization\nUvLu\src\modeling\graphs.jl:974
in expression starting at REPL[5]:1

Of course I appreciacte any better solutions if that would be very complicated.

Thanks for the issue. Fixed.


[debug-utils] Add a new utility getDebugVarName to translate a SILValue to a potential debug name.

If we don't find a name, we just return unknown so code that uses this still
gets valid output.

@swift-ci smoke test and merge


"Your GraphQL schema is invalid" when api gql-compile succeeded

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.7.0
Amplify CLI Version
10.3.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Not relevant
Describe the bug
While amplify push was running to update the schema.graphql change I made, I modified the schema.graphql file with an invalid syntax before amplify push was completed. The push failed as expected with the following error:
Syntax Error: Expected Name, found }

GraphQL request:154:1
153 |   result:
154 | }
    | ^
155 |

When I fixed the syntax error and got no issues with amplify api gql-complete; however, when I run amplify push it is still showing the error:
"downstreamException": {
        "message": "Syntax Error: Expected Name, found }",
        "locations": [
            {
                "line": 154,
                "column": 1
            }
        ]
    },

my guess is the history is stored somewhere locally and not updated?
Expected behavior
It should be able to build the schema with my newest changes locally.
Reproduction steps

Making some valid changes in graphql.schema and run amplify push.
before the amplify push is completed (after deployments are completed), make an invalid change in graphql.schema
Make sure to get the following messages:

✔ Generated GraphQL operations successfully and saved at graphql

Syntax Error: xxxx....
....

Code generation failed with the following error
Syntax Error: Expected Name, found }.

🛑 Failed to create models in the cloud: Failed to generate models in the cloud.

Update graphql.schema and make sure it passes gql-compile.
run amplify push again.

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Walkaround worked! thanks for the fast response!


Under the operating status, the grayed out delete button can still delete the service

In GitLab by @wknet123 on Apr 9, 2018, 16:51

In GitLab by @liyanq528 on Nov 8, 2019, 07:49
fixed by pull request #1181

In GitLab by @sokril on Nov 8, 2019, 08:20
closed

In GitLab by @sokril on Nov 8, 2019, 08:20
assigned to @luotian-github

In GitLab by @liyanq528 on Nov 11, 2019, 08:52
mentioned in merge request !489

In GitLab by @liyanq528 on Nov 12, 2019, 02:23
mentioned in merge request !876

In GitLab by @liyanq528 on Nov 13, 2019, 10:48
mentioned in merge request !728


fix unmarshaling merges

some models uses [][]string as .model.merges value rather than []string

Thank you!


Python API request: stream_profile::register_extrinsics_to and projection util functions

Required Info

Camera Model
SR300

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16.04.3 LTS

Kernel Version (Linux Only)
4.4.0-112-generic

Platform
PC

SDK Version
2.9.1

I'm working on calibrating my SR300's extrinsics from color to depth.
I can now successfully register my custom rotation matrix and translation vector in C++ with stream_profile::register_extrinsics_to and get a fairly good result.
But this API is not exposed to Python, and extrinsics in Python is not editable.
It's appreciated if it can be exposed to Python.
Also, rs2_deproject_pixel_to_point, rs2_transform_point_to_point and rs2_project_point_to_pixel can make calibrating and debugging in Python even easier.
Thank you very much!

Hi @zhutq,
I think we can safely add these functions.
It shouldn't be very difficult to add it by yourself for the meantime so that we don't block you. If you feel like it, take a look at python.cpp.

Hi @zhutq , we pushed  PR #1118 , adding these functions

Thank you @zivsha !
The only problem is that extrinsics cannot be created/modified from Python.
There's no constructor defined. And rotation and translation are readonly properties.

Oops :) I tried registering an existing one so missed that...
I'll change it too, thanks

Didn't find an answer on the Wiki, but since this is related didn't want to open a new issue. Are these APIs exposed in the C#/Unity wrapper? I can't find documentation on it. Thanks.


Added reduction tests for _Float16, __bf16, and short datatypes.

will these tests only pass after this patch lands ? ie. will they fail if a amd-mainline-open compiler is used ? if so, can we add thse instead to aomp-dev ?

Yes, they will fail with older compiler. Moved to smoke-dev.


No GitHub/Feedback link in About box.

Description of the new feature/enhancement
The current about dialog is pretty simple:

It'd be nice to see:

Terminal Icon
A link to GitHub (maybe w/ GitHub Icon)
A 'Send Feedback' link which leads here or Feedback Hub:

FWIW We used to have this in the top level dropdown, but it was just generating noise.
In #789 we made it point at our GitHub issues, but at some point after that we redirected that to the FeedbackUriValue resource, which redirects to feedback hub now.
We've discussed offline the idea of putting this back somewhere, once again pointing at GitHub, and again with the in-app-feedback label (or something like that). Of course, we can just change the fwlink on our side to point at whatever, so just adding a link back should be easy enough.

Hello, I would like to work on this.
I have already implemented these buttons:

The buttons link directly to:

Source Code -> https://github.com/microsoft/terminal
Send Feedback -> https://github.com/microsoft/terminal/issues
(Change to Feedback Hub?)

I would appreciate your feedback.

I think that would be perfect! Honestly, GitHub is a way better place for feedback than Feedback Hub 😄

This might be one of those things where the stable version should direct users to the feedback hub, and the preview/dev versions should direct users to GitHub . . . @zadjii-msft, WDYT?
Motivation: I don't know if, when we become "DxD", we can rely on the large population of Stable users to have GitHub accounts.

That's a good idea, but let's start small. Let's just start with the links as @AdamSotak has it now for now, and we can sort out the fwlinks on our side in post.


Autoscan demos

Have a folder with demos which is scanned then a list is constructed then its displayed so you can click on it. If you do click on it it checks which map it is on and after that its parsed. Would be much better than the hardcoded demo:mapname list. Also probably instead of referncing the demo/map combo by mapname you should do it with checksum or something so its unique. (These might have been fixed I haven't checked the updates for a while)

Yeah, but you cannot scan folder contents of a server from the browser. You have to implement it on a server using something like PHP, Ruby, node.js... That is out of the scope of this project. Though, I'm planning on making a few example usages of this library and this will be one.
The second thing that you mention is already the way it is implemented now, I think. You just call .load method with the replay file name and when it loads the replay it will then try to load the map for that replay automatically.

Alright


Wrong value "avg" in trade_aggregations

Horizon API
It seems that the average price in output for /trade_aggregations is sometimes wrong, i.e. totally outside the low/high values.
Happens to me when querying aggregations for XLM/BTC-Stronghold at https://horizon.stellar.org/trade_aggregations?base_asset_code=XLM&base_asset_type=native&base_asset_issuer=null&counter_asset_code=BTC&counter_asset_type=credit_alphanum4&counter_asset_issuer=GBSTRH4QOTWNSVA6E4HFERETX4ZLSR3CIUBLK7AXYII277PFJC4BBYOG&order=desc&resolution=900000&start_time=1535601600000&end_time=1535814000000
The candles generally contain prices between 0.00003 and 0.000032 but in some cases the "avg" value is around 0.0001.
For example the output from the link above contains 2 correct and 8 incorrect averages. For instance the candle for timestamp<PHONE_NUMBER>000:
   {
    "timestamp":<PHONE_NUMBER>000,
    "trade_count": 92,
    "base_volume": "0.0920000",
    "counter_volume": "0.0000092",
    "avg": "0.0001000",
    "high": "0.0000305",
    "high_r": {
      "N": 18880,
      "D": 618830673
    },
    "low": "0.0000304",
    "low_r": {
      "N": 14240,
      "D": 468412107
    },
    "open": "0.0000305",
    "open_r": {
      "N": 18880,
      "D": 618830673
    },
    "close": "0.0000304",
    "close_r": {
      "N": 56654,
      "D":<PHONE_NUMBER>
    }
  }

@tomerweller could you check it out?

A bit of a background:
Every trade has two prices: offer price, which is the price in the offer that was taken. And execution price, which is simply amount bought / amount sold.
These prices are sometimes different when very small trades ("dust trades") occur due to the rounding logic of stellar-core. In previous protocol versions (<10) this could result in VERY big differences in prices. In protocol 10 the rounding errors are limited. (I think it's up to 1%)
When building trade aggregations, we mostly used the offer prices to calculate statistics because the dust trades created a skewed view of history in regards to execution prices. However, avg remained as a simple amount bought / amount sold which represents an average execution price. In extreme cases where there's only dust trade activity, that creates the discrepancy described in this issue.
I see a few solutions moving forward:

Modify avg to use offer price. This needs to be a weighted average so it's not a trivial query.
Modify all statistics aggregation to use execution prices now that there isn't much of a difference.
Do nothing, now that this discrepancy is minimized.


Feature request: Need play and pause in GiphyMediaView

While working with Andorid SDK we have GifView class by using GifView we can achieve play/pause in native andorid GIF image.
How can we achieve same with react native SDK?

Please, let me know if you need more details on this
Thanks @pshoniuk

@dreamGitBhargav This feature will be released in an upcoming release. When it does, I will update the status here.

We wanted to release our RN app with play/pause feature in GIF image
Is there any ETA for releasing this feature? @pshoniuk

This feature should be released tomorrow.

The play/pause feature was released in v1.3.0 (read more about the new API).
@dreamGitBhargav

Thanks @pshoniuk


[Tab Widget] Rename Tab.text to Tab.label

Use case
The Tab widget currently looks like this:

A very similar looking widget is BottomNavigationBarItem:

The arguments for the composition of these widgets are also similar, an Icon and a String.
The material spec also describes the text used in tabs and bottom navigation bar items as "text label".
Considering these, it would seem that the labeling of the Tab widget is done through the label: parameter. This is not the case.
Proposal
Rename Tab.text to Tab.label, to better match its intended purpose and the material spec.

Hi @RoyARG02
It makes sense to match it with bottom navigation item, thanks for the proposal

Hey I am interested in resolving this issue! I am reading the contribution guidelines now, can this issue be assigned to me? I would love to make contribution to Flutter!

@KarlChow92
I have already submitted the PR.
Thanks for your interest toward contribution.

While this probably would have been a better naming choice, doing the change now seems like an unnecessary breaking change that would create a lot of churn. I don't think it is worth it. We could add this to the list in https://github.com/flutter/flutter/issues/24722, though.


jira provider error

Hi Anubhav,
excellent provider code created to connect jira.
I have installed local Jira trail version and also terraform standalone setup in my system.
Also installed jira CLI and my objective is to run remote-exec to call jira api commands like create project.
I have configured environment variables like user, password, jira url etc and copied jira provider binary too.
but getting below error when try to do terraform plan

File is copied to this location but still somehow it fails, my final objective is to run jira cli commands from terraform, is that possible ??

Can you pl. respond to above query. I am still stuck on this issue

Tried building code but encountered below error

Any help is appreciated


fix: backmerge

There were conflicts between dev/test, backmerged test into dev to resolve then can merge dev into test

Codecov Report
Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 71.37%. Comparing base (88208e6) to head (97b1611).

Files
Patch %
Lines

lambda/app/src/keycloak/adminClient.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1198   +/-   ##
=======================================
  Coverage   71.37%   71.37%
=======================================
  Files         302      302
  Lines       10423    10423
  Branches     2427     2427
=======================================
  Hits         7439     7439
  Misses       2984     2984

Flag
Coverage Δ

unitests
71.37% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Registration to the BarCamp is open

2024-04-18 update: The BarCamp is taking place on 17-19th June in Berlin and online: https://barcamps.eu/openrefine-2024-barcamp/
Do register and propose sessions! We have funding to support travel costs of multiple attendees.

For some time, a few team members have been considering organizing a small in-person meeting around OpenRefine.
The goal of such a meeting would be to have contributors get to know each other better, share their views and coordinate
together on a diverse range of topics, such as roadmap, governance, design, documentation and likely many others.
Those planning discussions have been held on the forum, which we acknowledge is only actively visited by parts of the broad OpenRefine community we want to reach out to with such a meeting.
If you are interested in shaping the future of OpenRefine and meet like-minded people, you are invited! Whether you are a translator, a trainer, a developer, a designer, an advocate or if you feel involved in the project in any other capacity, we want to see you at this event.
We are currently evaluating different dates and venue options. We aim to make remote participation possible and anticipate that
we should be able to offer travel support for multiple attendees. Please select the dates that would work best for you in this poll and let us know on the forum (or here) if none of the options work for you.

Unpinning since we are about to make a final decision on the date.

This is done


Features

Hi,
I'm trying PileMD, considering use it as my full time notes taker.
Here's a quick list of features would like to see in it.

resize folders panel width and notes panel width
expand/collapse RACK
hide the preview of notes
sub-folder for folder
side by side edit/preview mode
help for markdown syntax
enable translation of the app
moire customization, ex: change/choose fonts and color for editor and panel items

Regards,

Thanks.
Nice:

resize folders panel width and notes panel width

Great. I imagine it's like "Notes" app on OSX.

hide the preview of notes

Changing way to display notes list. Nice, it will be like Preview/Only Titles

help for markdown syntax

I think so. Some one also said it (face to face)

moire more customization, ex: change/choose fonts and color for editor and panel items

I think so. Most of people want it. (Need great PR)

Not so important:

expand/collapse RACK

Basically I think people will have 20 ~ 30 folders, it can be displayed.

enable translation of the app

Before translation, make the app simple.

Won't:

side by side edit/preview mode

PileMd's edit mode should be like preview. I know today's PileMd is not perfect, so it's difficult to see images on edit mode. We need switch edit/preview over and over again. We need nice solution (but not side by side)

sub-folder for folder

PileMd won't support tree of folders. It makes the app complex and basically human-being will make folder structures messy without any kinds of restrictions. If you want to use tree of folders, use Atom editor. or, If you have great solution (tree folder view, but people won't make them messy), that's the best.

Thank you for detailled answers, see below some comments.
*hide the preview of notes
Changing way to display notes list. Nice, it will be like Preview/Only Titles
Yes, this will make search more clean, often i don't need to preview content.
expand/collapse RACK
Basically I think people will have 20 ~ 30 folders, it can be displayed.
Personnaly, i have more than 30 folders cause i work on multiple projects and have few personnal notes about dev.
Basically, client or entities = rack and "projects" = folder
The numbers of folders grows quickly over 30, so expand/collapse can make PileMD  view and usage cleaner.
Regards,


make miners prioritize ores over rocks

If a player makes a miner, they probably want it to prioritize things like copper and tin rather than a rock.

I can't fully confirm whether my fix actually works. I asked ChatGPT to do my code review. According to it, it should work:


Set default for MAX_UPDATES_PER_SECOND_ON_SHUTDOWN

When this variable isn't set in the config, then the daemon throws an
exception during shutdown.
23/04/2015 10:40:06 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 822, in runUntilCurrent
    self.fireSystemEvent("shutdown")
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 636, in fireSystemEvent
    event.fireEvent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 407, in fireEvent
    result = callable(*args, **kwargs)
  File "/opt/graphite/lib/carbon/writer.py", line 186, in shutdownModifyUpdateSpeed
    UPDATE_BUCKET.setCapacityAndFillRate(shut,shut)
  File "/opt/graphite/lib/carbon/util.py", line 199, in setCapacityAndFillRate
    delta = float(new_capacity) - self.capacity
exceptions.ValueError: could not convert string to float:

:+1:

:heart:


A. Won't snap horizontally after selected, B. No Undo functionality

ℹ Computer information
Windows Inspiron P93G (2018)

PowerToys version:
PowerToy Utility:
Running PowerToys as Admin:
Windows build number: [run "winver"]

📝 Provide detailed reproduction steps (if any)
A.
1. Windows Key + ~
2. Create New Layout
3. Rows
✔ Expected result
             Rows editor opens

❌ Actual result
             Columns editor opens

📷 Screenshots
 None that would be helpful. It's doing this. I promise.

Can do a workaround:

setting horizontal divider in smaller window
dragging window to take larger panes to minimum size
Opting not to show void space

B.
No undo feature for separating window panes
📝 Provide detailed reproduction steps (if any)
         Key to delete created new pane or CTRL + Z functionality

✔ Expected result
         Undo create separate pane

❌ Actual result
          No such function

@orland777
what version of PowerToys are you running?

Running v0.33.1

From: Enrico Giordani @.>
Sent: Tuesday, March 16, 2021 2:28:32 AM
To: microsoft/PowerToys @.>
Cc: Orland Whitney @.>; Mention @.>
Subject: Re: [microsoft/PowerToys] A. Won't snap horizontally after selected, B. No Undo functionality (#10254)
WARNING: This email originated external to the NMSU email system. Do not click on links or open attachments unless you are sure the content is safe.
@orland777https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forland777&data=04|01|orlandw%40nmsu.edu|580604ea04ad43e4d13f08d8e8558384|a3ec87a89fb84158ba8ff11bace1ebaa|1|0|637514801267499706|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=xdkFPZrDn48VPlRyZ5Y01FAf7OVNZSz06qPQTPoS5pQ%3D&reserved=0
what version of PowerToys are you running?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F10254%23issuecomment-800060269&data=04|01|orlandw%40nmsu.edu|580604ea04ad43e4d13f08d8e8558384|a3ec87a89fb84158ba8ff11bace1ebaa|1|0|637514801267509706|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=A9JRep3pEywZxl%2Bjp%2FoJQkoKryTZshm1VmQuxkLj3Co%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASDHNSXGWTZR6TKACKQKPPDTD4JDBANCNFSM4ZIAT5TQ&data=04|01|orlandw%40nmsu.edu|580604ea04ad43e4d13f08d8e8558384|a3ec87a89fb84158ba8ff11bace1ebaa|1|0|637514801267509706|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MfNcbl7v%2BB7KSi6KMbFix1x%2FIdhYh02VP%2FQf6bgYRTQ%3D&reserved=0.

@orland777
can you please elaborate on the repro steps?
The first two steps are clear, but the third is not clear: when you choose create new layout you then can choose between Grid or Canvas. If you choose Grid, then the editor show a three columns. That is the expected behavior.
Why do you expect rows?
If you want to edit rows, duplicate the Roes template and then edit it.


Feat/1202107321878171 hide mnemonic

Use the environment variable instead of hardcode
Refinements

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kosswest
You can assign the PR to them by writing /assign @kosswest in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview peaqnetwork-peaq-network-ev-charging-sim-be-pr-33 here

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kosswest
You can assign the PR to them by writing /assign @kosswest in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sfffaaa: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
8f42809d0fe092c689f0e15ff3aac70d51d29990
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Fix build

The project has been given to the community by the sonarsource organization. Now we have to create a new pipeline that allows to deploy the newly created artifcats in order to provide support for new versions of  SonarQube and OpenClover project.

view https://github.com/Tony-Proum/sonar-clover/pull/21


Document "Features included"

[ ] Document all "Features included" which were implemented via code or documented in some of the GitHub isseus.

Closed by #42


Uninitialized instance fields are not added to instances

TypeScript Version:  3.9.0-dev.20200225

Search Terms: uninitialized not initialized class property in operator
Code
Looks like the same code that in JavaScript actually adds a non-static property to an instance, in TypeScript, however, does not.
class Thing {
	property;
}

const thing = new Thing();

console.log("property" in thing);

Expected behavior:

logs true

Actual behavior:

logs false

Playground Link: https://www.typescriptlang.org/play/?noImplicitAny=false&ts=3.9.0-dev.20200225#code/MYGwhgzhAEAqAWBLAdgc2gbwFAEgAOATgPZ4CmBALgJ4DcWAvllsEchBdBUmtALzTJSAdzjdUACgCUdZqwhEQpAHQgiEgESES5auugpOY6ViA
Related Issues: (none)

Closed by accident :/

same code that in JavaScript actually adds a non-static property to an instance

Class properties in TS and JS (with class fields proposal) differs (at least at this moment #34787)
If you want to have JS behavior you should set useDefineForClassFields to true.

Seems like duplicate of #34787. Thanks @IllusionMH!


Configuration guide of structured logging for Kyuubi server

Why are the changes needed?

It's a common use case that the user may want to send the service logs in a structured format to Kafka and then collect them into centralized log services for further analysis, fortunately, the Kyuubi used logging frameworks Log4j2 has built-in KafkaAppender and JSON Template Layout, thus the goal could be achieved by just a few configurations.
To simplify the user setup steps, this PR adds log4j-layout-template-json-<version>.jar into Kyuubi binary tarball.
PS: I also plan to support sending engine bootstrap process(e.g. spark-submit) logs into Kafka with specific labels in the follow-up PRs.
How was this patch tested?

Manually test.
Configuration in $KYUUBI_HOME/conf/log4j2.xml
<Configuration status="INFO">
  <Appenders>
    <Kafka name="kafka" topic="ecs-json-logs" syncSend="false">
      <JsonTemplateLayout>
        <EventTemplateAdditionalField key="app" value="kyuubi"/>
        <EventTemplateAdditionalField key="cluster" value="hadoop-testing"/>
        <EventTemplateAdditionalField key="host" value="${hostName}"/>
      </JsonTemplateLayout>
      <Property name="bootstrap.servers" value="kafka-1:9092,kafka-2:9092,kafka-3:9092"/>
      <Property name="compression.type" value="gzip"/>
    </Kafka>
  </Appenders>
  <Loggers>
    <Root level="INFO">
      <AppenderRef ref="kafka"/>
    </Root>
  </Loggers>
</Configuration>

Check that Kafka receives the expected structured logging message in the Elastic Common Schema(ECS) layout.

Was this patch authored or co-authored using generative AI tooling?

No

For reviewers who want to verify or play with this feature, awesome-kyuubi/hadoop-testing provides an out-of-box setup with the following rendering command
ansible-playbook build.yaml -e "{grafana_enabled: true, prometheus_enabled: true, loki_enabled: true, kafka_enabled: true, kafka_ui_enabled: true}"

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (d50cf17) to head (9556da2).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6861   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         687     687
  Lines       42473   42473
  Branches     5796    5796
======================================
  Misses      42473   42473

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks, merged to master


"Gănești", "Gârde" are listed in the drop-down menu

Description:
When user writes "Gănești" and "Gârde" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Gănești"

Expected results
The location appears in the drop-down menu as "Gănești, Alba (Bistra)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Gârde"

Expected results
The location appears in the drop-down menu as "Gârde, Alba (Bistra)"


A11y_SQLAzureDataStudio_SQLServerBigDataCluster_ServiceSettings_Keyboard:There is no keyboard key to dismiss the tooltip.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11y_SQLAzureDataStudioBenchmark;#A11yWCAG2.1;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#Win32;#MAS1.4.13;#A11y_SQlADS_WCAG2.1;#Keyboard;
Environment Details:
Application Name: Azure Data Studio
Version: 1.16.0-insider
OS: Windows_NT x64 10.0.18363
Additional Details:
MAS References:MA1.4.13
Repro Steps:

Launch Azure Data Studio.
Select the Connections icon (if not already selected) from left bar.
Click on the ellipses '...' and select "New Deployment".
Select "SQL Server Big Data Cluster" card under deployment options.
Select the version & checkbox.
Navigate till Selet button & hit enter.
Select Configuration profile --> Update Azure settings --> Update Cluster settings & hit Next.
Navigate to the information icon under "Storage settings" button.

Actual:
On navigating using tab to the information button under "Storage settings" there is a tooltip in the display but it does not dismiss with any keyboard key like an escape. On escape, the window is closed.
Expected:
There should be a keyboard key available to dismiss the tooltip.
User Impact:
Keyboard users will face difficulty to dismiss the tooltip without moving the focus from it.
Attachment for Reference :
A11y_SQLAzureDataStudio_SQLServerBigDataCluster_ServiceSettings_Keyboard9290.zip

if you move the focus away from the icon, the tooltip will be dismissed.

GithubTags:#A11y_SQlADS_Win32;#A11yMAS;

As per PO comment big data cluster is removed. Hence closing bug. GithubTags:#Closed;Version 1.75

GitHubTags:#SQLADS-Win32-Feb2020;


GraphWorld for fake graphs benchmarking

Ref. GraphWorld: Fake Graphs Bring Real Insights for GNNs, GraphWorld: Advances in Graph Benchmarking

Requested in JuliaML/MLDatasets.jl#145


Move ImageData into Canvas

Issue: https://github.com/reasonml-community/bs-webapi-incubator/issues/168
Previous discussion: https://github.com/reasonml-community/bs-webapi-incubator/pull/169
As discussed, I renamed and moved previous Dom.Image to Canvas.ImageData
It's a rename of existing binding, so this pull request is a breaking change

@glennsl You're right. My mistake. I'll try to figure out what to do with this.


Keybinding in input editor placeholder is not changed after changing the keybinding

Testing https://github.com/microsoft/vscode/issues/127378

Open keybindings editor and interactive window in two editor groups
Check that input editor has shift + enter as keybinding to execute
Change the keybinding to some other key
🐛 Placeholder is not updated

This doesn't seem to work for me on Windows: https://memes.peet.io/img/21-07-81097592-7213-45e5-b615-92fa3282a408.mp4

@connor4312, sorry that's the wrong command, the Jupyter extension contributes multiple Shift+Enter keybindings. Could you please try changing the extension's keybinding for interactive.execute? E.g.

Thanks!


Enhancement: tag auto-generated pull requests

It would be great to have the tool label the generated pull requests  as "auto" or similar (in a nice color of course :-)   Helps browse and filter the growing list of pull requests.

As a non nixpkgs maintainer, I don't think I'm allowed to add tags.

One alternative would be to create an “ryantmofborg” GitHub like GrahamC did and use its token for PRs. You could filter by user.

Is there a way to search PRs for NOT some author?

is:pr is:open -author:xxx works, same for labels.
A dedicated github account works assuming it's the only one.
A label would allow for different accounts to submit auto-generated PRs - we might have multiple PR bots doing different things in the future ...
If a label cannot be added via the API, ofborg could do that during checks.

Yeah. We could also use GitHub's team feature. Adding a "robots" team would let you add a filter like "is:pr is:open -team:NixOS/robots".
Anyway @ryantm you should email Eelco and explain your use case with adding bot labels.

On second thought, running a PR bot with commit rights increases risk in case of bugs. It might be safer to use a separate unprivileged bot account and let grahamcofborg add a label if the PR is from a known bot account.

I am now running nix-update as GitHub user @r-ryantm

Thanks! Let's consider labeling by grahamcofborg later when another PR bot comes alive.


Question: tado v1 supported?

Hi!
Is the first tado version v1 (no native HomeKit support) suppoted?
Thx

Hi @beatpaul,
Actually, I cannot tell you. This plugin uses the web API of Tado. I assume that, as long as you can control your system with the Web UI, it will work.

Just tried it --> works perfekt so far :)
except one  thing: config ui-x probably mixes up your plugin with this one
[(https://www.npmjs.com/package/homebridge-tado)]
and wants to update due to the same name ...
is there a work-around ?
thx

Hi @beatpaul, I don't think that there is a workaround. I haven't published this plugin on NPM as there are a ton of plugins doing nearly the same, they work for 99% of all use cases. I implemented this plugin to get this specific accessories configuration (Thermostat + window sensor in one accessory) exposed in HomeKit with a fire-and-forget mechanism for communication with the API.


Separate ATX header and content (also separate between immutable and aux. data - see comment)

Header should exclude fields that are only required for validation and propagation (incl. syncing other nodes).
The structure should be:
Atx{
	Header{
		Id // this should either be removed entirely, or, if we want to cache it - separate objects should be created for storing and sending over the wire
		NipstChallenge{
			NodeId
			PubLayerId
			Sequence
			StartTick
			EndTick
			PosAtxId
			PrevAtxId
		}
		ActiveSetSize
		Coinbase
	}
	View
	Nipst{
		Space
		NipstChallenge (hash of: NodeId, Sequence, PrevAtxId, PubLayerId, StartTick, PosAtxId)
		PostProof{
			Identity (NodeId)
			Challenge (PoetProofRef)
			MerkleRoot
			ProofNodes
			ProvenLeaves
		}
	}
}

Fetching ATX from the DB should only return the header, unless full ATX is explicitly requested (e.g. when a neighbor requests it).

There is another issue that should be handled as part of this work:
Currently, the ActivationTx struct has an inner cache for the AtxId (to avoid calculating the id every time we need it - the calculation of an id includes serialization of the entire atx).
We need to separate between immutable data which is written to the db and auxiliary data that is need in the memory only and can be modified (e.g. the id cache)

fixed


@zachlatta's clubs for the week

See #244 for full details.
Check off each club once the requirements in #244 are met. These are
@zachlatta's clubs:

@zachlatta, feel better. We got you.
Moving
Lowell High School (Thursday, 3:30PM) to Jon: #245
Glenaeon Rudolf Steiner School (Tuesday, 10:30PM) to Max: #248
College Park High School (Thursday, 2:50PM) to Dave #247

Thank you @hellyeah!

(and everyone else on the team :heart:)

Closing because the work here has been migrated to various other issues (see this comment)


Fit on array of size >= 4096 returns _TracedPicklingError: Failed in nopython mode pipeline (step: nopython mode backend)

A simple fit of umap on a random numpy array of size 4096 (or more) fails with the traceback detailed below. If the array is of size less than 4096 everything goes fine. What's going wrong?
A very similar issue: https://github.com/lmcinnes/umap/issues/477
Framework: Spark-based environment with umap==0.5.0, numba==0.52.0, pynndescent==0.5.1, scipy==1.4.1
Minimal example:
import umap
import numpy as np
reducer = umap.UMAP()
np.random.seed(0)
reducer.fit(np.random.rand(4096,16))

This gives the following error:
---------------------------------------------------------------------------
PicklingError                             Traceback (most recent call last)
/databricks/python/lib/python3.7/site-packages/numba/core/serialize.py in save(self, obj)
    304         try:
--> 305             return super().save(obj)
    306         except _TracedPicklingError:

/databricks/python/lib/python3.7/pickle.py in save(self, obj, save_persistent_id)
    503         if f is not None:
--> 504             f(self, obj) # Call unbound method with explicit self
    505             return

/databricks/python/lib/python3.7/pickle.py in save_type(self, obj)
   1015             return self.save_reduce(type, (...,), obj=obj)
-> 1016         return self.save_global(obj)
   1017

/databricks/python/lib/python3.7/pickle.py in save_global(self, obj, name)
    959                 "Can't pickle %r: it's not found as %s.%s" %
--> 960                 (obj, module_name, name)) from None
    961         else:

PicklingError: Can't pickle <class 'collections.FlatTree'>: it's not found as collections.FlatTree

During handling of the above exception, another exception occurred:

_TracedPicklingError                      Traceback (most recent call last)
<command-103842> in <module>
      3 reducer = umap.UMAP()
      4 np.random.seed(0)
----> 5 reducer.fit(np.random.rand(4096,16))

/databricks/python/lib/python3.7/site-packages/umap/umap_.py in fit(self, X, y)
   2387                 use_pynndescent=True,
   2388                 n_jobs=self.n_jobs,
-> 2389                 verbose=self.verbose,
   2390             )
   2391

/databricks/python/lib/python3.7/site-packages/umap/umap_.py in nearest_neighbors(X, n_neighbors, metric, metric_kwds, angular, random_state, low_memory, use_pynndescent, n_jobs, verbose)
    337             low_memory=low_memory,
    338             n_jobs=n_jobs,
--> 339             verbose=verbose,
    340         )
    341         knn_indices, knn_dists = knn_search_index.neighbor_graph

/databricks/python/lib/python3.7/site-packages/pynndescent/pynndescent_.py in __init__(self, data, metric, metric_kwds, n_neighbors, n_trees, leaf_size, pruning_degree_multiplier, diversify_prob, n_search_trees, tree_init, init_graph, random_state, low_memory, max_candidates, n_iters, delta, n_jobs, compressed, verbose)
    789                 current_random_state,
    790                 self.n_jobs,
--> 791                 self._angular_trees,
    792             )
    793             leaf_array = rptree_leaf_array(self._rp_forest)

/databricks/python/lib/python3.7/site-packages/pynndescent/rp_trees.py in make_forest(data, n_neighbors, n_trees, leaf_size, rng_state, random_state, n_jobs, angular)
    999             result = joblib.Parallel(n_jobs=n_jobs, prefer="threads")(
   1000                 joblib.delayed(make_dense_tree)(data, rng_states[i], leaf_size, angular)
-> 1001                 for i in range(n_trees)
   1002             )
   1003     except (RuntimeError, RecursionError, SystemError):

/databricks/python/lib/python3.7/site-packages/joblib/parallel.py in __call__(self, iterable)
   1015
   1016             with self._backend.retrieval_context():
-> 1017                 self.retrieve()
   1018             # Make sure that we get a last message telling us we are done
   1019             elapsed_time = time.time() - self._start_time

/databricks/python/lib/python3.7/site-packages/joblib/parallel.py in retrieve(self)
    907             try:
    908                 if getattr(self._backend, 'supports_timeout', False):
--> 909                     self._output.extend(job.get(timeout=self.timeout))
    910                 else:
    911                     self._output.extend(job.get())

/databricks/python/lib/python3.7/multiprocessing/pool.py in get(self, timeout)
    655             return self._value
    656         else:
--> 657             raise self._value
    658
    659     def _set(self, i, obj):

/databricks/python/lib/python3.7/multiprocessing/pool.py in worker(inqueue, outqueue, initializer, initargs, maxtasks, wrap_exception)
    119         job, i, func, args, kwds = task
    120         try:
--> 121             result = (True, func(*args, **kwds))
    122         except Exception as e:
    123             if wrap_exception and func is not _helper_reraises_exception:

/databricks/python/lib/python3.7/site-packages/joblib/_parallel_backends.py in __call__(self, *args, **kwargs)
    606     def __call__(self, *args, **kwargs):
    607         try:
--> 608             return self.func(*args, **kwargs)
    609         except KeyboardInterrupt:
    610             # We capture the KeyboardInterrupt and reraise it as

/databricks/python/lib/python3.7/site-packages/joblib/parallel.py in __call__(self)
    254         with parallel_backend(self._backend, n_jobs=self._n_jobs):
    255             return [func(*args, **kwargs)
--> 256                     for func, args, kwargs in self.items]
    257
    258     def __len__(self):

/databricks/python/lib/python3.7/site-packages/joblib/parallel.py in <listcomp>(.0)
    254         with parallel_backend(self._backend, n_jobs=self._n_jobs):
    255             return [func(*args, **kwargs)
--> 256                     for func, args, kwargs in self.items]
    257
    258     def __len__(self):

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in _compile_for_args(self, *args, **kws)
    431                     e.patch_message('\n'.join((str(e).rstrip(), help_msg)))
    432             # ignore the FULL_TRACEBACKS config, this needs reporting!
--> 433             raise e
    434
    435     def inspect_llvm(self, signature=None):

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in _compile_for_args(self, *args, **kws)
    364                 argtypes.append(self.typeof_pyval(a))
    365         try:
--> 366             return self.compile(tuple(argtypes))
    367         except errors.ForceLiteralArg as e:
    368             # Received request for compiler re-entry with the list of arguments

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
     30         def _acquire_compile_lock(*args, **kwargs):
     31             with self:
---> 32                 return func(*args, **kwargs)
     33         return _acquire_compile_lock
     34

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in compile(self, sig)
    855             self._cache_misses[sig] += 1
    856             try:
--> 857                 cres = self._compiler.compile(args, return_type)
    858             except errors.ForceLiteralArg as e:
    859                 def folded(args, kws):

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in compile(self, args, return_type)
     75
     76     def compile(self, args, return_type):
---> 77         status, retval = self._compile_cached(args, return_type)
     78         if status:
     79             return retval

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in _compile_cached(self, args, return_type)
     89
     90         try:
---> 91             retval = self._compile_core(args, return_type)
     92         except errors.TypingError as e:
     93             self._failed_cache[key] = e

/databricks/python/lib/python3.7/site-packages/numba/core/dispatcher.py in _compile_core(self, args, return_type)
    107                                       args=args, return_type=return_type,
    108                                       flags=flags, locals=self.locals,
--> 109                                       pipeline_class=self.pipeline_class)
    110         # Check typing error if object mode is used
    111         if cres.typing_error is not None and not flags.enable_pyobject:

/databricks/python/lib/python3.7/site-packages/numba/core/compiler.py in compile_extra(typingctx, targetctx, func, args, return_type, flags, locals, library, pipeline_class)
    600     pipeline = pipeline_class(typingctx, targetctx, library,
    601                               args, return_type, flags, locals)
--> 602     return pipeline.compile_extra(func)
    603
    604

/databricks/python/lib/python3.7/site-packages/numba/core/compiler.py in compile_extra(self, func)
    350         self.state.lifted = ()
    351         self.state.lifted_from = None
--> 352         return self._compile_bytecode()
    353
    354     def compile_ir(self, func_ir, lifted=(), lifted_from=None):

/databricks/python/lib/python3.7/site-packages/numba/core/compiler.py in _compile_bytecode(self)
    412         """
    413         assert self.state.func_ir is None
--> 414         return self._compile_core()
    415
    416     def _compile_ir(self):

/databricks/python/lib/python3.7/site-packages/numba/core/compiler.py in _compile_core(self)
    392                 self.state.status.fail_reason = e
    393                 if is_final_pipeline:
--> 394                     raise e
    395         else:
    396             raise CompilerError("All available pipelines exhausted")

/databricks/python/lib/python3.7/site-packages/numba/core/compiler.py in _compile_core(self)
    383             res = None
    384             try:
--> 385                 pm.run(self.state)
    386                 if self.state.cr is not None:
    387                     break

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_machinery.py in run(self, state)
    337                     (self.pipeline_name, pass_desc)
    338                 patched_exception = self._patch_error(msg, e)
--> 339                 raise patched_exception
    340
    341     def dependency_analysis(self):

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_machinery.py in run(self, state)
    328                 pass_inst = _pass_registry.get(pss).pass_inst
    329                 if isinstance(pass_inst, CompilerPass):
--> 330                     self._runPass(idx, pass_inst, state)
    331                 else:
    332                     raise BaseException("Legacy pass in use")

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
     30         def _acquire_compile_lock(*args, **kwargs):
     31             with self:
---> 32                 return func(*args, **kwargs)
     33         return _acquire_compile_lock
     34

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_machinery.py in _runPass(self, index, pss, internal_state)
    287             mutated |= check(pss.run_initialization, internal_state)
    288         with SimpleTimer() as pass_time:
--> 289             mutated |= check(pss.run_pass, internal_state)
    290         with SimpleTimer() as finalize_time:
    291             mutated |= check(pss.run_finalizer, internal_state)

/databricks/python/lib/python3.7/site-packages/numba/core/compiler_machinery.py in check(func, compiler_state)
    260
    261         def check(func, compiler_state):
--> 262             mangled = func(compiler_state)
    263             if mangled not in (True, False):
    264                 msg = ("CompilerPass implementations should return True/False. "

/databricks/python/lib/python3.7/site-packages/numba/core/typed_passes.py in run_pass(self, state)
    447
    448         # TODO: Pull this out into the pipeline
--> 449         NativeLowering().run_pass(state)
    450         lowered = state['cr']
    451         signature = typing.signature(state.return_type, *state.args)

/databricks/python/lib/python3.7/site-packages/numba/core/typed_passes.py in run_pass(self, state)
    373                 lower.lower()
    374                 if not flags.no_cpython_wrapper:
--> 375                     lower.create_cpython_wrapper(flags.release_gil)
    376
    377                 if not flags.no_cfunc_wrapper:

/databricks/python/lib/python3.7/site-packages/numba/core/lowering.py in create_cpython_wrapper(self, release_gil)
    242         self.context.create_cpython_wrapper(self.library, self.fndesc,
    243                                             self.env, self.call_helper,
--> 244                                             release_gil=release_gil)
    245
    246     def create_cfunc_wrapper(self):

/databricks/python/lib/python3.7/site-packages/numba/core/cpu.py in create_cpython_wrapper(self, library, fndesc, env, call_helper, release_gil)
    160                                 fndesc, env, call_helper=call_helper,
    161                                 release_gil=release_gil)
--> 162         builder.build()
    163         library.add_ir_module(wrapper_module)
    164

/databricks/python/lib/python3.7/site-packages/numba/core/callwrapper.py in build(self)
    120
    121         api = self.context.get_python_api(builder)
--> 122         self.build_wrapper(api, builder, closure, args, kws)
    123
    124         return wrapper, api

/databricks/python/lib/python3.7/site-packages/numba/core/callwrapper.py in build_wrapper(self, api, builder, closure, args, kws)
    185
    186             retty = self._simplified_return_type()
--> 187             obj = api.from_native_return(retty, retval, env_manager)
    188             builder.ret(obj)
    189

/databricks/python/lib/python3.7/site-packages/numba/core/pythonapi.py in from_native_return(self, typ, val, env_manager)
   1387                                                     "prevented the return of " \
   1388                                                     "optional value"
-> 1389         out = self.from_native_value(typ, val, env_manager)
   1390         return out
   1391

/databricks/python/lib/python3.7/site-packages/numba/core/pythonapi.py in from_native_value(self, typ, val, env_manager)
   1401
   1402         c = _BoxContext(self.context, self.builder, self, env_manager)
-> 1403         return impl(typ, val, c)
   1404
   1405     def reflect_native_value(self, typ, val, env_manager=None):

/databricks/python/lib/python3.7/site-packages/numba/core/boxing.py in box_namedtuple(typ, val, c)
    502     Convert native array or structure *val* to a namedtuple object.
    503     """
--> 504     cls_obj = c.pyapi.unserialize(c.pyapi.serialize_object(typ.instance_class))
    505     tuple_obj = box_tuple(typ, val, c)
    506     obj = c.pyapi.call(cls_obj, tuple_obj)

/databricks/python/lib/python3.7/site-packages/numba/core/pythonapi.py in serialize_object(self, obj)
   1362             gv = self.module.__serialized[obj]
   1363         except KeyError:
-> 1364             struct = self.serialize_uncached(obj)
   1365             name = ".const.picklebuf.%s" % (id(obj) if config.DIFF_IR == 0 else "DIFF_IR")
   1366             gv = self.context.insert_unique_const(self.module, name, struct)

/databricks/python/lib/python3.7/site-packages/numba/core/pythonapi.py in serialize_uncached(self, obj)
   1333         """
   1334         # First make the array constant
-> 1335         data = serialize.dumps(obj)
   1336         assert len(data) < 2**31
   1337         name = ".const.pickledata.%s" % (id(obj) if config.DIFF_IR == 0 else "DIFF_IR")

/databricks/python/lib/python3.7/site-packages/numba/core/serialize.py in dumps(obj)
    166     with io.BytesIO() as buf:
    167         p = pickler(buf)
--> 168         p.dump(obj)
    169         pickled = buf.getvalue()
    170

/databricks/python/lib/python3.7/pickle.py in dump(self, obj)
    435         if self.proto >= 4:
    436             self.framer.start_framing()
--> 437         self.save(obj)
    438         self.write(STOP)
    439         self.framer.end_framing()

/databricks/python/lib/python3.7/site-packages/numba/core/serialize.py in save(self, obj)
    312             m = (f"Failed to pickle because of\n  {type(e).__name__}: {e}"
    313                  f"\ntracing... \n{perline(self.__trace)}")
--> 314             raise _TracedPicklingError(m)
    315         finally:
    316             self.__trace.pop()

_TracedPicklingError: Failed in nopython mode pipeline (step: nopython mode backend)
Failed to pickle because of
  PicklingError: Can't pickle <class 'collections.FlatTree'>: it's not found as collections.FlatTree
tracing...
 [0]: <class 'type'>:<PHONE_NUMBER>9632

Hi,
Is anybody able to resolve this? I am getting the same error in jupyter notebooks. I tried with both cosine and euclidean distance metrics.
Following the above closed issue, i have also defined cosine as a custom function and used numba. Still getting the same error.
Please help

Hello,
I am still facing this issue, do we know any workaround or when will the bugfix be released?
Thank you!

Hello,
I am still facing this issue, do we know any workaround or when will the bugfix be released?
Thank you!

It's a problem in pynndescent which was fixed in the latest release, try and update that package to 0.5.4

Hello,
I am still facing this issue, do we know any workaround or when will the bugfix be released?
Thank you!

It's a problem in pynndescent which was fixed in the latest release, try and update that package to 0.5.4

That's the version I have installed in my environment.

Hi,
I am facing this issue in pyspark environment using jupyter notebook. Any dataframe lesser than 4000 rows is working fine but as soon as the number increases this error pops up. Has anybody been able to resolve this?
I am also using t-SNE for my single-cell data in pyspark environment which is working fine.

Hello 🙋♂
I finally found a hack. It seems that there is some weird internal overriding that makes the collections.FlatTree class not pickeable.
# This is a hack to be able to use UMAP.fit_transform with more than 4095 samples.
# See links below:
# https://github.com/lmcinnes/umap/issues/477
# https://github.com/lmcinnes/umap/issues/547
import collections
import pynndescent

collections.namedtuple("n", [], module=__name__)
pynndescent.rp_trees.FlatTree.__module__ = "pynndescent.rp_trees"

I hope this could help you!

Hi @oscarorti.
Thanks for suggesting this hack.
I am not a core programmer, do I need to copy your hack as it is or do I have to make any changes?

Just copy-paste below the module's imports.

Just copy-paste below the module's imports.

Just copy-paste below the module's imports.

It is working like charm now. 😁
Thank you so much @oscarorti


Use new endpoint for fetching reportee

Description

This change switches lookup of reportee/authorized party to using a new endpoint in backend that includes delegations performed in A3 for more accurate calculation of authorization.
In addition to this, a minor change is done to facilitate running the frontend with the backend locally
This PR does not add BFF mocking for this call, as LookUpClient isn't currently mocked at all. That can wait since the LookupClient will be combined into an AccessManagementClient sometime soon anyway, which will then have a mock client.
Related Issue(s)

#834

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Is this PR connected to this issue? @allinox  😃
I see this relates to it's own PR 😅
#776


⚠ Bofrost.fr has degraded performance

In 7d609d7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 970 ms

Resolved: Bofrost.fr performance has improved in 1b41410 after 8 minutes.


Add warning to chart results before 8/1/22

We need to reflect to users that online news data before 8/1/22 isn't 100% reliable.
Rahul slack message
"what if we use the highcharts plotBand feature (docs)... so if an onlinenews-waybackmachine chart includes dates before 8/1/22, the area from the start date to 8/1/22 gets a plot band color light grey with a label that say "⚠ unsteady data""

slack thread

Opted to limit the dates to not be able to search before 8/1/22 #262


Format code using 'cargo fmt'

Closing. See https://github.com/inotify-rs/inotify/pull/131#issuecomment-504877719 for my reasoning.


Do not limit description text in card details

it looks like the text is today limited to 3 lines (Information,)

Size: S

dont see the difference ?

here is the commit:  d7c616dd4d2b947d7406d598ad2466bff2ecee1b


[SPARK-20197][SPARKR][WIP] improve check for directory to cover differences with R CMD check

What changes were proposed in this pull request?
Check both SPARK_HOME and current directory.

Test build #75469 has started for PR 17516 at commit c89380e.

Test build #75469 has finished for PR 17516 at commit c89380e.

This patch fails R style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75469/
Test FAILed.

WIP - testing this out in Jenkins, AppVeyor.

unlike in Jenkins, R CMD check looks to be running each test R file with the current directory set to its directory (eg. spark/R/pkg/inst/tests/testthat/ for test_sparkSQL.R)
unless there is a good way to run all tests the same way as R CMD check, we will need to revisit what we are checking here.

Looking at this now

So does the current patch pass R CMD check when run on the master branch ?

Test build #75589 has started for PR 17516 at commit a3e8b35.

Test build #75589 has finished for PR 17516 at commit a3e8b35.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75589/
Test PASSed.

Don't we also need the skip if cran statement ?

The test actually passes - just not looking at the right place. Skip if cran is not applicable in master since we are running tests as cran - if I add skip if cran it will just disable this test completely.
This is why I opt to originally to update the test instead instead of skip if cran in master.
But since we might be cutting a RC any time I want to fix the blocker first and get back to fix the test (which doesn't fail) when I get the chance.
I will merge this today unless you have a concern?

The test passes even when we run the R CMD check --as-cran from a different directory ? I thought the fix in branch-2.1 was to get around that (my understanding could be wrong)

There are two parts to the branch-2.1 fix
First, the reason why the test failed was because SPARK_HOME was not set before calling spark.install() when running as a package. This would not be a problem when in Jenkins, but only when running with R CMD check SparkR*.tgz. The fix was to move spark.install to earlier.
Second, even after the change, while testing it, I found that R CMD check was getting spark-warehouse etc in the testthat directory, NOT in SPARK_HOME - therefore that test would be essentially a no-op or always passes anyway. I made the call to disable it (with skip_if_cran), but that had the unintended effect of also turning off that test in Jenkins, as we are testing with --as-cran (as explained above)
And so the attempt here in this PR to fix this for real in master. Since we are rolling our RC anytime, I don't want to delay the first fix (install.spark) only to sort out the 2nd part, which could come a bit later.
If you feel that's safer, we could also add skip_if_cran to this test in master -  just know that it will also turn off this test in Jenkins. Since with R CMD check the spark-warehouse and metastore_db are not written to SPARK_HOME, but to testthat, this test will pass during the package test with R CMD check - so long as we merge this PR to move install.spark first

Got it. LGTM. Thanks for explanation. I'm fine with merging this to master !

thanks, I find it rather odd but probably by design that the current directory is different when running R CMD check .tgz. will need to look at the more

merged to master


feat: Adding Multus support

Description
Allow specifying host interface to use for multus interface
This change allows specifying what host interface to use for Multus interface, allowing the operator to expose the n3 interface to use external networks.

If n3 interface is not specified, a multus interfaces will be created with the bridge plugin, separating the network traffic in different network.
If it is specified, a macvlan interface will use the underlying host's interface

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[ ] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

Did you manage to deploy CU with Multus?

yes.


webpart is not available in page.Available Client Side Components();

Category

[ ] Additional article idea
webpart is not available in page.Available Client Side Components();
I'm provisioning SharePoint Modern site using CSOM.
I've uploaded a SPFX app in App Gallery, which I'm trying to add in my new provisioned page.

My code
var components = page.AvailableClientSideComponents();
//string wpName = "project-status-client-side-solution";
string wpName = "7fd19df0-1ec9-4fe8-9c7e-7812e5ef583a";
            // Find our custom "project-status-client-side-solution" web part
            List<string> componentsnames = components.Select(k => k.Name).ToList();
            var webPartToAdd = components.Where(wp => wp.ComponentType == 1 && wp.Name == wpName).FirstOrDefault();
            if (webPartToAdd != null)
            {
                ClientSideWebPart clientWp = new ClientSideWebPart(webPartToAdd) { Order = -1 };
                page.AddControl(clientWp);
            }
            page.Save();

webPartToAdd is always returning null. checked with Name, Id both.
Observed Behavior
Using below code, I can see that app, in my tenant.
var apps = appManager.GetAvailable();
Once the new site is created, I can see the app - Add an App > [Apps you can add] section.
I've to add manually, to get the app available in web part gallery.
I don't want to do this manually. How can I perform this using code.
Am I missing something here.
Any help on this is really appreciated.
Thank you
ananda

You need to ensure that when you add the app in your app catalog that it is tenant deployed.


ImportError: No module named 'Queue'

I tried this, with python3, and I get this stack trace:
  File "/Users/dirkg/Documents/scholar-research/experiments/pdflm/with_labels.py", line 476, in <module>
    model_settings, args.output
  File "/Users/dirkg/Documents/scholar-research/experiments/pdflm/with_labels.py", line 269, in train
    from multiprocessing_generator import ParallelGenerator
  File "/Users/dirkg/anaconda3/envs/pdflm/lib/python3.5/site-packages/multiprocessing_generator/__init__.py", line 4, in <module>
    from Queue import Empty
ImportError: No module named 'Queue'

@dirkgr thanks for reporting! It should be fixed by #2. I have uploaded a new version on PyPI.


Shouldn't KeyTag be an abstract type rather than a trait?

type FieldType[K, +V] = V with KeyTag[K, V]
trait KeyTag[K, +V]

trait Tagged[U]
type @@[+T, U] = T with Tagged[U]

None.asInstanceOf[FieldType[Symbol @@ "field1", Any]]
// ClassCastException: scala.None$ cannot be cast to KeyTag

vs.
type FieldType[K, +V] = V with KeyTag[K, V]
type KeyTag[K, +V]

trait Tagged[U]
type @@[+T, U] = T with Tagged[U]

None.asInstanceOf[FieldType[Symbol @@ "field1", Any]] // no exception

Normally the trait works but not with Any or AnyRef.
field[Symbol @@ "field1"](None: Any) doesn't throw but val f = field[Symbol @@ "field1"](None: Any) does.
Also
def foo(x: Any): FieldType[Symbol @@ "field1", Any] = field[Symbol @@ "field1"](x)
foo(None)

throws.
Scala 2.13.10.
Discovered in https://stackoverflow.com/questions/74384745/encoding-decoding-a-field-with-any-datatype-assigned-with-value-none-in-scala

Or is it too late because of the binary compatibility?

I tried to make some of these types abstract a while ago - see https://github.com/milessabin/shapeless/pull/807 - one of the issues was it caused boxing which would be unacceptable performance regression. I don't think I tried to make the tag itself abstract though. Can you check if this would cause boxing? You can use :javap in the REPL to view the generated bytecode.

Or is it too late because of the binary compatibility?

That might be the case too. If MiMa complains then probably we can't do it.

https://github.com/milessabin/shapeless/issues/44 (noticed at https://stackoverflow.com/questions/75012811/should-tagged-types-work-for-value-classes )


fix broken zeroc link

See https://merge-ci.openmicroscopy.org/jenkins/job/OMERO-docs/1545/

https://merge-ci.openmicroscopy.org/jenkins/job/OMERO-docs/1551/ is green


Tenant could not be resolved with HostStrategy and DistributedCacheStore

Hi,
I use redis as my distributed cache store and all tenant relevant information are stored in there in the following manner:

"__tenant__identifier__MyTenantName"
"__tenant__id__d59b44f1-1457-4be8-8f07-1aaf1226f500"

The HostStrategy gets my tenant name from the subdomain (https://MyTenantName.mydomain.com) and the identifier is resolved correctly.
But if the request is like (https://MYTENANTNAME.mydomain.com) the tenant is not found.
This is because redis is case sensitive. Did I miss something or would it be possible that the "DistributedCacheStore.cs" make all lowercase before reading and writing?
Thanks!

@marcelbeutner sorry for the slow reply. Did you find a solution or workaround?
I plan to add a normalized tenant identifier to prevent these issues but for now I'd recommend implementing IMultiTenantStrategy and/or IMultiTenantStore yourself to explicitly handle case as you see fit.

Thanks Andrew for your answer!
Yes, I have indeed found a workaround that solves my problem. I copied the DistributedCacheStore class and nomalized the keys with "ToLower()".
So far we haven't found any problems, not even in production, so I think it would be conceivable to include this in the master branch as well.
By the way: This library is really fantastic and I think it's a must for multi-tenant applications - great work!!
Best regards
Marcel
Here are my little changes:
`
///
/// Basic store that uses an IDistributedCache instance as its backing. Note that GetAllAsync is not implemented.
///
/// The ITenantInfo implementation type.
public class DistributedCacheStore : IMultiTenantStore where TTenantInfo : class, ITenantInfo, new()
{
private readonly IDistributedCache cache;
private readonly string keyPrefix;
private readonly TimeSpan? slidingExpiration;
///
/// Constructor for DistributedCacheStore.
///
/// IDistributedCache instance for use as the store backing.
///
public DistributedCacheStore(IDistributedCache cache)
{
this.cache = cache ?? throw new ArgumentNullException(nameof(cache));
this.keyPrefix = "tenant";
this.slidingExpiration = null;
}
///
public async Task TryAddAsync(TTenantInfo tenantInfo)
{
var options = new DistributedCacheEntryOptions { SlidingExpiration = slidingExpiration };
var bytes = JsonSerializer.Serialize(tenantInfo);
await cache.SetStringAsync($"{keyPrefix}id__{tenantInfo.Id}".ToLower(), bytes, options);
await cache.SetStringAsync($"{keyPrefix}identifier__{tenantInfo.Identifier}".ToLower(), bytes, options);

return true;

}
///
public async Task<TTenantInfo?> TryGetAsync(string id)
{
var bytes = await cache.GetStringAsync($"{keyPrefix}id__{id}".ToLower());
if (bytes == null)
return null;
var result = JsonSerializer.Deserialize<TTenantInfo>(bytes);

// Refresh the identifier version to keep things synced
await cache.RefreshAsync($"{keyPrefix}identifier__{result?.Identifier}".ToLower());

return result;

}
///
/// Not implemented in this implementation.
///
///
public Task<IEnumerable> GetAllAsync()
{
throw new NotImplementedException();
}
///
public async Task<TTenantInfo?> TryGetByIdentifierAsync(string identifier)
{
var bytes = await cache.GetStringAsync($"{keyPrefix}identifier__{identifier}".ToLower());
if (bytes == null)
return null;
var result = JsonSerializer.Deserialize<TTenantInfo>(bytes);

// Refresh the identifier version to keep things synced
await cache.RefreshAsync($"{keyPrefix}id__{result?.Id}".ToLower());

return result;

}
///
public async Task TryRemoveAsync(string identifier)
{
var result = await TryGetByIdentifierAsync(identifier);
if (result == null)
return false;
await cache.RemoveAsync($"{keyPrefix}id__{result.Id}".ToLower());
await cache.RemoveAsync($"{keyPrefix}identifier__{result.Identifier}".ToLower());

return true;

}
///
public Task TryUpdateAsync(TTenantInfo tenantInfo)
{
// Same as adding for distributed cache.
return TryAddAsync(tenantInfo);
}
}
`


Non-php files parsed by the LoadsConfig directory listener

I ran into a small problem during development where non-php files were being parsed by the LoadsConfig listener.
background
During development I tend to keep non-code files such as readme files, implementation backup files (.php.bak) and todo list. With the current implementation, if these files contain actual php code the content is actually interpreted even though the file extension is not .php.
Actual behavior
Create a file called access.php.bak in a tenant's config folder with the following content:
<?php
$error = 1/0;

Now watch the application fail.
Expected behavior
The file access.php.bak should be ignored because of its extension.
Modification
I added one line of code :
LoadConfigs->readConfigurationFiles(...)
{
   foreach (...) {
       if ( pathinfo($file, PATHINFO_EXTENSION) !== 'php') continue;
       ...

Information

hyn/multi-tenant version: 5.1.11
laravel version: 5.6
database driver and version:
webserver software and version: nginx 1.11.9
php version: 7.1

I think this could be made much more dynamic.  If we modify the files() method in Directory.php, we can provide a search term to return only files matching that term (i.e. *.php).  That will limit the files being returned, and therefore make that foreach in LoadConfigs more efficient.

I agree with @fletch3555 that the 'fix' I showed is not adequate for production. This is why I didn't make a PR with this change.  I just wanted to show a way to replicate the issue and show where the fix should happen to help avoid someone else having to spend the time I did to find this out.

Nice. Moving these unused config files to another folder would be a solution too. But I agree, let's update the listener to only use php files.


Can't figure out how to fix this error I keep getting.

I'm trying to make a program that downloads the audio from youtube videos and converts them to mp3 files. According to this site: http://willdrevo.com/downloading-youtube-and-soundcloud-audio-with-python-and-pandas/ I can do this with youtube-dl. I have this code (taken from the site previously mentioned): http://pastebin.com/6s5agE9f the problem I'm having is every time I run the program I get this error,"WARNING: LyhU7qwGuFA: writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically." I attempted to resolve this by installing both ffmpeg and avconv. I tried using some commands I found that I thought might work to convert the videos to the proper format. But nothing has worked so far. I tried updating youtube-dl, but it didn't work either (same error when the code is run).
Anyone have ideas for why this isn't working? I'm on OS X (macbook pro). And the version of python I'm using is 3.4.2.

Post the full output you get with the --verbose option

here's the entire log of what I did in IDLE and the stuff it spit out: http://pastebin.com/VLrjJhMN
I understand that my initial comment didn't have sufficient information, so here's some more information: The program is actually producing files on my computer, they're just not in mp3 format like I want them to be. This is what they look like in the folder: http://i.imgur.com/MzHDFII.png when I try to get info about them they don't appear to have any type of file extension. The error message produced by the program every time I run it says installing ffmpeg or avconv would fix this "automatically." But installing them clearly hasn't.
I don't really understand how to use ffmpeg. So I just copied and pasted commands for it into Terminal (mac equivalent of command prompt) hoping it would fix this issue somehow. For reasons I'm unable to reproduce the commands I typed in.
My question is this: to get these files to my desired format (mp3) do I need to change the code or do I need to use Terminal to change their format? If I do indeed need to use ffmpeg in Terminal, could you please tell me what command I need to use to fix this?

full output with the --verbose  options means you have to either add this option when you call youtube-dl from the IDLE and capture both stdout and stderr, or run youtube-dl --verbose OTHER_OPTIONS URL, you should see something like this:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [<options>]
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.04
[debug] Git HEAD: 5268a05
[debug] Python version 3.4.3 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.3, avprobe 11.3, ffmpeg 2.6.2, ffprobe 2.6.2, rtmpdump 2.4
[debug] Proxy map: {}

to get these files to my desired format (mp3) do I need to change the code or do I need to use Terminal to change their format

I guess you are setting the output template (-o option) to something like %(id)s, you have to use %(id)s.%(ext)s.

before I messed around with -v I took the advice of your 'guess' and changed the output template to %(id)s.%(ext)s so that the code looks like this: http://pastebin.com/wBV6DsYd
When I run the code it produced these types of files: http://i.imgur.com/xCfqwiR.png but the issue is that the code get's stuck, and never progresses past a certain percent. I had a hard time copying the stuff in the IDLE because it kept spitting out the same message, so I took a screen grab: http://i.imgur.com/7BTXgnC.png
I can't parse exactly what you mean by -v. I don't know how to "add" youtube-dl --verbose OTHER_OPTIONS URL as an option when I run the program in IDLE.  If you could be a bit more precise about exactly how to go about doing -v that would be great. Thanks for helping me btw.

Figured out how to use -v. I didn't realize I had to put it into Terminal. it spit out this: http://pastebin.com/P0WUnJrT

Try with this code and post the output:
import youtube_dl

options = {
    'verbose': True,
    'format': 'bestaudio/best',
    'outtmpl': '%(id)s.%(ext)s',
    'noplaylist' : True,
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
    }],
}
URL = 'test:youtube' #input('video url: ')
with youtube_dl.YoutubeDL(options) as ydl:
    ydl.download([URL])

( extractaudio and audioformat are not valid options, see https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py for all the parameters)

I ran the code you posted, it produced this: http://pastebin.com/3nA2W36w
\

I just noticed the code you gave me produces working audio files. Since my issue is basically resolved, I'd like to close this thread, but I'm not sure how to do that.


No network adapter found during Scenarios/Hyper-V with Shared Storage/Scenario.ps1

Hello,
i launched senario.ps1 of this lab Scenarios/Hyper-V with Shared Storage/ and i have this error
No network adapter was found with the given criteria

Thanks
Regards

Without context I can only guess where it was failing in scenario script. What line is failing?


[release-4.6] Bug 1919359: better surface dockerconfigjson errors causing image pull errors

manual pick cause bot failed for https://github.com/openshift/builder/pull/200#issuecomment-765507917

/bugzilla refresh

/bugzilla refresh

/bugzilla cc-qa

/lgtm
Test on cluster building from this pr, the version '4.6.0-0.ci.test-2021-02-08-034130-ci-ln-6w1gdyt'
Could see the error from build logs with invalid pullsecret.
"error trying to parse file /var/run/secrets/openshift.io/pull/.dockerconfigjson: illegal base64 data at input byte 3"

/test images


Update pandas and duckdb version

Fix for https://github.com/huggingface/datasets-server/issues/1914
Duckdb migration plan:

[x] Update poetry dependencies
[x] Increase job_runner version for split-duckdb-index
[x] Migration to delete all the split-duckdb-index entries
[x] Migration to set search:false and filter:false in dataset-is-valid, config-is-valid, and split-is-valid cache entries so that we temporarily hide the functionality in the UI and avoid having errors when calling /search and /filter endpoints

Deploy plan: stop all workers and run migration, then wait for backfill to compute again all split-duckdb-index entries (It could require an increase of the resources/workers).

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4fadb51) 91.35% compared to head (16479e7) 85.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2316      +/-   ##
==========================================
- Coverage   91.35%   85.86%   -5.50%
==========================================
  Files         237      108     -129
  Lines       14431     4216   -10215
==========================================
- Hits        13184     3620    -9564
+ Misses       1247      596     -651

Flag
Coverage Δ

jobs_cache_maintenance
?

jobs_mongodb_migration
86.10% <ø> (ø)

libs_libapi
86.91% <ø> (?)

libs_libcommon
?

services_admin
87.92% <ø> (ø)

services_api
86.43% <ø> (?)

services_rows
82.80% <ø> (ø)

services_search
80.70% <ø> (-0.05%)
:arrow_down:

services_sse-api
?

services_worker
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

It looks like the last pre-release of duckdb will break FTS for nested data; I opened https://github.com/duckdb/duckdb/issues/10281 and will proceed with the migration once it is fixed.

I will keep this PR on hold until there is an available Linux package for duckdb fix 0.9.3dev3058 https://pypi.org/project/duckdb/0.9.3.dev3058/#files

As you known updating duckdb will break filter and search for existing indexes. Indeed all our duckdb files are in the 0.8 format and 0.9 can NOT read them.
I would wait for duckdb to be backwards compatible (0.10 release coming mid-february) before migrating.
Also that means we might need to use two duckdb versions in the API pods to be able to query both old and new data while the jobs are being processed to update the duckdb files ?
This will also be a good opportunity to move the duckdb files to somewhere else.

I just saw the discussion at https://github.com/huggingface/datasets-server/issues/1914 sorry
So the idea is to break search and filter while the jobs are processed ? It seems quite drastic since the migration will take time (days, maybe weeks ?)

So the idea is to break search and filter while the jobs are processed ? It seems quite drastic since the migration will take time (days, maybe weeks ?)

indeed, it's surely too drastic. Let's propose another strategy?

This will also be a good opportunity to move the duckdb files to somewhere else.

Yes.

Related discussion here: https://github.com/huggingface/datasets-server/issues/1694#issuecomment-1737010286 (store the duckdb files elsewhere)

Having API workers that could read both duckdb 0.8 and 0.10 sounds like a bit of a pain actually.
Maybe it will be easier to add a new job to compute the new indexes, then after some time switch the API to use them once all the indexes are ready and then the old indexes ?

Closing this PR since it will be better handled in https://github.com/huggingface/datasets-server/issues/2413

0.10.0 has been released, we can work on https://github.com/huggingface/datasets-server/issues/2413


Update aida-overview.md

to access enabling/disabling AIDA, it is done in "Default Settings" which is missed
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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


[analyzer] Make on edges from mixins count with respect to exhaustiveness

This issue is a request for implementation of the breaking change described in https://github.com/dart-lang/sdk/issues/53325. This issue is the analyzer specific part of https://github.com/dart-lang/sdk/issues/53390.

@eernstg , is there a timeline for this? By when is it to be done?

/cc @scheglov , @bwilkerson

About the timeline: It should not be a big thing, and it is not connected to a language version (it's basically a bug fix). So anywhere it fits would be fine.

The following tests fail in analyzer
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t04.dart
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t05.dart
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t06.dart
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t07.dart

@scheglov

https://dart-review.googlesource.com/c/sdk/+/328662 should add mixin constraints.
But even with these changes, the analyzer fails the same tests as CFE in https://github.com/dart-lang/sdk/issues/53392
I suspect there might be an issue in the shared code.

This one could be done, or nearly done.
LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t06.dart and LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t07.dart are now succeeding in all configurations, including all analyzer configurations.
LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t05.dart fails because of the following:
sealed class S {}
base mixin M on S {}
class C extends S {}
base class F extends S with M {}

void main() {
  S s = F();
  int i2 = switch (s) { F() => 1 }; // Error.
  int i4 = switch (s) { C() => 1, F() => 2 }; // No error.
}

An error is expected for both the declaration of i2 and the declaration of i4, but only the error for i2 is reported. However, if the line where i2 is declared is commented out then the error for i4 is reported.
I tend to think this is a bug in the analyzer. It could also be a consequence of flow analysis, but that seems somewhat unlikely because it would then be flow analysis which is applied to an expression that has a compile-time error. Do we do that?
The situation in LanguageFeatures/Patterns/Exhaustiveness/exhaustiveness_sealed_A02_t04.dart looks similar.

@scheglov, WDYT?

The missing compile-time errors seem to be caused by the flow analysis of erroneous switch expressions. That is, one error causes another error; we don't usually test that (because error recovery is an implementation specific topic).
More details here: https://github.com/dart-lang/sdk/issues/53392#issuecomment-2113062914.
With a little luck, the tests will succeed after having been modified.


Duplicate title and description fixed

This topic has the same title and description as /organize/suggested-skills.  Please make sure these aren't duplicate topics. They look the same to me.

@JanetCThomas : Thanks for your contribution! The author(s) have been notified to review your proposed change.


There is a bad contention on partitions.isEmpty.

Threads rush to the beginning of startLoadSplits, creating contention on partitions.isEmpty call without increasing the outstandingTasks, eventually one thread (say foo) get outstandingTasks equal to zero, although it passes the fileIterators.isEmpty check but would again blocks on partitions.isEmpty. Other
threads finally get through, poll everything from partitions and put them to fileIterator. When
thread foo finally gets the chance to check partitions, it's empty and then go ahead to stop the
whole thing prematurely, since there are still items in the fileIterator.
The fix was to check the outstandingTasks later to ensure indeed no other tasks are running when the count drops to zero.

It turns out the race is actually more subtle than that. The issue is the ordering of the if's on line 153 and line 159. Say Thread A and B are running and both reach line 153, one will observe 0 and move to line 154 (lets say A). Thread B then skips to line 159 and starts another task, which then removes the remaining entries from fileIterators and partitions. Execution then moves back to thread A which observes that both are empty (however, at this point outstandingTasks is no longer zero).
The fix, I think, is to reverse the order of those two if's. That way if you observe zero in if (outstandingTasks.decrementAndGet() == 0) it's guaranteed that no other thread will do any work or start a new task.
Separately, it would be better to check partitions.isEmpty() before fileIterators.isEmpty() because tasks move in one direction (from partitions to fileIterators

Merged. Thanks!


Add dco and release drafter workflows

Signed-off-by: Joshua Li<EMAIL_ADDRESS>Description

Add dco check workflow
add release drafter workflow

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

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

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

#169

I see the reports-scheduler workflow is currently failing? Is that expected?

This PR doesn't touch reports-scheduler. The build failure should be fixed by #203, I'll merge this and if it still fails I'll send a separate PR


WL-371 Update XBlock SDK for Translations

@mattdrayer Currently I am adding the link as provided on JIRA for WL-371 but It seems me, It need to update to XBlock translation document.
Please review the changes.

LGTM @asadiqbal08 -- the URL is correct and the resource will be updated when https://github.com/edx/edx-documentation/pull/904 merges -- so we can merge this PR after that one goes.
@nedbat FYI

Thanks for adding this to the prototype.  :+1:

PR edx/edx-documentation#904 has merged, and I am now going ahead with this follow-on merge