text:
Unstable satellites and traces and DJI Phantom 3 spoofing

Good afternoon. First of all, thank you very much for your work and your attention.
I am trying to spoof a DJI Phantom 3 dron outdoors (but no flying) and I have achieved it but with some troubles. I am using gps-sdr-sim to generate the binary file, and then I am transmitting it with an Ettus X310 connected to an antenna.
The thing is I can't understand when and why it works. I mean, I am generating and transmitting samples every day, and sometimes it works and sometimes it doesn't work. The main problems I have found are that the dron takes a long time to lock to my fake satellites, but it is very fast to connect to the real ones. Also, when the dron locks to my satellites, the trace is very unstable as you can see in the attached picture. I am monitoring real-time received satellites with another receiver, and I have seen that they are not stable in time, but they appear and disappear. So, the basic questions are:

Why is my trace so unstable? What am I doing wrong?
As I am doing all the experiments outside, could the problem be in the coexistence of fake and true satellites?

Thank you very much in advance.

PS: I am using an external time reference (atomic clock).

Yes, I am also facing the same issue

When the signals appear and disappear, it usually means there is a frequency offset. Your SDR's local oscillator has a discrete step size (ie. ~2.38419 Hz on the Pluto), and the baseband rate has a discrete step size. You need the introduced offsets to be very close to zero, or the receiver will get confused. So you must choose a baseband rate that can be exactly achieved, and output the signal at a frequency that is very close to an achievable frequency.
Some SDR's do automatic PPM compensation, which can be problematic. For instance the Pluto has a xo_corrections variable which is set at the factory, and tweaks the baseband rate and the output frequency to try to compensate for the crystal PPM. But if this is allowed, and the compensation isn't a just the right spot, it can introduce frequency offsets. The GPS receiver knows how to deal with PPM, but it doesn't like frequency offsets that aren't well explained by PPM. So turn the xo_correction off.

i am also facing the same issue, when i tested on DJI mavic pro drone for first time using Pluto SDR for GPS signal generation,
I have observed aircraft traces in remote control as per my user motion file, after that till now i have tested so many times but unable to get the traces
any suggestions to solve this problem, thanks in advance

@jamesl-dm，I'm facing a similar issue and I think your answer is very reasonable, but I don't know how to turn off XO_correction, can you tell me how to turn off XO_correction? I am using GnuRadio to transmit GPS spoofing signals. Looking forward to your reply.

@Shangu-xsg  See https://www.mictronics.de/posts/ADLAM-Pluto-OCXO-Mod/

@Mictronics，hi， thank you for your answer, which successfully helped me solve the problem of how to turn off xo_correction. But after I turned off xo_correction, the problem of not being able to fix remains. I used a modified Pluto and ANT500. When I sent the GPS spoofing signal, the GPS receiver could search for many satellites, but the GPS receiver never used the satellites found. Could you give me some advice on how to solve this problem based on your successful experience? Thank you in advance.

You could try my .grc file, using 4 MHz baseband signals: https://github.com/osqzss/gps-sdr-sim/files/6105847/gps-sdr-sim.zip

@jamesl-dm,hi,I used your.grc file and turned the xo_correction off, but the same result. Are you using an antenna to transmit a signal?

Yes - maybe your device has anti-spoofing features?

How long is your recording? Needs to be 3+ minutes long, and I recommend 4 MHz bandwidth on the Pluto.

@jamesl-dm ,my device has not anti-spoofing features, and I have occasionally managed to trick my gps receiver into briefly using the satellite I received.
I used 4mhz bandwidth and recorded it for a long time, but it didn't work. I am now wondering if I succeeded in turning off  xo_correction. Is it possible to turn off the xo_correction in the Plutosdr interface by typing  fw_setenv xo_correction 0?

No, you want:
fw_setenv xo_correction 40000000
pluto_reboot reset

Ok,I'll give it a try later. Thank you very much for your help.

authors: Mictronics RannyTheCoder Shangu-xsg alberlv atchyuth-rao jamesl-dm

repo: osqzss/gps-sdr-sim


text:
example-deployment link in documentation is broken.

Before proceeding, is there an existing issue or discussion for this?

[X] I have done a search for similar issues and discussions.

Description
Thank you for creating and maintaining this critical RMF codebase.
The following example_deployment link found in the documentations is broken and leads to 404 - page not found.
https://github.com/open-rmf/rmf-web/tree/main/example-deployment
Enquiry
May I clarify that the intended branch to be shown is taskv2-teleop, instead of main?
Since there is working documentations there, after having scanned through the rest of the branches.

hi @cardboardcode, sorry for the delay the documentation has been updated, https://osrf.github.io/ros2multirobotbook/rmf-web.html

source: gharchive/issue

authors: aaronchongth cardboardcode

license_type: permissive

license_source: github-api


text:
Move the clearly-defined client to a new "clients" directory

To have a place where more upcoming API clients can be grouped.
Signed-off-by: Sebastian Schuberth sebastian.schuberth@bosch.io

FYI @MarcelBochtler.

source: gharchive/pull-request

repo: oss-review-toolkit/ort


text:
reporter: Align the default output names of CycloneDX and SPDX files

These days it's all about (S)BOMs, so align the names of these commonly
used BOM formats to appear next to each other when sorted
alphabetically, for a better overview.
Signed-off-by: Sebastian Schuberth sebastian.schuberth@bosch.io

This is just a proposal. Any thoughts @oss-review-toolkit/core-devs?

The reasoning makes sense to me, but I don't know if there are any (unwritten) conventions for filenames in any of those formats. Maybe @tsteenbe has a stronger opinion on this?

I don't know if there are any (unwritten) conventions for filenames in any of those formats.

At least for CycloneDX, the common naming seems to be bom-*.xml, to which the proposed bom.cyclonedx.xml is closer than the current CycloneDX-BOM.xml.

+1 on changing the name but I am thinking whether we should use sbom instead of bom as ORT only support generating BOM for software e.g. SBOMs

ORT only support generating BOM for software e.g. SBOMs

While currently probably mostly true, no one hinders an ORT user to generate an ORT analyzer result that's actually a hardware BOM, e.g. for (parts of) a car. This is actually something we're considering to look into. So I'm a bit hesitant to limit us to software BOMs at this point.

I'm proposing to take this change as-is.

authors: mnonnenmacher sschuberth tsteenbe


text:
fix: status code not managed

What?
All status code are not managed.
Why?
2xx stand for successful – the request was successfully received, understood, and accepted.
3xx redirection – further action needs to be taken in order to complete the request.
New
The status code 2xx will be considered as success.
Since the 3xx will be redirect automatically by urllib3, we will don't manage it.
A human friendly description of these HTTP code.
Preview

Useful documentation
https://docs.python.org/3/library/http.html

EDIT !
For what am reading on the Pull request description:

Since the 3xx will be redirect automatically by urllib3, we will don't manage it.

That means, a redirecting link will actually target the target link ? 🤔

That means, a redirecting link will actually target the target link ?  🤔

Yes, the redirection will be automatic

We're good for a Squash en Merge here !

authors: Sanix-Darker pythonbrad

license: MIT


text:
Useful links to create a site documentation with maven site plugin and Github

https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#contacting-support
https://www.google.com/search?q=github+action+badge&oq=github+action+badge&aqs=chrome..69i57j0i22i30l7.13155j1j7&client=ms-android-transsion-tecno-rev1&sourceid=chrome-mobile&ie=UTF-8
https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge

https://dzone.com/articles/applying-cicd-to-java-apps-using-spring-boot

https://docs.github.com/en/actions/security-guides/encrypted-secrets

repo: osscameroon/js-generator


text:
Updated links in leaders corner

This fixes issues #288 and #275.

@alexdor Do you know what the build errors are / is it vital that we fix them?

@csrs I think it's because of npm failing to install the dependancies on Travis, netlify seems to deploy normally so it shouldn't be vital

@csrs I think it's because of npm failing to install the dependancies on Travis, netlify seems to deploy normally so it shouldn't be vital

@alexdor So good to merge? Have you checked the other 3 PRs?

@mirdaki Can you check this change?

@csrs I think it's because of npm failing to install the dependancies on Travis, netlify seems to deploy normally so it shouldn't be vital

@alexdor So good to merge? Have you checked the other 3 PRs?

@csrs The only one that can merge the pull requests is @bacharakis, that is why I've assigned them to him

authors: alexdor csrs

repo: ossn/ossn-frontend


text:
PROTOCOL: 推送RTSP流时，录制flv观看、rtmp拉流观看失败。

1、推送本地文件：
ffmpeg -re -i ../2.mp4 -vcodec libx264 -f rtsp rtsp://[ip]:554/live/1.sdp
录制和观看失败->vlc拉流观看绿屏，vlc观看录制的flv，画面大小总是跳动，总之解码失败，无法观看
2、推送摄像头：
ffmpeg -f dshow -i video="HD WebCam" -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -f rtsp rtsp://[ip]:554/live/streamrtsp1.sdp
录制和观看失败->vlc拉流观看绿屏，vlc观看录制的flv，画面大小总是跳动，总之解码失败，无法观看
3、停止推送时，服务器崩溃:
推送本地文件时错误日志->
srs: src/app/srs_app_st.cpp:239: void srs_close_stfd(_st_netfd*&): Assertion `err != -1' failed.
推送摄像头文件时错误日志->
srs: src/app/srs_app_st.cpp:239: void srs_close_stfd(_st_netfd*&): Assertion `err != -1' failed.

RTSP会在SRS3增强。

也遇到这个问题，现在这个问题解决了么？

SRS3增强的方向还是在集群，RTSP摄像头越来越少了哇。

这个问题应该是下面代码的逻辑判断有误，在on_udp_packet函数中
if (!cache->completed && pprint->can_print()) {                 srs_trace("<- "SRS_CONSTS_LOG_STREAM_CASTER" rtsp: rtp chunked %dB, age=%d, vt=%d/%u, sts=%u/%#x/%#x, paylod=%dB",                      nb_buf, pprint->age(), cache->version, cache->payload_type, cache->sequence_number, cache->timestamp, cache->ssrc,                      cache->payload->length()                 );                 return ret;             }
不应该将 cache->completed 与 pprint->can_print()放在一起判断

不支持RTSP推流，仅支持拉流，参考：https://github.com/ossrs/srs/issues/2304#issuecomment-826009290

authors: KingMTan Shuo-Jia joke-lee winlinvip

repo: ossrs/srs


text:
Unmarshalling with embedded structs is failing

This is a similar issue to what was happening in #142. Tags aren't being managed properly when using embedded structs.
Example from internal/encoding_test.go:
When the Base struct tag is changed from the empty string (such as _id), it fails to be managed correctly with the current version and the ID is lost when calling Convert. This causes the TestNormalize test to fail at line79.
type BaseModel struct {
   ID string `clover:"_id"`
}

type TestStruct struct {
   BaseModel
   IntField    int                    `clover:"int,omitempty"`
   UintField   uint                   `clover:"uint,omitempty"`
   StringField string                 `clover:",omitempty"`
   FloatField  float32                `clover:",omitempty"`
   BoolField   bool                   `clover:",omitempty"`
   TimeField   time.Time              `clover:",omitempty"`
   IntPtr      *int                   `clover:",omitempty"`
   SliceField  []int                  `clover:",omitempty"`
   MapField    map[string]interface{} `clover:",omitempty"`
   Data        []byte                 `clover:",omitempty"`
}

Adding json tags also fails.
The issue is due to how the createRenameMap function iterates through the fields of the struct. I am submitting a PR that adds a recursive call to the function when the field type is anonymous so the fields of embedded structs will be included.

Fixed with #152

repo: ostafen/clover


text:
Add a db.GetCollections() method

Hello all.
In some cases, specially for old projects it would be interesting to add a GetCollections() method that returns a slice of strings with the different existing collections names.

Hi, this is something I was planning. You anticipated me :=)

ListCollections() looks fine for me 😄

Since, this is very simple to implement, I will leave the issue open for a while before implementing, to allow new contributors to join

Hello.
I would like to work on it

authors: DaniloMarques1 jsgm ostafen


text:
Allow the app to run database migrations

/cc @atareshawty

So if I need to make a schema change, do migrations have to be written manually? Also, can you point me to some docs for all of this?

@tarebyte  Thank you so much for this! I pulled a few ideas from it into #237 . I'm closing this, but it definitely helped me a lot. I appreciate it 🚀

authors: atareshawty tarebyte

repo: osumb/challenges

license: mit

license_source: bigquery


text:
Net::OpenTimeout in users/registrations#create

Error in Osuny
Net::OpenTimeout in users/registrations#create
execution expired
View on Bugsnag
Stacktrace
app/controllers/application_controller/with_locale.rb:19 - switch_locale

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
Net::OpenTimeout in users/registrations#create

repo: osunyorg/admin


text:
A11Y : bloc pages en alternance

Dans le bloc page en alternance, rien n'indique qu'on a affaire à un lien (dans les autres on a une micro animation ou un surligné qui apparaît
Est-ce qu'on rajoute un title "En savoir plus sur[titre de la page]" ?

https://github.com/osunyorg/vigo-postgrowth-lab/issues/6

repo: osunyorg/theme


text:
Create osl_repos_openstack resource

This adds the repositories needed to install OpenStack packages on RHEL
platforms. Currently defaults to what we need on each version of the OS. Will be
updated as we upgrade our OpenStack.
Signed-off-by: Lance Albertson lance@osuosl.org

!bump minor ~

repo: osuosl-cookbooks/osl-repos


text:
create MySQL integration as an alternative to PostgreSQL

Feature Request
Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Teachability, Documentation, Adoption, Migration Strategy

What is the motivation / use case for changing the behavior?

Provided by TypeOrm, no need for work on our side for now.

Provided by TypeOrm, no need for work on our side for now.

repo: otasoft/otasoft-customer


text:
Refresh Table Metadata doesn't work on tabular model once calculation groups are implemented

Hi guys
So I implemented time intelligence as a calc. group in my model. Afterwards, I added 2 new columns to my Date view but when I try to refresh the table metadata to get the new columns into my model, it does not detect any changes:

Please help :)
/Melisa

I'm not able to reproduce this in the latest version of Tabular Editor. Could you please try to upgrade to see if this solves the issue in your case?

@otykier
I just did, but it does not appear to solve the problem:

//Melisa

What happens when you click the button? Are you getting an error message, or does the application hang?
Also, "Refresh Table Metadata" only works when you're using provider data sources (legacy) - not structured (power query). In other words, the partition source queries should contain SQL statements, not M code. Lastly, the connection string of the data source may need to be updated to include credentials, as these are never persisted to disk, and Tabular Editor needs the credentials in order to connect to the source and check the schema.

@otykier
Nothing of the sort, it keeps saying "No changes detected." But that makes sense now because I can see that some source queries are based on M code and some on SQL statements. I tested the feature on one table based on a SQL source query and it works fine.
Since this dataset was built by an ex-colleague, I am not familiar with the difference between working with M code instead of SQL, and I can't find information online - does it have any repercussions if I change them from M to SQL? And more importantly, how do I do so?
Thank you for the quick help!

There should be no repercussions of switching from M to SQL, provided that the M code does not apply any data transformations, and that all your data sources are relational databases that lets you use OLE DB/ODBC for querying data (SQL Server, Azure SQL DB, Oracle, etc.). Basically, if your tables can be populated using a simple SELECT * FROM <source view/table>, then you might as well use SQL. In order to do so, go to the Partitions below each table, right-click the "Partitions"-object and add a new partition (legacy). Then, enter the SQL statement as the partition query and then delete the original power query partition. This assumes that your model contains a Provider Data Source, which it sounds like it already does, since you were able to use the "Refresh Table Metadata" successfully on one of your tables.
I wrote a blog post which is sort of relevant here (migrating partitions from power query to legacy).
Closing this issue, but feel free to open a new issue if you have any specific problems with adding legacy partitions to your model or getting the Refresh Table Metadata option to work with those partitions.

Great, thanks a lot for the help! :)

authors: POMelisa otykier

repo: otykier/TabularEditor


text:
Dual Storage Mode Model deployed to Power BI Premium

I currently have a Power BI Desktop Report that uses data sources in Import and in Direct Query (all data is on an Azure SQL DB) and gets published to the Power BI Service. I would like to use Tabular Editor to version the model side of the Report and deploy it to the Power BI Service using DevOps, then connecting to the Dataset from Power BI Desktop.
I've tried to connect to the Azure SQL DB from Tabular Editor, but I cannot seem to change the mode from Import to Direct Query. Is it possible at all?

I would like to use Tabular Editor to version the model side of the Report and deploy it to the Power BI Service using DevOps, then connecting to the Dataset from Power BI Desktop.

This has nothing to do with changing data sources from Import to DirectQuery. Basically, all you need to do is publish your report to the service, then enable the XMLA read/write endpoint. Once you have the endpoint enabled, you can connect Tabular Editor directly to the dataset in the service, save the model metadata to source control / DevOps, make changes and deploy them back to service using Tabular Editor.
But if you actually intended to change a partition from Import to DirectQuery mode, then be aware that this is not supported if you're using Tabular Editor against a model hosted in Power BI Desktop. In this case, Tabular Editor will hide the partition mode property by default, but this can be changed under File > Preferences > Enable unsupported Power BI features. However, if you're working with a model against the Power BI Premium XMLA (read/write) endpoint, then all modelling operations should be supported, allowing you to change the storage mode on each partition:

Hi @julmoser. Did my reply answer your question? If not, can you please clarify what the issue is? Thanks!

Hi  @otykier ,sorry for my late reply.
Thanks for your description. I was able to change the mode from direct query to import and deploy it to the Power BI service. The model was initially created with Tabular Editor. However after doing so I can't seem to refresh the dataset anymore:

This happens only when I open the model directly from the Power BI Service and deploy directly to it with a mixed model (import and direct query) or all tables are imported OR
If I save the model to a folder and then deploy to the Power BI Service when I change the mode from direct query to import
but NOT when I change them from import to direct query
Addtional info: We need an on prem data gateway because we have the data in a Azure SQL DB within a VNET.
Any idea what could be behind the error?

authors: julmoser otykier


text:
Web server adapter

Hi,
Is there going to be future support for abstracting the LLM behind a (non-OpenAI) API gateway? As in, if I have an LLM serving requests on some IP address, is there an adapter I could use besides the Huggingface and OpenAI ones to get outlines to work with that API? I don't have a sense for how big of an ask this is.

To add a little more detail to this... in my case, I'd be interested in having a self-hosted GPU server running the actual LLM, with a separate process/server handling user state/queries to the LLM server/etc. outlines seems to only have support for Huggingface's transformers (which is manual and in the same process that Outlines is being run in) or openai (which is a complex API with a lot of knobs and switches). My question is, would it be possible to create an adapter for a generic web server so that you can use outlines in combination with any LLM resident on any server that you'd want?
I've also given some thoughts that a portion of this ask could be accomplished by using the openai library with api_base set to the appropriate URL, however that would then rely on the LLM server supporting all the exact same functionality in the exact same way OpenAI does and I don't know how heavily outlines relies on OpenAI's built-in capabilities (tokenizer, function calling API, etc.) to function with that specific adapter.

We are now considering adding this functionality in Outlines, assigning myself to the issue.

authors: fshriver rlouf

repo: outlines-dev/outlines


text:
fixes BUG #353. Example scripts don't run as expected.

Fixes example scripts.

Adds calls to *_fmt functions in babyagi.py, s.t. the script can work properly without triggering an Exception.
Removes one stop criterion and increases max_tokens in a few calls, s.t. the answers by the GPTs are not truncated.

Sorry, my bad. Now it passes the pre-commit tests.

Thank you for contributing!

authors: HerrIvan rlouf


text:
Add tokenizer to cache key

Fixes: #872

@ekagra-ranjan, nice.
Would an alternative be to devise a function that will compute a unique hash given the current class members? This would not require changing the API.

Would an alternative be to devise a function that will compute a unique hash given the current class members? This would not require changing the API.

Yes, that would be much better.

Closing this since it was covered by #911, which also required fixes unrelated to #872.

authors: br3no brandonwillard ekagra-ranjan


text:
fix Symfony 5.1 deprecation notice

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
yes

Tests pass?
yes/no

Documented?
no

Fixed tickets
#27

License
MIT

I just edited that from the GitHub web editor, it’s not tested and I have no idea if it works in Symfony <5.1 (I’m hoping the tests will tell me if it does not)

Thank you @mathroc!

authors: mathroc mcg-web

repo: overblog/GraphiQLBundle


text:
Import a6cb7ae1df: Only hifiJSDoc.json is placed in final build (by Maki)

This is an automated proposal to look at a commit made by Maki and import it into Overte

Commit:
a6cb7ae1dffb94be5aad6eaf681ebe9375a44bef

Author:
Maki

Date:
Mon, 13 Jan 2020 02:47

Only hifiJSDoc.json is placed in final build

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

interface/CMakeLists.txt

22
16
6
12

1 files
-
22
16
6
12

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick a6cb7ae1dffb94be5aad6eaf681ebe9375a44bef

Already messed with this one in our build

repo: overte-org/tivolicloud


text:
chore: bump UIs dependencies

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Chore

What is the new behavior (if this is a feature change)?
Bump UI Javascript dependencies

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

Covered by #275

repo: ovh/utask


text:
make builds deterministic by default

name: Pull Request
about: Submit a pull request
title: 'make builds deterministic by default'
labels: ''
assignees: '@boz @gosuri'

Description
Unless nostrip is passed via BUILD_OPTIONS, builds should
be deterministic by default.
Motivation and Context
This is a dependency of the work I'm doing to try integrate
Akash's Makefile with the Cosmos SDK's new simplified
deterministic buildsystem.
Thanks for considering.
How Has This Been Tested?

make akash BUILD_OPTIONS=nostrip
make install BUILD_OPTIONS=nostrip
make akash
make install

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks for the PR, a comment inside

authors: alessio troian

repo: ovrclk/akash


text:
Add set-value-*

Hiya @ksg97031
I've added the --set-pvalue-* flags as discussed(#395 and #394) previously. Here's how they work:

--set-pvalue applies to all parameters.
You can also set values individually for each param_type. (e.g --set-pvalue-cookie --set-pvalue-path)

These flags allow you to specify multiple rules through nesting. If a single value is provided, it replaces the existing value. If the value is specified with = or :, which distinguishes it from the parameter name, only that specific parameter's value is replaced.
I've run various tests on it; do you think there might be room for further improvements?

🇰🇷 지난번에 논의했었던 --set-pvalue 관련 flag들이 추가되었습니다. 모두 공통적인 로직을 가지고 있고, 단일 값으로 들어오는 경우 해당 값으로 치환되고 =나 :를 통해 파라미터 이름과 구별해서 들어오는 경우(e.g --set-pvalue-cookie "auth=1234" 해당 파라미터 명만 치환됩니다. 이것저것 테스트하긴 했는데, 혹시 모자란 부분이나 더 개선할 부분이 더 있을까요? (옵션 자체가 살짝 복잡해서 문서화를 꼼꼼히 해야할 것 같아요)

    --set-pvalue VALUE               Specifies the value of the identified parameter for all types
    --set-pvalue-header VALUE        Specifies the value of the identified parameter for headers
    --set-pvalue-cookie VALUE        Specifies the value of the identified parameter for cookies
    --set-pvalue-query VALUE         Specifies the value of the identified parameter for query parameters
    --set-pvalue-form VALUE          Specifies the value of the identified parameter for form data
    --set-pvalue-json VALUE          Specifies the value of the identified parameter for JSON data
    --set-pvalue-path VALUE          Specifies the value of the identified parameter for path parameters

Tests
set-pvalue

select param - case1 :

select param - case2 =

set-pvalue-cookie

set-pvalue-header

select header

set-pvalue-path

Asterisk symbol --set-pvalue=*:1234=444
-> 1234=444

Test
Asterisk
--set-pvalue "*:444:44" -> body: test_param=444:44
--set-pvalue "*:444=44" -> body: test_param=444=44
--set-pvalue "*=444:44" -> body: test_param=444:44
--set-pvalue "*=444=44" -> body: test_param=444=44

Select param
--set-pvalue "test_param:444:44" -> body: test_param=444:44
--set-pvalue "test_param:444=44" -> body: test_param=444=44
--set-pvalue "test_param=444:44" -> body: test_param=444:44
--set-pvalue "test_param=444=44" -> body: test_param=444=44

repo: owasp-noir/noir


text:
Error in multiparts documents when partnums attribute is specified

The problem can be reproduced, adding :partsnum: to the preamble of the test document basic-multipart.adoc:
= Basic Multipart Test
:doctype: book
:toc: left
:partnums:

and running the tests afterwards:
$ bundler exec rake test

...

  1) Error:
AsciidoctorMultipageTest#test_black_box_docs:
NoMethodError: undefined method `divmod' for "I":String
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:262:in `block in int_to_roman'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:261:in `each'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:261:in `map'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:261:in `int_to_roman'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:98:in `sectnum'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:500:in `convert_section'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/converter/html5.rb:55:in `convert'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/abstract_block.rb:75:in `convert'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:513:in `block in convert_section'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:510:in `delete_if'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:510:in `convert_section'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/converter/html5.rb:55:in `convert'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/abstract_block.rb:75:in `convert'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:223:in `block in convert_document'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:220:in `delete_if'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:220:in `convert_document'
    /..../asciidoctor-multipage/lib/asciidoctor-multipage.rb:252:in `convert_embedded'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/converter/html5.rb:63:in `convert'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/document.rb:948:in `convert'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/convert.rb:118:in `convert'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/convert.rb:190:in `block in convert_file'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/convert.rb:190:in `open'
    /..../asciidoctor-multipage/vendor/bundle/ruby/2.7.0/gems/asciidoctor-2.0.16/lib/asciidoctor/convert.rb:190:in `convert_file'
    /..../asciidoctor-multipage/test/test_asciidoctor-multipage.rb:16:in `block in test_black_box_docs'
    /..../asciidoctor-multipage/test/test_asciidoctor-multipage.rb:10:in `foreach'
    /..../asciidoctor-multipage/test/test_asciidoctor-multipage.rb:10:in `test_black_box_docs'
...

I think the error is caused by lib/asciidoctor-multipage.rb#L98 because @numeral already is in roman numbers when sectnum() method is called in part sections.
I fixed it, changing the line to:
%(#{@numeral}#{append})

Now all test pass.

@aplatanado, thanks for the report and fix! I have applied this in commit 910ac435af06a26027a0dcc1ea9aeb076c92783f and I plan to include it in a release soon.


text:
Website getting cloudflare " Error 1016"

This is happening on both IPv4 and IPv6 addresses.

This seems fixed. Thanks for taking a look at it!!

repo: owenthereal/jqplay


text:
Snapshot saving xlsx as Strict Open XML Spreadsheet (.xlsx) rather than Excel Workbook (.xlsx)

I just ran into this issue when creating the snapshot of 'Cause Hierarchy' file here.
The original file type meant that snap.read() wasn't working and was throwing this error Worksheet index 0 is invalid, 0 worksheets found.
It is fixed locally when I follow the solution in the Stack Overflow post, but flips back to saving as a Strict Open XML spreadsheet whenever I run the steps again.
Maybe there is a way we can force snapshot to save xlsx files as Excel Workbook (.xlsx) rather than Strict Open XML Spreadsheet (.xlsx)?

The relevant branch is here:
https://github.com/owid/etl/tree/major-causes
and the steps are:
poetry run etl data-private://meadow/ihme_gbd/2023-10-04/cause_hierarchy --private

Thanks Fiona, looking into it now.

@spoonerf I've tried couple of things, but no luck. Reading Strict Open XML is just a pain. How about you save it manually as CSV (or Excel) and create a snapshot from it with --path-to-file? (You can also mention this conversion in the comments)

Thanks for a taking a look into it Mojmir! I will do as you suggest.

authors: Marigold spoonerf

repo: owid/etl


text:
[docs-only] Fix envvars with a duration.

Fixes: #7676 (Duration types in envvars with its defaults and descriptions need check and possible fixing)

Fixes all durations replacing a how to with a reference text.
Removing defaults on durations if they are already defined by defaultconfig.go and shown therfore.
Adding a description text if there is no default from defaultconfig.go but from the underlaying package, on durations but not only.
Fixing some smaller issues found.

@dragonchaser many thanks reviewing it. I fully agree to have links in the description string. There is one problem though: Any link we put here can only be set as html link with no text representing the target. This is because we show the same stuff once for dev docs (markdown) and once for admin docs (antora). Sadly ,both targets have different mechanisms writing links.
There is an open issue where I have suggested to create an own section in dev docs how to write envvars - where we can put all those stuff/links into. Not ideal but better than the current situation.
Alternatively, feel free to volunteer 🤣, we can go the suggested route AFTER we have adapted our markdown and adoc table creation process...

repo: owncloud/ocis


text:
Conference

Deal with that difficult @jancborchardt as requested in #511
;-)
Seriously, I appreciate the attention to detail. Greatly.

@jancborchardt if you want to test - http://staging.owncloud.org/conf will have this in a few minutes. Just shoot any more requests here and I'll fix 'em, too.

ok, fixing...


text:
added even fibonacci numbers solution

https://github.com/ows-ali/Hacktoberfest/issues/39

Thanks!

authors: arvydasdev ows-ali

repo: ows-ali/Hacktoberfest


text:
fix(ast): parse rest parameter with the correct optional and type annotation syntax

closes #2653

#2686  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite

repo: oxc-project/oxc


text:
Fix compilation failure without "serde" feature

Compilation currently fails without the "serde" feature enabled because the use of #[serde(...)] isn't conditioned on the feature being enabled. This PR uses cfg_attr to do so similar to the Serialize and Deserialize derives.

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

authors: CLAassistant cbbowen


text:
Mex interface solution inconsistency

When I was testing parameter update, I found out that solutions of my problems vary, although the problem remained basically the same during consecutive runs. What I did was:

Created OSQP problem with predefined matrices and solved it (resultsOne.x).
Generated mex interface from that problem and solved this new embedded problem (xOne).
Updated original problem parameters using matrices and vectors which weren't changed to test the functionality and solved "modified" problem (resultsTwo.x).
Updated generated mex interface problem using the same methodology as in step 3. and solved that one as well (xTwo).

After comparing solutions to each other, I found out that only resultsOne.x and resultsTwo.x were (almost) the same (I assume the differences come from the fact that warm_start flag is on, so the second solution is obtained sooner and represents more accurate approximation of the theoretic solution). However, xOne is simmilar neither to xTwo, nor to resultsOne.x and resultsTwo.x . All in all, the results differ when they should be exactly the same.
I have prepared some example code to demonstrate mentioned behavior. Error vectors errOne, errTwo, crossErr and crossErrEm should all be zero, but they are not.  I have attached data.zip file (which contains data.mat) so you can load test data.
CODE:
load('data.mat'); %Load test data
prob = osqp;
% Matrix P=Px+Px' to ensure it is symmetric
prob.setup(sparse(Px+Px'), q, sparse(Ax), low, upp, 'eps_abs', 1e-07, 'eps_rel', 1e-07, 'max_iter', 5000);
% Used to generate embedded problem
%prob.codegen('code', 'parameters', 'matrices', 'mexname', 'emosqp');
% Solve original problem
resultsOne = prob.solve();
[xOne, yOne, statusValOne, iterOne, runTimeOne] = emosqp('solve');
% "Update matrices" without chaning the values
Px_new = Px+Px';
Ax_new = Ax;
q_new = q;
low_new = low;
prob.update('q', q_new);
prob.update('Px', nonzeros(triu(Px_new)));
prob.update('l', low_new);
prob.update('Ax', nonzeros(Ax_new));
emosqp('update_lin_cost', q_new);
emosqp('update_lower_bound', low_new);
emosqp('update_P', nonzeros(triu(Px_new)), [], 0);
emosqp('update_A', nonzeros(Ax_new), [], 0);
% Solve updated problem
resultsTwo = prob.solve();
[xTwo, yTwo, statusValTwo, iterTwo, runTimeTwo] = emosqp('solve');
% Error check
errOne = abs(resultsOne.x - xOne);
errTwo = abs(resultsTwo.x - xTwo);
crossErr = abs(resultsOne.x - resultsTwo.x);
crossErrEm = abs(xOne - xTwo);

Your problem appears to be either infeasible or unbounded, since OSQP never converges even after a huge number of iterations, but is never actually declared unsolvable by the convergence checks.   Perhaps the issue is tangentially related to #180?   @gbanjac : maybe this is a good test problem for that issue.

I am aware of that fact. However, prob.solve() always gives a solution. The first time in a lot of iterations, the second time after 25 iterations, whereas the code generated solver reaches maximum iteration number every time. My question was regarding the fact that code generated solver doesn't behave the same as the original solver, which is used to create it. Why is that so?

Perhaps it is related to this?: https://github.com/oxfordcontrol/osqp/issues/203
For which a fix was provided here: https://github.com/oxfordcontrol/osqp-matlab/pull/18

This is an issue posted by my colleague and it is not a problem anymore.  The problem we have at the moment is a different issue.  For a given test case, prob.solve() and emosqp('solve') simply don't yield the same solution (prob.solve() one actually solves the problem, whereas emosqp('solve') does not and reaches maximum number of iterations). This is what I am trying to figure out, since those solvers should be the same and, therefore, have the same solutions).

Could it be related to https://osqp.discourse.group/t/optimization-of-generated-code/39/9 ?

I understand, but I'm asking about application of the fix at https://github.com/oxfordcontrol/osqp-matlab/pull/18 because, without applying it, it's possible that the solver is overwriting data in places it should not.   That is one possible explanation of the results you are seeing.
If it is not that, then I suggest you see if you can recreate the problem on a QP of minimal size (i.e. 2-3 variables, 2-3 constraints), then let us have a look at the code that is being exported so we can see if the codegen is breaking somehow.

I have created a small QP where the problem is partially present. The difference is that, in this case, the results are almost similar (error up to 1e-6, which is negligible). However, the code generated solver still reaches maximum number of iterations (in my case 1000), whereas prob.solve() solves the problem in 350 iterations. I have included necessary data in data.zip file.
CODE:
load('test');
prob = osqp;
prob.setup(sparse(P), q, sparse(A), l, u, 'eps_abs', 1e-8, 'eps_rel', 1e-8, 'max_iter', 1000);
%prob.codegen('code', 'parameters', 'matrices', 'mexname', 'emosqp');
results = prob.solve();
[x, y, statusVal, iter, runTime] = emosqp('solve');
% Error check
err = abs(results.x - x);

The problem is that you are compiling in the C code with EMBEDDED option defined as 2, which means that no rho updates / refactorizations are performed.
The behaviour of the two methods is identical for me if I  replace your matlab call above with
prob.setup(sparse(P), q, sparse(A), l, u, 'eps_abs', 1e-8, 'eps_rel', 1e-8, 'max_iter', 5000, 'adaptive_rho', 0 );
In that case both solvers terminate after 1225 iterations and with identical primal and dual residuals.  Note that I had to also manually increase the maximum iterations within the generated workspace.c file, since I did not regenerate your C code.

Your suggested fix (adaptive_rho_interval = 25) works for both original and simplified problems. Thank you a lot!

authors: bstellato goulart-paul msvec94

repo: oxfordcontrol/osqp


text:
Test falls in afterEach step

Describe the bug
I am running a test in Suite in gitlab. I had an error in test's step with message "index out of range [0]. Allure was logging an error in the afterEach step instead of an error inside test. Moreover, the element I accessed has len = 1, so this shouldn't be an error.
To Reproduce
Steps to reproduce the behavior:

Used func: suite.RunSuite
What you actually wanted to do: to get test passed :)
What has been expected:  noError
What you got actual: error in afterEach step
Error Log (if any):
afterEach panicked: runtime error: index out of range [0] with length 0 goroutine 509 [running]: runtime/debug.Stack()  /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/ozontech/allure-go/pkg/framework/runner.(*runner).RunTests.func1.3.1.2()  /builds/Nx2CE54f/0/bx/pdp-api/.cache/go/pkg/mod/github.com/ozontech/allure-go/pkg/framework@v0.6.18/runner/runner.go:182 +0x85 panic({0x14edf00, 0xc000dbee28})  /usr/local/go/src/runtime/panic.go:884 +0x212 gitlab.*.ru/bx/pdp-api/e2e/internal/steps.(*Helper).GetDigitalBookLitres.func1()  /builds/Nx2CE54f/0/bx/pdp-api/e2e/internal/steps/item.go:111 +0x2a5 gitlab.*.ru/marketplace/qa/tools/qa_pack/pkg/utilities.Poll(0x18956c0?, 0xc0004ab6b0?, 0xc000d39198)  /builds/Nx2CE54f/0/bx/pdp-api/.cache/go/pkg/mod/gitlab.*.ru/marketplace/qa/tools/qa_pack@v0.3.15/pkg/utilities/utilities.go:123 +0xfb gitlab.*.ru/bx/pdp-api/e2e/internal/steps.(*Helper).GetDigitalBookLitres(0xc00040abd0, {0x18956c0, 0xc0004ab6b0}, {0x18acc20, 0xc0000ef7a0})  /builds/Nx2CE54f/0/bx/pdp-api/e2e/internal/steps/item.go:107 +0x176 gitlab.*.ru/bx/pdp-api/e2e/suites.(*WebSmokeSuite).TestWebAddToCartV8wDigitalBook(0xc000072780, {0x18acc20, 0xc0000ef7a0})  /builds/Nx2CE54f/0/bx/pdp-api/e2e/suites/web_suite.go:176 +0x130 reflect.Value.call({0xc000216a20?, 0xc000131830?, 0x30?}, {0x16067f1, 0x4}, {0xc0005a3920, 0x2, 0x18?})  /usr/local/go/src/reflect/value.go:584 +0x8c5 reflect.Value.Call({0xc000216a20?, 0xc000131830?, 0x10?}, {0xc0005a3920?, 0x10?, 0x2561240?})  /usr/local/go/src/reflect/value.go:368 +0xbc github.com/ozontech/allure-go/pkg/framework/runner.(*testMethod).GetBody.func1({0x18acc20?, 0xc0000ef7a0?})  /builds/Nx2CE54f/0/bx/pdp-api/.cache/go/pkg/mod/github.com/ozontech/allure-go/pkg/framework@v0.6.18/runner/tests.go:150 +0x2b1 github.com/ozontech/allure-go/pkg/framework/runner.(*runner).RunTests.func1.3.1(0xc000ba9ba0)  /builds/Nx2CE54f/0/bx/pdp-api/.cache/go/pkg/mod/github.com/ozontech/allure-go/pkg/framework@v0.6.18/runner/runner.go:205 +0x2e7 testing.tRunner(0xc000ba9ba0, 0xc000b8e190)  /usr/local/go/src/testing/testing.go:1446 +0x10b created by testing.(*T).Run  /usr/local/go/src/testing/testing.go:1493 +0x35f

Expected behavior
If test falls, allure logs error inside test

Not actual

authors: ismonsen koodeex

repo: ozontech/allure-go


text:
Changer l'ordre des onglets Repeteurs

Bonjour,
Je voudrais vous demander comment on peut modifier l'ordre de visualisation des onglets "Repeteurs"
Par example dans mon cas,

Repeteur 1 -  MAC 0C:73:29:7F:10:XX - IP 192.168.1.5
Repeteur 2 - MAC 0C:73:29:7F:2A:XX - IP 192.168.1.6

Je voudrais bien le montrer dans cette ordre, mais "drag" des onglets ne marche pas, et je n'ai pas trouvé une config visible dans config.txt

En vous remerciant d'avance

Bonjour, non il n'y a pas de possibilité de contrôler cet ordre, il est juste dépendant de l'ordre avec lequel la Livebox donne sa liste d'appareils détectés.
Il est très simple d'activer le drag&drop sur les tabs, mais cela perturbe le fonctionnement du programme qui est basé sur les index de ces tabs et le fait que les répéteurs soient bien listés à la fin... Est-ce vraiment si important ?

Bien-sûr que ce n'est si important, c'est juste un un détail, je suis d'accord.
Je suis peut-être un peu manique :)

Bonjour, comme ce n'était finalement pas très compliqué je viens de pousser sur le repo une évolution permettant de bouger n'importe quel onglet, y compris ceux des répéteurs, n'importe où et de retrouver ce même ordre lors du lancement (l'ordre est sauvé dans la configuration).
Ce sera dans la release qui arrive maintenant très très bientôt.

La release v1.1 est maintenant publiée.

authors: p-dor saner-demirkol

repo: p-dor/LiveboxMonitor


text:
No need to call the formatted method

Codes generated by macros are automatically formatted
https://twitter.com/rintaro/status/1667240045894569984?s=46&t=SN-N4I5atcs590hLFHmVAQ

this line
https://github.com/p-x9/AssociatedObject/blob/594cc5225d4781073740baf34d0a8c7b8199094c/Sources/AssociatedObjectPlugin/AssociatedObjectMacro.swift#L38


text:
[1.12.2] [Suggestion] Thirst Quencher Tweak

TAN adds Purified Water as a fluid, might be good to allow the Quencher to accept regular, dirty, and normal water fluids.

For context, I was using a TE filling machine to fill it.

Didn't see a need for a whole new issue for just this, but the tootip for the quencher is derpy as well. screenshot in a second.

":...tank to fill
to run.Automatically cleans water   and
Forge Energy
Automatically cleans water"

lol..this is why I told you I still had tests to run (specifically mentioning toolltips ;) )


text:
unable to run forever.

i managed to login, and save load session from file, but how can i run this forever ?

i managed to login, and save load session from file, but how can i run this forever ?

Maybe you can use signal to listen KeyboardInterrupt
Just like baileys and go-whatsapp

authors: RynKings wastorblum


text:
P4_14 (V1.0.4) : is it possible to call {add/remove/copy}_header on metadata?

The spec states

Metadata is always considered to be valid.

Also the specification remove_header primitive action states

If the header_instance is not an element in a header stack, then the indicated header instance is marked invalid

These two sentences would be inconsistent with each other if it is possible to call remove_header on metadata. (similar situation if it is possible to copy an invalid packet header into a metadata)

I doubt it was ever intended that those operations could be called on anything other than headers in P4_14.

My guess was also that {add/remove/copy}_header should only be allowed on packet header and not metadata. But I could not find anywhere in the spec that explicitly says so (maybe I'm missing something).
Although I must note that there is a bit of confusion about whether "header instance" means packet header only or both packer header and metadata. Section 2.2 says

There are two sorts of header instances: packet headers and metadata.

But the BNF grammar is:
instance_declaration ::= header_instance | metadata_instance
header_instance ::= scalar_instance | array_instance
scalar_instance ::= header header_type_name instance_name ;
...

Probably it worth clarification in the spec.

authors: jafingerhut kheradmand


text:
Format like P4-14 document

[DO NOT MERGE]
This experimental pull request uses the same look and feel as the P4_14 spec.
It requires:

Xelatex
Fonts mentioned in the README

Let's not merge in case it breaks the build for others. But if you are curious, feel free to try it out.

@cc10512 Would you do a dry run building the documents using this branch and let me know if the new build with fancy fonts works for you?

Can you please rebase this branch?
To make sure that the TOC shows correctly in PDF, you could remove h* from the tex style:
--- a/p4-16/spec/P4-16-draft-spec.mdk
+++ b/p4-16/spec/P4-16-draft-spec.mdk
@@ -31,7 +31,7 @@ pre, code {
 body.madoko {
   font-family: UtopiaStd-Regular;
 }
-title,titlenote,titlefooter,authors,h1,h2,h3,h4,h5 {
+title,titlenote,titlefooter,authors {
   font-family: Helvetica;
   font-weight: bold;
 }

Also, the Dockerfile will need to be updated with at least the following:
apt install -y texlive-math-extra
sudo apt install lmodern
mkdir -p ~/.fonts/truetype/UtopiaStd/
curl -o  ~/.fonts/truetype/UtopiaStd/UtopiaStd-Regular.otf <from somewhere that doesn't have captcha>
wget https://tug.org/fonts/getnonfreefonts/install-getnonfreefonts
texlua install-getnonfreefonts
getnonfreefonts-sys luximono
sudo fc-cache -f -v

@cc10512 I cherry-picked the commit (414510f) from your branch. Can this go now? If so, will you approve?


text:
Extend minSizeInBits to cover more cases

Fixes https://github.com/p4lang/p4-spec/issues/937

We discussed this issue at the October '21 LDWG.
There is broad support for this proposal, but some questions about certain types (header stacks, unions, etc.).
We resolved to remove this operation for those types.
Action items:

@vgurevich should weigh in on the proposal
@mbudiu-vmw will modify the proposal to implement the above changes

Was actually thinking to take out all the undefined ones and say that everything is is undefined...

That could work too. Probably more robust that way.

Any the double “to apply”
On Mon, Nov 1, 2021 at 9:49 PM Andy Fingerhut @.***>
wrote:

@.**** commented on this pull request.
In p4-16/spec/P4-16-spec.mdk
https://github.com/p4lang/p4-spec/pull/967#discussion_r740665950:

|-----|-----|-----|

+## Summary of changes made in version 1.2.3
+
+* extended the of minSizeInBits, and minSizeInBytes to apply to apply to more
looks like some kind of typo here. Perhaps remove "the of"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/p4lang/p4-spec/pull/967#pullrequestreview-794811392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOCFUTYKB2L5TRFIZPCB73UJ47TBANCNFSM5FKA2TLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Would it be reasonable to include at least a link to another file inside this same repo that gives the rationale that Nate recorded in his notes, for the cases like header stacks and header unions that one might consider "odd"?  Also the example Nate wrote that seems counter-intuitive when written out and demonstrated how minSizeInBits and maxSizeInBits behave on those data types?  I understand if we don't want to include such background material in the spec itself, but having a separate MarkDown file in the directory p4-16/spec/docs has been done for similar background details for other things in the spec, and seems useful as history of "why".

I personally think that would be fine...
-N
On Sun, Nov 28, 2021 at 12:38 PM Andy Fingerhut @.***>
wrote:

Would it be reasonable to include at least a link to another file inside
this same repo that gives the rationale that Nate recorded in his notes,
for the cases like header stacks and header unions that one might consider
"odd"? Also the example Nate wrote that seems counter-intuitive when
written out and demonstrated how minSizeInBits and maxSizeInBits behave on
those data types? I understand if we don't want to include such background
material in the spec itself, but having a separate MarkDown file in the
directory p4-16/spec/docs has been done for similar background details
for other things in the spec, and seems useful as history of "why".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/p4lang/p4-spec/pull/967#issuecomment-981123375, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOCFUWN7IU6OQRBCQG5KGDUOJSJJANCNFSM5FKA2TLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I am happy adding the separate document with background details/rationale in a separate PR after this one is merged, if that helps this one make progress.

We agreed to take this as written (modulo typos) at December '21 meeting.

authors: jafingerhut jfingerh jnfoster mbudiu-vmw


text:
Spec uploads to S3

It appears that the spec is being uploaded to S3 in addition to GH Pages:
Upload to S3
https://github.com/p4lang/p4runtime/blob/a1529acd1532eb084f6aad19b47a856043c1eb5c/.travis.yml#L36-L48
Upload to gh-pages
https://github.com/p4lang/p4runtime/blob/a1529acd1532eb084f6aad19b47a856043c1eb5c/.travis.yml#L68-L73
Should we move the S3 one? Where is that being used?

It's only used to do test builds and rendering of the spec, so I wouldn't worry about the S3 ones
see https://github.com/p4lang/p4runtime/tree/main/docs#ci-upload-of-built-documents

Got it. Thanks!


text:
Update README.md to include flags for yara ./configure call

Struggled for a bit getting yara-java to work, but then discovered a few extra flags to pass to configure to get it working.  It looks like this might be a useful update?

Personally I'm compiling w. crypto support (although it's off for travis builds) - can you specify these are optional ? Thanks.


text:
Relative coordinates depending on screen size

hello everyone
Im writting a program to implement an heatmap for analysing a website. I getting coordinates for differents users using different screen size. I am getting coordinates from different screen size for the same clicked element( for example a click coordinate on the same button in 1600 x 800  and on 800 x 400).
When I printed the result using my coordinates the two "same" clikc are not printed at the coordinates.
I have tried to convert this coordinates using the current height and width but it does'nt work.
Does anybody have ideas on how could I transform all my coordinates to a fixed screen size to make an average of all my users clicks?
Thanks

Hello! Have you found a solution to this? I'm facing the same issue

authors: ghost stellamarkop


text:
Can you separate chart data from options?

if it's possible already could you please document it.
Thanks.

You can reference objects from the options.
e.g.
     data: myFancyDataObject
  }]```

Is that what you had in mind?

I meant something like this:

{{n.title}}

On Thu, May 28, 2015 at 11:29 AM, Barry Fitzgerald <notifications@github.com

wrote:

You can reference objects from the options.
e.g.
series: [{
data: myFancyDataObject
}]
Is that what you had in mind?
—
Reply to this email directly or view it on GitHub
https://github.com/pablojim/highcharts-ng/issues/330#issuecomment-106264941
.

No that is not supported. You could quite easily wrap the directive in another one though to acheive this.

authors: jlebrech pablojim

repo: pablojim/highcharts-ng


text:
Fix issue with saml ssocircle when using internet explorer

Chrome works but when using POST authentication binding from internet explorer I'm getting following stack trace. SSOcircle is doing something different with IE.
Caused by: org.opensaml.messaging.decoder.MessageDecodingException: Error unmarshalling message from input stream
	at org.pac4j.saml.transport.AbstractPac4jDecoder.unmarshallMessage(AbstractPac4jDecoder.java:127)
	at org.pac4j.saml.transport.Pac4jHTTPPostDecoder.doDecode(Pac4jHTTPPostDecoder.java:39)
	at org.opensaml.messaging.decoder.AbstractMessageDecoder.decode(AbstractMessageDecoder.java:58)
	at org.pac4j.saml.sso.impl.SAML2WebSSOMessageReceiver.getDecoder(SAML2WebSSOMessageReceiver.java:28)
	... 63 common frames omitted
Caused by: net.shibboleth.utilities.java.support.xml.XMLParserException: Unable to read data from input stream
	at net.shibboleth.utilities.java.support.xml.BasicParserPool.parse(BasicParserPool.java:255)
	at org.opensaml.core.xml.util.XMLObjectSupport.unmarshallFromInputStream(XMLObjectSupport.java:235)
	at org.pac4j.saml.transport.AbstractPac4jDecoder.unmarshallMessage(AbstractPac4jDecoder.java:124)
	... 66 common frames omitted
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:701)
	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:408)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1895)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1761)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1799)
	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:156)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:805)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
	at net.shibboleth.utilities.java.support.xml.BasicParserPool$DocumentBuilderProxy.parse(BasicParserPool.java:785)
	at net.shibboleth.utilities.java.support.xml.BasicParserPool.parse(BasicParserPool.java:247)

I'm trying to understand what the issue is. Reading your code, it seems that the body content is not a raw SAML response, but a list of key=value (like a query string) with the SAML response as one of the key=value.
I understand your change but I think it breaks the behavior when a raw SAML response is directly passed in the body as you always try to parse the body content.
Can you add a test to confirm this still works and fix the code if need be? Thanks

Do u have an example of a raw saml response since obviously ssocircle doesn't provide one

Garry

-------- Original message --------
From: LELEU Jérôme notifications@github.com
Date: 12/4/19 1:56 AM (GMT-05:00)
To: pac4j/pac4j pac4j@noreply.github.com
Cc: garpinc garpinc@hotmail.com, Author author@noreply.github.com
Subject: Re: [pac4j/pac4j] Fix issue with saml ssocircle when using internet explorer (#1468)
I'm trying to understand what the issue is. Reading your code, it seems that the body content is not a raw SAML response, but a list of key=value (like a query string) with the SAML response as one of the key=value.
I understand your change but I think it breaks the behavior when a raw SAML response is directly passed in the body as you always try to parse the body content.
Can you add a test to confirm this still works and fix the code if need be? Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pac4j/pac4j/pull/1468?email_source=notifications&email_token=AAOW7RBPKHC6A4JHN73UH2LQW5ICLA5CNFSM4JVAQ4KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF36HOY#issuecomment-561505211, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOW7RALSNLVKWPY7KY2P73QW5ICLANCNFSM4JVAQ4KA.

I've added additional test case

SSOcircle is doing something different with IE.

I am not sure I understand this. Why is this happening with IE and not with Chrome?

SSOcircle is doing something different with IE.

I am not sure I understand this. Why is this happening with IE and not with Chrome?

I have no idea.. But that’s what I found through testing. I’m assuming it’s detecting browser to decide what to send back

Could you indicate what version of IE is this?

Could you indicate what version of IE is this?

I tested with version 11.476.18362.0

I'm surprised this additionnal test works, but it's good. Merging...

BTW, I slightly refactored your code: https://github.com/pac4j/pac4j/commit/6dd694bf67da3d4458400485c79a76382f8011ec

authors: garpinc leleuj mmoayyed


text:
Get Pachyderm Working with OpenShift

Per our discussions, it looks like it may be a privilege issue or something similar. I have attached the steps to install the OpenShift vagrant image and then how to deploy pachyderm. You can troubleshoot through normal Kube commands as well. Everything is created and running, except the pachd pods do not start.
https://gist.github.com/munchee13/8cf64f2c1797d1d60891b28a193767f6

K8s has support in theory. Need to test this though. Required for talk at Red Hat Summit

@munchee13 Hey Chris, we're working on testing out Pachyderm on OpenShift, but we're getting a bit stuck becuase our unfamiliarity with OpenShift and how those primitives translate to Kubernetes'. Any chance you'd be able to help us out with the OpenShift side of things? @jdoliner can chime in with more specific questions.

@munchee13 first snag I seem to have hit. I setup openshift using this guide:
https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
and seem to be hitting and issue where none of the nodes become available and thus pods can't be scheduled. Any ideas on how to fix that?

Did you post the inquiry to the community list? That is likely the best
place to get some help.
Cheers,
Chris
From: Joe Doliner notifications@github.com notifications@github.com
Reply: pachyderm/pachyderm
reply@reply.github.com
reply@reply.github.com
Date: June 10, 2016 at 5:49:00 PM
To: pachyderm/pachyderm pachyderm@noreply.github.com
pachyderm@noreply.github.com
CC: munchee13 cmorgan@redhat.com cmorgan@redhat.com, Mention
mention@noreply.github.com mention@noreply.github.com
Subject:  Re: [pachyderm/pachyderm] Get Pachyderm Working with OpenShift
(#336)
@munchee13 https://github.com/munchee13 first snag I seem to have hit. I

setup openshift using this guide:
https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
and seem to be hitting and issue where none of the nodes become available
and thus pods can't be scheduled. Any ideas on how to fix that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pachyderm/pachyderm/issues/336#issuecomment-225304387,
or mute the thread
https://github.com/notifications/unsubscribe/ABxhZRvj5L58B6xiYm1lSgUrlA781LVzks5qKdvMgaJpZM4IMoFk
.

Chris also suggested:
Maybe try with just the all-in-one VM instead: http://openshift.org/vm

@sambooo

Alright so far I tried setting openshift origin up inside a container using https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
I managed to get this working, the issue with nodes not becoming available was caused by a full disk, restarting the machine fixed it.
The next snag I hit was with privileged containers. That seemed to go away when I did oc edit scc and enabled privileged containers for all the profiles. This seemed to work.. but only sometimes. Sometimes it accepted containers with privileged security contexts and sometimes not.
Lastly I hit a snag with ports. Apparently openshift, unlike kubernetes, won't let you bind to low ports inside containers.

I've been able to get pachyderm running on openshift origin by doing the following:

Init the vagrant box: vagrant init thesteve0/openshift-origin
Forward port 30650 in Vagrantfile: config.vm.network "forwarded_port", guest: 30650, host: 30650
Start the vm and connect with ssh: vagrant up && vagrant ssh
Login as admin: oc login, username and password are both admin
Enable privileged containers: oc edit scc and set allowPrivilegedContainer: true everywhere
Download the manifest: curl -O http://pachyderm.io/manifest.json
Search for hostPath in the manifest (vi manifest.json) and remove those three lines plus the previous comma.
Submit the manifest: oc create -f manifest.json and then exit.

Now pachctl should work, you can test it with pachctl version which should tell you your client and server versions.

An important note: Errors regarding timeouts on etcd/rethinkdb are probably unrelated to this issue. They were creating noise that made it hard to pin this down, and those errors are harmless unless they continue for a large number of restarts.

Only thing left to do is document steps necessary in SETUP.md

Added instructions to SETUP.md.  Credits to @sambooo.

Hello
I need your help. I am trying to evaluate capability of pachyderm in our operational context.  I would like to know how to integrate the pachyderm with openshift  baseline. The installation procedure is extremely laconic  thus any support in this matter highly appreciated.
pachctl deploy custom --persistent-disk  --object-store    [flags]
Would you be able to explain what is it persistent disk with regards to OS definitions? Is it a president disk or volume? What is it an object store etc? I am must admit I am not OS admin just basic user and in this case I need  to know what I will  gain from investment in  pachyderm.
Simple HOW-TO for dummies is my dream in this stage of engagement with this concept e.g.

What needs to be done before; shell I create an user pachyderm?
How to create in OS environment persistent disk?
How to create in OS environment object store?
What are those  persistent disk args  object store args  arguments?
I have spoken with local OS experts and admins and they are also confused in term of terminology thus all  suggestions where not workable or rejected by pachctl.
Furthermore, even pachyderm support was not able to explain what needs to be done so I am trying to find good soul  willing to help  me solve this mistery.
Haps.

Hi @haps-basset
Did you get to the bottom of this? Has anything changed in Openshift (or Pachyderm) since you last tried this?

No I did not and we have decided to drop further study and evaluation of this product.
We are interesting in usage some product which should support our research then testing or verifying its suitability.
Published by link point to the same page as on yours main web page thus is just useless.

Sorry for the delay and confusion here @haps-basset. Looks like this issue slipped through the cracks a bit, but we are more than happy to help you work through this. If you do try again, please paste you result here and/or let us know what questions come up in our public Slack channel: http://slack.pachyderm.io/.
Regarding your Openshift questions:

Regarding users, you should be able to deploy Pachyderm from anywhere that you can access your cluster (i.e., via oc).

Regarding the persistent disk, this would be a "persistent volume" is OS terms. More information here: https://docs.openshift.com/enterprise/3.1/dev_guide/persistent_volumes.html

Regarding the object store, this could be any S3 compliant object store solution like Minio, Rook, Ceph, Swift, etc. or any one of the cloud provider's object store solutions like S3, GCS, or Azure blob storage.

Regarding the object store args, this will depend on what object store you are using. Can you give a little more information about which object store you are using?

Note, the custom deploy is meant out-of-the-box to support clusters deployed in the cloud, but with a non-cloud-provider object store (like Minio). As such, you will likely have to do what is mentioned here in terms of running the deploy with --dry-run and then modifying your manifest according if any adjustments need to be made for your particular k8s/OS deployment.
Let us know which parts of this don't make sense, and we can definitely provide more details and help.

In our case we are only consider usage of private PaaS thus any suggestion to use non-private solution is just useless for us. In order to deploy private PaaS, we had considered OpenShift.  Due to the fact that deployment of Pachyderm on OpenShift was unsuccessful we had decided to drop further study of this product. Bear in mind, deployment OpenShift is not cheap.  To clarify, we thought  about service support from your company  as well but due to problems with evaluation risk with utilisation of the system was too high and   the program was stopped.

Hi @haps-basset, thanks for the update, and sorry for the issues with deployment. I am running through some OpenShift deployment stuff over the next few weeks, and I'm hoping to update the docs accordingly for future users. Please reach out any time if we can be of assistance with future deploys.

Have you guys tested on 3.7 and 3.9 yet and been able to update your doc accordingly?

Hi
Can we use native Containerized Red Hat Gluster Storage for the object store? (RE: "this could be any S3 compliant object store solution like Minio, Rook, Ceph, Swift, etc. or any one of the cloud provider's object store solutions like S3, GCS, or Azure blob storage.").

@adrianog Yes, we've seen successful Gluster deployments in the past. It's not something we've tested much ourselves, but let us know if you run into any problems.

authors: JoeyZwicker adrianog derekchiang dwhitena haps-basset jarcher jdoliner munchee13 sambooo sjezewski

repo: pachyderm/pachyderm


text:
fix typo

cmdheight=0 に設定した場合、出力が収まりきらないことにより
press enter or type command to continue

が表示されます
この修正点は私にとってデバッグ時のメッセージのように見えます

Thanks for using my extension.  It commit deserves approval.


text:
Resolve SetuptoolsDeprecationWarning

When building python packages with colcon on ROS 2 Humble, the following warning is displayed:
--- stderr: [PACKAGE_NAME]
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
---

Solution found
Downgrade setuptools python package to version 58.2.0

repo: packbionics/jetleg


text:
rename Packet to Equinix Metal in docs

Packet is now Equinix Metal!, keep an eye on this project for future resource name changes.

rename Packet to Equinix Metal in docs

Does not affect k8s resource names, container image names, git repo or org names, or Crossplane package names.
Signed-off-by: Marques Johansson mjohansson@equinix.com

Description of your changes

Checklist

I have:

[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the package resources documentation and app.yaml to include any new managed resources or classes.

@hasheddan renamed to https://github.com/packethost/crossplane-provider-equinix-metal - let me know if the name is problematic.

@displague it is a little long, which probably isn't a huge deal, bu might be kind of cumbersome for docker image if we want to match. What would you think of something like xp-provider-metal? Images would be equinix/xp-provider-metal and equinix/xp-provider-metal-controller.

Is Crossplane adopting the xp prefix elsewhere? The thing with these names is that you are generally not typing them in, so I'm not too worried about it. If the xp prefix is being adopted, I wouldn't mind renaming it.

@displague our on-disk package extension is .xpkg, so there is some precedence. There are also XRDs and XRs. I think the primary place that would be annoying for folks is with the kubectl install provider equinix/crossplane-provider-equinix-metal:latest

authors: displague hasheddan


text:
ensure InstanceID returns correctly formatted providerID

Previously, we were returning <uuid> when it should be packet://<uuid>. This was messing up other areas.
Fixed the issue, and the test.
Fixes #37
I am running some additional tests; please do not merge in until I do.

OK, this is good to go. Looking for feedback from reviewers.
It still does not set the node.spec.providerID, but it does work around the issue the way ccm is intended to.

repo: packethost/packet-ccm


text:
Go support?

Any plans to support go? Or maybe a new language guideline?

@danielfireman
It will be great but it seems a really big challenge.
For now, it supports 4 really similar dynamic languages. But for the moment I wasn't able to even formulate how it could look for a statically typed language.
Any ideas are really welcomed :smiley:

Do you have a simple design document or something that I could easily grasp the design of packspec and give the go implementation a shot?

authors: danielfireman roll

repo: packspec/packspec


text:
Allow keyboard navigation even when text input is not focused

Bug
When the search input is not focused, the navigation keys don't work as expected. In the screencap below, I click elsewhere inside the palette and press the up/down arrow keys, but it scrolls the list/page instead of navigating through the list items.
https://user-images.githubusercontent.com/24620401/199450737-08094588-e54a-40c2-aeb7-56b2b55d654c.mov
Fix
This fix allows the cmdk-root div to capture the navigation keybindings. This also allows the developer to use a custom search input outside the context of <Command>...</Command> (which is my use-case 😋)

Any updates on this? We are experiencing the same issue.

Would love this feature as I am looking to exactly the same thing.

Same here. Would love to have this feature

+1

authors: OwenVey davidthomasparks frixaco glocore jinyang1994

repo: pacocoursey/cmdk


text:
Fix/decompress vulnerability

Fixes critical vulnerability in decompress.
The library I used is well maintained but doesn't support stripped folders from the output so I've adjusted to deal with that.
I also fixed some linting whilst in there so I haven't squashed those commits.

LGTM, I assume it still needs to be tested?

It's been tested - appveyor/travis are happy. I'll merge in now.

authors: mefellows uglyog

repo: pact-foundation/pact-node


text:
WARNING: Pact file has no interactions

How to reproduce this issue:

git clone --branch bug-pact-file-no-interactions git@github.com:tienvx/pact-php.git
cd pact-php/example/matchers/consumer
phpunit
cd ../provider
phpunit

This issue only happen with 0.4.12. It doesn't happen with 0.4.11
Here is the commit that can explain what happen:
diff --git a/composer.json b/composer.json
index c83557c9..7db191e6 100644
--- a/composer.json
+++ b/composer.json
@@ -103,12 +103,12 @@
     "extra": {
         "downloads": {
             "pact-ffi-headers": {
-                "version": "0.4.11",
+                "version": "0.4.12",
                 "url": "https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v{$version}/pact.h",
                 "path": "bin/pact-ffi-headers/pact.h"
             },
             "pact-ffi-lib": {
-                "version": "0.4.11",
+                "version": "0.4.12",
                 "variables": {
                     "{$prefix}": "PHP_OS_FAMILY === 'Windows' ? 'pact_ffi' : 'libpact_ffi'",
                     "{$os}": "PHP_OS === 'Darwin' ? 'osx' : strtolower(PHP_OS_FAMILY)",
diff --git a/example/matchers/pacts/matchersConsumer-matchersProvider.json b/example/matchers/pacts/matchersConsumer-matchersProvider.json
index a9f8dce8..c2686643 100644
--- a/example/matchers/pacts/matchersConsumer-matchersProvider.json
+++ b/example/matchers/pacts/matchersConsumer-matchersProvider.json
@@ -29,21 +29,21 @@
             ]
           },
           "query": {
-            "$.pages": {
+            "locales[]": {
               "combine": "AND",
               "matchers": [
                 {
                   "match": "regex",
-                  "regex": "\\d+"
+                  "regex": "^[a-z]{2}-[A-Z]{2}$"
                 }
               ]
             },
-            "$['locales[]']": {
+            "pages": {
               "combine": "AND",
               "matchers": [
                 {
                   "match": "regex",
-                  "regex": "^[a-z]{2}-[A-Z]{2}$"
+                  "regex": "\\d+"
                 }
               ]
             }
@@ -591,9 +591,9 @@
   ],
   "metadata": {
     "pactRust": {
-      "ffi": "0.4.11",
+      "ffi": "0.4.12",
       "mockserver": "1.2.4",
-      "models": "1.1.12"
+      "models": "1.1.14"
     },
     "pactSpecification": {
       "version": "4.0"

Hmm, this is odd. Let me check the commit history to see what could be causing this.

I think locales[] in the pact file causing this issue.
This query syntax locales[]=first&locales[]=second (PHP is using this syntax as multiple values) is mapped to "$['locales[]']": {"matchers": ...} in pact file in 0.4.11 and it's supported, now it's mapped to "locales[]": {"matchers": ...} and look like it's not supported any more -> result in the 'warning' above

But that should never result in the interaction being ignored and an empty Pact returned. It should either ignore just that matching rule and load the result or return an error for the whole process.
I think it is something else going wrong. I'm debugging it now.

Ok, got it failing correctly now (it was ignoring any error when loading the interaction).
Failures:

1) Failed to load pact - Failed to load pact '/home/ronald/Development/Pact/pact-php/example/matchers/provider/tests/../../pacts/matchersConsumer-matchersProvider.json' - Empty bracket expressions are not allowed in path expression "locales[]" at index 8

There were 1 pact failures

Now to fix that issue

0.4.13 works for me

It works for me too. But I got another issue. Probably it's not related, so I will close this issue and create another issue for it.

Created another issue for it https://github.com/pact-foundation/pact-reference/issues/360
Thank you for fixing this one. Closing.

authors: rholshausen tienvx

repo: pact-foundation/pact-reference


text:
A few questions about the provider side of Pact.

Hey @YOU54F,
Thanks for the repo, it really helps alot!  I have 2 questions. Thank you for you time in advance.

It looks like, i need to run my provider service on localhost before starting provider tests?  If so, how my test will run on CI pipeline?  I mean, i was expecting not to really start my provider service. Maybe a mock server...

_providerUri = "http://localhost:9000";
_pactServiceUri = "http://localhost:9001";

Why we remove products in "AddData" method here? Method name get confused me.  Also, do i really need to access to a real DB?  You know, CDC testing is not integration testing and it runs super fast.  I was expectiong to verify that my response model is the same model that comes from the contract.

Why do we access to a real DB and why do we need to up and running provider service for contact tests?
private void AddData()
{
    _Repository.RemoveProducts();
}

👀

Hello sorry for super late replies

It looks like, i need to run my provider service on localhost before starting provider tests? If so, how my test will run on CI pipeline? I mean, i was expecting not to really start my provider service. Maybe a mock server...

If you can your provider locally, you will be able to run it in CI.
If you use a mock server, you are not verifying your provider implementation and I would argue not getting any benefit from the contracts the consumers have provided in validating that your provider can honour those
In some frameworks you can programatically start up your application (such as NodeJS/Express) as part of your provider test, and close it after the test.

Why we remove products in "AddData" method here? Method name get confused me.

They actually look like they are mapped incorrectly, I think AddData -> RemoveAllData and RemoveAllData -> AddData

Also, do i really need to access to a real DB? You know, CDC testing is not integration testing and it runs super fast. I was expectiong to verify that my response model is the same model that comes from the contract.

You can mock out a database if required, if your application uses postgres for example, you can use your own pg database for testing, by changing the endpoint your app calls.
Or you could replace for an in memory database. I would try to maintain calls through your data access repository layer. The more you mock, the less confidence you gain, so its a trade off and balance, depending on circumstances!

repo: pactflow/example-provider-dotnet


text:
ext-all-debug.js 404 Not Found

Test with Grails 2.0.0.M2.
I think the Resources Plugin cause files in 'ext' directory not accessible.

Well, that shouldn't have any influence unless Grails 2.0 will not serve static content at all.
Did you have any luck getting it to work with 2.0?

ext/bootstrap.js => ok
ext/ext-all.js => ok
ext/ext-all-debug.js => 404 not found
If I don't use the extjs4 plugin and put a "ext" directory in web-app, I get a same result.
So I think the filename "ext-all**-debug**.js" can not be processed with the resources plugin.
If I turn of the resources plugin in BuildConfig.groovy with comment line below.
//compile ":resources:1.0.2"

It just works.
But the resources plugin have some useful features like compressing js and css files.
Maybe need to add some configuration to get resources plugin work with "ext-all-debug.js".
I keep trying...

Let me know how it turns out. If you find out how to overcome the problem please make a pull request so that others can benefit from your findings. Thanks!

Any news on this? Grails 2.0.0 and extjs4 4.0.7.0 still has the same issue.

I've encountered a number of issues like this after moving to Grails 2.0.
It looks like the extjs and extjs4 plugins are not compatible with the
resources plugin.
If you want to use it at this point you'll have to uninstall the resources
plugin for now.
Matthias.
2012/1/21 Thomas Borg Salling <
reply@reply.github.com

Any news on this? Grails 2.0.0 and extjs4 4.0.7.0 still has the same issue.

Reply to this email directly or view it on GitHub:
https://github.com/padcom/grails-extjs4/issues/4#issuecomment-3598211

I installed ExtJS 4.0.7 myself and tried renaming the file to eliminate 1 of the dashes (e.g. ext-alldebug.js), then replacing bootstrap.js with ext-alldebug.js and it works correctly. You would need to manually change ext-alldebug.js to ext-all.js as necessary.

authors: lyhcode padcom rollernaut tbsalling


text:
I can't activated my own theme

I had make my own Theme with the Hello Theme as Template.
Now is the error message: " Unable to activate "bauid/theme-name".
A fatal error occured."
Can you help me?

Error on my part

repo: pagekit/pagekit


text:
Pagespeed is not rewriting my website

I use the Nginx 1.8.0 and WP Super Cache.
I have rebuilt Nginx and the module is included when I type the command
Nginx -V
but when i type
curl -D- http://mydomain.com | less
I don't see the X-Pagespeed there..
What is wrong and what do you suggest.
Thanks.

do you have pagespeed on in your configuration?
See this page for details: https://developers.google.com/speed/pagespeed/module/configuration

I did. but never mind. got a new server. will work on it later. thanks

authors: crowell prhomhyse


text:
ardca silently modifies input matrix

julia> X = [1 2; 4 4; 5 6] # two sequences of length 3
3×2 Matrix{Int64}:
 1  2
 4  4
 5  6

julia> w = [1/2, 1/2];

julia> out = ardca(X, w);
site = 1	pl = 0.8326	time = 0.0003	status = SUCCESS
site = 2	pl = 0.2272	time = 0.0013	status = FTOL_REACHED

julia> X # sequence sites have been shuffled!
3×2 Matrix{Int64}:
 4  4
 1  2
 5  6

julia> sample(out[1], 2) # a sample taken from the inferred model has the right order
3×2 Matrix{Int64}:
 1  2
 4  4
 5  6

I just realized this, after it caused a bug in some code I was running. I imagine it is due to re-ordering the sites using the entropic order.
Possible fixes:

rename the function to ardca! so that users know what to expect;
work on a copy the input matrix Z; I believe it should not be any issue even for large alignments.

I can make a PR if you think this is useful.

The problem is that the logic is that for ordering other than the natural I
permute the idx of the alignment. The safe thing should be to me make a
copy of the alignment in the constructor of arnet.
I am in Parma for a conference, but PR are welcome.
On Tue, Jun 20, 2023, 3:16 PM Pierre Barrat @.***>
wrote:

julia> X = [1 2; 4 4; 5 6] # two sequences of length 3
3×2 Matrix{Int64}:
1  2
4  4
5  6
julia> w = [1/2, 1/2];
julia> out = ardca(X, w);
site = 1	pl = 0.8326	time = 0.0003	status = SUCCESS
site = 2	pl = 0.2272	time = 0.0013	status = FTOL_REACHED
julia> X # sequence sites have been shuffled!
3×2 Matrix{Int64}:
4  4
1  2
5  6
julia> sample(out[1], 2) # a sample taken from the inferred model has the right order
3×2 Matrix{Int64}:
1  2
4  4
5  6
I just realized this, after it caused a bug in some code I was running. I
imagine it is due to re-ordering the sites using the entropic order.
Possible fixes:

rename the function to ardca! so that users know what to expect;
work on a copy the input matrix Z; I believe it should not be any
issue even for large alignments.

I can make a PR if you think this is useful.
—
Reply to this email directly, view it on GitHub
https://github.com/pagnani/ArDCA.jl/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJYTHUZYP2FDG2Q5MWLQRLXMGPCRANCNFSM6AAAAAAZNIZ6HU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: PierreBarrat pagnani


text:
chore: [IOBP-450] Add onPress event to ListItemRadioWithAmount

Short description
This PR adds the onPress event to the ListItemRadioWithAmount to handle the press event.
List of changes proposed in this pull request

Added onPress event to the component property
Added a custom hook to set the disabled/enabled flag based on the selected property

@Hantex9 PR #166 includes the changes we were discussing in the comments before.
It actually adds the possibility to handle ListItemRadioWithAmount in a RadioGroup, and adds the onChange prop.
Do yout think we can close this PR?

Yes, absolutely! Thank you!

closing since https://github.com/pagopa/io-app-design-system/pull/166 solves the same issue

repo: pagopa/io-app-design-system


text:
Enable opening the calendar in week view when clicking on a week number

Hello,
I've a proposal regarding the calendar opening view.
Current behavior
The calendar opens in:

month view when we click on the calendar icon
day view when we double click on a day

Proposed Feature
Would it be a good idea to allow users to open the calendar in week view when they click on a week number?
Implementation Considerations
From my observations, the following steps might be needed to implement this:

Add a case for week in the enum located here: CalendarScript.swift .

use the method calendarScript.openCalendar(at: date, mode: .week) in the WeekNumberCellView.swift.

Alternatively, it might be worth considering making changes in MainViewController.swift and CalendarViewModel.swift to better handle this functionality.
Alternative Proposal
Another possible implementation could be to add an option in the preferences that allows users to choose whether the month view or the week view is opened when they click on the calendar icon.
I’m suggesting this feature because I personally find the week view more useful for most cases. It’s possible that other users might feel the same way.

I agree that opening the week view would be really convenient, since the month view isn't that useful for me personally.
But since I don't have week numbers shown, as an additional point to trigger the opening of the week view in the system Calendar I would use these area/labels, since they show the weekly range. It can be a double click too.

I think that clicking the week names is a very obscure way of triggering it. That's related to the day, not the week.
I don't have week numbers always visible either, I use the shortcut to toggle it on and off when I need it.
I personally prefer the month view, so I believe having a configuration for the calendar button would please everyone.
I'm also assuming we want to open the week from the selected date, because that's the behavior of the month view, it opens in the selected month. That also covers the case where you would click a specific week number.
The default behavior would be opening in the current week, since by default the current date is selected, unless you have "Preserve selected date on hide" enabled, but you can just reset to the current date manually, I'm not gonna create a bunch of exceptions for this feature.

I think that clicking the week names is a very obscure way of triggering it. That's related to the day, not the week.

@Ariandr I think the same as @pakerwreah. It would be not intuitive to click on a these label to open a week view.
Also, thank you to both of you for pointing that the week numbers isn't always open. I opened it since the beginning so it was natural for me 😅

I personally prefer the month view, so I believe having a configuration for the calendar button would please everyone.

Totally agree! And it will be the most intuitive / easy to implement (without thinking about a lot of uses cases) too.

I'm also assuming we want to open the week from the selected date, because that's the behavior of the month view, it opens in the selected month. That also covers the case where you would click a specific week number.

Tbh, that was my first thought but seeing that double clicking on a day opened the day view I didn't push for that since it makes sense too.

authors: Ariandr laurentNoudohounsi pakerwreah

repo: pakerwreah/Calendr


text:
actions: fix apk add

Previous code errors with:
ERROR: gpg-2.2.35-r4: package mentioned in index not found (try 'apk update')

I'm not sure if I understand how this change resolves the stated error. I see that error intermittently.
For instance, on the nginx buildpack, here's it failing and here it is passing

@fg-j From what I understand, --no-cache option is equivalent to wrapping apk add with apk update in the beginning and rm -rf /var/cache/apk/* in the end. The update part makes sure that the index of available packages is always updated before the add and thus more robust. Sorry I should have added this in the original PR but I just figured it out :)

Nice. Makes sense to me. Is this your source? (for posterity)

yes & https://github.com/alpinelinux/apk-tools/commit/c43bfed8deaa0dab47c54db9b8f374853d345a6b

repo: paketo-buildpacks/github-config


text:
Speed up Dataclass JSON.

https://github.com/pallets/flask/blob/c34c84b69085e6bce67d0701b8f8ba3145f42ff2/src/flask/json/provider.py#L116-L117
asdict is super slow and unneeded. It makes a deep copy since the object is being encoded there is no need for a deep copy.
I can post some alternatives I have rattled around for this. If I remember correctly it was like roughly 10x faster to make a Mapping, and use that  to a dictionary then to use todict for a flat class of 4 immutable fields. The performance difference gets much larger the more complex the DataClass is. Unfortunately Python doesnt support using a Mapping directly so you do still need to convert it into a dictionary.
I can post some snippets for it. I know I had one that used caching and this function  to cache the calls by type.

I'm using what's available in the dataclasses library. If speed is an issue, it should be addressed there. Or use a different provider or different default function that uses a method appropriate for your application. For example, orjson has built-in dataclasses support.
The dataclasses support is there as a convenience. Usually, you'll want to use a serialization library such as Marshmallow or Pydantic to get data into a format appropriate for JSON. There are plenty of extensions that integrate that.

authors: davidism zrothberg

repo: pallets/flask


text:
Allow template_folder to be a pathlib.Path object

When constructing the Flask object, it would be nice if template_folder could be either a string (currently) or a pathlib.Path object. This would match static_folder, which is currently typed as Union[str, os.PathLike]. That functionality was added in  #3579; I was unable to find any reason why the same wasn't done for template_folder, so I assume it was an unintentional omission.
https://flask.palletsprojects.com/en/2.2.x/api/#application-object
Not having this functionality is not a dealbreaker, as it's pretty simple to do template_folder=str(path), but it would be nice and match static_folder. In SecureDrop our code is going to look like:
    app = Flask(
        __name__,
        template_folder=str(config.JOURNALIST_TEMPLATES_DIR.absolute()),
        static_folder=config.STATIC_DIR,
    )

...so implementing this would be nice.

Happy to review a PR

authors: davidism legoktm


text:
base64encode should be injected as a dependency in Signer class

Usage of base64.urlsafe_b64encode is hard coded in Signer class.
Changing encoder can be resolve by subclassing Signer class such as:
class _Signer(Signer):
    """Change alt char in encoding
    """

    def get_signature(self, value: Union[str, bytes]) -> bytes:
        value = want_bytes(value)
        key = self.derive_key()
        sig = self.algorithm.get_signature(key, value)
        sig_string = want_bytes(sig)
        return b64encode(sig_string, altchars=b"&$").rstrip(b"=")

It's a lot of work (sure I over estimate my time of work :smile: ) for something that could (and should) easily be made with DI. Encoder should be given as a param of Signer class.

Thanks for the suggestion. However, we want to stick with the subclass pattern.

authors: davidism vianney-g

repo: pallets/itsdangerous


text:
docfix: update greenlet URL

The URL is wrong. Updated it.

Thanks!

authors: tedder untitaker

repo: pallets/werkzeug


text:
Add support for logfmt

I would love to be able to use hl for logfmt logs.
Any chance this could be added as supported format?
For me, that's the only reason i keep using humanlog

Hi ,
Thank you for your interest.
I looked at this format and did some research on how easily it can be integrated.
This is my first and only project in rust, and I was just learning the language trying to make something useful, and one of the goals was high performance. Together with a little confidence in the language, that goal led to some pretty coupled code. Currently, partly-parsed JSON is everywhere, and it is processed even when formatting output.
Actually, it seems doable, but with limited functionality, and will be quite challenging.

Implemented.
Please check v0.27.0-beta.1

Implemented.
Please check v0.27.0-beta.1

Implemented.
Please check v0.27.0-beta.1

I had a quick test on couple of logs and it appears to be working as intended, thanks!

Great, feel free to submit any bugs or suggestions if anything comes up.

Hi @Pavinati,
Could you please try v0.27.0-beta.2 and confirm that everything still works in your scenarios?
I added restrictions on the allowed logfmt format due to unstructured logs being parsed as logfmt and displaying as unreadable garbage, which was undesirable behavior.
Unfortunately, there is no standard specification for logfmt. The original article describing it only provides a general overview of the format's structure. However, there are a few reference implementations available. Initially, I followed these implementations, but they have the exact same difficulty parsing unstructured logs and may display them as garbage.
Checked how humanlog handles this and found that it also adds a limitation to prevent this - it just checks that the line contains = sign. I found this measure scant and decided to add a little bit more restrictions. You can check the linked pull requests for more details.

authors: Pavinati pamburus

repo: pamburus/hl


text:
DataFrame xs method's axis parameter is typed as SeriesAxisType

The DataFrame xs method's axis parameter is typed as SeriesAxisType.  Should be AxisType.
Using pandas-stubs version 1.5.2.230105.

@jbiz25 can you provide an example that fails with the current typing?

Sure, sorry, should have included one.
import pandas as pd
df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})
axis = 1
df.xs(0, axis=axis)  # pyright tells me Literal[1] isn't allowed
According to pandas docs, DataFrame.xs method's axis can be axis{0 or ‘index’, 1 or ‘columns’}, default 0

Thanks.
Need to remove definition of xs from core/generic.pyi and place copies in both core/frame.pyi and core/series.pyi.
In series.pyi, use SeriesAxisType for axis argument, and make return type Series.   In frame.pyi, use AxisType, but don't change the return type.
PR welcome.

repo: pandas-dev/pandas-stubs


text:
Okta Rule Reliability

Background
Note: This PR is blocked by https://github.com/panther-labs/panther_analysis_tool/pull/62
This change adds a new helper function called deep_get to avoid the following code:
foo = event.get('key1', {}).get('key2', {}).get('key3', {})

Now, you would do:
foo = deep_get(event, 'key1', 'key2', 'key3')

This allows for cleaner rules and promoting reliability in our code base
Changes

Fix Okta rules that were not safely accessing dict keys
Add a helper for deep_getting dict keys safely that can be reused in any detection

Testing

Local testing with the PAT

Sorry we left this one hanging @jacknagz, are you good if I merge this PR?

Sorry we left this one hanging @jacknagz, are you good if I merge this PR?

@nhakmiller go for it!

@nhakmiller go for it!

authors: jacknagz nhakmiller

repo: panther-labs/panther-analysis