build: minify CSS in build bundle

This PR configures Vite to minify CSS in our build bundle. This should reduce the payload both for our package and our consumers.

Codecov Report
Attention: 56 lines in your changes are missing coverage. Please review.

Comparison is base (638977d) 92.61% compared to head (6f09596) 95.98%.
Report is 54 commits behind head on master.

Files
Patch %
Lines

src/components/core/dom/breakpoint.ts
42.85%
4 Missing :warning:

src/components/card/card-action/card-action.ts
70.00%
3 Missing :warning:

src/components/core/dom/dataset.ts
25.00%
3 Missing :warning:

src/components/core/dom/host-context.ts
40.00%
3 Missing :warning:

src/components/header/header/header.ts
50.00%
3 Missing :warning:

src/components/tooltip/tooltip/tooltip.ts
25.00%
3 Missing :warning:

src/components/calendar/calendar.ts
75.00%
2 Missing :warning:

src/components/core/dom/find-referenced-element.ts
60.00%
2 Missing :warning:

src/components/menu/menu/menu.ts
0.00%
2 Missing :warning:

.../navigation/navigation-marker/navigation-marker.ts
50.00%
2 Missing :warning:

... and 25 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2216      +/-   ##
==========================================
+ Coverage   92.61%   95.98%   +3.37%
==========================================
  Files          53      326     +273
  Lines        2409    38960   +36551
  Branches      254     2191    +1937
==========================================
+ Hits         2231    37396   +35165
- Misses        176     1519    +1343
- Partials        2       45      +43

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


[SPARK-44503][SQL] Add analysis and planning for PARTITION BY and ORDER BY clause after TABLE arguments for TVF calls

What changes were proposed in this pull request?
This PR adds analysis and planning for PARTITION BY and ORDER BY clause after TABLE arguments for TVF calls.

This PR appends RepartitionByExpressions and Sort logical operators as needed for this purpose.
This PR also adds WITH SINGLE PARTITION syntax to TABLE arguments. This indicates that exactly one instance of the UDTF should process all rows in the input relation, and is mutually exclusive with the PARTITION BY clause. Then we append Repartition instead of RepartitionBy to implement this.
In addition to up dated parsing unit tests, this PR adds end-to-end testing in the Scala PythonUDTFSuite. Note that full query execution is not implemented yet, that will come in the next PR since further execution support is needed to detect when partition boundaries end by inspecting the values of keys in consecutive rows.

Why are the changes needed?
This will provide a way for the TVF caller to indicate desired semantics for dividing up the rows of the input table into partitions for consumption by the underlying algorithm.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This PR adds unit test coverage and also end-to-end tests in Python.

cc @allisonwang-db @ueshin @HyukjinKwon

Hi @allisonwang-db  thanks for your review, I have responded to your comments, please take another look 🙏

@dtenedor since the TABLE argument support is already in Spark 3.5, should we add this to Spark 3.5 as well? also cc @cloud-fan

let's backport to make the feature complete. cc release manager @xuanyuanking
@dtenedor can you update the PR description? It's outdated as we don't add new query plans at the end.

Thanks! merging to master/3.5.

@dtenedor There were some conflicts with branch-3.5. Could you help fix and submit another PR against branch-3.5? Thanks.

@dtenedor @allisonwang-db @cloud-fan
Oh, wait. the previous PR about the grammar for PARTITION BY and ORDER BY clause was merged only in master.
If we need to support this in 3.5, could you also submit a PR to backport it, too?

Discussed offline, we decided not to backport anymore PRs from this feature to Spark 3.5.


user list initial commit

Closing this PR. Please find the updated one at https://github.com/wso2/product-is/pull/1198


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1547

Questions ?
Please refer to the Backport tool documentation


Create Bandytogos server

I love the bot

Ah thank you, don't think this PR will be added thou lol


Named elytra does not preserve pattern, and reversely - patterned one does not preserve name

As in title, using my "Wings of Hope" with custom pattern, I realised after a while that they are called "Elytra" now. Thought it is a glitch, so I decided to name them, but now they have no pattern (even though pattern list is visible in GUI).
Screenshots as an example (before naming it had orange-yellowy pattern):

I'm using 1.5.4 version, although didn't see any bugfixes on that part in 1.5.5, so I'm assuming it wouldn't change the issue.

Thanks for reporting this!
Looks like it was partially fixed in 1.5.5, but it would still lose its name if you crafted it with a banner.
There's a new version out, 1.5.6, which should fix this fully! :)


minified version not working.

The minified version is not working in Chrome.

where did you get it from? master? a particular version?

@wesleywesley can you recreate in a fiddle? Additional details would be helpful. I'm going to close for the time being. Thanks!


Migrate all reads to user_seen_markets to use user_contract_views

See https://github.com/manifoldmarkets/manifold/pull/2422.
I tested most of these queries and as expected the new version typically is a big perf improvement.

There's a kind of small deficiency in the new table, which is that it's no longer able to answer the question "find markets where people have done a page view since time T." It can only answer questions like "find markets where people have done a page view, and seen them at all since time T (perhaps as a card.)"
It's my judgment that the queries using that information will still be doing a good job with the new version, but if this bugs us, we could introduce more columns in the user_contract_views table for tracking "last card view time", "last page view time", and "last promoted view time" separately instead of just the single "last view time" column.
I think it's OK how it is though.

There's a kind of small deficiency in the new table, which is that it's no longer able to answer the question "find markets where people have done a page view since time T." It can only answer questions like "find markets where people have done a page view, and also seen them in any way since time T (perhaps as a card.)"
It's my judgment that the queries using that information will still be doing a good job with the new version, but if this bugs us, we could introduce more columns in the user_contract_views table for tracking "last card view time", "last page view time", and "last promoted view time" separately instead of just the single "last view time" column.
I think it's OK how it is though.

Hmm... I'm actually having second thoughts about this in the context of the new portfolio page. I think it does a disservice to that page.

OK, now user_contract_views has per-type timestamps, and we can maintain all the old behavior perfectly.

Cool! Glad you found a solution


Icon service backend for Harbor standalone

We need a service to find icon for some web component.
And if cannot find the specific icon then generate random icon based on the parameters passed to it.

As @lweitzman said we did not need this random icon, I'll close this issue.


port defenses to Maybenot v2

The machines in this repository are designed for Maybenot v1, which in some cases severely limits their ability to properly replicate the behavior of the theoretical defenses they are based on.
Develop new versions of some or all of the machines that take advantage of the features added in Maybenot v2. This is most likely to be worthwhile for RegulaTor and Surakav, but may also be useful for FRONT.

