Makes how much water you need to clean into a constant set to one third

So, I was finding it a bit hard for janitors and service workers to keep it clean so I made this patch. So here we are.
I made sure to make it as tweakable as possible and I think if you put the constant to 1 it will be almost as if nothing had changed.
I would love to make you people able to make commits into my branch if that's possible but I suck at github. If anyone can tell me how, I'll do it. Otherwise, I can make any requested changes soonish, as per usual
Instead of transferring to the mop just as much volume as there is water in it, it transfer up to 3 times that amount of water, 3 being the current value for the constant.
Refilling the absorber (mop) only fills up to 1 / 3 of it as well, otherwise it would be senseless.
:cl: rber

tweak: Cleaning puddles no longer takes just as much water as the volume puddle

cheers

github tells me you can make edits. anyway, that would be easier than requesting changes if you can

Please don't force-push to PRs.

ok, it had something that wasn't working anymore. I had no idea it would make any difference

I just had a issue where the containers would overflow since previous code didn't need to check for overflows cause it could only insert as much volume as it was removing

is anything particularly fuzzy or needing explanation?

luckily it has no conflicts yet.
I'm gonna make a commit with something that removes one of the weird hacks as soon as it tests ok.
@metalgearsloth is there anything else I can do to improve this PR?

It looked like you were still making changes to it when I tried reviewing, I'll get to it when I can.

hopefully it's slightly more understandable and seems a bit safer now... I guess?

Let me make sure it's clear I only forced pushed to it to avoid us wasting time discussing a hunk of code which was no longer working which would diminish my chances on a merge, I didn't rebase it or anything as it's somewhat usual with force pushes
Sadly it seems to have had the opposite outcome which is the PR going entirely ignored from upstream devs for 2 weeks. damn.

It was code to allow emptying the mop which didn't get executed anymore I have withdrawn, not at all very relevant to reviewing the PR.

Force-pushing gets rid of any reviews made which is why it's frowned upon after someone starts a review.

Sadly it seems to have had the opposite outcome which is the PR going entirely ignored from upstream devs for 2 weeks. damn.

We're volunteers and I spent over 10 hours reviewing prs on my weekend.

If you want I can stop making commits to it as well although I dont see reason for changing anything further

If you're still working on a PR please draft it so no one wastes their time looking at it until it's ready.

Well Im sure I did not recieve any mail regarding comments or reviews made in this PR before the force push, but maybe github gltiched and didn't send any. If there were any review already it would entirely defeat the point on removing it of course...
I'm satisfied with this diff and don't plan om changing anything unless someone requests for it.
Thanks for replying

Is there anything that can be done regarding this PR other than waiting?

If you're on the discord it'd be better to talk about it there.

thanks for the review, I didn't get time yet to read and respond to it
I am at the discord, I'll show up on some appropriate channel there, we can talk wherever is best

Just removed the weird negative volume test. Is there more I need to change?

There's a few things:

My main issue is that the QOL of itemstatus is gone as it stops at an arbitrary point and you have no indication of this.
As a result of the juggling being done on one solution if you have full water and the other part is non-water solutions and you mop the mop will overflow.
There doesn't seem to be a nice way around preventing overflows. Advanced mops regen water which means advanced mops will immediately overflow solutions with this PR.

about the number 1, can you please speak english? I don't speak whatever jargon that is.
what mops overflows? there are no overflows, I tested this extensively and it's running on production on a server that hits 30 users daily. I would know if it overflows.
about advanced mops I will check. But not this is only a issue cause when I wrote this code there weren't updated advanced mops yet!

Also worth mentioning the mop not filling up to 60u of water when you interacted with a bucket filled with water was already what happened prior to the puddle/mopping rewrite, except it wasn't necessary and I'm not sure it did any good. It's not really new behavior at that particular interaction.

I have verified that the advanced mop with these patches applied currently does not overflow any. It's only nerfed instead of being better after the new water regen thing, since it ends up not having any space left for puddle volume. But it still works. It seems adding a few extra availableCapacity checks paid off.

I have verified that the advanced mop with these patches applied currently does not overflow any.

Are you looking at the console? 100 water mop using up 10 water and absorbing 20 reagent is going to overflow which I also checked ingame.

Oops, it seems when I checked out a local branch for merging with master to get regen on the advanced mop, I had checked out an old local branch for the PR. I reverted the change which caused overflow now.
So this PR now won't have any overflows, but advanced mop is still weak. My intention was to change something in the advanced mop to prevent it from filling up with too much water. That would make it clean faster again. Does that work?

So this PR now won't have any overflows, but advanced mop is still weak. My intention was to change something in the advanced mop to prevent it from filling up with too much water. That would make it clean faster again. Does that work?

That's still going to overflow or nerf the advanced mop usefulness where water and non-water are both capped. Especially considering the advanced mop has the water as a buffer but now the buffer is going to be reduced (unless we make advanced mop volume larger to compensate but that just offsets the problem and makes the split bar harder to read). This also still has the other issue of not knowing where the fill capacity on a mop is as the split bar stops at an arbitrary point so you're not sure if it's full or if the container ran out.
I'd rather leave mopping as is atm and if we need any other jani changes look at space cleaner (which I think is undertuned) and bleed rates.

of course that makes no sense at all since that patch literally makes all mops 3 times more effective, so the advanced mop would literally wipe 3 times the puddle volume it did before the patch regardless of having an optimal amount of water in it or not.
anyway, I'm done trying to get that improvement in here.


Bump k8s version v1.5.5

Cherry pick of version bump from master

rktbot run tests

CI test that failed is because this is the first time we're cutting from a release branch and the CI tools need a bit of updating. Manual tests went fine (and conformance off master passed).


having hard time to connect my server node js with surreal

Hello Surreal team,
I am trying out your database but having a hard time making it work with my express server.
is there any tutorial on using your surreal with node except for the documentation?

@barel-mishal hey I'm not sure if you ended up getting help on this. Looks like the docs for a Surreal setup in a node app are here. This goes into detail on how to implement the surrealdb.js driver in a node app. Hope I could help, I ran into the same issue setting up my own express app with surreal, seems like docs are limited right now.


pip install project description not in English

Not sure whether there exists a guideline that project descriptions should be in English, or English + any other language?
The content seems to be all code-related (according to Google Translate), but majority is in Chinese.
https://pypi.org/project/sqllib/

Thanks for the issue! There's no requirement that project descriptions are in English.


running on linux

I think I tried every possible way to run this on arch linux. Can is there any way that I didn't tried if there is, can someone show me how?

did you find a method? isn't working for me

rename R3nzSkin.dll to /home/username/xxxx/xxxxx/league-of-legends/drive_c/Riot Games/League of Legends/Game/hid.dll
NixOS, Lutris , lutris-ge-lol-p8-12-x86_64
Work Well

The Taiwan server I played has been permanently blocked. 😭


adds Toggle to use Sprint name

This PR adds a toggle to Settings that will allow the user to use a slugged version of the Sprint's human readable name, instead of the id.
Note:
For my purposes, and the purposes of my team, this will elliminate significant ambiguity when searching for past sprint notes.

@mtuckerb Is there a particular reason the regex will remove the first letter of the specified sprint name? Is there a convention in Jira?


Convert link to form with button

This will definitely prevent from downloading a file when the download button is disabled and it's supported by IE 11.
Fixes #7 #4
@daveloyall, could you please check if it works in IE 11 and Edge?

encrypted.html doesn't exist. You can leave <button> without a <form>

encrypted.html will be replaced with encrypted HTML after a user clicks on the "Generate" button but I'll remove it to avoid confusion. Regarding a button itself, I'm not sure what do you mean, could you please explain?

-
Download html file with password prompt

+
<button type="button" class="btn btn-success download" disabled>Download html file with password prompt

You only need this

But actually a form won't behave the same way since download="encrypted.html" also sets the file name in supported browsers. It's easier to remove [href] entirely instead.

Well, download is HTML5 feature therefore by using it we're dropping support for older browsers.

You're not dropping support. Your form works exactly the same in IE11, but in supporting browsers it will actually download the file.

This PR doesn't actually fix #4

Ok, closing this PR since you've provided simpler fix in #11, thanks for your efforts!


Custom domain not working for me

Hello here, I've been trying to resolve this issue until 5am lol.
I've created my default docker virtual host. He is currently running because when I do docker-machine ls, I can see it running:
NAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER        ERRORS
default   *        virtualbox   Running   tcp://<IP_ADDRESS>:2376           v17.03.0-ce

I've built my workspace, nginx and php-fpm.
My default nginx conf contains:
    listen 80;
    listen [::]:80 ipv6only=on;
    server_name laravel.dev;
    root /var/www/fymh/public;

My docker-compose.yml:

I removed the extra_hosts in the docker-compose.yml on the php-fpm and workspace because I don't need it.

IP

I have my docker IP by doing docker-machine ip default resulting on <IP_ADDRESS>

I did docker-compose up -d nginx mysql redis phpmyadmin

I logged into my workspace as the root user and I updated the /etc/hosts to set <IP_ADDRESS> laravel.dev

When accessing my browser, it is not working, the domain could not respond

I tried to update the /etc/hosts by setting <IP_ADDRESS> laravel.dev and nothing new.
Accessing the docker by <IP_ADDRESS> is working
Any help would be really appreciated
Running on macOS Sierra 10.12.3
Docker version 17.03.0-ce, build 60ccb22
docker-compose version 1.11.2, build dfed245
docker-machine version 0.10.0, build 76ed2a6

I was updating the docker host file and not my mac host file.

hey @samijnih  did you find any solution for this issue. If so please do help me with this issue.  I amn't able to solve it


add a framework header file

I use in it in swift, I have to import all the files one by one into bridge header
why not add a header such as FasttCameraKit.h which imports all public header files

You only need to import FastttCamera/FastttCamera.h or FastttCamera/FastttFilterCamera.h into your bridging header, just like if you were importing them into your Objective-C class. The other files not included in those headers are internal to FastttCamera.


Upload image by URL

Is there a way to upload an image by URL instead of using file input?
Im getting our users profile image URL from Facebook and Twitter and want to upload it to our server.
Can I do this or I have to use Knox or something similar?
Example of image I want to upload to server:
https://scontent.xx.fbcdn.net/v/t1.0-1/p200x200/546300_10150715883269244_491882184_n.jpg?oh=083213e80a24e47424c739402e1e154f&oe=5836C4EC
I was thinking if I could create a File object from the URL but having problem finding any information regarding this.
Thank you.

Hmm, the package doesn't support that use case, you'll have to use something like Knox for sure :D. It shouldn't be too difficult though, it seems a lot of other packages support it.

Thanks, this is probably not the best solution but I managed to do it like this:
var http = Npm.require("http");
var filename = makeFilename();
var req = http.get("http://www.planwallpaper.com/static/images/Winter-Tiger-Wild-Cat-Images.jpg", function(resp) {
            var buffer = new Buffer("", "binary");

            resp.on('data', function(chunk) {
                buffer = Buffer.concat([buffer, chunk]);
            });

            resp.on('end', function() {
                var headers = {
                    'Content-Type': resp.headers["content-type"],
                    'Content-Length': buffer.length,
                    'x-amz-acl': 'public-read'
                };

                var req = S3.knox.putBuffer(buffer, filename, headers, function(err, res){}); //upload image, assume its ok
            });
        });


⚠ ClamAV has degraded performance

In d8fb070, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in a6a7a17 after 5 minutes.


Inputs

Inputs should be of following type

Simple Input (For email, text,number)
Input with icon which can be configured (whether to be at end or start)
Input with a dropdown (For number type inputs)

Hey @jsh854 interested to work on this issue if possible can you assign it to me ?


[DO NOT MERGE] Sensitivity labels: Disable/Enable recommended sensitivity labels

Add APIs for disabling/enabling recommended sensitivity labels.
For sensitivity labels APIs, add the option to disable/enable a recommendation on a specific column and allow querying the disabled recommendations if needed.
Additionally updated swagger to latest. that includes removing an unnecessary API and other small modifications.
Please note that these files are not included in readme.md yet.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

@praries880 Can you please take a look?

@ranisha2 - just one comment. You can make it (instead of hardcoding recommended, make it {sensitivityLabelName} or {sensitivityLabelType} and the only allowed value for this enum will be recommended.) an enum and it will make it much cleaner design and can be easily expanded in future if needed. Thanks! Signing off so you dont have to wait again after you have made this change.

@ranisha2 - just one comment. You can make it (instead of hardcoding recommended, make it {sensitivityLabelName} or {sensitivityLabelType} and the only allowed value for this enum will be recommended.) an enum and it will make it much cleaner design and can be easily expanded in future if needed. Thanks! Signing off so you dont have to wait again after you have made this change.

Thanks @ravbhatnagar! Will update.

@AutorestCI regenerate azure-sdk-for-go

