Cannot connect to DB using Kubernetes 'contour' Ingress (and doc tweak suggestions)

Hi!  I am trying to run Neo4j in Kubernetes using an Ingress resource other than 'nginx', and cannot connect to the DB from the browser UI.  I am running in GCP, Google Cloud Platform.  I suspect this is more user error than bug.  Either way, though, I do have a couple of suggestions for the docs which maybe will be useful to others.
(Note: I am new to both Kubernetes and Neo4j.  If I say something that is confusingly wrong, that's probably why. 😄)
I've been using your instructions and helm charts with all the defaults, specifically:

To get a neo4j instance running, I used the chart neo4j/neo4j, following the quickstart-standalone instructions.
To then expose via Ingress, I used the chart neo4j/neo4j-reverse-proxy, following the accessing-neo4j-ingress.

I do make one important change, though: I use 'contour' ingress instead of 'nginx' (I converted the neo4j-reverse-proxy helm chart to a manifest, and deployed that, so I could attempt to understand it better and to make this tweak possible).
And what I find is that using the 'contour' Ingress, I can get to the browser UI up, but not cannot connect to the bolt URL.
1. What is the Connect URL value supposed to be, when using Ingress & reverse-proxy?
What I mean is, I can get to the browser and get the login screen.  I see the bolt vs neo4j dropdown, and Connect URL is auto-populated with my hostname and the port 7687.  In other words, let's say that to get to the UI I go to http://my-hostname.xyz.com/browser, then the Connect URL is auto-populated with with bolt:// and my-hostname.xyz.com:7687
This is confusing because from the reverse-proxy setup as described in the diagram in your docs (and also from trying to read through the kubernetes manifest and the reverse-proxy's go code), it seems like the browser UI is meant to talk to the reverse-proxy via http on port 80.  But the UI is trying bolt, on port 7687.
I found myself wondering if my URL was wrong and trying many variations, none successful.
Assuming everything is working right with the Ingress and reverse-proxy server, what is the bolt Connect URL supposed to be?  (And could it help to tweak the docs to make this explicit, and/or to alter the diagram?)
2. Is 'nginx' Ingress a hard requirement, or might other types of Ingress, like 'contour', also work?
The setup of my environment is such that I do not have an 'nginx' Ingress available to me but do have a 'contour' Ingress.  So for starters, to experiment, I used the config in your reverse-proxy helm chart, with the only change being that I changed ingressClassName: "nginx" to ingressClassName: "contour".
And as I mentioned above, I can get the browser UI, but then cannot make the bolt connection.  Is this expected?
I was expecting it to work because, again looking in the diagram in your docs, it seems like the browser UI is trying to make an http connection to the reverse-proxy server, which seems straightforward and like it could work with 'contour'.  Looking at the browser's network traffic, I did note the browser trying to make websocket connections, which I didn't understand — in the diagram, it shows websocket is handled between the reverse-proxy server and the neo4j instance, not between the user/browser and the reverse-proxy server.
Clearly I am misunderstanding something. 🙂  But if I am, maybe it also means others would as well.
Are you able to explain what expectations there are for the Ingress here, and if nginx is required or why 'contour' does not work?   (I wondered if the docs for Ingress could explain the plumbing here more explicitly, or, again, if maybe the diagram could make the user<->proxy plumbing more explicit.)
Thank you!

Hi again folks!  I ended up not using Ingress, I used LoadBalancer.
I'm going to close this issue out now, but will write a little update here explaining why and what I learned, in case it helps people in the future.
I used LoadBalancer for a few reasons:

LoadBalancer pretty much 'just worked' as expected/documented by Neo4J's docs. It also seemed simpler overall: it avoided the complication of the Ingress approach with its 'go' proxy, for example, and overall deployed fewer resources.
As far as I could tell, the Ingress approach as documented in the helm chart and the diagram here does not work as documented, or, I just was misunderstanding or missing something and could not get it to work.
I had initially tried to avoid LoadBalancer only because I thought my Kubernetes admins here wanted us to avoid it.  But it turns out I was reading outdated guidance.

To make LoadBalancer work nicely, I did a few additional things:

This is mentioned briefly in the Neo4J docs here but with the LoadBalancer on its own, you get a dynamic IP.  I added staticIP for it, and an A Record, thereby setting up a hostname to make the instance easily accessible in the browser.
I also set up a TLS cert so I could use https/bolt+s, and found the Neo4j docs for this to be straightforward—I just did what they said.  Basically in my cluster we have a way of generating certs.  Once I had that, all I had to do was plug in the SSL items in the helm chart, as is more or less shown here

Hope this helps folks.


Fix: Dashboard Sorting Issue 5751

changelog(Fixes): Fixed an issue where dashboard sorting order would be lost when switching between screens.
Hey,
This PR fixes issue with the dashboard sorting, right now sorting order is coming from searchParams and because of this if user navigates to theanother page selected sortingOrder is lost.
Closes: #5751

@gatzjames i hope this helps 🤞

Any idea why mac-os test is failing ?

Hi @dudupopkhadze! Thanks for the PR 🙏
We are currently migrating away from redux for managing state and relying more in our database. We first need to update our db models so until then I'm going to close this.


exit the seldon executor process if the RMQ connection dies

Since the RMQ connection class does not reconnect if the connection fails, exit the executor entirely for now.
Later we will update to a better golang RMQ client to handle autoreconnect.

I tried to review but I'm not familiar enough with this code.
I couldn't find where it actually exits the executor.
Also I didn't get what NotifyClose is being used for. It seems to only be used in a test.

Oddly enough, the log.fatal is the way that seldon seems to use to exit with an error (I put a comment on that line to indicate that)
The NotifyClose is there to add error handling if the Channel gets closed (in connection.go)


Configuration of karmada components.

What would you like to be added:
Add the feature of controlling karmada in the dashboard:

overview of the karmada components:

restart the component

scale in and out the components
edit the components' raw manifest
view the log of karmada components:

uninstall/install new karmada components

Why is this needed:
We want to implement the feature of controlling karmada in the dashboard, such as scale in/out of the component, install or uninstall the component of karmada ecosystem, dive into the component by view the log of components' output.

hello, @warjiang  want to work on this issue..

@warjiang want to wonk on this issue.

@axif0 Thanks for your enthusiasm, it's glad to hear that you want  to make contribution to this task. And we had a online meeting talking about this task days ago, @RainbowMango made some suggestions to this task:

We should make a good guide for our end-user, let they be aware of that karmada-dashboard will take control of their host cluster, with higher permission, maybe some changes to our PRD.
Currently, we are preparing the release work of karmada-dashboard, so we'll lower the priority and will focus on the todolist in the https://github.com/karmada-io/dashboard/issues/76. However, the task is still on our roadmap, it will make the karmada-dashboard more competitive if the feature be implemented.

@axif0  BTW, should I change the PRD's language to english for easy understanding

@warjiang If its possible yaa. Although, I translated the PRD's language (Configuration of karmada components) to english using google lens.

@axif0 BTW, should I change the PRD's language to english for easy understanding

@warjiang how do I find the description of each component?


Leap errors using own ligands

Hi,
After a successful testing of the TTMD running using the example molecules under the test folder, we're getting some errors using our own ligand.mol2:
/.../conda/envs/ttmd/bin/teLeap: Fatal Error!
Could not open file ligand.frcmod: not found
File "/../TTMD.py", line 6, in MAIN
prepare_system()
File "/../TTMD.py", line 854, in prepare_system
addIonsRand COMPL Na+ {cations} Cl- {anions} 5
UnboundLocalError: local variable 'cations' referenced before assignment.
Please, could you point us to some fix? Thank you very much in advance for your reply.

Hi,
could you please provide us with the ligand.mol2 file so that we can test and see what's going on?
Most likely, a problem in the ligand preparation stage with antechamber leads to tleap not finding the required ligand.frcmod file.
MP

You will find it attached. Thank you for your help.
En martes, 23 de mayo de 2023 16:27:17 CEST, Molecular Modeling Section<EMAIL_ADDRESS>escribió:

Hi,
could you please provide us with the ligand.mol2 file so that we can test and see what's going on?
Most likely, a problem in the ligand preparation stage with antechamber leads to tleap not finding the required ligand.frcmod file.
MP
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi, Sorry but we can't find your ligand file. Could you please attach it again or send it to<EMAIL_ADDRESS>? Thanks a lot SM

I've just send it attached to that email address. Thank you so much.

Hi,
as expected, there is a problem with your ligand mol2 file that makes antechamber fails.
When I ran antechamber alone (antechamber -fi mol2 -i ligand.mol2 -o ligand_charged.mol2 -fo mol2 -nc -1 -c bcc -pf y -rn LIG) with the ligand file you provided to me it gave me this error:
"/home/mpavan/anaconda3/envs/ttmd/bin/wrapped_progs/antechamber: Fatal Error!
Weird atomic valence (5) for atom (ID: 47, Name: C29).
Possible open valence."
If you check your ligand file, you will notice indeed that your C29 (carboxylic carbon) has a valence of 5, since it has two double bonds with the two carboxylic oxygens.
" 46   45   47  1
47   47   48 2
48   47   49 2"
This is not right, so antechamber will not let you go on with the partial charge calculation, hence why tleap cannot load the ligand.frcmod properly. You can either edit the ligand file manually (changing one of the two double bonds to a single one), or you can try to obtain a new mol2 file through a different path than the one that you followed the first time. In the future release that will come in the next months, we would most likely swap from mol2 to pdb for the ligand, as suggested in the AMBER forums by David Case himself (http://archive.ambermd.org/201706/0205.html).
There might be some other issues that are causing tleap to crash, however, since when the ligand's preparation does not go well usually the TTMD script carries on for a little bit and fails at later stages, but it is difficult to judge without further information. For the moment, let us know if it worked!
MP

Thank you so much for your elaborated and useful reply.


doc(README.md, doc): add design and architecture documents

Fixes https://github.com/deis/k8s-claimer/issues/6

Looks good, but would like to see who is leasing it.
Here is how we did clouds and stacks before:
Helgi Þorbjörnsson [09:30]
eybot stack me

eybot BOT [09:30]
you are assigned earth-2012 (like stable-v4: gentoo-2012) for 12 hours.

Helgi Þorbjörnsson [09:30]
eybot stacks

eybot BOT [09:30]
available: jupiter, mars, mercury, neptune, pluto, saturn, ubuntu-dev1, ubuntu-dev2, ubuntu-dev3, ubuntu-dev4, ubuntu-dev5, ubuntu-dev6, venus-2012

Helgi Þorbjörnsson [09:30]
eybot stacks all

Helgi Þorbjörnsson [09:32]
eybot stack release

eybot BOT [09:32]
released assignment for: earth-2012.

You could also request a particular stack in that scenario but that's beside the point. Then you can see if someone has multiple leases and force release them if required.

@helgi I didn't think about assigning identity to a cluster in this initial design. It's just whoever has the cluster uuid can release it. Since this initial design doesn't call for it to have a chat interface (the plan is to have it programmatically called by e2e test runs), I don't believe it's worth it to add identity right now. Thoughts?

Probably isn't worth it off the bat, I just want to make it something you account for early on in the arch. Adding a bot layer with Slack these days is so easy anyway.

@helgi now that you bring it up, I think it would be fairly easy to add identity to a claim, again using an annotation. Identity could go into a second key/value pair. For example:
UUID => (cluster_name, lease_expiration_time)
identity_name => UUID

The first line is what's in this design, and the second is the addition...

@helgi I've created https://github.com/deis/k8s-claimer/issues/11 to track identity (but not slack integration or other chat support)


LZ-string 2.0 and preceding RC

So let's decide once and for all what we need to do to merge that pull request
Here's a TODO list with some first thoughts, I'll update it as the discussion evolves. It's very elaborate, but that's just because I like to keep it fine-grained.
Decide what to include
Suggestions:

LZ-string "classic" - backwards compatible with 1.4.4. If it breaks on systems where 1.4.4 worked, it is a bug
Unsafe Array version? Should it include backwards compatibility guarantee?
a separate ES6 version? It would take me only minor tweaks to "upgrade" the current version (use Map(), etc).

Test for bugs

[ ] Desktop

[ ] Edge
[ ] Earliest version of IE that is supported
[ ] Chromium
[ ] Firefox
[ ] Safari
[ ] Opera

[ ] Mobile

[ ] Chromium
[ ] Firefox
[ ] Safari
[ ] Opera

Benchmarks

[ ] Decide on body of test cases

[ ] static website
[ ] large CSS files
[ ] JSON files
[ ] a book from Project Gutenberg, like Pride & Prejudice, or In Praise of Folly
[ ] A realistic large body of 16-bit characters? Is there an Asian equivalent to Project Gutenberg?
[ ] edge-cases like the full UTF16 range, as it breaks the unsafe version

[ ] Desktop

[ ] Edge
[ ] Earliest version of IE that is supported
[ ] Chromium
[ ] Firefox
[ ] Safari
[ ] Opera

[ ] Mobile

[ ] Chromium
[ ] Firefox
[ ] Safari
[ ] Opera

Have a release candidate alongside current version for  to find bugs
For how long, and how do we do this on npm?

ES6 version should simply be built in parallel so it's available on npm - just like the Typescript typings, if it's there then things that understand it can make use of it, just need to decide on the exact source structure to build that (here I'm leaning towards Typescript like always - until something like that I'd suggest just leaving it alone) ;-)
I'd be tempted to keep a v1 branch so anything important that comes up can be done without having "that" PR included ;-)
I'd suggest all development on / against a develop branch, and only merge to master when we're happy about tests passing and bugs fixed - along with the (semi-)standard "one branch per fix" idea (instead of developing directly on develop) - then we have several here now that can review PRs when a branch is ready to merge back into develop.
Apart from that I'm happy with all your suggestions there.
As the code is identical browser and Node, checking for correctness can be done headless (ie, the old "compress, decompress, compare" style) - so choosing a selection of files to check against, including true binary such as photographs. It might be worth collecting various files for the tests and either including them directly in the project, or including them in another branch / project - there may already be such a project available if someone wants to look (Octonode is good for grabbing Github content).
Side effect of that - being able to write the tests to be run on TravisCI etc, and have them report back to any PRs - it might not be the full in-all-browsers test without extra work, but it should have identical results for correctness.

I made an ES6 version, in the minified benchmarks it's faster in Chrome, but a lot slower in Firefox for some reason:
https://run.perf.zone/view/LZString-variants-11-07-20182018-minified-compress-documentbodyinnerHTML-1531579254745
I already tried if it makes a difference whether we use function(){} or ()=>{} syntax (since it has different binding semantics), but this does not seem to be the case. Which means that Map is the likely culprit, weirdly enough.
https://run.perf.zone/view/LZString-variants-14-07-2018-minified-compress-documentbodyinnerHTML-1531579848737

As the code is identical browser and Node, checking for correctness can be done headless (ie, the old "compress, decompress, compare" style) - so choosing a selection of files to check against, including true binary such as photographs. It might be worth collecting various files for the tests and either including them directly in the project, or including them in another branch / project - there may already be such a project available if someone wants to look (Octonode is good for grabbing Github content).

Sounds great. Hoewver, LZ-string 1 is backwards compatible all the way to IE8, maybe even IE6. How would we test for that?

Test whether the bottleneck is the call to Map.has(). Not quite, but the alternative is faster on both Chrome and Firefox:
https://run.perf.zone/view/LZString-variants-14-07-2018-minified-compress-documentbodyinnerHTML-no-Maphas-1531582091358

Is that ES6 versions tree-shakeable? That's really cool though - more browsers are supporting it all the time, plus useful for Webpack / Rollup :-)
The arrow function is meant to be slightly faster than a function due to it not being a fully-featured version (ie, they are different specs, and not just in binding) - if it's in something that's called a lot then I'd hope it'd be different, but I've not seen tests so apart from that snippet of information I have no opinions (and generally compile via Babel).
We can test via BrowserStack (they give free accounts for Open Source projects) - but I've not written automated tests for it before, plus not sure if it can report back to a Github PR - I've seen something via TravisCI that implies it can be setup, but would need to look into it when I have time. In the meantime I'd say just getting a pile of automated tests together, they can always be repackaged later - better to have comprehensive automated tests that indicate functionality breaks on any PR, and some manual tests for in-browser testing.

Is that ES6 versions tree-shakeable? That's really cool though - more browsers are supporting it all the time, plus useful for Webpack / Rollup :-)

I tried making it use modern module syntax, but Jasmine trips up over that. However, changing it back into the old exports version it still fails a number of tests that work fine when tested manually in the console, so I might as well ignore that.

reanimation
What happened?


Fix k9s versioning

Fix #13

You gonna merge this? The VS Code feature isn't working either, so I'm hoping this fixes it.


Link is broken

Url: https://lightninglogin.live/learn
At A more technical explanation can be found here. line, link in "here" is broken:
Broken link: https://⚡.bigsun.xyz/lnurl-auth.html

Hi, thanks for reporting this! That site seems to have gone down indeed. I'll take a look if I can find a replacement tomorrow!


Update docs to mention framework packaging

Fixes: https://github.com/apple/turicreate/issues/2050.

@TobyRoseman yes! Adding now.


Replace secp256k1 by ed25519

closes #1520

@NunoAlexandre that is a good question. The idea is that only new asset originators will use this new version, otherwise we would need to do a full migration of identities accross chains, and we didnt think it was worth it due to the current user load we have that use the go-node. So we do not need to support legacy documents.


Reverse Geocoding with CesiumJS?

It seems like it should be possible to reverse geocode with CesiumJS, but I don't see any functions exposed for this in the docs. This blog post describes how Pelias's geocoder supports reverse geocoding but doesn't talk about how to do it.
We should expose it and/or explain how to use it. This came up in a forum thread here: https://groups.google.com/d/msg/cesium-dev/5CTEv5D7LGI/bYGYh9Z1AQAJ

It looks like that example was directly calling the Bing Maps API. I think it would be better to expose an API function in the IonGeocoderService itself so the user doesn't have to call a separate API endpoint.


aws_is_virtual_hostable_bucket endpoint provider standard library function

Implements the aws.isVirtualHostableS3Bucket standard library function for endpoint provider rulesets. This is a small addition to #2737.
The spec for the function is:

Evaluates whether a string is a DNS compatible bucket name and can be used with virtual hosted style addressing. In addition to the restrictions defined in RFC 1123 and isValidHostLabel, the isVirtualHostableS3Bucket function must also validate that the bucket name is between [3,63] characters, does not contain upper case characters, and is not formatted as an IP address.

Codecov Report

Merging #2762 (7afdca8) into develop (5c9aac2) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #2762      +/-   ##
===========================================
- Coverage    95.24%   95.19%   -0.06%
===========================================
  Files           62       62
  Lines        12845    12851       +6
===========================================
- Hits         12234    12233       -1
- Misses         611      618       +7

Impacted Files
Coverage Δ

botocore/endpoint_provider.py
99.67% <100.00%> (+<0.01%)
:arrow_up:

botocore/compat.py
91.33% <0.00%> (-1.34%)
:arrow_down:

botocore/httpsession.py
91.33% <0.00%> (-0.40%)
:arrow_down:

botocore/utils.py
93.37% <0.00%> (-0.22%)
:arrow_down:

botocore/credentials.py
98.54% <0.00%> (-0.11%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Relax dimension checks for fp8 exec

The current restriction of having modulo16 for all dimensions is too harsh and breaks examples/pytorch/mnist/main.py when executing with FP8.

Introduced in #97

/te-ci


Extending generic objects

When extending a generic object, the output fails to put the template param. Additionally, it doesn't allow you to specify a template param value (specialization) in the @extends tag.
To fix this, need to refactor the object resolution to instead of being this.objects[longname] everywhere, use a utility function that can deal with the generic params.
(This may also require dts-dom updates, to enforce the rules around how generics act)

compiler rewrite should fix this.


Movie App using ReactJs

Project title
Movie App using ReactJs
Project Description
This React Movie App will have the functionality to search movies from OMDB(Open Movie Database) API
Stack:

[x] JavaScript
[x] ReactJs

Can I add this project?


Standardise info

Closes #6 and largely addresses #7.
Achieved by allowing fields to have multiple matching regexes, and each regex can optionally be accompanied (within a tuple) by a replace string, which replaces the match with itself, and a transform string, which applies the string function with that name to the match output (such as uppercasing the container name).
For example, quality's entry in patterns.py now looks like:
    ('quality', [('WEB[ -]?DL(?:Rip|Mux)?|HDRip', 'WEB-DL'),
                 ...
                 ('(?:HD)?TS|TELESYNC|PDVD|PreDVDRip', 'Telesync'),
                 ...])

So WEBDLMux would become WEB-DL. No transformation is needed, so it doesn't have to be included in the tuple. Patterns that don't need these extra options can remain as just a string.

Waiting on #2 and #10 to merge into master.

Closes 10.


Upgrade deprecated runtime nodejs10.x

CloudFormation templates in aws-media-asset-preparation-system have been found to include a soon to be deprecated Lambda function runtime (nodejs10.x). The affected templates have been updated to a supported runtime (nodejs14.x).
Please note, this pull request has been generated by a bot; please check the base branch and files changed before merging.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Recommend merging this, as deprecation of nodejs10.x runtime is a breaking change in AWS for this project. Simple fix for end users, but this merge would improve customer experience.


Does the plugin work in live preview?

If not, I'd like it to.

Yes, this plugin supports live preview. Clicking on a hyperlink behaves the same way as read mode; clicking on an editing link requires a modifier key such as Ctrl (or Cmd for macOS) to work.

I'm having trouble getting it working. This is one binding I have. I made this link: , and tried the following combinations:

Shift Click
Shift CMD Click
Shift CTRL Click
Shift CTRL CMD Click
and none of them work, they either open the link in the browser, focuses the editor there to edit, or triggers the right click menu.

Sorry for the late reply. I have confirmed that there are issues with custom modifiers in the live preview, which were caused by the refactoring of default click modifier behaviors in the previous version. Thanks for letting me know!

Don't worry about taking your time! I'm sure you only work on this for your free time for free. I appreciate your work!


events not working in 1.3.11 version

hi there
thanks for this great component.
it seems that "events" not working anymore after 1.3.10 version in npm
it's working in 1.3.10 . but in 1.3.11 and newer versions not.
thanks.

I'm having the same problem

Having the same issue in 2.0.2
Is there any workaround to get on change event emitter?

Having the same issue in 2.0.2
Is there any workaround to get on change event emitter?

Did anyone was able to get the event emitter?

Events have been moved to the Pro version.


[UNDERTOW-626] Using modcluster filter with local content creates loop

Possible solution to https://issues.jboss.org/browse/UNDERTOW-626

Can one of the admins verify this patch?

This sort of fix belongs in Wildfly, rather than Undertow, as it deals with Wildfly specific concepts.


add events for logging and error handling

tunnel will emit three events:

connect: when a connect request was received
connected: when a connect request was successfully initiated
error: when an error has occured when trying to open a connection

LGTM


Custom checkboxes do not work without label

Custom checkboxes/radios appear to be broken in cases where the label is missing. This should not happen. It should be possible to display custom checkboxes without label.
https://www.bootply.com/SSKHrAAGWD

It's not possible given how the component is built—the custom check is built from the <label> element via ::before and ::after. You can have an empty label if you must, but the <label> element must be present.


PartsUnlimited demo Test Suite is empty

Previously when using the PartsUnlimited demo generator it created a Test Suite with numerous test cases, as seen in this project.
When running the demo generator today in two different Azure DevOps accounts, it creates an empty Test Suite, as seen in this project.
The generator did not show any warnings or errors.
@dmckinstry

@aksh-h - Can you confirm the symptoms and help triage this?

Yes @dmckinstry, looks like there is some issue with creating work items in the recent changes implemented. We are working on it.

fixed and released


Changing file directories and a "restore" input button

It needs both of them, at least some control on changing directories, because it's a something of a drag to go to Documents to retrieve save files or emulator configurations. And I explored it because I needed to change the input, since I can't delete them from the window. Thanks for opening this space.

Added the "Help" -> "Open Data Folder" menu option to the WinForms UI with commit 25c5c14cdff64ebb9748b4014d57b9442186c968, still pending for the GLWindow UI.


PTAL PR and ISSUE of client-go

I pull some PRs and issues in the client-go repo, but it seems no one responded. So I want to ask for help here.
Would TiKV community still accept external contributions now?
https://github.com/tikv/client-go/pull/731
https://github.com/tikv/client-go/pull/736
https://github.com/tikv/client-go/issues/703

PRs are reviewed. I'll take a look at the feature request issue now.
Closing...


Calendar events aren't updating properly

I'm not sure when this started happening, but my calendar events are not updating properly anymore. There are events which I have created and moved that are still showing, and others that I have recently created (>12h ago) that still aren't showing up. In Calendar.app everything is showing properly.
Running 0.11.9, not sure what more information I can provide?

Never mind, turns out the issue was elsewhere.


v0.4

This is the meta-issue for Eludris v0.4.
All major developments and roadmaps will be here until v0.4 is out and this version is closed.
You may want to watch this issue.

@EnokiUN what's the scope for 0.4?

@EnokiUN what's the scope for 0.4?

Updated the issue (yesterday)

@EnokiUN what's the scope for 0.4?

Updated the issue (yesterday)

Ah so it's absolutely massive I see

@EnokiUN what's the scope for 0.4?

Updated the issue (yesterday)

Ah so it's absolutely massive I see

Yep, stupendously so

uh.


Add support for Bandit

Needed downstream at https://github.com/phoenixframework/phoenix/pull/5706.
Assuming this gets merged, a patch release would be appreciated as well so I can incorporate it above

went out in 1.15.1

Amazing! Thanks for the quick turnaround!


forward-declaration of containers / working with incomplete type

STC is a great C library! I'd like to request a useful new feature for it.
Could STC provide the option to use containers with incomplete types and forward-declare them?
Whenever the definition of a container type relies on pointers, this ought to be possible. Here's a quick example:
#include <stc/cvec.h>

typedef  struct person  person;

declare_cvec(person, person); // forward declaration
//   ^----.
//        '-- STC could forward declare what relies on pointers:
//
//            typedef struct { person *data;} cvec_person;
//            ...
//
//        .-- this then opens-up new possiblities such as:
//   .----'
//   v
struct person {
   int          id;
   cvec_person  friends;
};

void   person_del(person* self);
person person_clone(person p);

// now we could complete the definition (with "using_cvec" or another macro)
using_cvec(person, person, c_no_compare, person_del, person_clone);

Let me know if what I mean is clear.
(quick side note [which may or may not be relevant]: I don't know C++ in details, but AFAIK it formerly stated containers were not garantueed to work with incomplete types. However more recent revisions of the C++ standard now specify some STL containers must work with incomplete types)

This is a splendid idea. I don't want to make a full new set of overloaded using-macros, so it requires another parameter to be added to the existing using-macros. If this is placed far back (or last) in the arguments, it will have little or no impact on current usage, but it may be inconvenient when using incomplete types. Depends on how much incomplete types are used.
Below is how it may be implemented if the extra parameter is placed before clone/fromraw parameter, this will affect some previous usage though. I have used c_forwarded and c_complete as extra parameters, but this could just be a short tag - not a symbol in the global scope. I will think about this.

I keep this as an experimental feature on these three containers as it is, and probably come back to it later and change the position/naming of the using-parameter that specify whether the container was forward-declared.

So, I tested it nesting a cvec "recursively" in a structure. It worked perfectly! The “forward_cvec” is clear and the name is good to give the intent. As for the “using_cvec” bit, yes it's more “verbose” but it's a minuscule price to pay when you need the feature. Very very well done!!! (I hope you'll eventually extend it to most containers: shared pointer, map, ... :)


Update sql-database-designing-cloud-solutions-for-disaster-recovery.md

Fixing the note based on customers questions.

#sign-off

@anosov1960 : Thanks for your contribution to the Azure documentation! The author, @anosov1960, has been notified to review your proposed change.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We've closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions


Consistent empty / null fields

Proposal overview
Only some storage backends (such as MongoDB) would be able to really make the distinction between null and omitted values on top level fields. SQL storage backends would already treat the values equally, no matter what we do in code.
This is a proposal to treat null values and omitted values equally in code, and configure on the resource how all empty fields should be rendered; either as null, or omitted.  The change apply specifically to the resource.Schema type (including resource.Object filed validator). It does not apply to field validators such as resource.Dict.
Motivation
This allows for more consistent APIs to be written that is easier to use in e.g. TypeScript. It also allows removing top-level fields via PATCH requests without deferring to JSON-PATCH syntax. This can be simpler to do for some clients.
Changes
Suggested changes include:

Remove the Required field in favor of a Nullable field on Schema.
Document all fields with Nullable: true as "oneOf": [{..}, {"type": "null"}] in normal JSON Schema instead  or as nullable: true if using the OpenAPI JSON Schema dialect.
On schema Validation (before save):

Strip out null values.

On schema Serialization (before format):

Insert or strip null values based on config.

Add a flag to resource.Conf to determine (default) rendring for empty fields.

@Dragomir-Ivanov, FYI.
What do you think?

@smyrman I think we need to consider also Default fields. What happens if you omit in regular PATCH a field with Default value. Does it stay the same, is it deleted, or it is reset to its default value.
I think regular PATCH syntax as very limited.
I like the idea of having fields as not set and set to empty, but still haven't used that, nor mixed rest-layer with TS (but planning a rewrite to TS asap).

Good ponits @Dragomir-Ivanov.
If files are omitted on PUT, then yes, reset to default values. If they are explicitly set to nil, then clear them.  This can be done as both operations would be handled by the Validation step. When fetching them back out, they will be either omitted or null based on the resource config.

PS! we might need to make sure that PATCH results always serialize (the original) resource before calculating changes / base.


Add ErrorBoundary to page components

Sometimes pages go completely blank when a JS error happens (#11908, #11759 , #11568 ).
We should wrap major subcomponents with ErrorBoundary so users can still navigate off the error state.
@nytai has raised the issue before. Creating a ticket to keep track of progress.
A recommended list of boundaries to add:

Explore

[ ] Datasource Column
[ ] Chart Control Column
[ ] Chart Header
[x] Chart Render
[ ] Chart Data Preview
[ ] DataSource Editor Modal

SQL Lab

[ ] Datasource Sidebar
[ ] SQL Editor
[ ] Query Results Preview

Dashboard

[x] Filters
[ ] Main dashboard body

List View Pages

[ ] Filters
[ ] List Table View
[ ] Thumbnails View

Home Page

[ ] Recents
[x] Charts
[ ] Dashboards
[ ] Saved Queries

related? https://github.com/apache/incubator-superset/issues/12109

related? https://github.com/apache/incubator-superset/issues/12109

resolved by the linked PR?


Kirby v4 compatibility

Allow the plugin to be installed in Kirby v4. Haven't had any issues yet with the alpha.

I'm glad that there are no issues with v4 yet. Let me know if you see some!

Sure. Thanks for merging.


Relax peerDependencies semver ranges

Hi @Sec-ant 👋 hope you're well
For peerDependencies with packages having current versions less than 1, allow for all versions up until version 1
This avoids warnings such as this one from pnpm, which I received after I upgraded to<EMAIL_ADDRESS> WARN  Issues with peer dependencies found
.
└─┬ prettier-plugin-embed 0.2.5
  └── ✕ unmet peer<EMAIL_ADDRESS>found 0.16.0

thanks 😊 It is rather late at my side, hopefully I can publish a new version tomorrow with several other features also implemented

Glad to help :) Thanks for the review and merge! Looking forward to the new version, I'm guessing it will be version 0.3.0.


How do i change $root_path to ftp

is it possible?

No. It supports local storage only. Please use elFinder for FTP.


ListPicker examples

These seem hard to come by.
The api also doesn't appear to support events such as when selection changes?
https://docs.nativescript.org/ApiReference/ui/list-picker/ListPicker.html
Curious to develop with this component and trying to find ways forward with it.
It seems a common case would be to use a Label:
<Label text="Open" (tag)="openPicker()"></Label>
<ListPicker id="picker" class="picker" items="{{ items }}" selectedIndex="{{ selectedIndex }}"
              verticalAlignment="center" horizontalAlignment="center"/>

// css
// hide off page initially
.picker {
  top: -100;
  left:0;
  width:100%;
}

Which would open the picker by animating it into view?
// some component
public openPicker() {
   let picker = page.getViewById('picker');
   picker.animate({
        translate: { x: 0, y: 0 },
        duration: 300
    });
}

Is this way off?
Anyone know best way forward with this component?

The list picker API has been designed in that way because it takes advantage of the dependency property system and its change notifications in vanilla NativeScript. Which we don't use much in Angular apps since Angular comes with its own bindings and change detection.
To bridge between the two, we allow you to listen for a "helper" event that fires whenever a dependency property changes. You get the name of the event by appending a "Change" to the name of the property. Here's how my list picker code looks now:
<ListPicker #picker class="picker" [items]="items" [selectedIndex]="selectedIndex"
    verticalAlignment="center" horizontalAlignment="center"
    (selectedIndexChange)="selectedIndexChanged(picker)"></ListPicker>

public selectedIndexChanged(picker) {
    console.log('picker selection: ' + picker.selectedIndex);
}

Thank you @hdeshev! Good to know!

hi, @hdeshev, I have a question on the way the Angular version of the ListPicker works. Currently I'm not able to set a default selectedIndex as pulled from the database:
<ListPicker #instrumentListPicker [selectedIndex]="instrument" [(ngModel)]="selectedInstrumentIndex" [items]="instruments" (selectedIndexChange)="selectedIndexChanged(instrumentListPicker)"></ListPicker>

Watching the console logs from selectedIndexChanged(), the value seems to be tested several times, flipping back to 0:
CONSOLE LOG file:///app/app/frameworks/practicebuddy/components/student-admin/student-admin.component.ts:108:16: picker selection: 10
CONSOLE LOG file:///app/app/frameworks/practicebuddy/components/student-admin/student-admin.component.ts:108:16: picker selection: 0
CONSOLE LOG file:///app/app/frameworks/practicebuddy/components/student-admin/student-admin.component.ts:108:16: picker selection: 10
CONSOLE LOG file:///app/app/frameworks/practicebuddy/components/student-admin/student-admin.component.ts:108:16: picker selection: 0

Whaaaat am I doing wrong!? thanks!

why would you use (selectedIndexChange) and 'selectedIndex' and [(ngModel)] you are quadrupling the binding no?

How to animate the ListPicker from the bottom of the screen when a label is tapped? (in both Android and IOS). I'm unable to find examples that support this.
Note: I'm using NS with Angular.

Hi @hdeshev ,

exports.onselectedIndexChanged = function() {
console.log(page.getViewById("picker").selectedIndex);
}
will this work in NS-Core ????

I'm trying to get the ListPicker to load a list of items from a API call. I changed the [items]="items" to items={{items}}, but now each list item has one single letter.

Hey @genkan-drew , did you manage to get the solution for your problem? I am also facing the same issue. I changed the [items]="items" to items={{items}}, but now each list item has one single letter.

I realised that I was using the Array and that was causing the above issue. I have changed it to ObservableArray and it is working fine.


Supports merging cell borders

Dear justkawal,
I also found that the borders will not be applied afther merging cells. So, I invested some time into fixing that.
Now, you are able to set style of a group of merging cells by setMergedCellStyle(CellIndex start, CellStyle mergedCellStyle).
hopes that helps!
Before

After

Good job 👍
Could you also add some test cases to make sure it doesn't break again?

This is just an example. The tests in the test folder get executed at every release and ensure that features work as expected. You give it some input and analyse the output to look if it's correct.
Just look at the tests that are already present, it's relatively straight forward.

setMergedCellStyle

what version ?
The method 'setMergedCellStyle' isn't defined for the type 'Sheet'.
Try correcting the name to the name of an existing method, or defining a method named 'setMergedCellStyle'

i use excel: ^2.1.0
diagonal border is work , but for bottom is not work , the result always like on before.

setMergedCellStyle

what version ?
The method 'setMergedCellStyle' isn't defined for the type 'Sheet'.
Try correcting the name to the name of an existing method, or defining a method named 'setMergedCellStyle'

i use excel: ^2.1.0 diagonal border is work , but for bottom is not work , the result always like on before.
sheet.merge(
            CellIndex.indexByString("$columnName$indexStartHeaderData"),
            CellIndex.indexByString("$columnName${indexStartHeaderData + 1}"),
            customValue: rowLabel[i - 1],
          );
          sheet.setMergedCellStyle() // not defined

// excel.sheets.
          // print('header column : $columnName$indexStartHeaderData');
          // var cell = sheet.cell(CellIndex.indexByString(
          //     "$columnName${indexStartHeaderData - 1}"));
          // cell.cellStyle = cellHeaderStyle.copyWith(
          //   horizontalAlignVal: HorizontalAlign.Center,
          //   verticalAlignVal: VerticalAlign.Center,
          // );

excel.updateCell(
            sheetName,
            CellIndex.indexByString("$columnName$indexStartHeaderData"),
            rowLabel[i - 1],
            cellStyle: CellStyle(
              fontSize: 25,
              topBorder: border,
              bottomBorder: border, // result like `before` the border is gone
              leftBorder: border,  // also not full result like `before` the border is gone
              rightBorder: border, // also not full result like `before` the border is gone
              diagonalBorder: border, // work
              diagonalBorderDown: true, // work
            ),
          );

Dear @yogithesymbian, the owner of this repo plans to merge this RP into the 3.0.0, which is not available on pub.dev yet.
But you could use the dev branch just like this:
excel:
  git:
    url: git@github.com:justkawal/excel.git
    ref: bump-3.0.0

setMergedCellStyle(CellIndex start, CellStyle mergedCellStyle)

oke thankyou bro 🚀

@yogithesymbian 3.0.0 has been released on pub.dev


makeFontsConf: add darwin system fonts

Description of changes
Add further non-NixOS system font folders on macOS (idea mentioned in https://github.com/NixOS/nixpkgs/pull/228196#issuecomment-1524078415).
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Oh, I could have tagged the darwin maintainers – good to know!


Database Design

Write about briefly about what database design is and why it is important. Then introduce the relational DB schema and describe how it has been developed. Make sure to mention the different normal forms and the reasons behind the denormalization it has gone through after reaching normal form 3.5

Some text has already been written about the importance of database design, as well as some details about different database types. I do not know who wrote it though.

Add brief description of Normal forms

Wrote about choice of database, relational DB schema and normal forms

looked through it, added a comment about sourcing to some definitions, otherwise looks good to me (y)

answered
in short: sure, if we find a reference

I have now read it, and made some minor suggestions to change. I would love for @WrexBG to check whether these would change it to still support what he means by what was originally written, or if they change it too much.

Approved changes, added a reference and some more description on keys from the book.


<EMAIL_ADDRESS>Fixes crash on start

Closes #11492

[x] I have read the Contributing Guide.

/verify

/verify

Suggestions Added:

extras/vcredist2022
extras/windowsdesktop-runtime


Expand type annotation in data_types

Fixes WB-NNNN
Fixes #NNNN
Description
What does the PR do?
Testing
How was this PR tested?
Checklist

Name PR "[WB-NNNN][WB-MMMM] Add support for..." similar to entries in CHANGELOG.md
Include reference to internal ticket "Fixes WB-NNNN" (and github issue "Fixes #NNNN" if applicable)

with the planned work this/next quarter re: Media types, this is now obsolete, so closing.


ContactFetchJob: clear local contacts after update

This fixes a crash happening when a ContactFetchJob changes state to
finished if an update occurred before. I'm not sure, though, why the bug occurred in the first place, and whether this change is correct. What I can say, is that the crash is no longer occurring. :-)
This is the backtrace of the crash (unfortunately debug symbols for
qtcontacts-sqlite are missing):
Thread 1 "address-book-ap" received signal SIGSEGV, Segmentation fault.
QtPrivate::RefCount::ref (this=0x18) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
55	../../include/QtCore/../../src/corelib/tools/qrefcount.h: No such file or directory.
(gdb) bt
#0  QtPrivate::RefCount::ref (this=0x18) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#1  0x0000007fb6d45104 in QVector<QPersistentModelIndexData*>::QVector (this=0x7fffffde90, v=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:359
#2  0x0000007fb6d45f80 in QStack<QVector<QPersistentModelIndexData*> >::pop (this=this@entry=0x63d4b0) at ../../include/QtCore/../../src/corelib/tools/qstack.h:62
#3  0x0000007fb6d3f0bc in QAbstractItemModelPrivate::itemsMoved (this=this@entry=0x63d430, sourceParent=..., sourceFirst=sourceFirst@entry=15941232, sourceLast=sourceLast@entry=0, destinationParent=...,
    destinationChild=destinationChild@entry=2, orientation=orientation@entry=Qt::Vertical) at itemmodels/qabstractitemmodel.cpp:797
#4  0x0000007fb6d42698 in QAbstractItemModel::endMoveRows (this=this@entry=0x63d370) at itemmodels/qabstractitemmodel.cpp:2985
#5  0x0000007fa55ccc40 in QDeclarativeContactModel::fetchRequestStateChanged (this=this@entry=0x63d370, newState=QtContacts::QContactAbstractRequest::FinishedState) at qdeclarativecontactmodel.cpp:1078
#6  0x0000007fa55cd39c in QDeclarativeContactModel::fetchRequestStateChanged (newState=<optimized out>, this=0x63d370) at qdeclarativecontactmodel.cpp:1037
#7  QDeclarativeContactModel::qt_static_metacall (_o=0x63d370, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffe248) at .moc/moc_qdeclarativecontactmodel_p.cpp:349
#8  0x0000007fb6dbcdcc in QMetaObject::activate (sender=0x7fffffe23c, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffe258) at kernel/qobject.cpp:3804
#9  0x0000007fb6dbd434 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffe258) at kernel/qobject.cpp:3657
#10 0x0000007fa54d244c in QtContacts::QContactAbstractRequest::stateChanged (this=<optimized out>, _t1=QtContacts::QContactAbstractRequest::InactiveState) at .moc/moc_qcontactabstractrequest.cpp:219
#11 0x0000007fb6d9a078 in QMetaMethod::invoke (this=0x7fffffe650, this@entry=0x7fffffe780, object=0x0, object@entry=0x7fffffe790, connectionType=Qt::AutoConnection, connectionType@entry=1866682664,
    returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2308
#12 0x0000007fb6d9f094 in QMetaObject::invokeMethod (obj=0x7fffffe790, obj@entry=0xff13b0, member=0x0, member@entry=0x7fa550e618 "stateChanged", type=1866682664, type@entry=Qt::DirectConnection, ret=...,
    val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1522
#13 0x0000007fa54ffaf4 in QMetaObject::invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection,
    member=0x7fa550e618 "stateChanged", obj=0xff13b0) at /usr/include/aarch64-linux-gnu/qt5/QtCore/qobjectdefs.h:445
#14 QtContacts::QContactManagerEngine::updateContactFetchRequest (req=0xff13b0, result=..., error=QtContacts::QContactManager::NoError, newState=QtContacts::QContactAbstractRequest::InactiveState)
    at qcontactmanagerengine.cpp:1954
#15 0x0000007fa4d2572c in JobThread::event(QEvent*) () from /usr/lib/aarch64-linux-gnu/qt5/plugins/contacts/libqtcontacts_sqlite.so
#16 0x0000007fb6d8d494 in QCoreApplication::notifyInternal2 (receiver=0x6f43a0, event=0x7f8408d7d0) at kernel/qcoreapplication.cpp:1088
#17 0x0000007fb6d8d6cc in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f8408d7d0) at kernel/qcoreapplication.cpp:1476
#18 0x0000007fb6d901bc in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x43d1c0) at kernel/qcoreapplication.cpp:1825
#19 0x0000007fb6d90684 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#20 0x0000007fb6dec550 in postEventSourceDispatch (s=0x546dc0) at kernel/qeventdispatcher_glib.cpp:276
#21 0x0000007fb601f29c in g_main_context_dispatch () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#22 0x0000007fb601f4f0 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#23 0x0000000000000001 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

This was reported as https://bugreports.qt.io/browse/QTBUG-97048, but it
looks like it a bug in qtcontacts-sqlite instead.

I cannot see how forcing a detach of the contacts variable prior to the function call could possibly make a difference... it is scary that it does make a difference.
Can you add some debugging to QDeclarativeContactModel::fetchRequestStateChanged() and print out the following, within the block which calls endMoveRows():

i
newIdx
oldIdx
d->m_contacts.size()
d->m_contactMap.size() (should be the same as d->m_contacts.size() always, otherwise there is some bug in QDeclarativeContactModel)

The fact that it is an internal vector of model indexes which has an issue, makes me think that this is something in Qt (either QDeclarativeContactModel or QAbstractItemModel), however unlikely that might seem.  Are you sure there is no memory corruption happening (valgrind doesn't report any memory scribbling?)

Can you add some debugging to QDeclarativeContactModel::fetchRequestStateChanged() and print out the following, within the block which calls endMoveRows():

Here it is:
i: 2
newIdx: 1
oldIdx: 0
d->m_contacts.size(): 2
d->m_contactMap.size(): 2

The fact that it is an internal vector of model indexes which has an issue, makes me think that this is something in Qt (either QDeclarativeContactModel or QAbstractItemModel), however unlikely that might seem. Are you sure there is no memory corruption happening (valgrind doesn't report any memory scribbling?)

I haven't been able to reproduce the issue via valgrind, probably because the query finishes early enough not to trigger the update path.

/edit: and can you please also check that QDeclarativeContactModel::requestUpdated() is being invoked PRIOR to QDeclarativeContactModel::fetchRequestStateChanged(), and that d->m_pendingContacts is set to the expected data?

Yes, it is always invoked prior to that, but I see that actually there are quite a few calls happening in rapid succession (our client code might be doing something silly there...):

requestUpdated() with progressive loading; req->contacts() is empty
fetchRequestStateChanged(), with state 1
requestUpdated() without progressive loading, req->contacts() and d->m_pendingContacts are both empty
fetchRequestStateChanged(), with state 1
requestUpdated() without progressive loading, req->contacts() has two elements (it's actually the same contact, just two different constituents - local and google's; I uploaded the debug output here: https://pastebin.com/ByGgB3XQ), d->m_pendingContacts is empty (before the concatenation)
requestUpdated() again without progressive loading, req->contacts() has the same two elements as before, which are now also in d->m_pendingContacts (before the concatenation)
fetchRequestStateChanged(), with state 3. After the if (req) { line, d->m_pendingContacts has 4 elements, and they are the same pair of contacts I pasted above, but repeated twice.


fix(theme-translations): complete turkish theme default translations

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Test Plan

Test links

Deploy preview: https://deploy-preview-8105--docusaurus-2.netlify.app/
Related issues/PRs

Thanks, difficult to review for me but better than no translation 😄

Thank you, it was fun for me 😄


Microbiome empty files

Purpose/implementation Section
What changes are being implemented in this Pull Request?
adding a skeleton outline for the chapter
Tell potential reviewers what kind of feedback you are soliciting.
I dont need review on content yet, but I would like confirmation that this is a reasonable github workflow
New Content Checklist

[ x] New content/chapter is in an Rmd file with this kind of format and headers.

[ ] New content/chapter contains Learning Objectives and are in the correct format.

[ ] Bookdown successfully re-renders and any new content files have been added to the _bookdown.yml.

[ ] Spell check runs successfully in Github actions style-n-check).

[ ] Any newly necessary packages that are needed have been added to the Dockerfile and image.

[ ] Images are in the correct format for rendering.

[ ] Every new image has alt text and is in a Google Slide.

[ ] Each slide is described in the notes of the slide so learners relying on a screen reader can access the content. See https://lastcallmedia.com/blog/accessible-comics for more guidance on this.

[ ] The color palette choices of the slide are contrasted in a way that is friendly to those with color vision deficiencies.
You can check this using Color Oracle.

Hi @cansavvy,
If you could give this a high level overview when you get a chance. Some of the last names are still causing Spell check errors but I will fix that soon!

Hi @cansavvy,
I addressed most of your comments! Thank you for your feedback. I am going to run this by Greg

LGTM


Integrate to prevent commit secrets

Closes https://github.com/kachick/times_kachick/issues/175

gitleaks: I don't want to use pre-commit
git-secrets: Looks not active
secretlint: I don't want to add nodejs dependency into this repository. Docker runner is not slow? 🤔

Part of #117

In  https://github.com/settings/security_analysis

github may cover this now

https://github.blog/changelog/2024-02-29-push-protection-is-enabled-for-free-users-on-github/ 👀


ssh-to-age: init at 1.0.0

Motivation for this change
This will be useful with the upcoming age support in sops-nix
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 136098 run on x86_64-linux 1

1 package built:

ssh-to-age

Let's mark this as a draft until we have age support in sops-nix merged.


Reorganize images into folders

The image assets are getting a bit hectic. Currently, there are images for fellows, projects, and general icon assets. These could be categorized as such. We would also need to adjust file path names accordingly.

May I work on this issue ?


Default to 32-bit depth map on Forward+ renderer and 24-bit only on Mobile renderer

Discussed here: https://github.com/godotengine/godot-proposals/issues/7366
Most desktop devices support DATA_FORMAT_D32_SFLOAT_S8_UINT (Windows: 99.88%; Linux: 98.66%; Mac: 100%) and there is very little or no performance hit for using it (for AMD it might even be faster since D24 is emulated).
For mobile devices we want to use DATA_FORMAT_D24_UNORM_S8_UINT wherever possible as the practical limit is 32 bits before performance drops off. Its also much better supported on Android (98.76%). iOS only supports DATA_FORMAT_D32_SFLOAT_S8_UINT so the format check will fail and always fall back to DATA_FORMAT_D32_SFLOAT_S8_UINT.
An extra note. In most cases the current check was sufficient as a significant number of desktop devices don't support DATA_FORMAT_D24_UNORM_S8_UINT while a significant number of android devices don't support DATA_FORMAT_D32_SFLOAT_S8_UINT. But on a lot of desktop devices we were unnecessarily using DATA_FORMAT_D24_UNORM_S8_UINT.

Thanks!


Unreal Support

Describe the feature
official support for Unreal engine for use with aws-sdk-cpp
Related issues/discussions:

https://github.com/aws/aws-sdk-cpp/issues/2359
https://github.com/aws/aws-sdk-cpp/issues/2120
https://github.com/aws/aws-sdk-cpp/issues/1682
https://github.com/aws/aws-sdk-cpp/discussions/2168
https://github.com/aws/aws-sdk-cpp/discussions/2302
https://github.com/aws/aws-sdk-cpp/discussions/2001

Use Case
Use Unreal engine with the aws-sdk-cpp
Proposed Solution
No response
Other Information
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

Hey
Nice to see that. I've been more or less sucessfully able to compile/cross compile sdk for windows/linux using unreal build automation.
If it going to be any of help here are scripts I've been using:
Windows:
`
@rem Engine Folders
set ENGINE_ROOT=%~dp0......\Engine
set THIRDPARTY_ROOT=%ENGINE_ROOT%\Source\ThirdParty
set OUTPUT=\
set CURL_VERSION=7.83.1
set CURL_ROOT=%THIRDPARTY_ROOT%\libcurl%PROTOBUF_VERSION%
set CURL_INCLUDE_ROOT=%PROTOBUF_ROOT%\include
set CURL_LIB_ROOT=%PROTOBUF_ROOT%\lib\Win64\Release
@rem OpenSSL Lib Variables
set OPENSSL_VERSION=1.1.1t
set OPENSSL_ROOT=%THIRDPARTY_ROOT%\OpenSSL%OPENSSL_VERSION%
set OPENSSL_LIB_ROOT=%OPENSSL_ROOT%\lib\Win64\VS2015\Release
set OPENSSL_INCLUDE_ROOT=%OPENSSL_ROOT%\include\Win64\VS2015
@rem ZLib Lib Variables
set ZLIB_VERSION=1.2.13
set ZLIB_ROOT=%THIRDPARTY_ROOT%\zlib%ZLIB_VERSION%
set ZLIB_LIB_ROOT=%ZLIB_ROOT%\lib\Win64\Release
@rem Configure CMake Args + Run
set CMAKE_ADDITIONAL_ARGUMENTS=-DBUILD_SHARED_LIBS=OFF -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF -DENABLE_UNITY_BUILD=1 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_ZLIB_REQUEST_COMPRESSION=OFF -DENABLE_TESTING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs"
set CMAKE_ZLIB_ARGUMENTS=-DZLIB_LIBRARY=%ZLIB_LIB_ROOT%\zlibstatic.lib -DZLIB_INCLUDE_DIR=%ZLIB_ROOT%\include
set CMAKE_OPENSSL_ARGUMENTS= -DOPENSSL_INCLUDE_DIR=%OPENSSL_INCLUDE_ROOT% -DOPENSSL_USE_STATIC_LIBS=ON
set CURL_ARGS=-DCURL_INCLUDE_DIR=%CURL_INCLUDE_ROOT% -DCURL_LIBRARY=%CURL_LIB_ROOT%
set TARGET_LIBS=-DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventbridge;events;sns;"
call "%ENGINE_ROOT%\Build\BatchFiles\RunUAT.bat" BuildCMakeLib -TargetPlatform=Win64 -TargetArchitecture=x64 -TargetLib=aws-sdk -TargetLibVersion=%AWS_SDK_VERSION% -TargetLibSourcePath=G:\SurvivalGame\ArcGame\Plugins\AwsSDK\aws-sdk-cpp -TargetConfigs=Release -UseCMakeInstallPrefix -CMakeGenerator=VS2022 -CMakeAdditionalArguments="%CMAKE_ADDITIONAL_ARGUMENTS% %CMAKE_ZLIB_ARGUMENTS% %CMAKE_OPENSSL_ARGUMENTS% %TARGET_LIBS% %CURL_ARGS%" -SkipCreateChangelist -SkipSubmit || exit /b
`
Linux:
`
@rem Engine Folders
set ENGINE_ROOT=G:/SurvivalGame/Engine
set THIRDPARTY_ROOT=%ENGINE_ROOT%/Source/ThirdParty
set CURL_VERSION=7.83.1
set CURL_ROOT=%THIRDPARTY_ROOT%/libcurl/%CURL_VERSION%
set CURL_INCLUDE_ROOT=%CURL_ROOT%/include
set CURL_LIB_ROOT=%CURL_ROOT%/lib/Unix/x86_64-unknown-linux-gnu/Release/libcurl.a
@rem OpenSSL Lib Variables
set OPENSSL_VERSION=1.1.1t
set OPENSSL_ROOT=%THIRDPARTY_ROOT%/OpenSSL/%OPENSSL_VERSION%
set OPENSSL_LIB_ROOT=%OPENSSL_ROOT%/lib/Unix/x86_64-unknown-linux-gnu
set OPENSSL_INCLUDE_ROOT=%OPENSSL_ROOT%/include/Unix/x86_64-unknown-linux-gnu
set CMAKE_OPENSSL_ARGUMENTS=-DOPENSSL_CRYPTO_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libcrypto.a -DOPENSSL_SSL_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libssl.a -DOPENSSL_INCLUDE_DIR=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/include/Unix -DOPENSSL_USE_STATIC_LIBS=ON -Dcrypto_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libcrypto.a -Dcrypto_INCLUDE_DIR=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/include/Unix
@rem ZLib Lib Variables
set ZLIB_VERSION=1.2.13
set ZLIB_ROOT=%THIRDPARTY_ROOT%/lib/%ZLIB_VERSION%
set ZLIB_LIB_ROOT=%ZLIB_ROOT%/lib/Unix/x86_64-unknown-linux-gnu/Release
@rem Configure CMake Args + Run -DTARGET_ARCH="LINUX"
set CMAKE_ADDITIONAL_ARGUMENTS= -DUSE_OPENSSL=ON -DTARGET_ARCH="LINUX" -DFORCE_CURL=ON -DCMAKE_OBJECT_PATH_MAX=4096 -DBUILD_SHARED_LIBS=OFF -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF -DBUILD_WITH_LIBCXX=ON -DCMAKE_CXX_COMPILER_WORKS=TRUE -DENABLE_UNITY_BUILD=1 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_ZLIB_REQUEST_COMPRESSION=OFF -DENABLE_TESTING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventnridge;events;sns;"
set CMAKE_ZLIB_ARGUMENTS=-DZLIB_LIBRARY=%ZLIB_LIB_ROOT%/libz.a -DZLIB_INCLUDE_DIR=%ZLIB_ROOT%/include
@rem set CMAKE_OPENSSL_ARGUMENTS= -DOPENSSL_INCLUDE_DIR=%OPENSSL_INCLUDE_ROOT% -DOPENSSL_USE_STATIC_LIBS=ON
set CURL_ARGS=-DCURL_INCLUDE_DIR=%CURL_INCLUDE_ROOT% -DCURL_LIBRARY=%CURL_LIB_ROOT%
set TARGET_LIBS=-DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventnridge;events;sns;"
call "%ENGINE_ROOT%\Build\BatchFiles\RunUAT.bat" BuildCMakeLib -TargetPlatform=Unix -TargetArchitecture=x86_64-unknown-linux-gnu -TargetLib=aws-sdk -TargetLibVersion=%AWS_SDK_VERSION% -TargetLibSourcePath=G:/SurvivalGame/ArcGame/Plugins/AwsSDK/aws-sdk-cpp -TargetConfigs=Release -UseCMakeInstallPrefix -CMakeGenerator=Makefile -CMakeAdditionalArguments="%CMAKE_ADDITIONAL_ARGUMENTS% %CMAKE_ZLIB_ARGUMENTS% %CMAKE_OPENSSL_ARGUMENTS% %TARGET_LIBS% %CURL_ARGS%" -SkipCreateChangelist -SkipSubmit || exit /b
`
And that's how my build.cs looks now:
`public class AwsSDKLibs : ModuleRules
{
public AwsSDKLibs(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
    if (Target.Platform == UnrealTargetPlatform.Linux)
    {
	    PublicDefinitions.Add("__linux__config__");
	    List<string> Libs = new List<string>
	    {
		    "libaws-c-auth.a"
		    , "libaws-c-cal.a"
		    , "libaws-c-common.a"
		    , "libaws-c-compression.a"
		    , "libaws-c-event-stream.a"
		    , "libaws-checksums.a"
		    , "libaws-c-http.a"
		    , "libaws-c-io.a"
		    , "libaws-c-mqtt.a"
		    , "libaws-crt-cpp.a"
		    , "libaws-c-s3.a"
		    , "libaws-c-sdkutils.a"
		    , "libs2n.a"
		    , "libaws-cpp-sdk-core.a"
		    //, "libaws-cpp-sdk-cur.a"
		    //, "libaws-cpp-sdk-config.a"
		    , "libaws-cpp-sdk-lambda.a"
	    };

	    foreach (string lib in Libs)
	    {
		    PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "Unix", "x86_64-unknown-linux-gnu", "Release", lib));
	    }

	    PublicDefinitions.Add("__clang_analyzer__=1");
	    PublicDefinitions.Add("AWS_DEEP_CHECKS=0");
	    PublicDefinitions.Add("AWS_USE_IO_COMPLETION_PORTS=1");
    }
    else if (Target.Platform == UnrealTargetPlatform.Win64)
    {
	    PublicDefinitions.Add("__win64__config__");

	    List<string> Libs = new List<string>
	    {
		    "aws-c-auth.lib"
		    , "aws-c-cal.lib"
		    , "aws-c-common.lib"
		    , "aws-c-compression.lib"
		    , "aws-c-event-stream.lib"
		    , "aws-checksums.lib"
		    , "aws-c-http.lib"
		    , "aws-c-io.lib"
		    , "aws-c-mqtt.lib"
		    , "aws-crt-cpp.lib"
		    , "aws-c-s3.lib"
		    , "aws-c-sdkutils.lib"
		    , "aws-cpp-sdk-core.lib"
		    , "aws-cpp-sdk-cur.lib"
		    , "aws-cpp-sdk-config.lib"
		    , "aws-cpp-sdk-lambda.lib"
	    };

	    foreach (string lib in Libs)
	    {
		    PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "Win64", "x64", "Release", lib));
	    }

	    PublicSystemLibraries.AddRange(
		    new string[]
		    {
			    "Ncrypt.lib",
			    "BCrypt.lib",
			    "Crypt32.lib",
			    "Secur32.lib",
			    "Shlwapi.lib",
			    "Userenv.lib",
			    "version.lib",
			    "winhttp.lib",
			    "Ws2_32.lib"
		    });

	    // Add any macros that need to be set
	    PublicDefinitions.Add("__clang_analyzer__=0");
	    PublicDefinitions.Add("AWS_DEEP_CHECKS=0");
	    PublicDefinitions.Add("AWS_USE_IO_COMPLETION_PORTS=1");
    }

    // Add any include paths for the plugin
    PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "include"));
}

}`
CMake seems to be producing some generated code, which the unreal utility can't handle, and I had to manually go to intermediate folder  and manually copy if (before it got auto deleted).
Hope it will be helpful.

is unreal engine 5 supported or not:
Followed this walkthrough and it fails??
https://aws.amazon.com/blogs/gametech/how-to-integrate-the-aws-c-sdk-with-unreal-engine/
Can we get official answer rom aws as its your sdk.
There is a unreal engine 4 demo that appears to work however cannot get it to work with unreal engine 5.
Think its the aws sdk for unreal engine 5
https://github.com/aws-samples/amazon-polly-metahumans

anyone have a working version of unreal engine 5 with aws sdk ? work demo project with scripts will really help

I've started building a SDK for Unreal Engine here: aws-sdk-unreal.
It has the setup steps fully automated using vcpkg - building, copying, initialization. So far only tested with 5.3 on Windows, Mac & iOS.
It will require some more testing to ensure it fully supports all the platforms and configuration, but it's time to put all the fixes of the community in one place.

I've started building a SDK for Unreal Engine here: aws-sdk-unreal.
It has the setup steps fully automated using vcpkg - building, copying, initialization. So far only tested with 5.3 on Windows, Mac & iOS.
It will require some more testing to ensure it fully supports all the platforms and configuration, but it's time to put all the fixes of the community in one place.

AWS SDK causes major issues with Linux. Primarily because vcpkg utilizes g++ for compilation while Unreal uses clang. This causes issues with std symbols specially, because g++ uses libstd while clang uses libc++ as standard library (as far as I know)
I managed to clean up a lot of the errors, but not all. Hopefully, you were better at it than me brother. I will test your plugin soon.

AWS SDK causes major issues with Linux. Primarily because vcpkg utilizes g++ for compilation while Unreal uses clang. This causes issues with std symbols specially, because g++ uses libstd while clang uses libc++ as standard library (as far as I know)
I managed to clean up a lot of the errors, but not all. Hopefully, you were better at it than me brother. I will test your plugin soon.

That is a great point. The aws-sdk-unreal relies on custom triplets to compile the binaries according to Unreal's standards.
For your specific Linux case, we don't have a dedicated triplet, but I wrote on in the past here: x64-linux-unreal. If you need to plugin to work on Linux, let's work together and I can write for triplet file for you.

AWS SDK causes major issues with Linux. Primarily because vcpkg utilizes g++ for compilation while Unreal uses clang. This causes issues with std symbols specially, because g++ uses libstd while clang uses libc++ as standard library (as far as I know)
I managed to clean up a lot of the errors, but not all. Hopefully, you were better at it than me brother. I will test your plugin soon.

That is a great point. The aws-sdk-unreal relies on custom triplets to compile the binaries according to Unreal's standards.
For your specific Linux case, we don't have a dedicated triplet, but I wrote on in the past here: x64-linux-unreal. If you need to plugin to work on Linux, let's work together and I can write for triplet file for you.

Sure. Contacted via Email

Hey
Nice to see that. I've been more or less sucessfully able to compile/cross compile sdk for windows/linux using unreal build automation.
If it going to be any of help here are scripts I've been using: Windows:
set AWS_SDK_VERSION=1.11.45
@rem Engine Folders
set ENGINE_ROOT=%~dp0..\..\..\Engine\
set THIRDPARTY_ROOT=%ENGINE_ROOT%\Source\ThirdParty
set OUTPUT=\

set CURL_VERSION=7.83.1
set CURL_ROOT=%THIRDPARTY_ROOT%\libcurl\%PROTOBUF_VERSION%
set CURL_INCLUDE_ROOT=%PROTOBUF_ROOT%\include
set CURL_LIB_ROOT=%PROTOBUF_ROOT%\lib\Win64\Release

@rem OpenSSL Lib Variables
set OPENSSL_VERSION=1.1.1t
set OPENSSL_ROOT=%THIRDPARTY_ROOT%\OpenSSL\%OPENSSL_VERSION%
set OPENSSL_LIB_ROOT=%OPENSSL_ROOT%\lib\Win64\VS2015\Release
set OPENSSL_INCLUDE_ROOT=%OPENSSL_ROOT%\include\Win64\VS2015

@rem ZLib Lib Variables
set ZLIB_VERSION=1.2.13
set ZLIB_ROOT=%THIRDPARTY_ROOT%\zlib\%ZLIB_VERSION%
set ZLIB_LIB_ROOT=%ZLIB_ROOT%\lib\Win64\Release

@rem Configure CMake Args + Run
set CMAKE_ADDITIONAL_ARGUMENTS=-DBUILD_SHARED_LIBS=OFF -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF -DENABLE_UNITY_BUILD=1 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_ZLIB_REQUEST_COMPRESSION=OFF -DENABLE_TESTING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs"
set CMAKE_ZLIB_ARGUMENTS=-DZLIB_LIBRARY=%ZLIB_LIB_ROOT%\zlibstatic.lib -DZLIB_INCLUDE_DIR=%ZLIB_ROOT%\include\
set CMAKE_OPENSSL_ARGUMENTS= -DOPENSSL_INCLUDE_DIR=%OPENSSL_INCLUDE_ROOT% -DOPENSSL_USE_STATIC_LIBS=ON
set CURL_ARGS=-DCURL_INCLUDE_DIR=%CURL_INCLUDE_ROOT% -DCURL_LIBRARY=%CURL_LIB_ROOT%
set TARGET_LIBS=-DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventbridge;events;sns;"
call "%ENGINE_ROOT%\Build\BatchFiles\RunUAT.bat" BuildCMakeLib -TargetPlatform=Win64 -TargetArchitecture=x64 -TargetLib=aws-sdk -TargetLibVersion=%AWS_SDK_VERSION% -TargetLibSourcePath=G:\SurvivalGame\ArcGame\Plugins\AwsSDK\aws-sdk-cpp -TargetConfigs=Release -UseCMakeInstallPrefix -CMakeGenerator=VS2022 -CMakeAdditionalArguments="%CMAKE_ADDITIONAL_ARGUMENTS% %CMAKE_ZLIB_ARGUMENTS% %CMAKE_OPENSSL_ARGUMENTS% %TARGET_LIBS% %CURL_ARGS%" -SkipCreateChangelist -SkipSubmit || exit ```shell

Linux:
set AWS_SDK_VERSION=1.11.45
@rem Engine Folders
set ENGINE_ROOT=G:/SurvivalGame/Engine
set THIRDPARTY_ROOT=%ENGINE_ROOT%/Source/ThirdParty

set CURL_VERSION=7.83.1
set CURL_ROOT=%THIRDPARTY_ROOT%/libcurl/%CURL_VERSION%
set CURL_INCLUDE_ROOT=%CURL_ROOT%/include
set CURL_LIB_ROOT=%CURL_ROOT%/lib/Unix/x86_64-unknown-linux-gnu/Release/libcurl.a
@rem OpenSSL Lib Variables
set OPENSSL_VERSION=1.1.1t
set OPENSSL_ROOT=%THIRDPARTY_ROOT%/OpenSSL/%OPENSSL_VERSION%
set OPENSSL_LIB_ROOT=%OPENSSL_ROOT%/lib/Unix/x86_64-unknown-linux-gnu
set OPENSSL_INCLUDE_ROOT=%OPENSSL_ROOT%/include/Unix/x86_64-unknown-linux-gnu
set CMAKE_OPENSSL_ARGUMENTS=-DOPENSSL_CRYPTO_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libcrypto.a -DOPENSSL_SSL_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libssl.a -DOPENSSL_INCLUDE_DIR=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/include/Unix -DOPENSSL_USE_STATIC_LIBS=ON -Dcrypto_LIBRARY=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/lib/Unix/x86_64-unknown-linux-gnu/libcrypto.a -Dcrypto_INCLUDE_DIR=%THIRDPARTY_ROOT%/OpenSSL/1.1.1t/include/Unix

@rem ZLib Lib Variables
set ZLIB_VERSION=1.2.13
set ZLIB_ROOT=%THIRDPARTY_ROOT%/lib/%ZLIB_VERSION%
set ZLIB_LIB_ROOT=%ZLIB_ROOT%/lib/Unix/x86_64-unknown-linux-gnu/Release

@rem Configure CMake Args + Run -DTARGET_ARCH="LINUX"
set CMAKE_ADDITIONAL_ARGUMENTS= -DUSE_OPENSSL=ON -DTARGET_ARCH="LINUX" -DFORCE_CURL=ON -DCMAKE_OBJECT_PATH_MAX=4096 -DBUILD_SHARED_LIBS=OFF -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF -DBUILD_WITH_LIBCXX=ON -DCMAKE_CXX_COMPILER_WORKS=TRUE -DENABLE_UNITY_BUILD=1 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_ZLIB_REQUEST_COMPRESSION=OFF -DENABLE_TESTING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventnridge;events;sns;"
set CMAKE_ZLIB_ARGUMENTS=-DZLIB_LIBRARY=%ZLIB_LIB_ROOT%/libz.a -DZLIB_INCLUDE_DIR=%ZLIB_ROOT%/include
@rem set CMAKE_OPENSSL_ARGUMENTS= -DOPENSSL_INCLUDE_DIR=%OPENSSL_INCLUDE_ROOT% -DOPENSSL_USE_STATIC_LIBS=ON
set CURL_ARGS=-DCURL_INCLUDE_DIR=%CURL_INCLUDE_ROOT% -DCURL_LIBRARY=%CURL_LIB_ROOT%
set TARGET_LIBS=-DBUILD_ONLY="lambda;s3;dynamodb;cognito-identity;gamelift;gamesparks;sqs;dynamodbstreams;eventnridge;events;sns;"
call "%ENGINE_ROOT%\Build\BatchFiles\RunUAT.bat" BuildCMakeLib -TargetPlatform=Unix -TargetArchitecture=x86_64-unknown-linux-gnu -TargetLib=aws-sdk -TargetLibVersion=%AWS_SDK_VERSION% -TargetLibSourcePath=G:/SurvivalGame/ArcGame/Plugins/AwsSDK/aws-sdk-cpp -TargetConfigs=Release -UseCMakeInstallPrefix -CMakeGenerator=Makefile -CMakeAdditionalArguments="%CMAKE_ADDITIONAL_ARGUMENTS% %CMAKE_ZLIB_ARGUMENTS% %CMAKE_OPENSSL_ARGUMENTS% %TARGET_LIBS% %CURL_ARGS%" -SkipCreateChangelist -SkipSubmit || exit ```shell

And that's how my build.cs looks now:
public class AwsSDKLibs : ModuleRules
{
    public AwsSDKLibs(ReadOnlyTargetRules Target) : base(Target)
    {
	    Type = ModuleType.External;

	    if (Target.Platform == UnrealTargetPlatform.Linux)
	    {
		    PublicDefinitions.Add("__linux__config__");
		    List<string> Libs = new List<string>
		    {
			    "libaws-c-auth.a"
			    , "libaws-c-cal.a"
			    , "libaws-c-common.a"
			    , "libaws-c-compression.a"
			    , "libaws-c-event-stream.a"
			    , "libaws-checksums.a"
			    , "libaws-c-http.a"
			    , "libaws-c-io.a"
			    , "libaws-c-mqtt.a"
			    , "libaws-crt-cpp.a"
			    , "libaws-c-s3.a"
			    , "libaws-c-sdkutils.a"
			    , "libs2n.a"
			    , "libaws-cpp-sdk-core.a"
			    //, "libaws-cpp-sdk-cur.a"
			    //, "libaws-cpp-sdk-config.a"
			    , "libaws-cpp-sdk-lambda.a"
		    };

		    foreach (string lib in Libs)
		    {
			    PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "Unix", "x86_64-unknown-linux-gnu", "Release", lib));
		    }

		    PublicDefinitions.Add("__clang_analyzer__=1");
		    PublicDefinitions.Add("AWS_DEEP_CHECKS=0");
		    PublicDefinitions.Add("AWS_USE_IO_COMPLETION_PORTS=1");
	    }
	    else if (Target.Platform == UnrealTargetPlatform.Win64)
	    {
		    PublicDefinitions.Add("__win64__config__");

		    List<string> Libs = new List<string>
		    {
			    "aws-c-auth.lib"
			    , "aws-c-cal.lib"
			    , "aws-c-common.lib"
			    , "aws-c-compression.lib"
			    , "aws-c-event-stream.lib"
			    , "aws-checksums.lib"
			    , "aws-c-http.lib"
			    , "aws-c-io.lib"
			    , "aws-c-mqtt.lib"
			    , "aws-crt-cpp.lib"
			    , "aws-c-s3.lib"
			    , "aws-c-sdkutils.lib"
			    , "aws-cpp-sdk-core.lib"
			    , "aws-cpp-sdk-cur.lib"
			    , "aws-cpp-sdk-config.lib"
			    , "aws-cpp-sdk-lambda.lib"
		    };

		    foreach (string lib in Libs)
		    {
			    PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "Win64", "x64", "Release", lib));
		    }

		    PublicSystemLibraries.AddRange(
			    new string[]
			    {
				    "Ncrypt.lib",
				    "BCrypt.lib",
				    "Crypt32.lib",
				    "Secur32.lib",
				    "Shlwapi.lib",
				    "Userenv.lib",
				    "version.lib",
				    "winhttp.lib",
				    "Ws2_32.lib"
			    });

		    // Add any macros that need to be set
		    PublicDefinitions.Add("__clang_analyzer__=0");
		    PublicDefinitions.Add("AWS_DEEP_CHECKS=0");
		    PublicDefinitions.Add("AWS_USE_IO_COMPLETION_PORTS=1");
	    }

        // Add any include paths for the plugin
        PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "include"));
    }
}

CMake seems to be producing some generated code, which the unreal utility can't handle, and I had to manually go to intermediate folder and manually copy if (before it got auto deleted).
Hope it will be helpful.

How to remove the P4 issue while building the AWS SDK Library


Make $FCT Verified

Description
Upgrading Asset to Verified

If upgrading an Asset to Verified, please see the requirements specified at LISTING, and ensure the following:

[x] Asset is defined thoroughly at the Cosmos Chain Registry.

[x] A meaningful description (and extended_description, unless classified as 'meme').
[x] Associated socials, including website and twitter.
[x] Logo Image has a square Aspect Ratio, < 250 KB file size, and appropriate visual contrast with Osmosis Zone colors.

[x] This pool contains contains at least $1k USD-worth of liquidity of the asset (Provide Pool ID): 1919 / 1920

'Verified' Status Validation Checklist (to be completed by Osmosis Zone maintainers):

[ ] Verify appearance and metadata
[ ] Accurate Price
[ ] Trading and routing functionality
[ ] Withdraw and Deposit

[ ] Deposit Transaction URL (if in-app)

Introduction of osmosis & kelplr & ibc

https://ibc-osmosis.firmachain.io/

relayer status

https://relayer.firmachain.dev/

update lcd rest api node address.


Ray 2.5.0 broke command-line support on Windows

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
After installing ray-default==2.5.0 from conda-forge, I cannot execute ray command, as it fails with a cryptic error message
Fatal error in launcher: Unable to create process using '"D:\bld\ray-packages_1687348866507\_h_env\python.exe"  "C:\mambaforge\envs\modin\Scripts\ray.exe"

(here C:\mambaforge\envs\modin is my conda environment, and I believe D:\bld corresponds to where it was built in the CI)
cc @krfricke @h-vetinari @aslonnie
Installed packages
ray-default               2.5.0           py310h5588dad_0    conda-forge

Environment info
active environment : modin
    active env location : C:\mambaforge\envs\modin
            shell level : 2
       user config file : C:\Users\Vass\.condarc
 populated config files : C:\mambaforge\.condarc
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.10.6.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\mambaforge  (writable)
      conda av data dir : C:\mambaforge\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\mambaforge\pkgs
                          C:\Users\Vass\.conda\pkgs
                          C:\Users\Vass\AppData\Local\conda\conda\pkgs
       envs directories : C:\mambaforge\envs
                          C:\Users\Vass\.conda\envs
                          C:\Users\Vass\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.10.6 Windows/10 Windows/10.0.22621
          administrator : False
             netrc file : None
           offline mode : False

ref: https://github.com/ray-project/ray/pull/36547

Wild guess - might be caused by https://github.com/conda-forge/ray-packages-feedstock/commit/d5fdaf4687402e9d29350470ed64193fcc728e74 (as this is the only meaningful change on how we build 2.4 vs 2.5, and on 2.4 it certainly works fine).
This issue also means we'd have to add a test running something like ray --help to this recipe.

fwiw, https://github.com/ray-project/ray/pull/36547 is not merged yet.

Fixed via #102.


leptonica: from 1.83.0 -> to 1.83.1

Description of changes

Things done

Built on platform(s)

[X ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Argh, I just missed the erroneous commit log. Next time I'll pay more attention.

Uu. Did I miss st to add correctly?

No, it should have been: leptonica: 1.83.0 -> 1.83.1

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tesseract-broken-due-to-leptopnica-open-issue/29829/3


[Bug] [Module Name] After the intent is recognized, call the AppLauncher to answer the question and an error is reported

Search before asking

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

Operating system information
Linux
Python version information
3.10
DB-GPT version
main
Related scenes

[ ] Chat Data
[ ] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
24GX4
Models information
Qwen2.5-32B
What happened
上下文修复后，在调用awel工作流时，进行到AppLauncher时，后台报错：
2024-12-20 18:22:44 amax dbgpt.agent.core.base_agent[3672381] ERROR Generate reply exception!
Traceback (most recent call last):
File "/home/xinrui24/DB-GPT/dbgpt/agent/core/base_agent.py", line 375, in generate_reply
thinking_messages, resource_info = await self._load_thinking_messages(
TypeError: StartAppAssistantAgent._load_thinking_messages() got an unexpected keyword argument 'historical_dialogues'

前端一直卡着不动

What you expected to happen
意图识别后，调用对应领域的app进行工作
How to reproduce
搭建包含意图识别的工作流，提问就好
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

awel

@yhjun1026

修后有个同类型的报错


[QUESTION] - Any ideas/opinions on making the output device pluggable (not hardcoded to Stdout)?

Hi, I was looking into using this library for a personal project, though my project uses stdout for data-processing purposes, so the UI cannot print to stdout. In those scenarios, library users can rely on /dev/tty or stderr as the output device on typical unix systems and maybe something else (stderr might work) on windows, I am not really sure how the native windows terminal is structured.
So far I have looked into a few options:

First, I looked into changing the signature of Component and Canvas but that seems like it would cause API breakage if there are any outside consumers and I'm really not good enough at working with generics or traits at the moment to get that working anyway so I gave up.

Another option is a build-time configuration, swapping between std::fs::File for /dev/tty or maybe any other terminal device, std::io::Stdout, and std::io::Stderr. That is really simple to implement and only requires changing a few imports and introducing some features for a proof-of-concept:

#[cfg(feature = "output-stdout")]
pub use std::io::Stdout as Output;
#[cfg(feature = "output-stderr")]
pub use std::io::Stderr as Output;
#[cfg(feature = "output-file")]
pub use std::fs::File as Output;
pub type Backend = CrosstermBackend<Output>;
pub type Canvas<'a> = Frame<'a, Backend>;

Would a change to make the library more flexible with respect to the output device be considered?

Hi,
sorry for the late answer, but I've been quite busy lately.
Using files makes no sense I guess, because anyway all ttys have stdout and stderr.
Regarding stderr:

Using generics would be painful, because would force you to specify the canvas type for each component, because the type of Canvas<T> must be known. So generics is a big no-no.
A feature would be ok for me, but are you sure this is going to work? I mean: if you print output to stdout and the interface to stderr, you're probably going to mix outputs anyway. I'm not 100% sure about that, have you already tested it? Feel free to for the project to make a test and get it back to me. I'm also not sure why you need to output to stdout if you have a tui.

Hi, I have tested that this will work. Stderr as one output option definitely
works for me, but of course any of these options depend on stdout being
redirected somewhere other than the controlling TTY and stderr being an alias
of the TTY, as well as stdin not being an alias of the TTY. In my project's
case, since stdout is the default output for the tool's data processing, and it
processes data from stdin, it only brings up the TUI when both stdin and stdout
are not a TTY and behaves as a "static" CLI tool when the environmental
requirements for an interactive TUI are not satisfied.
The reason for allowing a generic File as well is: what about the case when I
want to use stderr as a debug-logging output in addition to using stdout as the
data processing output? In that case, stdin, stdout, and stderr are all
disconnected from the TTY but there is nothing preventing a TUI from
functioning. Consider a shell invocation like this:
<producer-pipeline> | my-rust-tui-tool 2>logfile | <consumer-pipeline>

As long as nothing else in the producer/consumer segments of the processing
pipeline has its own TUI doing the same thing, we can use a regular file
pointer to /dev/tty -- at least on all the UNIX-like systems I have tested --
as the I/O device of the TUI. Interactive keyboard/mouse input also works as
long as we preserve the above preconditions that both both stdin and stdout are
not a TTY and probably that no other processes in the shell pipeline will
modify the TTY.
I have an incomplete but functional patch for tuirealm at
https://github.com/jyelloz/tui-realm/commit/0476a7e91d1d43cf4851280434e438a13beeb766
which has all the additional capabilities that I have mentioned.

Okay, got it. Feel free to open a PR, I'll merge asap 👍🏻


Add Fallback Cleanup

In some cases (like the recent ensure test) it failed to clean up resources after the test run. Fallback mechanism will remove all resources from the project that match test prefix and runID.
List calls to Meshes/TcpRoutes are fixed in https://github.com/GoogleCloudPlatform/k8s-cloud-provider/pull/226
Also, fixed some minor issues in tests.
Bug: b/352484069

Please let me know if you would prefer to gate this behavior behind a flag so it is used in CI only.
/cc @akwi-github
/assign @kl52752

/lgtm
/approve

/test all


Integrate with OpenTelemetry

https://opentelemetry.io/

Great work @aalmiray

The idea is to enable OTeL to provide tracing information similarly as it's done by https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/maven-extension/README.md
We may need to build this as an optional extension as OTeL increases significantly the number of dependencies. An explicit extension point must be created for this feature.
cc: @cjudd

Moved to https://github.com/jreleaser/jreleaser-opentelemetry-extension/


Dockerfile.web is broken

Dockerfile.web is broken. No way to build demo. I do not familiar with React and JavaScript, so I can't fix it. Dockerfile.web in ion-web-app is broken too

please move this issue to the ion-web-app repo


post dates are wrong

Seems like the "posted" date for posts is getting stuck on a single post's date rather than being applied individually; likely due to a difference in filename-driven date detection for data.page.date in newer versions of Eleventy.

https://github.com/haliphax/haliphax-dot-dev/commit/acc757abb21ec01c6fa462d2e6677e54c0907183


[WIP] fix: shorten email otp

What kind of change does this PR introduce?

Shortens email otp sent when the user requests for a confirmation, recovery, invite, email change, reauthentication and magic links
Email otps will now be sent with a fixed length of 10 and will only contain alphanumeric characters
Adds a partial unique index on the following db fields: confirmation_token, recovery_token, email_change_token_new, email_change_token_current, reauthentication_token

block on this for the time being because we need to run the migration to create the new indices concurrently which isn't supported by the current migration tool (soda)
will be swapping that out for sql-migrate

A typical user journey is to look at the OTP in phone while doing it in web/iPad. This is quite common to not context switch, as people are often comfortable checking email (like SMS) in phone.
On that note, can we have a consistent experience, where we do not assume that it will be copy pasted? Most providers do lowercase alphabets only, for example. Making them a multiple of 4 is also common for the same reason, it makes it possible to remember chunks and type it out.


service_install as submodule

We can use the http://cloud4rpi.io/service_install.sh URL to download the script using wget.
If anyone wants the script locally, he can clone with the --recursive flag or execute git submodule update --init afterwards

We decided to add a platform-dependent script to each repository with examples


"Click to orient" control mode doesn't work correctly on Penrose grid

          A related problem is that "click to orient" control mode doesn't work correctly on penrose grid.

Originally posted by @gereleth in https://github.com/gordonwoodhull/hexapipes/issues/2#issuecomment-1741701969

Should be the same root cause as #6 - looks like it is working correctly on its own, but not reflected in the display because the tile and dots are not rotated.

It's related to #2 but a bit more complicated. The guide dot in other grids relies on the rotation transform, but the Penrose grid doesn't use a rotation transform.
An easy solution would be to apply the tile + rotation transforms only to the dot. However, I think this would look funny because the dot would be squished, especially on the skinny rhombs. So the right way to do this is passing the rotations into getGuideDotPosition() like we are doing for getPipesPath(), and apply the tile transform to the coordinate using the transformation-matrix object on the polygon.

There is something else going on, because the tiles get colored as if rotation is working, but don't actually move.

Confusing!

Not seeing the previous behavior, but keeping previous comment in case it returns.
I'm currently seeing:

dot is not necessarily drawn at correct place initially
after clicking on dot, tile will orient to a place where the dot sort of makes sense (*)
after that, clicking clockwise will "wind up" the tile with positive rotations, consistent with moving the dot to that position
however, clicking counter-clockwise puts the tile into negative total rotations, and these only display correctly on the even negative numbers. on the odd negative numbers, they are displayed opposite
(*) the dot only sort of makes sense - it's on the correct side, but often displayed toward corner when it should be center, or vice versa

There's definitely something funky going on with directions because I see "connected" tiles having different colors like this:

This must mean that the displayed rotation does not correspond to connections state. It's confusing...
I had a hunch that click to orient mode was not aware enough of fix_rotation_offsets but I haven't found anything concrete yet.
Maybe you can remove this mode for the release milestone and work on it at the merge upstream stage)).

I think these are all caused by odd negative rotations being being drawn backward. If you spin it clockwise until tileState.data.rotations is positive, my hypothesis is that the colors will repair.
Yeah, I've considered disabling orient/lock for release. We'll see, I'm going to look a little more. This is the last remaining issue. 🥳

Okay, I fixed an array rotation bug causing the above backward/reversed tiles, and implemented the tile transform for the dot.
I'll open follow-up issues to implement this correctly for upstream.
I get residual vertigo if I look at the perspective on the dots, but I don't think it's too dangerous to ship.


update displaying problems

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.66.1
OS Version: Win 10 x64

Steps to Reproduce:

I had a similar problem, 2-3 weeks ago it was not there ... https://github.com/microsoft/vscode/issues/111443
The problem is that the highlighting of files that had errors does not update, and after editing these errors, the explorer does not update, although in fact there are no errors

Please advise what to do, I tried to search and did not find solutions

Explorer shows problems that are still listed on the Problems tab:

These problems are contributed by extensions, and it is the responsibility of the contributing extension to remove a problem from that tab when the problem no longer exists.
I suggest you raise the issue with the author of the extension from which the two problems on your Problems tab originated.

thanks, that's what I wanted to know

/causedByExtension


Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'on')

HELP PLS VUE 3

Also, mouse zoom doesn't work.

Did you manage to solve this problem?

I managed to get it working by modifying the source, see if maybe this helps: #43