text:
Issue in the virt-launcher/virt-handler communication which emits unwanted warnings

We seem to have a non-critical communication issue between virt-handler and virt-launcher which sometimes causes errors of the following form:
• Failure [241.647 seconds]
Windows VM
/root/go/src/kubevirt.io/kubevirt/tests/windows_test.go:58
  with kubectl command
  /root/go/src/kubevirt.io/kubevirt/tests/windows_test.go:225
    should succeed to start a vm [It]
    /root/go/src/kubevirt.io/kubevirt/tests/windows_test.go:241

    Unexpected Warning event recieved.
    Expected
        <string>: Warning
    not to equal
        <string>: Warning

    /root/go/src/kubevirt.io/kubevirt/tests/utils.go:219
------------------------------
STEP: Starting the vm via kubectl command
level=error timestamp=2018-04-19T22:16:14.744543Z pos=utils.go:215 component=tests reason="unexpected warning event recieved" msg="unknown error encountered sending command Launcher.Sync: reading body unexpected EOF"

As far as I could see the vms come up fine, but our checks don't expect a warning in normal flows.

@davidvossel Do you know the reason for this errors? I can see it happens pretty often on windows tests, the question if it a real issue, or just issue with our tests utils(that we fail test because of wrong warning message)

@davidvossel Thanks for the explanation, I hope it the single problem, because I also saw
level=error timestamp=2018-05-01T12:38:29.025639Z pos=utils.go:222 component=tests reason="unexpected warning event recieved" msg="server error. command Launcher.Sync failed: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2018-05-01T12:38:28.435648Z qemu-system-x86_64: terminating on signal 15 from pid 39 (/usr/sbin/libvirtd)')"

Another interesting one:
• Failure [180.478 seconds]
Storage
/root/go/src/kubevirt.io/kubevirt/tests/storage_test.go:39
  Starting a VM
  /root/go/src/kubevirt.io/kubevirt/tests/storage_test.go:119
    With an emptyDisk defined
    /root/go/src/kubevirt.io/kubevirt/tests/storage_test.go:173
      should create a writeable emptyDisk with the right capacity [It]
      /root/go/src/kubevirt.io/kubevirt/tests/storage_test.go:175

      Unexpected Warning event recieved.
      Expected
          <string>: Warning
      not to equal
          <string>: Warning

      /root/go/src/kubevirt.io/kubevirt/tests/utils.go:226
------------------------------
STEP: Starting a VM
STEP: Waiting until the VM will start
level=info timestamp=2018-05-03T08:59:18.239407Z pos=utils.go:224 component=tests msg="Created virtual machine pod virt-launcher-testvmzgck7-5dxpx"
level=info timestamp=2018-05-03T08:59:34.104361Z pos=utils.go:224 component=tests msg="Pod owner ship transfered to the node virt-launcher-testvmzgck7-5dxpx"
level=error timestamp=2018-05-03T08:59:37.331263Z pos=utils.go:222 component=tests reason="unexpected warning event recieved" msg="server error. command Launcher.Sync failed: virError(Code=42, Domain=10, Message='Domain not found: no domain with matching uuid '0bcaa681-040e-4018-b149-40e7438334d7' (kubevirt-test-default_testvmzgck7)')"

level=error timestamp=2018-05-03T08:59:52.804238Z pos=utils.go:222 component=tests reason="unexpected warning event recieved" msg="server error. command Launcher.Sync failed: virError(Code=0, Domain=0, Message='Missing error')"

ha, that is a neat one. That is libvirts ERROR_OK error. Basically no error. We probably reach it through somewhere in the code by accident.

ha, that is a neat one. That is libvirts ERROR_OK error. Basically no error. We probably reach it through somewhere in the code by accident, where we should return nil.

Could also be a libvirt-go bug. It normally only foes GetLastError(), when it thinks that there is an error.

@rmohr @davidvossel Does it possible that we run Sync action, before QEMU process succeeded to start?

We have two types of errors here.

Libvirt errors are anything that has virError in the error string. Line the following

server error. command Launcher.Sync failed: virError(Code=42, Domain=10, Message='Domain not found: no domain with matching uuid '0bcaa681-040e-4018-b149-40e7438334d7' (kubevirt-test-default_testvmzgck7)')

Cmdserver errors between virt-handler and virt-launcher are the ones that look like this.

unknown error encountered sending command Launcher.Sync: reading body unexpected EOF
I think our first course of action to begin resolving these issues is to improve virt-launcher's initialization.  We need to add logic that ensures things like the cmdserver and libvirt are responsive before marking the pod as ready.
Closing those timing gaps may or may not resolve this issue, but it does let us rule out some possibilities so we can have a more focused effort.

I think our first course of action to begin resolving these issues is to improve virt-launcher's initialization. We need to add logic that ensures things like the cmdserver and libvirt are responsive before marking the pod as ready.

Are we sure that this EOF error is happening on vm-start and not shutdown?

@rmohr under processVmShutdown we are doing Ping to cmd server, so I believe all EOF errors connected to a VM start

Are we sure that this EOF error is happening on vm-start and not shutdown?

the error occurs in processVmUpdate, that's the only place sync is called.

and another one :smile:
virError(Code=38, Domain=10, Message='failed to connect to monitor socket: No such process')

for the libvirt errors, are we seeing any other patterns? Like does this occur on both the openshift and k8s providers?

@davidvossel I saw it pretty often under windows tests

This problem solved. We still have some issues with libvirt connection, but it does not relate to this issue.

authors: cynepco3hahue davidvossel rmohr


text:
k8s: Bump k8s libraries to v0.30.0

What this PR does
This PR bumps k8s vendor to v0.30.0 on go.mod files.
It also performs needed changes in order to comply with the new vendor libraries.
Note: This PR follows the update-k8s-dependencies. manual.
This PR takes commit from https://github.com/kubevirt/kubevirt/pull/11840, rebase it into main and addresses
https://github.com/kubevirt/kubevirt/pull/11840#discussion_r1632770138

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

Bump k8s deps to 0.30.0

/cc @xpivarc @acardace
@RamLavi FYI

/test pull-kubevirt-e2e-k8s-1.29-sig-monitoring

/test all

/test required

/retest-required

/lgtm

/unhold

/retest-required

/unhold

@machadovilaca @sradco there seems to be flakiness present in the sig-monitoring tests, as made visible by the check-test-for-flakes lane. I figure there probably is an order dependence present, so I'd suggest to run them in random order.

https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12097/pull-kubevirt-check-tests-for-flakes/1800563558417698816
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12097/pull-kubevirt-check-tests-for-flakes/1800595489813434368
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12097/pull-kubevirt-check-tests-for-flakes/1800618454152122368

Would you mind taking a look?

^^ The above can also be seen on aonther PR: https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12044/pull-kubevirt-check-tests-for-flakes/1800618717697019904

source: gharchive/pull-request

authors: dhiller fossedihelm xpivarc

repo: kubevirt/kubevirt

license_type: permissive

license_source: github-api


text:
[release-0.53]: make generate to switch copyright to 2023

What this PR does / why we need it:
Execute make generate to switch copyright to 2023
Release note:

NONE

/cc @enp0s3 @Barakmor1 @EdDev

/retest-required

/retest

/retest-required

/test pull-kubevirt-e2e-k8s-1.23-sig-compute-nonroot-0.53


text:
Asserion failure prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER,  cast(ulong)&fprog, ~0, 0) , errno EINVAL.

sandbox/examples (master) $ dub run
Performing "debug" build using dmd for x86_64.
sandbox ~master: target for configuration "library" is up to date.
example ~master: target for configuration "application" is up to date.
To force a rebuild of up-to-date targets, run again with --force.
Running ./example
std.exception.ErrnoException@../source/sandbox/seccomp.d(377): Not supported seccomp. (Invalid argument)
----------------
??:? @safe bool std.exception.errnoEnforce!(bool, "../source/sandbox/seccomp.d", 377uL).errnoEnforce(bool, lazy immutable(char)[]) [0x48aa4c]
??:? void sandbox.seccomp.Filter.activate() [0x48a466]
??:? void sandbox.sandbox.activateNamespaceAndMisc(sandbox.profile.Profile) [0x489735]
??:? _Dmain [0x488266]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x49988a]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x4997e0]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x499846]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x4997e0]
??:? _d_run_main [0x49973d]
??:? main [0x488f47]
??:? __libc_start_main [0xb1395ec4]
Program exited with code 1

Linux Kernel seems supporting prctl(2) with PR_SET_SECCOMP.
$ uname -mrv
3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:42 UTC 2016 x86_64

It seems supported.
$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

$ cat /boot/config-3.13.0-77-generic | grep CONFIG_SECCOMP_FILTER
CONFIG_SECCOMP_FILTER=y

chrome' seccompsandbox did it https://github.com/mseaborn/seccompsandbox/blob/trunk/sandbox.cc#L257

source: gharchive/issue

license: MIT


text:
Fix errors due to existing directories

makedirs failed despite the check for existing directories. Just use exist_ok=True instead.
Also, when one job raises an exception, instead of failing the whole script just collect the exceptions and raise at the end.

Thanks! Merging (travis error is due to some packaging bug in pandas).

You're right, sorry about that. Will fix to support Python 2 and open another PR.

authors: danielhers kudkudak

repo: kudkudak/word-embeddings-benchmarks

license: mit

license_source: bigquery


text:
How to generate testing results?

I can run all of the instructions, however, I'm not sure how to generate results on the testing dataset for Kitti benchmark submission.
Could you tell me how to do it?

Yes, I have the same query. The issue seems to be lack of ground plane data for testing dataset.
How to generate the ground planes for testing dataset (or any other new data)?

