Fix Live View

Feedback from users:

Live view is almost never working, I am so lucky when I really see some screenshot, but most of the time there is a spinning wheel or just broken image icon.
When I test a crawler I like to use the live view for debugging. But if the crawler only crawls 1 page, I get a message 'Crawler already finished' or some kind of error called 'connection error localhost' instead of a screenshot.
I find the Live view buggy. Often to test my code I start the crawler and go straight to the live view, where is most of the time no screenshot. (When only 1 or 2 pages are crawled).

Idea: we could add some special provision that if the live view is active (i.e. user has focused window tab), we would add a delay of 15 seconds before shutting down the actor, so they have a chance to view something before the container URL closes.

I feel we really should focus on a completely different development and debugging experience by integrating the Chrome Debugger and then see what the possibilities are. Fixing the LiveView means we'll spend hours once again on creating something sub-optimal.

Use devtools-server instead of live view. It will be removed soon.


Tls random 6989 sv/v2

Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6989
Previous PR: https://github.com/OISF/suricata-verify/pull/1800
Changes since v1:

removed irrelevant info to the bug 6989 from test.yaml

Merged in #1805, thanks!


code expanded to handle condition when user has only 1 metric

Hi Jairo, I noticed that  the new code is not able to handle the condition of a single metirc because the matrix collapses to a vector. I have added three lines to let it handle a single metric situation.
Can you check and merge into master? Thanks, Vincent

Codecov Report

Merging #36 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #36      +/-   ##
=========================================
- Coverage    2.55%   2.55%   -0.01%
=========================================
  Files          49      49
  Lines        7544    7546       +2
=========================================
  Hits          193     193
- Misses       7351    7353       +2

Impacted Files
Coverage Δ

R/g.analyse.R
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


pm:device-constraint: Add power management constraints to devices

Allow to set a pm constraint on a device. When a device has a pm constraint it won't change its state until the constraint be released.
Device pm API will return -EPERM when the device has a constraint.
v2:

Fix commit messages
Add test for this API

I'm not sure if I get the purpose of this change (maybe constraing naming doesn't help). Can potential usecases be described?

There are situations where a device is shared between a host cpu and a firmware in the platform.Then the firmware (Zephyr) is responsible for handling interruptions and forwarding them to Host, if unknown to the firmware of if a higher level software needs to handle them. In this scenario the host may set a constraint in this device to ensure that the zephyr pm subsystem does no interfer in this use case.


Added search functionality

I made a view  with name searchresult.ejs to render search results.
Created Index in mongdb to make search based on multiple fields like description, deadline and name.
Just Type One Word of any given opportunity

Video tutorial With Search Functionality:
https://user-images.githubusercontent.com/69078309/163238976-0fc1898b-7fb1-4af1-800e-2da2e0feaa64.mp4

@amanagnihotri1 good job, but please attach a screen recording of your issue being fixed with your pr and commit. I'll review it after that. Thanks.

@amanagnihotri1 good job, but please attach a screen recording of your issue being fixed with your pr and commit. I'll review it after that. Thanks.

I just uploaded  the video please check it.

Hey,, @chehak123 i have uploaded video also with my PR please check it when it's possible


Update express-generator docs to use npx

The docs for express-generator could use npx these days.
The user would be left with an unpolluted global dependencies directory and if they choose to re-run it later, they'd always run the latest version.
Npx was introduced in Node.js 8.2.0 / npm 5.2.0 (July 2017).

Could you add the npx example as an option but keep the old way?  Until express does not support older npm versions I would prefer we keep the docs with the existing ways.  I think it is fine to present the new way first but specify its only for >8.2.

Sure. How about this?

LGTM. @wesleytodd any input?

Can you keep the old formatting with the backticks and the leading $.  Those are there because it allows styling code in the readme with syntax highlighting (although not used here, but best to keep consistency) and the $ is a nice indicator that it is a terminal command.
Sorry for the delayed response. For some reason Github is delivering random old notifications to me now.  I wonder if my few month hiatus backed them all up or something?

@pspi I think we can land this if you make the changes suggested by @wesleytodd ...

Consistency is key! Here's with backticks and sh specifier.

Hey @pspi, thanks for the updates, they look good!  One bit of advice for your future contributions  (which you hopefully make!).
Squash your changes down to one clean commit on top of the target branch.  It helps reduce the work the merging maintainer has to do to keep things clean.   Not all maintainers care, but saving time for maintainers of larger projects means they have more time for other more important things than cleaning up git history.
Thanks for listening to my Saturday thoughts 🍺 😁

Squashed and rebased to top of gh-pages.

Thanks for the contribution @pspi !


add mobile power button

Preview

Hmm

Something wrong with the icon?

I'll be the PR template :

What is the purpose of this icon? : e.g. Shows that one can click it to... / Is used to denote or label...
Have you considered alternative possibilities for its naming or design?

I think this one is too specific and abstract.

My idea for designing this icon was creating a mobile power button.
iPhone power button, for instance.

I understood that, but in what context should it be used?

IDK, if there will be any copyright issue from Apple

Oh, makes more sense now. But I think this is a very specific use-case and it would not benefit the icon set as a whole.

You never know when and where people might use the icons.

They can use another icon set as well.

Hmm... okay.


Explicitly enable CONFIG_LUA_LUV_MODULE's dependencies where it's ena…

…bled
Summary
Explicitly enable CONFIG_LUA_LUV_MODULE's dependencies where it's enabled
In order to replace CONFIG_LUA_LUV_MODULE's "select" items with "depends on".
Impact
Testing
build-tested with https://github.com/apache/nuttx-apps/pull/2902

the ci failure is expected.
this needs to be merged together with https://github.com/apache/nuttx-apps/pull/2902
  Normalize sim/lua
40d39
< CONFIG_LIBC_EXECFUNCS=y
45d43
< CONFIG_LIBC_NETDB=y
52,56d49
< CONFIG_NET=y
< CONFIG_NETDEV_IFINDEX=y
< CONFIG_NET_SOCKOPTS=y
< CONFIG_NET_TCP=y
< CONFIG_NET_UDP=y
64d56
< CONFIG_PSEUDOFS_SOFTLINKS=y
67d58
< CONFIG_SCHED_HAVE_PARENT=y
Saving the new configuration file
HEAD detached at pull/15264/merge
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   boards/sim/sim/sim/configs/lua/defconfig

ok, let me merge all.


Add .nvmrc with Node version

This makes it a bit easier (run nvm use) to use the correct Node version without Docker. (The version number matches the Dockerfile.)

Hehe, I thought there might be more pushback against accommodating non-Docker users :P

Hehe, I thought there might be more pushback against accommodating non-Docker users :P

oh there is!


Try to fix Array#bsearch

