Recheck exposed ports on Beckn ONIX installations

Currently components installed with Beckn ONIX expose several ports on the localhost. In one of the installations in Brazil, some malware was misusing the Redis instance by contacting the host on the exposed port (6379)
In many cases, these ports do not need to be exposed on the host. It is sufficient if it is available on the docker network. For example, the redis/rabbit installed as part of BAP is used only by BAP Client and BAP Network. It is not really used outside of these two. So as long as the redis instance is accessible on the docker network, it is sufficient. It is not required to be exposed on the host. There might be some cases where this is required for management/monitoring software. If it the case, we should document it and also evaluate if we need to make the default as non-exposed, if such monitoring is a rare usecase.
Check all the ports exposed on host in Beckn ONIX and individually evaluate if it is required to be done that way.

To identify which all ports are exposed, document them and also update the Onix documentation. @prasad-takale-eminds

@viraj89 , @prasad-takale-eminds , this is not a documentation issue. It is a security issue. For installations where the redis is used only on the docker network, we should not expose it on the host. There was a issue in one of the customers that somehow this exposed port was misused by some malicious code.

@vbabuEM All the ports are currently exposed at the host level, and we access our application through an Nginx proxy pass configuration. If needed, we can change the default ports of all supporting applications and update the default.yml file accordingly.
Additionally, we are not opening any additional ports on the Security Group (SG). We only need ports 443 and 80 to be open:

Port 443 is for accessing the application via HTTPS.
Port 80 is for obtaining the Let's Encrypt SSL certificate.

I have double-checked all application files to ensure there are no unnecessary open ports.

The issue was primarily in the non-horizontal scaling configuration.
Basically since the containers access the port over the docker network, there is no need to expose them at the host level. There was one incident in Brazil (I have documented it in description), which prompted this.
In the horizontal-scalability case, this will not be relevant. There you have to expose it over the vpc for the PS pods to access it.

I have written everything in the comments and discussion above. However if you still have doubts, please ping me.

@emmayank - Please refer above for @vbabuEM  comment if there is anything please check with him and close the card accordingly
@viraj89 @faizmagic @prasad-takale-eminds

@prasad-takale-eminds  - Basically a security audit of the docker-compose.yml to see if we need to expose ports on the localhost or just exposing them on the docker network is sufficient. If we do not need to expose on the localhost (in the non-horizontal scale deployment), we should remove those lines from docker-compose.yml


number limit of scss file

Output will stop in 16 files.
"through2" I think that it is the influence.
Is there a solution?
Or , do you have any plans to fix in version up?

@kamem Could you show the detail error message or screenshot?

The error message does not go out.
through2.js: 88
var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options))
I will change the "highWaterMark".
Then it will be output 16 or more.


Added Support for RocksDB backend

This PR adds optional support for RocksDB backend. User needs to select this during project creation.
Summary of Changes:

Added Rocksdb installation in Dockerfile.
Install faust compatiable python-rocksdb lib.
Added option in cookiecutter.json.
Added parameter inside test_project_generation.

Nice!!! Really good job!!!
Thanks @sohaibfarooqi


Project UI - Add Activity Feed

Develop activity feed including polling in front-end for changes, updates to modify time, development of table to track changes, additional REST api calls, modifications to current project structure, and UI page updates.

Added issue to cleanup old activity events #1254

Added activity log to UI and backend


⚠ Cioos Pacific CKAN has degraded performance

In fd60db6, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 7190 ms

Resolved: Cioos Pacific CKAN performance has improved in 6f02a45 after 18 minutes.


s3-s3 implicit copy enhancements

This PR adds a M4DModule yaml for S3-S3 implicit copy and modifies a bucket information for testing.

The comments reveal issues in some other modules as well. I'm closing this PR, will open a more general one.


The upgrade/force upgrade scripts overwrite upgrade.log

Because of the way that we write the text to the console, the first few lines of upgrade.log are overwritten with our annotations/status text. (e.g. the net' after ::: Complete in the text below)
::: Triggering upgrade from branch docker_hostnet
::: Waiting 1 second for Fermentrack to send updates if triggered from the web...
::: Stopping circus...
::: Updating from git...
::: Updating requirements via pip3...
::: Running manage.py migrate...
::: Running manage.py collectstatic...
::: Relaunching circus...
::: Complete!
net'
Your branch is behind 'origin/docker_hostnet' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)

The upgrade scripts are no longer in use, and thus this bug no longer exists.


[Question]: What is the difference between Operations and Test Procedures

Description
I am trying to define a benchmark for my use-case and I am getting confused between Test Procedures and Operations. I see that Test Procedures contains a set of Operations that are applied in Operation Search cluster based on what is passed to the OSB.
Question:
But there is an Operation folder also, which I am not sure what it is getting used for? Is it like if we define operations in Operations folder they can be used across the Test Procedures rather than defining them in same procedures again and again.

Resolving this issue, as after doing some experiments I was able to figure out that, the Operations defined in Operations folder act as a global list of Operations that can be used in the other test procedures.


fix: transaction revert error with status change

Closes #2898
Closes #1644

Release notes
In this release, we:

Fixed bug with transaction reverting with unknown reason.

Summary

Within our transaction flow, we listen to the statusChange subscription. Once a change of status occurs, we perform a getTransactionWithReceipts query.
The statusChange subscription was posting a SuccessStatus, but the sub-sequential call to the getTransactionWithReceipts query returned a SubmittedStatus, which the SDK interprets as an erroneous condition.
This change uses the transaction posted from the statusChange for SuccessStatus and FailureStatus results.

Checklist

[ ] I added — tests to prove my changes
[ ] I updated — all the necessary docs
[X] I reviewed — the entire PR myself, using the GitHub UI
[ ] I described — all breaking changes and the Migration Guide

This change will require the release of fuel core 0.32.1 - therefore blocked.

Pulled must the schema changes from #2827

Closing this as I've taken the issue and will open up a new PR later.


Release/6.1.1

Dependency Updates

