ObjectInputFilters.enableObjectFilterIfUnprotected plans when new gadgets are found?

Given that ObjectInputFilters.enableObjectFilterIfUnprotected is taking a forbid-list approach over an allow-list approach, similar to FasterJackson, what is the intention when new gadget chains are detected?
Will java-security-toolkit be issuing a CVE for this project every time new gadget chains are found and this library is found to not have adequate coverage to block those gadget chains? (This is also the route that FasterJackson takes as well)
If that is the intention, then it would be good to encode that into the security policy for this project.

There is no universal allow-list solution, so I don't think there's an alternative there. That's just the nature of this vulnerability class.
Exploitability often requires many gadgets, so my position is that unless the new gadget meant attackers could bypass the control and execute a successful deserialization RCE, it would be inaccurate to say there was a vulnerability in it. I think it would be perceived (perhaps correctly) as needlessly disruptive and self-important to issue CVE for it. SCA tools report enough spam.

I think it would be perceived (perhaps correctly) as needlessly disruptive and self-important to issue CVE for it.

I disagree. I think that the CVE system is the perfect signaling system to get your end users to update when Pixee becomes aware that the guards in place were found to be inadequate.
Especially if we can make the general assumption that tools like Dependabot and Renovate are widely available to remediate these issues, and assuming that this codebase doesn't regularly make API breaking changes, then for your end-users the fix should be just a version rev.

Exploitability often requires many gadgets

Some of these gadgets may be within the end application's codebase and not part of the widely understood attack surface of Open Source.

In the 99.999% case where the missing guard does not allow exploitation,
there is no case that they were "found to be inadequate", right? So, I
don't think I see any way to accept this argument.
We offer no protection in the case of gadgets-in-the-app-code, which is a
fairly unreasonable bar. A user who wants this level of protection should
absolutely be looking for a RASP.
On Wed, Jan 31, 2024 at 10:25 PM Jonathan Leitschuh <
@.***> wrote:

I think it would be perceived (perhaps correctly) as needlessly disruptive
and self-important to issue CVE for it.
I disagree. I think that the CVE system is the perfect signaling system to
get your end users to update when Pixee becomes aware that the guards in
place were found to be inadequate.
Especially if we can make the general assumption that tools like
Dependabot and Renovate are widely available to remediate these issues, and
assuming that this codebase doesn't regularly make API breaking changes,
then for your end-users the fix should be just a version rev.
Exploitability often requires many gadgets
Some of these gadgets may be within the end application's codebase and not
part of the widely understood attack surface of Open Source.
—
Reply to this email directly, view it on GitHub
https://github.com/pixee/java-security-toolkit/issues/21#issuecomment-1920435445,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG6R6T7YCGARKNOQUPOULDYRMDMFAVCNFSM6AAAAABCTO7AH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGQZTKNBUGU
.
You are receiving this because you were assigned.Message ID:
@.***>

🤔

Feel free to re-open when you do! If you have a particular suggestion, like, something we might want to add to SECURITY.md that sends the right signal to users? Thanks for the discussion.


[FR] Aurora MySQL and Aurora PostgreSQL

Is your feature request related to a problem? Please describe.
Teams are switching to serverless due to lower cost compared to using TAS with standard rds instances, having serverless mysql and postgres options would avoid having them move off TAS and provide a lower cost rds option. Also reduces the need to have to manually scale rds db's  during or after product launch.
Describe the solution you'd like
Serverless Aurora option in CSB for both MySQL and PostgreSQL
Describe alternatives you've considered
Using serverless framework instead of TAS.
Additional Context
Priority
Medium
Priority Context
Gives us more reason to migrate to CSB sooner and to keep our product/development teams using TAS instead of migrating to serverless framework.
Platform
AWS
Applicable Services
Aurora MySQL and Aurora PostgreSQL

This is a perfect project for someone that wants to try leveraging https://github.com/terraform-aws-modules/terraform-aws-rds-aurora

This is a perfect project for someone that wants to try leveraging https://github.com/terraform-aws-modules/terraform-aws-rds-aurora


Site Navigation

https://github.com/suwebdev/earth-covers/wiki/User-Stories---Site-Navigation

SIze-Lg

Creating links and clicks that are easy to access necessary information on poets that also match images. Apply easy directions to home pages and URL links when necessary(including opening a new page)

This needs to be done in the first Sprint due to navigation being a  major factor in keeping people interested in the site. This is also important for people with special needs to be able to navigate easily.

User needs to be able to recognize the page they are on with minimal back clicks and images that help with page recognition.

Task branch name- Navigation

Brief statement of work performed- Added link to poet webpage

Any notes, comments, or update instructions about the work-Working on login link for publishers and writers.

Edit text to add navigation changes to buttons

work on user sign in changes


Frequent unsupported file type "irregular" messages on what I think are normal files

Output of restic version
restic 0.16.4 compiled with go1.21.6 on windows/amd64
What backend/service did you use to store the repository?
Local C: drive (NTFS, of course)
Problem description / Steps to reproduce
C:\Users\<username>\Documents\scripts>C:\Users\<username>\Documents\scripts\restic.exe --repo C:\Users\<username>\backup-<remote_drive_name> backup "P:\<directory>\<subdirectory>" -p C:\Users\<username>\key.txt
repository 9a01e5c0 opened (version 2, compression level auto)
using parent snapshot 4e1a289b
[0:00] 100.00%  1 / 1 index files loaded
error: nodeFromFileInfo P:\<directory>\<subdirectory>\<subdirectory>\<subdirectory>\<subdirectory>\<filename>.pdf: unsupported file type "irregular"
error: nodeFromFileInfo P:\<directory>\<subdirectory>\<subdirectory>\<subdirectory>\<subdirectory>\<filename>.docx: unsupported file type "irregular"

Files:           6 new,     1 changed,    46 unmodified
Dirs:            0 new,     7 changed,    55 unmodified
Added to the repository: 1.584 MiB (1.497 MiB stored)

processed 53 files, 15.556 MiB in 0:02
snapshot 1f47a98c saved
Warning: at least one source file could not be read

Expected behavior
I don't expect any "irregular" file errors, these should all be plain vanilla files.
Actual behavior
I get the errors shown above. I can open the files listed in their respective programs, and the list is not consistent from run to run. (Some files appear consistently, but other ones come and go from the list.)
The drive P: is a mapped Windows network share. However, I believe I have seen this on a nearly identical backup script that backs up parts of my local C: drive to itself.
Do you have any idea what may have caused this?
The only change I am aware of is running a restic self-update command. I think my previous version was maybe 6 months to a year old. I see that issue #4560 was fixed and changed the error messages, but I only recall seeing the "invalid node type" messages a few times on one specific file, not with the volume and frequency that I'm seeing the error messages now.
Did restic help you today? Did it make you happy in any way?
Restic is amazing, I use it everywhere, all the time. It replaced piles of bad rsync scripts, and is my absolute favorite backup solution. It was also my introduction to learning about Go.

I've just started using restic together with https://github.com/kmwoley/restic-windows-backup and am also experiencing this issue. Same restic version.

Just to be clear: only some files on the UNC share cause that error? Are those special in any regard, like stored in OneDrive or similar?

Just to be clear: only some files on the UNC share cause that error? Are those special in any regard, like stored in OneDrive or similar?

Yes, indeed, in my case these files are stored in Dropbox and they seem to be online files even though I didn't enable that option. That means, these files appear in the folder but don't take up space on disk and this explains the "irregular" error. I'll now try to exclude everything in Dropbox from the backup but it would be nice if there was a way to exclude them generally without throwing an error.

Just to be clear: only some files on the UNC share cause that error? Are those special in any regard, like stored in OneDrive or similar?

It does appear to happen consistently on certain files, but they don't have any special characteristics that I am aware of. It happens to files on the UNC share, but has also happened with files on my local disk. I don't know if there is a good way to get file properties of the ones that do it consistently and see what might be going on in more detail?

From what I know about these irregular files on Windows, they are implemented using so called reparse points. According to the Windows docs you can use fsutil reparsepoint query filename to inspect them https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-reparsepoint .

Thanks! It does appear that this file has become a reparse point. Output of fsutil reparsepoint query is below:
Reparse Tag Value : 0x80000007
Tag value: Microsoft
Tag value: SIS
Format version: 5
CSid:           0B0E4922-6D34-11EA-9B83-00505688148E
LinkIndex:      0x00000000.02213569
LinkFileNtfsID: 0x00010000.002e6a3c
CSFileNtfsID:   0x00060000.0003b930
CSChecksum:     0x89b8854c.9745cc10
Checksum:       0xbd4b059e.2c223963

Reparse Data Length: 0x40
Reparse Data:
0000:  05 00 00 00 10 b0 11 b1  22 49 0e 0b 34 6d ea 11  ........"I..4m..
0010:  9b 83 00 50 56 88 14 8e  69 35 21 02 00 00 00 00  ...PV...i5!.....
0020:  3c 6a 2e 00 00 00 01 00  30 b9 03 00 00 00 06 00  <j......0.......
0030:  10 cc 45 97 4c 85 b8 89  63 39 22 2c 9e 05 4b bd  ..E.L...c9",..K.

Looks like this is due to "Single Instance Storage" (https://en.wikipedia.org/wiki/Single-instance_storage) implemented on the ancient server these files are hosted on. According to Wikipedia, SIS is "officially deprecated since Windows Server 2012."
It looks like Microsoft's new data deduplication feature for NTFS also uses reparse points (https://learn.microsoft.com/en-us/previous-versions/windows/desktop/dedup/about-data-deduplication?redirectedfrom=MSDN), so even when (if?) my company updates the server, restic will still not be able to handle backing up these drives.
I don't know if adding support for data-deduplication reparse points is something that would ever end up on restic's roadmap or not, but I'm at least thankful for you taking the time to help me understand what was going on, @MichaelEischer . I'll leave it to you to close this issue if you think that supporting these reparse points is off the table -- it's certainly above my ability to implement and submit a pull request. :)

For anyone's future reference, the reparse tag value for SIS deduplication (the old one) is 0x80000007, and the tag for the new deduplication scheme is 0x80000013.

so even when (if?) my company updates the server, restic will still not be able to handle backing up these drives.

@upgrade0217 This is not true: there is an exception for IO_REPARSE_TAG_DEDUP in go runtime.

there is an exception for IO_REPARSE_TAG_DEDUP in go runtime.

Oh, that's fantastic! Support for SIS deduplication reparse points would be nice, although only for legacy applications. It looks like the support for this belongs at the golang level, so I'll close this issue.
Thanks all!


ci-datapath: Use QUAY_ORGANIZATION_DEV for Quay org name

Use QUAY_ORGANIZATION_DEV environment variable for Quay organization name to be consistent with other workflow files.

✅ ci-datapath passed: https://github.com/cilium/cilium/actions/runs/4768548180/jobs/8477988744?pr=25052
removing the temporary commit and marking it ready for review.

/test


[AutoPR keyvault/resource-manager] KV multiapi Readme

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3416

(message created by the CI based on PR content)

Codecov Report

:exclamation: No coverage uploaded for pull request base (restapi_auto_keyvault/resource-manager@3e7a525). Click here to learn what that means.
The diff coverage is 64.39%.

@@                            Coverage Diff                            @@
##             restapi_auto_keyvault/resource-manager    #2928   +/-   ##
=========================================================================
  Coverage                                          ?    56.9%
=========================================================================
  Files                                             ?     7778
  Lines                                             ?   159888
  Branches                                          ?        0
=========================================================================
  Hits                                              ?    90984
  Misses                                            ?    68904
  Partials                                          ?        0

Impacted Files
Coverage Δ

...keyvault/v2018_02_14/models/access_policy_entry.py
100% <100%> (ø)

...ault/v2018_02_14/models/access_policy_entry_py3.py
100% <100%> (ø)

...eyvault/azure/mgmt/keyvault/v2018_02_14/version.py
100% <100%> (ø)

...lt/azure/mgmt/keyvault/v2018_02_14/models/vault.py
100% <100%> (ø)

...e/mgmt/keyvault/v2018_02_14/operations/__init__.py
100% <100%> (ø)

...azure/mgmt/keyvault/v2018_02_14/models/resource.py
100% <100%> (ø)

..._02_14/models/vault_create_or_update_parameters.py
100% <100%> (ø)

...zure/mgmt/keyvault/v2018_02_14/models/vault_py3.py
100% <100%> (ø)

...yvault/azure/mgmt/keyvault/v2018_02_14/__init__.py
100% <100%> (ø)

...eyvault/v2018_02_14/models/vault_properties_py3.py
100% <100%> (ø)

... and 47 more

Continue to review full report at Codecov.

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


version of setuptools in pyproject.toml not working with requirements.txt file for catElmo

Hi,
Problem: installation of requirements.txt of catElmo breaking due to preshed==2.0.1 uses diskutils.msvccompiler
Environment: Python 3.8.20 (running on x86 architecture through Rosetta on M1 Mac), setuptools==61.0.0
Best,
Muhammed

Hi Muhammed,
Thank you for your feedback. The installation error you encountered was due to the setuptools version. We've fixed this bug and updated both our code and documentation. The installation has been successfully tested in the following environment: Python 3.8.20, setuptools 61.0.0, and Ubuntu 22.04.2 LTS. Specifically, with setuptools version 61.0.0, you can avoid this error by adding the --no-build-isolation flag.
We've also added the following note to our documentation:

Note: If you encounter an installation issue with the message “cannot import name ‘msvccompiler’ from ‘distutils’,” please ensure that the setuptools version is either below 65.0.0 or exactly 65.0.2. Additionally, include the --no-build-isolation parameter when using the pip command.

If you have any further issues, please feel free to reach out!
Thank you again for your input!
Best,
Xikang

Hi,
Problem: installation of requirements.txt of catElmo breaking due to preshed==2.0.1 uses diskutils.msvccompiler Environment: Python 3.8.20 (running on x86 architecture through Rosetta on M1 Mac), setuptools==61.0.0
Best, Muhammed

Hi Muhammed,
Thank you for your feedback. The installation error you encountered was due to the setuptools version. We've fixed this bug and updated both our code and documentation. The installation has been successfully tested in the following environment: Python 3.8.20, setuptools 61.0.0, and Ubuntu 22.04.2 LTS. Specifically, with setuptools version 61.0.0, you can avoid this error by adding the --no-build-isolation flag.
We've also added the following note to our documentation:

Note: If you encounter an installation issue with the message “cannot import name ‘msvccompiler’ from ‘distutils’,” please ensure that the setuptools version is either below 65.0.0 or exactly 65.0.2. Additionally, include the --no-build-isolation parameter when using the pip command.

If you have any further issues, please feel free to reach out!
Thank you again for your input!
Best regards,
Xikang Feng


Please pump the version

Hi,
The last commit, the one for removing mongo dependency is not reflected to rubygems, since the version isn't changed, I guess the gem need a tiny version pump.

done


Access to NativeImage

Hi !
I was struggling to make electron and angular2 work together and i'm glad i found your service to help me. Unfortunately, I miss one Electron API : the native image one. could you provide an access to it ?
Thanks for your work !

Hey @Selid,
thanks for reporting this. I'll look into this this evening!
👍

Thanks for your work :-) Could you post your npm package ?

sorry @Selid -> done 👍


Fix #438.

May not be perfect, but I hope it's a good start!

These need to be marked for translation through the {{ _('foo %(bar)s', bar=thing) }} API, it'll also need tests written.


Copy/paste not working with CtD - Internal Server Error

For example when I copy paste from libre office this:
source	target
a	b
b	c
c	d
d	b
f	e
e	f
e	p
a	e
or this, made with tabs:
source    target
Alice    Bob
Rahul    Catherine
Catherine    Alice
Bob    Rodrigo
Orlando    Adiya
Adiya    Catherine
Rahul    Gus
Cosmo    Bob

@rahulbot - I encountered this in my workshop setting! Both with pasted and uploaded data. Here's an example: https://docs.google.com/spreadsheets/d/18epHDk-rmntHO4dN-lFZZgceD0g8mVPJ1__ncHvcHgo/edit#gid=0
Got internal server errors on copy/paste and upload for that data. Once I copied that data from that google doc into our CtD template it actually did work.
Let's prioritize fixing this bc it definitely impacting my ability to run the workshop with CtD.

This is so weird - this bug is not happening anymore either locally or on the production server. Unable to replicate so I'm closing this.


Making consolidated 'overlay' option to cns ipam mode

This is to make a third, consolidated, 'overlay' cns ipam mode
Once this is merged, we will do the following to safely migrate towards this option:

First, add third "overlay" option (keeps v4overlay and dualstack options still valid)
Switch dualstack to "overlay" in AKS-RP
Switch v4overlay to "overlay" in AKS-RP
Remove "v4overlay" and "dualstack" options in CNS

See our teams channel chat about this:

Ashvin:
Matthew Long do you see any issue with updating the the cns ipam mode in CNI conflist to just 'overlay' for v4 overlay?
Matthew Long
Nope no issue, maybe we’ll keep both for a little while in case of any rollbacks for backwards compatibility but eventually we can just remove the v4 part
Neha Aggarwal
I remember it was required to keep different handling in CNI too. Tamilmani Manoharan do you remember it?
Tamilmani Manoharan
Paul is right.. cni requires mode only to differentiate podsubnet or overlay but not needed for v4 and dualstack. instead of mode, based on ipaddress cni can detect if dualstack or not.. so just keeping overlay makes sense.. have to update cni code accordingly (shouldn't be a big change)...

We're going to follow this strategy now to update to overlay
https://github.com/Azure/azure-container-networking/pull/2008


Shifu stats has different output for same input

Running twice of shifu stats will get different binBoundary and it will get different binWeightedWoe (very differernt result, within 0.0001).

I closed this issue because the binBoundary will be very little different if the order of mappers merging is different.


Differentiate between the function names in DatabaseClientSql.kt and DatabaseClientSqlWithMapper.kt

The extension functions get mixed up in code completion. Consider adding "withMapper" suffixes.

Also, code completion seems to not work properly in IntelliJ IDEA when one set of APIs is needed but the other set is already imported.


PR to add initial vLLM support

Initial pr to add vLLM inference support.
Warning
There is a difference in metrics computed by vLLM vs metrics computed using NeMo or TRTLLM - despite best efforts in maintaining exact same arguments during greedy inference.
This can lead to potentially worse results on benchmarks depending on which inference server was used.
Changelog

Adds vllm Dockerfile
Add vllm inference engine
Update some pipelines to support inference via pipeline

Have not fully tested yet, but let me merge and I will test in another branch and do fixes there if necessary (as I'm going to create a large PR with many changes soon anyway)


Using Generic Service Connection from Bash task

Question, Bug, or Feature?
Type: Question
Enter Task Name: Bash
Environment

Server - Azure Pipelines

Agent - Hosted (Azure Pipelines)

Issue Description
I'm looking for documenation on how to use a Generic Service Connection from within a Bash script.  I want to connect to web services managed by my own organization and integrate with them during pipelines.  It seems like Generic Service Connection could be perfect for just storing simple URL and credentials and would allow me to safely secure and control access to our internal services from pipeline jobs.  However, I can't seem to locate any documentation or information on how to use a Generic Service Connection" from my own bash script.  Essentially, I want to access the URL and credentials so I can issue requests.
Can you point me in the right direction or offer any advice?

Just wondering if there is any examples or documentation you could point me to.  Or let me know if my understanding and expectations are off.

Is there anyway to use a service connection as a pipeline variable? Trying to wrap a taskgroup with a deploy database and deploy service fabric service that takes in a variable for the service connection.
Any ideas?

@camp-007 - Sorry for the delay in responding to you. In order to use a service connection in a task, a task has to have an input that is defined as a "generic service connection" type. The bash task does not have such an input.
If you want to do this, you would have to write a custom task (https://docs.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops).

Closing this issue after answering question and no follow up questions.

A slightly different take on the linked extension above: Authenticated Scripts.
It allows you to use a service connection directly within a script without exposing the secrets for longer than the life of the script.


Fix environment issue in lettuce tests

Coverage decreased (-0.02%) to 90.498% when pulling 15bb48c3e0223a0c1d723650a55e928a2bbd0596 on fix/lettuce into 84b5f35349019263c87e8ff64416aa446a566029 on master.


Jaeger agent wont connect to collector

I'm build jaeger query and collector with docker and trying to connect agent from another server to collector.
The agent connect to collector with ip and port but it can not connect with domain name and port.
./jaeger-agent  --reporter.grpc.host-port=xx.xx.yy.zz:14250 -> this work
./jaeger-agent  --reporter.grpc.host-port=dns:///example.com:80 -> wont work
any solution?

Perhaps your DNS is not working properly.
It does not seem like a problem in jaeger, therefore I am closing this. Feel free to reopen or comment if there is anything more we can do.

Note that the port in the second example has to be 14250 as well.


During 2.1.0-rc1 builds on ubuntu 18.04, use oob cmake instead compiling it if it doesn't exist

Once this issue https://github.com/EOSIO/eos/pull/9787 is committed, it looks like the ubuntu provided cmake should be fine to use.
Thus the dependency checker should check for it instead of compiling one if it doesn't exist.  This would reduce compile time.
Here is the output from the current dependency checker, which doesn't check for cmake:

=====================================================================================
======================= Starting EOSIO Dependency Install ===========================
Architecture: Linux
OS name: Ubuntu
OS Version: 18.04
CPU cores: 4
Physical Memory: 65G
Disk space total: 3602G
Disk space available: 2941G
[Ensuring package dependencies]
 - git ok
 - make ok
 - bzip2 ok
 - automake ok
 - libbz2-dev ok
 - libssl-dev ok
 - doxygen ok
 - graphviz ok
 - libgmp3-dev ok
 - autotools-dev ok
 - python2.7 ok
 - python2.7-dev ok
 - python3 ok
 - python3-dev ok
 - autoconf ok
 - libtool ok
 - curl ok
 - zlib1g-dev ok
 - sudo ok
 - ruby ok
 - libusb-1.0-0-dev ok
 - libcurl4-gnutls-dev ok
 - pkg-config ok
 - patch ok
 - lsb-release ok
 - gnupg ok
 - No required package dependencies to install.
```

Fixed in rc3.


Better pref by upgrading to react 16

as title.

@k-water Please add some pref report between different version

upgrade react to v16.5.2
fix the eslint config in win
#6


Test Result View - Implement Checks display

Show the Ready and Valid checks that are performed for each step.

Fixed, https://github.com/austinsand/doc-roba/commit/df9329e4d5fb4f0d116d3e058fc2a62361e0757e


Fail hard if loader: plugin.extract is used

This is an important check to make as extract works only with use.

This might need webpack core work since loader: plugin.extract(...) doesn't give the plugin (or rather loader) a chance to do anything about it. I think the core needs to detect that an array is passed (shouldn't validation pick this up, though?) and give a nice error.
CC @sokra @TheLarkInn

Hmm, @Sokra we could do this but I'm not sure if schema could catch.

I think we might not need this after all. Looks like implementing a custom toString for extract solves it. See https://github.com/webpack-contrib/extract-text-webpack-plugin/pull/374 for details.
I'm not sure how to handle functions (postcss) in this case, but @sokra can probably give some insight to that.

Actually loader: Array is supported for backward-comp.
use: {loader: Array} should be catched by the schema.

Alright. No need to do anything about this then. The error that lead to this issue had to do with another loader that doesn't work with the new scheme. Since extract appears to work against loader:, there's not much to do here.


Release Google.Cloud.Dialogflow.Cx.V3 version 1.0.0-beta01

Changes in this release:
Initial release.

Created release for Google.Cloud.Dialogflow.Cx.V3-1.0.0-beta01


nixos/networking: add hostname to /etc/hosts by default

Motivation for this change
I'm testing some kubernetes related stuff, and it's assumed in a bunch of places that the hostname is resolvable. I could add this with networking.extraHosts, but I think it should be the default. See #1248 for some past discussion.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

/cc @peti

. I could add this with networking.extraHosts

you can add it easier
      networking.hosts."<IP_ADDRESS>" = [ config.networking.hostName ];
      networking.hosts."::1" = lib.optional (cfg.enableIPv6) config.networking.hostName;

as there is some opposition, you can add in into kubernates module under if cfg.enable

I added a new option, networking.hostnameInHosts, which defaults to true

I'm not especially fond of that option name, though

You shouldn't use "<IP_ADDRESS>" for that, see https://github.com/NixOS/nixpkgs/issues/1248#issuecomment-303552124. Other than that, I :+1: this. Should have been the default ages ago.

Good spot, I've changed it to point at <IP_ADDRESS> now

So kubernetes does not use nscd?

@kragniz ping!

@danbst why would you want to set it to empty string, btw?

@oxij See https://github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/tasks/network-interfaces.nix#L374-L375
        The name of the machine.  Leave it empty if you want to obtain
        it from a DHCP server (if using DHCP).

So technically someone may have used hostName = ""; to enabled DHCP based hostname. Personally, I don't do this.

What's the status of this? It breaks i.e. RabbitMQ by default.

If the OP won't come back to life till the end of the week I'll make an edited version and PR that.

I'll update this by the end of the week

See  #47241.

Closing: superseded by #47241


Ruby syntax highlighter fails when parameter defaults contain a nested Hash

VSCode Version: 1.14.2
OS Version: Mac OS X 10.11.6

Steps to Reproduce:

Create a new ruby file with the contents

def complicated_params(options = {
  column_mapping: {
    'account_number' => 'acct_no',
    'mailing_address' => 'mail_addr_line_1',
    'customer_name' => ['customer_name', 'company_name'],
  },
})

  pp options
end

Reproduces without extensions: Yes

This issue was moved to textmate/ruby.tmbundle#113


jridgewell/sourcemap-codec is unmaintained, throws error bundled with Vite

When bundled with Vite out of the box, @jridgewell/sourcemap-codec isn't functioning correctly or doesn't have the right build settings. I considered opening an issue upstream, but the project is unmaintained since April 2023 and the author is not responding to contributions. Result is:
magic-string.es.mjs?v=71e65a2c:1 Uncaught SyntaxError: The requested module 'node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js?v=71e65a2c' does not provide an export named 'encode' (at magic-string.es.mjs?v=71e65a2c:1:10)
```

They did a release in June 2024: https://github.com/jridgewell/sourcemap-codec/commit/d8dc7fc3f7602043f56f3efa801569f983d756ec


Reporting on call queues

There seems to to almost no information on this topic. Would you please include links to resources or articles covering this?

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

ID: b755d9ae-13ac-019f-f5f4-a95b1eee2989
Version Independent ID: f7afd8ad-e6e0-6c79-aed1-4ee87d48ba12
Content: Create a call queue - Microsoft Teams
Content Source: Teams/create-a-phone-system-call-queue.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@kailashkalyani Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@kailashkalyani Thanks for reaching out. It looks like the article was updated two weeks ago. Please let me know if there is anything that you think still needs to be added to the article.

@kailashkalyani Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Error adding a WalkerGenerator to the scene

Cannot get class ''.
editor/editor_data.cpp:581 - Parameter "p_object" is null.
editor/scene_tree_dock.cpp:2459 - Parameter "child" is null.

using gaea v1.0.0 and godot 4.2.2

I'm not having this problem, has this been fixed? Can you provide more details, please?


api sessions

I think we're still a ways from deciding how to handle this with regards to the UX.  If you removed @AuthJSONRPCServer.auth_required decorator from each method would it be functionally the same as it is now without authentication?
If so, maybe we should do that and get this merged in.

Assigning this to Jack so that nagging nancy leaves me alone.

Closing as this has all been moved into the other pull request "refactor-settings".  Please re-open if that is not the case.


CI Setup - copied from fastparquet

CI Setup - copied from fastparquet and modified

@martindurant lmk your thoughts.  Copied over per your suggestion on #8.  I guess the PR builds won't run until this is merged into master?

I will merge this immediately so that we can iterate once workflows are running on the main branch. I believe tests will initially fail due to some ancient code I can clean up.

Runs: https://github.com/martindurant/uavro/actions/runs/6896483259


review intersectBitmapRun() logic, specifically the return container type.

Description
in roaring/roaring.go, the comment for intersectBitmapRun() says:
// intersectBitmapRun returns an array container if the run container's
// cardinality is < ArrayMaxSize. Otherwise it returns a bitmap container.

Based on the code, however, it appears that it may return an array (not a bitmap) in the second case with this code:
if output.n < ArrayMaxSize {
    output.bitmapToArray()
}

I tried changing this to:
output.Optimize()

but this caused one of the tests to fail. Which makes me think that the test is expecting this function to return an array, when it should, optimized, return a different type.
Success criteria (What criteria will consider this ticket closeable?)
Tests pass and we can correctly optimize intersectBitmapRun().

Same goes for differenceBitmapArray()
I'm not sure if the correct thing to do is to call optimize() before returning in these functions, or to remove the conversion to array (and assume Optimize() is being called later).

I guess the first question is: Is the goal to return the most convenient container to compute, or the most efficient container to store, or what? We can make it return any type we want, the question is whether we should be regarding the comment's statement as a goal, or merely a description of the original intent.

It's unclear to me whether these container-container functions should return an optimized container type, or if the assumption is that Optimize() may be called later (after further operations), and therefore calling it within every container-container function would be premature and/or unnecessary.

I don't think that the container-container methods should always return an optimized container type. In many cases the optimized container would probably not be significantly more efficient for continued processing, and the process of optimizing would not be worth it. Ideally, I think we'd be informing these decisions with benchmarks on a case by case basis, this issue's status as being blocked on the benchmarking work is valid. The comment's statement should definitely not be regarded as a goal.
Containers are definitely optimized before being written to disk.

So the reason that using optimize breaks one of the tests is that, in one case, optimize picks runlength because the number of runs is very small so that's even more optimized than array.
It depends, in part, on what the continued processing is is likely to look like. My intuition is that the even-more naive solution of "return an array if the maximum number of results is definitely <= ArrayMaxSize, otherwise return a bitmap" is probably better. I don't think being able to predict the return type is as important as avoiding conversions when we don't know whether we're about to just convert back.


[Bug]: Markdown equations rendered scrollable

What happened?
When the answer includes a rendered markdown equation, it is oftentimes scrollable. It seems like there is not enough vertical space.
Sometimes, not only the equation is scrollable, but the entire answer (see reprex below).
Steps to Reproduce
Have the AI repeat the following word by word, this will reproduce a scrollable equation:
Consider a portfolio consisting of a single risky asset whose price \( S(t) \) at time \( t \) follows a GBM. The SDE for \( S(t) \) is given by:

\[
dS(t) = \mu S(t) dt + \sigma S(t) dW(t)
\]

where:
- \( \mu \) is the drift coefficient (expected return)
- \( \sigma \) is the volatility coefficient
- \( W(t) \) is a standard Wiener process (Brownian motion)

Have the AI repeat the following, it will produce a answer that is scrollable:
The equation represents the Riemann sum definition of a definite integral:

\[ \int_a^b f(x)dx = \lim_{n \to \infty} \sum_{i=1}^n f(x_i)\Delta x \]

What browsers are you seeing the problem on?
Chrome, Mobile (Android)
Relevant log output
No response
Screenshots
Scrollable equations:

Scrollable answer:

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Should be closed by https://github.com/danny-avila/LibreChat/pull/4705
https://github.com/danny-avila/LibreChat/pull/4705/commits/388f3bf8a21b6c56cfd1c508f5be84388cdb5565


Introduce validatePassword for SignIn and SignUp resources

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[x] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Introduce validatePassword for SignIn and SignUp resources to be used in custom flows

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Feat/coze

add coze request
add unit test for coze request(all coze test past)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ByteDance seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


how to use with KickAssembler

Hi, I'm editing some asm files that use KickAssembler syntax provided by KickAss (C64) extension.
I can't figure out how to configure your plugin to use that syntax in my markdown files.
Could you please help me?
Thank you, Luca-

Hello!
I've added the same functionality to another project. You can find the PR here.

It should be fairly easy to copy the PR content. Right now I don't remember the logic exactly :sweat_smile: (actually, at all), but I think the only thing to be done is to:

find out the identifier for KickAss' asm grammar
replace source.asm with the identifier

If the identifier is source.asm,  I think you may get away with a straight copypasta :grin:


Bug: OpenHashTab freezes when opened from Files

Description
When I open OpenHashTab, the OpenHashTab window freezes and the mouse icon is busy.
Environment:

Files: v<IP_ADDRESS>/<IP_ADDRESS>
OpenHashTab: v3.0.2
OS: Windows 10 Pro 22H2 10.0.19045.3031

Steps To Reproduce

Install OpenHashTab: namazso/OpenHashTab: 📝 File hashing and checking shell extension
Right-click on the file
Select "Show more options"
Select "Hashes"

Requirements

Fix the freeze that occurs when using OpenHashTab

Files Version
Version: <IP_ADDRESS> and <IP_ADDRESS>
Windows Version
Windows 10 (22H2): 19045
Log File
debug.log

OpenHashTab window freezes.

Thank you for the report, I added this to our project board, but I wanted to make sure you're aware that we have a hashes tab built-in to the properties window.

@Shadow912kage we're able to repro this issue, but it appears to be an issue with OpenHashTab. We suggest reporting this to the OpenHashTab developer.


Housekeeping | Clean up dead code and minor refactor

remove unused load/save
minor refactor for action parsing

The action parsing refactor will be irrelevant when #137 is merged


[functions] Distributed log metadata not correctly initialized

Motivation
The PR https://github.com/apache/pulsar/pull/13296 introduces a bug that breaks the functions worker in certain types of configuration.
To reproduce:

Use zookkeeper entry in initialize-cluster-metadata command (which is the common configuration before PIP-45) (see the unit test for reference)
With this change the DL configuration does not use the correct ledgersPath (/ledgers by default) anymore and instead, it uses the root path (ledgersPath="").
Start functions-worker and install a connector. This trigger the DLog client to upload the Nar file to the bookies. Since the ledgers path does not match with the actual BK ledgers path, the client is not able to find an available bookie.

java.io.IOException: org.apache.bookkeeper.client.BKException$ZKException: Error while using ZooKeeper
	at org.apache.distributedlog.BookKeeperClient.commonInitialization(BookKeeperClient.java:123) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BookKeeperClient.initialize(BookKeeperClient.java:172) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BookKeeperClient.get(BookKeeperClient.java:199) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BookKeeperClient.createLedger(BookKeeperClient.java:211) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.bk.SimpleLedgerAllocator.allocateLedger(SimpleLedgerAllocator.java:370) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.bk.SimpleLedgerAllocator.allocate(SimpleLedgerAllocator.java:271) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.bk.LedgerAllocatorDelegator.allocate(LedgerAllocatorDelegator.java:67) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.impl.logsegment.BKLogSegmentAllocator.allocate(BKLogSegmentAllocator.java:55) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BKLogWriteHandler.doStartLogSegment(BKLogWriteHandler.java:571) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BKLogWriteHandler$10.onSuccess(BKLogWriteHandler.java:538) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BKLogWriteHandler$10.onSuccess(BKLogWriteHandler.java:530) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.bookkeeper.common.concurrent.FutureEventListener.accept(FutureEventListener.java:42) ~[org.apache.bookkeeper-bookkeeper-common-4.14.4.jar:4.14.4]
	at org.apache.bookkeeper.common.concurrent.FutureEventListener.accept(FutureEventListener.java:26) ~[org.apache.bookkeeper-bookkeeper-common-4.14.4.jar:4.14.4]
	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883) ~[?:?]
	at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2251) ~[?:?]
	at org.apache.distributedlog.BKLogWriteHandler.asyncStartLogSegment(BKLogWriteHandler.java:530) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at org.apache.distributedlog.BKAbstractLogWriter.lambda$asyncStartNewLogSegment$1(BKAbstractLogWriter.java:379) ~[org.apache.distributedlog-distributedlog-core-4.14.4.jar:4.14.4]
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) [?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) [?:?]
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) [?:?]
	at org.apache.bookkeeper.common.concurrent.FutureUtils$ListFutureProcessor.run(FutureUtils.java:229) [org.apache.bookkeeper-bookkeeper-common-4.14.4.jar:4.14.4]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) [com.google.guava-guava-30.1-jre.jar:?]
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69) [com.google.guava-guava-30.1-jre.jar:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) [com.google.guava-guava-30.1-jre.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty-netty-common-4.1.72.Final.jar:4.1.72.Final]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: org.apache.bookkeeper.client.BKException$ZKException: Error while using ZooKeeper
	at org.apache.bookkeeper.discover.ZKRegistrationClient.lambda$getChildren$4(ZKRegistrationClient.java:351) ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
	at org.apache.bookkeeper.zookeeper.ZooKeeperClient$25$1.processResult(ZooKeeperClient.java:1177) ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:678) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:563) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /available
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:118) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
	at org.apache.bookkeeper.discover.ZKRegistrationClient.lambda$getChildren$4(ZKRegistrationClient.java:350) ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
	at org.apache.bookkeeper.zookeeper.ZooKeeperClient$25$1.processResult(ZooKeeperClient.java:1177) ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:678) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:563) ~[org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]

