Fix FAQ home page responsive of search's form

Due to issue #2601, I delete the matchmedia condition in app.js and delete bootstrap classes in FAQ home page then I add a new 3 ids on and a media query in faq.scss.
This is the issue's url : https://github.com/corona-warn-app/cwa-website/issues/2601
There is a video with the changes: https://user-images.githubusercontent.com/56647378/160608078-aedf1f56-3f20-4f53-a69b-c5394b731db8.mp4

@10delin
This is better than it was, however it is not quite fixed.
The first screenshot is from shrinking the width with no search text entered. In this case the hint text is truncated. F5 (refresh) recovers from the situation.

The second screenshot is from shrinking the width with a search text already entered. A separate problem here is that the ❎ is on the edge of the box. Also in this case F5 will redraw with a better layout.

@MikeMcC399 This changes was in FAQ's home page, however we will do it in the FAQ's result page tomorrow in a Pull Request.

@10delin

we will do it in the FAQ's result page tomorrow in a Pull Request.

Thank you. I will look out for a new PR.

I will close this PR in favor of https://github.com/corona-warn-app/cwa-website/pull/2646 where you already changed the detail FAQ screen. Please apply the same changes to the home page as well using bootstraps grid system. Thank you very much!


Add Indicator Fields to Okta

Background
While triaging some Okta-based alerts, I noticed we were missing the extraction of emails. This PR adds them to the schema. IPs were getting pulled out (somehow?) but I wasn't able to understand how because it's not defined in the schema.
Changes

Add indicator fields for alternateId and ipAddresses in the events

Testing

I wrote a test event but am unsure which tool runs it. customlogs from our docs doesn't seem to do it based on these instructions?

Closing in favor of #240


modifying a service in systemd.user.services does not cause daemon-reload

I went through this process

modified existing systemd user service description in /etc/nixos/configuration.nix
ran nixos-rebuild switch
as user, ran systemctl --user start $MYSERVICE
it failed, due to a misconfiguration in the old description
ran systemctl --user daemon-reload
again ran systemctl --user start $MYSERVICE
this time it worked

daemon-reload should probably run automatically when a service is changed. there may be an analogous problem for systemwide services as well

Another systemd user service UX problem, see also https://github.com/NixOS/nixpkgs/issues/7329

I actually just wrote an activation script that does the following for all users that have lingering enabled:

@ctheune submit the lingering/reload thing as a pull request?

I'm going to try this out in our environment first and see how it behaves over time. If that works reasonably well I'll be happy, to. Otherwise it's more of a "hack" at the moment. Also, systemd could do a lot better on managing this out of the box. I'm thinking of contacting them, too.

restartIfChanged should be made working as well for user services.

weird daemon-reload isn't even working for me now.

this should be fixed now. Since #44990 switch-to-configuration.pl performs a daemon-reload for user services.

ack, closing for now :+1:

If there’s a follow up issue, it should be created before the old issue is closed. I added one.

Thanks! Good catch
On Mon, Oct 29, 2018, 10:45 Profpatsch<EMAIL_ADDRESS>wrote:

If there’s a follow up issue, it should be created before the old issue is
closed. I added one.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/7326#issuecomment-433847224, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAmWo0qRIpckKfhqw1j565TtUfBhfSE9ks5ups5SgaJpZM4D-uid
.


refactor validate_regions to supports_regions

follow up for https://github.com/ManageIQ/manageiq/pull/8783/files

remove path that might lead to false positives in availability mixin

TODO (will be done in follow up PR)
* should Regions be accessed via manager?
* refactor regions to be more like active record
@miq-bot add_label wip, pluggable providers, providers, refactoring

@miq-bot remove label wip
Follow up PR https://github.com/ManageIQ/manageiq/pull/9935 removes the actual problem that lead to broken darga build.
@chessbyte review and merge?

@miq-bot remove_label wip


unit: Can not multiply dimensionless units

What are you trying to do?
Multiply unit.Dimless by a custom unit.
What did you do?

https://play.golang.org/p/n17wR5TL_hx
What did you expect to happen?
No panic with viable result, dimensions equal to other unit.
What actually happened?
panic: assignment to entry in nil map
What version of Go and Gonum are you using?

go version go1.12.1 linux/amd64
gonum.org/v1/gonum v0.0.0-20190409070159-6e46824336d2 h1:IZ343hUHFQ/v9IrSpcT1ih//e8VIctin7w2WyVl4kcc=
gonum.org/v1/gonum v0.0.0-20190409070159-6e46824336d2/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0=

Does this issue reproduce with the current master?
Yes
Proposed fix
https://github.com/gonum/gonum/blob/master/unit/unittype.go#L171
Should be return Dimensions{} rather than return nil.

Apologies for not responding to this earlier. If the dimensions is nil, it can return nil. I have sent a PR fixing this.


Go get is deprecated for installing binaries, use go install

As per the deprecation notice when using go 1.17
go get: installing executables with 'go get' in module mode is deprecated.
	To adjust and download dependencies of the current module, use 'go get -d'.
	To install using requirements of the current module, use 'go install'.
	To install ignoring the current module, use 'go install' with a version,
	like 'go install example.com/cmd@latest'.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

It seems this is how it works since at least go 1.16, do we need to support go 1.15 ? (should I check to see if it works as intended before 1.16 ?)

I am definitely reluctant to make a change like this without bumping the makefile version, but also don't think it's a pressing enough issue yet to warrant a new version.
It's probably best to support older Go versions if we can do so easily (thinking just a version switch). They're not used at cwx, but undoubtedly will be somewhere in our OSS projects. We also have no stats on how many other users we might have, though I'd be surprised if there's any outside our group.

It wouldn't be terrible to create a wrapper script that detected versions and worked around them, I mean although 1.15 isn't officially supported anymore, it's not that old for projects to be deprecated.
But also, it's only a problem during building and we'd expect anyone building from now to be using a supported version.

Yeah, I changed my tune about this on your PR -- with Go's compatibility promise there's no compelling reason to support versions that aren't officially supported anymore. IM(new)O.


Authorization header field is externed

setAuthorizationHeaderFieldWithCredential in AFHTTPRequestSerializer+OAuth2 was using hard-coded string:
[self setValue:[NSString stringWithFormat:@"Bearer %@", credential.accessToken]
forHTTPHeaderField:@"Authorization"];

String is declared as constant and extern'ed in header file:
[self setValue:[NSString stringWithFormat:@"Bearer %@", credential.accessToken]
forHTTPHeaderField:AFOAuth2HTTPRequestHeaderField];

Now you can check if your requestSerializer already has Authorization header field in it or not.

travis couldn't compile it for certain xcode versions and i didn't understand why.
closing the PR


Adding text and images to the Registration Method Examples

Closes #1864

In addition to adding images & output text to RegistrationMethod1 Example, this PR also includes some changes to the conf.py and run_example code to move the modification of sys.path to the conf.py, which seems cleaner. It also uses Sphinx ..Figure:: directives instead of ..Image:: directives which allows for nicer Image captions. Standardized a number of other Examples, also.

Screenshots of RegistrationMethod1. A scrolled or collapsable window for the text would be nice...

Can the figures go in a horizontal table? Not sure if this is possible, but someone suggested using list-table to do this with images (see here). Possibly check if that helps?

Added the sphinx_tools.collapse extension and applied it to DicomPrintTags and RegistrationMethod1 so user can collapse the large blocks of text. See image below.
NOTE: I did not squash this merge since I thought the comment was useful. I could squash it and rewrite the comment instead.


error: no matching function for call to 'rs2::frame::as()

Required Info

Camera Model
T265

Firmware Version
<IP_ADDRESS>7

Operating System & Version
Ubuntu 18

Kernel Version (Linux Only)
4.18

Platform
PC

SDK Version
2

Language
C++

Segment
Robotics

Issue Description
I get the following issue while following the rs-pose example https://dev.intelrealsense.com/docs/rs-pose
error: no matching function for call to 'rs2::frame::as()'
auto pose_data = f.as().get_pose_data();
^
In file included from /usr/include/librealsense2/hpp/rs_sensor.hpp:8:0,
from /usr/include/librealsense2/hpp/rs_device.hpp:8,
from /usr/include/librealsense2/hpp/rs_record_playback.hpp:8,
from /usr/include/librealsense2/hpp/rs_context.hpp:8,
from /usr/include/librealsense2/rs.hpp:9,
/usr/include/librealsense2/hpp/rs_frame.hpp:573:11: note: candidate: template T rs2::frame::as() const
T as() const
^~
/usr/include/librealsense2/hpp/rs_frame.hpp:573:11: note:   template argument deduction/substitution failed:
couldn't deduce template parameter 'T'
auto pose_data = f.as().get_pose_data();
^

@Andrew-fedoralabs , there seem to be inconsistency between
https://dev.intelrealsense.com/docs/rs-pose and
https://github.com/IntelRealSense/librealsense/tree/master/examples/pose with the latter being the source.
Thanks for reporting - it will be rectified.
Till resolved follow the description in the origin
// Cast the frame to pose_frame and get its data
auto pose_data = f.as<rs2::pose_frame>().get_pose_data();

It seems the problem is with how ReadMe.io is handling GitHub code snippets. I have updated the relevant document to render correctly

@Andrew-fedoralabs
Have you been able to verify the updates from dorodnic?


tidb_query: handle unary DAG requests via only batch executors

Signed-off-by: Iosmanthus Teng<EMAIL_ADDRESS>What have you changed?
Currently, TiKV doesn't fully support batch execution, such as in Analyze request, Server-side streaming DAG request. However, the pushed down functions have been fully migrated to RPN function framework. It's time to remove the old DAG framework and enable batch execution unconditionally.
What is the type of changes?
Pick one of the following and delete the others:

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?
Please select the tests that you ran to verify your changes:

Unit test [checked]
Integration test [x]

/run-all-tests copr-test=pr/122 tidb=pr/14672 tidb-test=pr/983

/run-all-tests copr-test=pr/122 tidb=pr/14672 tidb-test=pr/983

/test

/merge

/run-all-tests copr-test=pr/122 tidb=pr/14672 tidb-test=pr/983

/test

/test

/test

/test

/test

/test

/test


CB-10504. Make cloud storage logging configurable by a flag