Hi, I want to use the Maybenot v2 framework in my research project and especially your defense implementations. Therefore I'm trying to port the machines to v2 starting with FRONT.
I got a working v2 machine for now (see here), but when I compare the simulator output of the v1 and the v2 implementation they look very different. The v2 version is sending much more padding packets. From my understanding both versions should be more or less identical (I only added an STATE_END to the v2 machine`). Do you have an Idea what may cause the divergent behavior?
# v1 FRONT sample trace output
sent a normal packet at 0 ms
received a normal packet at 19 ms
sent a normal packet at 183 ms
received a normal packet at 243 ms
sent a normal packet at 1696 ms
sent a normal packet at 2047 ms
received a normal packet at 2055 ms
sent a normal packet at 9401 ms
sent a padding packet at 9401 ms
sent a normal packet at 9401 ms
received a normal packet at 9420 ms
sent a padding packet at 9513 ms
sent a padding packet at 9626 ms
sent a padding packet at 9738 ms
sent a padding packet at 9851 ms
sent a padding packet at 9963 ms
sent a padding packet at 9963 ms
sent a padding packet at 9963 ms
sent a padding packet at 9963 ms
sent a padding packet at 10076 ms
sent a padding packet at 10076 ms
sent a padding packet at 10189 ms
sent a padding packet at 10301 ms
sent a padding packet at 10414 ms
sent a padding packet at 10414 ms
sent a padding packet at 10414 ms
sent a padding packet at 10461 ms
sent a padding packet at 10461 ms
sent a padding packet at 10461 ms
sent a padding packet at 10509 ms
sent a padding packet at 10522 ms
sent a padding packet at 10522 ms
sent a padding packet at 10522 ms
sent a padding packet at 10522 ms
sent a padding packet at 10522 ms
sent a padding packet at 10522 ms
sent a padding packet at 10554 ms
sent a padding packet at 10585 ms
sent a padding packet at 10617 ms
sent a padding packet at 10649 ms
sent a padding packet at 10680 ms
sent a padding packet at 10680 ms
sent a padding packet at 10712 ms
sent a padding packet at 10712 ms
sent a padding packet at 10744 ms
sent a padding packet at 10744 ms
sent a padding packet at 10775 ms
sent a padding packet at 10775 ms
sent a padding packet at 10807 ms
sent a padding packet at 10839 ms

# v2 FRONT sample trace output
sent a normal packet at 0 ms
received a normal packet at 19 ms
sent a padding packet at 112 ms
sent a padding packet at 112 ms
sent a normal packet at 183 ms
sent a padding packet at 225 ms
received a normal packet at 243 ms
sent a padding packet at 337 ms
sent a padding packet at 337 ms
sent a padding packet at 337 ms
sent a padding packet at 450 ms
sent a padding packet at 450 ms
sent a padding packet at 450 ms
sent a padding packet at 562 ms
sent a padding packet at 585 ms
sent a padding packet at 697 ms
sent a padding packet at 697 ms
sent a padding packet at 810 ms
sent a padding packet at 810 ms
sent a padding packet at 923 ms
sent a padding packet at 1035 ms
sent a padding packet at 1035 ms
sent a padding packet at 1148 ms
sent a padding packet at 1260 ms
sent a padding packet at 1260 ms
sent a padding packet at 1260 ms
sent a padding packet at 1373 ms
sent a padding packet at 1485 ms
sent a padding packet at 1485 ms
sent a padding packet at 1598 ms
sent a padding packet at 1711 ms
sent a padding packet at 1711 ms
sent a padding packet at 1711 ms
sent a padding packet at 1823 ms
sent a padding packet at 1823 ms
sent a padding packet at 1936 ms
sent a padding packet at 1936 ms
sent a padding packet at 1936 ms
sent a padding packet at 1936 ms
sent a padding packet at 1936 ms
sent a padding packet at 2048 ms
sent a padding packet at 2048 ms
sent a padding packet at 2048 ms
sent a padding packet at 2096 ms
sent a padding packet at 2143 ms
sent a padding packet at 2191 ms
sent a padding packet at 2238 ms
sent a padding packet at 2286 ms
sent a padding packet at 2286 ms
sent a padding packet at 2333 ms
sent a padding packet at 2333 ms
sent a padding packet at 2380 ms
sent a padding packet at 2380 ms
sent a padding packet at 2428 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2475 ms
sent a padding packet at 2523 ms
sent a padding packet at 2523 ms
sent a padding packet at 2523 ms
sent a padding packet at 2523 ms
sent a padding packet at 2570 ms
sent a padding packet at 2618 ms
sent a padding packet at 2665 ms
sent a padding packet at 2665 ms
sent a padding packet at 2665 ms
sent a padding packet at 2713 ms
sent a padding packet at 2760 ms
sent a padding packet at 2760 ms
sent a padding packet at 2760 ms
sent a padding packet at 2807 ms
sent a padding packet at 2807 ms
sent a padding packet at 2855 ms
sent a padding packet at 2902 ms
sent a padding packet at 2950 ms
sent a padding packet at 2950 ms
sent a padding packet at 2997 ms
sent a padding packet at 2997 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms
sent a padding packet at 3045 ms

Hi! After a quick look through the code, it does seem that the two versions should behave identically. I'm not too familiar with the v1 simulator code, but my guess is that the main difference lies in updates to the simulator between v1 and v2.
In your v1 trace, no padding packets are sent before 9401 ms, which seems odd (and incorrect). Your v2 trace looks more like what I would expect. I am able to replicate this behavior using Maybenot v1 for the v1 machine and Maybenot v2 for the v2 machine. But when I use the parsing feature of Maybenot v2 to run the v1 machine, I get better output... I'll stick with my simulator theory. I'll bring this up with Tobias later this week and see if we come up with anything more specific, but my recommendation would be to consider this a non-issue in your work if you're using v2. It at least doesn't seem to have to do with the defense implementations.
Speaking of the simulator: I've spent some time working on a v2 version of RegulaTor "with all the bells and whistles" (the missing features/optimizations v1 doesn't support), but I haven't pushed the changes yet because their behavior has raised some important questions about how we should model the network in the Maybenot simulator. We are working to address these, so my hope is to have the machines uploaded rather soon - feel free to shoot me an email if you'd like a more detailed explanation or to discuss further.

Thank you very much for your quick answer! You're probably right with the simulator theory, please shoot me a message if you find out anything more specific.
I'm very much interested in the new v2 version of RegulaTor as it's probably more relevant to my work than FRONT. I'm currently trying to port the v1 version to v2. I'll send you an email if I come up with more specific questions about that.
Thanks again.

FYI, I did a quick port of RegulaTor to Maybenot v2 as well: maybenot_regulator.rs


Slow response in production caused by Sync over Async

https://github.com/poppastring/buggy-demo-code/blob/a2f8d12f3ec3c58b50b97e117d61d4876fba8e4e/src/BuggyDemoWeb/Controllers/UnresponsiveLowCPUController.cs#L39-L40

Once you go async, all of your callers should be async. In many cases, being partially async can be worse than being entirely synchronous.
Learn More: Avoid using Task.Result and Task.Wait
How do I fix it?
Use the await keyword to get the result from calling an async method.
Learn More: Asynchrony is viral


Move the local service name into settings

The RBAC app will also need the service name setting, and the get_registry method will wind up importing more things as a side effect, and by design, isn't generally available on import.

I've updated my RBAC branch to address the issue this was addressing. It's functional with the current resource registry.
I believe the import circularity was a temporary problem, which I solved by another method, and this method is no longer needed. Definitely time to abandon this.


[Dashboard] Remove react-icons (1)

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR primarily focuses on replacing various icon components with PlusIcon and UploadIcon from the lucide-react library, enhancing the UI consistency across the application.
Detailed summary

Replaced Upload component with UploadIcon in airdrop-upload-erc20.tsx and upload-step.tsx.
Updated FiPlus icons to PlusIcon in multiple components, including external-links-fieldset.tsx, NFTMintButton.tsx, and more.
Removed unused Icon imports from several files.
Adjusted icon classes for consistent styling.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

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

#4882  👈
#4880
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kien-ngo and the rest of your teammates on  Graphite


ADSENSE: place advert on Database coverage page

Banner should be responsive.  Opportunity for another one between two census years?

@Vino-S - my mock up had multiple adverts, and I've now remembered we are restricted to 3 per page, so: do we have to have the advert at the top of the page (header)?  Please put the remaining two or three between 1851 and 1861 and 1861 and 1871 (also between 1881 and 1891 if we don't have the one in the header).

@PatReynolds I think keeping an advert at header will be a good idea as it can be easily viewed by our users when the page loads.


Affix functionality not working

Has anyone been able to get the bootstrap affix effect to work? Or a module/add-on that gives the same functionality? I'm am in the process of converting a pure Bootstrap theme to work with angular and this has me stumped.
I've tried angular-stap but it is producing some css conflicts (overriding my css). Has anyone found something that works or have a proven custom directive etc???

I haven't worked with affix, but seeing no responses to your question, I would suggest looking at stackoverflow or this package since this question isnt specifically to mean.js


Can disable point or polygon markers by falsy value

(to discuss)
fix setting "pointIcon" or "polygonIcon" to a falsy value disabling that type of marker
I think these icons should also only show up if "markers" are enabled - double check?

I like this! But I think whether it the icons should show up should be independent of the marker - since the icons should still appear in the results list.
There is a bug right now where the icons don't show up in results even though they should.

@bdon, is it okay to remove the check for this.options.markers? The icons are a visual indicator in the results list (and the marker popup, if enabled), but they're not really the same thing as the markers themselves.

:ok_hand:


Is this example complete?

Is this example complete? I can't run it here, it seems that “chrome.xxx“ api can no longer be fetched by web pages

I quickly checked the example code and everything should be correct.
The code is quiet old and I don't know if something has changed in the chrome.runtime js library.
Have you changed the extensionId variable in serial_port.js with the actual value you get when you install the extension in your chrome? Also you should change the externally_connectable in the manifest.json so that your website can access to the extension

can not use on chrome 90.0.4430.212
not sure reason


Fixed #31495 -- Removed incorrect localization guidance from tutorial.

ticket-31495

Please retitle your PR in accordance with the guidelines: "Fixed #31495 -- Removed incorrect localization guidance from tutorial."

Like maybe:
Since :doc:`translation </topics/i18n/translation>` is turned on by default, if
you have set :setting:`LANGUAGE_CODE`, the login screen will be displayed in
your own language.

(Separately, is there a case for LocaleMiddleware to be activated by default?)

LGTM. Small suggestions:

"if you have set" -> "if you set" - readers are unlikely to have changed it by this point
"your language" -> "the given language"  - people can identify as "having" more than one language
Parenthetical about this being conditional on Django having translations

Since :doc:`translation </topics/i18n/translation>` is turned on by default, if
you set :setting:`LANGUAGE_CODE`, the login screen will be displayed in the
given language (if Django has appropriate translations).

+1 for Adam suggestion.

CI failure is unrelated.


[Bug]: Objects in template cannot include template target type when used from a versioned namespace

Describe the bug
This seems like a bug to me.
If I have a templated interface like this in an unversioned library:
namespace Library {
  interface Resource<T> {
    get(): T
  }
}

and use that from a versioned namespace like this:
@versioned(Versions)
namespace Versioned {
  enum Versions { v1 }
  model Foo {}
  alias Foo = Resource<Foo>
  op get is Foo.get

That's all fine and well, but if I customize the response body to be an object that references the template target type:
interface Resource<T> {
  get(): { @body body: T };

Then I get the following compiler error:
Namespace 'Library' is referencing types from versioned namespace 'Versioned' but didn't specify which versions with @useDependency.

Is this a bug or is this just not possible?
We are using this in situations like this:
    @put
    put(@path id: string, @body body: T): {
        @statusCode statusCode: 200;
        @body body: T;
    } | {
        @statusCode statusCode: 404;
    }

Admittedly, this is overly verbose, but we've been going a bit verbose in our specs just to be extremely clear of the behavior we expect.
Reproduction
Playground link
Checklist

[X] Follow our Code of Conduct
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

We got around this by doing the following, for now:
        @post
        create(@body body: T): T;

        @get
        get(@path id: string): T | { @statusCode _: 404 };

        @put
        update(@path id: string, @body body: T): T | { @statusCode _: 404 };

        @delete
        delete(@path id: string): void | { @statusCode _: 204 };

Which works just fine as the status code is assumed to be 200 in every case.

Yeah looks like a bug

It looks like this only happens with interfaces, btw. Models work fine.

I think the problem is due to having model expression. repro with models if you use a nested model expression Playground


Clarify whether whitespace is allowed before comments in Dockerfile

File: engine/reference/builder.md
The page says:

Docker treats lines that begin with # as a comment

Does that mean that whitespace is allowed before the the # ? I've tested and it does seem to be allowed, but the docs are ambiguous.
The same page states clearly that in a .dockerignore file, the # must be in column 1,. Therefore presumably the lack of similar statement about Dockerfile comments means they are different.
As use case for this would be comments inside indented multi-line RUN commands.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Update part_250_subs.txt

Added:
r/funny

https://www.reddit.com/r/funny/comments/145zp69/announcement_rfunny_will_be_going_dark_on_june/

r/food

https://www.reddit.com/r/food/comments/145u3zi/blackout_on_june_12th_in_protest_of_the_upcoming/

r/EatCheapAndHealthy

https://www.reddit.com/r/EatCheapAndHealthy/comments/140w1n7/dont_let_reddit_kill_3rd_party_apps/

r/itookapicture

https://www.reddit.com/r/itookapicture/comments/1466xk2/itap_of_the_redditors_mods_and_developers/

Thanks for the help!


new tabledap source options

Can now input open_kwargs to pass onto pandas for opening dataset
also a mask_failed_qartod flag to mask out values for which the associated _qc_agg flag value is not 1 or 2
also a dropna flag for dropping nans

heavily dependent on a type of convention

Yes, I agree — I'd like to see this expanded but I started it out for what I need it to do. I'm not familiar with your docs but I'll start by adding a warning to the docstrings.


Fixed socket deletion error

Deleting the socket in the destructor can cause a crash when shutting down the app. By moving it to the socketDisconnected and deleting it with deleteLater fixed the issue.

I'm not completly shure where the crash comes from, but I do know the circumstances:
If there is an open connection when the app quits, the original line delete m_socket; will assert with a segfault. Moving the deletion helped. It doesn't make much sense, because if it was deleted multiple times, this schould not change anything, or only using deleteLater should be enough.
The fact that it only happens while quitting lets me assume the "something" happens between the socketDisconnected and the destructor, and this something is responsible for the crash. (it could be inside the sockets destructor itself).

The socket is deleted by the parent. The library is double deleting the object. It's explained in the documentation of QTcpServer::nextPendingConnection.

https://stackoverflow.com/questions/28820450/how-to-safely-delete-a-qtqtcpsocket
Deleting a socket obtained from QTcpServer seems to be correctly handled.

Not if the parent QTcpServer is deleted first, then deletes its children, then the socket gets double deleted by the library. The problem is not QTcpServer doing double deletion (once deleted, the parent gets notified and removes it from its children list automatically), is QHttpServer doing it.
I can't tell with 100% certainty that QHttpServer is being used right, but I think it is. I was working in our project, used Valgrind to check for possible leaks in one part of the code, then it reported a leak in our class, which uses QSimpleRestServer, which in turn uses QHttpServer. Then I ended up fixing the leak in the other pull request and the double deletion detected here.
Adding some logging I get this (the connection is established, then the application is closed while it's on):
    49.275 QHttpServer destroyed
    49.275 QTcpServer destroyed
    49.275 QTcpSocket destroyed
    49.275 QHttpConnection destroyed

In another case (the connection times out, and after a while I close the application) I have this instead:
   136.193 QHttpConnection destroyed
   136.194 QTcpSocket destroyed
   806.278 QHttpServer destroyed
   806.278 QTcpServer destroyed

Thank you everybody for the input, and @suy for the clear explanation! I'll merge this. Again, I haven't done Qt development in 6-7 years, so I'm not sure how this specific change fixes the problem @suy outlined, because isn't there now a double-free happening in socketDisconnected? Or is it guaranteed that that will be signaled prior to QTcpServer deletion? Or is this something to do with calling deleteLater() being safe on an already deleted object?

Just to clarify: I did not apply this patch verbatim to our copy in our codebase, because I found this PR later. I wrapped the socket in a QPointer, because it automatically becomes null when the socket would be destroyed (and deleting nullptr is safe; or alternatively, check for null before deletion if that suits your style better). I did not write that network code, so I don't know what it's supposed to do, and I'm not able to test it "for real". Hence, the more conservative approach.
FYI, deleteLater is not supposed to fix a double deletion per se. However, if you call it twice the delete events will be queued, but only the first one will actually delete the object, if still alive because the parent has not done it itself. I don't know the intention of the patch as I've just skimmed at how the class works.


Workspace azmonitor depends on airlock

What is being addressed
Sometimes a conflict will occur when a workspace is being deleted. The source of this is networking changed done inside the airlock and az-monitor modules of the bundle.
This should be handled by terraform without manual intervention, but since it seem to not happen like that...
How is this addressed

Add a dependency so that az-monitor and airlock will not run together
[small] add a retry in the e2e to handle transient api connection errors

/test-extended


intake-esm or intake

Hi @jonseddon (ping @wachsylon )
The catalog you created for jasmin is the intake-ESM one. Do you have some strings attached to this format, or you might consider to change to the format we use in nextGEMS, that I find more intuitive: https://github.com/nextGEMS/catalog

I think both have their features and complement each other. ESM is rather for finding and browsing with metadata while the access via the normal intake is faster. Afaik, searching via intake (no esm) is like a google search but some users may not know how to search efficiently through the catalog. For these users, intake-esm is better.
I think providing both is also a good idea.

@koldunovn I have no experience with either format, but in my initial tests then intake-ESM seemed to be much easier to use for me to catalogue the data as most of our data had been CMORised. If I used the other format then it appeared as if I was going to have to generate appropriate YAML files. Intake-ESM scans my directory structure for me.
However, it would be good to be consistent with others and so I don't have strings attached to this format.
What is the best way to create the YAML files for CMORised data?

Hi @jonseddon We discussed it a bit on the meetings and I think so far we converging to having both at the same time and see how much mess it will create :) Anyway things like CMIP6 data on DKRZ are stored in intake-esm, so people should know how to use both - we will try to assist with that (maybe by providing converters). In my view simple intake is easy when there are only few experiments (as in our case), while intake-esm make sense when there is a lot of different experiments and models.
Regarding example YAML, it can be as simple as:
plugins:
  source:
  - module: intake_xarray
sources:
  2D_1h_0.25deg:
    args:
      urlpath:
      - /work/bm1344/AWI/Cycle3/FESOM/IFS_4.4-FESOM_5-cycle3/025/2D_1h_native/*/*.nc
    description: 2D_1h_0.25deg data
    driver: netcdf

In this case all netCDF files will be combined in one happy xarray. The best practice is not to mix different time frequencies.

@koldunovn , great! This is all very new to me and so it will be really useful at the Hackathon to see how everyone uses Intake and to work on improved solutions during the event.


Build fails on main branch

Hi Stephane @StRigaud ,
I'm just trying to build from the main branch and reveive this error when calling 'mvn' from the Visual Studio console:
C:\structure\code\clesperantoj_prototype\native\clesperantoj\cppbuild\_deps\clic_lib-src\clic\src\core\clesperanto.cpp(135): error C3861: 'CropKernel_Call': identifier not found
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.

Is the main branch the one where the build should work or do I need to use another one?
Thanks!
Best,
Robert

Yes,
You just need to clean up your build, make sure to delete the lib folder as well as the cppbuild in the native folder.


Update docs to account for changes to the AOSM CLI

This PR makes the necessary changes to the AOSM public documentation to account for changes to the AOSM CLI extension.

#sign-off

#sign-off

@jddarby @sherrygonz - pulling this out of draft and merging b/c of sign off and approval by the article owner


Failed to find keys of command XREADGROUP

The following command is throwing an error. Why isn't this format supported?
XREADGROUP GROUP XX XX COUNT 1 STREAMS XX >

Thanks for the report.
We use a Python script to extract the syntax of each command given in Redis JSON files. Then we turn this into a C array and we have some C code to find the keys in a command based on this.
In XREADGROUP, the keys are not in a fixed position, but it's located after the 'STREAMS' keyword, which can be in any position of the command. That's probably why we don't handle this yet, but I don't remember exactly.

There is special code for XREAD and XREADGROUP but it was untested and obviously it wasn't working.
I'm fixing it and adding a test case in #187.


Fix bug: TwigServiceProvider is broken if FormServiceProvider is registered

form.csrf_provider is refactored to csrf.token_manager.

Thank you @andytruong.


Preparing statesampler to work with structured names

Coverage remained the same at 69.968% when pulling 9375dd6fdd6e17b2f6d19479b86722652c4c3f51 on pabloem:ssampler-structured into 6280d497b5264536a485993ccdf21034f2a1c3d8 on apache:master.

Note: This PR is not yet ready for review and merge.

Coverage decreased (-0.01%) to 69.546% when pulling 9e6f3c00ac9ac908020cb9d9ad81ef1807c38ad7 on pabloem:ssampler-structured into a92c45f9347e326e71afdc9057cac7e053b6c3e6 on apache:master.

r: @charlesccychen
cc: @bjchambers
This changes the state sampler to rely on structured names for MSEC counters.
The new io_target argument allows states to track time spent in IO such as side inputs, shuffle and state.  Tests have passed , and the latest commit only updates documentation.

Coverage decreased (-0.02%) to 69.54% when pulling b3d629fb27b7150b79f1bfcea973f5ff0c0a1b78 on pabloem:ssampler-structured into a92c45f9347e326e71afdc9057cac7e053b6c3e6 on apache:master.

Coverage decreased (-0.03%) to 69.525% when pulling b6e79645b5d6d2d356755f0d64f5244f9b3fa9e1 on pabloem:ssampler-structured into a92c45f9347e326e71afdc9057cac7e053b6c3e6 on apache:master.

R: @bjchambers for merge

Coverage decreased (-0.02%) to 69.537% when pulling 8cf66aa81d5f3fe0e6920db7050f65d2c05a3948 on pabloem:ssampler-structured into a92c45f9347e326e71afdc9057cac7e053b6c3e6 on apache:master.

Run Python PostCommit

jenkins: retest this please

jenkins: retest this please

jenkins: retest this please

Run Python PostCommit

jenkins: retest this please

Coverage increased (+0.03%) to 69.572% when pulling 1454095c2e6cee40db7400d89b98cba37a17df33 on pabloem:ssampler-structured into 41239d808c69758f08dc32f6a45977cc54f07888 on apache:master.

Run Python PostCommit

jenkins: retest this please

Coverage remained the same at 69.568% when pulling 29829fe887d17d8c029099db2226e70ad7fa31a8 on pabloem:ssampler-structured into 4a5b3c052efd76ee24f9eca0103135292412b27b on apache:master.


QTree bound test is flakey (or statistical)

[info] QTree with sizeHint 2^6
[info] - should always contain the true quantile within its bounds *** FAILED ***
[info]   0.8907081819159772 was not less than or equal to 0.890625 (QTreeTest.scala:80)

Looks like the true quantiles are not always in the bound (though this error is very small). May need to revisit this test.
/cc @avibryant

Also this one:
[info] - should work as an aggregator for doubles with a small stream *** FAILED ***
[info]   Intersection(InclusiveLower(4.0),InclusiveUpper(4.0000152587890625)) did not contain 5.0 (QTreeTest.scala:114)

Is this issue still open? The test seems to work fine for me.


Processing an IdToken for an API Key returns an Error

What this PR Does
Returns an error if we process an IdToken that contains a legacy api-key and doesn't support the fine grained access control features.
Fixes #21
Issue:
The "/api/access-control/users/permissions/search" endpoint currently only works with users and service account tokens.
We have noticed some errors being logged, where we (plugin backend) are attempting to use the HasAccess method, where the request uses an API Key.
Explore Link here
Since the "/api/access-control/users/permissions/search" endpoint currently doesn't work with API Keys, when we call HasAccess the following error is being returned: unexpected response status: 500 Internal Server Error
Proposed Fix
Since the /search endpoint does not currently work with API Keys, if when we processIdToken we realize it's an API Key, just exit early and return an error immediately, indicating as such.
This allows the plugin backend to decide what we want to do (in this case, we will proceed with our Basic Role authentication)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: elainevuong:x: cesararmadaYou have signed the CLA already but the status is still pending? Let us recheck it.


GitHub Repository Link Typo in opencollective.com Website

Kind of issue

[x] Typo

Description
Just forgot to add s on the GitHub repository link of Open Collective website.

Thank you, it is fixed :+1:


fix(site): make demo response scrollable

https://i.imgur.com/mXBpTdE.png
in chrome this is seemingly set automatically, but in firefox we have to explicitly state it, using tailwinds overflow-auto

@Effiti I'm unable to reproduce the error both on local and production. Can you attach a video of the bug that you're fixing?

@Effiti I'm unable to reproduce the error both on local and production. Can you attach a video of the bug that you're fixing?

huh.. weird!
https://user-images.githubusercontent.com/48206628/156823796-53936b34-1a1b-4832-8db5-6853c3648bcf.mp4
(testing on linux, using Mozilla Firefox 97.0.1, originally tested on LibreWolf LibreWolf 97.0.1

@Effiti that's interesting! can you update your PR description with the video that's including the fix? I'm running on Mac OSX with Chrome version 98.0.4758.80 and I'm not seeing that issue on my end

@ijemmao just added an image now, hope that's enough!

@ijemmao just added an image now, hope that's enough!

@Effiti a video would be ideal!

@ijemmao like that?


Monster variant, constant value being reassigned

Hello,
In Monster.scala, value pieces declared on line 26 is being reassigned on line 124.
https://github.com/Mind-Sports-Games/strategygames/blob/8710ebac7ea6c2c5e1d5221eee21c59bf80825c8/src/main/scala/chess/variant/Monster.scala#L124
Is this a bug, or is there something I did not take into account?
Best regards,
Maciej Błędkowski

Nevermind. My IDE was incorrectly configured


Adding "score" and "importance" fields from opendatafrance and openstreetmap providers

Hello,
A project i'm working on, using node-geocoder to access "adresse.data.gouv.fr" and Open Street Map's geocoding services, requires to get the scoring/confidence field returned by these services.
I modified the '_geocode' function for these providers to return add this value to the formated result, and updated the tests to take this into account. 'npm test' and 'npm run lint' are happy.
I'm wondering, before initiating a pull request :

does this kind of modification suits you ?
if not, should I :

implement it another way (as extras, in the '_formatResult' function used by both '_geocode' and '_reverse') ?
keep it in a fork without merging it in this repository ?

Have a nice day.

The goal of this library is to provide a standardized abstraction for a lot of geocoder APIs.
I am not sure the score is something that could be generic for all providers.

I agree, this score property isn't generic at all.
I will move it as an extra in my fork, and when everything is good I will try a pull request.
Thank you.


CoffeeScript?

Is there support for coffeescript?

No there is not...
On Jun 14, 2015 8:17 AM, "Ofri Dagan"<EMAIL_ADDRESS>wrote:

Is there support for coffeescript?
—
Reply to this email directly or view it on GitHub
https://github.com/afloyd/mongo-migrate/issues/36.

+1 but not enough time to do PR atm

coffee-script is gone, people


Scrolling Not Allowed By Default

The README states:

By default, only scrolling is allowed in the preview iframe.

This appears to not be the case. When allowIframePointerEvents config is set to false the iframe gets the pointer-events: none CSS property set which prevents all interaction with the iframe including scrolling.
Tested in FireFox and Chromium.
It appears the only way to get scrolling and nothing else is to add the pointer-events declaration to the template as described further on in the README.

Hey @freshleafmedia, thank you for taking the time to report this! I've had mixed results myself, pointer-events: none seems to allow scrolling in the iframe most of the time, but not always. I'm thinking of removing the option in the 1.0 release and leaving it to be configured in the preview template. I'll keep testing!

@pboivin Can confirm it's now working as expected :+1:


Problems with links to profile & Github

in the form to create a new organisation, there was "http://" in front of the field for the website:

However after saving, in the page to edit the collective this "http://" is not there:

This caused all the links in my Github README and website to redirect to "https://opencollective.com/kea/sponsor/0/www.apprentus.com?utm_campaign=kea&utm_medium=github&utm_source=opencollective", not to "https://www.apprentus.com/". Links like this:

After I manuallt added "https://" to the URL, the links still don't work. However the link to the Apprentus website on the Apprentus collective started to work:

previously it also redirected to that URL.

Thanks for reporting! Deploying a fix right now.

Fix deployed


How to Change Tenants?

As a CSP partner I have access to several client tenancies - each having multiple subscriptions.  When I list subscriptions I only get those in my own default tenancy.  Is there a cli option to change tenants?  Or is my only option to auth using tenant admin of respective client tenancy?

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

ID: 21632cd2-aec0-1521-a9b0-f96f69ab15ed
Version Independent ID: d6ab81e8-1aba-b922-9984-4523386c83cf
Content
Content Source
Service: multiple

figured it out:
az login --username  -t
az account set --subscription

Thanks, it certainly helped me.


[EDIT] Favicon Icon to a Programming related one.

Please when ever possible additionally add a new favicon icon for the website, as it is currently using the one of Itch.io/Handbook.
The Icon has to reflected in code as well as the image itself.

Please download to see the specifics for the size and dimensions as well as quality, thank you!

Favicon created


Stop repeating configuration once certain element is found

Add the option to stop repeating a configuration once a certain element is found.
For example, I have a configuration that repeatedly checks for a string on a page. It works by searching for the string on the page, and if it is not found, then it tries again. It would be great if I could configure the action so once that certain string is found, then the actions will stop repeating and the configuration will stop running.

Usually, the extension finds an element and performs an action on it, and stops.
If you want to add any condition for particular action you can make use of the addon.
Ref: https://getautoclicker.com/docs/3.1/addon/overview/


Update Thrift to fix Threads package

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2574
https://travis-ci.org/ingenue/hunter/builds/290072348?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2577
https://travis-ci.org/ingenue/hunter/builds/290364760?utm_source=github_status&utm_medium=notification

Uploading

Canceled, it's not cacheable.
Released: https://github.com/ruslo/hunter/releases/tag/v0.19.127


"Encrypt Mail To Self" didn't work

Hello,
is it possible, that the option "Encrypt Mail To Self" didn't work in the new version?
In my case, the checkbox don't have any effect, OutlookPrivacyPlugin is always additionally encrypting with the sender-address. And this leads to another problem, that i can't send any encrypted mails from accounts with no stored keys in the keyring, because that produces errors. Maybe i have to mention, that i am using a custom keyring location.
Can anybody confirm this problem?

This is a bug and will be fixed in the next release.

That was fast :D
Thanks for the good work!

Does a precompiled version exist with this fix? Looks like the latest is from 10 November 2015 (https://github.com/dejavusecurity/OutlookPrivacyPlugin/releases) but the fix is from 6 December 2015.
I still have the same problem with the version from 10 November of course.


node_moudles/.bin/tslint has wrong path on UNIX

Bug Report

TSLint version: 5.11.0
TypeScript version: 3.0.1
Running TSLint via: CLI

The require path in node_modules/.bin/tslint seems wrong. It points to an invalid path.
Actual behavior
node_modules/.bin/tslint contains the following code in UNIX env:
require("../lib/tslintCli");
Expected behavior
I expect node_modules/.bin/tslint to contain any of the following
require("../tslint/lib/tslintCli");
require("../tslint/bin/tslint");

Seems like this is as it should be. I guess I have another problem.


How to fix flyway migration mismatch type?

Which version and edition of Flyway are you using?
6.0.4
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle plugin
Which database are you using (type & version)?
Postres, postgresqlVersion = '42.2.1'
Which operating system are you using?
Win10
What did you do?
When try to run have error:
Migration type mismatch for migration version 2.2
-> Applied to database : JDBC
-> Resolved locally    : SQL

How to fix this prombem?
If i tried to comment line FLYWAY_ENABLE: "false" in application.yml nothing happend too.

This is warning you that the applied migrations differ to the migrations you have in your project. In this case, v2.2 was applied as a Java migration, but your project has a SQL script.
If this is expected, then run a repair https://flywaydb.org/documentation/command/repair. This will re-align the types in schema history with available migrations.

But if it is not expected?

alse main trouble is i can not use it. But don't know how to switch off flyway.

This isn't really an issue with Flyway. The real problem is that your build tool is broken, or you aren't clear on the build tool's/your team's process.
I assume you're using the Spring Boot plugin? You should ask them https://github.com/spring-projects/spring-boot/issues


Accidentally using MSYS's python from native windows leads to obscure error messages

If you are so unlucky as to have python3.exe from MSYS in your PATH and attempt a native Windows build you will observe an obscure failure that looks something like this:
-- Found PythonInterp: C:/msys64/usr/bin/python3.exe (found suitable version "3.6.2", minimum required is "3
-- Selected BOARD nrf52_pca10040
Zephyr version: 1.10.99
Parsing Kconfig tree in c:/work/zephyr/zephyr/Kconfig
Using C:/work/zephyr/zephyr/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig as base
Merging C:/work/zephyr/zephyr/samples/hello_world/prj.conf
-- Generating zephyr/include/generated/generated_dts_board.h
Traceback (most recent call last):
  File "c:/work/zephyr/zephyr/scripts/dts/extract_dts_includes.py", line 906, in <module>
    main()
  File "c:/work/zephyr/zephyr/scripts/dts/extract_dts_includes.py", line 833, in main
    yaml_list[c] = yaml.load(yf, Loader)
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 46, in construct_document
    for dummy in generator:
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 398, in construct_yaml_map
    value = self.construct_mapping(node)
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 204, in construct_mapping
    return super().construct_mapping(node, deep=deep)
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 129, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "/home/paza/.local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "c:/work/zephyr/zephyr/scripts/dts/extract_dts_includes.py", line 117, in include
    return self.extractFile(self.construct_scalar(node))
  File "c:/work/zephyr/zephyr/scripts/dts/extract_dts_includes.py", line 145, in extractFile
    with open(filepath, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/:/work/zephyr/zephyr/dts/bindings'
CMake Error at C:/work/zephyr/zephyr/dts/dts.cmake:111 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/work/zephyr/zephyr/cmake/app/boilerplate.cmake:227 (include)
  CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!

The key part is:
FileNotFoundError: [Errno 2] No such file or directory: '/:/work/zephyr/zephyr/dts/bindings'
we should find a way to detect and give a sane error message for this misconfiguration.

@SebastianBoe is this really an issue? now that we have native builds our users should not install MSYS2 anyway

MSYS2 is still supported IIRC.

It is, but not supposed to be mixed with native builds :) That said it's true, we can fix this in the best way possible.

Ah, my mistake, what this issue is saying, is that for a native build, if you happened to have MSYS2 installed allready, perhaps from some other project, the build system might misbehave, so it is not related to whether we support MSYS2 or not.

And I wonder if we really should have provisions for this, because at the end of the day this perhaps beyond the scope of the Zephyr build system.

not really a bug


The table should contain more information like description, floder, create

The csv table I exported from raindrop includes these info, which I think should show up in obsidian
title	description	url	folder	tags	created	cover	highlights

This definitely needs more information, it'd also be nice to be able to have a template for the entries. For example - displaying items in a card view. It's a shame you can't integrate something like Dataview with this. It'd be amazing, if you could.


Fix typo in protocol.txt

"crawler_items-checked" -> "crawler_items_checked"

Thanks! typo fixes are now committed by maintainers. Your change is in with credit.

Thank you for merging!


Clarify required version of vagrant

The vagrant up command fails on OSX with the message The box 'ubuntu/trusty64' could not be found. Upgrading vagrant solves the     problem.

LGTM, thanks for catching.


python3Packages.tokenizers: 0.10.3 -> unstable-2021-08-13

Motivation for this change
Fix build by update to unstable which contains the fix (https://github.com/huggingface/tokenizers/pull/758)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 135659 at 9bb73fdd run on aarch64-linux 1

2 packages marked as broken and skipped:

python38Packages.spacy-transformers
python39Packages.spacy-transformers

4 packages built successfully:

python38Packages.tokenizers
python38Packages.transformers
python39Packages.tokenizers
python39Packages.transformers


Testing Jenkins #3

Build finished.

@jenkins-buildbot Test this please.

@jenkins-buildbot Test this please.


About scipy.optimize linprog

<<Please describe the issue in detail here, and for bug reports fill in the fields below.>>
My numpy version is 1.12.1-py36_0 and scipy version is 0.19.1.
I don't know why when using scipy.optimize linprog, the optimal solution of linear programming problem has negative solution even though I didn't use any boundary condition of variable.
for example,
res = linprog(c, A_eq = A_equation, b_eq = B_equation, method = 'Simplex', options = {"disp": True})
print(res.x)
gives the negative solution(default condition of bound is positive condition, as I know)
Also, I want to solve the above problem. So I wanted to use 'interior-point' method but the output is
File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize_linprog.py", line 995, in linprog
raise ValueError('Unknown solver %s' % method)
ValueError: Unknown solver interior-point
What is the problem?
Reproducing code example:
<<A short code example that reproduces the problem. It should be self-contained, i.e., possible to run as-is via 'python myproblem.py'>>

Error message:
<<Full error message, if any (starting from line Traceback: ...)>>

Scipy/Numpy/Python version information:
<<Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'>>

@smlucasyoo wrote

gives the negative solution ...

Can you create a runnable example that demonstrates the problem?  Without, we can only guess at the cause.

So I wanted to use 'interior-point' method ...

The interior point method is new in scipy 1.0.0, which is not released yet.

Also, be sure you check that res.success is True before you try to use res.x.  That is, your code should do something like
res = linprog(...)
if res.success:
    print("Solution:", res.x)
else:
    print("linprog failed:", res.message)

@WarrenWeckesser
hmm
okay , I'm writing the example. the comma "," will be missing in the example because I'm pasting it with the variables in Spyder Variable explorer. And this result has the True result with res.success.
c = [
-3.6659781990428217
-3.324637794200559
-3.053310569928337
-2.0108995424675524
-1.4711299677738399
-1.4016290103336762
-1.2982422527413497
-1.104728276095225
-1.0588530845331452
-1.02056397300811
-0.9620280758944858
-0.8626997818517789
-0.8414107427704896
-0.8408157485107669
]
A_equation = [
[-0.11487067588163154	-1.6467796909484775	-1.0324348194139048	-0.6068483719641149	1.5062521369214679	0.018301040466744356	-0.0688658728068457	-0.24919918575782277	0.7174803588746376	-0.17393315313301652	-0.08401213631876056	-0.6973687244855641	0.03246871335692403	-0.43784567917723977
0.7688991770876715	0.6667896660691858	-0.6568087823724723	0.5555461739044719	-1.8670886522590278	-1.6193765049748359	0.23786486450965494	-1.3215689198498186	-0.883760463177599	1.1154060478003989	-0.5693709442579135	0.05176359508782915	-0.6012143308388523	0.003009159781494939
-0.37584009538694774	-0.475476666724747	-0.4253153897675574	-0.07480150248927513	-0.0910590056938708	0.018769139356244458	-0.12224410949292178	0.15015329172677322	0.18131590551710197	0.13698144810130963	0.018181248173326767	-0.3453862790878447	-0.11570969551946006	-0.23859486375193026],
[0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0],
[0.0	0.0	1.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0],
[0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	1.0],
[0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	1.0	0.0	0.0	0.0],
[0.0	0.0	0.0	0.0	0.0	1.0	1.0	1.0	0.0	0.0	0.0	0.0	0.0	0.0],
[0.0	0.0	0.0	1.0	0.0	0.0	0.0	0.0	1.0	0.0	0.0	0.0	1.0	0.0],
[1.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0],
[0.0	1.0	0.0	0.0	1.0	0.0	0.0	0.0	0.0	1.0	0.0	1.0	0.0	0.0],
[0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0],
[0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0	0.0],
[1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0	1.0]]
B_equation =
[-0.20268971859054316
-0.2942792795349866
-0.12564475535998562
0.0
0.07142857142857142
0.07142857142857142
0.07142857142857142
0.21428571428571427
0.21428571428571427
0.07142857142857142
0.2857142857142857
0.0
0.0
0.9999999999999997]
res = linprog(c, A_eq = A_equation, b_eq = B_equation, method = 'Simplex', options = {"disp": True})
res.x made the result(this res.success is True)
0.071429
-0.534693
0.071429
1.500000
0.579714
0.598710
-0.384425
0.000000
-1.285714
0.240693
0.071429
0.000000
0.000000
0.071429

@mdhaber can you help me? I'm really in emergency

@WarrenWeckesser
I put all the "," above. Can you check the problem?

Why is it expected that res.x[i]>=0 for all I?
29.8.2017 9.50 "smlucasyoo"<EMAIL_ADDRESS>kirjoitti:

@WarrenWeckesser https://github.com/warrenweckesser
I put all the "," above. Can you check the problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/7806#issuecomment-325571490, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACI5oT_bLFVKmuacf7hHavr9BcRiiz3ks5sc7SngaJpZM4PFatE
.

The last equality is redundant:
In [18]: A_equation[-1]
Out[18]: array([ 1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.])

In [19]: B_equation[-1]
Out[19]: 0.99999999999999967

In [20]: A_equation[3:-1].sum(axis=0)
Out[20]: array([ 1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.])

In [21]: B_equation[3:-1].sum()
Out[21]: 0.99999999999999989

Apparently the difference in the right-hand-side is enough to confuse linprog.
Remove the last row of A_equation and the last value of B_equation.

@pv wrote

Why is it expected that res.x[i]>=0 for all I?

That is a default constraint of linprog.  You have to set the bounds argument to change that.

@WarrenWeckesser
Wow thanks, I think it's working right now. Do I have to exclude every redundant rows when I solve LP via linprog?

I don't know.  The trivial equations in your rows 3, 11 and 12 don't seem to cause a problem, but the solver might use a preprocessor that identifies and removes those.  There are several open issues related to linprog: https://github.com/scipy/scipy/search?q=linprog&type=Issues&utf8=✓

It may be some condition number issue, that singular constraints give large
error to results unless the error component on rhs is exactly zero.
29.8.2017 10.25 "Warren Weckesser"<EMAIL_ADDRESS>kirjoitti:

I don't know. The trivial equations in your rows 3, 11 and 12 don't seem
to cause a problem, but the solver might use a preprocessor that identifies
and removes those. There are several open issues related to linprog:
https://github.com/scipy/scipy/search?q=linprog&type=Issues&utf8=✓
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/7806#issuecomment-325578201, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACI5ubM2MEgZVepM_OxE-Q6_dKvna3Qks5sc7zMgaJpZM4PFatE
.

@pv, yes, in fact if the interior point method is used, a warning is generated: _linprog_ip.py:623: OptimizeWarning: A_eq does not appear to be of full row rank. To improve performance, check the problem formulation for redundant equality constraints.
Here's the call in an ipython session:
In [4]: res = linprog(c, A_eq = A_equation, b_eq = B_equation, method = 'interior-point', options = {"disp": True})
/Users/warren/miniconda3scipy/lib/python3.5/site-packages/scipy-1.0.0.dev0+ab5ef39-py3.5-macosx-10.6-x86_64.egg/scipy/optimize/_linprog_ip.py:623: OptimizeWarning: A_eq does not appear to be of full row rank. To improve performance, check the problem formulation for redundant equality constraints.
  warn(redundancy_warning, OptimizeWarning)
Primal Feasibility  Dual Feasibility    Duality Gap         Step             Path Parameter      Objective
1.0                 1.0                 1.0                 -                1.0                 -15.00351818245
0.1736296567578     0.1736296567578     0.1736296567578     0.8349465751524  0.1736296567578     -5.393835444585
0.02627879108882    0.02627879108882    0.02627879108882    0.8722612088149  0.02627879108882    -2.04911247856
0.003814497113424   0.003814497113408   0.003814497113408   0.8632615900529  0.0038144971134     -1.888795282713
7.371471518225e-05  7.371471546866e-05  7.371471546881e-05  0.9847850570502  7.371471508707e-05  -1.863578712557
4.634049683517e-09  4.634050519902e-09  4.634050653311e-09  0.9999376829388  4.634050419005e-09  -1.863070291754
2.321486574918e-13  2.314806881237e-13  2.314139796568e-13  0.9999500540431  2.317025089237e-13  -1.86307026024
Optimization terminated successfully.

The answer matches (to within expected error tolerances) the result when the simplex method is used and the last redundant equality constraint is not included.

Thanks for your patience @smlucasyoo and for your quick responses @WarrenWeckesser, @pv. It sounds like your problem is resolved, @smlucasyoo?
As you've found, SciPy's simplex implementation tends to have trouble with redundant inequality constraints. The interior-point implementation would, too, but it has a routine to eliminate them in presolve. (That's where the OptimizeWarning mentioned by @WarrenWeckesser comes from.) Until the interior-point method becomes available with SciPy 1.0, there are a few things you can try if simplex fails.

Look for redundancy by comparing the rank of A_eq with the number of rows. For small problems that have only a few redundancies, a simple way of identifying them is to look at a left singular vector corresponding with a singular value of 0. This singular vector provides a linear combination of rows that yields a zero row. This implies that any one of the rows with a corresponding nonzero entry in the singular vector can be eliminated from A_eq without affecting the optimal solution to the problem. (Repeat this procedure, removing only one row per SVD, until there are no more zero singular values. See the function _remove_redundancy here for an implementation.)
Try setting the option 'bland':True. This fixed the problem in #5400, which did not appear to be caused by a redundant equality constraint.
You can also try this stand-alone version of the interior-point solver.

mdhaber I love you and whoever created the stand-alone version from the bottom of my heart. wish you the best bro.
-An almost crazy (after searching my code for mistakes that were not there, but SIMPLEX wouldnt solve) person

I'm putting a happy ending to this taleissue then since SciPy 1.0 is out

Haha thanks! Glad they were useful.
On Tue, Nov 28, 2017 at 9:34 AM, AntonisKoutounids<EMAIL_ADDRESS>
wrote:

mdhaber I love you and whoever created the stand-alone version from the
bottom of my heart. wish you the best bro.
-An almost crazy (after searching my code for mistakes that were not
there, but SIMPLEX wouldnt solve) person
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/7806#issuecomment-347601242, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGRCK-kqvMw4-z9Z8YfMchi4bJTegh0Cks5s7EQKgaJpZM4PFatE
.


Binwalk doesn't extract anything from Microtik SWOS (SwitchOS)

I've tried a few flags, using binwalk -r -M -e swos-rb250-1.17.lzb did identify 2 lzma dictionaries at adjacent offsets, I specified those offsets but it produced nothing. Any planned support for Microtik SWOS? FWIW the Microtik Router OS extracts just fine.
I'm wondering if it may be encrypted..

What does the entropy graph look like?

I took a look at this firmware, and I'm not sure there is anything to extract. Unlike RouterOS, SwOS is not Linux based, and appears to be a custom RTOS. There are lots of plain text strings, and entropy analysis suggests there is no compression or encryption. I'm not sure what CPU architecture this switch uses, but I would expect that you should be able to load it into an appropriate disassembler for further reverse engineering and analysis.

Ah, my bad for not at least throwing mips(el) or arm toolchain objdump -D
at this. I’ll take a further look. Thank you
On Thu, Jun 28, 2018 at 12:18 devttys0<EMAIL_ADDRESS>wrote:

I took a look at this firmware, and I'm not sure there is anything to
extract. Unlike RouterOS, SwOS is not Linux based, and appears to be a
custom RTOS. There are lots of plain text strings, and entropy analysis
suggests there is no compression or encryption. I'm not sure what CPU
architecture this switch uses, but I would expect that you should be able
to load it into an appropriate disassembler for further reverse engineering
and analysis.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ReFirmLabs/binwalk/issues/337#issuecomment-401091417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHpRZIy-dJhsVgTDpFyyPFDAyw9BcRV8ks5uBQHwgaJpZM4U5GIn
.

Ah, my bad for not at least throwing mips(el) or arm toolchain objdump -D at this. I’ll take a further look. Thank you

Any news? I also would like to extract SwOS

I don't know if it will be useful to you, but maybe I'll tell someone something. In the middle of bin misp (swos-css317
-2.12.bin.) I found this: https://gist.github.com/MrTomek/3a352befd578e4f2713d27700496c69d

My impression is that SwOS is only an UI to configure switch chip (more or less the /interface ethernet under ROS)

I don’t think there’s anything to be done here that is worth the time investment. @devttys0 has it correct, it’s a proprietary RTOS, not a BusyBox-based Linux system. There’s not a squashfs filesystem ir any other sort of standard/typical filesystem to extract


Feature Request: Cost-based Validators

Hey all! Thank you for such an amazing repo! I noticed there exists support for max-depth validation etc., and was wondering if there was any plan to support cost-based validation? Maybe we place a decorator on each resolver that accepts the parameters passed to the resolver and outputs a floating point cost? Javascript has some amazing libraries for query cost computation that could be ported over? Would love to know thoughts!

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

related to #960

Lets track this in #960


Define CURRENT_MODULE_ID

This environment variable was introduced in the 1.8.3 SDK. For now, CURRENT_VERSION_ID remains as it was before (eg. service-id:version-id.minor-version) for compatibility reasons.

I'm going to hold off on this one for awhile. I think it would make more sense to first restore the runtime's default task targets behavior so that CURRENT_VERSION_ID is consistent with the SDK.

5da2f9c implements this in a more thorough way.


1.6.2 crashing and complaining about sparkle framework

Tried to install 1.6.2 from Macupdate and it crashing on the 3 machines I tried.  It is complaining about sparkle framework.  Went back to 1.6.1 works fine again.
Thanks,
Chris

I fixed the issue yesterday so you can try the download again.

Dustin,
Thanks yes the update did fix the initial issue with 1.6.2 from macupdate.
Thanks Again,
Chris

On Feb 8, 2016, at 8:15 AM, Dustin Rue<EMAIL_ADDRESS>wrote:
I fixed the issue yesterday so you can try the download again.
—
Reply to this email directly or view it on GitHub https://github.com/dustinrue/ControlPlane/issues/442#issuecomment-181389643.


(PDB-1854) Strip resources blob when converting reports-query->wire-v5

This commit removes the resources blob when formatting a reports-query
report format to a wire v5 format. This is used only in PE.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1861/

transient failure


step size when training

Hi.
Firstly, I appreciate for your great work and sharing your code.
Currently, I'm using your model for my project and I have a question.
On your thesis, it says that you set your decay rate to 0.5 and it applies for every 50 epochs.
However, in the config.json file, the step size is set to 20, not 50.
Which one is the right value? thank you

You can use the same step size as in the config file. Originally we set the value to 50 but found that 20 works the same.


Migrate the API from the "backend" package to the "park"

time to do a massive refactor that will only make sense once I finish it. 😔

part 1 boilerplate, done in https://github.com/TeamEvie/Evie/commit/44bf2d8245059be743f3ae8dae0df29f14a12c77
Will work on making the routes tomorrow with a PR.

update: need to make a logout route and backport the routes found on the old API that lives inside the bot https://github.com/TeamEvie/Evie/tree/main/services/bot/src/routes
authentication and stats works flawlessly now.


Update index.html

Hello @victoryans003 ,
Thanks for checking out the project!
But you don't need to submit a PR on the main repo to be able to host the page with your customizations (which is what I assume you're trying to do.)
I'm gonna close this PR, but please let me know if I can help 🙂

Hey, sorry. I was just trying to do a "happy birthday thing" to my friend.
I don't know how to use the website, I'm so sorry about that
Em qua, 2 de dez de 2020 02:55, Afiur Rahman Fahim<EMAIL_ADDRESS>escreveu:

Closed #12 https://github.com/faahim/happy-birthday/pull/12.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/faahim/happy-birthday/pull/12#event-4060562035, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR6AKGSBMABF37MPZSQ73VLSSXJFBANCNFSM4UHCIVOQ
.

Hi @victoryans003,
It's no problem at all! 😄  I'm very happy you're giving this a shot and I hope you get to give your friend a pleasant surprise. Feel free to let me know if you need any help with anything! 🙃
All the best!

I think it worked. Thank you so much. Here's the link:
https://victoryans003.github.io/happy-birthday-thiago/
I'm so happy it did work 😊 Thanks
Em qua, 2 de dez de 2020 16:19, Afiur Rahman Fahim<EMAIL_ADDRESS>escreveu:

Hi @victoryans003 https://github.com/victoryans003,
It's no problem at all! 😄 I'm very happy you're giving this a shot and I
hope you get to give your friend a pleasant surprise. Feel free to let me
know if you need any help with anything! 🙃
All the best!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/faahim/happy-birthday/pull/12#issuecomment-737440915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR6AKGQSKSDENKFS2EWCJQDSS2HKJANCNFSM4UHCIVOQ
.


Add catching of Plonk extra G1 elements

This PR fixes the way how the powers of tau are taken for dusk_plonk. Only 2^n (n being the circuit size) elements were taken, but Plonk needs n + 5 elements by definition. In our particular case, n + 6 due to blinding factors.

Is this needed to make the tests in plonk pass or because our biggest transaction circuit is indeed larger than 2^17 gates? If the former is true I'd prefer to adjust the tests rather than adding more values to our trusted setup file.

Is this needed to make the tests in plonk pass or because our biggest transaction circuit is indeed larger than 2^17 gates? If the former is true I'd prefer to adjust the tests rather than adding more values to our trusted setup file.

No, this comes directly from the PlonK protocol. Check here: https://eprint.iacr.org/2019/953.pdf, page 27, the common preprocessed input requires the powers up to n + 5. In our case, we need n + 6 elements because we have an extra wire (in fact, because of your comment I realized our specs didn't catch this, there is a PR coming with this fix :).

@marta-belles thanks for the answer, approved as well :)


Add option for concurrency in classify

RandomForest can run single or multi-threaded. Add option and default behaviour to classify.py.

-p --processors describes the number of processors/threads to use.
default is -1 (for all available)
Should throw an error if the user pickers more processors than available on system


[Mod Support Request] TechPro424's fork of MapAtlases

Hello!
Don't know if this is needed for forks, but @TechPro424 made a fork of the original MapAtlases for 1.20.4, so if you could add support for this too, thank you so much.
https://github.com/TechPro424/MapAtlases
PS.: With "original" i mean, different from the other fork for 1.20.1 (the author refused to port to 1.20.4 due to "low downloads"), this fork have the original mod features, without changing anything AFAIK.

Yeah, should be able to get something working using the code before the previous fork

Added to the 1.20.4 version in v1.8.0

Thanks for taking the time to support my fork!
However,

that fork was only made so I could PR fixes
it needs to be updated for 1.20.6 anyway
the original mod has been updated to support 1.20.4


Add CODEOWNERS

I think it's "cannot be modified except on Weblate" or "can be modified by Weblate only".

Oh yes, but I think CODEOWNERS doesn't work as I expected.

Right, I guess PRs can still be made for those files, it only requires a review for that person


Added rubocop.yml and corrected simple style warnings

I'd like to enable HoundCI for json-schema. It works using rubocop to warn of style violations on pull requests. Before we can do that, we need to establish a rubocop style definition for the project and correct existing style violations.
This PR adds rubocop and houndci config, and corrects inconsistencies in the code style used throughout the project. Where two different styles were in use (in different files) I've tried to use whichever style is most common throughout the codebase.

I also vote for adding rubocop as style checker. We use that in our company, too.
As a reference we use the ruby styleguide .
I haven't read the whole config yet but I remember that rubocop by default has very strict cops regarding method and class size and complexity. So what exactly do want to have as limits in this respect? I mean as a goal, by now we won't score any acceptable values I guess.

The rubocop config I've added uses the default Hound CI as the base, and then I've customised it to the norms in this project.
All of the complexity and class/method length metrics are disabled at the moment. I've corrected every (reasonable) rubocop error, so that in this branch, there are no rubocop warnings at all.

Ok, I'll try to find time to investigate the config some time soon - I think we'll go for it, the question is if everyone agrees about the defined style.
The one thing that immediately came to my mind - no spaces in hash literals - is currently in my favour :grinning:

With the style config, I've tried to make it enforce the most common style throughout the codebase. For example, we use double-quotes more than single, so that became the enforced style. So hopefully it's representative, and just makes things more consistent. However I'd be more than happy to adjust it to suit tastes, or make it more strict

I don't want to provoke hard discussions, probably its all fine already or there are only minor things, I don't know.
But I think at least we four, i.e. also @hoxworth and @pd, should agree upon the config when we introduce it.

Sure, that sounds sensible. I'm not in a rush.

Do we want to go on with this? I'd say yes. The other two would have had enough time to react, I'd say.

It should be safe to close this PR, rubocop was added here https://github.com/voxpupuli/json-schema/pull/480


Introduce docker

What is this Pull Request About?
Dockerfile created to build and test searchor.

What will this Pull Request Affect?

FIles Dockerfile, .dockerignore and requirements.txt have been added.
Any additional information?

README.md can be modified and the following line can be added.
sudo docker built -t searchor .

I think we do not need requirements.txt. They are getting installed during installation of searchor since they are mentioned in setup.py.
Screenshot

Thanks for merging :)


How to supply real-time media to AudioVideoFramePlayer

I am doing some prototyping with a console application (will be deployed to Azure at a later stage) that implements a bot that can join a Teams meeting and can send and receive audio. The issue I have is that the audio from my application is coming from a VoIP source and is real-time.
Receiving audio from the Teams meeting works fine the audioSocket.AudioMediaReceived delivers the PCM 16K packets every 20ms and I can forward them as required.
Sending audio into Teams is where I have a problem. The audioVideoFramePlayer.EnqueueBuffersAsync seems designed to take a large number of samples at once which is fine if the audio source is a pre-recorded file. In my case I'm supplying one 20ms sample at a time and the audio that gets played in the Teams meeting is very choppy. Is this expected? Is supplying a single frame every 20ms to audioVideoFramePlayer.EnqueueBuffersAsync  expected to result in a smooth stream?
Here's the method I use to supply the audio samples to send into the Teams meeting. The byte[] buffer is a 640 byte PCM 16k 16bits/sample.
public Task EnqueueAudioBuffer(byte[] buffer)
{
	if (this.shutdown != 1)
	{
		if (audioVideoFramePlayer == null || !this.audioSendStatusActive.Task.IsCompleted || !this.startAudioPlayerCompleted.Task.IsCompleted)
		{
			//this.logger.Warn("BotMediaStream sending not yet active.");
		}
		else
		{
			// here we want to create buffers of 20MS with PCM 16Khz
			IntPtr unmanagedBuffer = Marshal.AllocHGlobal(buffer.Length);
			Marshal.Copy(buffer, 0, unmanagedBuffer, buffer.Length);
			var audioBuffer = new AudioSendBuffer(unmanagedBuffer, buffer.Length, AudioFormat.Pcm16K, DateTime.Now.Ticks);

			return this.audioVideoFramePlayer.EnqueueBuffersAsync(new List<AudioMediaBuffer> { audioBuffer }, null);
		}
	}

	return Task.CompletedTask;
}

@sipsorcery
In this case where the audio source is generated in real-time, the bot can pass the audio frames directly into the AudioSocket.Send API, rather than using the AudioVideoFramePlayer. AudioVideoFramePlayer is intended to make it easy to play out pre-recorded/generated audio/video content.
If there is a lot of jitter or "burstiness" in the audio stream coming from the VoIP source, this will get reflected in the audio stream sent to the Teams meeting. It may help to monitor the timestamps of the audio frames received from the VoIP source to see if delivery from it is reliable (i.e., a frame received every 20ms with little deviation).

Hello Guys, sorry I know the case is closed but I try to make my bot speak into my ms teams meeting and I didn't succeeded.
Do you have some sample about the use of AudioSocket.Send ?
I have some noïsy sound going with AudioVideoFramePlayer, and it doesn't work at all using direct AudioSocket.Send raising an exception like: The supported buffer sizes for the format Pcm16K are: 10ms 20ms
And and..I suppose I have to manage kind of temporisation and paquetisation, but "how" ?
Thanks in advance

I got it :-)
Have to be managed as a Swiss watchmaking


pmcollector version 5.1.4-0 uses unix sockets

Hello,
After upgrading to the 5.4.1 version of spectrum scale, the pmcollector does not provides a queryinterface anymore, only an unix socket.
Is it possible to use the bridge with this unix socket (/var/run/perfmon/pmcollector.socket) or is this version not supported  yet?
Thanks!

Hello,
first of all you need to check in the SUPPORT_MATRIX for the bridge version supporting the IBM Spectrum Scale version which is in your usage. (For IBM Spectrum Scale 5.4.1 the bridge versionv7.0.6 should be fine)
You will also need to generate  scale_grafana API-key on the Spectrum Scale side and include the key value in the bridge settings. Read the following article in the IBM Spectrum Scale bridge for Grafana Wiki. This API key will allow the bridge to talk to pmcollector over unix socket.

Hi Helene,
Thanks for your answer.
However, the documentation you are pointing me to is using the port 9980 on the localhost interface, not an unix socket file.
What i was trying to say is that the pmcollector now seems to only expose the socket file /var/run/perfmon/pmcollector.socket to accept requests. I don't see where we can configure the grafana bridge to use this file instead of the localhost:9980 address.

Hi Helene, Thanks for your answer. However, the documentation you are pointing me to is using the port 9980 on the localhost interface, not an unix socket file. What i was trying to say is that the pmcollector now seems to only expose the socket file /var/run/perfmon/pmcollector.socket to accept requests. I don't see where we can configure the grafana bridge to use this file instead of the localhost:9980 address.

The grafana bridge v7.0.6 does it automatically. Important, you have generated scale_grafana API key on the scale side and passed through the API Key value to the bridge config

I have correctly generated the api key and added it to the bridge config. But i keep getting the following error when i start the bridge.
I did a small test and the bridge is sending a request to the 9980 port, not to the /var/run/perfmon/pmcollector.socket socket.
Apart from the apiKey i am using the default config. Is there something i missed?
2022-08-02 14:51:16,597 - bridgeLogger - INFO     -  *** IBM Spectrum Scale bridge for Grafana - Version: 7.0.6 ***
2022-08-02 14:51:16,597 - bridgeLogger - MOREINFO - zimonGrafanaItf invoked with parameters:
port=4242
protocol=http
server=localhost
serverPort=9980
retryDelay=60
apiKeyName=scale_grafana
caCertPath=False
includeDiskData=True
logPath=/var/log/zimon/
logLevel=10
logFile=zserver.log
2022-08-02 14:51:16,598 - bridgeLogger - DEBUG    - readSensorsConfigFromMMSDRFS attempt to read /var/mmfs/gen/mmsdrfs
2022-08-02 14:51:16,599 - bridgeLogger - DEBUG    - __do_RESTcall invoke __ params: perfmon/topo GET None
2022-08-02 14:51:16,599 - bridgeLogger - DEBUG    - createRequestDataObj __ created request
2022-08-02 14:51:16,600 - bridgeLogger - WARNING  - Perfmon RESTcall error __ Server responded: 503 Connection refused from server
2022-08-02 14:51:16,600 - bridgeLogger - ERROR    - QueryHandler: getTopology returns no data.

It looks like you have an issue on the IBM Spectrum Scale Side (Connection refused) . Are you running the bridge on the pmcollector node or remote one? If you are running locally, then I can provide you some instructions how to increase traces of mmsysmon daemon, to see what is the reason the daemon refuses this communication. Basically with switching to unix domain socket we did introduce the api key authentication verification. This verification is done by mmsymon. That means, the request from the bridge is sent over REST API to 9980. mmsysmon daemon is listening on this port, and does verify api key for each incomming request. Finally it sends the request to unix domain socket. The best way, to continue investigation would be, an opened issue by IBM Spectrum Scale support. You can reference to this conversation in the ticket, support team will contact me and I can provide you some instructions for the next steps in the problem investigation.


cleanup [3/n]: mypy-protobuf & minor implementation changes

Stack from ghstack (oldest at bottom):

#30
-> #29
#28
#27
#25
#23
#22

Overview:

Instead of using the default --pyi-out option in the protoc (protobuf source to python model generator), we now use mypy-protobuf which is actually much better and thus we can remove most of the hacks we need to make mypy work with it.
We still need to be able re-write imports because even mypy-protobuf uses the wrong import location (import common_pb2), that part has been updated to deal with this.


feat: Some lemmas about abs, sqrt , and ZMod

@YaelDillies Sorry, I'm in no rush to get them into mathlib, but I'm short on time, this is not my main job.

Not sure about the placement of pow_sub_pow_le in Algebra.GeomSum, the proof uses the geometric sum, but it doesn't appear in the actual statement..

Yael: It would be easier to review (mostly, you wouldn't wait for so long) if you opened one PR per file instead of putting all the changes together.
[...]
Jakob: Sorry, I'm in no rush to get them into mathlib, but I'm short on time, this is not my main job.

Jakob: are you aware that the mathlib maintainer / reviewer team all have other jobs as well? Unless you're willing to meet reviewers half-way and restructure your PRs a little to make them easier to review, they'll likely stay as "awaiting review" forever. This is particularly the case if you make comments like this one, which (whether intentionally or not) creates the impression that you think your time is more valuable than the reviewers'.
To me this PR looks like a rag-bag of random lemmas, all completely undocumented, with no clear unifying theme and mostly without any obvious applications. Why does mathlib need these lemmas? A charitable interpretation is that they are the prerequisites for some more substantial code that you are going to add in a future PR; but then you should probably say so.

Sorry, that was not at all the intention oh my above comment. This PR was made as a response to this thread. All of those lemmas are in use in other projects than mathlib, but I thought they're better placed in mathlib itself.

Will close this for now, not too happy that I didn't get a reply to that question in the Zulip thread of "is it worth PRing lemmas like these". Would it be enough separation to split them into one PR concerning abs and one concerning ZMod?

Will close this for now, not too happy that I didn't get a reply to that question in the Zulip thread of "is it worth PRing lemmas like these"

It wasn't my intention to suggest that the lemmas are not "worth PRing". Indeed, Yael and I are trying to encourage you to make more PR's, not less.

Would it be enough separation to split them into one PR concerning abs and one concerning ZMod?

It would, if all the lemmas genuinely concerned one or other of those things. But this is not the case, e.g. the two Option.get! lemmas don't seem to have anything to do with either abs or ZMod.


Errors in example 1

In Example 1, data for documentRecords[3]: the comments for offset and length of SVG document say they’re the same as documentRecords[2]; these should instead refer to documentRecords[1]

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

ID: 7982ac71-0e79-40ed-11ce-1a42674ad14f
Version Independent ID: b3d4ac02-0d14-a9fd-b76e-9883796a0309
Content: svg - Scalable vector graphics table - Typography
Content Source: typographydocs/opentype/spec/svg.md
Product: windows
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

Closing as Fixed.


Fab for search delegate

Description
FAB for SearchDelegate to only exit (navigate back) to the previous context.
Since due to unusual and large screen sizes an implementation of FAB to only exit the search delegate is required.
The following code will add the FAB if the user makes 'showFloatingActionButton ' as true which is defaulted to false;
The FAB is also given a default size of 54.0 and Icon (Material Arrow -back icon) is given a default size of the size of 44.0.
The Icon colour follows the primary Icon theme colour.
The FAB background colour follows the primary colour described in the theme.
The FAB has a default elevation of 10.0,
The FAB also pops with the result as specified by the user for the close function to return on pop context.
Related Issues
#65309
Tests
I added the following tests:

Added test to open the Search Delegate and then close using FAB.

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

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

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@googlebot I signed it!

Based on feedback inthe issue, I'm going to close this PR. Please feel free to discuss further in the issue.


Question about redirect functions

So this isn't really a bug or something like this but I hope I still get a reply.
I am trying to make a plugin that changes the redirect to a meta refresh one instead of 301 if the URL belongs to youtube.
yourls_add_action( 'pre_redirect', 'no_preview_func');

function no_preview_func( $location, $code = 301 ) {

	if(substr($location, 0, 23) == "https://www.youtube.com" || substr($location, 0, 16) == "https://youtu.be" ){
		$location = $location[0];
		return '<meta name="description" content="' . $location . '" />
				<meta property="og:title" content="Youtube" />
				<meta property="og:description" content="' . $location . '" />
				<meta http-equiv="refresh" content="1;URL=' . $location . '">';
	}
	else{
		yourls_do_action( 'pre_redirect', $location, $code );
		$location = yourls_apply_filter( 'redirect_location', $location, $code );
		$code     = yourls_apply_filter( 'redirect_code', $code, $location );
		// Redirect, either properly if possible, or via Javascript otherwise
		if( !headers_sent() ) {
			yourls_status_header( $code );
			header( "Location: $location" );
		} else {
			yourls_redirect_javascript( $location );
		}
	}
	die;
}

How does the pre_redirect work and where is the difference between "yourls_add_action" and "yourls_do_action"?
I'm having trouble with understanding in what order and even how the pre_redirect works. Even if this plugin is enabled the status code is still 301. Is there any way to remove the status code and output the html (meta stuff) with a code 200?
Also, when I enable the plugin, I get a "too many redirects" error. Any body know why?

Your "meta stuff" seems very awkward... and may not work or may throw errors. Do you really need it?

hardcoded in functions.php on line 683

...

No 302 does not what I want and didnt really help with my problem either.

Alright... Fixed it after hours of confusion

@DatDraggy Did you publish your plugin?


Name Changes saving not user prefered names

Name changes are an edge case, because the name that we save to send the status of the filing back to the user is the legal name, not the new/preferred name. Since we aren't forced to use their legal name, we should use the newly desired name, but it's form specific what the new name might be.
However, since one of the LA forms that'll be using (https://github.com/lagniappe-law-lab/docassemble-LANameChange) is a name change form, we should handle that edge case.

This is technically possible now, but the solution is to specify the full email template in the docassemble interview, with the email_confirmation_contents var (https://github.com/SuffolkLITLab/EfileProxyServer/commit/a8833a1f90df8ebb42aa931da043a5e840d75b35). Just need to change that in the interview itself. I'll keep this issue open here, because I don't think I can transfer it to https://github.com/lagniappe-law-lab/docassemble-LANameChange quite yet (additionally, it's not actually using e-filing yet).

Given how much Louisiana has stalled with E-filing, going to mark this as not planned. If/when anyone else decides to make a name change form, they can use existing features to get everything to work, especially with our standardization of preferred_name in AL.


Add Animated Tic Tac Toe

Community Contribution
Link to live project, video, or image:

https://theabbie.github.io/TicTacToe/

Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram: @sasta_abbie
Twitter: @theabbiee

@gruselhaus


clang-tidy/format cleanups

Description:
clang-tidy/format stuff
git clang-format HEAD~1 can be used to run it against the current commit only.
clang-format -i afalg.c will apply all the changes to the file.
Note that these changes are purely cosmetic.

Thanks!  Unnecessary to do it, but It took me a while to setup CI here, and I guess I can't run it without a rebase.


Scale down staging environment

Scale down staging repository accordingly

Scaled down to 1 instance of db.t3.medium: https://walletconnect.slack.com/archives/C044SKFKELR/p1706890602749979?thread_ts=1706719136.895359&cid=C044SKFKELR


latest ggml version sync

This is an attempt to rebase on the latest commit of ggml master branch. My primary goal behind it is to add Vulkan/OpenCL support as I only have AMD GPUs.
Tested and working well on CPU, but I don't have any nVidia card around so I cannot test CUDA backend.
This needs the following PR on ggml to work : https://github.com/balisujohn/ggml/pull/1

It'll be maybe 10 days before I can properly review this but it looks like really solid work and I will make sure it gets merged.
One thing I'd like to preemptively request is an update to the readme listing the extent of support for Vulkan/OpenCL and adding compile instructions if any special instructions are necessary for those compile processes.

Agreed, other backends support will come in different PRs to avoid polluting this one. And will take me more time as it's the very first time I'm dealing with compute shaders and tensors.
Tell me if I'm wrong, but porting op_pad_reflect_1d, unfold_1d and conv_transpose_1d should be enough.

I expect it will be similar to the ops needed to add metal support, listed here https://github.com/balisujohn/tortoise.cpp/issues/14. But I haven't confirmed there aren't additional ops needed.

Vulkan can support macos quite easily right?

I have isolated the divergence in behavior on CPU to this OP https://github.com/balisujohn/tortoise.cpp/blob/f21e5d53e26fd5774845b3f3438b4a7e482ab31c/main.cpp#L2601 for some reason this ggml_mul_mat op gives different outputs given the test input in the version of GGML in your commit and the version the master branch of tortoise.cpp currently points to. This could be related to a change to how GGML implements matrix multiplication. Our options are to either create different test cases for GPU and CPU, and change the CPU test cases to match the current CPU behavior,or isolating the divergence in ggml_mul_mat behavior to vanilla GGML versions trying to get it fixed upstream. I lean somewhat towards creating separate CPU and GPU tests so we can keep development moving.

just to note, I'm also having a hard time porting it to Vulkan, after implementing the missing *_1d() functions, the output is total garbage (white noise + buzzing sound).
Don't know if it could be related

Definitely the first thing I'd recommend trying is seeing if any of the tests pass with the vulkan process by leaving only 1 uncommeted at a time, that could help isolate the divergence in the Vulkan process.


ci(release): properly fix version set in release

This one should do the trick

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

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


Please invite me to the GitHub Community Organization

Hello everyone!
Nice to meet you!
Thank you!

Welcome to the Community!

@Sonichigo can you add the invite label?


Better type checking for XBlock fields

Given a class like this:
class MyBlock(XBlock):
    my_bool = xblock.fields.Boolean(...)

I want mypy to understand this:
type(MyBlock.my_bool)               # --> xblock.fields.Boolean
type(instance_of_my_block.my_bool)  # --> bool

We can kinda hack around it right now by doing this:
class MyBlock(XBlock):
    my_bool: bool = xblock.fields.Boolean(...)

but that annotation isn't entirely correct, because the class-level attribute will always be an instance of xblock.fields.Field.
We should see what django-stubs does in order to make this work for Django models, which are in a similar situation.

I'm folding this into:

https://github.com/openedx/XBlock/issues/707

because I can't see how to add useful type hints to XBlock without making the fields behave correctly.
Fortunately, I think this should be doable, because XBlock fields are implemented using the descriptor protocol, which mypy is awesome enough to understand 🔥 I'm pretty sure that this is how Django does things, too.


chore(master): release 0.5.0

:robot: I have created a release beep boop
0.5.0 (2023-09-08)
Features

handle window change event (#1417) (325b10f)

Bug Fixes

clean up buffers properly (#1428) (48ef8e6)
highlights: fix highlights when emojis exist (#1430) (050be0b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vscode-neovim/vscode-neovim/releases/tag/v0.5.0 :sunflower:


RecoveryTaskCreator - swap log argument order to match format string

Summary
The log should print failed to delete <count> snapshots within <timeout> secs., but was printing failed to delete <timeout> snapshots within <count> secs., which was confusing.
Requirements

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

@allcontributors please add @baroquebobcat for code, bug