ByteToMessageDecoder to call channelRead more frequently

If a large amount of objects are added to the out list in ByteToMessageDecoder.decode for a single channelRead operation then this can result in a large amount of  ByteBuf objects to be allocated. There may be an opportunity for improvement in terms of ByteBuf reuse and reduction of allocations if we can call fireChannelRead more frequently.
From @ninja- https://github.com/netty/netty/issues/4205#issuecomment-143324727:

@Scottmitch yeah actuall y I pointed a bad place. At the moment I am using a hack that fires it inside decode() so more like:

Inside the frame decoder:

    @Override
    protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {
        Object o = decode(ctx,in);
        if (o != null)
            ctx.fireChannelRead(o); // instant fire, reuse buffers quicker :)

        if (o != null && out.isEmpty())
            out.add(Unpooled.EMPTY_BUFFER); // to get the read() correctly

    }

    //    @Override
    protected ByteBuf decode(ChannelHandlerContext ctx, ByteBuf in) throws Exception
{
// decode a frame here
}

so I am not changing the original class.

@ninja- Feel free to add more description.

looks good to me.

done @ PR #4288


clarified WSSecurity example in readme.md

Tried to keep it concise, I found it a little incoherent before.

Coverage remained the same at 93.091% when pulling e80a84d8863e3056c459506e9a486f031a5c2c51 on mwkarttu:readme-clarification into 14c8a3f344c9f5efe04c481d960139caeab0d615 on vpulim:master.

thanks a lot @mwkarttu - this makes it more read- & understandable indeed 👍

I try to rebase & merge your PR so that the test won't be ran against the legacy node.js versions which break tests because of npm and node.js version mismatch...

Rebased and added a few more things.

Coverage remained the same at 93.091% when pulling c87cc5d9cc338ade20b03f7118bc71757bc3e002 on mwkarttu:readme-clarification into 18c2790ae27b35b7e724c91f500c30bc65f2a27b on vpulim:master.

thanks a ton @mwkarttu 👍


ci: add circle job to test+lint node client

I wrote the client, I can jump on this, should be easy

That'd be awesome!


schedule_work not adding any tasks to db

This may have been fixed by #384

This appears to have been fixed by #384.


Accept --blanks label-value mappings

@anseljh: If you want to use old style key-value mappings to fill blanks by direction/blank label, you can now do commonform render --blanks blanks.json again. I'm about to publish the change as<EMAIL_ADDRESS>The --blanks flag will actually take a precise patch-to-value array or a key-value object. It's not ideal to overload like that, but it's what I have time to do now.

Finally upgraded and tested this out--thanks!


How to take output Schema string and parse something with it?

I have this library successfully converting the json schema to a stringified representation of a Zod schema, but am at a loss on how to actually parse something with it. I'm trying to dynamically take a JSON Schema via payload argument, convert it to Zod, and use it to validate all in one web request.
My first thought would be something like eval, but that doesn't seem great from a security standpoint.

@andenacitelli That's currently your only option. It should be pretty safe to eval.
However, I'm left wondering why you need to convert the JSON schema in the first place. Why not just use Ajv?


Accessibility errors: Missing label

I haven't found a way to add and connect a label to the drop down. How should i go about it with the today's version of the dropdown, or is it missing this feature?

Facing the same issue.

The problem seems to be that the modal doesn't have an accessibilityLabel which the google play pre-launch report is complaining about. Could you expose that field?

#156

Added in v4.0 take a look at the changes made in v4.0
https://github.com/AdelRedaa97/react-native-select-dropdown?tab=readme-ov-file#-major-changes
Feel free to open the issue again if it still exists


No Response error using BrowserMobProxy with Chrome

We are seeing below error message in response for some request and har capture gets aborted at that point . Due to this we are not able to capture the complete har file. I dont see any issue with selenium test/page as when we look at the seleniumtest while test is running we can see page load is complete, only BrowserMobProxy failed to capture all requests.
Can you please let us know what would cause this error and how we can handle this.
Error seen for request before har capture stops:
"response": {
"status": 0,
"statusText": "",
"httpVersion": "unknown",
"cookies": [],
"headers": [],
"content": {
"size": 0,
"mimeType": "",
"comment": ""
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"comment": "",
"_error": "No response received"
},
We are using 2.1.4 BrowserMobProxy with ChromeWebdriver on OEL7  . BrowserMobProxy is running in Embedded mode  .

this is what I see the browsermob code
/**
 * The error message that will be populated in the _error field of the {@link HarResponse} when no response is received
 * from the server for any reason other than a server response timeout.
 */
private static final String NO_RESPONSE_RECEIVED_ERROR_MESSAGE = "No response received";

I'm seeing the same thing using bmp 2.1.4 when running selenium tests (webdriverio). This happens randomly though, sometimes all requests go through properly, but once in a while I get a response such as:
"response": {
"status": 0,
"statusText": "",
"httpVersion": "unknown",
"cookies": [],
"headers": [],
"content": {
"size": 0,
"mimeType": "",
"comment": ""
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"comment": "",
"_error": "No response received"
}

which causes subsequent test failures. Is there any plan to release a binary of bmp 2.1.5?

Java binary is already available for version 2.1.5

I meant a standalone binary release (https://github.com/lightbody/browsermob-proxy/releases), to keep existing build scripts working by only bumping a version instead of having to build from source

you are right, its not on the releases page. will let @jekh  comment.
the quickest way would be to build it yourselves

After testing for a few days with bmp 2.1.5, I'm still seeing "No response received" once in a while...

I have the same problem

I have the same problem

When I used  proxy.wait_for_traffic_to_stop(1, 1000) , the problem was solved


Opt out sending X-RateLimit-* headers

Is there any way to opt out sending X-RateLimit-* headers in properties file?
It appears that RedisRateLimiter.Config doesn't contain a property boolean includeHeaders, which prevents users from opt-out the X-RateLimit-* headers.

It is currently available as spring.cloud.gateway.redis-rate-limiter.include-headers=false.

Oh. I wasn't aware of that. Thank you. @spencergibb


Create Pages “projects-1”

Automatically generated by Netlify CMS

👷 Deploy Preview for tubular-alfajores-a479ed processing.

Name
Link

🔨 Latest commit
1064eefc88696a2629da75cf8141436369914c72

🔍 Latest deploy log
https://app.netlify.com/sites/tubular-alfajores-a479ed/deploys/63baecd355bef700085a85f5


Preview/circle

This doesn't have testing setup yet, but I wanted to get the deployment and docker changes merged in. this should simplify development quite a bit.

@ajkiessl I think this is ready to merge, If you're happy with it.

👍 Will do later today or tomorrow


[bazarr] use common chart

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [radarr])

My mistake, forgot to copy it over :)


Add lscpu Finder

Closes #57
Needs some work on the tests still, also not certain for the decorated finder for linux only.
Another interesting option is this:
lscpu -J -e=cpu
{
   "cpus": [
      {"cpu":"0"},
      {"cpu":"1"}
   ]
}

But cannot tell which one is faster (yet?), pipe to egrep or call to json_decode. Also wondering still if egrep is always installed.

@theofidry It feels there could be a better implementation for the physical one, not so happy with it yet. The logical one seems simple enough. And I need to add some more test cases, so not ready yet.

It feels there could be a better implementation for the physical one, not so happy with it yet. The logical one seems simple enough. And I need to add some more test cases, so not ready yet.

It would also be fine to introduce the logical one first if you're more confident with that. As long as it's not release it can be freely changed without regards for backward-compatibility too

@theofidry hangon, I need to bring this up to date with the latest main branch.

@theofidry should be ok now, let me know if you think we should add any additional tests (or anything else).

I have a few nitpicks but I can take care of it. It's more than good enough! Thanks 👏

@theofidry Thanks. Really enjoyed the time spent into this. Didn't expect it to be honest.


Add last modification date

Forgot about this one @catsmith, we should add the last modification date to the events. I'll do it for the modified events where you did add the times, but it would be great, if you could do this directly when you submit the PR next time. Does this work for you? It's really simple, just add a last_modified_at: 2020-month-day to the front-matter and it's done. I.e. something like
...
time:
    - start: 2020-09-02T13:10:00Z
      end: 2020-09-02T13:50:00Z
date: 2020-08-19
last_modified_at: 2020-08-26
...

then renders to

on the website.

Yes that is fine with me. I will try to remember that for future ones.

thanks a lot @catsmith  =)


Can this library generate 128bits (16 bytes) or 160 bits (20 bytes) signature?

according to the original paper, BLS seems to support shortest signature size like 160bits, but i cant find any lib that can support that size directly. i know 128bits or 160bits is less secure, but produce more user friendly signature for keyboard typing, which can be used in some cases.

You need to use another curve of appropriate size. That said requiring users to type a signature by keyboard is an user-experience nightmare as soon as it's 20+ characters to type.
The issue is not signature security usually but the scalar field and the extension field security and all the other sizes derive from that. Smaller curves like BN curves of 254-bit fell out of favor following improvements to Tower Number Field Sieve so you won't find them in production grade crypto libraries.
You might want to contact the authors of for BLS sig based on a 158 bits BN curves

https://github.com/IAIK/pairings_in_c
https://eprint.iacr.org/2014/800.pdf
https://www.iacr.org/workshops/ches/ches2014/presentations/0925_Session_05/0925_Session_05_1.pdf


Docker image is not building with node:16-bullseye

I'm getting this error trying to build the docker image.
 [2/9] RUN apt-get update:
#0 2.023 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#0 2.133 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#0 2.134 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#0 2.699 Err:1 http://deb.debian.org/debian bullseye InRelease
#0 2.699   At least one invalid signature was encountered.
#0 3.168 Err:2 http://deb.debian.org/debian-security bullseye-security InRelease
#0 3.168   At least one invalid signature was encountered.
#0 3.422 Err:3 http://deb.debian.org/debian bullseye-updates InRelease
#0 3.422   At least one invalid signature was encountered.
#0 3.443 Reading package lists...
#0 3.501 W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
#0 3.501 E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
#0 3.501 W: GPG error: http://deb.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
#0 3.501 E: The repository 'http://deb.debian.org/debian-security bullseye-security InRelease' is not signed.
#0 3.502 W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
#0 3.502 E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.

@moozzyk  you're right. Actually i use this tutorial for updating my raspberry pi and it worked.
https://linuxhint.com/upgrade-raspberry-pi-os-buster-to-bullseye/


[MB-11486] Add assertions around details on customer reviewing NTS shipment info