details:
create a new flag on the api (in telemetry request/response) to be able to disable/enable cloud storage logging (even if s3 related details are provided in the telemetry settings)
provide this flag for account level telemetry + freeipa/datalake/datahub telemetry
See detailed description in the commit message.

only for review at the moment, I'm struggling a bit with the IDEA setup so the solution is not properly tested yet

only for review at the moment, I'm struggling a bit with the IDEA setup so the solution is not properly tested yet


ci(update-sync-param-files): add a comment on the top of sync-param-files.yaml

Signed-off-by: kminoda<EMAIL_ADDRESS>Description
added a comment on the top of sync_param_files.yaml

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Blocked by https://github.com/autowarefoundation/autoware-documentation/pull/171 (this PR will be a draft until it's merged)


Pin change interrupt is not getting triggered randomly

On analog pins(A10, A11), pin change interrupt is working. But once in a while, it is not detecting the change interrupt. Is there a way to troubleshoot this problem?

Use a pullup maybe? I guess it is a problem in your software or hardware. Please contact the arduino forum or IRC chat for further help.


2.0-wip: Base CSS Menu link is "type", should be "typography"

The menu link (in 2.0-wip) for Base CSS > Type does not match the section ID for type.

The link is currently: base-css.html#type
However the typography ID is "id=typography"

Looks right here: https://github.com/twitter/bootstrap/blob/2.0-wip/docs/base-css.html#L54

yep - it's fixed


opening shop doesnt work with mitm proxy on

using enhanced backend repo, but I assume that would be mitm's issue
in any case - could some1 else try and tell me?

thanks for noticing it! let' see, investigating..

Can open it, no request is sent from the app to the server to do so. Can you specify what exactly doesn't work or how to reproduce?

If I don’t use the proxy - screen would populate with data

On Jul 23, 2016, at 8:18 PM, Michael Straßburger<EMAIL_ADDRESS>wrote:
Can open it, no request is sent from the app to the server to do so. Can you specify what exactly doesn't work or how to reproduce?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rastapasta/pokemon-go-mitm-node/issues/32#issuecomment-234729510, or mute the thread https://github.com/notifications/unsubscribe-auth/ABol0e0Aj-T7QzSE03UQwLr9hsauAM97ks5qYkzOgaJpZM4JTZl-.

aaah, u're using ProxyDruid, ei?

it's the IP->hostname mapping issue - the CONNECT header to the proxy only contains the IP, not the hostname, so no valid cert can be generated before knowing the (encrypted) hostname.
before the shop opens (on android), the app communicates with storage.googleapis.com - which won't be mapped correctly (yet) on ProxyDruid. Can fix this if you could confirm that u're using it :)

I'm using iOS actually, so I don't know anything about android :)

Damn, won't be able to help out the atm, sorry :)


workaround SR-6963

Motivation:
SR-6963 is currently blocking builds with Swift 4.2 pre-releases, we
should work around it.
Modifications:
work around SR-6963.
Result:

builds with 4.2 pre-release
fixes #418

What about leaving a reference to the mentioned SR in the code?
Sent with GitHawk


Cross-Region Replication Overview

Issue on page:        https://github.com/opentelekomcloud-docs/object-storage-service/blob/main/umn/source/obs_console_operation_guide/cross-region_replication/cross-region_replication_overview.rst
There seems to be an issue with the limiations. Its mentioned in the section that you cannot replicate existing objects.
But this is possible and available,

I did an own separate test and can confim this.
This feature is even available via console and API.
BR,
Daniel

Hello @DanielTSI ! Can you please provide some more information about the part of the documentation that mentions that existing objects cannot be replicated? I see this part about the objects that can be replicated:

Historical objects in a bucket (The function of synchronizing existing objects must be enabled.)

I've retested it and it seems to be working correctly as described in the document: if the Synchronize Existing Objects option in the CRR rule is enabled - objects that existed before the rule was applied are replicated; otherwise - those objects are not replicated.

Now I see the incorrect line - it is located in the Limitations and Constraints section:

Objects cannot be copied to the destination bucket if they are uploaded before cross-region replication is enabled.

I agree, this is incorrect. I'll request that this line is removed.

The issue is that there is a section called Limitation/Restriction. This hast two notes explaining that existing Objects cannot be synchronized.

I've reread it and I can see only one such line:

Objects cannot be copied to the destination bucket if they are uploaded before cross-region replication is enabled.

Please inform me if I'm missing some other incorrect line.

You are right. I rechecked the content.
Br,
Daniel
sent with Corporate Mobile Service
Am 26.02.2024 16:03 schrieb Dmitrii Sabelnikov @.***>:
The issue is that there is a section called Limitation/Restriction. This hast two notes explaining that existing Objects cannot be synchronized.
I've reread it and I can see only one such line:
Objects cannot be copied to the destination bucket if they are uploaded before cross-region replication is enabled.
Please inform me if I'm missing some other incorrect line.
—
Reply to this email directly, view it on GitHubhttps://github.com/opentelekomcloud-docs/object-storage-service/issues/86#issuecomment-1964355692, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6E6UFSUMSAJUMI4C6JVCA3YVSP2BAVCNFSM6AAAAABDYZ5QCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGM2TKNRZGI.
You are receiving this because you were mentioned.Message ID: @.***>

The wrong line fix was provided and will be published with the next UMN documentation update.

The line "Objects cannot be copied to the destination bucket if they are uploaded before cross-region replication is enabled." was removed from the page https://docs.otc.t-systems.com/object-storage-service/umn/obs_console_operation_guide/cross-region_replication/cross-region_replication_overview.html


add update instructions to README

also committing artifacts from deployment of explore_map and explore_timeseries to shinyapps.io

The AppVeyor fail doesn't make sense to me, except maybe that SB/internet/etc. is slow today. On my own windows computer, I get an OK, but it takes 34 seconds to run 6 lines of tests:
* checking tests ...
  Running 'testthat.R' [34s] OK

Hmm, yep - I can replicate this issue if I use the master branch of sbtools.

Appveyor: This build failed on the same sb_id issue as before (whose fix is entirely in mda.streams, I think): https://ci.appveyor.com/project/aappling-usgs/powstreams-5px5h/build/1.0.19. This next re-build failed on the install_github thing. On my own machine, Check now runs cleanly. So...

Third time's a charm! https://ci.appveyor.com/project/aappling-usgs/powstreams-5px5h/build/1.0.20


Unable to locate a class or view for component [spinner]. please give me the solution for this issues.

not releated to this package

I guide to in this website sir. https://gehri.dev/blog/how-to-use-the-openai-assistants-api-in-php-and-laravel . please solve this is issues. i am kindly request sir


Fix Go 1.19beta1 gofmt linter warning

Replace leading whitespace in doc comments with minor formatting changes.

The other complaint is Markdown syntax suggestions for doc.go. I'll leave that untouched for now.


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 864 ms

Resolved: Bofrost.fr performance has improved in f512c6c.


What are the other formats for .bm files?

Hey,
I looked at some .bm files used when generating a 2D mesh. I noticed that many of them, say prem_iso.bm and prem_ani.bm have a format that is very different from what's described in the Mesher section about background models. I am wondering how should I interpret these? In particular, I am baffled by the material properties section.
Thanks!

Ah the numbers following the first column are the coefficients of polynomials for the respective Earth models. For PREM, they can be found here: https://doi.org/10.1016/0031-9201(81)90046-7! Closing this issue now but hopefully this can be helpful for someone else in the future!


Getting started: Running ensembles

https://github.com/NQCD/NonadiabaticMolecularDynamics.jl/blob/6039a6c2e0c9be83868f8f0fc9a04d6fd7e978f6/docs/src/getting_started.md#L180
This section needs examples.

Oh yeah this is kind of weird. Looks like I forgot to finish this. I think it might be best to link to the ensembles page here rather than bloating the getting started section too much.

Yes, that is a good idea I think.


GCStats html fails to open for nettrace traced using dotnet-trace on a linux container

When trying to open GCStats by double clicking on it, it says An exceptional condition occurred, see log for details.
The log shows the following output (error stack trace at the bottom):
Started: Computing Diff  Stacks baseline  Stacks
Completed: Computing Diff  Stacks baseline  Stacks   (Elapsed Time: 47.639 sec)
Started: Computing Stack Traces
Completed: Computing Stack Traces   (Elapsed Time: 0.726 sec)
Started: Computing Stack Traces
Completed: Computing Stack Traces   (Elapsed Time: 0.880 sec)
Started: Opening dotnet_20211216_083331.nettrace
Creating ETLX file C:\Users\lior\AppData\Local\Temp\PerfView\dotnet_20211216_083331_42f08bc7.etlx from C:\Users\lior\Downloads\dotnet_20211216_083331.nettrace
Collecting a maximum of 20,000,000 events.
[Opening a log file of size 0 MB.]
[Sec    0 Read    131,072 events. At  69,916ms.  Wrote    2MB ( 98%).  EstDone  0 min  0 sec.]
1 distinct processes.
Totals
    10,354 events.
        59 events with stack traces.
         0 events with code addresses in them.
     2,864 total code address instances. (stacks or other)
       307 unique code addresses.
     2,538 unique stacks.
       261 unique managed methods parsed.
    74,504 CLR method event records.
[Conversion complete 10,354 events.  Conversion took 0 sec.]
A total of 306 symbolic addresses were looked up.
Addresses outside any module: 0 out of 306 (0.0%)
Done with symbolic lookup.
ETL Size 30.905 MB ETLX Size 6.438 MB
Completed: Opening dotnet_20211216_083331.nettrace   (Elapsed Time: 0.388 sec)
Started: Opening GCStats
Completed: Opening GCStats   (Elapsed Time: 0.007 sec)
Exception Occurred: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Microsoft.Diagnostics.Tracing.Analysis.TraceLoadedDotNetRuntime.<>c__DisplayClass32_0.<SetupCallbacks>b__16(GCMarkWithTypeTraceData data)
   at Microsoft.Diagnostics.Tracing.TraceEventDispatcher.DoDispatch(TraceEvent anEvent)
   at Microsoft.Diagnostics.Tracing.Etlx.TraceLogEventSource.Process()
   at PerfView.PerfViewGCStats.WriteHtmlBody(TraceLog dataFile, TextWriter writer, String fileName, TextWriter log)
   at PerfView.PerfViewHtmlReport.GenerateReportFile(StatusBar worker, TraceLog trace)
   at PerfView.PerfViewHtmlReport.<>c__DisplayClass17_1.<Open>b__0()
   at PerfView.StatusBar.<>c__DisplayClass22_0.<StartWork>b__0()```

The trace was taken on a docker container running dotnet 6:

dotnet  --list-runtimes
Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]```
command used to take the trace:
dotnet-trace collect -p 1 --profile gc-collect
Thanks

