Port New Update from Powertoy

Summary

Update Close Method
Refactor of the Window.cs class, implementation of a new WindowProcess.cs class and improvements to the process cache data to have less queries for static information.
Moving process information and code into own class.
Filter child window of AppFrameHost.exe by class instead of process id.
// Improve SearchController.cs class to speed up search times.

https://github.com/Flow-Launcher/Flow.Launcher/issues/1149
TODO:

[x] Virtual Desktop Support

Co-authored-by: Heiko<EMAIL_ADDRESS>

Getting this during plugin loading:

Getting this during plugin loading:

Oh i forget to assign the api.🫣

I am getting occasional duplicate results with the plugin, can you check if you get the same?

Hmmm I guess it is because modernwpf won't set the window style (but the control style is shared) unless manually specify.
<Window
    ...
    xmlns:ui="http://schemas.modernwpf.com/2019"
    ui:WindowHelper.UseModernWindowStyle="True">
    <ui:SimpleStackPanel Margin="12" Spacing="24">
        <TextBlock Text="My first ModernWPF app" Style="{StaticResource HeaderTextBlockStyle}" />
        <Button Content="I am a button" />
        <Button Content="I am an accent button" Style="{StaticResource AccentButtonStyle}" />
    </ui:SimpleStackPanel>
</Window>

It is possible to reference the modernwpf (but will drastically increase the output size 400k->3M by including the library that will never be loaded, which can be deleted but are hard to track).

Yeah, maybe don't worry about it then.

@jjw24 anything more to be checked?

I am still getting duplicates in my result set quite often, can you take a look please:

I am still getting duplicates in my result set quite often, can you take a look please:

hm I cannot reproduce the duplicate. Mine seems to work normally?


Typo in instructions: New > Terminal

@cfregly you said to make a note of this during the workshop (loving it btw)

fixed.  and also updated the image with more arrows to highlight the scroll down.


Add Windows Support

Coming from https://github.com/opensearch-project/opensearch-plugins/issues/95, add Windows support.

[x] Passing CI on Windows
[x] Documentation

Build on Window for main branch does not work with following error. The issue could be related with OpenSearch 3.0.0-SNAPSHOT as a build with OpenSearch 2.4.0-SNAPSHOT works.
�    ? errors and warnings from D:\a\geospatial\geospatial\build\testclusters\integTest-0\logs\opensearch.stdout.log ?
=== Standard error of node `node{::integTest-0}` ===
� ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [integTest-0] uncaught exception in thread [main]
�  org.opensearch.bootstrap.StartupException: java.lang.RuntimeException: can not run opensearch as root
�  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:184) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  Caused by: java.lang.RuntimeException: can not run opensearch as root
�  	at org.opensearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:124) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:[404](https://github.com/heemin32/geospatial/actions/runs/3253777954/jobs/5341360413#step:4:405)) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	... 6 more
�   ? last 40 non error or warning messages from D:\a\geospatial\geospatial\build\testclusters\integTest-0\logs\opensearch.stdout.log ?

https://github.com/heemin32/geospatial/actions/runs/3253361449/jobs/5340559789#step:4:462

Are integration/cypress tests also running? If not please reopen this issue.

integration tests are running in all platforms.


Can I have a empty map in response body to match any response map?

I would like to have a contract like something below.
"response": {
        "status": 200,
        "body": {
            "key1": {

            },
            "key2": {
                "key3": "value3"
            },
        }
}

In my contract, I want to have a empty map key1:{} that match any response map. In other words, no matter what response body I have, if I have a key1 field and no matter if the value is empty or not, I would like my tests passing. Is it a way to do that?

There is no current way to do that. If you specify an empty map in your consumer test, then pact will expect the map to be empty when validating the providers response.


Please create a tag for changes from PR #4

Since there was a breaking change in logrus, can you please provide two tags? One before the change of #4 which points out that logrus <= 0.11.0 is supported and one that says that it is compatible with logrus >= 0.11.1 ? That would make live way easier for people like me, that are using tools like glide, because i do not have to search for commit hashes then ;)
Thanks

Makes sense. I've added to pretty much all significant changes.

👍


cherry picking of bug-fix/agency-restart-after-compaction-and-holes-i…

Cherry picking agency bug fix where holes in RAFT Log lead to incapacitated agency.

Tests have completed on Linux and Mac.
The agency as delivered by customer starts up fine within 2-3 election cycles.
Leader maintains leadership through deployments of 10000+ log messages.


[bug] modal doesn't play well with radix's popper (and therefore shadcn/ui)

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
1.0.12
wagmi Version
1.4.3
Current Behavior
opening the connect modal from a radix dialog produces an invalid stacking experience where the RK modal is visibly in front of the radix content but click/hover passes through the rainbow modal and registers on the radix component.
this is because the radix popper adds pointer-events: none to the body element, and the RK modals don't explicity set pointer-events: auto
Expected Behavior
clicks should work
Steps To Reproduce
<Dialog open={open} onOpenChange={onOpenChange}>
        <DialogContent>
          <DialogHeader>
            <DialogTitle>title</DialogTitle>
            <DialogDescription>desc</DialogDescription>
          </DialogHeader>

          <DialogFooter>
            <DialogClose asChild>
              <Button variant="ghost" size="lg">
                nvm
              </Button>
            </DialogClose>
            <Button size="lg" onClick={connectAndSave} disabled={connectModalOpen}>
              sign in & save
            </Button>
          </DialogFooter>
        </DialogContent>
      </Dialog>

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://codesandbox.io/p/sandbox/suspicious-jasper-g5lxl4
(page.tsx)
Anything else?
the rainbowkit modal should perhaps capture any clicks on its background and stop propagation, otherwise the onPointerDownOutside override must be used on the top-most radix dialog

with pointer-events: auto set on the RK parent div, clicks work but aren't captured and are still bubbling up the tree, cause the radix dialog to dismiss itself while the user clicks on "browser wallet" for example, since presumably it's triggering radix's "did click outside" logic. preventing bubbling of any clicks at the RK modal level should be the solution

i suspect calling e.stopPropagation() as part of this fn will solve the bubbling issues, and including an explicit pointer-events: auto on https://github.com/rainbow-me/rainbowkit/blob/main/packages/rainbowkit/src/components/Dialog/Dialog.tsx#L54 will allow the modal to receive clicks in this situation
curiously, the stopPropagation on the FocusTrap doesn't seem to actually stop the propagation when a click occurs inside the RK modal

@shrugs Can you share a CodeSandbox sample so that I can have a look at your Radix components and UI?

got around to making a repro! here it is (also updated above) https://codesandbox.io/p/sandbox/suspicious-jasper-g5lxl4
start in page.tsx

I resolved this by using modal prop on Dialog

@hieuhlc can you expand? i wasn't able to change the behavior whether i set <Dialog modal /> to true or false

When modal set to true, interaction with outside elements will be disabled (body has pointer-events: none)
So I set modal={!connectModalOpen} to enable pointer events

ah, makes sense! i think this does solve the point events issue (though i'm not sure how this affects accessibility ¯_(ツ)_/¯) but unless i'm mistaken you probably still need to prevent clicks using the onPointerDownOutside prop, or clicks will cause the radix dialog to dismiss itself


Windows11 context menu responds slowly when I active PowerRename and Image Resizer

Microsoft PowerToys version
0.60.1
Running as admin

[X] Yes

Area(s) with issue?
Image Resizer, PowerRename
Steps to reproduce
My Windows version is 22000.795. When I active PowerRename and Image Resizer on my two PC, the context menu responds slowly, but when I colse these two functions, this problem will disappear.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

The integration with Win11 menu is new and (by the looks of it) not yet perfect. My experience is not that it is slow, but sometimes it looks like a menu-item is being removed at the moment the menu is called.

In my situation, it causes Microsoft/terminal#13523

In my situation, it causes Microsoft/terminal#13523
confirmed related to powerrename.msix. remove-appx and delete it immediatly fix the problem.

I guess the removement of other software and slow responce may related to ms limited the total amount of menu items in win11 context menu. So system need more time to decide what to display.

I would say this is a /feedbackhub item


Provide a way to create a firewall.

This way if you want grapher-live to work on a prod server, you may allow it to some developers or special type of users.

solved.


V0.12.1.x sentinel pr 1

This adds 3 new RPC methods which are used by sentinel to obtain information about consensus parameters and the current superblock subsidy budget.  A new consensus parameter, nMinGovernanceQuorum has also been added to replace a previously hardcoded value.  The goal is to have a single source of truth for consensus information rather than have it managed separately by sentinel and dashd.

Having separate rpc methods (getsuperblockcycle and getmingovernancequorum) each returning nothing but single constant doesn't feel quite right imo. These two are probably good candidates to start implementing smth like getgovernanceinfo instead. getsuperblockbudget is slightly heavier and actually does some work so could be kept as is (or could additionally be part of getgovernanceinfo i.e. same relations as for getbalance and getinfo/getwalletinfo if it makes sense for some sentinel side logic).

I considered having a single method that would return all the consensus parameters but thought that was a lot of data to query for just two parameters.  I didn't really consider creating a group but I guess getgovernanceinfo does make sense.  Normally I would be inclined to leave something like this the way it is for now and revisit it in a later release when we have a better idea of where sentinel is going but I suppose that once we've added new cli commands we'll be stuck with them forever.
OK, I'll make the change you suggest.

Looks good 👍
utACK 6c0d9e

utACK c9fbd8a

Do we have a budget/block to test this?

I'm not sure I understand your question, but if you mean for testing getsuperblockbudget it will currently return 0 for all block heights on testnet, until PR #971 is merged.  After that it should return a non-zero value for any block that is a multiple of 24.

@crowning- would be nice to have some unit tests if that what you mean ;)

@tgflynn Okay, that's the info I needed. I've run a script that does a getsuperblockbudget for the first 60000 blocks  and wondered why every single one returned 0. (and, BTW, fed it with random binary data and it handled everything well :thumbsup: ).
@UdjinM6 I'm certainly not the C++ unit-test guru (done my fair share in Java, though), but I think that's a good opportunity to start it :-)


Add ci

Add CI

ensure notebooks are not committed with content
ensure that notebooks run without failure

The current notebooks do not all run so CI is expected to fail initially. We will correct the failures in a separate PR.

This needs to be rebased once #2 is merged.

I merged the previous pull request.

Thanks @khider! Just a quick tip on best practices, we try to get a github review "approval" from at least one person before merging :)

The errors are coming from the two notebooks that don't currently run. I'm going to call that a separate (high priority) issue.


Python environment description hard to read on blue and dark themes

Also the dropdown on the dark theme:


ui: Create a new k-tool-bar with inputs to request a sdntrace

Requirements
We need a new k-tool-bar with inputs to send a request to PUT /api/amlight/sdntrace_cp/v1/trace
The following components are recommended:

k-input and k-input-auto to insert the mandatory dpid with autocompletion (any of the switches that are available in the topology). For each dpid, if metadata.node_name is defined, then it should display metadata.node_name, otherwise just the dpid value.
k-input and k-input-auto to insert the mandatory in_port with autocompletion (any of the interfaces of the dpid that will be selected first). For each port value, if metadata.port_name is defined, then it should display metadata.port_name, otherwise just the port value.

If you need a reference how to implement k-input with autocompletion and also displaying the specific metadata when applicable check out these components here and here on pathfinder

k-accordion to group optional items such as eth, and then k-input to add dl_vlan, dl_type, dl_src, and dl_dst. Check the openspec API for more details.

k-accordion to group optional ip, and then k-input to add nw_src, nw_dst, and nw_proto.

k-accordion to group optional ip for ipv6, and then k-input to add ipv6_src, ipv6_dst, and nw_proto.

k-accordion to group optional tp, and then k-input to add tp_src and tp_dst. nw_proto should be overwritten to 6 if any of tcp_src and tp_dst is set.

k-button to submit the request.

k-button to clear the component input values. It's not always desirable to automatically clear the inputs once the request is submitted since users might want to reuse or just change again one value and submit another request shortly after.

Scenarios
For local tests, you'll probably want to use a topology such as linear,3 and with mef_eline and create an EVC, just so you have at least one expected completing trace result (since sdntrace_cp would be tracing the current path of this EVC).

You can use topology linear,3:

mn --controller=remote,ip=<IP_ADDRESS>,port=6653 --switch=ovsk,protocols=OpenFlow13 --topo=linear,3

Start kytosd:

kytosd -f -E --database mongodb

Wait for switches to connect and then create this EVC:

curl -H 'Content-type: application/json' -X POST http://<IP_ADDRESS>:8181/api/kytos/mef_eline/v2/evc/ -d '{"name": "inter_evpl", "dynamic_backup_path": true, "uni_a": {"interface_id": "00:00:00:00:00:00:00:01:1", "tag": {"tag_type": "vlan", "value": 2221}}, "uni_z": { "interface_id": "00:00:00:00:00:00:00:03:1", "tag": {"tag_type": "vlan", "value": 2221}}}'

Send a sdntrace_cp v1 request with curl

❯ curl -X PUT http://<IP_ADDRESS>:8181/api/amlight/sdntrace_cp/v1/trace \
     -H "Content-Type: application/json" \
     -d '{"trace": {"switch": {"dpid": "00:00:00:00:00:00:00:01", "in_port": 1}, "eth": {"dl_type": 2048, "dl_vlan": 2221}, "ip": {"nw_proto": 6}}}' | jq
{
  "result": [
    {
      "dpid": "00:00:00:00:00:00:00:01",
      "port": 1,
      "time": "2024-01-16 15:07:19.635123",
      "type": "starting",
      "vlan": 2221
    },
    {
      "dpid": "00:00:00:00:00:00:00:02",
      "port": 2,
      "time": "2024-01-16 15:07:19.635206",
      "type": "intermediary",
      "vlan": 1
    },
    {
      "dpid": "00:00:00:00:00:00:00:03",
      "port": 2,
      "time": "2024-01-16 15:07:19.635243",
      "type": "last",
      "vlan": 1,
      "out": {
        "port": 1,
        "vlan": 2221
      }
    }
  ]
}

I've just talked with @HeriLFIU. He's onboard with this one. He'll contribute to it on this semester.


Cannot start BurpSuite because of Java springframework issue

Describe the bug
Hello team! I downloaded the latest burp-rest-api precompiled jar file. Then, I ran the following command to start BurpSuite:
java -jar ~/Downloads/burp-rest-api-2.1.0.jar burp.jar=/home/user/BurpSuitePro/burpsuite_pro.jar

As a result, I received an error that Burp hadn't managed to start because of Java classNotFound exception. I attached a log file to this issue.
Expected behavior
BurpSuite pro daemon started with the provided parameters
Desktop (please complete the following information):

OS: Ubuntu 19.04
Burp Suite Professional version: v2020_4
Extension burp-rest-api version: 2.1.0
Java version: openjdk, 11.0.5

Additional context
Error log:
log file
burp-error.log

With newer JDKs, you have to use the wrapper: ./burp-rest-api.sh or ./burp-rest-api.bat

Closed, duplicate of https://github.com/vmware/burp-rest-api/issues/93

@ikkisoft , I received the same issue while using ./burp-rest-api.sh
./burp-rest-api.sh --burp.jar=/home/ubuntu/BurpSuitePro/burpsuite_pro.jar

@tomaszdoyensec is taking a look. Thanks

Hey @IgorSasovets! Thank you for showing interest within the project. Unfortunately at this moment we do not support burp.jar param for JRE > 9, as the return value of getSystemClassLoader() is no longer an URLClassLoader object. To make it happen we should consider to create a new custom class loader that bypasses this situation by reflection, which is not planned at the moment. To make tool work properly with the JDK-11.0.5 I would suggest you to follow the readme, which states to put the burp-rest-api.sh, burpsuite_pro.jar and burp-rest-api.jar within the same directory and run .sh file.

Hello, @tomaszdoyensec ! Thank you for the quick response. I tried the suggested scenario but got another issue. Burp daemon unexpectedly shuts down after a couple of seconds from start. I downloaded the latest burp-rest-api jar and bash script and moved them into the folder with a burpsuite_pro.jar . Then, I used the below command to start BurpSuite (within the folder that contains all required files):
./burp-rest-api.sh --project-file=test-project.burp

Log file:
error-log.log

Hey @IgorSasovets, I was trying to replicate your problem and I've used the exact software (versions) you mentioned. Are you sure that the test-project.burp file is a valid one?
Can you tell me what happens when you follow this approach:

Start Burp Suite Pro (windowed) and create a new project
Configure the project
Save and exit burp
Then place the project_name.burp file in the directory where the rest of files (burpsuite_pro.jar, burp-rest-api-2.1.0.jar and burp-rest-api.sh) are located
Finally run ./burp-rest-api.sh --project-file=project_name.burp ?

Hi, @tomaszdoyensec ! I followed the mentioned scenario and received exactly the same error. After that, I decided to run burp-rest-api script with --headless.mode=false parameter in order to start BurpSuite in UI mode. Project closed after a few seconds from start but I received the following error:

@tomaszdoyensec , @ikkisoft , I finally managed to start a BurpSuite using burp-rest-api.sh script.  Thank you for your time and help! Failures were caused by headless-burp-proxy project jar files that were placed in the same folder. I think it should be mentioned in the README of this project because this issue can cause incorrect work of the project. Can I open a PR for it?

Yes, please and thanks a lot to you!

Note for the future: If there are JAR files of the headless-burp-proxy project in the same folder with the original Burp Suite JAR, please move them to another location because they can cause the failures of burp-rest-api.{sh,bat} script.


Application broken with new cartodb.js v3.12.13

I get this error in my console with the new cartodb.js v3.12.13 released 8 hours ago.
Uncaught ReferenceError: Mustache is not defined    cartodb.js:14
My application fails to load.  Switching to previous 3.12.12 or any earlier release fixes the issue.

Hello @russmo. I'm happy to investigate what's going on here. I will need some more info. What are you doing exactly?

I dropped CartoDB into an existing application a few days ago.  It’s loaded by require.js along with other libraries, so it’s not quite a plain vanilla setup.  Require is also pulling in jquery, underscore, backbone, and my custom app.js.  I know cartodb.js has some of those bundled inside of it, so I can see how there might be some conflicts.
What is strange is that everything worked fine a few days ago, it just failed out with today’s 3.12.13 release.  Anything earlier works as expected.  I’m wondering what might have changed between 3.12.12 and 3.12.13 to change this behavior?

On Mar 18, 2015, at 10:42 AM, Pablo Alonso<EMAIL_ADDRESS>wrote:
Hello @russmo https://github.com/russmo. I'm happy to investigate what's going on here. I will need some more info. What are you doing exactly?
—
Reply to this email directly or view it on GitHub https://github.com/CartoDB/cartodb.js/issues/408#issuecomment-83082011.

@russmo. The main change in v3.2.13 is the upgrade of mustache.js from v0.5.2 to v1.1.0, which is totally related to the error you're seeing. Are you including your own version of mustache.js?

