How to configure heartbeat with elasticsearch?

Could you please guide me to how to configure heartbeat.yml for easly access with elasticsearch?
I'm tried following configuration...still no luck :(
###output
output.elasticsearch:
hosts: ["https://<IP_ADDRESS>:9200"]
protocol: "https"
username: elastic
password: changeme
#Use SSL settings for HTTPS.
ssl.enabled: true
ssl.certificate_authorities: ["/path/elastdocker/secrets/certs/ca/ca.crt"]
#ssl.certificate: "/path/elastdocker/secrets/certs/elasticsearch/elasticsearch.crt"
#ssl.key: "/path/elastdocker/secrets/certs/elasticsearch/elasticsearch.key"
###tried - not working
https://www.elastic.co/guide/en/beats/heartbeat/8.0/elasticsearch-output.html
###test
root@test:/etc/heartbeat# heartbeat test output
elasticsearch: https://<IP_ADDRESS>:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: <IP_ADDRESS>
dial up... OK
TLS...
security... WARN server's certificate chain verification is disabled
handshake... ERROR x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Elastic Certificate Tool Autogenerated CA")

I tried this handshake problem is solved but still can't connect with elasticsearch
output.elasticsearch:
hosts: ["https://<IP_ADDRESS>:9200"]
protocol: "https"
username: 'elastic'
password: 'changeme'
ssl.enabled: true
ssl.certificate_authorities: ["/path/elastdocker/secrets/certs/ca/ca.crt"]
ssl.verification_mode: none
#ssl.certificate: "/path/elastdocker/secrets/certs/elasticsearch/elasticsearch.crt"
#ssl.key: "/path/elastdocker/secrets/certs/elasticsearch/elasticsearch.key"

just  "ssl.verification_mode: none" works


Feature/victor/mistral

Mistral Implementation using the same current formatting as OpenAI

Waiting on model type discussion before merge


messages with < in them dissapear

sphinx <1.7 got converted to sphinx

This is specifically <[.*] that seems to be getting matched.

fixed by https://github.com/Cadair/matrix-appservice-slack/commit/f75c59fc6eab60cdb8e24011a5aa8fa788c34756


Access IDR data available on S3

Several of the IDR studies are now also available on S3 see https://idr.github.io/ome-ngff-samples/. Note that some from the BioImageArchive are also available at https://uk1s3.embassy.ebi.ac.uk/bia-zarr-test/bia_examples.html
We have prepared examples notebook around some of those studies

https://github.com/ome/omero-guide-python/tree/master/notebooks Look for notebooks with zarr in the file name
https://github.com/ome/omero-guide-cellprofiler/blob/master/notebooks/idr0002_zarr.ipynb: example using CellProfiler
https://github.com/ome/omero-guide-ilastik/tree/master/notebooks: example using ilastik
https://github.com/ome/omero-guide-fiji/blob/master/notebooks/imagej_python_zarr.ipynb example using imagej python

We are also preparing material for https://github.com/IDR/idr0125-way-cellpainting/tree/main/notebooks
we have more examples if required

Hi @jburel - Thanks for providing these resources! Sorry for not responding sooner, I just saw this issue now.
We are currently not focused on IDRstream in the short term, but hope to dive back in once we have more clarity on a couple outstanding items, hopefully mid-year.


Update lync-server-2013-choosing-a-topology.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

server-2013/lync-server-2013-choosing-a-topology.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


File Path

The path should be "C:\Program Files (x86)\Microsoft Skype for Business Network Assessment Tool", not "C:\Program Files\Microsoft Skype for Business Network Assessment Tool" in this section: https://docs.microsoft.com/en-us/microsoftteams/upgrade-prepare-environment-prepare-network#test-for-opened-ports

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

ID: 8e8b2651-40bb-0d26-6126-d88689047f23
Version Independent ID: 5be83c7d-ef7f-5582-4a6c-f0709fb2ec7b
Content: Prepare your network for Microsoft Teams
Content Source: Teams/upgrade-prepare-environment-prepare-network.md
Service: msteams
GitHub Login: @Turgayo
Microsoft Alias: turgayo

@Lester-Hewett in Turgay's absence, could you confirm this?

@officedocsbot assign @scanum

@danmyhre Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


Update to EF Core 9

fixes #175

Happy to push the package?

Sure, I guess - we can always release a patch or minor version later if we do more stuff here.

@roji Yes, I was hoping we could release a minor version when regex in Azure SQL finally goes GA

@ErikEJ I think it's also fine to simply release the regex support now - before the Azure SQL feature goes GA. We can document the fact that it use a prerelease feature on the server side (we're doing that elsewhere for the new JSON and vector types).

@roji Sounds great, in that case I would like someone to look at my PR 🙏


Update setup scripts to handle update of EAP to latest patch

Update setup scripts to handle update of EAP to latest patch.
Adding yum update -y

Kicked off Validation Actions: https://github.com/azure-javaee/rhel-jboss-templates/actions


Duplication Issue (1.0.16)

You can duplicate placeable items (blocks) with this mod. How to replicate is as follows:
It requires two players, the owner of the claim block and the duplicator. The owner places a claim block and gives permission to open storages (chests) but not place blocks. The duplicator will then place a block. It'll break and drop the block, but the duplicator will still have it in their inventory, duplicating it. Unknown if a mod compatibility issue causes this or not, as I am unable to test it on my own, but the problem has occurred in modpacks.

What version of Minecraft are you using? It shouldn't drop blocks as I'm canceling place event which Forge removes it and normally bypasses any drop logic. Does it happen with cobblestone or dirt blocks?

If you can give me a modpack that has this issue then I can test it.

The modpack was Dawncraft (version 1.6_hf). I think it was a mod incompatibility issue, as it happened when someone was trying to place enchanted books. I don't know which mod it was (I think apotheosis?). I didn't do any testing as I quickly had to remedy the issue and made the claim blocks unavailable.

The issue is with Supplementaries mod.

One solution for books is to turn that feature off in config/supplementaries-common, section tweaks.placeable_books with enabled = false

version 1.0.17 should fix this issue


Add Nhost

This adds Nhost to the providers by bringing #20 up to speed with most current updates, specifically the UI.
Closes #20

@Tobbe I agree about the array in the redwood.toml. It actually caused some troubles when trying to implement this PR. I've updated it to a multiline array

Maybe I'm missing something here, but shouldn't decoded be an actual decoded token?

This is supabase, there you get a decoded token

I went ahead and merged. The decoded issue has nothing to do with this PR.
@nunopato Do you have any ideas about why it's not decoding the token? (See my previous comment(s))

@Tobbe will look into it, and report back later today.

@Tobbe and @nunopato The reason is that there is no decoder implemented in: https://github.com/redwoodjs/redwood/tree/main/packages/api/src/auth/decoders
If it is to be decoded with a secret, see: https://github.com/redwoodjs/redwood/blob/main/packages/api/src/auth/decoders/supabase.ts for an example.

@dthyresson Thanks DT. That jogged my memory. We did discuss this when the provider was added.
https://github.com/redwoodjs/redwood/pull/1725#discussion_r574268636

@Tobbe @dthyresson is this good to go or do you want me to add a local decoder?

@nunopato Please have a look here: https://github.com/redwoodjs/redwood/pull/2350


Fix triggerSubmit with no args

Prevent exception from being thrown if triggerSubmit is called without args.

Thanks for helping out! Really sorry for being so unresponsive 🤐


Composer require error

Sup! I'm having an issue while trying to add the apidoc-generator to composer.
There's a message: "Can only install one of: php-di/invoker[2.0.0, 1.3.3]".
When I downgrade php-di/invoker it works but it's not compatible with my app, otherwise it doesn't allow me to install it.
Any ideas? :)

Nevermind, i analised here and found out that the issue is a conflict with gettyimages api.
Thanks.


Manager shutdown task reset testing

Currently resettings tasks on a manager after a forced shutdown from the server (heartbeat not detected) is not tested as shown by the recent bug #388. Testing this is going to be difficult as we need a test long enough to complete long enough to force a manager shutdown during the testing cycle. Making sure there are not odd latency issues here causing sporadic failures will be important.

Fixed in #385.


Support attacking basic structural binary formats (JUMBF, CBOR) used in c2pa manifests

Both JUMBF and CBOR have numerous binary formatting requirements that could result in buffer overruns if malicious values are set and a memory-unsafe parser is used without appropriate checks.
A couple very simple examples:

JUMBF field indicating that its size is longer than the remainder of the entire manifest
CBOR array length longer than the number of items in the actual array

As such, attack manifests that have malicious values for these types of things should be included in any security test suite.

I currently have a simple fuzzer written for the c2pa-rs project. I haven't published it yet because I am still conducting some experiments. Although, that fuzzer is also specific to the c2pa-rs SDK. Since the c2pa-rs library won't be used by everyone within the c2pa community, there is also a need for a more generalized approach to fuzzing C2PA implementations.
My current plan is to publish guidance and some supporting files within this project for taking an existing open-source fuzzer and applying it to generic C2PA implementations. This would have the following advantages:

Existing open-source fuzzers are robust and there is no need to re-invent the wheel.
The command line for this project would become too complicated if we were to add more command line flags for a home-grown fuzzer
The guidance and sample files could be applied by anyone within the C2PA community regardless of whether they use c2pa-rs.

Although, I am open to discussion if you have additional ideas on how to support people seeking to do binary fuzzing.


--dump-json not returning valid JSON when being used with a YouTube playlist

Checklist

[ ] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2021.04.26
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--no-call-home', u'--dump-json', u'https://www.youtube.com/playlist?list=PLVJa0bdiLG6H9zOYoNEt_J-PtQFrp22wx']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2021.04.17
[debug] Python version 2.7.18 (CPython) - Linux-5.8.0-50-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Default format spec: bestvideo+bestaudio/best

Description

When running youtube-dl as follows:
youtube-dl --verbose --no-call-home --dump-json https://www.youtube.com/playlist?list=PLVJa0bdiLG6H9zOYoNEt_J-PtQFrp22wx

The output created does not appear to be valid json.
For example the result returned by the command above : https://gist.github.com/ainsey11/194d475b925341497ed7f998d52d89e2
if you run this through a simple JSON parser, it errors, example code:
❯ node
Welcome to Node.js v16.0.0.
Type ".help" for more information.
> JSON.parse(fs.readFileSync('./debug.log').toString())
Uncaught SyntaxError: Unexpected token { in JSON at position 37665

you can see on the end of the rows in the gist, that there is no , seperator and that the bottom row appears to be missing a closing object char }
Please can you advise if this is a bug or expected behaviour?

Output from a common online JSON validator too:

The info_dict for each playlist item is separately dumped. Try --dump-single-json for your application: the items are in a list that is the value of the entries element of the JSON object returned.

That's perfect and worked for my use case,
it's a slightly different to the format I was expecting but I can still work with the output, that was very useful and thank you!