Jira ticket for this change
Summary
I could be wrong, but I think the NTS shipment customer tests already covered basically everything we needed, except I did add a few more assertions around the rows on the shipment cards on the shipment review page. I think this is what was missing according to the e2e discover doc: https://dp3.atlassian.net/wiki/spaces/MT/pages/1641119778/Discovery+for+e2e+testing+for+PO8 BUT I could be missing something else, in which case, let me know!
Additional steps

make e2e test
Run the customer nts.js test suite, ensure it passes.

Verification Steps for Author
These are to be checked by the author.

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Messages

:book:
:link: MB-11486

  Generated by :no_entry_sign: dangerJS against 1eae6cca0c4be24ce6e8421e6deb6ccb74e692e7


Write python unit tests.

I can work in this but I think we should split it into several PRs since there is a lot of ground to cover.

Can I work on this can you tell me in detail what I need to do?

sure go ahead :)

Can you berif it once what I need to do?

Actually, we aren't sure how this can be done and the correct way to write this test. So for the time being I am closing this issue and sometime in the near future we will open it up again


Enhance the code blocks docs

Describe what the [1-2|3|4] is doing
Add link to reveal.js code docs

docs: improved documentation on codeblocks


Python: .Net: Add qdrant vector record store implementation

Motivation and Context
As part of the evolution of memory connectors, we need to support custom data models and remove opinionated behaviors, so adding a new record store implementation for qdrant.
Description
Adding an implementation for IVectorRecordStore for qdrant with support for:
Custom mappers
Generic data models
Annotating data models via attributes or via definition objects.
Also improving some styling in the AzureAISearch implementation.
See #6525
Contribution Checklist

[X] The code builds clean without any errors or warnings
[X] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[X] All unit tests pass, and I have added new tests where possible
[X] I didn't break anyone :smile:

Python 3.10 Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors   telemetry.py15287%17–18semantic_kernel/connectors/ai/open_ai/services   azure_config_base.py35489%76–78, 93   open_ai_config_base.py32197%58semantic_kernel/connectors/openapi_plugin   openapi_runner.py1006535%51–53, 59–60, 66–80, 84–100, 104–106, 110–112, 115–118, 127–169TOTAL650574389%
Python 3.10 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1533
1 :zzz:
0 :x:
0 :fire:
24.498s :stopwatch:


Never allow vacation to go in negative

reduceVacationBalance function in models/vacation.js allows vacation to go even in negative.
First step could be making 0 minimum.
Second step could be to reject vacation request when vacation reached below zero.

I could have a look at this, could you assign it?

Hi, @mukarramali, Can I look into this?


Added port property to CopyToTable

Description
Added abstract property port to CopyToTable
Motivation and Context
Sometimes it is not comfortable to provide port inside host property, i.e. localhost:port, hence added optional port property to CopyToTable task in case when database listens custom port. Currently the only way to supply port is via host.
Have you tested this? If so, how?
"I ran my jobs with this code and it works for me."

Agree, did not pay attention to that, sorry. Fixed to optional property.
Speaking about host:port option. I use .env files to store credentials, i.e:
DB_HOST = 'localhost'
DB_NAME = 'database'
DB_USER = 'user'
DB_PASSWORD = 'password'
DB_PORT = 15432

DB_HOST variable is actively used everywhere and in order not to break things out, inside CopyToTable task I have something like this:
class MyCopyToTable(CopyToTable):
    host = f'{config.DB_HOST}:15432'

Which looks a little bit ugly :)

Is it possible to merge this one?

Thanks for pinging @adilkhash . Merged!


Rootless docker, auto start problem.

Problem:
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
Here's what I've done and wanting a solution:

Created a user 'docker' on my CentOS 7.9.
Ran the curl -fsSL https://get.docker.com/rootless | sh
Created /etc/systemd/system/docker-rootless.service as root with below contents:
`[Unit]
Description=Docker Rootless Startup
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/su -c /home/docker/bin/dockerd-rootless.sh - docker
TimeoutStartSec=0
[Install]
WantedBy=default.target`

Ran systemctl daemon-reload
Last but not least, systemctl enable docker-rootless.service which created the symlink.
Reboot.

However, the dockerd-rootless.sh runs, gets a PID but when running docker ps it returns:
Cannot connect to the Docker daemon at unix:///docker.sock. Is the docker daemon running?
I've tried adding:
export DOCKER_HOST=unix:///run/user/1001/docker.sock export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
to the .bashrc of the docker user.
Any help would be greatly appreciated.
Cheers.

XDG_RUNTIME_DIR needs to be set

XDG_RUNTIME_DIR needs to be set

@StableBoyNZ, you need to set the environment for the service.
[Service]
Environment="DOCKER_HOST=unix:///run/user/{{ docker_user_info.uid }}/docker.sock"
Environment="PATH={{ docker_user_info.home }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="XDG_RUNTIME_DIR=/run/user/{{ docker_user_info.uid }}"
ExecStart="{{ docker_user_info.home }}/bin/dockerd-rootless.sh"

https://github.com/konstruktoid/ansible-docker-rootless/blob/main/templates/docker_rootless.service.j2#L5-L9


Table transformation with umlauts

I tried to make a table transformation with column names that contains german umlauts.
Sadly my transformation are not applied.
As a modified example from the features:
/** @Transform table:username,äge */

would not be applied for this table:
          Given I am user:
            | username | äge |
            | ever.zet | 22  |

It would work if the modifier u is added to the pattern regex: /^table\:(?:\*|[[:print:]]+)$/u but I'm not deep enough on topic to know about possible side effects …

Thanks for reporting!

Hi! I've created this PR to solve this issue, but I was unable to make the tests fail, the new added test always passing regardless the age number matches or not.
Please help me I want to start contribuiting to this project.
Thanks!

IT looks like your Pr is being overlooked because it's not to this repo

I know it's not to this repo, I've asked a question I need to solve before creating the definitive PR.


GEE image does not display after applying the cloud mask based on SCL band

I am new in GEE and I want to work on NDVI time series, but before doing this I want to preprocess Sentinel-2A images using a cloud mask based on Scene Classification (SCL) band.
The code bellow imports three types of masks, apply one of them and visualize the image before and after applying the mask.
My question is that when I use Mask2 or Mask3, the image after applying the mask does not display. However, Mask1 works perfectly!
Here is the link to the code in GEE: https://code.earthengine.google.com/429990239fd25488aa9614bc87685385
Please, I need your help to solve this issue.
`
var cld = require('users/fitoprincipe/geetools:cloud_masks');
var col = ee.ImageCollection('COPERNICUS/S2_SR');
var img = ee.ImageCollection('COPERNICUS/S2_SR')
.filterDate('2018-04-01', '2018-04-30')
.median().select('TCI_R','TCI_G','TCI_B');
print('img', img);
Map.addLayer(img);
// Mask useless classes from built-in Scene Classification
var Mask1 = function(image) {
var masked = cld.sentinel2(['opaque', 'cirrus'])(image)
return masked
}
var Mask2 = function(image) {
var masked = cld.sclMask(['cloud_low', 'cloud_medium',
'cloud_high', 'cirrus', 'shadow', 'saturated', 'dark',
'snow'])(image)
return masked
}
var Mask3 = function(image) {
var masked = cld.hollstein_S2(['cloud', 'snow', 'shadow', 'water', 'cirrus'])(image)
return masked
}
// Apply the mask
var Masked_col = col.map(Mask2);
var msk_img = Masked_col.filterDate('2018-04-01', '2018-04-30')
.median().select('TCI_R','TCI_G','TCI_B');
print('masked img', msk_img);
Map.addLayer(msk_img);
`

Hi @Rohaifa, what is the actual issue? the resulting image is not masked, or it throws an error? I tried and I got an Internal Error which has been around for a while and is related to GEE servers and not my code

Hello @fitoprincipe, I got the same error! But how can I fix it? I really need to apply the second Mask.


Hot restart second process block forever error.

The second process will be block forever at recvmsg();
when primary process call sendmsg() failed with return code -1 in function sendHotRestartMessage() which send kStat to child process.
Here are the block function.
std::unique_ptr HotRestartingChild::getParentStats() {
...
std::unique_ptr wrapped_reply = receiveHotRestartMessage(Blocking::Yes);
...
}
I try to set socket send buffer size to 1024 at file envoy/source/server/hot_restarting_base.cc
int function HotRestartingBase::bindDomainSocket.
int bufSize = 1024;
setsockopt(my_domain_socket_, SOL_SOCKET, SO_SNDBUF, &bufSize, sizeof(bufSize));
when I try the hot restart feature, the second process will block at recvmsg() at file envoy/source/server/hot_restarting_base.cc
in function HotRestartingBase::receiveHotRestartMessage()
add printf log before and after sendmsg in primary process.
we will get the log like this.
sendmsg.begin total_size:2016
sendmsg.end rc:-1
Thanks.

Honestly not exactly sure what is going on here. Can you try to provide a bit more debugging detail? cc @jmarantz

@mattklein123 We are seeing a similar issue. We are running with an older version of Envoy (v1.13.4) in containers through Istio.
We see that both the parent and child processes continue to run, but the admin interface (on port 15000) becomes unreachable and times out.
istio-p+     225       1  0 Feb28 ?        00:00:07 /usr/local/bin/envoy -c /etc/istio/proxy/envoy-rev2.json --restart-epoch 2 --drain-time-s 45 --parent-shutdown-time

The parent process is still bound to the listening ports e.g.
tcp      129      0 <IP_ADDRESS>:15000         <IP_ADDRESS>:*               LISTEN      139/envoy

Additionally we see these sockets for the parent and child process
unix  2      [ ]         DGRAM<PHONE_NUMBER> 139/envoy            @envoy_domain_socket_parent_1
unix  2      [ ]         DGRAM<PHONE_NUMBER> 225/envoy            @envoy_domain_socket_parent_2
unix  2      [ ]         DGRAM<PHONE_NUMBER> 225/envoy            @envoy_domain_socket_child_2
unix  2      [ ]         DGRAM<PHONE_NUMBER> 139/envoy            @envoy_domain_socket_child_1

Running an strace on the envoy pid (these are the pids on the host) shows that both parent and child processes are blocked on recvmsg
$ sudo strace -p 1161920
strace: Process 1161920 attached
recvmsg(6,

sudo strace -p 1643032
strace: Process 1643032 attached
recvmsg(6,

Is there any additional data we can share that help with the investigation as to why this occurs?

Is there any additional data we can share that help with the investigation as to why this occurs?

I would start by upgrading to the most recent version.


[Design] Dedicated icons for tx types

When displaying transaction items (either in the recently viewed component, or a listing of transactions), it'd be nice to have a dedicated icon for the type of transaction.

@jasperjansz pinging you for visibility. Do you think you can get to this during this sprint?


Seeding the database to allow unit testing

This is a simple PR that seeds the database with deterministic data so that we can easily test the API using this seed as a starting point. The unit test itself lives in the client. I suggest we update this branch until the unit tests pass and then merge. (It's possible that the unit tests themselves also contain mistakes. If so, I'll patch these as we move along.)
Running the unit tests
To run the tests, first re-initialize the database on the server:
echo "drop database omm; create database omm;" | mysql -u omm -pPASSWORD -h <IP_ADDRESS> -P 3306
adonis migration:run
adonis seed

And then run the test script on the client. This requires a Python environment with all OpenSesame's dependencies, which you can install with anaconda as described here.
python test/test_omm.py

The first hurdles
Right now the unit test fails, and the main issue seems to be with the jobs endpoint. After seeding the database for the first time, the jobs endpoint returns nothing, whereas it should provide the two pending jobs for participant b (which I can also see in the web interface):
localhost:3000/api/v1/participants/b/1/jobs

{
    "data": []
}

The currentjob endpoint also indicates that there are no jobs:
localhost:3000/api/v1/participants/b/1/currentjob

{
    "message": "No job could be fetched for participant with identifier b."
}

After running unit test from te client, another issue appears. Specifically, the two jobs do now appear, and they also have a correct status. However, job 3 (the first one) does not include the result data in the variables-pivot field. That is, it appears to contain the job data, whereas it should contain the job results.
localhost:3000/api/v1/participants/b/1/jobs

{
    "data": [
        {
            "variables": [
                {
                    "dtype": {
                        "id": 1,
                        "name": "variable"
                    },
                    "id": 1,
                    "study_id": 1,
                    "dtype_id": 1,
                    "name": "distractor",
                    "created_at": "2024-10-04 10:58:39",
                    "updated_at": "2024-10-04 10:58:39",
                    "pivot": {
                        "variable_id": 1,
                        "job_id": 3,
                        "value": "absent"
                    }
                }
            ],
            "id": 3,
            "study_id": 1,
            "position": 1,
            "created_at": "2024-10-04 10:58:43",
            "updated_at": "2024-10-04 10:58:43",
            "pivot": {
                "job_id": 3,
                "participant_id": 1,
                "status_id": 3,
                "status": {
                    "id": 3,
                    "name": "finished"
                }
            }
        },
        {
            "variables": [
                {
                    "dtype": {
                        "id": 1,
                        "name": "variable"
                    },
                    "id": 1,
                    "study_id": 1,
                    "dtype_id": 1,
                    "name": "distractor",
                    "created_at": "2024-10-04 10:58:39",
                    "updated_at": "2024-10-04 10:58:39",
                    "pivot": {
                        "variable_id": 1,
                        "job_id": 4,
                        "value": "present"
                    }
                }
            ],
            "id": 4,
            "study_id": 1,
            "position": 2,
            "created_at": "2024-10-04 10:58:43",
            "updated_at": "2024-10-04 10:58:43",
            "pivot": {
                "job_id": 4,
                "participant_id": 1,
                "status_id": 1,
                "status": {
                    "id": 1,
                    "name": "pending"
                }
            }
        }
    ]
}

Great! I patched the client to match new JSON schema and now the tests pass.

https://github.com/open-cogsci/omm-client/commit/9f428cb0ef793bc4f088b5b8d44d43071aeab674

Do you want to merge this now or keep the PR open for more edits?

I'd merge it into master now since most other tickets depend on this schema change (although I'm not 100% sure that this is the final database schema).


Update Grpc.AspNetCore.Server version in templates

This is required to get the fix https://github.com/grpc/grpc-dotnet/issues/143. Right now the manual template tests are broken due to this. Needs https://github.com/grpc/grpc-dotnet/issues/179 first though.

Is this done?

Will need to update again prior to preview 4 release.

Need to update to 1.20.0-pre2 or newer for Grpc.Tools and a new version of Grpc.AspNetCore.Server when available.

This has now been merged for preview 4.


Can't disable poison bucket

Minecraft version & Mod Version:
Minecraft 1.12.1
Cyclic 1.7.5
Single player or Server:
Single player
Describe problem (what you were doing / what happened):
Even with all of the features disabled in the mod's settings (and restarting Minecraft after doing so), it's still possible to craft and use a poison bucket.
Crash log (if any):
N/A

Oh right, forgot to add a  config for the fluids. I will add one for the poison and the other fluids as well

I added these configs https://minecraft.curseforge.com/projects/cyclic/files/2461830


"Error in data process module" in fastq mode

When I process the raw fastq file from the test files, it always print "Error in data process module". I don't know what's wrong with my code.
Is the -index parameter wrong?
Here is my code. There are 6 bowtie2 index files(named GRCh38.1.bt2,GRCh38.2.bt2,GRCh38.3.bt2,GRCh38.4.bt2,GRCh38.rev.1.bt2,GRCh38.rev.2.bt2 in thefolder   bowtie2_index/index ) I have tried hundreds of times and I need help.
######################
python3 PolyA-miner.py -mode fastq -d TestFastq_Data -o LHDoutput3 -pa Human_hg38.PolyA_DB.bed -index bowtie2_index/index/GRCh38  -fasta GRCH38.fa -bed GRCh38v33.Genes.bed -p 20 -pa_p 0.6 -pa_a 3 -pa_m 1 -ip 30 -outPrefix FastqBBAno -c1 C1.fastq.gz,C2.fastq.gz,C3.fastq.gz -c2 T1.fastq.gz,T2.fastq.gz,T3.fastq.gz -expNovel 0 -umi 0 -t BB
Error in data processing module ...
######################
Thanks and looking forward to your help!

Hello,
Before running this script, please ensure that you have installed the following dependencies: umi_tools, fastp, and pigz.
I have the same problem , after install pigz by sudo apt install pigz, it could run properly.
Hope that could fix your problem!


Remove platform information Get Current

Modified the code so that we get the platform information only once and use it wherever required. This makes the code more testable as we can pass a custom platform information to the function while testing.

Serious question: is this code more maintainable? We have to do a lot of plumbing up and down the stack in order to be able to use PlatformInfo now. Is there a way we could manipulate what GetPlatformInfo() returns in tests?
Not saying this change is right or wrong, but interested in discussion.

@rchande very fair point. The issue with the current implementation is that we're essentially using a dressed-up global to share state... along with all the fun that globals bring.
I agree with you it's pretty anoying to have to plumb through this settings type. Globals are one way around that... but I wonder if there is some model that would, I don't know, Inject the Dependency only where we need it...?


Implement waiting lock

In some cases, I'd want to have a lock that does not immediately throw an exception, but that waits until the resource is released.
Probably this would need another timeout setting to configure how long the thread waits for the lock (and only raises an exception when the lock is not released within that time frame).
In its most basic form, I guess this would just be a busy wait.
I can also think of scenarios where this might be interesting in an asynchronous context, but this would probably require a rewrite of substantial parts of the library, due to the normal database access in Django being synchronized?
Do you agree with this idea, or do you think it's up to the application to wait and retry the corresponding task in case an exception occurs?

Agree with the idea of waiting with timeout. Should application retry or not I'd give to decide for the developer using this package.
And this is not so easy to implement. Simple select_for_update might not work because of transaction isolation levels in different engines. Spin lock will be rather heavy and affect GIL.
For this moment I'd prefer different back-end for locks with waiting like ETCD or redis allowing subscriptions.


Add Tom Moulard in maintainers team

What does this PR do?
This PR adds Tom Moulard @tommoulard to the maintainers' team.
Motivation
Tom is recognized for outstanding and valiant actions carried out lately.
More

[x] Added/updated documentation

Additional Notes

Thanks to you all ! :rocket: :partying_face:


nettra thingsboard partner

The goal of this pull request is to join you as a hardware partner. Thank you very much for letting us be part of that group, we are very happy to contribute with your development.
Commit:

I added our company as a hardware partner
I added a sample/guide to connect our device to thingsboard with a simple example.
I made some changes regarding our logo, and web site domain that have changed recently.

 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.


Sampling more streams to measure error rate correctly

"Closing a H2 connection with high stream error rate" is added by 693b3cb465d2867379a80e882899aca8ea98f389.
The close event could be triggered when the first stream got error regardless value of proxy.config.http2.stream_error_rate_threshold. Because the error rate bacomes 1. We should wait for more streams to measure stream error rate correctly.
https://github.com/apache/trafficserver/blob/9b73fc965e209b7e846aa8699430cbeaf9ecfcad/proxy/http2/Http2ClientSession.cc#L383-L384
https://github.com/apache/trafficserver/blob/9b73fc965e209b7e846aa8699430cbeaf9ecfcad/proxy/http2/Http2ConnectionState.h#L224-L233

We should wait for more streams to measure stream error rate correctly.

Why? If a client sent 1 request and it failed, the error rate is obviously 100%.
A error rate won't be less than 10% until a client makes 10 requests if a stream error happened on the first stream, and it would be 20 if the threshold was 5%.
Do we want more requests from a client that cannot do things correctly on the first stream?

Closed by #6525


docs: add required permissions information to some posts

Description of change

Adds required permission information to posts from:

Applications
Configuration Files
Pipelines
Servers

Issues resolved by this PR

[x] DVN-11380
[x] DVN-11385
[x] DVN-11386
[x] DVN-11387
[x] DVN-11381
[x] DVN-11388
[x] DVN-11389
[x] DVN-11390
[x] DVN-11382
[x] DVN-11391
[x] DVN-11392
[x] DVN-11393
[x] DVN-11399
[x] DVN-11400
[x] DVN-11383
[x] DVN-11394
[x] DVN-11395
[x] DVN-11396

More info

Deployed pipeline for PR #721 (docs: add required permissions information to some posts): Devopness application thlmenezes-site.devopness.com deployment in-progress on action https://thlmenezes-site.devopness.com

Deployed pipeline for PR #721 (docs: add required permissions information to some posts): Devopness application thlmenezes-site.devopness.com deployment failed on action https://thlmenezes-site.devopness.com

Deployed pipeline for PR #721 (docs: add required permissions information to some posts): Devopness application thlmenezes-site.devopness.com deployment in-progress on action https://thlmenezes-site.devopness.com

Deployed pipeline for PR #721 (docs: add required permissions information to some posts): Devopness application thlmenezes-site.devopness.com deployment failed on action https://thlmenezes-site.devopness.com


HHH-14938 Upgrade to MySQL Connector/J 8.0.27

https://hibernate.atlassian.net/browse/HHH-14938

Ok, so it seems the drivers did something funky until 8.0.26 with respect to charset/collation determination as per https://docs.oracle.com/cd/E17952_01/connector-j-8.0-relnotes-en/news-8-0-26.html which is partly related to the error we are seeing. Drivers apparently didn't take the server setting which I enabled now into account before 8.0.26, but since they now do, this is fine. It seems that previously, the JDBC driver tried to somehow determine some default collation for the server reported charset which seems to have worked so far, although I don't understand why. Anyway, with the new driver, the driver chosen collation is simply wrong and we would either have to set the collation explicitly or rely on the skip handshake setting which I enabled now.
Explicit configuration is cumbersome because MySQL5 and 8 use different charsets/collations which would require new database profiles...

thanks for having a look @beikov !
Regarding:

[...] we would either have to set the collation explicitly or rely on the skip handshake setting which I enabled now.

Explicitly how, via JDBC properties? What did you change, can I see it?

One can set the connectionCollation JDBC property to the desired collation.


scylla cdc library failed upon schema change

I am trying to use the scylla cdc driver library for deriving all cdc logs for a table
After I added a new column to the existing table,
the driver library gave me an error and crashed
Method threw 'shaded.com.scylladb.cdc.driver3.driver.core.exceptions.InvalidTypeException' exception. Cannot evaluate com.scylladb.cdc.cql.driver3.Driver3RawChange.toString()
Upon restart I started getting the entries as expected.
Is there a fix for this?

I am trying to use the scylla cdc driver library for deriving all cdc logs for a table After I added a new column to the existing table, the driver library gave me an error and crashed Method threw 'shaded.com.scylladb.cdc.driver3.driver.core.exceptions.InvalidTypeException' exception. Cannot evaluate com.scylladb.cdc.cql.driver3.Driver3RawChange.toString() Upon restart I started getting the entries as expected. Is there a fix for this?

@Prateekdecp , can you please provide table definition before and after.

create table temp_keyspace.users(id primary key,name text,phone_number text);
Initial table
alter table  temp_keyspace.users add email text;
altered table


[Feature]: Image manipulation commands

What is this command?
Image manipulation commands transforms a image by using the avatar of the user
How can you make this
You can use canvacord to do this, they have lot of pre - made things related to image manipulation
Demo of this image manipulation command

seems cool imma try it some day

Amazing idea by the way would be useful for fun commands just wondering is canvacord required or can we use canvas This is Canva's npm page https://www.npmjs.com/package/canvas

I guess we require canvacord 😕 I really don't know that much about js, i came across while i was searching for image manipulation tutorials for my bot which uses discord.py

Since our bot runs on JavaScript we may have to use canvas also its fine not knowing much since we all start as beginners at one point. Also some info on canvas by the Discord.js official guide https://discordjs.guide/popular-topics/canvas.html

Ahh i get it now
By canvas you have to do some stuff which are already pre made in canvas cord, i guess it would be easier to use and work with canvas cord

update: later


http: moving tests over to new accessors

Risk Level: Low (test only)
Testing: tests pass
Docs Changes: n/a
Release Notes: n/a

:-)
I am so excited to have tests fail with "hey that header you wanted does not have the value you expected" rather than crashing because it's absent and the value check seg-faults.