I feel like (correct me if I'm wrong) that the previous implementation
wasn't a binary search. It just moved the window used to determine the
middle of the array by one. However a binary search should continue it's
search in the left/right half of the array. This change also improves
performance of the bsearch method:
p (0..100_000).to_a.bsearch { |x| x >= 73 }

master:
$ time ./find-min
73

real    0m0.524s
user    0m0.513s
sys     0m0.011s

with fix:
$ time ./find-min-2
73

real    0m0.455s
user    0m0.414s
sys     0m0.041s

When measuring the iteration count in the while-loop we can see that it
dropped from 99856 using master to only 17.

Nice! :tada:


more consistent running of external commands

Improvement/maintenance task: SCons has a lot of places where it wants to run external commands.  A huge number of these are in tests, as well as Tools - which typically are external-command runners of some sort, and often need to first run the command to determine its version and maybe some compatibility info. How this is done is all over the place, in fact every method mentioned in the Python subprocess module documentation (https://docs.python.org/3/library/subprocess.html#replacing-older-functions-with-the-subprocess-module) as being appropriate for transition to subprocess is used in the scons codebase: os.system, os.popen, os.popen2, os.popen3, os.exec*, popen2, "backtick", as well as subprocess.  It would be nice to transition all of this to a consistent approach for better maintainability.
There has been an effort already to implement a "wrapped" subprocess, so some of the common stuff that has to happen is in one place instead of repeated in each caller (arg handling, environment setup, creating the Popen object). This wrapper is SCons.Action/_subproc. It is used in about 20 places, but many more do not use it. The difficulty with _subproc at the moment is that the way it is implemented prevents the use of subprocess.Popen in one of its most valuable ways - as a context manager, which really simplifies the work of cleaning up after using it.  A context manager counts on being able to understand the context in question (which has to be within a single function/method), and perform the designated cleanups when it is exited. But because _subproc instantiates the Popen object and returns it to the caller, the context is lost. So one idea for making _subproc more useful is to turn it itself into a context manager.  If that works well, then a lot of the other external-process calls can be transitioned over to use it also.

see discussion at<EMAIL_ADDRESS>

I'd create another bug just for spawn. I think you can set up bug dependencies to make this the wrapper bug for all subprocess.Popen() outstanding issues.

You can't (set up issue dependencies).  I've just been looking, it's an extremely wanted feature, but github's minimalist approach has no space for it at the moment, apparently. Sigh, every other bug tracker in the world that I'm familiar with (not a massive list TBH) has this ability.  However, that doesn't prevent making a separat issue for win32/spawn.

So I read a suggestion to just create a checklist with one item per dependent bug.. Not the full functionality, but could serve the purpose?
Or we can create a new tag "Popen" or spawn?


Version bump.  Update URLs to match FastAPI.

Bump version.
Update URLs to match FastAPI (tiangolo/fastapi#11459)
Vendor newest Swagger + Redoc JS on release.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.72%. Comparing base (ee93f7a) to head (130f52b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   97.72%   97.72%
=======================================
  Files           3        3
  Lines          44       44
=======================================
  Hits           43       43
  Misses          1        1

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


Remove CORS_WHITELIST commandline examples for node param tools

Change summary;

Remove CORS_WHITELIST commandline examples for node param tools

Related issues:

https://github.com/ainblockchain/ain-blockchain/issues/1272

Thanks for the review! @jiyoung-an Now merging..


Simple json encoding example does not export all data properly

I am trying to parse my bank's MT940 data with your library and example of JSON encoding is producing different results than "plain" data dump. This is what I see with plain dump:
{'amount': <-21.99 PLN>,
 'bank_reference': None,
 'currency': 'PLN',
 'customer_reference': '00000013586',
 'date': Date(2019, 3, 3),
 'entry_date': Date(2019, 3, 3),
 'extra_details': '',
 'funds_code': None,
 'guessed_entry_date': Date(2019, 3, 3),
 'id': 'S114',
 'status': 'D',
 'transaction_details': '114\n'
                        '114~00B114ZAKUP PRZY UŻYCIU KARTY\n'
                        '~20SALAD STORY SZCZECI/SZCZECI\n'
                        '~21N\n'
                        '~22                DATA TRANSA\n'
                        '~23KCJI: 2019-03-01\n'
                        '~24\n'
                        '~25\n'
                        '~26\n'
                        '~27\n'
                        '~28\n'
                        '~29\n'
                        '~30\n'
                        '~31\n'
                        '~32\n'
                        '~33\n'
                        '~34114\n'
                        '~38PL\n'
                        '~62\n'
                        '~63'}

and this is what JSON dump example outputs:
{
    "status": "D",
    "funds_code": null,
    "amount": null,
    "id": "S114",
    "customer_reference": "00000013586",
    "bank_reference": null,
    "extra_details": "",
    "currency": "PLN",
    "date": null,
    "entry_date": null,
    "guessed_entry_date": null,
    "transaction_details": "114\n114~00B114ZAKUP PRZY U\u017bYCIU KARTY\n~20SALAD STORY SZCZECI/SZCZECI\n~21N\n~22                DATA TRANSA\n~23KCJI: 2019-03-01\n~24\n~25\n~26\n~27\n~28\n~29\n~30\n~31\n~32\n~33\n~34114\n~38PL\n~62\n~63"
}

And relevant part of the source file:
:61:1903030303D21,99S11400000013586
:86:114
:86:114~00B114ZAKUP PRZY UŻYCIU KARTY
~20SALAD STORY SZCZECI/SZCZECI
~21N
~22                DATA TRANSA
~23KCJI: 2019-03-01
~24
~25
~26
~27
~28
~29
~30
~31
~32
~33
~34114
~38PL
~62
~63

Can you show a bit of code to illustrate how you are dumping both?
While I do have some yaml loading/dumping in the code, I haven't tested with json loading/dumping so far. The yaml examples can be found here, they're used by the test system: https://github.com/WoLpH/mt940/blob/develop/tests/test_sta_parsing.py#L30-L39
My guess would be that the easiest way to get it working is by overriding JSONEncoder.default to support these types: https://docs.python.org/3/library/json.html#json.JSONEncoder.default

I am using examples from README.

You're right. That demo is lacking quite a bit. I've updated the code in the readme to be a bit more useful :)
Does that help?

Thanks. No, it's still not work properly as all the dates (date, entry_date, guessed_entry_date) are not  in JSON dump.

I've created a json encoder which should handle all of the types for you. That should help a bit :)
import json
import mt940

transactions = mt940.parse('tests/jejik/abnamro.sta')

print(json.dumps(transactions, indent=4, cls=mt940.JSONEncoder))

That works perfect. Thank you!


Forcing link-only navigation to steps

I have a quiz that I'm building in impress.js and I need to force the user to answer questions (each question resides on a different step) by clicking on links within the given step/question. Is there a way to prevent all other navigation methods for my question steps (i.e. arrows, spacebar, etc.)? I believe preventing those navigation options will get me the desired result.

Is there a way to prevent all other navigation methods for my question steps (i.e. arrows, spacebar, etc.)?

As stated above it is impossible to disable the navigation now. We have plans to decouple impress.js from talk presentation only to general purpose and create a plugin structure. Until then unfortunately you need to comment out the code.
I have created an issue to track this issue in specific. Closing in favor of #539.

Hi @travisfisher
I wanted to share some relevant updates from my work on a plugin api:

The code that provides the navigation functionality is now separated into a separate file. If you remove/comment the "navigation.js" entry from build.js file, and re-run npm run build. This re-creates the js/impress.js file without any support for the arrow/space/tab/PgUp/PgDn navigation at all.
There's currently no way to dynamically enable and disable the keyboard navigation during a presentation (from your javascript code), but that would actually be easy to add and I'm happy to do it. Let me know if you're still interested.
There's also a new stop plugin. If you set class="stop" on a step, the user cannot navigate forward to the next step from there. (He can however navigate backwards to previous steps.) While this wasn't the original use case for a stop plugin, you could of course set and unset this dynamically as well.

I hope some of these recent additions can help you?


Support standartized annotations

Thanks for creating such awesome library! It would have been even better if it had at least partial support for some standardized annotations (such as Jax-Rs 2 bean annotations). Such support would greatly increase interoperability and make using it in existing projects much less of hassle.

Those annotations don't really cover all of the use cases of this library, and definitely wouldn't cover future use-cases. Trying to use anyone else's annotations would really cripple our ability to add anything new. What would the benefit of supporting for these be, besides saving developers ~2 minutes of annotating their models?

Those annotations don't really cover all of the use cases of this library, and definitely wouldn't cover future use-cases.

It is totally fine to promote your own annotations, but there should be no harm from providing subset of full functionality, supported by other annotation types. Besides, adding check for couple of other annotation types is ~2 minutes of work for you as well.

It's true that it's not much more work to add support for other annotations, but I also don't want to promote people using only a subset of the library because they don't want to take the time to use the proper annotations. The annotations included are part of this library and really aren't hard to use at all. They've been thought through pretty well and trying to bolt on support for something that wasn't written for that purpose just wouldn't do this library justice.
Also, I don't think anyone it's considered at all standard to support other people's annotations. Jackson doesn't support GSON annotations, GSON doesn't support JAX-RS annotations, and so on. Personally, I don't think it should be any different for LoganSquare.


Crash moment

Describe your bug here.
So, this happened when i wanted to play song
Character.hx (line 358)
PlayState.hx (line 6161)
PlayState.hx (line 5909)
PlayState.hx (line 5783)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 752)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag

Crash Handler written by: sqirra-rng
who can help me with this

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
yes, i drag and dropped mod from OS engine.

oh well, how i need to fix this, i need to delete the compatibility or what?

oh well, how i need to fix this, i need to delete the compatibility or what?

you need to fix the animation names

thanks, i fixed the error :D

np


Questions about the code

This is a piece of code in the wsdan.py program.
According to my understanding, M(32) and p([1,32]) of np.random.choice() are different sizes, but why is there no error?
        if self.training:
            attention_map = []
            for i in range(batch_size):
                attention_weights = torch.sqrt(attention_maps[i].sum(dim=(1, 2)).detach() + EPSILON)
                attention_weights = F.normalize(attention_weights, p=1, dim=0)
                k_index = np.random.choice(self.M, 2, p=attention_weights.cpu().numpy())
                attention_map.append(attention_maps[i, k_index, ...])
           attention_map = torch.stack(attention_map)
        else:
           attention_map = torch.mean(attention_maps, dim=1, keepdim=True)

@panicwq The size of p is [32], not [1, 32].


Update the QueuePlugin class to take Queue params

R: @jeffposnick @addyosmani @gauntface
Based on the discussion in #1057, this PR updates the QueuePlugin class to not take a Queue instance, but rather take the same parameters as Queue and instantiate one internally.

Changes Unknown when pulling e86fc3df6d705e66b72065229a6fb22a32e503ea on queue-plugin-changes into ** on v3**.


Roll forward "Add TSI zero-copy frame protector""

Reverts grpc/grpc#12101

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


[v3, v4] TeX parsing error \operatorname {\mathsf{f-tors}}A

The expression \operatorname {\mathsf{f-tors}}A gives me a parsing error.
In the browser (with a fairly recent v4 build), it's something like "e.string.substr(...).match(...) is null"
In node (on something close to v4-alpha):
mathjax-full/js/input/tex/ParseMethods.js:40
            c = parser.string.substr(parser.i - 1).match(env.multiLetterIdentifiers)[0];
                                                                                ^

TypeError: Cannot read properties of null (reading '0')

It seems to come down to just the - inside the mathsf (or some other font variant), i.e., a more minimal example is \operatorname {\mathsf{-}}.
For completeness, this works fine in "real" LaTeX.

I've made a PR to resolve the issue.  It had to do with conflicting uses of a pattern for multi-character identifiers that is different for \operatorname and \mathsf.  Thanks for the report.

Thanks so much!


Detection error occurred Request failed with status code 503. "HTTPConnectionPool(host='host.docker.internal', port=51603): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3c0f468250>: Failed to establish a new connection: [Errno 111] Connection refused'))".

My actions before raising this issue

[yes ] Read/searched the docs
[ yes] Searched past issues

Steps to Reproduce (for bugs)

Expected Behaviour

Current Behaviour

Possible Solution

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

The above mentioned issue occurs when I try to run custom yolov5 model for auto annotation tool. I have used auto-annotation tool for same model before. It suddenly started to show the above mentioned error. I have tried all the trouble shooting mentioned in older issues. Anyone had the similar issue recently?

Try to delete and re-deploy the model with nuclio

What things from other issues did you try to fix it?

Hi Boris,
Thank you for your reply.
I have checked several threads here or somewhere else to fix the error:
https://github.com/opencv/cvat/issues/4904
https://github.com/opencv/cvat/issues/5205
or the links mentioned in the above links.

What port the function is working on?
You can check that using "nuctl get function".
Are you trying to run the model online (on a single frame) or offline (on the whole task)?

The ports are different. Nuclio function is deployed at 51297. and docker is ported at 51603.
I tried to redeploy/ restart as well. but no good.
I have tried on single frame and whole task. I am running cvat locally on windows 11.

How are you trying to re-deploy? Did you try to delete the previous function first?

yes delete previous function first and deploy as a new function.

Hi Boris,
I solved it.
Main problem was port numbers were different on nuclio and docker.
I predefined my choice of port number while deploying the function on nuclio.
In function.yaml,
I added:
attributes:
port: [my own choice]
Details can be found here:
https://nuclio.io/docs/latest/reference/triggers/http/

@AjmalShahbaz could you assist me to solve this problem too? When it's the port number how can I change it, that it works?

Hi, in yolov5 serverless function, there is a file named, 'function.yaml' or 'function.yaml'. In that file, find this part,
_triggers:
myHttpTrigger:
maxWorkers: 1
kind: 'http'
workerAvailabilityTimeoutMilliseconds: 10000
attributes:
maxRequestBodySize: 33554432 # 32MB
port: 12345
The port number here is what I specified by my choice. This solved my issue. Hope this helps!

@AjmalShahbaz ,
thank you for the quick reply.
your port number is randomly choosed or did you do a mapping from nuclio to docker with specifying in each function.yaml a new port?
I got these ports for the model in nuclio:

and this ports in docker:

So before building the models with nuctl I have to add the docker ports in function.yaml, but how can I guess which port it is? During the building process a port is assigned from docker?

The port number is my choice. It can be any number you want.
If you see in pictures, nuclio and docker ports are different for same function ( for example,onnx.wongkiu). Hence, the error 503. and this problem only occurs when you try to put more than one function.
When you assign a port number in .yaml file, what happens is that it make sure docker and nuclio communicates on same port number (i.e., assigned same port).

In general I thought I can deploy several models (functions), so that I can use object detection or mask detection. I delete this old functions and then configure every function.yaml with a specific port like 1886.

you can deploy multiple functions (I do). Just specify port number. Its something I learned in hard way :)

Ah okay, I understand I will apply this what I've understand from your advices and lets see, if I can deploy and use it succesfully :)

I had the same problem after updating cvat.
My difference is cvat running from a docker container and nuclio running from a kubernetes cluster.
my deployment looks like this
(TAOPY) g@nvdgx:~/Workspace/sandbox/nuclio-serverless-sandbox/ganindu-tests$ ./deploy.sh nozzlenet_1/
23.10.17 10:17:33.441                     nuctl (I) Project created {"Name": "cvat", "Namespace": "nuclio"}
Deploying . function...
23.10.17 10:17:33.561                     nuctl (I) Deploying function {"name": "test-nuctl-function-nozzlenet-1"}
23.10.17 10:17:33.566                     nuctl (I) Building {"builderKind": "docker", "versionInfo": "Label: 1.11.24, Git commit: f2a3900d23b92fd3639dc9cb765044ef53a4fb2b, OS: linux, Arch: amd64, Go version: go1.19.10", "name": "test-nuctl-function-nozzlenet-1"}
23.10.17 10:17:33.650                     nuctl (I) Staging files and preparing base images
23.10.17 10:17:33.678                     nuctl (I) Building processor image {"registryURL": "<IP_ADDRESS>:5000", "taggedImageName": "nozzlenet-nuclio-v1:latest"}
23.10.17 10:17:33.678     nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.11.24-amd64"}
23.10.17 10:17:35.818            nuctl.platform (I) Building docker image {"image": "nozzlenet-nuclio-v1:latest"}
23.10.17 10:17:41.437            nuctl.platform (I) Pushing docker image into registry {"image": "nozzlenet-nuclio-v1:latest", "registry": "<IP_ADDRESS>:5000"}
23.10.17 10:17:41.437     nuctl.platform.docker (I) Pushing image {"from": "nozzlenet-nuclio-v1:latest", "to": "<IP_ADDRESS>:5000/nozzlenet-nuclio-v1:latest"}
23.10.17 10:17:42.850            nuctl.platform (I) Docker image was successfully built and pushed into docker registry {"image": "nozzlenet-nuclio-v1:latest"}
23.10.17 10:17:42.850                     nuctl (I) Build complete {"image": "nozzlenet-nuclio-v1:latest"}
23.10.17 10:17:50.882                     nuctl (I) Function deploy complete {"functionName": "test-nuctl-function-nozzlenet-1", "httpPort": 30555, "internalInvocationURLs": ["nuclio-test-nuctl-function-nozzlenet-1.nuclio.svc.cluster.local:8080"], "externalInvocationURLs": [":30555"]}
23.10.17 10:17:50.888    nuctl.platform.updater (I) Updating function {"name": "test-nuctl-function-nozzlenet-1"}
23.10.17 10:17:51.166    nuctl.platform.updater (I) Function updated {"functionName": "test-nuctl-function-nozzlenet-1"}
 NAMESPACE | NAME                            | PROJECT | STATE | REPLICAS | NODE PORT
 nuclio    | test-nuctl-function-nozzlenet-1 | cvat    | ready | 1/1      | 30555

as you can see mine uses ther nodepoprt 30555
my `docker-compose-override.yaml' used to look like this
services:
  cvat_server:

    environment:
      CVAT_SERVERLESS: 1
      CVAT_NUCLIO_SCHEME: "http"  # Updated value
      CVAT_NUCLIO_HOST: "aisrv.gnet.lan"  # Updated value
      CVAT_NUCLIO_PORT: 30936 # Updated value
      KUBERNETES_SERVICE_HOST: "true"
      CVAT_NUCLIO_FUNCTION_NAMESPACE: "nuclio"

    volumes:
      - cvat_data:/home/django/data:rw

    extra_hosts:
      - "host.docker.internal:host-gateway"

  cvat_worker_annotation:
    extra_hosts:
      - "host.docker.internal:host-gateway"

volumes:
  cvat_data:
    driver_opts:
      type: none
      device: /mnt/cvat_data
      o: bind

and the error I was getting was (I will put only a part of it for brevity)
2023-10-17 10:45:54,639 DEBG 'rqworker-annotation-0' stderr output:
[2023-10-17 10:45:54,639] ERROR rq.worker: Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/opt/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 714, in urlopen
    httplib_response = self._make_request(
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 415, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connection.py", line 244, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f20c8f38b80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 798, in urlopen
    retries = retries.increment(
  File "/opt/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=30555): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f20c8f38b80>: Failed to establish a new connection: [Errno -2] Name or service not known'))

the intersting bit was where it seem to think the nodeport service was hosted in the docker host port 30555
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=30555): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f20c8f38b80>: Failed to establish a new connection: [Errno -2] Name or service not known'))

so in a very dodgy way I modified the docker-compse.override.yaml  file to (which I know is wrong)
  cvat_worker_annotation:
    extra_hosts:
      - "host.docker.internal:<IP_ADDRESS>"

and this partially fixed the issue where I was not able to automatically label (but still does not work for individual images)
I'm not a docker power user I just think the fix I did is because of some other potential error I made somewhere. can you please  help me point out where could the original problem be.
Thanks

@AjmalShahbaz Hello, I am a beginner of container. Can you tell me the detailed solution to this problem? I can’t find these two files. Thank you very much.


[e2e]: nodejs create main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v39.0.3
Run: https://github.com/slsa-framework/example-package/actions/runs/5184401927
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.create.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.create.main.default.slsa3.yml
Trigger: create
Branch: v39.0.3
Date: Tue Jun  6 04:00:28 UTC 2023

Verifying npm package /tmp/tmp.0LxY0z8fOV: FAILED: invalid ref: v1.7.0-rc.0: not of the form vX.Y.Z

It seems like we should be returning from IsValidBuilderTag here: https://github.com/slsa-framework/slsa-verifier/blob/7b942b86662e47fa343ef1888eb9878b88a3fde0/verifiers/utils/builder.go#L140
Though I'm not sure why we didn't catch this in other e2e tests?

Though I'm not sure why we didn't catch this in other e2e tests?

Looks like the bug was added in this commit which hasn't been released in any versions so far:
https://github.com/slsa-framework/slsa-verifier/commit/93d3f8c06cd5cc9c81c1e7353c9427b726fc408d

Repo: https://github.com/slsa-framework/example-package/tree/v39.0.4
Run: https://github.com/slsa-framework/example-package/actions/runs/5185175728
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.create.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.create.main.default.slsa3.yml
Trigger: create
Branch: v39.0.4
Date: Tue Jun  6 06:12:24 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/v39.0.5
Run: https://github.com/slsa-framework/example-package/actions/runs/5189207219
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.create.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.create.main.default.slsa3.yml
Trigger: create
Branch: v39.0.5
Date: Tue Jun  6 13:39:17 UTC 2023
Tests are passing now. Closing this issue.


The data link and the pretrained model link is unavailable

The file viewing policy got changed for my onedrive account, let me change the hosting

Here's the link: https://drive.google.com/drive/folders/1RlqGBMo45lTmWz9MUPTq-0KcjSd3ujxc?usp=sharing
I will update this in readme as well


Removes all my progress

Whenever I am on my site it keeps removing the code
Version: 1.88.1
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

@mleback1 can you specify what progress is being removed? is it code in the editor that isn't being saved?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Prepare for 2.0 release

Anything else we should add/change apart from this and #39? (And how does that one look? I wasn't sure if we need fundeps on both k and v).
edit: Resolves #15, I think, with the _Newtype iso I added.

👍 this looks great, thanks for working on this!
I made a list for contrib and node too by the way. I was planning to work on some of these tomorrow, as well as my own libraries:
https://github.com/purescript/package-sets/issues/11


My run is stuck at fastroute stage for almost a week.

Describe the bug
I am trying to run place and route of MemPool Group design on Nangate45 enablement using OpenROAD, but my run is stuck at global route stage for more than five days. I have added cts def, sdc, verilog, memory lef and lib files here.
Here is the log file of fastroute/global route.
Expected Behavior
I don't want it to be stuck in the same place for days. I expect global route to fail or return an error indicating insufficient routing resources (If insufficient routing resources are causing the FastRoute to get stuck). Faster turn around will allow me to adjust the utilization and other settings to successfully run place and route of MemPool Group on Nangate45 using OpenROAD.
Environment
[WARNING] Your current OpenROAD version is outdated.
It is recommened to pull the latest changes.
If problem persists, file a github issue with the re-producible test case.
kernel: Linux 4.18.0-408.el8.x86_64
os: CentOS Stream 8
cmake version 3.16.2
-- The CXX compiler identification is GNU 12.2.0
-- Check for working CXX compiler: /home/tool/gcc/gcc-12.2.0/bin/c++
-- Check for working CXX compiler: /home/tool/gcc/gcc-12.2.0/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: v2.0-7480-g8a4065b
-- System name: Linux
-- Compiler: GNU 12.2.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- C++ Standard: 17
-- C++ Standard Required: ON
-- C++ Extensions: OFF
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- The C compiler identification is GNU 12.2.0
-- Check for working C compiler: /home/tool/gcc/gcc-12.2.0/bin/gcc
-- Check for working C compiler: /home/tool/gcc/gcc-12.2.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python: /usr/bin/python3.6 (found version "3.6.8") found components: Interpreter
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS__-Wall
-- Performing Test C_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test C_COMPILER_SUPPORTS__-x
-- Performing Test C_COMPILER_SUPPORTS__-x - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-x
-- Performing Test CXX_COMPILER_SUPPORTS__-x - Failed
-- Performing Test C_COMPILER_SUPPORTS__c++
-- Performing Test C_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__c++
-- Performing Test CXX_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- TCL library: /usr/lib64/libtcl.so
-- TCL header: /usr/include/tcl.h
-- Found SWIG: /home/tool/swig/install/4.0.0/bin/swig (found suitable version "4.0.0", minimum required is "3.0")
-- Found Boost: /home/tool/boost/boost_1_78_0/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0")
-- boost: 1.78.0
-- Found Python3: /usr/lib64/libpython3.6m.so (found version "3.6") found components: Development
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- spdlog: 1.8.1
-- Found BISON: /home/tool/bison/install/3.0.5/bin/bison (found version "3.0.5")
-- Found Doxygen: /home/tool/doxygen/install/1.8.15/bin/doxygen (found version "1.8.15") found components: doxygen missing components: dot
-- STA version: 2.4.0
-- STA git sha: 882681a674e7089e5f02de4ba2050c6be32b6cd1
-- System name: Linux
-- Compiler: GNU 12.2.0
-- Build type: RELEASE
-- Build CXX_FLAGS: -O3 -DNDEBUG
-- Install prefix: /usr/local
-- Found FLEX: /home/tool/flex/2.6.4/bin/flex (found version "2.6.4")
-- TCL library: /usr/lib64/libtcl.so
-- TCL header: /usr/include/tcl.h
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- SSTA: 0
-- STA executable: /home/fetzfs_projects/MacroPlacement/flow3/master/OpenROAD-flow-scripts/tools/OpenROAD/src/sta/app/sta
-- GPU is not enabled
-- Found re2: /home/tool/ortools/install/or-tools_cpp_CentOSStream-8-64bit_v9.4.1874/lib64/cmake/re2/re2Config.cmake (found version "9.0.0")
-- Found Clp: /home/tool/ortools/install/or-tools_cpp_CentOSStream-8-64bit_v9.4.1874/lib64/cmake/Clp/ClpConfig.cmake (found version "1.17.7")
-- Found Cbc: /home/tool/ortools/install/or-tools_cpp_CentOSStream-8-64bit_v9.4.1874/lib64/cmake/Cbc/CbcConfig.cmake (found version "2.10.7")
-- Found Eigen3: /home/tool/ortools/install/or-tools_cpp_CentOSStream-8-64bit_v9.4.1874/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.0")
-- Found SCIP: /home/tool/ortools/install/or-tools_cpp_CentOSStream-8-64bit_v9.4.1874/lib/cmake/scip/scip-config.cmake (found version "8.0.0")
-- GUI is enabled
-- Found Boost: /home/tool/boost/boost_1_78_0/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: serialization
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found VTune: /home/tool/intel/vtune_amplifier/lib64/libittnotify.a
-- Found Boost: /home/tool/boost/boost_1_78_0/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.78")
-- Found Boost: /home/tool/boost/boost_1_78_0/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: serialization system thread
-- TCL readline disabled
-- Tcl Extended disabled
-- Python3 enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.QNrR8Dlgqv

To Reproduce
I have uploaded the input def, sdc files here. I am using the default OpenROAD-flow-scripts to run global route.
Relevant log output
No response
Screenshots
No response
Additional Context
No response

Which DEF are you using?

(neither sounds like a flow step in ORFS)

Please give precise instructions on how to reproduce your issue.

Hi @maliberty
My apologies for the confusion earlier. I mistakenly provided an incorrect link. You can find the verilog, def, sdc, and memory lef and lib files at this updated link. Here I converted the 4_cts.odb file into verilog and def formats.
If necessary, I can provide the input floorplan def, verilog file, and sdc file for the ORFS flow. However, please note that completing the floorplan, placement, and cts will likely take around 2-3 days.

Hi @maliberty,
I have uploaded all the necessary files here for running the MemPool Group on NG45 using ORFS.
To being, please download the mempool_group_orfs_config.tar.gz. Then follow the steps below to reproduce the above error:
tar -xvf mempool_gropu_orfs_config.tar.gz -C ./OpenROAD-flow-scripts/flow/designs/nangate45
cd ./OpenROAD-flow-scripts/flow
make route DESIGN_CONFIG=./designs/nangate45/mempool_group/config.mk FLOW_VARIANT=run1

Thanks,
Sayak

I ran your design with -congestion_iterations 5 and looked at the congestion markers:

The congestion map doesn't show much in the way of low density areas to push the routes into:

Your design is very congested.  I imagine that it is spending a lot of time trying fruitlessly to fix this.  I suspect you'll need to adjust your density or macro placement to make this feasible.
You might experiment with the layer derates but be aware that may just move the problem to detailed routing.

Side note - I assume this is the same design from https://arxiv.org/pdf/2012.02973.pdf where they said "Due to the size and the regularity of MemPool’s design, we used a hierarchical implementation flow".  Is there a reason not to do the same here?  Is this a stress test?

In the MacroPlacement repository, we utilized the flat implementation of the MemPool Group. As part of Flow-3, we aim to implement the same using OpenROAD.
Thank you for the visualization and your feedback. I have already lowered the utilization to 40%. I will experiment with even smaller utilization values.
Thanks again,
Sayak

Is there anything further or should we close this?

@sakundu
Are you able to complete the flow?


Wrapping a MenuBar with a ScrollBarTheme does not apply the style for the menu scrollbar

Following from this comment: https://github.com/flutter/flutter/pull/112239#issuecomment-1424543483
If you wrap the newly implemented Menu widget in a ScrollbarTheme widget, the style won't apply for the Menu scrollbar. This happens because the menu is in an overlay, which does not share the context with the Menu widget. Currently, the only way to apply some style to the MenuItem scrollbar is to change it for the whole app.
A solution would be to either allow the MenuItem widget to pass in a scrollbar theme and apply it to the overlay or somehow make the Overlay context the same as the MenuItem. Not sure if any other alternative is feasible, like getting the style from the context and applying it to the Overlay?

@huycozy here's a snippet I've used:
return ScrollbarTheme(
      data: ScrollbarThemeData(
        trackVisibility: MaterialStateProperty.all(true),
        thumbColor: MaterialStateProperty.all(
          Colors.red,
        ),
      ),
      child: MenuBar(
        style: MenuStyle(
          backgroundColor: MaterialStateProperty.all(
            colorScheme.primaryContainer,
          ),
          padding: MaterialStateProperty.all(
            EdgeInsets.zero,
          ),
          elevation: MaterialStateProperty.all(0),
        ),
        children: [
          SubmenuButton(
            menuStyle: const MenuStyle(
              maximumSize: MaterialStatePropertyAll(
                Size.fromHeight(
                  600,
                ),
              ),
            ),
            menuChildren: [
              MenuItemButton(
                onPressed: () => print('pressed category'),
                child: Text(
                  "Category 1",
                ),
              )
            ],
            child: const Text(
              'Categories',
            ),
          ),
        ],
      ),
    );

As you can see, the submenu "Categories" has a max height of 600px. If the menu children contain several items, the overlay containing the menu item buttons will be scrollable. I expected that the ScrollbarTheme defined as a parent of this widget will affect the style of that scrollbar (so in this case, the thumb to be of red color), but it doesn't because the overlay has a different BuildContext.
I've not found a workaround for this so far other than using the default scrollbar defined in my theme.
Output from flutter doctor -v is the following:
[✓] Flutter (Channel stable, 3.7.1, on macOS 12.6.1 21G207 darwin-arm64 (Rosetta), locale en-MT)
    • Flutter version 3.7.1 on channel stable at /Users/pmartelletti/fvm/versions/3.7.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (2 weeks ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/pmartelletti/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Users/pmartelletti/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866).

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.6.1 21G207 darwin-arm64 (Rosetta)
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

[✓] HTTP Host Availability
    • All required HTTP hosts are available

@pmartelletti Thanks for clarifying the issue. This issue is reproducible on the latest stable and master channels with below complete sample code.
Issue report

Sample code (has issue)
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: Center(
          child: ScrollbarTheme(
            data: ScrollbarThemeData(
              trackVisibility: MaterialStateProperty.all(true),
              thumbColor: MaterialStateProperty.all(
                Colors.red,
              ),
            ),
            child: MenuBar(
              style: MenuStyle(
                backgroundColor: MaterialStateProperty.all(
                  Theme.of(context).colorScheme.primaryContainer,
                ),
                padding: MaterialStateProperty.all(
                  EdgeInsets.zero,
                ),
                elevation: MaterialStateProperty.all(0),
              ),
              children: [
                SubmenuButton(
                  menuStyle: const MenuStyle(
                    maximumSize: MaterialStatePropertyAll(
                      Size.fromHeight(
                        600,
                      ),
                    ),
                  ),
                  menuChildren: [
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 1",
                      ),
                    ),
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 2",
                      ),
                    ),
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 3",
                      ),
                    ),
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 4",
                      ),
                    ),
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 5",
                      ),
                    ),
                    MenuItemButton(
                      onPressed: () => print('pressed category'),
                      child: Text(
                        "Category 6",
                      ),
                    ),
                  ],
                  child: const Text(
                    'Categories',
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Workaround
But when using scrollbarTheme in theme instead, it works as expected.

Sample code (workaround)
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        scrollbarTheme: ScrollbarThemeData(
          trackVisibility: MaterialStateProperty.all(true),
          thumbColor: MaterialStateProperty.all(
            Colors.red,
          ),
        )
      ),
      home: Scaffold(
        body: Center(
          child: MenuBar(
            style: MenuStyle(
              backgroundColor: MaterialStateProperty.all(
                Theme.of(context).colorScheme.primaryContainer,
              ),
              padding: MaterialStateProperty.all(
                EdgeInsets.zero,
              ),
              elevation: MaterialStateProperty.all(0),
            ),
            children: [
              SubmenuButton(
                menuStyle: const MenuStyle(
                  maximumSize: MaterialStatePropertyAll(
                    Size.fromHeight(
                      600,
                    ),
                  ),
                ),
                menuChildren: [
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 1",
                    ),
                  ),
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 2",
                    ),
                  ),
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 3",
                    ),
                  ),
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 4",
                    ),
                  ),
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 5",
                    ),
                  ),
                  MenuItemButton(
                    onPressed: () => print('pressed category'),
                    child: Text(
                      "Category 6",
                    ),
                  ),
                ],
                child: const Text(
                  'Categories',
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.3, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (17 hours ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Users/huynq/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 110.0.5481.77

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-13.0.pre.51, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.8.0-13.0.pre.51 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efde350812 (15 minutes ago), 2023-02-15 21:49:06 -0500
    • Engine revision a966cf878f
    • Dart version 3.0.0 (build 3.0.0-240.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

thanks @huycozy . It's worth noting that the workaround changes the aspect of ALL the scrollbars in the material app, not just the one in the menu. So if you're working with routes, and want to change the scrollbar of one particular menu, the workaround does not really work.


L33t scoring is incorrect for multisymbol substitutions

The code
https://github.com/zxcvbn-ts/zxcvbn/blob/7c5fe5aeed8a74b7c305394db1f702a1e71dd558/packages/libraries/main/src/matcher/dictionary/variants/scoring/l33t.ts#L17-L22
assumes that both sub.substitution and sub.letter are 1 character long, which may not be correct. In this case, the scoring is incorrect.

Hey, thanks again 👍
I checked it, and i can't seem to find a difference. Can you give me an example where the change would change the scoring?

To see the difference, the password must have both parts of PasswordChanges and at least one of them more than once. For example, "wwwpassvvord" has "vv" and several "w".


[StudentStatistics] Show breakdown of noppas per academic year

2015: 40
2016: 7
2017: 28
2018: 61
2019: 30
2020: 15

e.g. in here


updated changelog

Updating the changelog to make a new release. Gonna merge right away.

Sorry messed up the version, gona do 0.0.6

Done https://github.com/scverse/spatialdata-plot/pull/180


Language correction in english docs

Hi @wang0618,
I was reading the initial readme for this project and I discovered that pywebio.start_server() in the English version points to Chinese docs. I have fixed this issue in the PR. Let me know if you want me to raise an issue for this first and then link it here.

Thanks.


Bug when log max-size=* && log max-file=1?

i've just noticed that when I set max docker log size (to prevent /var/log grow), then logspout stops working after exceeding the limit. This hit me on my production several times and I wondered what's the RC.

related: #216 #309

https://github.com/gliderlabs/logspout/issues/377#issuecomment-537708428


Wrong Coordinates for Country ESP, PRT, FRA

Same as #423 also for
Spain, France and Portugal

Hi guys, Manuel from coronawhy here.
@JuanCalvoFerrandiz have made a visualization with all the coordinates on your data to help finding issues:
https://juancalvo.carto.com/builder/3ad41c17-bc07-4889-b047-5903300806c4/embed

@ManuelAlvarezC @JuanCalvoFerrandiz we are soon migrating to totally different coordinates, calculated in country-levels. https://github.com/hyperknot/country-levels
Please review if this issue is still present in a few days.

We have moved to this new system. Is the issue still present?

The coordinates are not yet taken from country-levels, that'll be in the next PR.

This doesn't appear to be a problem in the new site, https://covidatlas.com/portugal.  Thanks to @hyperknot for that, I assume.  Cheers all! z


Remove some codeowners

Codecov Report

Merging #858 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #858   +/-   ##
=======================================
  Coverage   99.75%   99.75%
=======================================
  Files         276      276
  Lines        7022     7022
  Branches     1724     1724
=======================================
  Hits         7005     7005
  Misses         17       17

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 5b02f46...82e1dd0. Read the comment docs.


code cleanup

Coverage increased (+0.5%) to 68.849% when pulling 9c019e027c82daf130818eaabd3671131eac73e4 on cleanup into 603bc88ce6b127200e57198d4dd99140de9d58b8 on master.


Assembly Project compile should target the NES work path directly

Currently, a batch file is used internally to compile the NES image.
However, it targets a temp file in the asm/ folder, then copies that to the main directory.

Since the batch file takes a full pathname to a file as a parameter, pass the work ROM file path to the batch file instead of 'ff1.nes'.

I think the reason for this is that the FF1.nes file can hang around, allowing it to be inadvertently included in zip files.
If that's the case, then instead of changing how the batch file works, we could just ensure that we delete FF1.nes no matter the result of the compilation.


Add E75 Tests to Post Commit

E75 is a product that is currently in use externally, and we have no testing for it. I'm not sure if the Metal Team has access to any E75 machines through IRD. This leads to issues like these, where basic failures go unnoticed for days and lead to a negative customer experience.
We should have a few basic tests running on this configuration to verify that a user can at least start a device and run a few kernels correctly.
@tt-rkim, assigning to you for now, please feel free to delegate as needed. We can help out with creating a test suite.

#3484 We've closed E75 CI issue. We don't support it, and we do not list it as a possible card you can use in our installation instructions.
I'll leave this open for more discussion, but I'm inclined to treat this as lowest possible priority, and likely will not do as we transition to newer generations of chips.
Unless of course, someone has bandwidth to bring up the E75 machines for us and integrate them into CI and lead the effort to fix / disable the broken tests.
cc: @TT-billteng

Otherwise, I'm going to close this by end of week.


Need to click the play/pause button twice when using multiple players?

Hello,
I've searched everywhere, but cannot seem to find an answer to this question:
I have multiple players on a single page.
When you click a play button on any player, all of the other players pause so that only one player plays at a time.  Here's the code I'm using for that:
document.addEventListener('play', function(e){
    var player = document.getElementsByTagName('audio');
    for(var i = 0, len = player.length; i < len;i++){
       if(player[i] != e.target){
         player[i].pause();
       }
    }
}, true);

Here's my issue...  when the other players are set to "pause", you have to click them twice to get them to play again.  The first click seems to just un-pause it (and changes the icon back to the play icon) and it's the 2nd click that starts to play the file.
I'm hoping there's a solution where you can start another player by simply clicking once, and it will automatically pause all of the other players.
I've tested this in Chrome, Firefox and IE.
Is this possible?
Thanks - any help is appreciated!

I meet your question too.  But i have solved it.  audiojs is bind to window obejct, so you can use audiojs in any where of your code.
There isa instances property on audiojs which store all the audiojs instance of your page,
so when you open your play one of the video, you can use following code to close other audiojs instance.
Object.keys(audiojs.instances).forEach((player) => {       audiojs.instances[player].pause()     }) })
Clicking the play/pause button,  other audiojs instance was paused by the code.
And the clicked button will play or pause the clicked audiojs instance, so the sound of this clicked
audio will be played or paused. The reasone is that the audiojs source code has add a click function
on  play/pause button to control the playing state of audio tag.
Forgive my poor english, hope you can get it and solve your problem.

@alicePan I have the same problem as djs79. Could you send more detailed information where and what code I should past to have this functionality working?

Thank @alicePan for a good idea! You can try to do it this way:
`
audiojs.events.ready(function() {
var as = audiojs.createAll({
    play: function() {
		var mp3 = this.mp3;
		Object.keys(audiojs.instances).forEach(function(audio) {
			if (audiojs.instances[audio].mp3 == mp3) return;
			audiojs.instances[audio].pause();
			audiojs.instances[audio].wrapper.classList.remove('playing');
		});
	this.wrapper.classList.add('playing');
    }
});

});`

Thank @alicePan for good idea! I have implemented it this way:
audiojs.events.ready(function() {     var as = audiojs.createAll({         play: function() {             var mp3 = this.mp3;             Object.keys(audiojs.instances).forEach(function(audio) {                 var audio = audiojs.instances[audio];                 if (audio.mp3 == mp3) return;                 audio.pause();                  audio.wrapper.classList.remove('playing');             });             this.wrapper.classList.add('playing');         }     }); });


Parsing error of a not existent tsconfig.json file

Issue Type: Bug
I was not able to determine what triggers the following behavior:

I'm editing the file client/client.ts
Suddenly, for various files opened in tabs (not all of them), the following error appears:
Parsing error: Cannot read file 'c:\program files\microsoft vs code\client\tsconfig.json'. The details of one of them are:

{
	"resource": "/D:/Projects/MyProject/client/types.d.ts",
	"owner": "eslint",
	"severity": 8,
	"message": "Parsing error: Cannot read file 'c:\\program files\\microsoft vs code\\client\\tsconfig.json'.",
	"source": "eslint",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 1
}

See the screenshot:

If I click on one of the error messages (for example related to the file types.d.ts), the following notification appears:
Unable to open 'types.d.ts': ModelService: Cannot add model because it already exists!.

When the problem happens, the only solution is to restart VSCode.
Eslint works perfectly except for this.
I'm continuing monitoring my environment to see if I can determine what triggers the problem.
Thanks for looking!
mario
Extension version: 2.1.6
VS Code version: Code 1.47.0 (d5e9aa0227e057a60c82568bf31c04730dc15dcd, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.74GB (16.00GB free)

Process Argv
D:\Projects\IdeaIgniterEnvironment\IdeaIgniterEnvironment.code-workspace

Screen Reader
no

VM
0%

@crystalfp  does the validation happen correctly when you use eslint in the terminal. If this is the case can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

Thanks! This does not happen from the terminal, only in VS Code. The problem I have to provide an example is that I don't know yet what triggers this behavior. It happens sometimes. Do you have any suggestion on what to collect when it happens?
Thanks!
mario

It seems that eslint plugin loses the workspace directory value and resort to the program installation directory.

@crystalfp actually the server set the workspace directory on every validation run. So a GitHub repository that demos that would be highly appreciated.

This is actually happening to me with Webstorm...

A reproducible case would still be helpful.

Also see this happening  🤔

@agcty can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

@agcty can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

I'm not sure how to reproduce this to be honest, I just tried to copy my repo and then I was presented with this popup:

After you click allow it seems to work as expected. Is there any way to force this popup in existing repos?


Optimize code and eliminate Lint warning

Statement lambda can be replaced with expression lambda
Delete unused imports

Can you send the Delete unused imports PR separately?
I don’t mind the lift return lint warning; that makes lint happy but it makes me unhappy.

Can you send the Delete unused imports PR separately?
I don’t mind the lift return lint warning; that makes lint happy but it makes me unhappy.

Done
Refer to Delete unused imports #4888


skip LockResolverTest if tidb's version >= 4.0.0

cause TiDB-v4.0.0's resolve lock logic is different with TiDB-v3.x, and it's not implemented yet.

/run-all-tests tikv=v4.0.0-rc.1 tidb=v4.0.0-rc.1 pd=v4.0.0-rc.1


Enormous performance issues when toolset__math.scss is included

First time using MegaType.
I am using it together with Gulp: when I include MegaType in my SCSS file and I run sass via Gulp, the amount of CPU and RAM used increases up to the limit! And, unless I do not manually stop Gulp, the process keeps running.
I performed some "tests": I excluded one by one every component of MegaType.
When I do not include the "toolset__math" I do not have this performance issue (even considering that I am not using the function inside this file).

Hi there. This sounds really fishy; not sure why that file would be eating up memory; especially considering we just uncovered that it's not even used in the project anymore; so I've removed it and pushed that up ready for you now.
Additionally I'm interested to know what system you're on, and which gulp sass plugin you're using?

I'm on Mac OS X 10.11.4, using Node 5.10.1 with Gulp 3.9.1 and gulp-sass 2.2.0.
I'm not sure either. When I discovered what occupied so much RAM and CPU (everything was so slow and iStat Menu "warned" me), I was a bit shocked and uncertain.
I will update MegaType via Bower as soon as possible.  👍🏻
Thank you.


Support type serialization during SNS convertAndSend

When sending messages from SNS, only String payloads are permitted in any of the convertAndSend instances.
NotificationMessagingTemplate.java#L91-L101
/**
 * <b>IMPORTANT</b>: the underlying message channel {@link org.springframework.cloud.aws.messaging.core.TopicMessageChannel} only
 * supports {@code String} as payload. Therefore only {@code String} payloads are accepted.
 *
 * @see org.springframework.messaging.core.MessageSendingOperations#convertAndSend(Object, Object, java.util.Map)
 */
@Override
public <T> void convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) throws MessagingException {
	Assert.isInstanceOf(String.class, payload, "Payload must be of type string");
	super.convertAndSend(destinationName, payload, headers, postProcessor);
}

After glancing through the code it seems like this constraint is not necessary as when AbstractMessagingSendingTemplate in spring-messaging is invoked it creates a string backed payload:
AbstractMessageSendingTemplate.java#L128-L134
@Override
public void convertAndSend(D destination, Object payload, Map<String, Object> headers,
		MessagePostProcessor postProcessor) throws MessagingException {

	Message<?> message = doConvert(payload, headers, postProcessor);
	send(destination, message);
}

AbstractMessageSendingTemplate.java#L157
Message<?> message = getMessageConverter().toMessage(payload, messageHeaders);

MessageConverter
applies toMessage AbstractMessageSendingTemplate.java#L157
which calls AbstractMessageConverter.java#L201
which calls MappingJackson2MessageConverter.java#L191.
payload = writer.toString();

The other codepath in MappingJackson2MessageConverter allows a byte array to be returned.  In order to prevent this, NotificationMessagingTemplate can have the Jackson converter added similar to
QueueMessagingTemplate.java#L86-L94.
if (messageConverter != null) {
	messageConverters.add(messageConverter);
} else if (JACKSON_2_PRESENT) {
	MappingJackson2MessageConverter mappingJackson2MessageConverter = new MappingJackson2MessageConverter();
	mappingJackson2MessageConverter.setSerializedPayloadClass(String.class);
	messageConverters.add(mappingJackson2MessageConverter);
}
setMessageConverter(new CompositeMessageConverter(messageConverters));

As message conversion ordering is guaranteed within CompositeMessageConverter, as long as jackson is added first, the output is guaranteed to be a String.  This would make consuming types from SNS->SQS (or other delivery channels) easier.

we came to the same conclusion as @rpk and implemented it for ourselves. the outcome is in PR #75

Any chance we can get the pull request merged it is pretty useful thing if we want to do pub sub in AWS.


Show multiple infowindows on V2

Hi, I need to show multiple infowindows at the same time, is there a way?

No. The native APIs are not provided that feature.


Errors when upgraded to docker 1.8

Hi,
I tried upgrading from docker 1.6 to docker 1.8 (using OSX). With the changes from boot2docker to docker-machine it seems a breaking change has been introduced. When I attempt to run the nscale container buildall command I now receive the following error:
--> building all containers for tempus revision latest target local
--> finding container
--> initiating container build
--> executing container specific build for redis$redis_2.6
--> building
docker precheck failed, please enusure that docker can run on this system
docker precheck failed, please enusure that docker can run on this system
docker precheck failed, please enusure that docker can run on this system
ERROR: {"request":"container buildall","responseType":"stderr","level":"error"}

Tried removing the .nscale folder, reinstalling nscale and removing the workspace folder, but to no affect.
Any thoughts or possible workarounds would be greatly appreciated.

I'm having a similar issue with a new setup, I just installed Docker 1.9.1 from the website which includes docker-machine instead of boot2docker. When running nscale start the command reports "not ok!" and the logs show this error:
{"name":"nfd-kernel","hostname":"Ryans-Mac-Pro.local","pid":13920,"module":"docker","level":50,"target":"<IP_ADDRESS>","identityFile":"/Users/ry60003333/.ssh/id_boot2docker","user":"docker","port":8011,"retries":50,"msg":"Warning: Identity file /Users/ry60003333/.ssh/id_boot2docker not accessible: No such file or directory.","time":"2016-01-16T21:43:58.346Z","v":0}
Any ETA on when nscale will support docker-machine?

We have an update that supports docker 1.9.1 and docker-machine - currently testing and hope to put a fix out soon.

@pelger Great to hear! I'll be eagerly awaiting it, I am very exciting to start using this project.


Content Security Policy errors in Ionic v3 project

Hi-Is this necessary in an Ionic project?
When I add this in I get a lot of errors in the browser logs.
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'
      data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net; style-src 'self'; media-src *">

polyfills.js:3 Unhandled Promise rejection: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self'
data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net".
; Zone:  ; Task: Promise.then ; Value: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self'
data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net".
**Refused to load the font 'http://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2' because it violates the following Content Security Policy directive: "default-src 'self'
data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
index.html:1 Refused to load the font 'http://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff' because it violates the following Content Security Policy directive: "default-src 'self'
data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
index.html:1 Refused to load the font 'http://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf' because it violates the following Content Security Policy directive: "default-src 'self'
data: gap: https://login.live.com https://ambassadors-mobile-dev.azurewebsites.net". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

Didn't have the right settings.  Got it working.

Actually I am still getting these.   Now the frame is getting block.  I believe this must be the frame for the auth form.
I am currently running the project like this:
ionic cordova run browser
Do you know what I should set the frame-src or child-src CSP to, to avoid this?
Refused to frame 'data:text/html,%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3Cmeta%20name%3D'v…uth%2Flogin%2Fmicrosoftaccount%253Fsession_mode%253Dtoken')%3C%2Fscript%3E' because it violates the following Content Security Policy directive: "child-src 'self'". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.

@jrmcdona Sorry for following up late on this issue? Any update on this one? Do you still see the issues?

Closing this issue as we haven't heard back from you. Feel free to contact us if you have any questions.

Hi @erperejildo,
Could you please provide you Content-Security-Policy value and full error that you receive.

content.js:1 Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('SOME_CODE'), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

this is the head of my default index.html:
<meta charset="utf-8">
 <title>Ionic App</title>

 <base href="/" />

<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
 <meta name="format-detection" content="telephone=no">
 <meta name="msapplication-tap-highlight" content="no">

 <link rel="icon" type="image/png" href="assets/icon/favicon.png">

 <!-- add to homescreen for ios -->
 <meta name="apple-mobile-web-app-capable" content="yes">
 <meta name="apple-mobile-web-app-status-bar-style" content="black">

What else do I need to add?

Try adding this:
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com https://your-app-name.azurewebsites.net; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *">

Replace your-app-name with your azure app name.

still the same. Moving now to Ionic 3 to avoid some other random issues.
Thanks for helping anyway

Hi @erperejildo
Did you resolve your issue when moved to Ionic 3?

@bmourat yes I did. I'll wait for a proper release now


No Route matched with those values

Hello,
I was running a Python script to retrieve data from the table, and suddenly it stopped working.
I am connecting using the supabase lib, and the API connection works fine, but when I try to get data from any tables, it says it cant find anything, altough the table does exist in the database.
I am simply using the command:
supabase.table("Users").select("*").execute()
And I get the same error message, for any table:
{'message': 'no Route matched with those values'}
Has anything changed in supabase at all?
All my tables are in the public schema.
Thank you very much.

I realized the error, Supabase is blocking my IP address...why is this happening?

Hey
This looks like a project specific issue - could you please reach out to Supabase Support if the issue persists? Thanks!
Going to close for now but feel free to ping/re-open if issue persists


Add apis for a User and Admin

Added apis for User and Admin
Admin stuff is done, but changes might be present depending on frontend.
All tested on postman as well.

looks good to me.


ci: upload output of molecule/default/debug.yml as a github artifact

Fixes https://github.com/JonasPammer/cookiecutter-ansible-role/issues/8

Required Checklist

[x] Documentation has been altered or extended appropriately
[x] This pull request and its commits address only a single concern
[x] I have followed JonasPammer's Ansible Role Development Guidelines
[x] I am a nice guy

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Optional Checklist

[x] pre-commit was installed in local development environment (if not, a GitHub workflow will run pre-commit once you create the request)

[x] my commits are small, single-purpose, detailed and maybe even follow the conventional commit specification for extra convenience of the reviewer

LGTM!


Prevent traceback with info overlays.

We now make sure our toggler exists before invoking its goto
method.  Usually a toggler exists pretty early during app
startup, but _setup_info_overlay is wrapped in i18n.ensure_i18n,
which asynchronously fetches translation data.
This commit also simplifies how we find the toggler, by just
storing it in the module where it gets created and consumed.
Fixes #9085.

Testing Plan:
GIFs or Screenshots:

The first two commits here are bug fixes.  The other three are probably post-release cleanup.

I merged the first 3 commits; holding the rest until post-release.  I'm not entirely convinced by the direction; reviewing this makes me think even more than we should do https://github.com/zulip/zulip/issues/9087 soon.

Just to be clear, the last commit is mostly orthogonal to the #9087 direction.  The old code was just really hard to understand with the factory stuff so coupled to creating a simple toggle widget, and I don't think the lookup() function provided any clarity in the calling code.  It was just one more name to deal with, and it was easy to confuse the "name" of the component with some kind of element id or something.  And then even within the class "name" had three different meanings.
But I totally agree on waiting till the release is out.

The zulipbot warning seems broken here, since the main issue referenced has been closed.  Also, zulipbot could specify the issue number, I think.

Open an issue in zulip/zulipbot for that?

I opened a zulipbot issue for the warning about commit messages.
I also edited the title of the PR to reflect what the remaining two commits here do.  The second commit is the key one--it removes the complicated factory mechanism in the toggler widget.

Cool, merged, thanks @showell!  I think once we do the i18n thing, things might become simple enough that it makes sense to move the toggler back into settings.js or similar, but we can deal with that when the time comes.

One of the reasons to keep it separate is that it's an easy goal to get that to 100%, and then also when you write tests for settings, you could basically stub out that module.  But I don't feel too strongly about it...we can see how things pan out.


User list only shows Active == False -> Shows no accounts whose Active == True; Filtering crashes script

Describe the bug
When I select Download content from a user and then Reset user list, the user list is only Subscriptions that are no longer active.  I scroll through the list and Active Subscriptions do not appear.  When I go to edit the criteria to Active == True, it acts like it loads it and then bombs out.  Relaunching the script, it defaults the filter and I again, only get Active == False subscriptions.
To Reproduce
Launch the script, tell it to download content, see all the Active == False and none of the true's
Expected behavior
The main list should show Active == True and Active == False until I set filtering criteria and then it should follow my guidance on filter criteria.
Screenshots/Logs

Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox
Version Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Python
OFScrapper <IP_ADDRESS> with Python 3.12.1

Smartphone (please complete the following information):
Not applicable

That is a very old version if the scraper. You will need to uninstall the scraper, uninstall pip/pipx, then uninstall python. Then install python 3.11.6, then pip/pipx then install the scraper to get the latest version where you should not have this issue.

That is a very old version if the scraper. You will need to uninstall the scraper, uninstall pip/pipx, then uninstall python. Then install python 3.11.6, then pip/pipx then install the scraper to get the latest version where you should not have this issue.

First off, thank you so much for your feedback.  I will do this.
Second, did I do something wrong?  I followed the official install guide, and yet I installed a very old version.  How do I not repeat this mistake?

Whoa, just did all of the above and installed it via PIP and now it's 3.6.8.  It might be that PIPX install is using a very old version?  I did it via PIPX before.

This is not something you did wrong. Its something with python 3.12/3.12.1 that when installing via pip/pipx you somehow get old version of the scraper. Until what ever that issue is gets fixed i would just stay on python version 3.11.6

This is not something you did wrong. Its something with python 3.12/3.12.1 that when installing via pip/pipx you somehow get old an version of the scraper. Until what ever that issue is gets fixed i would just stay on python version 3.11.6

Sounds good.  Would it make sense in the guide to then say not to use python 3.12.X as updates need to occur?

This is not something you did wrong. Its something with python 3.12/3.12.1 that when installing via pip/pipx you somehow get old an version of the scraper. Until what ever that issue is gets fixed i would just stay on python version 3.11.6

Sounds good. Would it make sense in the guide to then say not to use python 3.12.X as updates need to occur?

I'm not the owner of this scrips so saying not to use python 3.12 is not my call to make lol


Error trying to run install script

Trying to install this on a WyzeCam3 [wyze_hacks_0_5_06.zip]
Ubuntu 18.04
Made sure Python3 installed
Made sure python-pip installed
When I try to run ./remote_install.sh I get this.
Found local config file, including into firmware update archive...
Upgrade/config.inc
/usr/bin/python3: No module named pip
Traceback (most recent call last):
File "./wyze_updater.py", line 294, in
help='Supported actions')
File "/usr/lib/python3.6/argparse.py", line 1716, in add_subparsers
action = parsers_class(option_strings=[], **kwargs)
TypeError: init() got an unexpected keyword argument 'required'
Help would be appreicated

I think you need python 3.8. Also, you'll need the module "pip" installed.

Made sure python-pip installed

IIRC, python-pip is python 2, you need to install python3-pip.

Based on the error, your python interpreter is 3.6 and you should use 3.7 or higher

Thanks for this, installed 3.8 as well as python3-pip and now it's "installing".
I also have fw 228 on the WC3 which the docs say it's supported.
Once I get the prompt and put select y for the camera, it goes on down the list and I hit N for the rest.
Then it just has the screen with dots that goes on forever....................................................
......................................... and so on.
I don't hear "installation begins" or "installation complete".... how long do I need to wait?
I see that the light on the camera is purple during all of this, sort of flickering.
Cannot connect to the camera during this time, but if I kill it and recycle power it boots back into the Wyze FW and is working
Any detail would be helpful here, I'm grateful for the hack, the instructions could have a bit more info...
Can someone confirm that it works on <IP_ADDRESS>?
Also, cannot find the links for the stream, can we add those in the release notes somwhere?
Thanks!

Take a look at this thread: https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/13
and in particular this comment
https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/13#issuecomment-840224370

Thank you for posting that, I didn't see that thread.
Checked it out, disabled the firewall on the CentOS VM I installed for this, then it started loading up and saw the GET statement.
I can also confirm there are no prompts of any kind on the Wyze Cam 3 (begin, finished, etc...).
Having said that, I cannot view the stream from my windows VLC, turned off firewall thinking it could be blocking but no dice. Also, Blue Iris see the camera when I add it (i.e. changed port to 12345) it adds it, but then it cannot connect to it. I don't know if the syntax is correct that it detects, I tried both RTSP and HTTP from both BI and VLC but no stream...
Ports are open, I did a ports can on the IP, both 23 and 12345 are open.

I will close this as the additional issues are not on my topic.

Thanks for the help!