Python3

Summary of the new feature
A clear and concise description of what the problem is that the new feature would solve.
Try formulating it in user story style (if applicable):
'As a user I want X so that Y.' with X being the being the action and Y being the value of the action.
Proposed technical implementation details (optional)
A clear and concise description of what you want to happen.
What is the latest version of PSScriptAnalyzer at the point of writing

@epsec1101 please open a new issue with more information-- thanks!


JBDS-4411: Add install size field at footer

Positioned the Install size field at the footer. This basically checks the total install size based on the selection of the components by the user.
https://issues.jboss.org/browse/JBDS-4411

Codecov Report

Merging #867 into master will increase coverage by 0.06%.
The diff coverage is 89.92%.

@@            Coverage Diff             @@
##           master     #867      +/-   ##
==========================================
+ Coverage   97.39%   97.45%   +0.06%
==========================================
  Files          36       36
  Lines        3220     3420     +200
  Branches      268      483     +215
==========================================
+ Hits         3136     3333     +197
+ Misses         84       79       -5
- Partials        0        8       +8

Impacted Files
Coverage Δ

browser/model/installable-item.js
100% <100%> (ø)
:arrow_up:

browser/main.js
98.41% <80%> (-1.59%)
:arrow_down:

browser/pages/confirm/controller.js
93.96% <90.24%> (-0.09%)
:arrow_down:

browser/model/helpers/downloader.js
96.94% <0%> (-1.52%)
:arrow_down:

browser/model/cdk.js
99.22% <0%> (-0.78%)
:arrow_down:

browser/model/jdk-install.js
97.29% <0%> (-0.45%)
:arrow_down:

browser/model/helpers/util.js
100% <0%> (ø)
:arrow_up:

browser/directives/breadcrumb.js
100% <0%> (ø)
:arrow_up:

browser/model/helpers/hash.js
100% <0%> (ø)
:arrow_up:

browser/pages/location/controller.js
100% <0%> (ø)
:arrow_up:

... and 25 more

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 75336b8...3005af5. Read the comment docs.

test this

test this

total disk space should be calculated as sum of two: resources required to download, disk space required to install

@dgolovin the install size field will be handy to get the disk space required field. How are we targeting to calculate the resources required to download.

Replaced with https://github.com/redhat-developer-tooling/developer-platform-install/pull/872.


added ClueLess Community to list

I've added ClueLess Community to the list, They have 5 Open Source Projects and also offering swags.

For #152

Hi @adarsh-chakraborty , can you please add the link where this announcement was made?

Hi @adarsh-chakraborty , can you please add the link where this announcement was made?

I've created an Issue with the source, however I am also mentioning it here.
https://www.linkedin.com/posts/rajdeep-sengupta_javascript-github-python-activity-6981839349852082176-OCSf?utm_source=share&utm_medium=member_android

@adarsh-chakraborty thank you!


Couple of utility functions + fix for #17

[x] I agree to the contribution guidelines laid out here in the readme.

You'll see I bumped to 1.0.0 as this had a breaking change. I renamed two things, so I think that means users will have to change the name if they use those features


JBPM-5192 - After the simulation fails the server becomes unresponsiv…

…e and it does not even respond to shutdown requests

+1 to merge


SQL Notebooks incorrect execution count

Issue Type: Bug

Create a SQL Notebook with two code cells.
Run the notebook with F5.
Each code cell will show an execution count on the left, in square brackets. The count is updated only for the first cell. If you run the second cell individually by using the run button, the count gets updated to the correct value.

