Fix Array#+ for mixed element types

This fixes a runtime failure in following testcase:
a = [1, 2, 3]
a += [4294967296]
p a

In the case if we are adding together two arrays of different types and the type of the resulting array changes (to a union), elements need to be copied one by one instead of memcpy'ing raw memory buffers.
Some things still can be improved. For example, when adding Array(Int32) and Array(Int64) together, it might be better to return Array(Int64) instead of Array((Int32 | Int64))

You are right! I think at one point we had Pointer#copy_from and others implemented in Crystal itself, copying value by value. I think changing that to use llvm intrinsics wasn't a good decision. I think I'll change it back, LLVM should still be able to optimize these loops.

@asterite

I think changing that to use llvm intrinsics wasn't a good decision. I think I'll change it
back, LLVM should still be able to optimize these loops.

Looks like using the llvm intrinsics was actually a good decision. For example, it is possible to use the following test program as a benchmark:
require "benchmark"
Benchmark.bm { |x|
  x.report("unshift") {
    a = [0] ; 80000.times { |i| a.push(i) }
    # This is unreasonably slow in Crystal because of actually moving
    # the whole buffer in memory for every "shift" method call!
    while a.size > 0
      a.shift
    end
  }
}

== before (with 93e5d321e16ae0d84fedc7cc45478a8cad7f8730) ==
$ ./crystal run shiftperf.cr
              user     system      total        real
unshift   0.003799   0.000000   0.003799 (  2.495777)

$ ./crystal run --release shiftperf.cr
              user     system      total        real
unshift   0.003799   0.000000   0.003799 (  2.492066)

== after (with bf2912d56478154ddf8fa7a02c879ad1048bf57a) ==
$ ./crystal run shiftperf.cr
              user     system      total        real
unshift   0.066483   0.000000   0.066483 (  43.612190)

$ ./crystal run --release shiftperf.cr
              user     system      total        real
unshift   0.004654   0.000000   0.004654 (  3.056545)

Before the fix, shifting data in the array was using the SSE2 optimized memmove function from glibc, which is always faster than the one by one copy loop:
$ perf record ./shiftperf
# perf report
    99.44%  shiftperf  libc-2.20.so       [.] _wordcopy_fwd_dest_aligned
     0.11%  shiftperf  libc-2.20.so       [.] __memmove_sse2
     0.05%  shiftperf  libgc.so.1.0.3     [.] 0x0000000000011c9e
     0.04%  shiftperf  [kernel.kallsyms]  [k] debug_smp_processor_id
     0.04%  shiftperf  libc-2.20.so       [.] __memcpy_sse2_unaligned
     0.03%  shiftperf  [kernel.kallsyms]  [k] apic_timer_interrupt

I was originally trying to implement the fix in the following way (nothing particularly spectacular there), but somehow it just got reported as a bug instead of a pull request: https://github.com/ssvb/crystal/commit/f47eb714071fb262ed1e13bfcbd79eb44b5d00a5
But if the llvm buffer copy is kept, there could be indeed potentially other regressions similar to Array#+. Maybe Array#concat, Array#replace and some other places.

BTW, thanks for taking care of the crasher problem. It is always better to have something that is slow and correct than fast and buggy :-) I have submitted a new bug for the performance issue, so that it can be tracked there.


ci: push bundle to Docker Hub registry

This PR adds a checks bundle release to Docker Hub to allow the use of mirror.gcr.io.
Test run of the action: https://github.com/nikpivkin/trivy-checks/actions/runs/11852006001/job/33029492752
Image: https://hub.docker.com/repository/docker/nikpivkin/trivy-checks/general
The action requires the DOCKERHUB_USER and DOCKERHUB_TOKEN secrets and create a trivy-checks repository on Docker Hub.
The variables GHCR_USER and DOCKERHUB_REPOSITORY are added to run an action in the fork. The defaults are aqua-bot and aquasec respectively.
Use of a mirror:
trivy conf main.tf -d --cache-dir cache --checks-bundle-repository mirror.gcr.io/nikpivkin/trivy-checks:latest
2024-11-15T13:35:32+06:00       DEBUG   Default config file "file_path=trivy.yaml" not found, using built in values
2024-11-15T13:35:32+06:00       DEBUG   Cache dir       dir="cache"
2024-11-15T13:35:32+06:00       DEBUG   Cache dir       dir="cache"
2024-11-15T13:35:32+06:00       DEBUG   Parsed severities       severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL]
2024-11-15T13:35:32+06:00       INFO    [misconfig] Misconfiguration scanning is enabled
2024-11-15T13:35:32+06:00       DEBUG   [misconfig] Failed to open the check metadata   err="open cache/policy/metadata.json: no such file or directory"
2024-11-15T13:35:32+06:00       INFO    [misconfig] Need to update the built-in checks
2024-11-15T13:35:32+06:00       INFO    [misconfig] Downloading the built-in checks...
2024-11-15T13:35:32+06:00       DEBUG   [misconfig] Loading check bundle        repository="mirror.gcr.io/nikpivkin/trivy-checks:latest"
2024-11-15T13:35:32+06:00       DEBUG   Credential error        err="docker-credential-gcr/helper: could not retrieve GCR's access token: google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information"
160.67 KiB / 160.67 KiB [--------------------------------------------------------------------------------------------] 100.00% 2.14 MiB p/s 300ms
2024-11-15T13:35:35+06:00       DEBUG   [misconfig] Digest of the built-in checks       digest="sha256:9a83fb3b2d9f154ba73717059e0f4e188e05c39d773abb2e2934e61abbbad6df"
2024-11-15T13:35:35+06:00       DEBUG   [misconfig] Checks successfully loaded from disk

Despite the message Credential error  the bundle booted successfully. Maybe we don't need to try to use the credentials for the mirror.

Despite the message Credential error  the bundle downloaded successfully. Maybe we don't need to try to use the credentials for the mirror.


Not working in latest update

Estimates no longer showing up.
Disabled all other modules, still not showing up.

Running PF2e, also having the same issue.

I'm on 5e.
Latest update fixed it for me.

@monkey-bars any errors on the console?

Three:
TypeError: Error thrown in hooked function '' for hook 'setup': (intermediate value)(...).join is not a function
[Detected 2 packages: healthEstimate, lib-wrapper] foundry.js:316:28
Uncaught (in promise) TypeError: (intermediate value)(...).join is not a function
[Detected 2 packages: healthEstimate, lib-wrapper] pf2e.js:38:52
Error: Error thrown in hooked function '' for hook 'canvasReady': This is not a registered game setting
[Detected 3 packages: healthEstimate, lib-wrapper, perfect-vision] foundry.js:316:28

It's the same issue, reinstall the module and it should be fixed.


Updated README

I filled out the README a bit. This involves moving the protocols into the README, adding some sections - contribute, license, specification - adding badges, making some small syntax changes, and adding three protocols from the js-multiaddr library.
Relevant to #13.

FWIW, this LGTM.

@RichardLitt thank you :) Requires rebase, could you apply it?

@diasdavid Done. Can you review again? :)

👌🏽

Thanks!


feat: improve small screen view for feed page

Description
This PR brings back the panels in large screens to the smaller views of the Feed page and improves its responsivity.

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[x] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

fixes #1510
Mobile & Desktop Screenshots/Recordings
Repository list is now compact.
Before:

After:

XS view:
https://github.com/open-sauced/app/assets/52013393/4ad2fa15-5d40-4b15-bdb2-1d48f0c6cd20
SM & MD view:
https://github.com/open-sauced/app/assets/52013393/04fca918-e665-4e7d-b89b-6b89391edf92
After deployment tasks
We can move Repository List filters to be above the highlights for small views, but that's for another issue.

@bdougie @nickytonline @OgDev-01 ready for review

I missed the issue for this.  We've had discussions on improving the UX on mobile in general and the @open-sauced/design are looking into that. Thanks @Deadreyo for turning this around so quickly, but ATM, I don't think this is needed. cc @isabensusan and @nickytonline

@jpmcb that's a little side-effect that I didn't notice and is easily fixed if this PR is going to continue.
@OgDev-01
https://github.com/open-sauced/app/issues/1510#issuecomment-1774101224
So is the final say that this PR is not needed or is it still awaiting a definitive decision?

Looking at my feed on iOS and do not see the repositories filter list.
My assumption that I would see it on the deploy preview

context iPhone 15 using safari

So is the final say that this PR is not needed or is it still awaiting a definitive decision?

Unless an objection is made by @open-sauced/engineering and @open-sauced/design, i think this should be revisited when we have more context 👍

Looking at my feed on iOS and do not see the repositories filter list.
My assumption that I would see it on the deploy preview

The deploy preview is outdated for some reason. Maybe because of this? https://github.com/open-sauced/app/pull/1985#issuecomment-1775090131

Hi @Deadreyo, just checking in here. I see there are some conflicts to be resolved.

Hi @Deadreyo, just checking in here. I see there are some conflicts to be resolved.

Sunday said that this PR is not needed so 🤷♂

@Deadreyo yeah, I kissed that comment. I also see in the issue that it's waiting on feed back from design, so let's hold off on this for now.

Thanks for the pull request @Deadreyo. I'm going to go ahead and close this for now based on the comments that this is not needed at the moment and if we revisit this it requires feedback from @open-sauced/design.


ESO does not cleanup keys when using template

This bug surfaced in #2518.
It can be reproduced with the manifest further below.
The bug is triggered if the user FIRST creates a Kind=ExternalSecret without a spec.target.template. Then, if a user creates a template which changes the secret data, the sum of both states old and new will be written to the target secret.
This is probably, because the managed keys cleanup is done before the tempalte is applied. Moving that section further down could resolve the issue.

		// diff existing keys
		keys, err := getManagedKeys(&existingSecret, externalSecret.Name)
		if err != nil {
			return err
		}
		// Sanitize data map for any updates on the ES
		for _, key := range keys {
			if dataMap[key] == nil {
				secret.Data[key] = nil
				// Sanitizing any templated / updated keys
				delete(secret.Data, key)
			}
		}
		err = r.applyTemplate(ctx, &externalSecret, secret, dataMap)
		if err != nil {
			return fmt.Errorf(errApplyTemplate, err)
		}

apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
  name: fake-template-01
spec:
  provider:
    fake:
      data:
      - key: "mymap"
        valueMap:
          DOPPLER_CONFIG: "..."
          DOPPLER_ENVIRONMENT: "..."
          frontend: foo
          backend: bar
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: fake-template-01
spec:
  refreshInterval: "10s"
  secretStoreRef:
    name: fake-template-01
    kind: ClusterSecretStore
  target:
    name: "fake-template-01"
    # first, apply as-is with the following section being commented out
    # then, remove the comment and apply.
    # you should see that both old and new values are present.
    # template:
    #   engineVersion: v2
    #   templateFrom:
    #   - target: Data
    #     literal: |
    #       {{- range $key, $value := . }}
    #       {{- if not (eq $key "DOPPLER_CONFIG" "DOPPLER_ENVIRONMENT" "DOPPLER_PROJECT") }}
    #       {{ $key }}_: {{ $value }}
    #       {{- end }}
    #       {{- end }}
    # ----- until here

  dataFrom:
  - extract:
      key: mymap