Modifications

Pass the correct ledgersPath during the cluster metadata initialization
BK client in broker now always use the correct ledgersPath

Documentation

[x] no-need-doc

/pulsarbot run-failure-checks

@MMirelli is this patch fixing your issue ?

@MMirelli is this patch fixing your issue ?

Hopefully, I haven't completed the testing yet. But yes it is an attempt to fix #13967.

/pulsarbot run-failure-checks

/pulsarbot rerun-failure-checks

@MMirelli I've run the test you mentioned and now it works with these changes. Also the integration tests are passing
@eolivelli @lhotari @merlimat @michaeljmarshall PTAL

@Jason918 would you be able to review these changes? thank you

It might not be related to this PR, but I don't understand the format of the metadata-store: URL. It's really odd that zk: in metadata-store:zk: seems to be optional. @merlimat What's the reasoning for this? Can you also review this PR?

Main reason was to accept my-zk:2181 and interpret it as a ZK address for backward compatibility. Eg: if you're passing just upgrading and you have  the zookeeperServers.
When configuring BK access, it has already its own prefix for the BK pluggable metadata. There we use the prefix metadata-store: to load the Pulsar plugin. Everything after that should be the same that the user has configured for Pulsar broker.

I have restarted CI. Merging as soon as it passes

/pulsarbot rerun-failure-checks


Updates for the HDA query generation

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/411
Originally created by @iroussos on 2019-02-23 12:06:53

Update the HDA query generation to fix some of the current issues we are facing:

Add the schema to queries sent to Postgres.

Use the connection defined by the Model in order to get the schema used at run time
Use that schema in the FROM clause of the base_join for all tables

Add support for multiple Aggregates over the same attribute. For example, AVG(price) and SUM(price) at the same time.

View 2 previous comments from the original issue on GitLab


Update Composer dependencies (2020-09-06-00-04)

Visual regression test passed!
View the visual regression test report


docs: add information on why user markers not appearing in local dev

Fixes Issue
Closes #5473

Changes proposed

Add information on why user markers not appearing in local dev to the Map Information Doc

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

The documentation now explains why user markers do not appear on the map page during local development and provide a solution to populate the database with location information. This change aims to help beginner developers who may face this issue while working on the project.
As discussed in issue #5473, I plan to create a new issue for adding a seed script to populate mock user location information to the database for local development purposes. This would make it easier for developers to test the map functionality without manually visiting multiple user profiles.