Encountered an unknown error
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/bot_framework.py", line 105, in manage_comment
    response = getattr(self.handler, orderstr)(webhook_data.issue, *split_text)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/restbot.py", line 54, in regenerate
    return self.rebuild(issue, repotag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/restbot.py", line 36, in rebuild
    self.sdk_default_base
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 309, in generate_sdk_from_git_object
    sdk_repo.git.push('origin', base_branch, set_upstream=True)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
  cmdline: git push --set-upstream origin restapi_auto_sql/resource-manager
  stderr: 'To https://github.com/Azure/azure-sdk-for-go.git
 ! [remote rejected]     restapi_auto_sql/resource-manager -> restapi_auto_sql/resource-manager (cannot lock ref 'refs/heads/restapi_auto_sql/resource-manager': reference already exists)
error: failed to push some refs to<EMAIL_ADDRESS>

@ranisha2 is the PR ready to be merged now? If so kindly update the title.
BTW you need to take care of a merge conflict.

@ranisha2 is the PR ready to be merged now? If so kindly update the title.
BTW you need to take care of a merge conflict.

@praries880 Done.

@dsgouda Can you look at whats causing the .net SDK failure?

startbuild


Enforce OAuth

Hi,
I have modified all Network Functions to properly request and validate OAuth tokens from the NRF's authorization server. This will be part of a larger pull request to free5GC as there are a few repositories to which I need to make pull requests.
This pull request modifies the OpenAPI helper libraries that most NFs use. It correctly requests OAuth access tokens from the NRF and sends them along with all requests. This PR looks quite big because most files are changed, however, it is relatively easy to change the code as it's automatically generated and inserted by another program. Please let me know if you have any improvements you want me to make.
NRF Pull Request: https://github.com/free5gc/nrf/pull/8
NSSF Pull Request: https://github.com/free5gc/nssf/pull/5
When these three PR's are merged, I will create other pull requests for the rest of the Network Functions. Please let me know if you have further questions.
Thanks!

@swthorn
This PR will cause requesting OAuth access token too frequently. Once getting the access token, it can be reused for the service next time.

@tim-ywliu
Yes, I agree. This implementation has a trade-off between performance and security by adding in OAuth. For these reasons, I add a configuration option to control OAuth enforcement in each NF PR. e.g: https://github.com/free5gc/nssf/blob/b6db32363b421143bab86102a79673ae6a507b27/internal/context/context.go#L55
I agree that there should be a more sophisticated caching approach, but as an initial implementation of OAuth, let me know your thoughts on the current implementation.

Hi,
I have a couple of quick notes on the merge conflicts on this PR.
https://github.com/free5gc/openapi/blob/3ddfaafda6ab7e003c36c6a6d46b491856158e5f/oauth.go#L88 I think this is not sophisticated enough to verify scope. It may allow for subtle attacks you're not expecting. I believe my function here: https://github.com/swthorn/openapi-1/blob/f8fa664f62b7d84bd17dfe7759ae3e5ca01f9694/oauth.go#L54 does a better job at verifying scopes in the JWT.
Secondly, https://github.com/free5gc/openapi/blob/3ddfaafda6ab7e003c36c6a6d46b491856158e5f/oauth.go#L71 does not verify the algorithm in the JWT. The JWT library states this is a security flaw here Here's a writeup on how to perform an attack: https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/
Finally, I see the TLS certificates are re-generated in the code base (for each run?). Just clarifying that this is intended behavior? I don't think this is realistic in a deployed telco core.

@swthorn
Thanks for your report and we'll check the scope & JWT verification.
About certificates generation, the design is that NRF will generate root cert/key if they are not available and all NFs will generate its own cert/key if they are not available.
So, you can also pre-generate the cert/key and NRF/NF will directly use them from the path defined in config.
PS: root cert & NF's certs should be put in the same folder. Keys can be put in different path which only NF can access by itself.

Any updates on the status of this PR?

Sorry, currently we are busy new releasing, so it will be pending util the new release done.

Hi,
I noticed you guys merged PRs in other NFs but have not updated this yet. I'm sure you know that you will need to update this repo too. Please let me know how I can assist in this process.
Specifically, now that the underlying OAuth method in the NFs has changed significantly since when I made initial PRs (I haven't reviewed the changes you decided to make), how do you want me to adapt the automated instrumentation of the APIs in this repository? It is trivial for me, and a lot of work for you to do manually.
Thanks!

@swthorn
We use https://github.com/free5gc/openapi/pull/19 instead and will close this PR, thanks.


Bump term

An attempt to bump term dependency to v0.6 from v0.5.
It would be nice if we could have @Skynoodle test it.
cc #1788

Unfortunately, this brings back the garbled progress indicators on CMD and Powershell :(

Thanks @Skynoodle . I guess I would close this PR then.


(PDB-1102) Upgrade to activemq 5.10.1

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/479/

@pljenkinsro retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/486/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/498/

@pljenkinsro retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/503/

@senior ran in to intermittent failures, which I can corroborate.  Running "lein test" failed one time out of 18 here, and then when I let it go further, 6 times out of 28.  At least one of the failures looked like this:
Caused by: clojure.lang.ExceptionInfo: throw+: "Results not found after 100 iterations, giving up"
 at puppetlabs.puppetdb.cli.import_export_roundtrip_test$block_until_results_fn.invoke (import_export_roundtrip_test.clj:49)
    puppetlabs.puppetdb.cli.import_export_roundtrip_test$block_on_node$fn__25178.invoke (import_export_roundtrip_test.clj:76)
    clojure.core$binding_conveyor_fn$fn__4145.invoke (core.clj:1910)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:262)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    java.lang.Thread.run (Thread.java:745)

@rbw @senior out of curiosity, have we tried an older version of amq, to see if this issue can be bisected to a particular new revision by any chance?

Or a newer version: http://activemq.apache.org/activemq-5110-release.html

Closing this for now, since we're punting this out: https://tickets.puppetlabs.com/browse/PDB-1102


examples/workflow_by_code.ipynd: fix an error in R.get_recorder() par…

…ameters
get_recorder() needs specify 'recorder_id='. However workflow_by_code.ipynd
didn't. This patch fixes it.
Without this fix, here is the error message jupyter-notebook reports:
"---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
 in
26 # backtest and analysis
27 with R.start(experiment_name="backtest_analysis"):
---> 28 recorder = R.get_recorder(rid, experiment_name="train_model")
29 model = recorder.load_object("trained_model")
30
TypeError: get_recorder() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given"
Signed-off-by: Guodong Xu<EMAIL_ADDRESS>
Description

Motivation and Context

How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[x] Fix bugs
[ ] Add new feature
[ ] Update documentation

@docularxu  Hi, thanks so much! It's great!


[Bug]: CUDA Graph Capture Error with Llama-3.2-11B-Vision-Instruct-bnb-4bit on RTX 4090

Your current environment

The output of `python collect_env.py`
Collecting environment information...
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 24.04 LTS (x86_64)
GCC version: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.39

Python version: 3.12.8 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:31:09) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.8.0-36-generic-x86_64-with-glibc2.39
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version: 565.77
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               72
On-line CPU(s) list:                  0-71
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz
CPU family:                           6
Model:                                79
Thread(s) per core:                   2
Core(s) per socket:                   18
Socket(s):                            2
Stepping:                             1
CPU(s) scaling MHz:                   44%
CPU max MHz:                          3600.0000
CPU min MHz:                          1200.0000
BogoMIPS:                             4600.16
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts vnmi md_clear flush_l1d
Virtualization:                       VT-x
L1d cache:                            1.1 MiB (36 instances)
L1i cache:                            1.1 MiB (36 instances)
L2 cache:                             9 MiB (36 instances)
L3 cache:                             90 MiB (2 instances)
NUMA node(s):                         2
NUMA node0 CPU(s):                    0-17,36-53
NUMA node1 CPU(s):                    18-35,54-71
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          KVM: Mitigation: VMX disabled
Vulnerability L1tf:                   Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; Clear CPU buffers; SMT vulnerable

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.2.0
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[pip3] transformers==4.47.1
[pip3] triton==3.1.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.4.127                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.4.127                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-ml-py              12.560.30                pypi_0    pypi
[conda] nvidia-nccl-cu12          2.21.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.4.127                 pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.4.127                 pypi_0    pypi
[conda] pyzmq                     26.2.0                   pypi_0    pypi
[conda] torch                     2.5.1                    pypi_0    pypi
[conda] torchvision               0.20.1                   pypi_0    pypi
[conda] transformers              4.47.1                   pypi_0    pypi
[conda] triton                    3.1.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.6.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      18-35,54-71     1               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

LD_LIBRARY_PATH=/home/administrator/vlm/.venv/lib/python3.12/site-packages/cv2/../../lib64:
CUDA_MODULE_LOADING=LAZY

Model Input Dumps
No response
🐛 Describe the bug
Environment:

GPU: RTX 4090 (24GB VRAM)
Model: unsloth/Llama-3.2-11B-Vision-Instruct-bnb-4bit
vLLM command:

vllm serve unsloth/Llama-3.2-11B-Vision-Instruct-bnb-4bit \
  --quantization="bitsandbytes" \
  --load-format="bitsandbytes" \
  --dtype=bfloat16 \
  --trust_remote_code \
  --gpu-memory-utilization=0.98 \
  --max-model-len=9600 \
  --max-num-seqs 4

Error Description:
The model fails during CUDA graph capture with the error: "CUDA error: operation failed due to a previous error during capture". Memory profile shows:

Total GPU Memory: 23.54GB
Model Weights: 6.72GB
PyTorch Activation Peak: 1.92GB
Non-Torch Memory: 0.11GB
KV Cache Reserved: 14.32GB

Stack Trace:
The error occurs in mllama.py during the forward pass:
skip_cross_attention = max(attn_metadata.encoder_seq_lens) == 0

This operation is not permitted during stream capture.
Additional Context:
The error persists even with 4-bit quantization enabled. The model initialization completes successfully, but fails during the CUDA graph capture phase.
Question:
Is there a workaround to run this vision model with vLLM on a single RTX 4090? I've tried adjusting memory utilization and sequence parameters without success.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

 I will try it!


Multiple translations require nested calls

I'm submitting a ...
[ ] bug report
[X] support request
[ ] feature request

Current behavior
this.translate.get('DATA.X').subscribe(t1 => {
    this.translate.get('DATA.Y').subscribe(t2 => {
      // here I can use both translations: t1 and t2
    })
});

Expected/desired behavior
Several nested blocks often lead to unreadable code.
Is there any other way to perform multiple translations without using nested subscribe calls?
Please tell us about your environment:

ngx-translate version: 8.0.0
Angular version: 4.4.6

You can pass an array of strings instead of a single key


Add TransactionLayer.mkDelegationCertTx

Issue Number
#893
Overview

[x] Extended TransactionLayer with mkDelegationCertTx
[x] Added two golden tests (replacing a temporary one committed by @KtorZ)
[x] I've made sure the jcli instructions are correct
[x] Added chimericAccountFromXPub helper

Comments

Related to PRs #1001 and #947 which both have review comments that are relevant here
ℹ There is a commit history

@paweljakubas if you have use for just trying this out, I think this should be working now.
I will wrap up #1021 first and then this though.

reviewing :eyes:

Also, I'd suggest reviewing the git history / squashing some commits.
Let's try to keep the git history somewhat meaningful and descriptive :pray:

bors r+


Enable WriteCore feature for deviceupdate

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DeviceUpdate


Logical & TruncConv Ops + Tests

This PR includes

logical operations + tests
truncation & conversion operations for 32x4 types + tests

@Cellule @MikeHolman I'll ping you guys later about this PR when all the tests pass
fyi @arunetm

Please test Ubuntu shared_ubuntu_linux_debug

@Cellule Could you please take a look when you have a moment?

I think nonstandard true values will be broken. Currently, if a lane is non-zero it is considered true. Lowering code uses PMOVMSKB, which only looks at the most significant bit of each byte.
https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#boolean-horizontal-reductions

@MikeHolman absolutely! will fix!

@chakrabot Please test Windows ci_slow_x64_debug

Hey Nick, Can we do an internal code review when you add the 64bit types?
From: Nick Korovaiko
Sent: Friday, July 7, 2017 2:29 PM
To: Microsoft/ChakraCore
Cc: Arun Purushan; Mention
Subject: Re: [Microsoft/ChakraCore] Logical & TruncConv Ops + Tests (#3288)
@chakrabot Please test Windows ci_slow_x64_debug
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@arunetm okay

@MikeHolman Looks like we should be able to handle non-canonical boolean values now.

@MikeHolman @Cellule Hey guys! Could  you please take another look? I'd like to push this one and 2 more then I'll rebase wasm.simd as @Cellule suggested.

Reviewed 9 of 11 files at r1, 8 of 8 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

lib/Backend/LowerMDShared.h, line 374 at r2 (raw file):

    IR::Instr*          Simd128LowerAnyTrue(IR::Instr* instr);
    IR::Instr*          Simd128LowerAllTrue(IR::Instr* instr);
#ifdef ENABLE_WASM

Could we start using a different #define for wasm.simd ? Just so we can more easily organize what's what.
Something like ENABLE_WASM_SIMD. I thin that will also help the transition to remove simd.js and keep what we need for wasm.

lib/Backend/LowerMDSharedSimd128.cpp, line 2273 at r2 (raw file):

    if (m_func->GetJITFunctionBody()->IsWasmFunction())
    {
        Js::OpCode spreadOpCode = Js::OpCode::InvalidOpCode;

nit: could we name this cmpOpcode to match how we use it

lib/Runtime/Language/SimdBool32x4Operation.cpp, line 45 at r2 (raw file):

    }

    template bool SIMDBool32x4Operation::OpAllTrue<int>(const SIMDValue& val);

nit: I would prefer use int32, int16, int8 instead of int, short, char

lib/Runtime/Language/SimdUtils.h, line 335 at r2 (raw file):

        {
#ifdef ENABLE_WASM
            T* cursor = (T*)val.i8;

I would add some CompileAssert here
            CompileAssert(sizeof(T) <= sizeof(SIMDValue));
            CompileAssert(sizeof(SIMDValue) % sizeof(T) == 0);
            T* cursor = (T*)val.i8;
            uint size = sizeof(SIMDValue) / sizeof(T);

Comments from Reviewable

Reviewed 6 of 6 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

@Cellule Could you please approve this PR if it looks good now?
fyi : @arunetm

@arunetm Could you please merge this PR?

@Cellule ,  Thanks a lot for your help!


Fixed color pointer decoding.

The AND mask was wrongly applied for color pointer updates, inverting white pointers and making black ones invisible.

@akallabeth I'm not convinced that this is really the proper fix for that.

@akallabeth I'm not convinced either. Was this tested against e.g. Windows 7 with different mouse pointer themes? Also this should be tested against Windows XP with different pointer themes.

Also check https://msdn.microsoft.com/en-us/library/windows/hardware/ff556138(v=vs.85).aspx

@bmiklautz @nfedera Ok, I think I got the right solution now. Had a server and client bug. Server did send an invalid mask (all fields 0xFF) and client decoding routine expected the mask field to always be available.

@akallabeth make sense.

+1

+1

With my little knowledge of the subject I'd tend to +1. Anyway I'd really like to have @nfedera's opinion on this (our mouse pointer specialist !) before merging.

+1 LGTM


Holograms not showing up

After reloading the server the holograms I made don't show up.

#4e001c5


remove out-of-date volume viewer link

We don't use volume viewer any more, I removed the product page yesterday so the links are dead now and need removing.

Build is green again - https://ci.openmicroscopy.org/view/Docs/job/OMERO-5.1-merge-docs/504/
Staged at https://www.openmicroscopy.org/site/support/omero5.1-staging/sysadmins/unix/server-installation.html

Good to merge.


KAFKA-16051: Fixed deadlock in StandaloneHerder

Description of the change
Changed StandaloneHerder to always synchronize on itself before invoking any methods on MemoryConfigBackingStore. This helped the situation as the order of acquiring locks is always the same. First on the herder and then on the config backing store.
Testing strategy
Manually tested StandaloneHerder from Kafka 2.6.3 and Kafka 3.6.1 and both have the same issue. 9 times out of 10 startup ends in deadlock. Tested after fixing (3.8.0-SNAPSHOT) and the deadlock is not happening anymore.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Sure @vamossagar12 , just tested both unpatched 3.6.1 and patched 3.8.0. Unpatched version reached deadlock in 40% of the cases (6 out of 15) at the same time I was unable to reproduce deadlock in the patched version (0 out of 20).

@gharris1727 , sure. I wrote the test but just invoking methods in order is not enough to trigger the deadlock. The requestTaskReconfiguration method is always executed before putConnectorConfig.
I believe it is possible to reliably reproduce the deadlock with two countdown latches, one countdown in the ConfigBackingStore#snapshot and another in ConfigBackingStore#putTaskConfigs. This requires a mock for the config backing store. If you have a better idea I am happy to analyze it.
Unrelated to this PR's issue, it may be that the wait operations in StandaloneHerderTest are by mistake 1000 seconds instead of milliseconds. Isn't it?

just invoking methods in order is not enough to trigger the deadlock. I believe it is possible to reliably reproduce the deadlock with two countdown latches, one countdown in the ConfigBackingStore#snapshot and another in ConfigBackingStore#putTaskConfigs. This requires a mock for the config backing store. If you have a better idea I am happy to analyze it.

Yeah I understand. I think the cost of deterministically reproducing the deadlock is too high. I did it in #8259 because I didn't know what synchronization was missing and needed a repro case to debug.
I would be satisfied with a test which non-deterministically reproduces the deadlock but is less brittle and includes less mocks. Currently we only have two connectors calling task reconfiguration (mirror checkpoint and source) and one test in the DistributedHerder. There is zero coverage in StandaloneHerder, which is part of why we never found this bug :)

Unrelated to this PR's issue, it may be that the wait operations in StandaloneHerderTest are by mistake 1000 seconds instead of milliseconds. Isn't it?

Yeah that timeout seems a bit absurd, but if there aren't deadlocks in the test it should never incur that timeout. It looks like the test suite is very well behaved in practice, so I'm inclined to keep it as-is: https://ge.apache.org/scans/tests?search.names=Git branch&search.relativeStartTime=P90D&search.rootProjectNames=kafka&search.timeZoneId=America%2FLos_Angeles&search.values=trunk&tests.container=*StandaloneHerderTest&tests.sortField=FLAKY

@gharris1727 , I've added the test. It first starts the connector, then updates both the connector and task at the same time. The reason for this is that task reconfiguration will skip if the connector is not yet started. Hope it looks right.

I've changed the mocks a bit to accommodate both cases, depending on who executes first: putConnectorConfig or requestTaskReconfiguration. The sleep(10) is the right amount to wait on my machine to reproduce the deadlock consistently. It should be probably fine for this test, if not, I can remove it.

Test failures appear unrelated, and the tests pass locally for me.


Added option to install to machine instead of user

Thanks a bunch for this PR! I've been wanting to make boxstarter machine local for a while.

Hi.
I made installing to machine the only option and changed the path to ProgramData\Boxstarter and also changed the link paths to CommonDesktopDirectory and CommonStartMenu.
I commented out the part where one byte of the link is changed for another byte because the links weren' t working at first and I couldn't figure out why that byte is changed.

Sorry for letting this go so long!


Richa b23 patch 1 1

@chrisda We have released AST in Poland as well. The same has been updated in the documentation. Please review and approve. Thanks!

@richa-b23, if possible, close this PR. A recent GitHub issue is causing massive unrelated updates (notice the 2629 changed files?).
I recreated your PR here:
https://github.com/MicrosoftDocs/microsoft-365-docs/pull/12680


[qtbase] Add securetransport feature to build with SSL support on iOS

This PR adds a secure transport feature to qtbase. The feature is needed when building on iOS to allow for SSL networking.

should the default-features be modified, so that securetransport is enabled for ios and openssl is disabled for ios?

@m-kuhn , your comment has been addressed.

For the record, SecureTransport is considered legacy already and a new Network framework is inbound
(as of Qt 6.7) https://bugreports.qt.io/browse/QTBUG-119171

@nirvn
Are you willing to apply the suggestions from dg0yt and m-kuhn?

@LilyWangLL , yes, it will be done within the next 24 hours

@LilyWangLL , done.

@nirvn Could you please resolve the conflicts?

@Cheney-W , @LilyWangLL , PR rebased once again to take care of the new conflict that arose.


Improve stability of num_workers config test

The test_num_workers_config test I recently added in #4086 is sporadically failing (see https://travis-ci.org/dask/dask/builds/440778898?utm_source=github_status&utm_medium=notification for example). This PR is to improve the stability of the test.

Thanks for taking care of this @jrbourbeau !


Since ios 15 reload from event handler leads to immense flickering!

I reload items from a simple function.
If I call the reload function statically,
EG:
   LoadMoreAds(4);
   LoadMoreAds(8);
   LoadMoreAds(12);
   LoadMoreAds(16);

Everything works fine.
But If I put this inside the event handler for item appearing to make it dinamically reload:
 private void listview_allAds_FlowItemAppearing(object sender, ItemVisibilityEventArgs e)
        {
              TinyAd current = e.Item as TinyAd;

              if (current == contentOfListView[contentOfListView.Count-1])
              {
                LoadMoreAds();
              }

}

The items that are already inside the observable collection flicker badly for a few frames until the reload is done. then they are fine until the next reload happens.
THis is my list:
  <flv:FlowListView
                    Grid.Row="1"
                    BackgroundColor="Transparent"
                    Scrolled="listview_allAds_Scrolled"
                    VerticalOptions="Fill"
                    FlowItemAppearing="listview_allAds_FlowItemAppearing"
                    Refreshing="listview_allAds_Refreshing"
                    FlowColumnCount="1"
                    IsPullToRefreshEnabled="True"
                    Margin="5,0,5,0"
                    VerticalScrollBarVisibility="Never"
                    HasUnevenRows="True"
                    x:Name="listview_allAds" />

Has anyone experienced a similiar issue?

I have the same issue, have you solved it

No, i switched to different components... :(


Add - 'Guess the number' project

Simple but fun game in which we involve the three main web development
technologies: HTML, CSS and JavaScript.

Please go through the project's readme and make the required changes.
Thank You.


fix: refactor CLI options (WIP)

Description

[ ] closes #26

WIP — I think my GitHub rate is cached for the moment

I know this is not totally done, @chazkiker2, but I kind of want these changes so I'm going to land it anyway. :)


Add support for PowerShell build step in response to JENKINS-27820

Implementation for Jenkins-27820

Thanks for your contribution!


[Bug] world file is generated after world is unloaded/removed

[x] I have checked that I am on the latest version of Terra.
[x] I have searched the github issue tracker for similar issues, including
closed ones.
[x] I have made sure that this is not a bug with another mod or plugin, and it
is Terra that is causing the issue.
[x] I have checked that this is an issue with Terra and not an issue with the
pack I am using.
[x] I have attached a copy of the latest.log file
[x] I have filled out and provided all the appropriate information.

Issue Description
Terra creates world files on server shutdown, even if those worlds have been deleted.
Steps to reproduce

Clone the latest version of this repository, a repository I created with a fresh server install that contains the bug.
Have docker installed
Create file named .env in the same directory as the docker-compose.yml file
Place the following text into the .env file
RCON_PASSWORD=[any password you want to use]
Run docker-compose up -d
Wait until server is Done (14.195s)! For help, type "help"
Run docker exec -i terra-test rcon-cli
Enter the following commands into the console:
(This creates the world for testing)
mv create testworld NORMAL -g Terra:MOON_BASIC
(This deletes the world - there will be no world files after this step)
mv delete testworld
(Confirms deletion)
mv confirm
(Stops the server - there will be world files after this step)
stop
Check minecraft-data folder

Expected behavior
If a world has been deleted or unloaded from bukkit, terra should not create further world files.
Actual behavior
After a world has been deleted or unloaded from bukkit, terra creates an additional file. The file created has the following path:
[WorldName]/gaea/chunks.bin
Full stacktrace
No stacktrace is created, there are thread dumps during world creation, but I think this is due to server not responding during world creation.
Additional details
I am using multiverse-core to test this, because I am pretty sure bukkit does not have a built in command to delete world files. I do not think multiverse-core is the issue here, because multiverse-core is able to delete the files. Terra seems to add a file after the world is deleted, before server shutdown
latest.log
.

I should note that manually unloading the world with mv unload testworld before issuing the mv delete testworld command still causes a file to be created after server shutdown.

What are all those errors in the console?
Also, afaik Terra doesn't create any files in a directory called gaea. I just ran a grep, and can't find a single reference to it anywhere in the code.

There are no errors logged to the console during this process. I just tried removing Terra from the installation to see if the bug persisted and it did not, which means that the issue is likely with Terra. Gaea is the name of a library that Terra used to use. It may be relevant that I am running the latest version of the plugin from the spigotmc site, on a 1.17.1 server.

However, we no longer use gaea. No reference to it exists anywhere in the codebase.

        File f = new File(((BukkitWorld) w).getWorldFolder(), "gaea");
        f.mkdirs();
        return f;
    }

    @SuppressWarnings("unchecked")
    public synchronized void saveBlocks(World w) throws IOException {
        File f = new File(getDataFolder(w), "chunks.bin");
        f.createNewFile();
        SerializationUtil.toFile((HashSet<ChunkCoordinate>) needsPop.clone(), f);
    }

    @SuppressWarnings("unchecked")
    public synchronized void loadBlocks(World w) throws IOException, ClassNotFoundException {
        File f = new File(getDataFolder(w), "chunks.bin");
        needsPop.addAll((HashSet<ChunkCoordinate>) SerializationUtil.fromFile(f));
    }'```

Sorry if this isn't formatted correctly, im currently on my phone. This code seems like it might cause the issue, it's in the latest release, and presumably in the version that is hosted on spigot, but it looks like it isn't in the current 6.0.0 branch on Github. The issue was probably using the latest release instead of the latest version in the repository.

@JasperJRoth which file is this in? Github search cannot find this anywhere.

I found that code in the latest tagged release, as well as similar code in the spigotmc release. I could not find it in the latest repo version.
the path is: platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/PopulationManager.java
I tired to make sure that its fixed in the latest repo version, but I had trouble getting it to work.

I hopped on over to the 6.0.0 beta and everything is working fine, thanks for the help!


Mac download is broken

Works before uploading, but not when downloaded from github. Error says it is damaged and can’t be opened.

If you get this error you can resolve it with the following steps.
Open a terminal and go to your downloads folder
xattr Permastead.App
If it shows the following: com.apple.quarantine
try this:
xattr -d com.apple.quarantine Permastead.app
Now try opening the app.


KEP: Work Placement

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>
Initial submission for Work placement enhancement

Should we need different configuration across clusters? For example, we want to distribute some objects like ResourceQuota/LimitRanger to multiple clusters，but the object value is different in different clusters.

That could definitely be a spike after the initial merge.  The API is done I will submit the PR this week. I hopefully will also port the controller to the ManifestWork repo (currently in its own) this week as well to get some feedback.

/assign @qiujian16

/lgtm


fixed issue#1025 wherein GlobeAwareDefaultPawn causes stall when flyToGranularityDegrees is 0

[x] fixes #1025
[x] added early return when flyToGranularityDegrees is 0
[x] added an error log for when flyToGranularityDegrees is 0

Thank you so much for the pull request @shourya5! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!
Maintainers, here's how to check for a submitted CLA.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

I have signed the Contributor License Agreement (CLA)

Thanks for the PR @shourya5. Did you test out the change, though? I see a typo that should prevent it from even compiling.

I'm going to close this PR due to inactivity, but feel free to reopen @shourya5 if you make changes!


Prisma client cannot find datamodel path ("schema.prisma")

Bug description
In a monorepo environment, Prisma generates into the prisma folder at service root, but when the PrismaClient instance is created, it tries to read the schema file in random subdirectories.
That happened after upgrading Prisma to 3.x.
How to reproduce
Here is a repo with an example of project configuration:
https://github.com/0x77dev/prisma-datamodel-path
To reproduce:
yarn install
yarn reproduce

Expected behavior
Schema to be accessed at join(process.cwd(), 'prisma', 'schema.prisma').
Prisma information
Schema:
generator client {
  provider = "prisma-client-js"
  output   = "."
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id String @id @default(uuid()) @db.Uuid
}

PrismaClient
export const get = async (): Promise<PrismaClient> => {
    const { dbURL } = init()

    const { PrismaClient } = await import(join(process.cwd(), 'prisma'))

    const prisma = new PrismaClient({
      datasources: { db: { url: dbURL } },
      log:
        process.env.NODE_ENV === 'production' ? [] : ['query', 'info', 'warn'],
      rejectOnNotFound,
    })

    await prisma.$connect()

    return prisma
}

Environment & setup

OS: Ubuntu (docker image ubuntu:latest) (Linux aef42a236834 5.10.47-linuxkit #1 SMP Sat Jul 3 21:51:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) or macOS Monterey v12.0.1 (Darwin 3c7d0a05571a.lan 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64)
Database: PostgreSQL 12
Node.js version: v16.13.0

Prisma Version
prisma                  : 3.5.0
@prisma/client          : 3.5.0
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 78a5df6def6943431f4c022e1428dbc3e833cf8e (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 78a5df6def6943431f4c022e1428dbc3e833cf8e (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 78a5df6def6943431f4c022e1428dbc3e833cf8e (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 78a5df6def6943431f4c022e1428dbc3e833cf8e (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 78a5df6def6943431f4c022e1428dbc3e833cf8e
Studio                  : 0.439.0

Maybe there is a way to specify datamodelPath for the engine 🤔
but the Prisma client threw an error with an invalid config for the datamodelPath key.

If im not wrong you can add the schema.prisma url to your packaje.json, as "prisma": {"schema": "your/parth/schema.prisma"}, hope that works for you.

@carlo23666 Has no effect

@carlo23666 Has no effect

In generated output runtime/index.js
getPrismaClient function, argument config2
contains:
{
  generator: {
    name: 'client',
    provider: { fromEnvVar: null, value: 'prisma-client-js' },
    output: {
      value: '/Users/.../prisma-reproduce/packages/sample-service/prisma',
      fromEnvVar: null
    },
    config: { engineType: 'library' },
    binaryTargets: [],
    previewFeatures: [],
    isCustomOutput: true
  },
  relativeEnvPaths: { rootEnvPath: null },
  relativePath: '',
  clientVersion: '3.5.0',
  engineVersion: '78a5df6def6943431f4c022e1428dbc3e833cf8e',
  datasourceNames: [ 'db' ],
  activeProvider: 'postgresql',
  document: {
    datamodel: { enums: [], models: [Array] },
    schema: {
      inputObjectTypes: [Object],
      outputObjectTypes: [Object],
      enumTypes: [Object]
    },
    mappings: { modelOperations: [Array], otherOperations: [Object] }
  },
  dirname: '/Users/.../prisma-reproduce/packages/sample-service/node_modules'
}

but process.cwd() is /Users/.../prisma-reproduce/packages/sample-service
Is config2.dirname correct 🤔 , and is it possible to override it?

Workaround:
generator client {
  provider = "prisma-client-js"
-   output   = "."
+   output   = "client"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id String @id @default(uuid()) @db.Uuid
}

Your config2.dirname is pointing to node_modules client, and on your schema.prisma you are creating the client on the same dir than the schema is, comment the output line for prisma to create client on node_modules

It is not possible in our case, we don't want to generate prisma in node modules

We're experiencing the same problem. I've tried bumping prisma versions one by one and tracked it down to upgrade from 3.0.2 to 3.1.1. Looked at the diff between the tags, but didn't find a change that looks suspicious.
We generate prisma client as a separate package to be used in different apps.
i.e there's a prisma-client package in the monorepo that looks like this:
//prisma.schema
generator client {
  provider = "prisma-client-js"
  output   = "./dist"
}
// rest

//package.json
{
    "name": "prisma-client",
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "scripts": {
        "build": "prisma generate",
    },
    "devDependencies": {
        "prisma": "3.0.2"
    },
    "dependencies": {
        "@prisma/client": "3.0.2"
    }
}

I can reproduce this. I will mark it as a bug for now.

I try to fix it with PR #11829.

Fixed via https://github.com/prisma/prisma/pull/12427

Hello guys, can't figure it out if it's the same issue or not.
I tried creating a client in a custom path with the @prisma/client@dev but when loading the created client it throws
ENOENT: no such file or directory, open 'D:\development\<project-workspace>\node_modules\.prisma\client\schema.prisma'.
this is the schema used to generate the client

generator client {
  provider        = "prisma-client-js"
  output          = "./client"
  previewFeatures = ["interactiveTransactions"]
  binaryTargets = ["linux-musl", "darwin", "windows"]
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

I use this to generate a npm private library because I need multiple prisma clients with different schemas, so I import each of them from one library:

const client1 = await import('@myorg/prisma1').PrismaClient
const client2 = await import('@myorg/prisma2').PrismaClient

const prismaClient1 = new client({ datasources: { db: { url: this.prepareUrl(factoryOptions) } } })

But upon instantiating any one of them it produces that ENOENT error.
I'm sorry if this is not related, but anyone could give me a hand?

Hi @TheVoid-0 !
Could you create a new issue? The template will help fill out what we need to attempt a reproduction.

We're experiencing the same problem. I've tried bumping prisma versions one by one and tracked it down to upgrade from 3.0.2 to 3.1.1. Looked at the diff between the tags, but didn't find a change that looks suspicious.
We generate prisma client as a separate package to be used in different apps. i.e there's a prisma-client package in the monorepo that looks like...

I have this exact same setup and I'm still getting this issue on @prisma/client@dev.
Wherever I import prisma it looks in that directory for the schema.prisma file.

Hi @nvsd
Could you create a new issue? The template will help fill out what we need to attempt a reproduction.
It would be helpful because it's very hard in an old and long issue to say what this exact same setup means. And you might have slightly different things, like a different version.

Workaround: Use a tool such as https://www.npmjs.com/package/copyfiles to manually copy schema.prisma over from src/ to dist/ folder as part of the build step in package.json:
    "build": "yarn prisma:generate && yarn tsc && yarn prisma:copy",
    "prisma:copy": "copyfiles -u 2 src/prisma/schema.prisma dist/prisma/generated/client/",


Fix: remove warning message on cluster UUID retrieval failure with AOSS.

Description
AOSS does not support GET, don't attempt to retrieve cluster UUID
Issues Resolved
Closes https://github.com/opensearch-project/logstash-output-opensearch/issues/186
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has documentation added

[x] Commits are signed as per the DCO using --signoff

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

@dlvenable care to CR?

@dlvenable @oeyh can you please merge?


⚠ Samsung has degraded performance

In 0d6a508, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2603 ms

Resolved: Samsung performance has improved in 520b5b0.


hello, lukas, i have developed  new feature for downloading video, i hope this feature could merge to your branch .

hello, lukas, i have developed  new feature for downloading video, i hope this feature could merge to your branch .
Looking forward to your reply。
Yours Sincerelly!

added


Where should TLVs be defined?

Some TLVs are defined in the Messaging doc while others are defined in place with their concepts (such as rounding_intervals).
A PR should be opened to make things uniform or implement some sort of rule.
A rule should be created and discussed on this issue.

Imo, it makes sense to put them all in Messaging


updated to the newest material-ui v4.12

Resolves #85

Fixed the tool to account for the new bugs in the docs
Ran the generator over the newer docs
Updated the urls to account for the legacy status
Made some small adjustments to get the Generator work on non-Windows

Unfortunately @Shmew hasn't been active on here or Twitter since very early July 2021. It's possible something has happened to him :-/

Is there any way to use this updated version in a project that uses paket and yarn?

Maybe we should fork it to Feliz.MUI and work on bindings for V5?

@Linschlager: Thoughts here?
I'd love @marcpiechura's suggestion, but at this point even just figuring out how to get this into a dependent project's package managers would unblock me :)

@Linschlager you could build the project locally and reference the dll directly, instead of the nuget package and then update the npm package separately.

@Linschlager did you update the baseUrl? Because I think https://material-ui.com will now point to the api docs for v5. The legacy version 4 is still available at: https://v4.mui.com/.

@Linschlager did you update the baseUrl? Because I think https://material-ui.com will now point to the api docs for v5. The legacy version 4 is still available at: https://v4.mui.com/.

Yes, I did. (HtmlCache.fs in a few places) - Although I may have missed some occurrences

Maybe we should fork it to Feliz.MUI and work on bindings for V5?

I think this would be the only sustainable option for moving forward.
The transition to v5 should be relatively straightforward as they kept most of the structure in their docs (apart from the styling, but that's irrelevant for the transformer). When I find some time in the next week, I'll try to get a POC going on my fork

@Linschlager I think if you change this, all references will be correct:

let refresh =
  async {
    let baseUrl = "https://v4.mui.com" //"https://material-ui.com"

...

This is in the HtmlCache.fs.

@Linschlager I think if you change this, all references will be correct:

let refresh =
  async {
    let baseUrl = "https://v4.mui.com" //"https://material-ui.com"

...

This is in the HtmlCache.fs.

Not fully. Common.fs also needs to fix the relative links so the crawler can fetch the files correctly

Any plans to continue this? I'd be using v5 now if this were available!
I'd help out, though I know less than nothing about modern JS frameworks, I'm a backend/embedded guy, the last time I got paid to make a GUI for a webpage was 20 years ago.

Any plans to continue this? I'd be using v5 now if this were available!
I'd help out, though I know less than nothing about modern JS frameworks, I'm a backend/embedded guy, the last time I got paid to make a GUI for a webpage was 20 years ago.

@JustinWick I have a WIP Mui5 version on my branch, though it will probably take a while for me to finalize fixing all the edge cases.
Not sure it makes sense to publish this updated package if the end-goal is to upgrade to Mui5 anyway and a lot of things are going to change

Closing this in favor of the MuiV5 "PR"


onchange event not activated in select step

Hi,
I have a select dropdown with an onchange event:
onchange="javascript:hideAndShowHistory();"
When I use the select step in TagUI, the select dropdown box will be selected but the onchange event will not be triggered.
Currently I have to use "live" step to pause the TagUI flow, and manually type hideAndShowHistory() in the chrome inspector console for the onchange event to take effect. Any workarounds to prevent having this extra pause?
Thanks and regards,
Yang Liu

Hi Ken,
I just anyhow tried adding the below step after the usual select step:
dom hideAndShowHistory()
and it worked!
I am closing this issue. Thanks!
Best regards,
Yang Liu

Hi Yang Liu, that's a nice question and solution - thanks for sharing! :smile:
Yeah, it looks like there is some special event handling for the dropdown box, and when you use js step to trigger the function handling that event it works the way you expect. Copying @Aussiroth too.

dom document.querySelector("#bankNiftySelect > optgroup:nth-child(1) > option:nth-child(2)").setAttribute('selected', true)
dom hideAndShowHistory()
Is this way ?

Hi @Tejaswini-Appollo are you able to share the website that you are automating on? The suggested solution above is used with select step for dropdown.
https://tagui.readthedocs.io/en/latest/reference.html?#select
You may want to try using click step for automating dropdown too.


Fixing package.d

Very trivial change - moving package back to source/dcv directory.
Merging right away, as it is such a trivial thing - in case I have more PRs so trivial as this one, I'll merge automatically, just create PR to make note of it happening (not directly pushing to master of course).

Relja, If you confirm that this modification does not break separate dependencies and imports (cannot try it at the moment), please go for it. As I mentioned before, I just followed dplug project structure without heavily considering on it. It is better for this file to be located in the source folder.

You should always be able to add a particular module to your project - e.g. dcv:core, dcv:imageio etc.. the root package.d is just here to enable you to do the opposite - include all of the library at once.
Anyhow, I am merging instantly to be fast and do as much as possible, and also since there's nothing to break - all is broken already :) If there's anything out of place that you spot, please highlight it, and if you're willing (if its something trivial), go ahead and submit a fix PR.

👍.


Support Request: Unable to install switchbot plugin on hoobs

Describe Your Problem
I was having issues with the switchbot plugin after doing firmware updates to my switchbot devices (no idea if that's why it stopped working). I decided to uninstall the plugin and re-install to see if that would fix the issue but now I'm unable to install the plugin at all.
Relevant log output
01/12/2022, 11:57:07WARNINGplugin site unavailable
01/12/2022, 11:57:07yarn add v1.22.19
01/12/2022, 11:57:07info No lockfile found.
01/12/2022, 11:57:08[1/4] Resolving packages...
01/12/2022, 11:57:08error An unexpected error occurred: "https://registry.yarnpkg.com/@switchbot%2fhomebridge-switchbot: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
01/12/2022, 11:57:08info If you think this is a bug, please open a bug report with the information provided in "/var/lib/hoobs/switchbotbridge/yarn-error.log".
01/12/2022, 11:57:08info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

----------------------------------------

Arguments:
  /usr/bin/node /usr/lib/hoobsd/node_modules/yarn/bin/yarn.js add --unsafe-perm --ignore-engines @switchbot/homebridge-switchbot@latest

PATH:
  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Yarn version:
  1.22.19

Node version:
  16.18.1

Platform:
  linux arm

Trace:
  Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)

npm manifest:
  No manifest

yarn manifest:
  No manifest

Lockfile:
  No lockfile

Config for homebridge-switchbot
{
    "name": "plugins",
    "description": "HOOBS Plugins",
    "private": true,
    "dependencies": {
        "hap-nodejs": "^0.10.4"
    }
}

Screenshots

Device & Model
Rasperry pi 4
Node.js Version
16.18.1
NPM Version
8.19.2
Homebridge Version
1.5.0
Homebridge SwitchBot Plugin Version
not installed
Homebridge Config UI X Plugin Version
No response
Operating System
Rasbian

This plugin isn't developed for HOOBs.
I would recommend moving to homebridge.


ORC-801: Clean up Logging

What changes were proposed in this pull request?
Clean up some logging statements with the project. Remove instances of log-and-throw anti-pattern, remove superfluous logging guards, use anchors in debug statements instead of concatenation.
Why are the changes needed?
Trivial performance increases, decrease in lines of code (readability), log-and-throw makes troubleshooting more difficult because the same error may be logged multiple times.
How was this patch tested?
Existing unit tests, but should be no change in functionality.

@dongjoon-hyun PR template completed.  Thanks!


Check for presence of IncludeClaimResolvingInClaimsHandling in TechnicalProfiles using ClaimsResolvers

Claims resolver will not be executed otherwise. The following TPs need it: link

Included in 3.1.15


Article links in wiki page are stale

Hi, it looks like the links to some articles in the articles wiki page have become stale.
The following link is dead:

HikariCP Connection Pooling in Spring Hibernate JPA

The following link has been moved:

Wix Engineering: How Does HikariCP Compare to Other Connection Pools?
⬇
How Does HikariCP Compare to Other Connection Pools?

FWIW, I found a few other articles which might suit there:

Database Connection Pooling in Java With HikariCP - DZone Java
Introduction to HikariCP | Baeldung

The link to the "Oracle Real-World Performance" video in the About Pool Sizing wiki also seems to have become stale. I believe an alternate link for that is the following:
OLTP Performance - Concurrent Mid-Tier Connections - YouTube


ImportError: attempted relative import with no known parent package when attempting to use the custom theme

Getting this error whenever I attempt to use the engineering resumes theme. It was not included in the installation of the RenderCV utility, so I tried to insert it manually wherever it was missing in the source files. I can't figure out why the path file is not being found.

That two dots should be replaced with rendercv.themes. I will have a look when I'm available. RenderCV v1.8 should work as well.


failing test for contribute_to_field populating constraints

For now this is only a failing test case to run against official CI. Hope it's OK to open such a PR. At some point this will hopefully become a PR to support having fields populating DB constraints in contribute_to_fields.
See https://forum.djangoproject.com/t/dynamically-populate-constraints-in-field-contribute-to-class/22934 for full context.

(needs more work, will come back later)

that will be a nice feature to have


ErizoController instances in distributed deploy

Hi,
What are pros/cons about having 1 Erizo Controller & n Erizo Agents vs n Erizo Controllers and n Erizo Agents? Basically both apps living together in the same server.
Please correct me if I am wrong, since Erizo Controller is responsible for recording, in the 1 EC n EA, how that exactly works?

Erizo controller is not for recording purpose.
Erizo controller is all about signaling. If you have only 1 controller, every single user in your platform will open a websocket on your controller. The controller also communicate thru amqper with your "core" library, which is written in C++ and handle everything concern the video stream.
For example, when you click 'record', from you client the request is sent to erizo controller thru websocket. The controller do some checks (ex. you have permissions) then he send a remote procedure call to your erizo Agent, which tells you associated erizoJs to start the recording process.
the "erizo core" is inside every erizoJs, which are spawned by your erizoAgents.

@kekkokk this confused me:
https://github.com/ging/licode/blob/master/scripts/licode_default.js#L103

yeah, this is used by the controller when telling the agent (in an remote procedure call) where to store the files.


Fix MongoClient deprecation warning

This edit fixes this warning
(node:8234) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

@mcollina


Uncaught TypeError: Qe(...) is not a constructor

Hi, thanks for this clean library you've developed.
I imported "natural-gallery-js" hole folder into my project but I'am just using css and js libraries mentionned in the demo..
But I'am facing the issue bellow.

I don't even understand why the issue is located in typescript file.
I need your help

Be sure to follow https://ecodev.github.io/natural-gallery-js/docs-getting-started.html, or see a real complete example on https://stackblitz.com/edit/js-dzmjzq?file=index.html (but do not use hosted files on https://ecodev.github.io for production use, it will break in the future).
If that does not work, share a reproducible case on https://stackblitz.com/


removed vendor prefix from keyframes pulsate

The header background animation on Tachyons.io didn't render on FireFox, only a white background (which hid the white "view on github" button). Removing the vendor prefix from _animate_pulse.scss allows Autoprefixer to do its job and render as expected on FF.
ps - this is my first pr ever. Hope I am correct in creating a new branch for this quick fix.

Hey sorry I didn't get to this sooner. Thanks for the PR! You were definitely correct. I've removed the animation for the time being. Nice gif! :)


Are these directions for the older style of template where you Export from VS?

Or are they for the newer dotnet new template system?

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

ID: 5b76e208-2a2a-9fc3-98ff-147540157f32
Version Independent ID: 5f5c9adf-da1d-ec0b-8af3-ccd2e27eaadc
Content: Create multi-project templates - Visual Studio (Windows)
Content Source: docs/ide/how-to-create-multi-project-templates.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

We should clarify this -

@StingyJack
Yes, the context used here refers to project templates that are used when projects are created in Visual Studio, not the projects that you can create using dotnet new from the command line.
I'll update the article to make that clear.


Possible Contradicting information on Data Factory Self-Hosted IR

The document in question:
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime
It is confusing that the "Considerations for using self-hosted IR" states you can only use one self-hosted IR per data factory, but then further down in the document there is the section "Sharing the self-hosted Integration Runtime (IR) with multiple data factories" that appears to contradict it.
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime#considerations-for-using-self-hosted-ir
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime#sharing-the-self-hosted-integration-runtime-ir-with-multiple-data-factories

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

ID: 32785d15-8202-6e44-f1d2-420ef0600f3f
Version Independent ID: 3af5fa49-7bd4-18ce-f8dc-aa4a2b8c6478
Content: Create self-hosted integration runtime in Azure Data Factory
Content Source: articles/data-factory/create-self-hosted-integration-runtime.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@jdobrzen Thanks for the feedback! We are currently investigating and will update you shortly.

@nabhishek could evaluate this issue for an enhancement to the document?  A clarification may be in order as the language does seem to contradict.

i was about to open the same issue!

Sorry for causing the confusion folks. This was fixed a few days back! We can close this one.

#please-close

There's still an issue as in the Considerations section, second point, the first sentence is correct but the second sentence in the second point says the following: "If you have two data factories that need to access on-premises data sources, you need to install the self-hosted integration runtime on two on-premises computers. In other words, a self-hosted integration runtime is tied to a specific data factory."


Unable to import PyU4V

Hello,
I am a novice and hence the question. I am trying to import the PyU4V library and it errors out with a syntax error at the location with the statement
def create_host(self, host_name, initiator_list=None,
                    host_flags=None, init_file=None, async=False):

The error that I see is
host_flags=None, init_file=None, async=False):
                                      ^
SyntaxError: invalid syntax

Is there a trick that I missing here?, I generally have been working on other API's and haven't seen such problems there.
I would appreciate any help with respect to this error.
Regards,
KayK

Hi KayK,
I don't think I'm exactly sure what your issue is. When you say you are trying to import the library, do you mean that the error is occurring when you use the import statement, i.e. 'import PyU4V'?, or when you try and call that particular function? If it is at the import stage, how did you install the library?
It might help to refer to the documentation: http://pyu4v.readthedocs.io/en/latest/
Thanks,
Ciara

Salutations,
I am also having the same issue with Python3.7. I keep getting a SyntaxError:
"......./PyU4V/provisioning.py", line 133
host_flags=None, init_file=None, async=False):
^
This happens promptly after my import line:
from PyU4V import U4VConn
I've installed everything as you have mentioned in your documentation :)

Hi Edgar,
PyU4V is built to run with Python 2.7 or 3.6 at present as dictated by the coverage of the Tox tests, if you downgrade your Python version to one of those two you should have no further issues.
Thanks
Michael


Itinerary creation process needs to be defined for admin view

Created an itinerary event and I do not understand the workflow/purpose.  Shouldn't I be able to add location points for this task to go to? Does it get data points from an outside source?

@stevejgordon @schuback @OhMcGoo we need to refine/define the workflow I guess and see if that does/doesn't work with requirements?

@schuback - I can cover this in more detail but the summary of the allReady functionality currently is...

An itinerary event can have tasks defined, which people can volunteer for. I.e. Install smoke alarms in region X on 12th Nov 2016, Driver in region X on 12th Nov 2016
An itinerary event can have requests linked to it, usually added via the API from getasmokealarm. Requests can also be manually created.
Finally itineraries are created. An admin can add team members to the itinerary. These would be any volunteers for tasks occurring on the same date as the itinerary. The admin can then add one or more requests to the itinerary which will be completed in that unit of work. It's these requests which then get shown on the map within the itinerary details page.

I am working on some of the mapping parts at the moment to include route optimization as well.
Not sure if that makes any sense. It's hard to summarise concisely. I'm happy to answer any questions or walk through in more details.

@schuback Just checking in to see if my answer made sense and whether you believe there is more work required as part of the v1 milestone?

@schuback @OhMcGoo let us know how we can help to validate what is desired/not compared to current implementation. thanks


Draggable and onDragStart

Bug report
I want to create a draggable element that also functions as DropdownMenuTrigger.
Unfortunately, I think the implementation opens the menu after an onPointerDown event. It seems that this is raised before the onDragStart event, which means that the submenu is always opened and we can't implement dragging behavior
Current Behavior
Drag event (onDragStart) is never fired, and the menu always opens when start dragging
Expected behavior
Only a Click should open the menu. Dragging should fire the onDragStart event
Misc
For context, what I'm trying to implement is similar to the "Drag handle" in Notion, where a click opens a menu, but the handle can also be dragged to drag blocks around:

Not having the ability to use dropdown or context menus on draggable items is a deal breaker for dashboards unfortunately

This feature is critical for our project as well. Any updates on when it might be implemented? :)

bump

For folks also wondering, i suggest trying something like the following:
Render the dropdown trigger but make it small / invisible, it just needs to be referenced for positioning. Then, render a button that is draggable, and has an onClick of opening the dropdown menu the way you'd expect.
Here's an example
<Dropdown.Root open={isDropdownOpen} onOpenChange={setIsDropdownOpen}>

 {
                  e.preventDefault()
                  e.stopPropagation()
                  setIsDropdownOpen(true)
                }}
                draggable
              >
                <Icon className="m-1" name="GripVertical" />

            <Dropdown.Trigger className="absolute top-0 -left-10 ml-10" />
            <Dropdown.Portal>
              <Dropdown.Content>

                    <Dropdown.Item>
                      Dummy Option 1
                    </Dropdown.Item>
                    <Dropdown.Item>
                      Dummy Option 2
                    </Dropdown.Item>

              </Dropdown.Content>
            </Dropdown.Portal>
</Dropdown.root>


Add editing of title for to-do item

A user should be able to edit the title of the to-do item as well.
Flow:
A user can double click on the to-do item and sees an edit title mode ( sees the editable text box)
User should be able to update the title of the to-do item
and save it on the back end. If successful, the front-end should display the updated title as well. Else oopsy error
This can be broken down into multi step if needed.

Done


Clean up card-editor

It's very busy, and if we do #201 then there will be a lot of additional widgets.
If you could edit cards from content editable immediately the the content textarea could be hidden behind a tab.
Make it so there's a Config panel, a content, a notes, and TODO panel.
The bottom row (always visible) should be the section, published, slug, and read only auto-todos.

With the work on #331, the save button now doesn't show up if your window is pretty narrow anymore

Add a row of tabs at the very bottom, with Section/Tag, TODO, editors


Cannot GET /

I have given this code in my js file
app.use("/",express.static(__dirname + '/static'));
where static is a folder containing html and css file that I want to display.
But on running localhost:1337 it says Cannot GET /
I'm using windows10.
Is that error because the OS is Windows?
Help me to solve please!
Thank you,
JAISON

Hello! What files are in your static directory? Do you have a index.html file?

Closing due to no response.

You could try this:
  app.use("/images", serveStatic(path.join(`${__dirname}/images`), {
    maxAge: '1d',
  }))

I encountered the same issue:
var contentDisposition = require('content-disposition')
var finalhandler = require('finalhandler')
var http = require('http')
var serveStatic = require('serve-static')
var path = require('path')
var os = require('os')

const ROOT = path.join(process.env.HOME, 'tmp')
console.log(ROOT)
var serve = serveStatic(ROOT, {
  'index': false,
  'setHeaders': setHeaders
})

// Set header to force download
function setHeaders (res, path) {
  res.setHeader('Content-Disposition', contentDisposition(path, {type: 'inline'}))
}

// Create server
var server = http.createServer(function onRequest (req, res) {
  serve(req, res, finalhandler(req, res))
})

// Listen
server.listen(8000)

And it always returns Cannot GET /.
OS is Manjaro Linux.
~/tmp has lots of directories and files of various extensions.


fix: Use new Twitter icon

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #51278

There isn't a profile page for developmentuser but I assume it worked. Everything runs properly.

Thank you Naomi. I was wondering how to update it.

There isn't a profile page for developmentuser but I assume it worked.

There actually is. User profiles are actually a hacky approach using a custom 404 page. When testing locally, you'll see a standard 404 page, with a button that says "Preview custom 404 page". Clicking that will take you to the profile.


Clarify inference example docs

I walked through the inference examples - they're great, but I wanted to try to clean up some points of friction, confusion, or inconsistency that I found and streamline them a bit. Note, this is a little opinionated, definitely feel free to disagree if you think this makes things less clear in places.
Also removes the skip_header_lines arg when we're reading from txt files. I didn't get why we had that, but if there's a good reason we should doc it in the README.
Fixes #23056

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @yeandy @rszper

LGTM, one minor comment

Run Python 3.9 PostCommit

Run Python 3.7 PostCommit

pip install transformers required Rust installed:
error: can't find Rust compiler
Probably worth to mention as a prerequisite: https://www.rust-lang.org/tools/install

I didn't run into this and I don't have rust installed so this is surprising - maybe its dependent on the version that gets installed? Its surprising, but I'm inclined to provide the minimal set that needs to be installed so that we don't need to keep that up to date (though if you convince me to pin to a specific version that changes 😄 )

Apparently, the first line of my IMAGE_FILE_NAMES.txt is being ignored all the time.

Are you using my branch? I made a change to fix this

I had an extra blank line on my SENTENCES.txt file, and there were some weird failures. Likely could be ignored:

I agree this should be fixed, I'll get it tomorrow morning

IMHO pip install torchvision/transformers could have fixed versions as well, so users don’t run into problems if those dependencies make incompatible changes.

I think I disagree - Beam should work with a range of versions of these deps, and if it doesn't (beyond what pip enforces) its probably concerning (especially because we're not doing things w/ much complexity here). I like the idea of making that clear to users as well. I'm open to being convinced on this point.

I didn't run into this and I don't have rust installed so this is surprising - maybe its dependent on the version that gets installed? Its surprising, but I'm inclined to provide the minimal set that needs to be installed so that we don't need to keep that up to date (though if you convince me to pin to a specific version that changes 😄 )

Do you get something on which rustc? Just doing pip install transformers was failing for me with the above error.
Apparently it comes from https://github.com/huggingface/tokenizers, which is built on Rust.

Are you using my branch? I made a change to fix this

My bad. I followed the README from your branch but was using the Beam module straight from the pip install.

I think I disagree - Beam should work with a range of versions of these deps, and if it doesn't (beyond what pip enforces) its probably concerning (especially because we're not doing things w/ much complexity here). I like the idea of making that clear to users as well. I'm open to being convinced on this point.

I don't have a strong opinion here. I mentioned so we can be consistent with the installation of torch, and it feels that not specifying a version may put the burden on us if those libraries break something.
I'm not familiar with all the tests/stack here yet, but could we have some automation to go through steps on this tutorial from time to time? So at least we get to know before anyone reports.

I updated the csv files and removed the column names from csv since the examples won't use them. The IT tests passes now

Run Python 3.7 PostCommit

Run Python 3.9 PostCommit

I didn't run into this and I don't have rust installed so this is surprising - maybe its dependent on the version that gets installed? Its surprising, but I'm inclined to provide the minimal set that needs to be installed so that we don't need to keep that up to date (though if you convince me to pin to a specific version that changes 😄 )

Do you get something on which rustc? Just doing pip install transformers was failing for me with the above error (Mac M1, unsure if matters). Apparently it comes from https://github.com/huggingface/tokenizers, which is built on Rust.

Are you using my branch? I made a change to fix this

My bad. I followed the README from your branch but was using the Beam module straight from the pip install.

I think I disagree - Beam should work with a range of versions of these deps, and if it doesn't (beyond what pip enforces) its probably concerning (especially because we're not doing things w/ much complexity here). I like the idea of making that clear to users as well. I'm open to being convinced on this point.

I don't have a strong opinion here. I mentioned so we can be consistent with the installation of torch, and it feels that not specifying a version may put the burden on us if those libraries break something. I'm not familiar with all the tests/stack here yet, but could we have some automation to go through steps on examples/tutorials from time to time? So at least we get to know before anyone reports, or even worse, avoid that someone can't get it working and doesn't report at all.
To add on the last sentence, can we somehow encourage people to file an issue/report any problems or frictions that they have while going over the examples?

@BjornPrime also encountered something related to Rust. May be he can provide some context if its related to Beam or Hugging face.

@bvolpato

Do you get something on which rustc?

Nope - weird that you're seeing this and I'm not though. Which version of transformers is pip giving you (pip show transformers)? I'm on 4.21.2.
Regardless, I'm probably not inclined to do too much here since this is out of our control (and other dependencies could add additional requirements).

I'm not familiar with all the tests/stack here yet, but could we have some automation to go through steps on examples/tutorials from time to time?

I think the postcommits will at least make sure they compile correctly, doing a good dependency test here is pretty tough though because it is a little environmentally dependent (for example, I'm getting the error, you're not :) ). We'll also probably get different results depending on the platform.

Also, updated the examples to filter out empty lines

I updated the csv files and removed the column names from csv since the examples won't use them. The IT tests passes now

@AnandInguva thanks - where do those files live for future reference?

Run Python 3.7 PostCommit

Run Python 3.9 PostCommit

I updated the csv files and removed the column names from csv since the examples won't use them. The IT tests passes now

@AnandInguva thanks - where do those files live for future reference?

they live at gs://apache-beam-ml/testing/inputs.

This PR also fixes https://github.com/apache/beam/issues/23056