This is not stale

This is not stale

Still no stale.

Let's do this then.


Update dependencies for security vulns

This updates some dependencies on Kat services. Technically, this isn't that important as these services are only used in tests, but it's not a hard fix.

Dropping this one, I'll replace it shortly.


Specifying us-east-1 as a region does not work correctly

Some services don't have a region in their domain name - like, IAM, that are in us-east-1.
Other services, like EKS have a us-east-1 domain like 'eks.us-east-1.amazonaws.com'
if I specify a region to a service like EKS, the tool incorrectly returns a domain without a region.
For more information about which services have a global/general endpoint, check this doc: https://docs.aws.amazon.com/general/latest/gr/rande.html
The intended behavior should be everything except the mentioned services go to servicename.region.amazonaws.com

Thanks for reporting. Turns out my logic for handling global API endpoints was completely wrong. Have updated. Hopefully its now fixed, let me know how you go.

Believe this is fixed so closing, let me know if not and I'll reevaluate


[ENHANCEMENT] Lexer improvement + bugfix

Description
Summary of all the changes made.
Closes #35
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Something else

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[nope not gonna happen] I have commented my code, particularly in hard-to-understand areas
[what documentation?] I have made corresponding changes to the documentation
[x] My changes generate no new errors or linter warnings
[x] My changes generate no problems with other code
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing tests passed locally with my changes

Please pull and push to v1.0.0-alpha3 (or the version branch) the next time. Don't forget the summary. You can just leave things, you didn't do (Checklist).

@mergifyio update


[SPARK-45005][CONNECT][PS][TESTS] Reducing the CI time by splitting the slow tests

What changes were proposed in this pull request?

This PR proposes to reduce the CI time for pyspark-pandas-connect by splitting the slow tests.
This PR basically:

Split pyspark-pandas-slow-connect into two parts.
Move couple of slow tests into pyspark-pandas-slow-connect-part2
Split the existing tests into several parts, and move into pyspark-pandas-slow-connect-part2

Why are the changes needed?
pyspark-pandas-connect test takes more than 3 hours in Github Actions, so we might need to reduce the execution time. See https://github.com/apache/spark/actions/runs/5989124806/job/16245001034 as an example.

Does this PR introduce any user-facing change?

No, it's test-only.
How was this patch tested?

Manually tested, and the actual testing time should be reduced form Github Actions CI when it's done.
Was this patch authored or co-authored using generative AI tooling?

No.

Thanks everyone for the review! Seems like the testing time now have some balance as below:
Before

pyspark-pandas-connect
pyspark-pandas-slow-connect

3h 48m
2h 48m

After

pyspark-pandas-connect-part0
pyspark-pandas-connect-part1
pyspark-pandas-connect-part2

1h 51m
2h 55m
1h 54m


DLP sensor name and rule name

Hi,
it seems there are some limitations to the sensor and rule name length:
sensor name: sensor.malicious.phpfile.upload
rule name: malicious.file.shell.exec.command
dpi_dlp_parse_opts_routine: Dlp rule((null)):(0) has invalid option(name : sensor.malicious.phpfile.upload_nvCtR.malicious.file.shell.exec.command)

If imposing limitations, the web gui should also have this limitations.
I am testing the https://developer.ibm.com/patterns/protect-your-web-application-using-advanced-runtime-container-security/
and saving rules does not work due to the "invalid option name"
I'm am running the 5.0.0 preview versions

this issue is fixed by PR https://github.com/neuvector/neuvector/pull/65


Recognize search phrases/multiple words as AND, not OR

Details
I'm not sure if this is an issue or a feature request.

Project URL: docs.signalfx.com
Build URL (if applicable):
Read the Docs username (if applicable):

Step:
Search for "metric proxy" (including the quotes)
Actual Result
All docs containing either or both words are returned. We have the word "metric" on many many pages, so these results really don't help.
Expected Result
Ideal: Only pages containing the exact phrase "metric proxy" are returned.
Better than now but not ideal: Only pages with both words are returned
In general, if a search phrase has multiple words, without quotes, I think this should be interpreted as a boolean AND, so only pages containing both words should be returned.

Our company is looking for this feature request as well. It would be very helpful to our readers to search a phrase.
Even if that meant wrapping the search string with quotes as a workaround, it would greatly improve the search feature.

I'd like to get this as one of the next steps in our Summer of Code project. Having the ability to search with quotes and other common "google style" search queries would be a really good improvement for our search.

So, this feature should:

Allow searching of exact terms ("run the tests" and not return results that just mention tests)
It should search in a case insensitive manner ("Run the Tests" should return run the tests)

Can linking to a heading above the search term rather than just the top of the doc also be part of the summer of code? (Your link to projects above is 404 so I can't see what's already there.)

@barbara-sfx The project has been made public. You will be able to access it now.

@barbara-sfx The project has been made public. You will be able to access it now.

Thanks @safwanrahman.  How would I create a feature request for you guys to prioritize and determine if/when you might address it? Ideally, clicking on a search result would go to the actual matching sentence. I said heading (in my comment above) because I thought that would be more do-able. But navigating to the actual sentence or paragraph is actually what I would expect to see when I click a search result.

It has been fixed by #4292
Thanks a lot @barbara-sfx for the issue!
Wishing for the best to get it deployed.

@austin-plixer It has been fixed in the search_upgrade branch. We hope to get it deployed within couple of weeks.


Add error code for exception

