Using Jquery in Angular SPFX WebPart

Category

[ ] Question

Desired Behavior
Could you please explain how to use JQuery in Classic Angular migrated SharePoint Framework WebPart?
Thank you.

Could you explain a bit more what you would like to use jQuery for?

I have to migrate few JQuery webparts to Angular SPFX client side webparts. The legacy webparts uses JQuery and JQuery UI functions which i need to convert Angular or i should continue use the JQuery in SPFX webparts.
Example JQuery actions

closest
find
each
parent().addClass
append, etc.,
fadeIn("slow")

Ideally when using Angular you wouldn't manipulate DOM outside of Angular. Instead you would build directives or components that manage their DOM using Angular's APIs.
If you have jQuery web parts why not just keep using jQuery with SPFx?
My recommendation would be either to stick with jQuery in SPFx or migrate to Angular using directives or components.

Thank you Waldek. Let me try this and keep you posted.

Hi Waldek,
I tried to add my classic custom JavaScript file (from our cdn) in SPFX webpart via config.json but i am unable to call the functions written inside custom js inside the render method.
Do you have any examples for this scenario?

This article might be helpful: https://blog.mastykarz.nl/migrate-sharepoint-javascript-customizations-sharepoint-framework-reference-functions/

Thank you Waldek.
This is what i am trying to achieve in SPFX. Please let me know if you have any better idea.
https://blog.sprider.org/2016/11/22/webparts-in-tabs-accordions-where-tabs-act-as-accordions-in-lower-resolutions/

This solution is based on manipulating the DOM outside of the web part. SharePoint Framework discourages this approach as it's error-prone with future updates to SharePoint: if the way web parts are rendered on the canvas would change, your solution would break.
While it would be okay to render tabs inside your web part, rendering all web parts on the canvas as tabs is something you should avoid to ensure that your web parts work as intended across all platforms and devices.

Yes, it is something similar to the custom actions(JS Injection) we used to write based on some IDs.
Let me think about a different solution in this case. Thank you Waldek for your valuable feedback.

You linked to a SharePoint blog using jQuery/HillBilly Tabs
But if you have React, and understand Tabs are different States,
then you don't need any dependencies
Plenty of React-Tabs examples around:
http://blog.ricardofilipe.com/post/react-tabs-component
is a good starter

Hi Danny,
Thank you for your inputs.
I guess the point what Waldek making here is "Don't rely on any SharePoint Div IDs" as it will change in future".


Add support for TypeAliasDeclaration

This adds support for TypeScript/Flow's type alias declaration:
type NumberArray = Array;

@johnjbarton PTAL

Wow, parsing by leaps and bounds!  LGTM


[optional] Make Feature generation a "one-click-use"

We could condense the feature generation notebooks into a python script and makeit easier to use.
This is optional and a reminder for the polishing-phase.

For further useability we could implement tqdm as generation feedback.


test: throw on deprecation

This landed with a bad commit message.
@JustinBeckwith what is the root cause of the bad commit message being there in the first place? How do we avoid this going forward?

Ugh, I apologize, this is my fault.  I got my git wires all crossed up while using repo exec.  I thought I was adding a follow-up commit to the origin (which had the PR message), but it ended up being the original commit.  This was user error on my part.
On how to avoid it moving forward - should our commit messages always match the title of the PR?  That seems like something we could enforce with a pre-commit hook?

I was more concerned with the repo exec tool. I have seen disorienting commit messages from it a few times.


POST /slp/transactions

Pull Request Test Coverage Report for Build 2599

0 of 0   changed or added relevant lines in 0 files are covered.
273 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.9%) to 64.622%

Files with Coverage Reduction
New Missed Lines
%

dist/routes/v2/slp.js
273
36.75%

Totals

Change from base Build 2595:
-0.9%

Covered Lines:
2235

Relevant Lines:
3279

💛  - Coveralls


Update go-upper.obo

Hi @balhoff
Alex needs to use this to be able to use the new SO term (not sure exactly where that is being used, so I cannot give you more explanation)
Thanks, Pascale

That would be great!
On Thu, May 18, 2023 at 4:00 PM Jim Balhoff @.***>
wrote:

I'm not really familiar with this file. We should probably review all the
files we've got at the moment.
—
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/pull/25402#issuecomment-1553103388,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEPWUHBMYRT3BWVAANKU4LXGYTOHANCNFSM6AAAAAAYGELUNI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Providing Authentication to the Notification API

I think this is more a question rather than an issue, which had previously been asked last year in #439 but has since been closed.
I would like to keep the unauthenticated notification proxy disabled and instead require authentication to access those notification assets. I have tried doing so by using a long lived token in an Authorization header and I've also tried by adding "?token=" to the end of the URI but both attempts end up with a 403 error.
Is it actually possible to access the notification assets with authentication and if so, what's the correct token to use for this and how should it be supplied?

What are you using for notifications?

I’m wanting to leverage the notification API to grab certain event clips when they happen and upload them to cloud storage, incase whatever is happening in the incident ends up taking out my home storage.
I had been using SgtBatten’s blueprint to also send notifications to my phone which currently isn’t working with thumbnails after disabling the unauthenticated proxy but I figured I can resolve that once I learn how the authentication process works (if it is indeed a thing, that is)

The notification API is designed to be used by HA notifications with don't support any kind of authentication. The path must be publicly available. There is already a token in the URL (the event id). Adding a second token won't really add any additional security other than another layer of obscurity. Additionally, there is a setting in the integration to limit the amount of time an event can be accessed without auth. For example if set to 300, this would require someone to be able to guess the event ID within 5 minutes.

For uploading the cloud storage, I would suggest just using Frigate's APIs directly in your automation rather than the notification API.

You make a good point that the event id is basically a token of its own - I probably had some security blinders on and needed to step back a bit. It’s good to clarify that it needs to be publicly available tho, as that other issue I linked had some responses alluding to being able to use a long lived token to authenticate.
The main reason I settled on the notification API for this use case was because rather than using the frigate API to export the clip and then copy that exported file, the notification service seems to have already made that clip available without having to do that extra work recreating the clip.

If you have frigate running via docker, you can stand up an nginx container next to it to add basic auth to the unauthenticated api. Then when asked to enter the URL into the home assistant integration, include the user/pass defined in nginx like so<EMAIL_ADDRESS>I have this setup on my network and can confirm that it works.
If you arent comfortable rolling your own nginx config, you can use a premade docker image like this one: https://github.com/dtan4/nginx-basic-auth-proxy


add horizontal scroll bar to the list view

Is it possible to add horizontal scroll bar to the list view?
Originally posted by @anton-petrov in https://github.com/aminalaee/sqladmin/discussions/579

When I updated tabler to the newest version, horizontal bar appeared :)

Cool, I will update the tabler version now.

Updating Tabler only works fine for me. I will create a PR so we can check this out.

What files did you updated?

This issue can be closed now.


State updatePiholeAvailable is not updated

The state "updatePiholeAvailable" is not updated, it is always false (i am using PiHole v5)
It should update if one of the following states is set to true:

versions/FTL_update
versions/core_update
versions/web_update

Unfortunatly this is not an error, because this datapoint was removed with on of the last updates, according to the three update-datapoints you named.
Would suggest to add a new datapoint yourself or add a feature-request for that.

Unfortunatly this is not an error, because this datapoint was removed with on of the last updates, according to the three update-datapoints you named.
Would suggest to add a new datapoint yourself or add a feature-request for that.


URL is broken

Hi team,
In this page https://github.com/SAP-samples/multi-cloud-html5-apps-samples/tree/main/optional-self-hosted-backend when you click the link to "managed-html-runtime-fiori-mta" project. You will find the link is broken. Who can help to recover it?
Thanks~

Thanks for pointing it out!


Roll engine 7c4f6a68302f..63d5f015dd92 (5 commits)