Azure Data Studio version: azuredatastudio 1.5.1 (6a500715a7f2a9c5466d66b3cc312308bf59846d, 2019-03-16T01:14:53.392Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.77GB (5.35GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

My bad, I assumed that all the cells were run when pressing F5, which is not the case. Closing.


not compatiable with app minsdkversion = 21

@shanky-gupta : Our demo has same minSdK version, Can you please explain more what issue you are facing??

When I use SSffmpegVideoOperation library in my project it gives the error :-
manifest merger failed with multiple errors see
Then I changed our app minDkVersion 21 to 24. And I found that it works.

@shanky-gupta : Ok, let me check

@shanky-gupta : It's working in minSdkVersion = 21
Can you please remove .gradle and .idea folder from your project directory and rebuild it with internet.

I removed .gradle and .idea folder and its build fine but after starting app it crashed. with following error
Error inflating class com.google.android.material.card.MaterialCardView
Caused by: android.view.InflateException: Binary XML file line #26 in com.example/spotviewcal2: Error inflating class com.google.android.material.card.MaterialCardView
I am trying to remove following dependecy from your lib
implementation 'com.google.android.material:material:1.2.1'
but in this case compilation error comes:-  e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:

Can you please create fresh project in try this library??? Just for confirmation
I think you have another dependency issue in current project


Prelease package page : install command has "-pre" appering twice

I uploaded a prerelease package
on the package page, the command bar has "-pre" twice

"PM> Install-Package ClassLibrary3 -Pre -pre"

updated .generated.cs file : https://github.com/NuGet/NuGetGallery/commit/51d0d549f3c13cc2a00482fcfa5709d8787412a8


Direction for chest and sign

The output of /version on my server is: CraftBukkit version git-Spigot-140f654-b446cb5 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
The output of /version denizen on my server is: version: 1.0.3-SNAPSHOT (build 489-DEV), core version: 1.20 (Build 169)
The issue is:
Before the version 1.13.2 I were using direction value for chest, trapped_chest, sign and wall_sign for my shop script (material.data or in material.name directly). Now it seems that the direction data is non-existant anymore

Also tested with #483 dev

Full script : https://pastebin.com/JBUkHmRD
Debug : https://one.denizenscript.com/paste/51170


Feature/add settings view

Current coverage is 24.00%

Branch #5 has no coverage reports uploaded yet.

No diff could be generated. No reports for develop found.

Powered by Codecov. Updated on successful CI builds.


Prepare for running the dist suite as an unprivileged user

Uncontroversial bits of #128
Let's land this first to minimize bitrot and let #128 focus strictly on sandboxing details (need to update it to use fuse-overlayfs and separate another binary entrypoint for the unshared userns variant of the sandbox)

Er, did I fat-finger something? I enabled the auto-merge but I don't remember merging this by hand and the other checks are still running... In any case, that was not intentional! But the CI was green before so there's that :sweat_smile:


Feature/srv 246

I believe this branch maybe squashed

It's fine now, but please squash it on your side into two commits: one for functional changes, and one for coding style changes. No matter which will go first, just separate formatting changes from functional changes.


[Feature][Sort] Support Raw Format

Description
Support Raw Format
Use case
according to https://nightlies.apache.org/flink/flink-docs-release-1.13/zh/docs/connectors/table/formats/raw/
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

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

Resolved by #5702.


Authenticate services using SPIFFE

Checklist

[X] I agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved
Currently services are authenticated to OpenFGA using shared secrets or OAuth, but not SPIFFE
Describe the ideal solution
Provide a way to authenticate clients using SPIFFE
Alternatives and current workarounds
Use shared keys or OAuth for authorization
Additional context

it should be noted from the SPIFFE docs:
Being a bearer token, JWT-SVIDs are susceptible to replay attacks. By requiring that the aud and exp claims be set, this specification has taken steps to improve the situation, but is unable to solve it completely while retaining validation compatibility with [RFC 7515](https://tools.ietf.org/html/rfc7519). It is very important to understand this risk.

so really x.509 SVIDs specifically would be preferred if using SPIFFE. Using JWT SVIDs may not offer much better security than just the current OAuth capability.


[d3d9] Codename: Panzers, Phase Two permanent queue sync

Game has a permanent queue sync that is interesting to check out.

Queue sync

Interestingly running the game with d3d9.allowDirectBufferMapping = False ups the queue sync number to high double digits

With d3d9.allowDirectBufferMapping=False

Extra note that d3d9.cachedDynamicBuffers = True helps CPU bound performance quite nicely in this game but the queue sync is still there.

with d3d9.cachedDynamicBuffers=True

Software information
Codename: Panzers, Phase Two
System information

GPU: RX 6800
Driver: mesa main
Wine version: Proton Bleeding Edge
DXVK version: master

Apitrace file(s)
https://drive.proton.me/urls/96BWD685T4#fpUpd5rLvNL7
Log files
PANZERS_Phase_2_d3d9.log

The game creates a render target and Locks it every frame. It doesn't actually use the render target for anything, at least in the apitrace.
Because it's a render target we have to assume the resource was written by the GPU, so in every lock call we end up waiting for the previous one.
Fixing this would require doing significantly more tracking, which isn't worth it. Besides that, the game always waits for an operation in the previous frame, so it's not that bad and has the side effect that it cuts down the latency.


no-shadowed-variable false positive

Bug Report

TSLint version: 5.6.0
TypeScript version: 2.3.3
Running TSLint via: Node.js API

TypeScript code being linted
const { min, max } = minMax.value.transposedResults[0];
const bucket = record[independentColumnIdentifier];
const increment = (max - min) / layer.groupByInfo.numBuckets;
const xValue = min + bucket * increment;

with tslint.json configuration:
{
  "extends": ["tslint:latest", "tslint-react"],
  "rules": {
    "ban": {
      "severity": "error",
      "options": [
        ["Object", "getOwnPropertyNames", "use Object.keys()"],
        ["describe", "only", "should not be committed to repo"],
        ["it", "only", "should not be committed to repo"],
        ["test", "only", "should not be committed to repo"]
      ]
    },
    "no-shadowed-variable": {
      "severity": "warning"
    }
  }
}

Actual behavior
Trans that min, max are being shadowed when they're just being used to assign other variables. If I comment out the 3rd and 4th lines, the warning goes away.
Expected behavior
No warning

I cannot reproduce the bug with the code snippet from above. Is that the whole code that is needed to reproduce it?

Turns out I was shadowing lodash imports further up in the file. Thanks @adidahiya for the help here. Sorry for the false alarm!


How to bypass web page default geolocation permission in iOS?

Hi,
I have trouble calling my website that has to ask to allow location permission in the site because I've to handle it by platform permission and I don't want the website to ask the permission again.
Figure 1. My handle location permission.

Figure 2. The web page still asks permission that I don't want it.

What should I do?
Thank you,
Aek

Hi,
I have trouble calling my website that has to ask to allow location permission in the site because I've to handle it by platform permission and I don't want the website to ask the permission again.
Figure 1. My handle location permission.
Figure 2. The web page still asks permission that I don't want it.
What should I do?
Thank you, Aek

Hello
Is this problem solved please?

Is there any solution ?


[KafkaIO] Fix potential data race in ReadFromKafkaDoFn.AverageRecordSize

Any AverageRecordSize instance may be written to by a single thread at any given time (in @ProcessElement), but may be read by other threads (e.g. @GetSize) during an ongoing write. Depending on the target architecture, this may result in reading a torn value, a stale value and/or a different state of either avgRecordSize or avgRecordGap. A barrier (synchronized in this case) around loads and stores of the two averages avoids this potential data race.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@johnjcasey would you mind giving this PR a look too?


Comparison Operators should check whether widths allow both outcomes.

It would be nice if comparison operators could check information available to their operands that would determine if both outcomes of the operator are possible.
A  common early programming error in chisel is.
val counter = RegInit(0.U)
when(counter > 15.U) {
  ???
}

counter above cannot get bigger than 1 since it's width was not set explicitly and thus the when block will never be executed.  I don't know if this might be a new feature of constant propagation or maybe dead code elimination but I think this would help cut off a number of easily made errors.

Chisel, at its heart, is a generator language. We (and every other language) already remove dead code that a user may have intended to hook up, and I see this as the same situation.
With that in mind, it would be nice to provide the user a way to check for coding errors. Things like AssertStillLive(io.req.ready) (i.e., things that check that a wire isn't pruned or left floating or checks that a condition is possible).

@jackkoenig What do you think about converting this to an RFC?

Not an issue - decided that we can't catch all of these by solely looking at the expression.


Remove native TLS Docker image.

As discussed with @partim, native TLS is available to those who want to build support for it but the only user of the native TLS image known to date can address their use case via the existing Routinator support for specifying a custom CA cert. If we merge this to master we should first disable the build rule at Docker Hub. We could also optionally move Dockerfile back to the / and remove the then empty docker subdirectory, which would also require editing the build rule at Docker Hub to find the Dockerfile in the right place.

Force pushed to replace the accidentally overly long commit msg with a shorter one.

@ximon18, would you mind adding a commit moving the sole remaining Dockerfile back to the root as suggested?
I’ll be fine with merging after that. Perhaps you can do that in sync with the necessary Docker Hub updates?

@partim: I'll take care of it.

Done. I have also removed the native-tls specific build rules at Docker Hub.
I have NOT yet edited the Docker Hub build rule for the remaining Dockerfile telling Docker Hub to find it now in the project root as that should be done immediately prior to merge of this branch to prevent breaking builds caused by other commits to master prior to merge.

@partim: Ping me when you're ready to merge this and I'll adjust the Docker Hub build rule.

Feel free to merge at any time.

The nlnetlabs/routinator:native-tls Docker Hub tag has been deleted.


Return specific response for specific url

Sometimes it is useful to return different responses for different requests.
Add possibility to specify for which url the response should be, either by url or by being able to validate the request that is made.

After fixing #68, there is now a workaround for this by adding a custom ResponseFactory (Func<HttpRequestMessage, HttpResponseMessage>). Therefor the priority for this issues has been lowered. However it would still be great to have native support for this.

I am considering to change several things here:

Remove the fluent interface for building requests, or at least remove part of it.
use methods/classes similar to what is used in asp.net core like: OkResult, BadRequest, etc
support sequences of responses in order to be able to test retry mechanisms


⚠ Mobitopup has degraded performance

In 4a0e003, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 12612 ms

Resolved: Mobitopup performance has improved in fbb1251.


show if idle display

many thanks for your great work
now i have a question or idea if the mean screen it is idle (no one it is work on it) i want display for example a message or some of images
how i can do it

You can use the callback of the widget SecondaryDisplay to display the look you want.
if there is no data you can display an empty widget.
Or u can wrap the stack widget so that another widget is overlapped.
Like that.
bool isCanShowSecondaryDisplay = false;

Stack(
  children: <Widget>[
   econdaryDisplay(
      callback: (argument) {
        setState(() {
          value = argument;
        });
      },
      child: Center(
        child: Text(value),
      ),
    ),
   if( isCanShowSecondaryDisplay )
      MyWidget()
  ]
)

thank you for your response but my idea it is like screensaver on windows or mac

you are a genius
i try to do your code it is work good
now my friend i have issue if you can help me please
how i can make the usb scanner reader read a barcode without focus on textfield


Add updater to update version info from prodcon build manifest

To clarify a bit, this tracks bringing this kind of info from the manifest:
<Build Name="core-setup" BuildId="20180515-03" ...

to
https://github.com/dotnet/source-build/blob/c627c32ee8818a88d84713a2cff5c14272ea257b/repos/core-setup.proj#L9

The functionality chunk I'm adding for the build ID also lets us update the ProdCon feed URL and update package versions from the manifest.

Moving this back to backlog for now until I'm available to work on it. This updater won't be useful until we start getting ProdCon builds for the next release (whether from master or release/2.1) and it's just automation of a task that can be done manually so I think it can wait.

Completed: new updaters added to master #602 and release/2.1 #605.


update to use coverall 1.0

see: https://github.com/prooph/event-sourcing/issues/24

Changes Unknown when pulling 79afe5b31bede371bd166bd2f057ed938c987e6d on prolic:coveralls into ** on prooph:master**.


removing other 404 guides

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10208

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


DHCP: API for Static leases

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
Greetings!
Is it planned that there will be an API for managing the DHCP leases?
It is pretty much the most asked-for feature for my Ansible collection.
I understand the users, as some networks have hundreds of leases that should be dynamically extendable.
Currently it seems to call /services_dhcp.php?if=<IFNAME> - that cannot easily be integrated into external tools.
I've seen that there is already a documentation for deleting them - but without a link to a XML.

should be superseded by https://github.com/opnsense/core/issues/6971, for ipv4 it should be in the 24.1 release.

Good to know! Thank you for the information.

@AdSchellevis you're welcome, I'll see if we can add ipv6 in 24.7. Eventually we need to get rid of isc-dhcp


IOTCoreDefault app OOBEWelcome screen doesn't present well on Phone screen

Screen doesn't adapt to smaller (horizontal) sizes, you can't get through the language selection screens etc.

Thanks for the feedback!  We will look into this as soon as we can!
What screen size did you experience this on?

Thanks for bringing up this issue.
We've updated the OOBE screen XAML, so it's got a responsive UI now and should adapt to any screen size (240px or more).

great, I can get through the pages now on a mobile device.


feat(app): setup tailwind + daisyui

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

GitHub release
v0.5.0

Your semantic-release bot :package::rocket:


unison: 2.51.3 -> 2.51.4

Motivation for this change
https://github.com/bcpierce00/unison/releases/tag/v2.51.4
Things done

Built on platform(s)

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 141069 run on x86_64-linux 1

2 packages built:

unison
usync


[FancyZones Editor]: Same name as 'Edit layout' defined for multiple focusable sibling elements.

Microsoft PowerToys version
"0.35.0"
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones Editor
Steps to reproduce
Test Environment:
OS: Windows 10 Build 21354.1
App version: 0.35.0
App name: PowerToys
Screen Reader: Narrator
Tool: Accessibility Insight for Windows
Repro Steps

Launch 'PowerToys' application.
Application will get open with default list item 'General' selected.
Navigate to 'FancyZones' at the left side of the pane and activate it.
Now navigate to 'Launch layout editor' button and activate it.
FancyZones editor window will get open.
Run 'Accessibility Insight' tool on the application.
Observe the issue.

User Impact: Priority-1
Screen reader users would get impacted and get confused if same name as 'Edit layout'  is defined for multiple buttons.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/sites/accessibility/_layouts/15/Doc.aspx?sourcedoc={B661D774-60D0-4277-A121-73F986EBEE76}&file=MAS 4.1.2 – Name%2C Role%2C Value.docx&wdLOR=cE56E09CE-4478-4D20-B785-78D1B90569C1&action=default&mobileredirect=true&cid=577e2918-ba37-4bc7-bdd5-df0122160d1f

✔ Expected Behavior
Unique name should be defined for each sibling controls.
For E.g. Name as "Template Rows layout" should be defined for Rows layout edit button present under Templates heading.
❌ Actual Behavior
Same name as 'Edit layout' defined for multiple focusable sibling elements.
Other Software
No response

Resolved with the release of v0.41.


feat(ip-restriction): Add TCP support (#6679)

Summary
This change adds TCP support to the ip-restriction plugin by implementing the Stream module's preread function.
When a TCP connection is rejected due to IP restriction rules, a JSON error response is written to the stream and the connection is closed.
Note: This change is based on branch release/2.8.x so it targets this branch. However, since it is a new feature, it would probably be added in a 2.9.x release instead. There isn't currently a release/2.9.x or release/2.x branch.

Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

Add protocols to schema: "tcp", "tls", "grpc", "grpcs"
Implement preread function
Make handler logic generic to be shared by HTTP and TCP

Issue reference

Fix #6679

 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.Michael Russo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 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.Michael Russo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you please rebase this on top of 'master' and target it for 'master'? New features always go into the mainline development branch (named master) first.

We have a separate PR for master.  The code has changed a bit between the 2 versions.

In that case, please get the other PR merged first and then we will move forward with this.
We don't ship features in patch releases so I'm not sure if we can even move forward with this or not.
cc @dndx

In that case, please get the other PR merged first and then we will move forward with this.
We don't ship features in patch releases so I'm not sure if we can even move forward with this or not.

I'm happy to target a 2.9.x or 2.x branch for this feature change if one becomes available.

Let's first get the PR targeting the master branch merged. We can then cherry-pick it back.

Sounds good. We'll continue working on PR #10245.

Closing as we intend to backport #10245 instead.


RuntimeError with components.light in 0.33.0

Home Assistant release (hass --version):
0.33.0
Python release (python3 --version):
Python 3.5.2
Component/platform:
homeassistant.components.light
Description of problem:
ZWave lights fail to setup and appear on dashboard. Other ZWave components work fine.
  File "/home/linville/dev/hassenv/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 55, in setup_platform
    name = super().entity_id
RuntimeError: super(): __class__ cell not found

Expected:
Traceback (if applicable):
16-11-19 19:45:30 homeassistant.components.light: Error while setting up platform zwave
Traceback (most recent call last):
  File "/home/linville/dev/hassenv/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 150, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/linville/dev/hassenv/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 55, in setup_platform
    name = super().entity_id
RuntimeError: super(): __class__ cell not found

Seeing the same issue related to dimmers.

Reverting 5da93e82613a049ff85b71a8babc0f4d4a83053f avoids the error and ZWave light components appear to work correctly (editing the file directly should be sufficient for a short-term workaround for users who need to get things back up and running).

same here.. none of my zwave linearlinc bulbs or ge dimmers ... no lights at all ....

i see a fix approved in the pull requests .. has this been pushed yet.. broke my entire setup...?

I don't think this issue has been entirely resolved in 0.33.1. I can see my ZWave dimmers, but there are many errors in the debug log, and certain lights do not appear, (e.g. my Aeotec RGBW lightbulbs).
Here's the debug output:
16-11-21 09:06:06 homeassistant.components.light: Error while setting up platform zwave
Traceback (most recent call last):
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 150, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 72, in setup_platform
    add_devices([ZwaveColorLight(value, refresh, delay)])
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 204, in __init__
    super().__init__(value)
TypeError: __init__() missing 2 required positional arguments: 'refresh' and 'delay'
16-11-21 09:06:06 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:06 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:06 homeassistant.components.light: Error while setting up platform zwave
Traceback (most recent call last):
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 150, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 72, in setup_platform
    add_devices([ZwaveColorLight(value, refresh, delay)])
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/light/zwave.py", line 204, in __init__
    super().__init__(value)
TypeError: __init__() missing 2 required positional arguments: 'refresh' and 'delay'
16-11-21 09:06:06 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:06 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2
16-11-21 09:06:07 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 335, in _async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 201, in async_add_entity
    'Invalid entity id: {}'.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.<function object_id at 0x7f5259a21048>_2

I have to agree; not 100% fixed. I also have same errors and several zwave devices not popping up.
It seems af if any light with the additional _2 or _1 at the end isn't working.

I agree also but the issue is wider than just lights, I have a fibaro universal sensor which did have two instances in the front HA before this update.
This is the only one i see now:
binary_sensor.fibaro_system_fgbs001_universal_binary_sensor_sensor_79_0
and this one is missing:
binary_sensor.fibaro_system_fgbs001_universal_binary_sensor_sensor_79_0_2

Should now be fixed in #4502.

Thanks for the quick fix!

Cheers guys! I'm updating tonight but looks good. Thanks!


Improve the driver: switching to pubsub paradigm

Overview
This PR updates the mechanism on how the client receives the sensor data. In detail:

The client can send SUBSCRIBE command to the websocket server
Upon receiving SUBSCRIBE, the server will start to continuously read the latest sensor data and publish them to the client via websocket, typically every 2ms ~ 3ms.

This ensures that the client is always getting sensor data as fresh as possible, without having to proactively waiting for the read.
Changes

The driver does not maintain its own read loop any more. StartReadLoop is removed.
The driver does not maintain its own latest reading any more. latest_reading_ is removed.
Simplify the FetchSensorData and rename it to Read.
On the websocket server side

Add a new object Publisher, which under the hood run a background thread that continuously read the sensor data and publish them to the subscribing clients.
Handles SUBSCRIBE command.

Testing
Tested with the server and client on the same machine (so as to eliminate the factor of network stability), getting the freshness reading like:
    5.0067901611328125e-06
    4.0531158447265625e-06
    5.9604644775390625e-06
    5.0067901611328125e-06
    4.76837158203125e-06
    3.337860107421875e-06
    4.5299530029296875e-06
    5.9604644775390625e-06
    4.0531158447265625e-06
    3.5762786865234375e-06
    3.5762786865234375e-06
    4.5299530029296875e-06
    5.0067901611328125e-06
    4.76837158203125e-06
    8.58306884765625e-06
    4.5299530029296875e-06
    7.152557373046875e-06
    5.4836273193359375e-06
    5.7220458984375e-06
    4.291534423828125e-06
    3.814697265625e-06
    4.0531158447265625e-06
    3.5762786865234375e-06
    3.5762786865234375e-06
    4.5299530029296875e-06
    4.5299530029296875e-06
    3.814697265625e-06

The latency numbers seem unrealistically good.  There is a 3ms sync read plus 1ms sleep, so if client reads randomly, average latency should be around 2ms?

The latency numbers seem unrealistically good. There is a 3ms sync read plus 1ms sleep, so if client reads randomly, average latency should be around 2ms?

The timestamp = a - b, where a is the time when syncRead is done. If we move a before the syncRead, it should be around 2ms.

The latency numbers seem unrealistically good. There is a 3ms sync read plus 1ms sleep, so if client reads randomly, average latency should be around 2ms?

The timestamp = a - b, where a is the time when syncRead is done. If we move a before the syncRead, it should be around 2ms.

Oh, I see.  On the client side, you probably got the timestamp right when you've received the data, i.e. there is no 50Hz policy/control loop running to get the data.


Typos from The Legend of Python

Hello team,
Please find below a list of typos from The Legend of Python lessons.
06. Data Types

Replace 'they' with 'it', see typo01.png. 👇

09. Pythagorean Theorem

Replace 'press' with 'presses', see typo02.png.  👇

10. Currency

Replace 'peso' with 'pesos', see typo03.png. 👇

12. Grades

Replace 'claus' with 'clauses', see typo04.png.  👇

16. Sorting Hat

Add 'have' after 'we'
Replace 'learnings' with 'learning', see typo05.png. 👇

21. Fizzbuzz

Replace 'learnings' with 'learning', see typo06.png. 👇

Omg these are great!

Hi Milan! OMG these are great!
I fixed everything except "learnings" and also "we learned", because they are fine according to Grammarly!
Great job tho!!!


tests: measure time with elapsed time instead of user-mode time

This will help to identify where the real elapsed time is going.

IMHO, it should be user + system because the real time include much more contextual factors like other running processes.

@jcbrinfo yeah, but I wanted to include sleeps and IO waits, My point is to try to reduce the time of the CI tests on each PR.

toaster: test this please


@AfterTest in 6.8.8 is executed even after non @Test method

This fails my build:

Failed tests:   tearDown(template.GuestMailTest): calling verify is not allowed in record state

    @BeforeMethod
    public void setup() throws Exception {
        setUp();
    }

    @AfterTest
    public void tearDown() {
        EasyMock.verify(getMocks());
    }

The message means, that EasyMock.verify() was called outside of a test, where I normally run EasyMock.replay() before any testing.
Also judging by the message - it considers the tearDown() method to be a @Test
With version 6.8.7 this was working well and my build passed.

If this is still a problem with TestNG latest version (7.4.0 as of today), please help share a complete sample that can be used to reproduce the problem. Closing this issue.


WARNING: Never try to work with this plugin

I tried to integrate AWS MSK with serverless using this plugin and after trying 3+ days, I got nothing.
NOTE to author: I highly appreciate creating such plugins but if its not maintained at least give a heads-up saying its not man. Totally frustrated using this plugin
My serverless.yml file
EventsProcessor:
  handler: src/handlers/events.handler
  layers:
    - {Ref: PythonRequirementsLambdaLayer}
  timeout: 300
  events:
    - msk:
        arn: '<arn of AWS MSK>'
        topic: <topic name>
        batchSize: 100
        startingPosition: LATEST
        enabled: true # this will turn it off

custom.yml
serverless-offline-msk:
  allowAutoTopicCreation: true # If we can create topics in kafka automatically
  brokers: # list of brokers to use for kafka
    - "AWS MSK broker 1"
    - "AWS MSK broker 2"

My bad. I was trying to use it with AWS MSK.
I guess there is not way I can use serverless-offline plugin with AWS MSK then
Thanks for the update @lukevers

@vijay-ashok If you're trying to connect directly to MSK from your own computer I would be surprised if you were able to do that unless you had a VPN into your VPC with the right access setup -- but in my experience when I work with MSK I like to purposely not allow any direct traffic and instead setup security groups to be used with Lambda (using Lambda for both producers and consumers).
It looks like they may allow public access if you want..but it seems like a bad idea to open it up to the internet https://docs.aws.amazon.com/msk/latest/developerguide/public-access.html
Even if you did attempt to use this directly against the MSK brokers over VPN, I'm unsure if it work or not (I haven't tried it myself).

@lukevers This is for my staging environment and this is running inside my VPC only and has access to all my AWS resources. Problem is serverless-offline doesnt support AWS MSK events and I need exactly this 😢


Breaking: remove --compile and --prebuild options

In favor of --build-from-source which is a common option among build tools (node-gyp-build, node-pre-gyp). The --compile option was an alias and --prebuild is the default behavior anyway.

6.0.0


dependency triggers a "security vulnerability warning"

I just received a warning from github for the marked package (in version 0.3.2).
After checking its coming from gulp-ngdocs.
A screenshot of the mail:
https://img3.picload.org/image/ddarpgci/capture.png
Version 0.3.4 seems not to be affected.
Would it be possible that you upgrade that dependency?

I just received another mail for a "high severity" security vulnerability, for the same package, just one version higher.
https://img3.picload.org/image/ddarprgw/capture.png


temporal action detection

I like to do temporal action detection.
Can you help on how to evaluated the existing methods on THUMOS14 dataset?
I know part of it should be like this:
python tools/test_localizer.py configs/thumos14/ssn_thumos14_rgb_bn_inception.py ${CHECKPOINT_FILE} [--out ${RESULT_FILE}] [other task-specific arguments]
but i know know the rest.
should i download {CHECKPOINT_FILE} from some other places? I download the ssn_thumos14_rgb_bn_inception_tag-dac9ddb0.pth and put that in the model zoo.
How should i set the other arguments?

do i need to have optical flow frames for this evaluation?

I run the code as
python tools/test_localizer.py configs/thumos14/ssn_thumos14_rgb_bn_inception.py modelzoo/ssn_thumos14_rgb_bn_inception_tag-dac9ddb0.pth --gpus 1 --out ssn_thumos14_rgb_bn_inception_AlirezaTest.pkl --eval thumos14
and received this error:
data/thumos14/thumos14_tag_test_proposal_list.txt
210 out of 1574 videos are valid.

            SSNDataset: proposal file data/thumos14/thumos14_tag_test_proposal_list.txt parsed.

Traceback (most recent call last):
  File "tools/test_localizer.py", line 178, in <module>
    main()
  File "tools/test_localizer.py", line 95, in main
    cfg.model, train_cfg=None, test_cfg=cfg.test_cfg)
  File "/home/alireza/Desktop/mmaction/mmaction/models/builder.py", line 63, in build_localizer
    return build(cfg, LOCALIZERS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
  File "/home/alireza/Desktop/mmaction/mmaction/models/builder.py", line 34, in build
    return _build_module(cfg, registry, default_args)
  File "/home/alireza/Desktop/mmaction/mmaction/models/builder.py", line 26, in _build_module
    return obj_type(**args)
  File "/home/alireza/Desktop/mmaction/mmaction/models/localizers/SSN2D.py", line 54, in __init__
    self.init_weights()
  File "/home/alireza/Desktop/mmaction/mmaction/models/localizers/SSN2D.py", line 99, in init_weights
    self.backbone.init_weights()
  File "/home/alireza/Desktop/mmaction/mmaction/models/tenons/backbones/bninception.py", line 253, in init_weights
    load_checkpoint(self, self.pretrained, strict=False, logger=logger)
  File "/home/alireza/anaconda3/lib/python3.6/site-packages/mmcv-0.2.8-py3.6.egg/mmcv/runner/checkpoint.py", line 120, in load_checkpoint
    checkpoint = model_zoo.load_url(open_mmlab_model_urls[model_name])
KeyError: 'bninception_caffe'
alireza@alireza:~/Desktop/mmaction$

@isalirezag
Looking at the error,  it seems like the input size is too small. Could you check that?

hmmm can you please tell where should i change it, i didnot change any part of the code.
should I define input size somewhere?

I tried running the code and there is no problem.
In addition, the input size has been defined in the config: https://github.com/open-mmlab/mmaction/blob/master/configs/thumos14/ssn_thumos14_rgb_bn_inception.py#L82, therefore the input will be resize to 340x256 and a 224x224 crop will be obtain thereon.
Maybe you have to check you input, for example are all of them successfully extracted?

I also met the same problem. I just wonder whether it's caused the un-matched configuration since I only have two GPUs.

I met the same problem. "RuntimeError: Given input size: (1024x6x7). Calculated output size: (1024x0x1). Output size is too small at /pytorch/aten/src/THCUNN/generic/SpatialAveragePooling.cu:47
". The input is from x = self.extract_feat(chunk.cuda()) in SSN2D.py

Please refer to #63 for details.


Review ontology for Entity unique ids needed for front-end features

@musubipapi raised an issue around unique id's encoded in various Entity nodes, according to our ontology. It seems like we need to review and perhaps modify how nodes are identified uniquely to enable some features of the Chainverse front-end.

Reviewed on Thursday with @musubipapi. Solution being attempted is to instead create a Union in GraphQL between the different Entities (Snapshot and DaoHaus) and search by the name property.


Durable In/Outbox behavior seems to keep messages in SQL forever.

Follow-up of the existing issue https://github.com/JasperFx/wolverine/issues/689 that has been fixed on the main branch already.
The provided fix is only for the latest version however (.Net 8) and is not available to those who still have to use .Net 6.
Is it possible to port the fix in the 1.20.x version ? The committed code fix seems fairly lightweight.

I've pushed that fix to 1.20.2. Sorry for the delay.


how to change default admin password?

Is there a way to change the default admin password?

Is there a way to change the default admin password?

Solution:
On the admin website, there is a triangle at the top left corner. If this is clicked, you can display additional menu items. Among other things, also users. The existing admin user can be edited and / or new users can be created there.


feat: Add check for existing issues

Pull Request
Add check for existing issues, also change the pull request name matching to match the title value.
Fixes #9
Proposed Changes

These changes allow us to run the script with issue mode without bloating the repositories with issues.

Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] run make lint and fix any issues that you have introduced
[x] run make test and ensure you have test coverage for the lines you are introducing

Reviewer

[x] Label as either bug, documentation, enhancement, infrastructure, or breaking

Looks like isort and black are chasing each other here by not agreeing on the proper sort order. I think we may need to add a .isort.cfg file with these contents:
[tool.isort]
profile = "black"

source: https://github.com/PyCQA/isort/issues/1518#issuecomment-703056188

Added the the .isort.cfg file

Looks like isort and black are chasing each other here by not agreeing on the proper sort order. I think we may need to add a .isort.cfg file with these contents:
[tool.isort]
profile = "black"

source: PyCQA/isort#1518 (comment)

Did some testing looks like it need to be:
[isort]
profile = black

Did some testing on my end as well , and the make lint seems to not agree with all changes that the superlinter wants.


"Subscriptions"

React Apollo's HoC subscribes you to updates for the same query.
This probably doesn't make sense for this component, but where do I draw the line between what this component does and what the next level should do? As a comparison, ApolloLink, the lib that is roughly analogous to this in Apollo, doesn't do some of the stuff that this does.

Above, I proposed the following idea:

To do this, I will need to do the following:

a request ending does not wipe the cache. Instead, it moves it to an "active" queue.
there will be an API to remove a cached request from the queue. This will be done when the  is unmounted.

this idea does not work because fetch-dedupe works with Promises, and Promises can only be resolved one time. So after the first request is made, I have no handlers to the component to continue pushing updates.
tl;dr:
fetch-dedupe cannot be used for this system, but the component could manage a cache for this.


fix filter-source-file to work OS independently

On Windows, the createFilterSourceFile function doesn't work, because of different path separators.
Use path.normalize to make the paths comparable.
If you accept this PR, would you please release a new version of the nx-remotecache-minio?
Thank you!

Good catch, yes I'll bump all of the packages. Thanks for your contribution!

Changes are included in 17.1.0.


After Bootstrap executed and trying to open browser getting empty screen  [bug]

What are you trying to achieve?
After running Bootstrap finish then getting message in terminal
Bootstrap executed, tests can be launched
but when open http://localhost:3001/ getting empty screen
without any ui
Bootstrap executed, tests can be launched

Can you open a DevTools and show a console report there?


Negative acks in C++ client

Motivation
Similar to #3703, adding support for negative Acks in C++ client (and C wrapper)

rerun java8 tests

@merlimat are you planning on exposing the neg ack API for python client in a subsequent PR?

Yes, I have pending PRs for Python and Go that depend on this one

rerun java8 tests


wskdeploy - display the entire deployment plan with detailed API calls

With an interactive mode, wskdeploy displays the whole deployment plan and waits for user input to proceed with deployment. Its a very useful feature when users just wants to confirm openwhisk entities being deployed with their manifest and deployment files.
It will be even more useful if we can display API calls along with the deployment plan when wskdeploy is invoked in a separate dry-run kind of mode.
(Please come with a fancy way of introducing dry-run mode)

please assign it to @pritidesai :)

this is considered as an extension to dry run (issue #758)


Homepage loading state

As an user I would like to see a loading state while the app is evaluating my request on the homepage (it needs to get longitude and latitude of a location).

[ ] Create a new vuex module called "loading". (very simple just a loading state and ability to switch it on or off)
[ ] Trigger loading when the Search button is clicked on the homepage
[ ] WHen the app is in loading state, show a loading spinner instead than the button (give the same look and feel of the button to the spinner, with the same background colour, just a loading spinner instead than text)
[ ] Make sure that the user CANNOT click the button while the app is loading
[ ] Make sure the Input field (title, location) are disabled while loading

Hi, I am interested in solving this issue. Is there any other person working on it?

Go ahead. No one has been working on this yet! :) Nice to see you around!


Display information on function or libraries

I would like small drop-down come giving me options to pick the function along with function arguments. this should display in line will the user if writing done by the cursor.
This gives the user to implement richer functions into the notebook while understanding and learning the libraries.

This has been implemented.. to get this either press Ctrl-Space.. or press . after the vairable..

function arguments are not displayed at the moment only names of variables/properties are listed. so keeping the issue open to work on it later.


feat(abigen): add docs to generated contract bindings

Description
closes #82

Solution

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

#155  👈
#154
master

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

Join @ArtificialPB and the rest of your teammates on  Graphite


Change to throw away iframe for capturing globals

@jonathanKingston  what about testing steps - is it just extension + C-S-S, do I need any config changes?

@jonathanKingston - agreed, good approach :)

I actually found the source of the crazy breakage (remember we've broke this before anyway so clearly we need a test... somehow). I re-opened here: https://github.com/duckduckgo/content-scope-scripts/pull/554


Scope Entry index to current user

Description
Currently the Entry index() function returns all items for all characters. Instead items returned should be scoped either to a specific the character we care about, or alternatively to the currently auth'd user.

Possible Implementation
Change the query in the EntryController index() function to accept a query parameter, "character_id", in the request. if it is null, the scope to the Auth::user().

Hey team! Please add your planning poker estimate with ZenHub @JasonGadoury @pascwhale @RobertoNittolo

Looks like the estimates for this are 50/50, lets over estimate, just in case on this one


active_record/truncation.rb: Disable `RESTART IDENTITY on CoackroachDB

Coackroach DB doesn't use incremental sequence for row ids hence the RESTART IDENTITY bit isn't supported. This adds a very simple test to disable it and make the truncation strategy works with cockroachdb
Signed-off-by: Julien 'Lta' BALLET<EMAIL_ADDRESS>

Thank you for the PR! However, the ActiveRecord adapter has been extracted into its own repo at https://github.com/DatabaseCleaner/database_cleaner-active_record. If you close this PR and reopen it over there, I'd be happy to take a look!

Meh. Not using it anymore. It was just part of a side experiment so it sadly won't happen :)


python312Packages.huggingface-hub: 0.24.5 -> 0.24.6

Description of changes
Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v0.24.6

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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


Add option to specify MultiRenderTarget's depth texture format.

For WebGL 2, this change allows for choosing the depth texture format (16, 24, 24_S8, or 32F). Default is the same as before: 16 bits.
As an optimization, glRenderBuffers do not need to be created if a depth(/stencil) texture is being generated since it will be put on the framebuffer's depth/stencil attachment instead.

@kircher1 I ll merge as soon as you ll revert the changes to the babylon/module.d.ts file :-) Thanks a lot for the change


Restore Scenes on Load fails to draw CSG

Godot version
3.4.3, 3.4.4.rc1
System information
macOS
Issue description
Reopening a project will 'restore' the open scenes, but will fail to draw CSG nodes until the scene is closed and reopened
Steps to reproduce
This uses Editor Settings > Interface > Scene Tabs > Restore Scenes on Load = ON

Open a scene that has CSG nodes. Change the tab to another scene and close the project.

https://user-images.githubusercontent.com/2546522/157934032-a720074c-721e-4979-8752-e17f2e7815fd.mov

Open the project, go to the scene with CSG nodes and they will not be drawn

https://user-images.githubusercontent.com/2546522/157934049-db6edfdf-0057-4ce1-89cb-b5b9a61ccf2d.mov

Close the scene and reopen it for it to work again

https://user-images.githubusercontent.com/2546522/157934062-a0f8bae2-675a-4dd4-ab05-02a64297f486.mov
Minimal reproduction project
CCD.zip

Duplicate of https://github.com/godotengine/godot/issues/54445 (fixed by https://github.com/godotengine/godot/issues/54445, will be in 3.4.4rc2).


Graph Editor: compilation time for simple node graph

Hello,
I noticed that opening /compiling this simple graph takes significantly longer than e.g. the marble material example or other materials in the examples. It's also just a surfacematerial with standard_surface and a few nodes. I'm wondering if this is expected and caused by the nodes being used?
<?xml version="1.0"?>
<materialx name="" version="1.38" >
	<nodegraph name="needle_shadergraph" >
		<!-- MyColor -->
		<input name="_MyColor" type="color4" value="0.8113207, 0.5396048, 0.5396048, 1.0" />
		<constant name="const__MyColor" type="color4" >
			<input name="value" type="color4" interfacename="_MyColor" />
		</constant>
		<convert name="convert_to_color3" type="color3" >
			<input name="in" type="color4" nodename="const__MyColor" />
		</convert>
		<output name="out" type="color3" nodename="convert_to_color3" />
		<convert name="convert_to_color3_1" type="color3" >
			<input name="in" type="float" value="5.0" />
		</convert>
		<multiply name="mult" type="color3" >
			<input name="in1" type="color3" nodename="convert_to_color3" />
			<input name="in2" type="color3" nodename="convert_to_color3_1" />
		</multiply>
		<output name="out_1" type="color3" nodename="mult" />
	</nodegraph>
	<standard_surface name="needle_standard_surface" type="surfaceshader" >
		<!-- Base Color(3) -->
		<input name="base_color" type="color3" nodegraph="needle_shadergraph" output="out" />
		<!-- Emission(3) -->
		<input name="emission_color" type="color3" nodegraph="needle_shadergraph" output="out_1" />
		<!-- Metallic(1) -->
		<input name="metalness" type="float" value="1.0" />
	</standard_surface>
	<surfacematerial name="Default" type="material" >
		<input name="surfaceshader" type="surfaceshader" nodename="needle_standard_surface" />
	</surfacematerial>
</materialx>

https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/4a771d2a-b2a0-44db-b878-c9f97c14d7ae

Thanks for this report, @marwie, though I wasn't able to repro the issue in my local Windows build.
I wonder if the issue is related to driver-level shader caching, where the requested shader wasn't present in the cache when you tested this on your machine?
I'll leave this issue open for now, to see if it resonates with other members of the community, but in my local tests I'm seeing similar shader compile times for your example material and other standard examples such as marble and copper.

I was also not able to detect any noticeable slowdown. My GPU pegs at close to 100% sometimes which does cause hiccups. Perhaps this could be a cause. I went in and lowers the sample env count and it makes it less lag.
( @jstone-lucasfilm: Perhaps its worth adding in a fidelity option as with the Viewer ? )

I just tried this again with the latest version and it doesnt seem to happen anymore


[T4A6][F11-B1] Justin Ng

Run successful.

Ready for review.

Some comments added. Please close the PR after reading comments.
Hi Hi, try to split your commits by the type of tests implemented. Currently it seems alright to commit them together because they are currently short and somewhat simple. However in the future, do take note to split them - one for every significant changes or split commits if they are not exactly similar even though they might be related.
Otherwise, if you find it too troublesome to explicitly split everything, try to at least group them by similarity and commit them separately by groups e.g. "Testing for elements....." or "Asserting for true cases for elements ....."
~ Chuan Wei Candiie

Woah label given for the image attached at the beginning for successful runs ~


Import examples from pybricks-projects

This reduces complexity when maintaining the docs. It also allows us to be a bit more easy going on pull requests on pybricks-projects, because there is no risk of breaking the doc build.
Fixes https://github.com/pybricks/pybricks-api/issues/35.

All checks are green and the work build on RTD looks just fine, so I'm merging it.


Add mem for all tools with cores and rescale some memory based on usegalaxy.org usage

Some of this may be controversial so I'd certainly like to hear from other usegalaxy.* admins before this is merged. =)
fastqc is now scalable cores and memory based off input_size - probably I should fix this for compressed data a la my bwa-mem2 rule but perhaps TPV should have an estimated_input_size?
Data I used to make adjustments can be found in this gist. There is also a discussion about how to do a better job of this long term in #75.
Any tool I didn't have data for that has cores but no mem I left a comment on. fastp I don't know what to do with, since its usage is way outside of what I allocate for it, so I might try a more restricted query for that.

Thanks @mira-miracoli and @cat-bro! I think it should be good to go now.

Oh, I guess I need to apply formatting. It removes all the comments though, which IMO can be useful - @nuwang you mentioned making roundtrip the default in https://github.com/galaxyproject/total-perspective-vortex/pull/140, should I do that (or make it the method used by format, at least)? Or do we want to enforce no comments in the shared DB?

Oh, I guess I need to apply formatting. It removes all the comments though, which IMO can be useful - @nuwang you mentioned making roundtrip the default in galaxyproject/total-perspective-vortex#140, should I do that (or make it the method used by format, at least)? Or do we want to enforce no comments in the shared DB?

It would be great if we can preserve comments, at least when formatting I think. However, I just left a comment on that other thread about the impending pydantic transition.

@nuwang can we make a new release of TPV? Then a reformat and the noqas should allow this to pass.

@natefoo Just published a release. Sorry about the delay, just returned from vacation.


Optimize SQL query in assignarbitraryipv4address

This should make our median assignprivate IP time go down from 1.1 seconds to...much less

Neat!


ACC FAQ Changes

made the questions look consistent with use of I and YOU in the questions. Further clarified the FAQ details as well

@agowdamsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@JBCook can you review the proposed changes and let me know if anything needs updates on the comments ?

Closing as Jenny is working on another PR


Bugfix: prevent possibility of duplicate signatures in uptane.common

Purpose of the PR:
This brief PR fixes a bug in a piece of code that prevented uptane.common.sign_signable from creating duplicate signatures with the same keys in an edge case (same key provided multiple times, or attempt to sign already-signed signable with the same key). That code was checking an empty temp variable rather than the input.

Coverage increased (+0.06%) to 85.847% when pulling 8db1b32cd4de4a626a5bddf48dc53fade6b73a1a on awwad:fix_signature_duplication_prevention_code into ea82ddff2eff39c0fca0fa8d481f21ed1af2f4a9 on uptane:develop.


Decouple Notebook and Console from CodeMirror

I've introduced:

ICellEditorWidget interface that is an abstraction over a concrete editor;
console/codemirror/plugin to create a CodeMirror aware render for the console;
notebook/codemirror/plugin to create a CodeMirror aware render for the notebook.

I'm going to test this change set with our editor implementation next week.

related issue: https://github.com/jupyter/jupyterlab/issues/608

Should also be related to this #135.

Hi @akosyakov, many of us have been out on holiday this past week.  Thank you for stepping up to implement the feature.  #591 is a sweeping change to the repo that is our top priority at the moment.  I apologize for the disruption this will cause, as it will most likely cause significant merge conflicts with this PR.  I would suggest not making any further changes until we finish it.

This is great, thanks for working on it! Once the port to the new phosphor libraries is complete, we'll be in a good place to help with resolving the conflicts with you.

It's alright, i do understand that the project is in the early stage and there can be disrupted changes. What is estimated time of implementation for #591?
I'm going to play around with integration of our editor in the notebook and console anyway and probably contribute some improvements of the editor interface to the PR.

Hi @akosyakov, there are two of us working on #591 now, and we hope to be done within the next day or so.  It was a lot bigger job than we originally anticipated.

I was able to integrate our editor in the notebook and console today with this PR.
I had to extract ICellEditorWidgetExtension from ICellEditorWidget. Since we don't want to use inspections and the completion dialog form jupyterlab, so it is not necessary to provide signals for completion requests and text changes.

Glad to hear it is working for you.  We are just about done with #591.

@akosyakov, we just merged #591.

@blink1073 cool, will have a look at conflicts today

conflicts should be resolved now, please review

Great work overall @akosyakov.  Please make the following style changes to conform with the rest of the code base Style Guide.

Use 2 spaces for indentation throughout
export should be on its own line

Also, we have a goal to make sure everything gets a docstring, no matter how mundane.

@afshin, can you comment on the approach of designating an editor as not requiring inspection or completion?

@blink1073 @akosyakov Couldn't an alternative editor adhere to the interface and have the textChanged and completionRequested signals but simply never emit them? That way it would simply seem like it's a "silent" editor and the completion and inspection widgets will ignore it.

@afshin ok, i will do like you suggested for now. But generally i think an editor implementation should decide whether it wants communicate with the inspector and trigger completions, maybe we should move signals on the inspector and completion widget parts.

@blink1073 i've addressed to your comments, please review again

Sorry @akosyakov, it looks like #622 caused another conflict.

@blink1073 resolved

@akosyakov, I sent you this PR with some cleanup and reorg to better mesh with the rest of the repo: https://github.com/TypeFox/jupyterlab/pull/1.  Once that is in, I am 👍 to merge, once @afshin agrees.

Oh, right, I'll send another PR to update the failing build as well.

(Now part of the original PR).

@akosyakov, I'm updating the tests now.

@blink1073 ups, i've already merged the PR, you can open another one for tests

https://github.com/TypeFox/jupyterlab/pull/2 sent.

merged

@blink1073 i wonder when are you going to release jupyterlab 0.1.3?

The next release will be 0.2, and will be today or tomorrow.

hope this PR will be a part of the release

@akosyakov As you've painfully seen, we've got API changes that aren't backward compatible, which is why the next version will be 0.2.0. Thank you so much for your patience.

Thank you so much for this, and for bearing with us @akosyakov.  This will indeed be in the next release.


Error report not begin generated

In entrypoint.sh
https://github.com/lycheeverse/lychee-action/blob/b9d270dc4788c849d00b9647f93bb3bd2f9066ed/entrypoint.sh#L2
I think the -e option causes the script to end as soon as an error is encountered. This will mean that the if statement below is never reached.
https://github.com/lycheeverse/lychee-action/blob/b9d270dc4788c849d00b9647f93bb3bd2f9066ed/entrypoint.sh#L15-L19
And unfortunately that means the $LYCHEE_OUT report is never created.
Is this correct?
One alternative would be to change set -euxo pipefail to set -uxo pipefail
Alternatively, lychee could be executed as lychee "$@" --output "$LYCHEE_OUT" (and then the $LYCHEE_OUT file be removed if not needed.

Thanks! Just saw your issue. Help is on the way. I merged https://github.com/lycheeverse/lychee-action/commit/5abbdadaddae26c045f74832c946901b30d8566f, which should fix it. Can you try again and see if it fixes the problem?

Great, good to see this being fixed.
I'm not an expect with github actions -- do I need to somehow indicate I want to use the latest release of this action? uses<EMAIL_ADDRESS>or something like that?

Yeah you can use the newly created tag now:
- name: lychee link checker action
  uses<EMAIL_ADDRESS>
I guess you could also use master to always get the latest version:
- name: lychee link checker action
  uses: lycheeverse/lychee-action@master

Yes, indeed, that works. Thanks!


image from google ouath

Hi Everybody,
Google+ response may be changed, indeed if you want to get the profile picture of the user when she logs with google credentials the passport.js file should be changed  around line 281 as  user.profile.picture = profile._json.image.url;
and as well around line 259 it should be
user.profile.picture = user.profile.picture || profile._json.image.url;
Cheers,
Filippo

Thanks I will take a look at it and fix it.


Fork get_runtime_path

Fix: When the users runs a test instance, it cannot use fake runtime Solution: Update general settings adding FAKE_DATA_INSTANCE variable to use the fake rootfs or the real one.
Fix: Conditions differ for fake path to runtime or rootfs

This PR seems to be dependent on this one: https://github.com/aleph-im/aleph-vm/pull/336


FEATURE: simple lists of domains based on HTTP error codes

Managed to get a lot of data out of the results.txt file for sorting through.
Would be great to have in the root of  output folder HTTP_Analytic simple files with no commenting and only domain names for example.
HTTP_Analytic/404.txt
HTTP_Analytic/403.txt
HTTP_Analytic/410.txt
etc etc

You mean that I should split the results according to their http code ? Or add an option to split the results according to http codes ?

I think when we activate --plain it can possibly produce individual txt files based on their error code, then cherry picking what we want to remove first will be a breeze.

Fixed with https://github.com/funilrys/funceble/commit/f77ce28f3d298fdaaafb3659fb6478ab6b2561d6.
P.S: Please DO NOT close this issue manually. This issue is gonna be closed automatically once https://github.com/funilrys/funceble/commit/f77ce28f3d298fdaaafb3659fb6478ab6b2561d6 will be merged to master.


Expect to reduce the size of the Docker image.

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

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

🏷 Feature Request Type
Other
🔖 Feature description
Expect to reduce the size of the Docker image.
✔ Solution
Use dependency analysis tools like "@vercel/nft" to ensure that only the necessary dependencies are retained and unnecessary dependencies are removed, thereby reducing the size of the Docker image.
Based on personal testing, the size can be reduced from the current 300+MB to 100+MB before compression, resulting in a reduction of approximately 200MB. The compressed size is expected to be around 50MB, which is half the size of the current Alpine-based image.
While the significant reduction in the size of the Docker image is appealing, removing unnecessary dependencies may introduce certain risks. Therefore, thorough testing and gathering feedback from users are necessary to ensure stability before implementation.
The purpose of proposing this feature is to encourage maintainers to include reducing the size of the Docker image in future plans. It may not be feasible to make immediate changes, but I hope to see optimizations in this area in the future.
❓ Alternatives
No response
📝 Additional Context
refer to minify-docker.js
# minify
FROM base as docker-minifier

WORKDIR /app

RUN npm add<EMAIL_ADDRESS><EMAIL_ADDRESS>--save-prod

COPY --from=builder /app /app
COPY ./scripts/minify-docker.js /app/scripts/

RUN export PROJECT_ROOT=/app/ && \
    node /app/scripts/minify-docker.js && \
    rm -rf /app/node_modules /app/scripts && \
    mv /app/app-minimal/node_modules /app/ && \
    rm -rf /app/app-minimal

If you have any concrete suggestions on how our binary size can be reduced, a PR is appreciated.
The Dockerfile for v2 can be found at https://github.com/louislam/uptime-kuma/blob/master/docker/dockerfile
Note that if you require a slimmer variant, there will be the 2-slim-rootless and 2-slim tag available which does not include some heavy dependencies like mariadb.

Not worth to add in the current stage, because there are a lot of notifications cannot be tested by myself, especially for those notifications from China or other specific countries. Also we are not fully understand how node_modules works. Saving this 200 MB is too risky.
And I actually tried to use vercel/pkg to make a single binary before but failed. I believe pkg was doing similar things to shrink down the node_modules into a single file.

Not worth to add in the current stage, because there are a lot of notifications cannot be tested by myself, especially for those notifications from China or other specific countries. Also we are not fully understand how node_modules works. Saving this 200 MB is too risky.
And I actually tried to use vercel/pkg to make a single binary before but failed. I believe pkg was doing similar things to shrink down the node_modules into a single file.

I fully understand your concerns, so I just hope to see improvements in this area in the future.
In practical use, @vercel/nft may have missing dependency issues because it is necessary to ensure that all dependencies are analyzed, and dynamically imported dependencies cannot be analyzed.
I noticed that you mentioned vercel/pkg, but what I want to say is @vercel/nft, which are two separate projects.

dynamically imported dependencies cannot be analyzed

Depending on how smart this is, we will have serious problems, as we sometimes have conditional imports node-version.
I am going to close this as not planned (due to likely not working).
If you try it (and it works on a wide variety of our monitors), we would consider a PR (mergable at a later date once the monitors have good test coverage).


Components prefix stopped working in v2.18.0

Environment

Operating System: Linux
Node Version:     v20.10.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      typescript, future, compatibilityDate, ssr, css, devtools, modules, runtimeConfig, seo, ogImage, auth, apiParty, security, i18n, vue, nitro, app, colorMode, zodI18n, ui, routeRules, components, lodash, anime, $development, $production, $test
Runtime Modules:  magic-regexp/nuxt<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.18.0
Reproduction
Update @nuxt/ui to v2.18.0, update nuxt.config.ts following the breaking changes and then run in dev mode.
Description
I have my prefix set to Nu instead of using the default U of the module.
But after I started the dev server I got these errors:
[11:17:37]  ERROR  Pre-transform error: [unimport] failed to find "ULink" imported from "#components"

[11:17:37]  ERROR  Pre-transform error: [unimport] failed to find "UAvatar" imported from "#components"

[11:17:37]  ERROR  Pre-transform error: [unimport] failed to find "ULink" imported from "#components"

[11:17:38]  ERROR  Pre-transform error: [unimport] failed to find "UAvatar" imported from "#components"

[11:17:38]  ERROR  Pre-transform error: [unimport] failed to find "ULink" imported from "#components"

Coming from different components of the library (not built by me in the project, I import them using the prefix, like NuInput)
Additional context
No response
Logs
No response

Didn't think about that, I'll release a fix asap! Thanks for the report 😊

No problem, thank you!

Solved by https://github.com/nuxt/ui/commit/ea721a3705cfbcef3075f8c9c1f4acf359974597.

@zAlweNy26 Just released https://github.com/nuxt/ui/releases/tag/v2.18.1, can you confirm that it fixes your issue?

@benjamincanac I think the UIcon is missing in the fix, I get the warning Failed to resolve component: UIcon... in the browser console

I've made a fix so the prefix applies to the Icon as well so you should use NuIcon.

Can I ask you why it suggests to install these packages?
 WARN  [Icon] Collection heroicons is not found locally
We suggest to install it via npm i -D @iconify-json/heroicons to provide the best end-user experience.

 WARN  [Icon] Collection fluent-emoji is not found locally
We suggest to install it via npm i -D @iconify-json/fluent-emoji to provide the best end-user experience.

@benjamincanac yes I do use NuIcon

Would you mind telling me where the Failed to resolve component: UIcon warning comes from then?

Yes I know, but I thought heroicons was preinstalled by @nux/ui, wasn't it?

Indeed, @iconify-json/heroicons is a direct dependency of @nuxt/ui so you should not have to install it. Have you tried cleaning up your local with npx nuxi cleanup?

I tried, but the issue is still there :(

@zAlweNy26 Should be fixed in https://github.com/nuxt/ui/releases/tag/v2.18.2.


Update Vagrantfile.erb

If executed as the privileged user, sudo chown $(whoami) will evaluate to sudo chown root and incorrectly set permissions on the chef folder, preventing the build artifact from being SCPed to the VM. The default value for privileged is true so we have to set it explicitly to false.

Thanks for fixing this @dgreene-r7


Deploy the package on Anaconda channel

Deploy the package hn2016_falwa on conda such that users can install the package via conda install ....
Document the procedures for deployment - given we are the only external contributors collaborating with MDTF team via anaconda channel, our experience is valuable for future external contributors.
Test that everything (conda install, package import, etc) works as expected.

Note: it seems not necessary for this to be done after the f2py-to-cython translation. This can be done any time as long as the deployment procedures are well-documented and repeatable.

Potentially useful links:
https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/building-conda-packages.html

#77

Given #77 is closed, this ticket can be closed after testing the used components in MDTF project.

It happens that conda deployment failed for v0.7.2. Current solution would be to use pip to compile, with Fortran compiler, on the fly during MDTF installation. Let's try this solution in the first PR to MDTF - if that does not work, this ticket will be reopened.


[Feature]: add a color picker component

Describe the feature
A color picker component seems needed for some saas products allowing clients to customize their brand.
this is the case for me now and I'm currently using the default
<input name="inputColor" type="color" />

Additional information

[ ] I intend to submit a PR for this feature.
[ ] I have already implemented and/or tested this feature.

https://github.com/radix-vue/radix-vue/issues/501


Fire telemetry if Razor buffers get out of sync, and recover from same

This is the VS Code equivalent of https://github.com/dotnet/razor/pull/9202
Fixes https://github.com/dotnet/vscode-csharp/issues/6488
I'm not sure why this is so easily reproducable for the user reporting the error, but its extremely intermittent for me. I basically hit it twice today, and never again, but I did at least see that we had duplicate HTML content in our generated file when I hit it, so can be sure this is the issue we are running into.
Perhaps a new timing issue with our initialization, now that its not deferred until file open, but with part of Roslyn and the extension still expecting it to be. Hopefully https://github.com/dotnet/razor/issues/9344 will fix those issues.

@allisonchou is this all I need to do for telemetry reporting? It seems too easy :)

Does it show up on the GDPR site?

I haven't actually been able to repro the issue to check, since putting the fix in, but I'll try some more.
I was mainly wondering if it's okay to just be hooking up the TelemetryReporter like this, and calling methods on it at will, or if there needs to be checks of some kind so we only do it in DevKit


Search in navbar

How can a search bar (react-native-material-design-search-bar) can be added to navbar? An example will be wonderful.

Hi, you can do a custom navbar to a specific screen just adding the prop hideNavBar in your Scene:
<Scene key='title' component={Screen} title='Title' hideNavBar />
and in your screen you can do:
`

`
or just style one view around of <Search /> to look like a navbar

This is in master right now as a screen with search in examples.
Let us know if you have any further questions.


Set equivalence

[3,2,1].should.???.[1,2,3] ???
This is very common and very useful me.

My workaround at the minute is to do
            test.should(keywords).containDeep(expected);
            test.should(expected).containDeep(keywords);

There is no direct assertion for what you need. But you did it right with .containDeep for 2 arrays it works in most cases as you expected.
Also you can do simple trick:
var should = require('should');

var a1 = [1, 2, 3];
var a2 = [3, 2, 1];

a1.sort().should.be.eql(a2.sort());

Also just from curiosity what is test variable in your example?

@btd Ah. test. is from http://unitjs.com. It's a bundle of useful testing frameworks. That's how I found shouldjs in the first place.
I guess sorting would work for my use-case, because I'm using strings.


MapUnitLines feature class is not an option in Create New Database tool

I am attempting to create a new database for a GeMS-compliant map that I am practicing digitizing.
After opening the Create New Database tool, there is no option to create a MapUnitLines feature class, which I need for dikes/bedding that is too thin to display with polygons.

MapUnitLines does not show up as an option. Is it added to the ArcPro version of GeMS Tools Pro 2.5.3 or gems-tools-master?

Thanks for pointing that out! Just posted version 2.5.5 with a choice for MapUnitLines.