What this PR does / why we need it:
Based on the issue #142, the error response will become to:
curl -H "Content-Type:application/json" -X POST http://localhost:8190/v1/storages -d "{\"host\": \"<IP_ADDRESS>\", \"port\": \"22\", \"username\": \"admin\", \"password\": \"secret\", \"vendor\": \"fake_storage\",\"model\": \"fake_driver\"}" -v
Note: Unnecessary use of -X or --request, POST is already inferred.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8190 (#0)
> POST /v1/storages HTTP/1.1
> Host: localhost:8190
> User-Agent: curl/7.63.0
> Accept: */*
> Content-Type:application/json
> Content-Length: 127
>
} [127 bytes data]
* upload completely sent off: 127 out of 127 bytes
< HTTP/1.1 400 Bad Request
< Content-Length: 96
< Content-Type: application/json
< X-Compute-Request-Id: req-33056cc0-ed50-4ca8-8641-c81763a0592b
< Date: Thu, 04 Jun 2020 12:25:53 GMT
<
{ [96 bytes data]
100   223  100    96  100   127   3000   3968 --:--:-- --:--:-- --:--:--  6968
{"error_code": "StorageAlreadyExists", "error_msg": "Storage already exists.", "error_args": []}

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #142
Special notes for your reviewer:
Release note:

Codecov Report

Merging #162 into master will decrease coverage by 1.23%.
The diff coverage is 30.45%.


[Zip][Portable] New Package: paolosalvatory.ServiceBusExplorer 5.0.14

Resolves #83229

Microsoft Reviewers: Open in CodeFlow

@msftbot zip

@wingetbot run


Mark read on click

Seems at the moment you have to manually dismiss notifications. Would be nice if there was an option to do that automatically when you press one.

Prefer the existing gitify behaviour - don't like it when the github notifications automatically clear themselves.
If this suggestion is going to be included please make it a toggle option. The existing behaviour works well for some people's workflows.

@Naatan I have to agree with @aioue. Many notifications are important and if they are marked as read, once you click them, they will be gone forever. Guess we can leave this issue open for more opinions on this one?

That's why I'm suggesting it be a preference. I understand it's useful for some peoples workflow.

Great! Will see if I can find some time in the weekend to make a setting for it :+1:

Awesome, thank you! :)

That was easier than I thought @Naatan ! It's ready on #105 . Ready for next release :smile:

@Naatan Just released a new version (0.0.18) which includes that setting! Hope you like it!

Perfect, thank you! Minor feedback: I see the previous item disappear as I reopen the menu, if I'm fast enough I see the animation. I guess you're waiting for a response to remove it.


ext: nffs: bugfix of possible to corrupt filename

Origin: Apache Mynewt NFFS
URL: https://github.com/apache/mynewt-nffs/tree/master
Commit: a2f679afe6323310ab1000385f41115df7da326e
Maintained-by: External
This patch introduce version which fixes following bug:
While inode is updated it is possible that Garbage Collection
is called which caused overwrite of inode's filename as the same
buffer was used to keep the filename and copping data in GC.
This patch uses buffer on the stack for keeping filename while inode
is updated which fix the issue.
The patch cause 128 B increase of stack consumption during inode
update the file name might be corrupted
Fixes #9749
Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

cc @carlescufi

Merged this straight away since it was reviewed upstream by the NFFS authors.


docs(coral): Make running Coral inside Klaw vs in dev mode more clear

About this change - What it does

updates link to design system
makes "running coral inside klaw" vs "running coral in dev mode" more clear

Resolves: #321

Thanks for the suggestion @muralibasani , they sounded better! Updated the PR again.


[BUG] Custom reference doesn't appear properly

Describe the bug
I generated Atom files for a custom struct and when I put a reference in a Monobehavior,
when Use Value is selected, the drawer doesn't appear properly.
To Reproduce
Steps to reproduce the behavior:

Create a new Unity project and install Atom Core and Atom Base Atoms
Create a simple struct (eg gist)
Clic on Tools > Unity Atoms > Generator, leave all the default values but fill the Type Name field with the struct name and clic generate.
Create a reference field in a MonoBehavior and select it: gist

Expected behavior
It should show the default drawer for the struct correctly.
Screenshots
Folded

Unfolded

Correct variable drawer

Environment

Unity Version: 2019.3.13f1
Version of Unity Atoms: 4.1.0

I made several tests to fix this issue, you can find them in this commit
Proposal 1 : Include chidren and draw to original rect

Not viable if the value is on a single line (1st line is an IntReference)
Proposal 1 + extra : Only if the value have children

Proposal 2 : Show the value under the reference field

Drawback: This is less compact, in particular for single line values
Proposal 2 - extra : Add a visual hint to fill the blank

Also, proposal 2 could be combinated with extra 1

Thanks for this issue @bguyl! Really nice that you made some suggestions. I vote for doing Proposal 1 + extra : Only if the value have children, this to me seems to be the cleanest approach and leaves the drawer nice and compact for most cases (single line types). Would you mind creating a PR for Proposal 1 + extra?

Fixed in #155


Multilanguage interface

Hi.
Thanks for your application.
Could you please consider to add multi language interface?
I can help you with Italian language
Thanks.

Hi, I'm currently not planning on adding localization for this app.
Thanks for your offer though!


Bump Wasmtime version to 14.0.0.

Looks like the initial targeting of the main branch screwed up CI, despite the retargeting.
I'm going to close this PR and open a new one with the appropriate target.


slackUserIdsFromCommitters() returns empty list for pipeline projects

Jenkins and plugins versions report

Environment
Jenkins: 2.414.3
OS: Linux - 5.15.0-87-generic
Java: 11.0.21 - Amazon.com Inc. (OpenJDK 64-Bit Server VM)
---
Parameterized-Remote-Trigger:3.2.0
active-directory:2.33
ant:497.v94e7d9fffa_b_9
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
apache-httpcomponents-client-5-api:5.2.1-1.1
artifactory:4.0.0
authentication-tokens:1.53.v1c90fd9191a_b_
azure-cli:0.9
azure-credentials:293.vb_d506148f506
azure-sdk:132.v62b_48eb_6f32f
blueocean-commons:1.27.8
blueocean-rest:1.27.8
bootstrap5-api:5.3.2-2
bouncycastle-api:2.29
branch-api:2.1128.v717130d4f816
build-timeout:1.31
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.0.2
cloud-stats:320.v96b_65297a_4b_b_
cloudbees-bitbucket-branch-source:848.v42c6a_317eda_e
cloudbees-folder:6.858.v898218f3609d
command-launcher:107.v773860566e2e
commons-lang3-api:3.13.0-62.v7d18e55f51e2
commons-text-api:1.10.0-78.v3e7b_ea_d5a_fe1
config-file-provider:959.vcff671a_4518b_
copyartifact:722.v0662a_9b_e22a_c
credentials:1293.vff276f713473
credentials-binding:636.v55f1275c7b_27
display-url-api:2.200.vb_9327d658781
docker-build-step:2.10
docker-commons:439.va_3cb_0a_6a_fb_29
docker-java-api:3.3.1-79.v20b_53427e041
docker-plugin:1.5
docker-workflow:572.v950f58993843
durable-task:523.va_a_22cf15d5e0
echarts-api:5.4.0-7
email-ext:2.102
favorite:2.4.3
font-awesome-api:6.4.2-1
git:5.2.0
git-client:4.5.0
gradle:2.8.2
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
htmlpublisher:1.32
http_request:1.18
instance-identity:173.va_37c494ec4e5
ionicons-api:56.v1b_1c8c49374e
jackson2-api:2.15.3-366.vfe8d1fa_f8c87
jakarta-activation-api:2.0.1-3
jakarta-mail-api:2.0.1-3
javadoc:243.vb_b_503b_b_45537
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-9
jaxb:2.3.9-1
jdk-tool:73.vddf737284550
jfrog:1.5.0
jjwt-api:0.11.5-77.v646c772fddb_0
jquery3-api:3.7.1-1
jsch:0.2.8-65.v052c39de79b_2
junit:1240.vf9529b_881428
ldap:701.vf8619de9160a_
mailer:463.vedf8358e006b_
matrix-auth:3.2.1
matrix-project:818.v7eb_e657db_924
maven-plugin:3.23
metrics:4.2.18-442.v02e107157925
mina-sshd-api-common:2.10.0-69.v28e3e36d18eb_
mina-sshd-api-core:2.10.0-69.v28e3e36d18eb_
okhttp-api:4.11.0-157.v6852a_a_fa_ec11
p4:1.14.3
pam-auth:1.10
parameterized-trigger:2.46
pipeline-build-step:505.v5f0844d8d126
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-graph-view:202.v6da_a_9e590325
pipeline-groovy-lib:689.veec561a_dee13
pipeline-input-step:477.v339683a_8d55e
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2144.v077a_d1928a_40
pipeline-model-definition:2.2144.v077a_d1928a_40
pipeline-model-extensions:2.2144.v077a_d1928a_40
pipeline-rest-api:2.33
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2144.v077a_d1928a_40
pipeline-stage-view:2.33
pipeline-utility-steps:2.16.0
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:3.6.0
pubsub-light:1.17
resource-disposer:0.23
scm-api:676.v886669a_199a_a_
script-security:1275.v23895f409fb_d
slack:684.v833089650554
snakeyaml-api:2.2-111.vc6598e30cc65
sse-gateway:1.26
ssh-credentials:308.ve4497b_ccd8f4
ssh-slaves:2.916.vd17b_43357ce4
sshd:3.312.v1c601b_c83b_0e
structs:325.vcb_307d2a_2782
timestamper:1.26
token-macro:384.vf35b_f26814ec
trilead-api:2.84.v72119de229b_7
variant:60.v7290fc0eb_b_cd
windows-azure-storage:386.v673495b0a5de
workflow-aggregator:596.v8c21c963d92d
workflow-api:1283.v99c10937efcb_
workflow-basic-steps:1042.ve7b_140c4a_e0c
workflow-cps:3802.vd42b_fcf00b_a_c
workflow-durable-task-step:1289.v4d3e7b_01546b_
workflow-job:1348.v32a_a_f150910e
workflow-multibranch:756.v891d88f2cd46
workflow-scm-step:415.v434365564324
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:865.v43e78cc44e0d
ws-cleanup:0.45

What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu Linux 22.04 for all systems involved
Reproduction steps

Create a Jenkins pipeline job
Paste the pipeline script into the box

pipeline {
    agent {
        label 'java-builder'
    }
    parameters {
        string(name: 'change', defaultValue: 'now', description: 'Sync the build to a particular changelist number')
    }
    environment {
        P4_CRED = credentials('Perforce-Credentials')
    }
    options {
        skipDefaultCheckout()
        timeout(time: 20)
    }
    stages {
        stage('Checkout') {
            steps {
                checkout perforce(
                    credential: 'Perforce-Credentials',
                    populate: autoClean (
                        delete: true,
                        pin: change,
                        quiet: true,
                        replace: true,
                        tidy: true),
                    workspace: manualSpec(
                        name: 'jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}',
                        spec: clientSpec(
                            view: '''
                                //Path/To/Your/Depot/... //${P4_CLIENT}/...
                                '''
                        )
                    )
                )
            }
        }
        stage('Build') {
            steps {
                script  {
                    def userIds = slackUserIdsFromCommitters(botUser:true, tokenCredentialId: 'Jenkins-Bot-Secret')
                    println userIds

                    def changeLogSets = currentBuild.changeSets
                    for (int i = 0; i < changeLogSets.size(); i++) {
                        def entries = changeLogSets[i].items
                        for (int j = 0; j < entries.length; j++) {
                            def entry = entries[j]
                            // hudson.model.User user = entry.author
                            def email2 = hudson.tasks.MailAddressResolver.resolve(entry.author)

                            def resolver = new jenkins.plugins.slack.user.EmailSlackUserIdResolver()
                            resolver.setMailAddressResolvers(hudson.tasks.MailAddressResolver.all())
                            def email1 = resolver.resolveUserId(entry.author)
                            println "${entry.author.id} - ${email1} - ${email2}"
                        }
                    }
                }
            }
        }
    }
}

Expected Results
The results after calling slackUserIdsFromCommitters() should return a list, I shouldn't have to resolve the changeSets myself and call this.
Actual Results
slackUserIdsFromCommitters() seems to always return an empty list. No log messages are seen when I comment out the section from currentBuild.changeSets and down. However, I am getting a authorization token missing log-message if I enable the code. This indicates that the problem isn't in calling the functions that tries to reach out to the slack servers, but before that.
I suspect that the way I configured my project, as a pipeline project and that I skip the default checkout is causing this issue. The following code seems suspect to me SlackUserIdResolver.java:
 87     @SuppressWarnings("unchecked")
 88     public List<String> resolveUserIdsForRun(Run run) {
 89         if (run instanceof RunWithSCM) {
 90             RunWithSCM r = (RunWithSCM) run;
 91             return resolveUserIdsForChangeLogSets(r.getChangeSets());
 92         } else if (run instanceof AbstractBuild) {
 93             AbstractBuild build = (AbstractBuild) run;
 94             return resolveUserIdsForChangeLogSets(build.getChangeSets());
 95         } else {
 96             return Collections.emptyList();
 97         }
 98     }

I know for a fact that the changeSets isn't empty when I trigger a build where I'd expect there to be a list of changes here. Not entirely sure how I can make this work.
Anything else?
No response

With some more tweaks to the above code, I was able to create a EmailSlackUserIdResolver with appropriate HttpClient and Autorization tokens, the rest api to slack works and the user ids was resolved.

Hi @enaess, we have the same problem on our Jenkins instance -- can you please post your working solution?

Try pasting in the following into your Jenkins pipeline script to see if fixes it
// Until slack-plugin fixes the slackUserIdsFromCommitters() function, see: https://github.com/jenkinsci/slack-plugin/issues/930
//    this does require a few approvals in the script sandbox.
@NonCPS
def getSlackUsers(changesets) {
    def resolver = new jenkins.plugins.slack.user.EmailSlackUserIdResolver(
        "${env.BOT_CRED_PSW}",
        jenkins.plugins.slack.HttpClient.getCloseableHttpClient(null))
    resolver.setMailAddressResolvers(hudson.tasks.MailAddressResolver.all())
    return resolver.resolveUserIdsForChangeLogSets(currentBuild.getChangeSets()).toSet().collect { "<@$it>" }.join(', ')
}

Usage: in the failure block of your pipeline:
        failure {
            script {
                def userIdsString = getSlackUsers(currentBuild.changeSets)
                if (!userIdsString.isEmpty()) {
                    slackSend (color: '#FF0000',
                               channel: '#your-slack-channel-here',
                               message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (<${env.BUILD_URL}|Open>), Committers: $userIdsString")
                }
....

Thank you @enaess!


server: Support explicitly getting health feedback information by calling RPC

What is changed and how it works?

Issue Number: Close #16297

What's Changed:
This PR makes TiKV support explicitly getting health feedback information by calling RPC. Both non-batched mode and batched mode (using BatchCommands stream) are supported.
There's some special behavior when used in batched RPC mode: The BatchCommandsResponse that contains the response of getting health feedback will always have feedback information attached (in the same way as how it's attached without being explicitly requested), and the attached information and the information carried in each single GetHealthFeedbackResponse-s is the same.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:

[ ] Need to cherry-pick to the release branch

Requires: https://github.com/pingcap/kvproto/pull/1239

Check List
Tests

[x] Unit test
[x] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

cc @crazycs520  PTAL thanks!

/merge

/release


Delay creating UVM hardlinks

fixes https://github.com/Microsoft/hcsshim/issues/155
Delay the creation of hard links until the entire layer is expanded. This works around a Window bug that prevents deletion of hard links if the target is currently in use, which was preventing layer expansion on RS3 hosts.
@jstarks @jhowardmsft PTAL
Signed-off-by: Darren Stahl<EMAIL_ADDRESS>

One minor nit, but LGTM. This probably needs a second set of eyes on it too, I'm not extremely familiar with this code.

Closing this for now, as we have a better solution that fixes some bugs I've been working on with this solution. Will submit the new solution soon in a new PR that uses this new approach.


[Feature] - Disable detail information in EUM-Server-Responses

Disable the default whitelabel error page and all detail information like stack traces etc.

Closed with https://github.com/inspectIT/inspectit-ocelot-eum-server/pull/15


fixed link: graph documentation with Celo tutorial

Updated link : The Graph
Previous link: The Graph

@nestorbonilla can you please have a look at this ?

@therealharpaljadeja Hi Harpal, can we review this?

https://docs.celo.org/blog/using-the-graph is a 404 for me too (it probably wasn't when the PR was created). But in its current form, this does not improve the situation.


Smooth prediction graph

We may be able to generate a smooth nicer looking graph:

Use turnips lib to generate the lines and collections.
Iterate over those lines and collections to find the min and max for each day and time of day.
Completely blank out the data on the plot.
Put all the min and max points into a scatter on the plot.
Draw a spline for the the line defined by the min points.
Draw another spline for the line defined by the max points.
Fill between the two splines.

As for how to calculate the spline, it's something that scipy could do but that's a huge dependency. An alternative is to directly implement it wth numpy as shown here: https://stackoverflow.com/questions/31543775/how-to-perform-cubic-spline-interpolation-in-python/48085583#48085583

The more I look at the non-smooth graphs we have now, the more I like them over the smooth one that you get on turnipprophet.io. You can actually see the different models in the graph, especially when you've narrowed it down to two or three. It lets you know when the important times to capture data are, the points that will let you immediately eliminate one or more models.


Fixed typo

Proposed changes
Fixed lets -> let's

Deploy preview for docsdocker ready!
Built with commit 04d52fb848213ba785f5ac62ec5d2d2ea3d3ae53
https://deploy-preview-9936--docsdocker.netlify.com


can't create .java files

Hi,
In IntelliJ IDEA CE.app on MAC:
-VCS -> checkout from version control -> Github -> ./Juicebox-master
-*sizes and target option where already pre-set
-Run -> Edit Configurations -> + -> application ->  ... -> MainWindow.java or HiCtools.java
It is not finding it and when looking manualy I got : "MainWindow is not acceptable"
Do you know why ? and how to solve this ?  Thank you.
Julien

Can you try "Build>Make Project"
It sounds like the JDK has not been set for IntelliJ

Thanks, It was this ! Thank you.
Now I can run it in IntellJ, however how could I launch it in the terminal ? (on MAC)
I tried java -Xmx2000m HiCtools.java but it is not working

Glad to hear it worked!
Just to clarify, are you trying to launch the GUI or the Command Line Tools (CLTs) via the terminal? For the GUI, double-clicking the jar or launching through intelliJ is more useful.
For CLTs:
You'll want to use the jar file which you can build from intelliJ or with ant (simply type ant in terminal while using the working directory containing the build.xml file). You can also grab a precompiled jar from juicer: https://github.com/theaidenlab/juicer/blob/master/AWS/scripts/juicebox_tools.jar
To launch a command using the jar from the command line, call

java -jar juicebox_tools.jar <...juicer commands...>

More documentation is available at http://aidenlab.org/juicer and http://aidenlab.org/forum.html (it would also help other users if these questions were posted to the forum)

java -jar juicebox_tools.jar <...juicer commands...>
This is working now !!!
Thank you very much for your help and for the work you are doing for the community.
Julien
Julien Pontis
julien.pontis<EMAIL_ADDRESS>Address: EPFL; SV LVG Station 19; 1015 Lausanne, Switzerland
On 24 May 2016, at 07:15, Muhammad Saad Shamim <notifications<EMAIL_ADDRESS>wrote:
Glad to hear it worked!
Just to clarify, are you trying to launch the GUI or the Command Line Tools (CLTs) via the terminal? For the GUI, double-clicking the jar or launching through intelliJ is more useful.
For CLTs:
You'll want to use the jar file which you can build from intelliJ or with ant (simply type ant in terminal while using the working directory containing the build.xml file). You can also grab a precompiled jar from juicer: https://github.com/theaidenlab/juicer/blob/master/AWS/scripts/juicebox_tools.jar
To launch a command using the jar from the command line, call
java -jar juicebox_tools.jar <...juicer commands...>
More documentation is available at http://aidenlab.org/juicer and http://aidenlab.org/forum.html (it would also help other users if these questions were posted to the forum)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/theaidenlab/juicebox/issues/7#issuecomment-221168633

Awesome!
And thanks, Julien!!
One additional aspect with the CLTs:
If you are using hiccups, you will need to call

java -Djava.library.path=/path/to/natives/ -jar juicebox_tools.jar <...hiccups...>

in order to use JCUDA/GPUs. More details are available here: https://github.com/theaidenlab/juicer
A sample natives folder setup can be found at https://github.com/theaidenlab/juicebox/tree/master/native_launcher
There are also instructions in that folder for compiling for different CUDA versions.

Hi Muhammad,
I like to know if you plan to release .hic files from the Dixon et al. 2015 datasets on H1 et its derivatives soon or if I will need to do it myself.
And also if you have the "loop calling" from those datasets as well ?
Have nice day.
Julien
Julien Pontis
julien.pontis<EMAIL_ADDRESS>Address: EPFL; SV LVG Station 19; 1015 Lausanne, Switzerland
On 24 May 2016, at 14:09, Muhammad Saad Shamim <notifications<EMAIL_ADDRESS>wrote:
Awesome!
And thanks, Julien!!
One additional aspect with the CLTs:
If you are using hiccups, you will need to call
java -Djava.library.path=/path/to/natives/ -jar juicebox_tools.jar <...hiccups...>
in order to use JCUDA/GPUs. More details are available here: https://github.com/theaidenlab/juicer
A sample natives folder setup can be found at https://github.com/theaidenlab/juicebox/tree/master/native_launcher
There are also instructions in that folder for compiling for different CUDA versions.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/theaidenlab/juicebox/issues/7#issuecomment-221249171

Hi Julien,
We didn't create any hic files for the Dixon et al. 2015 paper.  You will
have to download the raw data and run the Juicer pipeline on it; the
pipeline will automatically do feature annotation (i.e. loop and domain
calling).  See http://aidenlab.org/juicer/ for more details.
Best
Neva
On Mon, Jun 13, 2016 at 6:42 PM, jpontis<EMAIL_ADDRESS>wrote:

Hi Muhammad,
I like to know if you plan to release .hic files from the Dixon et al.
2015 datasets on H1 et its derivatives soon or if I will need to do it
myself.
And also if you have the "loop calling" from those datasets as well ?
Have nice day.
Julien
Julien Pontis
julien.pontis<EMAIL_ADDRESS>Address: EPFL; SV LVG Station 19; 1015 Lausanne, Switzerland
On 24 May 2016, at 14:09, Muhammad Saad Shamim<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Awesome!
And thanks, Julien!!
One additional aspect with the CLTs:
If you are using hiccups, you will need to call
java -Djava.library.path=/path/to/natives/ -jar juicebox_tools.jar
<...hiccups...>
in order to use JCUDA/GPUs. More details are available here:
https://github.com/theaidenlab/juicer
A sample natives folder setup can be found at
https://github.com/theaidenlab/juicebox/tree/master/native_launcher
There are also instructions in that folder for compiling for different
CUDA versions.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub<
https://github.com/theaidenlab/juicebox/issues/7#issuecomment-221249171>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theaidenlab/juicebox/issues/7#issuecomment-225730537,
or mute the thread
https://github.com/notifications/unsubscribe/ABWiW9AFkFesIZ0TeIg0psWscXYkwlHPks5qLdzjgaJpZM4IlCvK
.

--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab
www.aidenlab.org

Thanks,
Have nice day.
Julien
Julien Pontis
julien.pontis<EMAIL_ADDRESS>Address: EPFL; SV LVG Station 19; 1015 Lausanne, Switzerland
On 14 Jun 2016, at 18:51, nchernia <notifications<EMAIL_ADDRESS>wrote:
Hi Julien,
We didn't create any hic files for the Dixon et al. 2015 paper. You will
have to download the raw data and run the Juicer pipeline on it; the
pipeline will automatically do feature annotation (i.e. loop and domain
calling). See http://aidenlab.org/juicer/ for more details.
Best
Neva
On Mon, Jun 13, 2016 at 6:42 PM, jpontis <notifications<EMAIL_ADDRESS>wrote:

Hi Muhammad,
I like to know if you plan to release .hic files from the Dixon et al.
2015 datasets on H1 et its derivatives soon or if I will need to do it
myself.
And also if you have the "loop calling" from those datasets as well ?
Have nice day.
Julien
Julien Pontis
julien.pontis@epfl.chmailto:julien.pontis<EMAIL_ADDRESS>Address: EPFL; SV LVG Station 19; 1015 Lausanne, Switzerland
On 24 May 2016, at 14:09, Muhammad Saad Shamim <notifications<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Awesome!
And thanks, Julien!!
One additional aspect with the CLTs:
If you are using hiccups, you will need to call
java -Djava.library.path=/path/to/natives/ -jar juicebox_tools.jar
<...hiccups...>
in order to use JCUDA/GPUs. More details are available here:
https://github.com/theaidenlab/juicer
A sample natives folder setup can be found at
https://github.com/theaidenlab/juicebox/tree/master/native_launcher
There are also instructions in that folder for compiling for different
CUDA versions.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub<
https://github.com/theaidenlab/juicebox/issues/7#issuecomment-221249171>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theaidenlab/juicebox/issues/7#issuecomment-225730537,
or mute the thread
https://github.com/notifications/unsubscribe/ABWiW9AFkFesIZ0TeIg0psWscXYkwlHPks5qLdzjgaJpZM4IlCvK
.

--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab
www.aidenlab.orghttp://www.aidenlab.org
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/theaidenlab/juicebox/issues/7#issuecomment-225944255, or mute the threadhttps://github.com/notifications/unsubscribe/AL20WH6sIyf8jgQOwd4V3vmqUxb2yQraks5qLtwBgaJpZM4IlCvK.


Upgrade to .NET 7

/fullstackhero/dotnet-webapi-boilerplate/tree/main/.github/workflows)/dotnet.yml  needs to be updated for this to pass.


kWh today does not reset at midnight

At midnight cost today resets to zero, however electricity kWh today and gas kWh today do not reset and continue to climb until 0100, they do reset to 0 at midnight in my geo home app.

I can't reproduce that. They all reset at midnight for me (specifically, sensor.gas_kwh_today and sensor.electricity_kwh_today both reset at midnight for me). This data comes from your supplier though. I wonder if they do something funky with GMT vs BST? Are you on a tariff that might do something special?

Also, in Home Assistant settings, do you have your time zone set correctly?

I'm on EDF, and here's what I see;

I'm guessing Octopus are only resetting the data the kWh reading at midnight GMT.


UI Improvement

The app is built without following material design which needs to be made to make the app look better.

how can I contribute to it

post screen UI improvement(edit text)
item card of recycler view need improvements
setting screen to be improved
the color theme of the app needs to be updated.
app font according to material design
Edit profile screen needs changes.

how can I contribute to it

these are the things you can work.

post screen UI improvement(edit text)
item card of recycler view need improvements
setting screen to be improved
the color theme of the app needs to be updated.
app font according to material design
Edit profile screen needs changes.

these issues will b assigned in parts mention which one you want to work

how can I contribute to improving setting screen, Color theme of the app or Edit profile Screen  @plazzy99 ?

@sahil1678kumar i will update you with the screen very soon

Bhaiya, I want to work on this issue.

@sahil1678kumar @shivamparihar12 you both can start working on it.

@plazzy99 Can you please assign me this issue?

post screen UI improvement(edit text)
item card of recycler view need improvements
setting screen to be improved
the color theme of the app needs to be updated.
app font according to material design
Edit profile screen needs changes.

Should we start opening the issue part by part according to these proposed changes?

Yes anyone can open proposed issue s but make sure each issue make vital and impactful change to UI.
Pull requests with less than 10 lines changes will be considered invalid and won't give you a score.
(This is so announced to prevent spam issues ans pr)


Release Google.Cloud.GdcHardwareManagement.V1Alpha version 1.0.0-alpha01

Changes in this release:
Initial release.

PiperOrigin-RevId: 645188726
Fixes b/348500281


Cocoapod Support

Great work guys! I use plug and it works great. I wouldn't mind messing around with the API if you guys added Cocoapod support. Thanks!

Give it a whirl!


Ig/synapse 1.17 ci fixes

What does this PR do?

Fixes the failed tests on flan-t5, img2txt, gpt and reberta.

For flan-t5, the increased steps adds about ~1min to total runtime.

All tests have succeeded locally (below)

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Command to test: deepspeed --num_nodes 1 --num_gpus 8 --no_local_rank /devops/sgohari/tests/codes/ig/optimum-habana/examples/language-modeling/run_clm.py --model_name_or_path EleutherAI/gpt-neox-20b --gaudi_config_name Habana/gpt2 --dataset_name wikitext --do_train --output_dir /tmp/tmp1yox70ey --overwrite_output_dir --learning_rate 5e-05 --per_device_train_batch_size 2 --per_device_eval_batch_size 2 --num_train_epochs 2 --use_habana --throughput_warmup_steps 3 --save_strategy no --use_lazy_mode --do_eval --dataset_config_name wikitext-2-raw-v1 --gradient_checkpointing --use_hpu_graphs_for_inference --deepspeed tests/configs/deepspeed_zero_2.json

PASSED

================ 1 passed, 55 deselected in 1204.11s (0:20:04) =================

gpt2
[2024-08-07 18:49:58,251] [INFO] [launch.py:348:main] Process 191084 exits successfully.
[2024-08-07 18:49:58,253] [INFO] [launch.py:348:main] Process 191080 exits successfully.
[2024-08-07 18:49:58,255] [INFO] [launch.py:348:main] Process 191085 exits successfully.
[2024-08-07 18:49:58,257] [INFO] [launch.py:348:main] Process 191087 exits successfully.
[2024-08-07 18:49:58,258] [INFO] [launch.py:348:main] Process 191081 exits successfully.
[2024-08-07 18:49:59,262] [INFO] [launch.py:348:main] Process 191082 exits successfully.
[2024-08-07 18:49:59,264] [INFO] [launch.py:348:main] Process 191086 exits successfully.
[2024-08-07 18:49:59,266] [INFO] [launch.py:348:main] Process 191083 exits successfully.

Command to test: deepspeed --num_nodes 1 --num_gpus 8 --no_local_rank /devops/sgohari/tests/codes/ig/optimum-habana/examples/language-modeling/run_clm.py --model_name_or_path gpt2-xl --gaudi_config_name Habana/gpt2 --dataset_name wikitext --do_train --output_dir /tmp/tmpzt9fxsoy --overwrite_output_dir --learning_rate 0.0004 --per_device_train_batch_size 16 --per_device_eval_batch_size 4 --num_train_epochs 2 --use_habana --throughput_warmup_steps 3 --save_strategy no --use_lazy_mode --do_eval --dataset_config_name wikitext-2-raw-v1 --gradient_checkpointing --use_hpu_graphs_for_inference --deepspeed tests/configs/deepspeed_zero_2.json

PASSED

================= 1 passed, 55 deselected in 320.20s (0:05:20) =================

roberta-large

Command to test: python3 /devops/sgohari/tests/codes/ig/optimum-habana/examples/question-answering/run_qa.py --model_name_or_path roberta-large --gaudi_config_name Habana/roberta-large --dataset_name squad --do_train --output_dir /tmp/tmpan4wvlf4 --overwrite_output_dir --learning_rate 3e-05 --per_device_train_batch_size 32 --per_device_eval_batch_size 8 --num_train_epochs 1 --use_habana --throughput_warmup_steps 3 --save_strategy no --use_lazy_mode --do_eval --max_seq_length 384 --torch_compile_backend hpu_backend --torch_compile

PASSED

================= 1 passed, 55 deselected in 471.53s (0:07:51) =================

roberta-base
Command to test: python3 /devops/sgohari/tests/codes/ig/optimum-habana/examples/question-answering/run_qa.py --model_name_or_path roberta-base --gaudi_config_name Habana/roberta-base --dataset_name squad --do_train --output_dir /tmp/tmp8qk5ytqi --overwrite_output_dir --learning_rate 7e-05 --per_device_train_batch_size 64 --per_device_eval_batch_size 8 --num_train_epochs 1 --use_habana --throughput_warmup_steps 3 --save_strategy no --use_lazy_mode --do_eval --max_seq_length 384 --use_hpu_graphs_for_inference

PASSED

================= 1 passed, 55 deselected in 169.07s (0:02:49) =================

3 tests changed in img2text
------------------------------------------------------------------------------
The model 'GaudiLlavaForConditionalGeneration' is not supported for image-to-text. Supported models are ['BlipForConditionalGeneration', 'Blip2ForConditionalGeneration', 'ChameleonForConditionalGeneration', 'GitForCausalLM', 'Idefics2ForConditionalGeneration', 'InstructBlipForConditionalGeneration', 'InstructBlipVideoForConditionalGeneration', 'Kosmos2ForConditionalGeneration', 'LlavaForConditionalGeneration', 'LlavaNextVideoForConditionalGeneration', 'LlavaNextForConditionalGeneration', 'PaliGemmaForConditionalGeneration', 'Pix2StructForConditionalGeneration', 'VideoLlavaForConditionalGeneration', 'VipLlavaForConditionalGeneration', 'VisionEncoderDecoderModel'].
The attention layers in this model are transitioning from computing the RoPE embeddings internally through `position_ids` (2D tensor with the indexes of the tokens), to using externally computed `position_embeddings` (Tuple of tensors, containing cos and sin). In v4.45 `position_ids` will be removed and `position_embeddings` will be mandatory.
08/07/2024 18:01:45 - INFO - __main__ - result = [[{'generated_text': "\nUSER: What's the content of the image?\nASSISTANT: The image features a large, long, and very, very, and a very, very, and"}]], time =<PHONE_NUMBER>030394ms, Throughput (including tokenization) = 77.68279738273527 tokens/second

Command to test: python3 /devops/sgohari/tests/codes/ig/optimum-habana/examples/image-to-text/run_pipeline.py --model_name_or_path llava-hf/llava-1.5-13b-hf --batch_size 1 --max_new_tokens 20 --use_hpu_graphs --bf16 --output_dir /tmp/tmptu54b12d

Command to test: python3 /devops/sgohari/tests/codes/ig/optimum-habana/examples/image-to-text/run_pipeline.py --model_name_or_path llava-hf/llava-1.5-13b-hf --batch_size 1 --max_new_tokens 20 --use_hpu_graphs --bf16 --output_dir /tmp/tmptu54b12d --token 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

PASSED

======================== 3 passed in 327.86s (0:05:27) =========================

flan t5
***** eval metrics *****
  epoch                       =     0.0123
  eval_gen_len                =     60.108
  eval_loss                   =     0.5692
  eval_rouge1                 =    33.0807
  eval_rouge2                 =    12.9301
  eval_rougeL                 =    23.8868
  eval_rougeLsum              =    30.0552
  eval_runtime                = 0:03:31.35
  eval_samples                =        880
  eval_samples_per_second     =      4.304
  eval_steps_per_second       =      0.024
  max_memory_allocated (GB)   =      94.58
  memory_allocated (GB)       =      31.92
  total_memory_available (GB) =      94.62
[2024-08-07 17:12:32,805] [INFO] [launch.py:348:main] Process 106228 exits successfully.
[2024-08-07 17:12:33,808] [INFO] [launch.py:348:main] Process 106227 exits successfully.
[2024-08-07 17:12:33,810] [INFO] [launch.py:348:main] Process 106230 exits successfully.
[2024-08-07 17:12:33,812] [INFO] [launch.py:348:main] Process 106226 exits successfully.
[2024-08-07 17:12:33,814] [INFO] [launch.py:348:main] Process 106231 exits successfully.
[2024-08-07 17:12:33,816] [INFO] [launch.py:348:main] Process 106232 exits successfully.
[2024-08-07 17:12:33,817] [INFO] [launch.py:348:main] Process 106233 exits successfully.
[2024-08-07 17:12:33,819] [INFO] [launch.py:348:main] Process 106229 exits successfully.
PASSED

============================================================================================ 1 passed, 55 deselected in 462.28s (0:07:42) ================================================================================

@imangohari1 You have a HF secret token written in clear in one of the examples above.
Can you please rotate or invalidate it?

@imangohari1 You have a HF secret token written in clear in one of the examples above. Can you please rotate or invalidate it?

@regisss thanks for the catch! the token is invalidated.


Add ENS lookup and resolver on own account and send input

https://github.com/BuidlGuidl/scaffold-wallet/pull/27


Bug 1937464: Swift: Do not modify driver config

Driver config must be used for user input only and the operator shouldn't modify it using values from clouds.yaml.
This commit ensures that driver config stays unchanged, and it's used just to update default values provided by clouds.yaml.

/test e2e-openstack

/hold
I think now I understand why the current approach doesn't work. But this fix will give us another problem.
spec is intended to be editable only by customers if they want to provide their own storage, the operator shouldn't override them. The operator can default settings, but it shouldn't change them.
If we've found that these settings are dynamic, perhaps the operator should keep spec empty. This will backward incompatible change, but as the current approach doesn't work anyway, maybe it's not that bad. Let me think about it.

/test e2e-openstack

/test e2e-openstack

/retest

/test e2e-openstack

/test e2e-openstack

/test e2e-openstack

/test e2e-openstack

/test e2e-openstack

/test e2e-aws-operator

/lgtm

/hold cancel


[BUG] ChatMessage.artifacts does not exist

Describe the bug
Using<EMAIL_ADDRESS>with Postgres DB. I cannot get chatflows to work
[ERROR]: [server]: Error: column ChatMessage.artifacts does not exist
To Reproduce
Steps to reproduce the behavior:
Any current and new chatflow built on<EMAIL_ADDRESS>with Postgres DB

Go to '...'
Click on '....'
Scroll down to '....'
See error

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

Flow
If applicable, add exported flow in order to help replicating the problem.
Setup

Installation [e.g. docker, npx flowise start, pnpm start]
Flowise Version 2.1.0
OS: [e.g. macOS, Windows, Linux]
Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

I opened PR https://github.com/FlowiseAI/Flowise/pull/3209. @HenryHengZJ Feel free to review

I'm having a similar issue with DynamoDB Chat Memory:
column "artifacts" of relation "chat_message" does not exist

https://github.com/FlowiseAI/Flowise/pull/3210 from @HenryHengZJ

merged!


Fix individual courses page

[ ] remove bottom space from footer
[x] make sure footer content is same as homepage
[ ] add 3 buttons below every video

[ ] assignment
[ ] code
[ ] youtube

[x] remove login/signup from every course page

I would like to work on this issue.

Can I work on this issue @kunal-kushwaha

go ahead

hey i can work on this issue.

hey? can someone elaborate on the "remove bottom space from footer" part.
do we just have to align icons to the center like in the homepage?

When I am opening the website on my laptop, there's no such space there at the bottom.

hey? can someone elaborate on the "remove bottom space from footer" part.
do we just have to align icons to the center like in the homepage?

t

Exactly. I have edited my comment. please check

When I am opening the website on my laptop, there's no such space there at the bottom.
Exactly. I have edited my comment, please check if we have to do something similar to that

Exactly. I have edited my comment, please check if we have to do something similar to that

When I am opening the website on my laptop, there's no such space there at the bottom.

Yes, I guess.

Exactly. I have edited my comment, please check if we have to do something similar to that

When I am opening the website on my laptop, there's no such space there at the bottom.

Hey, I have sent you a connection request on LinkedIn. Let's Connect.

I'd work on it

Can I work kunal plzzzzzzz

Hey @kunal-kushwaha, is something like this cool?

send screenshot of entire page

send screenshot of entire page

Here's what I have done. Do comment on it, if some changes are required.
@kunal-kushwaha

Hey Kunal, I have added the 3 buttons and also fixed some padding issues. Is this alright?

please share screenshot of the entire page

Here it is

Sorry for spamming but added styles to the buttons and given margin to separate cards from footer

@kunal-kushwaha
Here are the changes made in buttons.
Hope you would liked it.

@kunal-kushwaha
Here are the changes made in buttons.
Hope you would liked it

.

Whoever is doing this just add some margin to the top of that container.

I see that there are 7 tasks in this issue. so, do we need to do all the 7 tasks to be eligible to merge the PR?

[ ]  remove bottom space from footer

[x]  make sure footer content is same as homepage

[ ]  add 3 buttons below every video

[ ]  assignment
[ ]  code
[ ]  youtube

[x]  remove login/signup from every course page

@kunal-kushwaha I would like to work on it ...

@kunal-kushwaha  Is the three-button issue solved?
If not, I would like to work on it.

If there are more UI, I would like to solve those too.

If there are more UI issues, I would like to solve those too.


IR learning not working?

Hello,
I used the command line project for testing and the method "RmTest()" for learning IR codes does not work for me.
await rm.EnterLearning();
var data1 = await rm.CheckData();
var data2 = await rm.CheckData();
data1 and data2 are always NULL. What am I missing?
How do you do IR learning?
Regards
Bernd

You have run RmTest on the console.
That means that the Auth method is being executed.
Maybe there are multiple RM devices in your LAN.
Try to identify the device in this way.
var dev = (Rm) devs.FirstOrDefault (e => e.Host.Address.ToString () == "<IP_ADDRESS>");

When the EnterLearning method is executed, the LED of the target RM device lights up.
This makes the device distinguishable.

Hello,
there is only one device in the LAN. I can guarantee that.
I found out that EnterLearning does not work, but LearnIRCommand does!
This is also much nicer, because it has a Concellationtoken as parameter :)

EnterLearning must be executed in a very precise order to other methods.
As of PR #8 EnterLearning should be deprecated in favour of LearnIRCommand, which is very straight forward to use


How do I do inference with a checkpoint without finishing training?

I have a checkpoint-6800 but did not finish training all the way. Can I do inference with it?
This is the command i tried but it failed with an error:
python generate.py --load_8bit --base_model '/root/backup/converted_7B/' --lora_weights '/root/backup/tuned_model/'
Error was:
ValueError: Can't find 'adapter_config.json' at '/root/backup/tuned_model/'
My directory structure looks like:
~/backup/alpaca-lora$ ls ../tuned_model/
checkpoint-6400  checkpoint-6600  checkpoint-6800
~/backup/alpaca-lora$ ls ../tuned_model/checkpoint-6800/
optimizer.pt  pytorch_model.bin  rng_state.pth  scaler.pt scheduler.pt  trainer_state.json  training_args.bin
I don't have any adapter_config.json file. Is it possible to do inference with my checkpoint?

I have same problem..
I don't have both adapater_config.json and adapter_model.bin.

I have same question

Try using checkpoint-6800/pytorch_model.bin as adapter_model.bin (cp  checkpoint-6800/pytorch_model.bin adapter_model.bin ) and create file adapter_config.json, which contains the following:
{
  "base_model_name_or_path": "decapoda-research/llama-7b-hf",
  "bias": "none",
  "fan_in_fan_out": false,
  "inference_mode": true,
  "init_lora_weights": true,
  "lora_alpha": 16,
  "lora_dropout": 0.05,
  "modules_to_save": null,
  "peft_type": "LORA",
  "r": 8,
  "target_modules": [
    "q_proj",
    "k_proj",
    "v_proj",
    "o_proj"
  ],
  "task_type": "CAUSAL_LM"
}

specify the parameters as when starting the training.
It worked for me.

Use callback, I just update the test.py.


Update blog to refer to Kitura 2.7 announcement

@ddunn2 please can you create an 'assets/kitura-2dot7.jpg' file as this update currently points at an image with 2.6 on it, thanks!

Closing as being fixed under a larger set of changes here -> https://github.com/IBM-Swift/kitura.io/pull/307


Clarify the behavior of @inheritDoc

Additional info copied from https://api-extractor.com/pages/tsdoc/tag_inheritdoc/

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


How to calculate the gradient with Cupy?

I'm rewriting a program which uses numpy originally, and I failed to find the gradient function in cupy.  Anyone knows how to calculate the gradient with Cupy?

autograd is moving to support CuPy (but AFAIK it's not working for now).
https://github.com/HIPS/autograd/issues/353

@kmaehashi mostly correct! I have gotten first order derivatives working, but 2nd and higher order derivatives are not working at the moment. One limitation appears to be that CuPy doesn't convert array-like to CuPy arrays, so I'm trying to think of a workaround.
I've contacted Autograd's creator, but I'd also love to hear ideas about how to get around this!

@kmaehashi more progress! Please see issue HIPS/autograd#353 :smile:

Thanks for sharing the progress! I've subscribed that issue.

One limitation appears to be that CuPy doesn't convert array-like to CuPy arrays, so I'm trying to think of a workaround.

You may have interest in #1030, which is my proposal of fixing cupy.array and cupy.asarray to accept (possibly nested) list/tuple of cupy.ndarrays and return a single contiguous cupy.ndarray. Note that this operations performs memory copy on GPU.

Having that feature would be awesome from a user-facing perspective! Thank you for alerting me to this. :smile:


Convert the BIM tileset to avoid using techniques

Since we deprecated the KHR_techniques_webgl extension, we wanted to update the BIM tileset used in several Sandcastle examples so they don't break when we remove the old Model (See #10379 and #10346).
The tileset was non-trivial to convert, and visually there are some differences including:

The materials now use PBR, so the lighting looks a bit different
Some dashed polylines in the original model now render as solid, as the custom GLSL code to render them doesn't translate directly to GLSL.

This PR updates the relevant sandcastles to use the new asset ID. It also adjusts the timeline and other minor visual tweaks.
Also note that I only updated thumbnails where the difference in lighting would be noticeable.
Note that if you set ExperimentalFeatures.enableModelExperimental = true, all 5 of the affected sandcastles will render without crashing.
@j9liu could you review?

Thanks for the pull request @ptrgags!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Could you resize the new image to 225x150?

@lilleyse I updated the images and squashed the commits!


Fixes for PgSQL loading scripts

I had some issues with the PgSQL loading script, here are some small changes:

Script now allows to have a custom Docker published port (5432 can already be bound)
PgSQL user and DB name were not given to the container
For some reason, the container can fail to start: it is now checked while waiting for PgSQL to start
load.py was using constants instead of the environment variables

Thanks very much for these fixes!
Before I can merge it, I'd like to ask you to sign a CLA to  and email it to<EMAIL_ADDRESS>I think the individual CLA is the one to use in this case but we have an organizational one as well.
The CLAs are based on ASLv2:

This document is based on the Apache Individual CLA issued by the Apache Software Foundation. You can
find a copy of the Apache License 2.0 at https://www.apache.org/licenses/LICENSE-2.0. It differs from the original
ASF draft in that (1) LDBC replaces “the Foundation”; (2) it has retrospective effect by rendering contributions under
its terms made prior to the date of the Agreement subject to the Agreement; (3) it introduces the concept of Code
Contributions. Only Code Contributions are subject to the patent grant and retaliation provisions. To assist readers of
this agreement, the text implementing (2) and (3) has been marked in bold, but this emphasis has no effect on
interpretation.

@tcalmant thanks for the new commits. Is this PR ready to be merged? If so, could you please sign a CLA?
Thanks,
Gabor

Hi @tcalmant , would it be possible for you to sign an individual CLA?

Hi @szarnyasg
Sorry for the delay, I had to update my committer email to make sure I could use the Individual CLA for this PR.
It should be OK now

Got the CLA and the code looks good. Thanks!


Is there a plan for APIGateway to export Smithy at some point?

It's something we've thought about. What's the use case / workflow you had in mind?

I'm the main developer on Soto, the third party Swift SDK for AWS. I have been looking into generating the Swift versions of the AWS service files from the Smithy file descriptions. While doing this I did a little investigation on whether I could generate Swift code for my own custom Smithy and it worked out pretty good.
The use case would be generating client interfaces from API gateway setups. I guess I could do this from the OpenAPI or Swagger but I already have a code generation tool that takes Smithy as input.

Sorry for the delay and thanks for the context! I'll pass this feature request on to the API Gateway team.
In my personal experience, and what I observe other teams doing with Smithy at Amazon, is that typically the package that generates OpenAPI models from Smithy to export to API Gateway also handles generating the clients from Smithy. This way, there's no need to call a web service and need network access to generate clients, nor is there any kind of potential for lost metadata due to converting Smithy -> OpenAPI -> API Gateway -> Smithy.

I'm closing this issue since this is not currently planned. But we hear you, and we let the API Gateway know about this feature request for both importing and exporting Smithy models.


Cannot specify schema in HiveToMySqlTransfer

it cannot specify a schema in HiveToMySqlTransfer init.
it also cannot apply the hive_cli_conn_id configured schema.

What version are you running? I just ran some tests and the HiveServer2Hook takes the schema attribute and passes it along properly.
Alternatively you can specify the schema in your SQL, as in
SELECT * FROM mydb.mytable
While looking at the code I found a (unrelated) bug though, here's the fix:
https://github.com/airbnb/airflow/pull/114

reopen if this is still an issue


Add guidance for govuk-form-group

The only guidance for govuk-form-group is in the context of fieldset - it's not clear you can use it without fieldset and legend. When I was looking, I looked in Styles > Spacing, then Styles > Layout, then found the fieldset page in a search for form-group.

Thanks for raising this, we're having conversations around where to document these sorts of things so this will be useful for when we figure that out. :)


On Screen Ruler

Description of the new feature / enhancement
When the user clicks a keystroke , A menu on the top of the screen will open (similar to the behavior of the screen capturing using WIN + SHIFT + S ) and you will be able to draw straight lines on the top of screen and see the length of the line in px/cm/inch
Scenario when this would be used?

Compare GUI components width/height/padding/margin properties when designing apps and websites (check for centering, equality, proportions ,etc..).
Easy measuring of the windows/screen's height/width/diagonal/ratio for simulating a smaller device view when developing.

Supporting information
No response

Working on it 🙂 /dup 863


Theme for your AI !

Waiting for your AI ...

I want to improve pig Rat snake WELL. Sultan to

Kimberly_Balance.zip


Broken viz with MFEM mesh format v1.1

In PETSc, me and @dalcinl  have used MFEM v1.1 to visualize meshes for years.
Currently, MFEM master will always force to use the NCMesh extension, see e.g. https://github.com/mfem/mfem/blob/master/mesh/mesh.cpp#L3472 even if the mesh is conforming. This is causing issues in parallel, see eg the valgrind stack trace of the  glvis command
==1990783== Invalid write of size 4
==1990783==    at 0x55F316: mfem::NCMesh::LegacyToNewVertexOrdering(mfem::Array<int>&) const (/home/szampini/Devel/glvis-fork/mfem/mesh/ncmesh.cpp:5996)
==1990783==    by 0x636CD5: mfem::GridFunction::LegacyNCReorder() (/home/szampini/Devel/glvis-fork/mfem/fem/gridfunc.cpp:3706)
==1990783==    by 0x6374B7: mfem::GridFunction::GridFunction(mfem::Mesh*, std::istream&) (/home/szampini/Devel/glvis-fork/mfem/fem/gridfunc.cpp:70)
==1990783==    by 0x52B9C6: mfem::Mesh::Loader(std::istream&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (/home/szampini/Devel/glvis-fork/mfem/mesh/mesh.cpp:3621)
==1990783==    by 0x535B06: Load (/home/szampini/Devel/glvis-fork/mfem/mesh/mesh.hpp:737)
==1990783==    by 0x535B06: mfem::Mesh::Mesh(std::istream&, int, int, bool) (/home/szampini/Devel/glvis-fork/mfem/mesh/mesh.cpp:3268)
==1990783==    by 0x431865: ReadInputStreams(StreamState&) (/home/szampini/Devel/glvis-fork/glvis.cpp:1606)
==1990783==    by 0x42D8CD: main (/home/szampini/Devel/glvis-fork/glvis.cpp:1289)
==1990783==  Address 0x5c09440 is 0 bytes after a block of size 32 alloc'd
==1990783==    at 0x483A582: operator new[](unsigned long) (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:431)
==1990783==    by 0x439697: New (/home/szampini/Devel/glvis-fork/mfem/mesh/../general/mem_manager.hpp:468)
==1990783==    by 0x439697: New (/home/szampini/Devel/glvis-fork/./mfem/general/mem_manager.hpp:699)
==1990783==    by 0x439697: Memory (/home/szampini/Devel/glvis-fork/mfem/linalg/../general/mem_manager.hpp:178)
==1990783==    by 0x439697: mfem::Array<int>::GrowSize(int) (/home/szampini/Devel/glvis-fork/mfem/fem/../linalg/../general/array.hpp:648)
==1990783==    by 0x55F3DE: SetSize (/home/szampini/Devel/glvis-fork/mfem/mesh/../general/array.hpp:669)

This is because RemoveUnusedVertices() is called.
If we compile GLVis using MFEM v4.2, we are able to visualize all meshes (conforming or nonconforming) we want.

Hi @stefanozampini, I'm not sure I understand the problem. The MFEM mesh v1.1 format has always been a format for nonconforming meshes (on the other hand, v1.2 was parallel conforming only, which was confusing, so v1.1 is now deprecated in favor of the explicitly nonconforming MFEM NC mesh v1.0).
In any case, if you have a v1.1 mesh that stopped working in current master, could you post it here or describe how to reproduce the problem you have (what exactly is "broken viz"?)

We always used v1.1 for either conforming or nonconforming meshes, and this was fine with v4.2, see https://github.com/mfem/mfem/blob/v4.2/mesh/mesh.cpp#L3447.
Broken viz, means visualization is broken, as simple as that. See the valgrind stack trace. The problem is that RemoveUnusedVertices() actually removes some vertices, and  LegacyToNewVertexOrdering() uses the old numberings.

Perhaps the new v1.1 loading code just needs to call RemoveUnusedVertices(). To fix and test this, it would be best if I could try it on your mesh, is that possible? (You don't have to post the data publicly)

@stefanozampini, just to clarify: are you writing the MFEM v1.1 mesh format yourself (not through MFEM) and then visualizing it in GLVis built with the latest MFEM? Is that when you see the crash?

@v-dobrev Yes, that's the way Stefano implemented GLVis support for PETSc's DMPlex.

Okay, then I suppose the issue comes from the changes in https://github.com/mfem/mfem/pull/1392.
@jakubcerveny, maybe we don't need to always use the NCMesh extension to load the v1.1 mesh format?

Yes it most likely is caused by #1392, and I hope it can be fixed by adjusting the v1.1 compatibility code.

Perhaps the new v1.1 loading code just needs to call RemoveUnusedVertices(). To fix and test this, it would be best if I could try it on your mesh, is that possible? (You don't have to post the data publicly)

@jakubcerveny The problem happens because RemoveUnusedVertices() actually removes vertices, and in turn makes the vertex numbering assumed by LegacyToNewVertexOrdering() invalid.
@v-dobrev I agree this is caused by  #1392. For now, I can fix the problem in PETSc by always using v1.0 since we only use meshes for visualization and not for discretizations. My understanding is that visualization of non-conforming meshes does not need the NCMesh and the vertex_parent section at all. Nonetheless, I guess you would like to fix this issue anyway.

The problem happens because RemoveUnusedVertices() actually removes vertices, and in turn makes the vertex numbering assumed by LegacyToNewVertexOrdering() invalid.

I understand that and this problem can hopefully be fixed. Unfortunately, it's not clear from the issue description what it is you really need:

Just fix loading a particular case of v1.1 files (those with unused vertices)?
Make sure v1.1 files with no vertex_parents section are really treated as v1.0 conforming meshes (which seems to be an unfortunate quirk of pre-#1392 MFEM and would be a bit ugly to replicate).
Something else? What are the parallel issues?

Here you have a reproducer that emulates how PETSc and our solver interacts with GLVis. You need netcat to run it (nc command).

You need the following two mesh files. This is a 2D mesh with just two quads partitioned in two.

filename: test-mesh.000000

MFEM mesh v1.1

dimension
2

elements
1
1 3 0 2 4 1

boundary
0

vertices
6
nodes
FiniteElementSpace
FiniteElementCollection: L2_T1_2D_P1
VDim: 2
Ordering: 1

 0.0000e+00 0.0000e+00
 5.0000e-01 0.0000e+00
 0.0000e+00 1.0000e+00
 5.0000e-01 1.0000e+00

filename: test-mesh.000001

MFEM mesh v1.1

dimension
2

elements
1
1 3 0 1 3 2

boundary
0

vertices
6
nodes
FiniteElementSpace
FiniteElementCollection: L2_T1_2D_P1
VDim: 2
Ordering: 1

 5.0000e-01 0.0000e+00
 1.0000e+00 0.0000e+00
 5.0000e-01 1.0000e+00
 1.0000e+00 1.0000e+00

Launch glvis in server mode (I'll assume localhost:19916)

Execute the following two commands

{ printf "parallel 2 0\nmesh\n"; cat test-mesh.000000; } | nc localhost 19916 &
{ printf "parallel 2 1\nmesh\n"; cat test-mesh.000001; } | nc localhost 19916 &

Look at the output in the console where you executed glvis, notice the last line, the glvis window never pops up:

       _/_/_/  _/      _/      _/  _/
    _/        _/      _/      _/        _/_/_/
   _/  _/_/  _/      _/      _/  _/  _/_/
  _/    _/  _/        _/  _/    _/      _/_/
   _/_/_/  _/_/_/_/    _/      _/  _/_/_/

Waiting for data on port 19916 ...
double free or corruption (out)

There is no rush to fix this issue unless you are planning a release of MFEM soon. We have a workaround in PETSc to use v1.0 https://gitlab.com/petsc/petsc/-/merge_requests/3755/

It even fails when loading a single element from test-mesh.000000
[szampini@localhost petsc]$ glvis_new -m test-mesh.000001

       _/_/_/  _/      _/      _/  _/
    _/        _/      _/      _/        _/_/_/
   _/  _/_/  _/      _/      _/  _/  _/_/
  _/    _/  _/        _/  _/    _/      _/_/
   _/_/_/  _/_/_/_/    _/      _/  _/_/_/

Generating coloring starting with element 1 / 1
Number of colors: 1
Using GLSL 460
[minv,maxv] = [0,0] (maxv-minv = 0)
 --> [-4.9999e-09,5.0001e-09]
Subdivision factors = 16, 1
[minv,maxv] = [0,0] (maxv-minv = 0)
 --> [-4.9999e-09,5.0001e-09]
Shading type : non-conforming (with subdivision)
GLVis window closed.
Thank you for using GLVis.
[szampini@localhost petsc]$ glvis_new -m test-mesh.000000

       _/_/_/  _/      _/      _/  _/
    _/        _/      _/      _/        _/_/_/
   _/  _/_/  _/      _/      _/  _/  _/_/
  _/    _/  _/        _/  _/    _/      _/_/
   _/_/_/  _/_/_/_/    _/      _/  _/_/_/

double free or corruption (out)
Aborted (core dumped)

Here is another reproducer, using the mesh at https://gitlab.com/petsc/petsc/-/blob/main/src/snes/tutorials/output/ex12_glvis_2d_hex_p0.out (output from a PETSc DMPLEX). Using the current master in MFEM and examples/ex1p.
With v1.1 as version

With v1.0 as version

Discussion continued in #2127


Add AI Newsletter Agency to Showcase CrewAI Capabilities Using Hierarchical Approach

Summary
This pull request adds a new project, the AI Newsletter, to the CrewAI repository. The project demonstrates the use of the CrewAI framework to create an AI-powered newsletter generator that fetches, analyzes, and compiles AI news stories into a formatted newsletter.
Features

Fetches the latest AI news stories from various sources.
Analyzes and summarizes the news stories.
Compiles a structured newsletter with sections such as Daily Greetings, AI Insights, VC Investments, AI Tool of the Day, and Upcoming Events.

Files Added

projects/ai-newsletter/main.py: The main script to run the project.
projects/ai-newsletter/agents.py: Defines the agents used in the project.
projects/ai-newsletter/tasks.py: Contains the tasks for fetching, analyzing, and compiling the news.
projects/ai-newsletter/file_io.py: Handles the saving of the generated newsletter.
projects/ai-newsletter/README.md: Provides an overview and setup instructions for the project.

Setup and Usage

Clone the repository:git clone https://github.com/YOUR_GITHUB_USERNAME/crewAI.git
cd crewAI/projects/ai-newsletter

Install the required dependencies:pip install -r requirements.txt

Run the project:python main.py

Purpose
The addition of this project aims to showcase the practical application of the CrewAI framework in creating automated agents for real-world tasks. It serves as a demonstration of my expertise in Python and CrewAI, and it is intended to be a resource for other developers and recruiters evaluating my technical skills.
Credits
This project was developed with the help of the CrewAI framework. Special thanks to the original developers and contributors of CrewAI for providing a robust platform for agent-based automation.
Request for Review
I kindly request a review of this pull request to ensure the new project aligns with the repository's standards and contributes value to the community. Feedback and suggestions are welcome.

I think you meant to add this to the https://github.com/joaomdmoura/crewai-examples
This should not be inside crewAI itself :)


Update on README.md in dropwizard-archetypes

Given that $name is used to generate Configuration and Application classes, it is vital for new users not to inappropriately name it during maven interactive mode.
Also the hard-coded 0.9.1 archetype version is replaced with a place holder (there might be a better solution to have a token put in that is value-replaced by release version?).

Coverage remained the same at 80.877% when pulling bb68a7168f787bd7bf6bf19c3e598040c26ecb67 on cwang:master into b95c4e0db6151504633b2457f79b29617597065f on dropwizard:master.

Highlight done.

Thank you for contributing!

Coverage decreased (-0.003%) to 80.874% when pulling 5d94574971df7a5100ec42b39dc565be8045cd38 on cwang:master into b95c4e0db6151504633b2457f79b29617597065f on dropwizard:master.


[Feature] - add Archethic Onchain Wallet Generator and Encoder

Problem to solve
No response
Solution
Archethic Onchain Wallet Generator and Encoder, using V1 specifications
from https://hackmd.io/@219_ne6IRI6utatg6Fc8ZA/B1g0TU0uK

based on
https://github.com/archethic-foundation/archethic-ledger/blob/master/tests/manual_testing/wallet_encoder.ex#L64
https://github.com/archethic-foundation/archethic-ledger/blob/master/src/archethic.c#L41


⚠ Bofrost.be has degraded performance

In a35fda3, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1677 ms

Resolved: Bofrost.be performance has improved in 8168f34.


:web:browserRun - the site isn't reloaded on change

Tried :web:run --continuous and :web:browserDevelopmentRun --continuous. It's visible that Gradle tries to reload the page, but an error occurs:
Change detected, executing build...

> Configure project :core
Kotlin Multiplatform Projects are an experimental feature.
✖ ｢wdm｣: Hash: ed432497f3c465741497
Version: webpack 4.41.2
Time: 28ms
Built at: 05/11/2020 7:06:25 AM
 Asset     Size  Chunks             Chunk Names
web.js  888 KiB    main  [emitted]  main
Entrypoint main = web.js
[./kotlin/fsynth-web.js] 284 bytes {main} [built] [failed] [1 error]
    + 33 hidden modules

ERROR in ./kotlin/fsynth-web.js
Module build failed (from /home/piotr/repos/fsynth/build/js/packages_imported/kotlin-source-map-loader/1.3.72/kotlin-source-map-loader.js):
Error: ENOENT: no such file or directory, open '/home/piotr/repos/fsynth/build/js/packages/fsynth-web/kotlin/fsynth-web.js'
 @ multi ./kotlin/fsynth-web.js main[0]

It may be related to the fact that web is a subproject.

Found this on the Kotlin forum: https://discuss.kotlinlang.org/t/kotlin-for-react-js-continuous-build-error/17524
It's a bug in Kotlin: https://youtrack.jetbrains.com/issue/KT-32273

A workaround has been applied.


metasploit: 6.4.11 -> 6.4.12

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

4 packages built:

armitage
metasploit
msfpc
social-engineer-toolkit

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

4 packages built:

armitage
metasploit
msfpc
social-engineer-toolkit


[Vue warn]: Component emitted event "_freeModeStaticRelease" but it is neither declared in the emits option nor as an "on_freeModeStaticRelease" prop.

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/devbox/swiper-freemode-vue-forked-6vkn4d?file=%2Fsrc%2FApp.vue%3A3%2C1-11%2C40
Bug description

`

{{ subItem.meta.title }}

...

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


Support for running more than 1 NPM script

Hello,
please add support to run multiple npm scripts, because right now I can run only 1 script.

Has this always been the case?  I thought I was able to run my npm run lint command after running npm start, which ends up running infinitely because of a watch.

Normally, if you would need to run multiple npm commands ,e.g. lint->test->build etc.. you can easily wrap them into one npm command and run it, maybe that is solving the case here ?

I came across this as I need to run both an app server and bucklescript watcher to compile code. I'm not sure of the best way to go about this but it would be great just to be able to run two separate npm commands in separate terminals.

There is now support for running npm scripts in an npm extension bundled with VS Code. You can run an npm script using Tasks>Run Script... provided in the menu bar. @maarek please let me know whether this covers your needs.

@egamma You mean Tasks> Run Task? I can continue to look into that as an option but I was running into issues with it as I am using cygwin zsh shell on windows and it kept trying to pass a /d argument to it that would fail to start the terminal. This is probably not the forum to troubleshoot that issue but here is my integrated terminal settings:
"terminal.integrated.shell.windows": "C:\\.babun\\cygwin\\bin\\zsh.exe",
"terminal.integrated.shellArgs.windows": [],

@maarek yes I meant ´Tasks>Run Task` sorry.
Can you please file an issue against the vscode repository with regard to the cygwin zsh, then we can track it over there.


Modify tasks.json tasks

Modified the tasks that are provided in the default tasks.json to:

Use msCompile as the problem matcher
GenerateFullPaths as msCompile expects full paths(https://github.com/OmniSharp/omnisharp-vscode/issues/1197)
Do not produce summary as that is leading to duplicate errors in the problem window(https://github.com/OmniSharp/omnisharp-vscode/issues/1198)

cc @nguerrera


PKCS11 test environment variables take precedence

The implementation of FindPKCS11Lib would not honor PKCS11_PIN or PKCS11_LABEL if the location of the library was not specified. This change enables the override for test when needed.

Been seeing this CI failure a lot more frequently recently: https://jira.hyperledger.org/browse/FAB-18038

/azp run


docs: Fix Typo

Before submitting the PR:

[ ] Does your PR reference an issue? If not, please chat to the team on Discord or GitHub before submission.
[ ] Did you update and run tests before submission using npm run test?
[ ] Does your branch follow our naming convention? If not, please amend the branch name using branch -m new-branch-name
[ ] Did you update documentation related to your new feature or changes?

What does your PR address?
Fix a small typo in the Total Typescript course recommendation link.

Thanks @SebasF1349


Output folder flag for Elementary CLI

Keeping artifacts of elementary runs (edr.log, json files) in a separate directory, mainly to help with git and folders clutter.

just created PR #325 to solve this issue, will be happy if you can review?


init: omit controller image

Related to crossplane/crossplane#1308
Now that we support omitting the controller image, it's easier as an
author if we omit it.
Testing
Omitting the image field has been tested with other stacks; I tested it with the latest version of Crossplane and provider-gcp and stack-minimal-gcp on my machine.

Does https://github.com/crossplane/crossplane-cli/pull/45/files#diff-95002115e9268c3ba814db1db532660dR164 need to be updated?

Yeah, good point. We should update that. In fact, we should go back and remove the override thing entirely, now that the stack manager will override the source for us. I'm not going to do that part in this PR though.


Expose remaining time in timer devices

The timer driver creates two devices: one that indicates the output state of the timer and another that triggers it. It would be nice to have a third device which indicates the remaining time that the timer will be active.
This issue proposes we add a remaining device which is an integer and is read-only. It indicates how many seconds are left before the timer expires.
If the timer hasn't been activated or has expired, this device will read 0. When the timer is triggered, this device should immediately indicate the remaining time (to the nearest second.) This driver should not repeatedly send 0s to the back-end. The remaining time should be updated at 1 hz.
We could have the device count down at 20 hz -- DrMem should be able to handle it. But that would potentially trigger logic blocks at 20 hz. Plus, it would be writing hundreds of records to the back-end. For now, let's keep it at a 1 second resolution.

This is a bad idea. If you want to time the subperiod, just make another timer and trigger them a the same time. I don't like the idea of filling redis with countdown timers.


Added Validations to registration

Added Validations to registration
Added Error Messages

Hi @leixdd Love the way you implemented the custom validations 😃. I noticed a small typo and took care of it while also linting the code. Please look at the changes and let me know if everything looks good. If so, feel free to merge this pr at your convenience!

I have a curious question btw, why do we keep mDB in src/app.ts when it's not used anywhere? Is it for future use? 🤔 I'm still kind of a young Node.js coder so I was wondering if it's something that I will keep seeing and why is it this way.

I have a curious question btw, why do we keep mDB in src/app.ts when it's not used anywhere? Is it for future use? 🤔 I'm still kind of a young Node.js coder so I was wondering if it's something that I will keep seeing and why is it this way.

Hi Anna, that's used to initialise DB connection. Since Lei exports DB.connect().useDb(dbName) directly from db.ts, it might seem to be a bit wired to you. To give you a clearer picture, imagine if we were export DB class from db.ts, and then call DB.connect().useDb(dbName) in app.ts, which is the approach I would normally do 😄

Thanks a lot @nubiv, now I get it 😆


feat: Add link to view source on GitHub

move "Open in Gitpod" link below the image
add new "Browse on GitHub" link next to it

Both of these use accessible SVG elements that adjust colors for dark mode
Mobile screenshot, light mode

Wider-screen screenshot, light mode

Even wider screen, dark mode

I haven't though about it for longer than a few moments, but my gut tells me that "Open in Gitpod" is my preference over "Edit in Gitpod"
I think folks might be like, "whoa whoa, I just want to see what this thing is"

@mikedotexe I think @Patrick1904 was leaning in that same direction; I've updated the code to say "Open" now but I have not updated the screenshots. Let me know if you have any other feedback!

It looks like the Github button is ~1px taller than the Gitpod button. Let's just fix that :)
I really like the white theme much more than dark.

Good eyes, @Patrick1904! Also, I want you to like dark mode as much as you like light mode. How's this look to you?

Good eyes, @Patrick1904! Also, I want you to like dark mode as much as you like light mode. How's this look to you?

Thank you - much better.

Good eyes, @Patrick1904! Also, I want you to like dark mode as much as you like light mode. How's this look to you?

Thank you - much better.

For dark mode, it would be nice to match the link color with buttons, but assume the darker blue will not offer enough contrast with the black background. The darker blue buttons work because of their relatively large size.

@Patrick1904 yeah, I don't think the "royal blue" for links works on the dark background. What do you think?

The other option for making links & buttons the same color in dark mode is the previous version, where the buttons become the lighter blue in dark mode.

The other option for making links & buttons the same color in dark mode is the previous version, where the buttons become the lighter blue in dark mode.

Yes we might have to do the lighter blue background on buttons with white text, and lighter blue links.

That looks like this:

I like the royal blue buttons with light blue links best, personally, but I will defer to you

I like the royal blue buttons with light blue links best, personally, but I will defer to you

I agree - let's do royal blue buttons with light blue links.


docs(19_security):  Fix wrong link

As discussed in #1217 I changed the links in the documentation to regular html links. They should be rendered properly now.

Preview available at http://angular-translate.github.io/docs-canary/#/guide/19_security

Landed as 8201a9e -- including the missing Taiwan Chinese one ;)

Thank you!


Update http codes

Initially when a post request was sent to create an already existing user, the api responds with a 400 bad request http code.
However, for such a  scenario, the correct http status code supposed to be returned is a 409 conflict.
I have fixed this.

Completed the requested changes