Here's a link to the trace.

@liorss18, I was able to successfully open this using PerfView 2.0.73.  Can you try a newer version of PerfView?  I suspect this is due to a breaking change in one of the GC events in .NET 6.

Bulk closing.  Please re-open if needed.


Taking notes from the channels

we want to capture links and key discussion points

https://flur.ee/


fix(infra): update actions to checkoutv4

upgrade github actions checkout to v4 to fix broken scanning

Merging with admin privileged


Admin Client

Need a mechanism for an admin client to connect to the server. This would be a client that can manage options, view current state of the server, etc.
Planning to do this using WebSocket so the actual client could be built as a web client.

I've started this as a simple http server. So the game server has a web server waiting for requests. Currently this includes an endpoint to list all players and to make a player an admin.


_WM_sample expressions.  Flagging as "unhealthy" instead of "unknowns"?

At the GSC we regularly analyse a sample (1242) as a monitor of our 7/6 ratio/age to determine if we need a intra element mass fractionation correction.  Other labs use OG1 for this same purpose.   I created/used the _WM_1242 expression to determine a mass fractionation factor, and included that expression in my custom task.  If I use that same custom task for a different xml file, the target flag for that WM goes to "unknowns", rather than stick as 1242.

I know that there is no way for this flag to be preserved as 1242, because there is no guarantee that a given xml file will contain sample 1242.  Currently I need to remember to go change the flag on that expression everytime I use the task that contains it, which is doable but prone to human error. However I was wondering if it would be possible for these specific types of expressions, generated from within Squid3 (rather than manually built),  and identifiable by "_WM_samplename" in their expression name could be flagged as "unhealthy" when first used to force the user to investigate those and make any edits required (in this case changing the flag from unknown to 1242).
I'm not sure if this is the best workaround to this situation - others may have other suggestions.

The fix (next version): On loading the task, the "WM" expression is pointed to the Sample (by name) specified in its name and if the Sample with that name is present, the expression works out of the box.  Otherwise, "WM" expression appears as Unhealthy and user can edit the target to bring it into compliance or delete it.  Great idea @NicoleRayner !

The fix (next version): On loading the task, the "WM" expression is pointed to the Sample (by name) specified in its name and if the Sample with that name is present, the expression works out of the box.  Otherwise, "WM" expression appears as Unhealthy and user can edit the target to bring it into compliance or delete it.  Great idea @NicoleRayner !


HDDS-4886. Fix and enable TestEndpoints.java.

What changes were proposed in this pull request?
Fix and enable TestEndpoints.java.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4886
How was this patch tested?
Tests re-added

+1. Thanks for the work!


Fixes #2071 'endothelial cell of respiratory system lymphatic vessel'

Fixes #2071 'endothelial cell of respiratory system lymphatic vessel'

#gogoeditdiff


Locksmith

Description of the new feature / enhancement
Locksmith could be set to ALWAYS use Administrator privileges
Scenario when this would be used?
Always when showing what is using a file from the File Explorer sub-menu
Supporting information
I have yet to see that anything is using any file I have ever tried to use Locksmith with

/dup https://github.com/microsoft/PowerToys/issues/25154


Create the new project

Hello!
I have installed the Jmeter-Control. How I can create a new project from dashboard?
I do not have the functionality in the controller for create a new project with a test plan.

thanks,

ERROR:django.request: Internal Server Error: /online/tests_list (2018-11-09 12:37:28; exception.py:135)
Traceback (most recent call last):
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/JMeter-Control-Center-master/online/views.py", line 48, in tests_list
jenkins_path = Configuration.objects.get(name='jenkins_path').value
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/db/models/query.py", line 380, in get
self.model._meta.object_name
administrator.models.DoesNotExist: Configuration matching query does not exist.

Hi!
Please pull again

Please pull and try again

Hi!
Thanks,
The next error
Traceback (most recent call last):
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/JMeter-Control-Center-master/controller/views/controller_views.py", line 648, in start_test
for jmeter_param in jmeter_params:
TypeError: 'NoneType' object is not iterable
ERROR:django.server: "POST /controller/project/9/start_test/ HTTP/1.1" 500 16745 (2018-11-13 07:39:32; basehttp.py:124)
INFO:django.server: "GET /controller/ HTTP/1.1" 200 9465 (2018-11-13 07:39:32; basehttp.py:124)

ERROR:django.request: Internal Server Error: /controller/project/9/start_test/ (2018-11-13 08:31:28; exception.py:135)
Traceback (most recent call last):
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/jelastic-python35/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/JMeter-Control-Center-master/controller/views/controller_views.py", line 704, in start_test
text_file.write(output)
TypeError: write() argument must be str, not bytes
ERROR:django.server: "POST /controller/project/9/start_test/ HTTP/1.1" 500 16787 (2018-11-13 08:31:28; basehttp.py:124)

Plz pull


Issue in accessing ffmpeg layer in deploying largefile example

Tried to create lambda layer using link https://www.serverless.com/blog/publish-aws-lambda-layers-serverless-framework
Update the ProcessFileFunction Layer ARN with the one deployed in the region.
I was able to successfully deploy and running the API endpoint I having issue of with running ffmpeg and getting the following error.
2020-07-10T19:40:09.107Z	2d413619-080d-4f21-90cd-271ae8b06726	INFO	Error:  Error: Command failed: /opt/bin/ffmpeg -loglevel error -i /mnt/efs/video.MP4 -s 240x135 -vf fps=1 /mnt/efs/%d.jpg
/bin/sh: /opt/bin/ffmpeg: No such file or directory

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:310:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:310:20)
    at Pipe.<anonymous> (net.js:672:12) {
  killed: false,
  code: 127,
  signal: null,
  cmd: '/opt/bin/ffmpeg -loglevel error -i /mnt/efs/video.MP4 -s 240x135 -vf fps=1 /mnt/efs/%d.jpg'
}

I would recommend taking a look at the ffmpeg Lambda Layer build process shown in this repo: https://github.com/serverlesspub/ffmpeg-aws-lambda-layer. The error shown is likely caused by the directory structure not matching what Lambda requires (see https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html for details). Also see https://medium.com/@adhorn/getting-started-with-aws-lambda-layers-for-python-6e10b1f9a5d.
Since this issue is not related to the code in this repo, I'll close here but please feel free to DM me on Twitter (@jbesw) if you have any other questions.


hmbb

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for zoom.us ➟ GitHub issue linking.

ID: 276c38fe-aa72-6afa-23d8-14ff206c6f50
Version Independent ID: 9ffe59dd-c667-4802-1da0-6917638804c5
Content: Common problems with account two factor authentication - Azure AD
Content Source: articles/active-directory/user-help/multi-factor-authentication-end-user-troubleshoot.md
Service: active-directory
Sub-service: user-help
GitHub Login: @curtand
Microsoft Alias: curtand

singhyajat, Thanks for leveraging Azure docs feedback channel to raise this question. Since you have closed this thread, I presume the issue is resolved.
If you have any feedback or questions on the doc further, please do let us know. This channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements.


Summary Page does not include validators

as part of validator support, we were to include Validators as part of the Home page summary
"Your x Hotspots earned y HNT"
"Your x Validators and y Hotspots earned z HNT"
"Your x Validators earned y HNT"
This doesn't seem to be the case.

I just tested this out and it appears to be working for me. Is it still an issue for you @cokes518?


Github integration is not run when printing context (--context)

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
Github integration is not run when printing context, so all the fields added by the integration are empty.
Steps To Reproduce

set up github integration in cliff.toml
run git cliff

observe a message about fetching release info from github

run git cliff --context

no message is printed
*.github context fields are empty

Expected behavior
I'd expect the integration to run (and populate the context) in both cases.
Screenshots / Logs
No response
Software information

Operating system: Arch linux
Project version: 2.4.0

Additional context
No response

Hey, are you using GitHub related fields (e.g. github.contributors) in your cliff.toml? GitHub data is not fetched as default as long as it is activated via config.
I tried the following and it worked fine:
git cliff --context -c github

Hey, are you using GitHub related fields (e.g. github.contributors) in your cliff.toml? GitHub data is not fetched as default as long as it is activated via config.

Do I understand it right that I have to use those fields in my templates or else they won't be fetched? Currently I'm using commit.github.username and the context (printed with --context) looks fine :shrug:

Yup, that's correct.

I see. The line of thought that led me here was that I configured the integration, then I wanted to check if it works by printing out the context and found that it was empty because I haven't touched the templates yet.
Also after https://github.com/orhun/git-cliff/issues/657 is implemented, I believe that users may want to do git-cliff -x and then use the github-related context fields in an external filter.

I guess we can add another check where if the remote is configured we activate the integration also. That will likely solve your case as well since no modification on templates are needed. How does it sound?

I guess we can add another check where if the remote is configured we activate the integration also. That will likely solve your case as well since no modification on templates are needed. How does it sound?

That sounds perfect!

Implemented in #782, any chance that you can check it out locally? 😊


Updated README.md - misspelled word

Originally said "man pages" on line 20, when in actuality I think you mean "main pages".

@justinpinili I guess you're a Windows guy, right? man page as described in this wiki article is a UNIX term for software docs, it's NOT a typo, and there's no need to change it.

Sent from Samsung Mobile.

--
Sent from myMail app for Android

Jomar
Sent from Yahoo Mail on Android


Add to_pandas method for Dataset

[x] Closes #255
[x] Tests added
[x] Passes pre-commit run --all-files
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[x] New functions/methods are listed in api.rst

Seems very reasonable to me; others' thoughts?

The model we have with DataArray.to_pandas() is that it converts into a corresponding pandas object without changing the number of dimensions. to_dataframe()/to_series() will flatten multiple dimensions into a MultiIndex, but that isn't the role of to_pandas().
Thus:

0D xarray.DataArray -> 0D NumPy scalar
1D xarray.DataArray -> 1D pandas.Series
2D xarray.DataArray -> 2D pandas.DataFrame
3D or higher xarray.DataArray -> error

If we treat a Dataset like a DataArray with one extra dimension (corresponding to variables), then it would make sense to have:

0D xarray.Dataset -> 1D pandas.Series
1D xarray.Dataset -> 2D pandas.DataFrame (same as to_dataframe())
2D or higher xarray.Dataset -> error

I guess this is basically what you have here, except for raising an error in the final case (the error message should mention to_dataframe().

Thanks @gcaria!


Support for Laravel 8

@stayallive @HazAT Any plan to support Laravel 8?
The release date is today, and you have a lock on dependencies for laravel <= 7
Thanks!

https://github.com/getsentry/sentry-laravel/releases/tag/1.9.0 🤔

Yeah. Was released yesterday as 1.9.0 🤘

Sorry, my bad didn't see that. Thanks!


add dropout parity for unfuse() in FusedRNNCell

@piiswrong this pr adds dropout parity for FusedRNNCell. It would be good if nvidia people could help verify whether function-wise this is aligned (i.e. dropout on output). Also, for testing, since the dropout control is a bit hard, I set the dropout rate to be small to make sure at least the logical branch is tested.

cudnn-rnn seems to add no dropout for the last layer, such as in pull-request #5400

@loofahcus thanks for the pointer. Will update.

@mkolod @loofahcus updated following #5400. Let me know if this looks right to you. Thanks!

LGTM : )


Can't specify schema when reading/writing dataframes

[x] I have read through the quick start and installation sections of the README.

First, I have to thank you for creating this library! I have been using Geni for about a week now and it is great to have a Clojure interface into Spark dataframes.
It seems like the dataframe reading/writing API doesn't support specifying a schema. Looking at the library source code, it seems like most map entries fall back on the reader's/writer's .option(key, val) method. This works in any case where the option's value is a String, Boolean, Long, or Double because Spark has overloaded methods for this.
In the case of schemas, we  must specify a StructType (or schema string) and thus Spark requires us to call the .schema method instead of .option. It would be great if geni could treat the :schema key of the reader/writer options as a special case and pass the value to .schema instead of .option.
See the code snippet below as an example.
Info

Info
Value

Operating System
MacOS Catalina

Geni Version
0.0.25

JDK
1.8

Spark Version
3.0

Problem / Steps to reproduce

