problems with sub-packages defined in the package > full repository needed

Package ecosystem
go_modules
Package manager version
0.181.2
Language version
1.18
Manifest location and content prior to update
Note, I stripped them, as I can't share the real code. Though the stripped version should still explain the issue. foobar.com is the domain of our private hosted GitLab.
go.mod
module foobar.com/dir_name/project_name

go 1.18

require (
	github.com/aws/aws-sdk-go v1.10.23
	github.com/certifi/gocertifi v0.0.0-20170727155124-3fd9e1adb12b // indirect
         ....
)

main.go
package main

import (
        ...
	"foobar.com/dir_name/project_name/config"
)
....

What you expected to see, versus what you actually saw
I expected updates to run, though this did not work as expected and I git this error:
foobar.com/dir_name/project_name imports
	foobar.com/dir_name/project_name/config: cannot find module providing package foobar.com/dir_name/project_name/config

Code that causes the issue
Here we only write the files that we collected from the fully checked out git repository in the FileFetcher This includes the first file that is part of the main package.
Though the problem is that the subdirectory, with the internal package are not captured, and are not written out. Therefore, the full go get run will fail on this. But if you would run go get -d (the executed command) inside the repository cloned b the file fetcher, it works without an error.
Solution
I created an ugly monkey patched version of the Dependabot::GoModules::FileUpdater#use_repo_contents_stub method, that does the trick and fixes it. But can't be back ported here in its current state.
require 'dependabot/file_updaters/base'