@asraa Ma'am, Can you please tell me Why we have made such changes to code base,
std::string(request->headers().ContentLength()->value().getStringView()))
std::string(request->headers().getContentLengthValue()),
I mean these std::string functions, From where can someone know which std::string function to change.
I am very sorry to ask this dumb question, but I am very new to Envoy and OpenSource.

Hi @yashwant121, you can find the definition for getContentLengthValue() here https://github.com/envoyproxy/envoy/blob/5faff2add085eb4f11046725861233a63d89ad7c/include/envoy/http/header_map.h#L370
The reason the change was made was to add a default empty header when someone was accessing the value, rather than potentially causing a potential null dereference when calling the former.
The change in the issue for std::string replacement was just to remove the std::string cast around getContentLengthValue() -- it is unneeded.


No configs error

I've made a minor change to make it (what I think is) more idiomatic typescript.
Feel free to merge if you are happy with the suggestion (or bounce back to me otherwise - I am a bit of a typescript newb!)

I forgot about the ? syntax for null checks. Much better. I haven't done too much work in Typescript myself.


Improve profile builder performance

Follow up on this PR #435.
Currently, it took roughly 22 seconds to load my 1.3GB file. After inspecting the profiler, there's a large chunk of time spending in Frame.getOrInsert. I figure we can reduce the number of invocations by half. It reduces the load time to roughly 18 seconds.I also tested with a smaller file (~350MB), and it show similar gains, about 15-20%
I know this is not a proper way to perform benchmarking, and also I'm clueless about the impact on other file formats/sizes. So I'll leave the judgement for you

coverage: 42.952%. remained the same when pulling da4c0b2b1e375ce7dceb526425cc3d9349288244 on Goose97:improve-profile-builder-performance into 984bf1296adefbe5f0a40c4e9f0f57e732795aab on jlfwong:main.

Wonderful! Nice tactical performance fix


VLC-Media-Player not founded and doesn't work for RTSP in RN APP

I'm trying to stream a RTSP IP Camera but the Lib is not compatible with RN 70+ and i can't even render a component via Expo Go.
It appears the issue: "RCTVLCPlayer" was no found in the UIManager.

This library can't be used in a Expo GO based application because it requires native code to work. But if you really want, you can try development build as described here.
in app.json:
{
    "plugins": [
         "react-native-vlc-media-player"
    ]
}

Boa tarde amigo.
Pelo nome acredito que seja brasileiro então falar português é mais fácil.
Eu to tentando fazer como sugerido mas não to conseguindo, poderia entrar
em contato pelo whatspp pra gente poder conversar melhor?
Obrigado!
(24)9 8122-7084
Em qua., 23 de ago. de 2023 às 21:54, Gustavo Carvalho <
@.***> escreveu:

This library can't be used in a Expo GO based application because it
requires native code to work. But if you really want, you can try
development build as described here
https://github.com/razorRun/react-native-vlc-media-player#expo.
in app.json:
{
"plugins": [
"react-native-vlc-media-player"
]
}
—
Reply to this email directly, view it on GitHub
https://github.com/razorRun/react-native-vlc-media-player/issues/170#issuecomment-1690828732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP6JLY5U63BJ5HFYGARGNYLXW2Q45ANCNFSM6AAAAAA2ONQJNE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Uninstall zimfw failure

I do delete  ~/.zim, ~/.zimrc  but when i restart terminal  it says
/Users/xiaoqi/.zlogin:source:7: no such file or directory: /Users/xiaoqi/.zim/login_init.zsh

i cannot open the  zlogin file to find login_init
What should i do?

With a long stroggle, I try to delete all dot file with work zwc and it work


Enhancement: Auto-move to tab that had something highlighted

if I highlight say a journal entry (that players have observer to) it will highlight it if they already have the folder it's in open and are in the journals section, but if they're on say chat window, it will not send them to journal, open the folder and highlight the thing.

Should be pretty easy:  if target is on another tab, switch the user's current tab to that one.

Included in v1.1.0


VXLAN instead of pcap

In addition to the currently used encapsulation format, Weave could support VXLAN encapsulation. Maybe this would help in some environments...

I think this could be closed once #1438 (fast datapath) is merged, right?


Upgrading version to 0.12.1

Starting release notes!
$ git log -1 --pretty=%H
cefff49fb57eea68e15e3a64f1a71c1ca107f44d

$ git log 0.12.0..HEAD \
> | grep 'Merge pull request ' \
> | awk -F ' ' '{print $4}' \
> | sort

#1694
#1697
#1698
#1699
#1706
#1708
#1709
#1716

Changes not noted in release notes:

Core:  #1697,  #1706, #1708
DNS:  #1698
Pub/Sub: #1694
BigQuery: #1716

Release notes:
Core

Create a generic iterator wrapping 'list_*' methods of client-side objects (#1699)

Datastore

Add /datastore/ in emulator URI path. (#1709)

@daspecster Thanks for the start, here are some suggested changes.
#1699 isn't really user facing yet, so we can leave it out.

Datastore
---
- Fix `v1beta2` / `v1beta3` bug with datastore emulator. (#1709)

DNS
---
- Fix outdated usage doc. (#1698)

@daspecster If you go to https://github.com/GoogleCloudPlatform/gcloud-python/releases/new what kind of error message do you see?
/cc @jgeewax May need your help adding him to a group to resolve.

@dhermes actually that link takes me back to github.com.
Also, I updated the release notes with your doc.

OK we can wait on @jgeewax before merging this.

@dhermes Is this good to go now?

There have been some merges since Friday so you should rebase against master and re-check the merged PRs. (Thanks for pinging me.)

Ok will do!

@dhermes, I updated the release copy. Let me know what you think!

@daspecster I tweaked the release notes text a bit.

Awesome! Thanks @tseaver!

Go ahead and merge and then create the release.


Oneof is Reporting Compilation Errors though Using Examples

Describe the bug
Compiler still requires to specify grpc.federation.field even if specified in oneof fields.
Related Components

[x] protoc-gen-grpc-federation
[ ] grpc-federation-linter
[ ] grpc-federation-language-server
[ ] others

To Reproduce
Steps to reproduce the behavior.
grpc-federation % cd _examples/10_oneof/proto
proto % protoc -I../proto_deps -I. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative --grpc-federation_out=. --grpc-federation_opt=paths=source_relative federation/federation.proto

2023/10/20 18:48:05 grpc-federation: value must be specified: value must be specified: ERROR: <input>:1:4: undefined field 'user'
 | sel.user
 | ...^: "user_a" field in "org.federation.UserSelection" message needs to specify "grpc.federation.field" option: "user_b" field in "org.federation.UserSelection" message needs to specify "grpc.federation.field" option
--grpc-federation_out: protoc-gen-grpc-federation: Plugin failed with status code 1.

(snippet from the example)
oneof user {
    User user_a = 1 [
      (grpc.federation.field).oneof = {
        expr: "m.value != $.value"
        messages {
          name: "ua"
          message: "User"
          args: { name: "user_id", string: "a" }
        }
        by: "ua"
      }
    ];
}

Expected behavior
Successful compilation without errors.
Additional context
I am trying to utilize grpc.federation.field.oneof to achieve conditional message calls based on the previous message call response. Described in Golang:
firstResponse := client.CallA()
switch firstResponse.GetRes() {
case "SUCCESS":
  secondResponse := client.CallB()
case "FAILED":
  // do nothing
}

I am not sure if using oneof is the correct way, but the expr in FieldOneof rule is the only place that I can find for condition judgements. Or is the current version does not support complicated logic?
Looking forward to your responses!

@hywu-mer  Hi, Thank you for reporting.
First, protoc-gen-grpc-federation may not be up-to-date. Please run make build once to make sure you are using the latest version. Second, to access the name of oneof, all fields in oneof must be of the same type. Please check this as well.

@goccy Hello, thank you for your reply!
I did try make build and built every necessary tool to folder bin in the repository folder. And then I did
cd ./_examples/10_oneof
./../../bin/buf generate

Still I got the error the same as in the issue :(
Moreover, I am using the examples provided in the _examples folder and made no changes to them, so all fields should have oneof correctly, I think there must be something set up wrongly at my side or the generator version is not correct? I am not sure...
Looking forward to your response!

@hywu-mer
The command to execute in example is incorrect.
The correct command is the following.
cd _examples/10_oneof
make generate
go test ./

@goccy
I think fundamentally, the commands are the same.
After I deleted the generated files in the _examples/10_oneof folder, the make generate worked for me.
However, when I tried with the protoc command and another buf command installed by homebrew, I still got the error exactly as in the issue description. Any ideas? 🙇
In addition, in a oneof proto field, do I need at least two inside the oneof block, or does only one work?

@hywu-mer
All tools to run example are managed with fixed versions, so you need to use the ones installed in the repository using Makefile.
The case with only one field inside oneof block has not yet been tested, but it is not the intended use.

@goccy
Thank you for answering the question!
Just for the background, because oneof is the only place I can find where condition expression expr is allowed, I am trying to use oneof to achieve conditional calls.
As of now, my understanding is that all dependency messages defined in a grpc.federation.message.messages or grpc.federation.message.resolver will be called (request to dependency services). But there is a use case for us where we need to determine whether the second call should be made based on the first call result, i.e. if firstCall.result == sucessful then secondCall()
May I ask if there is a plan to support this? 🙇

For example, by writing a proto like the following, you can write a branch that calls GetSecondResource if the result of GetFirstResource is XX .

message First {
  resolver {
    method: "GetFirstResource"
    response { name: "res" }
  }
  messages { message: "Condition", args { name: "first", by: "res" } }
}

message Condition {
  oneof cond {
    bool called = 1 [(grpc.federation.field).oneof = {
      expr: "condition for getting Second"
      messages { message: "Second", args { name: "value", by: "$.first.value" }
      by: "true"
    }];

    bool not_called = 2 [(grpc.federation.field).oneof = {
      default: true
      by: "true"
    }];
  }
}

message Second {
  resolver {
    method: "GetSecondResource"
    request { field: "xxx", by: "$.value" } // use first resource value
  }
}

@goccy Thank you for the detailed explanation! I will try on my side 🙇


is_supported with memcached error

using is_supported with memcached driver is getting fatal error since CI 3.0.1 or above
currently testing on CI 3.0.3 is only return fatal error due to new addServer function
Code
if (!$this->cache->memcached->is_supported())
        {
            echo "Not Supported";
        }

Result
Fatal error: Call to a member function addServer() on a non-object in /var/www/box/system/libraries/Cache/drivers/Cache_memcached.php on line 130
A PHP Error was encountered

Severity: Error

Message: Call to a member function addServer() on a non-object

Filename: drivers/Cache_memcached.php

Line Number: 130

$this->load->driver('cache');
if ($this->cache->memcached->is_supported())
{
echo "Ok";
}
Does that work to you?

@narfbg if you punishing @bjjay why you close this issue while you didn't merge #4376, do I have to create new Issue ?

How is this issue closed?

@narfbg sorry mybad I get confused between this and other issue though both closed

@narfbg
Do we require to load the driver like below before using the is_supported() function...
$this->load->driver('cache', array('adapter' => 'memcached'));

No.

@narfbg
I looked on the properties of $this obj. But there is no cache object on it when i am trying to use in controller. So i felt that, need to load the cache object.
I too got the error when i am trying to use it directly like below :
if(!$this->cache->memcached->is_supported()){
}
Could you tell me, What to do if we don't require to load the cache obj?

What do you mean what to do? It's a bug report, obviously something doesn't work right.

This means, Is the $this obj suppose to have the cache obj? I am trying to fix this issue.

There's a pull request referenced above that contained a fix, object instances have nothing to do with it.

#4066 is relevant.


B-1d

Migrated from CormenSol
The conclusion isn't backed up by any explanation. Hopefully before the migration is completed, this equality or its more general version will have been proven in chapter 3 or somewhere else. If so, reference that solution, otherwise add the proof.

Sadly, chapter 3 lacks this fact. But the proof added here turned out be very short.


feat: separate native-image-shared-config into its own module

This PR separates out the native image configurations into their own artifact called native-image-shared-config. A pom.xml file focused on native image is easier to maintain.
The native-image-shared-config artifact is brought in as a parent of java-shared-config
Testing locally with google-http-java-client by adding the following and running mvn test -Pnative -Pnative-deps -Dtest=*Test:

 <parent>
    <groupId>com.google.cloud</groupId>
    <artifactId>native-image-shared-config</artifactId>
    <version>1.6.2-SNAPSHOT</version>
  </parent>

Once you merge this "feat" pull request, check Release Please pull request has correct updates for the versions.

Thank you @suztomo! Also the stage job ran successfully with this PR:
INFO] --- maven-deploy-plugin:3.1.1:deploy (default-deploy) @ google-cloud-shared-config-parent ---
[INFO] Skipping artifact deployment
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Native Image Shared Config 1.6.2-SNAPSHOT .......... SUCCESS [01:41 min]
[INFO] Google Cloud Shared Config 1.6.2-SNAPSHOT .......... SUCCESS [02:36 min]
[INFO] google-cloud-shared-config-parent 0.1.0-SNAPSHOT ... SUCCESS [  0.910 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:33 min
[INFO] Finished at: 2023-11-28T16:01:50Z
[INFO] ------------------------------------------------------------------------
Finished uploading the staging repository

The failure of job labelled kokoro is due to a failure in the publish_javadoc job which shows:
cp: cannot create regular file 'target/docfx-yml/history.md': No such file or directory

It appears that this job has experienced this issue since the last couple of releases:

I'm surprised that publish_javadoc11.sh is involved with this repo since we aren't publishing documentation anywhere. It might be that this job is unnecessary.


Enabling the '--tenants' cli option.

PR: https://github.com/rhos-infra/cibyl/pull/183 must be merged first.

Ok, I'll see what I can do.


log_reported issues

Just did a fresh install and I got Unknown column 'type' in 'where clause' on the index page. Unfortunately, it didn't tell me the file to look in or give me any other information. Just that error on a blank screen. That's one issue.
I looked in to it and @emanuele45 made some changes back on September 20. I am working on figuring out what happened, but this installation method is confusing me.

Hmm... reinstalled and didn't get the error.

I am working on figuring out what happened, but this installation method is confusing me.

Which part of it?

I think I am just going to close this. Not sure what happened. Decided to shelve it and if it comes up next time I reinstall Elkarte, I'll worry about it then.


Remove A2 Online Judge as it is no longer supported

Describe the bug
Remove the A2 Online Judge Code as it is no longer maintained. Remove the API code from backend and update the frontend accordingly.
To Reproduce
Enter any username and hit enter. The A2 Online Judge API always fails as the webpage does not exists.
Expected behavior
All the APIs displayed should be working properly.
Screenshots

can I contribute on this issue?

Assign this task to me

Hi @retry19 are you still working on it? If not then we could assign it to @ManavMalhotra


Potential array overflow in iis3dwb_fifo_out_raw_get

This snippet of code
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.c#L919-L920
reads sizeof(iis3dwb_fifo_out_raw_t) bytes from the FIFO and stores them into buf (which is 7 bytes large).
I suppose that the purpose is to read 7 bytes from the FIFO, because from the datasheet every FIFO item is 7 bytes large (1 byte of tag + 6 bytes of data).
The problem is that iis3dwb_fifo_out_raw_t is declared as
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.h#L1110-L1119
but in C (not C++) the sizeof of th enum is not defined by the standard.
As an example, you can read here.
If you use ARM Compiler with -fshort-enums option (see here) or GCC (I haven't tried), probably the sizeof of the tag enum is 1 byes (based on the values declared for tag), but this is not guaranteed.
And so, sizeof(iis3dwb_fifo_out_raw_t) can be larger than 7 bytes.
In this case, buf is written beyond its boundary.
I see only one clean and safe possibility to fix this:
changing iis3dwb_fifo_out_raw_t declaration so that it's 7 bytes long. In this case it cannot include an enum anymore, but it should be
typedef struct
{
  uint8_t tag;
  uint8_t data[6];
} iis3dwb_fifo_out_raw_t;

But even in this way, I'm not sure if the starting address of a iis3dwb_fifo_out_raw_t variable would remain byte-aligned, or it would be chnaged to int-aligned.
The problem is that
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.c#L961-L973
reads 7 * num bytes and stores them into fdata which is an array of num iis3dwb_fifo_out_raw_t variables.
This massive read works only if iis3dwb_fifo_out_raw_t are stored into memory byte-aligned.
The topic is quite technical, and I hope I've been able to describe it.

Hi @avisconti , I can open a PR that removes the enum tag but I'm not sure if this is the "approved" fix from ST side

This snippet of code
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.c#L919-L920
reads sizeof(iis3dwb_fifo_out_raw_t) bytes from the FIFO and stores them into buf (which is 7 bytes large).
I suppose that the purpose is to read 7 bytes from the FIFO, because from the datasheet every FIFO item is 7 bytes large (1 byte of tag + 6 bytes of data).
The problem is that iis3dwb_fifo_out_raw_t is declared as
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.h#L1110-L1119
but in C (not C++) the sizeof of th enum is not defined by the standard.
As an example, you can read here.
If you use ARM Compiler with -fshort-enums option (see here) or GCC (I haven't tried), probably the sizeof of the tag enum is 1 byes (based on the values declared for tag), but this is not guaranteed. And so, sizeof(iis3dwb_fifo_out_raw_t) can be larger than 7 bytes. In this case, buf is written beyond its boundary.
I see only one clean and safe possibility to fix this: changing iis3dwb_fifo_out_raw_t declaration so that it's 7 bytes long. In this case it cannot include an enum anymore, but it should be
typedef struct
{
  uint8_t tag;
  uint8_t data[6];
} iis3dwb_fifo_out_raw_t;

But even in this way, I'm not sure if the starting address of a iis3dwb_fifo_out_raw_t variable would remain byte-aligned, or it would be chnaged to int-aligned.
The problem is that
https://github.com/STMicroelectronics/iis3dwb-pid/blob/7dac6d5f408aa7a7ea18721c5a77b224f35b13ff/iis3dwb_reg.c#L961-L973
reads 7 * num bytes and stores them into fdata which is an array of num iis3dwb_fifo_out_raw_t variables.
This massive read works only if iis3dwb_fifo_out_raw_t are stored into memory byte-aligned.
The topic is quite technical, and I hope I've been able to describe it.

Hi @escherstair ,
Yes, the topic is quite technical and I agree with you that we might have issue related to different size/alignment on various architecture. The usage of enum was introduced only for the sake of clearness in the code, but I agree that it might work not as expected. I was in fact assuming that the size of an enumerative type was the minimum enough to represent it.
If you don't mind I'm available to evaluate your proposal in terms of a Pull Request. Thanks again!

@avisconti I did it, but the PR is refused.
I signed the CLA when requested

Hello @avisconti and @escherstair ,
I proposed a PR to fix the issue. Let me know what you think about it.
Best Regards,
Carlo

Closed via PR #9


Fix CI build - and possibility for deadlocks!

CI build should now work. Unit tests no longer deadlock - and deadlock possibility in main library eliminated.

It's ok for me!

It require much more work to than just CI troubleshooting activity.

Okay, I think this is good to go now.


Not iterating frames

Hi,
I'v run the raytracer with the DefaultControlFile.txt provided.
Here folows it's contents:
GraviRayTraceSharp.Scene.DefaultPathSceneGenerator, GraviRayTraceSharp
.
640 480
1
High
10 1
20 1
30 1
40 1
50 1
60 1
70 1
80 1
90 1
100 1
110 1
120 1
130 1
140 1
150 1
160 1
170 1
180 1
190 1
200 1
210 1
The method CommitFrameNo isn't writing the tokenChar into the file, so the raytracer always try to render the "10" frame.
Downloaded, built in release, just plain github code.
Thanks for the amazing code!

Hi,
The published code works properly on at least 20 different machines. What platform are you on? We are all on Windows 7. The logic that you mention works using a two-way file stream (ie. file stream which is used both to read and write, with stream position changing) - is it possible that stream.Seek() works differently for you? Do any changes get written back to control file? Do you see a '2' appearing anywhere once processing starts on the first frame?

Hi!
Thanks for your answer.
I'm running on Windows 7, under Visual Studio 2012.
It keeps in the first frame, and yes, there is a "2" in the seccond frame, follows:
GraviRayTraceSharp.Scene.DefaultPathSceneGenerator, GraviRayTraceSharp
.
640 480
1
High
10 1
20 2
30 1
40 1
50 1
60 1
70 1
80 1
90 1
100 1
110 1
120 1
130 1
140 1
150 1
160 1
170 1
180 1
190 1
200 1
210 1
It actualy writes the first frame in the disk , but keeps on the first frame forever.
Any idea? Is there something that I could do?
Thanks in advance!

Have you downloaded the code via 'Download ZIP' or using GitHub client?

Committed a fix to control file processor, to handle different  encodings.


chore: update nativescript-zip to latest and use {N} scoped

This also exposes TNSLocalPackage class which is a very useful class to use for all sorts of scenarios even outside of just appsync. ie, lazy loaded asset zip bundles.

Perfect, thanks Nathan!
I've just tested and published 2.0.0.


noImplicitAny setting reversed

Search Terms:
noImplicitAny
implicit null type assignment
Code
let implicitNullType = null; // The noImplicitAny option is TRUE!
// The inferred type of implicitNullType should be null.

implicitNullType = 12; // This should not be allowed.

Expected behavior:
A variable set to null should get inferred as type null when noImplicitAny option is TRUE.
Actual behavior:
When the noImplicitAny option is TRUE a variable set to null gets the type any. This is opposite of expected behavior.
Playground Link:
https://www.typescriptlang.org/play/#code/DYUwLgBAlgtgDsKBjKYByBXYwAqBPOECAXggDstgBuCAelohwAsiyB7ASXkRTAEEyeCGzhgobMtADOjAEoBVAKIBCAFD1GLaGQBmIAE76QAEwhgCRNjujdkqTNnyEIUpmyymARq0oA6VbAIduiUTkSkAIwATDQazFAyru7ApuyQ3hAAhthsAO4mvkA
Related Issues:

This isn't a bug and this isn't an any. lets initialized with undefined or null, it becomes a control-flow-tracked type that follows subsequent assignments. These assignments can be of any type, but from a read perspective this value always has an assigned, non-any type, and you can't create any of the usual problems of any from this kind of variable.
declare function fn(s: string): void;
let s = null;

s = "";
// OK
fn(s);

s = 10;
// Error
fn(s);

Again, you can't observe any novel unsound behavior due to this behavior.


Highlighted line not transparent in transparent terminal

On a transparent terminal with let g:hybrid_transparent_background = 1 the highlighted line is not transparent.

Is it vims issue or can it be solved with your plugin?
Great work btw!

I have the same issue but with the Neovim


Parallelize Git pulls over managed repos

Compose's recent improvement to parallelize stopping and removing containers have made some Dusty commands way faster. The repo updating we do is still serial and embarrassing when compared to what Compose is doing. Can we parallelize the Git operations on managed repos to make dusty up and similar commands much faster?

dusty up is really getting fast with this and all the parallelization improvements from the latest Docker Compose! https://asciinema.org/a/6sotg0dtf6wqskrvvh7bpsou0


Load balancer set cluster parameters in PowerShell

What value should be provided for subnet mask. it is not cleared and hard coded in the document. Does the subnet mask should be <IP_ADDRESS> or the IP subnet mask of cluster as well as Always-on listener.
$ClusterNetworkName = "" # The cluster network name. Use Get-ClusterNetwork on Windows Server 2012 or later to find the name.
$IPResourceName = "" # The IP address resource name.
$ListenerILBIP = "<n.n.n.n>" # The IP address of the internal load balancer. This is the static IP address for the load balancer that you configured in the Azure portal.
[int]$ListenerProbePort =
Import-Module FailoverClusters
Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ListenerILBIP";"ProbePort"=$ListenerProbePort;"SubnetMask"="<IP_ADDRESS>";"Network"="$ClusterNetworkName";"EnableDhcp"=0}

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

ID: a9894346-d829-29f1-4ffb-3bdcf6bc99f9
Version Independent ID: 28d4ffb9-e681-82b8-1436-86ea3ede4b69
Content: Configure a load balancer & availability group listener (Azure portal) - SQL Server on Azure VMs
Content Source: azure-sql/virtual-machines/windows/availability-group-load-balancer-portal-configure.md
Service: virtual-machines-sql
Sub-service: hadr
GitHub Login: @tarynpratt
Microsoft Alias: tarynpratt

@narayana471
Thanks for your feedback! We will investigate and update as appropriate.

@narayana471
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1


Testing strategy

I was wondering if you have decided on some kind of testing strategy (unit/integration) / tooling (jest).
I would be happy to help if you need any also would like to check-in tests for the functionality that I've added.

@kamaz Thank you for your contributions!  We've used both jest and mocha/chai tooling for tests, and I'm not strongly opinionated on which one.  (It sounds like you'd be happy to contribute jest tests, and I'm totally in favor of that.)
As far as unit and integration tests, I can see roles for each, though concentrating first on unit tests is a good practice.

Great I will create a PR for that as well.
Thanks for sharing the plugin. It saves us a little bit time 😄

@kamaz I'll be archiving this repo, and pushing over to New Relic.  Commit history should stay the same.  See #30  for updates.

@mrickard created the PR #41 it would be good to know what you think it has both a new feature and example tests


Invoke  just hangs

I have a very simple hello world action. I can attach to it, but nothing happens when I try to invoke it:

Scotts-MacBook-Pro:openwisk scottchapman$ wskdb MyTest
Welcome to the OpenWhisk Debugger
Attaching to MyTest
Creating action trampoline
ok
(wskdb) invoke MyTest

I was going to take a gander at it tomorrow but I think it is out of my wheelhouse. This something you can address?

There are two references that need to change:
https://github.com/openwhisk/openwhisk-debugger/blob/master/invoker/owdbg-invoker.js#L42
https://github.com/openwhisk/openwhisk-debugger/blob/master/invoker/owdbg-invoker.js#L72
whisk.getAuthKey should be changed to process.env.$__OW_AUTH_KEY.

I made both those changes to my locally installed version and it didn't have any effect.
I do see two actions get created; both are named "debug ..." so I think the credential handling looks OK.


pkg/email: refactor ParsePatch

Currently the function returns the values that are not being used anywhere. Refactor it.

Why is this needed?

FTR I updated the PR after an offline discussion.


EM24 Ethernet false gridEnergy in InfluxDB

Describe the bug
Hi,
I use the EM24 Ethernet (fw: PFB-1.0 (Eth:1.8)) as grid energymeter.
Now I have implemented evcc in my InfluxDB (v2.7.4).
The energy value „_measurement gridEnergy“ in InfluxDB is only the phase L2 energy of the EM24.
It was nice when you can implement the grid energyFeedIn and maybe gridVoltages, gridPowerFactor and gridFrequence to EVCC->Influx
Thanks
Steps to reproduce

open influx Data Explorer -> bucket EVCC -> gridEnergy -> value
open Carlo Gavazzi UCS7 software (or lock on EM24 display) -> compare values
influx gridEnergy = energy L2 on EM24

Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: XXXX

interval: 10s # control cycle interval

sponsortoken: XXXX

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: cg-em24
  id: 1
  host: 192.168.XX.XX
  port: 502
  usage: grid
  modbus: tcpip
  name: grid1

chargers:
- type: template
  template: phoenix-ev-eth
  id: 255
  host: 192.168.XX.XX
  port: 502
  modbus: tcpip
  name: wallbox1
- type: template
  template: go-e-v3
  host: 192.168.XX.XX
  name: wallbox2
- type: template
  template: go-e-v3
  host: 192.168.XX.XX
  name: wallbox3

loadpoints:
- title: Garage
  charger: wallbox1
  mode: minpv
  phases: 3
  mincurrent: 6
  maxcurrent: 32
  priority: 1
- title: Carport
  charger: wallbox2
  mode: minpv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  priority: 0
- title: Stellplatz
  charger: wallbox3
  mode: minpv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  priority: 2

site:
  title: XXXX
  meters:
    grid: grid1

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.2839 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.0673 # [currency]/kWh

influx:
  url: http://192.168.XX.XX:8086
  database: evcc # InfluxDB v2.x uses term `bucket` but for compatibility still named `database` here
  token: XXXXXXXX
  org: home

Log details
.

What type of operating system are you running?
Docker container
Version
0.123.5

Ouput from evcc meter --log trace is missing here.

@andig
Hi, too bad you have already closed the issuereport.
In the meantime, I have finally been able to find the time to investigate the matter myself.
This is a difference in the communication protocols of the Ethernet variants.
Protocol for the Ethernet version:

Is condition:
https://github.com/volkszaehler/mbmd/blob/master/meters/rs485/carlogavazzi-em24.go
Translation:
VoltageL1: 0x00, ok VoltageL2: 0x02, ok VoltageL3: 0x04, ok CurrentL1: 0x0C, ok CurrentL2: 0x0E, ok CurrentL3: 0x10, ok PowerL1:   0x12, ok PowerL2:   0x14, ok PowerL3:   0x16, ok Power:     0x28, ok CosphiL1:  0x32, -> 0x2E CosphiL2:  0x33, -> 0x2F CosphiL3:  0x34, -> 0x30 Cosphi:    0x35, -> 0x31 Frequency: 0x37, -> 0x33 Import:    0x42, -> 0x3C -> 0x112 its better to use TOTAL, export is TOTAL to ImportL1:  0x46, -> 0x40 ImportL2:  0x48, -> 0x42 ImportL3:  0x4A, -> 0x44 Export:    0x5C, -> 0x4E
In addition, it would be really great if you would pass the following values to Influx:
Voltage L1-L3, Cosphi (Sum), Import (corrected), Export
Thanks

Hi, too bad you have already closed the issuereport.

We're closing any resolved reports or ones with missing feedback.
@premultiply looks like CG is actually 2 models- ModbusTCP and RS485. Seems we should switch to direct implementations.
@diavolopineapplepizza do you want to propose a PR for splitting the models? This is not a priority for us.


aria-label not working on IconButton

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

When hovering over an IconButton I should see an aria-label
Current Behavior 😯

No aria-label is shown
Steps to Reproduce 🕹
This bug is present in the material-ui docs. Go to the buttons demo hover over the trash icon and note that no label is shown. I've attached a video (gif format) of this behavior for convenience.

When hovering over an IconButton I should see an aria-label

How did you come to that conclusion? Was this the case in a previous version?
aria-label is usually used for assistive technology. Maybe you meant title?

But is there a way to add an aria-label to an IconButton?

Can we have an update on the question asked by @anitba?

@eps1lon Also interested in hearing about how to add assistive technology on MUI components without breaking my TypeScript code.

@jakesylvestre did you find a solution to this problem? Can you share if yes?

Can we have an update on the question asked by @anitba?

I also am interested in the solution. this is a problem that doesn't seem to be solved. Why is this ticket closed without solution?


chore(main): release 1.5.1

:robot: I have created a release beep boop
1.5.1 (2022-05-09)
Miscellaneous

docker: bump vektra/mockery from v2.12.1 to v2.12.2 (ae36f8a)

This PR was generated with Release Please. See documentation.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.436%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
190

Relevant Lines:
195

💛  - Coveralls

https://github.com/floatme-corp/golflog/pull/44


Upgrade to Swift 4.2

Short description
Upgrade to Swift 4.2 is required to keep the project up.

Implemented by #83.


feat : code changes for new serial part submodel with multi version support

Description

Supported new serial part submodel with multi version support.
Removed maven modules  serial-part-typization and assembly-part-relationship for update.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

@almadigabor  I have updated changelog file and PR discription about removed maven modules.

@almadigabor Please review


Color entire blocks instead of just the first instruction

When coloring the graph in IDA, I think it would be better to color entire blocks rather than just the first instruction of each block. This will make the graph look something like this:

We can get the boundaries of each block using this small utility function:
def addr2block(addr):
    f = idaapi.get_func(addr)
    if not f:
        print "No function at 0x%x" % (addr)
        return

    fc = idaapi.FlowChart(f)

    for block in fc:
        if (block.startEA <= addr) and (block.endEA > addr):
                return (block.startEA, block.endEA)

I agree. Mesos originally put breakpoints on every PC and I never updated it. Technically coloring blocks might lead to coloring un-hit code (if there is a path that always crashes or something), but I think it's better to color the blocks. Merged in e331dd3560583500a50e8628d4d2b9b3b84feb59


some other false positives

hi,
maybe I found three other false positives. Here's the list:
Mozilla/5.0 (Linux; Android 4.4.2; ForwardRuby Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 5.1; Cosmos Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/<IP_ADDRESS> Mobile Safari/537.36
Mozilla/5.0 (Linux; U; Android 4.2.1; en-ph; MyPhone Agua Vortex Build/JOP40D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30

What do you think?
ty

I think you are correct!
Will push a fix later today when I get chance.
Thanks for reporting ❤


stdlib: load .env.local, write guide for .env handling

.gitignore .env.local
.env should contain development defaults
production values should be overwritten by whatever way the user hosts the api.
ie for Docker set env variables with docker run --env FOO=bar

Probably want to do git check-ignore .env.local in compas help

Fixed with https://github.com/compasjs/docs/commit/01c158b88d0ee2cff04cb8beb5a9097015850bb7


NeuralNDCG, 1.4.0 release

This PR introduces NeuralNDCG, a loss function for direct optimisation of NDCG metric (arxiv link). The loss function is implemented in two variants - standard (approximating each position's gain) and transposed (approximating each document's discount).
Required Pytorch and torchvision versions are now ranges, 1.6.0-1.8.0 and 0.7.0-0.9.0, respectively.
Because of these relatively important changes, a minor version bump is done to 1.4.0 version.

Hey, could there be possibility to implement NeuralNDCG with improved sorting/ranking (paper https://arxiv.org/pdf/2002.08871.pdf by google researchers). Pytorch optimized implementation is already available in https://github.com/teddykoker/torchsort . They report N log(N) sorting speed without tradeoff, whereas original NeuralNDCG uses slower variant AFAIK. Speed is important factor for this objetive to work on large datasets IMO. WDYT?


Contradicting kubectl apply documentation

Originally filed at: https://github.com/kubernetes/website/issues/22465 (now closed)
Contradicting kubectl apply documentation
Problem:
The kubectl apply documentation here:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
Says that the -k flag should be used for a directory.
However the documentation here for the kubectl overview:
https://kubernetes.io/docs/concepts/configuration/overview/#using-kubectl
Suggests using the -f flag for a directory. Why is there a discrepancy?
Proposed Solution:
Clarification is needed that -f can take a file, a manifest URL, or a local directory containing manifests. If there are any particular reasons why -f is best practice, these should be stated.
Pages to Update:
One of the following pages should be updated or clarified:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
or
https://kubernetes.io/docs/concepts/configuration/overview/#using-kubectl

@SebStrug Hello Seb. The -f <DIR> flag is for regular resource config (e.g. yaml) within the directory, and it can be combined with the -R recursive flag. The -k <DIR> flag is for directories of kustomize configuration that needs the extra step of kustomize build. You can tell if a directory has kustomize configuration if there is a kustomization.yaml file in the directory. The -k flag can not be used with -f or -R. All of this is flag information is available in kubectl apply -h. If we should update other sources, we should probably track that in another issue. I will close this issue shortly.
/assign
/kind support
/sig cli
/area kubectl


Show correct version

See commit log.

Coverage remained the same at 98.058% when pulling a3fec122ea07742ba26836009480d62dda3f4329 on mattclegg:patch-1 into bdaf431ef1142b5d0253aeb534aad8f42e46877e on michael-ciniawsky:master.


Operators change size after FormSystemMatrix

I have been trying to parallelize my code. The good news is my code works for np=1. But it has a minor issue for np>1. For an operator appear at both sides of a system, for instance, the mass matrix, it gives me some troubles. Here is what I found:
   M = new ParBilinearForm(&fespace);
   M->AddDomainIntegrator(new MassIntegrator);
   M->Assemble();
   M->FormSystemMatrix(ess_tdof_list, Mmat);

In parallel, M->FormSystemMatrix(ess_tdof_list, Mmat) will destroy M->mat, so there is no operator of size fespace.GetVSize(). However, based on the discussion with @mlstowell in https://github.com/mfem/mfem/issues/818, he seems to think there is an operator of correct size in M. But I cannot find it.
In serial, M->FormSystemMatrix(ess_tdof_list, Mmat) will not destroy M->mat. But I believe the size of the operator will change.
I can probably still get away with defining another mass matrix and never call FormSystemMatrix. Maybe that is always the right way to implement?

Hi, @tangqi ,
During our last discussion I made a couple small changes to ex6 and ex6p so that I could see the sizes of the BilinearForm and ParBilinearForm objects before and after calls to FormLinearSystem.  If I remember correctly I saw that BilinearForm objects change size but ParBilinearForm objects do not.  This is an unfortunate inconsistency and I don't see any mention of a size change in the documentation of the relevant methods.  It sounds like you've found that BilinearForm::Mult and ParBilinearForm::Mult stop working after calls to FormSystemMatrix or presumably FormLinearSystem.  This sounds like a problem to me.  I think we need to hear from @v-dobrev and/or @jakubcerveny about the intended behavior of these methods.  Using the same bilinear form operator with a solver and to build a RHS is a bit unusual so perhaps its just a simple oversight.
Best wishes,
Mark

Hi @tangqi,
In general M and Mmat indeed have different sizes.
The bilinear form M is a finite element object of the size of the finite element space. There is some locality / duplication though -- e.g. on each MPI task we have a self-contained mesh and function and with AMR the degrees of freedom on each element are well-defined.
The matrix Mmat is a linear algebra object of the size of the linear system you actually solve for. All parallel and/or AMR duplicate dofs have been eliminated from it, and in fact there could be additional modifications when using static condensation or hybridization.
In serial, without AMR, the two objects are the same so we just reuse M->mat for Mmat. In all other cases though, M->mat is decoupled and the true Mmat is smaller.
Most likely you want to use Mmat on both sides of the equations. See e.g. Example 16.
What is the problem with doing that?
Tzanio

@tzanio

In serial, without AMR, the two objects are the same so we just reuse M->mat for Mmat.

Yes, that is how I implemented in serial.

In all other cases though, M->mat is decoupled and the true Mmat is smaller.

In parallel, I found after calling FormSystemMatrix, M->mat is destroyed. I think I can see @mlstowell 's point that M->mat is typically not needed after the matrix is formed.

Most likely you want to use Mmat on both sides of the equations. See e.g. Example 16. What is the problem with doing that?

I started by following example 16. But for AMR, it gave me some problems when I define my block operator by TimeDependentOperator(4*f.GetTrueVSize(), 0.0). So I follow amr/laghos.cpp and defined my operator by TimeDependentOperator(4*f.GetVSize(), 0.0). @mlstowell also suggested me to work with RHS of size f.GetVSize(). However, I only have Mmat in RHS when I want to apply it to a vector of size f.GetVSize().
As suggested by @mlstowell , I got around by keeping another mass matrix operator. It works well for both AMR and parallel. I asked for my own understanding. I think I understand what happened now, thanks to all your suggestions.
Thanks again for all your help!
Qi


It doesn't work with android 14

To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather.
Just imagine: we do not know what you are doing!

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.

Steps to reproduce

call "StartScanningForDevicesAsync" to scan BLE device

Expected behavior
It should list all the devices discovered.
And it worked on old versions before Android 14.
Actual behavior
Nothing was found
It only happens on Android 14
Crashlog
Configuration
Version of the Plugin: 2.1.3
Platform: Android 14
Device: Samsung Tablet

Hi @yj320696,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

There appears 2 changes to bluetooth in version 14
Not saying this is your issue, i wouldnt know as i dont currently have access to a 14 device, but this is what changed:
https://developer.android.com/about/versions/14/behavior-changes-all#mtu-set-to-517

Scanning on Android 14 works well for me, and AFAIK there are no relevant changes between Android 13 and 14 in that area.
A few questions:

Are you using the latest version 3.1.0 of the library?
Which older Android versions did you try? (There were some changes regarding permissions in Android 12 that you should be aware of: https://developer.android.com/develop/connectivity/bluetooth/bt-permissions#declare-android12-or-higher)
Could you please try our sample client BLE.Client.Maui and let us know if that works on Android 14 with your device?

Hi @janusw, thank you for the reply.
I have updated the library to v3.1.0.
The older version should be Android 13 or maybe Android 12. I don't have chance to check. We have installed 6 devices from Android 10 to Android 13(or 12). I never check the version number
I will use your sample client to test and let you know the result.

I did factory reset and no issues anymore


Windows Terminal oh-my-posh not working

Set-Theme : The term 'Set-Theme' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\Jabed\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:3 char:1
+ Set-Theme Paradox
+ ~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Set-Theme:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

same problem here. i used this to set it up: https://docs.microsoft.com/de-de/windows/terminal/tutorials/powerline-setup#powershell-prerequisites

same problem here. i used this to set it up: https://docs.microsoft.com/de-de/windows/terminal/tutorials/powerline-setup#powershell-prerequisites
Edit:
i replaced Set-Theme with this: Set-PoshPrompt -Theme agnoster, works fine for me!
this should fix your problem: Set-PoshPrompt -Theme paradox

Thanks a lot!! this fixes the problem. Aparently Set-Theme has been removed from cmdlet list.

This is fixed in #263 :)


Provide facilitator guide

WiP in https://docs.google.com/document/d/1EvFBMDvVP6IOk3bJg6hJPFAel5quERkolNIgEZTQEXU/edit#heading=h.dvchy0a7ux10
Write as markdown in the infrastructure repo.
During the workshop

Present ArgoCD on edge-gateway, to provide sync overview.

prepare workshop

check argocd sync status as data-center cluster

Edge gateway tasks for every new data-center env:

Map TeamX to robot -> via Playbook #19
Update robot access/creds at ArgoCD #18
Rebuild skupper tunnel via ansible playbook part of #16

Playbook env:
cd infrastructure/automation/
export KUBECONFIG=kubeconfig-data-center
oc login -u admin --insecure-skip-tls-verify https://api.cluster-...

export KUBECONFIG=kubeconfig-edge-gateway
oc login -u admin --insecure-skip-tls-verify https://edge-gateway.lan:6443

Start skupper & connection
ansible-navigator run ./create-skupper-tunnel.yaml

@goetzrieger here is the issue for the Facilitator guide.

I started a local development guide in gDoc it was a mess, I switched to markdown: https://github.com/cloud-native-robotz-hackathon/infrastructure/blob/main/docs/local-development.md#prepare-openshift-local--crc-edge-dateway

How to pre-pull the triton image

Connect a RJ45 wire from robot to router/network
Login via ssh & wire connection
Disable wifi interface ip link set dev wlan0 down
Pull the image podman pull quay.io/cloud-native-robotz-hackathon/tritonserver:24.08-py3
Remove wire and reboot

Source: https://github.com/cloud-native-robotz-hackathon/infrastructure/issues/56

[ ] Add trouble shooting guide

For example: https://github.com/cloud-native-robotz-hackathon/infrastructure/issues/88

Place to be: infrastructure repo, docs/ directory as a markdown file.


Can I import this into a Scala IntelliJ Project?

Am I able to import this into my IntelliJ Idea, where I program scala?

Sure - are you using any build tool to manage your dependencies like sbt or maven or gradle? If you're using sbt you can pull orianna from maven central as libraryDependencies += "com.merakianalytics.orianna" % "orianna" % "4.0.0-rc3".
If you want the latest SNAPSHOT version you can add the sonatype maven snapshot repository as detailed here then use libraryDependencies += "com.merakianalytics.orianna" % "orianna" % "4.0.0-SNAPSHOT" instead.


[TESTS] Add unit tests for deepFreeze

As a follow-up to #721, we should add some unit tests for deepFreeze. I went ahead and merged the PR, as the snippet definitely works, but we need to add a few tests to ensure its quality in the future.

@Chalarangelo @skatcat31
https://github.com/Chalarangelo/30-seconds-of-code/pull/742 will resolve this issue


Fixed Unequal padding on top and bottom of the alert

Issue -> https://github.com/zulip/zulip/issues/19153
Description
Issue Summary:
The current implementation of the alert components and status banners in the application does not handle different screen sizes and orientations effectively, leading to display and positioning issues. Specifically, alerts and status banners may not always appear correctly in the viewport or may overlap with other elements.
Changes Made:

Updated Alert Box Positioning: Adjusted the positioning and width of the alert box to ensure it remains within the viewport and is correctly centered. Added maximum width constraints to prevent it from exceeding the desired size.

Fixed Media Query for Responsiveness: Corrected the media query for handling screen sizes below the defined breakpoint. Ensured the alert box adjusts appropriately for smaller screens.

Enhanced Request Progress Status Banner: Improved the styling and positioning of the request progress status banner to ensure it is displayed correctly and does not interfere with other elements. Made adjustments to the grid layout and spacing to accommodate different states (loading, success).

Adjusted Exit Button Positioning: Refined the positioning and styling of the exit button to ensure it is visible and correctly aligned in various contexts.

Impact:
These changes enhance the user experience by ensuring that alert components and status banners are properly displayed and accessible on different screen sizes. The updates improve layout consistency and prevent overlapping or misalignment issues.

Thanks! Please go through our guide on submitting a pull request to learn how to present your proposed changes to Zulip, so that your work can be reviewed.


Login class rate limit notification method

Description
Move the rate limit notification code into a separate method to make it easier to extend the authentication method of the Login class.
Functional changes

[ ] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[ ] Documentation is up-to-date.

@danharrin thank you for your attention!
Implemented getRateLimitedNotification() method, also added getRateLimitedNotificationTitle() and getRateLimitedNotificationBody() methods.
I decided that it would be better to pass TooManyRequestsException from now on, because its other properties might be useful.
Also TooManyRequestsException already has public $this->minutesUntilAvailable = ceil($this->secondsUntilAvailable / 60) so I used that instead of repeating.

If I implemented correctly, should I add similar changes to this PR for the other Filament\Pages\Auth classes: Register, PasswordReset, RequestPasswordReset, EmailVerificationPrompt?

Thank you @olehasoft. getRateLimitedNotificationTitle() and getRateLimitedNotificationBody() can probably be merged into the main function, they are there for backwards compatibility on the other components. That should make it easier to apply to the other pages :)

@danharrin merged into one getRateLimitedNotification() method with code as close as possible to the original.
Although it always returns Notification, because __('filament-panels::pages/auth/login.notifications.throttled.title') will never return null, I left the ?Notification return declaration for use in extending.
If this meets your requirements, I suggest applying the solution to all the Filament\Pages\Auth classes I mentioned above.

Looks perfect, so its ready to be copied to the other classes. Thanks!

@danharrin all done, thanks!

Thank you for your patience with this review


Update UI against Test UI against Appclusive 1.1.0

This is a follow-up to #41

[ ] ACE
[ ] ACL
[ ] Approval
[ ] Cart, CartItem
[ ] Catalogue, CatalogueItems
[ ] CimiTarget
[ ] ContractMapping
[ ] CostCenter
[ ] Customer
[ ] EntityKind
[ ] Gate
[ ] Job
[ ] KeyNameValue
[ ] ManagementCredential
[ ] ManagementUri
[ ] Node
[ ] Order, OrderItems
[ ] Product
[ ] Tenant
[ ] User
[ ] Vdi
[ ] AuditTrail
[ ] Endpoint

All defects from #41 must be listed as issues and resolved. The order/ importance will be defined by @rufer7 .

Infos:

Products: no Version anymore
Job has properties Tid, Tenant and TenantId

@ChrEggenberger

Exactly, there is no more version property on product
As every other entity Job has Tid and Tenant. There is another property TenantId which allows to specifiy for which tenant the job has to be executed


Add support for binary 1.1 reader

Issue #, if available:
Description of changes:
This PR adds the initial wiring-up of a 1.1 binary reader. The bulk of the additions are in lazy/binary/raw/v1_1, with some type renaming and implementations to satisfy the encoding struct for binary 1.1.
In addition to the base reader, base support for null.null and IVMs are also added, with basic unit tests.
More comments posted in the 🗺 PR Tour.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The module structure is making this more difficult to review than it needs to be. It's hard to know what code is version specific and what code is version agnostic. It would be nice if you could create a new PR that reorganizes the code in preparation for having two Ion versions, and then rebase this on top of that PR. However, I know that's probably a lot of tedious work, so a follow up PR would also be fine.

I'm not sure I follow. The only changes in this PR that aren't 1.1 specific implementations, or part of 1.1 encoding wire-up, are the 1.0 type renames. The module layout should mirror the raw text reader, with some added types in the v1_1 module, to satisfy the encoding type requirements.

Did you consider making some of these types generic w.r.t. Ion versions? (I.e. <const MinorVersion: u8> or use a PhantomData<Ion_1_1> somewhere?) Then we might be able to avoid duplicating as much stuff, and maybe when we encounter a version

I had put some thought into parameterizing but wasn't sure exactly where the boundaries would be, yet. Most of the duplicated types (like the ones in lazy::binary:raw::v1_1::sequence and struct), are mainly to satisfy the type requirements, until I can revisit parameterizing on either the encoding, or a version number.

I'm not sure I follow. The only changes in this PR that aren't 1.1 specific implementations, or part of 1.1 encoding wire-up, are the 1.0 type renames. The module layout should mirror the raw text reader, with some added types in the v1_1 module, to satisfy the encoding type requirements.

What I mean is that the existing module structure (for reading binary) assumes 1.0 everywhere. The new modules are all contained in a flat v1_1 module. We know, just by looking at the file path, which files are 1.1 specific. We cannot say the same about 1.0 or version agnostic modules. It's not something for which I would block a PR, but it is something that needs to be cleaned up at some point.