Thanos Multi-cluster deployment

Describe the bug
So I'm following this: https://banzaicloud.com/docs/one-eye/thanos-operator/quickstarts/multicluster/ on a multi-namespace cluster
I would expect to see on the peer side 3 pods (or at least 3 containers):
Query, Rule and StoreAPI gateway to collect metrics from object storage
Although only 1 pod is set up with 1 container, for the query deployment
Using this with Prometheus operator and Prometheus sidecars, what I get is that the data is indeed uploaded to an object storage,
but I can query only the data of the Prometheus (that is shipped from the sidecar)
Steps to reproduce the issue:
Really just copy these YAMLs https://banzaicloud.com/docs/one-eye/thanos-operator/quickstarts/multicluster/
Expected behavior
Have a complete set-up of Query, Ruler and StoreAPI gateway

Well, apparently I had to allow it to access my Grafana resources to make it work.
Any chance to fix that? This is really bad. GrafanaDatasource is completely unrelated and I should be able to choose not to reconcile it by the operator.


PhotoView Screensaver only accesses small subset of photos in Google Photos

I absolutely love PhotoView and think it serves a huge need on the Screensaver option (when serving up random photos from Google Photos). The only problem is that it accesses only a very small subset of photos (50? 100?), when I have a couple thousand photos. In addition, it accesses archived photos as well, would be nice if it skipped these.
I work at Google and may join the Photos team just to make this happen...because I've yet to see ANY application that simply serves up thousands of random photos as part of a screensaver offering.
If you could fix these two issues it would be revolutionary (the first is by far the highest priority):

Make PhotoView randomly access ALL photos in Google Photos...not just a subset
Make PhotoView access only the non-archived photos (or make this an on/off option if you want to give the user the choice).

Thanks!!
Bruce Alder

You can now set it to view an album. I have this set up and add the photos that I want displayed. However I only have 125 or so in there at he moment. Are you saying that if you have thousands of photos in there that it only shows a subset of them?

@brucealder glad you like the app, thanks for the feedback. If you work at Google, maybe you can help drive the Photos team to improve their API abilities. ;-)   Shared album support, +11,000 image pulling are the two short comings I commonly hear.
On your points:
1.) If no albums are selected for screensaver, it'll randomly pull 5 albums + timeline album. Each one is limited to first 1000 items. >1000 items requires an additional API call which I have plans to build in, but haven't yet. Once the Screensaver starts, it doesn't make additional API calls. This was mostly to respect load on the API, but seems many folks are wanting this.
2.) Are the Archived photos it's showing part of an albums? Archiving only applies to the "Google Timeline Album". This code should prevent archived images showing when pulling from the primary album. I'll have to test that out some more.

Hey Chris,
Great to hear from you...I've seriously looked for years for a screensaver
like PhotoView and as we just replaced our Android Player with a Roku, I
found it with PhotoView (originally I went to great lengths to side load
APKs on the Android Player in an effort to get the functionality that
PhotoView provides).
Per your points:
1a) On the number of albums, I need to pay closer attention to which albums
it's pulling (never set one), but that it would be pulling from 5 different
albums seems to match what I'm seeing.
1b) Should it really be pulling up to 6000 photos (1000 each from the
timeline album and the 5 additional albums)? That's a great capability. If
it's truly pulling 1000 items per album that seems like a lot more than I'm
actually seeing...I would have guessed it was pulling maybe ~100...or even
~50, I'll need to pay closer attention. If you are able to make changes
that enable it to pull more than 1000 photos that would be
fantastic...thanks in advance for considering this.
2) You're right, the archiving was done in the Timeline album...AND the
photos are part of a separate album. If you implement the logic to skip
archived photos in the Timeline album then, to take full advantage of this,
I'll ensure that the album with the archived photos is not selected as
part of screensaver.
On the Google Photos group front, I can definitely pass along Feature
Requests if you provide more details (assuming you haven't already
submitted these to the team)...it sounds like you have two:

Shared Album Support - I'm not sure on the specifics behind this, but
it sounds like it would have some strong potential (especially if folks
could post to a shared album and these would get picked up real time by
PhotoView screensaver)

11,000 image pulling - this would be huge...especially when you
extend the API call to pull more than 1000 photos. If you want to provide
details I can pass them along.

For reference, my personal email is<EMAIL_ADDRESS>Btw, the Photos team is hiring (one of my employees interviewed, but it
wasn't a good match)...have you considered working at Google?
Bruce
On Sat, Mar 31, 2018 at 12:52 PM, Chris Taylor<EMAIL_ADDRESS>wrote:

@brucealder https://github.com/brucealder glad you like the app, thanks
for the feedback. If you work at Google, maybe you can help drive the
Photos team to improve their API abilities. ;-) Shared album support,
+11,000 image pulling are the two short comings I commonly hear.
On your points:
1.) If no albums are selected for screensaver, it'll randomly pull 5
albums + timeline album. Each one is limited to first 1000 items. >1000
items requires an additional API call which I have plans to build in, but
haven't yet. Once the Screensaver starts, it doesn't make additional API
calls. This was mostly to respect load on the API, but seems many folks are
wanting this.
2.) Are the Archived photos it's showing part of an albums? Archiving only
applies to the "Google Timeline Album". This code
https://github.com/chtaylo2/Roku-GooglePhotos/blob/master/components/Slideshow/SlideshowHelper.brs#L168-L170
should prevent archived images showing when pulling from the primary album.
I'll have to test that out some more.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chtaylo2/Roku-GooglePhotos/issues/111#issuecomment-377718780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXcbsxxe1NpBS-BUQuVeUdTMWvXImmwcks5tj95wgaJpZM4TCjmE
.

@arnold, Yes, you nailed it...I have thousands and it seems to pull ~50, or
maybe ~100 from several albums. I haven't specified an album, though, so
I'll play with that and see if it improves things.
Per Chris' post, it should pull 1000 per album (I would have guessed 50 to
100), so I need to pay close attention and confirm this.
On Sat, Mar 31, 2018 at 11:34 AM, Arnold Smyth<EMAIL_ADDRESS>wrote:

You can now set it to view an album. I have this set up and add the photos
that I want displayed. However I only have 125 or so in there at he moment.
Are you saying that if you have thousands of photos in there that it only
shows a subset of them?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chtaylo2/Roku-GooglePhotos/issues/111#issuecomment-377713843,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXcbs_GnaKnSl8E_yWmXeNUqAnZb1OT0ks5tj8xTgaJpZM4TCjmE
.

I've spent a bunch of time confirming that it pulls only first 1,000.  The workaround--putting photos in separate albums (and then selecting those albums)--is cumbersome but works well. An unfortunate limitation but still absolutely the best of many screensavers/slideshows I've tried on Roku.

@johnsko - agreed completely, this is by far the best screensaver I've seen anywhere...even outside Roku
@chtaylo2 - I've created 5 albums with ~1000 photos each and it's working perfectly...no problems whatsoever...thanks for the great product. If you add an additional API call and can get more than 1000 photos please let us know, would love to use that option. Random question, would it be technically feasible to include videos in the albums and have the screensaver actually play those as it works it's way through the many photos? Thanks again...

@brucealder / @johnsko - Agreed, the 1,000 limitation is on the Google API side per album. I could look at adding additional calls where total album count > 1000, but it's not there today. It does do this when viewing albums in the app w/ the use of paging feature. Selecting Page 1 - Page 11.

@chtaylo2 Have you been able to look at adding additional calls where total album count > 1000?  This would be a great benefit over the other aps available.
Thanks!

Just wanted to say that this is a great project and product.  I love being able to add photos to my 'Screensaver' album and have them appear on the TV; I use the same album for digital photo frames and my phones screensaver.  I love having them all in sync.  My wife adds photos to the album too, but they're not displayed, would really like Shared album support, as others have mentioned.  I understand that it may be hard; google photos screensaver on android doesn't even do it.
Thanks for the hard work.

Wonderful screensaver!
I can't find where to select the albums I wish to have images drawn from. Would someone please direct me?

Hello all,
Could someone please guide me how to select a particular album for screensaver. I have my google account linked but it seems to be getting photos from all 25 albums instead of the 1 I want it to select from.
Thank You


feat(org): keybinds for removing RESULTS blocks

Added new keybinds for easy removal of RESULTS blocks in org-mode.


question: add passkey support

A clear and concise description of what you want to accomplish.

Passkeys are coming . Microsoft, google and Apple are all working on it and it’s now in iOS and Mac
it would be cool if this can be supported. WebAuthn is already and so adding passkeys is likely to be the next step as passkeys are part of WebAuthn.
i found this example in golang .
https://github.com/orgs/teamhanko/repositories
it might be a good resource and so posting it here if anyone else is interested

@gedw99 , this is a long shot for now. I don’t have much time to invest in the research.

no worries.
I got it working as a hacky prototype. I hope to publish this so it can be a plugin for caddy security stuff your doing.

The passkey should now work out of the box.
https://www.youtube.com/watch?v=6BWPu7127Bw

An End User would find that daunting to use IMHO.. Know what I mean ?

@gedw99 , not really. I onboarded passkeys from my iphone, ipad, windows hello and doing just fine. The key is onboarding app token first.

There is no way a user could do it imho .

@gedw99 , it is not geared towards ecommerce shopping cart solution.


plugin-css requires a fresh builder instance each time

Hi Guy.  I'm seeing what I think is a bug.  Essentially, the plugin-css requires a fresh builder instance each time. If you create bundles with css dependencies on the same builder instance, some lines seem to get crossed, and css ends up in incorrect places.
Specifically, consider
for (let name of namesToOptimize) {
    let builder = new Builder('../' + baseDirectory);
    builder.config(configToUse);

with calls to
await builder
          .bundle(`${name}`, outputPath, configToUse)
          .then(result => {

below, inside the loop body.  If I move
let builder = new Builder('../' + baseDirectory);
builder.config(configToUse);

above the for loop, the problems described above surface.
Is this expected behavior?  Do you need me to repro this somewhere in GitHub?

There may well be bugs with running multiple builds at the same time as the individual plugin instance is designed to work against a single build.
We may need some way to key the build instance itself in the internal plugin cache layer here.

Simpler solution might be to just error out if the plugin is run more than once on the same builder instance.

The issue shouldn't actually be the instance, but rather having multiple builds running at the same time?
Or even with waiting for the build to complete are you getting issues using the same builder instance?

I just checked - every call to bundle is indeed preceded by await so I think there should never have been more than one running at the same time.

I've done some further testing and can confirm this is entirely to do with parallel builds not being supported.
I think I have some ideas going forward, but it will require some changes to the builder API so don't want to rush this.

This tool is pretty outstanding as is.  Preventing parallel builds is easy with the simplest of helper methods - the best work to reward ratio may be to just error out on parallel build attempt.  My $0.02 :)

Thanks, unfortunately the detection problem is just as hard though!

I've included a fix for this in https://github.com/systemjs/plugin-css/commit/6be8e6467acab811bb9fbceaf598a18ffa5f8b2d, although there may still be some race conditions remaining. Let me know if it helps though!

Sure - thanks much!


Rename AddressBook to EventTory

Resolves #140
Changes
Renamed address book to EventTory where applicable. This absolutely sucked to do.
Note
The occurrences of address book in DeveloperGuide.md and other similar files were not touched.

It never ends...
Hopefully these are the last of them


Edits needed to the Dockerfile

Hi, amazing work. Thanks for this!
The container fails to build when running the build.sh script, with the following error:
Step 35/43 : COPY ./nvdiffrast/docker/10_nvidia.json /usr/share/glvnd/egl_vendor.d/10_nvidia.json
COPY failed: file not found in build context or excluded by .dockerignore: stat nvdiffrast/docker/10_nvidia.json: file does not exist

Following actions fix the build:

Copying the folder nvdiffrast to the build folder:

cd docker
cp -r ../3rd_party/nvdiffrast/ .

Adding minor changes to the docker/Dockerfile:

# install nvdiffrast
COPY docker/nvdiffrast/docker/10_nvidia.json /usr/share/glvnd/egl_vendor.d/10_nvidia.json

RUN pip install --upgrade pip
RUN pip install imageio imageio-ffmpeg

COPY docker/nvdiffrast/nvdiffrast /tmp/nvdiffrast/
COPY docker/nvdiffrast/README.md docker/nvdiffrast/setup.py /tmp/
RUN cd /tmp && pip install .

Hi!
Thanks for your detailed comments on fixing the docker file. However, I am unable to reproduce the error. The paths to 10_nvidia.json in the error message and in the dockerfile are different:
https://github.com/david-svitov/HAHA/blob/42bd784670eb6a9f1c74c1fef5c8a2532174f8b2/docker/Dockerfile#L109
Could you provide more details? Have you changed the dockerfile?

Updated the error message that occurs when running the build.sh script (without altering the Dockerfile). As the message suggest, the error seems to occur because 10_nvidia.json is not in the build context.

This is strange. I see this file in the nvdiffrast repository, it shouldn't cause an error.
I'll leave this issue open. If anyone has the same problem, please comment.

hello @david-svitov.
I has same problem.
Step 35/43 : COPY ../3rd_party/nvdiffrast/docker/10_nvidia.json /usr/share/glvnd/egl_vendor.d/10_nvidia.json
solved problem with @xxl007's solution.
thanks for your great works


Setting manager Question / Issue

Not sure if intended, but this code
SettingManager.GetSettingValueForTenant(settingName,TenantId);
Should not return a value if empty / non existent even if defined on the host.  As it is right now, it returns the application / host value if the tenant is not defined.

It's intended. It returns default value, overrided by application, overrided by the tenant if exists.

Would it be possible to look into having the GetSettingValueForX return either that setting or null?  And have the GetSettingValue get the setting based on default value, app, tenant, user?

GetSettingValue does it, but what if you need to tenant's CURRENT value? GetSettingValue always overrides by user value.
Most of the time you don't need to tenant's database value since it's not the used value. Are you doing something different?

I am storing AD/LDAP connection info that is per tenant / host.  The host will be connecting to a different AD/LDAP directory while each tenant has their own.  Right now I am trying to figure out the best way to store that data so the tenants cannot see the host AD/LDAP connection info.  As is right now, I am running into the issue with unconfigured tenants being able to see / use the host AD/LDAP string.
This is for full AD management not just logins.

So, you want that tenant setting should not inherit host setting? So, why don't you use isInherited = false while defining this setting?

I glossed over the isInherited flag, thank you for pointing that out since it does what I need it to do.


How to paginate Organizations:ListAccountsForParent?

Moto3 doesn't yet paginate the response from Organizations list_accounts_for_parent.
I need to paginate this API in my application and I'd like to test it with moto.
I tried to implement it myself by adapting the changes for the list_accounts API made recently in #4951.
My implmenetation is failing to iterate beyond the first page.
Below I've included a Pytest suite with my implementation and some tests.
I expect all the tests to pass.
Instead test_with_pagination_list_paginator_all_pages_have_1_account fails with the following error:
botocore.exceptions.ClientError: An error occurred (InvalidToken) when calling the ListAccountsForParent operation: Invalid Token: Input inconsistent with page token: {'parameterChecksum': -953616664862312029, 'uniqueAttributes': '1650119718.751258'}
What's missing to make this work?

For whatever reason I can't pass the complete request_params to the model method.
Instead I need to parse out just the ParentId and pass it as a named parameter.
        parent_id = self._get_param("ParentId")
        accounts, next_token = self.organizations_backend.list_accounts_for_parent(
            max_results=max_results, next_token=next_token, ParentId=parent_id
        )

With that modification, all the tests pass.
Does this look like the right way to implement such a feature?
I'd prefer to include this feature in moto proper instead of in such a complicated fixture in my application's test suite.

Hi @iainelder, welcome to Moto! That looks like the right way to implement this, yes - a PR would be very welcome :+1:

Thanks, @bblommers ! I really appreciate the work you are doing with Moto. I'll review the developer documentation and have a proper go at this over the next few days.

Looks like there was some miscommunication here - I hope that the current implementation doesn't cause too much pain when merging, @iainelder.
Let me know if you need any help with the typing - if you want to open a draft PR, I'd be happy to have a look/contribute.

Apologies, @iainelder.  I was doing pagination for another Organizations action and thought I'd do this one too while I was at it.  Didn't mean to step on any toes!

@bpandola , no problem, thanks for keeping the momentum going! I had let this one slip because I was exploring how to add type annotatations as @bblommers mentioned.
@bblommers, thanks for the reminder about that. I've been away from the keyboard for a while, but now that I'm back I'll try to get a draft PR together for the type annotations. There are some tricky problems to solve there :-)


Whole set processing

Tapping "select images" does nothing when attempting to complete whole image processing in experiment> select images> "process whole set" (selected).

#384 closes this


Support for duplication Sections/Keys

Hi,
I have a file seems like:
[Section]
  Key = value1
  Key = value2

Currently iniparser loads only last value. I suggest to load it as list, like:
[Section:Key]=[value1;value2]

Another solution, append non-unique Keys with index value and extend API to inform how many keys with given name is present:
[Section:Key:0]=[value1]
[Section:Key:1]=[value2]
or (to avoid conflict with real names)
[Section:Key][0]=[value1]
[Section:Key][1]=[value2]

and
// key: section:key
int iniparser_getnkeys(const dictionary * dict, const char * key);

usage:
int n1 = iniparser_getnkeys(dict, "Section:Key");
// n1 == 2

after that key definition can be extended like:
section:key[index]

Access without index pointing should be refer to zero element. Also, it will be good, that zero element will be accessible for unique keys too.

After checking with @ndevilla I will close this issue.
iniparser supports  having one property with a given name in a section. Support for multiple properties with the same name as requested here is not planned to be supported.

I have a file seems like:
[Section]
  Key = value1
  Key = value2

Currently iniparser loads only last value.

I can confirm this behaviour.
Quoting @ndevilla :

In general we try not to change the API nor the library behaviour.


Pool finder issue when filtering pools

root        : INFO     Filtering contract 20124 of 20127
root        : INFO     Filtering contract 20125 of 20127
root        : INFO     Filtering contract 20126 of 20127
root        : INFO     Filtering contract 0 of 2237
root        : INFO     Filtering contract 1 of 2237
root        : INFO     Filtering contract 2 of 2237
root        : INFO     Filtering contract 3 of 2237
root        : INFO     Filtering contract 4 of 2237
root        : INFO     Filtering contract 5 of 2237
root        : INFO     Filtering contract 6 of 2237
root        : INFO     Filtering contract 7 of 2237
root        : INFO     Filtering contract 8 of 2237
root        : INFO     Filtering contract 9 of 2237
root        : INFO     Filtering contract 10 of 2237
root        : INFO     Filtering contract 11 of 2237
root        : INFO     Filtering contract 12 of 2237
Traceback (most recent call last):
File "/home/owodunni/.local/venv/bin/Arbie", line 8, in
sys.exit(main())
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/main.py", line 41, in main
app.run()
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/arbie.py", line 30, in run
self.action_tree.run()
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/Actions/action_tree.py", line 47, in run
action.on_next(data)
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/Actions/pool_finder.py", line 87, in on_next
) + create_and_filter_pools(balancer_pools, tokens)
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/Actions/pool_finder.py", line 49, in create_and_filter_pools
pool = contract.create_pool()
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/Contracts/pool_contract.py", line 29, in create_pool
return Pool(tokens, balances, self.get_weights(), self.get_fee())
File "/home/owodunni/.local/venv/lib/python3.8/site-packages/Arbie/Variables/pool.py", line 39, in init
raise ValueError("Weights are not normalized")
ValueError: Weights are not normalized
(venv) [arbie]

More errors:
ot        : INFO     Filtering contract 1896 of 2246
root        : INFO     Filtering contract 1897 of 2246
root        : WARNING  Failed to create pool, bad pool. Pool: <bound method Contract.get_address of <Arbie.Contracts.balancer.BalancerPool object at 0x7ff1a53e70a0>>, weights 0.9999999999999999 != 1
root        : INFO     Filtering contract 1898 of 2246
root        : WARNING  Failed to create pool, bad pool. Pool: <bound method Contract.get_address of <Arbie.Contracts.balancer.BalancerPool object at 0x7ff1a53aab80>>, weights 1.0000000000000002 != 1
root        : INFO     Filtering contract 1899 of 2246
root        : INFO     Filtering contract 1900 of 2246
root        : INFO     Filtering contract 1901 of 2246

Failed to serialize store:
root        : WARNING  Failed to create pool, bad pool. Pool: <bound method Contract.get_address of <Arbie.Contracts.balancer.BalancerPool object at 0x7ff19be7f250>>, has insufficient tokens: 1
root        : INFO     Filtering contract 2244 of 2246
root        : INFO     Filtering contract 2245 of 2246
Traceback (most recent call last):
  File "/home/owodunni/.local/venv/bin/Arbie", line 11, in <module>
    load_entry_point('Arbie', 'console_scripts', 'Arbie')()
  File "/home/owodunni/Prog/arbie/Arbie/__main__.py", line 41, in main
    app.run()
  File "/home/owodunni/Prog/arbie/Arbie/arbie.py", line 33, in run
    pickle.dump(self.store, open(path, "wb"))
AttributeError: Can't pickle local object 'construct_web3_formatting_middleware.<locals>.formatter_middleware'


Update Drupal.php

Add check for Drupal 6.xx: /sites/all/README.txt

Interesting, I didn't know that this file exists. Merged, and thanks!

good workreally helpful


The protocols used is insecure

Can the client use only the most secure protocols?
https://github.com/firebase/firebase-ios-sdk/blob/902adf8b5bfd9c0b4032b155f083a8666dedf81e/FirebaseInstallations/Source/Library/InstallationsAPI/FIRInstallationsAPIService.m#L72

Hi @limyeewee, it seems like your issue is related to #5594.


Run CI build just on the changed ports of a PR

homebrew builds the just changed formulas when someone touches them on a PR with this magic, that perhaps could be done on vcpkg also in order to have more reliable ports on repository.

The current CI system addresses this problem.


clock: "bad dow name: il"

On my system currently (FreeBSD/Sway), the clock on Waybar is completely empty. When i run waybar in the console, I get the following output:
[2024-09-06 20:35:13.545] [info] Using configuration file /home/basil/.config/waybar/config.jsonc
[2024-09-06 20:35:13.547] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[2024-09-06 20:35:13.553] [info] Using CSS file /home/basil/.config/waybar/style.css
[2024-09-06 20:35:13.559] [warning] Mapping is not an object
[2024-09-06 20:35:13.560] [warning] Unable to connect to the SYSTEM Bus!...
[2024-09-06 20:35:13.563] [warning] module network: Unknown module: network
		#STDOFF	2:05:08.9
		#STDOFF	8:05:43.2
		#STDOFF	7:36:41.7
		#STDOFF	-0:25:21.1
		#STDOFF	1:39:49.2
		#STDOFF	-0:36:44.68
		#STDOFF	-4:56:01.6
Rule	Mexico	1931	only	-	April	30	0:00	1:00	D
Mexico         1931    1931    Jan/01                  00:00:00       00:00:00
[2024-09-06 20:35:13.920] [error] clock: oops: bad dow name: il
[2024-09-06 20:35:13.921] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1

I've tried switching to the default configuration, and this happens there as well. My timezone according to /etc/localtime is America/Chicago.

Hello, same here when running waybar,
My system:
FreeBSD truecluster 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:26:20 UTC 2024     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
The log:
       	        #STDOFF	2:05:08.9
		#STDOFF	8:05:43.2
		#STDOFF	7:36:41.7
		#STDOFF	-0:25:21.1
		#STDOFF	1:39:49.2
		#STDOFF	-0:36:44.68
		#STDOFF	-4:56:01.6
Rule	Mexico	1931	only	-	April	30	0:00	1:00	D
Mexico         1931    1931    Jan/01                  00:00:00       00:00:00
[2024-09-07 20:13:15.496] [error] clock: oops: bad dow name: il

I'm getting the exact same error on FreeBSD version 14.1-Release. My locale is set to "C.UTF-8". Changing the language/country code from "C" to "en_US" does not help.

I think this issue is related to this other one: https://github.com/HowardHinnant/date/issues/836 .
Editing the file nortamerica as indicated solves the problem in my case (FreeBSD-14.1.0).

@nivit amazing, this fixed it. Thanks for pointing that out. I guess all there is to do now is wait for an update to the date package with a permanent fix in it.

I had exact the same issue under FreeBSD and could solved it with the hint by @nivit .
Amazing for me is, that I have to maintain the file northamerica within the folder tzdata which is located in my downloads folder. Why is tzdata to find in my downloads folder and not in a system environment?
By the way I have a German localization, to maintain the file northamerica makes no sense for me.
Or has anyony a hint for me?


Can only get response body on requests captured after headers received.

UnhandledPromiseRejectionWarning: Error: Protocol error (Fetch.getResponseBody): Can only get response body on requests captured after headers received.
First thing I tried to do after installing hackium.
node@12
> page.goto('https://google.com')
Promise { <pending> }
> (node:41808) UnhandledPromiseRejectionWarning: Error: Protocol error (Fetch.getResponseBody): Can only get response body on requests captured after headers received.
    at /usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:63
    at new Promise (<anonymous>)
    at CDPSession.send (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:207:16)
    at /usr/local/lib/node_modules/hackium/node_modules/puppeteer-interceptor/dist/src/index.js:71:55
    at /usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:47:62
    at Array.map (<anonymous>)
    at Object.emit (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/vendor/mitt/src/index.js:47:43)
    at CDPSession.emit (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/EventEmitter.js:72:22)
    at CDPSession._onMessage (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:225:18)
    at Connection._onMessage (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:101:25)
(node:41808) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
(node:41808) UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded
    at /usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/LifecycleWatcher.js:106:111
    at async FrameManager.navigateFrame (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:88:21)
    at async Frame.goto (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:405:16)
    at async HackiumPage.goto (/usr/local/lib/node_modules/hackium/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:826:16)
(node:41808) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)

Using default interceptor script with type changed to Document
Also does the same thing with requestType === 'Script'
☁  hackium  cat interceptor.js
// ResourceType
// Document, Stylesheet, Image, Media, Font, Script, TextTrack, XHR, Fetch, EventSource, WebSocket, Manifest, SignedExchange, Ping, CSPViolationReport, Other

exports.intercept = [
  {
    urlPattern: '*',
    resourceType: 'Document',
    requestStage: 'Response'
  }
];

exports.interceptor = async function (browser, interception, debug) {
  const { request, response } = interception;
  debug(`Intercepted: ${request.url}`);
  response.body += `\n;console.log('(Hackium v${await browser.version()}): intercepted and modified ${request.url}');\n`
  return response;
}

Filing because I didn't find a related issue

I can't reproduce this on osx 10.15.5, node v12.18.3, and hackium v1.0.9. What operating system are you using?
Can you run hackium with debug logging on and paste the output here?
$ DEBUG=hackium* hackium


Update breaking-changes.md

😄 I had a few sentences like that, but decided to remove them. Will add them back.


[fixed] mouse up event on overlay triggered the closing of the modal

Fixes #633
The code that should prevent the closing the modal by moving from content to the overlay was actually closing the modal `onMouseUp. By removing that part the modal only closes on an click  outside the boundaries of the content.
Changes proposed:

Removing the onMouseUp event on the overlay element
Removing the moveFromContentToOverlay variable from ModalPortal

Acceptance Checklist:

[x] All commits have been squashed to one.
[x] The commit message follows the guidelines in CONTRIBUTING.md.
[ ] Documentation (README.md) and examples have been updated as needed.
[ ] If this is a code change, a spec testing the functionality has been added.
[ ] If the commit message has [changed] or [removed], there is an upgrade path above.

Coverage decreased (-0.006%) to 87.179% when pulling 4cd86b3462011c69317835087fb1bfe17ccf78e2 on WemkoDijkhuis:overlay-mouseup-event-fix into fa870464786d40835be7901f8ed6ca11be621e62 on reactjs:master.

Do I need to check the acceptance criteria self or does the maintainer do that?

@WemkoDijkhuis Looks good. Thank you.


Add support for lockup txn construction in deso-js

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #27

PR #28

PR #29

PR #30

PR #31   👈

This stack of pull requests is managed by Graphite.


Exception = {"(expectedDataLength = 9216000) != (pixels.length = 18432000)"}

I'm getting the above error when using the source package hosted here, or NuGet package 1.0.0. This is for every image.

FileOpenPicker fileOpenPicker = new FileOpenPicker();
fileOpenPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
fileOpenPicker.FileTypeFilter.Add(".jpg");
fileOpenPicker.ViewMode = PickerViewMode.Thumbnail;

        var inputFile = await fileOpenPicker.PickSingleFileAsync();

        if (inputFile == null)
        {
            // The user cancelled the picking operation
            return;
        }

        SoftwareBitmap softwareBitmap;

        using (IRandomAccessStream stream = await inputFile.OpenAsync(FileAccessMode.Read))
        {
            // Create the decoder from the stream
            BitmapDecoder decoder = await BitmapDecoder.CreateAsync(stream);

            // Get the SoftwareBitmap representation of the file
            softwareBitmap = await decoder.GetSoftwareBitmapAsync();

            var colorThief = new ColorThief.ColorThief();
            List<QuantizedColor> colors = await colorThief.GetPalette(decoder, 8);

}

Hello!
Thank you for your interest, but I do not think that the library is working steadily for UWP, now there is a problem with the conversion of images into an array of bytes.
perhaps you could help the project?

@Niels9001 I think that'll fix it soon

@niels9001 Hi, please check new version from NuGet

@KSemenenko If I load the NuGet I'm still getting: https://github.com/KSemenenko/ColorThief/issues/3
Have you changed the code on this GitHub as well? I'll just load in that code to see if it works!

Now should work :)

It seems to work now :)!
Found the solution for Issue #3 as well: the default NuGet package (Microsoft.NETCore.UniversalWindowsPlatform) had to be upgraded to the latest version (5.2.2) as well!
Thanks!!!


[Mapping] Nukie base chemvend is locked to chem access

Description

Not a huge issue since they can hack anyway but it's a little silly.
Simply removing the access reader from the mapped one should be fine if the map can be saved like that.

mapped entities have removedcomponents iirc so should be possible


Add support for mirroring changes to the Metering bundle manifests

Changes:

Update the build_root container image that is used to run checks in CI. The opm binary is used to keep the OLM manifests stored in the package manifest format in line with the new bundle packaging format.
Update the Makefile to expose the current release of Metering. This so far is only used in one place, but introducing this variable can be propagated to the other various hack scripts used throughout metering.
Update the hack/generate-metering-manifests.sh bash script to mirror any changes made to the manifests/deploy/openshift/olm/bundle/<version> to the olm_deploy/bundle artifacts. The former is used downstream by ART to build the operator and the latter is used by CI to generate a bundle (and an index image containing that bundle image) for the operator that gets deployed at runtime.

Manifests stored in the olm_deploy/bundle directory were regenerated by running the following command:
$ make metering-manifests

Ah right, I forgot making changes to the build_root Dockerfile needs to be merged in master before you can get those images working. I'll move that change outside of this PR and force-merge that.

/retest


Can I move an item at the first of an array?

I found insertAfter and moveBefore at https://github.com/yorkie-team/yorkie-js-sdk/blob/master/src/document/proxy/array_proxy.ts
But I can't figure out how to put an item in front of an array. Do I have to get the first item and use it as an argument of moveBofore?

Thanks for the good comment.
Currently, we do not implement the method corresponding to the function you are talking about. I think it's good to add it.


testing + generics: issue with tRunner when running a generic

What version of Go are you using (go version)?

go version go1.18 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/mier85/.cache/go-build"
GOENV="/home/mier85/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/mier85/go/pkg/mod"
GONOPROXY=
GONOSUMDB=
GOOS="linux"
GOPATH="/home/mier85/go"
GOPRIVATE=
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2488678595=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://go.dev/play/p/ys1JxRrYwce
What did you expect to see?

=== RUN   TestRunner
=== RUN   TestRunner/#00
[]string{"blubb"}--- PASS: TestRunner (0.00s)
    --- PASS: TestRunner/#00 (0.00s)
PASS

What did you see instead?

=== RUN   TestRunner
=== RUN   TestRunner/#00
--- FAIL: TestRunner (0.00s)
    --- FAIL: TestRunner/#00 (0.00s)
panic: runtime error: makeslice: cap out of range [recovered]
	panic: runtime error: makeslice: cap out of range

goroutine 19 [running]:
testing.tRunner.func1.2({0x4bf6a0, 0x4f7f00})
	/usr/local/go-faketime/src/testing/testing.go:1389 +0x24e
testing.tRunner.func1()
	/usr/local/go-faketime/src/testing/testing.go:1392 +0x39f
panic({0x4bf6a0, 0x4f7f00})
	/usr/local/go-faketime/src/runtime/panic.go:838 +0x207
strconv.appendQuotedWith({0xc0000a2c98, 0x0, 0x45b5d9?}, {0x2e676e6974736574, 0x72656e6e755274}, 0x22, 0x85?, 0x50?)
	/usr/local/go-faketime/src/strconv/quote.go:35 +0x86
strconv.AppendQuote(...)
	/usr/local/go-faketime/src/strconv/quote.go:135
fmt.(*fmt).fmtQ(0xc0000a2c70, {0x2e676e6974736574, 0x4bba80?})
	/usr/local/go-faketime/src/fmt/format.go:457 +0xe8
fmt.(*pp).fmtString(0x4bba80?, {0x2e676e6974736574?, 0x0?}, 0x0?)
	/usr/local/go-faketime/src/fmt/print.go:441 +0x7b
fmt.(*pp).printValue(0xc0000a2c30, {0x4bba80?, 0x508561?, 0x0?}, 0x76, 0x1)
	/usr/local/go-faketime/src/fmt/print.go:757 +0xf32
fmt.(*pp).printValue(0xc0000a2c30, {0x4ba400?, 0xc0000ac0a8?, 0x4aba33?}, 0x76, 0x0)
	/usr/local/go-faketime/src/fmt/print.go:856 +0x1615
fmt.(*pp).printArg(0xc0000a2c30, {0x4ba400?, 0xc0000ac0a8}, 0x76)
	/usr/local/go-faketime/src/fmt/print.go:712 +0x74c
fmt.(*pp).doPrintf(0xc0000a2c30, {0x4d2be5, 0x3}, {0xc000093f08?, 0x1, 0x1})
	/usr/local/go-faketime/src/fmt/print.go:1026 +0x288
fmt.Fprintf({0x4f8308, 0xc0000b2008}, {0x4d2be5, 0x3}, {0xc000038708, 0x1, 0x1})
	/usr/local/go-faketime/src/fmt/print.go:204 +0x75
fmt.Printf(...)
	/usr/local/go-faketime/src/fmt/print.go:213
main.Fixture.Run(...)
	/tmp/sandbox3516507230/prog.go:34
testing.tRunner(0xc000083040, 0xc0000ac078)
	/usr/local/go-faketime/src/testing/testing.go:1439 +0x102
created by testing.(*T).Run
	/usr/local/go-faketime/src/testing/testing.go:1486 +0x35f

This test works on tip, fails on Go 1.18 branch.  A git bisect suggests that it was fixed by https://go.dev/cl/395594 which reverted https://go.dev/cl/378178.  I'm not sure whether we should backport 395594 to the 1.18 branch.
CC @randall77

cc @mdempsky @randall77

Any updates on this issue? @randall77

CL 395594 doesn't apply cleanly to the 1.18  branch, but the edit is small. I made https://go-review.googlesource.com/c/go/+/411120 ,  which does seem to fix the issue.
@randall77 what do you think? Should we backport the reverting CL? Thanks.

I think we are still unclear what the best fix it. Also, as we discussed in https://github.com/golang/go/issues/53852#issuecomment-1184912669 , we will stop backporting non-revert generics issues to 1.18, so we don't destabilize Go 1.18. Maybe we don't backport this one?

We've discussed this backport request. It was found that backporting individual CLs for generic fixes can cause destabilization and create new issues, so because of that risk we're not going to accept this backport candidate. This problem doesn't exist in Go 1.19 and future major Go releases.


Add esfiddle to free-programming-playgrounds.md

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
It adds esfiddle.net to free-programming-playgrounds.md
For resources
Why is this valuable (or not)?
It allows you to experiment with ES6.
How do we know it's really free?
It's free with ads that our unobtrusive, and don't cover content
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

The Travis CI build fails due to a trailing slash at the end of https://esfiddle.net/.
I think simply changing it to https://esfiddle.net (remove the "/" at the end) would make the build passing

@kadhirash Thanks

is this a clone? just curious.
Thanks, and welcome to free-programming-books!

is this a clone? just curious.

I don't think so


Provide interface to confirm releasing attributes

See https://github.com/a-sit-plus/kmm-vc-library/pull/53#discussion_r1575887262

Done in #53


[GLUTEN-6650] Remove bloomfilter from partition filter

What changes were proposed in this pull request?
If BloomFilterMightContains is pushed down to partition filter, it's executed in Spark driver using codegen. But since the bloom filter contructed by native are different with Spark, a NPE will throw in this case
(Fixes: #6650)
How was this patch tested?
UT
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

But since the bloom filter contructed by native are different with Spark, a NPE will throw in this case

I remember we had make Velox bloom-filter functions runnable in vanilla Spark operators so there shouldn't have compatibility issues. https://github.com/apache/incubator-gluten/pull/5435. Am I missing something? Or there is a bug?

But since the bloom filter contructed by native are different with Spark, a NPE will throw in this case

I remember we had made Velox bloom-filter functions runnable in vanilla Spark operators so there shouldn't have compatibility issues. #5435. Am I missing something? Or there is a bug?

@zhztheplayer Got it. Let me check.

But since the bloom filter contructed by native are different with Spark, a NPE will throw in this case

I remember we had made Velox bloom-filter functions runnable in vanilla Spark operators so there shouldn't have compatibility issues. #5435. Am I missing something? Or there is a bug?

@zhztheplayer Got it. Let me check.

@zhztheplayer I digged into it, the main reason is that in this case, its a partition filter and the bloom filter is evaluted in driver side, so we need to change VeloxBloomFilterMightContain's codegen from
val bf = ctx.addMutableState(className, "bloomFilter")
    ctx.addPartitionInitializationStatement(s"$bf = $className.readFrom($bfData);")

to
val bf = ctx.addMutableState(className, "bloomFilter", bf => s"$bf = $className.readFrom($bfData);")

Otherwise, the bf object is not initialized when executed in driver and a NPE is thrown.
But after this change, the VeloxBloomFilter still cannot evaluted on driver side, since most of JNI and Resource Management will check whether we are in a spark task or not.
such as
Runtimes.contextInstance

and
Spillable reservation listener must be used in a Spark task.


make use of environments in env:encrypt and env:decrypt consistent.

Hey,
when I am in APP_ENV=test, env:decrypt will decrypt .env.test.encrypted to .env and not to env.test. I had to specify --env=test for it to decrypt .env.test.encrypted to .env.test, even though I am already in the test environment. Also there is no way to decrypt .env.encrypted as long as I am inside of an APP_ENV=test because --env is not checked for an empty value.
Along the same lines I can not encrypt .env as long as I am in APP_ENV=test.
This PR makes:

use APP_ENV consistent, so we don't cross-decrypt .env.${APP_ENV}.encypted to .env but to .env.${APP_ENV} instead.
allow --env= to be set empty and en-/decrypt .env to/from .env.encrypted even when running in an APP_ENV=

Need @joedixon to take a look at this.

Sure thing. If you could give me a quick "looks good" or "go home" I would take care of the tests also.

Hey @foertel, I have just tested this and I'm not seeing the same behaviour.
After setting APP_ENV=test:
env:encrypt encrypts my .env file and not my .env.test file. Similarly, running env:decrypt decrypts the `.env.encrypted.
The only way to change which file gets encrypted / decrypted is by passing the --env option which is the intended behaviour of this command.
We are leveraging $this->laravel->environmentFilePath() in case the app has been configured to load the environment from a different location, but this behaviour is the same in both commands.

env:encrypt encrypts my .env file and not my .env.test file.

Did you have an .env.test file? $this->laravel->environmentFilePath() is supposed to fall back to .env if .env.test does not exist. But if it exists, it is definitely encypting it for me.
root@ad793cb0cf4b:/app# cat .env
TEST=FALSE
root@ad793cb0cf4b:/app# cat .env.test
TEST=TRUE
root@ad793cb0cf4b:/app# APP_ENV=test php artisan env:encrypt

   INFO  Environment successfully encrypted.

  Key .......................................................................................... base64:LjhWBB1rNZKNmCFUJrE3bXmqmVL5DFLRCRberU3vrVI=
  Cipher ............................................................................................................................... AES-256-CBC
  Encrypted file ............................................................................................................... .env.test.encrypted

root@ad793cb0cf4b:/app# rm .env .env.test
root@ad793cb0cf4b:/app# APP_ENV=test php artisan env:decrypt --key=base64:LjhWBB1rNZKNmCFUJrE3bXmqmVL5DFLRCRberU3vrVI= --env=test

   INFO  Environment successfully decrypted.

  Decrypted file ......................................................................................................................... .env.test

root@ad793cb0cf4b:/app# cat .env.test
TEST=TRUE

env:encrypt encrypts my .env file and not my .env.test file.

So what you are saying is, that $this->laravel->environmentFilePath() is not taking your into account APP_ENV? That doesn't sound right.
Did you have both an .env and and .env.testing file? Otherwise I think environmentFilePath() migt just have fallen back.

@joedixon This has been discussed in the Laravel internals discord (if you want context). You have to set the environment variable in the command for it to work. For example, I've added .env.testing to my project and ran the following:
APP_ENV=testing php artisan env:encrypt

which gave the following output:
   INFO  Environment successfully encrypted.

  Key .......................................................................................... base64:IQI31Zr8ep9NLtLGQzEH3Zh/741ufdgjlfMvgIj+xpU=
  Cipher ............................................................................................................................... AES-256-CBC
  Encrypted file ............................................................................................................ .env.testing.encrypted

When doing the reverse. It finds the env.testing environment file due to logic in LoadEnvironmentVariables@checkForSpecificEnvironmentFile. However EnvironmentDecryptCommand@outputFilePath() doesn't check environment variables when setting as it's looking for command flags so this gets missed and it defaults to decrypting env.testing.encrypted -> .env instead of env.testing.
I'd just rely on flags and this seems like a strange edge cast caused by not following documentation properly.. However, I hope that helps explain OP's issue so you can discuss it further.

this seems like a strange edge cast caused by not following documentation properly

As we have already discussed, it's litterally right above the headline, marked by a big violet lightbulb, saying:

The current application environment detection can be overridden by defining a server-level APP_ENV environment variable.

While I understand your point, that callout relates to the "Determining The Current Environment" section as opposed to the "Encrypting Environment Files" section.
That said, I've dug into the issue in more detail this morning as the behaviour is a little inconsistent. I've come up with the following PR which I'd love your feedback on: https://github.com/laravel/framework/pull/49439
In the scneario where you run the following:
APP_ENV=production php artisan env:encrypt

Your implementation would always look for .env.production and never fall back to .env which environmentFilePath() affords for us.
My solution is to still rely on environmentFilePath(), but use this file when generating the output file name so running the following:
APP_ENV=production php artisan env:decrypt --key abc-123

Results in the file being written to .env.production rather than .env.
The only time this would not be the case is if there isn't a .env.production present when decrypting where Laravel will fallback to .env which feels like the correct behviour to me.
Would love to hear your thoughts.

@foertel feel free to resend this if you still want to give it a go.


Fix IIIFv2 AnnotationList type prefix from oa: to sc:

This seems to have been a misreading of the IIIFv2 spec, which clearly states that an annotation list must have the type sc:AnnotationList.
Requires this corresponding fix in the presentation-2-types: https://github.com/IIIF-Commons/presentation-2-types/pull/3

Published<EMAIL_ADDRESS>

@jbaiter Just checked the serialize-presentation-2.ts to update it too - but it's using the correct sc: prefix!

I think that's the only other place it would have been used.

Fix is in:
<EMAIL_ADDRESS>


Update readme files for the core libraries.

Soft ping. Review please

/cc: @srnagar , @alzimmermsft review please.

Thank you for the review.


FileFilterIterator can skip a file if it has a symlink (depends on the order the files are read)

The PHP version you are using ($ php -v):
PHP 7.2.10 (cli) (built: Sep 11 2018 07:06:00) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.10, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans

PHP CS Fixer version you are using ($ php-cs-fixer -V):
PHP CS Fixer 2.13.0 Yogi's BBQ by Fabien Potencier and Dariusz Ruminski (7136aa4)

The command you use to run PHP CS Fixer:
PHP_CS_FIXER_ALLOW_XDEBUG=1 vendor/bin/php-cs-fixer fix --config=.php_cs --dry-run --using-cache=no --path-mode=intersection var/cs/qux.php

The configuration file you are using, if any:
$finder = PhpCsFixer\Finder::create()->in(__DIR__.'/var')
    ->name('*.php')
    ->sortByName() // <- make sure we read the symbolic link first
;

return PhpCsFixer\Config::create()
    ->setFinder($finder)
    ->setRiskyAllowed(true)
    ->setRules([
        '@Symfony' => true,
        '@Symfony:risky' => true,
    ])
;

Directory structure:
var
    cs
        foo
            bar.php -> ../qux.php
        qux.php
.php_cs

When bar.php is read first, it will be filtered out (because it's a symlink to qux.php) and the real path to qux.php will be added to $visitedElemets: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2f48a42f8a0edf9a75a7f34e1e494eb355c5dbf2/src/Runner/FileFilterIterator.php#L66-L72
On a next iteration, when qux.php is read, it will be ignored, as $visitedElemets already holds the path.
Possible fix:
-        $path = $file->getRealPath();
+        $path = $file->isLink() ? (string) $file : $file->getRealPath();

thanks for reporting @rybakit , I've greated a PR that I hope resolves this issue


[BUG] OpenVino 2022.1 input shape problem API 2.0

This came from https://discuss.luxonis.com/d/1073-blobconverter-issue
About the issue with API 2.0 in OpenVino 2022.1.
Files attached in the zip.

Get the blobs using the python files
Run the C++ code switching the code to use the blob from 2021.4 or 2022.1.

When running 2021.4 the log looks like this (as expected):
--- TEST ---

depthai version 2.19.1
[194430100156E21200] [2.14] [0.958] [NeuralNetwork(2)] [warning] Number of inference threads assigned for network is 1, assigning 2 will likely yield in better performance
mxid<PHONE_NUMBER>56E21200
usb speed SUPER
camera count 3

When running 2022.1 the log looks like this (not expected, should be like above):
--- TEST ---

depthai version 2.19.1
[194430100156E21200] [2.14] [0.927] [NeuralNetwork(2)] [warning] Number of inference threads assigned for network is 1, assigning 2 will likely yield in better performance
mxid<PHONE_NUMBER>56E21200
usb speed SUPER
camera count 3
[194430100156E21200] [2.14] [2.634] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [3.518] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [4.403] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [5.281] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [6.162] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [7.040] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [7.919] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [8.802] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [9.679] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)
-[194430100156E21200] [2.14] [10.562] [NeuralNetwork(2)] [warning] Input image (1280x768) does not match NN (3x1280)

When adding "-ov_api_1_0" to the advanced parameters for 2022.1 the NN runs without the warning (and behaves ok).
luxonis-test.zip

Hi @dexter-8 ,
Perhaps you would need to specify the model input size/shape during the openvino model optimizer process? Also cc @tersekmatija as I think I have seen similar 2021.4 vs 2022.1 issue before.
Thanks, Erik

I don't know if this is what you mean, but I tried options from here to change input and model parameters and no combination improved things, just different warnings.
There appears to be a similar issue with text-recognition-0012, mentioned here.

Hey, it does seem like the input shape in OpenVINO model zoo was changed. 2021.4 version here expects [Batch,Channels,Height,Width] input, while 2022.1 version expects [B,H,W,C] input. When using the model from 2022.1 model zoo, DepthAI then causes the error you are seeing, which tells you that the input shape from device [1, C, H, W] does not match the input shape of the model. Using -ov_api_1_0 actually forces OpenVINO under the hood to use 2021.4, which is the reason why this model works.
Since OpenVINO model zoo provides already exported models (xml and bin), you cannot provide additional shape flags and force it to use [B,C,H,W], so the only way is to use the model from 2021.4 ZOO. Another option we could expose, but would likely be inefficient and cause further confusion, is allowing images to be fed in [B,H,W,C] format on device (CC @themarpe). If you would be feeding data from the host, this should be relatively easy to do by sending a flattened [H,W,C] image with NNData.

Thanks for investigating!
Since the frame rate is low I can try to reshape it on the host if I can fit it in without using more memory (already low on device memory).
I thought the connection between the camera and the network input actually checked the shape and adapted to it, but that doesn't seem to be the case. Only networks with BCHW can be directly connected to the camera then?
The openvino page states BHWC as well.

I thought the connection between the camera and the network input actually checked the shape and adapted to it, but that doesn't seem to be the case.
Yes, my understanding is that we flatten the array accordingly on the DepthAI side which means that for non-image inputs shape data is lost and is being reshaped into the input shape. For image data we use ImgFrame object, where width and height are known, but we don't do dimension re-ordering. CC @themarpe if that's correct.

I'm trying to send data to the network from the host in order to reshape the input. I can't figure out what I'm doing wrong though. I only get one output and then it stops (I keep sending input to the non blocking network queue). I didn't get sequenceNum in the network output so I added passthrough. The passthrough gives me the sequenceNum. The main change was to not route the camera preview to the network, but to send it through a queue instead.

Yeah, I assume the tensor is reshaped to the input shape. So if you have the same input shape on host, flatten, and send, it will shape it correctly (CC @themarpe ).
For blocking issues we'd need to see the pipeline. And then @Erol444 would be probably most experienced to advise why blocking is happening.

I created a separate ticket (917) for the blocking issue with just one network, similar to the code here.

It would be nice to have an option to set the output shape of the camera preview to make it more compatible with different networks.


Oracle table user doesnot exist

While reverse engineering my oracle database, getting error angular-quickstart: The table named USER could not be found.
In Oracle I cannot create a table named as user. I tried creating different table as account but did not work.

I guess that you haven't changed the configuration file celerio-maven-plugin.xml ... if it still mentions the USER table, then Celerio complains when it can't find it during the reverse phase.
Please let me know, you may provide your console output, it would help diagnose... :)

Thanks that worked


[Feature] Ignore idle inhibition per listener

This would add a listener version of the ignore_dbus_inhibit option. The reason I want this is to make manually locking my screen always set DPMS to off, regardless of inhibition state (e.g., if I am listening to a video from my browser in the background). One of my listeners calls pgrep -x swaylock && hyprctl dispatch dpms off after 10 seconds. I would like to have it run regardless of inhibition, so that my screen will always turn off if I manually lock my session.

I'm also trying to resolve the case, a better solution might be bind an extra operation for lock_cmd with a delay, so that once it's locked, either manually lock or idle timeout lock, the screen can be turned off efficiently, and no need for extra listener.

I have a use-case where I'd like all listeners to heed inhibition state except for one that should fire regardless.

A workaround I found is to have two hypridle daemons with two separate config files running where one config file ignores inhibition and the other one does not. You then put your listener in one or the other config file, depending on whether you want it to be inhibited or not.


Unable to use geocoding with geolocator in the same Flutter project

I'm attempting to use geocoding in a project that also depends on geolocator ^7.0.3.  When I run "Pub get
in my pubspec.yaml file, I get the following version solving error.  I do need to use geolocator to get the user's coordinates for a different functionality of my app.  Is there something I can do with the plugin platform interface to ensure compatibility?

Because geocoding ^1.0.4 depends on geocoding_platform_interface ^1.0.1 which depends on plugin_platform_interface ^1.0.2, geocoding ^1.0.4 requires plugin_platform_interface ^1.0.2.
And because geolocator_platform_interface >=2.0.0 depends on plugin_platform_interface ^2.0.0, geocoding ^1.0.4 is incompatible with geolocator_platform_interface >=2.0.0.
And because geolocator 7.0.3 depends on geolocator_platform_interface ^2.0.2 and no versions of geolocator match >7.0.3 <8.0.0, geocoding ^1.0.4 is incompatible with geolocator ^7.0.3.
So, because wtfda_radioland depends on both geolocator ^7.0.3 and geocoding ^1.0.5, version solving failed.
pub get failed (1; So, because wtfda_radioland depends on both geolocator ^7.0.3 and geocoding ^1.0.5, version solving failed.)
Process finished with exit code 1

i have same error

i have same error

flutter pub upgrade --major-versions
this work for me


Args Package: Cannot provide  value for help in addOption

This issue was originally filed by @butlermatt

Frequently, command line helps will do something like:
--out=<output dir>     The rest of the help information indented over
                       here which refers to <output dir> argument.
However with the Args package, there is no way to show a 'fill in' option. I can specify allowed arguments and help specific to those allowed arguments. But I can't refer to a fill in value, which can sometimes make the documentation feel kind of awkward.

This issue has been moved to dart-lang/args#15.


ClassCastException with Push

Attempting to run Krail on vertx-vaadn:

New push connection for resource 289d7b40-2c21-4db6-b5b9-6950d3022f48 with transport resource.transport()
Unhandled exception
java.lang.ClassCastException: com.vaadin.server.communication.AtmospherePushConnection cannot be cast to com.github.mcollovati.vertx.vaadin.communication.SockJSPushConnection
at com.github.mcollovati.vertx.vaadin.communication.SockJSPushHandler.getOpenedPushConnection(SockJSPushHandler.java:316)
at com.github.mcollovati.vertx.vaadin.communication.SockJSPushHandler.callWithUi(SockJSPushHandler.java:281)
at com.github.mcollovati.vertx.vaadin.communication.SockJSPushHandler.lambda$onConnect$2(SockJSPushHandler.java:189)
at com.github.mcollovati.vertx.vaadin.communication.SockJSRoutingContext.lambda$next$1(SockJSPushHandler.java:624)
at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

I need to provide some more info on this ... I'll give a bit more later

With Vaadin 8 SockJSPushConnection must be set manually
    @Override
    protected void init(VaadinRequest vaadinRequest) {
        setPushConnection(new SockJSPushConnection(this));
        ....
    }

Remember also that setPushConnection must be call also after PushConfiguration.setPushMode(..) is invoked.
In Vaadin Flow I've got a PR merged that allows to inject a PushConnectionFactory into PushConfiguration through ServiceLoader mechanism in order to have it done automatically.

Thanks, applied changes in Krail <IP_ADDRESS> to fix this


How to predefine all tabs and selected color when launch

Hi guys,
awesome libraries!
I wonder if i can define all the dormant and selected color at launch instead of setting them individually at the Tab and at Animation.
Cheers
Des

only set it individually


PySide2 No Longer Functional in Maya2025

From the release notes "known issues" section:
As part of the transition to Qt6 and PySide6, changes are affecting the usage of PySide6.QtUiTools.loadUiType and the reliance on the PySide command line scripts. Here's the updated information:
The pyside2-uic and pyside2-rcc command line scripts are no longer functional in Maya 2025.Instead of relying on these command line scripts, users should now directly use Qt's uic and rcc files.These can be located in the following locations:
Windows: C:\Program Files\Autodesk\Maya2025\bin
Mac: /Applications/Autodesk/maya2025/Maya.app/ContentsLinux:/usr/autodesk/maya2025/libexec
To generate Python files using the command line, users should use uic with the -g python arguments explicitly.
Please update your workflow accordingly, replacing the usage of pyside2-uic with uic -g python and referring to the correct file locations based on your platform. MAYA-132563
As such, mGear is not functional in 2025. Updating the install file to use PySide6 instead of 2 makes the installer start, but it fails when trying to run the actual installer from the modules folder.

Hi @CursiveCrow
Yes, we need to update mGear to the new pySide6 . This will take some time

here is pyMel for Maya 2025 ...
i haven't tested it yet ...
https://github.com/iamsleepy/pymel/releases


Cannot restore VM snapshot on XenServer

ISSUE TYPE

Bug Report

COMPONENT NAME
Management Server/Hypervisor

CLOUDSTACK VERSION
4.18.1

CONFIGURATION
Single Host Pool with XCP-ng 7.5
OS / ENVIRONMENT
Management Server: CentOS 7
SUMMARY
Web UI presents this message when trying to revert a snapshot:
(i-39-6822-VM_VS_20231020072617) Revert VM: i-39-6822-VM to snapshot: i-39-6822-VM_VS_20231020072617 failed due to Hypervisor com.cloud.hypervisor.xenserver.resource.XenServer650Resource doesn't support guest OS type Debian GNU/Linux 12 (64-bit). you can choose 'Other install media' to run it as HVM

The message is IMHO wrong, the VM with Debian 12 worked fine before.
STEPS TO REPRODUCE
Import Debian 12 netinst ISO image
Create VM from it (Type "Debian GNU/Linux 12 (64 Bit)")
Take a VM Snapshot (no Quiesce, no RAM) (works fine)
Shutdown VM
Restore snapshot
EXPECTED RESULTS
I expected it to restore all Volumes to the snapshot state.
ACTUAL RESULTS
Above error message popped up shortly after trying to restore the snapshot.
Looks similar to #6941, but I was asked to create a new issue.

thanks @MartinEmrich
can you share the results of mysql queries ?
select * from guest_os_hypervisor where guest_os_id in (select id from guest_os where display_name like 'Ubuntu 20.04 LTS') and hypervisor_type ='Xenserver';

select * from guest_os_hypervisor where guest_os_id in (select id from guest_os where display_name like 'Debian GNU/Linux 12 (64%');

The first:
id;hypervisor_type;guest_os_name;guest_os_id;hypervisor_version;uuid;created;removed;is_user_defined
7402;Xenserver;Ubuntu Focal Fossa 20.04;305;8.2.0;03c0f7f7-5ec9-464f-88dc-aaed9eabb26a;2023-09-05 16:14:24;\N;0
7802;Xenserver;Ubuntu Focal Fossa 20.04;323;8.2.0;2e3d7eb0-8cb7-411c-a08b-0216b352cc0e;2023-09-06 11:57:33;\N;0