Hey @weilincheng The changes look good but I was wondering that some contributors might get confused as to what that script should be like if they want to try that way. So maybe we can provide a script for them to run. I saw your issue for the seed script. I guess in this info you can talk about that script to be run but of course first we need to add that script only then this can be merged. WDYT?

Hey @weilincheng The changes look good but I was wondering that some contributors might get confused as to what that script should be like if they want to try that way. So maybe we can provide a script for them to run. I saw your issue for the seed script. I guess in this info you can talk about that script to be run but of course first we need to add that script only then this can be merged. WDYT?

Hi @Ananya2001-an, thanks for the review. That's a good point about not mentioning the seed script in the documentation until it's been implemented. In the meantime, I'll remove any mention of the script from the documentation PR to avoid confusion and ensure that it can be merged as soon as possible so that the current situation is documented well.
Once the seed script has been added, we'll update the Map Information Doc and include instructions on how to run it.
Thank you for your feedback and please let me know if you have any further suggestions or comments.

We should mention running the automated tests and link to those docs will visit some profiles and create location information

@weilincheng Thanks for considering the feedback 👍🏼

Hi Eddie, thank you for suggesting the use of automated tests to populate the database with location information. I tried the automated tests and found that they do visit some user profiles and create location information in the database. However, I noticed that only one of the profiles contains real location information, while the rest have unknown location information.
To address this issue, I think it would be helpful to add a few more real profile visits to the automated tests so that more location information can be added to the database. In the meantime, I have updated the documentation as follows:

To display user markers on the map page during local development, you can run the automated tests. The automated tests will visit some user profiles and create location information in the database. This will allow the user markers to appear on the map. For more information on how to execute the automated tests, please refer to the [Automated Tests Doc](https://linkfree.eddiehub.io/docs/contributing/automated-tests). Alternatively, you can manually visit multiple user profiles to populate the database with location information.

Thank you again for your feedback, and please let me know if you have any further suggestions or comments. If not, I will go ahead to push the changes.

Looks great 👍

To address this issue, I think it would be helpful to add a few more real profile visits to the automated tests so that more location information can be added to the database

Good idea, select a few profiles and create a test file for maps, and visit those profiles in that single test file 👍

Looks great 👍

Great, thank you for reviewing the changes. I have pushed the update to the documentation.


Events

Basic usage:
multipass = require('multipass-torrent/cli/multipass');

multipass.onBuffering(function(source,perc) {
	console.log("Source: "+source);
	console.log("Percent: "+perc);
});

multipass.onFinished(function(source) {
	console.log("Finished with Source: "+source);
});

multipass.onFound(function(source,torrent) {
	console.log("Found Torrent:");
	console.log(torrent);
});

multipass.importQueue.push("https://kat.cr/usearch/2015/2/");

source is the url it is parsing, this is emitted with the events in order to distinguish between the progress / torrents of various pages that are being processed in parallel.

I'll make a few changes and then merge - instead of events_mod, just use events - the event emitter would be mp.events (mp being module.exports) and instead of various .onStuff functions you could just use mp.events.on()
Or even simpler, init MP as an EventEmitter, and then extend it with everything exported.
Then you can just do mp.on("buffering")
I'll take a look tomorrow morning

Ha! had a feeling you wouldn't like my jquery like events :))

Or even simpler, init MP as an EventEmitter, and then extend it with everything exported.

Thought didn't cross my mind, it sounds like the best choice.

Also (although this is not really important), my jquery-like events have the added advantage of method chaining (ie: multipass.onFound(...).onBuffering(...).onFinished(...))

EventEmitter supports that too. You can still .on("..").on("..")

(did not know that, sometimes i like to dig a hole in my back yard and pretend i'm a carrot)

Simplified, events can now be used in the form of:
mp = require('multipass-torrent/cli/multipass');

mp.on("Buffering",function(source,perc) {
    console.log("Source: "+source);
    console.log("Percent: "+perc);
});

mp.on("Finished",function(source) {
    console.log("Finished with Source: "+source);
});

mp.on("Found",function(source,torrent) {
    console.log("Found Torrent:");
    console.log(torrent);
});

mp.importQueue.push("https://kat.cr/usearch/2015/2/");

Merged, thanks @jaruba

I thought this moment will never come.. :))

I wanted to do some refactoring to simplify the API, but it's not going to be today
what do we say to the refactoring when we're swamped -> http://i1012.photobucket.com/albums/af244/FiercelyNormal/Not-today-1.gif


Operations can refer to previous ones in a migration file

This draft PR introduces the idea I had for letting operations refer to previously created resources in the same migration file. It is not yet complete, but I am putting it here to discuss whether this approach is acceptable to everyone.
I introduced two changes to the existing migration process:

Added a new function to Operation named DeriveSchema. It adds the newly introduced resources to the active schema.
Tracking on temporary names during the migration. Some resources are created with a temporary name before complete is called (e.g. tables).

The consequences of these changes are the following:

newSchema is no longer the "live" schema in the database. During Validate and Start phase it can contain resources that are not yet created. At this point, I do not see the problem with this.
All migration types have to implement DeriveSchema.

Closes https://github.com/xataio/pgroll/issues/203
Closes https://github.com/xataio/pgroll/issues/239

This looks like it's roughly a good direction. I've written some thoughts on doing this as part of a previous WIP attempt to do this.
Making Start, Complete, Rollback, and Validate work
Making Start operations aware of schema changes made by previous migrations is fairly easy; they just need to ensure they lookup any table or column names in s.Tables rather than using the name directly.
Making Validate work is harder. Validate could take a schema and update it in the same way that the Start operations do. Then Validate could be made indirection-aware in the same was as the Start methods; looking up all names in s.Tables. Alternatively,Validate could be changed to lookup either final or temporary versions of each name.
Complete works fine as is; the operations are completed in order so any tables/columns have the final name expected by a subsequent operation.
Not sure about Rollback. Operations would have to be run in reverse order, at least.
Making backfills work
Operations that cause backfills:

add column
drop constraint
alter column

Beware of double-backfills.

Two ops that duplicate the same column - the second op will try to duplicate the duplicated column because of the name mapping in the virtual schema.
Two ops that both create triggers for the same column will fail because they will both try to create a trigger with the same name.
Maybe we choose to not support two ops that backfill the same column in the same migration.

Virtual schema
We take the information about the columns from the virtual schema that is built up by each successive Start operation. This virtual schema is a mix of the schema that was retrieved from the database and the schema that is being built up by the operations that have been run so far. This schema contains limited information about new tables and columns - just their names and, for a table, the names of each of its columns.
Restrictions:

Can't alter a column that in a table that was created in the same migration, or a column in an existing table that was added by an 'add column' operation.

New columns have very limited information about them in the virtual schema, no type etc so they can't be duplicated, and there won't be enough info about PKs, UNIQUE etc to be able to perform a backfill.

You can add a new column to a table created in an earlier op, but backfill won't be possible, ie you can't specify 'up'

Again, the new table doesn't have enough into about it in the virtual schema to be able to perform a backfill.

Is it feasible to refresh the schema after each operation from the database?

This would overwrite any changes made by the operations so far, eg the mapping of old names to new names.
Could build a 'schema overlay' that contains the indirections made by the operations so far and put that over the schema retrieved from the database.
It's either that or put enough info about new tables and columns in the virtual schema manually to be able to perform backfills and duplications.

A more incremental approach is here:
https://github.com/xataio/pgroll/pull/449
Going one operation at a time, ensuring it can be started and validated when run on objects created in previous operations.

Closing in favour of the incremental approached kicked off by @andrew-farries


Support for Markdown notebooks

By popular demand, it is now possible to add a link to a public HackMD or open CodiMD notebook to sync the contents into the project README.
This PR additionally updates various dependencies, improves documentation, and adds a DRIBDAT_STYLE global environment variable as described in the README.

Markdown sync has now been extensively tested. The main issues are differences in the extent of Common Markdown support. For example, Misaka has a slightly different format of table rendering. We may want to consider switching to Python-Markdown, or at least importing the HTML rendered output from notebooks.


Minor updates to OGIP related files

Moved property decorators to follow Google style guide.
Major code cleanup for safety.
Implemented parallel per channel background fitting in EventList to increase speed. (~factor 3x for GBM TTE)
XRT example is still suffering from XSPEC models

@giacomov I was curious about this. I will make these changes now. They shouldn't conflict with anything you are doing. I also discovered that the way I was using parallel did not work on all GRBs. I was lucky with GRB 080916c because it had fewer events than newer GRBs. However, when the event list is too long, joblib crashed.
I will use the client and do more testing to see if it works better. If not, it will just take some time to fit the background.


using "count" in vm creation causes terraform to run forever

I've tried to use "count" in creating a new VM, but when I specify 2 or more instances, the terraform apply runs forever:
proxmox_vm_qemu.vm.1: Still creating... (7h44m24s elapsed)
proxmox_vm_qemu.vm.1: Still creating... (7h44m34s elapsed)
proxmox_vm_qemu.vm.0: Still creating... (7h44m34s elapsed)

When I run with a count of 1, it completes successfully. After the first has been created, I increment the count again to 2 and that works, but it fails/hangs when I go from 0 to 2.

i have the asme problem just by specifing 3 resources and runing apply. It creates one and then it keeps "waiting for ...."
If i exit and run it again it will create a second one..
If I repeat that it will create the third one.
destroy kills all 3 resources as expected.

The Promox provider tries to do 4 (default) operations in parallel. Try setting to just 1 to see if its ok.
provider "proxmox" {
pm_parallel = 1
}

Thanks,
It looks like the problem is that nextVmId fails resolving the next valid ID.
Example:

Existing vm with id (101, 102, 104, 105, 108)
Create 3 resources (with or without count)
pm_parallel = 1

It will get the first ID (103) correctly but the next one will fail:
[DEBUG] plugin.terraform-provider-proxmox: {"data":null,"errors":{"vmid":"VM 104 already exists"}})
I can see this in the API but I'm not sure why not always send the request without "?vmid=${vmid}" ?
       if currentID >= 100 {
		url = fmt.Sprintf("/cluster/nextid?vmid=%d", currentID)
	} else {
		url = "/cluster/nextid"
	}