I am not using mustache.js.  I just updated my backbone and underscore to the latest stable versions in my app and I still get the error.  I’m sure there’s something weird going on with require.js asynchronous script loading and something getting loaded before it should.
cartodb.js:14 Uncaught ReferenceError: Mustache is not defined
require.js:27 Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch

On Mar 18, 2015, at 12:29 PM, Pablo Alonso<EMAIL_ADDRESS>wrote:
@russmo https://github.com/russmo. The main change in v3.2.13 is the upgrade of mustache.js from v0.5.2 to v1.1.0, which is totally related to the error you're seeing. Are you including your own version of mustache.js?
—
Reply to this email directly or view it on GitHub https://github.com/CartoDB/cartodb.js/issues/408#issuecomment-83130949.

I just tested loading only cartodb.js as the only script via require.js and it has the same Mustache-related error.  I wonder if there is something in Mustache v1.1 that detects if it is loaded via an AMD loader (e.g., require.js) and doesn’t export a global Mustache object.

On Mar 18, 2015, at 2:00 PM, Russell Moffitt<EMAIL_ADDRESS>wrote:
I am not using mustache.js.  I just updated my backbone and underscore to the latest stable versions in my app and I still get the error.  I’m sure there’s something weird going on with require.js asynchronous script loading and something getting loaded before it should.
cartodb.js:14 Uncaught ReferenceError: Mustache is not defined
require.js:27 Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch http://requirejs.org/docs/errors.html#mismatch

On Mar 18, 2015, at 12:29 PM, Pablo Alonso<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@russmo https://github.com/russmo. The main change in v3.2.13 is the upgrade of mustache.js from v0.5.2 to v1.1.0, which is totally related to the error you're seeing. Are you including your own version of mustache.js?
—
Reply to this email directly or view it on GitHub https://github.com/CartoDB/cartodb.js/issues/408#issuecomment-83130949.

Could you provide a small html to reproduce the problem ?

This is not a cartodb.js issue. It seems that Mustache.js and require.js do not work well together.
Here's an example that reproduces the problem.
@russmo are you loading cartodb with a script tag? It would be great if you could share your code with us.

You're right.  It's not an issue in the cartodb module.  It's just an artifact that pops up if a user's app uses require.js or another AMD script loader based on the way cartodb.js aggregates its dependencies.  If Mustache detects a 'define' function, it loads as an AMD module and doesn't export a global Mustache object.  The older Mustache version in 3.12.12 and earlier didn't do this.  The cartodb module looks for a global Mustache and doesn't find one.
The only way to prevent this in a page with require.js is to either put cartodb.js in a script tag above require.js or make sure a Mustache.js is loaded in a script tag before require.js.  Like this:
http://codepen.io/anon/pen/raoWBE
This makes everything happy by including a version of Mustache in a script tag above the require script tag.  I can define cartodb as a dependency for my app and it loads jquery, leaflet, and cartodb happily.  It finds a window.Mustache global, so it doesn't complain upon loading.  I make sure cartodb's bundled Mustache is put back in the global.    The advantage is that I can have a number of pages/apps just require 'mycartodb' and they'll get the right libraries loaded in the right order.  I have a number of leaflet plugins to load and requirejs makes sure they are loaded in the right order.
The alternative is that I just load cartodb in a script tag ABOVE the require.js tag anywhere I need cartodb.  This works fine.  I just need to make sure this is done above require.js anytime I need leaflet and some cartodb layers.

Thanks for the example @russmo! We are closing this issue since it's not a cartodb.js. If more people report this issue, we will think about a way to make cartodb/mustache work with require.js. Thanks!


fix: always send saveDialog parameter

Fix the 404 Resource Not Found error due to #441 which stopped sending the parameter when false.

:tada: This PR is included in version 0.319.4 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Question: Is it possible to have multiple targets in a validation set

I have a validation dataset that contains multiple targets. I want to train a regression and have several validation metrics, one for each of the targets in the validation set. At the moment I create the valid_sets parameter like
valid_sets = [lgb.Dataset(data=df.filter(like="feature"), label=df[t]) for t in targets]
which works, but I create a duplicate of the features each time. As a consequence, my memory is too small for my data.
Is it possible to define a validation set with multiple targets and have a metric for each of those reusing the features?
Thank you very much!

Can you tell us a bit more about what you mean by "multiple targets"? Do you just mean something like this?

sales
region
... other features ...

10.0
West
...

11.5
West
...

23.1
East
...

22.0
East
...

7.8
North
...

And you want to train a model on data like that, but then report metrics like "RMSE predicting sales for offices in the West region"?
A reproducible example (working code that we could copy and run) showing exactly what you're doing would also increase the likelihood that you get a helpful answer here.

How about computing multiple feval's where each feval uses same metric but applies to a different output class?

That sounds very interesting. I will give this a try. Thank you very much.

@Recepguel I have trouble constructing an validation Dataset with multiple targets.
In the docs (https://lightgbm.readthedocs.io/en/v3.3.5/pythonapi/lightgbm.Dataset.html#lightgbm.Dataset) it says label is one dimensional parameter.
Do you have a hint if I should try to attach the additional targets to the dataset manually, like
ds = lgb.Dataset(data=features, label=training_target)
ds.eval_targets = pd.DataFrame(additional_targets)

Or should I try to include them in the features of the original set?

@simpsus Sure add any attributes to that object you can do like
from __future__ import annotations

import numpy as np
import lightgbm as lgb

class Dataset(lgb.Dataset):

    def __init__(self, add_targets: np.ndarray, **kwargs) -> None:
        super(Dataset, self).__init__(**kwargs)
        self.add_targets = add_targets

data = Dataset(data=np.random.randn(30, 3),
               add_targets=np.random.randn(30, 2),
               init_score=np.zeros(30),
               label=np.random.randn(30))

def feval1(predictions: np.ndarray, dataset: Dataset) -> tuple[str, float, bool]:
    return 'metric1', np.mean(predictions - dataset.add_targets[:, 0]).item(), False

def feval2(predictions: np.ndarray, dataset: Dataset) -> tuple[str, float, bool]:
    return 'metric2', np.sum(predictions - dataset.add_targets[:, 1]).item(), False

lgb.train({'min_data_in_leaf': 1}, data, feval=[feval1, feval2], valid_sets=[data], valid_names=['train'])


Create Playbook for developing and testing operators using operator-sdk

Playbook for developing and testing helm, ansible and go based operators using operator-sdk

/cc @sajauddin

/cc @aman4433


Onboard webarchitecture ebook

This is the 3rd architecture eBook.

Closing and re-starting.
Local Git Repo is hosed.


Commands broken after upgrading to v2

Upgraded to version 2 now none of the commands work:
Error detected while processing function remote#define#CommandBootstrap[5]..remote#define#request:
line    2:
Error invoking '/home/deevus/dotfiles/.config/nvim/plugged/fzf-preview.vim:command:FzfPreviewBuffers' on channel 4:
Error: nvim_call_function: Vim(execute):E731: using Dictionary as a String

In my environment, I've seen it work with the following minimum configuration.
Does the same error occur with other commands?
call plug#begin('~/.vim/plugged')

Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'yuki-ycino/fzf-preview.vim', { 'do': ':FzfPreviewInstall' }

call plug#end()

And, if you can, may I ask you to rm the plugged folder once and try to install it again?

And, if you can, may I ask you to rm the plugged folder once and try to install it again?

I tried this and had the same error message.

I should note that I'm using neovim master. Just installed from HEAD https://github.com/neovim/neovim/tree/b39edb5b605b545843482c70a3a3d03e2331a059

I just tried 0.4.3 and had the same issue, so it's not some new issue with 0.5.0.

Ok I don't know what I did, but I nuked the plugged directory and reinstalled neovim and now it's working :man_shrugging:

I am still seeing this behavior intermittently with Neovim from master. Additionally, as I mentioned in #138, UpdateRemotePlugins sometimes generates an empty signature for this plugin, which seems related...

Sorry, I haven't been able to reproduce it in my environment.
Is there a reproducible procedure?
Does running UpdateRemotePlugins several times cause the command to be removed?

I unfortunately can't give you instructions for 100% consistently reproducing it - the closest I've come is noting that UpdateRemotePlugins works when run inside the fzf-preview.vim directory, but usually does not work when run in some other directory.

If the plugin fails to load outside of the git project and There was a bug that prevented UpdateRemotePlugins from working properly.
I've fixed it in the following commit so you can try it out.
https://github.com/yuki-ycino/fzf-preview. vim/commit/9682011c2f0fb3afc2343e913a041ba 55b7f11a5

This seems to be working much better, thank you!


REQUEST FOR FEEDBACK - DO NOT MERGE Coordinates

Moving coordinate inner classes from J into the Coordinates interface.

Moving coordinate inner classes from J into the Coordinates interface.


Pipeline editor: pipeline should be validated when a user attempts to save it

It appears that some (but not all) canvas operations validate the pipeline and issue a warning ("open pipeline") or refuse to perform the requested task ("export", "run)". However, if a user saves an invalid pipeline (e.g. because it is a work in progress) no warning is displayed.
It'd be nice if a warning is displayed just like it is already done when a user opens an invalid pipeline):

We should be careful here.  This may be viewed as a nuisance since other pieces in the eco-system do not behave this way (at least that I know of).  Also, if we wanted to add any kind of periodic checkpointing (auto-saving), then we wouldn't want this happening either (although I suppose we could determine the difference between auto-save and explicit-save).  I think leaving this associated with the actual action (run, export) is more appropriate.

Should we validate at save? Maybe.
But we should definitely not cancel save if there are validation errors.


Search Nearby

[ ] Design button and layout for "Nearby Springs"
[x] Grab User GPS location

[x] Move map to current location and display relevant springs
[ ] If user declines display error and have them type something instead.

Currently grabbing location on page load if user gives permission.


rake aborted! when activesupport-3.0.20 fails to load jammit

I'm trying to migrate an old  teambox 3 installation to a new machine and am currently stumped by this error
Upon
bundle exec rake --trace db:migrate RAILS_ENV=production
I get
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
syck has been removed, psych is used instead
rake aborted!
LoadError: cannot load such file -- lib/jammit_loading
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `block in require'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:227:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require'
/mnt/case/home/teambox/tb_3ph/config/initializers/jammit.rb:2:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `load'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `block in load'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:227:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `load'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/engine.rb:201:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/engine.rb:200:in `each'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/engine.rb:200:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/initializable.rb:25:in `instance_exec'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/initializable.rb:25:in `run'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/initializable.rb:50:in `block in run_initializers'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/initializable.rb:49:in `each'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/initializable.rb:49:in `run_initializers'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/application.rb:134:in `initialize!'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/application.rb:77:in `method_missing'
/mnt/case/home/teambox/tb_3ph/config/environment.rb:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `block in require'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:225:in `block in load_dependency'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:597:in `new_constants_in'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:225:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.5/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/application.rb:103:in `require_environment!'
/usr/local/rvm/gems/ruby-2.1.5/gems/railties-3.0.20/lib/rails/application.rb:218:in `block in initialize_tasks'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

this is the file that fails to load > lib/jammit_loading
I'm running ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux], with gems
*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.20, 3.0.9)
actionpack (3.0.20, 3.0.9)
activemodel (4.2.4, 3.0.20, 3.0.9)
activerecord (4.2.4, 3.0.20, 3.0.9)
activeresource (3.0.20, 3.0.9)
activesupport (4.2.4, 3.0.20, 3.0.9)
addressable (2.3.8, 2.2.6)
arel (6.0.3, 2.0.10)
aws-s3 (0.6.2)
aws-sdk (2.1.28)
aws-sdk-core (2.1.28)
aws-sdk-resources (2.1.28)
bigdecimal (1.2.4)
builder (3.2.2, 2.1.2)
bundler (1.7.6)
bundler-unload (1.0.2)
cancan (1.4.1)
capybara (<IP_ADDRESS>)
celerity (0.8.9)
cgi_multipart_eof_fix (2.5.0)
childprocess (0.2.2)
chronic (0.5.0)
cocaine (0.1.0)
columnize (0.3.4)
configuration (1.3.1)
cssmin (1.0.3)
cucumber (1.0.2)
cucumber-rails (0.3.2)
culerity (0.2.15)
daemons (1.2.3, 1.1.4)
database_cleaner (0.5.2)
diff-lcs (1.1.2)
dm-active_model (1.2.1)
dm-core (1.2.1)
dm-rails (1.2.1)
erubis (2.6.6)
eventmachine (0.12.10)
executable-hooks (1.3.2)
factory_girl (1.3.3)
faker (0.9.5)
faraday (0.6.1)
fastthread (1.0.7)
ffi (1.0.9)
foreman (0.19.0)
fuubar (0.0.5)
gem-wrappers (1.2.7)
gem_plugin (0.2.3)
gherkin (2.4.5)
haml (3.1.2)
haml-rails (0.3.4)
hashie (1.0.0)
headless (0.2.2)
hpricot (0.8.4)
i18n (0.7.0, 0.5.4, 0.5.0)
icalendar (1.1.6)
iconv (1.0.4)
immortal (0.1.7)
innertube (1.1.0, 1.0.2)
io-console (0.4.2)
jammit (0.6.6, 0.6.3)
jmespath (1.1.3)
joiner (0.3.4)
jsmin (1.0.1)
json (1.8.3, 1.8.1, 1.5.3)
json_pure (1.6.1)
kgio (2.6.0)
launchy (0.3.7)
libxml-ruby (2.4.0)
mail (2.2.20, 2.2.19)
memcache-client (1.8.5)
middleware (0.1.0)
mime-types (1.25.1, 1.16)
minitest (5.8.1, 4.7.5)
multi_json (0.0.5)
multipart-post (1.1.2)
mysql (2.8.1)
nokogiri (1.4.7)
oa-core (0.2.3)
oa-oauth (0.2.3)
oauth (0.4.5)
oauth2 (0.3.0)
open4 (1.1.0)
paperclip (2.3.15)
pg (0.9.0)
pickle (0.4.8)
Platform (0.4.0)
polyglot (0.3.5, 0.3.1)
POpen4 (0.1.4)
psych (2.0.5)
rack (1.2.8, 1.2.3)
rack-mount (0.6.14)
rack-ssl-enforcer (0.2.2)
rack-test (0.5.7)
rails (3.0.20, 3.0.9)
railties (3.0.20, 3.0.9)
raindrops (0.7.0)
rake (10.4.2, 10.1.0, 0.9.2)
rbx-require-relative (0.0.9)
rdiscount (1.6.8)
rdoc (4.1.0, 3.12.2, 3.8)
riddle (1.5.12, 1.3.3)
rspec (2.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
rspec-instafail (0.1.8)
rspec-mocks (2.3.0)
rspec-rails (2.3.1)
ruby-progressbar (0.0.10)
rubygems-bundler (1.4.4)
rubyzip (0.9.4)
rvm (<IP_ADDRESS>)
sass (3.1.4)
selenium-webdriver (2.6.0)
sphinx (<IP_ADDRESS>12)
sprockets (1.0.2)
sprockets-rails (0.0.1)
sqlite3-ruby (1.2.5)
teambox-permalink_fu (1.0.2)
term-ansicolor (1.0.5)
test-unit (<IP_ADDRESS>)
text-format-revised (1.1.0)
text-hyphen (1.2)
thin (1.2.11)
thinking-sphinx (3.1.4, 2.1.0, 2.0.1)
thor (0.14.6)
thread_safe (0.3.5)
tilt (1.3.3)
timecop (0.3.5)
tmail (<IP_ADDRESS>)
treetop (1.4.15, 1.4.9)
tzinfo (1.2.2, 0.3.45, 0.3.29)
unicorn (4.0.1)
webrat (0.7.3)
whenever (0.4.2)
xml-simple (1.1.0)
xpath (0.1.4)
yui-compressor (0.9.6)

Any help in this issue is deeply appreciated

Gemfile was specifying the HTTP domain. Fixed; thanks @ganar! You'll have to point your Gemfile to this repo to get this fix until we release.


Unable to understand the exact reason from the pop up when adding a service provider with a long description

== Environment ==
IS 5.4.0 Update 3 - 2 node cluster
JDK - 1.8
DB - mysql 5.6
OS - ubuntu 16.04
Browser - Chrome - Version 59.0.3071.115
== Steps to Recreate ==

Login to management console, click 'Add' under Service Providers
Register a service provider with a long description (may be with more than 1000 characters)

== Actual Outcome ==
There's an error pop up and says "Error while Creating Application" as below

== Suggestion ==
Since the popped up error message doesn't convey the issue exactly, it's better to modify the error message and ask user to limit the characters in description (may be saying, less than $max characters)

UI validation is done with https://github.com/wso2/carbon-identity-framework/pull/1794. We can do a back end validation also.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Update recipe and feedstock

I updated the recipe using grayskull:
grayskull pypi --strict-conda-forge --tag 0.1.0alpha https://github.com/single-cell-data/TileDB-SOMA-ML

And then I rerendered:
conda smithy rerender --commit auto

A few notes on the updates:

Only building for linux-64 for now to keep things as simple as possible
I removed defaults from the source channels. We want all of our conda binaries to come from conda-forge (for both technical and legal reasons)
The name of the package is tiledbsoma-ml (from pyproject.toml) and the import name is tiledbsoma_ml (from the directory name under src/)
I added myself as a recipe maintainer, but since this isn't a conda-forge repo, I'll need someone to grant me write-access

Green CI on my fork 🎉 https://dev.azure.com/jdblischak/feedstock-builds/_build/results?buildId=1071&view=results


Feature request: Allow the writer to specify a pretty printer for artifacts

I noticed that I wanted to pretty print the artefacts. Especially because sometimes the raw artefact is a bit hard to read.
The code I need for that is very similar to the actual fuzzer. It would be nice to have a pretty print function for artefacts. It should be used standalone to show an artefact file. But it can also be used during runs to print a more meaningful message than a set of bytes

❯ cargo fuzz --help
A `cargo` subcommand for fuzzing with `libFuzzer`! Easy to use!

Usage: cargo-fuzz <COMMAND>

Commands:
  init      Initialize the fuzz directory
  add       Add a new fuzz target
  build     Build fuzz targets
  check     Type-check the fuzz targets
  fmt       Print the `std::fmt::Debug` output for an input
  list      List all the existing fuzz targets
  run       Run a fuzz target
  cmin      Minify a corpus
  tmin      Minify a test case
  coverage  Run program on the generated corpus and generate coverage information
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

I believe cargo fuzz fmt artifact/crash-*** should do the trick nowadays?


Freshen copyright statements

As identified in https://github.com/awslabs/pipeformer/pull/9 it is now 2019 and our headers should reflect thus.

Closing down project: #52


dart:collection add fromEntries ctor to HashMap

Dart version: 2.x
It'd be nice if we had an entries ctor here just like Map – not a breaking change
CC @lrhn

Definitely possible, and simple. It will literally be
factory HashMap.fromEntries(Iterable<MapEntry<K, V>> entries) => HashMap()..addEntries(entries);


34.0.0

hey, first of all. thanks you for supporting arm arch6.. i´ve developing using android studio on my android phone and tablet thanks to your work. for a couple of mounths.
i want to know if you're planning to update for de 34.0.0 version for arm too.

https://github.com/lzhiyong/android-sdk-tools/releases/tag/34.0.3

Thank You so Much @lzhiyong.
I really appreciate it!!! I'm programming using Android Studio on my Cellphone and my Android Tablet.
And since i found this repo i was able to build every project that i tried!

@lzhiyong the only thing i couldn't get to work on Android studio is the Layout Previews cause they also use native libraries.
If u know something about it, or how to compile this, i would appreciate so much too.


complete unit tests

The Coverage has reached 82%, report:
https://coveralls.io/github/elliotxx/mdfmt


object field template/ configured lerna for temporary workaround

Reasons for making this change
Created ObjectFieldTemplate Widget, configured lerna and other files for compiling only the required packages (for faster compilation.
fixes #20
Checklist

[ ] I'm updating documentation

[x] I've checked the rendering of the Markdown text I've added

[x] I'm adding or updating code

[ ] I've added and/or updated tests
[ ] I've updated docs if needed

[x] I'm adding a new feature

[x] I've updated the playground with an example use of the feature

@anikethsaha playground now builds fine for me, pull this branch if you are having any difficulties.

@Xtremilicious something is wrong with the rebase I guess, all old commits from upstream is present here. Can you check

The readme files and some more config files were updated in the master for the new packages, so had to pull the changes, playground builds fine.

From: Anix<EMAIL_ADDRESS>Sent: Wednesday, July 1, 2020 7:02:28 PM
To: MLH-Fellowship/react-jsonschema-form<EMAIL_ADDRESS>Cc: Nilarjun Das<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MLH-Fellowship/react-jsonschema-form] object field template/ configured lerna for temporary workaround (#46)
@Xtremilicioushttps://github.com/Xtremilicious something is wrong with the rebase I guess, all old commits from upstream is present here. Can you check
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MLH-Fellowship/react-jsonschema-form/pull/46#issuecomment-652420436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALLNZF3HAJLZINUD5SJBKODRZM3GZANCNFSM4OMJWXNQ.


added a function to check if user exist

github didnt like the merge so i used copy + paste to solve the problem. your code has been implemented.


docs: use explicit getter in sample over iterator interface methods

Related to: https://github.com/googleapis/google-api-php-client-services/issues/169#issuecomment-582101676

@googlebot I consent.


NativeTextStyle's fontSize is not working

NativeTextStyle's fontSize is not working, i tested it with many values but it's not changing from the default one
import 'package:flutter/material.dart';
import 'package:flutter_native_admob/flutter_native_admob.dart';
import 'package:flutter_native_admob/native_admob_controller.dart';
import 'package:flutter_native_admob/native_admob_options.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  static const _adUnitID = "ca-app-pub-3940256099942544/8135179316";

  final _nativeAdController = NativeAdmobController();

  Widget showAds(double fontSize) => Container(
              height: 90,
              child: NativeAdmob(
                adUnitID: _adUnitID,
                controller: _nativeAdController,
                type: NativeAdmobType.banner,
                options: NativeAdmobOptions(
                  headlineTextStyle : NativeTextStyle(
                                      fontSize: fontSize,
                                  ),
                ),
              ),
            );

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body:  ListView(
          children: <Widget>[
            showAds(5.0),
            showAds(10.0),
            showAds(20.0),
            showAds(30.0),
            showAds(40.0),
          ],
        ),

        ),
    );
  }
}

@Errechydy i tired the code you provided as it is. and it works for me. for every Ad i got a bigger fontsize, like the value given in the showAds() method.
the only thing i change it the _adUnitID.
_adUnitID = "ca-app-pub-3940256099942544/3986624511";
i used this one, because i'm using an iOS device

@korchix have you tried it in a real device?

@korchix have you tried it in a real device?

i have run it in a real device (iphone x)

@korchix  Weird, i have run it on Android device (Nubia ZTE) the font didn't change, i don't know if that happens on all Android devices or it's related only to the device i have

@Errechydy try to run it on an android emulator like the Pixel 2 XL or something like that.

@korchix I will, but to be honest i don't trust emulators that much. in many cases things work on emulators well then when you test them on a real device they don't

I can confirm that Text Size don't change on Android but works on IOS

+1 fontSize does not work on android devices.


improve several point：umd, angular, IIFE

add umd wrapper to the plugin
improve angular support (no test yet)
wrap the updateScrollbars function into IIEF

Hello. Thank you for your commit. I will review it and merge after test.
But I have few questions: as I can see I should switch doc and win in arguments (because of root, root.document order), is it correct? Also, you set angular as dependency, what will happen if angular won't be loaded?

that is a question, i haven't think about if angular is not provided. i need time to figure out!

I just push another commit, it fixed the argument order bug, and remove the angular dependency. As a result, when someone wants to use it with AngularJS and RequireJS together, he need to add a shim anyway. But if no angular dependency, no shim is required!


Replit pls

Pls

leave a star pls, I'll try

Bruh, you just paste the Github link (in the hecking Create Repl), then it will create for you a repl, isn't it?


Reduce knock down duration when shattered

Created by: MaxwellJung
OW2 shatter knockdown duration is 2.75 seconds, OW1 is 2.5 seconds

moved from ow1_emulator_backup#590


Adding required BlockId query parameter to BlockBlob Upload operation

This PR adds the required BlockId query parameter to the BlockBlob Upload operation in the Dataplane Storage Blob swagger.

/azp run automation - sdk

Can one of the admins verify this patch?

cc @mayurid

Closing this since I believe the StageBlockBlob operation is the correct scenario for this.

Hi, @catalinaperalta. The PR has be closed for a long time and it's related branch still exist. If no further used for over 14 days, I will delete this related branch. Please tell me if you still need this branch.

Hi, @catalinaperalta. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.

Hi, @catalinaperalta. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.

Hi, @catalinaperalta. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.


Realised PnL when market is terminated is wrong

unrealisedPNL and realisedPNL are not modified in any way on frontend. They are displayed as delivered in response.

@Jiajia-Cui are you able to add any additional details? As bart has mentioned we don't do anything to the values returned via the API. There could be a core bug, can you remember how and when you got this value? Or can yo recreate it?

@Jiajia-Cui are you able to add any additional details? As bart has mentioned we don't do anything to the values returned via the API. There could be a core bug, can you remember how and when you got this value? Or can yo recreate it?

I do not have additional details, I checked some feature tests which cover the PnL when market is terminated, and they seem fine. So I am not sure whether it's Core or Front-end.


Logs during the graceful shutdown

I have no expertise in this matter - but is it possible to make pplog depend on the context of the application? For example, when launching an application that has a graceful shutdown implemented, with Ctrl - C (sigint), pplog shuts down without displaying application logs.

Hi @dcaraxes! Could you provide simple way to reproduce the issue? Shell command or codesnippet?

Hi @dcaraxes! Could you provide simple way to reproduce the issue? Shell command or codesnippet?
And could you pleas show the output of pplog -v? Are you sure you are using the latest version of pplog?

This is just being solved in the pull request https://github.com/michurin/human-readable-json-logging/pull/15 . I have already tried that version on Mac OS and everything works as I expected.


Add conditional option to create cluster-admin

Allow a user to prevent the hardcoding and automatic creation of the cluster-admin user

Added bool variable rosa_create_admin, defaulted to true to not break current implementation
Added conditional when: rosa_create_admin bool operator to run the create_admin task

Sorry @paulczar, I accidentally overwrote your | bool casting, fixed it in a second commit. I think we're ready now.


LGTM.com errors

Fix part of these LGTM.com errors:
https://lgtm.com/projects/g/nltk/nltk/?severity=error

Thanks, @DimitriPapadopoulos !


Can I use phpmyadmin

How do I install phpmyadmin , I try to pull phpmyadmin container then --link to link phpmyadmin and mysql , But It not work for me , What is a correctly way to use phpmyadmin
Thank you.

@avatarr Add this to your docker-compose.yml file:
phpmyadmin:
  image: phpmyadmin/phpmyadmin
  ports:
    - "8080:80"
  links:
    - mysql:db
  environment:
    PMA_USER: root
    PMA_PASSWORD: password


FIX msvc

looks like https://github.com/openssl/openssl/issues/6153
don't hesitate to amend the commit to put a meaningful commit message

both failing build end with conans.errors.ConanConnectionError: ('Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host'))
Can somewone restart them ?

same error the second time, and same error on my fork's CI. I'm lost here

@ericLemanissier I am merging this for now, it's just a bintray instability, don't worry

I found the same error when building OpenSSL 1.0.2q. Thanks @ericLemanissier !!!


Single party POL covenant

Priority for this depends on which audit dates we get:

Scenario 1: We get a single date for v2 in late December or January

We drop the single party POL
We do all the two party work + Osmosis integration

Scenario 2: We get two dates (one in December and the second in the 2024)

We deliver single party POL + two party work in first audit
We deliver osmosis integration in second audit


Fix/ignite expo boostrap 7.14.0

Please verify the following:

[X] yarn ci:test jest tests pass with new tests, if relevant
[X] README.md has been updated with your changes, if relevant

Describe your PR
Resolves: #1972

Simple patch to check if iOS folder exists before change directory to iOS and pod install.

Thanks @d-e-a-n-f !!

:tada: This PR is included in version 7.14.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add: each field as Flexible

Proposed changes allow setting automatic width for fields.
E.g. here the eachFieldWidth is unset and set eachFieldMargin: const EdgeInsets.symmetric(horizontal: 4):