https://github.com/flutter/engine/compare/7c4f6a68302f...63d5f015dd92
git log 7c4f6a68302fe3d51f82e40e2e145aead673e20f..63d5f015dd92ba6921652947b42bf43b4e8b43f9 --no-merges --oneline
63d5f015d Add Dart SDK > 2.3.0 constraint to license script (flutter/engine#9385)
ece4f5937 Update Metal backend to account for Skia updates. (flutter/engine#9383)
c187e5068 Roll Dart to version 7340a569caac6431d8698dc3788579b57ffcf0c6 (flutter/engine#9374)
b70bc3b8e Roll src/third_party/skia 01c9b89a8520..0233b1edf242 (13 commits) (flutter/engine#9382)
a632b781e Message loop task heaps are shared (flutter/engine#9335)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Spell Traits and Traditions Unreadable

Instead of showing up how they previously looked, spell traits and traditions are overlayed with grey and black lines with white text, making it incredibly difficult to read what each entry says.

Note that this only occurs in the Compendium Browser, and not on spells imported into a spellbook.


Training accuracy is coming 0.

While training I am getting 0 accuracy, is there a bug or I am misinterpreting something??

Could you give more info?

There was some problem when the accuracy was being returned by the _eval function in builder.py. Found out that it was because 'correct_n' was of type integer and while finding accuracy correct_n[0]/n was becoming 0. Just changed the type of correct_n as follows "correct_n = correct_n.float()".

Do you use python2?

No, I am using python 3.6


Failure Event Logging

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description

Enable the addition of events that explain the causes of service disruptions.
Capture relevant information for each failure event, such as problem description, start and end dates and times, duration, and any other pertinent details.
Provide the ability to filter service failure events based on specific criteria, such as dates, duration, failure type, and more.
Offer statistics and visualizations displaying the frequency of failure events, allowing users to identify patterns and trends.
Empower users to make informed decisions based on the recorded failure events, including identifying recurring issues and planning improvements or infrastructure changes.

✔ Solution

Add a form or interface within the Uptime Kuma application that allows users to register service failure events.
Include fields in the form for entering the problem description, start and end dates and times, duration, and any other relevant information.
Store the failure events in a database associated with each monitored service.
Implement filtering options in the user interface to enable users to search for failure events by date, duration, or other custom criteria.
Utilize the stored data to generate statistics and visualizations illustrating the frequency of failure events, such as line charts or summary tables.
Integrate these statistics and visualizations into the Uptime Kuma user interface, ensuring easy access for users to make data-driven decisions.

@DukazzCruz Please limit yourself to one feature per feauture-request.
Also go into detail why this is nessesary.
Rationale: Like this, issue-deduplication is really hard (i would say impossible) and working on mulit-issue issues is more daunting than nessesary.

@CommanderStorm:
I understand the functionality is needed because if events could be tagged by categories, it would be possible to track recurring events and take action to prevent them from recurring.
Recurring issues in physical and cloud server environments:
Hardware failures.
Infrastructure or network configuration problems.
Problems with the Internet service provider.
Insufficient scalability.
Security vulnerabilities.
Being able to track and monitor these events.
Monitoring the events that cause downtime can lead to decisions like switching providers, replacing devices, revising settings, and more.

What you mean by event and what do do you mean by category.
Is #1253 what you mean?


Async get dsl

Design and implement async get DSL.
Both suspend and async options should be provided.
There are different DSL options
1.
httpGet {
    mode = async
    ...
}

asyncHttpGet {
    ...
}

For more information see how httpGet { } and string extension for asyncHttpGet are implemented

Implemented in 0.4.0


chore: delete package-lock.json

For #412

By the way, it looks like this step should be ignored due to it cannot access the secret from a Pull request. See also:

Due to the dangers inherent to automatic processing of PRs, GitHub’s standard pull_request workflow trigger by default prevents write permissions and secrets access to the target repository.


Make --wait work on Linux

including using Atom as the git commit editor

--wait now works on the latest Atom release. This was probably fixed a while back. I will close this and mark it as resolved.
Thank you for your contribution.


Custom composer repo and npm registry url in php72

I completed the 3 steps below:

[x] I've read the Contribution Guide.
[x] I've updated the documentation. (refer to this for how to do so).
[x] I enjoyed my time contributing and making developer's life easier :)

Please merge this PR, the reason is here

Hi @CantonBolo can you check all php version Dockerfile. It looks a little different.

@bestlong I have passed the tests at local environment. The old versions has been merged at #1387 , and current version have passed all checks of CI.


Queue items not matching running pipelines

Queue seems to be missing items. This could be either caused by a server restart or by adding / removing agents through the autoscaler.
We have just 1 queue entry, but at least 3 pipelines should be running somehow.

closing as I haven't noticed this recently


Request / Question: Printing tags?

Great library, Tim! Beautiful and clean.
I'm interested in printing the tags when I print the image, but I don't see the tags when just printing the page. Any ideas on how to handle this properly?
Thanks.

same question for me too.

Sorry for the late reply. Can either of you set up a demo for me to test, please?

We ended up having to use jCanvas as our "tagging" requirements became more complex so I don't have anything readily available.
Maybe @pisdoktor does, though.

i am working another project now. I will set up a demo for u soon @timseverien


The need of Provisioning Profile for iOS project

Hello!
So in the documentation, it mentioned about the need for the provisioning profile if we want to develop it in the iOS device. so my question is whether the mediapipe can run on the simulator or not. because right now I still have some errors when building any example from the mediapipe.xcodeproj
thanks in advance!

Hi @yohanessatria, Have you looked at this closed issue #2132 and #2132(comment), shared the workaround to use mediapipe on iOS simulator.
Meanwhile, Could you provide the complete error log to investigate further. Thank you!

@kuaashish Hi, sorry for my late reply. Yes, I have seen this post after you mentioned it. But my problem is that I can't even build the iOS example project.
Here's the screenshot of  the error I get whenever I try to run the project

also,

I got this error message(red highlight) mentioning about failed: missing input file '//mediapipe:provisioning_profile.mobileprovision'. So is this the actual cause of my problem? if it is, is there any way for me to run MediaPipe without any provisioning profile since I am not subscribing to Apple Developer Program

Hi @yohanessatria, Yes, It looks like an error has occurred because of the missing provisioning profile. You could follow this closed issue #95 and #95[Comment] to fix it.
Apple allows to deploy, run and test the application on iOS devices without subscribing to the Apple developer program.
Please follow this #SO issue for more information.
Thank you!

Alright, thanks for your answer! Problem solved.
Thanks once again!


[From VSTS] Installer vs 2017 breaks vs2015 installation. Reshaper 9 shortcuts don't work

Quoted text from VSTS bug:

I had to click tools->reset all in vs2015 to fix this issue
Now projects referencing Fsharp.Core 4.4.0 dont compile

I don't have a machine to test this on, but this isn't the only case where RC has broken a vs2015 install.  See this blog post comment: https://blogs.msdn.microsoft.com/visualstudio/2016/11/28/productivity-in-visual-studio-2017-rc/#comment-219885
cc @Pilchie @brettfo

I've not been able to repro this and have not observed a broken VS2015 installation due to an install of the F# tools in VS 2017.  Closing unless a reliable repro can be produced.


look into sklearn preprocessing functions

See if any of these could be useful for graphs
http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.QuantileTransformer.html#sklearn.preprocessing.QuantileTransformer

As alternative to PTR?

Yes, Jovo mentioned quantile transform linked above but there are many others that use the same interface, could have a generic transformations class if there are enough of these that could be useful. Definitely log transform at least


gamin: fix src and homepage urls

Description of changes
This fixes the build by fetching source from archive, but it seems abandoned so we may want https://github.com/NixOS/nixpkgs/pull/305197 instead
Close #338648

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

Yeah, lets remove it instead if it is dead and unmaintained.


'make lint' fails with error - no such linter "gomnd"

Expected Behavior
make lint to work
Actual Behavior
(go version - go version go1.13.8 darwin/amd64)
Results in this error
golangci-lint run --fix
ERRO Running error: no such linter "gomnd"
make: *** [lint] Error 3

Steps to Reproduce the Problem

Clone https://github.com/dapr/cli to $GOPATH
cd $GOPATH/github.com/dapr/cli
run make lint

you may not install the latest go(1.14) and golinterci :) please install the latest version

I have it installed already - https://github.com/golangci/golangci-lint Just  upgraded to go 1.14 as well - same issue
Would be great to have it documented as pre-requisites here - https://github.com/dapr/cli/blob/master/docs/development/development.md#prerequisites

FYI, just updated the golangci-lint version (to 1.23.8) and make lint worked fine. Thank you! @youngbupark
golangci-lint version
golangci-lint has version 1.23.8 built from 76a82c6 on 2020-03-04T14:27:24Z

FYI, just updated the golangci-lint version (to 1.23.8) and make lint worked fine. Thank you! @youngbupark
golangci-lint version
golangci-lint has version 1.23.8 built from 76a82c6 on 2020-03-04T14:27:24Z

Thanks for the update!


Add dependency for showing fields when a specific field is null or zero

Supporting a dependency on a field that should be null or zero, as requested by @wize-wiz
I am not sure if it's still compatible though. I used it for a project in January and have not used it since. Should be easy to modify though if necessary.
@wize-wiz Did you test if it still works by any chance?

Dank je wel en geen probleem ;) I've tested it and I and made it compatible.


Handle the default case in allProcedures() for other proc types

Better fix for PR https://github.com/code-dot-org/code-dot-org/pull/24177.

I looked into this a little more, because this looks like the right thing to do, but obviously it isn't how behavior categories currently get auto-populated.
The flyout creation code falls through to this case when the category has the attribute custom="Behavior":
https://github.com/code-dot-org/blockly/blob/85815822fb444e8eba4ba5b88b057551595ccdbe/core/ui/block_space/flyout.js#L491-L504
This calls Blockly.Variables.flyoutCategory, which finds all the behavior variables, and creates corresponding getter blocks (based on the setter block indicated elsewhere by Blockly.Variables.registerGetter).
The method you're modifying is used in Blockly.Procedures.flyoutCategory, which is used in a previous case in the flyout creation code, here:
https://github.com/code-dot-org/blockly/blob/85815822fb444e8eba4ba5b88b057551595ccdbe/core/ui/block_space/flyout.js#L460-L481
However, it isn't go into that case because the category custom attribute is "Behavior", not "PROCEDURE". That is, unless Blockly.topLevelAutoPopulate is set, which is the case for Caldwell's level:

That setting is why the behaviors weren't showing up, and it's also messing up the rest of the toolbox by turning every category into a function category:

So a few conclusions:

I turned off that topLevelAutoPopulate setting for the level. That brings back the shared behaviors, but the getter blocks still don't accept the additional param
Restrict the topLevelAutoPopulate setting so that it can only take effect if the toolbox actually has no categories
We still need something along the lines of this PR in order to correctly create the behavior getter blocks with params

Sorry for the very long comment :sweat_smile:

Thank you for the detailed write-up!  I was missing quite a few things in the original PR, which should be addressed now.
It feels semi-gross to add this behavior-specific logic to the general Blockly repo.  But on the flip side, I'm not sure we want to expose the number of hooks we'd need to configure this behavior outside of Blockly, just for this one case.  Curious to hear your thoughts!

Codecov Report

Merging #143 into master will decrease coverage by 0.04%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
- Coverage   54.96%   54.92%   -0.05%
==========================================
  Files          96       96
  Lines       11439    11451      +12
==========================================
+ Hits         6288     6290       +2
- Misses       5151     5161      +10

Impacted Files
Coverage Δ

core/ui/block_space/flyout.js
61.97% <11.11%> (-1.15%)
:arrow_down:

core/utils/procedures.js
46.03% <33.33%> (-0.69%)
:arrow_down:

Continue to review full report at Codecov.

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

The flyout initialization code accepts an arbitrary initialize function, which is currently used to add the "Create a Behavior" button in the Behavior category:
https://github.com/code-dot-org/code-dot-org/blob/92996dab165f2f6e196ee70650b8147d4e43070d/apps/src/gamelab/blocks.js#L339-L347
You could add a config option to only run the initialize method (skipping the the default autopopulation code), and then move the behavior-specific code from this PR to that initialize method.
If you don't go that route, you should probably just get rid of that config option (it's only used for behaviors) and move the button adding code to the behavior-specific code here.


isclose with complex numbers

currently isclose does not work with complex numbers.
I'm not sure what the correct way to handle them with regards to one or both nan / inf

closed by #512


XEN host up / Add host_ip

To check if an XCP server is up or not, we can serve a metric xen_host_up with the status of the server, for example if we have a [Errno 113] No route to host exception. By using "xen_host_up," you can receive alerts whenever a host is down.
Here's an example:

Another option is to create a Grafana Panel that provides a quick overview of the status of XCP hosts.
The values are as follows: 0 for Host Down and 1 for Host Up.

With this setup and the host_ip included in the host metrics, we can provide a link to the panel that filters the results based on the host_ip, allowing for quick access.
Any comments and/or suggestions are welcome. this is a Basic concept by now.

Let me know when this is ready for review by marking the PR as "ready for review".

I didn't have much time to continue on this, this changes are working as spected in my environment since the day I created the PR.
I need to see if the exporter is connected to a pool master, if we need some other chage.

Hey Everyone,
I have deployed and tested the changes in my docker environment and confirm that all the features are working.

What's the state of this PR? I can test it tomorrow if another review is what is needed.

This is ready for review, I was thinkin to cash the name of the servers, but maybe it's for another issue.
I'm using this in my production environment scince I've created this pr and it's working as intended.

I had to resolve some conflicts, there would be necessary to review if I didn't break anything, I wouls start testing this changes

Sounds good Is there a new JSON dashboard available ? On 8 Aug 2023, at 4:36 am, Jonathan Correa Paiva @.***> wrote:
This is ready for review, I was thinkin to cash the name of the servers, but maybe it's for another issue.
I'm using this in my production environment scince I've created this pr and it's working as intended.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

This is the configuration of the panel I'm using,
  "id": 17,
  "gridPos": {
    "h": 18,
    "w": 4,
    "x": 6,
    "y": 1
  },
  "type": "stat",
  "title": "XCP Host status",
  "transformations": [],
  "datasource": {
    "uid": "uid",
    "type": "prometheus"
  },
  "pluginVersion": "9.2.8",
  "fieldConfig": {
    "defaults": {
      "mappings": [
        {
          "options": {
            "0": {
              "index": 1,
              "text": "Off"
            },
            "1": {
              "index": 0,
              "text": "On"
            }
          },
          "type": "value"
        }
      ],
      "thresholds": {
        "mode": "absolute",
        "steps": [
          {
            "color": "green",
            "value": null
          },
          {
            "color": "red",
            "value": 0
          },
          {
            "color": "dark-green",
            "value": 1
          }
        ]
      },
      "color": {
        "mode": "thresholds"
      },
      "links": [
        {
          "targetBlank": true,
          "title": "",
          "url": "link"
        }
      ]
    },
    "overrides": []
  },
  "options": {
    "reduceOptions": {
      "values": false,
      "calcs": [
        "lastNotNull"
      ],
      "fields": ""
    },
    "orientation": "horizontal",
    "textMode": "value_and_name",
    "colorMode": "background",
    "graphMode": "area",
    "justifyMode": "auto"
  },
  "targets": [
    {
      "datasource": {
        "type": "prometheus",
        "uid": "uid"
      },
      "editorMode": "code",
      "exemplar": false,
      "expr": "xen_host_up",
      "format": "time_series",
      "hide": false,
      "instant": true,
      "legendFormat": "{{host_ip}} ",
      "range": false,
      "refId": "A"
    }
  ]
}```

I've obfuscated some values, but, it's only using the xen_host_up, witho a couple of Value Mapping and thresholds to show the colors.

Additionally I'm using a link to a custom panel for each xen_host

Has it been built into new image ? ghcr.io/mikedombo/xen-exporter:latest

That doesn't seem to be complete, are you able to share the latest JSON for Dashboard ?
thanks

I shared a panel that I have on my main dashboard with other values. I'm not using it in the dashboard commented on this repo. Let me create a new one so you can import it.
But for now, this panel is what I shared previously in the image.


Feat: Use asciinema

https://asciinema.org/

Fixed in https://github.com/mster/imscii/releases/tag/v0.0.2


Some keys for ArmorStand are missing.

As this utility suggests, there should be an Invulnerable and DisabledSlots key in the Keys catalog.

Is this for 1.11 or 1.10.2? 1.10.2 doesn't show any of this currently.

This will be partially solved by https://github.com/SpongePowered/SpongeAPI/pull/1688

Taking care of DisabledSlots as well.

With InvulnerabilityData supporting this, refer to https://github.com/SpongePowered/SpongeAPI/issues/1358 for supporting disabled slots. Will finish my work on it soon.


Unable to provision build agents in CI: "Provisioning request delayed or failed to send 5 time(s). This is over the limit of 3 time(s)."

Heads up that we are hitting errors like these in CI:
##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider ServiceUnavailable
,##[warning]There was a failure in sending the provision message: An unexpected failure occurred while attempting to contact the remote provider.
,##[warning]There was a failure in sending the provision message: An unexpected failure occurred while attempting to contact the remote provider.
,##[warning]There was a failure in sending the provision message: An unexpected failure occurred while attempting to contact the remote provider.
,##[warning]There was a failure in sending the provision message: An unexpected failure occurred while attempting to contact the remote provider.
,##[error]Provisioning request delayed or failed to send 5 time(s). This is over the limit of 3 time(s).

This is being tracked over at https://github.com/dotnet/core-eng/issues/11320 (private repo). CI seems blocked until it's fixed. 😕

It looks like this stopped happening, but there's no clear reason why.


Twitter to shut down JSON endpoint that enables share counts

https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform
This will happen November 20, and looks like there's no other usable alternative for this.
Would be nice at least to have a caching system to hold the actual count. Is this possible?

I just read about this the other day and I was about to log the same issue. I'm not the main developer on this, but I have contributed a few things recently (Skype, Reddit, LinkedIn).
I could be wrong, but I think storing the number of shares server side is a bit out of scope for this project. Right now, it's all just using JSON callbacks to get share numbers where possible, and just not displaying any share number if not possible via JSON. This script is really just a lightweight, easy to install sharing script, and I think incorporating some kind of server-side code would dimension
I do wish that Twitter wouldn't have made this decision, seems like a really shortsighted move. Hopefully they'll reverse it. Until then, I'll submit a pull request removing the tweet counter.

There's a free alternative to retrieve the Twitter share count: www.opensharecount.com It's not official though.

Very interesting, worth looking in to. Thanks!

Removed share counts from the plugin since they're not officially supported anymore


distinguish configurations base on pressing F5 (debug) or ctrl+F5 (launch)

I'd like to run one npm script defining a normal launch of an application by pressing ctrl+F5 (= launch the app) and the second npm script running the app in a debug mode by pressing F5 (= debug the app).

VSCode Version: 1.9.1
OS Version: Win 10

Steps to Reproduce:

Define 2 launch configurations.

{
    "version": "0.2.0",
    "configurations": [
        {
          "type": "node",
          "request": "launch",
          "name": "Launch Program",
          "cwd": "${workspaceRoot}",
          "runtimeExecutable": "npm",
          "runtimeArgs": [ "run-script", "start" ]
        },
        {
          "type": "node",
          "request": "launch",
          "name": "Debug Program",
          "cwd": "${workspaceRoot}",
          "runtimeExecutable": "npm",
          "runtimeArgs": [ "run-script", "debug" ]
        }
    ]
}

Run the first configuration by pressing ctrl+F5 and the second by pressing just F5 (debug mode).

Somewhat related to https://github.com/Microsoft/vscode/issues/16613


k-nucleotide fails with cons not callable

see krono/pycket-bench#7

Run failed return_code: -6
Cmd: /Users/tobias/dev/pypy/pycket-bench/bin/run-pycket PURE k-nucleotide fasta-500000

DEBUG:root:cwd: ShootoutBenchmarks
Output:
ERROR:
(('A . 757221) ('T . 753847) ('C . 495048) ('G . 493884)) is not callable
  while executing: (call-with-values (lambda () (time-run bench benchargs)) print-values)
  in module: k-nucleotide
RPython traceback:
  File "pycket_entry_point.c", line 130, in entry_point
  File "pycket_entry_point.c", line 1481, in actual_entry
  File "pycket_interpreter.c", line 560, in interpret_module
  File "pycket_interpreter.c", line 5285, in Module__interpret_mod
  File "pycket_interpreter.c", line 16747, in interpret_one
  File "rpython_jit_metainterp_warmspot.c", line 899, in ll_portal_runner__pycket_AST_ASTPtr_pycket_AST_A
  File "pycket_interpreter.c", line 31982, in portal
  File "pycket_base.c", line 275, in W_Object_call
Fatal RPython error: SchemeException

are we hanling this for icfp?

We should.


Fix missing virtual destructor for PluginUserArgsMixin.

Mostly cleanliness - it's good to build with -Wnon-virutal-dtor to detect more important errors and so this needs to be fixed. As the class don't have any contents it's not really a direct problem, but even
there best to be safe as adding the virtual destructor has no marginal cost for classes that already have
virtual methods.

Cherry-picked to v9.0.x branch.


Trace process exits

Hi,
First of all, thanks for such a great tool for observability.
My question is that how it is possible to trace process exits with bpftrace as already supported by bcc https://github.com/iovisor/bcc/blob/master/tools/exitsnoop.py
In our case, we are trying to trace processes with their

name,
start time,
args,
end time (or duration),
exit code

execsnoop already gives us enough informations for process name, start time and args but we also need to get process exit time (or duration) and exit code.
Thanks in advance.

Hi @fbs, Thanks for the hint 👍
I have managed get it working but now I have another but simple problem :)
I am able to get configurations over positional parameters like bpftrace -f json exitsnoop.bt -u <uid> .... But the problem is that I want to iterate over the positional parameters. I know it will be easier with bcc, but I don't want to switch to bcc from btrace just for such configuration challenge.
So the question is that, how can I iterate over positional arguments to get and check given options?
Thanks.

You cannot. I hope to add a flag parser at some point in the future but right now the best option might be to dynamically generate the bpftrace script from a shell script that does the handling :(

Thanks @bolinfest ! We're still sorting out some licensing issues but once we've figured it out, please feel free to contribute the script to https://github.com/bpftrace/user-tools


HTP_AUTH_UNRECOGNIZED for Bearer tokens

https://github.com/OISF/libhtp/blob/9cce4fb5348027fe666f21beeb829324a3afe79a/htp/htp_parsers.c#L178
This will flag the authorization header as HTP_AUTH_UNRECOGNIZED for Bearer tokens. Would it make sense to add 'bearer' as a type?

I think it would make sense indeed.
Do you want to propose a Pull Request about it ?

yeah I can push something up quickly but this would be my first commit here so bear with me as I learn the convention.

Thanks, waiting for your first PR then :-)

I'm not seeing any documentation on contribution guidelines and don't have access rights to submit a branch, could you point me in the right direction?

don't have access rights to submit a branch

You should fork this repository, and then create a Pull Request from your repository to this one

I'm not seeing any documentation on contribution guidelines

You can check the ones about suricata

Thanks for the info! https://github.com/OISF/libhtp/pull/325

Fixed by https://github.com/OISF/libhtp/pull/393


field loader of struct DataLoader is private

In the root query, I have multiple resolver functions that use the database, some of them via a dataloader.
For now I needed to use two separate db pools:
    Schema::build(query, mutation, subscription)
        .data(pg_pool)
        .data(DataLoader::new(PgLoader(loader_pg_pool)))
        .finish()

One pool is used via the dataloader:
ctx
  .data::<DataLoader<PgLoader>>()?
  .load_one(MyModelKey(id))
  .await?

The other pool is used directly:
sqlx::query_as!(MyModel, db_query)
  .fetch_all(ctx.data::<PgPool>()?)
  .await?

So, instead of having two pools, I wanted to have only one and reuse the dataloader pool:
sqlx::query_as!(MyModel, db_query)
  .fetch_all(&ctx.data::<DataLoader<PgLoader>>()?.loader.0)
  .await?

However this does not work, because the loader field is private.
Would you think that making that field public might be useful?

I recommend using Arc to wrap this pool object. 😁
 let pg_pool = Arc::new(pg_pool);
  Schema::build(query, mutation, subscription)
        .data(pg_pool.clone())
        .data(DataLoader::new(PgLoader(pg_pool)))
        .finish()

Thanks for the very quick answer! :smiley:
Will do that...
I'm thinking that the loader field is provided anyway by the user via the DataLoader::new(loader) function... so there will be also no harm in making it visible to him...
Another side question, is making multiple pools vs one pool have any effects on the app or db performance...

I'm thinking that the loader field is provided anyway by the user via the DataLoader::new(loader) function... so there will be also no harm in making it visible to him...

You are right, but it seems unnecessary. 😁

but it seems unnecessary

I see your point, hiding the internals will allow for flexible refactoring if needed :sunglasses:
However, generally speaking, it seems a little weird to swallow something the user has provided and prevent him from accessing it :worried:
How about:
impl<T> DataLoader<T> {
    /// Get the loader.
    pub fn loader(&self) -> &T {
        &self.loader
    }

(still insisting :joy:)

but it seems unnecessary

I see your point, hiding the internals will allow for flexible refactoring if needed 😎
However, generally speaking, it seems a little weird to swallow something the user has provided and prevent him from accessing it 😟
How about:
impl<T> DataLoader<T> {
    /// Get the loader.
    pub fn loader(&self) -> &T {
        &self.loader
    }

(still insisting 😂)

Well, I will add this. 😄

:+1: many thanks :tada:


Add a favicon

We should add a favicon for otrego!
Should live somewhere near: https://github.com/otrego/clamshell/tree/master/server/assets
Ex: https://github.com/otrego/clamshell/pull/250

Server moved out.


@xstate/fsm + Preact + Next.js - Shallow routing causing machine service to stop and not starting again

Description
Using @xstate/fsm + Preact + Next.js and shallow routing leads to re-rendering of the component and causing the xstate service to stop. Unfortunately, it seems the service is not restarted again.
The main issue here seems to be Preact. I tried the same setup with React.js without any issues.
Expected Result
Machine service should be stopped and restarted accordingly.
Actual Result
Machine service keeps being stopped.
Reproduction
https://codesandbox.io/s/strange-stallman-lbzf0

Click on "Go to wizard" (watch the url change to /wizard#first)
Click on "Next Step" -> Broken. Expected result would be to go to next step.

BUT, it works in following case:

Click on "Go to wizard" (watch the url change to /wizard#first)
Reload the page (Important! This is to have a clean render of the page and a working xstate machine)
Click on "Next Step" -> Now it works!

As I mentioned before that it works with React.js, here's a fork of my previous example but with React.js. Everything else is the same.
https://codesandbox.io/s/xstatefsm-react-nextjs-6iq7r
Additional context
@xstate/fsm 1.6.1
@xstate/react 1.3.3
https://github.com/davidkpiano/xstate/blob/main/packages/xstate-react/src/fsm.ts#L71
I found a potential issue why this problem exists. In useEffect() in Line 71 in file packages/xstate-react/src/fsm.ts the service is getting stopped in the cleanup function. If I change the useEffect() function to following code, it works:
  useEffect(() => {
    service.start().subscribe(state => {
      setState(state);
    });
    return () => {
      service.stop();
    };
  }, []);

But I'm not sure if that's the correct fix.
Thanks a lot!!

Bump

Can you please PR the fix? Would be greatly appreciated 🙏

Since on the next branch, we discontinued @xstate/fsm package (see here) - I think that this issue can be closed now as it's no longer applicable.
@xstate/fsm continues to work so you don't need to refactor your code if you care about its lightweight bundlesize.


System tray true transparency and more configuration option

Well it would be nice for it to be able to have the same transparency and color as the rest of the bar and also true transparency instead of fake one
plus it should be a module so we can choose its position in the bar

Duplicate of #382 and #314.


Support casting expressions in pruning logic

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Sometimes predicates include casts. Some of these casts are optimized away during query planning, but some can not be.
A practical example of such a cast might be this query to look for data 4 days in the past
cast (now() as bigint) - cast(time as bigint) < 3600 *4 *1000000000

While this particular query will likely be cleaned up into nicer things like (now() - time) < interval '4 days' as we fill out the time / date functionality, the pattern will still persist if we have things like
cast(int_col) as Decimal(19,5) < 123.45

Thus, it is important to support the cast during the evaluation of the pruning predicate
Describe the solution you'd like
I would like the expression prunning logic(PruningPredicate) to handle expressions such as
cast(time as bigint) < 3600

Note that since the pruning logic is based on comparing min/max values, we must be careful that any casts we apply preserve order. For example,  casts from numbers <--> string are likely  not correct
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

This may be more important as we move more casting to the logical plan (e.g. https://github.com/apache/arrow-datafusion/pull/3222 )


Add prettier config and fix types

Add the Prettier config file from https://github.com/tldraw/tldraw/blob/main/.prettierrc, and install its dev dependencies to fix the code formatting.
Also add @cloudflare/workers-types to fix the worker types.
Please update yarn.lock after merging this! (it seems quite a bit out of date)

Hey thanks for this! unfortunately, this repo is a mirror of https://github.com/tldraw/tldraw/tree/main/templates/sync-cloudflare, so we can't accept changes here. if you'd like you can make this PR there instead though?
I'm not sure we would accept this one unless there's an actual issue with the setup as it is today though - we'd like to keep these templates as minimal as possible. if they don't need prettier installed, we probably won't install prettier.

Hey thanks for this! unfortunately, this repo is a mirror of https://github.com/tldraw/tldraw/tree/main/templates/sync-cloudflare, so we can't accept changes here. if you'd like you can make this PR there instead though?
I'm not sure we would accept this one unless there's an actual issue with the setup as it is today though - we'd like to keep these templates as minimal as possible. if they don't need prettier installed, we probably won't install prettier.

Done in https://github.com/tldraw/tldraw/pull/4551!


When specifying a -resource-dir and an -sdk, the swift-frontend still looks in the latter for runtime modules to import

Description
I was testing #72161 and #72634 natively on Android last week, by building those pulls in the Termux app with an older, prebuilt host trunk Swift toolchain installed. Those pulls remove the Glibc module on Android, replacing it with a new module called Android. This would cause build errors when building the SwiftPrivate module in the stdlib:
/data/data/com.termux/files/usr/lib/swift/android/Glibc.swiftmodule/aarch64-unknown-linux-android.private.swiftinterface:6:19: error: no such module 'SwiftGlibc'
  4 │ // swift-module-flags-ignorable: -enable-ossa-modules -enable-lexical-lifetimes=false
  5 │ import Swift
  6 │ @_exported import SwiftGlibc
    │                   ╰─ error: no such module 'SwiftGlibc'
  7 │ import SwiftOverlayShims
  8 │ import SwiftShims

/data/data/com.termux/files/home/swift/stdlib/private/SwiftPrivateThreadExtras/SwiftPrivateThreadExtras.swift:21:8: error: failed to build module 'Glibc'; this SDK is not supported by the compiler (the SDK is built with 'Swift version 5.11-dev (LLVM efc2ccb85e795fb, Swift ada2e40efcb58be)', while this compiler is 'Swift version 6.0-dev effective-5.10 (LLVM aa5a99efe7c5734, Swift 2f6e9b392b15bf0)'). Please select a toolchain which matches the SDK.
 19 │ import Darwin
 20 │ #elseif canImport(Glibc)
 21 │ import Glibc
    │        ╰─ error: failed to build module 'Glibc'; this SDK is not supported by the compiler (the SDK is built with 'Swift version 5.11-dev (LLVM efc2ccb85e795fb, Swift ada2e40efcb58be)', while this compiler is 'Swift version 6.0-dev effective-5.10 (LLVM aa5a99efe7c5734, Swift 2f6e9b392b15bf0)'). Please select a toolchain which matches the SDK.
 22 │ #elseif canImport(Musl)
 23 │ import Musl

The issue is that when both -resource-dir and -sdk flags are supplied, the swift-frontend looks  in both for the runtime modules to import, so not finding Glibc in the new build directory passed in as the -resource-dir, it also looks for Glibc in the -sdk, where the prebuilt host toolchain happens to be installed, then errors because that is a different Swift version.
I think that if a -resource-dir is specified, the compiler should only look in there for runtime modules, not in -sdk also.
This patch does that and fixes the problem for me:
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 6534e5afa9e..fcabef6ae85 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -219,7 +219,7 @@ static void updateRuntimeLibraryPaths(SearchPathOptions &SearchPathOpts,
     RuntimeLibraryImportPaths.push_back(std::string(LibPath.str()));
   }

-  if (!SearchPathOpts.getSDKPath().empty()) {
+  if (!SearchPathOpts.getSDKPath().empty() && SearchPathOpts.RuntimeResourcePath.empty()) {
     if (tripleIsMacCatalystEnvironment(Triple)) {
       LibPath = SearchPathOpts.getSDKPath();
       llvm::sys::path::append(LibPath, "System", "iOSSupport");

Now that a prebuilt host Swift toolchain is pretty much required to build trunk, and it will often be installed in the same sysroot as the -sdk, this problem could hit on any platform, though only likely when moving runtime modules like this. I think this is an edge case worth closing up on all platforms.
Reproduction
Something like this may show it on linux too, haven't tried it:

Install a prebuilt Swift 5.10 toolchain in your -sdk path, usually /.
Check out source for the Swift trunk stdlib and disable building the Glibc module, as shown in the linked Android pulls.
Try to build the Swift stdlib and it will likely try to import the 5.10 Glibc module instead and fail.

Expected behavior
Only look in the -resource-dir specified for Swift runtime modules
Environment
Building the March 1 trunk snapshot natively on Android 13 AArch64 using a prebuilt February 2 trunk snapshot toolchain
Additional information
This issue probably hasn't been hit before because both paths have the same set of runtime modules most of the time, and the compiler looks in -resource-dir first. On Unix, I'm fairly certain it should only look in -resource-dir, if that flag is specified, but I'm not sure about Darwin and Windows, having never built Swift for those platforms.
Pinging @etcwilde and @compnerd, to see what you think of the proposed fix and whether a specified -resource-dir should be the only place to look on all platforms.

Hmm, after running the tests on my patch above, looks like that won't work. It turns out that even if -resource-dir is not passed in, the frontend sets SearchPathOpts.RuntimeResourcePath using the executable path, so I can't assume SearchPathOpts.RuntimeResourcePath was only set by the -resource-dir flag.
So to maintain the existing logic, I'll have to track whether SearchPathOpts.RuntimeResourcePath was set by the -resource-dir flag, by adding another boolean signifying that it was and checking that too.


Update go-perun to v0.6.1

Description

v0.6.1 is not a tagged version, but points to cf9279c99f73 commit on
dev branch as it has fix for a bug that was introduced in v0.6.0.

This update is necessary to use changes that will be added to the
develop branch.

Update perun-node to include the following breaking changes:

Call Register before Settle.
Settle and Settle Secondary methods are merged. Now Settle takes a
second argument to differentiate between primary and secondary settle.
Changes in NewTransactor API.
Watcher takes a callback that handles Registered & Concluded events.

Add a hard coded blocktime to wait before calling register / settle
for the user who did not initate close. This is for a temporary
workaround and will be removed once a function to wait for n blocks is
added in go-perun.

Three follow up issues are to be created:

[x] Currently only collaborative-close is tested in Test_Integ_Role. Add a new test case for non-collaborative-close as well.
[x] Add a functionality in go-perun to wait for n blocks and use it in instead of hard coded waits in session/channel.go.
[x] Check why settle does not wait even when secondary option is set to true (in go-perun).

Category

Implementation Task
Relevant issue

Closes #151
Testing

All existing tests should pass. Updated some of the tests for the changes introduced in go-perun.
Steps to run the tests

In one terminal:

ganache-cli -b 1 --account="0x1fedd636dbc7e8d41a0622a2040b86fea8842cef9d4aa4c582aad00465b7acff,100000000000000000000" --account="0xb0309c60b4622d3071fad3e16c2ce4d0b1e7758316c187754f4dd0cfb44ceb33,100000000000000000000"

In another terminal:

go test -cover -p 1 -count=1 -tags=integration ./...

Checklist

[x] Name is added to the NOTICE file, if it is not present already.
[x] Changes are rebased onto the target branch.

Follow up issues have been created:

for 1st point: issue #163
for second point: issue hyperledger-labs/go-perun#7
for the 3rd point: issue hyperledger-labs/go-perun#8


exported roughness map has pink tint

Hey, I'm using the binary version of material maker 0.8 on linux. I don't know if i'm doing something wrong, but if export my material as png images, the roughness map doesn't look like it is supposed to. i'm not using the export node here, but only standard export of all output channels that have a connection.
the export generates a file called mymaterial_orm.png (curious about the suffix here, because all other maps are named appropriately) and the image has a pink tint, when it of course should be greyscale (which it is within material maker)
Any idea why this might happen?

Sorry, my bad. Should have read the documentation, where it clearly states:
"The ambient occlusion, roughness and metallic textures are combined into a single file whose suffix is “orm”.
Not an isse, so closing this.


Build custom EKS AMI using Red Hat source AMI

I want to run Red Hat on EKS work nodes. I wonder if I can apply this script on my existing Red Hat AMI. Is this script https://github.com/awslabs designed to support other Linux distro like Red Hat or CentOS? If not, is there any recommendation on building custom EKS AMI using Red Hat distro?

We don't currently support any Linux other than Amazon Linux 2. But, AL2 is a close relative of RHEL7, so it shouldn't be unreasonable to use this template with a Red Hat base.

Is it still the same @cartermckinnon that it won't support any other linux or is it resolved?

Is it still the same @cartermckinnon that it won't support any other linux or is it resolved?

Just for the record, there are other repositories for another linux distributions, for example RH:
https://github.com/aws-samples/amazon-eks-ami-rhel

That repository is a sample template. There are no official builds distributed that use that template, there is no integration with the EKS service, and the AMI produced by the template is not subject to any automated testing.
We don't have any plans today to provide official EKS AMIs that are based on any distro other than Amazon Linux, so I don't think this repository is the right place to add template(s) intended for other distros.


Only checksum file downloads, not VCS downloads

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

https://github.com/Homebrew/brew/pull/13358 fixes https://github.com/Homebrew/homebrew-cask-fonts/issues/5855 for SVN casks (and https://github.com/Homebrew/brew/pull/13354 was the initial approach), but I think the problem still exists for other VCS downloads such as Git. The special case of partial clones with sparse checkouts is handled in https://github.com/Homebrew/brew/pull/13232 via https://github.com/Homebrew/brew/commit/ccdd45dbb7322e60cdb72435e4c8c7562a0e7a8b, but for regular Git downloads I'm able to reproduce the problem.
Example cask
cask "hmarr-gitignore" do
  version :latest
  sha256 :no_check

  url "https://github.com/hmarr/dotfiles.git",
      verified: "github.com/hmarr/dotfiles",
      branch: "main"
  name "hmarr-gitignore"
  homepage "https://github.com/hmarr/dotfiles"

  artifact "gitignore_global", target: "/tmp/gitignore"
end

Output
$ brew install hmarr/test/hmarr-gitignore
==> Cloning https://github.com/hmarr/dotfiles.git
Cloning into '/Users/hmarr/Library/Caches/Homebrew/Cask/hmarr-gitignore--git'...
==> Checking out branch main
Already on 'main'
Your branch is up to date with 'origin/main'.
Warning: No checksum defined for cask 'hmarr-gitignore', skipping verification.
==> Installing Cask hmarr-gitignore
==> Moving Generic Artifact 'gitignore_global' to '/tmp/gitignore'
==> Backing Generic Artifact 'gitignore' up to '/opt/homebrew/Caskroom/hmarr-gitignore/latest/gitignore_global'
==> Removing Generic Artifact '/tmp/gitignore'
==> Purging files for version latest of Cask hmarr-gitignore
Error: Is a directory @ io_fread - /Users/hmarr/Library/Caches/Homebrew/Cask/hmarr-gitignore--git

This change uses the logic in the DownloadStrategyDetector to determine whether to calculate a checksum or not. It looks like all of the concrete DownloadStrategy implementation inherit either from AbstractFileDownloadStrategy or VCSDownloadStrategy, so I think checking for AbstractFileDownloadStrategy in the list of ancestors should be a robust approach. If there's a better way of doing this, I'd be happy to change tack, though!
$ rg '^class' Library/Homebrew/download_strategy.rb
24:class AbstractDownloadStrategy
182:class VCSDownloadStrategy < AbstractDownloadStrategy
272:class AbstractFileDownloadStrategy < AbstractDownloadStrategy
371:class CurlDownloadStrategy < AbstractFileDownloadStrategy
575:class HomebrewCurlDownloadStrategy < CurlDownloadStrategy
588:class CurlGitHubPackagesDownloadStrategy < CurlDownloadStrategy
610:class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy
648:class CurlPostDownloadStrategy < CurlDownloadStrategy
668:class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy
680:class LocalBottleDownloadStrategy < AbstractFileDownloadStrategy
690:class SubversionDownloadStrategy < VCSDownloadStrategy
805:class GitDownloadStrategy < VCSDownloadStrategy
1021:class GitHubGitDownloadStrategy < GitDownloadStrategy
1106:class CVSDownloadStrategy < VCSDownloadStrategy
1188:class MercurialDownloadStrategy < VCSDownloadStrategy
1252:class BazaarDownloadStrategy < VCSDownloadStrategy
1317:class FossilDownloadStrategy < VCSDownloadStrategy
1370:class DownloadStrategyDetector

Output with this change
$ bin/brew install hmarr/test/hmarr-gitignore
==> Cloning https://github.com/hmarr/dotfiles.git
Cloning into '/Users/hmarr/Library/Caches/Homebrew/Cask/hmarr-gitignore--git'...
==> Checking out branch main
Already on 'main'
Your branch is up to date with 'origin/main'.
Warning: No checksum defined for cask 'hmarr-gitignore', skipping verification.
==> Installing Cask hmarr-gitignore
==> Moving Generic Artifact 'gitignore_global' to '/tmp/gitignore'
🍺  hmarr-gitignore was successfully installed!

Shout out to @apainintheneck and @bevanjkay for the initial work on fixing this error 🙌

I don't think VCS downloads are currently supported with casks other than SVN and now the Git sparse checkout strategy that you're adding. Does it make sense to check for an unsupported edge case?

Oh interesting, TIL! Currently, I don't think there's anything stopping you using another VCS download strategy — the sparse checkout approach doesn't do anything special to pick git, it just uses the fact that it's inferred from the .git url suffix by the DownloadStrategyDetector. (I'm new to the homebrew codebase, though, so take this with a pinch of salt).
Given it currently is possible, I think it'd be marginally better to handle this case, or to explicitly prevent use of the VCS downloaders for casks if that's the intended behaviour.

That is definitely interesting because it's not the behavior I would have expected from reading the docs. I wonder if casks are audited for acceptable download strategy before they are submitted or if we just hope they use a supported strategy.

Given it currently is possible, I think it'd be marginally better to handle this case, or to explicitly prevent use of the VCS downloaders for casks if that's the intended behaviour.

I agree but I'd like to get other people's opinions on this too.

Agreed, the svn section of the docs about Cask URLs does give the impression that only HTTP(S) and svn based downloads are supported even though in practice various download strategies seem to work.

Just following up. There are indeed no checks made when loading casks limiting them to the download strategies mentioned in the docs (which right now are :curl, :post and :svn). That being said I was unable to find examples of any casks with other using clauses in the homebrew-casks and homebrew-cask-fonts taps. We could add a check for that but I think it would make sense to wait until after #13232 gets merged in so that we can cover that case too.

@apainintheneck Not sure where you stand on this one; can you elaborate further?

I think this PR makes sense to me. It means we won't have to update this method every time a new download strategy is added which is good.
That being said the example that wasn't working is an undocumented use case. Shouldn't we either document that or add a check somewhere to enforce that? But I can open another issue about that if you want.

That being said the example that wasn't working is an undocumented use case. Shouldn't we either document that or add a check somewhere to enforce that? But I can open another issue about that if you want.

I think fine to leave undocumented and just let people fix undocumented things like they have in this PR 😁


[Class statistics] Allow selecting study track in population search

For example in Kasvatustieteiden kandiohjelma, the user should be able to select only the study track they are interested in, not the whole programme.

Commit 6a9d92e1f32f402de2549847c7df2c5e5d04dc39
Release 3.1.12


Remove obsolete worker termination

I switched build process to proper ES modules back in #672, so, if the TODO is correct, this is no longer necessary.

@surma Ping on this one too while you're on a roll? 😀

Needs a rebase :P

Pressed a button in Github UI. I suppose "rebase and merge" button would work as well :)


Norconex HTTP Collector and crawler4j

I'm working on new project to choose the best crawler but I'm looking for two types Norconex HTTP Collector and crawler4j to be use but Can someone tell me , what are the difference between Norconex HTTP Collector and crawler4j ?

One key distinction is Norconex HTTP Collector is meant to be viable/robust as a full-featured standalone crawler while crawler4j is first and foremost a Java API.  In a sense, a "product" vs a "library".
While Norconex HTTP Collector can also be embedded in java applications or extended using Java, the vast majority of use cases can be handled out-of-the-box via XML-based configuration and does not require any programming experience.  It can be used as a command-line application whereas crawler4j usually requires you to code your own crawling solution with it.
Norconex HTTP Collector also has more native features, expanding beyond pure crawling by offering configurable data manipulation options, language detection, OCR, etc. You can give a look at a partial list here and there.  It also has "committers" that stores crawled data already identified targets such as Solr, Elasticsearch, IDOL, etc.
For businesses, Norconex HTTP Collector uses a business-friendly license (Apache) and commercial support is available.
In the end though, it depends what needs you are trying to fulfill.  If you are hesitating, the best recommendation I can give is to try them both and chose the one that better suits your needs.


Update DG

plantUML for all UML graphs
Update DG to reflect current implementation

Codecov Report
Base: 51.85% // Head: 51.77% // Decreases project coverage by -0.08% :warning:

Coverage data is based on head (f163465) compared to base (a7fa479).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #226      +/-   ##
============================================
- Coverage     51.85%   51.77%   -0.09%
  Complexity      569      569
============================================
  Files           129      129
  Lines          2420     2422       +2
  Branches        311      311
============================================
- Hits           1255     1254       -1
- Misses         1078     1080       +2
- Partials         87       88       +1

Impacted Files
Coverage Δ

...address/logic/commands/buyer/EditBuyerCommand.java
92.94% <ø> (ø)

...ess/logic/parser/buyer/EditBuyerCommandParser.java
100.00% <ø> (ø)

.../seedu/address/logic/parser/ArgumentTokenizer.java
95.23% <0.00%> (-2.39%)
:arrow_down:

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/ui/StatusBarFooter.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add count to orchestrator and iterating over node in storage names

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


⚠ Turnos 24x7 has degraded performance

In ce7d4b7, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 6760 ms

Resolved: Turnos 24x7 performance has improved in fdb9974.


Ability to publish to all except

When using TemplatedApp.publish() it does publish to all as it should but when using WebSocket.publish() there should be an ability to make it so it ignores this specific WebSocket when publishing. It would be very useful for me in many cases like when a client sends data about his position there is no need to send it back to him just the other clients.

Yes I agree. This should be fixed. It is a bit complicated though

I have a good solution for this now

I have a good solution for this now

Nay, I have a splendid solution.

Nay, I have a splendid solution.

What is the solution for this?


Please Help running rancher agents on ARM CPU RockPro64

Rancher versions:
rancher/rancher:
rancher/rancher-agent:
Versions can be found if needed but most of the tools were custom compiled to get rancher to work at all
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
#####################
Docker version: (docker version,docker info preferred)
root@rockpro64:~# docker version
Client:
Version:           18.06.1-ce
API version:       1.38
Go version:        go1.10.3
Git commit:        e68fc7a
Built:             Tue Aug 21 17:32:42 2018
OS/Arch:           linux/arm64
Experimental:      false
Server:
Engine:
Version:          18.06.1-ce
API version:      1.38 (minimum version 1.12)
Go version:       go1.10.3
Git commit:       e68fc7a
Built:            Tue Aug 21 17:30:47 2018
OS/Arch:          linux/arm64
Experimental:     false
root@rockpro64:~# docker info
Containers: 22
Running: 10
Paused: 0
Stopped: 12
Images: 12
Server Version: 18.06.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.132-1075-rockchip-ayufan-ga83beded8524
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: aarch64
CPUs: 6
Total Memory: 3.785GiB
Name: rockpro64
ID: XXXXXXXX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
oot@rockpro64:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
root@rockpro64:~# uname -r
4.4.132-1075-rockchip-ayufan-ga83beded8524
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Baremetal RockPro64
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node Rancher 2.0
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes  and Cattle
Steps to Reproduce:
Install Docker on Rockpro 64 and try to attach to rancher as a node
Followed this thread to see if we could use the community answers. https://github.com/rancher/rancher/issues/4703 Did not work because of a JVM error in docker
Following the instructions here
https://gist.github.com/ags131/7bdde11c932ef7a54f44c6decbfd88b8
We get to the portion where the node is seen by rancher but running kubectl apply -f config.yaml does not work.
Results:
rancher 1.6 docker error is
root@rockpro64:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
root@rockpro64:~#
root@rockpro64:~# uname -r
4.4.132-1075-rockchip-ayufan-ga83beded8524
https://github.com/rancher/rancher/issues/4703
https://gist.github.com/ags131/7bdde11c932ef7a54f44c6decbfd88b8
Step 6/41 : RUN java -version
---> Running in 6597cac55028
/bin/sh: 1: java: not found
The command '/bin/sh -c java -version' returned a non-zero code: 127
rancher 2.0 error is
The node never shows up as registered after executing the kubectl command.

Probably the best way to get support on a community gists is to respond to the gist with your errors. We can't provide support on that.
For 1.6, it won't be added (https://github.com/rancher/rancher/issues/4703). And for 2.x we have https://github.com/rancher/rancher/issues/15180 open to decide if and when ARM support will be provided.
I think the output you are sending is incomplete, as I see uname -r output and then a docker build step (Seeing the output from 1.6) and nothing from 2.x.
If there is any blocking code in 2.x that prevents you from getting further, let me know.


pre built binaries for arm64 aren't released in v0.3.14

Hi, thank you for your great project.
I found pre built binaries for arm64 aren't released in v0.3.14.
https://github.com/mattn/goreman/releases/tag/v0.3.14

I guess this change was caused by https://github.com/mattn/goreman/pull/138 .
https://github.com/mattn/goreman/blob/eaf955cca418ea9ef2f21ce8ea7b433c6d2676d2/Makefile#L26-L28
I can't find the description about this change.
Why do you stop releasing pre built binaries for arm64?
Is there any plan to release pre built binaries for arm64 again?
Background
I'm maintaining a CLI Version Manager aqua and this tool supports goreman.
https://github.com/aquaproj/aqua-registry/blob/99100dc5bcec931e4489deaf8d867d4dd9195947/pkgs/mattn/goreman/registry.yaml
If goreman stops releasing pre built binaries for arm64, I have to fix the configuration for goreman.

Now released v0.3.15 for arm64.
https://github.com/mattn/goreman/releases/tag/v0.3.15

Thank you!


Update FORGE / LIVE LZ Vending Plan and Deploy Workflows

Currently when the lz-vending pull, deploy workflows are triggered they iterates over all projects. We should update the workflows to only affect projects that have changes, or run across all if something has changed that affects all projects.
Acceptance Criteria

Generated by Zenhub AI

[ ] Scenario: Workflow only affects projects with changes

Given there is a project with changes

When the lz-vending pull, deploy workflows are triggered

Then the workflow should only affect the project with changes

[ ] Scenario: Workflow runs across all projects if something has changed that affects all projects

Given there is a change affecting all projects
When the lz-vending pull, deploy workflows are triggered
Then the workflow should run across all projects

This is in forge, letting it get used there a bit before moving to LIVE


Cleanup work

Changes

Incremented working version to 1.2.8 to reflect all internal changes.
Ran Rubocop lint checker and resolved all warnings.
Remove require 'spec_helper' in all spec files and instead favor a new root .rspec file doing the require once.

@hassox mind giving this a once over? If it looks good I'm thinking of pushing out a 1.2.8 release with these internal changes.

I trust you dude.


Code is covering HTML tag

Seems like the HTML hanging tag needs to have a higher z-index maybe?
Gistbook: https://www.gistbook.io/jdaudier/37a669ef7fa1be0d57c6

Thanks @jdaudier!


unable to start UnoServer from python

Hello,
I'm attempting to run UnoServer from inside a ubuntu20.04 docker container with python . I've ensured that the required libraries are installed in the image libreoffice and default-jre-headless.
When I execute UnoServer using the subprocess module as shown below, it works perfectly:
import subprocess
CMD = ["unoserver"]
result = subprocess.run(CMD)

However, a problem arises when I use the native Python approach:
from unoserver.server import UnoServer
unoserver = UnoServer()
unoserver.start()

This results in the following error:
javaldx failed!
Warning: failed to read path from javaldx
LibreOffice 6.4 - Fatal Error: The application cannot be started.
[context="user"] caught unexpected com.sun.star.ucb.ContentCreationException: Cannot create folder (invalid path): 'None'

any idea why it crashes and how can I achieve it?
Thanks

I would recommend to not start it from Python. It will not only soon become harder, there's really no point in doing that.


[Enhancement] Folder Restructured

Description

[x] Add a separate src directory for the frontend.
[x] Created assets directory that contains Designs & img
[x] Kept all .html files in the src directory
[x] Added separate directories for css & js

Would be glad if you'd merge this PR @nisha331 😃 👍

plz resolve thee conflicts

Resolved, please review. 👍


[WIP] Timeout custom JS after 2000ms

Do not wait for the JavaScript code
indefinitely - abort execution
attempt after 2000ms.
JavaScript code might never get called
if no loop events will be processed
(https://github.com/sass/node-sass/issues/1048)
or might block forever if there are
no more worker threads available
(https://github.com/sass/node-sass/issues/857).

Nice! I think 2s might be too short on slow systems though… how about 20s? It's not like this will be encountered often…

On Sun, 14 Feb 2016, Wout Mertens wrote:

Nice! I think 2s might be too short on slow systems though… how about 20s? It's not like this will be encountered often…

Feel free to change it as you wish. It's an experimental patch and it's kind of wrong, but it might
help to diagnose the problem (I doubt it will make compilation possible - it might only help to pinpoint
the offending include).

@saper what's the status of this?

This is just a workaround for people experiencing #1048 or #857, it still merges with the master. I'd leave it open here.


error 500 on pdf download page

http://iiif.bdrc.io/download/zip/wi:bdr:W22084::bdr:I22084
http://iiif.bdrc.io/download/zip/wi:bdr:W12827::bdr:I12827

Solved as of commit 20b6314 . Most of the presentation components were seriously outdated !


Gas tanks need nerfing

Jetpacks + breathing last way too long. Apparently breathing through one lasts an hour.

oxygen tanks specifically are stupidly op
using 20C air a full one lasts you like 4 hours, you never need to refill it
i have never used jetpack breathing since:

decreases flight time slightly
have to worry about forgetting to turn oxygen tank on when dropping

Can confirm, one regular large 02 tank found in the hardsuit containers lasted me for an entire round, about 40+ mins and i still wasn't even close to running out. Compared to the emergency airtanks you start off with, large airtanks have like +20x the capacity.

Jetpacks are balanced, maybe need some tweaking but they don't last very long if you just full blast all the time.
large tanks last roughly 2-3hrs iirc so they are kinda fire and forget things, it's even so good that many people (including me) go find one at round start just because how far superior it is to emergency tanks. This can be solved by just restricting the suit slot to only work for hardsuits (kinda silly how a jacket has a suitslot for a large tank).

or better yet visually it has like 4-8x the capacity as emergency tank, so just make it last 20-40 mins
this will drive atmos to make supercooled oxygen tank shops which i saw ilya do once it was funny

While testing jetpacks i found out that on full blast they go from max capacity ~1013 kpa to 937 kpa. That is about 76 kpa used per minute. This means that at full blast, without stopping, a single jetpack will last roughly 13 minutes.
The physics of using compressed air to move mass is very inefficient and would empty a tank of air very quickly, but this is a game and I understand some real world physics limitations should be ignored. However, I do think that a jetpack lasting 13 minuets is a little too long if we consider how strong jetpacks are.

thats not even taking gas cooling into account which makes that basically infinite

Apparently https://github.com/space-wizards/space-station-14/pull/17106 didn't go far enough.

if that wasnt enough then all the big emergency tanks need nerfing since double extended is 12L (large is now 15L so not much bigger)

Regular air tanks still last for an entire round.
Just did some testing on live, one regular oxygen tank will lose about 1kPA of pressure every 30 seconds. Oxygen tanks start with788 kPa of pressure. Doing some quick math we can see that at this rate, one oxygen tank will become depleted in about 367 minutes, or in about 6 hours.
In comparison, an emergency oxygen tank will be depleted in just under 5 minutes. Regular oxygen tanks last about 73 times longer than an emergency tank.
Unless i am missing something or did some cringe math errors, it seems like oxygen tanks last even longer than before?

they only have like 6 times the volume so the inhaling might be sus

Something is a bit broky. Tested a new round with a brand new Urist and oxygen tank straight from a dispenser.
Toggled internals and set a stopwatch, got to almost 2 hours before I had to close down the game for the day. I believe the intended change was to make regular o2 tanks last ~5x longer than emergency ones but something sus

Apparently #17106 didn't go far enough.

That PR only changed the volume on the empty tanks. The filled ones were left unchanged.

pro


2981 rails 7 active storage

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

Project coverage is 25.73%. Comparing base (fb167ce) to head (63fa4ce).
 Consider uploading reports for the commit eb89536 to get more accurate results

Files
Patch %
Lines

app/models/taxon_name_relationship.rb
9.52%
19 Missing :warning:

lib/batch_load/import.rb
0.00%
6 Missing :warning:

spec/models/citation_spec.rb
0.00%
5 Missing :warning:

app/models/protonym.rb
0.00%
4 Missing :warning:

app/models/taxon_name_relationship/combination.rb
0.00%
3 Missing :warning:

...ls/taxon_name_relationship/original_combination.rb
0.00%
3 Missing :warning:

app/models/dataset_record/darwin_core/taxon.rb
0.00%
2 Missing :warning:

app/models/role.rb
0.00%
2 Missing :warning:

app/models/taxon_name.rb
86.66%
2 Missing :warning:

...batch_load/import/taxon_names/nomen_interpreter.rb
50.00%
2 Missing :warning:

... and 7 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3822       +/-   ##
================================================
- Coverage        84.36%   25.73%   -58.63%
================================================
  Files             2131     1688      -443
  Lines            79566    64771    -14795
================================================
- Hits             67123    16667    -50456
- Misses           12443    48104    +35661

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


Database close

As discussed, this ensures that queued and buffered operations are performed before the database is closed, and then stops further actions from being performed after it has been closed.

HI Rob, All looks good to me.


Redux Saga Example

Add a simple example to prove compatibility with the redux saga middleware.

Thanks, your example works and bonus marks given for matching the existing examples 👍
My only concern is that the the sagas aren't behaving correctly when using the namespacing feature.  The actions being dispatched do not get the namespaced action type.  I haven't used sagas myself before so I'm a bit unsure how to make this work.
@vivian-farrell can we accept this and raise an issue for the missing half of the functionality (should probably do this anyway tbh), or should it be all or nothing?

@mpeyper I'm pretty new to redux-saga as well.
My tech lead suggested me to have a read on how you scaled React and Redux at IOOF. We are currently facing similar challenges and the idea of having micro-frontends is very interesting.
I will try to understand more in depth how you are managing namespacing and try to fix the issue.

@giamir So namespacing is useful if your micro-frontends want to use the same name for some action types (e.g. "LOAD", "SAVE", etc.).  Manually namespacing your action types is not a big deal if you only want to have a single instance of a micro-frontend in you app as you can come up with a naming convention and be done with it.  From your example, sagas will work fine in that scenario.  If you want to re-use a micro-frontend in a different context more than once, then it gets a little more complicated.
redux-subspace can get around it by automatically namespacing dispatched actions within a subspace and the namespaced reducers will disregard any actions for other micro-frontends.  This is achieved by wrapping the dispatch function provided by the redux store to modify the type of any actions passing through it.
The challenge with sagas (as far as I can tell) is that it the the saga middleware is not expecting the namespace to be there.
To map this back to your example if we namespaced the micro-frontend with "component", the type here would be "READY_TO_CHANGE_VALUE"
export default function* sagas() {
  yield takeEvery(readyToChangeValue().type, changeValueGenerator)
}

but the type here would be "component/READY_TO_CHANGE_VALUE"
const mapDispatchToProps = dispatch => {
  return {
    readyToChangeValue: () => dispatch(readyToChangeValue())
  }
}

so changeValueGenerator would never execute.
This is further complicated by the micro-frontend having no idea (by design) of what namespace it is in.  It is defined by the parent component.
My current thought is that the sagas could be wrapped in when being integrated in the parent component.  Something like:
import { namespacedSagas } from 'redux-subspace' // possibly a separate library
import { sagas as componentSagas } from '../component'

export default function* sagas() {
  yield [ namespacedSagas(componentSagas, "component")() ]
}

which would somehow un-namespace the action types if they start with "component/".  Of course, I have no idea how possible that would be as it does not appear as if the actions are passed through it at all.
My dilemma right now is if accepting your example looks like we are endorsing redux-saga when it wont work in every use case.
Hope this helps.  Feel free to hit me up for any more details on this or on our approach to scaling react and redux with micro-frontends.

I've had a bit of a think about this, and while initially I thought full support or no support, I've changed my mine.
I would like to see this merged with an big note in the readme about limited support for redux-saga and an issue raised for someone more familiar with it to come along and provide the namespacing feature.
As there are no functional changes (yet) it's not going to affect compatibility with thunks and therefore I would rather people who are using sagas at least get an indication of how they can use this in their projects, and what limitations it currently has.

Perhaps just a warning under the Caveats would suffice.

I feel we might want something a bit more that that, like a supported middleware section.
There is already a section under nauseating for thanks that could be moved there, as well as the caveat that we were assuming the use of thunks.

Can't edit comments on my phone,
Nauseating = namespacing

And thanks = thunks? ;)
I'm ok with your suggestion.

I think with saga we should document the current limitations as a warning until we figure out exactly how to solve namespace unwrapping. I actually agree with @mpeyper in that the example may confuse people looking for saga support.
@giamir I will try to get the slides from the 'scaling react and redux' presentation up on Monday and link them to the repo. They should provide more context for this library.

@giamir slides are here - http://www.slideshare.net/VivianFarrell/scaling-react-and-redux-at-ioof?qid=5e8bb9fb-a13c-4e66-9ebd-a9bf804031ed&v=&b=&from_search=1

I am closing this as we have raised #18 to attempt to address the sagas compatibility before adding an example for it.


Logger output buffered when piping

The print function in Swift is fully buffered by default, so when piping gen-ir output, the logger outputs get delayed and, occasionally, split.
Example (gen-ir 0.5.0-alpha)
In a CI script, I want to save off the output of gen-ir into a separate file, as well as see the progress in the console. I call gen-ir in a pipe to do so:
set -o pipefail && gen-ir <build-log> <xcarchive> --project-path <workspace> | tee gen-ir.log

Here, each Running command (clang) XX of YY. Target modules processed: ZZ no longer is printed in real time, until enough are printed to fill the buffer. Occasionally, we'll also see, e.g., Running comm or similar split lines, when the full line doesn't fit inside the IO buffer.
Impact
Makes it more difficult to track the progress of gen-ir. In our case, it takes ~15 minutes to process everything, so it would be nice to have the real-time updates instead of waiting for the buffer to fill, which takes ~30s - ~1min.
Suggested Fix
Flush stdout after printing a log message. Not sure what other ways there are, but adding fflush(__stdoutp) after the print call in StdoutLogHandler.swift did it for me.
https://github.com/veracode/gen-ir/blob/e8da32c646eef95bfe0118264b3d5eb2554e70ac/Sources/GenIR/StdoutLogHandler.swift#L29-L43

This will be addressed in #62 (https://github.com/veracode/gen-ir/pull/62/files#diff-fb10c82a336be9dc08b5db062c7270903e82bb9865d8e8e4aa1a5924ea469ca3) :)


Refine the Memory Reserve Handling in the Allocator (Optimized Inlining)

(Optimized version of https://github.com/dfinity/motoko/pull/4587, third attempt)
Refining the allocator’s memory reserve for better maintainability.
The current allocator is based on the assumption that the memory reserve is at least of a WASM page size (64 KB) to guard against overflows of the shadow call stack (used in Rust and in the compiler backend).
This assumption is always met, i.e. the RTS is already safe:

In the incremental GC: The memory reserve is at least 256 MB. When the GC is inactive, the reserve is increased by additional 640 MB.
In the classical GCs: The reserve is constantly 256 MB.

This change relaxes this assumption and directly guards the last page in the allocator, independent of the GC’s memory reserve. This is only to increase robustness for future changes, where different memory reserves may be configured, potentially even below a page size.

Close in favor of https://github.com/dfinity/motoko/pull/4592...


rename to napari-allencell-segmenter

For #96
Rename napari-aicssegmentation to napari-allencell-segmenter
Note: will rename the repository as well after this is merged

Runs with no bugs and one warning on windows 10.
Tested the following:

Running prebuilt workflow
Saving workflow
Running batch workflow

This is the warning I got:
`FutureWarning:
The 'gui_qt()' context manager is deprecated.
If you are running napari from a script, please use 'napari.run()' as follows:
import napari

viewer = napari.Viewer()  # no prior setup needed
# other code using the viewer...
napari.run()`


Feature/Bug: "Can you delete my data from your site?"

I've received multiple requests that sound like this:

I don't want people to know my matches or my info.
Can you erase my data base or my info ?

Can you delete me from API?

Please remove me from your site, I don't want anyone to find me on the API

How do I handle such a request? Am I required to delete the data?
How will you handle such a request?
How should I respond? -> Can you provide me an official text, an entry in the FaQ I can link to, or a standard response I can use?

That should be up to SEMC to handle, tbh, not us or MG.  There's just no reasonable expectation of privacy there.

Judokegz answered this on the Discord.

yeah so on our end, we won't be deleting the data.  On your end, it's totally up to you how you want to handle that kind of question.  Happy to update our FAQ so you have somewhere to point though

I will send a pull request with an updated FAQ ASAP.

Sorry, @Skillz4Killz, I am looking for a full length official response that is legally solid.

@schneefux that's what the FAQ is going to be for. It will serve as the official response you can point to.

I don't want an FaQ entry written by you. I want an entry in the terms of service that says that either everyone is obliged to delete data on user's request or that nobody is, in which case I should be able to refer a user to a specific line in MadGlory's terms of service or privacy policy.

The FAQ is written by someone makes no difference. For example, half if not more of the VG API Docs were written by the community. Yet it serves as the official docs (response) of MadGlory as someone else may write it but it is they who read it, confirm it and post it themselves. It is their official docs just as it is their official FAQ entry once they approve of the change and post it themselves. The only question remaining is if there is a difference between pointing a user from a FAQ or a ToS/PP? I do not personally see the difference and the FAQ serves as a good place for it as it is going to be a frequently asked question. Also, I may be wrong but, the ToS and PP do not apply to the users but the community developers who agree to them when using the service, so it does not help one bit to the users by having this there. Please help me by explaining what the difference is from your perspective.

@schneefux that's a legit request.

@schneefux that's a legit request. Adding official text to terms of service or privacy policy is something MG should be able to do no problem.

IMO If it is available in the API, then it is free for you to do whatever you want.
If an user wants their data deleted from YOUR project, then it should be up to you to decide.
If an user wants their data deleted from ALL sites, then you should redirect them to SEMC Support.

Hey guys - this is done on each individual site.  If they ask you to delete it, you can do that


How to use ShouldAutoSize  with Chinese?

Versions

PHP version: 7.2
Laravel version: 5.6
Package version: 3.0

Description
Hi
This problem occurs when using Chinese.
ShouldAudosize seems do not working right with Chinese.
Steps to Reproduce

Expected behavior:

Actual behavior:

You could try to set the autosize method to exact:
\PhpOffice\PhpSpreadsheet\Shared\Font::setAutoSizeMethod(Font::AUTOSIZE_METHOD_EXACT)

If that doesn't help, you might need to ask help in PhpSpreadsheet.

Sad,I have a same problem ……

@patrickbrouwers where to add that ? or how to use it ?

Service provider is fine

When I set it to Font::AUTOSIZE_METHOD_EXACT, but I cannot find TrueType Font file not found. Failed to generate template: TrueType Font file not found


watchPosition location update takes 2 to 3 minutes

I called watchPosition function, I am getting the locations 2 or 3 minutes once.
Sometime, It is taking 3 to 4 minutes to get the location updates, But it returns bulk(10 to 20 entries) locations at once.
It seems, It collects the location every 1 minute and It is not returning every one minute, It is returned every 2 or 3 min randomly with all the collected location detail. Sometimes It gives location details after 4 or 5 minutes.
Options:
{maximumAge : 0, timeout: 15000, enableHighAccuracy: true,
priority: cordova.plugins.locationServices.geolocation.priorities.PRIORITY_HIGH_ACCURACY, interval: 1000, fastInterval: 5000}

This may be related to setMaxWaitTime.
I have to do some tests and maybe update the plugin API to add support for this method and flushLocations.


matint/matfp vs mac16/fma*/fms*, and how to do multiply-only (without accumulating/subtracting) using matint

This is a question rather than an issue.
First of all, thanks for the huge effort spent on reverse engineering AMX and documenting it. It is really appreciated. I've been able to try out AMX for an application of mine and that would have been impossible without your extensive documentation.
I just wanted to confirm a few things, and I was hoping with the experience acquired with your reverse engineering effort, you could confirm a few things. Perhaps even add some pointers to enhance your already excellent documentation.

Am I understanding correctly that there is some redundancy between matint/matfp and mac16/fm[as][16,32,64] when you only need to do outer products? Essentially, by choosing ALU mode 0 or 1 in matint/matfp, it appears to me you can emulate almost all functionality of mac16/fm[as][16,32,64]. Is that right or do you see any particular advantage to mac16/fm[as][16,32,64] vs matint/matfp? I'm just trying to understand the thought process of the AMX designers, and why would they have separate instructions when they could just merge them together.
With that said, one functionality I was unable to find in matint/matfp was the ability to do a multiply-only operation x*y rather than accumulating/subtracting with z. With mac16/fm[as][16,32,64] this can be done by setting bit 27 to 1. This is important e.g. for the first loop iteration in a matrix multiply, when z may already have non-zero values. Is there a combination of bits I can use to do an outer product without accumulating/subtracting from z?

RE 1, my assumption is that we're seeing ISA evolution; there was an AMX on iPhone hardware before AMX on M1, and my guess is that mac16/fm[as][16,32,64] were in the first iteration of AMX, and then matint /matfp were added later. If this were the case, then if you had a zoo of old iPhones, you could probably find the point in history when the new instructions were added.
RE 2, rather than peeling one loop iteration and having that iteration skip the z input, issue some instruction to initialise the relevant part of z to zero (e.g. fma16 with 27=1, 28=1, 29=1, 62=1 to set all of z to zero).


Mac copy and paste problem

On my MacBook Air when I click on the gear icon next to account numbers, there is an option to "copy address to clipboard".  Once this is done and I paste into a transaction send box, I get the error about things developers did not forsee.
But when I drag the mouse over the account number and highlight it, then copy, then paste into a transaction box, it works fine.
Also, I noticed that the "copy address to clipboard" on my Mac is sometimes darkened as if it is highlighted, even if the mouse is not hovering in that section, and when it is darkened then it won't copy anything at all.

have you checked if it copies anything at all? (do you have flash installed, copying requires flash, can't do that from within javascript)

I just tried this and can't repro.


Client Allocation Request for: 深圳市伍链云存储科技有限公司

Client Allocation Questions
Core Information

Name: 深圳市伍链云存储科技有限公司
Website / Social Media: https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkxNTI1MDc3Nw==&scene=124#wechat_redirect
Region: Greater China
DataCap Requested: 100TiB
Addresses to be Notarized: f3wtdob5ymm5qy3t6w2ggk3bb4niq25e3zaolvzhrkzc2fkphrrvrsqau74qvhwncghqoutg6lztjqyrsnlysa
Notary Requested: steven004

@kyokaki Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey @kyokaki , one of your application is still under evaluation.

Can I just cancel that one? Cause the file address was got wrong.
Steven Li @.***>于2021年12月10日 周五13:28写道：

Hey @kyokaki https://github.com/kyokaki , one of your application is
still under evaluation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/1216#issuecomment-990629856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQBLSX2QZZE2VIA6NJ6KC7DUQGFWBANCNFSM5JYCWAMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.