module Dependabot
  module GoModules
    class FileUpdater < Dependabot::FileUpdaters::Base
      private

      def use_repo_contents_stub
        @repo_contents_stub = true

        file_fetcher = Dependabot::FileFetchers.for_package_manager('go_modules').new(
          # The initializer does not accept the source parameter
          # and we try to change as few as possible in this monkey-patched version
          source: @options[:source],
          credentials: credentials
        )

        SharedHelpers.in_a_temporary_repo_directory(
          file_fetcher.directory,
          file_fetcher.clone_repo_contents
        ) do |path|
          @repo_contents_path = path

          dependency_files.each do |file|
            next if file.name == 'main.go'

            path = File.join(@repo_contents_path, directory, file.name)
            path = Pathname.new(path).expand_path
            FileUtils.mkdir_p(path.dirname) unless Dir.exist?(path.dirname)
            File.write(path, file.content)
          end

          # Only used to create a backup git config that's reset
          SharedHelpers.with_git_configured(credentials: []) do
            `git config --global user.email<EMAIL_ADDRESS>            `git config --global user.name "Dependabot"`
            `git add .`
            `git commit -m'fake repo_contents_path'`
          end
        end
      end
    end
  end
end

By the way, I exclude main.go as it was not changed by dependabot, and could contain wrong content as simply the first file part of the package main is saved here.

Thanks for the detailed debugging.
We haven't touched the go_modules updating code much for a while, so I assume this is still happening on your repo?

Closing since there was no feedback. Feel free to reopen if still running into this!


Resolves Issue #7

Updated .build.cs to use cuda by default but only if installed. Defaults to precompiled llama.lib however easily solved by compiling llama separately and using a "LLAMA_PATH" variable pointing to the release folder.

Doesn't actually fully resolve #7, but allowing a dev alternative using CUDA_PATH and LLAMA_PATH is a good idea.


Unused variable pect

I get these messages: "Unused variable pect inside pattern at ((189,24),(189,28))".
However, I am not using any variables called pect. At the mentioned line there is however a variable called 'aspect'.
I assume somewhere in elm-analyse the as of the variable aspect is omitted as a reserved word for example. To verify the assumption I changed the variable aspect to waspect and elm-analyse does not report an 'unused variable' anymore ;-)

@berry Thanks for your report. I guess your assumption is correct. However, could you add a small scale example (possibly anonymised) to reproduce this? At this point you have more context to where the unused variable was located in the file (parameter, top level, or destructuring expression). By giving me an example of the false positive you would really help me out.

I had some time to create an example. While creating the example I found out the "as" bug does not occur when the parameter name is the only parameter name in the function. When the parameter starting with "as" is the second or third parameter then elm-analyse trips over the name.
module Main exposing (main)

import Html exposing (Html, div, text)

main : Html msg
main =
    div []
        [ text <| withAnalyseError "with" "error"
        , text <| withAnalyseError2 "with" "an" "error"
        , text <| withoutAnalyseError "without error"
        ]

withAnalyseError : String -> String -> String
withAnalyseError x aspect =
    "Elm-analyse bug #167: " ++ x ++ " " ++ aspect

withAnalyseError2 : String -> String -> String -> String
withAnalyseError2 x y aspect =
    "Elm-analyse bug #167: " ++ x ++ " " ++ y ++ " " ++ aspect

withoutAnalyseError : String -> String
withoutAnalyseError aspect =
    "Elm-analyse bug #167: " ++ aspect

This is the output of elm-analyse:
INFO: No configuration provided. Using default configuration.
INFO: Load dependency elm-lang/html 2.0.0
INFO: Load dependency elm-lang/core 5.1.1
INFO: Loaded elm-lang/html from cache
INFO: Loaded elm-lang/core from cache
INFO: Load file Main.elm...

Messages:
- Main.elm
  > Unused variable `pect` inside pattern at ((15,21),(15,25))
  > Unused variable `pect` inside pattern at ((20,24),(20,28))

I hope this clarifies the bug report.

Great. Thanks for the details. This help  a lot :)

Fixed the issue. Its origin was https://github.com/stil4m/elm-syntax. It will be released in 0.15.0.


chore(main): release dev-dependencies-client 1.0.1

:robot: I have created a release beep boop
1.0.1 (2023-10-25)
Bug Fixes

trying to automate npm publish (6fca80b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aversini/dev-dependencies/releases/tag/dev-dependencies-client-v1.0.1 :sunflower:


New Setting screen with new options

Description
It's time to port all missing features from the Setting screen macOS to Windows/Linux.
UI Requirement

[ ] Rename the Preference to the Settings…

Platform Tab

[ ] Implement new Platform UI Tab. Make sure to use Icon from SF Symbol (Export to SVG). Please me know if you can't find these icons.
[ ] Use consistent padding (often 8px) with the macOS
[ ] Don't implement the "✅ up-to-date: logic  -> We don't need it.
[ ] New Text for Linux Section (I will update the Linux UI on macOS too):

Title: Linux (Ubuntu)
Description: Ready to use on Linux.
Download…: https://proxyman.io/linux

General Tab

1. Auto select available port

[ ] Implement the logic to auto-select available port. This setting is stored in AppConfiguration. Default is ON.

[ ] Bring this auto-select port to new class -> Write Unit Test for the following manual tests.

Sample Unit Test: Port is not available

1. Start any local server at port 9090
2. Write a Unit Test to test a new class:
Input: 9090
Output: 9091

Sample Unit Test: Port is available

1. Don't start any server at port 9090
2. Write a Unit Test to test a new class:
Input: 9090
Output: 9090

Here is the logic:

This logic only executes at launch time
If the port is occupied at launch -> Increase by 1 -> Verify again if this port is available -> If not, Loop again (Add a safe-stop -> If it's increased 10 times, just stop with error -> This safe break make sure the while loop can't run forever ⚠ )
New port is applied

How to test manually

Open Charles Proxy at port 9090
Open Proxyman (default is 9090)
Observe Proxyman uses port 9091 after launch
Quit Proxyman and Charles Proxy app
Open Proxyman again -> Proxyman uses port 9090

[ ] Important: Make sure a new port (after auto-select) is not saved to AppConfiguration.

Advance Tab

Use 24h format & Use Full format

[ ] Implement Use 24h format. Default is ON
[ ] Impelement Display Full format. Default is OFF
[ ] Find all time convert logic in the app -> Use 24h format or 12h format if needed. For example: Duration and Time Completion.
[ ] When the Use 24h format or Full Format is updated -> Verify the UI (main table view) is updated too

There are 4 scenarios:

24h with full format = OFF: HH:mm:ss.SSS
24h with full format = ON: MMM d, yyyy HH:mm:ss.SSS zzz
12h with full format = OFF: h:mm:ss.SSS a
12h with full format = ON: MMM d, yyyy h:mm:ss.SSS a zzz

Show Update notification at launch

[ ] Implement this logic, default is ON
[ ] If there is new update app at launch time -> Show the Changelog View

How to test

Change the build.config.ts and build number in package.json to old build
Start the app
Verify new change log screen is displayed
Setting -> Uncheck this setting
Restart the app -> Open again -> verify no changelog is show. However, if I click on the New Update badge on the status bar, the Changelog view is still working

Show alert when quiting the app

[ ] Implement this logic: Default is ON
[ ] Logic: Show this view if the user hits Command+Q, or Alt+F4 (Windows), or Click on the X button (Windows/Linux), and the flow pool is not empty
[ ] If the flow pool is empty (no requests) -> We can immediately quit the app without any alert

[ ] Don't show again -> If the "don't show again" checkbox is checked -> Immediately uncheck the Show alert when quitting the app in AppConfiguration
[ ] ⚠  Important: Verify this alert doesn't conflict with other features, such as Factory Reset or Update app. It means: No Alert when the app is closed by the Factory Reset or the Update app. It's really bad UX if the alert is displayed when the app is closed by updating the app.

Stay on Top

This feature is a unique feature from the macOS, not sure if it can be achievable on Windows/Linux.

Basically, if Stay on Top is ON. The Proxyman Windows is always at top. Windows from Other apps always stays behind the Proxyman Windows. If you're not sure how it works, ping @NghiaTranUIT for a short demo.

[ ] Implement this feature: Ref: https://stackoverflow.com/questions/39835282/set-browserwindow-always-on-top-even-other-app-is-in-fullscreen-electron-mac

[ ] Default is OFF

Only listen on localhost
 // Must binding to port <IP_ADDRESS>, instead of localhost or <IP_ADDRESS>
    // It allows a remote device can connect to this server
    this.proxyConfig = {
      host: '<IP_ADDRESS>',
      port: port,
      sslCaDir: getCertificateFolderPath(),
    };

Currently, Proxyman is listening on port <IP_ADDRESS> (because we want a remote device can connect to Proxyman app)

This feature will change the listening host. Instead of <IP_ADDRESS>, it's now <IP_ADDRESS>

[ ] Implement this logic. Default is OFF. No need to restart the Server -> This will take effect at the next launch

[ ] Verify the curl -v https://httpbin.proxyman.app/get --proxy localhost:9090 is still working

https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/ec13153f-336c-4572-8b3f-31ddc960139f


SUPPORT OTHER MODULE?

This work with Waveshare 1262?

As far as I remember the only different in implementation between s1262 and s1268 was number of channels available.
By that I mean everything should work the same with the same code between different models, until you'll use channel which is not available in s1262.


Release 1.0.6 with node 21

Release a new version of the puppeteer image based on:

node:21-slim

@krsyoung curious if this was completed? I can see that 1.0.6 is available but don't see an update here.
Also can try to help if you need!

@jonathanloos, I just pushed the PR for it (yes, it was pushed to Docker Hub via the 1.0.6 tag).
It was focused on resolving the node seg fault problem which seems to continue to be more related to Mac OS / virtualization vs anything actually npm/node related (re: https://github.com/docker/for-mac/issues/6824)

Ack, thank you for the update!


Created ~Czech.ext

Adding a language

[x] The code displays "Hello World"
[ ] I have updated the readme to include the new language
[ ] I have incremented the language count in the readme

@jachymozo You have to update the readme and language count

@jachymozo You have to update the readme and language count

It should be updated now.

Ok, thanks for review. You can merge it.

I don't have tho power to merge it.

Oh, ok.

I think that everything is alright, it just needs to merge.

I was asking @Richienb (a maintainer) to review or merge.

@Richienb its ready to merge (just needs conflicts resolved @jachymozo)


Event 'room-join' / 'room-leave' Can't touch off

the room-join and room-leave can't touch off after 2020-07-24
bot = Wechaty().on('room-join', room_join)
bot = Wechaty().on('room-leave', room_leave)

room-join works due to I make mistake for paramaters.


adding compass card to final position in list if there is no magnetic…

… sensor
Description
Copied the logic to check if there are the necessary sensors from the compass activity and added to the utilities fragment and if so, add in the normal position. If there is any of them, add the compass card to the end of the list, as requested.
Fixes #514
Type of change
Just put an x in the [] which are valid.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

[x] ./gradlew assembleDebug assembleRelease
[x] ./gradlew checkstyle

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Hi @renanrhoden
If the device does not have sensor, theUi should be like this (as mentioned in issue)

show the compass card at the end in utilities section
Grey out the card & on the top of card, show Your device does not have magentic sensor

You have just moved the card to end, but not greyed it out & add text to it.

@renanrhoden Updates??

Working on it
On Wed, Oct 31, 2018 at 3:09 PM Swati Garg<EMAIL_ADDRESS>wrote:

@renanrhoden https://github.com/renanrhoden Updates??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/project-travel-mate/Travel-Mate/pull/541#issuecomment-434786513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOgvL4h9tw5LusbEgQSpcfSNdEssP1Vpks5uqec-gaJpZM4X9LTQ
.

@renanrhoden ??

@Swati4star done


Add a refactoring that annotates an implicit or explicit any with a best guess type inferred from its use sites

I would very much appreciate having a codefix (refactoring) that, given an explicit any annotation, offers to change it to an {} annotation.
For example, given
function log(x: any) {
  console.log(x);
}

a code fix would be offered to change the declared type of x to {} resulting in
function log(x: {}) {
  console.log(x);
}

However, given
function log(x: any) {
  console.log(x.name);
}

a code fix would be offered to change the declared type of x to { name: any } resulting in
function log(x: {name: any}) {
  console.log(x);
}

but any is more than {} technically speaking, if we take it to absurd level it's not different than asking to replace any with HTMLDivElement
why {}?

Perhaps he wants any => all the members that are currently accessed?
function log(x: any) {
  console.log(x.bar.baz);
}

=>
function log(x: {bar: {baz: any}}) {
  console.log(x.bar.baz);
}

That said the original suggestion is easily done in most editors with expand selection + { + delete shortcuts e.g. alm:

I do this quite commonly myself as well to cleanup existing JS code to discover how the argument is actually used :rose:

@basarat what is the competitive advantage of atom compared to vscode?

@aleksey-bykov alm (not atom). Most devs have their own setup to help them work better / easily / faster / work the way they do. I just shared mine as alm. Features are covered here https://basarat.gitbooks.io/alm/content/. Trying it is easy npm install alm -g so give it a go ... or not .. be happy :heart: :rose:

I forgot I wrote the reasons : https://basarat.gitbooks.io/alm/content/contributing/why.html . Been a while since someone has asked :)

I think it would be a good idea for tslint

aside from you usecase which makes sense, {} is generally speaking not assignable from null and undefined, which are quite common valid options, how would it be like outside of your case?
furthermore any is a trivial thing to find either by linter (ts.SyntaxKind.AnyKeyword) or full text search

i gave it a second thought, i might be helpful if such code action looked for all places that call this function and tried to deduce the replacement type out of all possible arguments out there
// before
function log(value: any) {
}
log(1);
log('a');

// after code action
log(value: number | string) {
}
log(1);
log('a');

I have renamed this issue to reflect the far more useful refactoring proposed by @aleksey-bykov in his remarks above.
The proposed refactoring would look at how a value implicitly typed as any is used, determine a candidate type from these use sites, and annotate this value explicitly with that type.

Addressed by https://github.com/Microsoft/TypeScript/pull/14786

Can this issue be closed?  It sounds like it's been addressed.

nope. i need to update https://github.com/Microsoft/TypeScript/pull/14786, get it reviewed and merged.

Still super excited about this feature. Thanks @mhegazy

I just read #14786, and am also incredibly excited to start using this feature!  Out of curiosity, any reason not to use the same feature for implicitly inferring function parameters rather than assuming any unannotated inputs are type any?   In other words, in addition to the Quick Fix, could the compiler use the inferred type instead of any even without the annotation?  I feel as though that kind of static analysis could help TypeScript catch a lot of bugs on old javascript code bases that don't have any annotations.

Sorry, just noticed #15114 and all its friends that discuss that very issue.  I'm quite happy to see this Quick Fix solution after reading through many of the problems with function parameter inference!


add access token authentication

Signed-off-by: Brad Wadsworth<EMAIL_ADDRESS>Description of your changes
Allow use of temporary service account access tokens to be used for authentication.
Fixes #65
I have:

[X] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Updated Configuration.md with instructions on how to test with access tokens.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @bradkwadsworth-mw, Thank you for working on introducing token-based authentication support to provider-gcp.
My understanding is that the PR proposes to switch to token-based auth. by inspecting the referenced credential data (trying to parse the supplied credentials as JSON) and if this succeeds, use token authentication in the underlying Terraform (native) provider by configuring the access_token argument in the provider block. And if it fails, it configures the credentials argument of the provider block for the native provider.
I would prefer a more explicit API where we have a separate credential source (enum) constant for the token-based authentication like we do for provider-aws here. Then we could configure the access_token argument for the native provider configuration block in this switch when the credential source is AccessToken.
This would expose an explicit API for token-based authentication with, in my opinion, better UX. Because we are surfacing the API to the credential source (enums) level, it will be easier for users to follow what options are supported and to enable them to specify their intentions (regarding the auth. mechanism to use) in a more explicit manner. For instance, if the user of the ProviderConfig API would like to use token-based auth. but has a syntax error in the JSON credentials she supplies, then we would implicitly be switching to service principal credentials-based authentication, although the intent was different. What do you think?

That sounds good to me as well. I'll work on that.

/test-examples="examples/compute/address.yaml"

Triggered to check the Secret provider authentication scheme:
/test-examples="examples/compute/address.yaml"


Lossless compresso

*Total -- 108.75kb -> 99.96kb (8.08%)
/test/core/resources/src/star2.png -- 1.77kb -> 1.01kb (42.94%)
/test/core/resources/src/star3.png -- 1.80kb -> 1.06kb (40.89%)
/test/core/resources/src/star1.png -- 1.78kb -> 1.05kb (40.82%)
/test/core/resources/src/star4.png -- 1.70kb -> 1.07kb (37.16%)
/test/core/resources/src/goldmine_10_5.png -- 73.02kb -> 67.57kb (7.46%)
/test/loaders/resources/atlas.png -- 14.34kb -> 14.10kb (1.66%)
<EMAIL_ADDRESS>-- 14.34kb -> 14.10kb (1.66%)

@mrmajik45 Thanks for the PR.
What is this trying to solve?

Just reduced file size.

Just reduced file size.

Sure, but for what purpose? Changing them in the repo will increase repo size (the olds ones don't go away from the history), and they are used in tests only which are served locally so there isn't any download time.

I agree with @englercj. These are not critical to compress since they are only used for tests.
However @mrmajik45, if you want to compress images, consider doing this for the examples: https://github.com/pixijs/examples
These images are actually served to people and would be helpful to see them optimized (if they aren't already).


Link store page to recommended clothing

Allow the user to view a store page for the recommended clothing when it is clicked on.

Store page is linked through the pop up images.


Add a !deck command to decode deckstrings

Example usage:
> !deck AAECAZ8FBvQFucECg8cC1uUCteYCt+cCDKcF9QXZB7EI2a4Cu68C/68CuMcC2ccC48sC+NICieYCAA==

Reply (surrounded by triple-backticks):
# Class: Paladin
# Format: Standard
# Year of the Mammoth
#
# 2x (1) Argent Squire
# 2x (1) Lost in the Jungle
# 2x (1) Righteous Protector
# 1x (2) Drygulch Jailor
# 1x (2) Equality
# 2x (2) Dire Wolf Alpha
# 2x (2) Knife Juggler
# 2x (3) Divine Favor
# 1x (3) Unidentified Maul
# 2x (3) Steward of Darkshire
# 2x (3) Rallying Blade
# 2x (4) Call to Arms
# 2x (4) Lightfused Stegodon
# 2x (5) Stand Against Darkness
# 1x (5) Level Up!
# 1x (6) Sunkeeper Tarim
# 2x (6) Crystal Lion
# 1x (7) Vinecleaver
#
AAECAZ8FBvQFucECg8cC1uUCteYCt+cCDKcF9QXZB7EI2a4Cu68C/68CuMcC2ccC48sC+NICieYCAA==
# Find more decks on https://hsreplay.net/decks/

Decode the deckstrings with the hearthstone.deckstrings module.
https://github.com/HearthSim/python-hearthstone/blob/master/hearthstone/deckstrings.py

Added in this PR
https://github.com/HearthSim/HearthBot/pull/8


Resetting dropped connection: i.instagram.com

That kind of messages just overspam log file with no purpose
Easy solution to get rid of them:
class API(object):
def __init__(self):
    # add following two lines
    logging.getLogger("requests.packages.urllib3.connectionpool").setLevel(logging.WARNING)
    logging.getLogger("urllib3").setLevel(logging.WARNING)

Thanks, can you please make a pull request with that fix?

Thanks, can you please make a pull request with that fix?


Is it possbile to do dimension reduction on a single vector?

Hi, I am trying to do a research on representation of machine learning models and some features of objects, which requires a correlation caculation. The machine learning model outputs a vector representation, the feature of objects is also a vector. However, one is 768 length vector, another is 1124 length vector. I would like to reduce the dimension of 1124 length vector into 768, is it possbile for umap to do dimension reduction on a single vector? From what I know, demention reduction technique is mostly working on feature reduction rather than vector reduction.

I wouldn't assume you can reduce dimensionality without having a distribution to work with. Can you modify the machine learning model architecture so that the vector lengths match?

I don't believe this is tractable. UMAP representations are only unique up to translation and rotation. Solving that problem for a single vector is as easy as putting the vector at the zero vector -- and that is what UMAP would do in theory (in practice I'm  not sure what it would do --  I would have to check to code to see how it handles such corner cases).
Any neighbor based technique (so also t-SNE, Isomap, etc.) is going to have the same issue. The next option is a matrix factorization technique. Unfortunately those are ill-posed since with n=1 and k=768 you have k >> n and there are no factorizations (you need n >= k at a minimum).
Your best bet is to try for some dimension reduction of datasets of the 768 dim vectors and the 1124 length vectors to some common dimensionality while also trying to align the relevant information. The alignment is a challenging problem unless you have some way to pair up (at least some of) the data from 768 to 1124 dimensions (e.g. if there is a corresponding 1124 dimensional vector for each 768 dimensional vector). If you have the latter then at least something may be possible with AlignedUMAP, but we definitely need to be in a pretty specific case.

I don't believe this is tractable. UMAP representations are only unique up to translation and rotation. Solving that problem for a single vector is as easy as putting the vector at the zero vector -- and that is what UMAP would do in theory (in practice I'm not sure what it would do -- I would have to check to code to see how it handles such corner cases).
Any neighbor based technique (so also t-SNE, Isomap, etc.) is going to have the same issue. The next option is a matrix factorization technique. Unfortunately those are ill-posed since with n=1 and k=768 you have k >> n and there are no factorizations (you need n >= k at a minimum).
Your best bet is to try for some dimension reduction of datasets of the 768 dim vectors and the 1124 length vectors to some common dimensionality while also trying to align the relevant information. The alignment is a challenging problem unless you have some way to pair up (at least some of) the data from 768 to 1124 dimensions (e.g. if there is a corresponding 1124 dimensional vector for each 768 dimensional vector). If you have the latter then at least something may be possible with AlignedUMAP, but we definitely need to be in a pretty specific case.

I do have  the  one-to-one  corresponding vector between the 1124 and 768 length vector. Is AlignedUMAP a variant of UMAP? Or it is a specific case that I have to modify it  based on my own dataset.

AlignedUMAP is an extension of UMAP to perform multiple UMAP embeddings that are aligned with each other / in the same space. There is some documentation for it here and here.
The plan for your use case would be to provide a list of the two datasets, and as relations a dictionary mapping indices of points in the first dataset to indices of points in the second dataset. Thus is the zeroth element of the 768 dim dataset corresponds to the 23rd element of the 1124 dim data set you would have relation_dict[0] = 23 and so on. If you have both datasets sorted (so that the first entry corresponds to the first, the second to the second and so on, you will still need the relation dictionary, but it will be fairly trivial to construct.

AlignedUMAP is an extension of UMAP to perform multiple UMAP embeddings that are aligned with each other / in the same space. There is some documentation for it here and here.
The plan for your use case would be to provide a list of the two datasets, and as relations a dictionary mapping indices of points in the first dataset to indices of points in the second dataset. Thus is the zeroth element of the 768 dim dataset corresponds to the 23rd element of the 1124 dim data set you would have relation_dict[0] = 23 and so on. If you have both datasets sorted (so that the first entry corresponds to the first, the second to the second and so on, you will still need the relation dictionary, but it will be fairly trivial to construct.

Ok, I will see what I can do. Thanks!

If it works out please do let me know -- potentially we can document it, or something like it, as a different use case for AlignedUMAP.


[DO NOT MERGE] Fix generic app healthcheck alert docs 404ing

https://trello.com/c/zrq6ih4v/528-investigate-removal-of-no-processes-found-for-x-for-apps-with-a-healthcheck
Please see the commits for more details.

Adding "DO NOT MERGE", as depends on https://github.com/alphagov/govuk-developer-docs/pull/2765.


Update parallelism to reduce server load

Given the instance sizes we are running the reduced parallelism can help CI have a reduced load at any one time.
Issue: #39045

Problem

CI is having issues with timeouts, OOM, or something else in the k3s provisioning tests.
Solution

Reducing the parallelism to 50% of the vCPUs.

This did not fix the issue. Closing.


[postmortem][devicelab] Alert when more than 20% of capacity per config is red

Alert when a given test bed combination has more than 20% of the capacity red. This is to prevent blocking PRs validation because there are no test beds to run a given test.

Expanding monarch alerts to cover this use case

@keyonghan to work on this next week.


Energy Stats

Thanks Ed for creating the plugin. Do you know if we can add additional stats like
Energy Day:
Energy This Month:
Lifetime Energy:
Thanks!

Yes i need more stats!
Current & Akku stat please.


Don't build the service provider to detect if a service is registered

https://github.com/jchannon/Botwin/blob/92bb7732be433cb70c22fe76e694a793d246db5b/src/BotwinExtensions.cs#L130
Instead, you should use TryAdd*. In this case TryAddSingleton<IAssemblyProvider, AssemblyProvider>(). See https://github.com/aspnet/Mvc/blob/900a5c7c4c789e71bf18e8e90bf9b28b4e51013f/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs#L145

Cheers will amend that.
On another note, is it ok to build it to get the provider to "get" a
registered item?
On 19 August 2017 at 22:50, David Fowler<EMAIL_ADDRESS>wrote:

https://github.com/jchannon/Botwin/blob/92bb7732be433cb70c22fe76e694a7
93d246db5b/src/BotwinExtensions.cs#L130
Instead, you should use TryAdd*. In this case TryAddSingleton<IAssemblyProvider,
AssemblyProvider>(). See https://github.com/aspnet/Mvc/blob/
900a5c7c4c789e71bf18e8e90bf9b28b4e51013f/src/Microsoft.
AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtens
ions.cs#L145
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jchannon/Botwin/issues/13, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGapjyl6aD33hBBZvHSEnRCz0ziPedcks5sZ1iPgaJpZM4O8c5B
.


Update [SwiftLint] to 0.50.0

Tool name
SwiftLint
Tool license
MIT
Add or update?

[ ] Add
[X] Update

Desired version
0.50.0
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
https://github.com/realm/SwiftLint
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[x] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[X] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Will be deployed this week

Deployed


integration: soak: take into account new proxy setup

Modify the rm soak test to take into account the current
'one proxy per container' architecture.
Fixes: #925
Signed-off-by: Graham whaley<EMAIL_ADDRESS>

lgtm

lgtm


DllNotFound in Unity Editor

Hi @netpyoung,
I am facing a weird error. When I build a linux version, everything works perfectly in standalone. But in Unity Editor, I keep getting this error:
DllNotFoundException: sqlcipher assembly: type: member:(null)
Any idea about what could be going on?
Thanks!
O.S: Ubuntu 22.04 (LTS)
Unity Editor: 2021.3.11f1 (LTS)

Well, I have fixed it simply enabling "Load on startup" for these libraries:
SqlCipher4Unity3D/Plugins/x64/libcrypto
SqlCipher4Unity3D/Plugins/x64/libsqlcipher

still having this error on windows


Let the octillion test use more threads

Windows got stuck: https://github.com/rayon-rs/rayon/actions/runs/7674967625


Tiled spacing is not supported

When a spacing value is specified in the tileset, the plugins doesn't work properly (the imported tilemap is messed up).
Exemple with this tileset
the json : https://www.dropbox.com/s/407bfzr5rdlu2o0/test2.json?dl=0
the png : https://www.dropbox.com/s/d972k2c0dm3jqep/desert_palace_tiles_rescale.png?dl=0

I'll look into it, thanks for reporting.

Thanks, please have a look to my PR above, I think I'm close to the goal.
Sorry for the poor python code, I'm not familiar with the language.

Sorry for letting you wait so long. I'll check it out when I find the time, but exams are keeping me busy right now.

Ok don't worry I found another way.


Websocket samplers plugin supported ?

Hi !
Is Websocket samplers plugin supported by flood-io ?
Or Is it possible to include differents plugin ?
Thanks.

Hi there!
Yes it is possible to run 3rd party samplers (including 3rd party websocket samplers) using the Flood platform.
You just have to zip the jar files up into a zip file and upload them when running a new Flood through the UX.
If you haven't already - feel free to signup for a free trial account and contact support if you require any assistance or have any issues setting up your test.


Add support for IBM Netezza

Is your feature request related to a problem? Please describe.
IBM Netezza now has a python DB API driver (nzpy) and SQLAlchemy dialect (nzalchemy). Need to add support for IBM Netezza in Superset.
Describe the solution you'd like
Superset installation should install nzalchemy and nzpy.
Netezza logo is shown on Superset readme.
Superset should be able to connect to Netezza and execute queries, create charts etc.
Describe alternatives you've considered
There is no alternative.
Additional context
NA

Closing since @abhishekjog took on the work of adding docs + a db engine spec!
#15450


chore: Add the Python Agent to the list of projects

Thanks for submitting a pull request to newrelic/opensource-website.
If possible, please help the maintainers by leveraging the following conventional commit standards in your pull request title and commit messages.
Use chore

for changes / additions / corrections to content in the src/data/project-main-content, src/data/projects directories
for changes / additions / corrections to images in the static/images directory
for functional changes / additions to code in the examples directory

Example
git add src/data/projects/newrelic-nr1-github.json
git add src/data/project-main-content/newrelic-nr1-github.mdx
git commit -m "chore(nr1-github): adjusting config and content"
git push

Use fix

for functional corrections to code in the src/components, src/templates, src/fragments, src/pages or directories
for corrections in the src/data/oss-category or src/data/project-tags directories
for functional corrections to code in the examples directory

Example
git add src/pages/code-of-conduct.mdx
git commit -m "fix: typo and prop error in the code of conduct"
git push

Use feat

for functional changes / additions to code in the src/components, src/templates, src/fragments, src/pages or directories
for changes / additions in the src/data/oss-category or src/data/project-tags directories

Example
git add src/pages/video.js
git commit -m "feat(media): creating a video landing page"
git push

Per conversation with @carrieedwards, closing this PR for now. We can re-open as/if needed.


your example

first off, thank you for this great contribution, documentation and samples. i can't even imagine how much time was invested into this. thank you!
second, i have a question about this part of the code:
`tabular = Tabular("url", ["title"], True)
workflow = Workflow([Task(tabular)])
embeddings = Embeddings({"method": "transformers", "path": "sentence-transformers/paraphrase-mpnet-base-v2", "content": True})
data = list(workflow(["input.csv"]))
embeddings.index(data)
for result in embeddings.search("select title, abstract, authors, doi from txtai where similar('insulin')"):
print(json.dumps(result, default=str, indent=2))`
it seems to embed url and title only, but then searches through abstracts and authors too? or does it just show abstracts for similarity search on titles?

Thanks for the nice words.
In this example, the url is the unique id and the title is indexed. The abstract, authors and doi fields are retrievalable but not searchable fields.
It's been a while since this example was published and there is now the concept of subindexes. More can be read about that here: https://neuml.hashnode.dev/whats-new-in-txtai-60#heading-subindexes

thanks. the embedding takes a while, i presume i can speed it up by duplicating the space on HF and buying a faster GPU?
so, it 's possible to embed/search abstracts without chunking them?

If you are trying to run on HF Spaces then yes having one with a GPU would make it faster. You can also run your code on Colab and assign a GPU to your notebook.
In this case, the abstracts aren't indexed. If you do index them, chunking them might help get better matches.

Closing this due to inactivity. Please re-open or open a new issue if there are further questions.


I have to use the same code in esp32

hi,i got the code from https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-c.I selected arduino as developing environment and installed esp8266 in it .Now i have to use the same code in esp32 to utilize ble,but on uploading the same code some errors are seen such that libraries installed to connect esp8266 with azure iot is not compatible with esp32.can you please suggest a way to resolve this problem quickly since esp32 is a new module i didn't get any reference

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

ID: 57ecd8d9-faf6-6d05-9ba9-9b3896bdb3ad
Version Independent ID: 59408207-3a05-8dfb-2171-09c99f1ba50d
Content: Send telemetry to Azure IoT Hub quickstart (C)
Content Source: articles/iot-hub/quickstart-send-telemetry-c.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@naznaaa Please help with the document on which this feedback is provided. Thanks.

Hello @naznaaa. The port for ESP32 is maintained by Espressif here.  For reference, if you are looking for ports maintained by our partners, this is the up-to-date list.
Thank you!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


formatMonthDaySuffixMap() misjudged suffix

when day is 21，abbreviated as 21st，suffix is st ,is not th
when day is 22，abbreviated as 22nd，suffix is nd ,is not th
when day is 23，abbreviated as 23rd，suffix is rd ,is not th
when day is 31，abbreviated as 31st，suffix is st ,is not th

Codecov Report

Merging #1154 (28f83d3) into master (3e33d66) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1154      +/-   ##
==========================================
- Coverage   69.56%   69.47%   -0.09%
==========================================
  Files         358      358
  Lines       25490    25490
==========================================
- Hits        17731    17710      -21
- Misses       6309     6324      +15
- Partials     1450     1456       +6

Impacted Files
Coverage Δ

os/gtime/gtime_format.go
88.88% <100.00%> (ø)

net/ghttp/ghttp_server_error_logger.go
0.00% <0.00%> (-100.00%)
:arrow_down:

net/gtcp/gtcp_pool.go
28.78% <0.00%> (-10.61%)
:arrow_down:

os/gspath/gspath_cache.go
78.37% <0.00%> (-5.41%)
:arrow_down:

container/gtree/gtree_avltree.go
91.95% <0.00%> (-1.61%)
:arrow_down:

net/gtcp/gtcp_conn.go
30.53% <0.00%> (-1.53%)
:arrow_down:

os/glog/glog_logger_rotate.go
71.85% <0.00%> (-1.49%)
:arrow_down:

container/gtree/gtree_redblacktree.go
87.68% <0.00%> (-0.63%)
:arrow_down:

container/gtree/gtree_btree.go
88.16% <0.00%> (+0.48%)
:arrow_up:

os/gcron/gcron_schedule.go
26.54% <0.00%> (+0.88%)
:arrow_up:

Continue to review full report at Codecov.

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


Can find username and pw (I’m using homebridge and I don’t have python)

I can find user name and password, I’m using the plugin in the homebridge website and I don’t have python. How can I do that?

You have to install python in order to get the username/password.
Here is a tutorial: https://github.com/suborb/philips_android_tv/issues/36#issuecomment-795208875

How to connect the python and the homebridge, it runs on node jams I think

You don't "connect" python and homebridge. It also doesn't matter how homebridge is installed either, as it is independent.
i.e. you have one system with a homebridge installation. Inside this system you install python3 (url may vary depending on the distribution, this is an instruction for debian).
You simply just follow my tutorial above. Just ignore the fact with the homebridge installation, it has nothing to do with that. i.e. you could also get the username/password with another system which didn't even have homebridge installed (for example a windows system. Or a mac os system. Or a linux/uni system. Or [insert any os here]).

But when I try to run one of the commends on your tutorial I get an error

I’ve downloaded python on my pc, but when I try to put any of the commends I get syntax error

This is so hard and doesn’t clear 😩

Why is that so hard and not clear😩😩

It's not hard and its very clear described in my tutorial above. It's done in two minutes. There is so many stuff which you not share.

What is the system which is running homebridge?
What is the system where you try to run python?

I don't have a crystal ball neither.

I run homebridge on node js.
I’ve downloaded python from the official website.
Node js says that the commend is not part of the language,
what should I do after I’ve downloaded python?
Should I add the plug-in via homebridge website?
I tried but I couldn’t find the username and password
How do I use a python plugin with node js?
Btw I appreciate the help men

Node js is a runtime engine, not a operation system. Question 1 and 2 refers to your operating systems.

I don’t use an operation system I am very new to that and I don’t know how to do it

You are using a operation system. Homebridge has to be installed on a device.

Ohhh, I’m using windows😅

Big brain moment lol

And homebridge is installed on windows? Could you please link the tutorial you used for this

Yes it is on windows
Tutorial: https://youtu.be/5mxhAgryuVo

Ok, we have to do those linux commands in windows style. Try this:

Create a new file called philips.py (and please, check if the file extension truly is .py and not .py.txt or something like this), the content of this file exactly this here
Save the file on your desktop
Create a new file called requirements.txt and copy this here inside this file, save the file on your desktop
check the path of you pip, it should be automatically installed with python 3: https://stackoverflow.com/a/41501815, lets assume the path of pip3 is C:\path\to\python\Scripts\pip3
Open cmd
What is your python version? Type python --version I hope you installed python 3 and not python 2. If it is python 2: Install python 3.
Now in cmd use C:\path\to\python\Scripts\pip3 C:\path\to\requirements.txt
Turn you tv on
After that in cmd: python3 C:\path\to\philips.py --host <YOUR_IP_ADDRESS> pair
And yes, <YOUR_IP_ADRESS> is the ip of your philips tv WITHOUT < ... >
Your TV shows a code, be fast, the code will disappear
Type the code on your tv into your terminal
You get a username and a password.

Problems? Please exactly where and what happens WITH error messages/codes.

THANK YOU SO MUCH
I don’t even know who are you but I love you

Hey, I tried and when I write on cmd python—version it says “python is not recognized as an external or external command operable program or batch file”

And I’ve created the philips.py with IDLE python is that ok?
I’m using pyrhon 3.9

All my questions above are solved,
But when I tried to run the script I got some errors see picture:

You didn't upload a picture. You just linked your own issue.

Now that’s ok?

Please give me the command you tried, post the whole error message (no screenshot, just copy paste it here in ! a code block !).
Is <IP_ADDRESS> really the ip of your tv? What tv model (exactly the model, as accurately as possible) do you use?

I’m not near my pc right now but I did as you told me, I created a philips.py file in python and I run it.
The code I used is in the link you gave me in step number 1.
My tv ip is <IP_ADDRESS> : see image
the model is 40pfh4100/88

Please verify, that you installed the requirements.txt with pip. Also verify, that you use python3 and not python2.
python3 C:\path\to\philips.py --host <YOUR_IP_ADDRESS> pair
-> python3 at the beginning guaranteed that you use python3. If you just use python [...] instead, it will maybe use python3 - but also maybe 2, depending on your system and PATH variable. All of those question are to be sure, that you don't have dependency issues.
Also: Your computer and the tv have to be in the same network. Your tv has to be turned on before, when you use the python-command.
Maybe the api of your tv doesn't support this or doesn't even have a working api. Turn you tv on and check this "websites" with your browser:
<IP_ADDRESS>:1925/1/system
<IP_ADDRESS>:1925/6/system
<IP_ADDRESS>:1926/1/system
<IP_ADDRESS>:1926/6/system

One of those should would, please post the stuff here. If all of them gives you "Unable to connect error", then you've got no working api on this tv.

I’m using python 3 for sure,
How do I install requirements with pip?
I can control my tv via Philips app.
I’ll try those websites and update you

How do I install requirements with pip?
I told you how.

Ok, the tv is paired and everything works wonderfully but then u turn off the tv and it changes the TVs username and password

Great to hear that you figure it out. I think you can close this issue here and ask your manufacturer.
Maybe your new problem is TV specific as I hear this kind of issue the first time. Normally you just grep the username and password like you did, set up this plugin and never do this again.

Thanks a lot @Staubgeborener for supporting this issue.
I added pairing directly to plug-in via UI to simplify the process and meet verification requirements.
Seems nothing more can be done in this issue, so I will close it.


Secured Data Folder

Data folder is not exposed by default on Apache Webservers by including a .htaccess file

This will fail on Apache 2.2 which is still widely used.
Maybe use IfVersion directive?

Okay, I'll fix it, not that I agree with supporting older versions of software.

I'm no apache expert by all means, but i used Require all denied instead of  deny from all. What are differences and what would be used to achieve the same result with nginx?


Propagation of the Batcher version from L1 (via derivation pipeline) …

Fully through to sequencer and batcher
Part of #8

The CI tests fail, and I locally get an error as well.

@nyospe Do the tests fail on your machine?

The CI tests fail, and I locally get an error as well.

I didn't, on Friday, but it looks like I do now...

The CI tests fail, and I locally get an error as well.

I didn't, on Friday, but it looks like I do now...

Do you get this error as well?
ok  	github.com/ethereum-optimism/optimism/op-heartbeat	(cached)
?   	github.com/ethereum-optimism/optimism/op-heartbeat/flags	[no test files]
make: se sale del directorio '/home/leloup/repositories/espressosys/op-leader-election/op-heartbeat'
Running lint in ./op-node
make: se entra en el directorio '/home/leloup/repositories/espressosys/op-leader-election/op-node'
golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...
ERRO Running error: context loading failed: failed to load packages: failed to load with go/packages: internal error: go list gives conflicting information for package github.com/ethereum-optimism/optimism/op-node/rollup [github.com/ethereum-optimism/optimism/op-node/rollup.test]
make: *** [Makefile:21: lint] Error 3
make: se sale del directorio '/home/leloup/repositories/espressosys/op-leader-election/op-node'
Tests failed :(
If the failure looks unrelated to changes made consider running: make nuke
Then try again.

Looks like the CI is refering to this circular dependency problem you mentioned on Friday @nyospe :
=== Errors
package github.com/ethereum-optimism/optimism/op-node/rollup
        imports github.com/ethereum-optimism/optimism/op-node/rollup/derive: import cycle not allowed in test

DONE 446 tests, 1 error in 70.568s

Exited with code exit status 1


ionic2 ion-scroll not work

http://ionicframework.com/docs/v2/api/components/scroll/Scroll/
not work at this example

Change scroll-y="true" to scrollY="true"

Closing - this is working now, thanks!

I have problem with ionic2 scrolling. After installing the app in android mobile and clicking on a text filed the page is scrolling and after clicking back in mobile keyboard is closing but page is not reset to its original position. How to do that in ionic2???


External dependencies upgrade - Spring Boot 2.7.14 and Spring Cloud 2021.0.8

Updates external dependencies to align with Spring Boot version 2.7.14 from 2.7.13 and Spring Cloud version 2021.0.8 from 2021.0.7.
Release notesSourced from spring-boot releases.   🐞  Bug Fixes Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #36250 MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36224 ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #36076 When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #36029 Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #35902 ImportsContextCustomizer does not support AliasFor #34917 ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #34804   📔  Documentation Add Javadoc since to ImageReference.inTaglessForm() #36048 Polish Kafka Properties Docs #36032 Fix typo in the Using R2DBC section of the reference documentation #36019 Improve Kubernetes liveness and readiness probes customization documentation #34978 Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #34136   🔨  Dependency Upgrades Upgrade to Elasticsearch 7.17.11 #36311 Upgrade to Groovy 3.0.18 #36312 Upgrade to Janino 3.1.10 #36313 Upgrade to Johnzon 1.2.21 #36314 Upgrade to Micrometer 1.9.13 #36171 Upgrade to Neo4j Java Driver 4.4.12 #36315 Upgrade to Rabbit AMQP Client 5.14.3 #36316 Upgrade to Reactor Bom 2020.0.34 #36172 Upgrade to Spring AMQP 2.4.14 #36399 Upgrade to Spring Data Bom 2021.2.14 #36173 Upgrade to Spring Framework 5.3.29 #36174 Upgrade to Spring HATEOAS 1.5.5 #36413 Upgrade to Spring Security 5.7.10 #36295 Upgrade to Tomcat 9.0.78 #36317
This PR is created by GitHub Actions: https://github.com/Azure/spring-cloud-azure-tools/actions/runs/5815397448

API change check
API changes are not detected in this pull request.

API change check
API changes are not detected in this pull request.

@alzimmermsft please help take a look, thanks

close to create new


Access material properties from GenericSection instance

We cannot access the properties of the materials within an instance of GenericSection.
Ideally, it should be possible to access these material properties to obtain further information without relying on previous instances of material classes.

By choice we decided to pass only constitutive laws that are needed for computing the response of the section. We did this choice in the beginning of the design when not all materials were already developed (in particular there was not reinforcement yet). In this way the user could pass a Material (and from there we take the ConstitutiveLaw) or directly a custom ConstitutiveLaw.
We can pass a Material if we think that there are needed properties in the material for the computation of sectional properties, but we should prevent the user to pass a custom ConstitutiveLaw and permit to pass only Materials in order to be sure that those properties are always available.
Can we discuss here more in detail what properties should be needed from the material at the section computation level?

I see your point, and it's a good one. Separating concerns between the material and section classes is an important consideration. Our main concern, however, was tracking which material is used in each section, along with its specific parameters, because it's common to instantiate multiple materials with their respective sections. We recognize that assigning a name to a section in its constructor can help mitigate this issue to some extent as it improves trackability.
Personally (and I might be biased here, so take this with a grain of salt), I feel that a cross-section inherently involves a material (or multiple materials), so reducing the material to just a constitutive equation seems a bit off to me.
This discussion might also relate to Issue #147. One of my questions now is about the future direction of the cross-section class. For example, if we plan to implement a method for computing crack width (but it could be any other useful property) in a concrete section, like section.wk(M,...), will that method be included in the Section class (or a derived ConcreteSection class)? Or should we keep such functionality separate in the codes module, a wrapper class, or a future Element superclass?
If we decide to include crack width calculations in the Section class (or an inherited ConcreteSection), it might be useful to also retain the material information for these calculations.
What are your thoughts on this?

I see your points.
When dealing with common section behavior (strenght, domain, moment-curvature) the constituve law is enough. I would not care too much about "trackability" in a backend: it is a issue more related to a front-end. We are creating a back-end where it is easier to re-run a cell than to do many checks on trackability. I feel that those aspects should be dealed by a front end. Anyhow you are right: names helps somehow this trackability.
On the other hand, I am interested in aspects of computation that may need the material class, rather than just the constitutive law. We should discuss here if we need some stuff for computations.
In a certain way crack width is related to an Element class made as a compound of one or more sections.
On the other hand I also see that, as often happens, some "structural level" characteristics are seen by most engineers as "sectional level" like for instance crack width computation.
I don't have a strong preference here, so I am open to your opinions on this. Just thinking out loud I want to add just the following couple of comments:

We can also have methods for computing stuff on sections that are not methods of sections class, but methods that require as input a section, for instance compute_crack_width(section, ...)
Having at disposal the material permits also to do on-the-fly changes on the material and see immediately the results on the section response as observed during tests by me and @mortenengen.
On this last point we should anyhow account that running the code for a section is easy. And maybe running two cells with two set of parameters permits comparisons, while updating material prevents easy comparisons since you "overwrite" the old result. Maybe we can improve the API adding methods for geometries permitting to update the constitutive law passing the newly updated material?
If we want to include material objects in the section class, I would prevent the user to pass a constitutive law, since that if we feel the necessity of having materials for computations, it means that constitutive laws are not enough.

Let me know you thoughts on this.

These are all good points, and I am glad that they are brought up now 😃
tl;dr: I suggest that we explore implementing separate utility functions for concrete, but I am not yet sure how to handle the reference to material classes. More below.
I think there are some important considerations that you also bring up:

Storing the material class in the section can be useful, but really requires that we only accept a material class and not either a material or a constitutive law. Being able to provide just a constitutive law is in my opinion really strong, since it opens for a lot of flexibility. Therefore, I think we should stick to the current implementation, i.e. accepting either a material or a constitutive law, and storing only the constitutive law on the section.
We have planned to create an element class, which as you indicate @DanielGMorenaFhecor, is above the section classes in the hierarchy. And as @talledodiego indicates, a method like the suggested .wk could belong there. However, I am not really sure if it actually belongs there either, because then we might end in a situation where we have a too close connection between the design code equations and the higher level classes, i.e. mixing concerns. I think a good alternative is to define separate utility functions for concrete, as @talledodiego indicates, perhaps even design code specific ones, where the section is one of the arguments. But this does not solve the original issue in this thread: how to access properties from the material class. One way forward with such utility functions could be to provide both a section and a material as arguments, but then we are doubling up on the material definition, the procedure becomes ambiguous, and it is unclear how to treat a situation where you have different concretes in the same section.
Finally, we might consider an option where a constitutive law stores a reference to the material class that initialized it. If it was not initialized by a material class, it could store None. If in addition we implement separate utility functions for concrete as indicated above, we could raise meaningful exceptions if these functions are called with sections that contain constitutive laws without any reference to materials.

What are your thoughts?


[Feature]: Support loading of sharded vLLM serialized models with Tensorizer

🚀 The feature, motivation and pitch
PR https://github.com/vllm-project/vllm/pull/3476 added support for loading models with Tensorizer, but has the limitation that it does not support loading a sharded vllm-serialized model to multiple GPUs (see this verification check). Use of sharded models would also benefit from the faster loading and encryption provided by Tensorizer.
This issue open with Tensorizer suggests a couple of approaches to support sharding. With tensor-parallel models, the model is split across the GPUs and the suggestion is to serialize each shard separately.
I have prototyped this approach of splitting the vllm-tensorized model into multiple shards and am working on a PR.
Alternatives
The alternative given in the Tensorizer issue is to deserializing Tensors to CPU memory and then send the tensors to the GPUs. This would decouple the serialization of the model from the sharding configuration, but would also be less efficient.
Additional context
No response

cc: @sangstar I'm curious what your thoughts are on supporting sharded vllm tensorized models and if this is the right approach.

cc: @sangstar I'm curious what your thoughts are on supporting sharded vllm tensorized models and if this is the right approach.

Eager to see your PR on this! The topic of loading sharded vLLM serialized models is just a matter of Tensorizer supporting sharding, which is a feature we've had lots of discussion on how we'd best like to implement. As you've seen in the issue, it's already feasible to do this with multiple serializers and deserializers, but we haven't rigorously tested or benchmarked this yet, and because of this it's hard to give a definitive answer on what the right approach is, as we're not sure yet.

Working with serialized shards will be performant, but there are a couple of considerations one should make if trying to implement this with tensorizer:

Deserialization incurs a performance cost as the number of shards increase, as apart from competing resources, the buffer setup phase for multiple deserializers can not occur perfectly concurrently (some part of the process are simply not parallelizable). As such num_shards = num_devices would be ideal, and the smaller the better.

Sharded serialization to a certain num_devices expects that same num_devices during deserialization as the device count is baked into the serialization, so if num_devices changes, you'd need to reserialize.

We have plans to implement this natively with tensorizer, but can't speak as to when that would be, although conversations on this matter have been leaning towards a feature that allows direct tensor-device mapping, that we think could be more robust than a multiple file approach. This is due to tensorizer's native parallelism when reading from a single file. We load all the metadata up front, so we would know what devices to load tensors to.

Thank you for the additional context!
Yeah, my current approach requires num_shards == num_devices and assumes that the serialization and loading use the same number of devices, but it would be nice to lift that restriction in the future.
Initial PR has been pushed up: https://github.com/vllm-project/vllm/pull/4990
@sangstar I'd appreciate any feedback you have on it. Thanks!


How to use Play-selenium-plugin

Hi
I'm Narendra and new to use selenium and happy to have Play-selenium-plugin if you provide a documentation like how to add the play project and how to use it, that will be better.
thanks,

I seem to have missed this issue...
This plugin is for Play 1.x and it is a plugin to Selenium, not to Play. You can use it e.g. in Firefox in combination with the Selenium plugin.


upgrade to nextjs 14

There are a lot of breaking changes, but I didn't see any that applied to us, we'll find out when we merge if the docker builds and stuff breaks~!

AND WHY DON'T YOU BUILD IT LOCALLY FIRST? XDDD

Probably will have to wait for the next patch because of

This issue is still on-going.


The category is more than 6000, GPU usage is almost 0, CPU single core 100%

The category is more than 6000, GPU usage is almost 0, CPU single core 100%

类别大于6000个是gpu使用率几乎为0,cpu单核心100%

@mialrr 训练过程可以关掉beam search试试看 我在本机训练的时候发现beam search很耗时。

@TJCVRS 老大  关掉beam search  会不会导致不收敛？

Yes, I've gone to sizes 1024 and beyond. The blocker is the CPU. For some reason I only get 2 jobs at 100% CPU usage no matter how high I set the job count for tensorflow and despite the fact that dozens of processes are spawned (I have a machine with 40 cores)

注释tf.summary.scalar(name='Seq_Dist', tensor=sequence_dist)
以及ctc_beam_search_decoder可以提高速度

@xuenhappy I thought I had disabled computation of sequence_dist (I had removed it from the call to sess.run()), but thanks to your comment I just realised I had forgotten to disable the summary as well.
So, after one run disabling decoding after this fix results in a ~40% speedup (not an average, no idea about variance ¯_(ツ)_/¯ )
Thank you!


[ISSUE #1153]Remove invalid code.

Fixes #1153.
Motivation
Remove invalid code.
Modifications
I only removed the invalid code in the Consumer. The sendOneway method in the Producer has corresponding implementation classes, so I did not remove the sendOneway method in the Producer.
Documentation
None

please check ci

please check ci

I just removed one line of code.


Add support for partial re-indexing

Syncing between twitter and algolia currently does a full sync of your Twitter history each time which is very slow and inefficient.
We should use the existing Algolia index's most recent tweet as the cutoff for performing really quick partial re-indexing.

Done 💪


Redesigning Favourite Workflow List

[x] Reposition of Favourite Workflows to navigation drawer menu option.
[x] Design xml layout.
[x] Add method in DB Layer to get favourite
[x] Add method in Data layer to interact DB layer
[x] Design Presenter layer to interact UI
[x] Adapter to show Favourite Workflows
[x] Design UI layer.
[x] Show NO Favourite workflow error screen

@therajanmaurya
Please review it.
Tell me if there is any suggestion or change .
Thanks

@sagar15795 Please makes the changes and Let the @ianwdunlop know to merge the PR

@ianwdunlop
I have added all suggestion.
Please merge it.
Thanks

Before this change you could easily get between the favourites and workflows with a simple swipe or tap. Now it seems you have to navigate to the menu and then select the option you want. Then when you get there it is not obvious what screen you are on since there are no visual cues to help you. I much prefer the older way of navigating.  All we have is some text saying "Dashboard" at the top which always stays the same. I'll merge it anyway but think we should have the old navigation back as well.


Outdated board revision on kitspace.org revision

I'm creating this issue mostly for documentation purposes.
The glasgow board revision on kitspace.org was pinned to revC1 in https://github.com/kitspace/kitspace/commit/7e6a4e882c1e600e82bb83bc6850f153326841a2. This seems to have been in response to some branch shenanigans according to https://github.com/GlasgowEmbedded/glasgow/pull/199#issuecomment-678628235.
All of this seems no longer relevant as:

the kitspace.yml in this repo was bumped to revC3 in https://github.com/GlasgowEmbedded/glasgow/commit/5c79669807fc1b9c051efd3a098c1ee4ca9346a7 by @whitequark
revC3 files are in the main branch now

So I propose reverting https://github.com/kitspace/kitspace/commit/7e6a4e882c1e600e82bb83bc6850f153326841a2 instead of re-pinning to revC3.

LGTM


Issue/1866 update relative times (#1999)

Pull request opened by the merge tool on behalf of #1999

Merged in 983d14ec1e46da3af15a5bd7fa04afa73b773e9c


Diffraction-ken

[x] I have read the steps to getting a blot

[x] I am submitting art that...

[x] is algorithmically generated (will change each time the program is run)
[x] is drawable on a blot (fits in the work area & doesn't overlap too much)
[x] is original (not copied from somewhere else)
[x] doesn't call Math.random() (See the documentation on randomness)
[x] is drawable on a physical machine (doesn't have lines overlap more than 5 times)

[x] Optional, if you used a tutorial or based your art on something else, please include the link here:
My inspiration comes from this piece (https://blot.hackclub.com/editor?src=https://raw.githubusercontent.com/hackclub/blot/main/art/2DLight-Will/index.js). My first thought was that it seemed to be blocking the light coming from the center, so I thought I could create an opposite work—one that enhances the energy coming from the center. My theme is water wave diffraction. When water waves pass through a slit, they create diffraction, which adds curves to the originally uniform parallel waves. I added lines perpendicular to the wavefront to enhance the sense of radiation. In high school, I was more familiar with C++, and a week ago, I learned a bit of JavaScript to write websites.

[ ] Optional, if you remixed this from something else, mention it here:

Hi! Thanks for the feedback! I’m glad you think it’s cool. I've added some explanations in the comments of index.js. Hopefully, this makes it clearer.

This doesn't seem to be generative/random when I run it! Just an update, I will be closing this PR. Please create a new PR once you have updated your art! We are doing this due to new management of the PR system.


🐛 [firebase_dynamic_links] Empty utmParameters

Bug report
Describe the bug
App opens correctly when using dynamic link but utmParameters is always empty.
Steps to reproduce

Create Dynamic link with UTM parameters
Open app using this link, you may be able to use the link I created (https://flutterfiretests.page.link/4D6z or https://flutterfiretests.page.link?utm_campaign=test_campaing&amv=0&apn=io.flutter.plugins.firebase.dynamiclinksexample&ibi=io.flutter.plugins.firebase.dynamiclinksexample&imv=0&link=https%3A%2F%2Fexample%2Fhelloworld&utm_medium=test_medium&utm_source=test_source )

Expected behavior
utmParamters property should have the parameters you set but is an empty map.
Sample project
Cloned example and added the following changes to create a dynamic link with UTM parameters:
https://github.com/firebase/flutterfire/commit/46f64fceab3a54127c41f29a03cbd9038e44cbe5
You can see the link got created correctly by clicking on getLongLink

In logs after opening the app using the link we get:
I/flutter (22865): PendingDynamicLinkData({ios: null, android: {clickTimestamp:<PHONE_NUMBER>966, minimumVersion: 0}, link: https://example/helloworld, utmParameters: {}})

Additional context
In my own app I can see it gets correctly logged in DebugView

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.2.1 22D68 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
[✓] VS Code (version 1.75.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
flutter pub deps -- --style=compact
Dart SDK 2.19.4
Flutter SDK 3.7.7
firebase_dynamic_links_example 0.0.0

dependencies:
- firebase_core 2.8.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 5.0.17 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- url_launcher 6.1.10 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]

transitive dependencies:
- _flutterfire_internals 1.0.18 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.10.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.2.1
- clock 1.1.1
- collection 1.17.0
- fake_async 1.3.1 [clock collection]
- firebase_core_platform_interface 4.5.3 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.2.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links_platform_interface 0.2.3+32 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- js 0.6.5 [meta]
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- meta 1.8.0
- path 1.8.2
- plugin_platform_interface 2.1.4 [meta]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- url_launcher_android 6.0.25 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.1.3 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.4 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.4 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.16 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.5 [flutter url_launcher_platform_interface]
- vector_math 2.1.4

I did see it but I don't see any solutions there.
Looks like it works for some people, but no one seems to know why.
In my provided sample I have used example app, and it is not working, in that issues someone got it working supposedly out of box, so I don't know what is missing, did I setup the example project incorrectly?

Thanks for the update. In the example you shared, I see that you have also included analytics to send the events. If you remove the analytics code implementation and try again ?
From this comment, the team member used the example app too.

These analytics are what is meant to be in utmParameters I have no idea how he got them without ever setting them. Maybe he created the link by some other means.
Anyway, I made this change https://github.com/firebase/flutterfire/commit/96480c95618ff3abb36256dcb58acd8533d4634a
Long link that was generated is:
https://flutterfiretests.page.link?amv=0&apn=io.flutter.plugins.firebase.dynamiclinksexample&ibi=io.flutter.plugins.firebase.dynamiclinksexample&imv=0&link=https%3A%2F%2Fexample%2Fhelloworld
and I received I/flutter ( 6953): YYYY: {}
which is expected in this case as you can see utmParameters are not set in this this long link.
In my initial example I have set them, you can see them in the long link but they are not present in the  utmParameters map.

Using the example you shared here and running on Android emulator, I am seeing link: https://example/helloworld, utmParameters: {}},
But then using the example without changes, I the long link generated doesn't have utm param set so get same behavior as commented above.
Will keep this issue open for team's thoughts.
/cc @russellwheatley

We are also seeing this with the latest versions of firebase. It works perfectly on iOS but on android the utmParameters are always {}, no matter if we generate the link through the REST API or the web console.

If it is empty, I'm not sure this is an FF issue. We correctly parse out the values and pass back through the method channel. I've tested this before and it works. The question is; what is different about your setup from the one I am using? I create the UTM parameters on the dynamic link in the Firebase console.


Could we support Zvbc (Carryless Multiplication) for SEW32?

If we could use zvbc with SEW32, we could get better performance for CRC32 algorithm.
We could still use the current SEW32 instructions, but we need the additional widening from SEW32 to 64 and masking the unused MSB parts.

I think you don't need the widening if you work 64-bit wide chunks and uses R = X^128 [P] where P is the irreducible 33-bit polynomial of the CRC 32 (I ignore bit/byte endianness issues).
R is a 32-bit value (static, only depends on the CRC) that is zero extended to a 64-bit element once and for all.
You need to compute a 128-bit accumulator: A_hi . X^64 + A_lo as follows:
A_hi = 0 // 64-bit
A_lo = 0 // 64-bit
for each 64-bit block Mi of the message
   A_hi = A_hi ^ Mi
   M_hi = vclmulh(A_hi, R)
   M_lo = vclmul(A_hi, R)
   A_hi = A_lo ^ M_hi
   A_lo = M_lo
end for

Eventually (at the end), the accumulator and the final 128-bit of the message needs to be properly padded and reduced

Here, the most useful instruction would be a vwclmul but I think the pair of vclmul / vclmulh should work fine (and this can even be vectorized by computing a vector of R_i = X^(128+VLEN*LMUL/64 - i + 1) and using them in the carry-less multiplications).
A smaller SEW may be less wasteful powerwise (the R * A_hi only uses part of the carry-less multiplier array, hopefully this can be handled by the uarch).

This was discussed during April 6th task group and it appears that this proposal could be quite useful in particular to allow 32-bit implementation (Zve32) to support vector carry-less multiply. So the TG is considering adding it to Zvbc.
(This is not an official message from the TG, just my transcript of my understanding of the meeting discussions)

The final decision has been to leave the SEW=32 variant out of the current vector crypto specification. Should there be a need for this instruction for Zve32* implementations, we are leaving the option open to  add them in a subsequent extension, perhaps as a FastTrack.


Got 404 with bower install

I install it using bower in my Mac, and serve my sites in vagrant based linux server, and using symlink to share the code between Mac and Linux. and then I got a 404 from nginx in linux server.
2015/04/20 04:58:26 [error] 3133#0: *1 open() "/vagrant/site/www/vendor/bignumber.js/bignumber.js" failed (20: Not a directory), client: <IP_ADDRESS>, server: mydomain, request: "GET /vendor/bignumber.js/bignumber.js HTTP/1.1", host: "mydomain"

I figure it out, there are two ways to solve this:

Install this dep with bower inside my linux server
Rename the directory name from bignumber.js to bignumber

I didn't know, if this is an bower issue or just because the filesystem' difference between Mac OS and Linux.
If it is not a bower issue, maybe we should consider to make a alias for bower.

Perhaps somoeone else has some useful input here. I don't.

If you can successfully install, open, and rename the directory bignumber.js on your system then I suppose it's no issue with bower and no issue with your filesystem.

It's seems not in common, and I think it will not happened in production env. May be just because the OS X treated the bignumber.js dir as a file, and add something info to somewhere. So when I shared this dir with Linux by symlink, it lead to this.
If nobody know why or nobody else report this, you can ignore it.


among pequeno

About the PR
among pequeno
Screenshots

Changelog

:cl:

add: Added a sussy lil friend to the station.

leaving as DNM until we get the letter from among HQ

clarified copyright policy for sprites in the rsi


ERR_PNPM_BAD_PM_VERSION  on pnpm i

Describe the bug
When I run pnpm i, I get following error message:
ERR_PNPM_BAD_PM_VERSION  This project is configured to use v9.0.2 of pnpm. Your current pnpm is v9.1.1
That doesn't happen for vitesse. Should I drop the strict version check, or should you update something in the repo?
Reproduction
pnpm i
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 3.85 GB / 31.88 GB
  Binaries:
    Node: 22.1.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.1.1 - ~\AppData\Roaming\npm\pnpm.CMD
    bun: 1.1.7 - C:\ProgramData\chocolatey\bin\bun.EXE

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Contributions

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

You should enable core pack: https://github.com/antfu/contribute#corepack


wip: more catalog improvements

add ability to parse readme and get questions, delete user and group
code for rbac, support values.yaml as answer in the backend

need https://github.com/rancher/types/pull/247

need https://github.com/rancher/types/pull/254


CARDS-1484 / CARDS-1349: Every night, query Torch to obtain patients who have appointments in the next 72h

Jira link for CARDS-1484
Jira link for CARDS-1349
This PR introduces a new endpoint for importing data from the Torch server. The endpoint can be used for cronjobs if the NIGHTLY_IMPORT_SCHEDULE environment variable is set, similar to the data export. A manual import can be triggered by logging in as admin and accessing <server url>/Subjects.import. Any existing data should be overridden with what is on the Torch side when this occurs.
Test branch is available at CARDS-1484_CARDS-1349_test. The only added code hard-codes the user's date when querying the Torch server. This is done because the actual appointments are at Jan 2nd 2022 and Feb 2nd 2022. Changing the date locally will cause SSL verification to fail, so I just hard-code the query to Jan 1st+3 days.
The following OSGI configuratino must be set before testing! Navigate to http://localhost:<port>/system/console/configMgr and go to the bottom of the list where there are two Import Configs (one is being used for the endpoint, the other is for the nightly imports). In both cases, set the Vault token to the JWT token in the last command by Pouria in #datalake-endpoints on Slack.

There seems to be a difference between the way that the patient charts are displayed for Patient Information / Visit Information entered manually versus Patient Information / Visit Information imported from the Torch server.
For example, here is the patient chart obtained from the data imported from the Torch server

...and here is the same data created by manually entering it through the web interface

Probably not within the scope of this PR but the Time field in the Visit information questionnaire will not accept any input.

There seems to be a difference between the way that the patient charts are displayed for Patient Information / Visit Information entered manually versus Patient Information / Visit Information imported from the Torch server.

Seems that import from the Torch server created Visit information form for the patient 7018120 rather than for the actual visit AD51475YJ.E. Is it possible that Visit information form was imported before visit AD51475YJ.E was created?

There seems to be a difference between the way that the patient charts are displayed for Patient Information / Visit Information entered manually versus Patient Information / Visit Information imported from the Torch server.

Fixed in 099af34 :heavy_check_mark:

In light of the latest information regarding how clinics are managed, this code needs to be changed as follows:

We need to maintain a mapping from clinic name to survey id; multiple slightly different names may be used for the same clinic, and they should all be mapped to the same survey. This mapping will grow as we onboard more clinics. The initial version of the mapping, for testing, will be

"PM-8 Palliative Care Oncology" -> "Cardio"
"PMH 8 Palliative Care Oncology Clinic" -> "Cardio"

When the "Visit information" form is created, populate the surveys answer with the value that the visit's location is mapped to.

I see the supported clinics are now stored as a | delimited string. This will probably have to change to accommodate a possibly large number of value pairs.

Also, this PR needs another rebase.

In light of the latest information regarding how clinics are managed, this code needs to be changed as follows:

This has now been complete. Also, the provider restriction info discussed in today's standup has also been implemented.


NoClassDefFoundError

Hey,
I want to add special behaviour to my waiting lobby. I use SkriptLang https://github.com/SkriptLang/Skript and it throws the error NoClassDefFoundError.

Emm... Are those bukkit/spigot plugins? Those cannot be used in Limbo as of now.

what can you advise me?


mesa: 19.1.5 -> 19.2.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Upstream generally considers every .0 a testing release, but if there's a reason, it might be OK for us to switch early without waiting for .1.  (We have stable branches after all.)

Main reason for the bump is just for Iris improvements so waiting for .1 is fine though.

Without the environment variable? It depends on the CPU you're using. [1]
[1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=cfbde3282d9b881a8cb09dc7a9c2b25b69872e32&utm_source=anzwix

Without the environment variable? It depends on the CPU you're using. [1]
[1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=cfbde3282d9b881a8cb09dc7a9c2b25b69872e32&utm_source=anzwix

Ah thanks for the pointer :-)

btw newer graphics cards require mesa 19.2 with llvm9. see https://gitlab.freedesktop.org/mareko/mesa/commit/594010e366f911581ca0a4471a9d9fa68116514f

llvm9 is in available in nixpkgs master now. I tried to build this PR with it, but I haven't tested these in any other way.  I expect we'll want to switch to support these GPUs by default.

I have tested it. x11/wayland/kmscube doesn't start without llvm9 on navi10 gpus.

This breaks SDL2: https://bugzilla.libsdl.org/show_bug.cgi?id=4797
I fixed it here with the following overlay:
  SDL2 = super.SDL2.overrideAttrs (attrs: {
    postPatch = ''
      substituteInPlace include/SDL_opengl_glext.h \
        --replace "typedef ptrdiff_t GLsizeiptr;" "typedef signed long int khronos_ssize_t; typedef khronos_ssize_t GLsizeiptr;" \
        --replace "typedef ptrdiff_t GLintptr;" "typedef signed long int khronos_intptr_t; typedef khronos_intptr_t GLintptr;"
    '';
  });

looks like there's already a bugfix release for 19.2:
https://lists.freedesktop.org/archives/mesa-announce/2019-October/000548.html

ok I'll do a new PR that passes llvm9

@jb55: I did these together, see 53a97c3447.

@vcunat awesome! thanks


Copy todolist application files to this repo for code review

I have copied my todolist application to this repo for a code review. Please review my code for
1.javascript best practices
2.DRY,KISS,YAGNi
3.html-css bestpractices.
@teitonny

APPROVED 🟢
Hi @ram1117 ,
Your project is awesome!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

Great job setting up the correct linters ✔
Highly organized and clean code ✔ 👨🏻💻
Professional documentation ✔
Correct workflow ✔
Meaningful commit messages ✔

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


I fixed lcm-lora!!!

Hey its working now I removed all the lcm-lora Loras and then tried dream shaper8 I removed all the models out the configuration and am adding custom ones but I'm trying to use a sdxl model from Civitai but it automatically downloaded dreamshaper model maybe I gota put the file path back can u give me the configuration files do I can put back the lcm-lora paths I don't want to reinstall the whole thing.

The lcm-lora loras where breaking lcm-lora mode

The lcm-lora loras where breaking lcm-lora mode
Srry I lied the only reason lcm-lora worked on Android is because the dreamshaper mod r l is not 7gb I can't for some reason load 7gb models, but 10gb Diffusers work fine but not safetensors ima test the realvisionxl4 diffuser if it don't work then it's just sdxl that doesn't work on termux.

@KintCark Hope your issue solved closing this issue.


Fix CVE-2023-1370 detected in json-smart-2.4.7.jar in kie-tools (Fix: -> Upgrade kogito-runtimes version)

Fix the CVE-2023-1370 vulnerability in json-smart-2.4.7.jar. The dependency is brought transitively to dmn-dev-deployment-quarkus-app from<EMAIL_ADDRESS>through kogito-quarkus-commons.
The a fix is already merged in kogito-quarkus-commons so we can wait to update the kogito-runtime version in kie-tools (we currently use1.39.0.Final) to have the fix.
Acceptance criteria

[ ] Update the kogito-runtime version in kie-tools.

Wrongly closed :S

@pefernan kie-tools is now pointing to kogito 1.40.0. Can we close this?

@pefernan is this fixed please? I see it in backlog.

In the last MEND report is no more present, going to close it :)


Minify Assets / Get Rid of Generated style.css In Repo

Currently, we have two issues:

Assets are not minified which makes Google like us less and our users download more.
We currently store in the repo style.css which is an auto-generated file (reasons).

We can solve both of those by including minification and SASS processing as an optional part of the build process that will run as part of the doc generation for docs.perl6.org, but if a contributor builds locally and they don't have prereqs for minification/SASS, they won't get that step run.
To still let users use the dev app without having the SASS-related prereqs, we can add a routes that will fetch the JS/CSS assets from https://docs.perl6.org/ if local versions aren't found.

I have some questions:

“Assets are not minified which makes Google like us less” – What does it mean exactly? Does it mean that it affects page ranking?
“and our users download more” – How much are we going to win? I mean, what's the size difference after gzip? I am asking because if the difference is really small, then maybe we should not do that. Minified assets complicate micro contributions, so I'd much rather prefer a couple of stuff contributed by random people than tiny amount of saved bandwidth. That being said, if the difference is significant, then indeed we should minify.

Partially answering my own question 2:
Using http://compressorrater.thruhere.net/ I figured that we are going to save about that much:
0.4 (main.js) + 0.5 (search.js) ≈ 1 kB (optimistically)

So if we minify, then we are going to save about 1 kB for the initial load of js files (subsequent loads should not download these files because of caching). Is it significant? I don't think so. What do others think?

Ah crap! Just looked at the screenshot. :D

“Assets are not minified which makes Google like us less” – What does it mean exactly? Does it mean that it affects page ranking?

Google's algorithm is secret, of course, but failing mobile tests on that assessment page in the screenshot  does rank you lower for mobile viewers—so it's natural to assume failing desktop tests would have similar consequences.

“and our users download more” – How much are we going to win? I mean, what's the size difference after gzip? I am asking because if the difference is really small, then maybe we should not do that. Minified assets complicate micro contributions, so I'd much rather prefer a couple of stuff contributed by random people than tiny amount of saved bandwidth. That being said, if the difference is significant, then indeed we should minify.

It's 24.3KB on https://docs.perl6.org/type/ComplexStr page.
What are the complications for micro contributions? The assets will remain unminified in the repo. The only penalty for contributors would be extra prereqs when building a local copy of the docs, though even that can be avoided by extra Mojolicious routes ([Coke] is currently -1 on that idea)

What are the complications for micro contributions?
You can work on small things directly in your browser, without even cloning a repo. If JS is minified, then it is much harder.

That being said, I have nothing against minifying CSS or HTML. So +1 for that, we should do definitely do that.

You can work on small things directly in your browser

You mean using GitHub editor or...?

[00:44:43] «Zoffix» AlexDaniel, do you mean editing code using GitHub editor or working on the live site using some sort of plugins? RE "You can work on small things directly in your browser, without even cloning a repo."
[00:47:41] «AlexDaniel» Zoffix: it is possible to change JS in, for example, chromium default developer tools. So yea, I meant doing quick small changes on the live site, and then suggesting them in a github issue or submitting a pull request using the github editor.
[00:48:04] «Zoffix» OK. I'll leave JS alone

@zoffixznet  - is there anything left to do on this ticket? if we're skipping minifying, and it looks like the .css is no longer kept int he repo...

Oh yeah, everything was done in https://github.com/perl6/doc/commit/54fb4b3bf98e1b4991258fce330efb3bf035361c and other commits around Christmas. I forgot there was an open issue as well.


Add privacy manifest for Apple

Use case
It's seems that patrol is requiring a privacy manifest.
See https://github.com/flutter/flutter/issues/131940 for context.
Apple announcement here: developer.apple.com/support/third-party-SDK-requirements
May 1st deadline announcement here: developer.apple.com/news/?id=3d8a9yyh
This analyzer reported that patrol needs to add a privacy policy for these APIs:
🛠  Descriptions for the following required API reason(s) may be missing: 1
[0] NSPrivacyAccessedAPICategoryFileTimestamp

Proposal
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk

Hi @jtdLab. Thanks for pointing this up. The reason for this warning to appear is the code of the package that we forked inside Patrol repository. Good news is that it seems like the reason that made us fork this package has been fixed so we should try to bring back using the package as the dependency.
If that won't be possible, we should follow the documentation of this API and add Privacy Manifest file to the package


Multiple features

Sorry about sending PR with multiple features, but I didn't notice that master branch is protected and I can't push. And instead of messing with rebase it's easier to send it as one.
What's included:

Fix for #8 - Change Generated type for modular content
Add description within generated classes - Fix for #9
Add Generate implementations of ICodeFirstTypeProvider - Fix for #10
Add support for url slug
Upgrade project to VS2017 format + switch to xUnit
Update project dependencies

It doesn't include ICodeFirstTypeProvider code into the output by default. User must include -t parameter to include it. Is it ok this way?

Thx @ondrejsevcik . I think it's fine like that.
I've reconfigured appveyor to work with the new project system...unittests, artifacts, etc. should work fine now


Let the entrySpan setPeer method support the topo diagram

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
In the zookeeper plugin, the watcher event is considered to be an entrySpan, but whether or not the peer is added will be considered a user call. See for details.
At MultiScopesSpanListener::parseEntry method

I want to modify the judgment here, judge that there is no refCount, and there is no peer, it is the user behavior.
Is there a better way?

That makes sense. But you should add this in plugin dev document. In entry span, only add peer when there is a server side, such as MQ.


Bars type support

High, will be there an option to display the candles as Bars

Yes, you starred the repo containing the overlay.

haha yes! The problem is that I couldn't make it work

Ah oke, I got it already.
Once you enable the overlays package, it is possible to add the type 'XOhlcBars' to the chart.
Thank you for this awesome library