Marking as closed as expected behaviour


Noisy EC data when importing from Zilien tsv, cannot be replaced by adding biologic files

When importing Zilien, an ECMSMeasurement is created, which makes a lot of sense. However, (at the moment), EC data is sampled differently in Zilien, which in some cases can mean that the EC data is more noisy than in the corresponding biologic file. When using the biologic reader and adding this ECMeasurement to the ECMSMeasurement (using the '+' operator), it seems that the EC columns are not replaced, but instead added (which makes sense). When then plotting the resulting ECMSMeasurement using .plot_measurement, however, this results in the "raw potential" and "raw current" somehow being the two different EC measurements lying on top of each other (the length of the "grabbed" array is also higher in the combined Measurement than the original one even if cutting to the same t_span).

I've enabled a way to do this (the update is on the [fuzhou] branch). If you read zilien specifically as an MSMeasurement, it will now leave out the EC stuff. Then you can add it in from the .mpt's.
from ixdat import Measurement

meas = Measurement.read("my_file.tsv" , reader="zilien"
meas.plot()  # two panels, top has MS and bottom has noisy EC

from ixdat.techniques.ms import MSMeasurement

meas = MSMeasurement.read("my_file.tsv" , reader="zilien"
meas.plot()  # just one panel, with MS data. No EC data to be found

See this more example (switch out the files with your files): https://github.com/ixdat/ixdat/blob/Fuzhou/development_scripts/reader_testers/test_zilien_reader.py
Hopefully this also solves #20

Importing only MS data from the Zilien file and biologic data solves this issue (and also #20 ). I close this issue now, even though the actual issue described (which EC current/potential is prioritized when adding a biologic imported EC object to a Zilien imported ECMS object?) is not actually solved (but it's not longer a problem in my workflow).


can't deploy cf-deployment

Hello there
I have some trouble deploying cf on openstack. Have followed the following tutorial:
https://docs.cloudfoundry.org/deploying/openstack/index.html
Everything except a few steps didnt work well.

When i deploy the envionment it says it needs the "cf2" network, which is not listed in the template manifest of cf, so i added it manually, copied just the cf1 and changed the values, it looks now like this:

networks:
  - name: floating
    type: vip
    cloud_properties:
      net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
      security_groups: []
  - name: cf1
    type: manual
    subnets:
    - range: <IP_ADDRESS>/24
      gateway: <IP_ADDRESS>
      reserved:
      - <IP_ADDRESS> - <IP_ADDRESS>
      - <IP_ADDRESS> - <IP_ADDRESS>
      dns:
      - <IP_ADDRESS>
      static:
      - <IP_ADDRESS> - <IP_ADDRESS>
      cloud_properties:
        net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
        security_groups: ["cf"]

  - name: cf2
    type: manual
    subnets:
    - range: <IP_ADDRESS>/24
      gateway: <IP_ADDRESS>
      reserved:
      - <IP_ADDRESS> - <IP_ADDRESS>
      - <IP_ADDRESS> - <IP_ADDRESS>
      dns:
      - <IP_ADDRESS>
      static:
      - <IP_ADDRESS> - <IP_ADDRESS>
      cloud_properties:
        net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
        security_groups: ["cf"]

Now it doesn't complain about missing networks, but the build still fails.
I can see that bosh is trying to start vm's but they are not connected to the given network in the manifest. they are just "floating" around and deleting after a while because of no connection to the instance which makes completely sense in this case.
I had the same problem with initializing bosh, but i could bypass the problem with a dynamic network configuration.
I tried also to modify cf-manifest to deploy it with dynamic network, which will not work..
Do i miss something or do i have a wrong configuration?`Or is it maybe a bug in the templates?
Cheers, mamu

Hi @mamu-icc
It seems like the networking work-around that you described should work. But let's make sure that everything with that is good. Could you post the output of bosh vms? Also, could you post the deployment manifest with sensitive data redacted? That will help us find any potential problems in the deployment configuration (for example, if you're trying to deploy to the second AZ).
It's very possible that your deployment manifest is fine and the problem lies somewhere else. For debugging purposes, could you also create a gist with the debug logs for the deployment task (by running bosh task TASK_ID --debug)? Again, make sure to redact any sensitive information, such as passwords.
David && @nimakaviani
CF Release Integration Team

Hi @dsabeti
First, Thank you for the fast response!
Second, here is my cf-stub.yml:
`---
director_uuid: 2857865a-c95a-4efa-884c-60fc0d9b92b7
meta:
environment:
floating_static_ips:
networks:

name: floating
type: vip
cloud_properties:
net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
security_groups: []

name: cf1
type: manual
subnets:

range: <IP_ADDRESS>/24
gateway: <IP_ADDRESS>
reserved:

<IP_ADDRESS> - <IP_ADDRESS>
<IP_ADDRESS> - <IP_ADDRESS>
dns:
<IP_ADDRESS>
static:
<IP_ADDRESS> - <IP_ADDRESS>
cloud_properties:
net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
security_groups: ["cf"]

name: cf2
type: manual
subnets:

range: <IP_ADDRESS>/24
gateway: <IP_ADDRESS>
reserved:

<IP_ADDRESS> - <IP_ADDRESS>
<IP_ADDRESS> - <IP_ADDRESS>
dns:
<IP_ADDRESS>
static:
<IP_ADDRESS> - <IP_ADDRESS>
cloud_properties:
net_id: 61d93361-fd32-4db0-b28a-16cb057940c1
security_groups: ["cf"]

properties:
domain:
system_domain:
system_domain_organization:
app_domains:
ssl:
skip_cert_verify: true
cc:
staging_upload_user: bosh-cf
staging_upload_password:
bulk_api_password:
db_encryption_key:
uaa_skip_ssl_validation: true
consul:
reqiure_ssl: false
dea_next:
disk_mb: 2048
memory_mb: 1024
loggregator_endpoint:
shared_secret:
login:
protocol: http
nats:
user: natsuser
password:
router:
status:
user: routeruser
password:
uaa:
admin:
client_secret:
cc:
client_secret:
clients:
cc_routing:
secret:
cloud_controller_username_lookup:
secret:
doppler:
secret:
gorouter:
secret:
tcp_emitter:
secret:
tcp_router:
secret:
login:
secret:
notifications:
secret:
jwt:
verification_key: -----BEGIN RSA PRIVATE KEY-----
                    -----END RSA PRIVATE KEY-----
  signing_key:
scim:
  users:
    - admin||scim.write,scim.read,openid,cloud_controller.admin,doppler.firehose

ccdb:
roles:
- name: ccadmin
password:
uaadb:
roles:
- name: uaaadmin
password:
databases:
roles:
- name: ccadmin
password:
- name: uaaadmin
password:
jobs:

name: ha_proxy_z1
networks:

name: cf1
default:

dns
gateway
properties:
ha_proxy:
ssl_pem: |
-----BEGIN RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

name: api_z1
templates:

name: cloud_controller_ng
release: cf
name: cloud_controller_clock
release: cf
name: cloud_controller_worker
release: cf
name: metron_agent
release: cf
name: statsd-injector
release: cf
name: nfs_mounter
release: cf
name: route_registrar
release: cf

name: api_worker_z1
instances: 0
name: clock_global
instances: 0
`
And here is my bosh-debug:

bosh-cf-log.txt
Hopefully without sensitive data.
In OpenStack, after trying to spawn the vm's for the deploy, it says "No valid host was found" but when i start manually a virtual machine it pops up as "Active" in seconds...So therefore i exclude Openstack as a problem (its a running system more than 1 year now)
Question about the networks:
Does cf1 and cf2 has to be  two seperated networks with a subnet or for each a subnet within a network?
Or should cf create those automatically?
Cheers

Based on the error message in the debug log, the bosh team think that the error:
External CPI got response: {"result":null,"error":{"type":
"Bosh::Clouds::VMCreationFailed","message":"Server `03d3c2dc-c0ab-4a30-be44-2380e088c1a5' state is error, expected active","ok_to_retry":true}

is a result of not being able to bind an IP to the VM.
Some CPIs emit logs which can be viewed via bosh task <task-id> --cpi - if the openstack CPI emits these logs it could be helpful for you to post them here.
The networking for this CF deployment seems ok - one network with multiple subnets should be fine.
When you say "I had the same problem with initializing bosh, but i could bypass the problem with a dynamic network configuration." do you mean you observed the same issue deploying bosh using bosh-init?
@voelzmo do you have any thoughts on the above error deploying to bosh?

Our working theory is that bosh is trying to assign an IP to a VM it created but that IP is already in use.
The bosh team suggest that the openstack IAAS logs (e.g. NOVA) would be helpful. Please post sanitized IAAS logs.
This is probably not a cf-specific issue, but rather something relating to how bosh is interacting with the IAAS. The CPI is essentially getting a 500 back from the IAAS API.

@robdimsdale @mamu-icc The OpenStack CPI currently doesn't put the logs into bosh task <task-id> --cpi, you have the CPI logs within the --debug log. That'll be fixed soon for all CPIs with one of the next Bosh releases.
In your CPI logs I see
"message\": \"No valid host was found. Exceeded max scheduling attempts 3 for instance 03d3c2dc-c0ab-4a30-be44-2380e088c1a5.

Which can unfortunately mean a number of things. Usually it is one of the two:

make sure the IP address (in this case <IP_ADDRESS>)
make sure the IP address <IP_ADDRESS> is actually in the network with the net ID 61d93361-fd32-4db0-b28a-16cb057940c1

Hope that helps.

Hello there
Thank you very much for helping me out in this.
I probably found the problem.** --> ** Openstack Juno problem with fixed IP's
So its not directly an CloudFoundry / Bosh-Problem
I will test it this afternoon and will give feedback.
Cheers, Valon

Hello there
I just patched our openstack environment with the needed patch and started to build bosh / cf from scratch. The bosh environment worked without any problems with manual networking after applying this patch to openstack juno:
https://review.openstack.org/#/c/158435/
So for me it solved this issue.
Thanks for all the fast help and i wish you a very nice working week.
Cheers from Switzerland.


python310Packages.protonvpn-nm-lib: 3.5.0 -> 3.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.protonvpn-nm-lib is: "ProtonVPN NetworkManager Library intended for every ProtonVPN service user"
meta.homepage for python310Packages.protonvpn-nm-lib is: "https://github.com/ProtonVPN/protonvpn-nm-lib"
meta.changelog for python310Packages.protonvpn-nm-lib is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.7.0 with grep in /nix/store/vzid4vv222idysrb69vswvn9yhjs9305-python3.10-protonvpn-nm-lib-3.7.0

found 3.7.0 in filename of file in /nix/store/vzid4vv222idysrb69vswvn9yhjs9305-python3.10-protonvpn-nm-lib-3.7.0

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

5 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
protonvpn-gui
python310Packages.protonvpn-nm-lib
python39Packages.protonvpn-nm-lib

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vzid4vv222idysrb69vswvn9yhjs9305-python3.10-protonvpn-nm-lib-3.7.0 \
  --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 python310Packages.protonvpn-nm-lib https://github.com/r-ryantm/nixpkgs/archive/179ec15eef826ec678b1696f3e462069ff390faa.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vzid4vv222idysrb69vswvn9yhjs9305-python3.10-protonvpn-nm-lib-3.7.0
ls -la /nix/store/vzid4vv222idysrb69vswvn9yhjs9305-python3.10-protonvpn-nm-lib-3.7.0/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

3 packages built:

protonvpn-gui
python310Packages.protonvpn-nm-lib
python39Packages.protonvpn-nm-lib

Maintainer pings
cc @wolfangaukang for testing.

addressed by https://github.com/NixOS/nixpkgs/pull/155891


After moving the splitter toggle to expand left column to maximum is not working

Here is my HTML:

Surprisingly it does work for the right panel!
You can try it live at http://editor.swagger.io. You'll need to move the splitter a little before toggling to get the error.

+1
The same happens in @widmoser's plunker in #162

It looks like the Holy grail demo (ui-layout v1.0.5) doesn't have this issue.

In ui-layout v1.0.5, you will not get this issue and also it will not support ng-repeat.
You can try ui-layout v1.3.1 it will support both.

Anyone take the time to see what the diff between the two versions (and subsequent versions) were that caused the break?

Looks like someone found a solution here
Problem still open with 1.4.3.
Reproduction case demo/demo4.html with Chrome play a little with the toggle buttons and you will see the  problem.
Looks like someone found a solution here (it is not me)
http://stackoverflow.com/questions/34310279/angular-ui-layout-toggle-not-working
I will PR this fix.

+1

calculate issue when the afterbutton click. the root cause due to do not update the uncollapsedSize of prevContainer when toggleAfter.
I have created a pull request for this bug fix. #228


OpenEnclave: Compilation fails with -nostdinc due to cpuid.h inclusion

cpuid.h is not available within the enclave and compiling with -nostdinc results in the following:
Building CXX object 3rdparty/snmalloc/CMakeFiles/oesnmalloc.dir/allocator.cpp.o
cd /home/anakrish/work/repo2/build/3rdparty/snmalloc && export CCACHE_CPP2=true && /usr/bin/ccache /usr/bin/clang++-7   -I/home/anakrish/work/repo2/build/output/include/openenclave/libcxx -I/home/anakrish/work/repo2/build/output/include/openenclave/libc  -g -O0   -mllvm -x86-speculative-load-hardening -Wall -Werror -Wpointer-arith -Wconversion -Wextra -Wno-missing-field-initializers -fno-strict-aliasing -Wno-type-limits -mxsave -I/home/anakrish/work/repo2/include -I/home/anakrish/work/repo2/3rdparty/libcxx/libcxx/include -I/home/anakrish/work/repo2/3rdparty/musl/musl/include -I/home/anakrish/work/repo2/build/output/include/openenclave/libc -Wno-conversion -Wno-macro-redefined -ftls-model=local-exec -nostdinc -nostdinc++ -fPIE -ffreestanding -mcx16 -fno-exceptions -fvisibility=hidden -std=c++14 -std=c++17 -o CMakeFiles/oesnmalloc.dir/allocator.cpp.o -c /home/anakrish/work/repo2/3rdparty/snmalloc/allocator.cpp
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/allocator.cpp:30:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/malloc.cc:1:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/slowalloc.h:1:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/globalalloc.h:3:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/../ds/helpers.h:3:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/../ds/bits.h:8:
In file included from /home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/../ds/../aal/aal.h:131:
/home/anakrish/work/repo2/3rdparty/snmalloc/./snmalloc/src/override/../mem/../ds/../aal/aal_x86.h:7:12: fatal error: 'cpuid.h' file not found

So PLATFORM_IS_X86_SGX is not being defined, as your build is using the standard x86 abstraction layer. @achamayou can you look at this.

Solved in https://github.com/anakrish/openenclave/pull/1


[DOUBT] Unofficial Quantized Model in HuggingFace Repo Safe and Perfect to use ?

There are no Official Quantized Model So Will Team Support Quantized Version Official or Not ? As you can see Following are the only unofficial quantized models available so i thought to ask regarding that like is it safe to use ? Will it provide similar performance ? Has anyone from team or community member tested those ones out ?

Hello, the official AI model can be downloaded here:
https://github.com/CodePhiliaX/Chat2DB-GLM?tab=readme-ov-file


Android Basics: classes-and-inheritance

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-classes-and-inheritance?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-classes-and-inheritance#1
In which task and step of the codelab can this issue be found?
2. What is a class hierarchy?
Describe the problem
At the end of the page
<<Learn more here.
57cd75bd819126bb.png <-- this image is broken
As you can see, learning to leverage inheritance among classes can make your code easier to write, reuse, read, and test.>>
Additional information

@danielcesarini
Thank you for reaching out to us. The issue is fixed and published.


Add 'nghttp2' / 'nghttp2_asio' package

Current progress:
https://github.com/ckaminski/nghttp2/tree/v1.25.0-hunter
Currently only builds the libraries nghttp2/nghttp2_asio.

Do you need fork in https://github.com/hunter-packages?

If that would be appropriate.
I'm not sure the best-practices for integrating into the overall Hunter architecture.
For testing locally I would add a Hunter.cmake/project in my local Hunter directory?
~/.hunter/_Base/Download/Hunter/0.19.80/4b72d50/Unpacked/cmake/projects/
And I would eventually want to send a PR to ruslo/hunter when I've shown it's working, correct?

in my local Hunter directory? ~/.hunter/_Base/Download/Hunter/0.19.80/4b72d50/Unpacked/cmake/projects/

No, don't touch it. It's something fixed.
As mentioned here you need to clone this repository, then add new package code. After code added you can pack new Hunter archive and use it in HunterGate with corresponding URL and SHA1 to test it's actually working.
You can pack it on-the-fly and run examle with this script:

https://github.com/ruslo/hunter/wiki/dev.hunter.root#jenkinspy

Based off of the HunterGate sample:

-- [hunter *** DEBUG *** 2017-09-15T14:24:14] load: /home/ckaminski/.hunter/_Base/Download/Hunter/0.19.80/4b72d50/Unpacked/cmake/projects/Boost/filesystem/hunter.cmake ... end
-- [hunter *** DEBUG *** 2017-09-15T14:24:14] Boost find config
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   regex
--   system
--   filesystem
-- [hunter *** DEBUG *** 2017-09-15T14:24:14] load: /home/ckaminski/.hunter/_Base/Download/Hunter/0.19.80/4b72d50/Unpacked/cmake/projects/nghttp2/hunter.cmake

[hunter ** INTERNAL **] HUNTER_<name>_VERSION can't be empty
[hunter ** INTERNAL **] (nghttp2)
[hunter ** INTERNAL **] (probably `hunter_config(...)` missing in config file)
[hunter ** INTERNAL **] [Directory:/home/ckaminski/.hunter/_Base/Download/Hunter/0.19.80/4b72d50/Unpacked/cmake/projects/nghttp2]

Using the following Hunter.cmake:
include(hunter_add_version)
include(hunter_cacheable)
include(hunter_pick_scheme)
include(hunter_download)
include(hunter_report_broken_package)

#include(hunter_cmake_args)
#include(hunter_configuration_types)

hunter_add_version(
    PACKAGE_NAME
    nghttp2
    VERSION
    "1.25.0"
    URL
    "https://github.com/ckaminski/nghttp2/archive/v1.25.0-hunter.zip"
    SHA1
    3018c38593267c62c0d6ceefd2d6f861161ca562
)

# Drop dependencies
#hunter_cmake_args(
#   nghttp2
#        CMAKE_ARGS
#            EXTRA_FLAGS=--without-python --without-lzma --without-zlib
#)

#hunter_configuration_types(nghttp2 CONFIGURATION_TYPES Release)
hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(nghttp2)
hunter_download(
    PACKAGE_NAME nghttp2
#    PACKAGE_INTERNAL_DEPS_ID "1"
#    PACKAGE_UNRELOCATABLE_TEXT_FILES
#    "lib/pkgconfig/libxml-2.0.pc"
)

Ok.  Thank you.

I have forked and updated in https://github.com/ckaminski/hunter/tree/nghttp2
[hunter ** INTERNAL **] HUNTER_<name>_VERSION can't be empty
[hunter ** INTERNAL **] (nghttp2)
[hunter ** INTERNAL **] (probably `hunter_config(...)` missing in config file)
[hunter ** INTERNAL **] [Directory:/home/ckaminski/.hunter/_Base/Download/Hunter/unknown/4d63163/Unpacked/cmake/projects/nghttp2]

Based on the HunterGate example (I know there's still some errors on the link libraries):
cmake_minimum_required(VERSION 3.0)

SET( HUNTER_STATUS_DEBUG ON)

include("cmake/HunterGate.cmake")
HunterGate(
    URL "https://github.com/ckaminski/hunter/archive/nghttp2.zip"
    SHA1 "4d631630ee66aa4711c6753ff6ff746405cee043"
#    URL "https://github.com/ruslo/hunter/archive/v0.19.80.tar.gz"
#    SHA1 "4b72d50fef98189bad4bb098f53bc8893cb46519"
)

project(Foo)

#hunter_add_package(Boost COMPONENTS regex system filesystem)
#find_package(Boost CONFIG REQUIRED regex system filesystem)

hunter_add_package(nghttp2)
find_package(nghttp2)

add_executable(foo foo.cpp)
target_link_libraries(foo PUBLIC Boost::regex Boost::system Boost::filesystem nghttp2
)

I also ran jenkins.py and received the same error.    I have a few wiki fixes to that link if I may?  (git submodule steps missing, formatting...)

You need to update cmake/configs/default.cmake.
From documentation:
Second, specify version in default config:

> grep Example cmake/config/default.cmake
hunter_config(Example VERSION 1.0.1)

Things are looking better, thank you.
So in my hunter.cmake, I specified the following:
hunter_config(Boost VERSION 1.64.0
    CMAKE_ARGS
    BUILD_SHARED_LIBS=ON
)

And in my test project, I specify:
cmake_minimum_required(VERSION 3.0)
SET( HUNTER_STATUS_DEBUG ON)
include("cmake/HunterGate.cmake")
HunterGate(
    URL "https://github.com/ckaminski/hunter/archive/nghttp2.zip"
    SHA1 "4d631630ee66aa4711c6753ff6ff746405cee043"
)

project(Foo)

set(Boost_USE_STATIC_LIBS OFF)
set(BOOST_ALL_DYN_LINK ON)
hunter_add_package(Boost COMPONENTS regex system filesystem)
find_package(Boost "1.64.0" REQUIRED regex system filesystem)

hunter_add_package(nghttp2)
find_package(nghttp2)
add_executable(foo foo.cpp)
target_link_libraries(foo PUBLIC Boost::regex Boost::system Boost::filesystem nghttp2)

I'm getting the following:
/usr/bin/ld: /home/ckaminski/.hunter/_Base/4d63163/e1266bb/b48b5bd/Install/lib/libboost_system-mt.a(error_code.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
`
Looking in that lib directory, I don't see any .so's.  So I have a two-fold question here:

Is there a way to pass a version of Boost from foo/CMakeLists.txt to nghttp2
I am using the proper format to trigger shared library build, yes?

From my reading, it's clear I should be using
find_package(Boost CONFIG REQUIRED)
But it's not clear to me how I'm overriding "CONFIG" to give it the version I want?
I'm starting to suspect I'm getting collisions with 1.65 and 1.64 and attempting to override, but back to #1 above, I'm not sure if there's a clean way to denote a version from parent to child dependency?

So in my hunter.cmake, I specified the following

Not in hunter.cmake but in config.cmake:

https://github.com/ruslo/hunter/wiki/example.custom.config.id#custom-package-version

set(Boost_USE_STATIC_LIBS OFF)
set(BOOST_ALL_DYN_LINK ON)

This will be set by Hunter.

From my reading, it's clear I should be using
find_package(Boost CONFIG REQUIRED)
But it's not clear to me how I'm overriding "CONFIG" to give it the version I want?

Rule of thumb is to use same instructions as you see in documentation:

https://docs.hunter.sh/en/latest/packages/pkg/Boost.html

I'm starting to suspect I'm getting collisions with 1.65 and 1.64 and attempting to override

Such collisions are not possible by design in Hunter. They will go to different config-id:

https://docs.hunter.sh/en/latest/overview/customization/config-id.html

Thank you so much for being patient with me.
I see that I wasn't using LOCAL with HunterGate.

https://github.com/ckaminski/hunter-example/issues/1
I'm getting a crash when I run a copy of the nghttp2 clients in a certain configuration, which I'm comparing to the native build.  I'm too tired and befuddled to continue tonight, but I think I have the biggest problems tackled.

So a clearing of the build cache, and I think what I'm seeing is a mis-match of static and shared openssl.
nghttp2 builds using static OpenSSL, but my example builds with dynamic libs.

nghttp2 builds using static OpenSSL, but my example builds with dynamic libs

It means that you're using system OpenSSL while building nghttp2 and using Hunter OpenSSL while building you local project? You should "hunterize" nghttp2 in this case:

https://docs.hunter.sh/en/latest/creating-new/create/cmake-dependencies.html

you are correct - I am missing hunter_add_package(OpenSSL)
https://github.com/ckaminski/nghttp2/blob/v1.25.0-hunter/CMakeLists.txt

So the upstream project doesn't support static library builds.  This is the only bit I think is left until this package is ready.
A check on BUILD_SHARED_LIBS=ON and output a fatal message if not set correctly would be the way to go here?
I would like to correct this deficiency in the future, but that's a bigger task than I think I want to scope here.

If the project doesn't support it then this is a problem for the project and user who will use it, so it's up to you.

I like having clear understanding of why things fail, so having an error message makes sense.  I'm going to spend some time this weekend working on Windows/ Cygwin.

I think I'm ready to push to https://github.com/hunter-packages
I have not been able to work on Windows yet, but I hate leaving things unfinished.


FEAT: Support gptq quantization

Add https://huggingface.co/Qwen/Qwen-7B-Chat-Int4
Add https://huggingface.co/Qwen/Qwen-7B-Chat-Int8
Add https://huggingface.co/Qwen/Qwen-14B-Chat-Int4
Add https://huggingface.co/Qwen/Qwen-14B-Chat-Int8
Add https://modelscope.cn/models/qwen/Qwen-7B-Chat-Int4/summary
Add https://modelscope.cn/models/qwen/Qwen-7B-Chat-Int8/summary
Add https://modelscope.cn/models/qwen/Qwen-14B-Chat-Int4/summary
Add https://modelscope.cn/models/qwen/Qwen-14B-Chat-Int8/summary

These models are also supported by modelscope.

These models are also supported by modelscope.

OK. Modelscope support is included in this PR.

Have you checked if it works on UI?

Have you checked if it works on UI?

I have checked gptq from both sources, the huggingface and modelscope.


Will you make the compiler open source?

If yes, when?

@blazekadam good question, I believe it is in the road map but I'm not sure what's the timeline for that will be!
Let me check with our team and will let you know!

@blazekadam
There is no schedule to release the compiler as open source.   Is there a new feature you wish to add, or some new application that we have not thought of?


Pythonic filenames

Replaces all CamelCase file and directory names with CamelCase ones.
Also:

remove the redundant MPF prefix from the mpframework types
removed some unused imports
added relevant imports to one or two __init__.py files

Contains changes from #57, so be sure to review that one first.

ah grumble grumble - this didn't actually change the casing of any directory names... I'll fix this up in the morning and reopen


Delete Public SSH Key tmp file after calculating fingerprint

When using LDAP User Synchronization (#1478) with LDAP Public SSH Keys synchronization (#1844), the public key fingerprint calculation might be running with a quite high frequency.
As the tmp-files for calculating public key fingerprint is not deleted, the system could end up with lots of public tmp files causing inode issue and running out of disk space.
This PR addresses this issue by cleaning up the tmp file after the fingerprint has been calculated.

LGTM
overall we should use ssh-keygen -lf - and pass keycontent in those cases. This will limit write for performance and maybe preserve some fragile fs like sd card (ex: rpi)

@lafriks - Yeah, nice catch. And if writeTmpKeyFile returns an empty string, there's no file to remove. The defer statement will cause the remove to run even if empty string is returned, thus I guess it's better to put it right before the last return statement and remove the defer statement.

Thanks guys! @lafriks @sapk

LGTM


Test: Smoke Tests

#91278

[x] Windows @sbatten
[x] OS X @mjbvz
[x] Linux @aeschli
[x] Web (Chromium) @RMacfarlane
[ ] Web (Firefox) @joaomoreno
[ ] Web (macOS Webkit) @chrmarti

Complexity: 2
Run the smoke tests and report issues for any test failures https://github.com/Microsoft/vscode/blob/master/test/smoke/README.md#run. ⚠ Desktop tests MUST run with --stable-build argument ⚠
If the automated tests fail, create and issue for that and run the tests manually: https://github.com/microsoft/vscode/wiki/Smoke-Test

@chrmarti I switched my slot with yours since I do not have macOS.

@sbatten @mjbvz fyi those tests that target --stable will not function for this iteration because the smoke test was improved to detect opened editors more reliably. Unfortunately that required changes in the workbench itself which are not part of the 1.42 release.
So I suggest to not run with --stable for this time and do the following manual test:

open stable on a user data dir and build up some UI state
verify this UI state is restored opening that in insiders

Same for dirty files (untitled and normal files).

@Tyriar I am not sure these instructions make it clear that we must run with --build to test against insiders and not out of sources. Not sure if you copied this from some template but then we should update that.

Yeah, Search tests fail on Linux Web Firefox as well... and that triggers everything else to fail, so I'll wait for Search to be fixed and run this again tomorrow. cc @JacksonKearl @roblourens

@joaomoreno you could comment out or use .skip on the search test to unblock yourself?

Commenting out search just makes others fail. Anything related to quick open seems not to work at all. More specifically: anything related to input boxes.
I know people have tested web on Firefox (@bpasero ?), so this is maybe Linux specific?

Created https://github.com/microsoft/vscode/issues/91609


Save final PDFs based on language code

To help automate statement deployment to CMS.

Wow, mind-blowing. OK OK will also modify the affected callers.
apio-2021 branch will be created later by cherry-picking commits. PRs are raised to seek comments only.

Fixed!


Adapt the ruby-doc.org for the recent design changes

Ruby-doc.org has a new design so this extension needed an overhaul. Here's what's changed:

This removes the DuckDuckGo search override because ruby-doc's own internal search is now good enough for me.
The Ruby version selection widget now only includes supported versions (though if you are viewing docs for an unsupported version, it will try to add that version to the dropdown).
Github links to C source files are gone because it appears the source filenames are no longer part of the design.

Here's what it looks like:

The Ruby version in the nav bar is a version selector instead of a link
The nav bar sticks to the top of the content
The # fragment updates as you scroll through the document


can not use telescope to find word

Version confirmation

[X] Confirm

Following prerequisites

[X] Confirm

Neovim version
NVIM v0.10.0-dev-836+g6d93bdd45-Homebrew
Operating system/version
macos 12.5
Terminal name/version
iTem2
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
install the latest version,but can not use telescope to find word in current project!
And it happen error when  fw:

but i can find file in current project.It is a bug?
Expected behavior
can use telescope to find word in current project
Actual behavior
can not use telescope to find word in current project!
And it happen error

but i can find file in current project.It is a bug?
Additional information
No response

Can't repro for me.
Try rm -fr ~/.local/share/nvim/site/lazy/telescope.nvim and reopen nvim.

After reinstall, same problem. Still, i can use <leader>ff, but cannot use <leader>fw

After reinstall, same problem. Still, i can use <leader>ff, but cannot use <leader>fw

do you install ripgrep in your system?

After install ripgrep, it fix.
Thanks a lot.
close


"or it could specify no-cache in which case the data should not be cached" is incorrect

Unfortunately "no-cache" does not mean that data should not be cached.  "no-store" means that data should not be cached.  "no-cache" tells a cache not to serve the cached copy until it has been re-validated.

I have clarified this in the doc. I have switched to "no-store", but added a note advising readers not to fall into the same trap that I did with "no-cache".


Fails silently if no foenixmgr.ini present

Should report an error, or use defaults.

Thanks. I'll take a look at it. I thought it was going to fall back on defaults.

Doesn't seem to work - still crashes w/o the ini file.

As of September 21, 2024 (commit #102adb76) the program outputs a message to the console stating "No proper foenixmgr.ini file found" when started without an ini being present.


Message that ERROR's out on DL, also erroring out on DL --ids

This may be just an FYI, but two messages on this open list are giving ERRORS when DL'd by the archiver, and fail even using --ids.  This is an open group and the messages are:
https://groups.yahoo.com/api/v1/groups/Autism-Mercury/messages/16793
https://groups.yahoo.com/neo/groups/Autism-Mercury/conversations/messages/28684

Alright, I gather this is a metadata error on yahoo's part; so I'll close this.


[AzureMonitorexporter] fix operation name

When using Asp.Net Core Routing rules, our Exporter is currently recording the full pattern as the Operation Name.
This means that requests to different Controllers or Actions will show identical Operation Names, as shown in this screenshot.

This can be reproduced in an MVC app configured like this:
app.MapControllerRoute(
    name: "default",
    pattern: "{controller=Home}/{action=Index}/{id?}");

My test app has a HomeController and CustomerController. Regardless which controller is invoked, The url.path shows the correct Controller/Action. The http.route shows the configured pattern.

https://localhost:44311/Home/Index
Activity.ActivitySourceName: Microsoft.AspNetCore
Activity.DisplayName:        GET {controller=Home}/{action=Index}/{id?}
Activity.Kind:               Server
Activity.Tags:
    server.address: localhost
    server.port: 44311
    http.request.method: GET
    url.scheme: https
    url.path: /
    network.protocol.version: 2
    http.route: {controller=Home}/{action=Index}/{id?}
    http.response.status_code: 200

https://localhost:44311/Customer/Index
Activity.ActivitySourceName: Microsoft.AspNetCore
Activity.DisplayName:        GET {controller=Home}/{action=Index}/{id?}
Activity.Kind:               Server
Activity.Tags:
    server.address: localhost
    server.port: 44311
    http.request.method: GET
    url.scheme: https
    url.path: /Customer/Index
    network.protocol.version: 2
    http.route: {controller=Home}/{action=Index}/{id?}
    http.response.status_code: 200

This is in part due to the data provided by the OpenTelemetry.Instrumentation.AspNetCore library, where the configured pattern  is used as http.route. This is a known issue in that library: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5056
Changes

adjust TraceHelper to better handle cases where http.route contains a controller pattern.
Add more test cases

With this change:

@TimothyMothra Could you confirm if the output with this change matches with the output when exporter without this change is used with 1.6.0-beta.3 version of the instrumentation library?

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

@TimothyMothra Could you confirm if the output with this change matches with the output when exporter without this change is used with 1.6.0-beta.3 version of the instrumentation library?

Good catch. I needed to make the same change to the GetOperationName (v1) method.

Thank you for this!

Routes should not be fully populated if you don't want to blow up cardinality on requests i.e. when you go to app insights, you should see something like /Controller/Method/{id} and not /Controller/Method/123, otherwise you can't get accurate statistics in most views for request timing etc

Closing this PR for now. Tracking the issue here: https://github.com/Azure/azure-sdk-for-net/issues/41650
Were going to work with the OpenTelemetry community to see what fixes can be applied there.


server entry point

Hi,
the current picard version defines this entry point in its package.json:
    "./server": {
      "require": "./dist/server/picard.js",
      "import": "./dist/server/picard.mjs",
      "types": "./dist/server/picard.d.ts"
    }`

However, the referenced files are missing.

I think, there are further references to the server folder in the package.json, in exports and in module and main``.

Yes that is to be renamed to "node" in 0.3.0.

Update shipped - latest preview package should have the right exports field.
https://www.npmjs.com/package/picard-js/v/0.3.0-pre.14


Advertise GPU sampling in docs

Maybe this can be called out explicitly in https://www.pymc-marketing.io/en/stable/notebooks/general/other_nuts_samplers.html
Thoughts @juanitorduz? Or maybe this is completed?

Some good items here:

[ ] Add new or to existing notebook
[ ] Add to the features list in the README / index

Any thing else @cluhmann?

I think a small notebook demonstrating one or more (maybe it makes sense to demonstrate all) of the GPU-aware samplers and maybe some of the diagnostics one performs to make sure the GPU is registered/available? If the latter is omitted, it could probably just be some raw markdown I guess.


Bluetooth: host: Avoid processing "no change" encryption changes

If the new encryption state is the same as the old one, there's no point in doing additional processing or callbacks. Simply log a warning and ignore the HCI event in such a case.

Nitpick, use "...: Host:.." in commit title as used in BT Spec documentations.

Changed, but we really lack consistency with this. I used lower case as a reference the host subdirectory under subsys/bluetooth/. Same as I'd use "Bluetooth: drivers:" for drivers/bluetooth/. The statistics of this usage looks like this atm:
❯ git log subsys/bluetooth/host/|grep 'Bluetooth: Host:'|wc -l
     272
❯ git log subsys/bluetooth/host/|grep 'Bluetooth: host:'|wc -l
     472

Nitpick, use "...: Host:.." in commit title as used in BT Spec documentations.

Changed, but we really lack consistency with this. I used lower case as a reference the host subdirectory under subsys/bluetooth/. Same as I'd use "Bluetooth: drivers:" for drivers/bluetooth/. The statistics of this usage looks like this atm:
❯ git log subsys/bluetooth/host/|grep 'Bluetooth: Host:'|wc -l
     272
❯ git log subsys/bluetooth/host/|grep 'Bluetooth: host:'|wc -l
     472

As that Spec has all its occurences as Host, it will make sense we do so in the our documentations.


Chore: Set jsx-a11y eslint plugin to error instead of warn

          Hi @FatumaA, you had expressed interest in this issue. Would you like me to assign it to you?

What I'd suggest is install and enable the jsx-a11y eslint plugin, but instead of setting it to error, set it to warn for now.
Yourself and others can create separate issues to tackle warnings one at a time.
I'll create a separate issue to set it to error once all the warnings have been resolved.
Originally posted by @nickytonline in https://github.com/open-sauced/app/issues/2264#issuecomment-2360978515

Blocked until #2264 is resolved.


Make it more clear that 'tedious' is not just a word

Found this page while working on a test project and I was confused. I got the joke after reading the entire thing but having some formatting in the file would help a bit to call out that this is a term (ie, package name) rather than just being...the word tedious. :)

@richardpark-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@richardpark-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

#sign-off


Refactor HttpUtils to improve performance

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


Staging

Refactor config file and constructor modules and add unit testing. Also include minor bug fixes.
API Changes:

change all instances of raise_if_exists to raise_on_err

in the yaml spec file, removed support for module definitions. Services are now specified with service instead of class:
For example:
default-profile: myapi
profiles:
  myapi:
    api:
      user_config:
        username: 'My Name'
        contact<EMAIL_ADDRESS>    authorities:
      local:
        args:
          - "/path/to/local/dir"
        service: OSFS
    cache: {}
    manager:
      class: DynamoDBManager
      kwargs:
        resource_args:
            endpoint_url: "http://localhost:8000/"
            region_name: "us-east-1"
        session_args:
            aws_access_key_id: "access-key-id-of-your-choice"
            aws_secret_access_key: "secret-key-of-your-choice"
        table_name: "my-table-name"

Coverage increased (+12.4%) to 89.732% when pulling 925aba2b698f2872a7411589e29b2c5eb6aad059 on staging into 2f8f4afa89938614656c0fb1e1ad4fafdb23aae0 on master.


Multiple email templates option upon rejecton

Feature requested by
@P4NK4J
The goal
Streamline job application workflow in the employee portal
Describe the problem
At ColoredCow, we believe that everyone wants to do good. Given the right platform, and growth trajectory, people can produce outstanding outcomes. To prove this hypothesis, we have invented a talent pipeline model, CodeTrek, through which we can create talent at all levels. While on the scalability path, we want to hire people at all levels and create meaningful things together.
For hiring a good fit fresher, we have evaluations set up in the application workflow in the employee portal. If the application doesn't meet the expectations, we have the option to reject it and send an email to the candidate.

In case we find the candidate can be a good fit if they join CodeTrek, the current system doesn't support sending that communication. If there would have been multiple email options, sending information about CodeTrek would have been helpful.
Describe the solution you would like to propose
We would like to have a secondary email template when an application is rejected, in any of the rounds. Upon selecting the Reject option, a modal appears, if Send email is checked, we would like to have two different labels - General communication and CodeTrek proposition in place of Option1 and Option2.

The generic email template is associated with a particular round, it can be kept in the same way. While the CodeTrek proposition email template can be added via seeder in the settings table using keys codetrek_proposition_subject and codetrek_proposition_body.
Upon selecting any of the tabs, the corresponding email template should be rendered (you can use AJAX for the same). Currently, the Put On Hold function follows a similar workflow, you can take reference from there.
The email template will have the following structure
Subject: Your Job application with ColoredCow
Body:
Hi |*APPLICANT_NAME*|,

Thanks for considering ColoredCow as your next Career choice.

As we see you applied for |*JOB_ROLE*| but somehow this job requires different skills than your current resume reflects.

Alternatively, if you want to build your Software Development skills as a Trainee, we are inviting candidates to our Tehri and Dwarahat offices. Drop us an email at<EMAIL_ADDRESS>to know more about the program.

Thanks again for applying.

HR Team
ColoredCow

Point of contact for guidance
@Ayush8923

sir, UI should be like this.

sir , should i also made reject application box

@GauravGusain98 @Ayush8923 Sir, above in the issue, it is mentioned that two options appear when the 'send mail' is selected. However only one template is made available above. Could you please provide the template or give an idea for the templates.

@Priyanka-Kaintura  There are 2 options given in it. Out of them, the email of General Communication is already created which now runs by default and the second option mail template has been provided in the issue description. You can check from there.
Please let me know if there are any other questions.

@Ayush8923 @GauravGusain98 Sir, could you please look into this. I have attached a photo of relevant changes to the error I'm facing.
The query in app.js throws 404 error even when i've set the routes properly. Could you please take a look.

@Priyanka-Kaintura Can you also share the screenshot of the error here so that we can see the error? And you can check by clearing the cache once. And did you run the npm run dev command after making changes in the js file?

I already cleared the cache npm cache as well as the browser cache multiple time. Sharing the error below.

@Priyanka-Kaintura Please push the relevant changes on GitHub. Then I will take a look at your code.


ios min version 11.0，but still build two archs

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[ ] I read docs.fastlane.tools
[ ] I searched for existing GitHub issues

Issue Description

Command executed

Complete output when running fastlane, including the stack trace and command used

 [REPLACE THIS WITH YOUR INFORMATION]

Environment

 [REPLACE THIS WITH YOUR INFORMATION]

Not sure what the issue is and how it relates to fastlane.  If you want help, please provide some more information and context.


Delete repeat

There is a repeat. Lines 13-15 are the same as lines 33-35. Deleted 33-35

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you @hcapati  for your contribution and congratulations on your first PR merge to this repo! 🎉


Spotify Playlist, auto rewrite title and description

Hi everyone,
first of all I must say I'm NOT a Python expert. In reality, I've never even used Python, but I know that it is a super powerful tool, useful in many contexts, also in Spotify.
2nd disclaimer: English is not my first language so I'll try to explain what I want to ask in the best way possible.
So, this is my problem:
I am a playlist curator on Spotify, with more than 50.000 followers over all through out all my playlist.
Lately, people started falsely reporting playlists on Spotify to gain a better rank in Spotify search algorithm. (if you search on the web, you will find that is becoming more and more common)
Each time a playlist is reported, the title, description and image disappear BEFORE the Spotify team check if the report is actually true or not. You will understand that this leads to a MASSIVE abuse of this tool, you just need to fill a form with name, telephone number and email and you can make this report. Obviously, people are filling this form with fake mails and identities.
This means that a fraudulent user can report your playlist 10000000 times a day, and there is nothing you can do against it, because if Spotify bans his fake "mail" he will fill the form with another fake email. This also means that if the reporter flag my playlist 10.000 times, I have to rewrite title, caption and upload user 10.000 times, and it is absolutely absurd. I sent hundreds of mail to the spotify team, they told me they are working to fix it, but currently there is no way to stop this (THIS IS CRAZY!)
So my question is: is there a way to create a code with Python, that auto rewrite the title of a playlist each time Python sees the title has disappeared?
For example:
The reporter reports my playlist --> Title, Description and Image are gone (until I don't rewrite them again)
Python notices that the title is gone and automatically rewrite the title and caption
Do you think this is possible?
I am willing to pay for someone making this code for me, because these fake reports are becoming more and more frequent, and as a music blogger, Spotify Playlists are a part of my income. I can't stay 24/7 at home rewriting the titles of my falsely reported playlist (with no reason)
Hope this was clear enough, thank you!

It is possible and you can certainly do that with spotipy, however this repo is not the place to find contractors, so I'm closing this


Script For Library Download Stats [Bundle & PyPi]

If you'd like download statistics for pypi:
https://pypistats.org/ and https://pypistats.org/api/
https://stackoverflow.com/questions/38102317/why-pypi-doesnt-show-download-stats-anymore (but see the newer answers)
Example: https://pypistats.org/packages/adafruit-blinka
Tagging @brennen @kattni @tannewt

Changed the issue title. In thinking about this, I think a separate script to get the download stats is better than just further expanding circuitpython_libraries.py. That script is long as it is. As always, I can be overruled on that thought... :smile:
Also, we can get Bundle download stats. GitHub stats by library don't make sense, seeing that downloads from each repo is probably rare.

Splitting it into a separate script sounds good to me!

Making another script is fine.


Update pre-commit checks

https://github.com/PickNikRobotics/pick_ik/blob/main/.pre-commit-config.yaml
repos:
  # Standard hooks
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.4.0
    hooks:
      - id: check-ast
      - id: check-case-conflict
      - id: check-docstring-first
      - id: check-merge-conflict
      - id: check-symlinks
      - id: check-yaml
        args: ['--unsafe']  # Fixes errors parsing custom YAML constructors like ur_description's !degrees
      - id: debug-statements
      - id: end-of-file-fixer
      - id: mixed-line-ending
      - id: trailing-whitespace
      - id: fix-byte-order-marker

  - repo: https://github.com/psf/black
    rev: 22.3.0
    hooks:
      - id: black

  - repo: https://github.com/codespell-project/codespell
    rev: v2.0.0
    hooks:
      - id: codespell
        args: ['--write-changes', '-L', 'atleast,inout']  # Provide a comma-separated list of misspelled words that codespell should ignore (for example: '-L', 'word1,word2,word3').
        exclude: \.(svg|pyc|stl|dae|lock)$

  - repo: https://github.com/pre-commit/mirrors-clang-format
    rev: v14.0.6
    hooks:
      - id: clang-format
        files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|m|proto|vert)$
        # -i arg is included by default by the hook
        args: ['-fallback-style=none']

  - repo: https://github.com/adrienverge/yamllint
    rev: v1.27.1
    hooks:
      - id: yamllint
        args: ["--no-warnings", "--config-data", "{extends: default, rules: {line-length: disable}}"]
        types: [text]
        files: (moveit_studio.repos|docker-compose.yaml)

  # NOTE: Broken on arm64. Will need to bump once https://github.com/hadolint/hadolint/issues/840 is fixed.
  - repo: https://github.com/hadolint/hadolint
    rev: v2.10.0
    hooks:
      - id: hadolint-docker

ament_copyright should have choices for the license type 'picknik_proprietary' or 'bsd_3clause'

https://github.com/mamba-org/mamba/blob/main/.pre-commit-config.yaml#L29-L33


docs/149-automated-doc-generation

It would be extremely useful to be able to generate man pages for sierra from
the argparse object used. There are ways to do this, but none of them seem to
work out of the box:

argparse-manpage
sphinx (requires a bunch of setup that looks really complicated)

Would be very useful to have working...
What would be even more helpful would be to be able to generate manpages for the
batch criteria, and how to format them to use correctly...

Lots of good initial progress made on this, so I will close the issue for now, and open new ones as is necessary.


Once autopin is on, how to force it on existing library

In the title: I've just turned the hidden autopin pref on. Now how do I get my entire library autopinned? I tried to regenerate the cite keys on items, but that didn't seem to do it.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>79 ("auto-pin even if key does not change")
Install in Zotero by downloading test build <IP_ADDRESS>79, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

auto-pinning only actually pinned when the key changed. Can you try 4779?

OK, that seemed to work after I used the contextual menu to "Refresh BibTEX key". Zotero was taking a while to prepare to sync with the server, so I quit it, but the keys hhadve all turned non-Italic fairly quickly. After starting it again, the sync happened pretty quickly and all the keys seem pinned.

That's the downside -- the act of pinning the keys changes the item, so they'll be synced anew to Zotero.

A new release is out, Zotero will upgrade it automatically.


[v2.7-auditable] X86: direct MSI message to proper processor

Backport #42480 to v2.7 auditable branch

CI failed but not because of the commits, can someone restart a CI check?

Who is in charge of merging to  2.7-auditable? These commits have been already merged to 2.7.

@nashif are you able to merge this one? (I could not figure out who's in charge of this branch). Thanks

@pqueirosint can you re-approve?

Who is in charge of merging to 2.7-auditable? These commits have been already merged to 2.7.

why do you need to merge this into this branch? it should go into 2.7 and it will be taken from there, you should not backport directly to the auditable branch.

@nashif ok good to know, hard to guess an undocumented process (unless I missed it)


[BUG] Unicode characters lost during BulkCopy

Driver version
7.4.1
SQL Server version
Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64)   Mar 18 2018 09:11:49   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows Server 2016 Datacenter 10.0  (Build 14393: ) (Hypervisor)
Client Operating System
Windows server 2016 datacenter edition
JAVA/JVM version
<IP_ADDRESS>
Table schema

Problem description
I'm transforming a large DB2 database to Sql Server.
Using the Bulk load  for loading  Sql server database with data from IBM DB2 database
bulkCopy.writeToServer(selectRs);
The source database has CCSID 13488 (Unicode) and target database has collation Latin1_General_BIN2
If I use a java program to read the result set and then init a prepared statement there is no problem at all. It is only a problem with the bulkCopy method sending in the 'same' resultSet from the select * from the database table.
The special characters the get lost in this case  is unicode 2160-2165. They all get transformed to ? leading to duplicate key in the target database.

Hi @Sussedv ,
Thanks for creating the issue, we will investigate and get back to you.
Please also try to provide a standalone JDBC repro code to speed up the process.

@Sussedv  - I am unable to reproduce your issue on the SQL Server side. This code works fine for me with mssql-jdbc-7.1.2.jre8-preview.jar:
String tableName = "gh_issue_1132";
Statement st = conn.createStatement();
String sql = String.format(
          "BEGIN TRY "
        + "    DROP TABLE %1$s; "
        + "END TRY "
        + "BEGIN CATCH "
        + "END CATCH "
        + "CREATE TABLE %1$s (king_name nvarchar(20) PRIMARY KEY); ",
        tableName);
st.execute(sql);
sql =
          "SELECT N'Gord \u2160' AS king_name "
        + "UNION ALL "
        + "SELECT N'Gord \u2161' AS king_name "
        + "UNION ALL "
        + "SELECT N'Gord \u2162' AS king_name ";
ResultSet rs = st.executeQuery(sql);
ResultSetMetaData rsmd = rs.getMetaData();
if (rsmd.getColumnType(1) == java.sql.Types.NVARCHAR) {
    try (SQLServerBulkCopy bulkCopy = new SQLServerBulkCopy(conn)) {
        bulkCopy.setDestinationTableName(tableName);
        bulkCopy.writeToServer(rs);
    }
    // now check results
    sql = String.format(
              "SELECT TOP 1 king_name "
            + "FROM %1$s "
            + "ORDER BY king_name ",
            tableName);
    rs = st.executeQuery(sql);
    rs.next();
    String returned = rs.getString(1);
    System.out.println(returned.endsWith("\u2160") ? "ok" : "FAIL");
} else {
    System.out.println("ERROR: ResultSet column was not NVARCHAR.");
}

Check the ColumnType in your ResultSet to verify that it really is NVARCHAR and not VARBINARY or something else.

Hi!
Thank you for looking into this.
A clarification
This only happens when the source table is on IMB system i and database DB2.
The code for creating tables that are as the tables I use is:
-- Create table on DB2
CREATE TABLE SRC_SCHEMA.XTABLE (
X1 DECIMAL(3, 0) NOT NULL ,
X2 GRAPHIC(15) CCSID 13488 NOT NULL ,
X3 GRAPHIC(30) CCSID 13488 NOT NULL);
CREATE UNIQUE INDEX TABLE SRC_SCHEMA.XTABLE00
ON TABLE SRC_SCHEMA.XTABLE ( X1 ASC , X2 ASC )  ;
-- Create table on Sql server
CREATE TABLE TRG_SCHEMA.XTABLE(
X1 numeric(3, 0) NOT NULL,
X2 nchar(15) NOT NULL,
X3 nvarchar(30) NOT NULL);
ALTER TABLE TRG_SCHEMA.XTABLE ADD  CONSTRAINT TRG_SCHEMA.XTABLE00 PRIMARY KEY CLUSTERED
(X1 ASC,X2 ASC);
The data problem is in the column X2.
If this would work it would be a fantastic tool for migrating data from DB2 to Sql server, but as is now it is necessary to use a prepared statement and use getString and setString to make the value of the column X2 remain.
Kind Regards Susanne
From: Gord Thompson<EMAIL_ADDRESS>Sent: den 18 augusti 2019 15:20
To: microsoft/mssql-jdbc<EMAIL_ADDRESS>Cc: Sussedv<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/mssql-jdbc] [BUG] Unicode characters lost during BulkCopy (#1132)
@Sussedvhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSussedv&data=01|01||133c6f536f8540fc794f08d723deb816|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=60xSJuU17knDOHezoK6p0NCgNqXPiaYbV2lvLsMwDvs%3D&reserved=0 - I am unable to reproduce your issue on the SQL Server side. This code works fine for me with mssql-jdbc-7.1.2.jre8-preview.jar:
String tableName = "gh_issue_1132";
Statement st = conn.createStatement();
String sql = String.format(
      "BEGIN TRY "

    + "    DROP TABLE %1$s; "

    + "END TRY "

    + "BEGIN CATCH "

    + "END CATCH "

    + "CREATE TABLE %1$s (king_name nvarchar(20) PRIMARY KEY); ",

    tableName);

st.execute(sql);
sql =
      "SELECT N'Gord \u2160' AS king_name "

    + "UNION ALL "

    + "SELECT N'Gord \u2161' AS king_name "

    + "UNION ALL "

    + "SELECT N'Gord \u2162' AS king_name ";

ResultSet rs = st.executeQuery(sql);
ResultSetMetaData rsmd = rs.getMetaData();
if (rsmd.getColumnType(1) == java.sql.Types.NVARCHAR) {
try (SQLServerBulkCopy bulkCopy = new SQLServerBulkCopy(conn)) {

    bulkCopy.setDestinationTableName(tableName);

    bulkCopy.writeToServer(rs);

}

// now check results

sql = String.format(

          "SELECT TOP 1 king_name "

        + "FROM %1$s "

        + "ORDER BY king_name ",

        tableName);

rs = st.executeQuery(sql);

rs.next();

String returned = rs.getString(1);

System.out.println(returned.endsWith("\u2160") ? "ok" : "FAIL");

} else {
System.out.println("ERROR: ResultSet column was not NVARCHAR.");

}
Check the ColumnType in your ResultSet to verify that it really is NVARCHAR and not VARBINARY or something else.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmssql-jdbc%2Fissues%2F1132%3Femail_source%3Dnotifications%26email_token%3DAM5AQ3K3KM64AFB6NWSQ2ALQFFD6HA5CNFSM4IL4D5R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4Q74UA%23issuecomment-522321488&data=01|01||133c6f536f8540fc794f08d723deb816|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=uxGd0sUMxC0ZyzMo32uPzO3utL78dA8m%2FuHB1QzsQZA%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM5AQ3IZKWNWOPNJTXEZVE3QFFD6HANCNFSM4IL4D5RQ&data=01|01||133c6f536f8540fc794f08d723deb816|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=C67WV0TF%2BCQKYYwnsn%2FxfhAnum%2BMsZwWBDlkuu6QxKo%3D&reserved=0.
Please find the Columbus Privacy Policy here: https://www.columbusglobal.com/en/privacy-policy

@Sussedv - The relevant DB2 documentation says that GRAPHIC(n) columns are

Fixed-length graphic strings that contain n double-byte characters.

So one would expect that the JDBC driver for DB2 would return those columns as NVARCHAR, but perhaps is doesn't. That's why you should use ResultSetMetaData#getColumnType to see what it really does return for the column X2.

Hi again
Just checked and it returns NCHAR.
BR/Susanne
From: Gord Thompson<EMAIL_ADDRESS>Sent: den 19 augusti 2019 13:41
To: microsoft/mssql-jdbc<EMAIL_ADDRESS>Cc: Sussedv<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/mssql-jdbc] [BUG] Unicode characters lost during BulkCopy (#1132)
@Sussedvhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSussedv&data=01|01||dfdb3af2f1854be0417908d7249a22a1|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=oKQFAtqIQoG93u8zceIYhYFqu0MXZYuG6qG%2BlGvVvJM%3D&reserved=0 - The relevant DB2 documentationhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSEPEK_11.0.0%2Fintro%2Fsrc%2Ftpc%2Fdb2z_stringdatatypes.html&data=01|01||dfdb3af2f1854be0417908d7249a22a1|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=XTRPLCaBUAfqJQwynkUOXoAGBrOGig7uEV9mGQJykKg%3D&reserved=0 says that GRAPHIC(n) columns are
Fixed-length graphic strings that contain n double-byte characters.
So one would expect that the JDBC driver for DB2 would return those columns as NVARCHAR, but perhaps is doesn't. That's why you should use ResultSetMetaData#getColumnType to see what it really does return for the column X2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmssql-jdbc%2Fissues%2F1132%3Femail_source%3Dnotifications%26email_token%3DAM5AQ3N44XDAB64DLFGIRHTQFKBFDA5CNFSM4IL4D5R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4STRYA%23issuecomment-522533088&data=01|01||dfdb3af2f1854be0417908d7249a22a1|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=HhmmWm6kjNoaz33mymSi68YZKV%2BwTvEhh09oXZlj6og%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM5AQ3IULSVGGIBDQEYWMITQFKBFDANCNFSM4IL4D5RQ&data=01|01||dfdb3af2f1854be0417908d7249a22a1|21a72fffb86b492cbb02b09e6e0beab9|0&sdata=OBeKR9oKw4FIFJXTdQ4dxwE11nMtLdUWVa2i2i5EDzo%3D&reserved=0.
Please find the Columbus Privacy Policy here: https://www.columbusglobal.com/en/privacy-policy

Ah yes, you're right. "Fixed-length" would be NCHAR, not NVARCHAR.
Still, I am unable to reproduce with SQL Server alone. (Unfortunately I don't have DB2 available for testing.) This works fine:
String tableName = "gh_issue_1132";
Statement st = conn.createStatement();
String sql = String.format(
          "BEGIN TRY "
        + "    DROP TABLE %1$s; "
        + "END TRY "
        + "BEGIN CATCH "
        + "END CATCH "
        + "CREATE TABLE %1$s (king_name nchar(30) PRIMARY KEY); ",
        tableName);
st.execute(sql);
sql =
          "SELECT CAST(N'Gord \u2160' AS nchar(30)) AS king_name "
        + "UNION ALL "
        + "SELECT CAST(N'Gord \u2161' AS nchar(30)) AS king_name "
        + "UNION ALL "
        + "SELECT CAST(N'Gord \u2162' AS nchar(30)) AS king_name ";
ResultSet rs = st.executeQuery(sql);
ResultSetMetaData rsmd = rs.getMetaData();
if (rsmd.getColumnType(1) == java.sql.Types.NCHAR) {
    try (SQLServerBulkCopy bulkCopy = new SQLServerBulkCopy(conn)) {
        bulkCopy.setDestinationTableName(tableName);
        bulkCopy.writeToServer(rs);
    }
    // now check results
    sql = String.format(
              "SELECT TOP 1 king_name "
            + "FROM %1$s "
            + "ORDER BY king_name ",
            tableName);
    rs = st.executeQuery(sql);
    rs.next();
    String returned = rs.getString(1).trim();
    System.out.println(returned.endsWith("\u2160") ? "ok" : "FAIL");
} else {
    System.out.println("ERROR: ResultSet column was not NCHAR.");
}

Closing due to inactivity. Please feel free to reopen the issue if you still need help.


Added sendphoto command and updated README.md

Command sendphoto added which sends a photo from a URL to a channel.
README.md updated to include sendgif and sendphoto commands, along
with examples added to src/examples.
Closes #23

I'll get back to these tomorrow, thanks for the contributions @Willumz

In send photo command on line 26 you've written photo=$<<parameters.image-url>>. The symbol $ isn't needed here. Could you remove it?

My bad, that should be fixed now.

Thanks @Willumz!


exceptions.MinerException: Game: stream-raiders

19:57:42: Fatal error encountered:
19:57:42:
19:57:42: Traceback (most recent call last):
19:57:42:   File "twitch.py", line 1714, in get_live_streams
19:57:42:   File "twitch.py", line 1570, in gql_request
19:57:42: exceptions.MinerException: GQL error: [{'message': 'PersistedQueryNotFound'}]
19:57:42:
19:57:42: The above exception was the direct cause of the following exception:
19:57:42:
19:57:42: Traceback (most recent call last):
19:57:42:   File "main.py", line 158, in main
19:57:42:   File "twitch.py", line 768, in run
19:57:42:   File "twitch.py", line 920, in _run
19:57:42:   File "twitch.py", line 1725, in get_live_streams
19:57:42: exceptions.MinerException: Game: stream-raiders
19:57:42:
19:57:42: Exiting...
19:57:42:
19:57:42: Application Terminated.
19:57:42: Close the window to exit the application.

Hello. This sounds like a rollout of a new DirectoryPage_Game sha256 of the GQL operation responsible for fetching live channels. This will likely keep popping up for more and more people over time. Once I get my hands on the new sha256, I'll update it in the miner.

The issue didn't occur anymore, seems to have resolved itself. You can close this issue if needed, or leave it open for future updates.

This should now be solved via https://github.com/DevilXD/TwitchDropsMiner/commit/2bd2845790a97fd72058c72cc0164d852df9feae in the latest master build.

This error appears to have resurfaced.
13:16:22: Cannot connect to Twitch, retrying in 2 seconds...
13:16:32: Fatal error encountered:
13:16:32:
13:16:32: Traceback (most recent call last):
13:16:32:   File "twitch.py", line 1519, in get_live_streams
13:16:32:   File "twitch.py", line 1350, in gql_request
13:16:32: exceptions.MinerException: GQL error: [{'message': 'PersistedQueryNotFound'}]
13:16:32:
13:16:32: The above exception was the direct cause of the following exception:
13:16:32:
13:16:32: Traceback (most recent call last):
13:16:32:   File "main.py", line 153, in main
13:16:32:   File "twitch.py", line 570, in run
13:16:32:   File "twitch.py", line 727, in _run
13:16:32:   File "twitch.py", line 1530, in get_live_streams
13:16:32: exceptions.MinerException: Game: palia
13:16:32:
13:16:32: Exiting...

This was on commit dc48860 which I see is 2 commits behind. Not sure if the new commits fix it, but I'll update either way.


[FormControl][material-next] Add FormControl component

Issue for adding FormControl to @mui/material-next as part of the Material You effort (https://github.com/mui/material-ui/issues/29345)

can I work on this

I've opened this issue as the remaining features for InputBase require the FormControl component
As a utility component, it isn't straightforward to customize the features of the FormControl. For example Material UI and Joy UI both have custom properties they need in the context for the design to work.
I looked way back into the history of the Base UI FormControl and found this discussion (from 2 yrs ago, in the initial FormControl PR!) that is against merging context, and instead recommends wrapping extra context like this:
<FormControl>
  <FormControlContext.Provider value={thingsSpecificToMd}>
    <FormControlUnstyled>
      <FormControlUnstyledContext.Provider value={genericThings}>
        <!-- actual form controls -->

Should we stick with this approach for material-next/FormControl? @mnajdova @michaldudak @DiegoAndai
Currently the Joy UI form control is pretty much independent of the Base UI one, so it may be the first time trying out this method

Should we stick with this approach for material-next/FormControl?

@mj12albert I'm not sure I get the idea. Will Material's FormControl use Base's FormControl internally and add specific things on top? I imagine something like
import { BaseFormControl } from '@mui/base'

function FormControl(props) {

    const { children } = props;

    // Here we would redirect props to BaseFormControl
    // or Material's context provider accordingly

    return (
        <FormControlContext.Provider value={mdSpecificState}>
            <BaseFormControl {...baseFormControlProps}>
                { children }
            </BaseFormControl>
        </FormControlContext.Provider>
    );
}

Is that correct?
So, the user would still maintain the same API, but internally, we would use the context providers separately.
Adjacent question: does the use of context mean there's no SSR support for FormControl? (as an actual server component)

Will Material's FormControl use Base's FormControl internally and add specific things on top?

Yes that's the idea ~ this looks like the only practical way to make a Material UI form control on top of the Base UI one

So, the user would still maintain the same API, but internally, we would use the context providers separately.

There could be some changes but I think it will mostly be the same - what I'm wondering (out loud 😅 ) is whether it will be unnecessarily complicated to use this multiple provider composition instead of just doing it from scratch like Joy UI. At the moment, the Base UI FormControl is relatively simple on the inside (tracking some state in the context).
This also leads me to think about how a user is expected to customize/extend the Base UI FormControl – e.g. adding a isTouched state 🤔

SSR support for FormControl? (as an actual server component)

SSR should work fine, but currently it's using useState to achieve this (e.g. here) so it's the state that's incompatible with RSC

Whether it will be unnecessarily complicated to use this multiple provider composition instead of just doing it from scratch like Joy UI

From the Material/Joy user perspective, the key is this comment: "We'd have MD-version of useFormControl that would call both useContext(FormControlUnstyledContext) and useContext(FormControlContext) and return their results". As long as we unify the context values from Base's and Material/Joy's hook, the user will only need Material/Joy's FormControl and useFormControl.
From the Base user perspective (which is us right now 😅), I think using both contexts and joining in the useFormControl is good DX, but may not be intuitive, so I would document it in an "Extending Form Control" section of the Base docs. Base comes with enough common values (value, disabled, required, filled, error) that it's worth using it and not starting from scratch.

Closing this as all the migration checklist tasks are done, previously linked "new features/breaking changes" have been moved to https://github.com/mui/material-ui/issues/38374


Add test scripts

Added test script which checks following test cases:

An error is thrown on giving input file as null .
The output file name is as expected when it is not passed as argument
Output is as expected on a test geojson file.

@amishas157 This is very close to shipping! 🎉
Couple of things:

Might want to rewrite geojsonstreammerge in camel case
You can remove all the comments that explain something like in https://github.com/geohacker/geojson-stream-merge/pull/10/files#diff-c1129c8b045390789fa8ff62f2c6b4a9R3
You might want to choose a test fixture that has more than one FeatureCollection (can have just one feature in each FeatureCollection) since the script takes in many line delimited feature collections and makes one FeatureCollection

So something like
{ "type": "FeatureCollection", "features": [<feature1>, <feature2>]}
{ "type": "FeatureCollection", "features": [<feature3>]}

And see if the expected output is like
{ "type": "FeatureCollection", "features": [<feature1>, <feature2>, <feature3>]}

Also, nice job with modifying https://github.com/geohacker/geojson-stream-merge/pull/10/files#diff-168726dbe96b3ce427e7fedce31bb0bcR43 to be able to test the outputFile and its contents. 😅

@amishas157 nice work! I'd make one more addition to the test that compares the output - use https://github.com/mapbox/geojsonhint to validate the actual geojson that's returned by the function.
Thanks for doing this!

@amishas157 - this is coming along pretty well! Couple of notes:

the tests were failing for me because the file paths weren't absolute. This is generally a good idea. You can use the node helper __dirname + '/filename.geojson'

can you remove output.geojson after the test run? this caused some trouble because for every consequent test run, geojson-stream-merge appended the same data, and tests failed. You can try a tear down method for this https://gist.github.com/substack/9561717

for geojsonAssert, i had to wrap it in an assert because that's is what tape's assertion:

tape('is geojson valid?', function(assert) {
  var output = fs.readFileSync(__dirname + '/output.geojson', 'utf8');
  assert.equals(geojsonAssert(output), undefined, "ok, valid geojson");
  assert.end();
});

@amishas157 This looks 💥
Since we changed the callback in https://github.com/geohacker/geojson-stream-merge/pull/10/files#diff-168726dbe96b3ce427e7fedce31bb0bcR43, do you also want to update the callback function in the API usage example in the README.md file with the new callback form
Just adding a few more (very minor) notes 😅 :

Might want to rename the input file as test instead of test.geojson since it's not a valid geojson.
Would be nice if the input and the output geojson are named similarly so either testInput and testOutput.geojson or input and output.geojson

Let's also set you up with a linter and get this code to ✨

@amishas157 nice work! I pulled your changes into a branch and the tests don't pass for me because of this line: https://github.com/geohacker/geojson-stream-merge/pull/10/files#diff-c1129c8b045390789fa8ff62f2c6b4a9R12
Looking at the docs - https://nodejs.org/api/assert.html#assert_assert_iferror_value:

Throws value if value is truthy.

So !err will make this truthy when we get null and fail the test. I think you should leave this as: assert.ifError(err)
Let me know if I'm missing something!
Thank you for working on this.

@geohacker Yeah, that's right. The test is failing due to !null -> true. Corrected it. Thanks.

@amishas157 great, thank you! Do you have more changes coming in or can I merge this?

@geohacker It's good to merge. All the tests pass now. 6/6

Awesome!
🙇 @amishas157 @arunasank


Improve documentation on publishing translations

When publishing translations it is also good to publish the filament-support-translactions so those can be edited/improved too.

If we're adding this, you might want to include forms and tables as well?

@danharrin, https://github.com/filamentphp/filament/pull/3611.

I think the sentence above the commands list needs to be updated as well. Also, for the other packages we have a similar section in the docs which likely needs to mention the support package too.

This one?
If you wish to translate the package, you may publish the language files using:
translate to what? (seems ok to me though english is not my nativa language)
Regarding the other packages, which ones have 'support-translations'. Form-builder and Table-builder don't seem to have.
FYI: Been using filament only since 3 days, so please expect near-zero experience from my side.

This one? If you wish to translate the package, you may publish the language files using:
translate to what? (seems ok to me though english is not my nativa language)

It feels a bit weird to say "translate the package" and list the commands to publish the language files for the other packages it depends on as well.

Regarding the other packages, which ones have 'support-translations'? Form-builder and Table-builder don't seem to have.

Forms, tables and notifications all depend on the support package.

FYI: Been using filament only since 3 days, so please expect near-zero experience from my side.

No worries, we'll just guide you through this!

I think I understand your point. Maybe like this?

@tiagof, the blank line suggestion was also intentional. 😄

@tiagof, discussed this with @danharrin and we think it's nice to add a note about forms and tables translations to the admin panel docs as well as forms translations to the tables docs.

To something like:

Since this package depends on the other packages, you may wish to translate those ones as well:
php artisan vendor:publish --tag=filament-support-translations
<other packages command>

?

Ok. Updated the wording on the Forms doc as well, to keep it consistent.


Update scrooge-serializer, util-core to 20.3.0

Updates

com.twitter:scrooge-serializer
com.twitter:util-core

from 20.1.0 to 20.3.0.
Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.twitter" } ]

labels: library-update, semver-minor

Codecov Report

Merging #382 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #382   +/-   ##
========================================
  Coverage    77.18%   77.18%
========================================
  Files           46       46
  Lines         1039     1039
  Branches        28       28
========================================
  Hits           802      802
  Misses         237      237

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 228c866...a6d795e. Read the comment docs.


python 2.7 TypeError: environment can only contain strings

I have this error on python 2.7 on Windows when at the resolve cycle.
The resolver.py module sets its unicode literals from the future import, and also wants to inject PIP_EXISTS_ACTION in the os.environ which does not accept unicode data as keys, nor values.
This makes subprocess calls issued in pip fail, because os.environ cannot contain unicode data.
Other projects have had this problem:
https://github.com/mitsuhiko/werkzeug/issues/467
and
https://github.com/celery/django-celery/issues/344
Other technique seen also on stackoverflow.
One suggestion is to remove the unicode_literals future import and this seems the easiest fix as it supports both python 2.7 and 3.

As of 1.4 this is fixed and verified.
see https://github.com/nvie/pip-tools/commit/3a439045c71851151c51953b79f5994d3a12d9fe
@nvie this issue can be closed.

:+1:

This is how I fixed this problem with jupyter kernel http://ihorbobak.com/index.php/2017/12/13/pyspark-kernel-for-jupyter-in-python-2-7-windows/  but I do believe yours can be fixed the same way


[Bug] Mysql date formate error where conditions in

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
apache-doris-1.1.1
What's Wrong?
wheen use from_unixtime function in mysql client , it return wrong count and detail data from sql . like below:

What You Expected?
it should return the same data with %s and %S in mysql date formate .
which in my examle , it should also return 24 record instead of 18 record.
How to Reproduce?
create a unique table with long type of createtime. then select the data from it with from_unixtime and use %s or %s formate.
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

CREATE TABLE l_test_log_3 (
uniqueid varchar(40) NULL COMMENT "",
kid int(11) NULL COMMENT "",
createtime int(11) NULL COMMENT "",
dorisdate date NULL COMMENT ""
) ENGINE=OLAP
UNIQUE KEY(uniqueid, kid, createtime, dorisdate)
COMMENT "OLAP"
PARTITION BY RANGE(dorisdate)()
DISTRIBUTED BY HASH(uniqueid) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.time_zone" = "-05:00",
"dynamic_partition.start" = "-3",
"dynamic_partition.end" = "1",
"dynamic_partition.prefix" = "p",
"dynamic_partition.replication_allocation" = "tag.location.default: 1",
"dynamic_partition.buckets" = "1",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "3",
"dynamic_partition.hot_partition_num" = "0",
"dynamic_partition.reserved_history_periods" = "NULL",
"in_memory" = "false",
"storage_format" = "V2"
) ;
insert into l_test_log_3  values('0',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('1',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('2',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('3',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('4',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('5',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('6',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('7',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('8',1,1661339109,'2022-08-24');
insert into l_test_log_3  values('9',1,1661339109,'2022-08-24');
select count(1)  from l_test_log_3 where  from_unixtime(createtime,'%Y-%m-%d %H:%i:%s')='2022-08-24 19:05:09' ;
select count(1)  from l_test_log_3 where  from_unixtime(createtime,'%Y-%m-%d %H:%i:%S')='2022-08-24 19:05:09' ;

It is ok in version apache doris release v1.1.2


Add support for getInitialProps in getAuth

I have a Navigation component defined in my _app.tsx and I would like to render different things based on if the user is signed in or not. However useAuth is client side rendered and shows a loading state. It would be nice if the getAuth function supported the getInitialProps context type in typescript such that we can fetch the data in getInitialProps

Hey @nahtnam, terribly sorry for the crazy delay here. For the time being you have to do this routing client-side. E.g. see and example here: https://github.com/vercel/nextjs-subscription-payments/blob/main/pages/signin.tsx#L58-L62


Create a UFO Enthusiast Community Site

Description:
We're exploring the unknown. Your task is to design a community website for UFO enthusiasts with a cosmic and extraterrestrial design.

Difficulty: intermediate
Estimated Time: 5-6 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello User,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh