PubSub Subscription stops receiving messages

I have storage as my publisher and a subscriber on the compute engine as the receiver.
Below is the subscriber code that I use.
def receive_messages_with_flow_control(project, subscription_name):
    """Receives messages from a pull subscription with flow control."""
    subscriber = pubsub_v1.SubscriberClient()
    subscription_path = subscriber.subscription_path(
        project, subscription_name)
    idocStorageAbsolutePath = config.idocsStorageAbsolutePath
    makeDirIfNotExist(idocStorageAbsolutePath)
    def callback(message):
        storage_data = message.data
        process_data(storage_data,idocStorageAbsolutePath)
        message.ack()

    # Limit the subscriber to only have ten outstanding messages at a time.
    flow_control = pubsub_v1.types.FlowControl(max_messages=50)
    subscriber.subscribe(
        subscription_path, callback=callback, flow_control=flow_control)

    # The subscriber is non-blocking, so we must keep the main thread from
    # exiting to allow it to process messages in the background.
    logger.info('Listening for messages on {}'.format(subscription_path))
    while True:
        time.sleep(5)

After a day or two of the subscriber running, it stops consuming the messages. I have to manually restart it to make it work again.
Please suggest what I am doing wrong.
PS: The data flowing speed into the topic is high during the day and reduces at night.

Sorry, it's a python issue

No prob! :)


Make script work on Windows

Solves the issue https://github.com/kraenhansen/dotenv-run-script/issues/5

Thanks for your contribution! I deleted the windows example and updated the simple and advanced to use node to read the process.env instead.


test(transformer): fix exec test reporter

#7687
#7722  👈 (View in Graphite)
main

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


signal.h included two times in demos/sslecho

Agree trivial

This pull request is ready to merge

Merged to the master branch. Thank you for your contribution.


Info local tables with references

Hi,
client side I have to create a many-to-many relationship between the Ports table and the Ships table. So I created the "Port" table, the "Ship" table and the table that relates "Port" and "Ship". Server side I have the following models:
public class MobileShip : EntityData
{
    [Key]
    [Display(Name = "SHIP_CD", ResourceType = typeof(Resources.ResourcesFile))]
    public string SHIP_CD { get; set; }
    [Display(Name = "SHIP_NAME", ResourceType = typeof(Resources.ResourcesFile))]
    public string SHP_NAME { get; set; }
    [Display(Name = "ENABLE_ELAB", ResourceType = typeof(Resources.ResourcesFile))]
    public bool ENABLE_ELAB { get; set; }
    public List<MobilePort> ports { get; set; }  //List Port
}

}
public class MobilePort: EntityData
{
    public string DEST_CD_KEY { get; set; }
    public string DEST_CD { get; set; }
    public string DEST_DESC { get; set; }
    public bool ENABLE_ELAB { get; set; }
}

On the Client side, is there a way to have items inserted correctly using the pullAsync function?
Thank you for support

Hi @CarmineScala92
Thanks for getting in touch.
Unfortunately, Azure Mobile Apps does not support relationships.
Related topics:
https://github.com/Azure/azure-mobile-apps/issues/6
https://shellmonger.com/2016/05/27/30-days-of-zumo-v2-azure-mobile-apps-day-26-relationship-advice/
Best,
Ivan


Add CMake install targets

Add CMake install targets to allow installing the library using CMake and allow usage with find_package().
Other changes:

Raise the minimum CMake version to 3.0. Testing CMake <IP_ADDRESS> on CentOS 7 generated errors already before doing these changes.
Make the CMake project() name consistent with the library name (change hnsw_lib to hnswlib).
Add option HNSWLIB_EXAMPLES to allow enabling/disabling tests and examples explicitly. Option defaults to previous behavior checking CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME

May I ask is there a tendency if these changes will be ok or not?
Installing CMake targets for hnswlib would make packaging of downstream C++ libraries with a transitive dependency on hnswlib a lot easier. But if you don't want to change CMake here, I would at least know that downstream workarounds are the way to go in the long run.

Hi @moritz-h,
Thank you for the PR and the reminder!
I'm open to merging it, but as I'm not very familiar with CMake, I'm a bit concerned about potential negative consequences for users relying on the previous structure. What do you think are the chances of a broken build in such cases?

I just discovered that the next CMake release 3.27 will print a deprecation warning for projects with compatibility to CMake older than 3.5, see https://cmake.org/cmake/help/git-master/release/dev/deprecate-policy-old.html
This is fixed by setting a version range to cmake_minimum_required to explicitly set the project compatible to newer CMake versions.

Cool, thank you! We will merge the PR after @dyashuni will do a quick look at it.

@moritz-h Thank you, looks good


Move AFv1 KB articles to hidden folder that is still linkable to. Added page to link to AFv1 docs.

@nathanyoung & @osbornm - Please do not merge this PR since we will need to work with @rpdubose to figure out how to do this in a coordinated fashion so we don't just blow our traffic out of the water.

@rpdubose when could we be ready to pull the trigger on this PR? It now passes all the tests and has no more conflicts with master.


Broken images on Wiki: "How to Start When Stuck II"

Wiki: How to Start When Stuck II"

Issue Description
Images aren't showing up.
Browser Information

Found on Safari 9.1.1, replicated on Chrome 52.0.2743.116
Operating System: OSX El Capitan v 10.11.5
Desktop

@dropTheNon thanks for the issue. We've moved our Wiki to the forum so that page you're looking for is here. Happy coding!


AWSUI-18914 :  validateA11y test on radio-group

Description
Adding a11y validation test for radio-group component
How has this been tested?
npm test
Documentation changes
[Do the changes include any API documentation changes?]

[ ] Yes, this change contains documentation changes.
[ ] No.

Related Links
[Attach any related links/pull request for this change]

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

[ ] Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
[ ] Changes do not include unsupported browser features, see CONTRIBUTING.md.
[ ] Changes were manually tested for accessibility, see accessibility guidelines.

Security

[ ] If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

[ ] Changes are covered with new/existing unit tests?
[ ] Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@karmanya79 LGTM, please remove package-lock change.


Add test for UsePubSubEmulatorExample.java

Please add an integration test for samples/snippets/src/main/java/pubsub/UsePubSubEmulatorExample.java
See https://github.com/googleapis/java-pubsub/pull/1602#pullrequestreview-1463419054

This still needs to be completed but has not yet been prioritized.


Add pypi workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6927628) 100.00% compared to head (3cfef99) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          253       253
  Branches        21        21
=========================================
  Hits           253       253

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Centering text in cell and column border

I wish to center text in each cell of the table, haven't seen a CSS property for that yet.
Table should have separated columns with light border just as rows are separated from each other by default.

@ROOT-017

Please use body-item-class-name prop: https://hc200ok.github.io/vue3-easy-data-table-doc/features/class-name-customization.html

for example:
<DataTable
    :headers="headers"
    :items="items"
    :body-item-class-name="bodyItemClassNameFunction"
</DataTable>

<script setup>
const bodyItemClassNameFunction = (column, index) => 'text-center';
</script>

<style scoped>
.text-center {
  text-align: center
}
</style>

You can refer to https://hc200ok.github.io/vue3-easy-data-table-doc/features/border-cell.html


version number behavior in NSI

hacksaw [10:47 AM]
reservation version numbers - you ignore the value specified by the requester.
the rule is use the version number specified by the requester if present, otherwise default to 0.

Reservation Versioning Information
To support the modification of reservations, the notion of versioning has been introduced to identify the instance of a reservation over its lifetime. The properties and characteristics of the versioning are as follows:
• Version numbers are integer values ≥ 0 (zero)
• Version numbers are assigned by the RA when a reservation request (i.e.
NSI_rsv.rq) is made to a PA
• An integer ≥ 0 (zero) can be assigned by the RA for the initial request, however
subsequent modifications to the request MUST use monotonically increasing version
numbers (although they need not be sequential)
• If a version number is not specified in an NSI_rsv.rq, it is assumed to be 0 (zero)
regardless if it is the initial or subsequent requests
• An NSI_rsv.rq with a version number ≤ the (highest) current committed reservation
version number will result in a failed request and an appropriate error
• A uPA must keep track of
o Version number of currently committed reservation
o Version number of pending modification request (if any)
o Version number of reservation instantiated in the data plane by the NRM
• An Aggregator must keep track of
o Version numbers of currently committed reservations in each child segment o Version number of pending modification request (only one modify can be
outstanding at any time)
o Version numbers of reservations instantiated in the data plane in each child
segment (see "Data Plane Status Information")
• Version numbers of failed (e.g. timed-out) or aborted modifications are not stored,
and therefore can be reused. For example:

Successful initial NSI_req.rq(ver = 2) results in Reservation(v2)
Successful modify NSI_req.rq(ver = 5) results in Reservation(v5)
Failed modify NSI_req.rq(ver = 6) retains Reservation(v5)
Subsequent successful modify NSI_req.rq(ver = 6) results in Reservation(v6)


schedule timezone local.

if the schedules timezone not specify, it's local timezone. but the code doesn't convert the t to the schedule timezone. and compare time below with schedule and t.
// Convert the given time into the schedule's timezone, if one is specified.
	// Save the original timezone so we can convert back after we find a time.
	// Note that schedules without a time zone specified (time.Local) are treated
	// as local to the time provided.
	origLocation := t.Location()
	loc := s.Location
	if loc == time.Local {
		loc = t.Location()
	}
	if s.Location != time.Local {
		t = t.In(s.Location)
	}

Thank you for the report. Can you provide a test case that demonstrates the issue?

Hello, I met the same issue, I think. Here is the test reproducing the issue:
func TestCronTimezone(t *testing.T) {

	loc, _ := time.LoadLocation("Europe/Paris")
	cronProcess := cron.New(cron.WithLocation(loc))

	entryID, _ := cronProcess.AddFunc("0 6 * * *", func() {
		log.Printf("Cron job : %s", time.Now())
	})
	cronProcess.Start()

	now := time.Date(2020, 4, 23, 5, 30, 0, 0, time.UTC)
	// In "Europe/Paris" timezone, equals to 2020-04-23T07:30:00
	nowInLoc := time.Date(2020, 4, 23, 7, 30, 0, 0, loc)
	if !now.Equal(nowInLoc) {
		t.Errorf("Should not happen")
	}

	entry := cronProcess.Entry(entryID)
	next := entry.Schedule.Next(now)
	nextInLoc := entry.Schedule.Next(nowInLoc)

	log.Println(now, next)
	if !next.Equal(nextInLoc) {
		t.Errorf("Should not happen: next %s, next in location %s", next, nextInLoc)
	}
}

Found a similar issue:

func Test(t *testing.T) {
	schedule, err := cron.ParseStandard("TZ=America/Los_Angeles 0 2 * * 0")
	require.NoError(t, err)

	zone, err := time.LoadLocation("America/Los_Angeles")
	require.NoError(t, err)

	now := time.Date(2022, 3, 1, 0, 0, 0, 0, zone)

	expectedNext := time.Date(2022, 3, 6, 2, 0, 0, 0, zone)
	nextSchedule := schedule.Next(now)
	assert.Equal(t, expectedNext.String(), nextSchedule.String())

	expectedNextNext := time.Date(2022, 3, 13, 2, 0, 0, 0, zone)
	nextNextSchedule := schedule.Next(nextSchedule)
	assert.Equal(t, expectedNextNext.String(), nextNextSchedule.String()) // Will fail, time will be 2022/3/20 02:00:00
}

On closer inspection the issue I'm referring to may be because of daylight savings time. I chose the times above for an unrelated test completely by accident apparently but in 2022, Daylight savings  begins on 03/13 02:00 (moving the clock to 03:00), so 02:00 is actually not a reachable time. Sadly I can't specify a PST vs PDT, only "America/Los_Angels"... A cautionary tale I suppose.


unitig colors

Greetings, I have a question about colours on unitig.
Here, I would like to use the toy case from the link (https://kamimrcht.github.io/webpage/tigs.html) to illustrate the issues as below:

Firstly, I created three fasta files:
blue.fa
>blue1
ATAA

red.fa
>red1
ATAACAATTG

green.fa
>green1
ATAACAATTG
>green2
AACACC

Then, I generated the GFA file and the color file via the command:
   Bifrost build -k 4 -c -r blue.fa -r red.fa -r green.fa -o mytest_original

I didn't put other parameters like (-i -d) to avoid graph simplification.
By loading the GFA and color files into the python environment:
import pyfrost
g = pyfrost.load('mytest_original.gfa')

To my understanding, we have three colors here:
>>> g.graph
{'color_names': ['blue.fa', 'red.fa', 'green.fa'], 'k': 4, 'g': 2}

And we also can see there are six nodes in the graph g:
>>> for n, data in g.nodes(data=True):
...     print(n, data['strand'])
...
ATAA Strand.FORWARD
TGTT Strand.REVERSE
ACAA Strand.FORWARD
CAAT Strand.REVERSE
ACAC Strand.FORWARD
GGTG Strand.REVERSE

Just ignore those nodes from Strand.REVERSE now, we should have three unitigs.
And I tried to get the colors for each unitig:
>>> for n, data in g.nodes(data=True):
    strand = str(data['strand'])
    if(strand == 'Strand.FORWARD'):
        print('=======================')
        for k,v in data.items():
            if(k=='colors'):
                print(k, set(data['colors']))
            else:
                print(k, v)
...
=======================
colors {0, 1, 2}
is_full_mapping True
unitig_length 3
mapped_sequence ATAACA
tail AACA
head ATAA
strand Strand.FORWARD
pos 0
unitig_sequence ATAACA
length 3
=======================
colors {1}
is_full_mapping True
unitig_length 4
mapped_sequence ACAATTG
tail ATTG
head ACAA
strand Strand.FORWARD
pos 0
unitig_sequence ACAATTG
length 4
=======================
colors {2, 3, 4, 5}
is_full_mapping True
unitig_length 2
mapped_sequence ACACC
tail CACC
head ACAC
strand Strand.FORWARD
pos 0
unitig_sequence ACACC
length 2

What I'm quite confused about is those colors assigned to these unitigs.
For example, I would expect the unitig with head-ATAA should have two colors (green and red) only.
And furthermore, we only have three colors in total, why the unitig with head-ACAC has four colors {2,3,4,5}.
Maybe I misunderstood something about colors. Can you kindly explain a little bit how these colors been calculated?
Bifrost 1.0.6
pyfrost 0.1.0b1
Thank you for you work on this and any input would be appreciated.

I noticed the Bifrost 1.0.6 and pyfrost 0.1.0b1 might be the old version and out of date.
So I git clone the newest version and compiled it locally. Now it works well.
But I noticed a minor issue as below:
>>> for n, data in g.nodes(data=True):
...     strand = str(data['strand'])
...     if(strand == 'Strand.FORWARD'):
...         print('=======================')
...         for k,v in data.items():
...             if(k=='colors'):
...                 print(k, set(v))
...             else:
...                 print(k, v)
...
=======================
colors {0, 1, 2}
unitig_sequence ATAACA
tail AACA
length 3
strand Strand.FORWARD
mapped_sequence ATAACA
pos 0
is_full_mapping True
unitig_length 3
head ATAA
=======================
colors {1, 2}
unitig_sequence AATTGT         <----here I expected it would be "ACAATTG"
tail TTGT
length 3
strand Strand.FORWARD
mapped_sequence AATTGT
pos 0
is_full_mapping True
unitig_length 3
head AATT
=======================
colors {2}
unitig_sequence ACACC
tail CACC
length 2
strand Strand.FORWARD
mapped_sequence ACACC
pos 0
is_full_mapping True
unitig_length 2
head ACAC

And another small issue I also would like to point out for reference.
I generated the ccDBG graph in two steps:
  Bifrost build -k 4 -c -r blue.fa -r red.fa -o B_R.step1

By loading B_R.step1 into python, and it output two unitags:
>>> for n, data in g1.nodes(data=True):
...     strand = str(data['strand'])
...     if(strand == 'Strand.FORWARD'):
...         print('=======================')
...         for k,v in data.items():
...             if(k=='colors'):
...                 print(k, set(v))
...             else:
...                 print(k, v)
...
=======================
colors {0, 1}
unitig_sequence ATAACAATT
tail AATT
length 6
strand Strand.FORWARD
mapped_sequence ATAACAATT
pos 0
is_full_mapping True
unitig_length 6
head ATAA
=======================
colors {0, 1}
unitig_sequence ATAACAATT
tail AATT
length 6
strand Strand.FORWARD
mapped_sequence ATAACAATT
pos 0
is_full_mapping True
unitig_length 6
head ATAA

But these two unitags actually are same, probably it can be merged.
And then updated the B_R.step1 further:
  Bifrost update -k 4 -c -r green.fa -g B_R.step1.gfa -f B_R.step1.bfg_colors -o B_R_G.step2

"update" works fine. Very nice! Thanks for the cool tools!


Permit multiple cut-out specifications for one single coachmark

This is a bit of an unusual use-case, but for instance say you have a stepper that looks like this:

... and you want to say that you can touch either of those buttons to alter the value in the middle, in one fell swoop rather than displaying two separate coachmarks.
Would be really useful!.

mmmm... in the actual state of the library, you only has the possibility to add an unique mark every moment. You could add the property to manage 2 or more marks with different coordinates


Fix "surrogate-pair" external link

Changed link from "[...]UTF-16#U+010000_to_U+10FFFF" to "[...]UTF-16#Code_points_from_U+010000_to_U+10FFFF)"

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

#label:"aq-pr-triaged"

#sign-off


docs: Update README.md

Description:
Changes based on a second review from @mkbreuningIOHK with @hamada147 after the renaming from Atala PRISM Wallet SDK KMM to Edge Agent SDK KMP
Checklist:

[x] My PR follows the contribution guidelines of this project
[ ] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked the PR title to follow the conventional commit specification

@hamada147 , see other small changes I did with another 2 commits and it should be good to merge.


Bump to version 0.48.0 - Round 1

Which issue does this PR close?

Part of https://github.com/apache/opendal/issues/4923
Rationale for this change

New Release of OpenDAL.
What changes are included in this PR?

Version bump
Are there any user-facing changes?

New Release.

All failed test are not related.


import unicorn conf

This was manually configured on prod based on the previous hosting and should be recorded in the playbook.

This could potentially be part of the service configuration with #7 .

Can you copy paste the configs on each PR for what's on prod for unicorn/nginx/mysql so we can integrate them? That'll be a starting point for making sure that the playbook reflects the production.


Option to dim / disable display brightness

As a user I want to be able to dim / disable the display brightness because in some situation it is too bright for the room

Agree. Would also like to turn it off at night, say between 11 PM and 5 AM.


ViroARPlaneSelector questions.

I am trying out the tutorial on AR on my iPad Pro (model number: mlmn2ll/a). The iPad has iOS 11.0.1 and ARKit apps like IKEA Place works fine on it. But I am unable to get the component ViroARPlaneSelector to appear consistently in the testbed on Viro Media's app.

Are iPads supported?

Is there a debug/feedback loop that will let us know whether the framework has detected plane(s) in the scene?

Hi @lionkeng,
Yes, iPads are supported.
Unfortunately, the only indication to the developer (programatically) that ARPlaneSelector is working onPlaneSelected. The only indication to the user is the white planes themselves appearing.
Are you noticing significant performance differences between the IKEA app and our ViroARPlaneSelector? If you want to manually find points, you can use the performARHitTest* functions here: http://docs.viromedia.com/docs/viroarscene#methods. An example of how they can be used can be found here: https://github.com/viromedia/ViroARSampleApp/blob/master/js/ARHitTestSample.js#L170.
We're looking into allowing the developer to enable drawing the point clouds, etc for better end-user feedback in our next release.

@achuvm, thanks for your response. The difference that I am seeing is in the plane detection functionality. ViroARPlaneSelector works well in some scenes, but in other scenes, it seems to have trouble detecting a plane. Thanks for pointing out the sample code for manually finding points.

Hi @lionkeng,
That's interesting, by scenes are you talking about ViroARScenes? Or real-world scenarios/locations? Can you see if the Apple ARKit example app is having the same trouble? You can download that here:
https://developer.apple.com/documentation/arkit/creating_face_based_ar_experiences
Our ViroARPlanes wrap the ARKit plane-finding features, so our performance should be no different than their example app.
Thanks,

ViroARPlaneSelector down not show white plains

@empitesajith are you never able to detect planes? We are trying to repro this issue, but it is working for us. Have you tried different environments/rooms? If you can provide more info that would be helpful.


Update pubspec.yaml

using an old sdk is causing so many issues, so keep the sdk updated

It's sorry that we can't accept this PR since we need to support the min dart SDK version 2.14.
Please raise an issue if you face the problem.

Closed this pull request due to not being active.


Containers running in pod are assigned the same ip address

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Containers in pod are being assigned the same IP address
Steps to reproduce the issue:

podman pod create

podman run -ti --pod 5e682f3e4acb node:lts bash

podman run --log-level=debug -ti --pod 5e682f3e4acb node:lts bash

Describe the results you received:
Each container shows the same ip address: inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global tap0
Describe the results you expected:
Containers should receive different IP addresses in the pod
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.3.0-dev
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.4
  podman version: 1.3.0-dev
host:
  BuildahVersion: 1.8-dev
  Conmon:
    package: 'conmon: /usr/libexec/crio/conmon'
    path: /usr/libexec/crio/conmon
    version: 'conmon version , commit: '
  Distribution:
    distribution: ubuntu
    version: "18.04"
  MemFree: 832475136
  MemTotal:<PHONE_NUMBER>0
  OCIRuntime:
    package: 'cri-o-runc: /usr/bin/runc'
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 4
  hostname: lat
  kernel: 4.18.0-17-generic
  os: linux
  rootless: true
  uptime: 391h 43m 24.31s (Approximately 16.29 days)
insecure registries:
  registries: []
registries:
  registries: []
store:
  ConfigFile: /home/marcino/.config/containers/storage.conf
  ContainerStore:
    number: 24
  GraphDriverName: vfs
  GraphOptions: null
  GraphRoot: /home/marcino/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 2
  RunRoot: /tmp/1000
  VolumePath: /home/marcino/.local/share/containers/storage/volumes

log-level=debug
marcino@lat:~/work$ podman run --log-level=debug -ti --pod 5e682f3e4acb node:lts bash
INFO[0000] running as rootless
DEBU[0000] Initializing boltdb state at /home/marcino/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver vfs
DEBU[0000] Using graph root /home/marcino/.local/share/containers/storage
DEBU[0000] Using run root /tmp/1000
DEBU[0000] Using static dir /home/marcino/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/marcino/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "vfs"
DEBU[0000] parsed reference into "[vfs@/home/marcino/.local/share/containers/storage+/tmp/1000]docker.io/library/node:lts"
DEBU[0000] parsed reference into "[vfs@/home/marcino/.local/share/containers/storage+/tmp/1000]@5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] exporting opaque data as blob "sha256:5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] parsed reference into "[vfs@/home/marcino/.local/share/containers/storage+/tmp/1000]@5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] exporting opaque data as blob "sha256:5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] parsed reference into "[vfs@/home/marcino/.local/share/containers/storage+/tmp/1000]@5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] Using container netmode
DEBU[0000] Using container ipcmode
DEBU[0000] adding container to pod 5e682f3e4acb
DEBU[0000] Allocated lock 26 for container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28
DEBU[0000] parsed reference into "[vfs@/home/marcino/.local/share/containers/storage+/tmp/1000]@5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0000] exporting opaque data as blob "sha256:5a401340b79fc623c9aec2a679f16ceb8a3b8865446691564bb104394fd0ce20"
DEBU[0003] created container "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28"
DEBU[0003] container "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28" has work directory "/home/marcino/.local/share/containers/storage/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata"
DEBU[0003] container "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28" has run directory "/tmp/1000/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata"
DEBU[0003] New container created "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28"
DEBU[0003] container "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28" has CgroupParent "/libpod_parent/5e682f3e4acbbe9eabe332431b6ee1e9e2b693f953a399e9fc508f7937c30771/libpod-d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28"
DEBU[0003] Handling terminal attach
DEBU[0003] mounted container "d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28" at "/home/marcino/.local/share/containers/storage/vfs/dir/c03aa3eb4872929f484e50faf19b5a970176529d5ef776410e7c0a6d1c4af759"
DEBU[0003] Created root filesystem for container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 at /home/marcino/.local/share/containers/storage/vfs/dir/c03aa3eb4872929f484e50faf19b5a970176529d5ef776410e7c0a6d1c4af759
DEBU[0003] /etc/system-fips does not exist on host, not mounting FIPS mode secret
DEBU[0003] Created OCI spec for container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 at /home/marcino/.local/share/containers/storage/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata/config.json
DEBU[0003] /usr/libexec/crio/conmon messages will be logged to syslog
DEBU[0003] running conmon: /usr/libexec/crio/conmon      args=[-c d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 -u d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 -r /usr/bin/runc -b /home/marcino/.local/share/containers/storage/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata -p /tmp/1000/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata/pidfile -l /home/marcino/.local/share/containers/storage/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata/ctr.log --exit-dir /run/user/1000/libpod/tmp/exits --conmon-pidfile /home/marcino/.local/share/containers/storage/vfs-containers/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /home/marcino/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /tmp/1000 --exit-command-arg --log-level --exit-command-arg debug --exit-command-arg --cgroup-manager --exit-command-arg cgroupfs --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg runc --exit-command-arg --storage-driver --exit-command-arg vfs --exit-command-arg container --exit-command-arg cleanup --exit-command-arg d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 --socket-dir-path /run/user/1000/libpod/tmp/socket -t --log-level debug --syslog]
WARN[0003] Failed to add conmon to cgroupfs sandbox cgroup: mkdir /sys/fs/cgroup/systemd/libpod_parent: permission denied
DEBU[0003] Received container pid: 29335
DEBU[0003] Created container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 in OCI runtime
DEBU[0003] Attaching to container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28
DEBU[0003] connecting to socket /run/user/1000/libpod/tmp/socket/d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28/attach
DEBU[0003] Starting container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28 with command [bash]
DEBU[0003] Received a resize event: {Width:158 Height:37}
DEBU[0003] Enabling signal proxying
DEBU[0003] Started container d0cfb2f7880d4c4e55f40f4be71c3893ecad8951768eeaf6342507f9ea2bdb28

this is done on purpose ... all containers inside a pod share the same namespace; therefore, they all have the same IP address.  this is not a bug and is as designed.

Apologies - I am not well versed in the pods design.  The problem I have how can containers within the pod communicate with each other?  Shall I specify different IP addresses?

They all share a network namespace (and thus the entire network stack), so we'd recommend that you bind to localhost and communicate that way.


Added improved error handling

Hi Cedric,
Excellent work with the vue-gapi plugin! I have made a few improvements that I hope you will merge into your version. I have also created an example application, see https://github.com/nidkil/vue-gapi-example, that demonstrates all vue-gapi functionality including the changes I have made.
This pull request is for improved error handling.
Regards, nidkil

Cedric, no problem to create tests. It seems the test directory is missing from GitHub. When I create the directory myself and a spec file and execute 'npm run test' linting is failing and mocha and karma don't seem to be configured. Do you have a working example?


Hi apparently I can't install FINRL

Hi this is the issue i get when i launch pip install finrl:

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> box2d-py
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

sorry if this is trivial but i don't know what to do, thanks for the help

I resolved that one but I still get another error namely this one:

ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

now what do i do? :D

Now I have a problem with this:
df = YahooDownloader(start_date = '2009-01-01',                      end_date = '2021-01-01',                      ticker_list = dow_tickers).fetch_data()
where dow_tickers is just a list I wrote myself since config.DOW_30_TICKER wasnt working...
but i get multiple errors like:

TypeError: import_optional_dependency() got an unexpected keyword argument 'errors'

i think the tutorial it's not working anymore guys any suggestion? maybe there is an updated version of the tutorial?

Do you use MAC OS or linux?

If on ubuntu you need to install the python version dev package. My case was "apt install python3.9-dev".

Please see https://finrl.readthedocs.io/en/latest/developer_guide/development_setup.html

I have the same error on MAC OS (apple silicon) with Python 3.9
I follow the steps in the development setup link to fork and clone then install the requirements. (https://finrl.readthedocs.io/en/latest/developer_guide/development_setup.html)
I received the same error:
× Encountered error while trying to install package.
╰─> box2d-py
I was able to bypass  this error and install FinRL with python 3.9 with by doing following:
conda create --name [env name] python=3.9
conda activate [env name]
conda install swig
pip install git+https://github.com/AI4Finance-Foundation/FinRL.git

Reference: https://stackoverflow.com/a/70323937/9157627


tyle-value-types.es.js

hello
whene hovering i get this error in the console and the Dom get slow down:
Uncaught (in promise) TypeError: Cannot read property 'red' of null
at isRgba (style-value-types.es.js:94)
at Object.test (style-value-types.es.js:215)
at getActionCreator (popmotion.es.js:686)
at Object.vectorAction [as spring] (popmotion.es.js:673)
at getAction (popmotion-pose.es.js:320)
at convertTransitionDefinition (popmotion-pose.es.js:412)
at resolveTransition (pose-core.es.js:88)
at resolveTransition (pose-core.es.js:75)
at pose-core.es.js:191
at new Promise ()
at pose-core.es.js:176
at Array.map ()
at getParentAnimations (pose-core.es.js:169)
at Object.set (pose-core.es.js:218)
at Object.update (popmotion-pose.es.js:487)
at Observer.updateObserver (popmotion.es.js:94)
at HTMLDivElement.Observer.update (popmotion.es.js:77)
Location : style-value-types.es.js:94
but evry thing work good

Hi. Please send your code

hello
whene hovering i get this error in the console and the Dom get slow down:
Uncaught (in promise) TypeError: Cannot read property 'red' of null
at isRgba (style-value-types.es.js:94)
at Object.test (style-value-types.es.js:215)
at getActionCreator (popmotion.es.js:686)
at Object.vectorAction [as spring] (popmotion.es.js:673)
at getAction (popmotion-pose.es.js:320)
at convertTransitionDefinition (popmotion-pose.es.js:412)
at resolveTransition (pose-core.es.js:88)
at resolveTransition (pose-core.es.js:75)
at pose-core.es.js:191
at new Promise ()
at pose-core.es.js:176
at Array.map ()
at getParentAnimations (pose-core.es.js:169)
at Object.set (pose-core.es.js:218)
at Object.update (popmotion-pose.es.js:487)
at Observer.updateObserver (popmotion.es.js:94)
at HTMLDivElement.Observer.update (popmotion.es.js:77)
Location : style-value-types.es.js:94
but evry thing work good

How is your component look like in code? This error caused by style subsystem and you might put wrong style. Anyway I have to look to your code

Hi @yoloten. Thanks for the great work.
Unfortunately, I get the same error as well. Actually, the same error is happening in your own demo: https://yoloten.github.io/react-stack-cards/.
Try use the TinderLikeCard component and you will see that the error appearing in the console. I hope it helps!

@valerioleo hi, thank you for response. It's strange but now I'm getting that error too. I'll try to fix that soon)


select row programmatically

Hi,
how can i select row programmatically?
I'm tryng to add object to the selected array but it seems not to work...
Best Regards,
Riccardo

Nothing special to it. Just push an object that's already in the rows. Imagine the key here is that the objects have the same value for the field you've labeled as id.
Did it in the demo at this codepen http://codepen.io/Koslun/pen/JKPzJK?editors=1010. Where I only  added this to the end of the controller:
$scope.selected.push($scope.desserts.data[0]);

For the list of item as alreadySelectedItem, If we want the rows that are painted by async calls should be mark selected based on the id of each object in alredySelectedItems. How do we approach this


[ARCTIC-128] [Optimize] limit the file-count of minor optimize plan

Why are the changes needed?

to fix #128, when a large number of smalll files in change table, minor optimize may plan tasks with too much files, which costs a long time to execute, and also brings risk of out of memory for ams/optimizer.
Brief change log

add table properties "optimize.file-count.max" to limit max file count of one Optimize plan (only Minor Optimize now)
default value of "optimize.file-count.max" is 100,000
before Minor Optimize plan, find all changes files which are not optimized before
then find up to 100,000 files with smallest transactionId from these unoptimized change files, and plan

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (no)
If yes, how is the feature documented? (not documented)

@wangtaohz
How about put optimize.max-file-count property into TableProperties and add this new property to user documention?

@wangtaohz
How about put optimize.max-file-count property into TableProperties and add this new property to user documention?

Added optimize.max-file-count to TableProperties, and alse documention.


Responsive Text Size with Rem

Currently text size are fixed pixels, which doesn't follow browser text resize.
Any plan with rem?
What's the impact for mobile? e.g. iOS Safari

+1 from pepper
+1 from MTK

@pseys @bhoppers2008 can you comment on this


libusb error while opening realsense T265 inside Docker container

Required Info

Camera Model
T265

Firmware Version
<IP_ADDRESS>7

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version (Linux Only)
5.0.0-36-generic

Platform
PC

SDK Version
2.30.0

Language
C/C++

Segment
Robot

Docker Version
19.03.5, build 633a0ea838

Issue Description
I'm trying to include librealsense2 and realsense2_camera on a Dockerfile together with rtabmap_ros. I have installed the librealsense2-dkms, librealsense2-utils and librealsense2-dev, and the librealsense2-udev-rules inside the container.
I have D435i and T265 cameras, however only D435 camera can be run inside docker container, while the T265 camera always failed to be run with an error:
08:08:14.943 [14500] [E] TrackingManager: Error while loading image - libusb_open failed (0xFFFFFFFC), will try again later

It will be more beneficial for us to also have an official docker image #3849.

Hi @jessearmand
This may help with your issue.  Have a review and let us know if this helps.
https://github.com/IntelRealSense/librealsense/issues/5604
If we don’t hear from you in 7 days, this issue will be closed.


(ci) mark flakey test suites as "continue-on-error: true"

in the interest of having a full pipeline for release 0.12.0, have marked the swamp and unit w/ race tests to continue-on-error: true so though the job will still fail in ci, the pipeline and dependent steps after those tests (namely version_bump + goreleaser) will still proceed as though they were successful, and we can get signed binaries with the tagged release

Codecov Report

Merging #2874 (885573e) into main (565691f) will increase coverage by 0.04%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2874      +/-   ##
==========================================
+ Coverage   51.57%   51.61%   +0.04%
==========================================
  Files         167      167
  Lines       10787    10787
==========================================
+ Hits         5563     5568       +5
+ Misses       4735     4723      -12
- Partials      489      496       +7

see 11 files with indirect coverage changes

@MSevey have a look at the changes i had to add to version_bump here, seems it hadn't run in a looooooooong time but was failing once i was skipping flakey tests, copied what we have in celestia-app

@MSevey have a look at the changes i had to add to version_bump here, seems it hadn't run in a looooooooong time but was failing once i was skipping flakey tests, copied what we have in celestia-app

@ramin there is currently a bug in app's version bumping that I'm digging into.
https://github.com/celestiaorg/celestia-app/issues/2688
Will circle back once I've fixed app to know if there are changes to reapply here.

@ramin I would add this update to the version_bump job https://github.com/celestiaorg/celestia-app/pull/2773/files
This ensures proper handling of any non master/main release branches.

@MSevey ok this is up to date


Clean up code with flake8/isort

This looks great, thanks.
However, to keep things from needed future cleanups, we should add tox jobs in tox.ini to run flake8 and isort checks, like the current 'checkmanifest' job. .travis.yml should be updated similarly.

Closed in favour of other PRs that added flake8 and isort to tox/Travis


Readme is not updated - tail.unwatch is not a function

If you want to stop tail:
tail.unwatch()

It seems that the current version expects tail.close() instead.

the README is correct.
The function to call is unwatch().


[BACKLOG-32315] Fix for async tree updates

:warning: Build finished in 11m 12s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 3 test(s) failed:
org.pentaho.di.job.entries.dtdvalidator.JobEntryDTDValidatorLoadSaveTest.initializationError (click to expand)
Lorg/pentaho/di/job/entry/loadSave/LoadSaveTester;

org.pentaho.di.job.entries.xmlwellformed.JobEntryXMLWellFormedLoadSaveTest.initializationError (click to expand)
Lorg/pentaho/di/job/entry/loadSave/LoadSaveTester;

org.pentaho.di.job.entries.xsdvalidator.JobEntryXSDValidatorTest.initializationError (click to expand)
Lorg/pentaho/di/job/entry/loadSave/LoadSaveTester;

Tests run: 1116, Failures: 3, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 10m 55s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1116, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 10m 29s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1116, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


🚨 [Do Not Merge] Refactoring The New Architecture Guide

🚨 DO NOT MERGE 🚨
This PR works as a container for a workstream to refactor the guide related to the new architecture.
🚨 DO NOT MERGE 🚨
Goal
This PR contains a proposal for a new structure of The New Architecture section on the website. This section lives in the Guides tab, therefore it contains mostly tutorials and examples. For more technical information on specific topics, it points to the Architecture tab. The proposed structure covers some topics that are currently missing, and it refactors part of the documentation that already exists.
You can look at the added files or you can look at the preview generated by the CI to see how it will be rendered.
The content of each section is a description of what should be written in other PRs that have this PR as their starting point!
Context
At the moment of writing, The New Architecture guide’s section is a migration guide from the old architecture to the new one. It does not explain the basic context needed to understand it (what the new architecture is and what are their main benefits) and there is no section that describes how the new architecture’s components and modules should look like. For the old architecture, these topics are presented in Native Module and Native Components sections.
Currently, the guide does not suggest any approach to create backward compatible code, and it does not show how to use the new app template.

@cipolleschi I've updated this to be a Draft PR so the merge button is disabled.

@Simek are you sure about this?

Since the doc IDs have been changed and files moved, we need to add redirects for those files, otherwise all older links used in the communication will lead to 404:

I am probably missing something about how the website works, but I was careful not to change any of the current pages IDs to avoid the broken link hell.
If you look at the PR, I only added files and updated the structure of the sidebar, but all the old files are still in their location, with their names and with their old IDs.
Could you double check that this assumption holds?

The New Arch guides so far were only available on next version, so there was no "version-less" links. All the links have been share with /next/ in the path, probably also to always points to the latest version of those guides.
This unfortunately means there is no way to avoid adding the redirect, fortunately, there will be only one entry per changed path, not three, like it was after Architecture section unversioning. 😅

Got it, so it is related to the removal of the versioning system from the website's guides, more than to the PR itself. Thank for the explanation!


Use the new deep_has and deep_get functions

Use the new deep_has and deep_get functions wherever there are x in y, x[] and (where appropriate) get_values operations, as they are safer and more correct.
Useful regex for quick checks involving strings for field names:
" (not )?in|\["(?!path|value|meta)

Related: #26

[x] field_level
[x] resource_level/coherent
[ ] resource_level/consistent except value-related checks
[ ] resource_level/reference
[ ] dataset
[ ] time_variance

Can do #3 at the same time.

Forgot to tag coherent.procurement_method_vs_number_of_tenderers in commit message (cast as float).


chore(ci) add schema-change-noteworthy label for any schema.lua file change

Summary
This commit updates the CI configuration to add the "schema-change-noteworthy" label for every PR that touches any schema.lua file. This helps communicate schema changes in Kong to downstream projects like Konnect, decK, KIC, Kong Manager track each and every schema change and adapt accordingly.
Checklist

[x] The Pull Request has tests - Not needed
[x] There's an entry in the CHANGELOG - Not needed
[x] There is a user-facing docs PR - Not Needed

@gszr Added the open-source plugin DAOs to the patch. EE is not in the scope of this patch.


[#140] Created testing-ui-activity to avoid leaking test code in prod

Description
Fixes #140
Check list

[x] I have updated CHANGELOG.md if required.
[x] I have updated documentation if required.

BTW no need to create an issue just to open a PR straight away, you can describe the issue here directly.

@CherryPerry will do!

@CherryPerry from what I can see there should be no issues based on how our existing tests are structured. however I will keep this in mind when we next update


chore(tests): update language go module & make DSL in tests more readable

fixes #1302

If you search the codebase for this regex
^type [^\{(\s]*$

that should list all test cases that need to be updated.

Let's' focus on the tests in the pkg/server and internal packages. The models defined elsewhere we can follow up on.

Thank you for your contribution.  We are going to close this out on account of the unresolved feedback.  At this time the PR is stale.  Feel free to reopen with the requested changes.


Windows scrolling bug

It also includes https://github.com/octalmage/robotjs/issues/301.
If accepted, please merge first https://github.com/octalmage/robotjs/pull/306.
Closes #360

Sorry everyone, releasing and building is currently difficult since I have to spin up a bunch of VMs. I'm going to work on getting TravisCI publishing so it's easier to test and deploy. Thanks for the PR!


[Enhancement] implement streamload via http stream

Search before asking

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

Description
Currently we can put data to doris via http using streamload or http stream. httpstream transforms data via sql in a header while streamload via special header. Sql is more easier to use.
In future, we would suggest http stream for users, and we also need keep only one in internal implementation.  So we can add a config option to enable implement streamload via ways of httpstream.
We can transform streamload headers to a sql internally and implement streamload in ways of httstream.
Solution
In the streamload action of be, collector headers and transfrom it to sql.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

please assign to me

Has this issue been resolved? Please assign it to me


Character classes also capture

The problem
Predefined character classes not only match, they also capture, putting a list of matched characters into a list
Suggestions
Please mention that in the documentation

They may be predefined, but there's nothing special about them compared to any other rule we might call. It's the calling of them with the <alpha> syntax that is asking for them to be captured. Call them as, for example, <.alpha>, and they won't be captured.
So, I'd explain this as saying that they're just built-in rules, and so subject to the usual capturing rules.


Add an efficient way to parse a large number of pages for tests

Currently, tests HTML files are just simply committed to the repo.
That would increase the repo size. Instead, we might use a Docker image with all the files and mount it locally?

There is no such way I can think of.


TETRA's Escape [PCSE01238]

App summary

App name: TETRA'S Escape
App serial: PCSE01238
App version: US

Vita3K summary

Version: v0.1.5
Build number: 2577
Commit hash: https://github.com/vita3k/vita3k/5ec76c40/
CPU backend: Dyarmic

Test environment summary

Tested by: ArbestRi
OS: Windows 11 (64 bit)
CPU: Intel Core i7-10700F
GPU: NVIDIA GeForce RTX 2060 SUPER
RAM: 16 GB

Issues
Game throws some logs then crashes before displaying anything.
Log
I don't have a log for this game
Recommended labels

Nothing

Vita3K v0.1.5 2636-cddf1066
stuck on the placeholder
nothing
vita3k.log

Please change the tag to Bootable

@ArbestRi a game is bootable when you see the fps counter in the window title, is it ?

Vita3K v0.1.5 2746-75b12013
still nothing
vita3k.log

Still does ABSOLLUTELY nothing.
New Text Document.txt
Most of the Unity games like these will likely NEVER boot in Vita3K.


ElasticPremium Plan not supported in Resource Groups with existing App Service Plans PremiumV3

Please provide information, that ElasticPremium Plan cannot be created in a resource group where already exists a Dedicated AppService Plan capable of scaling to PremiumV3, and both plans are to be in one region.
This is a huge limitation and should be very clearly stated, especially that error message on template validation is not very clear on this:
"Index (zero based) must be greater than or equal to zero and less than the size of the argument list."

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

ID: 3847e16b-92ae-0202-c7e1-ca9a8474e65f
Version Independent ID: a25b6b5b-05ab-b3b2-616c-5d06eadb928d
Content: Azure Functions Premium plan
Content Source: articles/azure-functions/functions-premium-plan.md
Service: azure-functions
GitHub Login: @jeffhollan
Microsoft Alias: jehollan

@miqm - Thanks for the valuable feedback. We will review and get back to you shortly.

@miqm  I have tried from the portal and I can do it. Could you please confirm how have you tried and when are you getting the exception. I need little more details.

@JayaChatterjee-MSFT Hello, I just tested on the Resource group I had it failed before, and now it does work. Believe me - I  had that issue when I wrote the ticket, seems like there were some infrastructure upgrade in the meantime.
It does work now, so I'm closing the ticket. Thanks.


Recipe out-of-date on Linux

Recently ran update on Linux and am seeing a lot of new dependencies getting pulled in that weren't being pulled in before like X11 packages, ruby, chrpath, and libuuid. For the most part, this seems like a positive change as it is cutting down our dependence on yum_requirements.txt ( https://github.com/conda-forge/qt-feedstock/issues/56 ), which is good. Some don't seem like they should be runtime dependencies, which is a separate discussion ( https://github.com/conda-forge/qt-feedstock/issues/57 ). However am concerned that there is not a corresponding update in the recipe. Am I just missing the commit somewhere?

On a related note, our Linux packages for qt5 have been moved to the "broken" label on anaconda.org, which means they can't be downloaded anymore via the usual command (conda install -c conda-forge qt=5).
I haven't been keeping up with the discussions regarding the Linux package.  Is there a thread I can catch up on to better understand the situation?  Anything I can do to help?

Hmm...seems the recent Linux build was deleted. 😕
In any event, appears there is not a Linux build for build number 4 (the most recent one). Maybe if someone can do that build, we can upload that one. Happy to provide instructions if someone has time and is interested.

Happy to provide instructions if someone has time and is interested.

Are there any special instructions required beyond simply building the recipe within the condaforge/linux-anvil docker container?

It's actually much easier than that for Linux. Would drop/change the skip statement to allow a build on Linux and then re-render with the latest conda-smithy. This should create a script ci_support/run_docker_build.sh. Then just run that script. The package will be dropped in build_artefacts/linux-64 when done.

Interestingly, I can run conda smithy rerender from within the docker container, but I can't run it on my Mac:
$ conda smithy rerender
Traceback (most recent call last):
  File "/miniforge/bin/conda-smithy", line 6, in <module>
    exit(main())
  File "/miniforge/lib/python3.6/site-packages/conda_smithy/cli.py", line 290, in main
    args.subcommand_func(args)
  File "/miniforge/lib/python3.6/site-packages/conda_smithy/cli.py", line 194, in __call__
    configure_feedstock.main(args.feedstock_directory)
  File "/miniforge/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 722, in main
    render_circle(env, config, forge_dir)
  File "/miniforge/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 72, in render_circle
    with fudge_subdir('linux-64', build_config=meta_config(meta)):
  File "/miniforge/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/miniforge/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 221, in fudge_subdir
    build_config.subdir = subdir
AttributeError: can't set attribute

Anyway, the build is running now... I'll post again when (if) it completes.

Cool. Glad you got it to work.
Yeah you may need to update to conda 4.3, conda-build 2.1.x latest, and conda-build-all 1.1.1 as well. There have been a few hiccups along the road as these tools had used things that were not part of the public API (as there wasn't one), but are trying to do so now that things are getting standardized a bit.

Yeah you may need to update to conda 4.3, conda-build 2.1.x latest

Oops, right, I forgot that conda-smithy requires conda-build 2.  That was the issue.

Ah ok. Are you on conda-build 3 already? We haven't gotten there yet, but it looks pretty cool.

@stuarteberg can you hold the fire on this one?
I am looking, with @msarahan @mingandroid, into getting the defaults pkg compatible with conda-forge to avoid the manual uploads.
At least until we can build qt with our CI resources.

This appears to have been resolved. Closing. Feel free to open a new issue if we missed something.


[Hardware][Intel CPU][DOC] Update docs for CPU backend

This patch adds the typical deployment considerations for vLLM with CPU backend, since it's different with the GPU backend.
related #3654
https://vllm--6212.org.readthedocs.build/en/6212/
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Hi @WoosukKwon I have made updates to the CPU documentation to reflect the recent changes. Could you please review these diff?
thanks, -yuan

Hi @DarkLight1337 @Isotr0py
Could you please kindly help to take a look on this? This diff is pure for CPU backend doc update.
thanks, -yuan

(I'm not familiar with the nginx server deployment)

@simon-mo do you know anyone who can review this?

Thank you! @Isotr0py @DarkLight1337

Let's see if others can have a look on nginx server part. (I'm not familiar with the nginx server deployment)

The intention here is to make one example for multiple instances base deployment: e.g., a load-balancer in the front + several vLLM serving endpoints. It is indeed not bounded to CPU backend. Not sure where is the best place to put this part. I'm OK to move this to somewhere else.
thanks, -yuan

Not sure where is the best place to put this part. I'm OK to move this to somewhere else.

Seems that the Nginx Loadbalancer part is put to Getting Started chapter. I think we can move it to Serving chapter just like deploying with k8s and deploying with docker, renaming to deploying nginx loadbalancer.

@Isotr0py @simon-mo Thank you for the review. The failures in CI seems not related with this patch. I'm not able to re-trigger it without modifying the patch, Could you please kindly help here to re-trigger it?
thanks, -yuan

Hmmm please can you edit the documentation with gpu example? That's the primary reader's use case

Hmmm please can you edit the documentation with gpu example? That's the primary reader's use case

Hi Simon, make sense, I will modify to use GPU docker as the example.
thanks, -yuan

Hi @simon-mo, gentle ping, I modified the example in Nginx to use GPU docker, could you please check?
thanks, -yuan


Supporters training template

Fill out the support training template 2.8 for Elemental

https://confluence.suse.com/display/CECO/Support+Training

✅

✅ Added the masterclass as a video from David, Klaus, and Francesco.

reviewed, accepted


Adding fixes and test cases for retry policy

Description
Adding fixes for Web Exception Retry Policy and E2E test cases. The response timeouts defined in the HttpTimeoutPolicy were not being used in the code. This PR fixes that code.
The timeouts and retry logic

Non-hotpath (Account information)
Read:
5-second timeout (No delay on the first retry)
10-second timeout
20-second timeout
Hotpath (QueryPlan, partition key ranges, address refresh)
Read retry in the same region. Does not impact region failover:
.5 second timeout (No delay on the first retry)
5-second timeout
10-second timeout
Default
60-second timeout (No delay on the first retry)
60-second timeout
60-second timeout

Previous Implementation:

Default Http Response Timeout -  60 seconds
Query Plan - 5 seconds
Address Refresh - 5 seconds

All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests


fix test 3 in Boutique Inventory

the expected array should follow the same order as the hash

I was wrong. it should be sorted alphabetically


Tangram should provide a legit C++ API and framework

[Details to come]

I think we can come up with more specific, actionable goals than this for our C++ API. Closing!


Questions about is_dseparated_from

I have the following GeneralGraph() object named D with the following adjacency matrix (from D.graph) and I use is_dseparated_from to check whether nodes 0 and 2 are d-separated given an empty set.  The function is_dseparated_from seems to get stuck somewhere and it never returns. Is this expected?
[[ 0  0  0  0  0  1  0  1  1  0]
 [ 0  0  0  0  0  0  0  0  0  0]
 [ 0  0  0  0  0  0  1  0  0  0]
 [ 0  0  0  0  0  0  1  0  1  0]
 [ 0  0  0  0  0 -1  0 -1  0  0]
 [ 1  0  0  0  1  0  0  2  0  1]
 [ 0  0  1  1  0  0  0  0  0  1]
 [ 1  0  0  0  1  2  0  0  0  1]
 [ 1  0  0  1  0  0  0  0  0  0]
 [ 0  0  0  0  0  1  1  1  0  0]]

I found a recursive behavior in is_dconnected_to. Suppose we have the following graph D:
X4->X1 o-o X2<->X5 ; X4->X2

If you call is_dconnected_to(X1, X5, [], D), this will make the function to loop forever.

I currently add a list prevent_recursive_ls to the function is_dconnected_to to bypass the pair of edge and node that have been previously visited as a workaround to mitigate the issue as shown below:
def is_dconnected_to(node1: Node, node2: Node, z: List[Node], graph: Graph):
    if node1 == node2:
        return True
    edgenode_deque = deque([])
    prevent_recursive_ls = [] # MODIFIED HERE
    for edge in graph.get_node_edges(node1):
        if edge.get_distal_node(node1) == node2:
            return True
        edgenode_deque.append((edge, node1))
    while len(edgenode_deque) > 0:
        edge, node_a = edgenode_deque.pop()
        node_b = edge.get_distal_node(node_a)
        for edge2 in graph.get_node_edges(node_b):

            node_c = edge2.get_distal_node(node_b)

            # node_a - node_b - node_c
            if node_c == node_a:
                continue

            if reachable(edge, edge2, node_a, z, graph):
                if node_c == node2:
                    return True
                else:
                    if (edge2, node_b) not in prevent_recursive_ls: # MODIFIED HERE
                        edgenode_deque.append((edge2, node_b))
                        prevent_recursive_ls.append((edge2, node_b)) # MODIFIED HERE

    return False

This is interesting, if I may interject. First of all, this isn't a legal PAG; the tail endpoints at X4 shouldn't be there in a PAG, so maybe this was obtained using background knowledge...? Second, the recursion error doesn't occur in Tetrad, even though it's also using a reachability method. Third, for a latent variable model, the right test is m-separation, not d-separation, but you should laugh at anyone who says that since they are the same algorithm (just differently interpreted).


Kineticist Archetype not adding Elemental Blast to Attacks

The Elemental Blast drop down for 1 or 2 actions appears, but the blast attack itself does not, nor does the Elemental Blast Action appear among Actions.

You need to have the proper Kinetic Aura enabled, try clicking on the "use" button on Channel Elements to setup everything.


Unix svgimage Implementation

I am trying to get started with this library, just using the svgimage sample app. I have tried a couple different svgs, so I'm pretty sure the issue is the code. I simplified the example slightly, mostly because of the Windows functions/types.
I'll just include the full code because it's not that much. Is there anything that stands out that isn't correct? I tested filling the BLImage with ctx.fillAll right before saving the file, and blend2d is working correctly.
Thank you for any help...
#include <filesystem>
#include <iostream>
#include <sys/stat.h>

#include "blend2d.h"
#include "svg.h"

using namespace waavs;

SVGFactory gFactory;
FontHandler gFontHandler{};

constexpr int width = 1000;
constexpr int height = 1000;

static void loadFontDirectory(const char* dir)
{
	const std::filesystem::path fontPath(dir);

	for (const auto& dir_entry : std::filesystem::directory_iterator(fontPath))
	{
		if (dir_entry.is_regular_file())
		{
			if ((dir_entry.path().extension() == ".ttf") ||
				(dir_entry.path().extension() == ".otf") ||
				(dir_entry.path().extension() == ".TTF"))
			{
				BLFontFace ff{};
				bool success = gFontHandler.loadFontFace(dir_entry.path().generic_string().c_str(), ff);
			}

		}
	}
}

int main(int argc, char **argv)
{
	if (argc < 2)
	{
		return 1;
	}

	loadFontDirectory("/usr/share/fonts/truetype/dejavu");

        const char* filename = argv[1];

	FILE* f = fopen(filename, "r");

	struct stat ss;

	int ret = fstat(fileno(f), &ss);
	if (ret)
	{
		perror("fstat");
	}

	unsigned char *bytes = new unsigned char[ss.st_size];
	ByteSpan bspan(bytes, ss.st_size);

        std::shared_ptr<SVGDocument> gDoc = SVGDocument::createFromChunk(bspan, &gFontHandler, width, height, 300);

	BLRect sceneFrame = gDoc->frame();
	printf("viewport: %3.0f %3.0f %3.0f %3.0f\n", sceneFrame.x, sceneFrame.y, sceneFrame.w, sceneFrame.h);

	BLRect surfaceFrame{ 0, 0, width, height };

	ViewPort vp{};
	vp.sceneFrame(sceneFrame);
	vp.surfaceFrame(surfaceFrame);

	SvgDrawingContext ctx(&gFontHandler);
	BLImage img(static_cast<int>(surfaceFrame.w), static_cast<int>(surfaceFrame.h), BL_FORMAT_PRGB32);

	ctx.setTransform(vp.sceneToSurfaceTransform());

	ctx.begin(img);
	ctx.clearAll();

	gDoc->draw(&ctx, gDoc.get());
	ctx.end();

	const char* outfilename;
	if (argc >= 3)
		outfilename = argv[2];
	else
		outfilename = "output.png";

	printf("output to: %s\n", outfilename);

	img.writeToFile(outfilename);
}

I've never compiled on Linux, so I'm not sure what the issue might be.  Can you post the .svg file that you're parsing?  I'll compile on Linux and see what's what.

I think I see one challenge.  Through many recent changes, the document does not have correct size information right away.  You actually need to render it into a blank context before you query anything about its size.
// We have loaded the un-processed document
// Draw into an empty context at least once to resolve references
// and fix sizes.
IRenderSVG actx(&gFontHandler);
actx.setContainerFrame(BLRect(0, 0, CAN_WIDTH, CAN_HEIGHT));
gDoc->draw(&actx, gDoc.get());

After you do that, then you can ask for the frame size.
This is something I was about to change, to do it automatically, before I went on travels for a few weeks.  I'll continue down the path of making this convenient.  I'm guessing your .svg might actually be there, but not in the viewport.
Can you post the .svg file you are using, or at least the first couple lines of it where the documents width/height and viewBox are specified?

Does it look like that?

Ah, I'm sorry. I got it to work. I was not reading the file into bytes... dumb!
Thanks so much for your help though.


Added Docker build

Added GH Actions Workflow for building and pushing to Docker Hub as well as a docker-compose.yml and a Dockerfile. There is also a Dockerfile.development.

#2


CASMNET-1741:  Adding hmnlb network to the gateway tests

Summary and Scope
Adding HMNLB network to the gateway tests now that the hmn-gateway has authN and authZ.
I added the cray-nls (argo) service to the set of tested services since that was added in 1.3.
I also changed the use-api-gw-override to false so the test is no longer using api-gw-service-nmn.local.   We are starting to move away from that name.
The HMNLB network is not accessible on the UAI so it only ends up trying to get a token and then moving on when it finds that it cannot get the token (as expected).
Issues and Related PRs

Resolves CASMNET-1741

Testing
List the environments in which these changes were tested.
Tested on:

<development system>
Local development environment
Virtual Shasta

Test description:
Ran the gateway tests on both NCN and UAI on surtur.   All UAI tests passed.
I also ran the tests on an earlier install of surtur where the UAI did not have the HMN and HMNLB blocked.  The test caught this and CASMUSER-3050 was created.
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[ ] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

The .version file needs to be bumped as well.

.version file updated


Run Docker's CLI integration tests against the proxy

https://github.com/docker/docker/tree/master/integration-cli

I guess one downside compared to docker-py is packaging, i.e. for the latter we have a handy container image.
Also, probably need to have #1656 since otherwise the tests will break every time some API change occurs on docker master.


Filter replication publication columns

Following https://github.com/electric-sql/electric/issues/1804 and corresponding PR https://github.com/electric-sql/electric/pull/1829
We want to alter the publication to only send over the selected/required columns over the replication stream, which would be the selected columns via the column parameter, and potentially also any columns referenced in the where clause if specified.
While PG does support partial replication of a table (at least for PG15 and above I think), there are some warnings in the docs:

it is [...] possible to get into [a problematic] situation by adding or altering column lists on the publication side after a subscription has been created.
This means changing the column lists of tables on publications that are already subscribed could lead to errors being thrown on the subscriber side.

This implies that even with a single publication and subscription, altering the column lists of tables might lead to errors - this needs to be investigated.

After discussing, we think the warning does not affect us, since we're impersonating the protocl and we only have one subscriber for one publication anyways.

Short update on issue that I ran into with this:
It seems that we cannot use REPLICA IDENTITY as FULL, which always sends the old column values of updated rows, if we have column filtering on the publication (see docs)
The error that I get if I do is:
** (Postgrex.Error) ERROR 42P10 (invalid_column_reference) cannot update table "wide_table"
Column list used by the publication does not cover the replica identity.

We have discussed down publication where clause filters as we've seen that it is actually slower than doing the filtering in Elixir (...maybe not in all cases, we'd have to check), but if we do this than we'd be good for that issue.
Can you describe the other issue you mentioned in our call?

The other issue with filtering columns, which requires setting REPLICA IDENTITY DEFAULT, is the following:
Suppose you have a table foo (id, value1, value2, value3)

Create a Shape A that selects columns id,value1
Create a Shape B that selects columns id,value2
At this point the publication would only replicate id,value1,value2, so REPLICA IDENTITY is set to DEFAULT and thus update statements only carry the old values of the primary key cols (i.e. old id values)
An update is made to a row with id=1 such that only value2 is affected
The update comes through, and we only get the full new value of the row with id=1, but can't determine that only value2 was touched by this update since we do not get the old values other than the primary key
We have to send this update operation to both Shape A and Shape B, even though this update should only have gone to Shape B since Shape A does not care about value2.

Therefore by using REPLICA IDENTITY DEFAULT we lose the capacity to filter out changes to shapes with different selected column subsets because we cannot determine whether update operations are relevant or not.

The cost would be on the number of shapes defined for a table with different column filters. Do we think there could be many? On the other end, how much would we save in the general case by filtering out columns in the publication?
We're entering the ground of fine-grained optimization. It's not clear what is best for the different workloads. I'm keen in having the possibility of filtering columns on the publication, but I wonder how and when is the best way to expose this to developers, if it isn't one-size-fits all.


Update to SQLitePCL.raw 1.1.12

A new version of SQLitePCL.raw is available which includes SQLite version 3.26.0.
Some highlights:

ALTER TABLE..RENAME COLUMN
Better ALTER TABLE..RENAME TO (cascades into triggers and views)
Several query optimizations and performance improvements
UPSERT
Window functions

Looks like we forgot to update the submodule for 2.1 so this didn't actually ship in 2.1.8. Moving it to the 2.2.2 milestone. The 2.1 branch has this change, so it should ship whenever we patch 2.1 again.

Hi @bricelam ,
Is SQLitePCL.raw has been updated in EFCore 2.2.2 and 3.0 preview ?
Because I'm using EFCore 2.2.3 with Microsoft.EntityFrameworkCore.Sqlite 2.2.3, and when I create my database, and query it with 'select sqlite_version()', in SQLite Studio, I have "3.20.1" version.
So, I can't use RENAME COLUMN.
Do you know if it's normal ?

Have you installed the corresponding version (to 2.2.2) of the .NET Core SDK? ASP.NET Core projects can do weird things when versions aren’t aligned.

Thank you for your answer bricelam , but I'm not using ASP.NET core project, but Xamarin project.
And my Xamarin project is linked to a .NetStandard library with theses NuGet packages. (this is ths library which creates the SQLite database)

Maybe I'm doing something wrong, but this is my query to show the SQLite version

PS: I tried also to migrate all my NuGet Packages to preview version, the result is the same, the SQLite version is always "3.20.1"

It that your app executing the query or another tool? Each tool brings its own version of SQLite.

I'm using SQLite Studio to make this query.
If you're right, I'm really sorry, but I don't understand why a query 'select sqlite_version();' executed on SQLiteStudio can returns me a internal SQLite version.
So, do you know how to know the SQLite database version ?
Because If I write here, it's because the 'Rename column' EFCore migration doesn't work for me, even if EFCore 2.2.3 is supposed to have a compatible SQLite version with that.

In your app, check the value of new SqliteConnection().ServerVersion.

Are you using DbContext.Database.Migrate() to execute the column rename? Or are you copying the script into SQLite Studio (which appears to be using an older version of SQLite that doesn't support column renames)?

I don't understand why ... SQLiteStudio can returns me a internal SQLite version.

SQLite is an in-process database. Each process starts it's own version of the SQLite server to read and write to database files.

Are you using DbContext.Database.Migrate() to execute the column rename? Or are you copying the script into SQLite Studio (which appears to be using an older version of SQLite that doesn't support column renames)?

I'm using DbContext.Database.Migrate() in my UWP Xamarin app, and open the SQLite database with SQLiteStudio.
I have the same error like here (#13341), this is why I'm here to ask

Can you submit a new issue so we can investigate further?

In your app, check the value of new SqliteConnection().ServerVersion.

When I execute this on UWP projet, I have 3.20.1 version too.
Ok I will submit a new issue.
Thank you

Sorry, it was my fault, I removed and cleaned all my nuget dependencies, and I think I had a mix between EFCore dependencies and other nuget which use also SQLite.
Thank you

Guys, I am using Microsoft.EntityFrameworkCore.Sqlite 2.2.3 and I am getting "SQLite Error 1: 'near "COLUMN": syntax error'." when Migrate() method is executed from my App.cs in Xamarin.Forms.
{Microsoft.Data.Sqlite.SqliteException (0x80004005):
 SQLite Error 1: 'near "COLUMN": syntax error'.\n  at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC (System.Int32 rc, SQLitePCL.sqlite3 db) [0x00067] in <3b661b9701514fe1a13c7889d821c94a>:0
  \n  at Microsoft.Data.Sqlite.SqliteCommand+<PrepareAndEnumerateStatements>d__62.MoveNext () [0x0008a] in <3b661b9701514fe1a13c7889d821c94a>:0 \n
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00282] in <3b661b9701514fe1a13c7889d821c94a>:0 \n
    at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader () [0x00000] in <3b661b9701514fe1a13c7889d821c94a>:0 \n
     at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00042] in <3b661b9701514fe1a13c7889d821c94a>:0 \n
       at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection

My Migration should rename column name:
 protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "PostalCode",
                table: "Addresses",
                newName: "PostalCodeNumber");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "PostalCodeNumber",
                table: "Addresses",
                newName: "PostalCode");
        }

We got to the bottom of why this hasn't made into 2.1. PR #15369 should put it in version 2.1.11.

Hi,
I finally found why I had 3.20.1 SQLite version.
This is was because I tried to get a SQLite Encryption.
So, When I added SQLitePCLRaw.bundle_sqlcipher As you say @bricelam here.
And, only when I have these dependencies in my project, the SQLite versioncreated is 3.20.1.

If I remove SQLitePCLRaw.bundle_sqlcipher, the SQLite version is 3.26.0.
I don't understand why because it is specified here that the SQLite version should be 3.26.0
Do you have an idea of what's happening ?

@Tristan-gu If you're sure the version in SQLitePCLRaw.bundle_sqlcipher is wrong, you can file an issue on ericsink/SQLitePCL.raw

@Tristan-gu Looks like this is a known issue: https://github.com/ericsink/SQLitePCL.raw/issues/244

Thank you very much for your help, I will wait for a new SQLitePCLRaw.bundle_sqlcipher version.

This finally shipped today in version 2.1.11.
(Note, it first shipped in version 2.2.2 four months ago.)

What does this mean for the EF Core community waiting on SQLite version 3.25.0?
How does one obtain SQLite version 3.25.0, what nuget packages added/updated?
The newest SQLite nuget package is 3.13.0, and I have Microsoft.EntityFrameworkCore.Sqlite 2.1.11
I tried "dotnet ef database update" (with a column rename in migrations) with SQLite 3.13.0 and Microsoft.EntityFrameworkCore.Sqlite 2.1.11 and with only Microsoft.EntityFrameworkCore.Sqlite 2.1.11, but neither worked. I couldn't seem to get it to work with Microsoft.EntityFrameworkCore.Sqlite.Core either, were there more dependencies I missed?
Trying to apply the patch for the issue: "SQLite does not support this migration operation ('RenameColumnOperation'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262."


Change argument format of assert() method

Using string as the assertion is DEPRECATED as of PHP 7.2.
Read more http://php.net/manual/en/function.assert.php

Hello!
I have issues with https://github.com/aacotroneo/laravel-saml2 which is not working with assertion arguments which are strings
According to http://php.net/manual/en/function.assert.php :
"Using string as the assertion is DEPRECATED as of PHP 7.2."
Can you apply this fix, please?

There is a specific branch compatible with PHP7.2:

3.0.0-namespaceless (100% compatible with the current master branch).
3.0.0 It uses namespaces, so you will need some changes in your code.

Can we get this merged @pitbulk ? These changes are fully compatible with >= 5.3.2 (which is what in composer version constraint).
The branches suggested above are severely outdated btw.

I opened a new version of this pull request FYI at #377
Though I didn't realize about version 3.0.0.


Relicense as MIT

I marked the coauthorship based on their participation in the internal discussion on relicensing. I did not update all files because we may automatically change them while committing in IntelliJ, and I don't want to make a huge commit.

so if it's displayed as plain text, it will be a huge horizontal line.

I think you should wrap it at 80 chars.

Anyways, I copied the GitHub MIT license template and it's wrapped at 80 chars, so it should be fine now.

Is it standard practice?

That is what I’ve seen in most license files. You can see the ones GitHub generates for new repos.

Is it standard practice?

That is what I’ve seen in most license files. You can see the ones GitHub generates for new repos.

Yes, that's where I get the updated version. Does it look good to you now?

Yes.


fix(ktreelist): emit target when firing each of @change and @child-change in KTreeList [KHCP-5950]

Summary
https://konghq.atlassian.net/browse/KHCP-5950
Added target to be emitted upon @change and @child-change events in KTreeList

PR Checklist

[x] Does not introduce dependencies
[x] Functional: all changes do not break existing APIs and if so, bump major version.
[x] Tests pass: check the output of yarn test
[x] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[x] Framework style: abides by the essential rules in Vue's style guide
[x] Cleanliness: does not have formatting issues, unused code (e.g., console.logs, debugger), or leftover comments
[x] Docs: includes a technically accurate README, uses JSDOC where appropriate

Awesome work @mptap! One small ask: can we get the Event section example output displayed as code, rather than plain text?

Great suggestion, added 👍


Allow use with the Shadow DOM disabled

Fixes #33

+1... Solves the issue I was having which is documented in #33

@crazymykl can you update this one? would be a great addition

Rebased and ready to go.

thanks :tada:


Fix wrong MOBILENETSSD_FP32_MODULE and sort TFLite benchmarks

MOBILENETSSD_FP32_MODULE should be MOBILESSD_FP32_MODULE.

Whoops, thanks for the fix!
I'm fairly sure it wasn't flagged during the build, does it just ignore unfamiliar module names?

Yeah. CMake. If there is a typo in the name, the CMake variable will expand to nothing and that's totally fine for CMake..


Anonymous fields now get merged into the map

Currently anonymous fields get set as a property on the converted map. However, since they're anonymous they should really be merged into the map instead. This checks if the field is anonymous when recursively running Map() and merges the result into out if Anonymous is true.
Additionally, the Struct type has support for a custom tag name (other than "structs"), but this is not carried down recursively into nested maps. I changed the logic so instead of just running Map(), I create a new instance of Struct, set the tag name, and use the result of struct.Map() instead of Map()

Hi @jraede thanks for the contribution and PR.
This is a tricky case, because once you try to merge it, you might override an existing value, or an existing value might override your merged values. This is mainly due how you place the field with the same name in the outer struct. Here is an example that fails for example:
func TestMap_AnonymousDuplicate(t *testing.T) {
	type A struct {
		Name string
	}
	a := &A{Name: "example"}

	type B struct {
		*A
		Name string
	}
	b := &B{Name: "example2"}
	b.A = a

	m := Map(b)

	if typ := reflect.TypeOf(m).Kind(); typ != reflect.Map {
		t.Errorf("Map should return a map type, got: %v", typ)
	}

	_, ok := m["A"].(map[string]interface{})
	if ok {
		t.Error("Embedded structs should not be a property in the map")
	}

	if name := m["Name"].(string); name != "example" {
		t.Errorf("Embedded A struct's Name field should give example, got: %s", name)
	}
}

Bonus:
http://play.golang.org/p/ae3T6SAXrf
As you see, even if it's embedded, embedded fields correct values are accessed as they are separate field. This is a breaking change. As seen in the examples above. What we could do is, provide a tag option which explicitly let us merges the struct. So the responsibility of loosing values (overriding) would be on their users own terms.  Example:
type B struct {
	*A `structs:",merge"`
}

This is just an example, but you get the idea. This also should be applicable to all existing current methods too, such as Values, Fields, etc ..
Are you ok with this idea? Let me know please.
You second fix, carrying tag names are indeed something we should fix. Not only for Map, for all remaining methods which do recursive resolving, such as Values, Fields... I would like to tackle them in a separate PR instead of this.

That would work great. I think to fit in with other packages the keyword
should be "inline" rather than "merge", but either way it'll work fine.
Re: second fix, I can submit a PR for just that if it's easier. Let me
know.
Thanks
On Sat, May 2, 2015 at 10:53 AM Fatih Arslan<EMAIL_ADDRESS>wrote:

Hi @jraede https://github.com/jraede thanks for the contribution and PR.
This is a tricky case, because once you try to merge it, you might
override an existing value, or an existing value might override your merged
values. This is mainly due how you place the field with the same name in
the outer struct. Here is an example that fails for example:
func TestMap_AnonymousDuplicate(t *testing.T) {
type A struct {
Name string
}
a := &A{Name: "example"}
type B struct {
    *A
    Name string
}
b := &B{Name: "example2"}
b.A = a

m := Map(b)

if typ := reflect.TypeOf(m).Kind(); typ != reflect.Map {
    t.Errorf("Map should return a map type, got: %v", typ)
}

_, ok := m["A"].(map[string]interface{})
if ok {
    t.Error("Embedded structs should not be a property in the map")
}

if name := m["Name"].(string); name != "example" {
    t.Errorf("Embedded A struct's Name field should give example, got: %s", name)
}

}
Bonus:
http://play.golang.org/p/ae3T6SAXrf
As you see, even if it's embedded, embedded fields correct values are
accessed as they are separate field. This is a breaking change. As seen in
the examples above. What we could do is, provide a tag option which
explicitly let us merges the struct. So the responsibility of loosing
values (overriding) would be on their users own terms. Example:
type B struct {
*A structs:",merge"
}
This is just an example, but you get the idea. This also should be
applicable to all existing current methods too, such as Values, Fields,
etc ..
Are you ok with this idea? Let me know please.
You second fix, carrying tag names are indeed something we should fix. Not
only for Map, for all remaining methods which do recursive resolving, such
as Values, Fields... I would like to tackle them in a separate PR instead
of this.
—
Reply to this email directly or view it on GitHub
https://github.com/fatih/structs/pull/27#issuecomment-98368055.

@jraede the merge keyword was just an example, inline is way better of course :) I just wanted to demonstrate what I had in my mind.
For the second fix, opening a PR would be better (if you want to do it). Also would be awesome if you include tests for all cases.

@fatih will do. Thanks


[Collections] Fix auth token lookup

Motivation:
In AuthTokenType host is the GitHub host (e.g., github.com), but when we look up auth token we use the GitHub API host (e.g., api.github.com). As a result the auth tokens are not used.
Modification:
Look up auth tokens with GitHub host by removing api. prefix.
rdar://77293200

@swift-ci please smoke test


Added Gitpod presence and badge

closes #184
cc @eapolinario and @cosmicBboy

#self-assign

@cosmicBboy Install https://github.com/apps/gitpod-io this then everything will be fine

see the demo here: https://github.com/MrKrishnaAgarwal/unionml/pull/2

@cosmicBboy Install https://github.com/apps/gitpod-io this then everything will be fine

Please install gitpod-io app on this repo, then it will work

everything is fine then :)

there are linting errors in the diff @MrKrishnaAgarwal, please run pre-commit run --all-files

@cosmicBboy Install https://github.com/apps/gitpod-io this then everything will be fine
Please install gitpod-io app on this repo, then it will work

Done!

@cosmicBboy It works 👍🏻, I'll fix lint now.

@cosmicBboy Lint is passed but Pytest has failed and I have nothing to do with pytest as i have already fixed the lint.

Pre-commit is passed at my end

Everything is fine from my side, all checks have passed in pre-commit

@cosmicBboy and @eapolinario please review and merge 😕

Thanks for working on this!

Thankyou 😄

For reference:
Gitpod is a interactive development environment (IDE) in your browser. It allows you to view and interact with this code directly in your browser without the need to clone it to your local machine.
I use it a lot becuase it saves space of your computer and its very easy to setup.
In simple words, it's a virtual environment which is connected with remote access to the pull or the repository, you can push, pull or make changes to the code directly.
If you see the Screenshots in pr of precommit that I shared, I ran the commands in Gitpod itself and didn't clone the repo on my local machine.
When you click on the badge which is sent by Gitpod bot on my PR, it will create a workspace and there we can make changes.
@eapolinario


Clusterrole missing

What happened?

How can we reproduce it?
why I am getting this error; clusterrole is missing. I can see rolebinding is created but cluster role is missing.
E0513 23:02:48.764880       1 reflector.go:140] k8s.io/client-go@v0.25.0/tools/cache/reflector.go:169: Failed to watch *v1beta1.ManagedDisk: failed to list *v1beta1.ManagedDisk: manageddisks.compute.azure.upbound.io is forbidden: User "system:serviceaccount:crossplane-system:upbound-provider-azure-7d18dc218f1e" cannot list resource "manageddisks" in API group "compute.azure.upbound.io" at the cluster scope: RBAC: clusterrole.rbac.authorization.k8s.io "crossplane:provider:upbound-provider-azure-7d18dc218f1e:system" not found
What environment did it happen in?

Crossplane Version:
Provider Version:
Kubernetes Version:
Kubernetes Distribution:

Hi @dbacademy,
Thank you for raising this issue. Could you please provide more information so that we can understand the exact cause of the error and the error? (e.g. the example you are using, and the exact error message you get)

Hi @turkenf
I have a similar problem. Kubernetes versions are 1.25 and 1.26, distribution is AKS, provider versions are from v0.29.0 to v0.32.0. I also have an earlier installation also in AKS version 1.24 with provider v0.29.0 and there are no problems at all. The only difference is that broken clusters are private clusters. Right after the installation, I lose the ability to communicate with the cluster and the only logs I managed to get are the ones you can see in @dbacademy problem and some of them are referring to "client-side throttling, not priority and fairness"

Ok, I have some logs :)
W0608 06:48:50.475445       1 reflector.go:424] k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169: failed to list *v1beta1.BotChannelLine: botchannellines.botservice.azure.upbound.io is forbidden: User "system:serviceaccount:upbound-system:provider-azure-7e21e3395a52" cannot list resource "botchannellines" in API group "botservice.azure.upbound.io" at the cluster scope: RBAC: clusterrole.rbac.authorization.k8s.io "crossplane:provider:provider-azure-7e21e3395a52:system" not found
And later
W0608 06:50:48.699774       1 reflector.go:424] k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169: failed to list *v1beta1.SpatialAnchorsAccount: Get "https://<IP_ADDRESS>:443/apis/mixedreality.azure.upbound.io/v1beta1/spatialanchorsaccounts?limit=500&resourceVersion=0": dial tcp <IP_ADDRESS>:443: i/o timeout I0608 06:50:48.699884       1 trace.go:219] Trace[374834030]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169 (08-Jun-2023 06:50:18.698) (total time: 30001ms): Trace[374834030]: ---"Objects listed" error:Get "https://<IP_ADDRESS>:443/apis/mixedreality.azure.upbound.io/v1beta1/spatialanchorsaccounts?limit=500&resourceVersion=0": dial tcp <IP_ADDRESS>:443: i/o timeout 30001ms (06:50:48.699) Trace[374834030]: [30.001457078s] [30.001457078s] END E0608 06:50:48.699903       1 reflector.go:140] k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169: Failed to watch *v1beta1.SpatialAnchorsAccount: failed to list *v1beta1.SpatialAnchorsAccount: Get "https://<IP_ADDRESS>:443/apis/mixedreality.azure.upbound.io/v1beta1/spatialanchorsaccounts?limit=500&resourceVersion=0": dial tcp <IP_ADDRESS>:443: i/o timeout I0608 06:50:48.797541       1 trace.go:219] Trace[121724598]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169 (08-Jun-2023 06:50:32.540) (total time: 16256ms): Trace[121724598]: [16.256892146s] [16.256892146s] END


deps Opt gzip decompress by libdeflate on X86 and X86_64 platforms: 1. Add libdeflate lib.

Proposed changes
Backport from #27542.
Opt gzip decompression by libdeflate on X86 and X86_64 platforms: 1. Add libdeflate lib.
Test result:

env: 1 node(16 cores, 64G).
parquet column: 100 million rows of char(255) column.
result: 9.09 s -> 6.04 s.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall