Could dep-tree entropy take a graph (as JSON?) as input?

Hello,
My coworker and I have been working on a project with similar goals & philosophy as dep-tree: https://github.com/dustin/graphex
It analyzes Haskell codebases and produces the graph as JSON. And it provides a CLI to analyze deps (for instance, you can ask why one file depends on another file to debug a tangled graph).
It already supports Looking Glass for visualization, but dep-tree entropy looks like it would be an improvement in many ways.
I'd love to hook it up to dep-tree entropy. But it looks like dep-tree entropy doesn't support just giving it a graph in some standard format? And it instead couples the graph generation with the graph visualization?
If there was some JSON format I could target, I could easily write a graphex graph dep-tree that converts graphex's JSON format to dep-tree's.
(I'd happily do the legwork to make this happen myself btw! If you have any pointers for getting started.)

Oh wait I found this https://github.com/gabotechs/dep-tree/issues/76
Is the format documented somewhere? Also, I don't think entropy supports it afaict.

But I don't think you can use that, that's an output format for dumping the created graph in a json file. If I understand correctly what you want is a way to provide the already formed graph to dep-tree entropy so that it can render it.
Right now providing an input in a standard format is not supported, the best way to achieve this would be to create a language implementation that instead of referring to an actual programming language, it would accept a json file.
I wrote a guide about how to contribute new language implementations https://github.com/gabotechs/dep-tree/blob/main/docs/IMPLEMENTING_NEW_LANGUAGES.md. Your use-case is not strictly a programming language, but the idea is pretty much the same: receive a file as an input and parse its contents in order to form the graph.
Feel free to take a look and see if that could work for you!

Sweet! Thanks for the pointers. I'll cut a PR when I get the chance :grin:


Add Stream::scan

Ref #129. The mapper function f is synchronous and returns bare Option<B>.
Asynchronous f seems tricky to implement right. It requires the wrapper to be self-referential, as a reference to internal state may be captured by the returned future.

Thanks!
bors r+


Oracle Enterprise Linux Test

Validate Oracle Enterprise Linux and Rancher 2.3 work together.
Deploy Rancher HA control plane with RKE CLI.
Deploy custom downstream cluster
Deploy EC2 node driver cluster with OEL AMI

found a bug during validation: https://github.com/rancher/rancher/issues/23329

The workaround is to delete all rules in the iptables before installing docker
sudo iptables -F

Two setups are used for the validation tests:

Setup 1: install Rancher in a ubuntu box, then add a custom cluster which uses Oracle Enterprise Linux
Setup 2: install Rancher in HA mode which has 3 nodes using Oracle Enterprise Linux, then add a custom cluster which uses the same Oracle Enterprise Linux

Configuration of the custom cluster:

AMI: OL7.6-x86_64-HVM-2019-01-29 (ami-062fed7f76f714d8d)
Docker version 19.03.3, build a872fc2f86
1 control plane, 3 etcd, 3 worker

The following tests are done on the custom cluster:

API test on workload, DNS, service discovery, ingress, secret, registry, catalog app, NFS storage
cluster and project monitoring

https://github.com/rancher/rancher/issues/23384


use tracing library instead of log

https://docs.rs/tracing/latest/tracing/

tracing is fully in use as of v0.15


Prieview processed html file (in another directory).

In my settup I have some html files in app/ directory, which are proccesed (by gulp) and outputted in dist/ directory.
The gulp settup includes browser-sync preview running on http://localhost:3000 but it forces me to manually navigate to the speciffic html file.
What I want to achive is when I lunch a preview on html file somewhere in app/ the preview displays corresponding file from from dist/ (or from the browser-sync on http://localhost:3000).
I tried tinkering with root and proxy setting with no luck.
Please, help!

If browsersync already refreshes a server hosted at localhost, you should consider using the Simple Browser: Show command instead to preview your project.

@andreamah That deosn achive what I'm after.
Maybe I should clearify. I'm not after opeing just the defualt (index) page under dist/ / http://localhost:3000.
What I want is:
I'm editing a file, e.g. app/subdir1/subdir2/subdir3/filename.html
and I want to preview dist/subdir1/subdir2/subdir3/filename.html or using browser-sync  http://localhost:3000/subdir1/subdir2/subdir3/filename.html.
I want to make my life easier bc there is quite a lot of files in many different (multiple level) subdirs and navigating to the prieview manually each time is pain.

There currently isn't a way to say preview one file from another file, even if they're related. If your files are all at the same path, you can always try setting livePreview.serverRoot and then just starting a server at that dir and navigating to your file. Or you can try a multi-root workspace with one root closer to your preview files such that you can open the preview easier.

Are aren't any plans at the moment to implement something like this, however. I will close this for now unless more people show interest in this type of feature.


Cannot retain message(topic=qtmqtt/topic1, payload_size=76334) for payload is too big!

Environment

OS: Ubuntu
Erlang/OTP:
EMQ: emqttd 2.3.5

Description
I try to use emqtt broker throuh Qt mqt module. All is working fine.
But when the message getting bigger it gives :
Cannot retain message(topic=qtmqtt/topic1, payload_size=76334) for payload is too big!
I increased mqtt.max_packet_size = 128KB
but still same error.
My packets generally between 100KB - 250KB
How can I send this type of payload data ?
thx.

Thanks a lot.
We mainly using the rabbitMq but recently we want to give a shot to the emqtt. We love mqtt.
Only feature that we need a queue in system. like in the rabbitmq. I know it could be against to the emqtt idea.
Is there any such feature ; keep the mesaages in the emqtt until somebody receive it?
thanks again.

@MyraBaba Yes, you can set the clean session = false, and tune the mqtt.mqueue.max_length in emq.conf.

Thanks..
is it removing the item if any subscriber took it , or it will keep all queue and any new subscriber get the full history ?
thx.

I think this is 👍
## Max queue length. Enqueued messages when persistent client disconnected,
## or inflight window is full.
mqtt.mqueue.max_length = infinity

So if the client persistent and lost the connection emq enqueing until client come back.
I didnt fount the clean session  = false config item in emq.conf

@MyraBaba clean session is a flag in the CONNECT MQTT message.
MQTT broker will buffer messages for every clients who have already subscribed your topics but stay offline, but not for the new subscribers of the topics. The message queues are created per ClientIDs.
I don't think EMQ is a replacement of RabbitMQ, it has never tried to do that.
MQTT is designed for IoT devices, in which scenario the count of connections would be massive, but the size of packages would be small. And the 3 level QoS are designed for unreliable networks.


Add image via website url instead of directory

It looks more polished then the one right now, weird...


Bug: Closing the game while connected causes a crash

What happened?
If, while connected to an AP server, the player quits the game from the main menu option, the game will crash instead of closing.
What were the expected results?
Probably want to disconnect from the server on main menu but look into hooking into the quit game option and forcing a disconnect there before it can crash.
Is this reproducible?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed this in #8


General Code Quality Improvement

This pull request is focused on resolving occurrences of rule:
pmd:RedundantFieldInitializer - Redundant Field Initializer.
You can find more information about the issue here:
http://dev.eclipse.org/sonar/rules/show/pmd:RedundantFieldInitializer
Please let me know if you have any questions.
Christian

thanx again @civanyp, your PRs are always very welcome ;)


feat(just,yafti): webapp manager + openrazer and oversteer in distrobox

This PR adds the LinuxMint desktop manager to Yafti and the justfiles! These actions should set it up properly (i've tested them in my machine and they seem fine!)

I very much appreciate you doing this with distrobox vs just layering it.
My intention is to do the same for utilities like oversteer, openrazer, and solaar. Give me a bit to set up the shared infra for that and I'll land this.

@KyleGospo Hi! I've seen that you added the proper udev rules to ublue-os/config and this repo, so I decide to update this PR to include those addressed programs into one distrobox container, those being OpenRazer and Oversteer! :> I don't know how to integrate solaar into it so that's as far as I went

Pulled this into https://github.com/ublue-os/bazzite/pull/342
Thanks again!


Server Crashing with java.awt.Color not found

Industrial Foregoing Version: 1.12.2-1.8.5-127
TeslaCoreLib Version: 1.12-1.0.13
Crashlog (If Any): https://pastebin.com/CKU0Ptsm
When I start up my Server under Linux, Java 8u161, it crashes and gives the provided crashlog. What is the issue here?

You might be missing some forge libraries, please reinstall forge


News Bot / prevent block and delete chat

To make sure all users always receive messages - as official company communication path - is it possible to configure bot in that way that users can't block it and/or delete chat?
If that would be possible that 404 and 403 errors would be also gone...

Hi @freserovski ,
Thanks for reaching out to us.
Please allow us some time. We will check and get back to you on this.
Thanks.

Hi @freserovski ,
Thanks for raising the query. From our application, we don't have control on those options. Even Microsoft Teams doesn't provide an option to disable or remove the "Delete" or "Disable" options in the chat section for individual users. If it is still an requirement, we recommend you to reach out to support team of  MS Teams.
Please let us know if you have any queries with respect to standard version of CC.


Half-successful deployment of 1.4.3

Deployment of tofu 1.4.3 was a half-success (see build)
Pypi:

sdist to pypi ok
bdist ok for mac (3.7 and 3.6)
bdist failed for linux

Anaconda:

anaconda for linux was not attempted because bdist failed for linux
anaconda for Mac ok

Is there a way to make sure a failed deployment does not stop the other deployments (linux cases) ?

For bdist distribution on Linux machines: as there are so many different linux distributions, with different compilers, etc. for the moment pypa doesn't distribute wheels (already compiled code) for linux machines, but somehow the conditions for the deployment were not met and it still try to deploy it as such. Solving this in a new PR

Fixed, in devel, by PR #371


get_iplayer: bugfix for darwin

Description of changes
Bug fix for this issue on Nix-Darwin:
https://github.com/NixOS/nixpkgs/issues/249578
Added myself as a maintainer

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

But you added @|jgarcia, not yourself as a maintainer.

The maintainer name does not necessary match the GitHub handle, though it's useful when it does.

But you added @|jgarcia, not yourself as a maintainer.

The maintainer name does not necessarily match the GitHub handle, though it's useful when it does.

TIL, which name is it referring to, then?

But you added @|jgarcia, not yourself as a maintainer.

The maintainer name does not necessarily match the GitHub handle, though it's useful when it does.

TIL, which name is it referring to, then?

Actually it's maintainer handle if we follow the doc in maintainer-list.nix
https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix


Toggle month shown

Is there anyway to cycle forward (or backward) in month view? Would using profiles work. This could be done either with a touch screen or physical buttons...

Not possible, but I’m creating another new calendar module, it will have that feature. Plz wait a few days

Awesome!! Thanks
On Fri, Nov 23, 2018, 2:05 PM Seongnoh Sean Yi<EMAIL_ADDRESS>wrote:

Not possible, but I’m creating another new calendar module, it will have
that feature. Plz wait a few days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eouia/MMM-CalendarExt/issues/49#issuecomment-441304728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Anbl4rEmVmYu3uaRoG2a6ead32tS2kubks5uyEbngaJpZM4YxCVZ
.

I'm building new module with another new parser and new look. I think in a few days I can release.
I'll close this issue. Have a nice day.

Sounds great. Please me posted of the modules name and when it will be
available. If you need a tester, I'd be down to help out where I can...
On Fri, Nov 30, 2018, 3:34 AM Seongnoh Sean Yi<EMAIL_ADDRESS>wrote:

Closed #49 https://github.com/eouia/MMM-CalendarExt/issues/49.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eouia/MMM-CalendarExt/issues/49#event-1997339239, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Anbl4ohsyL5qKr-p4XX83A9LSgkKlcKzks5u0O2xgaJpZM4YxCVZ
.


Chapter1 homework 1and2

Continuation of https://github.com/csinn/CSharp-From-Zero-To-Hero/pull/282 with the fixes required & the proper pull request (I hope).
I've closed the previous pull request.

I've finished the above changes :)


Components doesn't ship with images properly

Current Behavior

I have been trying to create a react component with images for the purpose of reusing them across different apps.
However, when I build the library and import the component, the component works fine except all the images are not referenced properly
I also tried running Storybook and I got the same issue.
Expected behavior

Build process should ship images properly
Suggested solution(s)

Additional context

I run tsdx build on the prepare script in the package.json
I tried using babel-plugin-file-loader, rollup-plugin-url and rollup-plugin-image but they didn't work.

Your environment

Software
Version(s)

TSDX
0.9.3

TypeScript
3.6.2

Browser
Chrome Version 77.0.3865.120

npm/Yarn
Yarn 1.19.1

Node
10.15.3

Operating System
MacOS Mojave 10.14.6

got a test repo?

Okay, I created a repo to reproduce the error. I commented out rollup-plugin-url and rollup-plugin-image in tsdx.config.js. When I try to use them, I get errors.

Any updates on this?

bump @sw-yx @arvinsim also interested in this...

havent had time to look into this yet, sorry. if anyone wants to help investigate, or propose the solve, pls be my guest

Sharing my config workaround to get images to work with tsdx.
// tsdx.config.js
const images = require('rollup-plugin-image-files')

module.exports = {
  rollup(config, options) {
    config.plugins = [
      images({ incude: ['**/*.png', '**/*.jpg'] }),
      ...config.plugins,
    ]

    return config
  },
}

It seems like your rollup plugin to handle images needs to come before tsdx's plugins. (I'm guessing before rollup-plugin-typescript2?).

I tried to get this working with @rollup/plugin-url, but couldn't figure it out. If anyone is interested, my config with @rollup/plugin-url can be seen below.
const rpts2 = require('rollup-plugin-typescript2')
const url = require('@rollup/plugin-url')

module.exports = {
  rollup(config, options) {
    config.plugins = [
      // Force the `url` plugin to emit files.
      url({ limit: 0, incude: ['**/*.png', '**/*.jpg'] }),
      ...config.plugins,
    ]

    // @rollup/plugin-url uses async/await, so we need to ensure
    // `objectHashIgnoreUnknownHack` is enabled on rpts2
    config.plugins = config.plugins.map(plugin => {
      if (plugin && plugin.name === 'rpt2') {
        return rpts2({
          clean: true,
          objectHashIgnoreUnknownHack: true,

          typescript: require('typescript'),
          cacheRoot: `./.rts2_cache_${options.format}`,
          tsconfig: options.tsconfig,
          tsconfigDefaults: {
            compilerOptions: {
              sourceMap: true,
              declaration: true,
              jsx: 'react',
            },
          },
          tsconfigOverride: {
            compilerOptions: {
              target: 'esnext',
            },
          },
        })
      }

      return plugin
    })

    return config
  },
}

The main problem seems to be that @rollup/plugin-url will generate a plain string instead of leveraging a require when you try to use an asset, which wont signal to a library consumer's bundler to properly generate the path for their project. (can be seen in action with Parcel in the example/ directory)

I tried this code
const images = require('@rollup/plugin-image');

module.exports = {
  rollup(config, options) {
    config.plugins = [
      images({ include: ['**/*.png', '**/*.jpg', '**/*.gif'] }),
      ...config.plugins,
    ]

    return config
  },
}

But it doesn't seem to still work.

Going to close the out since a solution was found. See https://github.com/jaredpalmer/tsdx/issues/379#issuecomment-568239477 for the summary from here.
Import order seems to affect this specific plugin. I'm not really sure why @rollup/plugin-url doesn't work


What kind of tests exists for the demo

What are the kinds of tests existing in this demo for each of the services in the programming language and if it's possible to add tests whether unit or integration tests if necessary to this demo?

This repository is a fork of opentelemetry-demo, with the services' code kept in sync with the upstream project. The primary purpose of this fork is to configure Elasticsearch for storing all generated data.
Given this context, the issue you’ve raised might be more appropriate for the upstream community to address. Any tests or changes implemented upstream will be automatically reflected in this fork.


Make notifications for multi-person direct messages work the same as for single-person direct messages.

I confirm (by marking "x" in the [ ] below):

[ x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[ x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[ x] I have read contributing guidelines.

Summary
Make notifications for multi-person direct messages work the same as for single-person direct messages.
Steps to reproduce

Operating System: Windows 7 Enterprise SP1

Mattermost Desktop App version: 3.7.0

Mattermost Server version: 4.0.0  (4.0.2)

Scroll down to the bottom of the Direct Message section in the channel bar and click More...

Choose 2 names to send a message to and click Go

Type a message in the chat window

Expected behavior
On the recipients' clients, the taskbar icon should show a red dot with a number (eg: 1)

On the system tray icon, a red dot should appear.

Observed behavior
On the recipients' clients, the taskbar icon shows a red dot with a white dot in the middle

On the system tray icon, a blue dot appears.

Additional Information
I find that users respond to direct messages more readily than group channels.  The way the notifications are currently working, the notifications for multi-person DMs look more like channel notifications and people aren't getting back to them as quickly.  Sometimes, not at all.

Thanks @stihl716 , appreciate your feedback! Sounds like this change would also apply to the browser.
Would you like to contribute this in the feature idea forum so it can be discussed, upvoted and considered for a ticket accepting pull requests?
Please include a link back to this GitHub Issue. If you're interested in implementing, please say so and we'll prioritize the review.
You get 10 votes in the feature idea forum, and each one influences the future of the project.

Done.
https://mattermost.uservoice.com/forums/306457-general/suggestions/20503204-make-notifications-for-multi-person-direct-message

Thanks! I'll close for now and we can track in the feature idea forum.


Work Package wp-fo.csv

wp-fo-results.csv

I would like to work on this please!

Results of Phase 1
wp-fo-results.csv

I completed this work package.

I would like to work on this please!

I would like to work on this please!

Results of Phase 1
wp-fo-results.csv

I completed this work package.

I would like to work on this please!

Results of Phase 1
wp-fo-results.csv

Results of Phase 1
wp-fo-results.csv

Results of Phase 1
wp-fo-results.csv


Can't verifiy content of local templates

I wanted to render a template from the file system (it's deployed with the application instead of inside the cookbook for reasons), I spent a long time thinking Chef was broken before I just tried it on a machine and it worked fine. It seems that the Renderer in ChefSpec cannot handle local templates, even if the path's resolve to the correct files.
This Resource does work fine on the actual machines.
template '/var/www/secrets.json' do
  source /var/www/secrets.dist.erb'
  variables (item.to_hash)
  local true
end

And this spec passes fine, it verifies the path of the template being rendered.
expect(chef_run).to render_file(absolute_path)

But trying to verify the contents fails:
expect(chef_run).to render_file(absolute_path).with_content{ |content|
     puts content
}

It doesn't know how to look for a local template:
Cookbook 'cookbook_name' does not contain a file at any of these locations:
         templates/chefspec-0.6.1//var/www/secrets.dist.erb
         templates/chefspec//var/www/secrets.dist.erb
         templates/default//var/www/secrets.dist.erb
         templates//var/www/secrets.dist.erb

I began digging into the code and comparing ChefSpec to Chef itself and it seems the 'local' option is missing from the templating but I'm not confident enough in Chef or Ruby to attempt a fix here.

I'm able to reproduce this error when I attempt to verify the content of a template of a cookbook that uses policyfiles. If I don't use policyfiles it works fine.
     RuntimeError:
       File templates/default/test.erb does not exist for cookbook test

Did a little debugging:
So, it’s looking for the file in a folder similar to:
/var/folders/cp/vpqypqzn3c11k5j2y0thb0zm0013h4/T/d20160504-88244-7064ub/cookbook_artifacts/test/templates/default/test.erb
The file is actually located at:
/var/folders/cp/vpqypqzn3c11k5j2y0thb0zm0013h4/T/d20160504-88244-7064ub/cookbook_artifacts/test-b8d3630cc29ac15a2c57ba0c25259716b1e3b473/templates/default/test.erb
It’s looking for it at the wrong spot.

+1

It looks like this is the actual issue:
https://github.com/chef/chef/issues/5089

Upstream


Spike: Submit button type

Info
Currently when people use the submit button type it currently creates that type of button, but it doesn't actually function as a submit button type. What this means is that forms cannot be submitted a normal way by hitting enter within an input area. This isn't as big of a deal for large forms, but for things like search forms with only one input and a button, this completely changes how people will normally interact with the form.
Acceptance Criteria:

Determine if there's anything we can do to make the submit button type actually function as it should.

There is a story to deprecate the submit button type - #1321 - If something comes out of this Spike, then this story might be modified to make those changes instead of deprecating it.
This is a link to a description of the issue and why it doesn't currently work for us.

@ArakTaiRoth Do you think there is some functionality is Svelte 4 or 5 that might help us enable this? If so, would it make sense to revisit once we are able to upgrade?

Wait on this until we have upgraded Svelte, after we have moved to the Website.

Closing as not needed any longer, after onKeyPress functionality


Make use of the class-based genreconciler.

This was originally added in https://github.com/knative/serving/pull/6993, but rolled back
in https://github.com/knative/serving/pull/7050 due to it being a breaking change in close
proximity to the release.
The breakage was niche functionality that was added to facilitate the Openshift migration
from Istio to Kourier as their default kingress, and my VERY FOGGY recollection of the
discussion at the time was that we would roll this back to facilitate that migration, with
the intention of rolling it forwards once we were in the clear.
I don't see any record of the conversation, and searching slack is futile given that this
predates recorded history, so I am going to bias instead towards overkill approvals now.
/hold
/assign @markusthoemmes @tcnghia

Staging....
net-istio: https://github.com/knative-sandbox/net-istio/pull/186 (note the test mentioned above is removed!)
net-contour: https://github.com/knative-sandbox/net-contour/pull/162
net-kourier: https://github.com/knative-sandbox/net-kourier/pull/128

/lgtm
/hold
for the downstreams to pass

It already has a hold, I want Markus and Nghia to review given the historical context.

Kourier looks like it is in a bad state at HEAD, but otherwise the three downstream PRs look good-to-go.  I'll post in net-kourier about the problems there.

/assign @nak3
Talked to Markus on slack, who thinks we are clear.  Looping in @nak3 who is on point for networking these days.

/unhold
/lgtm


#43320 add i18n api to the customer-account-ui

Background
✅ Adds the same I18n api to the customer-account-ui extension package
✅ Extend the existing Localization interface within the customer-account-ui extension package
The Self Serve team will later need this API in order to implement internationalization for their own extensions.
This task is a sub-part of the ticket: https://github.com/Shopify/core-issues/issues/42980
Solution

Our plan is to make use of the same API as the checkout team.

🎩
Tophatting is quite difficult as this PR is just extending the StandardApi interface of the customer-account-ui extension package.
Checklist

[x] I have :tophat:'d these changes
[x] I have updated relevant documentation

Thanks @emileber and @mathieulag for your feedback! I will leave this PR open until the actual implementation is finished so we know exactly whether the API matches the implementation.

Since everyone agreed with this new API in our last localization sync meeting I will ship it, so the code is available to the other PR (https://github.com/Shopify/customer-account-web/pull/1023).

/shipit


Editor help no longer displays correctly

Godot version: Git https://github.com/godotengine/godot/commit/89ce9a6f4694711e383c3d3e42141d176a12529e
OS/device including version: Fedora 30, Clang 8.0.0
Issue description: The editor help no longer displays correctly. This is likely a regression from https://github.com/godotengine/godot/pull/29785. Maybe the editor help generation needs to be modified to take the above PR into account?
3.1.1 stable (good)

Master (bad)

Steps to reproduce: Open any class in the editor help.

I confirm that reverting #29785 fixes the regression, CC @eligt.

I'll have a look at this shorty.


Small fix dt0

small fix for a warning that np.infty * signdt is not well-defined if dt = 0, including some unit tests

True it wasn't breaking it was just throwing a warning
RuntimeWarning: invalid value encountered in multiply
    nextTime_loc = np.infty * signdt

This PR removes that warning


moving time-ruler is so damn slow

depending on the length of the video, moving time-ruler can become very costly; causing animation and interactions running super slow

at the first time, the program draws the whole time-ruler and moves it almost 3 times per seconds.
because we don't have "group"s in native canvas-API, using groups in Konva to move the group, causes to move every individual component of that group.

the solution that I can think of right now, would be just rendering just the components in time range that is needed.
the time range gonna be 3 times bigger than the what you see, and if you go further, the program should remove the last components, and create new ones in new time range


Capturing state of a web view when it becomes invisible

Tests https://github.com/Microsoft/vscode/issues/48453
While reading through the documentation I got the impression that when a web view panel becomes invisible we dispose the underlying web view. Before we do so we capture the HTML and basically put it back when the panel becomes visible again.
However I found no good way to capture any state of the web view when this happens other than constantly sending state from the web view to the extension. What I would like to code is the following (I didn't test it though):

the extension receives a willChangeViewStateEvent. When the event is received the web view is still functional and the extension can send message to capture some state to the web view.
when restore and the web view has JS enabled we should be able to call a restore hook (see also https://github.com/Microsoft/vscode/issues/48540) with some captured state so that the view can restore its state properly before it renders.

However I am not a WebView expert so I am not sure if this is possible.

I tried to code that under Windows using the normal events but I failed.

Yes this is a known difficulty. The difficulty is in keeping the webview alive long enough behind the scenes so that it has time to persist its state.
If this proves problematic in practice, one proposal is that we add a persisted object called something like window.parent.state inside the webview itself. The js in the webview would be able to update it as frequently as it wants without any extension communication overhead, and then consult this state  when restoring itself

Nice solution.

Added  initial version of this with 6cea1412545481d91095be4f56c85142abbcef13
#49022 tracks how this will fit with the proposed serialization API


CDPSession problem  - no clean way to remove and add event listeners using results from DOMDebugger.getEventListeners

Steps to reproduce
Tell us about your environment:

Puppeteer version: 2.0.0, Chromium 79
Platform / OS version: AWS Lambda
URLs (if applicable):
Node.js version: 12.x

What steps will reproduce the problem?
browser = await chromium.puppeteer.launch({
args: chromium.args,
defaultViewport: chromium.defaultViewport,
executablePath: await chromium.executablePath,
headless: chromium.headless
});
let page = await browser.newPage();
let viewportSize = {width: 1920, height: 1080};
await page.setViewport(viewportSize);
let result= await page.goto('https://www.dpreview.com/archive/2019/12',{timeout:30000,waitUntil:'networkidle0'});
let client = await page.target().createCDPSession();
let wHandle = await client.send("Runtime.evaluate", {expression: "window"});
console.log(wHandle);
let listeners = await client.send("DOMDebugger.getEventListeners", {objectId:wHandle.objectId});
console.log(listeners);
What is the expected result?
I expect to get a collection of listener objects (or at least not an error - the page in the example above replaces a non-public page which has 'resize' events I need to save/kill/restore as a way of working around problems described here: https://github.com/puppeteer/puppeteer/issues/5300)
What happens instead?
DOMDebugger.getEventListeners call results in an error:
Protocol error (DOMDebugger.getEventListeners): Invalid parameters objectId: string value expected

Hi @timparker183. Did you find a solution to your issue?


Add intrinsic for Array#join

Adds an intrinsic for Array#join (generated by wrap-intrinsics.rb) and a simple test.
Motivation
More compiler intrinsics!
Test plan
See included automated tests.

@froydnj Just pushed https://github.com/sorbet/sorbet/pull/4853/commits/5eb001e872bd5e48bc24a5e8cdc8addca4f462c3, anything you'd recommend filecheck'ing beyond what's in there?

@froydnj Just pushed https://github.com/sorbet/sorbet/pull/4853/commits/5eb001e872bd5e48bc24a5e8cdc8addca4f462c3, anything you'd recommend filecheck'ing beyond what's in there?

Those checks make sense to me, thank you for adding them!


[HUDI-8285] implement row writer cluster with fg reader

Change Logs
Implement row writer clustering by adding fixed file index to spark datasource
Impact
Clustering with full read featureset
Risk level (write none, low medium or high below)
low
Documentation Update
N/A
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

what's the relationship with this PR: https://github.com/apache/hudi/pull/12395

This is a contingency incase that other pr got stuck. Both have the same end goal of clustering with the new fg reader, but different approac. In that pr, we use the fg reader directly in spark clustering to read the filegroups. This pr implements a new index so that we can use spark datasource to read all the filegroups.


Paint activity not responding

On the dev branch of sugarizer, when Paint activity is launched the following error pops up:

The activity stops responding to click, and the user is not able to close the activity also. This bug doesn't appear when sugarizer is run in the master branch.
@llaske can you look into it.

Can't reproduce it. For example on http://dev.sugarizer.org
Could you be more precise on the way to reproduce this issue: is it when you open a new instance of the activity ? or reopening an old instance ?
Recently the same issue happened when the instance was set to favorite into the journal. Next time the instance was open, the error happened. But it should be fixed now.

@llaske on my machine, it is happening  when the instance is new or old. As far as i can see it only happens with the paint activity. It is even taking place when no server is connected. In the console it points the error at the journalchooser.js, in which the activities array is null.
Is paint activity the only activity to be using the journalchooser.js file?

The above problem was solved using localStorage.clear() in the browser window.


When can we view the eval.ai results?

Hello, thanks for hosting a nice challenge.
I made a toy submission to evalai using the commands provided in the README, but cannot view the evaluation results.
All I can see for now is that my submission is 'submitted'.
Does it take a while to receive agent performance statistics? In general, how long does it take?
I have made a submission using the following command (after building the docker image)
evalai push multi_on:latest --phase multion-dev-805
Below is the current status of my submission (captured from eval.ai)

Hi,
The results are updated as soon as your submission has been evaluated. This can vary depending on your agent and the number of submissions in the queue. The toy submission would take almost no time in running because it uses a random agent. I see that some of your submissions had run into exceptions which is why the results were not updated. Make sure you have evaluated your docker submission without errors locally before you submit.

It seems like there was a bug in my submission. Thanks!

I have made a new test submission, but the result is not appearing, even after 24 hours since the submission. On average, how long does it take for 'submission failure' to be notified? I see that once a valid submission is made, results appear shortly after submission.

It appears there was an issue with EvalAI. Your submission results have now been updated.

Thanks!


Update ServerRendering.md

Replaced deprecated static call to createLocation

@asaf :+1:

There is no need for this. match accepts location as a string. You don't have to dive into the history API to use react-router on the server.

@timdorr Even better, so docs should be updated accordingly!

@asaf: I've got you covered! :smile: 508fa6ed

Thanks, @timdorr :)


Rkravitz gaussian initial impulse

The initial infection source was modeled as an impulse.  Now it's modeled as a gaussian curve, with the same total area as before.

👍  LGTM

Thanks @rkrav ! turns out this was not the major speed bottleneck... going to close for now to keep the model in-line with what Harvard has


model_validator(mode="before") is called twice and in different types

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I am migrating to pydantic v2 and when switching from root_validator to model_validator weird thing occurs. Here is an example of how I used root_validator:
from pydantic import BaseModel, root_validator

class Scores(BaseModel):
    first: int
    second: int
    third: int

    @root_validator
    def check_score_sum(cls, values: dict[str, int]) -> dict[str, int]:
        """
        Checks if all scores are not more than 100

        """
        print(values)
        print(f"Values type: {type(values)}")

        items = values.values()
        if values and sum(items) > 100:
            raise ValueError("Sum of values cannot be more than 100")
        return values

I have noticed from prints that it is called twice (it printed twice in the terminal). The type print shows type <class 'dict'>, which is intended and everything seems to work.
Now I have tried using model_validator:
from pydantic import BaseModel, model_validator

class Scores(BaseModel):
    first: int
    second: int
    third: int

    @model_validator(mode="before")
    def check_score_sum(cls, values: dict[str, int]) -> dict[str, int]:
        """
        Checks if all scores are not more that 100

        """
        items = values.values()
        if values and sum(items) > 100:
            raise ValueError("Sum of values cannot be more than 100")
        return values

But now an AtributeError occurs. "Scores object has no attribute values". And only second print that prints type now prints <class Scores>. While first type print prints <class 'dict'>.
Is this intended in model_validator? Perhaps I am incorrectly using model_validator in this example? Also, why validation in both examples is called twice, is this intended?
Example Code
from pydantic import BaseModel, model_validator

class Scores(BaseModel):
    first: int
    second: int
    third: int

    @model_validator(mode="before")
    def check_score_sum(cls, values: dict[str, int]) -> dict[str, int]:
        """
        Checks if all scores are not more than 100

        """
        items = values.values()
        if values and sum(items) > 100:
            raise ValueError("Sum of values cannot be more than 100")
        return values

Python, Pydantic & OS Version
pydantic version - 2.1.0
OS - Ubuntu 22.04 LTS
python - 3.10

Selected Assignee: @davidhewitt

Yes — I think this is intentional. The model_validator(mode='before') will receive exactly what is passed to the field of the given type. So, for example, if otherwise unvalidated data is validated, the model_validator will receive a dict. But if you pass an existing Scores instance in for the field, the model validator will receive that scores instance.
If you want behavior like the old root_validator, I think you should be able to achieve that by dumping the model and/or using it's __dict__, depending on exactly the behavior you want. By that I mean, something like this:
from pydantic import BaseModel, model_validator

class Scores(BaseModel):
    first: int
    second: int
    third: int

    @model_validator(mode="before")
    def check_score_sum(cls, values: Any) -> dict[str, int]:
        """
        Checks if all scores are not more than 100

        """
        if isinstance(values, Scores):
            values = values.model_dump()  # or values.__dict__
            # another reasonable option here might be just `return values`
        if not isinstance(values, dict):
            return values  # let the other validators deal with this surprising input
        items = values.values()
        if values and sum(items) > 100:
            raise ValueError("Sum of values cannot be more than 100")
        return values

Obviously you can tweak the implementation to your liking. Does that make sense?

Thank you, this answers my question. Have a nice day!


Adds constructor to typings file

Somewhere along the line the constructor for CRMClient was removed from the typings file, which was causing an error when I tried to use the library.
Instead of re-generating the typings I added this manually as I'm still learning quite a bit about typescript. I assume there's a way to automatically re-create the typings file, which is probably the right move here instead.

Coverage decreased (-56.9%) to 12.733% when pulling a915daec208f3a2af591513252dbf58b304111a2 on reenhanced:master into 806ec7e844b07f09032e9a668819c5dc91fce322 on crisfervil:master.

Coverage decreased (-56.9%) to 12.733% when pulling f7c68a183fd4a541d2904dac9199fb9d37c04fa5 on reenhanced:master into 806ec7e844b07f09032e9a668819c5dc91fce322 on crisfervil:master.

Coverage remained the same at 69.61% when pulling c3cfec1893a31858b7083b31913cd86d821a228c on reenhanced:master into 806ec7e844b07f09032e9a668819c5dc91fce322 on crisfervil:master.

Hey @nhance , Thanks for your contribution!
You are right, we need to find a way to automate the generation of the .d.ts file.
In the mean time what you can do is build the typescript code with the --declaration flag, take the CRMClient.d.ts file generated by the Typescript compiler, remove all the private methods, and paste it into the Dynamicsnode.d.ts file.
Please, let me know if you need more details on this.
Thanks again!!

Current coverage is 69.76% (diff: 100%)

Merging #13 into master will not change coverage

@@             master        #13   diff @@
==========================================
  Files             7          7
  Lines           592        592
  Methods          78         78
  Messages          0          0
  Branches        119        119
==========================================
  Hits            413        413
  Misses          179        179
  Partials          0          0

Powered by Codecov. Last update 806ec7e...c3cfec1

Coverage remained the same at 69.61% when pulling 276579c9891291329f6100b4cc91b43cfafcd101 on reenhanced:master into 806ec7e844b07f09032e9a668819c5dc91fce322 on crisfervil:master.

Coverage remained the same at 69.61% when pulling e3b515334cba26103ce8d6487a61b6076502f90c on reenhanced:master into 806ec7e844b07f09032e9a668819c5dc91fce322 on crisfervil:master.

@crisfervil This has been cleaned up and can be merged down. Note that I only did the one class as I'm still evaluating this project.


Run build on deployment host

@moshthepitt please help disable drone integration, I tried doing so, but it only shows a toast saying the operation failed.

@p-netm should be done.  Also added you as an admin to this repo

@p-netm should be done. Also added you as an admin to this repo

Thanks.

@moshthepitt this is good to go.


Using with require.js and ROSlib.js results in error

When using require.js and https://github.com/RobotWebTools/roslibjs I get the error
"EventEmitter2" not defined.
See this fiddle:
http://jsfiddle.net/mKyEA/1/
and the discussion on StackOverflow:
http://stackoverflow.com/questions/19362966/require-js-shim-configuration-for-eventemitter2

Seems to have been closed already


HUD spider doesn't show correct status

When running spider from HUD the status of the spider stays at 0%.

@rdesfo are there any errors shown in the firefox console?

Hello,
I know this is an old issue, but I'm still seeing the same thing.  Version 2.9.0, the main application crawler goes to 100% but the stays at 0%.  I don't see anything relevant in the Firefox console.
Thanks.
-Igor

@ibril15 is it just the spider that does not work or are there any other HUD tools that have problems?
I dont suppose the site that you're testing with is open source or publicly accessible?
I've not seen this problem myself and if we cant reproduce it then we'll struggle to fix it :/


We can flush immediately after making josn string

This centralizes all flush() calls

This has broken the tests please fix

+1

lgtm


(FACT-2987) Align hypervisors.zone.id fact on Solaris with Facter 3

This commit converts the hypervisors.zone.id fact value into integer on Solaris (from string) to align with Facter 3 output.

jenkins please test this on solaris11-SPARC

jenkins please test this on solaris11-64,solaris11-SPARC,solaris114-64

jenkins please test this on solaris11-64,solaris11-SPARC,solaris114-64


Failed to resolve: com.github.chrisbanes.photoview.PhotoView:2.2.0

Unable to build. Have added the maven reference too.

Did you add the JitPack url?

Yeah, removing the first photoview fixed it. Should probably update the readme. I had to use implementation 'com.github.chrisbanes:PhotoView:2.0.0'

Where are you seeing the other one in the README? It appears correctly in the README for me


torchAllocator does not conform to the CUDA semantics of PyTorch.

Hi guys,
In this function,
https://github.com/NVIDIA/TensorRT-LLM/blob/0f041b7b57d118037f943fd6107db846ed147b91/cpp/tensorrt_llm/thop/torchAllocator.cpp#L49
The current stream and the designated CUDA stream(mStream) are being used simultaneously without synchronization, thereby violating PyTorch's CUDA semantics.
The current stream was used by torch::Tensor buf = torch::empty({bufSize}, torch::dtype(torch::kUInt8).device(torch::kCUDA));
The  designated CUDA stream was used by memSet(ptr, 0, size);
Note
PyTorch CUDA Semantics: The CUDA memory allocator of PyTorch implements memory reuse at the stream level (CUDA stream-ordered memory allocator).
The current stream: https://torchpipe.github.io/docs/preliminaries/pytorch_libtorch#current-stream
Proposed solutions

A:

void TorchAllocator::memSet(void* ptr, int const val, size_t const size)
{
    check_cuda_error(cudaMemsetAsync(ptr, val, size,c10::cuda::getCurrentCUDAStream()));
}

B:  Switch to the designated CUDA stream (mStream) before calling torch::empty using c10::cuda::CUDAStreamGuard.
C: A+B

My understanding is as follows:
torch::Tensor buf = torch::empty({bufSize}, torch::dtype(torch::kUInt8).device(torch::kCUDA));

will call into cudaMalloc. This operation is not associated with any particular stream, but will block on the host until the allocation is finished on the device. Afterwards we set the memory to zero using cudaMemsetAsync with some specific stream. This sequence of operations looks perfectly valid to me.
Do you have an actual example were things go wrong, that is, undefined results are produced?

torch::empty will call into cudaMalloc. This operation is not associated with any particular stream.

Torch::empty may reuse cached memory(related to the current stream) and do not call cudaMalloc. This reuse is asynchronous, relative to the current stream.  See also https://discuss.pytorch.org/t/why-gpu-memory-allocations-are-associated-with-the-cuda-stream/63122
An official example is here  from https://pytorch.org/docs/stable/notes/cuda.html#cuda-streams
cuda = torch.device('cuda')
s = torch.cuda.Stream()  # Create a new stream.
A = torch.empty((100, 100), device=cuda)
s.wait_stream(torch.cuda.default_stream(cuda))  # STILL REQUIRED!
with torch.cuda.stream(s):
    A.normal_(0.0, 1.0)
    A.record_stream(s)

Do you have an actual example were things go wrong, that is, undefined results are produced?

https://github.com/NVIDIA/TensorRT-LLM/blob/3c373ebc5b5caf7e41198125131a153f3df08f09/cpp/tensorrt_llm/thop/dynamicDecodeOp.cpp#L102C6-L102C21
For example, when FtDynamicDecode was setup in non-default cuda-stream(current stream), and forward called in a different non-default  current stream
In our own online actual scenarios, we have encountered such issues, so we are particularly sensitive to them.
But currently, Im unclear whether torchAllocator will cause any problems in the Tensorrt-LLM scenario. I might specifically look into it over the next one or two months.

Thank you for the explanations and the references, @tp-nan. For most of our use cases, the current stream in torch should be the same as the designated stream in TorchAllocator. However, I agree that we should guard explicitly against scenarios where this might not be the case. A simple solution would be adding a stream_wait operation after torch::empty. I will investigate this and the options you proposed above.


Let admin fields span full width when there is no help text

Would negate the need for: https://github.com/alexgleason/wagtailhavetheabilitytoactuallyseefieldsintheadmin

Alternatively, put help text in a different position for StreamField blocks. Such as below the label. IMO this is a better solution.

Here's a proposal for how to handle help text in the editor view:

Thanks Josh. I like it, but I think we still run into a problem when deeply nesting blocks.
I'm starting to take the position that this sort of content should have custom styles added to them. Here's an example of one I recently created:

The whole thing (the dropdown and cards) is a structblock where the cards are a field within it. Like this:
cards = blocks.StructBlock([
    ('style', blocks.ChoiceBlock(choices=[
        ('smallcard', 'Small card'),
        ('circlecard', 'Circle card'),
        ('squarecard', 'Square card')
    ])),
    ('cards', CardsBlock()),
])

I think taking the time to design deep fields like this in the admin could help mitigate the issue. But I'm still a bit bothered by the help text like that. Because in order to achieve this, it required me to inject this custom CSS into the admin:
.sequence-member.blockname-card .struct-block .fields {
  width: 100%;
}

That means every time I create a block like this, I'll have to inject in CSS for it.

This issue is essentially a replica of at least two others, all concerned with layout of the page editor, with which I completely agree. As Wagtail's popularity grows, so do the numbers of users trying to do more with this interface, and not getting very far.
I think we need to have a proper conversation taking them all into consideration. I'll try and convene a meeting of minds.
Josh's design certainly looks the most rich and professional, but it needs extrapolating to the various layouts we have and I suspect it may still be a particular problem given the potentially infinite nesting of streamfields.
That isn't to say there's not a sweet spot in between, but the full-width label-above-input approach is certainly the most flexible, even if it's rather simple and has value given the nesting problem.

Edd and I have been working on a simple admin CSS override to allow for deeply nested StreamFields. The screenshot doesn't do it justice but it's pretty cool. There's a couple of issues but I'll clean them up soon.

Wagtail Atomic Admin is now a fork of wagtailadmin. I'd like it to be merged, but it changes quite a bit so I'm unsure what your opinions are. It's worth checking out; all you have to do is pip install wagtailatomicadmin then add it to your INSTALLED_APPS above wagtailadmin.

@alexgleason I've just tried Wagtail Atomic Admin. It's impressive! It's more usable but less attractive, IMO. Let's see if we can achieve the best of both worlds.

@tomdyson I've taken a utilitarian approach, inspired by Craft CMS. Do you like the way their admin looks? It's very similar, but they have given more attention to details with subtle color hues and pixel perfect shadows and spacing.

@alexgleason Very interesting package.

Hey, what is the status on this ? Any plan on implementing inside
did try wagtailatomicadmin, but it is a bit buggy (will report bugs, being in a rush right now 🙂)
Thanks anyway for the work, it is pretty neat, less eye candy of course, but much more flexible than core wagtailadmin


The final mIoU result is 0 except for the background

Does anyone encounter this kind of situation? The final mIoU result is 0 except for the background?

Hi, I got same error. did you solve this error?

Sorry，I did not solve this problem.

@Alice-Shen, I solved that problem, I used wrong segmentation files. I should use SegmentationClassAug(you can download from here: https://www.dropbox.com/s/oeu149j8qtbs1x0/SegmentationClassAug.zip?dl=0) instead of SegmentationClass.

Thank you！ I think I use the wrong segmentation files too.


Issue with internal temperature reported in HomeKit being stuck at 22 degrees

Hi,
I’m seeing small bug with the platform in that sometimes the internal measured temperature shown in HomeKit is wrong. It seems to keep going to 22 degrees intermittently, even when that is not the measured temperature.
The internal temperature reading is always correct in the comfort cloud app, and it is sometimes correct in HomeKit. However randomly it seems to go from the actual value to 22 degrees in HomeKit for some reason. With my AC, the internal temperature is always reported even if it is switched off.
Note this has no effect on the set point temperature, this works perfectly, it’s only the internal measured temperature that is sometimes wrong.
Please see some logs of the issue below. Note that the AC is on this whole time and the settings have not changed at all when it switches to 22 degrees at 23:03:10.
[23/06/2024, 22:55:00] [Homebridge Panasonic AC Platform] Hallway: set On
[23/06/2024, 22:55:08] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 18, Outdoor Temp. 21, Cool Mode, Speed 5 (Powerful Mode).
[23/06/2024, 22:57:00] [Homebridge Panasonic AC Platform] Hallway: set On
[23/06/2024, 22:57:08] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 18, Outdoor Temp. 20, Cool Mode, Speed 5 (Powerful Mode).
[23/06/2024, 22:59:00] [Homebridge Panasonic AC Platform] Hallway: set On
[23/06/2024, 22:59:09] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 18, Outdoor Temp. 20, Cool Mode, Speed 5 (Powerful Mode).
[23/06/2024, 23:01:01] [Homebridge Panasonic AC Platform] Hallway: set On
[23/06/2024, 23:01:09] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 18, Outdoor Temp. 20, Cool Mode, Speed 5 (Powerful Mode).
[23/06/2024, 23:03:01] [Homebridge Panasonic AC Platform] Hallway: set On
[23/06/2024, 23:03:10] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 22, Outdoor Temp. not available, Cool Mode, Speed 5 (Powerful Mode).

Hmm. We tested it for quite a long time and had no problems with the temperature. I am unable to reproduce to such a situation. I need more data to be able to take care of it.

is this your only air conditioning? and if not, does the problem appear only on it?

does it occur in any specific situations?

Hello,
Unfortunately I only have one AC unit so I'm unable to test if it's an issue on others.
I have checked the Panasonic comfort cloud app historical temperature data. At no point does the indoor temperature ever go to 22 degrees.
In the logs it seems to match with the outdoor temperature going unavailable, even though the outdoor temperature is still visible in the comfort cloud app.
[24/06/2024, 10:02:23] [Homebridge Panasonic AC Platform] Hallway: Off, Indoor Temp. 22, Outdoor Temp. not available, Cool Mode, Speed 5.
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Accessory: setTargetHeaterCoolerState() for device 'Hallway'
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Hallway: Mode Cool
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Comfort Cloud: sendUpdate() for 'CS-Z35XKEW+4886927481'
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] {
"operate": 1,
"operationMode": 2
}
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Accessory: setActive() for device 'Hallway'
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Hallway: set On
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Comfort Cloud: sendUpdate() for 'CS-Z35XKEW+4886927481'
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] {
"operate": 1
}
[24/06/2024, 10:02:53] [Homebridge Panasonic AC Platform] Hallway: On
[24/06/2024, 10:02:54] [Homebridge Panasonic AC Platform] Comfort Cloud - setDeviceStatus(): Success
[24/06/2024, 10:02:54] [Homebridge Panasonic AC Platform] { result: 0 }
[24/06/2024, 10:02:55] [Homebridge Panasonic AC Platform] Comfort Cloud - setDeviceStatus(): Success
[24/06/2024, 10:02:55] [Homebridge Panasonic AC Platform] { result: 0 }
[24/06/2024, 10:03:01] [Homebridge Panasonic AC Platform] Hallway: refresh status
[24/06/2024, 10:03:01] [Homebridge Panasonic AC Platform] Comfort Cloud: getDeviceStatus() for device GUID 'CS-Z35XKEW+4886927481'
[24/06/2024, 10:03:01] [Homebridge Panasonic AC Platform] Comfort Cloud - getDeviceStatus() for GUID 'CS-Z35XKEW+4886927481': Success
[24/06/2024, 10:03:01] [Homebridge Panasonic AC Platform] {
timestamp:<PHONE_NUMBER>059,
permission: 3,
summerHouse: 0,
iAutoX: false,
nanoe: true,
nanoeStandAlone: true,
autoMode: true,
heatMode: true,
fanMode: false,
dryMode: true,
coolMode: true,
ecoNavi: false,
powerfulMode: true,
quietMode: true,
airSwingLR: true,
autoSwingUD: true,
ecoFunction: 0,
temperatureUnit: 0,
modeAvlList: { autoMode: 1 },
nanoeList: { visualizationShow: 0 },
clothesDrying: false,
insideCleaning: false,
fireplace: false,
pairedFlg: false,
parameters: {
operate: 1,
operationMode: 2,
temperatureSet: 16,
fanSpeed: 5,
fanAutoMode: 0,
airSwingLR: 2,
airSwingUD: 2,
ecoMode: 0,
ecoNavi: 0,
nanoe: 2,
lastSettingMode: 0,
iAuto: 0,
airDirection: 0,
insideTemperature: 22,
outTemperature: 126,
airQuality: 0,
ecoFunctionData: 0,
insideCleaning: 0,
fireplace: 0
},
deviceNanoe: 2,
visualizationAvlFlg: true,
simulationShowFlg: true,
simulationSettingFlg: false
}
[24/06/2024, 10:03:01] [Homebridge Panasonic AC Platform] Hallway: On, Indoor Temp. 22, Outdoor Temp. not available, Cool Mode, Speed 5.

We get inside temperature from response from server. You can see in your log that insideTemperature: 22,. So it is something wrong with Comfort Cloud.

Ok no worries, to be honest it's quite a minor issue, I just I'd raise as sometimes it's confusing seeing the wrong temperature in Homekit.
Do you know why the correct temperature would be shown in the Comfort Cloud app, even if the server is transmitting the wrong temperature.

Cause in CC app values are refreshed not so often as in plugin. In CC app every hour, in plugin every 10 minutes when AC is on and every 60 minutes when off. And apparently it just didn't hit the wrong value in CC app.

I'm closing because it's most likely something on the Comfort Cloud side. We have no influence on what we receive from the server.


AttributeError: 'NoneType' object has no attribute 'origin'

Hi @rusty1s, thank you for your great contribution to large-scale graph learning. These days I am facing a problem regarding the configuration of GAS. This issue occurs while importing the GAS library. I've tried many ways, shifting the version of torch, cuda, and torch-sparse, to fix it, but none of them make a difference. So I wanna ask you what can I do with it?

This has nothing to do with PyTorch or torch-sparse. Are you sure you installed the PyGAS library (there should exist some *.so files inside torch_geometric_autoscale. Otherwise, please run
pip uninstall torch_geometric_autoscale
pip install --verbose .

and report the log.

The library is successfully installed (but I don't find some *.so files in the directory you said), and the problem still exists

.

Ohhh, there are indeed two *.so files, and it looks like these two are causing the problem.

Mmh, in case the *.so files exist, importlib should find them as well (in which case find_spec should not return None). Can you do some manual debugging on why these libraries are not found?

Ohhh, there are indeed two *.so files, and it looks like these two are causing the problem.

Hello, have you been able to resolve this issue? I've encountered the same problem as you.


MakeTransparent method not available in latest pod install

If I install your library using pod "UINavigationBar+Addition", it doesn't bring in makeTransparent method in cloned code. probably you need to update code version in  your podspec file so it can refer to latest changes.

As a workaround until the original author updates the podspec, you can use
pod 'UINavigationBar+Addition', git: 'https://github.com/samwize/UINavigationBar-Addition', :tag => '1.2.0'

This will install the latest version to your project (1.2.0).

@samwize please help :(

@RyanCopley I forgot to tag the version 1.2.0, but this was fixed a few months ago. Is it still not correct?

@samwize It's still not correct. Although it has been tagged 1.2.0, cocoapods only recognises version 1.0.0 for some reason. Since the "pod badge" in the repo says invalid, maybe the podspec has an error? Have you tried running "pod lib lint" to check if everything's alright?

@migue1s Thanks. Indeed something is not right.. The podspec description is shorter than summary, and that's not ok. It's now fixed.


AuthenticationContextName value not being returned

No values are retuned when executing following PowerShell script:
Connect-SPOService -Url value
Get-SPOSite -Limit ALL | Where {$.AuthenticationContextName -like "value_"}
A workaround throws 'error 429' after going through about 600 sites:
Connect-SPOService No values are retuned when executing following PowerShell script:
Connect-SPOService -Url value
Get-SPOSite -Limit ALL | Where{$.AuthenticationContextName -like "value_"}
A workaround throws 'error 429' after going through about 600 sites:
Connect-SPOService -Url _value
$sites = Get-SPOSite -Limit All-Url _value
$sites = Get-SPOSite -Limit All
$sites | ForEach-Object{Get-SPOSite $_ | select Url, AuthenticationContextName}
The following workaround works but takes quite some time:
(with some trial and error I found I had to set the start-sleep at 3 minutes)
Connect-SPOService -Url value
$sites = Get-SPOSite -Limit All
$number = 500
$parts = $sites.Length / $number
$parts = [math]::ceiling($parts)
$start = $end = 0
Do{
$parts -=1
$end += $number
$sites[$start..$end] | ForEach-Object{ Get-SPOSite $_ | select Url, AuthenticationContextName } | Export-Csv -Path C:\temp\authenticationcontext.csv -NoTypeInformation -Append
Start-Sleep -Seconds 180 #To prevent 'error 429' wait 3 minutes
$start += $number
}
While($parts -ne 0)
Is it possible to update the module, so a value is returned when the command is used:
Get-SPOSite -Limit ALL | Where {$.AuthenticationContextName -like "value_"}
It works for all other properties and in a matter of seconds. So why not 'AuthenticationContextName' ?

Hello @DavidB1987  how are you?
Here, we are limited to correct articles and documentation, for example typos, missing or wrong information.
For your inquiry, the best would be this other resource https://feedbackportal.microsoft.com/feedback/forum/06735c62-321c-ec11-b6e7-0022481f8472


Restore python dependency validation

Describe the bug
I did not realize this when I was implementing installing using installer instead of pip, but installer doesn't perform any dependency validation. I think we should restore this functionality. Should we use pip install --dry-run to do this as a pre-install step (does that even work)? Or maybe we can parse the metadata ourselves.
Notify maintainers
@FRidh @mweinelt @jonringer

I would much rather have something in passthru.tests which shows that a trivial use cases succeeds, like a more thorough version of pythonImportsCheck. This should catch a much broader issues besides just build issues. I think issues with python's preferences toward relative directories should be exceedingly rare, and more of an exception than the rule.
However, if pip install --dry-run is relatively cheap (less than a second) to do, I would be for it. However, even if it's ~10 seconds, then multiply that with 5000+ packages, and the additional build times could be significant. (90+ additional minutes for every python-updates or staging run).

Or maybe we can parse the metadata ourselves.

I've had issues in the past where a dependency isn't included in setup.py (or other metadata file); and the package is actually broken when you package it strictly with what was declared. The packages worked locally because they usually ran multiple commands which eventually got them into a coherent state.

That could be a more robust solution, however, as it is now, Hydra does not evaluate the tests attribute. We'd have to collect those attribute sets and merge them into some other attribute set Hydra would become aware of.

I asked for an alternative to pip check https://discuss.python.org/t/lightweight-alternative-to-pip-check/32204

I suggest we use https://github.com/pypa/build/blob/a167ba4c03bcf1b74c04d291d95fdfc48942bbd5/src/build/_util.py#L18, either by reusing the build library, or just taking that piece of code and put it in a script.

I came up with the following, and we could run it as a hook before or early in pypaInstallPhase. It does however require packaging>=23.2 to the heavy-lifting.
#!/usr/bin/env python3
"""
The runtimeDependenciesHook validates, that all dependencies specified
in wheel metadata are available in the local environment.

In case that does not hold, it will print missing dependencies and
violated version constraints.
"""

import importlib.metadata
import sys
import tempfile
from argparse import ArgumentParser
from zipfile import ZipFile

from packaging.metadata import Metadata, parse_email
from packaging.requirements import Requirement

argparser = ArgumentParser()
argparser.add_argument("wheel", help="Path to the .whl file to test")

def get_manifest_text_from_wheel(wheel: str) -> str:
    """
    Given a path to a wheel, this function will try to extract the
    METADATA file in the wheels .dist-info directory.
    """
    with ZipFile(wheel) as zipfile:
        for zipinfo in zipfile.infolist():
            if zipinfo.filename.endswith(".dist-info/METADATA"):
                with tempfile.TemporaryDirectory() as tmp:
                    path = zipfile.extract(zipinfo, path=tmp)
                    with open(path, encoding="utf-8") as fd:
                        return fd.read()

    raise RuntimeError("No METADATA file found in wheel")

def get_manifest(wheel: str) -> Metadata:
    """
    Given a path to a wheel, returns a parsed Metadata object.
    """
    text = get_manifest_text_from_wheel(wheel)
    raw, _ = parse_email(text)
    metadata = Metadata.from_raw(raw)

    return metadata

def test_requirement(requirement: Requirement) -> bool:
    """
    Given a requirement specification, tests whether the dependency can
    be resolved in the local environment, and whether it satisfies the
    specified version constraints.
    """
    if requirement.marker and not requirement.marker.evaluate():
        return True

    try:
        package = importlib.metadata.distribution(requirement.name)
    except importlib.metadata.PackageNotFoundError:
        print(f"- {requirement} missing")
        return False

    if package.version not in requirement.specifier:
        print(
            f"- {package.name}=={package.version} does not satisfy {requirement.specifier}",
            file=sys.stderr,
        )
        return False

    return True

if __name__ == "__main__":
    args = argparser.parse_args()

    manifest = get_manifest(args.wheel)
    satisfied = all(
        test_requirement(requirement) for requirement in manifest.requires_dist
    )

    if not satisfied:
        sys.exit(1)

Fixed in #270457, which went into #271586 and #275620.


First release

Todo

[x] Scaffold
[x] Working emits and binds across domains
[x] Domain and EventName scoping
[x] Warn if functions not found on bind
[x] Support no parameter event
[x] Support wildcard one parameter (string, float, int, bool, struct for now) event
[x] Auto-remove stale receiver targets
[x] Pinning events (& unpin)
[ ] Warn if parameter mismatch
[ ] Documentation

Seems to be working, need warning for parameter mismatch before first release

released as https://github.com/getnamo/global-event-system-ue4/releases/tag/v0.2.0


/transactions/:id page

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #159
Additional comments?:

This PR has to follow after #213 to be ready for merging. There are a couple of components that are common and have to be refactored.

Developer Checklist:

[ ] Read your code changes at least once
[ ] Tested on multiple web browsers
[ ] Tested responsiveness (e.g, iPhone, iPad, Desktop)
[ ] No console errors
[ ] Unit tests*
[x] Added e2e tests*

Screenshot:

@fuxingloh
I have a couple of questions:

Where do the data under details come from?
Are we gonna keep the raw transactions section? It is not in the @jtlntno-cake 's design.

Rebase this branch and update any possible code improvement changes I done to block details.


Unpleasant commit history

Hi, I realized that git history is a little bit dirty

suggestions:

I think we should add  "coercion to rebase"  before any PR in CONTRIBUTING.md
~Squash and merge~

Best Regards
Reganto

Hi, Could you please clean the git history dear @reganto?

Hi dear @bobycloud
There is an interactive rebase solution for this situation but with that solution we lose a lot of commits. I'm curious to know if you have any experience of cleaning up git history without losing commits?

@reganto , If the commits are redundant and useless, Losing them won't hurt anyone. I believe it might actually benefit us too.

Dear @SepehrRasouli
Honestly, I don't have a clear idea about this. But I can think of people who made their first open source contribution to this repository. They might later want to refer to their first contribution, and if we consider their PR as their signature, I don't think it would be ethical to erase that signature.

Your reasoning is very ethical and I completely understand it.
But, I think squashing their commits won't hurt them, Because we're not squashing their commits with others, For example, In the picture you've attached, Look at the three last commits made by @smoeinbbp, Squashing them together won't remove them from contributors list or hurt what they've done.
But still, Squashing these commits might be an unethical idea. I think we should have a CONTRIBUTING.md file to tell new contributors the correct conventions for commiting their changes. This will prevent more dirtiness in the future.
What do you think about it @lnxpy @bobycloud  ?

I'll come up with a solution for this one. All the reviewers should review the PRs very carefully to avoid this history mess. Squashing and a proper convention for committing messages would work initially. What do you think, @bobycloud?!

Hi all, thank you for asking @lnxpy, I’m not picky about the commit history in this repo, so either keeping the current messy commits or adopting a new approach with clean commits is fine with me. Of course, this doesn’t apply to all repositories; for example, if it’s an important service, I’ll be more particular, haha. But for this repo, I don’t see any value in cleaning up the commit history since no one refers to it. However, if you think a different approach would be helpful based on our previous conversation, I’m open to it. Please let me know your thoughts.

@bobycloud Once the approach is ready and in use, I'll close this issue.


Tooling test for OS module

Description:
$Subject

Tested the tooling support in VS code against SL Beta4 RC3. Everything is rendered properly.


Lookup function throws error on default run.

If there is a lookup function in its own model element (as in https://github.com/SDXorg/test-models/tree/master/tests/lookups) and the .run() function is called without specifically asking for a set of columns, then the lookup table will be called with no arguments (where the elements to return are sampled) and throw an error.
Workaround is to specify what columns you want from the model, but we should fix this so that the default run function still works.

Test in unit_test_pysd/test_default_returns_with_lookups


How in open pim to set a field as unique

[ ]We have an sku attribute and we need unique for each product, actually the system is not checking anything, is there a way to have it unique and if yes how ?

Hi @akramsarkis,
The idea of our system that each project can have different requirements and better to avoid putting something hardcoded in the core, but extent the functionality of each project by actions.
I attached example of the action that we are using for such purpose.
test.txt
The idea here that we do not hardcode what attributes to check but we have an option at the attribute level - unique=true

So you can easy set this option to any attributes you have.
Then we have an action that is working Before Create or Before Update. This action first find all attributes that has this option, then it generates a query to the DB that is checking if we have such objects and if we have them we are generating the error

FYI I set this up in a project and it works great


[Sandbox] Kubeinvaders

Application contact emails
<EMAIL_ADDRESS>Project Summary
Chaos Engineering tool for Kubernetes
Project Description
Kubeinvaders is a Kubernetes chaos engineering tool created in 2019 as a fun side project.
Its primary function is to kill pods and stress worker nodes through an interface reminiscent of the Space Invaders game. We've added various custom features, including graphs for monitoring HTTP ingress during chaos sessions and the ability to schedule experiments.
The software is licensed under Apache 2.0, and the technology stack is very simple. We use OpenResty as a web server, Python and Lua for backend logic, and plain JavaScript and HTML for the frontend.
Org repo URL (provide if all repos under the org are in scope of the application)
N/A
Project repo URL in scope of application
https://github.com/lucky-sideburn/kubeinvaders
Additional repos in scope of the application
No response
Website URL
https://platformengineering.it/
Roadmap
https://github.com/lucky-sideburn/kubeinvaders/blob/master/README.md#roadmap
Roadmap context
The roadmap focuses on developing a fully open-source platform, primarily intended for SRE teams, to provide a comprehensive overview of projects and namespaces where chaos engineering sessions have been conducted over time. Statistics on chaos engineering usage and service uptime reports should offer insights into areas where improvements can be made to enhance system robustness.
At platformengineering.it, we intend to provide the project under the Apache 2.0 license, while offering support to clients and partners for usage and more advanced reporting.
Contributing Guide
https://github.com/lucky-sideburn/kubeinvaders/blob/master/CONTRIBUTING.md
Code of Conduct (CoC)
https://github.com/lucky-sideburn/kubeinvaders/blob/master/CODE_OF_CONDUCT.md
Adopters
No response
Contributing or Sponsoring Org
No response
Maintainers file
https://github.com/lucky-sideburn
IP Policy

[X] If the project is accepted, I agree the project will follow the CNCF IP Policy

Trademark and accounts

[X] If the project is accepted, I agree to donate all project trademarks and accounts to the CNCF

Why CNCF?
The CNCF's vast network of developers, users, and organizations will significantly increase Kubeinvaders' exposure. This will attract new contributors, users, and potential collaborators, fostering a more vibrant and diverse community.
Benefit to the Landscape
We think adding a bit of fun with a game-like project could be a great way to get new developers interested.
Cloud Native 'Fit'
No response
Cloud Native 'Integration'
No response
Cloud Native Overlap
No response
Similar projects
N/A
Landscape
yes
Business Product or Service to Project separation
N/A
Project presentations
No response
Project champions
No response
Additional information
No response

Hi @angellk
Could I ask as what was the outcome of the review session on October 8?
Thanks :)

hi @lucky-sideburn - your project has not come up yet for TOC review. Please see the project board for where Kubeinvaders is at in the queue.


Weekly release trigger

This PR add a weekly release trigger. If there are any new commits it releases a new version.
The release schedule is set on Monday morning 9am. This is open to debate.

Codecov Report

Merging #375 into beta will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             beta     #375   +/-   ##
=======================================
  Coverage   58.04%   58.04%
=======================================
  Files          32       32
  Lines        1299     1299
=======================================
  Hits          754      754
  Misses        545      545

Flag
Coverage Δ

#graphql_client
58.75% <ø> (ø)
:arrow_up:

#graphql_flutter
29.03% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

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


Where should I put my dll after building from source?

Description
I have built mxnet from source and I got error when I import mxnet in python:
D:\Anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
       347         if handle is None:
--> 348             self._handle = _dlopen(self._name, mode)
      349         else:
      350             self._handle = handle

OSError: [WinError 126] 找不到指定的模块。(can not find module)

I have used dumpbin.exe to check libmxnet.dll:
Dump of file .\libmxnet.dll

File Type: DLL

  Image has the following dependencies:

    libopenblas.dll
    opencv_world341.dll
    cublas64_80.dll
    cufft64_80.dll
    cusolver64_80.dll
    curand64_80.dll
    nvrtc64_80.dll
    nvcuda.dll
    KERNEL32.dll
    VCOMP140.DLL

I checked every directories in $Path. It seems that opencv_world341.dll and libopenblas.dll are missing. But I don't know where I should put them. I have tried directories such as D:\Anaconda3\lib\site-packages\mxnet-1.2.0-py3.6.egg\mxnet, C:\Windows\system32 and restarted computer, but still got the same error.
Those are all directories in $Path and dependencies:
D:\Anaconda3\Library\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin
cublas64_80.dll
cufft64_80.dll
curand64_80.dll
cusolver64_80.dll
nvrtc64_80.dll
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp
C:\Windows\system32
kernel32.dll
libopenblas.dll
nvcuda.dll
opencv_world341.dll
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
D:\UltraEdit
D:\CMake\bin
C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps

What should I do?
Environment info (Required)
----------Python Info----------
Version      : 3.6.4
Compiler     : MSC v.1900 64 bit (AMD64)
Build        : ('default', 'Jan 16 2018 10:22:32')
Arch         : ('64bit', 'WindowsPE')
------------Pip Info-----------
Version      : 9.0.1
Directory    : D:\Anaconda3\lib\site-packages\pip
----------MXNet Info-----------
Hashtag not found. Not installed from pre-built package.
----------System Info----------
Platform     : Windows-10-10.0.15063-SP0
system       : Windows
node         : DESKTOP-G2Q55BC
release      : 10
version      : 10.0.15063
----------Hardware Info----------
machine      : AMD64
processor    : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
Name
Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz

Package used (Python/R/Scala/Julia):
I'm using Python
Build info (Required if built from source)
Compiler: visual studio 2015
Error Message:
OSError                                   Traceback (most recent call last)
<ipython-input-1-1eadd2d362f9> in <module>()
----> 1 import mxnet

D:\Anaconda3\lib\site-packages\mxnet-1.2.0-py3.6.egg\mxnet\__init__.py in <module>()
     23
     24 from .context import Context, current_context, cpu, gpu
---> 25 from . import engine
     26 from .base import MXNetError
     27 from . import base

D:\Anaconda3\lib\site-packages\mxnet-1.2.0-py3.6.egg\mxnet\engine.py in <module>()
     21
     22 import ctypes
---> 23 from .base import _LIB, check_call
     24
     25

D:\Anaconda3\lib\site-packages\mxnet-1.2.0-py3.6.egg\mxnet\base.py in <module>()
    111 __version__ = libinfo.__version__
    112 # library instance of mxnet
--> 113 _LIB = _load_lib()
    114
    115 # type definitions

D:\Anaconda3\lib\site-packages\mxnet-1.2.0-py3.6.egg\mxnet\base.py in _load_lib()
    103     """Load library by searching possible path."""
    104     lib_path = libinfo.find_lib_path()
--> 105     lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
    106     # DMatrix functions
    107     lib.MXGetLastError.restype = ctypes.c_char_p

D:\Anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    346
    347         if handle is None:
--> 348             self._handle = _dlopen(self._name, mode)
    349         else:
    350             self._handle = handle

OSError: [WinError 126] 找不到指定的模块。

dumpbin.exe -headers .\libmxnet.dll
Microsoft (R) COFF/PE Dumper Version 14.00.24215.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file .\libmxnet.dll
PE signature found

File Type: DLL

FILE HEADER VALUES
            8664 machine (x64)
                   A number of sections
   5A9E6D0A time date stamp Tue Mar  6 18:27:22 2018
                   0 file pointer to symbol table
                   0 number of symbols
                 F0 size of optional header
            2022 characteristics
                   Executable
                   Application can handle large (>2GB) addresses
                   DLL

I have checked the dependency of libopenblas.dll and opencv_world341.dll.  Only libgfortran-3.dll is missing. I copy it from caffe and put it into C:\Windows\System32. But nothing changed.

I used MS Process Monitor tool to monitor the python process while I was importing mxnet. I searched the whole information and extract the items whose "Path" is a dll and "RESULT" is “SUCCESS”.
It seems all dependencies of libopenblas.dll, opencv_world341.dll and libmxnet.dll are loading successfully.

@marcoabreu @cjolivier01 I follow the doc and come across the same problem.

run depends:  http://www.dependencywalker.com
it should show you exactly which dependency is missing.

Fortunately, I find the missing deps, thanks! @cjolivier01

libgcc_s_seh-1.dll
libgfortran-3.dll
libquadmath-0.dll

did you compile with gcc on Windows? or some other fall requires that? those seem strange for window

@cjolivier01 Also a bit confused for me. I just followed the instruction windows_setup on a brand newly installed windows 10 and got this problem. I also reference this issue #1740 and resolve it.

Oh, where did you get that openblas?

oh ok. yeah, probably that should be in the instructions somewhere.  does that openblas from the link come with those dll's?

No，I find these files somewhere else.

ok yeah that's screwed up. Thanks for root-causing this!

Ok, I see that's the mingw64_dll.zip downloa on that web site along with the openblas zips.

Ok，I missed it. I think it is necessary to remind users to download and setup this file.

yeah, seems like it would be better to compile that with msvc
Closing this issue, please feel free to submit a doc update for that


Added RLRMC algorithm code to staging branch

Added RLRMC algorithm code and a working notebook
Description

Added RLRMC algorithm, Pymanopt code in reco_utils/recommender folder. Pymanopt has been added temporarily to ensure that the notebook runs without error. Pymanopt can be removed later when things are finalized.

Related Issues

Checklist:

[ ] My code follows the code style of this project, as detailed in our contribution guidelines.
[ ] I have added tests.
[ ] I have updated the documentation accordingly.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: pratikjawanpuria sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I added a unit test for the notebook, put pymanopt as a dependency when the conda environment is created, and did some minor formatting / import cleanup. Also, merged in latest changes from staging.
@pratikjawanpuria please look over the changes and make sure everything looks good to you.

I added a unit test for the notebook, put pymanopt as a dependency when the conda environment is created, and did some minor formatting / import cleanup. Also, merged in latest changes from staging.
@pratikjawanpuria please look over the changes and make sure everything looks good to you.

Thanks @gramhagen . I am fine with the changes.


Electron 12 is buggy with Page.waitForDebugger

js-debug issues Page.waitForDebugger when it first attaches so that it can make sure all breakpoints are set correctly before execution happens. However this seems to be hit and miss in Electron 12. Often I'm seeing that the renderer never responds to their request, even after we issue Runtime.runIfWaitingForDebugger.
I hit this most often in unit tests, and can reproduce it pretty consistently on both my OSX and Windows machine if I set breakpoints before running tests. If I make a build that doesn't issue this command, the issue goes away.

Haven't seen this issue with recent versions, closing for now.


Add missing content to user defined function mapping

The HasFunction overload which takes lambda with default params to register a function
DbFunctionAttribute and properties over that. (https://github.com/dotnet/EntityFramework.Docs/issues/2476)
Specifying a schema or marking function as built-in
Mapping function return type or parameter to particular store type when not natively supported and scenario where it works.
argument propagates nullability API and link to the null semantics docs.
Ideally, we should put down the example of mapping to JSON function dotnet/efcore#11295 (comment) Probably most used usecase for the UDF so far
Mention that TVF cannot use HasTranslation API
Few more cautions about HasTranslation API and need to understand the SQL expression tree.

also add something about value converters how they use converter from the argument passed to the function (and that we just need to map it to the store type) - see https://github.com/dotnet/efcore/issues/23498


About 10-asvspoof-vocoded-trn-ssl - xlsr_53_56k.pt

Dear author,
I'm a big fan of this repository. But when I try to run the P1-Model I get the following error:
Traceback (most recent call last):
File "main.py", line 229, in
main()
File "main.py", line 209, in main
model = prj_model.Model(test_set.get_in_dim(),
File "/srv/storage/user/project-NN-Pytorch-scripts/project/10-asvspoof-vocoded-trn-ssl/model-ID-P1/trained-for-paper/01/model.py", line 483, in init
self.m_front_end = FrontEnd(prj_conf.ssl_front_end_path,
File "/srv/storage/user/project-NN-Pytorch-scripts/project/10-asvspoof-vocoded-trn-ssl/model-ID-P1/trained-for-paper/01/model.py", line 118, in init
self.ssl_model = SSLModel(mpath, ssl_out_dim, ssl_layer_indices)
File "/srv/storage/user/project-NN-Pytorch-scripts/project/10-asvspoof-vocoded-trn-ssl/model-ID-P1/trained-for-paper/01/model.py", line 49, in init
self.model = S3PRLUpstream("wav2vec2_custom", path_or_url = mpath)
File "/srv/storage/user/project-NN-Pytorch-scripts-master/project/10-asvspoof-vocoded-trn-ssl/s3prl/s3prl/nn/upstream.py", line 117, in init
self.upstream = getattr(hub, name)(**upstream_conf)
File "/srv/storage/user/project-NN-Pytorch-scripts-master/project/10-asvspoof-vocoded-trn-ssl/s3prl/s3prl/upstream/wav2vec2/hubconf.py", line 61, in wav2vec2_custom
assert os.path.isfile(ckpt)
AssertionError
I think the reason for that is, that you forgot to include the download-procedure for the model xlsr_53_56k.pt in 01_download_pretrained_cm.sh.
Best regards,
Julius

Thank. Indeed!


Feature/form check position

Adds the position functionality for the conditional: https://github.com/Capgemini/dcx-react-library/issues/329

Codecov Report

Merging #339 (fb78c06) into release/0.5 (c0a0226) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           release/0.5      #339   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               43        43
  Lines              995       999    +4
  Branches           380       384    +4
=============================================
+ Hits               995       999    +4

Impacted Files
Coverage Δ

src/common/components/CheckboxRadioBase.tsx
100.00% <100.00%> (ø)

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


⚠ Samsung has degraded performance

In 70b3e27, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2346 ms

Resolved: Samsung performance has improved in 92dd87b.


BUG fix issues with search variants applying to more than one class

Plus lots of other fixes:

Fixed more than one versioned object in an index
Fixed more than one subsites object in an index
Fixed SearchVariantSubsites ending up with unflushable (and often invalid) caches of subsites during write
Fix empty catch blocks from hiding errors during testing
Add missing abstract alterDefinition to SearchVariant.
Fix variants assuming that origin === base class for each object type added

I've put back the subsites config in .travis.yml. Hopefully it'll now run tests with subsites.

Fixed with https://github.com/silverstripe/silverstripe-cms/pull/1457

Can this go into master atm? Master is the 2.1.x-dev branch, so should only take patches and I'm seeing a BC breakage by adding abstract public function alterDefinition($class, $index);

I'll remove it.

alterDefinition is now removed


Fix Unequal split of image and adjoining description on the main page

Signed-off-by: Ekene Nwobodo<EMAIL_ADDRESS>Description
This PR fixes #
Unequal split of image and adjoining description on the main page
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@warunicorn19 @leecalcote please confirm if the recent change is the expected behavior. Also @leecalcote the nighthawk svg you shared is not the expected one. Please check if you can reshare the exact one.

@kayceeDev another contributor has knocked this one out. Thanks for giving it an attempt.

hahah. I understand. Multiple PR was created and the other one won.


Monitor: metric alerts cmd should accept count as an aggregation type

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
CLI commands for metric alerts dont support Count as an aggregation type.
To Reproduce
Steps to reproduce the behavior.

Expected behavior
Count should be an allowed aggregation type. This was added to metric alerts a few months ago.
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
Installed using MSI. azure-cli 2.0.60 monitor 0.2.10, cmd.exe
Additional context
Add any other context about the problem here.
This is probably by design. When cli commands for metric alerts were created, count was not a supported aggregation type. However metric alerts have added support for count in January.

Please update your CLI. This was already added in azure-cli-monitor 2.0.12.


Fix the build error for Spark 400

close https://github.com/NVIDIA/spark-rapids/issues/11895
Spark 400 introduces a new parameter in BasePythonRunner, so this PR creates a new shim for this change and specify this to an empty map to pass the build. It is ok since this metric parameter is only for debugging.

build


optimize the loss and optimizer setup and support construct parameters ability.

Signed-off-by: zhang chen<EMAIL_ADDRESS>

Codecov Report

Merging #601 (88aa028) into training (31748e3) will decrease coverage by 0.23%.
The diff coverage is 61.22%.

@@             Coverage Diff              @@
##           training     #601      +/-   ##
============================================
- Coverage     60.24%   60.01%   -0.24%
============================================
  Files           150      150
  Lines          5984     5997      +13
  Branches        888      894       +6
============================================
- Hits           3605     3599       -6
- Misses         2138     2151      +13
- Partials        241      247       +6

Impacted Files
Coverage Δ

towhee/trainer/trainer.py
65.86% <53.57%> (-3.03%)
:arrow_down:

towhee/trainer/training_config.py
85.95% <70.58%> (-2.69%)
:arrow_down:

towhee/trainer/metrics.py
96.12% <75.00%> (-0.68%)
:arrow_down:

towhee/data/random_erase.py
85.71% <0.00%> (-4.77%)
:arrow_down:

Continue to review full report at Codecov.

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

/lgtm

/approve

/lgtm
/approve


[Wave 6: VBA Refactor] Verify Identity Page: Onfido flow to validate your Identity

Coming from Update the VBBA setup flow to new design system design doc.
Implement VerifyIdentityPage of the design doc to:
Feature Description

You will use the Onfido SDK

Choose your document
Message to follow the Onfido flow on their SDK
Scan QR code
Get Secure link
Final step which marks the document were uploaded

Manual Test Steps
N/A
Automated Tests
N/A

I am Michał from Callstack - expert contributor group. I’d like to work on this job.

Thanks, lets get this over the finish line!

PR done


Update goodservice.star with 3rd countdown time

Description
Added option to show 3rd upcoming time, if the first two times are less than X minutes. If the first two times are too close (such as 1, 2 min) a third time can be added to decide to wait for that third train.
Copilot

🤖 Generated by Copilot at 7e1d3d4
Summary
🚇🎨📝

Add a third arrival time option to goodservice app. This feature helps the user choose the best subway route when the first two are similar. Also, apply some formatting fixes to goodservice.star.

The app goodservice is great
It tells you how long you must wait
But sometimes you wonder
If there's a blunder
When two times are close and one's late

Walkthrough

Add a new feature to show the third estimated arrival time for a subway route if the first two are close together, based on the user's configuration (link, link, link)
Add blank lines for readability and consistency in apps/goodservice/goodservice.star (link, link, link, link, link, link, link)
Define a helper function is_parsable_integer to check if a string can be converted to an integer in apps/goodservice/goodservice.star (link)

I have read the CLA Document and I hereby sign the CLA


hey Ada Support for Raspberry Pi 4

The porcupine component of Hey Ada needs to be upgraded to > 1.7.0 to support Raspberry Pi 4.
https://github.com/Picovoice/porcupine#v170---feb-13th-2020
Added support for Raspberry Pi 4.
Requirements file still refers to version 1.6.3

Apologies, opened under the add-ons, but the requirements.txt is here.


Generate multiple classes when exceeding the 65K method limit on string hiding

See #340

We could simply create a class with more than 65K constant strings and try to load the obfuscated assembly.

Rebased and merged the changes from another branch. Close it here.