We need to trace some more, but when the provider is making machines in pm_parallel > 1, the /cluster/nextid will return the same value, when asked multiple times before the actual node creation happens.

I just did a bit more googling on this and it looks like you guys ran into this before:
https://github.com/Telmate/terraform-provider-proxmox/issues/23
Also this is not specific to this provider, other people have had the same issue and suggest doing a wait/retry:
https://forum.proxmox.com/threads/qmrestore-doesnt-reserve-vmid.32260/#post-159554
Another option would be to allow the user to set the starting VMID, then you can increment that as well via count:
resource "proxmox_vm_qemu" "vm" {
    count       = "${var.vm_count}"
    name        = "${var.vm_name}${count.index + 1}"
    vmid         =  "${count.index + var.vmid_begin}"
    ...
}

variable "vm_count" {
  default = "2"
}

variable "vm_name" {
  default = "test"
}
variable "vmid" {
  default = "301"
}

this would produce VMs test1 and test2 with VMIDs 301 and 302 respectively

Hi,
I did a "dirty" fix that makes it possible to use vmid.
it also adds agent to the call so update is possible.
https://github.com/lunne/terraform-provider-proxmox
https://github.com/lunne/proxmox-api-go

@lunne I'm sorry, but I'm not seeing the difference between your fork and master. Can you please point out the difference?

Sorry, you need to select the branch "vmid" and on the api fork buggfixes-vmid

@lunne I added your changes, rebuilt the provider, gave it a new version number, but it still doesn't recognize vmid as a valid variable 😢
invalid or unknown key: vmid

And you updated and rebuilt both the provider and the API with the branches?
https://github.com/lunne/terraform-provider-proxmox/tree/vmid
https://github.com/lunne/proxmox-api-go/tree/buggfixes-vmid
resource "proxmox_vm_qemu" "test" {
vmid = 1010
}
Den mån 27 maj 2019 kl 02:20 skrev jperez3<EMAIL_ADDRESS>
@lunne https://github.com/lunne I added your changes, rebuilt the
provider, gave it a new version number, but it still doesn't recognize
vmid as a valid variable 😢
invalid or unknown key: vmid
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Telmate/terraform-provider-proxmox/issues/45?email_source=notifications&email_token=ABWGDKOFMAGZRX7FVNA6WTDPXMSNHA5CNFSM4HI3CWJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIQJUA#issuecomment-496043216,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWGDKMBJH6QCVXZFBECBS3PXMSNHANCNFSM4HI3CWJQ
.

Unsure if this will fix your issues, but i set my pm_parallel variable to more than the number of vm's i was creating.
This seems to fix the infinite hang.
provider "proxmox" {
  pm_parallel = 20
}

Unsure if this will fix your issues, but i set my pm_parallel variable to more than the number of vm's i was creating.
This seems to fix the infinite hang.
provider "proxmox" {
  pm_parallel = 20
}

Thank you! I'll have to try this out!

Hi, in searching for an answer to my problem I found this issue, which seems to be very close to what I'm having. Defining more than pm_parallel resources will cause the provider to hang indefinitely as it tries (but never actually tries, according to log) to provision them.

Unsure if this will fix your issues, but i set my pm_parallel variable to more than the number of vm's i was creating. This seems to fix the infinite hang.
provider "proxmox" {
  pm_parallel = 20
}

My testing did show this to resolve the issue. I feel like this should not be necessary however.


feat: all statement batching

Support batching of all statement types. Response messages are sent for each statement in the batch.
Cover most of the cases (not only the short-term solution to python driver) with the exception:

The remaining statements in a dml/ddl batch are skipped and throw exceptions if the dml/ddl batch fails in the middle. The preceding statements in dml/ddl batch may not take effect even though they succeed. The whole batch resumes after the dml/ddl batch.

@olavloite Do you have an idea why clirr and e2e-psql-xxx are failing?

The e2e psql tests are failing because some of those tests check whether they get an expected error when executing a mixed batch. That is no longer the case, as this PR introduces support for that. The psql tests work with text files that contain the expected output. If you take a look at the original draft PR, you will see that I changed the expected output of some of those (see for example dml-ddl-batching.txt: https://github.com/GoogleCloudPlatform/pgadapter/pull/30/files)
Clirr is failing because this PR introduces breaking changes in the public API of PGAdapter. I think we should disable clirr for this repository. It does not really make very much sense, as this is not a library that is imported as a dependency into other applications.

The e2e psql tests are failing because some of those tests check whether they get an expected error when executing a mixed batch. That is no longer the case, as this PR introduces support for that. The psql tests work with text files that contain the expected output. If you take a look at the original draft PR, you will see that I changed the expected output of some of those (see for example dml-ddl-batching.txt: https://github.com/GoogleCloudPlatform/pgadapter/pull/30/files)

I have already updated those expected output files. All tests were passed at last Friday, so I am surprised that they fail again. The psql receives error while expecting some outputs. Looks like the batch support doesn't take effect.

I fixed the logic of statement split to ignore escaped quotes. It should work now. @olavloite

Hi @olavloite Can you give a second round of quick review?


[Docs] Update show-file-changes script

Summary
Slugs are now generated using Astro's algorithm.
Removed Hugo-based code.

Stop send me emails !
Sent from my iPhone
On Aug 29, 2024, at 6:40 AM, cloudflare-pages[bot] @.***> wrote:

Deploying cloudflare-docs with  [Cloudflare Pages] https://pages.dev   Cloudflare Pages
Latest commit:  e220146
Status:  ✅  Deploy successful!
Preview URL:    https://0e18f058.cloudflare-docs-7ou.pages.dev
Branch Preview URL:     https://pedro-2024-08-29-docs-update.cloudflare-docs-7ou.pages.dev
View logshttps://dash.cloudflare.com/?to=/:account/pages/view/cloudflare-docs/0e18f058-f886-4bf9-ae20-e013270667a4
—
Reply to this email directly, view it on GitHubhttps://github.com/cloudflare/cloudflare-docs/pull/16523#issuecomment-2317289756, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIBNRASBYVNKVUUDNCWKANLZT33DHAVCNFSM6AAAAABNKD2MIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXGI4DSNZVGY.

To stop receiving emails you must change your repository watch settings to Ignore:

This is not something we can change on our end.

Changes tested successfully in #16538.


How to set properties of exceptions?

Don't we need a function to set properties
native function setProperties()

in the ballerina.lang.exception package?

Hi Frank, Since we have removed ballerina.lang.exception package and moved to error, this issue no longer exists.
Thanks,
Hasitha.


Problems with log-in since few days

Since few days, my adapter log shows:
botvac.0 | 2020-09-27 17:50:33.728 | warn | (757) login failed
did anyone knows what toDo? He sends this status every 15 minutes.. And the Bot is not working via script
Logindata is correct, Neato is functioning via mobileapp perfectly.
Please help.
Thanks

fixed.
work like a charme, like before

i don't know what happend, i don't changed anything

Problem is back.
Adapter cannot log into Neato account.
Please help
What is to do? What Logfile you need?

Please help
What is to do? What Logfile you need?
can anyone help?

reinstalling the adapter doesen't resolve the problem..
Please help:

`host.buanet-iobroker1
2020-10-01 21:46:41.207
info
Update repository "default" under "http://download.iobroker.net/sources-dist.json"

botvac.0
2020-10-01 21:45:30.751
warn
(16540) login failed

botvac.0
2020-10-01 21:45:30.610
info
(16540) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.botvac, node: v12.18.4, js-controller: 3.1.6

host.buanet-iobroker1
2020-10-01 21:45:27.804
info
instance system.adapter.botvac.0 started with pid 16540

host.buanet-iobroker1
2020-10-01 21:45:25.323
info
instance system.adapter.botvac.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)

botvac.0
2020-10-01 21:45:24.766
info
(16381) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason

botvac.0
2020-10-01 21:45:24.764
info
(16381) terminating

botvac.0
2020-10-01 21:45:24.761
info
(16381) Got terminate signal TERMINATE_YOURSELF

host.buanet-iobroker1
2020-10-01 21:45:24.752
info
stopInstance system.adapter.botvac.0 send kill signal

host.buanet-iobroker1
2020-10-01 21:45:24.741
info
stopInstance system.adapter.botvac.0 (force=false, process=true)

botvac.0
2020-10-01 21:45:04.220
warn
(16381) login failed

botvac.0
2020-10-01 21:45:03.998
info
(16381) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.botvac, node: v12.18.4, js-controller: 3.1.6

host.buanet-iobroker1
2020-10-01 21:45:00.525
info
instance system.adapter.botvac.0 started with pid 16381

host.buanet-iobroker1
2020-10-01 21:44:58.514
info
iobroker exit 0

`

Same Problem here.

botvac.0
2021-04-24 15:29:17.470
warn
(950) login failed

botvac.0
2021-04-24 15:24:16.738
warn
(950) login failed

botvac.0
2021-04-24 15:19:15.667
warn
(950) login failed

maybe related to #46
If the problem still exists with current release (2.0.1) please open a new issue and attach logs.


Footer icon doesn't move to Home page

When we click on the footer icon, It doesn't move to home page.
Could you please assign this issue to me under GSSOC'23.

how do i run this application on local host ?cant figure it out

how do i run this application on local host ?cant figure it out

These steps have worked for me.

git clone " url "
cd project-name
npm install
npm start

I'd like to work upon this issue if this hasn't been done yet.Pls assign it to me


[Feature Request]: Introducing GIF Backgrounds Specific to Temperature and Humidity Ranges

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Dynamic GIF backgrounds that change based on real-time temperature and humidity data. This feature aims to make the platform more visually engaging and provide users with an immersive experience by reflecting current weather conditions through animated backgrounds.
Use Case

Users visiting the platform can immediately perceive the current weather conditions of a specific location through visually dynamic GIF backgrounds.
As a user views different temperature or humidity data, the background automatically changes to reflect those environmental conditions in real-time.

Benefits
No response
Add ScreenShots
No response
Priority
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

can you please let me know how much time do you need to complete this issue @rebornstar1

Actually I was trying this but it's not looking good and maybe I think there's no need for this

Can you assign this task to me?


[UIKit] the toolbar is not showed up

I use RichTextView to replace UITextView. But there is no toolbars is showed up like the demo. Please help.
Do we need to do more configurations?

I've just noted in your SwiftUI demo, you use VStack { editor toolbar }.
There is no way that UIKit can work by using RichTextView only. (cause missing toolbar)

Hi @danielsaidi,  I'm using your code in demo (SwiftUI) . But the toolbar on the left looks weird, there are 3 undo buttons.

Oh, that's strange! Does it look like that in the demo??

I have copied the source code to my project, do some workarounds, it's worked now. Thanks


hubstaff: 1.6.24-094b0af9 -> 1.6.26-95441346

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hubstaff is: Time tracking software
meta.homepage for hubstaff is: https://hubstaff.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.25-9ec605bb with grep in /nix/store/npm57ry7whn41xdpd4d7rfjd32wdg2za-hubstaff-1.6.25-9ec605bb
found 1.6.25-9ec605bb in filename of file in /nix/store/npm57ry7whn41xdpd4d7rfjd32wdg2za-hubstaff-1.6.25-9ec605bb

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

hubstaff

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/npm57ry7whn41xdpd4d7rfjd32wdg2za-hubstaff-1.6.25-9ec605bb \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hubstaff https://github.com/r-ryantm/nixpkgs/archive/7dd8bc677881e067d18f2163322ae9eaec34bb1d.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7dd8bc677881e067d18f2163322ae9eaec34bb1d#hubstaff

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/npm57ry7whn41xdpd4d7rfjd32wdg2za-hubstaff-1.6.25-9ec605bb
ls -la /nix/store/npm57ry7whn41xdpd4d7rfjd32wdg2za-hubstaff-1.6.25-9ec605bb/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

hubstaff

Maintainer pings
cc @michalrus @srghma for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hubstaff is: Time tracking software
meta.homepage for hubstaff is: https://hubstaff.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.26-95441346 with grep in /nix/store/kv3vj8q4lsvnnlzjlp4q0ysqqippfwrk-hubstaff-1.6.26-95441346
found 1.6.26-95441346 in filename of file in /nix/store/kv3vj8q4lsvnnlzjlp4q0ysqqippfwrk-hubstaff-1.6.26-95441346

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

hubstaff

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kv3vj8q4lsvnnlzjlp4q0ysqqippfwrk-hubstaff-1.6.26-95441346 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hubstaff https://github.com/r-ryantm/nixpkgs/archive/27d67275a1f671e9ba90e216b4d3638bb1705dba.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/27d67275a1f671e9ba90e216b4d3638bb1705dba#hubstaff

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kv3vj8q4lsvnnlzjlp4q0ysqqippfwrk-hubstaff-1.6.26-95441346
ls -la /nix/store/kv3vj8q4lsvnnlzjlp4q0ysqqippfwrk-hubstaff-1.6.26-95441346/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

hubstaff

Maintainer pings
cc @michalrus @srghma for testing.

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


The git commit status is always marked as success before it is marked as failed

When committing bad values to force the git commit status as failed, the commit is first marked as success (before all resources are reconciled), then after the kustomize-controller retries, marked as failed. The commit should not have a status before all resources are reconciled. Here is my configuration for this use case.
My repo tree:
# tree
.
├── applications
│   ├── base
│   └── dev-cluster
├── clusters
│   └── dev-cluster
│       ├── flux-system
│       │   ├── gotk-components.yaml
│       │   ├── gotk-sync.yaml
│       │   └── kustomization.yaml
│       └── infrastructure-kustomization.yaml # My kustomization to reconcile /infrastructure/dev-cluster
├── infrastructure
│   ├── base
│   │   └── kyverno
│   │       ├── kustomization.yaml
│   │       ├── kyverno-alert.yaml
│   │       ├── kyverno-helmrelease.yaml # My test release with a failed value
│   │       ├── kyverno-helmrepository.yaml
│   │       └── kyverno-namespace.yaml
│   └── dev-cluster
│       ├── flux-notifications
│       │   ├── alerts
│       │   │   ├── infrastructure-alert.yaml # My GitLab alert
│       │   │   └── kustomization.yaml
│       │   └── providers
│       │       ├── alertmanager-provider.yaml
│       │       ├── gitlab-infrastructure-provider.yaml # My GitLab provider
│       │       └── kustomization.yaml
│       └── kyverno
│           ├── kustomization.yaml
│           └── values.yaml
└── README.md

My manifests:
# infrastructure-kustomization.yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
  name: infrastructure
  namespace: flux-system
spec:
  dependsOn:
    - name: flux-system
  interval: 5m
  sourceRef:
    kind: GitRepository
    name: flux-system
  path: ./infrastructure/dev-cluster
  prune: true
  wait: true
  timeout: 2m

According to the documentation (https://fluxcd.io/docs/components/kustomize/kustomization/#health-assessment), with wait and timeout the kustomize-controller will wait all resources are reconciled to mark the Kustomization as ready.

# gitlab-infrastructure-provider.yaml
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Provider
metadata:
  name: gitlab-infrastructure
  namespace: flux-system
spec:
  type: gitlab
  address: https://myrepo
  secretRef:
    name: provider-gitlab-infrastructure-token

# infrastructure-alert.yaml
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Alert
metadata:
  name: infrastructure
  namespace: flux-system
spec:
  providerRef:
    name: gitlab-infrastructure
  eventSeverity: info
  eventSources:
    - kind: Kustomization
      name: infrastructure
      namespace: flux-system

And the GitLab jobs:

I am unable to replicate this on my end. I committed invalid yaml  but got only one failed job.
What kind of bad values are you committing to git?

These values (with spec.values.resources.requests.cpu: 10mm):
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: kyverno
  namespace: kyverno
spec:
  releaseName: kyverno
  chart:
    spec:
      chart: kyverno
      version: v2.1.10
      sourceRef:
        kind: HelmRepository
        name: kyverno
        namespace: flux-system
  interval: 5m
  install:
    remediation:
      retries: 3
  values:
    resources:
      requests:
        cpu: 10mm
        memory: 128Mi
      limits:
        cpu: 500m
        memory: 1Gi
    initResources:
      requests:
        cpu: 10m
        memory: 64Mi
      limits:
        cpu: 100m
        memory: 256Mi


Status Light For Atom M5?

I've been trying to make this work and just can't.  My ESPHome skills aren't up to par yet.  Is there a way to be able to light the RGB LED when the Atom boots, and leave it lit?
Why?  Because it seems like my Atom is just not working, BUT, I can write software to it.  It's not coming up on my home WiFi, but it also isn't advertising its own AP/Captive Portal either.  So, having an "I'm booted" status light would just prove it's at least on.
Better would be a thing like:

Blue: Booted (Step 1)
Green: Connected to WiFi (Step 2)

Is it this device you have?

If so, add this:
light:
  - platform: fastled_clockless
    chipset: WS2812B
    pin: 27
    num_leds: 1
    rgb_order: GRB
    id: status_led
    name: M5Atom Light
    effects:
      - random:
      - flicker:
      - addressable_rainbow:

binary_sensor:
    platform: gpio
    pin:
      number: 39
      inverted: true
    name: M5Atom Button
    on_press:
      then:
        - light.toggle: status_led
        - homeassistant.event:
            event: esphome.button_pressed
            data:
              button: M5Atom Button
    on_press:
      then:
      - light.toggle: status_led

This should make it so the LED will do something when you press the button and so, signal that something is alive.
Also, the ATOM has only 2.4Ghz WIFI, so, if your router is 5Ghz, it will not connect.

I had to remove that last on_press: stanza (it was a dup from above a few lines), but that gave me something to prove it's on.  This will help a lot.  Thanks!  On to the next problem...

Nice! For WIFI, lots to say, but if it can't connect, you can have it be a WIFI hotspot with a captive portal, that could be the next step.

It's connecting to WiFi now.  Sorry to say, bad access point.  My challenge now is, no free expansion ports.  I closed it up for the day, but, I'll take some photos later in the week.  Since RS485 is just taps on a bus, I may make a splitter cable of sorts...but I'll need to find the proper connectors to do that.

Yes, a splitter cable should work fine. Do you have 2 or two expansion ports? What modules do you have?
Normally it's not a cheap board. I have one and can confirm it's a dumb splitter for the RS485 pins. The two I2C pins seems to have plenty of pull up resistors, but does not matter for this use case.


Truncated output when reading data not readily available

I've been trying to pinpoint a weird behaviour I have with this library.
If I decrypt a file from disk it works fine using the example in the README (had to dig up your copy implementation which I found on your blog).
If I decrypt a file I get on the fly from the network (from an s3 bucket in my case), the output is truncated leading either to 0 length decrypted files or truncated files.
I've pinpointed this to a weird behaviour I'm seeing here : https://github.com/exceptionfactory/jagged/blob/6080163015d71c0c8fbc93895f683b9085c6092b/jagged-framework/src/main/java/com/exceptionfactory/jagged/framework/stream/DecryptingChannel.java#L110-L115
if readPlainBuffer returns -1, the content read in previous iterations of the loop is thrown away and read is set to EOF, basically ignoring all the data that's been read so far, BUT, that data has been written into the outputBuffer, thus the caller's ByteBuffer has changed but the method returns that it hasn't.
My guess is that you tested with files small enough to not cause read(buffer) to fill the buffer, but when reading from the network, things work slightly differently (buffers are not always filled up, read can return 0 in some cases, etc.).
The code is complex and I might be misunderstanding what's happening, for now, I've replaced jagged with a stream that passes data to the age binary using ProcessBuilder and everything works (pointing to jagged doing something wrong).

Thanks for raising this issue and the describing the situation @bendem.
You are correct that the behavior would be different when reading from a network channel, and that the read call may not always return data, requiring multiple iterations.
The issue seems to be related to the fact that when the DecryptingChannel receives an EOF, it returns an EOF, instead of saving that state and returning the number of bytes read. Adjusting to the behavior would probably resolve the issue, so this is a helpful prompt for a closer evaluation.
Are you able to provide a code snippet that references the reading from the DecryptingChannel?

I can't provide a fully reproducible case right now, the case happens with the aws s3 sdk:
try (
    ResponseInputStream<GetObjectResponse> object = s3.getObject(builder -> builder
        .bucket(bucket)
        .key(key));
    ReadableByteChannel ageChannel = channelFactory.newDecryptingChannel(
        Channels.newChannel(object),
        Collections.singletonList(stanzaReader));
    HashingStream hashingStream = new HashingStream("SHA256", Channels.newInputStream(ageChannel))
) {
    hashingStream.transferTo(outputStream);
}

I'll see later this week if I can isolate it to present a reproducible test case for you.

Thanks for the reply and code snippet, that is helpful. If you have a reference to the code for HashingStream in particular, that would be helpful. The wrapping of Channels.newInputStream() is a useful pointer. I plan to take a closer look at this soon.

@bendem I put together pull request #2 adjusting the behavior of DecryptingChannel.read() to return the number of bytes read into the provided ByteBuffer before returning -1 prematurely. The updated unit test provides some verification of the behavior, but if you are able to pull the branch and try the changes, that would be a helpful confirmation.

The code looks fine, I'll be sure to try and test this tomorrow if I can get everything to build locally.

Thanks @bendem! Glad to release a new version once you are able to evaluate the changes.


Provide a way to determine whether tags, stats, or trace classes are no-op implementations.

The no-op implementations can often be used to avoid unnecessary if statements, but it is important to be able to check whether they are no-op when necessary.
See https://github.com/census-instrumentation/opencensus-java/issues/215#issuecomment-296304442

This probably should apply to all.

This probably should apply to all.

I'm not sure I understand.  Do you mean all of stats, tags, and tracing, or all classes?

#659 adds a getState method to Tags and TagsComponent.

Even if we have getState and setState methods, users may want to be able to check whether setState(ENABLED) will be ignored.  See the discussions in #659 and #673.

@bogdandrutu Do you have any examples of use cases where users would want to distinguish between the no-op implementation and functionality turned off programmatically?

One use case for checking whether the implementation is available is performance optimizations that rely on stats, tagging, and tracing never being turned on at runtime.  For example, @zhangkun83 mentioned that gRPC could skip initializing the CensusStatsModule if there was no implementation.

Another use case is allowing libraries that depend on OpenCensus functionality to report a more specific error when an implementation isn't available.


[Bug] yAxis labels does not match the values in line chart

Version
5.2.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-stack&version=5.2.2
Steps to Reproduce

Just Open
Compare xAxis labels with values

Current Behavior
yAxis labels do not match the expected values
Expected Behavior
yAxis labels should approximately match values in the chart.

Environment
- OS: Win10
- Browser: Chrome Version 97.0.4692.99 (Offizieller Build) (64-Bit)

Any additional comments?
No response

Not a bug, this is a stacked line

Interesting, I did somehow miss the stack Total option :sweat_smile: ...

Removing this attribute does produce the desired behavior.
Thanks @susiwen8


[askscript] How about we implement push/append to an array?

While writing AskScript examples, I wanted to append to an array twice already.
Alas, the best I could do is to write:
arr:set(arr:length, value)

which is not that easy readable.
I'd prefer to have push/append, like in Javascript:
  let result = [];
  for (let i = 1; i <= m; ++i) {
    result.push(n*i);
  }

@czerwinskilukasz1 push is agains the principle of immutable data. If we come up with some syntax sugar it will still translate to:
result = result:push(n*i)

Sure sure, I'm totally fine with result = result:push(elem).

Hey @mhagmajer  and @czerwinskilukasz1 , as I have asked elsewhere also, if you could guide me where and what needs to be done to get this fix, I would do so.

I'm new to this codebase, but  want to contribute.

Hi Aditya, welcome to AskQL again :)
This task is pretty straightforward, comparing to the one with double let expression. The task is to create a new resource (aka function) called push, which will live in src/askvm/resources/list/, same as set resource, which is currently defined.
Please use src/askvm/resources/list/set.ts as an example how resources are defined and how they work.
Let me know if you have more questions.

Hi Aditya, welcome to AskQL again :)
This task is pretty straightforward, comparing to the one with double let expression. The task is to create a new resource (aka function) called push, which will live in src/askvm/resources/list/, same as set resource, which is currently defined.
Please use src/askvm/resources/list/set.ts as an example how resources are defined and how they work.
Let me know if you have more questions.  @avats-dev

Closed with https://github.com/xFAANG/askql/pull/510 from @bardeutsch 👏


Inference Speed Gradually Slows Down with Multiple Inferences

Hello,
I've encountered an issue with your Huggingface demo where the inference speed gradually slows down after multiple inferences. I tested this multiple times both on your demo and locally, and the speed consistently degrades over time.
After some investigation, I identified the cause of the slowdown. In the app.py file from lines 329 to 360 (https://huggingface.co/spaces/baulab/ConceptSliders/blob/main/app.py), the repeated loading of LoRa files causes the inference speed to slow down, despite the cache clearing commands present in the code.
I also attempted to load multiple LoRa files initially and then select a specific LoRa file for inference, but the speed issue persisted.
Could you please look into this issue?
Thank you!

I think it has to do with initializing there lora multiple times in a loop? I need to look into this.
Meanwhile if you find anything, please let me know, that will be super helpful! Thanks


Allow a line of dialogue to be followed by a jump without needing a choice

Renpy does this with jump, Ink does it with ->

Closed by 78d361c58239da1c7350b631c4996e84b66dd235.

Closed with 78d361c58239da1c7350b631c4996e84b66dd235.

Closed by a201a09c68fa5d6bdbc3f02357042b2e6fc5aa2d.


Mentor onboarding modal

Ticket
closes #
Checklist

[x] There are no warnings in the browser console
[ ] I made sure the component is WCAG compliant using ANDI
[x] I made sure the UI follows the style guide in the wireframe (font, font-size, etc...)
[ ] I made sure that the screen reader can read all the text
[x] I made sure I removed all the console.logs
[x] I made sure mobile portrait view looks good
[ ] I made sure mobile landscape view looks good
[x] I added storybook for the component

[ ] Storybook not applicable

[ ] I added unit test coverage

[ ] I added integration test coverage
[ ] Unit test coverage not applicable

To Do

[ ]

Additional Notes

Having trouble testing material UI textfields

[ ] fix styling for iPad Pro
[ ] fix unlimited call stack when selecting timezone

Autocomplete

Native Select

Desktop View

Mobile View


chore: remove secondary entrypoint reexport config

Follow-up to #17046

Yeah, we don't need it anymore, but until we are confident enough to remove it from the repo I think maintaining it for the most part makes sense

Yes. agreed. that's the actual plan. :+1:


Initial tool

Design:
claude-to-sqlite claude-export.zip claude.db

Using the export from: https://support.anthropic.com/en/articles/9450526-how-can-i-export-my-claude-ai-data

Shipped to PyPI: https://pypi.org/project/claude-to-sqlite/


Replace createDefaultMiddleware with defaultMiddleware

Closes #14

This looks great to me. Based on https://github.com/markerikson/redux-starter-kit/issues/14#issuecomment-371258114 it might be a good idea to either free the array or turn it into a function to prevent accidental mutations of the defaults. What do you think?

@nickmccurdy pushed the changes based on https://github.com/markerikson/redux-starter-kit/issues/14#issuecomment-371258114

@markerikson If you approve of this, could we get this merged and published? It would be a breaking change technically.


Test nanopb <IP_ADDRESS>

#no-changelog

Tests ran as expected. All tests passed except those where I didn't update the Podfile which failed correctly.


Widget wont dispose eventually

Describe the bug
Exception is thrown, possible memory leak on devices.
Logs
I/flutter (21090): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (21090): The following assertion was thrown while finalizing the widget tree:
I/flutter (21090): _EmptyListWidgetState#0e91d(tickers: tracking 1 ticker) was disposed with an active Ticker.
I/flutter (21090): _EmptyListWidgetState created a Ticker via its TickerProviderStateMixin, but at the time dispose()
I/flutter (21090): was called on the mixin, that Ticker was still active. All Tickers must be disposed before calling
I/flutter (21090): super.dispose().
I/flutter (21090): Tickers used by AnimationControllers should be disposed by calling dispose() on the
I/flutter (21090): AnimationController itself. Otherwise, the ticker will leak.
I/flutter (21090): The offending ticker was:
I/flutter (21090):   _WidgetTicker(created by _EmptyListWidgetState#0e91d(lifecycle state: created, tickers: tracking 1
I/flutter (21090):   ticker))

To Reproduce
Steps to reproduce the behavior:

Create a empty project with tabbar, showing EmptyListWidget in every bar.
Go forth and back quickly many times among the bars, exception will be thrown

Expected behavior
Errors not happening

@brunodmn issue is fixed.

Thank you!


Check status code before parsing response

Check that the status code is between 200 and 299 before parsing JSON. Return an appropriate error otherwise.

Makes sense to me. :+1:

@thoughtbot/ios any thoughts here?

looks good

Good stuff. 202!

Good!


🛠 : Fix for missing useInheritedMediaQuery

Thanks, I'll add them to VWidgetRouter and VCupertinoRouter as well and push the change !

And sorry for the delay, no idea why this took me so long to accept


Update build script

This PR updates the build script to most recent versions.
Cake is now a dotnet-tool.
The script also supports VS 2022.

Thanks , i will check it soon


run samples-dubbo-business-call all the time to report Waiting server-side response timeout

Why run samples-dubbo-business-call all the time to report Waiting server-side response timeout

Upgrade the fescar version to solve


Add vote totals by candidate to state heading

This resolves issue #54

👋 Sorry my PR introduced some merge conflicts here when I moved the IterationSummary calculations into their own function.

👋 Sorry my PR introduced some merge conflicts here when I moved the IterationSummary calculations into their own function.
Could you rebase/merge master to pull in the changes?

Yep! one sec.