(require '[zero-one.geni.core :as g])

(g/read-csv! "test/resources/data/tiny_table.csv"
             {:header    true
              :delimiter ","
              :schema    (g/struct-type
                           (g/struct-field :i :long true)
                           (g/struct-field :s :string true))})
;; Execution error (IllegalArgumentException) at zero-one.geni.core.data-sources/configure-reader-or-writer$fn (data_sources.clj:19).
;; No matching method option found taking 2 args for class org.apache.spark.sql.DataFrameReader

Hi @erp12 thank you for taking the time to write the issue!
I think it would also be nice to be able to say:
{...
 :schema {:i :long :j :string}}

where it defaults to nillable struct fields. I think it makes sense to have it here and in dataset-creation.clj. I'm on it!
Please let us know if you've found any other rough edges! Every bit of contribution helps! Cheers!

I like your data oriented schema declaration!
Do you have a sense of what it would look like for complex column types? Perhaps:
{...
 :schema {:arr_of_long [:long]
          :map_of_str_to_int [:string :int]
          :struct_about_person {:name :string
                                :age :int
                                :address :string}}

Ah yes, I wasn't thinking about complex types. That looks good!
I think I'll split that into two PRs. One to support :schema + data-oriented schema for simple types, and another for the complex types. Hope to get it done this week, and ship it in the next release!

Hi @erp12, check out the first PR for the simple data-oriented schema: https://github.com/zero-one-group/geni/pull/192/files#diff-f3c27b5a3ef884794ecffe47834e4703R15

And the second PR for complex dtypes: https://github.com/zero-one-group/geni/pull/193/files#diff-f3c27b5a3ef884794ecffe47834e4703R15

Looks great! Thanks for rolling this out so quickly. :) I look forward to the next release.


Warn if neither a Bugzilla issue nor changelog entry is provided

This is one of the top 3 items that newcomers tend to forget.
We could have the bot ignore a couple of prefixes e.g. [Trivial], [Style].
So my idea would be to send a comment on all PRs (except for explicitly ignored one) and saying something like:
Hi @awesomedcontributor.
Thanks a lot for your contribution! We have seen that you have neither included a bug reference nor changelog entry.
In case you forgot, please see our [documentation](https://wiki.dlang.org/Contributing_to_Phobos).

Implementation would be simple as it's just the default case:

no issue found
title doesn't start with X
diff doesn't contain files in changelog/

I am just not sure whether this would be useful in general or too spamful due to false positives.

This was fixed in #89


pssg certificate getting rotate

https://github.com/CAAPIM/apim-charts/blob/55d97eeda8ed670093f698a00789e10068eda75a/charts/portal/templates/jobs/cert-update-job.yaml#L76
Guys maybe is me only but when I put the value none for tls.job.rotate the certificate for pssg still getting change..

Deploy portal
create tenant and enroll gateway
Stop portal for ( stop all pods or removed the deplyment, I got external db)
redeploy Portal.. the portal start ok but the gateways enrolled cannot sync.
check the error in gateway and is noticed that is the ssl cert for PSSG.. ( this was change while redeployment).

after we introduce the the none value in the rotation of the cert.
6.  Stop portal for ( stop all pods or removed the deplyment, I got external db)
7. change the value in the repo for Rotate = none
8.  redeploy Portal.. the portal start ok but the gateways enrolled still can't sync with the portal due a another new cert was create.
to reassure I was maybe going to get the none from this time.
9.  Stop portal for ( stop all pods or removed the deplyment, I got external db)
10. check the value in the repo for Rotate = none
11.  redeploy Portal.. the portal start ok but the gateways enrolled still can't sync with the portal due a another new cert was create. .. I also check that the value non was passed during deployment, and was there,, but the pssg cert change..
if you have test this let me know..
Thank you

The job defaults to running and ignores rotate if .Release.IsInstall is true.
The job can be disabled to guarantee existing secrets are not overwritten tls.job.enabled=false.


Update Message.java reference

PR Summary
Commit 5aafea872dd653792e9226c1e2c409b70c4ca0e8 moved the Media.java file to model directory. This PR adjusts sources to changes.

Thanks for the catch fix @emmanuel-ferdman


Refactoring bounding_box.py

closes #37
Refactoring bounding_box.py
A refactor for bounding_box.py
Changes

Removed ObjectType class
Removed __repr__ method from BoundingBox class
Removed verticies properties (both setter and getter) from BoundingBox class
Removed obj_type properties (both setter and getter) from BoundingBox class
Removed attributes properties (both setter and getter) from BoundingBox class
Removed set_attribute method from BoundingBox class
Removed get_attribute method from BoundingBox class
Removed get_rotation_angle method from BoundingBox class
Removed get_tlwh method from BoundingBox class
Updated BoundingBox class parameters from verticies, obj_type, and attributes to top_left, width, and height
Updated __init__ method for BoundingBox class to reflect updated parameters
Updated docstring for BoundingBox class to reflect updated parameters
Updated driver for testing the BoundingBox class
Added additional comments throughout some of the methods in BoundingBox class

Additional Notes
Some of the methods can be further refactored to not use 4 verticies. However, I left them as such to not have to redo the math that goes into them. If need be, I can update those methods as well.

Looks like some other files may need to be updated before this can through? As it seems that some of these were used by other files that pre-commit didn't catch during the commit itself (Like vision.standard_object.odlc_contour_filtering.py). I'm guessing these need to be updated as well

Just the pre-commit errors in bounding_box.py need to be addressed. The other errors will be dealt with

Just the pre-commit errors in bounding_box.py need to be addressed. The other errors will be dealt with

Ah alright, so those would be updated separate then?

Yeah, I will take a look at the other files. Given that other people currently are changing those as well, I will coordinate with them to make necessary adjustments.


Refactor tree-sitter / LanguageDefinitions code

Instead of passing in two tree-sitter-specific components here https://github.com/cursorless-dev/cursorless/blob/bc50059a8b702bf02dd1be864a30b48fed7d8fa6/packages/cursorless-engine/src/cursorlessEngine.ts#L47-L48 we should instead just pass in a LanguageDefinitions. Note that we'll need to rework ParseTreeAction, as that still requires tree-sitter. The proper way to do that would be to support passing in a map of custom actions, but maybe there's an easier way to do it in the short term

We also still have getNodeAtLocation on the language definitions interface. If we want to separate Tree sitter from the language definition we can't really return a Tree sitter syntax node :D
I think the right way of doing this is that once we have migrated all the scope handlers away from legacy we can remove get node at location and create a new Tree sitter package containing the language definitions implementation.
Maybe we can make a canonical tree representation that language definition can return for the parse tree action?

yeah we prob should wait till all legacy languages migrated I guess?
Yeah not sure bout parse tree action. Was initially thinking that could be a custom action exposed by the same tree-sitter package that exposes the language definitions impl. I think we prob want to move to supporting actions defined outside of the engine as we move towards lean core

That sound simplest and also the correct priority wise.
That is also one solution.


[exam mode] make format of numbers in exam scores dependent on locale setting

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[X] Client: I documented the TypeScript code using JSDoc style.
[ ] Client: I added multiple screenshots/screencasts of my UI changes

Motivation and Context

Description

Currently the Course Scores Page changes the number format depending on the language setting of the user ( english will use "." as a fraction separator and german will use ","). This includes the table and the csv export. The goal of this pr was to include this feature in the Exam Scores Page and associated csv export.
Steps for Testing

Testing that Course Scores + CSV Export still behaves as expected

Log in to Artemis
Navigate to a Course Scores Page.
Is the correct fraction separator ("." or ",") used for your artemis language setting? Is it correct in the csv export?
Change the language of artemis
Is the correct fraction separator ("." or ",") used for your artemis language setting? Is it correct in the csv export?

Testing that Exam Scores + CSV Export

Log in to Artemis
Navigate to a Exam Scores Page.
Is the correct fraction separator ("." or ",") used for your artemis language setting? Is it correct in the csv export?
Change the language of artemis
Is the correct fraction separator ("." or ",") used for your artemis language setting? Is it correct in the csv export?

Screenshots

Look at the number 13.33 or 13,33

Tested it on TS1 and it works


Resize textView with text height

Hi @danielsaidi , I added this change so the text views in our application would resize according to the height of the contained text. I expect you would want this to be optional, but overall would you consider merging it to the main? I appreciate your project a lot and I think there's a good chance my coworkers and I will be contributing a lot to our fork, and I think it would be ideal if we could stay in sync with the core project as much as possible. Let me know your thoughts!

Thanks @slh-ideaflow for the PR. I was having some issues because the RichTextViewer was not adapting the heigth when placed in a List and these changes solve that.
I hope @danielsaidi  can review it and merge into main

Hi guys,
Sorry for the late reply, I've been very busy with other projects.
I'll take a look at this and see if I can merge it and add configurations for it. 👍

I haven't forgotten this, but have been busy with other things.
It's on top of my todo list once the other critical things I'm focusing on are done.

@slh-ideaflow I've tried your solution for my view in a List. It works great at first glance, but if the RichTextEditor is redrawn after some time, it loses its size. For some reason, the textView size becomes zero for any consecutive draw. I'm not a master of the SwiftUI layout system, so maybe this is expected behavior. Anyway, I tried changing the code according to the solution from here, and now it works for my case.

@SubvertDev I finally got that implementation working for myself too. I'll add a comment there about an adjustment to it which I found helpful.

That's great! Feel free to share any findings here as well, for when I get around to it.

@slh-ideaflow Would merging this PR in its current state expose it to the flaw @SubvertDev mentioned?


adds migration for page revisions

fixes #841

adds migration for page revision
page revision is stored as a JSON dump and due to structure change from v1 to v2 we can't access these revisions
these page revisions can tell when was the page last edited

We have the "Updated" column in V2:

It seems to be populated with a value called "latest_revision_created_at", which I believe V1 pages also have. Can we populate this?

changes addressed @geoo89


Task - new taxon name - number of letters

When I try to add a new name, I go to basic information and as I enter the first character of the name, TW starts searching for identical names.
When I enter 2 characters, it still searches, but does not let me add a name.
The "create" button is only available after the 3rd character is input. However, ICZN says

11.9.1. A species-group name must be a word of two or more letters, or a compound word (see Article 11.9.5), (...)

Meaning it is possible (although not recommendable if I got this correctly) that names have 2 characters.
This also applies to genus:

11.8. Genus-group names. A genus-group name (see also Article 10.3) must be a word of two or more letters and must be, or be treated as, a noun in the nominative singular.

i.e. I wouldn't be able to create genus Aa  if I had to.

@jlpereira Can you fix this?

We have the same problem with the original combination fields

same with the relationships...


Infer property as enum if its values are a subset of an inferred enum

In the pokedex sample, each pokemon has type and weaknesses properties. weaknesses is inferred to be an Array<Weakness> and type is inferred as Array<String>. type values are always members of the Weakness enum so maybe we could infer type as Array<Weakness> as well?
    {
      "name": "Bulbasaur",
      "type": [
        "Grass",
        "Poison"
      ],
      "weaknesses": [
        "Fire",
        "Ice",
        "Flying",
        "Psychic"
      ]
    }

Good one!


Add recommended indices to gallery db

cc @skofman1 @maartenba

:shipit:

Can you please provide instructions on how you create those migrations? In Staging I create migration from code changes (meaning I edit the context, and the run ef tool to create migrations). How does it work for gallery?

@skofman1 Same story, except for these particular index recommendations reported by the Azure portal. Here I just add-migration and add the index (query recovered from the portal).


.assign leads to different results when using lambda vs not using lambda

.assign leads to different results when using lambda vs not using lambda. Please see the example below.
The difference seems to happen only in the divisions limits. I guess this is a bug? Any idea on why this is happening?
Imports
import pandas as pd
import numpy as np
import dask.dataframe as dd

Create Dataframe
idx = pd.date_range(start='2013-01-01 00:00:00', end='2013-01-01 06:00:00', freq='30t')
df_pd = pd.DataFrame({'col_1':[1,2,3,4,5,6,7,8,9,10,11,12,13,]}, index=idx)
df = dd.from_pandas(df_pd, npartitions=2)
df.compute()

col_1

2013-01-01 00:00:00
1

2013-01-01 00:30:00
2

2013-01-01 01:00:00
3

2013-01-01 01:30:00
4

2013-01-01 02:00:00
5

2013-01-01 02:30:00
6

2013-01-01 03:00:00
7

2013-01-01 03:30:00
8

2013-01-01 04:00:00
9

2013-01-01 04:30:00
10

2013-01-01 05:00:00
11

2013-01-01 05:30:00
12

2013-01-01 06:00:00
13

df.divisions

(Timestamp('2013-01-01 00:00:00', freq='30T'),
 Timestamp('2013-01-01 03:30:00', freq='30T'),
 Timestamp('2013-01-01 06:00:00', freq='30T'))

This is what the shifted column looks like:
df.col_1.shift(freq='1h').compute().to_frame()

col_1

2013-01-01 01:00:00
1

2013-01-01 01:30:00
2

2013-01-01 02:00:00
3

2013-01-01 02:30:00
4

2013-01-01 03:00:00
5

2013-01-01 03:30:00
6

2013-01-01 04:00:00
7

2013-01-01 04:30:00
8

2013-01-01 05:00:00
9

2013-01-01 05:30:00
10

2013-01-01 06:00:00
11

2013-01-01 06:30:00
12

2013-01-01 07:00:00
13

This is what  assigning the shifted column without using lambda, looks like:
df.assign(shifted=df.col_1.shift(freq='1h')).compute()

col_1
shifted

2013-01-01 00:00:00
1
NaN

2013-01-01 00:30:00
2
NaN

2013-01-01 01:00:00
3
1.0

2013-01-01 01:30:00
4
2.0

2013-01-01 02:00:00
5
3.0

2013-01-01 02:30:00
6
4.0

2013-01-01 03:00:00
7
5.0

2013-01-01 03:30:00
8
6.0

2013-01-01 04:00:00
9
7.0

2013-01-01 04:30:00
10
8.0

2013-01-01 05:00:00
11
9.0

2013-01-01 05:30:00
12
10.0

2013-01-01 06:00:00
13
11.0

This is what  assigning the shifted column using lambda, looks like:
df.assign(shifted=lambda x: x.col_1.shift(freq='1h')).compute()

col_1
shifted

2013-01-01 00:00:00
1
NaN

2013-01-01 00:30:00
2
NaN

2013-01-01 01:00:00
3
1.0

2013-01-01 01:30:00
4
2.0

2013-01-01 02:00:00
5
3.0

2013-01-01 02:30:00
6
4.0

2013-01-01 03:00:00
7
5.0

2013-01-01 03:30:00
8
NaN

2013-01-01 04:00:00
9
NaN

2013-01-01 04:30:00
10
8.0

2013-01-01 05:00:00
11
9.0

2013-01-01 05:30:00
12
10.0

2013-01-01 06:00:00
13
11.0

The difference seems to happen only in the divisions limits. I guess this is a bug? Any idea on why this is happening?

Yes, this is a bug.
Callables and DataFrames are handled differently in elemwise: https://github.com/dask/dask/blob/83fdc8dc98418fbcb2393401644036dda40f5d37/dask/dataframe/core.py
With shifted=df.col_1.shift(freq='1h') the new column is "known" and aligned.
With a callable, the new column is not "known", so we need to call it. I suspect we call it on each partition, rather than on the entire dataframe. I'll do some digging later today.


can legume support complex eps?

Unfortunately no. It may be possible to extend the method to complex epsilon, especially in the case of small imaginary part, but this would require significant effort.


[bug]:  Broken syntax highlighting for --message option in git commit.

Describe the bug
The syntax highlighting feature seems to be broken when passing a string after the "--message" option in "git commit" command. The string is not highlighted in yellow, instead it is highlighted in red.
It seems that there are no tests for the --message option but -m.
https://github.com/zdharma-continuum/fast-syntax-highlighting/blob/7c390ee3bfa8069b8519582399e0a67444e6ea61/test/parse.zsh#L94
Steps to reproduce

Run git commit -m "commit message" command, observe that the string is highlighted in yellow
Run git commit --message "commit message" command, observe that the string is highlighted in red

Expected behavior
The string passed with the --message option in git commit command should be highlighted in yellow, same as when using the -m option.
Screenshots and recordings

Operating System & Version
darwin22.0 | apple | x86_64 | arm64 | arm64 arm
Zsh version
zsh 5.8.1 (x86_64-apple-darwin22.0)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
No response

I'm not sure if this is a problem with fsh.
According to the git man page the syntax should be --message= and that also works for me.
-m <msg>, --message=<msg>
           Use the given <msg> as the commit message. If multiple -m options are given, their values are concatenated as separate
           paragraphs.

           The -m option is mutually exclusive with -c, -C, and -F.

Oh.. Your opinion makes sense too. However, it doesn't seem possible to create an alias using the --message= option. I use the git alias plugin in on-my-zsh, and all of them use the long option format, so I just override the ones I use frequently. Anyway, the --message option still works, so it would be nice if it could be added if possible.

I had the same problem and solved it the same way, replacing --message with -m for my aliases ;)
As far as I understand fsh takes the information whether a command is correct from the zsh completion system. The completion file for git should be this one https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_git (installed at /usr/share/zsh/5.9/functions/Completion/Unix/_git). You could try to add  --message there.

thx, @Ultimator14. It's very helpful.

I was wrong. The zsh source is just for tab completion (they also always use the --message= style). But fsh has it's command definitions here https://github.com/zdharma-continuum/fast-syntax-highlighting/blob/master/→chroma/-git.ch.
This should do the job
diff --git "a/\342\206\222chroma/-git.ch" "b/\342\206\222chroma/-git.ch"
index 12a97b3..43693ce 100644
--- "a/\342\206\222chroma/-git.ch"
+++ "b/\342\206\222chroma/-git.ch"
@@ -155,7 +155,7 @@ fsh__git__chroma__def=(
     subcmd:commit "COMMIT_#_opt // FILE_#_arg // NO_MATCH_#_opt"

     "COMMIT_#_opt" "
-              (-m|--message=|-am)
+              (-m|--message=|--message|-am)
                        <<>> NO-OP // ::→chroma/-git-commit-msg-opt-action
                        <<>> NO-OP // ::→chroma/-git-commit-msg-opt-ARG-action
            || (--help|-a|--all|-p|--patch|--reset-author|--short|--branch|


[ storage-resize-images-v0.1.6 ]  Generating wrong image when uploading with the same name

[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs for a specific extension in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to
Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

Extension name: _ (storage-resize-images, firestore-send-email, etc)
Extension version: _
Configuration values (redact info where appropriate):

_
_

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Expected result
Actual result
[ storage-resize-images-v0.1.6 ]
If I use the same name while uploading in bucket example dp.jpg, it's generating resized image of the older one . Can someone help me with this? It's happening only with the newer version. How can I downgrade?

There has been some changes to this extension recently so I wonder whether this is a side effect. I'll have a look and get back to you @itssidhere. Thanks for raising the issue.

Hey @itssidhere, could you confirm that you don't see this in your Firebase logs for the resize image extension, please?

@russellwheatley  I do see this after the resized image has been generated (which triggers the extension again)

Thanks @itssidhere, I am able to reproduce the issue so I'll take a look at solving the problem.


Fix links in INSTALL.md

Just fixing links in INSTALL.md

@dukex Good catch.  I'd rather use [foo][bar] style links, in order to keep INSTALL.md readable in source form.  It'd be great if you could do this, else, I'll make it happen when I have a minute.  Cheers!


Bump yargs-parser to 18.1.2 or higher

🚀 Feature Proposal
Change yargs-parser dependency in package.json from 18.x to >18.1.1.
Motivation
yargs-parser v18.1.1 and lower has a Prototype Pollution vulnerability (see here and here)
Example
N/A

Hi, 18.x means it will automatically pick up the latest version of 18. If you simply update your lock file to save 18.1.2, it will solve the issue.

I've updated my lockfile multiple times already. I am using the vue ui's vulnerability check. It gives me:

I've updated @vue/cli-plugin-unit-jest to the newest version available (4.4.6).

Actually, i just realised i should be bugging the vue team about this instead. Get them to use a newer version of ts-jest. Thanks anyways

FYI https://github.com/vuejs/vue-jest/pull/246#issuecomment-656018380

Thanks!


[GlobalOptimization] Fix a silent bug in DetatchElementwiseFromNamedOps pass

This moves match failure checks before modifying linalg ops, and loosens the check for identity map access to the output tensor.
Context:
Specific depthwise convolution ops were encountering numeric failures. See https://github.com/iree-org/iree/issues/18600 and https://github.com/iree-org/iree/issues/19339. I noticed that the bias was not affecting the output values, and tracked down where the bias was getting deleted.
The issue is that the pass DetatchElementwiseFromNamedOps was modifying the depthwise_conv op to use a zero-fill before checking for some match failures. This resulted in a partial application of the pattern where the original bias did not get added back to the modified linalg op result.
The depthwise conv ops were specifically failing to have an identity map for the output tensor access.
For example:
module {
  ml_program.global private mutable @global_seed(dense<0> : tensor<i64>) : tensor<i64>
  func.func @torch_jit(%arg0: tensor<1x96x56x56xf32>, %arg1: tensor<96x1x7x7xf32>, %arg2: tensor<96xf32>) -> tensor<1x96x56x56xf32> {
    %cst = arith.constant 0.000000e+00 : f32
    %padded = tensor.pad %arg0 low[0, 0, 3, 3] high[0, 0, 3, 3] {
    ^bb0(%arg3: index, %arg4: index, %arg5: index, %arg6: index):
      tensor.yield %cst : f32
    } : tensor<1x96x56x56xf32> to tensor<1x96x62x62xf32>
    %0 = tensor.empty() : tensor<1x96x56x56xf32>
    %broadcasted = linalg.broadcast ins(%arg2 : tensor<96xf32>) outs(%0 : tensor<1x96x56x56xf32>) dimensions = [0, 2, 3]
    %collapsed = tensor.collapse_shape %arg1 [[0, 1], [2], [3]] : tensor<96x1x7x7xf32> into tensor<96x7x7xf32>
    %1 = linalg.depthwise_conv_2d_nchw_chw {dilations = dense<1> : vector<2xi64>, strides = dense<1> : vector<2xi64>} ins(%padded, %collapsed : tensor<1x96x62x62xf32>, tensor<96x7x7xf32>) outs(%broadcasted : tensor<1x96x56x56xf32>) -> tensor<1x96x56x56xf32>
    return %1 : tensor<1x96x56x56xf32>
  }
}

generalizes to
#map = affine_map<(d0, d1, d2, d3) -> (d1)>
#map1 = affine_map<(d0, d1, d2, d3) -> (d0, d1, d2, d3)>
#map2 = affine_map<(d0, d1, d2, d3, d4, d5) -> (d0, d3, d1 + d4, d2 + d5)>
#map3 = affine_map<(d0, d1, d2, d3, d4, d5) -> (d3, d4, d5)>
#map4 = affine_map<(d0, d1, d2, d3, d4, d5) -> (d0, d3, d1, d2)>
module {
  ml_program.global private mutable @global_seed(dense<0> : tensor<i64>) : tensor<i64>
  func.func @torch_jit(%arg0: tensor<1x96x56x56xf32>, %arg1: tensor<96x1x7x7xf32>, %arg2: tensor<96xf32>) -> tensor<1x96x56x56xf32> {
    %cst = arith.constant 0.000000e+00 : f32
    %padded = tensor.pad %arg0 low[0, 0, 3, 3] high[0, 0, 3, 3] {
    ^bb0(%arg3: index, %arg4: index, %arg5: index, %arg6: index):
      tensor.yield %cst : f32
    } : tensor<1x96x56x56xf32> to tensor<1x96x62x62xf32>
    %0 = tensor.empty() : tensor<1x96x56x56xf32>
    %1 = linalg.generic {indexing_maps = [#map, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%arg2 : tensor<96xf32>) outs(%0 : tensor<1x96x56x56xf32>) {
    ^bb0(%in: f32, %out: f32):
      linalg.yield %in : f32
    } -> tensor<1x96x56x56xf32>
    %collapsed = tensor.collapse_shape %arg1 [[0, 1], [2], [3]] : tensor<96x1x7x7xf32> into tensor<96x7x7xf32>
    %2 = linalg.generic {indexing_maps = [#map2, #map3, #map4], iterator_types = ["parallel", "parallel", "parallel", "parallel", "reduction", "reduction"]} ins(%padded, %collapsed : tensor<1x96x62x62xf32>, tensor<96x7x7xf32>) outs(%1 : tensor<1x96x56x56xf32>) {
    ^bb0(%in: f32, %in_0: f32, %out: f32):
      %3 = arith.mulf %in, %in_0 : f32
      %4 = arith.addf %out, %3 : f32
      linalg.yield %4 : f32
    } -> tensor<1x96x56x56xf32>
    return %2 : tensor<1x96x56x56xf32>
  }
}

For some reason, the channel dim d3 appears after the spatial dims (d1 and d2) for this particular op.

Good catch, and thanks for the fix! I left a few style nits, and I have a question.

loosens the check for identity map access to the output tensor.

Why? Is there a test for it?

The op linalg.depthwise_conv_2d_nchw_chw has a non-identity indexing map for the output tensor, and this example is included in the lit test I added.
See the output tensor indexing map from the initial PR comment:
#map4 = affine_map<(d0, d1, d2, d3, d4, d5) -> (d0, d3, d1, d2)>

Did this answer your question? I also did verify the depthwise conv numerics are fixed with this change using the SHARK-TestSuite.

Nice, this fixed mobilenet through onnx too: https://github.com/iree-org/iree/actions/runs/12166990284/job/33934898182#step:8:381
XPASS iree-test-suites/onnx_models/tests/vision/classification_models_test.py::test_mobilenet

(was xfail before this PR/commit: https://github.com/iree-org/iree/actions/runs/12179658638/job/33972710377#step:8:123)


"Poieni-Solca" is listed in the drop-down menu.

Description:
"Poieni-Solca" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Poieni-Solca".

Expected results
The location is listed in the drop-down menu as "Sat Poieni-Solca SUCEAVA (Poieni-Solca)".


Ecto is not supporting local languages while inserting into Mysql

Precheck
I am trying to insert one indian language string into mysql database using Repo.insert, but in database that value of that column showing like ???????????????
while creating database in mysql i am using ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; for unicode support, and inside elixir model i am using column type as string( field :displayname, :string )
I am not sure Ecto supports other than english language while insert into DB, need support from anybody how to do that.
Environment

Elixir version (Elixir 1.3.2):
Database and version (MySQL 5.6.27 ):
Ecto version (1.1.9):
Database adapter and version (mariaex 0.7.7 ):
Operating system: Ubuntu 14.04.3 LTS

Current behavior
String : ಆಗ್ತಾಇಲ್ಲ
After insert into mysql db using Repo.insert, in DB it is showing like ???????
Expected behavior
String : ಆಗ್ತಾಇಲ್ಲ
After insert into mysql db using Repo.insert, in DB it should show ಆಗ್ತಾಇಲ್ಲ

This seems like an issue with mysql or the elixir driver mariaex. Ecto just passes the utf8 strings along to the driver.

@ok-madan yes, please file an issue on https://github.com/xerions/mariaex. Please include the mariaex version (it can be found in mix deps) and some sample commands in your report.

@ericmj , @josevalim  Thanks for quick response and clarified my issue, i will create issue at mariaex repo.

I had the same issue and it was resolved after I set the value of the locale environment variable LC_ALL. Please check https://samueltthomas.com/setting-locale-for-fixing-unicode-issue-for-elixir for more info

For anyone else struggling with this, just add
binary_as: :field_type_blob

to your connection and it solves this issue.


sandbox module: playground to develop new features and testing

I will add a sandbox module to the lib.

Dev is going on in the core lib, branch: i27-DataSet_class_to_core_lib

Resolved by #463.


JAVA BigInteger  using Constructor (Mathematics)

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
We have to add and multiply huge numbers! These numbers are so big that you can't contain them in any ordinary data types like a long integer. We will use the power of Java's BigInteger class.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #4391

Why you update two files in READme.md

I will correct it. In my previous file I saw an error(Main method not found in class Big_Integer, please define the main method as: public static void main(String[] args)) that is why I used Constructor to run it. You can review my second file...
Apologize for the inconvenience caused by me...

Why you update two files in READme.md

It's corrected now, please check whenever you want @ankitaggarwal23 .
Thanks for your reply...

Please check again if it is possible to anyone...
Thanks for reviewing...


Bioconductor scraping

Writing the bioconductor meta.yaml files is getting annoying, so this PR includes a script that scrapes the bioconductor project page for a given package, downloads the tarball, and inspects the DESCRIPTION file to extract metadata and create the meta.yaml and build.sh files.
This is because I couldn't get the conda skeleton cran subcommand to work for Bioconductor.
To have uniformly-formatted YAML files, I'm using pyaml which can write a new yaml file that maintains the order of an OrderedDict. So part of the PR also includes the conda recipe for pyaml.

Great work!


[Draft] Scheduled Profiler - Add event subscriber to link help page with schedules + profiling status on the schedules page

Summary
This PR adds two features:

It adds an event subscriber to link the new help page link with the profiler schedules page
It adds a new group to show the scheduled profiling status on the schedules page. This new group contains information about if profiling is active for the current session and shows the active schedule.

Work Item(s)
Fixes AB#501774

Needs a platform uptake

Nit: I prefer to have all properties alphabetically sorted. That way, it's easier to compare what is set and what is not between other fields or objects.

I see the utility of this but I'd rather sort the properties I'd like to compare rather than spend all the time to sort properties manually for all fields/objects etc.


Create a simple dependency-graph builder.

This creates depgraph, which builds dependency graphs and ensures
they are valid. Its limited API is intended to fit well with the limited
case of building DAGs one node at a time with known dependencies, while
allowing manual insertion of dependencies (provided they are legal!).

[sc-14031]

Thanks for the review!


refactor(interval): update use json instead of toml

Update interval use JSON instead of TOML and leverage interactive mode
Closes: https://github.com/edgexfoundry/edgex-cli/issues/276
Signed-off-by: Diana Atanasova<EMAIL_ADDRESS>

Codecov Report

Merging #300 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #300   +/-   ##
=======================================
  Coverage   20.45%   20.45%
=======================================
  Files           3        3
  Lines          44       44
=======================================
  Hits            9        9
  Misses         35       35

Continue to review full report at Codecov.

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


Challenges

Endpoints
GET @ /challenges
Fetches all challenges which are not deleted and released. Deleted challenges will have deleted set to true, and released challenges will have a date in released_at. Only users with ViewUpcomingWeeklyChallenge permission should be able to see unreleased challenges.

If the user can see deleted challenges, deleted should be added in the challenge response

Challenge Object should look something like this:
{
  "id": "string",
  "title": "string",
  "description": "string",
  "author_id": "string",
  "language_ids": ["string"],
  "released_at": "date/null",
  "slug": "string"
}

if the user has any WeeklyChallenges permission, they should be able to see deleted challenges.

This endpoint needs pagination

POST @ /challenges
Creates a new Challenge. If the challenge is created successfully should return 201 Created with the challenge data.

Needs CreateWeeklyChallenge permission

Body
{
  "title": "string",
  "description": "string",
  "example_in": ["string"],
  "example_out": ["string"],
  "language_ids": ["string"]
}

GET @ /challenges/{id/slug}
Fetch said challenge by id or slug.
Challenge object should something similar to this:
{
  "id": "string",
  "title": "string",
  "description": "string",
  "author_id": "string",
  "author": {
    "id": "string",
    "name": "string",
    "avatar": "string",
    "discriminator": "string"
  },
  "example_in": ["string"],
  "example_out": ["string"],
  "languages": [
    {
      "id": "string",
      "name": "string",
      "download_url": "string"
    }
  ],
  "released_at": "date/null",
  "slug": "string",
  "submissions": "integer"
}

The checks done on GET @ /challenges should be done here too (deleted and unreleased)

PATCH @ /challenges/{id}
Updates said challenge. Should return 200 OK with the new challenge data.

Needs EditWeeklyChallenge permission

Body
{
  "title": "string",
  "description": "string",
  "example_in": ["string"],
  "example_out": ["string"],
  "language_ids": ["string"]
}

All fields should be optional

PUT @ /challenges/{id}/release
Releases/Unreleases said challenge. Should return 204 No Content if executed successfully.

Needs EditWeeklyChallenge permission

DELETE @ /challenges/{id}
Update said challenge and set deleted to true. If executed successfully 204 No Content should be returned.

Needs DeleteWeeklyChallenge permission

stfu bot


64 bit system giving 'wrong ELF class: ELFCLASS32' running Liquid within Octopress

(Original issue 765 created by neek on 2012-05-04T03:53:55.339020+00:00)
I'm on a relatively fresh Fedora Core 16 64bit installation, that only had 64bit python installed when I came to install Octopress last week.
Having installed all required dependencies for Octopress, I got a 'undefined method `Py_IsInitialized’ for RubyPython::Python:Module' error message when generating a blog post that invoked the Pygment syntax formatter due to an embedded 'codeblock' in a blog post.  To fix this, I discovered that it was looking in /usr/lib for the libpython2.7.so, and I only had one in /usr/lib64, because I only had the 64bit Python packages installed.  I symlinked /usr/lib/libpython2.7.so to /usr/lib64/libpython2.7.so (yes, I know, urg) and the problem went away, Liquid ran successfully.  I then removed my symlink and installed the 32bit packages with 'yum install python.i686' and the problem was still fixed, so I considered the problem sorted.
I'm now finding further errors.  I think it only worked the other day because, in debugging the initial error, I had symlinked the 32 bit /usr/lib/libpython2.7.so to the 64 bit version, and that loaded library had stuck in memory, so my installation of the 32 bit version appeared to keep the fix but was in fact using the in-memory 64 bit library still.  Now that I have rebooted, all libraries are being loaded fresh, and the 32 bit one I installed is causing problems.
I'm now getting:
{{{
#!shell
Liquid error: Could not open library ‘/usr/lib/libpython2.7.so’: /usr/lib/libpython2.7.so: wrong ELF class: ELFCLASS32
}}}
So it seems that Pygments is, somehow, looking in /usr/lib instead of /usr/lib64 for its libraries.  Now that it is indeed finding the 32bit library in /usr/lib, the linker is complaining that it's incompatible with the ELF class of the binary loading it.
My question is, is this a problem with Octopress's RVM setup in indicating which gems to use, or a Liquid configuration problem in knowing which libpython to link against, or a Python problem in some way?
If it is a Pygments problem, should I try rebuilding it somehow?  I've no idea how it got installed.  Is it part of the python RPM for Fedora, or did it come with the rubypython gem that RVM installed?
I sought some help on #rvm IRC channel the other day but couldn't really get any help.
My quick fix for now is to 'yum remove python.i686' and put my symlink back in with 'ln -s /usr/lib64/libpython2.7.so /usr/lib/libpython2.7.so' but this is clearly horrible and something else needs fixing.

(Original issue 765 last updated on 2012-05-05T20:04:39.136363+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by neek on 2012-05-04T04:03:34.543807+00:00)
I thought I'd poke about and see where pygments is, and this is what seems to be on my system:
{{{
[root@uberneek lib]# pygmentize -V
Pygments version 1.4, (c) 2006-2008 by Georg Brandl.
[root@uberneek lib]# which pygmentize
/usr/bin/pygmentize
[root@uberneek lib]# rpm -qf /usr/bin/pygmentize
python-pygments-1.4-1.fc16.noarch
}}}
The command I run to invoke ruby and pygments is:
{{{
rake generate
}}}
This kicks off the Octopress framework, which seems to be mostly Ruby.  Somewhere in there, Pygments gets called.  This may be directly, or via the rubypython gem, I've no idea.  Perhaps you can shed some light on the way Pygments is being invoked and libpython2.7.so is being loaded.  I've a strong feeling this problem has nothing to do with Pygments, it's a packaging or configuration problem in one of these other systems.

(Original comment by birkenfeld on 2012-05-05T20:04:39.122835+00:00)
Sorry, after a short look I cannot see the reason for your problems.  All I can say is that Pygments is a perfectly ordinary Python package and has no special behavior looking for libraries on its own.
So if there is a bug as opposed to an installation/setup problem, it lies either with the library/application that invokes/uses pygments, or with Ruby or Python itself.


notion_client.errors.APIResponseError: body failed validation

I was following the README step by step and ended up the following error:
Traceback (most recent call last):
  File "/private/var/folders/nq/vxjjn3311fg4q263qsxrghpcpzgp66/T/tmp.H2EvgEH7/gkeep2notion/gkeep2notion.py", line 372, in <module>
    create_page(notion, notes)
  File "/private/var/folders/nq/vxjjn3311fg4q263qsxrghpcpzgp66/T/tmp.H2EvgEH7/gkeep2notion/gkeep2notion.py", line 168, in create_page
    notion_page = notion.pages.create(parent=page.parent,
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/notion_client/api_endpoints.py", line 199, in create
    return self.parent.request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/notion_client/client.py", line 194, in request
    return self._parse_response(response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/notion_client/client.py", line 126, in _parse_response
    raise APIResponseError(response, body["message"], code)
notion_client.errors.APIResponseError: body failed validation. Fix one:
body.parent.database_id should be defined, instead was `undefined`.
body.parent.page_id should be a valid uuid, instead was `""`.

This is probably due to notion-client and Notion API upgrade. I've fixed the notion-client version to 1.0.0 for now and will work on 2.0 support later. Could you download the latest version and run pip3 install -r requirements.txt again?

Could you download the latest version and run pip3 install -r requirements.txt again?

Same error even after downloading the latest version

Requirement already satisfied: notion-client==1.0.0  (from -r requirements.txt (line 3)) (1.0.0)

It seems to work with some notes but I get the same error message for others. Trying to find out the difference between these notes in keep.

I already found out the root cause: url2uuid function which has the following RegEx condition for your link:
^https://(www\.)?notion.so/(.+)([0-9a-f]{32})/?$
I don't have the time to fix it right now, but you can workaround the bug by cutting of the query string from your URL that you got by clicking the 'Copy link' context menu action in Notion. In my case it was ?pvs=4.
Important note: do NOT downgrade the notion-client, it simply upgraded it again, because it does not solve the URL conversion mistake. You can already see in your exception stack, that the id is missing:
body.parent.database_id should be defined, instead was 'undefined'. body.parent.page_id should be a valid uuid, instead was '""'.
As soon as you have a valid page_id the migration starts without any issues. If you are not familiar with the debugging in VSCode or with Python generally, put the following line after line 362 in gkeep2notion.py:
print(f'root_uuid: {root_uuid}')
If you see an empty output like root_uid:  upon starting the script, you definitely have the link in the wrong format according to the strict regex rule.

@StrictLine thanks for spotting the issue, the problem was in the url2uuid regex indeed. I've fixed it in the latest version.

Fixed


Privileged Authentication Administrator- duplicate text

the same text is duplicated in the paragraph and the bullets under it.

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Administrator role descriptions and permissions - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/directory-assign-admin-roles.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

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

I agree that it is somewhat repetitive. I made a pull request to remove the text: https://github.com/MicrosoftDocs/azure-docs-pr/pull/83934
Tagging @curtand for approval.


Allow core-dns to run on the control plane nodes

Background:
cluster-autoscaler runs on the control plane nodes to allow scaling workers down to 0. On AWS (at least) cluster-autoscaler relies on CoreDNS to resolve the endpoint for the AWS API, without it it is unable to scale any nodes. As CoreDNS is currently set to only run on worker nodes if a cluster has all worker nodes scaled down to 0 then cluster-autoscaler is unable to scale nodes back up and then requires manual intervention (and results in us being alerted).

Discussed in KaaS sync.
No hard technical reason not to run core-dns on control plane nodes. There are operational issues to be aware of though:

core-dns should have a toleration for control plane nodes and not a preference for them. Where possible they should be scheduled onto worker nodes so that even if the control plane goes down (during an incident, upgrade, whatever) workloads should still continue to function.
It needs to be made sure that the control plane nodes have enough "space" for core-dns to run on them and not prevent another critical pod from being run.

On AWS the max pod amount would need updating to include this new (possible) pod for control plane nodes.

this does not make sense, we  only adjust the max pod size with pods that run as hostNetwork, but coredns do not run with hostNetwork so numbers should not be same

It needs to be made sure that the control plane nodes have enough "space" for core-dns to run on them and not prevent another critical pod from being run.

that is the tricky part as we do not set limits for etcd and API  on CP node so there is no way how guarantee there will be space for the coredns in case of very busy control plane node

On AWS the max pod amount would need updating to include this new (possible) pod for control plane nodes.

this does not make sense, we only adjust the max pod size with pods that run as hostNetwork, but coredns do not run with hostNetwork so numbers should not be same

You're right, I was confusing things. Long day 😅

Yeah, sizing isn't going to be easy but if the cluster is a busy cluster then there's worker nodes that core-dns can be scheduled onto.

An alternative thought (not sure I like it or not) is we could have a separate core-dns deployment that schedules a single pod on a control plane node.

I guess the only option we have is to implement our scheduler plugin extending the "score" extension point or maybe the "normalize score" extension point. Will investigate a bit further.

Alternatives:

create 2 deployments, 1 for running on masters, 1 for running on workers.
PRO: easy to implement. No need to worry about moving coredns from masters to workers
CON: in clusters with workers, there will be coredns on the master anyway

use a custom scheduler scoring plugin to prefer workers over masters
PRO: in clusters with workers, coredns should not run in the masters (but might)
CON: requires a new thing running in the cluster. Does not move pods from masters to workers.

just add the toleration
PRO: easy to implement.
CON: coredns might run in masters only. does not move pods from masters to workers.

create 2 deployments, 1 for running on masters, 1 for running on workers.
PRO: easy to implement. No need to worry about moving coredns from masters to workers
CON: in clusters with workers, there will be coredns on the master anyway

How will this look in regard to replicas count and the HPA? would there be only 1 replica on the master node which would have no HPA and then worker deployment would have replicas -1 and using the same HPA?
We need to ensure that all naming for worker node deployment will stay so customers monitoring and  CI/CD wont be affected by the changes

create 2 deployments, 1 for running on masters, 1 for running on workers.
PRO: easy to implement. No need to worry about moving coredns from masters to workers
CON: in clusters with workers, there will be coredns on the master anyway

How will this look in regard to replicas count and the HPA? would there be only 1 replica on the master node which would have no HPA and then worker deployment would have replicas -1 and using the same HPA?
We need to ensure that all naming for worker node deployment will stay so customers monitoring and CI/CD wont be affected by the changes

Good points. I would keep the HPA just for the deployment running stuff in the workers. The one running on master is basically a fallback. There should be no issues with that I guess, right?

Good points. I would keep the HPA just for the deployment running stuff in the workers. The one running on master is basically a fallback. There should be no issues with that I guess, right?

Probabbly no ;)


Modularity

Support for multiple API blueprint files within one API.

Hey @bcls and @holic, thanks for pointing out these editors!

Related: https://github.com/apiaryio/api-blueprint/issues/20#issuecomment-77108398

Has any decision been made by the core developers on this? It's been outstanding since 2013 and no clear cut answer has been given so far, can we get a line drawn on this please?

Hey @foxx there wasn't any clear decision on this one yet – I am leaning towards the transclusion syntax introduced in Hercule:
FORMAT: 1A

# Gist Fox API
Gist Fox API is a **pastes service** similar to [GitHub's Gist](http://gist.github.com).

# Group Gist

:[Gist](blueprint/gist.md)

:[Gists](blueprint/gists.md)

With the exception of
+ Model

    + Body

      ```
      :[](gist.json)
      ```

Because the code blocks should remain opaque to the parser / preprocessor.
Also I do not think the transclusion should work on any level – the files being transcluded should be valid blueprints itself.
As for commitment to this – it is fairly high on the features roadmap – but no ETA just yet.
I would appreciated any comments or thoughts on this and also on features roadmap visibility.
Thanks!

The transclusion syntax seems like the best proposal so far, it's an elegant and clean approach, and better than any other suggestions I've seen so far. Fwiw, +1 from me.

any news on this?
approach with transclusion seems good to me, i don't see any disadvantages for it.

For the time being I suggest to use Hercule and the :[Gist](blueprint/gist.md) syntax. Will work towards backporting it back into API Blueprint spec and parser toolchain

Has anything been done for this issue? I'd also like to split up a larger apib file into multiple.
Thanks!

Hey @adams-sarah unfortunately not from my side. I do still endorse the use of Hercule (https://github.com/jamesramsay/hercule) as it works pretty well – the only drawback is that you won't be able to edit the multiple files at Apiary.io. Let me know if I can help somehow!

+1 to the use of hercule https://github.com/jamesramsay/hercule
we have been using it for a while now and hope it will still find its way into the apib specs

:+1: for the addition of this feature.
I also support a single TOC/index methodology. Transclusion is a bit too flexible and has not scaled in large wiki-based documents in my past experience.

We will definitely have to bake this into the parser itself to support source map.
In the mean while, we have prepared a real-example to show how to use Hercule – https://github.com/apiaryio/api.apiblueprint.org

@zdne in our usage of json-schema (via interagent/prmd) we split it along resource lines and basically enforce a particular directory structure to imply inclusions (more or less it builds a top level schema which has all the stuff in the directory as subschemas, so it changes levels of things). This is obviously pretty specialized to what we were doing and not particularly appropriate in your case, but wanted to share our experience. Compared to that, I think transclusion seems much more elegant/flexible, but it would definitely be nice to also have some straightforward means of having a consolidated TOC/index. Maybe that is similar to what we did though, ie you create an uber blueprint to serve as this index and then transclude/reference the sub-blueprints within it. I can see that happening automagically as being nice, but also as being awkward if it doesn't happen to do just what you want. Anyway, long way of saying I'd be happy to discuss/share my experiences further if that would be helpful.

What is the status of this feature?
We are using the Pro plan in Apiary.io and we need this feature

@DavidBM I had the same problem.  how I got around this is to have two apiary.apib documents.
Uncompiled
apiary-source.apib - a uncompiled source that makes use of the Include Feature
FORMAT: 1A
HOST: https://api.example.com

# Hello World

<!-- include(blueprint/posts.apib) -->

Compile
You can simply run:
aglio --input apiary-source.apib --compile --output apiary.apib

Your apiary.apib should now include the contents of blueprint/posts.apib within.

Hi, thanks! Yeah, but then you can't edit the documents in apiary.io
We already had the customized solution with Hercule, but the point of paying apiary pro for us is to let the product managers to update the documentation without entering in git. I'm afraid that this is a completely blocker for us and we will cancel the contract with Apiary if this is not solved.
I wouldn't expect this to be in this state after having Hercule and other tools for so many time available.
This is very very disappointing :(

Hello everyone, I'm sorry for getting here late and reopening and digging old stuff. If this isn't the right place please forgive me. But, doing a research to develop blueprint mocks I've found this discussion and this is the closest that I've could find until now.
I'm struggling to split my responses by model :(. Isn't it possible to referer a model into a different folder?
I would like to have inside my blueprints folder all my requests, and, for example into a separated models folder all my entities models (MSON/MD/JSON/whatever files, that whose fit) to reuse them into different responses easily. Anyone have success doing this?

It'd be really great if this issue got some attention. We have 26000 lines in our API Blueprint and it makes it incredibly difficult to manage

We are implementing Contract testing using Dredd and we are using Aglio, but it would be great if this was added so we wouldn't have to

One of the reasons is that we are iterating on design a lot :) When this issue was opened, there was no MSON and we are still torn on transclusions vs references.
But for the record, what are your needs there? Is it just multifile management and compiling a single document as a result or do you also talk reusability of models and sharing bits and pieces across multiple API description documents?

One of the reasons is that we are iterating on design a lot :) When this issue was opened, there was no MSON and we are still torn on transclusions vs references.
But for the record, what are your needs there? Is it just multifile management and compiling a single document as a result or do you also talk reusability of models and sharing bits and pieces across multiple API description documents?

We have a standard response that come from a bunch of our endpoints.  we would like to be able to define that in a single place, near the library that houses it, and then import it where ever we need to respond with it.


Testing, please ignore. (yckwua)

This is a bug bounty test.. Please DO NOT APPROVE THIS! (yckwua)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yckwua tiona seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.