(Though I don't use Ubuntu 20.04)
The second:
id;hypervisor_type;guest_os_name;guest_os_id;hypervisor_version;uuid;created;removed;is_user_defined
7677;VMware;debian12_64Guest;367;8.0;5e3385eb-05e4-4163-b242-9bc7789fbd9f;2023-09-06 11:57:33;\N;0
7793;VMware;debian12_64Guest;367;8.0.1;a065c24b-3e5e-4ecd-aa66-2e8b6bd3b353;2023-09-06 11:57:33;\N;0

(No VMWare here either)
Hypervisor is XCP-ng 7.5, but installing and running Debian 12 worked flawlessly. (We plan to upgrade to XCP-ng latest, but no timeframe yet)

i am facing the same issue with xcp-ng 8.2.1

Though I reported it, I more or less noticed it by accident. We normally do not use Snapshots at all. And as the hardware is showing it's age, the whole cluster here now has a "do not touch" aura, and for various reasons beyond my control will not be replaced. So I most probably will never see ACS 4.19 in action, so I cannot give feedback on this issue.


Hello, Can i join to meeting as a host user? if there how i join as host user?

Hey! I can do this on flutter_zoom project. What is your pub dev email?

Hey! Do you mean start a meeting as host?

Yes, I mean that when i join a meeting be host

Ah, i got it. Well, I think if you send the zak token in the options, the user is accepted as a host... But i've never tested this before

I sent it but nothing Changed.

Yes, I still waiting the host  user to enter

You are using "zoom.startMeeting" or "zoom.joinMeeting"?

i using "Zoom().joinMeeting" method
but i have 2 types of users (admin & normal user )
when i login as admin i send the zak to join the meeting as host if normal user i don't send the zak

the meeting is created from portal not from mobile app and details for this meeting send to me from api

i using "Zoom().joinMeeting" method but i have 2 types of users (admin & normal user ) when i login as admin i send the zak to join the meeting as host if normal user i don't send the zak

If user is admin, try using "startMeeting" sending the zak token

Ok, I will try that,
Thank You very much.

Ok, I will try that, Thank You very much.

Youre welcome

Meeting Status Stream: MEETING_STATUS_IDLE - No meeting is running
Pls Help Me....

I updated version to 1.1.0+2. Check if in new version the meeting will work
The problems was Zoom Meeting min version, currently on 5.14.5


[SPARK-12745] [SQL] Hive Parser: Limit is not supported inside Set Operation

The current SQLContext allows the following query, which is copied from a test case in SQLQuerySuite:
     checkAnswer(sql(
       """
         |select key from ((select * from testData limit 1)
         |  union all (select * from testData limit 1)) x limit 1
       """.stripMargin),
       Row(1)
     )

However, it is rejected by the Hive parser.
This PR is to make Hive parser support the Limit Clause inside Set Operator.

Test build #49080 has started for PR 10689 at commit 310cb32.

Test build #49080 has finished for PR 10689 at commit 310cb32.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49080/
Test PASSed.

@hvanhovell @rxin Could you take a look? Thank you!

Test build #49094 has started for PR 10689 at commit 6244975.

Test build #49094 has finished for PR 10689 at commit 6244975.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49094/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Test build #49117 has started for PR 10689 at commit 6244975.

@gatorsmile the fix looks good.
@rxin / @marmbrus / @gatorsmile I am not sure if we should support this at all. Using a limit in SELECT's connected by a UNION ALL is fine, but things tend to get really strange once you start using this in combination with other SET or JOIN operations; it'll get very hard to reasion about the result. Most RDMS'es do not support this. I'd rather have an optimizer rule which pushes down limit clauses whenever this is possible.

Test build #49117 has finished for PR 10689 at commit 6244975.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49117/
Test PASSed.

Merged build finished. Test PASSed.

@hvanhovell Let me share my two cents:

We have another PR to push down Limit through Union ALL. However, it is impossible to push Limit through Union Distinct: https://github.com/apache/spark/pull/10451
If we want to convert a logical plan back a SQL (in https://github.com/apache/spark/pull/10541), we need to support it, I think. @liancheng Please correct me, if my understanding is wrong.
Limit is a super critical when the scale is huge. Our Dataframe API can add this almost everywhere.  In the long term, we should provide the same functions for all the different interfaces, I think.

@gatorsmile I do see the performance benefits of limit while processing. The reservation I am having is reasoning about non-toplevel limit statements. A set-operator example:
select a from db.tbl_a
intersect
select b from db.tbl_b

The result should all distinct rows in a for which we can find an equal tuple in b. Let's add limit to this:
select a from db.tbl_a limit 10
intersect
select b from db.tbl_b limit 10

The result now be the first (distinct?) 10 rows from a which will be filtered by checking if they exist in the first 10 rows of b (I think). I am not sure this is what a user expects, further more:

You will probably end up with less then 10 rows here.
The results will be probably non-deterministic (unless you would also allow somekind of ordering in a subquery).

Do you have a concrete realworld example where you need this?
I don't really mind if we would put this back in the parser (the engine supports it anyway). But I don't think we should just do something like this without some consideration.

Give two tables tbl_a and tbl_b, tbl_a has billions of rows but tbl_b has thousands of rows. tbl_a has one column col_frkey_tbl_a whose values should be from tbl_b's column col_key_tbl_b. However, one user wants to do a quick check to confirm it. The query he can try is
select col_frkey_tbl_a from db.tbl_a limit 10000
intersect
select col_key_tbl_b from db.tbl_b

The above query can avoid fetching billions of rows from tbl_a. Hopefully, it can answer your question. @hvanhovell

Test build #49158 has started for PR 10689 at commit 94386aa.

Test build #49158 has finished for PR 10689 at commit 94386aa.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49158/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49159/
Test FAILed.

Test build #49160 has started for PR 10689 at commit b9ba021.

Test build #49160 has finished for PR 10689 at commit b9ba021.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49160/
Test PASSed.

Merged build finished. Test PASSed.

That example seems kind of artificial to me.  Additionally large non-terminal limits are not planned very well today so I think users are going to be surprised.

Yeah! I just read the implementation of Limit. As you said, the current one is not highly efficient, especially when the number of limits is not small.

@gatorsmile I think we'd need more proper design for limits. Let's close this as later.

Sure, let me close it.


Dictionary conversion EXC_BAD_ACCESS

I came across a memory access problem parsing a nested dictionary twice .
The following results in: EXC_BAD_ACCESS
import PythonKit

let json = Python.import("json")
let j = json.loads("{\"a\": {\"aa\": \"AA\"}}")

print([String: [String: String]](j))
print([String: PythonObject](j))

Whats wrong here?
Thanks!

@walwe Hi! You can ask questions about the Python interoperability layer in the Swift for TensorFlow mailing list.
PythonKit is a Swift package which allows to use the Python interoperability layer from the Swift for TensorFlow project with the standard Swift distribution.


Add a function to ping the JVM.

We are seeing instances where helix participant is not processing any
new state transitions. Adding a 'ping' function for debugging purposes
to check if the JVM is alive.
Piggybacking this JVM call with the checkDB API (which is also used for
debugging).

The ping funct looks good to me. Why not include this logic into the adminHandler::ping() since it make more sense.

The ping funct looks good to me. Why not include this logic into the adminHandler::ping() since it make more sense.

I didn't know that the function exists, will change it to that. Thanks.

@kangnanli the ping API in adminHandler has no return type (void), so I cannot return a failure for JVM issues. So I'd prefer keeping it this way for now. Ideally we would want to change the ping API or add a new one with a return type.

@kangnanli the ping API in adminHandler has no return type (void), so I cannot return a failure for JVM issues. So I'd prefer keeping it this way for now. Ideally we would want to change the ping API or add a new one with a return type.

Isn't the same for checkDB?
void AdminHandler::async_tm_checkDB(
    std::unique_ptr<apache::thrift::HandlerCallback<std::unique_ptr<
      CheckDBResponse>>> callback,
    std::unique_ptr<CheckDBRequest> request) {

I am also +1 on Kangnan's earlier question on why not adding the PingJVM logic in the AdminHandler::ping handler

@kangnanli the ping API in adminHandler has no return type (void), so I cannot return a failure for JVM issues. So I'd prefer keeping it this way for now. Ideally we would want to change the ping API or add a new one with a return type.

Isn't the same for checkDB?
void AdminHandler::async_tm_checkDB(
    std::unique_ptr<apache::thrift::HandlerCallback<std::unique_ptr<
      CheckDBResponse>>> callback,
    std::unique_ptr<CheckDBRequest> request) {

I am also +1 on Kangnan's earlier question on why not adding the PingJVM logic in the AdminHandler::ping handler

CheckDB has a return type CheckDBResponse. But ping does not.


OCR and Narrator are not merged in Build 17110

OCR and Narrator are not available for Build 17110. Please refer to the post: https://social.msdn.microsoft.com/Forums/en-US/2ff82ffb-d694-4e1a-b9f0-1fba568f422c/new-flight-17110-released-for-insiders?forum=WindowsIoT

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/release-notes/Insider/17110.md
:white_check_mark:Succeeded

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


Remove redundant config logic from DataObject::setField()

Noticed during testing for #3934 that this is one of the top accessed config values, yet it’s never used here so is just wasting time and memory :)

There are a ton of unused vars scattered around the code. Does your IDE allow you to search for them? Might be good to get rid of them all in one go?

Does your IDE allow you to search for them?

I don’t use an IDE, so I have no idea :neckbeard:. Feel free to close this and do it yourself if you fancy it, I may get around to joining the IDE club eventually :)

:mind_blown:


Broker's Choice

To enhance the DCCS system, it is desired to implement alternatives to the Redis PubSub. While Redis serves as a cache, it falls short in guaranteeing message delivery.

Redis PubSub
Redis PubSub is a lightweight publish-subscribe messaging system provided by Redis. It enables real-time messaging between publishers and subscribers, allowing for decoupled and asynchronous communication. However, Redis PubSub does not guarantee message delivery, which means messages can be lost if subscribers are not actively listening
Kafka
By implementing Kafka as an alternative, real-time data reception can be ensured, making the DCCS more suitable for scenarios that require timely and reliable data transfer.
gRPC
gRPC is a high-performance, language-agnostic communication framework that allows efficient and bidirectional communication between services. It supports various communication patterns, such as unary requests, server streaming, client streaming, and bidirectional streaming. gRPC offers strong typing, automatic code generation, and support for multiple programming languages, making it suitable for building complex distributed systems.

ACC

implement Kafka and gRPC as an alternative to Redis PubSub
the user should be able to choose which technology to use, with Redis PubSub to be the default

Nest Queues would do the job.


Unable to access nested properties as dictionary item when overridden by env variable[bug]

Describe the bug
The As dictionary [item]¶ notation for accessing parameters which were overridden via environment variables is not working
To Reproduce
Run the following command in bash
export MYVARS_parent__child="overriden"

python -c "
from dynaconf import Dynaconf
settings = Dynaconf(
    envvar_prefix='MYVARS',
    merge_enabled=True

)
print(f'settings: {settings}')
print(f'settings.parent: {settings.parent}')
print(f'settings.parent.child: {settings.parent.child}')
print(f'settings.parent.child: {settings.parent["child"]}')
"

you will get the following output

settings: <dynaconf.base.Settings object at 0x102a2d1d0>
settings.parent: {'child': 'overriden'}
settings.parent.child: overriden
Traceback (most recent call last):
File "", line 9, in
NameError: name 'child' is not defined

Expected behaviour
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

OS:Mac / Ubuntu
Dynaconf Version: 3.1.11

Additional context
Add any other context about the problem here.

@mkashwin It looks like this was a problem with quoting in bash.
The following works as expected in v3.1.11 and v3.1.12:
export MYVARS_parent__child="overriden"
python -c "
from dynaconf import Dynaconf
settings = Dynaconf(
    envvar_prefix='MYVARS',
    merge_enabled=True

)
print(f'settings: {settings}')
print(f'settings.parent: {settings.parent}')
print(f'settings.parent.child: {settings.parent.child}')
---print(f'settings.parent.child: {settings.parent["child"]}')
+++print(f'settings.parent.child: {settings.parent[\"child\"]}')
"


fix indexer

What was the problem?
This PR resolves #INSERT_ISSUE_NUMBER
How was it solved?

How was it tested?

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


Investigate options to not include JSON Schema spec in repo

https://github.com/frictionlessdata/jsontableschema-py/blob/master/jsontableschema/schemas/json-table-schema.json

Looks like the schema's moved to https://github.com/frictionlessdata/jsontableschema-py/blob/master/jsontableschema/schemas/json-table-schema.json now.

@Bjwebb updated.  Thanks!

@danfowler what have you updated?

@pwalsh the link in your comment at the top which was broken.

@pwalsh
why do not include?

@roll I'm worried about changes to spec not getting into the libs.
But this is quite an old issue. I'd say now the best approach is the one that @vitorbaptista took in datapackage-py:

include schemas as git submodule
for the pypi package, include the specific files we want
bump the submodule + package release with schema changes
also have an option to work over HTTP with the current file

https://github.com/frictionlessdata/datapackage-py/tree/master/datapackage/schemas

I've checked datapackage-py approach - it's convenient method to update schemas (but here also we have geojson.json not covered by schemas repository). But I don't see how it resolves problem you've described - if no one runs git pull --subtree ... command than schema also will be out-dated. No difference between manual copy-past.
So I suppose there is no difference how we update schema directory manually or using git submodules. Difference could be add for example if we will add test checking schemas is actual.

@roll the difference is that you have a controlled way to know which version of schemas was in included in which release here. But either way is fine with me.


Added commit message validation to Travis CI

When working on a repo, I like to commit frequently in a working branch. The ghooks were getting on my nerves so I removed them.
However, I have realized that I was able to open #1984 with a bad commit message format as a result. To remedy that, I'm adding the commit message validation to Travis CI.
In this PR:

Added validate-commit-msg to npm run travis to enable non-local message validation

Ah, nvm. It looks like validate-commit-msg is only built to handle loading from files (e.g. .git/COMMIT_MSG). This won't work well with Travis CI without a long workaround =(

Thanks, the idea is good though. Ideally we would have another check different from travis showing up similar to how we have the CLA check showing up which validates the commit message. But I haven't figured out how to do that yet.

Ah, that's easily done via Travis CI's build matrix:
https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
I have a similar setup on some of my projects:
https://github.com/twolfson/gmsmith/blob/1.1.0/.travis.yml#L1-L19
https://travis-ci.org/twolfson/gmsmith/builds/114967673

I will take a similar attempt at a setup. Although, I think we will want a bash script to handle generating a file for the commit message (we could add a PR to support - for stdin on verify-commit-msg but this is simpler)

Alright, this PR is now good to go. I went with the matrix example as mentioned earlier. It's a bit unfortunate that we still go through installing Firefox for our one-off environment but such is life =/
Here's an expected failing build (this revision wasn't using --no-merges so it validated against a merge commit's message):
https://travis-ci.org/karma-runner/karma/builds/115744881
Here's a passing build:
https://travis-ci.org/karma-runner/karma/builds/115746435

This is great thanks @twolfson, just going to let travis run its course before merging :)

Thanks again for this!


Bluetooth RSSI feature

Hi,
is it possible to also receive the RSSI data of the Bluetooth connection between the Android Wear and a handheld? For instance by means of readRemoteRSSI()? I believe that the packets send should somehow hold this information, however, how can I read it out?
lhjohn

We do not handle the bluetooth connection ourselves. This is all done by the Google Play Services that we are relying on. So I assume there's no direct way to access this data.