Bump PHC 6.3.1 (#199) via Toni Rico (@tonidero)

Released. Closing since it was a hotfix.


server::database: Drop postgresql 8.1 specific code

Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.

[ ] Root cause and the steps to reproduce. (If applicable)
[ ] Thought process behind the implementation.

Related Issues (if any)
Mention any related issues or pull requests.
Checklist

[ ] 🟢 Spec tests.
[ ] 🟢 Acceptance tests.
[ ] Manually verified. (For example puppet apply)

I dropped all postgresql 8.1 or RHEL 5 specific code. The metadata.json only mentions RHEL7 and newer so I think that's fine.

The metadata.json only mentions RHEL7 and newer so I think that's fine.

In the past Puppet has had this weird policy where they didn't list something in metadata.json but then did support it, sort of. I don't like it, because it makes life harder but since it's in their namespace I have tried to respect it.


Implement Node Client

Describe the feature
We should implement a node client that is configured appropriate for scroll reth.
Additional context
No response

Can you buy chance direct me to the best place to learn crypto from their creation to market please? I have dabbled with crypto for close to 10 years and I have little understanding as to how I can passively acquire crypto. Please help and Thank you.
Cardboard

completed by #68


Add PathSpec::Pin()

Current coverage is 87.77% (diff: 64.70%)

Merging #2679 into master will increase coverage by <.01%

@@             master      #2679   diff @@
==========================================
  Files           243        243
  Lines         18154      18171    +17
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          15934      15950    +16
+ Misses         1957       1956     -1
- Partials        263        265     +2

Diff Coverage
File Path

••••••     64%
go/spec/dataspec.go

Powered by Codecov. Last update a88ac58...2e7ebe8

@aboodman Are you going to land this?


Alternative skill or level systems?

Hello there,
I'm considering various MUD engines in order to decide which one to use as base for a MUD of my own.
I'm looking for the option to have skill levels, a system where skills get stronger and more effective the more you use them.
Additionally, I'm entertaining the idea of using a leveling system where instead of defeating monsters the player must perform certain actions to gain XP for their class. (I.e., a player of the 'farmer' class must plant crops to gain XP.)
How hard would out be to implement such systems in this engine?
Thanks in advance,
Loid.

https://github.com/shawncplus/ranviermud/blob/master/src/player.js
https://github.com/shawncplus/ranviermud/blob/master/src/skills.js
There isn't much of an existing skill system. You could replace it with a different system in an afternoon probably.

Thank you for the quick reply! So if I understand you correctly, I would just replace the existing code? There is no way to hook in a new module while leaving the engine itself as is?

If you're developing the system for your own game, as you described, then why would you need to keep the old player and skill files? That seems like it would just produce unnecessary confusion for you down the road.

As ingcake implied, just fork the project over and develop your own skill/level system. This project is mostly meant to be a lightweight engine, so there isn't much game logic there (I assume this is intentional).


Repo sync for protected CLA branch

The pull request is created from main637971320565200708sync_temp to main to fix git push error for protected CLA branch

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Error running IC intent classification

Hi,
Thanks for the great repo and consistent support!
when I ran intent classification with default parameters and any upstream models. I got the following error
overall:   0%|                                                                                | 0/200000 [00:00<?, ?it/s/pytorch/aten/src/ATen/native/cuda/Loss.cu:455: nll_loss_backward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [11,0,0] Assertion `t >= 0 && t < n_classes` failed.
/pytorch/aten/src/ATen/native/cuda/Loss.cu:455: nll_loss_backward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [17,0,0] Assertion `t >= 0 && t < n_classes` failed.
/pytorch/aten/src/ATen/native/cuda/Loss.cu:455: nll_loss_backward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [20,0,0] Assertion `t >= 0 && t < n_classes` failed.
/pytorch/aten/src/ATen/native/cuda/Loss.cu:455: nll_loss_backward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [29,0,0] Assertion `t >= 0 && t < n_classes` failed.
train:   0%|                                                                                | 0/723 [00:03<?, ?it/s]
Traceback (most recent call last):
  File "/home/pyp/s3prl/s3prl/run_downstream.py", line 202, in <module>
    main()
  File "/home/pyp/s3prl/s3prl/run_downstream.py", line 198, in main
    eval(f'runner.{args.mode}')()
  File "/home/pyp/s3prl/s3prl/downstream/runner.py", line 238, in train
    (loss / gradient_accumulate_steps).backward()
  File "/home/pyp/miniconda3/envs/tf2/lib/python3.9/site-packages/torch/_tensor.py", line 307, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/home/pyp/miniconda3/envs/tf2/lib/python3.9/site-packages/torch/autograd/__init__.py", line 154, in backward
    Variable._execution_engine.run_backward(
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`
overall:   0%|                                                                                | 0/200000 [00:04<?, ?it/s]

Can you provide some guidance on this issue?
Thanks in advance!

Hi,
Can you list your s3prl version (commit has if editable install) and your torch version?

Thanks for the quick reply.
s3prl version: 0.3.1, torch version:1.10.0

Oh I remembered this issue.
I remember this is a bug of torch and is why I once set the torch != 1.10.0
I try to upgrade to torch==1.10.2 and it works.
Let me find if there is a related issue in the torch's issue page.

I can't find the related issue for now. But I believe upgrading torch will be a feasible solution.
The torch != 1.10.0 is now back in the main branch: d07a4e5bb4997f8edf6538bbd5b2804f6c017bc6


Update README.md

This change updates the README to show clear examples on how to use the package.

I think adding some more basic examples is fine.
Could you combine them into 1 code block though?

Many thanks @sixlive. That's it now combined.


Race building execution and builder block with cutoff

We have scenarios where builder api responded with block but execution api took forever to resolve causing an avoidable delay in block proposal (and hence orphaned block)
This PR races building execution and builder block with cutoff of 3 seconds post which the race resolves with whoever wins

[x] testcases for racePromisesWithCutoff utility

Closes #5219

Can this be done with somehting like:
function allSettledWithTimeout<T>(promises: Promise<T>, timeoutMs: number) {
  const timerPromise = new Promise((_resolve, reject) => setTimeout(reject, timeoutMs));
  return Promise.allSettled(promises.map((promise) => Promise.race(promise, timerPromise)));
}

Can this be done with somehting like:
function allSettledWithTimeout<T>(promises: Promise<T>, timeoutMs: number) {
  const timerPromise = new Promise((_resolve, reject) => setTimeout(reject, timeoutMs));
  return Promise.allSettled(promises.map((promise) => Promise.race(promise, timerPromise)));
}

problem with this is ( i think) it will force timeout both execution/blinded block at 3ms for e.g. , but we want to resolve for whoever completes first post cutoff if all promises exceeds cutoff
let me see how i can code it up in a cleaner manner

@wemeetagain i have updated the racefn using the inbuild primitives, let me know how it looks now

:tada: This PR is included in v1.6.0 :tada:


fix(Adaptor): Lambda Response Streaming With Content Type

fixed: https://github.com/honojs/hono/issues/1672
I'd like to share that we have completed actual device verification with AWS Lambda for the magic method awslambda.HttpResponseStream.from, which adds metadata (statusCode, Headers) to the responseStream.
Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[ ] yarn denoify to generate files for Deno

Hi @watany-dev !
I didn't know application/vnd.awslambda.http-integration-response!
Like the CI is failing, you can't write the actual logic in a .d.ts file. I think you should write streamifyResponse and awslambda.HttpResponseStream.from in handler.ts or create a new file for them.

@yusukebe
These specific AWS Lambda headers and methods are already executed within the AWS environment, so they are not necessary in the .d.ts file, right? I have removed them and added a reference to the source library in the comments. (This is the official sample implementation for when users are setting up the AWS Lambda environment.)

FYI, in my environment, this PR code fixed the problem and text/event-stream , and text/html; charset=UTF-8 are now sent.
@watany-dev @yusukebe

Ah, this PR version works. My configuration was wrong; the content-types are now correct.
One thing not directly related to this PR: HTTP Streaming with Suspense and renderToReadableStream() does not work.

@usualoma @yusukebe
Thanks for confirming this.
I can't find a track record of Suspense or renderToReadableStream working with AWS lambda, even with the original React, so it may be too complicated to handle here.

Hmm.
This PR is OK, so I'll merge it later.
However, I think we might make Suspense and renderToReadableStream() work on Lambda function URLs. I saw an example here that suggests it may be possible:
https://github.com/aws-samples/serverless-patterns/tree/main/lambda-streaming-ttfb-write-sam

Thanks, this is interesting and I'll check the behavior, I hope it's a bug in adaptor, otherwise it's tricky...

Anyway, I'm merging it now. Thanks!

Created the issue #1678.


Cannot use JTableFixture: JS error "JTableTextCellReader is not a function, it is object"

Framework version: 0.11.22
Intellij Idea version: 2021.3.2
I want to access cells of some JTable elements and I decided that I sould use JTableFixture for this.
But when I try to create JTableFixture object I get this error:
TypeError: [JavaPackage com.intellij.remoterobot.fixtures.dataExtractor.server.textCellRenderers.JTableTextCellReader] is not a function, it is object. (js#10)

com.intellij.remoterobot.client.IdeaSideException: TypeError: [JavaPackage com.intellij.remoterobot.fixtures.dataExtractor.server.textCellRenderers.JTableTextCellReader] is not a function, it is object. (js#10)
	at app//com.intellij.remoterobot.client.IdeRobotClient.throwIdeaSideError(IdeRobotClient.kt:141)
	at app//com.intellij.remoterobot.client.IdeRobotClient.processExecuteResponse(IdeRobotClient.kt:108)
	at app//com.intellij.remoterobot.client.IdeRobotClient.execute(IdeRobotClient.kt:63)
	at app//com.intellij.remoterobot.JavaScriptApi$DefaultImpls.runJs(JavaScriptApi.kt:57)
	at app//com.intellij.remoterobot.RemoteRobot.runJs(RemoteRobot.kt:32)
	at app//com.intellij.remoterobot.fixtures.Fixture.runJs(Fixture.kt:92)
	at app//com.intellij.remoterobot.fixtures.Fixture.runJs$default(Fixture.kt:85)
	at app//com.intellij.remoterobot.fixtures.JTableFixture.<init>(JTableFixture.kt:17)

Steps to reproduce:

Open intellij-ui-test-robot project
Create simple test in any existing (or new) test class in ui-test-example module:

@Test
 void getJTableTest(final RemoteRobot remoteRobot) {
     JTableFixture tableFixture = remoteRobot.find(JTableFixture.class, Locators.byXpath("//div[@class='JTable']"));
}

Launch ide via runIdeForUiTests task
In the launched ide: Open any window with table, for example: Customize > All Settings > Tools > Web Browsers and Preview
Launch getJTableTest() test

Finally found out what was the problem. Turns out that my remote-robot dependencies were 0.11.22 version but remote-robot plugin had 0.11.6 version in dowloadRemoteServerPlugin gradle task
I had to use older version of Remote Server plugin, because in my environment I couldn't download the last version via gradle task that is why I used different versions

Finally found out what was the problem. Turns out that my remote-robot dependencies were 0.11.22 version but remote-robot plugin had 0.11.6 version in dowloadRemoteServerPlugin gradle task
I had to use older version of Remote Server plugin, because in my environment I couldn't download the last version via gradle task that is why I used different versions


flutter-win-6 is dead and not ssh-able

I was unable to ssh to the machine.

@yusuf-goog Would you mind taking a look next time you are in the lab?

This machine has hit the SSD failure. will need to be swapped out. Possible
on monday, since we should still have win capacity?
On Thu, Sep 29, 2022 at 12:56 PM Ricardo Amador @.***>
wrote:

Assigned #112644 https://github.com/flutter/flutter/issues/112644 to
@yusuf-goog https://github.com/yusuf-goog.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/112644#event-7489955293, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3Q2CYS5NPX544GKVXYOFLWAXX5FANCNFSM6AAAAAAQY5N4BQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Leaves one windows bot in the staging pool. It has been out of commission for 3 Weeks. Should be fine for a couple more days.

Tracking in the mentioned issue.


Sema: Don't allow opaque return types to reference DynamicSelfType [5.7]

This cannot be represented in the ABI because we expect that the
opaque return type can be instantiated from the generic arguments
of its declaring context. Reconstructing type metadata for the
DynamicSelfType would require opaque return type instantiation
to also take the self value.
Fixes rdar://72407668 / https://github.com/apple/swift/issues/56367

@swift-ci Please test


Support Rocky Linux 9.4 (Yoga)

@m-bull Yoga is already outside of support, and I'm guessing this was tested in prod somewhere. Do you reckon it's reasonable to just get this merged?

@m-bull Do we still need this change?


Explain in detail, the application and mode of operation of active directory in the system administration of an enterprise infrastructure, using any case study approach

[Enter feedback here]

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

ID: 9bb772ec-10a8-1c86-8af7-5e1d51912866
Version Independent ID: 743875a3-e418-d81f-1a70-474a3471bfcb
Content: Active Directory Domain Services Overview
Content Source: WindowsServerDocs/identity/ad-ds/get-started/virtual-dc/Active-Directory-Domain-Services-Overview.md
Product: windows-server
Technology: ad-ds
GitHub Login: @iainfoulds
Microsoft Alias: daveba

Issue appears to be an exam essay question, and not an issue with the documentation. Closing.


Create OBC with predefined credentials

Hi,
Is it possible to create OBC and provide bucket name, credentials manually instead of generating automatically (access key, secret key)?
Thanks,
Alex

Related to https://github.com/rook/rook/issues/11563 https://github.com/rook/rook/pull/11336
I guess it needs Rook changes.

@alexknobel I hope all your queries are sorted in the chat. If yes can we pls close the issue?


Use neXtSIM-DG date/duration formats in Xios

Currently, the Xios class uses XIOS' date and duration formats. It would be better to use those provided by neXtSIM-DG.

Closed by #584.


Cicero parse fails on (not so) large grammars

On even a not-so large grammar, Cicero runs out of memory (I believe when building the grammar).
bash-3.2$ zip biggrammar.cta -r .
  adding: request.json (deflated 4%)
  adding: grammar/ (stored 0%)
  adding: grammar/template.tem (deflated 82%)
  adding: state.json (deflated 47%)
  adding: test/ (stored 0%)
  adding: test/logic.js (deflated 58%)
  adding: models/ (stored 0%)
  adding: models/model.cto (deflated 57%)
  adding: README.md (deflated 23%)
  adding: package.json (deflated 41%)
  adding: lib/ (stored 0%)
  adding: lib/logic.ergo (deflated 40%)
  adding: log/ (stored 0%)
  adding: log/trace.log (deflated 94%)
  adding: sample.txt (deflated 82%)
bash-3.2$ du grammar/template.tem
56	grammar/template.tem
bash-3.2$ ls -la grammar/template.tem
-rw-r--r--  1 jeromesimeon  staff  26606 Nov  7 10:19 grammar/template.tem
bash-3.2$ cicero parse
10:25:35 - info: Using current directory as template folder
10:25:35 - info: Loading a default sample.txt file.

#
# Fatal error in , line 0
# API fatal error handler returned after process out of memory
#
Illegal instruction: 4

A sample for testing:
biggrammar.zip


TPV dry-run tool

We had the idea to make a small CLI TPV tool, that takes your config files, a few input params like
$ tpv-dry -d /.../config/tpv tool=metaspades<EMAIL_ADDRESS>size=2G

and then mocks a Galaxy instance, like in the unit tests, calculates the destination and gives a easy-to-read output, which destination was chosen and why. eg:
RESULT for .....
--------------------------------------------------------------------------------------
DESTINATION
final: condor_tpv
mached(with ranks): condor_tpv(1), singularity(2), interactive(3)
--------------------------------------------------------------------------------------
PARAMS
cores: 8 (min of tool: 10, user: 8, role: 9)
mem: ....
...

Additionally an explanation of how the rank was calculated in this specific case, would be helpful to debug errors in the configuration and check if it works as intentioned.
EU will work on this, but all help and suggestions are appreciated :)

This is a great idea. It would be very useful.

I agree with @cat-bro - this is a really good idea @mira-miracoli

Great idea @mira-miracoli! Just a few random thoughts and suggestions that crossed my mind.

This could probably be added as a shell command like tpv lint and tpv format into this file: https://github.com/galaxyproject/total-perspective-vortex/blob/2d7321ff25256aa251f4c981c19888107f985276/tpv/core/shell.py#L62 instead of being a separate command. It could then be invoked as tpv dry-run -c /path/to/galaxy.config -f path/to/tpv/config

To get a reasonably accurate idea of how the actual destination will be determined, it'll be necessary to use the actual job_conf.yml that the Galaxy instance uses, and possibly galaxy.yml as well. Your suggestion of trying out the mock test path first sounds very sensible - that may well be good enough to get a reasonably accurate estimate of where the job will go and should be very fast.

However, should there be problems with that, as in, it's not accurate enough as it doesn't take the entirety of Galaxy's configuration into account, perhaps the IntegrationTest path might work better: https://github.com/galaxyproject/total-perspective-vortex/blob/2d7321ff25256aa251f4c981c19888107f985276/tests/test_mapper_resubmit.py#L6

Only the resubmit test case uses it at the moment, but since it is using Galaxy's own IntegrationTestCase class, the main advantage would be that it'll spin up a fairly comprehensive Galaxy instance, if we provide the galaxy.yml and job_conf.xml to it. Of course, it'll be substantially slower so the mock option sounds like the better starting point.

Whoops, missed this issue, see #52.
It's missing some things let arbitrary specification of tool params or input sizes, you can basically only specify a tool ID and a username/email currently, but it's a start.

Thank you @natefoo :relaxed:

Closed by: https://github.com/galaxyproject/total-perspective-vortex/pull/52
Have moved the suggestion for providing an explanation, as an enhancement here: https://github.com/galaxyproject/total-perspective-vortex/issues/55


Migrate XMPP notify platform to asyncio

Home Assistant release with the issue:

A while
Operating environment (Hass.io/Docker/Windows/etc.):

Needs to work on all.
Component/platform:
https://www.home-assistant.io/components/notify.xmpp/
Description of problem:
Currently we use sleekxmpp which doesn't support asyncio and has some issue which could become relevant in the futures. The integration should be migrated to a different Python XMPP module. E.g., slixmpp or aioxmpp.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
notify:
  - name: NOTIFIER_NAME
    platform: xmpp
    sender: YOUR_JID
    password: YOUR_JABBER_ACCOUNT_PASSWORD
    recipient: YOUR_RECIPIENT

My idea would be by refactoring this component also to integrate httupuload with a Python project like
https://github.com/sezuan/uploadr
Fir the moment I use this upload component with shell scripts but would be nice having this wrapped around xmpp component to be able to also send pictures / media like with telegram

I'll give that a go!
not sure if the HTTP-upload feature will be part of the first PR, but let's see.


.

.

I dig it.

lol, I love how accurately the description describes the fix 👍

Haha, this cracked me up. How is everyone?

Busy as ever but loving every moment of it so I'm not complaining.
What are you guys up to these days?

I broke master :(
:D Been doing well. Living life, learning a lot - just kicking off a new gig at Heroku which is quite fun. Believe it or not, I reminisce back on the learnings from Pullup quite often!

That's cool @josephwegner - I'm a huge Heroku fan, although the dyno sizes don't work that well for us anymore since our projects are Java based and like more memory than what's available.
Over the last year or so I learned Unity, wrote a couple games, and am just now doing a big project with https://flutter.io/ which I highly recommend (with a couple specific reservations).

That sounds awesome, I have been meaning to look into game dev for ages just to build simple things but never got round to it.
We use heroku as well for an api written in elixir. I have only worked with heroku for a month so far but I already see it's a really neat platform and really simple to automate stuff with. Not like a bunch of the .net stuff I have previously been working with, though azure has helped with those pain points a bit.


Add special assignment operators

C# has a series of operators that can be used to shorten statements when performing actions on a variable. Documentation of which can be found at this link. It'd be nice to have this in scriban.
Increment ++
Increment a value by 1
var number = 1; number++;
Decrement --
Decrement a value by 1
var number = 1; number--;
Addition +=
Add <left> to <right> for numbers, or append <right> to <left> for strings.
var number = 1; number += 1;
var text = "Hello"; text += " World";
Subtraction -=
Subtract <left> from <right>.
var number = 1; number -= 1;
Multiplication *=
Get the product of <left> and <right>.
var number = 2; number *= 2;
Division /=
Get the quotient of <left> and <right>.
var number = 2; number /= 2;

Personally no spare time left, but PR welcome


Error: Unknown chat model ***

Under windows 10 x64, with latest Ollama,
on command consol when i type "aichat.exe" + ENTER, i have this message :
Error: Unknown chat model 'ollama'

Your configuration is incorrect.
There are two ways to handle it. All need to edit <aichat-config-dir>/config.yaml
1. Change model
Update model field
-model: ollama
+model: <any-valid-model>  # such as `openai:gpt-4o`

2. Add ollama client
Please add following client configuration
clients:
  - type: openai-compatible
    name: ollama
    api_base: http://<IP_ADDRESS>:11434/v1

@sigoden i'm facing this issue as well even with this minimal config file:
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml

model: openai:gpt-4o
# clients:
# - type: claude
#   api_key: null
# prelude: role:navi-4o


Add Tekton-owned Container struct

Changes
This commit copies the Container struct from Kubernetes into Tekton, and
replaces Task.Step.Container, Task.Sidecar.Container, and Task.StepTemplate
with this new struct. This change breaks the Tekton Go libraries, but does not
require any changes to the yaml that users provide. This should not change anything
for users who do not use the Go libraries.
The reason for this change is to have more control over our Task API. For example,
we may want to modify the Container fields we support (e.g. #4737), or change fields to string types
to allow them to be parameterized (e.g. #4080). This commit is the first step towards being able to make changes
to parts of the Task API embedded in Container.
Part 1 of #4737
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

n/a Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in
(if there are no user facing changes, use release note "NONE")

Release Notes
[Change to Go libraries]: Task.Step, Task.StepTemplate, and Task.Sidecar now use v1beta1.Container

Would it make sense to have two different struct for sidecars and steps ? (sidecars container would be step container + some things like readinessprobe, *probe …)

Yes that's definitely where I see this going but I didn't want to remove any fields of the Step container yet (might need a TEP). But I can create two identical structs for sidecars and steps that we can later change, what do you think?

I see v1alpha1.Container, any reason for changing code in v1alpha1 ? (I guess it might be because we "share" the Step struct)

Yeah pretty much because we share the Step struct. I could update the v1alpha1 Step to just copy over all the fields of the v1beta1 step but then we have to keep them in sync. Open to doing that though.

fwiw, I'd lean towards copying over to v1alpha1 normally, but I'm not sure if it's worth it given that TEP-0105 is starting to come together for actually removing v1alpha1. Given that, the additional work involved in copying over and keeping in sync for the time being may not be worth it.

I didn't want to remove any fields of the Step container yet (might need a TEP)

Happy to discuss if folks disagree, but in general I don't think deprecating a "feature" like, e.g., readinessProbes on a step container, should require a TEP. We should signal deprecations of these fields, wait 1+ release, and remove them. Especially so for things like terminationMessage which just silently don't do anything -- there's no way to use that correctly today.
If we think eventually we'd like to get to a spot where the Step and Sidecar types just have all the fields they reasonably could need and don't embed a Container type (even if it's owned by us), then I think we should just go straight to that and not incur the churn on ourselves and Go-API-consumers in having to account for two breaking type changes.

fwiw, I'd lean towards copying over to v1alpha1 normally, but I'm not sure if it's worth it given that TEP-0105 is starting to come together for actually removing v1alpha1. Given that, the additional work involved in copying over and keeping in sync for the time being may not be worth it.

That's fair-- I wasn't sure if it would be more work to continue to alias v1alpha1 types to v1beta1 types, or to copy the old v1beta1 struct over to v1alpha1 so I wouldn't have to modify the v1alpha1 tests. I already did most of the grunt work though for pipelines -- when you're talking about the work to support this are you anticipating that this will be more difficult for the CLI team?

I didn't want to remove any fields of the Step container yet (might need a TEP)

Happy to discuss if folks disagree, but in general I don't think deprecating a "feature" like, e.g., readinessProbes on a step container, should require a TEP. We should signal deprecations of these fields, wait 1+ release, and remove them. Especially so for things like terminationMessage which just silently don't do anything -- there's no way to use that correctly today.
If we think eventually we'd like to get to a spot where the Step and Sidecar types just have all the fields they reasonably could need and don't embed a Container type (even if it's owned by us), then I think we should just go straight to that and not incur the churn on ourselves and Go-API-consumers in having to account for two breaking type changes.

Point taken! I'd like to keep the scope of this PR to just swapping over the type definitions, and not deprecating anything. However, I created separate structs for Step and Sidecar containers to hopefully minimize churn. There's still a lot of copypasta so LMK if you'd prefer to see it done differently.

tests pass! 💪
/assign @vdemeester
/assign @imjasonh

That's fair-- I wasn't sure if it would be more work to continue to alias v1alpha1 types to v1beta1 types, or to copy the old v1beta1 struct over to v1alpha1 so I wouldn't have to modify the v1alpha1 tests. I already did most of the grunt work though for pipelines -- when you're talking about the work to support this are you anticipating that this will be more difficult for the CLI team?

We will remove support for v1alpha1 in the cli very soon, if this push us to do it a bit early, I am more than fine with it 👼🏼.

Especially so for things like terminationMessage which just silently don't do anything -- there's no way to use that correctly today.

Right, it's even more trickier than this. We use terminationMessage for Results, so as of today, this is very confusing to have / see in the spec.

If we think eventually we'd like to get to a spot where the Step and Sidecar types just have all the fields they reasonably could need and don't embed a Container type (even if it's owned by us), then I think we should just go straight to that and not incur the churn on ourselves and Go-API-consumers in having to account for two breaking type changes.

That's a good point. I think we use the Container type today on both because one is not clearly wrapping the other one. With owning the struct, I think we may see that Sidecar has all the Step type and more. If that's the case, and we feel that's always gonna be the case, we could just merge Step and Container in the same struct as you suggest.

Not sure which is worse, lots of copypasta or the potential for future additional breaking changes to the go libs (probably the latter?)

I'd personally go with copypasting in this case. I don't think there's much conceptual benefit in signalling "sidecars provide a superset of functionality of steps" and it sounds like we might not even believe that will continue to hold. It also means declaring the Go structs to be a little more awkward (Steps: []Step{{Container: Container{Image: "..."}, Script: "..."}} vs Steps: []Step{{Image: "...", Script: "..."}}).

Thanks for working on this, and for considering all these options as you do so 👍

sounds good-- I think this PR should be good to go then!

sounds good-- I think this PR should be good to go then!

I think with this latest change we should just drop the StepContainer and SidecarContainer structs, and move the fields directly into Step and Sidecar. WDYT?

Oh my bad, I understand now what you were suggesting. Will do, I'll comment here when I've made that change.

I'm thinking of keeping StepContainer so it can be reused in StepTemplate, but copying the container fields into sidecar as well, thoughts?

I'm thinking of keeping StepContainer so it can be reused in StepTemplate, but copying the container fields into sidecar as well, thoughts?

Good question. Are there fields that make sense in a Step but not a StepTemplate, or vice versa? Can the type of StepTemplate just be Step?

I think "Name" wouldn't make sense in StepTemplate since steps can't have the same name. In addition, "timeout" is not currently present in StepTemplate, but it could make sense. so maybe these fields should be directly copied into stepTemplate as well, thoughts?

I think "Name" wouldn't make sense in StepTemplate since steps can't have the same name. In addition, "timeout" is not currently present in StepTemplate, but it could make sense. so maybe these fields should be directly copied into stepTemplate as well, thoughts?

Thanks for looking into it. It sounds like we should just copy these between the types that need them. I'm not sure we should add timeout to StepTemplate in this PR, but it's something worth keeping in mind for a future change.

I think "Name" wouldn't make sense in StepTemplate since steps can't have the same name. In addition, "timeout" is not currently present in StepTemplate, but it could make sense. so maybe these fields should be directly copied into stepTemplate as well, thoughts?

Thanks for looking into it. It sounds like we should just copy these between the types that need them. I'm not sure we should add timeout to StepTemplate in this PR, but it's something worth keeping in mind for a future change.

Agreed! I don't want to change the user facing API at all with this PR-- just mentioning timeout as something that could be added in the future.

@vdemeester @imjasonh I've addressed your feedback

Thanks for this!

Happy to help!
/test pull-tekton-pipeline-alpha-integration-tests
/test pull-tekton-pipeline-integration-tests


Honor repository field of tanzuCorePackageRepositoryImage

What this PR does / why we need it

Otherwise it's difficult to test changes made to core/repo image when
using a repository different from the one specified by tkr.
Details for the Release Notes (PLEASE PROVIDE)

Honor repository field of tanzuCorePackageRepositoryImage

Which issue(s) this PR fixes

Fixes: #
Describe testing done for PR

Special notes for your reviewer

Hi @tnqn - thanks for this. Good catch; we've actually already captured this change here: https://github.com/vmware-tanzu/community-edition/pull/3550/files#diff-cb0d359808f4dfee4568f8e685e9ca95b70a703b1cbd6328d0b390e6cf08159aR487-R490
Lots of in flight stuff happening right now but going to close this in favor of our bigger overhaul. Feel free to use your local copy of this for testing your package tho


Error extensions in "no framework" usage

Hi there,
first of all big thanks for providing this library which has been a big help and is a breeze to work with.
One thing I spent the last hour working on though which I think can benefit from some more documentation is the fact that we won't get custom error extensions displayed without the use of an explicitly set formatter. I eventually found #134 and the PR that adds this to the Laravel package, but it is not obvious at all, especially as the docs tell you that it should "just work".
So adding this to my bootstrap code, using the Webonyx StandardServer, made it work:
$serverConfig->setErrorFormatter([WebonyxErrorHandler::class, 'errorFormatter']);
$serverConfig->setErrorsHandler([WebonyxErrorHandler::class, 'errorHandler']);

I think mentioning this in the "no framework" part of the documentation would be a big help for anybody like me trying to get it running standalone 👍
Thanks!

Absolutely! I'll keep the issue open until I find some time to fix this. Thanks for notifying us!


writetable should take an output stream as an argument

Looks like the writetable function only takes a string as an argument for the destination. It would be nice if it could write to any stream, especially for cases where you want to write straight to stdout like
writetable(STDOUT, data)

I would imagine it's a pretty simple addition. I can take a hack at it.

Ah, I see there's a printtable function. However, there's no docstring for it and it's not listed as an option in the documentation.

The I/O functionality in this package will actually be removed in the next release of DataFrames. Instead we encourage people to use CSV.jl.

Is there an issue where that's being discussed? It doesn't seem very intuitive for users that they would need a separate package for IO, just as a first impression. The R and Python data table libraries don't separate the functionality.

(Also note that this issue is a duplicate of #1011)

Is there an issue where that's being discussed?

Hm, I'm actually not sure where that was decided. @nalimilan and @quinnj, can either of you shed some light on that?

I think discussions are scattered since it's an old issue. Basically we want to use DataStreams to support reading from and writing to any input format on the fly. CSV.jl already does that and is more efficient than readtable. We could still reexport the required functions from DataFrames, but installing a small package with an explicit name doesn't sound like a big deal.

I've actually always imagined having DataFrames require CSV.jl, but I guess that's not strictly necessary. It might be good though, since csv is probably the primary type of IO for a dataframe.

I would agree with that sentiment. It just lowers friction for people who want to do data manipulation quickly and I think it would help adoption.


[Bug] Incorrect potential graph values for edited character scoring weights

This needs more investigation but copying the bug report from discord so it doesnt get lost:

Deployed in https://github.com/fribbels/hsr-optimizer/pull/370


add test coverage for cli aws update-server

Coverage: 94.254% (+0.04%) from 94.216% when pulling e070a6badb39675e98890379ed79eb14ec7d6fee on tony-add-test-coverage-cli-aws-commands into 5cdba192851703a08d878ca27ec8d169c83c23cf on main.


PFC security setting failed in PB2022 Build1900

Hi Master,
I urgently needed assistance on the configuration of pfc security. The menu went haywired (see picture). "Before" picture is the original. "After" picture is the after configuration. The other of icon/menu also went missing after i invisible m_operations only.  "Settings" picture is to show you what i had set.
"Weird" picture is the second issue, this error pop when i click save. And you noticed there is a blank row with 'Enabled' setting.
Please help. Thank you very much

I responded to your post under Discussions.


Package request: ffq

Project description

Tool to find sequencing data and metadata from public databases
Metadata

homepage URL: https://github.com/pachterlab/ffq
source URL: https://github.com/pachterlab/ffq
license: mit
platforms: all

Add a :+1: reaction to issues you find important.

PR: #344512


Get list of mocks with state

Restfully obtain details of mocks registered, invoke counts,etc.

Added initial structure to give full representation of what's registered.


Release v0.10.1

What do these changes do?

Related issue number

Fixes

Codecov Report

Merging #1308 (76c3199) into main (97d12bf) will decrease coverage by 40.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1308       +/-   ##
===========================================
- Coverage   73.60%   33.58%   -40.02%
===========================================
  Files          88       88
  Lines        9508     9508
===========================================
- Hits         6998     3193     -3805
- Misses       2510     6315     +3805

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_lazy.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_cython_ast.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_serailaize.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...aphscope/tests/kubernetes/test_resource_builder.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/tests/unittest/test_app.py
0.00% <0.00%> (-98.44%)
:arrow_down:

python/graphscope/analytical/udf/patch.py
3.47% <0.00%> (-96.53%)
:arrow_down:

...thon/graphscope/tests/unittest/test_scalability.py
0.00% <0.00%> (-96.16%)
:arrow_down:

...hon/graphscope/tests/unittest/test_create_graph.py
0.00% <0.00%> (-92.00%)
:arrow_down:

...on/graphscope/tests/kubernetes/test_demo_script.py
0.00% <0.00%> (-91.75%)
:arrow_down:

python/graphscope/tests/unittest/test_graph.py
0.00% <0.00%> (-84.79%)
:arrow_down:

... and 48 more

Continue to review full report at Codecov.

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


[promptflow-azure-ai-language] Update package documentation and example flows.

Description
Azure AI Language has developed a promptflow custom tool package promptflow-azure-ai-language to expose Language capabilities to users. This contribution request updates the package's docs and examples per the contribution guidelines listed here.
Please see this older issue and PR for contribution level 1.
See current issue here.
All Promptflow Contribution checklist:

[X] The pull request does not introduce [breaking changes].
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.
[X] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

Please rebase main for the doc CI failure, we have fixed it.

Still awaiting review. Commenting for visibility.


Is it possible to modify the Toast position?

I want to show the toasts at the bottom right corner. Is it possible?
match result {
          Ok(_) => {
            toaster.toast(Toast {
              title: "Success".into(),
              body: "Exercise created".into(),
              timeout: Some(Duration::from_millis(2000)),
              ..Default::default()
            });

            navigator.back()
          }
          Err(_) => {
            toaster.toast(Toast {
              title: "Error".into(),
              body: "All of fields are necessary".into(),
              timeout: Some(Duration::from_millis(2000)),
              r#type: patternfly_yew::Type::Danger,
              ..Default::default()
            });
          }
        }

Currently, I don't recall that there is an option.  If Patternfly supports this, I think it makes sense adding this option.
Could you create a PR for this?

Yeah maybe, but need some time to check this.


Saving kittens by capitalizing .NET correctly

@danroth27,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@danroth27 : Thanks for your contribution to the Azure documentation! The author, @jasonwhowell, has been notified to review your proposed change.

#sign-off


Fix hanging DCP tests when running locally

For a while now, when running locally, some of the DCP tests hang forever. These tests are skipped on the CI so they don't get caught. We should have a timeouts so it's likely a poorly written test.

@ReubenBond ,  is this something you are investigating for 8.1?

The underlying hang issue has been resolved.   @karolz-ms , can you open a new issue for designs involving multiple DCP processes and tests.

Done https://github.com/microsoft/usvc/issues/158


Assignment and Comparison visualizers are not triggered in SeedLang.Shell

In SeedLang.Shell, it seems there is no visualizer output during an assignment operation or a comparison operation:
dotnet run --project src/SeedLang.Shell -- --visualizers=All
SeedLang.Shell 0.2.0-preview20220222142217
Copyright 2021-2022 The SeedV Lab.

>>> a = 3 + 4
---------- Source ----------
a = 3 + 4

---------- Run ----------
a = 3 + 4
Binary: 3 + 4 = 7
>>> a
---------- Source ----------
a

---------- Run ----------
a
Eval result: 7
>>> if 5 > 3:
...   b = 3
...
---------- Source ----------
if 5 > 3:
  b = 3

---------- Run ----------
>>> if a > b:
...   a = 2
... else:
...   a = 3
...
---------- Source ----------
if a > b:
  a = 2
else:
  a = 3

---------- Run ----------
>>>

As in the above example, only "Binary" and "Eval" visualizers are triggered.

These visualizers haven't been implemented in SeedVM, will consider later.

It seems this issue is obsolete. Closing it...


Error installing verdaccio

When you try to install verdaccio using npm, you will get this error code:
npm ERR! 404 Not Found<EMAIL_ADDRESS>Besides, if you try to install any other package under @verdaccio/xxxxxx you will get a 404. I guess it is a problem after the migration to @verdaccio/monorepo
I'm using this versions of node and npm:
node --version
v10.11.0
npm --version
6.4.1
I'm working with Windows 10 x64 version 1909

Please see https://status.npmjs.org/

We can not do much. Alternatively you can use the Docker version which is hosted on Docker Hub.

Closing as this should be resolved later today and this is a general issue with npmjs - we have no control over this. You may want to use npm install --global --force verdaccio to bypass local caches.


I want to improve UI of your calculator

The calculator's height and width are excessively large, and the dimensions of the buttons are not appropriately sized. This can make it difficult for people to use the calculator.

yes, you are right @shubham914201
The UI of this repo is not dynamic or even not supported in different screen size. If you want to enhance the UI using media query, tailwindcss or what ever you preferred or add any more feature you can do. thanks for showing the interest , just start contributing & give a star to this repo to show your support .
Happy hacking ^^

Assign me
On Sun, Oct 8, 2023 at 3:14 PM Md Tajuddin @.***> wrote:

yes, you are right @shubham914201 https://github.com/shubham914201
The UI of this repo is not dynamic or even not supported in different
screen size. If you want to enhance the UI using media query, tailwindcss
or what ever you preferred or add any more feature you can do. thanks for
showing the interest , just start contributing & give a star to this repo
to show your support .
Happy hacking ^^
—
Reply to this email directly, view it on GitHub
https://github.com/Sar-taj107/Basic-Calculator/issues/10#issuecomment-1751978662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BC7RRH5XTLRFGJKBQMYBFZ3X6JYXLAVCNFSM6AAAAAA5XRX5SOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRHE3TQNRWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Fix DistribtuedLoad CLI Output and dump failed files to local csv

What changes are proposed in this pull request?
Fix the CLI output of distributedLoad command
Why are the changes needed?
With batch, the output of distributedLoad command output is having wrong file count. And there's no way for user to parse the output and get failures. S
Does this PR introduce any user facing changes?

change in user-facing CLI
If there's failure in the execution, there would be additional output as the following:
Here are recent failed files:
/a/b/c,
/a/b/d,
Check out logs/user/distributedLoad_PATH_failures.csv for full list of failed files
(PATH here would be the underscore separated path of distributedLoad command, for example if path is /a/b/c, then the failure file would be in logs/user/distributedLoad_a_b_c_failures.csv)
Output file format would be one failure file name per line without header:
/a/b/c
/c/b/a

@jja725 could you include a sample output in the description of the PR?

the test is action timeout due to installing tarball, which seems irrelevant. added output in the description.

Error: 8.301 [ERROR] Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3.877 s <<< FAILURE! - in alluxio.util.JvmPauseMonitorTest
Error: 8.307 [ERROR] alluxio.util.JvmPauseMonitorTest.testMockedInfoPause  Time elapsed: 1.506 s  <<< FAILURE!
java.lang.AssertionError

Error: 1.529 [ERROR] Errors:
Error: 1.530 [ERROR] alluxio.client.cli.JournalToolTest.dumpHeapCheckpointFromEmbeddedJournal
Error: 1.530 [ERROR]   Run 1: JournalToolTest.dumpHeapCheckpointFromEmbeddedJournal » Runtime java.lang.Runt...
Error: 1.530 [ERROR]   Run 2: JournalToolTest.dumpHeapCheckpointFromEmbeddedJournal » Runtime java.lang.Runt...
21:08:21.531 [INFO]
Warning: 531 [WARNING] Flakes:
Warning: 531 [WARNING] alluxio.client.cli.job.DistributedCommandsStatsTest.testAsyncPersistCancelStats
Error: 1.531 [ERROR]   Run 1: DistributedCommandsStatsTest.testAsyncPersistCancelStats:197 » Timeout

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.7 please


"WARNING: Error loading config file:EOF" when running any docker command

I just upgraded Docker to 1.9.1 using the Docker Toolbox on OS X (first time installing using the Toolbox), and now anytime I run any docker command I get the following message as the first line of output:
WARNING: Error loading config file:EOF

For instance, this is the output when I run docker version:
$ docker version
WARNING: Error loading config file:EOF
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      darwin/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

All the commands seem to run fine, but it would be nice to get rid of that warning, and I'm not sure if it will effect any functionality.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Looks similar to https://github.com/docker/docker/issues/17727

Error is generated here; https://github.com/docker/docker/blob/375f754f49ee6e9de942816a47a21a715fe3bacb/api/client/cli.go#L90

Could this be as simple as removing an outdated configuration file somewhere?

@sgerace I've not ran into this issue myself, but you can try moving that file (if it exists), I think it should be in ~/.docker/config.json. It's a hidden directory, so you can navigate to the directory using CMD+SHIFT+G in the finder, and entering ~/.docker/ to open the directory

So, I moved the file and when I ran docker version again a new config.json was created in ~/.docker/ and it was empty. Just out of curiosity, I modified the file to be valid json by simply making the contents:
{}

and sure enough that fixed the issue. I'm not sure why an empty config.json file is created, but at least the warnings are gone ;-)

hm interesting indeed. removing the file should also be OK (I think), but strange that an empty file ended up there

I found this issue too.
Deleting the empty file in ~/.dockercfg solved the problem.
This came when I updated from Docker 1.8.1 to Docker 1.9.1 using wget -qO- https://get.docker.com | sh

thanks @chipironcin

ping @duglin any idea how we end up with an empty .dockercfg file?

@chipironcin did you see the EOF error message or did it say something like The Auth config file is empty ?
@sgerace what version of Docker were you upgrading from?

@duglin Invalid Auth configuration or Could not open the config file I dont remember well.
It can also happened when I rant out of space, Docker couldnt write to the file leaving it blank, leading to these errors.

@duglin I'm not 100% sure, but I know it was a version before the Docker Tookbox was introduced (since I still have boot2docker installed). I want to say it was something around 1.6 (I know, its been awhile).

@sgerace do you think it's ok if we close this issue? I see @duglin improved the error message so that it's easier to find which file is empty; https://github.com/docker/docker/pull/18694

@thaJeztah Yep, okay with me to close. Thanks!

Thanks @sgerace!


Reference Salinity for Salinity normalization

Currently the reference salinity for salinity normalization is the mean salinity for the assessment area in question. It need to be corrected to a given salinity by contracting parties related to the assessment threshold.

We can let you have the reference salinities (when appropriate) for our COMP3 assessment. I've uploaded them extracted from Karin W's report. IIRC, chlorophyll/salinity has a bell-shape in the Kattegat and Skagerrak so we don't normalise it
SE_COMP3_tables.pdf
.

Whoops - I shouldn't have clicked "close"....


Unable to deploy static app

The content server has rejected the request with: BadRequest
Reason: No matching Static Web App was found or the api key was invalid.
i have updated the latest deployment token even though the above error on github action

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

I have the same issue.
I have a Teams Tab App using React and Fluent UI running on Node.js v18.
I created it using the Teams Toolkit default template.
When I make a commit to my branch, it runs the GitHub actions but they fail with the same error.
However, when I hard code the secret into the GitHub workflows .yml file, it works.
It seems that my secrets are not being passed into the .yml file when GitHub runs the action.
I don't know how it's supposed to get this secret when its encrypted in my .env.dev.user file locally on my computer and does not get committed into the git repo (as secrets shouldn't be committed into git repos)
Anyone know how to securely pass the secret into GitHub Actions??
Is there a way to set environment variables on the GitHub Action workflows??

if i already make this, and still not working, what can i do?

I have also experienced this error, same troubleshooting approach was used--error has yet to be resolved.


Fixed #25308 -- Make MigrationQuestioner respect MIGRATION_MODULES setting

Updated MigrationQuestioner to use MigrationLoader.migrations_module to insure it is retrieving modules consistently with the rest of the migrations process.
See https://code.djangoproject.com/ticket/25308

buildbot, add to whitelist.

merged in<PHONE_NUMBER>f512d33909cb766563328c6b171578, thanks!


@GraphQLDescription doesn't work on Enums?

package com.cubetutor.api.graphql.types.enums

import com.expedia.graphql.annotations.GraphQLDescription

@GraphQLDescription("testA")
enum class DeckType {
    @GraphQLDescription("testB")
    DRAFT,
    @property:GraphQLDescription("testC")
    SEALED,
    WINSTON_DRAFT, GRID_DRAFT
}

=>
enum DeckType {
  DRAFT
  GRID_DRAFT
  SEALED
  WINSTON_DRAFT
}

in the schema.
Elsewhere I see my annotations that are attached in much the same way to data classes working fine:
@GraphQLDescription("A deck.")
data class Deck(
    @property:GraphQLDescription("ID of this deck.")
    val id: Int,
    ...

=>
#A deck.
type Deck {
  #Bot count.
  botCount: Int
  #DeckType of this deck.
  deckType: DeckType!
  ...

Is something extra needed to support these annotations on Enums? Or are Enums not supported? Or did I mess something up?
(I also seem to have this problem on my top-level query, CubeQuery, but all the objects work great.)
Schema is produced like this:
        val schemaConfig = SchemaGeneratorConfig(
            supportedPackages = listOf("com.cubetutor.api.graphql"),
            topLevelQueryName = "CubeQuery",
            topLevelMutationName = "CubeMutation",
            dataFetcherFactory = ResolverFactory()
        )

        val schema = toSchema(
            queries = listOf(TopLevelObjectDef(CubeQuery())),
            mutations = emptyList<TopLevelObjectDef>(),
            config = schemaConfig
        )
        println(SchemaPrinter().print(schema))

Looks like a bug, looking into it atm.


Expirements not showing in Web

Sixpack 2.20
I'm running sixpack on :5000 and sixpack-web :5001 on a local vagrant instance. Forwarding ports 5000 and 5001.
curl 'http://localhost:5000/participate?experiment=new-header&alternatives=red&alternatives=blue&client_id=123'
{
  "status": "ok",
  "alternative": {
    "name": "red"
  },
  "experiment": {
    "name": "new-header"
  },
  "client_id": "123"
}

curl http://localhost:5001/experiments.json
{
  "experiments": []
}

Nothing shows up in the web dashboard or experiments.json endpoint.

Do you always get red regardless of client_id? My initial suspicion is that for some reason the participation isn't being recorded in Redis.

Just ran again
curl 'http://localhost:5000/participate?experiment=new-header&alternatives=red&alternatives=blue&client_id=1234'
{
  "status": "ok",
  "alternative": {
    "name": "blue"
  },
  "experiment": {
    "name": "new-header"
  },
  "client_id": "1234"
}

I'm suspicious of redis too. The box is running
Redis server v=3.0.7 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=49ffd7ce21c94625
Do you know what the redis key is, I can try and query in the cli to see if anything is in there

The entire keyspace is defined here.

These are the redis query results
<IP_ADDRESS>:6379> GET e
(nil)
<IP_ADDRESS>:6379> GET sixpack:e
(nil)
<IP_ADDRESS>:6379> HGETALL e:new-header
(empty list or set)

I re-created a VM and made sure to install python and redis BEFORE installing sixpack. That seemed to fix the issue!


handle LZW decompression edge case

This fixes an issue with one image that seemed to be lacking trailing zeros in the input stream

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (531eb14) 93.00% compared to head (ae20193) 93.04%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
+ Coverage   93.00%   93.04%   +0.03%
==========================================
  Files          13       13
  Lines        1087     1093       +6
==========================================
+ Hits         1011     1017       +6
  Misses         76       76

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

Would be good to add that image to test suite so we don't introduce a regression in the future

thanks!


Apple Pay Setup Doc via Ngrok

ApplePay Local Setup Doc Link

Is the local setup also there? Via local host I can do the changes and test it?
@ArushKapoorJuspay


feat(chardetng-wasm): pulling chardetng-wasm package into Opensphere

Test Steps:

Ensure OS builds
Ensure tests run successfully
Try adding a binary file to OS. It should be detected as 'text/plain'

Note, chardetng-wasm is not built with Emscripten and as such, it doesn't have the same fallback for non-streaming wasm compilation. You need your dev server to return application/wasm for .wasm files.
Here's the config for nginx:
http {
  types {
    application/wasm wasm;
  }
}


Cache add method does not return whether the value was set

I need that for lock based on cache:
aquire_lock = lambda lock_id: cache.add(lock_id, 'true', LOCK_EXPIRE)

But with cache from werkzeug I cannot know whether lock was aquired.

Fixed in 0.10, since January.


Question: How does one generate the JsonSchema "required" field

Hello
F# beginner here.. I was playing with generating a Json Schema from a simple record type. To my understand all record properties are required, but this isn't reflected in the generated JsonSchema using the "required" field (https://json-schema.org/understanding-json-schema/reference/object.html#required-properties)
What I have seen the underlying Njsonschema should support this using DataAnnotations, but I am not sure if this is the way to go here. Anyways, I guess I am missing something, I would appreciate if you can point me towards the right direction.
Thanks!

I'm not sure. If you can test using data annotations and let me know, I'd appreciate it. I haven't needed that yet, so I hadn't made any tests for it. We should probably add tests for these kinds of things and then address them.

I'm not sure. If you can test using data annotations and let me know, I'd appreciate it. I haven't needed that yet, so I hadn't made any tests for it. We should probably add tests for these kinds of things and then address them.

I'm thinking of using the Option<'T> type as a means to determine what is and isn't required. Would that work?

I'm thinking of using the Option<'T> type as a means of determining what's required. What do you think? NJsonSchema attributes should also work as that is the underlying engine for generating the JSON Schema.


How to control free joint with actuators?

I am using mujoco_py to build a simulation for a hand. I have some some floating fingers that I want to control using actuators. How do I control a free joint that has 7 DOF (x,y,z, rotation quaternion) with acuators? From my understanding each actuator can control only 1 degree of freedom. My end goal is to have a position and orientation desired for each finger and move it there with the actuators.
Thanks for the help!

There are multiple ways of doing this.
The simplest one is to use mocap bodies. These are kinematic bodies whose position and orientation is set by writing into data.mocap_{pos,quat} (rather than data.ctrl). Since these bodies have no velocities, it is usually recommended to put a weld between the mocap body and the actual free body you want to control, but you can try first without the weld.
If this approach doesn't work for you, write back here and we will follow up.
NB the composite example models all have a mocap body that you can play with:

Thank you very much for the prompt response, this looks useful I have been playing around with it. Just to follow up quickly, when setting the mocap_pos the body teleports to this new position, as opposed to using actuators where the body would gradually move over to the desired location. Is there a way to mimic this continuous movement to a new position or do you recommend I just manually set the object's position interpolating between start and end position? To clarify I'm trying to avoid the body teleporting around the scene.

That is correct, mocap bodies "teleport"; they have no velocity.
As indicated above, one way of reducing this unrealism is by having two bodies. The non-colliding mocap body is used as a control target, similar to the semantics of a position actuator, w.r.t a proper, colliding free body which is welded to it. The weld constraint applies a wrench to keep the free body attached to the mocap body, but the free body participates in the dynamics. Note that like all constraints, welds can be softened and otherwise tweaked with solimp and solref.
That said, interpolating is easy and I would probably try it first. Depending on your timestep, this might be a good solution. This is essentially what is happening in the GIF above, where the mouse-controlled mocap body is moving smoothly enough for the small jumps to not be an issue.

Hi, I am trying to run the examples for composite objects. I am using Ubuntu 22.04 and installed mujoco from here. Simulation is launching all right but I am not able to interact with the mocap. It does not move using the mouse or with any combination of keys with the mouse.
Any suggestion or help?

Double click to select, then move as usual (rotate:ctrl-left-drag, translate:ctrl-right-(shift)-drag)

I am not able to drag in z direction. I have tried looking for limit parameters or some constraints but didn't find any. Is there any way I can drag the mocap in z direction?

Don't press shift.
The new video here might be helpful.

Got it, Thank you :)


WSL --install fails with unknown error code (0x80240066)

Version
Microsoft Windows [Version 10.0.22000.1335]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --install
Expected Behavior
wsl --install should install newest version of wsl (new machine with windows 11 version 21H2)
Actual Behavior
Installing: Windows Subsystem for Linux Error: 0x80240066==========90.0%=====================      ]
The same error number is reported by The windows store or winget.
Diagnostic Logs
I've tried to look at the issue https://github.com/microsoft/WSL/issues/9039
I'm not sure it's a duplicate since he is running wsl --update while I'm not even able to install wsl.
I can imaging the root cause is the same but I don't know how to verify this.
I've installed wsl for 5 times in the last year and a half (testing different machines) and haven't had an issue like this before.

/logs

Thanks for your reply, attached are the log files.
WslLogs-2022-12-28_08-05-53.zip

Thanks @omri-ratson.
Based on the logs it looks like your account doesn't have sufficient permissions to install WSL. Is it an administrator account ?

This is my employer's workplace machine.
The way Windows is configured for us is that every time you open software that requires an administrator level of permissions we are prompted with a popup window to allow it as a non-administrator user and you do get administrator permissions for running it.
I've run the wsl --install command with the Windows Terminal as Powershell in "Run as administrator" mode.
It always worked for me before.
I also tried to run this command with the IT department with their user which is an Administrator on the same machine but got the same error.

Hi,
--web-download parameter worked for me
Seems something wrong in the packet present locally

I had a similar issue
I have a new computer and this the first time to install
I was running power shell with Administrator
First I ran: wsl --install and it failed with Error: 0x80240438
I tried wsl --install --web-download, it said the subsystem installed successfully, then it started installing linux distro, then it failed with Error code: Wsl/InstallDistro/0x80240438
Please help.
CMD:
wsl --install
Output：
Error: 0x80240438           0.0%                           ]
Error code: Wsl/InstallDistro/0x80240438
WslLogs-2023-06-20_22-44-57.zip

try to run
wsl --update --web-download

Thanks to @felipementel this worked for me:
wsl --install --web-download


Add ability to export everything

This branch depends on the feature/export-all branch in frodo-lib.

Merged into rockcarver main


Track progress of upstream Editor access issue

Descriptive summary
Keep an eye on: https://github.com/samvera/hyrax/issues/1742
Also see if the upgrade to beta4 in #143 happens to fix the issue.
Related work
#143

@VivianChu - assigning to you just for overall responsibility of making sure we don't lose track of this.


CS1955: Non-invocable member 'Microsoft.Dynamics.Nav.Runtime.NavTestField.ALCaption' cannot be used like a method

I am trying to publish with my testcodeunits with the build . But i am unable to publish the package. Can somebody tell me what is the reason behind this .Please find the attachment

Al compiler version : 0.17.22710
Nav build : 13.0.22815

Hi @srinivasbanny,
It looks like you have a TestField which you call the procedure Caption on in Codeunit 70011509.
If you could please find the code and send back a small snippet so we have a clear repro of the problem, since that makes it much easier to fix.

@thpeder  i didn't find the testfield anywhere in the test codeunit .but what i observed is the normal procedures and handler procedures are in different order i made them in the order
but still i am facing the same issue .please suggest

@thpeder  i found the issue in my code i am verifying the caption of the control in page .if i comment my below code it is running properly ,but if we can check the code in standard
Referance : testcoduenit no. 134327 procedure PurchaseAnalysisMatrixRequestPageHandler() i am doing the same way to my code .

Mycode:
Assert.AreEqual(SendEmailAlertonTimesheet,TimesheetConfig."EmailAlertOnApproval PGS".CAPTION,RecordsMisMatchErr);

@srinivasbanny I don't think there is a workaround for you to get the caption.

Hello @thpeder, any progress on this bug?


 But if I request same url in Postman, it returns the correct status code.
So how can I get the correct status code?

Okay I found this in one of the pull requests.
It is on the line 163.


An embarrassing issue

Sorry for my disturbing. I'm a student, and I'm interested in dubbo-go-pixiu. Besides, I'm also planning to apply for the ospp program instructed by @xiaoliu10 but I have some troubles. I've sent an email but didn't receive after three days. So I'll really appreciate it if I could get in touch with the mentor @xiaoliu10 . Sorry for my bothering again!

hi, my fault, have you found the subject now?

my dingding num<PHONE_NUMBER>7 @lbh2001

my dingding num<PHONE_NUMBER>7 @lbh2001

Fine.


Ambiguous use of "cornerRadius"

i use pod TagListView, and Xcode call me: ambiguous use of 'cornerRadius'. How to solve it ?

Hi @Ins0mn1aUA  did you find any solution ?

Hi, @danielrobleM :)
I have the same one. In main project I've this error, in another test projects all works fine. Still don't know how to solve this problem.

For me, that is because I used SwifterSwift which has a extension named cornerRadius. Perhaps the author could try to modify the name to solve this problem.
    /// SwifterSwift: Corner radius of view; also inspectable from Storyboard.
    @IBInspectable var cornerRadius: CGFloat {
        get {
            return layer.cornerRadius
        }
        set {
            layer.masksToBounds = true
            layer.cornerRadius = abs(CGFloat(Int(newValue * 100)) / 100)
        }
    }

If you still want to use SwifterSwift, you could set cornerRadius by yourself:
        tagListView.tagViews.forEach {
            $0.layer.cornerRadius = 8
            $0.layer.masksToBounds = true
        }

use taglistview.setValue(5.0, forKey: "cornerRadius") to avoid this question


feat(inputdropdown): revert @emotion/babel-plugin changes

Summary
InputDropdown
Github issue: #395

LGTM 🙏🙏🙏 Thanks so much for reverting this, Masoud! You're such a hard worker 🔥 Have an amazing night!

Aah, Thanks for reviewing it so fast, Timmy 😍


Pinned dependencies check in Dockerfile does not handle build args

Describe the bug
The Pinned Dependency check is reporting a false positive for Dockerfile entries with a build arg and multi-stage build.
Reproduction steps
Steps to reproduce the behavior:
With the following Dockerfile:
ARG REGISTRY=docker.io
ARG GO_VER=1.21-alpine@sha256:110b07af87238fbdc5f1df52b00927cf58ce3de358eeeb1854f10a8b5e5e1411

FROM ${REGISTRY}/library/golang:${GO_VER} as golang
#...

FROM golang as tool1
#...

FROM golang as tool2
#...

Each of the FROM lines are reported as non-pinned.
Expected behavior
The described FROM lines should all indicate they are pinned.
Additional context
The registry.example.org/repo:tag@digest syntax is a pinned dependency, the digest is used and tag will be ignored by runtimes pulling the image.

Couple of questions:

The values are just the defaults right? You could technically pass --build-arg GO_VER=latest and not pin?
https://docs.docker.com/engine/reference/builder/#arg
Do most people tend to use the ${foo} vs. $foo syntax? https://docs.docker.com/engine/reference/builder/#environment-replacement

Couple of questions:

The values are just the defaults right? You could technically pass --build-arg GO_VER=latest and not pin?
https://docs.docker.com/engine/reference/builder/#arg

Yes, they are the default values. In my case, the build runs with the defaults, but it's also possible that injected values could be pinned and the default values are latest.

Do most people tend to use the ${foo} vs. $foo syntax? https://docs.docker.com/engine/reference/builder/#environment-replacement

Both are valid/used, I'm not sure if either has more usage. When nested in a string, the ${foo} syntax is useful to denote the variable name from the rest of the string.

@laurentsimon handled this partially in #710, and also brought up the --build-arg debate:

ARG is given via a command line. The ARG may be pinned, but dependabot is enable to update a pinned script command.
So it seems like intended result. wdyt?

Laurent, do you still hold this view? To some extent, I think this falls under "maintainers aren't trying to game scorecard", but I'm not as familiar with Dockerfile semantics. In terms of how many people tend to build with defaults, vs having them but injecting build args anyway.

I think so. It's impossible for scorecard to determine if the ARG was pinned or not. Maybe we need a specific probe for folks to turn off if they want to?

Pitching in with similar issue, with the difference that the default is pinned, but of course ARG could be overridden completely.
This flexibility is allowing developers to override it but 99% of the cases it stays the default. IMO this kind of flexibility should not be punished.
     15 # Support FROM override
     16 ARG BUILD_IMAGE=docker.io/golang:1.22.4@sha256:969349b8121a56d51c74f4c273ab974c15b3a8ae246a5cffc1df7d28b66cf978
     17 ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f
     18
     19 # Build the manager binary on golang image
     20 FROM $BUILD_IMAGE as builder

Line 20 gets penalized by scorecard right now.


Allow suspenders to be used with a range of Ruby versions

Suspenders locks the user in a particular Ruby version (3.0.5 at the time of writing), a restriction that can sometimes be annoying. This PR enables Suspenders to be used with a range of safe Ruby versions, initially from 3.0.5 to 3.2.2.
Contrary to the Rails version, the Ruby version can be more flexible if our gems are compatible. Major Rails versions, on the other hand, tend to be a bit more disruptive and may require deeper changes to Suspenders. The last main breaking change was on Ruby 3.0, but we're already past that point.
.ruby-versions was the source of truth for the canonical Ruby version, but in this PR it represents the maximum version. Unfortunately, it is still needed by CI so we can't delete it. Note that even without such a file, rubybems validates the runtime Ruby version through the gemspec.
Closes https://github.com/thoughtbot/suspenders/issues/1073

@stevepolitodesign Thank you, that's more user-friendly and still attains the same goal. I'll try that out.

@stevepolitodesign How does it look now? I thought we could check at the beginning of the script to fail as early as possible.

@stevepolitodesign How does it look now? I thought we could check at the beginning of the script to fail as early as possible.

@thiagoa thank you! I tested locally, and this works as expected.
❯ ruby -v
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [arm64-darwin21]
❯ ./bin/suspenders unsupported_version
Your version of Ruby 3.0.3 is not supported. Versions from 3.0.5 to 3.2.2 are supported.


Inference code

@fredzzhang @nikanor97   hi thanks for sharing the code base great work

do we inference code which we can run on the custom data / custom videos and visualize the results
currently when i tested the model using test.py for some scenes present in the validation data like an only person running on a beach without any other object present there is no detections/activity in the output, is there any way i can get results like people walking , fighting, waving without depending on the object present in the scene

Thanks in advance

Hi, @abhigoku10
Thanks for taking interest in our work.

do we inference code which we can run on the custom data / custom videos and visualize the results

You can try to set up your customised dataset in the same way as HICODet here

is there any way i can get results like people walking , fighting, waving without depending on the object present in the scene

Unfortunately no. The model is designed for human-object interaction, which involves a (human, verb, object) triplet.

Hi
I am trying to run the code on the image from the dataset. where can i get
Inference script to test the image in the HICODet dataset ?

Hi @kruthikakr
You can find demo.py under the directory diagnosis.

@fredzzhang  Thank you ..  i was able to run the demo.
But for the custom data , can you give some more inputs for data preparation so that  the model can be used to find the human object interaction.

Hi @kruthikakr,
Please refer to fredzzhang/hicodet#18 and #63.
Fred.

Hi @fredzzhang,
i am using demo.py for inference, but getting an error invalid
keyError output['labels'] in visualize_entire_image() function
because you are passing output[0] of network to visualize_entire_image(dataset, output[0])
but net output does not contains ['labels']
from where i can get these labels, either these are detections labels or something other which i am missing?
Thanks

Hi @afzaalhussain50,
The labels are computed based on the ground truth detections. See line 128 in demo.py,
...
output = net(image, detection, target)
...

The target is passed to the network as well. You probably changed the code somewhere.
Fred.

@fredzzhang
I am using demo.py on custom dataset which is not labeled so i am passing target as None, which you are also mentioned in an other issue.
https://github.com/fredzzhang/spatially-conditioned-graphs/issues/63#issuecomment-917925198
detection = a dictionary with {'boxes', 'labels' and 'scores'} which are computed by preprocessing.py output = net(image, detection, None)
and output[0] have these dictionary items where 'labels' is not present, output[0] shown in image.

and also guide me one thing more how i can compute hoi (human action object) triplet using above network results?
Thanks for your quick response.

Hi @afzaalhussain50,
If you are using custom dataset, just comment out the lines that referenced labels. That'd be line 71 and 82.
Fred.


Blacklisted Dimlet

I get a "Blacklisted Dimlet" but from what I see on the configs, I don't know where it is getting blacklisted.
What could be happening?
http://imgur.com/a/MDKtW
And the configs
http://pastebin.com/p1BEgaXz
Using rftoolsdim-1.10-4.40

How did you obtain that dimlet? If you did it with createdimlet then remember that it is createdimlet Sky normal and not Normal (i.e. lowercase 'n')

On the recipes, when you hoover on them, they show as blacklisted http://imgur.com/a/DwOZC

Will check it out soon

They are not blacklisted for me.  First try upgrading rftools dimensions. Also do you have a custom dimlets.json?

Closing due to lack of response

Sorry I guess I didn't check GitHub on the last days. Gonna try updating, but I believe I was up to date when I reported the issue.
I do have a custom dimlets.json file, it's the one on the pastebin on the OP. Here the link, maybe something I modified there, messed those dimlets, dunno. http://pastebin.com/p1BEgaXz
Gonna update the mod and do more testing tomorrow also and come back with the update and see if it still happening ;)

Ok updated to 4.43 and yes the dimlet still shows as Blacklisted.
All I see on the configs related with Sky Dimlets is:

{
"filter": {
"type": "sky"
},
"settings": {
"rarity": 0,
"create": 100,
"maintain": 1,
"ticks": 1,
"worldgen": true,
"dimlet": true
}
},
{
"filter": {
"name": "minecraft:sky",
"type": "biome"
},
"settings": {
"rarity": 5,
"create": 5000,
"maintain": 10000,
"ticks": 100,
"worldgen": false,
"dimlet": true
}
},

Not sure what I have wrong here to have those dimlets as blacklisted, maybe some category above it that is blaklisting them?

Same for me. It seems like your crafting recipe creates the dimlet with uppercase letter.

FYI and because I found this thread: While crafting, I'm seeing a blacklisted dimlet, too, on a local client using default rftools config. It would be craftable (but I didn't).
(I don't actually care about these dimlets.)


I can help with logo and jingle - as I did for the I Love Libre GBG pod

It is great to see that someone else is doing a FLOSS pod.
During the pandemic me and Leif-Jöran did one, maybe a bit more user- than developer-centric. And in Swedish. You can find it here: https://www.oscillator.se/ilovelibregbg/ or here: https://ilovelibre.se/
Anyway, I read that you wanted help with a logo and jingle, and I'd like to contribute. They will both be produced with 100% FLOSS software. :) For reference, here is my image gallery (https://www.oscillator.se/gallery/) and my music (https://www.oscillator.se/music/), all made with free software (except some older pieces).
And a topic idea: FLOSS outreach/evangelism, not only for businesses and developers, but also for the average computer user.
Cheers,
Staffan<EMAIL_ADDRESS>

We would simply LOVE some help on those fronts @StaffanMelin ! :heart: :cake: :birthday: :partying_face:

What do you think of this one?
https://oscillator.oscillator.se/index.php/s/iyM3L3YwLnYdb8C
100% FLOSS tools :)

And here is a logo! :)

Nice
What is the license for the logo and the jingle? Can we fade out/in the jingle?
If we get more work (logo and jingles we might use different

Thank you @hesa! CC BY SA. Does that work for you? :) And of course you can (and should) fade it. :)
If I understand your disclaimer correctly, I don't think the idea is that good, because both the jingle and the logo is (will become) the identity of your pod, and should not be changed, except sometimes in the future (+2 years?).
I am glad that you like it, and here is some info on how they are made:
Jingle: Debian 11 Stable, Jack, MusE DAW, Surge synthesizer, drumkv drum sampler, airwindows plugins, Calf plugins.
Logo: Debian 11 Stable, Gudariak font (OFL), Inkscape.
:D

Sorry for the late reply. I blame the coming foss-north.se :(
About license: :+1:
If we provide the attribution (logo and jingle) the same way as we do with the web framework (see bottom https://pod.fossified.com/), would that be OK with?

@hesa: Sounds good!

@StaffanMelin excellent :)
@e8johan and @bagder : FYI, let's try to add this in the coming episode. Keeping this issue open until implemented.

@hesa Here is a final mix! I shortened it a bit, did some minor embellishments and some mastering.
https://oscillator.oscillator.se/index.php/s/eLq9mFC68pxmjcx

@StaffanMelin
Would it be possible for you to create png files (small, medium, big) from the svg? You decide what sizes.
I've tried with convert but my png file has lots of white space underneath the text..... I am totally lost when it comes to graphics (and all other things in all fairness).

@hesa: no problem, here are 4 different sizes.

Inkscape is a good choice for converting from SVG to bitmaps.
A link to oscillator would be great!
Thanks and good luck!


function callees does not include all calls

Binary Ninja Version: 2.4.2846, df7c027e
Platform: Ubuntu 20.04.2 LTS
The function.callees property does not include all called functions.
Steps to reproduce.

Open the attached calc.exe binary
Navigate to the function at 0x401913
Examine the current_function.callees.  Note that the count is 7 (it should be 12).

Example: the call to GetStartupInfoW() at 0x401928 is not included in the callees.

calc.zip

Related bug: https://github.com/Vector35/binaryninja-api/issues/2531

Interesting, we might need to rework this API a bit. Function.call_sites is correct, but callees and callee_addresses require the call target to be something that has an actual Function object at the destination. Imported functions have at most a DataVariable.
Would be a pretty breaking change as we’d need a way to communicate what kind of ‘callee’ is returned. Presently, we aren’t considering GetStartupInfoW a function because it’s not a function that can be analyzed in the current BinaryView.


Update 154-tic-tac-toe-minimax.md

Community Contribution
Link to live project, video, or image: Repository at

Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram: snyderling_
Twitter: @jebfan101

this minimax algorithm is salted with a random number from -5 to 5 on every check so it is not perfect but very good


Fixed the typo error

Updated showcase.md

Got the information not to use hacktoberfest-accepted label. every repo with this label is auto registrated.


Added Feature to Download Youtube Profile Photos

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X ] Searched the bugtracker for similar pull requests
[ X] Read adding new extractor tutorial
[X ] Read youtube-dl coding conventions and adjusted the code to meet them
[X ] Covered the code with tests (note that PRs without tests will be REJECTED)
[X ] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ X] I am the original author of this code and I am willing to release it under Unlicense
[ X] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[X ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
Added new option to download the profile photo of the uploader of a youtube video. By using --profile-picture True, the profile photo of the user who uploaded the video will be downloaded and placed in a directory named "profile_pictures." This change is specifically for youtube videos, but will not cause errors on other sites (rather it will simply not result in a profile photo). Additionally, if the profile photo cannot be found for some reason, the program will ignore the request and not download it.
Usage: --profile-picture True: will download the profile photo of the user who uploaded the youtube video

Duplicate of https://github.com/ytdl-org/youtube-dl/pull/28860/ ?


INC-1326 Add separate endpoints for add/read incentives - /iep/ will be deprecated

@xoen would you like to re-review?


Doc: Update k3s cilium installation to match k3s default podCIDR

Current k3s installation instruction allow k3s to
use the default podCIDR <IP_ADDRESS>/16 for pod, which can be seen from node.Spec:
spec:
podCIDR: <IP_ADDRESS>/24
podCIDRs:

<IP_ADDRESS>/24

but "cilium install" result in pod IP to be allocated from <IP_ADDRESS>/8 range, this cause confusion to users, the cilium installation should allow allocated pod IP match default k3s podCIDR.
Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Fixes: #issue-number
Update k3s cilium installation to match k3s default podCIDR

Yeah, that's the key question - If the Pod CIDR is somehow exposed through some resource for example then we could potentially implement this in an automatic way for every user of the Cilium-CLI. K3s isn't the only platform that may encounter this problem, so if we can come up with a reasonable solution for other platforms as well then we should.
At the same time, I appreciate that this docs change is more immediate and practical, so I'm not against simply documenting this as an alternative. :+1:


release does not exists: releases/download/0.11.5/0.11.5-12-0d992b

curl -L https://github.com/com-lihaoyi/mill/releases/download/0.11.5/0.11.5-12-0d992b

Yeah, the documentation currently only targets the latest commit in the main branch, whereas you're supposed to either read and use the latest stable version 0.11.5 or one of the published snapshots, which you can find on the release page. We don't publish every commit to be more responsible with Maven Central resources.
See also https://github.com/com-lihaoyi/mill/issues/2455

Please either use:

current latest stable 0.11.5: https://github.com/com-lihaoyi/mill/releases/download/0.11.5/0.11.5
current latest snapshot 0.11.5-9-1cd494: https://github.com/com-lihaoyi/mill/releases/download/0.11.5/0.11.5-9-1cd494


Pdf to html convertor

Description
The script will convert a html page or an article to pdf.
Languages
Language: Python

Hi @bislara  can u assign this to me?

Go ahead. Waiting for your PR

Done


Unhandled POSITIONOFSTRING Condition in Unit Tests

Somewhere in the unit tests is a file generating this unhandled condition error.
[!] Unhandled POSITIONOFSTRING Condition "@" in "for any of ( $* ) : ( for any i in ( 1 .. # ) : ( uint8 ( @ [ i ] - 1 ) == 0x00 ) )"

@malvidin Same with this problem. This is the exact rule that is making the error occur:
https://github.com/plyara/plyara/blob/7d797304690d0828c48872135690b5434b501809/tests/data/test_rules_from_yara_project.yar#L514
Can you take a look at this and see if you can fix it?

@malvidin Disregard. I fixed it.


Wireframe for Features Page

Related Issuse

Issue was to create a wireframe for features page.

Fixes: #4
Describe the changes you've made
New wireframe for Features page is created.
Screenshots

@abhish3k-11  please squash your commits to 1 and make pr to resource branch including your name in file name


Dockerfile

Could you please provide support for the docker image for node setup or by adding docker file to build the image? Or is there anything already available that is official and updated with the latest?

Hi,
There is actually pull requests to implement Dockerfile. Nothing is "officially" available and work is in progress, take a look at https://github.com/dogecoin/dogecoin/pull/2337.
Feel free to leave comments if you're experiencing any issue, to suggest an improvement, or to simply give feedback :)

Oh, that's great! Thanks!
Any rough deadline for this to go live? I'm waiting on this.

No idea, features are released when they are ready, not on a specific date :wink:
It's included in 1.14 milestone, perhaps it will be available on the next minor release, will depend on the community.

Sure, Thanks!

See: https://github.com/dogecoin/docker