Also a code sample for inference on a single example (that is not in the dataset) would be appreciated. Excellent work anyways.

The planes are generated with an in-house plane estimation algorithm, and we include the output here for easier training on labelled data. We recommend looking into one of the many other available methods for ground plane estimation to generate these files if needed.
Using a constant ground plane for training is also a viable option, although we would recommend using a, b, c, d = [0, -1, 0, 1.65] instead, as the ground plane is in the camera co-ordinate frame, and the camera is 1.65m above the ground (http://www.cvlibs.net/datasets/kitti/setup.php).

In order to repeat the same results as reported in the paper, during testing, should we fix the ground plane as a, b, c, d = [0, -1, 0, 1.65] ? I think most of the people care about this.

@yzhou-saic you will not get the same results unless you use our ground plane estimation algorithm, which we will not be releasing any time soon.

@kujason @asharakeh thank you for the response.
I manually created text.txt and planes directly with "a, b, c, d = [0, -1, 0, 1.65]" in /Kitti/object, then run
python avod/experiments/run_inference.py --checkpoint_name='avod_cars_example' --data_split='test' --ckpt_indices=120 --device='0'
This way works!!
I have other question, how to interpret the output values in /avod/data/outputs/avod_cars_example/predictions/final_predictions_and_scores?
I put example here:
3.91767 1.73724 6.20433 3.30604 1.53459 1.41908 -1.33451 0.99933 0.00000
I guess these output values are: x, y, z, l, w, h, ry, score, ???.
Am I correct?
Thanks in advance.

The output is in box_3d + score detection format (more info here). To convert to KITTI label format, you can use the provided scripts/offline_eval/save_kitti_predictions.py script.

My issue has been solved. Thanks.

@yzhou-saic you will not get the same results unless you use our ground plane estimation algorithm, which we will not be releasing any time soon.
However, any ground plane estimation algorithm should work in theory.

Hi,
I want to use your algorithm on my own dataset. I have developed an algorithm for ground plane estimation. I cannot find respective part of the code for ground plane estimation. Is it possible to feed my point cloud data with separated ground point (I mean extract points above the ground and feed them directly into the network)? I want to know where is the ground estimation (ground plane usage) in your pipeline?
Thanks

authors: AbhinavDS OmarBarakat1995 asharakeh kargarisaac kujason kzkmnmr yzhou-saic

repo: kujason/avod


text:
refactor(deps): replaces axios with fetch

Replaces axios with fetch for all API interactions.
Removes the manual resolution for tough-cookie which was added because of https://github.com/salesforce/tough-cookie/issues/246. Since that issue was now resolved, this is no longer needed.
Fixes #363.
Signed-off-by: Philipp Rudloff philipp.rudloff@konghq.com

Great job! Preview works on Firefox already :-D

authors: bartsmykla kleinfreund

repo: kumahq/kuma-gui


text:
[New game]: Cube Smasher

🎮 Game Request
Game logic and basic description
Cube Smasher Game
Game Description
Cube Smasher is a simple, yet addictive, game where the player's goal is to smash as many cubes as possible within a given time limit. The game field is a grid of cubes that randomly appear and disappear, and the player must click on them before they vanish to score points.
Game Logic

Set up the game:

Create a grid container in HTML with a specified number of rows and columns.
Dynamically generate cube elements within the grid using JavaScript.
Set up a timer to keep track of the game duration.
Initialize the game score to 0.

Game Loop:

Randomly select a cube in the grid to be "active".
Display the active cube with a distinctive style (e.g., different color, size, or animation).
Start a timer for the active cube, with a predetermined time limit before it disappears.
If the player clicks on the active cube before the time limit, increase the game score and remove the cube.
If the time limit is reached and the player has not clicked the active cube, remove the cube and decrease the game score.

Scoring and Difficulty:

Each successful cube smash should increase the player's score by a predefined value.
As the game progresses, increase the difficulty by:

Reducing the time limit for active cubes.
Increasing the number of active cubes on the grid.
Introducing special cube types (e.g., cubes that move, cubes that are harder to click).

Game Over and Restart:

When the game timer reaches zero, display a "Game Over" message and the final score.
Provide a button or option for the player to restart the game.

User Interface:

Display the current game score and the remaining time in the game.
Optionally, include a "Highscore" display to show the player's best score.
Style the game elements with CSS to create an engaging and visually appealing experience.

Remember to break down the implementation into smaller, manageable tasks and tackle them one by one to ensure a well-structured and functional game.
Point down the features
Game points
Additional Features
You can further enhance the game by adding features such as:

Leaderboards and sharing scores
Power-ups or special cubes
Responsive design for different screen sizes
Sound effects and background music
Difficulty settings or levels

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Anshika-17 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Anshika-17 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

repo: kunjgit/GameZone


text:
Traffic run

PR Description 📜
Traffic Run is an engaging and addictive mobile game that tests your reflexes and strategic thinking as you navigate through bustling city streets filled with traffic!
Fixes #629

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Click Here To See the Demo Of The Project!

Thank you soo much for contributing to our repository 💗

Thank you @jshobhit11 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@jshobhit11 LGTM

Thank you  @jshobhit11 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


text:
Added example of installing kurator on killercoda

Added example of installing kurator on killercoda
can run https://killercoda.com/07534085-ae67-4d45-a198-c32b3f0b70cc

/cc @hzxuzhonghu

This is the IP address of the host and member nodes in a multi-node kubernetes environment in the killercoda platform.
refer to https://github.com/karmada-io/playground/blob/a400741162abdf4e30cdd446c086ae2468f6c8f7/karmada-CLI-installtion-example/foreground.sh#L9-L0

repo: kurator-dev/playground


text:
Add log level filter

Hello!
I'm loving this tool.
Would it be possible to filter log levels in channels?
Right now I'm doing it with CSS, e.g:
span.levels.level-info {
    display: none;
}

Also, thanks for the "More information" part on README.md

@hacheraw  Do you want to remove log levels from console output ? If so, I think I have this option already.

Hey @kurdin
No, I'm not english speaker and my expressed myself bad.
I'm talking about hidding the ENTIRE line.
For example, only show ERRORs or only show WARNINGs and UP, or just DEBUG, etc.

This is a different case, but I do this on my apps:
const LOG_LEVELS = {
  DEBUG: 0,
  INFO: 1,
  WARN: 2,
  ERROR: 3,
  NONE: 4,
};

const LOG_LEVEL = LOG_LEVELS.WARNING; // Only .warn and .error will be logged.

const log = {
  debug: (...args) => {
      LOG_LEVEL <= LOG_LEVELS.DEBUG && console.re.debug(...args);
  },
  info: (...args) => {
    LOG_LEVEL <= LOG_LEVELS.INFO && console.re.info(...args);
  },
  warn: (...args) => {
    LOG_LEVEL <= LOG_LEVELS.WARN && console.re.warn(...args);
  },
  error: (...args) => {
    LOG_LEVEL <= LOG_LEVELS.ERROR && console.re.error(...args);
  }
};

Then if I do this, since the level is warning, only warnings and errors will be logged.

log.info( foo.irrelevant ); // this will NOT be logged
log.error( foo.important ); // this will be logged

// OR

// Only the first will be logged
log.error( foo.important ) && log.debug( foo.irrelevant);

@hacheraw I see what you mean. I think it might be useful but at the same time, could be confusing for different use cases. if you sent log to remote console with log.info you should be able to see it, filtering make sense in bulk log output when you have many many logs displayed at the same time, I see where it could be useful, but main use case for console.log is debugging and not monitoring users activity, etc, and in debugging when you have access to your code, you can just remove / comment out irrelevant log.info line.

I see your point.
In a production app it will be useless. I'm using it just for localhost things and I'd like to keep debug logs in the code while being able to filter them later but that's just my case.
Altough I don't thing it will be confusing, just another feature, it's your app and so far you've been doing quite well without my ideas 😂

@hacheraw  I build that script about 7 year ago, I don't even remeber how eveything works so honestly I don't I'll have time on adding any new features, but thank you for your suggestion.

Sure! No problem. I didn't even notice the dates. I might look into the code and see if I can do something when I have the time.
Thanks.

authors: hacheraw kurdin

repo: kurdin/console-remote-server


text:
"Can't get the response from the server"

Dear developers,
I used your program now many times successfully and until approx. one week ago, I always could either download the finished results or see an error message. Recently when I want to download results after a supposed finished search, I can click on the download button and after some seconds, I will get the following message:
"Error: HttpClient.getResponse: Can't get the response from the server: IPCon error: "Connection to 131.159.152.7 lost while reading response.""
An example would be Task-ID: A85D90F678A25047D624BAD58FD335E9
Thank you very much in advance
Best wishes,
Philip

Hi Phillip,
this error happens because the file you uploaded is too large. Split your file across multiple jobs such that each job has no more than 800k entries.
Best,
Ludwig

Ludwig Lautenbacher
Doctoral Candidate
Computational Mass Spectrometry
TUM School of Life Sciences
Technical University of Munich
Maximus-von-Imhof-Forum 3
D - 85354 Freising
Germany
Phone: +49 8161 71 2146

From: phil812 @.***>
Sent: Tuesday, October 25, 2022 1:46:19 PM
To: kusterlab/prosit
Cc: Subscribed
Subject: [kusterlab/prosit] "Can't get the response from the server" (Issue #90)
Dear developers,
I used your program now many times successfully and until approx. one week ago, I always could either download the finished results or see an error message. Recently when I want to download results after a supposed finished search, I can click on the download button and after some seconds, I will get the following message:
"Error: HttpClient.getResponse: Can't get the response from the server: IPCon error: "Connection to 131.159.152.7 lost while reading response.""
An example would be Task-ID: A85D90F678A25047D624BAD58FD335E9
Thank you very much in advance
Best wishes,
Philip
—
Reply to this email directly, view it on GitHubhttps://github.com/kusterlab/prosit/issues/90, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOI4IY5K4YZNVDX4A75CIB3WE7CAXANCNFSM6AAAAAARN4LB6Q.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

repo: kusterlab/prosit


text:
domain validator fails for fully qualified ("absolute") domain names

>>> import validators
>>> validators.domain('foo.com')
True
>>> validators.domain('foo.com.')
ValidationFailure(func=domain, args={'value': 'foo.com.'})
>>>

Reference: https://tools.ietf.org/html/rfc1034

When a user needs to type a domain name, the length of each label is
omitted and the labels are separated by dots (".").  Since a complete
domain name ends with the root label, this leads to a printed form which
ends in a dot.  We use this property to distinguish between:

a character string which represents a complete domain name
(often called "absolute").  For example, "poneria.ISI.EDU."

a character string that represents the starting labels of a
domain name which is incomplete, and should be completed by
local software using knowledge of the local domain (often
called "relative").  For example, "poneria" used in the
ISI.EDU domain.

Discussion: http://www.dns-sd.org/trailingdotsindomainnames.html

I've recently run into this issue and actually want it to fail on those with a trailing dot.  Perhaps a configurable parameter to allow us to determine how to react to such entries
validators.domain('foo.com.', trailingdots=True)
also consider this in URLs:
validators.url('http://foo.com./content', trailingdots=True)

As @mschiffm mentioned, the trailing dot is default allowed, so if you want to make it optional then the failing should be optional:
validators.url('http://foo.com./content', trailingdots=False)

authors: fili mschiffm ramiroestrada

repo: kvesteri/validators


text:
1 Bucket of water for a pie/piece of Tofu

Unfortunately many recipes this mod adds are very unpractical to use because of this requirement. I think it would be a lot better if 1 bucket of water made 16 or more pies instead of just one. 1 ton of water for a single pie just seems too much.

This is a difference of opinion regarding the recipe.   If you wish to change it, you can use a datapack or CraftTweaker.

This is a difference of opinion regarding the recipe.   If you wish to change it, you can use a datapack or CraftTweaker.

authors: heyjudek kwpugh

repo: kwpugh/VeggieWayFabric


text:
feat/ add french language in app

Changes

add french language in app
use same bottom modal for languages at launch app et settings
add more code for languageCaptions

Links
Screenshot

@FACON-Nicolas Thanks for your contribution!
I'm currently busy studying for a final as a student and building this app.
Once I have some free time, I'll review and merge your changes!


text:
Kyma cli / reconciler cli allow the definition of a url for a component

https://github.com/kyma-incubator/reconciler/issues/285

LGTM

repo: kyma-incubator/reconciler


text:
Adjust log levels in istio and ory reconcilers

Reduce amount of unnecessary logs in component reconcilers for istio and ory.

/retest

/retest


text:
Add ksputo to repository owners list

Description
Changes proposed in this pull request:

Added myself to CODEOWNERS
...
...

Related issue(s)

 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.

authors: CLAassistant ksputo

repo: kyma-project/addons


text:
SPIKE: Evaluate Datree.io can be run as a WASM plugin

Description
Evaluate Datree.io can be run as a WASM plugin to validate our yaml files before are sent to the server
Reasons
We continually look for ways to support our user and help them be comfortable to pus k8s changes. We need to evaluate if we can use a validation tool like Datree.io to validate yaml / application before are being sent to k8s.
Target

2-3 Days MD

Attachments

https://github.com/datreeio/datree

After exploring this topic I think we shouldn't use Datree.io but try to write our own solution based on the YAML schema they use.
Thoughts of using Datree as a WASM plugin:

Additional Go codebase that we have to maintain (updating libraries before releases etc.). What is more, if a developer doesn't know Go it is more difficult to contribute or fix a bug in this part of the code.
I contacted with Datree guys via their slack channel and I was told that they don't officially support using datree as importable go packages so it might break in the upcoming versions.
I guess it would be more challenging to adjust translations

Thoughts of writing our own solution in Javascript:

Since we have a schema they use, we can write our own solution using JS that is used in all busola.
More control over the code
There is a probability that JS solution won't be as fast as a wasm plugin

After a talk, we decided to implement the solution using Javascript and the schema from the Datree repository with the following JSON Schema engine. It gives us more control of the code than writing a fancy WASM plugin in e.g. Golang that we would maintain. The implementation will be done in the following PR.

authors: Lyczeq valentinvieriu

repo: kyma-project/busola


text:
Npx & apirule fix

Description
Changes proposed in this pull request:

Simplify auth process in pamela
Add instructions for building & running Console npx
Fix CMF resolving
Fix domain resolving in apirules - get one from gateway instead from URL iff k8sApiUrl is missing

Related issue(s)

/test all

/test all

/test pre-master-busola-governance


text:
Creating namespace before secret creation - fixing PR#2156

Description
Implementation in PR#2156 assumed the namespace is already created. Assumption was wrong.
Changes proposed in this pull request:

Creation of kyma-system namespace before secret creation

Related issue(s)

/hold

Test for own_cluster plan
k get secret -n kyma-system sap-btp-manager -o json
{
    "apiVersion": "v1",
    "data": {
        "clientid": "dGVzdENsaWVudElE",
        "clientsecret": "dGVzdENsaWVudFNlY3JldA==",
        "cluster_id": "Yjg3MjdhY2ItZDI2MS00ZTMyLWExOTctMjA5OWZkNTNmNjUy",
        "sm_url": "aHR0cHM6Ly9zZXJ2aWNlLW1hbmFnZXIua3ltYS5jb20=",
        "tokenurl": "aHR0cHM6Ly90ZXN0LmF1dGguY29t"
    },
    "kind": "Secret",
    "metadata": {
        "annotations": {
            "Warning": "This secret is generated. Do not edit!"
        },
        "creationTimestamp": "2022-10-29T07:39:09Z",
        "labels": {
            "app.kubernetes.io/managed-by": "kcp-kyma-environment-broker"
        },
        "name": "sap-btp-manager",
        "namespace": "kyma-system",
        "resourceVersion": "202669",
        "uid": "9720354d-8ac2-48fe-af7a-8959161954e3"
    },
    "type": "Opaque"
}
I567567@D659KT66YK update-secret % echo "dGVzdENsaWVudElE"|base64 -D
testClientID% ```

 k get secrets sap-btp-manager -n kyma-system
NAME              TYPE     DATA   AGE
sap-btp-manager   Opaque   5      33m
I567567@D659KT66YK update-secret % k get secrets sap-btp-manager -n kyma-system -o json
{
    "apiVersion": "v1",
    "data": {
        "clientid": "dGVzdENsaWVudElE",
        "clientsecret": "dGVzdENsaWVudFNlY3JldA==",
        "cluster_id": "ZmQ1MmUyY2QtMGQyMi00MjU2LThmZjYtOGQ0MTMyY2UxNTM5",
        "sm_url": "aHR0cHM6Ly9zZXJ2aWNlLW1hbmFnZXIua3ltYS5jb20=",
        "tokenurl": "aHR0cHM6Ly90ZXN0LmF1dGguY29t"
    },
    "kind": "Secret",
    "metadata": {
        "annotations": {
            "Warning": "This secret is generated. Do not edit!"
        },
        "creationTimestamp": "2022-10-29T08:24:39Z",
        "labels": {
            "app.kubernetes.io/managed-by": "kcp-kyma-environment-broker"
        },
        "name": "sap-btp-manager",
        "namespace": "kyma-system",
        "resourceVersion": "3377",
        "uid": "ef8653ee-c76c-4b41-8dee-06233a219351"
    },
    "type": "Opaque"
}

/unhold

repo: kyma-project/control-plane


text:
Allow installing Keda module in arbitrary namespace

Description
Target namespace for keda module should be driven by the Keda CR namespace.
Currently keda module always installs in kyma-system - as its hardcoded in keda.yaml
Reason
Keda operator should allow for flexibility.

Not a priority

repo: kyma-project/keda-manager


text:
feat: use gpt-4o mini in eval tests

Description
Changes proposed in this pull request:

use gpt-4.o mini in the evaluation tests

Related issue(s)

here ist the last eval test run, which shows that it is in general still operational. I will remove the requirement from the PR because it will always fail due to rate limits.

#218 will update the docs accordingly.

repo: kyma-project/kyma-companion


text:
Basic istio access logs test

Description
Start realizing the concept outlined in https://github.com/kyma-project/telemetry-manager/issues/261 by introducing a first istio based E2E test. The test should bring an istiofied sample application serving a simple GET API to be called. After activating access logs via the istio telemetry API, access logs should start arriving at the mock backend and the agreed access log format can be verified.
Tasks

rename existing test suite to the proposed new naming
extract the testkit to be used by the component and e2e test suite
install the istio module latest release
configure istio telemetry and LogPipeline
deploy sample app and call GET endpoint
verify access logs in the backend
Automate it as PR based CI job

Criterias
Test in an automated way that the istio access log functionality is working as expected using latest istio module
Reasons

Attachments

The test has been implemented along with prow jobs.

authors: a-thaler rakesh-garimella

repo: kyma-project/telemetry-manager


text:
update of base image for several images

Description
Changes proposed in this pull request:

updated debian base image of fluent-bit
updated alpine/python base image of kiwigrid sidecar
updated kiwigrid sidecar version to 1.15.0
updated alpine base image of loki

Related issue(s)

/retest

repo: kyma-project/third-party-images


text:
Bump k8s to 1.27

Description
Changes proposed in this pull request:

Bump k8s to 1.27

Related issue(s)

#151

/retest

/retest

/retest

/retest

Closed in favor of: https://github.com/kyma-project/warden/pull/191

repo: kyma-project/warden


text:
In-the-wild data inference code

Hi there! Thanks for your outstanding work! I am really interested in your work.
Apparently, only demo code for GAFA dataset is available. How can I apply to my In-the-wild dataset? Do you have any plan to release the code? As I am a new-bie on AI field, It would be so thankful if you give an kind instruction to me.
Thank you.

Unfortunately we don't provide preprocessing code for other datasets. Please prepare 1. cropped body image, 2. a binary mask indicating head position, and 3. body center shift between frames on your own. When prepared, you should be able to run our model in the same way as in demo.ipynb with the code below.
model = GazeNet(n_frames=7)
model.load_state_dict(torch.load('./models/weights/gazenet_GAFA.pth', map_location='cpu')['state_dict'])
model.cuda()

image, head_mask, body_dv = YOUR_DATA['image'], YOUR_DATA['head_mask'], YOUR_DATA['body_dv']

with torch.no_grad():
    image = image.cuda().unsqueeze(0)
    head_mask = head_mask.cuda().unsqueeze(0)
    body_dv = body_dv.cuda().unsqueeze(0)
    gaze_res, head_res, body_res = model(image, head_mask, body_dv)

gaze_direction = gaze_res['direction'][0].cpu()
gaze_confidence = gaze_res['kappa'][0].cpu()


text:
derived Clone and PartialEq to settings

Clone would make using MessageChannelSettings in specific kinds of
closures easier, while PartialEq would allow comparisons between
different types of message settings.

Makes sense to me!

repo: kyren/turbulence


text:
🛑 clinicafabregat.com is down

In 4b8f9e9, clinicafabregat.com (https://clinicafabregat.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: clinicafabregat.com is back up in 927acff after 10 minutes.

repo: kyryl-bogach/upptime


text:
Incorrect offset with datetimeoffset type in SQL Server

When inserting/updating a Javascript Date value to a column of type datetimeoffset in SQL Server, the offset is always +00:00, which leads to wrong result if useUTC=false and process.env.TZ !== 'UTC'.

input
useUTC
app's TZ
expected
actual
correct?

new Date('2024-01-01T06:00:00Z')
true
'Z'
2024-01-01 06:00:00 +00:00
2024-01-01 06:00:00 +00:00
Y

new Date('2024-01-01T06:00:00Z')
true
'Europe/Helsinki'
2024-01-01 06:00:00 +00:00
2024-01-01 06:00:00 +00:00
Y

new Date('2024-01-01T06:00:00Z')
false
'Z'
2024-01-01 06:00:00 +00:00
2024-01-01 06:00:00 +00:00
Y

new Date('2024-01-01T06:00:00Z')
false
'Europe/Helsinki'
2024-01-01 08:00:00 +02:00
2024-01-01 08:00:00 +00:00
N

Changing the TediousDataType for Date values from #tedious.TYPES.DateTime to #tedious.TYPES.DateTimeOffset in MssqlDriver.#getTediousDataType seems to fix this:
  #getTediousDataType(value: unknown): any {
    ...
    if (isDate(value)) {
-      return this.#tedious.TYPES.DateTime
+      return this.#tedious.TYPES.DateTimeOffset
    }

I don't know enough about Tedious to know what the correct way to fix this is. My guess is that the correct TediousType should be  read from the database metadata.

Hey 👋
Related to https://github.com/kysely-org/kysely/issues/1164. Thanks for raising this!
Check a possible workaround @ https://github.com/kysely-org/kysely/issues/1161#issuecomment-2384539764.

repo: kysely-org/kysely


text:
TestE2EMefEline.test_155_removing_evc_metadata_persistent is failing

When I re-executed the end to end tests this one here keeps failing, the rest have passed though when I executed the entire test suite:
platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /builds/amlight/kytos-end-to-end-tester/kytos-end-to-end-tests, inifile:
plugins: timeout-1.3.3
collected 189 items / 188 deselected
tests/test_e2e_10_mef_eline.py F                                         [100%]
=================================== FAILURES ===================================
__________ TestE2EMefEline.test_155_removing_evc_metadata_persistent ___________
self = <tests.test_e2e_10_mef_eline.TestE2EMefEline instance at 0x7f0d4b6c8a28>
    def test_155_removing_evc_metadata_persistent(self):
        """
        Test /api/kytos/mef_eline/v2/evc/{evc_id}/metadata/{key} on DELETE
        supported by:
            /api/kytos/mef_eline/v2/evc/{evc_id}/metadata on POST
            and
            /api/kytos/mef_eline/v2/evc/{evc_id}/metadata on GET
        """
        evc1 = self.create_evc(100)
        api_url = KYTOS_API + '/mef_eline/v2/evc/%s/metadata' % evc1

        # Make sure the metadata is initially empty
        response = requests.get(api_url)
        assert response.status_code == 200
        data = response.json()
        assert 'metadata' in data
        assert data['metadata'] == {}

        # Insert evc metadata
        my_key = 'tmp_key'
        payload = {my_key: "tmp_value", "other": [1, 2, 3]}

        response = requests.post(api_url, json=payload)
        assert response.status_code == 201

        # Make sure the metadata was inserted
        response = requests.get(api_url)
        data = response.json()
        assert data['metadata'] == payload

        self.restart()

        # Make sure the metadata is still there
        response = requests.get(api_url)
        data = response.json()
>       assert data['metadata'] == payload
E       KeyError: 'metadata'
tests/test_e2e_10_mef_eline.py:1277: KeyError```

This test has no longer been failing, I'll go ahead and close this. If it ever shows up again, It'll get reopened again.


text:
Add Scotland to the gem

I started this module months ago while visiting family in Scotland. I thought it would be straight forward, but it involved learning about bank holidays & how the queen can move holidays so that they create long weekends.
One technical note: I found myself defining holidays as first_monday_in(MAY, 2012), third_sunday_in(JUNE, 2015), etc., so I used method_missing to handle all of those cases - maybe it's too obtuse, I'm open to suggestions.

This is great! I had no idea the Queen could move holidays.
Would you rebase this into master, please? It has some conflicts with what's there.

Rebased. Sorry, I hadn't seen your updates.
One other thing, I noticed that your USA code has methods like second_sunday_in, first_monday_in, etc. I wrote some generic code to handle those calculations which could be pulled into lib/timetress/holiday.rb (that will probably be in my next PR). :)

Yeah, I was thinking I'd need to generalize that eventually.
Thanks!

authors: kytrinyx mertonium

repo: kytrinyx/timetress


text:
How to run moshi_mlx.local_web on a Mac so that others can use the demo on other machines?

I run python -m moshi_mlx.local_web -q 4 --host 172.18.150.107 --port 8080 on a Mac and can see index.html, but when I click Connect, the following error occurs:

When --host=localhost, it can be used normally. How do I run moshi_mlx.local_web on a Mac so that others can use the demo on other machines?

when --host=localhost:

when --host=172.18.150.107:

If the other machines can log onto the machine where the server is running via ssh, you can tunnel port 8998 using the -L flag and then use http://localhost:8998 on the client machines.

Closing now as hopefully the https version or the port tunneling help for this use case.

repo: kyutai-labs/moshi


text:
Add docs about writing tests with test steps

We need a docs section about writing tests with test steps.

/assign

authors: eddycharly shubham-cmyk

repo: kyverno/chainsaw


text:
[Sample] Cleanup sample

Problem Statement
Add at least one cleanup policy for 1.9.
Solution Description
Add a policy
Example "Good" Resource
No response
Example "Bad" Resource
No response
Other Comments
No response
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have verified the policy does not exist in the samples library.

Need support first for https://github.com/kyverno/website/issues/740

/assign

Thanks for contributing, @dolisss! Be aware that due to some current limitations on tooling we use on the website, although the sample may be added to kyverno/policies it will be unable to be displayed on kyverno.io/policies.

Do you still wish to take this even though it requires code changes (not just adding a sample policy)?

Should be unblocked by https://github.com/kyverno/website/pull/871

authors: chipzoller dolisss

repo: kyverno/policies


text:
Added quote api & fixed path to quotes.js

Added quote api & corrected file name in html for quotes.js.

Forgot to add author's name as part of quote


text:
Conda installation fails on M1 mac

Hi,
just tried to install and run visinity on a M1-Mac and it failed.

macOS Monterey (12.6)
MacBookPro w. Apple M1 Max w. 64 GB
conda 4.14.0 py39hca03da5_0

Leaving the log here FYI.
(base) user@COMPUTER visinity % conda env create -f requirements.yml
Collecting package metadata (repodata.json): done
Solving environment: done

Downloading and Extracting Packages
click-8.1.3          | 146 KB    | ####################################################################################################### | 100%
itsdangerous-2.1.2   | 16 KB     | ####################################################################################################### | 100%
libpng-1.6.38        | 297 KB    | ####################################################################################################### | 100%
zarr-2.10.1          | 110 KB    | ####################################################################################################### | 100%
typing_extensions-4. | 28 KB     | ####################################################################################################### | 100%
llvmlite-0.38.1      | 240 KB    | ####################################################################################################### | 100%
cytoolz-0.12.0       | 343 KB    | ####################################################################################################### | 100%
libsqlite-3.39.3     | 802 KB    | ####################################################################################################### | 100%
tifffile-2021.4.8    | 130 KB    | ####################################################################################################### | 100%
libwebp-base-1.2.4   | 316 KB    | ####################################################################################################### | 100%
cycler-0.11.0        | 10 KB     | ####################################################################################################### | 100%
imageio-2.13.1       | 3.1 MB    | ####################################################################################################### | 100%
pyinstaller-5.1      | 1.0 MB    | ####################################################################################################### | 100%
libopenblas-0.3.21   | 3.9 MB    | ####################################################################################################### | 100%
libcblas-3.9.0       | 13 KB     | ####################################################################################################### | 100%
matplotlib-3.6.0     | 7 KB      | ####################################################################################################### | 100%
brotlipy-0.7.0       | 341 KB    | ####################################################################################################### | 100%
libgfortran-5.0.0    | 146 KB    | ####################################################################################################### | 100%
kiwisolver-1.4.4     | 62 KB     | ####################################################################################################### | 100%
numba-0.55.2         | 3.8 MB    | ####################################################################################################### | 100%
urllib3-1.26.11      | 102 KB    | ####################################################################################################### | 100%
libblas-3.9.0        | 13 KB     | ####################################################################################################### | 100%
flask-2.1.0          | 70 KB     | ####################################################################################################### | 100%
zstd-1.5.2           | 378 KB    | ####################################################################################################### | 100%
numcodecs-0.10.2     | 996 KB    | ####################################################################################################### | 100%
unicodedata2-14.0.0  | 503 KB    | ####################################################################################################### | 100%
msgpack-python-1.0.4 | 81 KB     | ####################################################################################################### | 100%
idna-3.4             | 55 KB     | ####################################################################################################### | 100%
pyopenssl-22.0.0     | 120 KB    | ####################################################################################################### | 100%
dask-core-2022.9.1   | 849 KB    | ####################################################################################################### | 100%
requests-2.28.1      | 53 KB     | ####################################################################################################### | 100%
typing-extensions-4. | 8 KB      | ####################################################################################################### | 100%
markupsafe-2.1.1     | 22 KB     | ####################################################################################################### | 100%
jinja2-3.1.2         | 99 KB     | ####################################################################################################### | 100%
threadpoolctl-3.1.0  | 18 KB     | ####################################################################################################### | 100%
libcxx-14.0.6        | 1.3 MB    | ####################################################################################################### | 100%
toolz-0.12.0         | 48 KB     | ####################################################################################################### | 100%
pandas-1.5.0         | 12.1 MB   | ####################################################################################################### | 100%
c-blosc2-2.4.1       | 228 KB    | ####################################################################################################### | 100%
flask-sqlalchemy-2.5 | 19 KB     | ####################################################################################################### | 100%
hdbscan-0.8.28       | 521 KB    | ####################################################################################################### | 100%
importlib-metadata-4 | 33 KB     | ####################################################################################################### | 100%
pytz-2022.2.1        | 224 KB    | ####################################################################################################### | 100%
sqlite-3.39.3        | 794 KB    | ####################################################################################################### | 100%
sqlalchemy-1.4.41    | 2.4 MB    | ####################################################################################################### | 100%
pillow-8.1.1         | 635 KB    | ####################################################################################################### | 100%
liblapack-3.9.0      | 13 KB     | ####################################################################################################### | 100%
readline-8.1.2       | 263 KB    | ####################################################################################################### | 100%
pysocks-1.7.1        | 19 KB     | ####################################################################################################### | 100%
macholib-1.16.2      | 36 KB     | ####################################################################################################### | 100%
ca-certificates-2022 | 150 KB    | ####################################################################################################### | 100%
libgfortran5-11.3.0  | 1.3 MB    | ####################################################################################################### | 100%
certifi-2022.9.24    | 155 KB    | ####################################################################################################### | 100%
freetype-2.12.1      | 852 KB    | ####################################################################################################### | 100%
matplotlib-base-3.6. | 7.4 MB    | ####################################################################################################### | 100%
munkres-1.1.4        | 12 KB     | ####################################################################################################### | 100%
pyinstaller-hooks-co | 95 KB     | ####################################################################################################### | 100%
scikit-image-0.19.3  | 10.9 MB   | ####################################################################################################### | 100%
fsspec-2022.8.2      | 96 KB     | ####################################################################################################### | 100%
openjpeg-2.5.0       | 447 KB    | ####################################################################################################### | 100%
scipy-1.9.1          | 21.8 MB   | ####################################################################################################### | 100%
contourpy-1.0.5      | 230 KB    | ####################################################################################################### | 100%
dav1d-1.0.0          | 423 KB    | ####################################################################################################### | 100%
setuptools-65.4.0    | 731 KB    | ####################################################################################################### | 100%
libtiff-4.3.0        | 574 KB    | ####################################################################################################### | 100%
python_abi-3.8       | 4 KB      | ####################################################################################################### | 100%
numpy-1.22.4         | 5.8 MB    | ####################################################################################################### | 100%
cffi-1.15.1          | 220 KB    | ####################################################################################################### | 100%
cryptography-37.0.4  | 1.2 MB    | ####################################################################################################### | 100%
orjson-3.8.0         | 258 KB    | ####################################################################################################### | 100%
networkx-2.8.6       | 1.6 MB    | ####################################################################################################### | 100%
scikit-learn-1.1.2   | 7.4 MB    | ####################################################################################################### | 100%
altgraph-0.17.2      | 21 KB     | ####################################################################################################### | 100%
zlib-1.2.12          | 80 KB     | ####################################################################################################### | 100%
cloudpickle-2.2.0    | 25 KB     | ####################################################################################################### | 100%
pywavelets-1.3.0     | 4.3 MB    | ####################################################################################################### | 100%
fonttools-4.37.3     | 1.9 MB    | ####################################################################################################### | 100%
waitress-2.1.2       | 46 KB     | ####################################################################################################### | 100%
imagecodecs-2022.2.2 | 2.1 MB    | ####################################################################################################### | 100%
aom-3.5.0            | 2.4 MB    | ####################################################################################################### | 100%
libavif-0.10.1       | 85 KB     | ####################################################################################################### | 100%
werkzeug-2.2.2       | 249 KB    | ####################################################################################################### | 100%
greenlet-1.1.3       | 88 KB     | ####################################################################################################### | 100%
joblib-1.2.0         | 205 KB    | ####################################################################################################### | 100%
libzlib-1.2.12       | 51 KB     | ####################################################################################################### | 100%
jpeg-9e              | 259 KB    | ####################################################################################################### | 100%
pyyaml-6.0           | 161 KB    | ####################################################################################################### | 100%
partd-1.3.0          | 18 KB     | ####################################################################################################### | 100%
libllvm11-11.1.0     | 20.9 MB   | ####################################################################################################### | 100%
charset-normalizer-2 | 36 KB     | ####################################################################################################### | 100%
python-3.8.13        | 12.3 MB   | ####################################################################################################### | 100%
tornado-6.2          | 655 KB    | ####################################################################################################### | 100%
xz-5.2.6             | 230 KB    | ####################################################################################################### | 100%
olefile-0.46         | 32 KB     | ####################################################################################################### | 100%
libssh2-1.10.0       | 218 KB    | ####################################################################################################### | 100%
zipp-3.8.1           | 13 KB     | ####################################################################################################### | 100%
pip-22.2.2           | 1.5 MB    | ####################################################################################################### | 100%
libnghttp2-1.47.0    | 816 KB    | ####################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/Users/user/miniconda3/envs/visinity/bin/python', '-m', 'pip', 'install', '-U', '-r', '/Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt']
Pip subprocess output:
Collecting elementpath==2.3.2
  Downloading elementpath-2.3.2-py3-none-any.whl (155 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.5/155.5 kB 792.1 kB/s eta 0:00:00
Collecting pycave==3.1.3
  Downloading pycave-3.1.3-py3-none-any.whl (37 kB)
Collecting numpy-indexed
  Downloading numpy_indexed-0.3.5-py2.py3-none-any.whl (18 kB)
Collecting ome-types==0.2.9
  Downloading ome_types-0.2.9-py3-none-any.whl (137 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.8/137.8 kB 1.3 MB/s eta 0:00:00
Collecting opencv-python
  Downloading opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.0/30.0 MB 4.4 MB/s eta 0:00:00
Collecting umap-learn
  Downloading umap-learn-0.5.3.tar.gz (88 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.2/88.2 kB 1.6 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting xmlschema==1.8.0
  Downloading xmlschema-1.8.0-py3-none-any.whl (262 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 262.1/262.1 kB 4.0 MB/s eta 0:00:00
Collecting torch<2.0.0,>=1.8.0
  Using cached torch-1.12.1-cp38-none-macosx_11_0_arm64.whl (49.1 MB)
Collecting pytorch-lightning<2.0.0,>=1.6.0
  Downloading pytorch_lightning-1.7.7-py3-none-any.whl (708 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 708.1/708.1 kB 5.3 MB/s eta 0:00:00
Requirement already satisfied: numpy<2.0.0,>=1.20.3 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (1.22.4)
Collecting torchmetrics<0.6.0,>=0.5.1
  Downloading torchmetrics-0.5.1-py3-none-any.whl (282 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.0/283.0 kB 4.0 MB/s eta 0:00:00
Collecting lightkit<0.5.0,>=0.4.4
  Downloading lightkit-0.4.4-py3-none-any.whl (17 kB)
Collecting pydantic[email]>=1.0
  Using cached pydantic-1.10.2-cp38-cp38-macosx_11_0_arm64.whl (2.6 MB)
Collecting Pint>=0.15
  Using cached Pint-0.19.2-py3-none-any.whl
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Requirement already satisfied: scikit-learn>=0.22 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (1.1.2)
Requirement already satisfied: scipy>=1.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (1.9.1)
Requirement already satisfied: numba>=0.49 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (0.55.2)
Collecting pynndescent>=0.5
  Downloading pynndescent-0.5.7.tar.gz (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.6 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting tqdm
  Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 2.5 MB/s eta 0:00:00
Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from numba>=0.49->umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (0.38.1)
Requirement already satisfied: setuptools in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from numba>=0.49->umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (65.4.0)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pydantic[email]>=1.0->ome-types==0.2.9->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 4)) (4.3.0)
Collecting email-validator>=1.0.3
  Downloading email_validator-1.3.0-py2.py3-none-any.whl (22 kB)
Requirement already satisfied: joblib>=0.11 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pynndescent>=0.5->umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (1.2.0)
Collecting tensorboard>=2.9.1
  Downloading tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.9/5.9 MB 5.2 MB/s eta 0:00:00
Collecting pytorch-lightning<2.0.0,>=1.6.0
  Downloading pytorch_lightning-1.7.6-py3-none-any.whl (707 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 707.5/707.5 kB 4.6 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.5-py3-none-any.whl (706 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 706.6/706.6 kB 4.6 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.4-py3-none-any.whl (706 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 706.5/706.5 kB 5.9 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.3-py3-none-any.whl (705 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.8/705.8 kB 5.6 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.2-py3-none-any.whl (705 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.6/705.6 kB 5.0 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.1-py3-none-any.whl (701 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.5/701.5 kB 6.1 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.7.0-py3-none-any.whl (700 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 700.9/700.9 kB 6.2 MB/s eta 0:00:00
  Downloading pytorch_lightning-1.6.5-py3-none-any.whl (585 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 kB 3.7 MB/s eta 0:00:00
Requirement already satisfied: packaging>=17.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (21.3)
Requirement already satisfied: PyYAML>=5.4 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (6.0)
Requirement already satisfied: fsspec[http]!=2021.06.0,>=2021.05.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2022.8.2)
Collecting protobuf<=3.20.1
  Using cached protobuf-3.20.1-py2.py3-none-any.whl (162 kB)
Collecting pyDeprecate>=0.3.1
  Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from scikit-learn>=0.22->umap-learn->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 6)) (3.1.0)
Collecting dnspython>=1.15.0
  Using cached dnspython-2.2.1-py3-none-any.whl (269 kB)
Requirement already satisfied: idna>=2.0.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from email-validator>=1.0.3->pydantic[email]>=1.0->ome-types==0.2.9->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 4)) (3.4)
Collecting aiohttp!=4.0.0a0,!=4.0.0a1
  Downloading aiohttp-3.8.3-cp38-cp38-macosx_11_0_arm64.whl (337 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 337.4/337.4 kB 4.6 MB/s eta 0:00:00
Requirement already satisfied: requests in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from fsspec[http]!=2021.06.0,>=2021.05.0->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2.28.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from packaging>=17.0->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (3.0.9)
Collecting markdown>=2.6.8
  Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Requirement already satisfied: wheel>=0.26 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (0.37.1)
Requirement already satisfied: werkzeug>=1.0.1 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2.2.2)
Collecting grpcio>=1.24.3
  Downloading grpcio-1.49.1.tar.gz (22.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.1/22.1 MB 3.8 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
  Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting tensorboard-plugin-wit>=1.6.0
  Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting protobuf<=3.20.1
  Downloading protobuf-3.19.5-py2.py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.7/162.7 kB 3.3 MB/s eta 0:00:00
Collecting google-auth<3,>=1.6.3
  Downloading google_auth-2.11.1-py2.py3-none-any.whl (167 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.1/167.1 kB 2.3 MB/s eta 0:00:00
Collecting absl-py>=0.4
  Using cached absl_py-1.2.0-py3-none-any.whl (123 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
  Downloading yarl-1.8.1-cp38-cp38-macosx_11_0_arm64.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.4/57.4 kB 1.7 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.2-cp38-cp38-macosx_11_0_arm64.whl (29 kB)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]!=2021.06.0,>=2021.05.0->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2.1.1)
Collecting frozenlist>=1.1.1
  Downloading frozenlist-1.3.1-cp38-cp38-macosx_11_0_arm64.whl (35 kB)
Collecting attrs>=17.3.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Requirement already satisfied: six>=1.9.0 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (1.16.0)
Collecting pyasn1-modules>=0.2.1
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting cachetools<6.0,>=2.0.0
  Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting rsa<5,>=3.1.4
  Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: importlib-metadata>=4.4 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from markdown>=2.6.8->tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (4.11.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from requests->fsspec[http]!=2021.06.0,>=2021.05.0->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (1.26.11)
Requirement already satisfied: certifi>=2017.4.17 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from requests->fsspec[http]!=2021.06.0,>=2021.05.0->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2022.9.24)
Requirement already satisfied: MarkupSafe>=2.1.1 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from werkzeug>=1.0.1->tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (2.1.1)
Requirement already satisfied: zipp>=0.5 in /Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard>=2.9.1->pytorch-lightning<2.0.0,>=1.6.0->pycave==3.1.3->-r /Users/user/programming/visinity/condaenv.bszso9lo.requirements.txt (line 2)) (3.8.1)
Collecting pyasn1<0.5.0,>=0.4.6
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.2.1-py3-none-any.whl (151 kB)
Building wheels for collected packages: umap-learn, pynndescent, grpcio
  Building wheel for umap-learn (setup.py): started
  Building wheel for umap-learn (setup.py): finished with status 'done'
  Created wheel for umap-learn: filename=umap_learn-0.5.3-py3-none-any.whl size=82814 sha256=dd6c56b492a80be0f651659fb0523d4f5997f046e78880b2c960c174d6224bfa
  Stored in directory: /Users/user/Library/Caches/pip/wheels/a9/3a/67/06a8950e053725912e6a8c42c4a3a241410f6487b8402542ea
  Building wheel for pynndescent (setup.py): started
  Building wheel for pynndescent (setup.py): finished with status 'done'
  Created wheel for pynndescent: filename=pynndescent-0.5.7-py3-none-any.whl size=54269 sha256=35f898d2009f14d440c6fcb50a1ed2c582cf60f4d6ce3f8586b72975f4534127
  Stored in directory: /Users/user/Library/Caches/pip/wheels/1b/38/fe/99e22fbae88abd1c5e8d99253cba6d1c590cc7a94408bff3bf
  Building wheel for grpcio (setup.py): started
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): finished with status 'done'
  Created wheel for grpcio: filename=grpcio-1.49.1-cp38-cp38-macosx_11_0_arm64.whl size=3341532 sha256=2cd748edd84a50e929854ac2e9da38130af525c4618171199f50cf4201bc47de
  Stored in directory: /Users/user/Library/Caches/pip/wheels/ae/75/9b/1cfee21306a9993817964b0c777cbedf8a42342254986cd0e9
Successfully built umap-learn pynndescent grpcio
Installing collected packages: tensorboard-plugin-wit, pyasn1, tqdm, torch, tensorboard-data-server, rsa, pyDeprecate, pydantic, pyasn1-modules, protobuf, Pint, opencv-python, oauthlib, multidict, grpcio, future, frozenlist, elementpath, dnspython, cachetools, attrs, async-timeout, absl-py, yarl, xmlschema, torchmetrics, requests-oauthlib, numpy-indexed, markdown, google-auth, email-validator, aiosignal, pynndescent, google-auth-oauthlib, aiohttp, umap-learn, tensorboard, ome-types, pytorch-lightning, lightkit, pycave
Successfully installed Pint-0.19.2 absl-py-1.2.0 aiohttp-3.8.3 aiosignal-1.2.0 async-timeout-4.0.2 attrs-22.1.0 cachetools-5.2.0 dnspython-2.2.1 elementpath-2.3.2 email-validator-1.3.0 frozenlist-1.3.1 future-0.18.2 google-auth-2.11.1 google-auth-oauthlib-0.4.6 grpcio-1.49.1 lightkit-0.4.4 markdown-3.4.1 multidict-6.0.2 numpy-indexed-0.3.5 oauthlib-3.2.1 ome-types-0.2.9 opencv-python-4.6.0.66 protobuf-3.19.5 pyDeprecate-0.3.2 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycave-3.1.3 pydantic-1.10.2 pynndescent-0.5.7 pytorch-lightning-1.6.5 requests-oauthlib-1.3.1 rsa-4.9 tensorboard-2.10.1 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 torch-1.12.1 torchmetrics-0.5.1 tqdm-4.64.1 umap-learn-0.5.3 xmlschema-1.8.0 yarl-1.8.1

done
#
# To activate this environment, use
#
#     $ conda activate visinity
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) user@COMPUTER visinity % conda activate visinity
(visinity) user@COMPUTER visinity % python run.py
Traceback (most recent call last):
  File "run.py", line 2, in <module>
    from minerva_analysis import app
  File "/Users/user/programming/visinity/minerva_analysis/__init__.py", line 55, in <module>
    from minerva_analysis.server.routes import page_routes, data_routes, import_routes
  File "/Users/user/programming/visinity/minerva_analysis/server/routes/data_routes.py", line 6, in <module>
    from minerva_analysis.server.models import data_model
  File "/Users/user/programming/visinity/minerva_analysis/server/models/data_model.py", line 8, in <module>
    import hdbscan
  File "/Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages/hdbscan/__init__.py", line 1, in <module>
    from .hdbscan_ import HDBSCAN, hdbscan
  File "/Users/user/miniconda3/envs/visinity/lib/python3.8/site-packages/hdbscan/hdbscan_.py", line 509, in <module>
    memory=Memory(cachedir=None, verbose=0),
TypeError: __init__() got an unexpected keyword argument 'cachedir'
(visinity) user@COMPUTER visinity %

Hey @straussmaximilian,
I'll take a look on an M1 mac today and report back / make any changes necessary. Sorry about that :)
-Simon

I had a similar or same problem and found the solution for mine. Maybe this will help https://github.com/labsyspharm/Visinity/issues?q=is%3Aissue+is%3Aclosed

Hey @markdane, Appreciate you pointing this out. the hdbscan/sklearn community should push a fix soon which will resolve things, so will be on the lookout for this. I'll hardcode the joblib in the requirements file and push that up in a sec.
-Simon

authors: markdane simonwarchol straussmaximilian

repo: labsyspharm/Visinity


text:
Configureable Base Domain

As a Lacework developer I would like the ability to customize the "base domain" in the python-sdk such that I can connect with non-production environments such as "dev5":
lw = LaceworkClient(
    account='dev5',
    api_key="DEV5***",
    api_secret="***",
    base_domain="dev5.corp.lacework.net"
)

This will help developers integrate the SDK with CI systems (i.e. I want to use python to iterate and compile LQL queries for validation purposes).

@alannix-lw , do you want me to update the README.md as well, or do we not want to document this publicly?

@hazedav since this is meant for testing, etc., I think we're ok on docs.  Customers should always be using the default.

authors: alannix-lw hazedav

repo: lacework/python-sdk


text:
Shading in offscreen render

Is it also possible to render a scene offscreen with the same shading?

Add this before the renderer.render call:
renderer.autoenablesDefaultLighting = true

authors: roberthein tomorrowevening

repo: lachlanhurst/SceneKitOffscreenRendering


text:
fix(inheritance): Add elements not found in schema

Re: pollination/pollination-server#194
The RoleEnum is not found from the call to pydantic.schema.schema and thus isn't added to the enums dictionary by the loop on line 320 in inheritance.py. This adds the missing elements to the enums dictionary.
I've tested this interactively against pollination-server. The generated JSONs with this change are here. I'm not sure if this is how it needs to work for C# code generation necessarily, though.

@MingboPeng let me know if you need anything from me to test this

I added @MingboPeng as a reviewer so it pops up on his GitHub page!

Hi @tymokvo, I don't have access to: https://storage.cloud.google.com/lbt-blobs/misc-dev-blobs/pydantic-openapi-helper/openapi_mapper.json

Meanwhile, could you also please provide me the openapi_inheritance.json as well?

Nevermind, I found them from Google Cloud

openapi_inheritance.json still doesn't include RoleEnum

enums in mapper.json are duplicated:

Hi @tymokvo please let me know if you need more info to fix this issue. Thanks.

Hi @MingboPeng so, just to clarify, RoleEnum needs to be in openapi_inheritance.json in the same way that (e.g.) OrganizationRoleEnum is?

Hi @tymokvo, Yes all the Enums should show up under that list

Just to repot the new SortEnum is also missing.

authors: MingboPeng mostaphaRoudsari tymokvo

repo: ladybug-tools/pydantic-openapi-helper


text:
Add computer-provider cli

Supports using CP_PATH to configure cp's data directory
Add cli of cp

Check the current list of tasks running on CP, display detailed information for tasks using -v

computing-provider task list

Retrieve detailed information for a specific task using <space_uuid>

computing-provider task get [space_uuid]

Delete mismatched or failed tasks by space_uuid

computing-provider task delete [space_uuid]

Install AI Inference Dependency
It is necessary for Computing Provider to deploy the AI inference endpoint

mkdir -p ~/.swan/computing

export CP_PATH=~/.swan/computing

./install.sh

authors: Normalnoise sonic-chain

repo: lagrangedao/go-computing-provider


text:
Improve umbrella organization

Move arena messages.proto
Add command to run all apps
Minor fixes

I also pushed a commit to fix the deps path in game_client config file.

authors: Nico-Sanchez manucamejo


text:
Child routes doesn't work with specific controller

Bug Report
when trying to generate a child route with a controller different from the parent route a 404 error is generated
How to reproduce
'router' => [
        'routes' => [
            'home' => [
                'type'    => Literal::class,
                'options' => [
                    'route'    => '/',
                    'defaults' => [
                        'controller' => Controller\IndexController::class,
                        'action'     => 'index',
                    ],
                ],
            ],
            'catalog' => [
                'type'    => Segment::class,
                'options' => [
                    'route'    => '/catalog',
                    'defaults' => [
                        'controller' => Controller\IndexController::class,
                        'action'     => 'catalog',
                    ],
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'subscribe' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/subscribe',
                            'defaults' => [
                                'controller' => SubscribeController::class, // <---- Does not work
                                'action' => 'subscribe',
                            ],
                        ],
                    ],
                ]
            ],
        ],
    ],

SubscribeController
<?php

declare(strict_types=1);

namespace Application\Controller;

use Laminas\Mvc\Controller\AbstractActionController;
use Laminas\View\Model\ViewModel;

class SubscribeController extends AbstractActionController
{
    public function subscribeAction()
    {

        dd(__CLASS__, __METHOD__);

        return new ViewModel();
    }
}

IndexController
<?php

declare(strict_types=1);

namespace Application\Controller;

use Laminas\Mvc\Controller\AbstractActionController;
use Laminas\View\Model\ViewModel;

class IndexController extends AbstractActionController
{
    public function indexAction()
    {
        return new ViewModel();
    }

    public function catalogAction()
    {
        dd(__CLASS__, __METHOD__);
    }

    public function subscribeAction()
    {

        dd(__CLASS__, __METHOD__);

        return new ViewModel();
    }
}

Commenting out the controller reference in the subscribe child route works normally because it takes the action from the parent controller

Did you register the SubscribeController within the controllers scope of your application?
The error you can see within the first screenshot says "resolves to invalid controller". So it actually is able to understand that there is the SubscribeController configured.
So what is actually missing is the configuration entry for SubscribeController.
return [
    'controllers' => [
        'factories' => [
            SubscribeController::class => InvokableFactory::class,
        ],
    ],
];

@boesing Problem solved, I hadn't registered the new controller.

authors: boesing juizmill

repo: laminas/laminas-router


text:
Make _current.yaml write protected

Only Bionty should be able to modify it and not users directly.

Not sure how to create a file that is only modifiable by Bionty. It's possible to set permissions per user of course or groups, but Bionty is neither of those.
Brainstorming...

What about we rename it to ._current.yaml so that users don't see it? 😆

authors: Zethson sunnyosun

repo: laminlabs/bionty


text:
About dataset generation

Hi, thanks so much for this great work!
I may be missing someting but in the training pipeline, I could not find any codes on generate_dataset, generate_GPT_MistralRS and the temp dataset.
trainer =PRefLexORDPOTrainer(
    ...
    train_dataset=temp,                        # Temporary training dataset
    ...
    generate_dataset=generate_dataset,
    generate=generate_GPT_MistralRS,          # Function for generating datasets
    ...)

It would be great if your repository will release or clarify the details on this dynamic data generation mentioned in the paper later.
Thanks so much again,
Jung

I added a complete training script for both training phases, Phase I and II, to show how this can be constructed. You can use it to adapt to your use case.
Please see here: https://github.com/lamm-mit/PRefLexOR/blob/main/PRefLexOR_train_Phase-I-and-II.ipynb

Thanks so much! It's really helpful!

authors: lamm-mit ratthachat

repo: lamm-mit/PRefLexOR


text:
HOW CAN I USE THIS LIB?

Is there any documentation out there about configuring this library?

Hi @hnwangkg-ezio, please see https://github.com/lancaster-university/microbit-v2-samples, where there are installation instructions. The build system there downloads this library and others.

Hopefully you've found the information you needed in https://github.com/lancaster-university/microbit-v2-samples. I'll close this as resolved, but feel free to reopen if you still have any questions.


text:
feat: stable row id deletions and scalar indices

Replace our custom ProjectionExec with a function that maps the old API into DataFusion's ProjectionExec.
Create a new PhysicalExpr for mapping _rowid to _rowaddr.

Split into:

#2609
#2608

repo: lancedb/lance


text:
Feature: replace dependency on retry with a more actively maintained dependency that does not raise CVE-2022-42969

SDK
Python
Description
lancedb depends on retry, which depends on py which has a "high severity" CVE raised against it (https://nvd.nist.gov/vuln/detail/CVE-2022-42969). Although this vulnerability is rubbish (disputed, applies only if dealing with subversion projects), its pretense in the dependency tree blocks installation of lancedb in locked down environments.

There's also an issue on retry package https://github.com/invl/retry/issues/58 where people pointed that a while ago but no action.
There's also some talk about alternatives, since people from other repositories are also facing the same issue

Would also love for this to get looked at for the same reason as the original post

Is there any plan to remove this dependency?
We use lancedb on our project https://github.com/microsoft/graphrag and we have a security risk that cannot be addressed

authors: AlonsoGuevara dayesouza finnhacks42 ojturner

repo: lancedb/lancedb


text:
LP footer on partners site

Is it possible to reduce size of LP footer on (partner pages) OR make the LP footer more distinct as an LP feature. Participants found the footer confusing.    Note: While a smaller footer would be appreciated, it is not critical. However, it is IMPORTANT that LP clearly brand the footer. User feedback demonstrated that the note re LP hosting MLIKE is not sufficient. It is not a substantive task to brand the footer in partner pages, and would not affect LP’s  own structure or appearance if same standard is applied to all partner websites.

See with Mike for new layout / wireframe

done

repo: landportal/drupal


text:
🛑 rexingsports.cn is down

In 0f3f16b, rexingsports.cn (https://www.rexingsports.cn) was down:

HTTP code: 567
Response time: 1035 ms

Resolved: rexingsports.cn is back up in ac6634b after 618 days, 14 hours, 6 minutes.

repo: lanen/bs-site


text:
🛑 rexingsports.cn is down

In 7d28477, rexingsports.cn (https://www.rexingsports.cn) was down:

HTTP code: 567
Response time: 941 ms

Resolved: rexingsports.cn is back up in dbc8ac5.


text:
🛑 vipgifts.net is down

In c4f35a3, vipgifts.net (https://vipgifts.net) was down:

HTTP code: 567
Response time: 993 ms

Resolved: vipgifts.net is back up in 5799f24 after 47 minutes.


text:
🛑 rexingsports.cn is down

In 35107d2, rexingsports.cn (https://www.rexingsports.cn) was down:

HTTP code: 567
Response time: 5047 ms

Resolved: rexingsports.cn is back up in 0cc2ba5 after 50 minutes.


text:
🛑 vipgifts.net is down

In dd9a71a, vipgifts.net (https://vipgifts.net) was down:

HTTP code: 567
Response time: 705 ms

Resolved: vipgifts.net is back up in b3d7d77 after 1 hour, 8 minutes.


text:
[Extraction template] NER

Feature request
Name Entity Recognition is the process of identifying and classifying named entities (like people, organizations, dates, and locations) in text.
Motivation
NER is useful in various areas:

Information Retrieval: Helps in improving the efficiency of search engines. For example, if someone searches for "Apple," understanding whether they mean the fruit or the tech company can be crucial.

Content Recommendation: For news or media agencies, knowing what entities are mentioned in articles can help in recommending related content to users.

Data Mining: For extracting structured information from unstructured datasets.

Question Answering: Helps chatbots and virtual assistants understand and respond to user queries more accurately.

Knowledge Graph Construction: Crucial for building structured databases of information extracted from text.

Your contribution
Add template

Until we get an offical solution, here is the prompt I am using:
Identify and extract all named entities from the following text, including:

Person: Names of people, including full names, titles, and roles (e.g., "Mateo Gomez", "Nickolaus Schulz", "caretaker")
Organization: Names of companies, institutions, and groups (e.g., "Contoso General Hospital", "Contoso Restaurant")
Location: Geographical locations, addresses, and landmarks (e.g., "Hollywood Boulevard", "Los Angeles", "Santa Monica Pier")
Date/Time: Specific dates, times, durations, and expressions of time (e.g., "August 17th, 2022", "7:45 PM", "last Thursday")
Quantity: Numerical values, including numbers, ordinals, and percentages (e.g., "28-year-old", "first", "95 percent")
Product: Names of products, objects, and items (e.g., "Stent", "Chicken parmigiana", "Surf and turf platter")
Event: References to specific events or activities (e.g., "car accident", "trip", "anniversary")
Skill: Mentions of skills or abilities (e.g., "supervision")
Other categories: Consider any other relevant entity types that may appear in the text.
For each entity, provide:

Text: The exact text of the entity as it appears in the text.
Category: The category of the entity (e.g., Person, Location, Date/Time).
Subcategory (optional): A more specific subcategory, if applicable (e.g., GPE for geo-political entities, Date for dates, Time for times).
Offset: The starting character index of the entity within the text.
Length: The number of characters in the entity.
Confidence score: A numerical value indicating the model's confidence in the entity extraction (e.g., 0.0 to 1.0).
Format the results as a JSON object that adheres to the following structure:

JSON
{
    "documents": [
        {
            "id": "id__1234",  // Unique document identifier
            "entities": [
                {
                    "text": "Entity text",
                    "category": "Entity category",
                    "subcategory": "Entity subcategory (optional)",
                    "offset": 0,
                    "length": 10,
                    "confidenceScore": 0.95
                },
                // ... other entities
            ]
        }
    ],
    "errors": []  // List of any errors encountered during extraction
}

And here is an example, implemented in ChatGPT:
"Michelina Metelli was born in Farneto, Papal States, to a wealthy Italian family. She married into the noble Malatesta family at the age of 12 and was widowed by age 20. She led a lifestyle of parties and luxury but, after the death of her only son, she experienced a vision of him in heaven, and decided to become a member of the Third Order of Saint Francis.
She proceeded to give away all her belongings and property, and founded, together with Francis Zanferdini, the Confraternity of the Annunciation to care for the poor, nurse the sick and bury the dead. Initially her family believed her to be insane and had her locked up. Upon her release from confinement, she made a pilgrimage to the Holy Land as penance for her sins. It is believed that she received the stigmata in the course of this journey. Michelina died at her home in Pesaro on 19 June 1356 of natural causes"
Result:
    "documents": [
        {
            "id": "id__1234",
            "entities": [
                {
                    "text": "Michelina Metelli",
                    "category": "Person",
                    "offset": 0,
                    "length": 16,
                    "confidenceScore": 0.98
                },
                {
                    "text": "Farneto, Papal States",
                    "category": "Location",
                    "offset": 26,
                    "length": 20,
                    "confidenceScore": 0.95
                },
                {
                    "text": "Malatesta",
                    "category": "Organization",
                    "offset": 80,
                    "length": 9,
                    "confidenceScore": 0.92
                },
                {
                    "text": "12",
                    "category": "Quantity",
                    "offset": 114,
                    "length": 2,
                    "confidenceScore": 0.99
                },
                {
                    "text": "20",
                    "category": "Quantity",
                    "offset": 142,
                    "length": 2,
                    "confidenceScore": 0.99
                },
                {
                    "text": "Third Order of Saint Francis",
                    "category": "Organization",
                    "offset": 255,
                    "length": 28,
                    "confidenceScore": 0.94
                },
                {
                    "text": "Francis Zanferdini",
                    "category": "Person",
                    "offset": 330,
                    "length": 18,
                    "confidenceScore": 0.97
                },
                {
                    "text": "Confraternity of the Annunciation",
                    "category": "Organization",
                    "offset": 361,
                    "length": 33,
                    "confidenceScore": 0.93
                },
                {
                    "text": "Holy Land",
                    "category": "Location",
                    "offset": 489,
                    "length": 9,
                    "confidenceScore": 0.96
                },
                {
                    "text": "Pesaro",
                    "category": "Location",
                    "offset": 568,
                    "length": 6,
                    "confidenceScore": 0.97
                },
                {
                    "text": "19 June 1356",
                    "category": "Date/Time",
                    "subcategory": "Date",
                    "offset": 587,
                    "length": 12,
                    "confidenceScore": 0.99
                }
            ]
        }
    ],
    "errors": []
}

Please see https://python.langchain.com/docs/use_cases/extraction which can be adapted for more specific NER extraction.
If you need to localize the extraction in the text there are different ways to do it (just don't ask the LLM to count positions since it doesn't do it well.)
One way to do it: Add "evidence" to the schema to request text repeated in verbatim as evidence for the extraction and then approximate algorithms for aligning the extracted text against the original

authors: eyurtsev harell rlancemartin

repo: langchain-ai/langchain


text:
Google Gemini

Feature request
With Gemini Pro going GA today (Dec. 13th).
When can users of LangChain expect an update to use the new LLM?
Motivation
This will allow users of LangChain to use the latest LLM that Google is providing along with their safety settings.
Your contribution
I can try and help. Happy to contribute where needed

@ktibbs9417 check this: https://github.com/langchain-ai/langchain/pull/14621
You can run pip install langchain-google-genai to get started with this, note it was just added about 15 mins after you made this issue haha

Like @jamesbraza said, should be able to do this with langchain-google-genai. Let us know if you see any issues! Closing issue for now

You can also use ChatVertexAI with model_name gemini-pro

@dheerajiiitv Did you try it with ChatVertexAI? I tried to use it with ConversationalRetrievalChain.from_llm, but it's not working.

No, I am using System message. I can't use ChatVertexAi, you have to use
VertexAI
On Sat, Dec 16, 2023, 4:48 PM gpy1234 @.***> wrote:

@dheerajiiitv https://github.com/dheerajiiitv Did you try it with
ChatVertexAI? I tried to use it with ConversationalRetrievalChain.from_llm,
but it's not working.
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langchain/issues/14671#issuecomment-1858793110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFY7PMHXXFGG2CE7VW537WDYJV7PZAVCNFSM6AAAAABATU7VH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYG44TGMJRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

No, I am using System message. I can't use ChatVertexAi, you have to use VertexAI
…
On Sat, Dec 16, 2023, 4:48 PM gpy1234 @.> wrote: @dheerajiiitv https://github.com/dheerajiiitv Did you try it with ChatVertexAI? I tried to use it with ConversationalRetrievalChain.from_llm, but it's not working. — Reply to this email directly, view it on GitHub <#14671 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFY7PMHXXFGG2CE7VW537WDYJV7PZAVCNFSM6AAAAABATU7VH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYG44TGMJRGA . You are receiving this because you were mentioned.Message ID: @.>

But in this comment, you mentioned, 'You can also use ChatVertexAI with the model_name gemini-pro.' I would like to use gemini-pro with LangChain's ConversationalRetrievalChain.from_llm

You can also use ChatVertexAI with model_name gemini-pro

I tried it, but it doesnt stream when incorporated into retrieval chain, it has streaming in its parameters but it doesnt stream, does it stream for you?

@JoAmps Seems still that way ever since the langchain google package was updated.  It got better for exception handling, but lost streaming once went to:
langchain-google-genai==0.0.6
google-generativeai==0.3.2

https://github.com/langchain-ai/langchain/pull/15459
https://github.com/h2oai/h2ogpt/commit/972d0b69813343290e219302e25f955bf482105c

I'm confused because I see most things related to this are closed, but not merged. What's the recommended route here? Should we abandon LLMChain since it's marked deprecated and use the new notation? Langchain is all pretty new to me so would love a little bit of clear direction.

authors: JoAmps baskaryan dharless-eli-lilly dheerajiiitv gpy1234 jamesbraza ktibbs9417 pseudotensor