Thanks for PR I'll take a look at it ASAP.


Strange accel override

https://github.com/ros-industrial/staubli_val3_driver/blob/55b4fe6d3fbc60fa7a89139aa0f195c5d3c62072/staubli_val3_driver/val3/ros_server/pushMotion.pgx#L77
sets the acceleration (deceleration) to 9999 if velocity override is activated. This is motivated by a  reference to the manual and Val3's default value. However in said manual the acceleration is specified to be in percent, ie in the range of 100 to 0. 9999 is the default value for tcp velocity.
Our customer set this to 60 and obtained good results, 9999 was apparently very un-smooth and not visually pleasing

I've linked #8, as it changes the implementation of the override.
As I wrote in #1 though, I believe we should remove it entirely.


Fixed endpoints are not registered irregularly

Added missing Promise.all
saveEndpoint could end without awaiting endpoint registrations.

Please reflect it to 'master'. thank you :)


proposal: os: expose accessible physical system memory size

Currently runtime.NumCPU() int exposes the number of cpu cores, which is easily useful for limiting concurrent cpu-bound goroutines. It would be similarly useful if there were a runtime.TotalMemory() uint64 call to help limit memory-intensive goroutines from swapping. I think semantics similar to NumCPU are fine - just detect total memory during startup and do not attempt to track available memory.
An example use case where this would be awesome: I have multiple terabytes of data and want to do all-against-all comparisons. By dividing the data into pairwise batches that fit into memory I can process it more efficiently without needing to pre-process or configure based on what system it's running on. Also my development system uses a different OS and has significantly less memory than my production systems (e.g. using a linux-specific package would make testing and development more difficult).
FWIW, this would also provide a platform-independent way to implement #21795 in userspace.

I don't think this needs to be in the standard library. I suggest proptying
it in your own library first. It may never need to be integrated into the
stdlib.
On Sat, 9 Sep 2017, 12:59 Jeremy Jay<EMAIL_ADDRESS>wrote:

Currently runtime.NumCPU() int exposes the number of cpu cores, which is
easily useful for limiting concurrent cpu-bound goroutines. It would be
similarly useful if there were a runtime.TotalMemory() uint64 call to
help limit memory-intensive goroutines from swapping. I think semantics
similar to NumCPU are fine - just detect total memory during startup and do
not attempt to track available memory.
An example use case where this would be awesome: I have multiple terabytes
of data and want to do all-against-all comparisons. By dividing the data
into pairwise batches that fit into memory I can process it more
efficiently without needing to pre-process or configure based on what
system it's running on. Also my development system uses a different OS and
has significantly less memory than my production systems (e.g. using a
linux-specific package would make testing and development more difficult).
FWIW, this would also provide a platform-independent way to implement
#21795 https://github.com/golang/go/issues/21795 in userspace.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21816, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA4ZxXGu-mpekBA2jWMTmEiroNR6pks5sgf8lgaJpZM4PR3LA
.

An argument could be made that NumCPU doesn't "need" to be in the stdlib as well, but its utility is clear. CPUs directly relate to constraints on concurrency. Memory likewise relates to constraints on allocation/garbage collection. These are both pretty integral to Go yet memory limits don't get first-class status like cpu cores.
Personally I'd really like to avoid any java-style "-Xmx" mess without resorting to shell wrappers.
I'm happy to prototype - I submitted this proposal to initiate discussion.

In your use case, runtime.TotalMemory would provide the "detected total memory." However, if we are not providing the available memory, the metric is not useful in practice. To me it suggests that NumCPUs and TotalMemory are not the same. The user does not control what and how many CPUs are used, but might have control over indirect allocation. If all NumCPUs cant be used, the user never sees that. If TotalMemory cant be used, the runtime has a fatal error after a make().

I don't understand how to do this in a portable and useful way.
For example, on GNU/Linux, the "total memory available" depends on what other processes on the system are doing.  There is no single value for "total memory available" over time.

Not available (I agree that is too difficult), just what is physically installed. E.g. what is the hard limit before overcommitting/swapping.
I've started a prototype here: https://github.com/pbnjay/memory

My prototype is reasonably complete now, tested on multiple GOOS/GOARCH. I concede package runtime is probably the wrong place for it, but would like to suggest os if this has any chance of seeing the light of day. Again, I don't need/want currently available memory, only what my code has a possibility of addressing without swapping.
@as I think you're forgetting about virtual memory on modern operating systems. I can easily make() a 32GB allocation on my 16GB laptop without a fatal error. When I try to use it, it will swap to disk. If I'm using a lot of that memory all the time, the system will start thrashing, which is exactly the situation I'd like to avoid (using this function's information).

/cc @rlh @aclements

Like others, I'm concerned that this ignores multi-tenancy. There's nothing inherently wrong with the API, of course; it just doesn't seem that useful because of this. On most of my systems, using anything like the total available memory for one process would bring the system to its knees. :) One situation where this may be more useful is in a container-ized environment where you're more isolated from other tenants, but then it seems like you should be querying this information from the container manager (maybe your prototype effectively does this? I'm not sure how container memory limits affect Sysinfo. And some container managers allow much more complicated memory policies).
Certainly if we were to add this to std, it shouldn't go in runtime. The comparison to runtime.NumCPU is rather misleading. They're fundamentally different resources: time is fungible, space is not. That's why it's okay for GOMAXPROCS to default to the total number of CPUs, but not okay for the memory manager to just claim all available RAM. Plus, I'm not positive, but I suspect runtime.NumCPU mainly exists from back when GOMAXPROCS defaulted to 1 and it was often useful to explicitly set it to the number of CPUs. I suspect if we were to redo the runtime API we would leave that out.
This seems like a good package and if it's useful in certain environments, that's great. But it's not clear to me that it passes the bar for std.


Consolidation windows

Description
What problem are you trying to solve?
I'd like to be able to define time windows for karpenter to do consolidation.
How important is this feature to you?
Consolidation is nice but, to enjoy it, I would need to be able to define "maintenance windows" where I know it is "safe" for karpenter to evict pods and nodes.

Closing as a dupe of some of the current disruption work (https://github.com/aws/karpenter/issues/1302). There is a doc at https://github.com/aws/karpenter-core/pull/207 you can comment on.


Generate object comparison implementation (implement Comparable)

Migrated from Google Code (issue 208)

I'm not sure why you think this would be difficult. The attributes of @CompareTo would be the same as for @EqualsAndHashCode. Use Apache Commons Lang CompareToBuilder to implement.
@CompareTo(callSuper=true,  include={"field1", "field2", "field3"}
class Foo {
}

//generates
class Foo implements Comparable<Foo> {
...
    public int compareTo(Foo foo) {
        return new CompareToBuilder()
              .appendSuper(super.compareTo(foo)
             .append(this.field1, foo.field1)
             .append(this.field2, myClass.field2)
             .append(this.field3, myClass.field3)
             .toComparison();
    }
}

Actually, it would have to be a little more complicated, because you would have to allow for sorting in descending order for each field. I agree that this should not be allowed unless all selected fields are themselves Comparable.
It also might be nice to allow a custom comparator got complex cases, e.g,
@CompareTo(comparator=FooComparator.class)

This would be a very handy feature and I urge you to reconsider.
Kudos! Lombok is a fantastic framework.

This issue is closed, but there's a newer discussion (but no progress) in #512.


Added Spongebob Disappointed Sound

I adjusted the config to be a little nicer, added a check for multiple deaths so it doesn't play the sound more than once and added the spongebob disappointed sound effect primarily meant for the death option.

Hey, awesome work! I hope it wasn't to bad to dig into my unorganized code :)
Do you have the proper license to be able to use the spongebob dissapointed sound?
Without that i can't release it to runelite.
It must be something like i have in my readme file, make sure to follow the rules of the license.
Kind regards
Stan


OSB 2 elite clues in 1 Zulrah trip, but only received one

You can only have 1 of each clue tier at a time, its just a visual bug that it shows that you got 2.


Two collars - only one added w/ errors

My scenario consists of the following:

Home Assistant OS
HASS-TryFi (installed via HACS)
2x Fi Series 3 Collars
2x Fi Series 3 Bases
1x Fi Series 2 Base

I have been using HASS-TryFi for a while now with no issues, with only ONE collar and ONE base. I just added a second collar/base to my Fi setup, and upon removal/re-initialization of the HASS-TryFi integration, some of the entities are not being integrated. Dog1s collar & base, the old Series 2 base, and Dog2s base are picked up, but Dog2s collar is missing. Image attached, sensitive information removed.

I have removed/reinstalled HASS-TryFi, tried manually installing, several full reboots of my Home Assistant OS machine, etc, all to no avail. Logs are included below, sensitive information removed.
2023-02-08 07:31:16.620 INFO (MainThread) [custom_components.tryfi] Success Connecting to TryFi
2023-02-08 07:31:18.875 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.tryfi
2023-02-08 07:31:18.875 INFO (MainThread) [homeassistant.components.light] Setting up light.tryfi
2023-02-08 07:31:18.876 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.tryfi
2023-02-08 07:31:18.876 INFO (MainThread) [homeassistant.components.select] Setting up select.tryfi
2023-02-08 07:31:18.876 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.tryfi
2023-02-08 07:31:18.880 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.tryfi entity: light.dog1_collar_light
2023-02-08 07:31:18.881 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_collar_battery_level
2023-02-08 07:31:18.882 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_daily_steps
2023-02-08 07:31:18.882 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_weekly_steps
2023-02-08 07:31:18.883 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_monthly_steps
2023-02-08 07:31:18.883 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_daily_distance
2023-02-08 07:31:18.884 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_weekly_distance
2023-02-08 07:31:18.884 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_monthly_distance
2023-02-08 07:31:18.884 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_daily_sleep
2023-02-08 07:31:18.889 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_weekly_sleep
2023-02-08 07:31:18.890 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_monthly_sleep
2023-02-08 07:31:18.890 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_daily_nap
2023-02-08 07:31:18.891 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_weekly_nap
2023-02-08 07:31:18.891 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_monthly_nap
2023-02-08 07:31:18.891 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_activity_type
2023-02-08 07:31:18.892 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_current_place_name
2023-02-08 07:31:18.892 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_current_place_address
2023-02-08 07:31:18.893 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1_connected_to
2023-02-08 07:31:18.893 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog1s_base
2023-02-08 07:31:18.894 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.og_base
2023-02-08 07:31:18.895 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.tryfi entity: sensor.dog2s_base
2023-02-08 07:31:18.895 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new select.tryfi entity: select.dog1_lost_mode
2023-02-08 07:31:18.896 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.tryfi entity: binary_sensor.dog1_collar_battery_charging
2023-02-08 07:31:19.261 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new device_tracker.tryfi entity: device_tracker.dog1_tracker
2023-02-08 07:31:19.262 ERROR (MainThread) [homeassistant.components.light] Error adding entities for domain light with platform tryfi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/light.py", line 90, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.267 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform tryfi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/sensor.py", line 376, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.270 ERROR (MainThread) [homeassistant.components.select] Error adding entities for domain select with platform tryfi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/select.py", line 66, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.271 ERROR (MainThread) [homeassistant.components.binary_sensor] Error adding entities for domain binary_sensor with platform tryfi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/binary_sensor.py", line 88, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.279 ERROR (MainThread) [homeassistant.components.light] Error while setting up tryfi platform for light
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 301, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/light.py", line 90, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.280 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up tryfi platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 301, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/sensor.py", line 376, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.280 ERROR (MainThread) [homeassistant.components.select] Error while setting up tryfi platform for select
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 301, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/select.py", line 66, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:19.281 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up tryfi platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 301, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/binary_sensor.py", line 88, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:20.203 ERROR (MainThread) [homeassistant.components.device_tracker] Error adding entities for domain device_tracker with platform tryfi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/device_tracker.py", line 91, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'
2023-02-08 07:31:20.204 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up tryfi platform for device_tracker
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 301, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 549, in _async_add_entity
    device_info = entity.device_info
  File "/config/custom_components/tryfi/device_tracker.py", line 91, in device_info
    "model": self.pet.breed,
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiPet.py", line 291, in breed
    return self._breed
AttributeError: 'FiPet' object has no attribute '_breed'

Very similar experience for myself. It looks like the underlying Python library that @sbabcock23 wrote, of which this Home Assistant integration is a wrapper for, got an update just last week, while this integration hasn't been updated since December. Looking at the classes inside the Python library, it looks like the variables are in fact present, and haven't been touched in the recent library update, so my best guess is something else in the recent update is crashing, and the whole library is in an unknown state.
@rjshade , do you think these errors are related to the Query failures you predicted would happen in the latest pytryfi release?
Including my own stacktrace as a point of reference
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 607, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 572, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1007, in state
    if (is_on := self.is_on) is None:
  File "/config/custom_components/tryfi/light.py", line 74, in is_on
    return bool(self.pet.device.ledOn)
  File "/usr/local/lib/python3.10/site-packages/pytryfi/fiDevice.py", line 68, in ledOn
    return self._ledOn
AttributeError: 'FiDevice' object has no attribute '_ledOn'```

I don't think any of these failures are related to the schema change I mentioned. It looks like FiPet._breed and FiDevice._ledOn should be set on successful query responses from the server. Perhaps something is failing with these queries?

@17kisern and @Mason10198 There has been a new release of hass-tryfi and the underlying package pytryfi - the new version is 0.0.19 and I believe should resolve the issues in this thread. Could you please update to the latest version and close this issue if you are all set? 😀

I am no longer receiving these errors/bugs after updating to the latest version, thank you @jldeen! Since @Mason10198 created this issue, it's up to him to close it out


feat(cta): add new cta types

Related Ticket(s)
Closes #8785
Description
This PR updates the CTA mixin and the CTA defs to add new types of CTAs

New Tab
PDF
Blog

The new tab type tacks on to the external type's logic to add target="_blank", and the pdf type is added to the type-checking/console warning for use of the download prop.
Changelog
New

New types added to CTAs (new tab, pdf, blog)

Just saw Percy picked up this issue in Web components. It seems to be rendering fine when I run it though. This might be an issue with Percy but can you double check @andy-blum ?
Card link

Card

@andy-blum Still looks good and Percy's passing, but looks like the React wrapper isn't building 😢

@RichKummer  the Jenkins failure seems unrelated - let's see how the CI checks go after merging in the latest changes from main.


Platform: Null?

Have a platform that is nothing? And you're to handle the callbacks yourself.

I think this is fine now.

https://github.com/RobLoach/nuklear_gamepad/pull/18


Bottles: please put multiple Wine versions

To be able to check on a few.

I don't think adding multiple Wine versions to Conty is a good idea, this will unnecessarily increase the size of it.  If you need other Wine versions, you can download them from other sources (for example, from here) and add them to Bottles or use them directly.

Please add to README - how to add other Wine versions manually.

Hm maybe Lutris is better for trying different Wine versions, right?

Hm maybe Lutris is better for trying different Wine versions, right?

Both are fine.

how to add other Wine versions manually

Extarct them into ~/.local/share/bottles/runners and they will apear in the Bottles interface.

Strange that in Bottles and Lutris we cannot select any Wine version - so that it will be fetched automatically, without manual downloading and looking for the correct folder to put.

Both are fine.

Wow I found that in Lutris I can fetch Wine without opening a web browser


Fix weird plural of public method names of EditorDebuggerNode

I changeds the public method names of:

EditorDebuggerNode::_method_changeds, and
EditorDebuggerNode::_property_changeds

to something more relevant:

EditorDebuggerNode::_methods_changed, and
EditorDebuggerNode::_properties_changed

I'm sure @AThousandShips will have a good laugh.

Yeah the compat methods are not needed, they're only relevant (or even, useful) for methods bound to the scripting API via bind_methods. We don't keep deprecated methods only for modules' sake, as binary compatibility isn't a question (the whole engine needs to be compiled), so the module code can be adjusted.

English is hard tbh, it's no french but English spelling is weird

Removed the compatibility methods!

Thanks!


[T3A4][W09-A2]Yang Zhuohan

Good effort @billstark Some comments added. Please close the PR after reading comments.


NRF_DRIVE_S0D1 option is not always overriden in the nordic,nrf-twi and nordic,nrf-twim nodes

This statement is not true:
https://github.com/zephyrproject-rtos/zephyr/blob/42858bebb7290e51b93620529bcc1d8b6e5e734b/dts/bindings/pinctrl/nordic%2Cnrf-pinctrl.yaml#L114
Explanation:
I'm using TWI on nrf52832 on custom board.
I have custom board pin control dtsi file *-pinctrl.dtsi file which has i2c configuration as:
[...]

	i2c1_default: i2c1_default {
		group1 {
			psels = <NRF_PSEL(TWIM_SCL, 0, 16)>,
					<NRF_PSEL(TWIM_SDA, 0, 15)>;
		};
	};

	i2c1_sleep: i2c1_sleep {
		group1 {
			psels = <NRF_PSEL(TWIM_SCL, 0, 16)>,
					<NRF_PSEL(TWIM_SDA, 0, 15)>;
			low-power-enable;
		};
	};

[...]

And I use this *-pinctrl.dtsi file in my custom board dtsi file as:
#include "art_nr1amp-pinctrl.dtsi"

[...]

&i2c1 {
	compatible = "nordic,nrf-twi";
	status = "okay";
	pinctrl-0 = <&i2c1_default>;
	pinctrl-1 = <&i2c1_sleep>;
	pinctrl-names = "default", "sleep";
};

[...]

On my custom board I have external pull-up resistors on both SCL and SDA lines.
When I try to interface I2C sensor with this code:
#include <zephyr/zephyr.h>
#include <zephyr/drivers/i2c.h>

void main(void)
{
	const struct device *const i2c_dev = DEVICE_DT_GET(DT_NODELABEL(i2c1));

	if (!device_is_ready(i2c_dev)) {
		printk("ERROR: I2C device is not ready.\n");
		return;
	}

	int retval;
	while (1) {
		uint8_t temp[2];
		retval = i2c_burst_read(i2c_dev, 0x40, 0xE3, temp, sizeof(temp));
		if (retval == 0) {
                        [...]
		} else {
			printk("read register err: %d\n", retval);
		}

		k_msleep(500);
	}
}

The code breaks at i2c_burst_read function and I get read register err: -5 error code on the console output.
I've looked at the SDA and SCL lines with the oscilloscope and on the Slave ACK there is Vdd/2 signal on the SDA line (should be Vdd). I've interpreted the error that I have internal pull-up resistor enabled.
To disable the internal pull-up I've added nordic,drive-mode = < NRF_DRIVE_S0D1  >; line in my custom board pin control file so it became:
[...]

	i2c1_default: i2c1_default {
		group1 {
			psels = <NRF_PSEL(TWIM_SCL, 0, 16)>,
					<NRF_PSEL(TWIM_SDA, 0, 15)>;
                        nordic,drive-mode = < NRF_DRIVE_S0D1  >;
		};
	};

	i2c1_sleep: i2c1_sleep {
		group1 {
			psels = <NRF_PSEL(TWIM_SCL, 0, 16)>,
					<NRF_PSEL(TWIM_SDA, 0, 15)>;
                        nordic,drive-mode = < NRF_DRIVE_S0D1  >;
			low-power-enable;
		};
	};

[...]

And the had i2c_burst_read function successfully returned 0 and I've could successfully retrieved data from the I2C sensor.

And the had i2c_burst_read function successfully returned 0 and I've could successfully retrieved data from the I2C sensor.

So what are you asking here?

And the had i2c_burst_read function successfully returned 0 and I've could successfully retrieved data from the I2C sensor.

So what are you asking here?

I've edited the end of the issue to clarify it.

was this issue fixed in 32a87215d7aa97191097357f602237f7da4a3536 ?

I've edited comment with information that I'm developing software with the nrf sdk v2.0.2. Zephyr version on sdk could be found here.

So the statement linked at the start of this issue might be false. Can someone verify it?

Yes, this is a bug in NCS v2.0.2. A workaround for it is to set nordic,drive-mode = <NRF_DRIVE_S0D1> in the pinctrl configuration node, just as you did (there is no need to set it in the *_sleep node, as the drive mode is irrelevant in this case - the pins are not driven anyway).
The fix mentioned above (32a8721) is now also applied in NCS, in both main (the recently released v2.1.0 contains this fix) and v2.0-branch branches, hence I'm closing this issue.

thank you


Debugging Server object extensions (SOEs) or Server object interceptors (SOIs) at IntelliJ IDE

Dear Madam/Sir,
I hope all of you are doing well,
I have started to learn about SOE and SOI, I followed all the steps of ESRI (ArcGIS Enterprise SDK, Java Guide), and I somehow finished all the steps, but in the final step I could run the debug extensions in my IntelliJ IDE.
Thank you in advance for your time and kind consideration,
Have a nice day

To debug a Java SOE or SOI, you can follow the instructions here:
https://developers.arcgis.com/enterprise-sdk/guide/java/debug-extensions-dedicated-java/
The debugger must be attached to the running service process via remote debugging. Currently, SOE/SOI can't be debugged as a standalone application.


No plugin can handle URL: http://www.tv4play.se/kanaler/tv4

Hi, i got problems with watching TV4 Play, it just says: "No plugin can handle URL: http://www.tv4play.se/kanaler/tv4" or any tv4 play URL i put in altho it acording to the plugin page it should be supported, am i doing something wrong?
Here is the script: (Yes i tried without http and it still didn't work)
@echo
livestreamer.exe http://www.tv4play.se/kanaler/tv4
@echo off
pause

The tv4play plugin does not support premium streams currently. But even if it did, it would not help as the streams for the channels are encrypted using the DRM technology widevine.

ow, thanks for the info, you should include that in the note section tho.


Where do I find console login info?

I can get users and access keys from the AWSSDK Identity Management nuget package, but I have not been able to figure out which users are enabled.
In the AWS console, that information appears to be displayed under console login info for a user, in the same page where access keys are displayed.
Is there a way to get to that data via the AWSSDK Identitiy Management assembly, or via some other package?

I'm not sure if users can be enabled/disabled in the console. Can you attach a screenshot of the console with information you are looking for?

Closing for lack of activity. Feel free to reopen with more information.


[GLUTEN-1632][CH]Daily Update Clickhouse Version (20240615)

Auto commit by gluten daily build, please check the build status and merge it if it's green.

Run Gluten Clickhouse CI


Create appendix of detailed file size estimates - resolves #39

This creates an appendix with more details about file sizes and a link to ITR's Computing for Cancer Informatics course. The tables included are either borrowed from ITR or were created by the Genomics Shared Resource group. This resolves Issue #39

Resolves #39

This is awesome!
Images show "jhudatascience.org"

Can we make sure to use the new template for slides? You can actually just tack them on here: https://docs.google.com/presentation/d/1luFoDzF6aDJEebbL6iWoJ_s8s9nQnaWLL5jghbmWdak/edit#slide=id.p

@avahoffman The images are directly from the Computing for Cancer Informatics class - should they be reformatted for the Hutch?

@avahoffman The images are directly from the Computing for Cancer Informatics class - should they be reformatted for the Hutch?

Nope, I clearly wasn't paying enough attention - please disregard my comment!


Open first facet box by default

Trello: https://trello.com/c/5ZwqcRWh
Test: https://finder-frontend-pr-1063.herokuapp.com/find-eu-exit-guidance-business
What

opens first facet box by default - but only if another facet isn't already selected.
implemented this logic by adding a ensure_minimum_one_open_facet method, which wraps around the FacetCollection and ensures that there is at least one open facet.
updates integration tests that relied on the old behaviour
adds new integration tests that capture the new behaviour explicitly
removes unused facet logic ('facets with more than 10 options collapsed by default') and removes the corresponding tests.
renames close_facet? to open_on_load? & updates application to use this new API (i.e. flip from true to false and vice versa)
removes some logic from 'views/finders/_option_select_facter.html.erb' and delegates responsibility to the model.

Why

we can't look at a facet in isolation and determine whether or not it should be expanded. We need to look at the other facets, and only if none of them are selected do we open the first facet box.
therefore I've had to add a method higher up the chain than simply the OptionSelectFacet class.
The rename of close_facet? to open_on_load? is for readability (much easier not having to deal with double negatives!).
The logic added to FacetCollection runs irrespective of the facet type. If open_on_load? is missing, the application errors - so I've had to stub this open_on_load? method in the top-level Facet class. It defaults to true.
Removes unused facet logic ('facets with more than 10 options collapsed by default') as currently ALL facets are collapsed by default (i.e. this code doesn't appear to be doing anything!)
I took the opportunity to remove business logic from the view as this isn't best practice.

Screenshots

Current behaviour
New behaviour introduced by this PR
Behaviour when something selected (unchanged by this PR - have manually verified & added an integration test to explicitly test this)

@ChrisBAshton quick question - which finders is this intended for? Can you provide links? e.g. it doesn't seem to expand the first one on https://finder-frontend-pr-1063.herokuapp.com/search/news-and-communications, but I assume that's intentional?

Oh, this is just for the Business Finder: https://finder-frontend-pr-1063.herokuapp.com/find-eu-exit-guidance-business

A concern I have is that this might change behaviour on other finders. Have you tested this, and is there any way we could introduce a test to be confident behaviour elsewhere hasn't changed?

I have the same concern, so I'm grateful this is being reviewed. 😀
The codebase doesn't seem to distinguish between particular finders, and the more the Business Finder behaviour is tweaked, the more of an issue this might become. A technical architecture problem to consider later...?
In the meantime, not knowing enough about how the other finders are supposed to work makes it tricky to test if I've broken them. The integration tests are passing, which I'm taking to mean that this hasn't broken the other finders. And I've added integration tests to cover our new expectations specific to the business finder.

I misunderstood the requirements:

The open/closed state of a facet does not depend on the states of other facets. So I overcomplicated this PR a lot!
I missed a major requirement - that it should only apply on desktop. (So I undercomplicated it too!)

Closing this in favour of #1073.


Conda Enviroment is not created

Type: Bug
Behaviour
Expected vs. Actual
Expected:
When + is clicked a new conda enviroment should be created.
Actual:
There are two notifications in the right corner poping up and closing fastly, afterwards there is no new conda env or error message
Steps to reproduce:

Click on + follow the dialogs

Diagnostic data

Python version: 3.9.13
Conda version: 22.11.1
Windows 10 Pro 22H2
Type of virtual environment used: Conda
Value of the python.languageServer setting: Default

Extension version: 1.0.4
VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:29:14.590Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1255U (12 x 2611)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.71GB (6.08GB free)

Process Argv
--crash-reporter-id efa07db7-a6a1-49bd-bc99-4fcc63568dd1

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
2e4cg342:30602488
iaj6b796:30613358
f6dab269:30613381
fim-prod:30623723

+1

i solved the problem by following steps. You can try to run conda activate xxx in powershell and if your terminal prompts Your shell has not been properly configured , this may help you.

run conda init powershell in powershell(admin mode)
run set-executionpolicy remotesigned to allow powershell to execute scripts before it start up

i solved the problem by following steps. You can try to run conda activate xxx in powershell and if your terminal prompts Your shell has not been properly configured , this may help you.

run conda init powershell in powershell(admin mode)
run set-executionpolicy remotesigned to allow powershell to execute scripts before it start up

I already did this, and can activate the 'base' env without any problem, but the create by clicking '+' in the extension is still not working for me, but manual create with 'conda create' works, I need help debugging this.

hello, have you ever solved this problem? I met the same mistake.

+1, python: Create ... command in vscode is also not working if I choose to use conda to create env.

1, python: Create ... command in vscode is also not working if I choose to use conda to create env.

looks like an upstream issue in the python extension
Please could up file an issued on the microsoft python extension repo


Missing /arch information for ARM64

ARM64 matters... For one, choosing the architecture results in different implementations of atomic operations.

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

ID: 66875a44-174b-6ce4-732c-8159146e44de
Version Independent ID: 83dd8c4d-7df7-5200-1b99-c17f13cb6ce8
Content: /arch (Minimum CPU Architecture)
Content Source: docs/build/reference/arch-minimum-cpu-architecture.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@TheJCAB
Thanks for the report. Until Visual Studio 2022 version 17.2, there weren't any ARM64-specific /arch options. There is one now that lets you specify a higher minimum processor architecture requirement. I've added an article for this option to the docs. While I haven't seen any intrinsics mentioned as requiring the higher architecture level, it wouldn't surprise me if such exist.