Partition routing information cannot be extracted from the query when running in a 32-bit process. Document DB

Hi,
I have been using Microsoft.Azure.DocumentDB dll version 1.8.0 till yesterday and i updated to 1.11.1 today and after that CreateDocumentQuery method has been throwing error "Partition routing information cannot be extracted from the query when running in a 32-bit process" , also i have been using the DocumentDB build in API to calculate the distance from a position using Lat-Long and it also has stopped working throwing error " Invalid length for a Base-64 char array or string" . If i revert back to 1.8.0 all seems to be working. The values i passed as lat-long is 37.7908584075998,-122.406202554703
What could be the issue?

@ArjunMenonUK First issue will be fixed very soon and we will release it this week. As a workaround, you need to make the your host process as 64 bit. Can you tell me what type of application is that so that I can suggest you the appropriate workaround?
We will look into the second issue. cc:@arramac for the Geospatial issue.

@rnagpal , its a WEB API service , which is hosted in Azure itself.

@ArjunMenonUK Can you set the Platform for the Web API service as 64-bit under Settings through Azure portal?

@rnagpal  i will try and will let you know

@rnagpal  hi, i changed  it and published my code and still that Distance Calculation service is throwing error

Invalid length for a Base-64 char array or string. .Stack Trace :    at System.Convert.FromBase64_Decode(Char startInputPtr, Int32 inputLength, Byte startDestPtr, Int32 destLength)**

Hi @rnagpal  any update on this?

@ArjunMenonUK can you paste the code for the lat-long issue?

@arramac will help you resolving the lat-long issue once you send us the code.

@ArjunMenonUK  The 32 bit related issue that you faced is fixed in 1.11.3 version now, so you don't have to use x64 as the Platform though it's recommended for better performance that x86.

Fixed now

@ArjunMenonUK Once you send us the sample code for the lat-long issue @arramac can help you fix that issue at well.

Reopening by updating the title.

I am on leave till next Tuesday. Will do once I reach back. Thanks a lot for the quick response

Hi @rnagpal
string DistanceQuery="SELECT ST_DISTANCE( {{ 'type': 'Point', 'coordinates':[{0},{1}]}},{{'type': 'Point', 'coordinates':[{2}, {3}]}}) AS Distance"
client.CreateDocumentQuery(link, string.Format(DistanceQuery, longitude, latitude, zurLong, zurLatitude)).AsEnumerable().FirstOrDefault();
this is the query we are executing to get the distance between two lat-long.

I cannot reproduce your issue with that code snippet on v1.11.1 (or later versions). Could you paste the full call stack of your Exception?

@zfang
`public decimal ComputeDistancefromCityCentre(string latitude, string longitude, string endpointuri, string primarykey, string documentName, string collectionName)
{
decimal computedDistance = 0;
        decimal baseLongitude=<base location longitude>;
        decimal baseLatitude =<base location latitude>;
        using (var client = new DocumentClient(new Uri(endpointuri),
                primarykey))
        {
            string link = GetCollectionDetails(client, documentName, collectionName);
            var distance = client.CreateDocumentQuery(link, string.Format(AzureConstant.DistanceQuery, longitude, latitude, baseLongitude, baseLatitude )).AsEnumerable().FirstOrDefault();
            var distanceValue = JsonConvert.DeserializeObject<dynamic>(distance.ToString());
            computedDistance = (((JObject)distanceValue).Count > 0) ? distanceValue.Distance / 1000 : 0;
            return computedDistance;
        }
    }`

Sorry I meant the stack trace of your exception. Did exception happen at CreateDocumentQuery?
On a separate note, you can simplify things by just doing "SELECT VALUE ..." which will give you double. The ToString and DeserializeObject in your example is also unnecessary because we already return you a dynamic object, which is pretty much a JObject.

Hi @zfang ,
I tried the distance in a console application using 1.11.1 and there seems to be no issue, apologies for the wrong ticket. One query , what do you mean by "SELECT VALUE "?

I mean "SELECT VALUE ST_DISTANCE( {{ 'type': 'Point', 'coordinates':[{0},{1}]}},{{'type': 'Point', 'coordinates':[{2}, {3}]}})" will give you a JValue that is either a number or null (which means undefined).

@zfang ,
thanks a lot :+1:

It would be possible to get undefined (or null, in your case) if your GeoJSON is invalid (e.g. lat/long is out of range).


PAI User View

With the release of "User Home Page", we should hide the "Dashboard" and "Virtual Clusters" from User. //but they should be available for Admin.

Already merged in #2805.


nodejs version and packages well out-of-date

nodejs version and packages well out-of-date, and need to be updated to ensure security and stability

I updated axios since that was one major version behind but the rest of the packages have carets in front of their version number and should find the latest minor version. The NodeJS version isn't explicitly listed in package.json but I tested and nothing broke when I updated from v16.18.1 to v18.12.1 so I'll closing this issue.

LGTM!


New cookbook 'Speeding up slave initialization' from MaxK (#3948)

cherry-pick from devel

thanks @Simran-B for your comments - we have implemented some of them. We have tested with a master/slave setup on our lab, before opening the PR


EDS React - Component-specific compact-mode.

Is your feature request related to a problem? Please describe.
In our project we have, a couple of times, come into situations where we would like to set density="compact" on a single component, or at least a subset of all components in a view. In most cases, this can be solved with custom CSS, but... yeah that would require custom CSS, of which we want as little as possible.
Describe the solution you'd like
It shouldn't be too hard to add the prop density: "compact" | "comfortable", to all the EdsComponents (that support compact mode), and then use that as an override. Any chance for this?
Describe alternatives you've considered
We basically just want the above. 😅 I suppose doing this via classes is another option, but I think explicit props might be better.

Technically, you should be able to override the outer EdsProvider  by wrapping another  around the specific section/components deeper down. (But then if this has children that are supposed to be comfortable again you would need an additional EdsProvider on that.)
Note that the guiding philosophy here is that for accessibility reasons, there should normally always be an option to make all the components "comfortable" which is why we have this global setting only recommendation. But there have been internal discussions to make changes to how this should work. A common requested use case for example is to have a compact table but everything else is comfortable.
Currently, all the spacing values etc for compact are being overhauled as part of EDS 2.0 but this will take some time still before it is ready to be implemented in the react components.  We will discuss taking into consideration this per-component density feature-request as part of the otherwise needed re-writes for the new design-tokens that comes with EDS 2.0 👍


Add border radius to button container. Fix rectangular outline when focused.

Fixed Issues
$ https://github.com/Expensify/App/issues/13372
Tests
Same as QA

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

Log out
Use the keyboard and press "tab" until the "Continue" button is highlighted
Verify that the button has a blue highlight and that it's shape is rounded border matching the button edge. It should not be rectangular.

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/32969087/206025919-37281bf1-12e4-4687-a994-a96aa1ae2f2d.mp4

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

I've tried looking around but I'm not sure if "tab focus" is really a thing on native platforms or something we have to worry about. Tested on mobile web Safari with this option enabled and it looks good.

Ok, tab focus seem not relevant for native. At least for now - there's no accessibility outline for the button nor is it tab focusable.

@aimane-chnaif Not gonna tackle that in this PR. At first glance... it's not really clear how the outline would work for this shape so I'm not sure if there's anything we would fix about it and it's something I'd ask the design team about in Slack.

Bump

Cool looks like we have the necessary reviews so gonna pop off @joelbettner.
@joelbettner if you want to review this post merge feel free!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @marcaaron in version: 1.2.42-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.2.42-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Change default field for searches

When searching for inquiry, the default field should be the family's record number.
When searching for placement (any of the four types), default field should be the child's record number.

not an issue, can be achieved via filters as needed.


We can allow events to RudderStack since we don't have any rate limit…

Summary
Because we've switched from Segment to RudderStack, we no longer need to limit what telemetry events are sent, so this removes the restrictions.

@amyblais @esethna please provide a milestone for this PR, discuss it over with @Adovenmuehle if needed.

Same questions as https://github.com/mattermost/mattermost-mobile/pull/4520#issuecomment-653099591.

Medium (somewhat higher than the other one)
Risk would be low here as well

Building app in separate branch.

Artifact links:
https://7748-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk
https://7746-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa

Just noting that this PR is waiting on self-serve dashboard per @Adovenmuehle
Also, @enahum I just wanted to confirm with you if Rudder is enabled in this PR build.

@enahum I think we'd need to have circleCI rebuild it. is there a way to kick that off or should I just post a no-op commit.

Building app in separate branch.

@Adovenmuehle We kick off new app builds using Build Apps for PR label. I went ahead and kicked it off.

But I may have to kick it off later again from another branch per https://github.com/mattermost/mattermost-mobile/pull/4520#issuecomment-658898900

@Adovenmuehle Updated build from new branch generated here (build-pr-4521-1)

@Adovenmuehle @josephbaylon gentle reminder about this PR

@enahum @josephbaylon: @enelson720 has a beta version of the looker QA dashboard, I figured this would be a good test of it. He'll contact you on MM

@enahum @Adovenmuehle If we want this merged in time for the feature complete today, I can just test this after the RC has been cut if the dashboard doesn't make it in time. The code changes look straightforward. Let me know and I can approve and test later


Stop message sending after cleanup

I am starting to use cleanup() and have noticed that exceptions can appear when the cleanup happens during message sending and self.transport becomes None.

Thanks for the PR's. It will take a little while before I create a new release. I will be working on something and I might as well wait till it's done before I release. Hope you don't mind

Hello. I am starting to wonder a bit, how little this while is going to be? ;-)


Cleanup CHANGELOG

What does this PR do?
Removing the whitespace and fixing links
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @borda

@Borda That was done in #12496

@Borda That was done in #12496

well, then I still see 2022-MM-DD


cluster-autoscaler: Unable to look up PVC info

cluster-autoscaler works fine but im seeing multiple lines of this error in the logs:
E0328 18:14:57.140465       1 predicates.go:234] Unable to look up PVC info for logging/datadir-elasticsearch-data-ss-1, assuming PVC matches predicate when counting limits: persistentvolumeclaim "datadir-elasticsearch-data-ss-1" not found
I've confirmed the pvc datadir-elasticsearch-data-ss-1does exist in the logging namespace

I also see the same, and when the autoscaler should have executed a scale up it didn't happen.
The pod that should have caused the scaling was also using a PVC, and the event on the pod listed:
FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----			-------------	--------	------			-------
  27m		17m		55	{cluster-autoscaler }			Normal		NotTriggerScaleUp	pod didn't trigger scale-up (it wouldn't fit if a new node is added)
  17m		17m		1	{cluster-autoscaler }			Normal		NotTriggerScaleUp	pod didn't trigger scale-up (it wouldn't fit if a new node is added)
  16m		16m		1	{cluster-autoscaler }			Normal		TriggeredScaleUp	pod triggered scale-up, group: nodes.example.com, sizes (current/new): 2/3

Last line came after I swapped the 0.5.0 for the 0.4.0 of cluster-autoscaler.
Using Kops - if that has something to do with this.

Which version of K8S are you on?

1.5.4

and im on v1.5.3

This has been fixed in cluster-autoscaler 0.5.2. Since CA image has now been released I'm closing the issue.


Grouping layers

For projects with huge number of layers, it would be useful to allow group layers. Something like this:
deptrac:
  layers:
    - {name: AAA, collectors: ...}
    - {name: ABB, collectors: ...}
    - {name: CBB, collectors: ...}
    - {name: BBB, collectors: ...}
    - {name: XAX, collectors: ...}
    - {name: CCX, collectors: ...}
  groups:
    GroupA: [AAA, ABB, XAX]
    GroupB: [ABB, CBB, BBB]
    GroupC: [CBB, CXX]
    GroupX: [XAX, CCX]
    GroupAB: [GroupA, GroupB]
    GroupCX: [GroupC, GroupX]
    GroupAX: [GroupA, GroupX]
  ruleset:
    CBB: [GroupAX]         # CBB can use AAA, ABB, XAX, CCX
    GroupA: [GroupAB, CCX] # [AAA, ABB, XAX] can use AAA, XAX, ABB, CBB, BBB, CXX
    GroupX: [GroupA, BBB]  # [XAX, CCX] can use AAA, ABB, XAX, BBB

Notes:

Any layer can be included in several groups. For example, layer CBB is included into GroupB, GroupC, GroupAB, GroupCX groups.
Ruleset for groups should be merged. For example, XAX can use all allowed dependencies from both rules GroupA: [GroupAB, CCX] and GroupX: [GroupA, BBB], because XAX is included into both GroupA and GroupX.

Real example, one of many actually: we have dozens separated APIs. Each concrete API is a separate layer, so dependencies between them are forbidden. And we have common dependencies we would like to allow for all these API layers, now we have to write a massive ruleset:
deptrac:
  layers:
    - {name: Api1, collectors: ...}
    - {name: Api2, collectors: ...}
    - {name: Api3, collectors: ...}
    - ...
    - {name: Common1, collectors: ...}
    - {name: Common2, collectors: ...}
    - {name: Common3, collectors: ...}
    - ...
  ruleset:
    Api1: [Common1, Common2, Common2, ...]
    Api2: [Common1, Common2, Common2, ...]
    Api3: [Common1, Common2, Common2, ...]
    ...

More clear version could be:
deptrac:
  layers:
    - {name: Api1, collectors: ...}
    - {name: Api2, collectors: ...}
    - {name: Api3, collectors: ...}
    - ...
    - {name: Common1, collectors: ...}
    - {name: Common2, collectors: ...}
    - {name: Common3, collectors: ...}
    - ...
  groups:
    API: [Api1, Api2, Api3, ...]
    Common: [Common1, Common2, Common3...]
  ruleset:
    API: [CommonGroup]

This could be done fairly easily once #1002 is merged.

Closing as #1002 is now merged.


Weather Analysis

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Weather Analysis
:red_circle: Aim : Perform EDA
:red_circle: Dataset : https://www.kaggle.com/datasets/mastmustu/weather-analysis
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hi @mariam7084 thanks for creating the issues. Would you like to work on these?

Hi @abhisheks008
firstly, Thankyou!!
I opened the issues after seeing multiple people wanted to take on new projects under my last issue.
Please assign the issue #573 to me. I have mentioned the required details under that issue.
Rest you may assign to fellow contributors :D

Assigned to you @ghousiya47 under JWOC.


setup accounts for web app security scan and provide to Seattle IT

For security purposes the City of Seattle performs web app security scans.  We need to provide them (see internal thread on this) with IDCS and ADFS accounts and the web app URL.

Starting scan tonight!


Error building gem on OSX

I'm having this error when trying to build the gem. I already downloaded and installed the following package:
http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.7.3.dmg (206 MB, includes build and interface tools)
Here's some system info and gem build output:
% which ruby
/Users/miloops/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
% uname -a
Darwin miloops.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
% gem install capybara-webkit
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
    /Users/miloops/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb

/opt/local/bin/qmake
cd src && qmake webkit_server.pro -spec macx-g++ -o Makefile.webkit_server
( [ -d src ] && cd src ; grep "^qmake_all:" Makefile.webkit_server && make -f Makefile.webkit_server qmake_all; ) || true
cd src && make -f Makefile.webkit_server
c++ -c -pipe -Wall -W -Os  -DQT_NO_DEBUG -I/opt/local/lib/qt3/mkspecs/macx-g++ -I. -I/include -o main.o main.cpp
In file included from main.cpp:1:
Server.h:1:19: error: QObject: No such file or directory
main.cpp:2:17: error: QtGui: No such file or directory
In file included from main.cpp:1:
Server.h:6: error: expected class-name before ‘{’ token
Server.h:7: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
Server.h:9: error: expected ‘;’ before ‘public’
Server.h:13: error: expected :' before ‘slots’ Server.h:14: error: expected primary-expression before ‘void’ Server.h:14: error: ISO C++ forbids declaration of ‘slots’ with no type Server.h:14: error: expected ‘;’ before ‘void’ main.cpp: In function ‘int main(int, char**)’: main.cpp:6: error: ‘QApplication’ was not declared in this scope main.cpp:6: error: expected ;' before ‘app’
main.cpp:7: error: ‘app’ was not declared in this scope
Server.h:11: error: ‘bool Server::start()’ is private
main.cpp:13: error: within this context
main.cpp: At global scope:
main.cpp:5: warning: unused parameter ‘argc’
main.cpp:5: warning: unused parameter ‘argv’
make[1]: *** [main.o] Error 1
make: *** [sub-src-webkit_server_pro] Error 2
make
cd src && make -f Makefile.webkit_server
c++ -c -pipe -Wall -W -Os  -DQT_NO_DEBUG -I/opt/local/lib/qt3/mkspecs/macx-g++ -I. -I/include -o main.o main.cpp
In file included from main.cpp:1:
Server.h:1:19: error: QObject: No such file or directory
main.cpp:2:17: error: QtGui: No such file or directory
In file included from main.cpp:1:
Server.h:6: error: expected class-name before ‘{’ token
Server.h:7: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
Server.h:9: error: expected ‘;’ before ‘public’
Server.h:13: error: expected :' before ‘slots’ Server.h:14: error: expected primary-expression before ‘void’ Server.h:14: error: ISO C++ forbids declaration of ‘slots’ with no type Server.h:14: error: expected ‘;’ before ‘void’ main.cpp: In function ‘int main(int, char**)’: main.cpp:6: error: ‘QApplication’ was not declared in this scope main.cpp:6: error: expected ;' before ‘app’
main.cpp:7: error: ‘app’ was not declared in this scope
Server.h:11: error: ‘bool Server::start()’ is private
main.cpp:13: error: within this context
main.cpp: At global scope:
main.cpp:5: warning: unused parameter ‘argc’
main.cpp:5: warning: unused parameter ‘argv’
make[1]: *** [main.o] Error 1
make: *** [sub-src-webkit_server_pro] Error 2
Gem files will remain installed in /Users/miloops/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.5.0 for inspection.
Results logged to /Users/miloops/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.5.0/./gem_make.out

jferris, did you figure out how to change the build flags to prefer Qt4?


[Device Support Request]SASWELL SAS980SWT-7 Solenoid valve and watering programmer (with consumption measurement)

Is your feature request related to a problem? Please describe.
The solenoide walve SAS980WST-07 is successfully  paired by ZHA but the devices are not all supported :

On-Off swith OK
Battery measurement NOK
Consumption measurement NOK

Describe the solution you'd like
To have the battery and consumption  measurement supported by ZHA

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0702",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_81isopgh",
  "model": "TS0601",
  "class": "zhaquirks.tuya.ts0601_valve.TuyaValve"
}

Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2022.10.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Paris",
    "os_name": "Linux",
    "os_version": "5.10.0-12-amd64",
    "supervisor": "2022.10.0",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "20.10.14",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "myEnedis": {
      "version": "1.5.1",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.2",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.34.2",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.82",
      "zigpy-deconz==0.19.0",
      "zigpy==0.51.3",
      "zigpy-xbee==0.16.2",
      "zigpy-zigate==0.10.2",
      "zigpy-znp==0.9.1"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      }
    ],
    "dependencies": [
      "file_upload"
    ],
    "after_dependencies": [
      "onboarding",
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 22303,
    "manufacturer": "_TZE200_81isopgh",
    "model": "TS0601",
    "name": "_TZE200_81isopgh TS0601",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts0601_valve.TuyaValve",
    "manufacturer_code": 4098,
    "power_source": "Battery or Unknown",
    "lqi": 255,
    "rssi": -52,
    "last_seen": "2022-10-18T10:35:24",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0051",
          "in_clusters": [
            "0x0000",
            "0x0001",
            "0x0004",
            "0x0005",
            "0x0006",
            "0x0702",
            "0xef00"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "sensor.tze200_81isopgh_ts0601_battery",
        "name": "_TZE200_81isopgh TS0601"
      },
      {
        "entity_id": "sensor.tze200_81isopgh_ts0601_smartenergymetering",
        "name": "_TZE200_81isopgh TS0601"
      },
      {
        "entity_id": "sensor.tze200_81isopgh_ts0601_smartenergysummation",
        "name": "_TZE200_81isopgh TS0601"
      },
      {
        "entity_id": "switch.tze200_81isopgh_ts0601_switch",
        "name": "_TZE200_81isopgh TS0601"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "SMART_PLUG"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "e3295d5e64929fda3e368f80ed9ef537",
    "area_id": "zigbee",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "SMART_PLUG",
          "id": 81
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 72
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE200_81isopgh"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {
              "0x0000": {
                "attribute_name": "on_off",
                "value": 0
              }
            },
            "unsupported_attributes": {}
          },
          "0x0702": {
            "endpoint_attribute": "smartenergy_metering",
            "attributes": {
              "0x0000": {
                "attribute_name": "current_summ_delivered",
                "value": 0
              },
              "0x0300": {
                "attribute_name": "unit_of_measure",
                "value": 7
              }
            },
            "unsupported_attributes": {}
          },
          "0x0001": {
            "endpoint_attribute": "power",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": "tuya_manufacturer",
            "attributes": {
              "0xef00": {
                "attribute_name": "mcu_version",
                "value": "1.0.0"
              },
              "0xef01": {
                "attribute_name": "time_left",
                "value": 60
              },
              "0xef02": {
                "attribute_name": "state",
                "value": 2
              },
              "0xef03": {
                "attribute_name": "last_valve_open_duration",
                "value": 600
              },
              "0xef04": {
                "attribute_name": "dp_6",
                "value": 0
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

Additional logs
Paste any additional debug logs here.
Don't remove the extra line breaks outside the ``` marks.

Additional context
Add any other context or screenshots about the feature request here.

Look hère : https://github.com/zigpy/zha-device-handlers/issues/1556

Looks like here :
[Device Support Request] Tuya TS0601 - TZE200_81isopgh - Garden Watering System · Issue #1556 · zigpy/zha-device-handlers (github.com) 1
Some of the issues have been resolved. Would appreciate if this could be integrated into ZHA.

Unfortunately, the level of support of this device in ZHA has not been improved. In particular, the critical entity around battery level is not reported in ZHA.
I have 2 of those devices, which besides this are great devices. It is unfortunate that they are not fully supported in ZHA.
Asking that the issue remains open until fully solved. Thank you

Unfortunately, last updates have not brought additional support for that devices, which remains a shame as it looks like some custom quirks have done great progress. Nevertheless, nothing has made things better on standard ZHA support.
Please keep the issue open as the device is still being available and still one of the best out there, outside of the ZHA support.
Thanks


npm install not working

Describe the bug
Calling the "npm install" to download codetheweb/tuyapi fails with log :
npm ERR! git clone git@github.com:github:codetheweb/tuyapi fatal: remote error:
npm ERR! git clone git@github.com:github:codetheweb/tuyapi    is not a valid repository name
npm ERR! git clone git@github.com:github:codetheweb/tuyapi   Email<EMAIL_ADDRESS>for help
npm ERR! notarget No compatible version found: tuyapi@'github:codetheweb/tuyapi'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0","0.1.1","0.1.2","1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.1.2","2.0.0","2.0.1","2.0.2","2.0.3","3.0.0","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.2.0","3.2.1","3.2.2","3.2.3"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Desktop :

OS: Raspbian

This should be fixed now, please check again.

close


Feature: Add action to open folder in new pane

What feature or improvement do you think would benefit Files?
it will benefit folder browsing pane,
currently if I double-click (or single-click, depending on configuration) on items in a pane, it will be opened in the same pane
i am wondering if we could add option to

open items/subfolders in the other pane
open items/subfolders in a new table

Requirements

Add action to open selected folder in new pane

Files Version
<IP_ADDRESS>
Windows Version
11
Comments
No response

Thanks for the feedback!
As for opening an item in a new tab, we use middle click. As for in a new pane, could you elaborate how you expect you open in a new pane? Different shortcut or a user configuration?

You can open folders in a new pane via the context menu, have you given this a try?

You can open folders in a new pane via the context menu; have you tried that?

Thanks for the suggestion. I did give it a try, but I find it inconvenient. Since I have to perform this action frequently, having to bring up the context menu and make a selection each time feels cumbersome. Ideally, I'd prefer a single-click solution to streamline the process.

Thanks for the feedback!
As for in a new pane, could you elaborate how you expect you open in a new pane? Different shortcut or a user configuration?

Thank you as well!
I have a 21:9 ultra-wide monitor, which provides ample space to set up two panes side by side—one on the left and one on the right. Currently, when I single or double-click on items in the left pane, they get opened in the same left pane. What I'd like is for the content (e.g., the subfolders or children files) of a folder clicked in the left pane to be displayed in the right pane instead. It would be great if this behavior could be configured by end users.

Thanks for the suggestion. I did give it a try, but I find it inconvenient. Since I have to perform this action frequently, having to bring up the context menu and make a selection each time feels cumbersome. Ideally, I'd prefer a single-click solution to streamline the process.

Ideally there would be a shortcut

Turns out there is already an action but it doesn't have a default shortcut. To assign a shortcut:

Open Settings > Actions
Click on "Add command"
Select "Open in new pane"
Choose your preferred keyboard shortcut

You'll now be able to open folders in new panes with a single action.

thanks @yaira2 the shortcut is helpful, more convenient than context menu. Thanks for the valuable advice.
Yet, it's not a single action, it's 2-step actions,

left-mouse-click on items in the left pane
press the keyboard shortcut
then it will bring up contents in the right pane

wondering if making "1 left-mouse-click on an item in the left pane" would be sufficient?
specifically
In settings -> "files and folders" -> open items with a single click -> a binary toggle button
there is also a "open folders in new tab"
could we enhance it by adding a dropdown selector, "open folders in: same pane | new pane | new tab"?
that would be perfect
the reason for me raising this request is, there are a 2 level folder structure as below
Root
├── Folder 1
│   ├── Item 1.1
│   └── Item 1.2
├── Folder 2
│   ├── Item 2.1
│   └── Item 2.2
└── Folder 3
    ├── Item 3.1
    └── Item 3.2

and i'd like to quickly iterate the folder 1, folder 2, folder 3 to check their children items one-by-one. such one-click to open in new pane would be super helpful
thanks a lot

It sounds to me that you're looking for the Column View layout.

sort of, the Column View layout is close to what I'm looking for.
except for that the left pane is not "frozen" at the current level
but don't worry, I could settle into this, and I definitely understand you have other priorities.  thanks


failed to parse page metadata, strings cannot contain newlines

I used to be able to put markdown inside metadata strings but a couple months later this no longer works.
Is this a Hugo-related problem and is there another way of doing it?
example: a table with new lines
summary = '

8 hours
26/01/2017
No definition given

example text.
'

Please edit your question so that the code is formatted as code (put ``` before and after the code block) to clarify what you are attempting to achieve.

For multiline summaries (containing line breaks), you should use the multiline TOML syntax of three speech marks. For example, the following works fine:
summary = """
|            |                    | |
| -----| ----------- | ------------------------------ |
| 8 hours  | 26/01/2017 | No definition given          |

example text.
"""

Thank you, the errors are gone.
I will read up on TOML syntax.


rust-lldb support, again

Recently, Rust-specific support has been removed, making the debugging experience substantially more difficult. The issue #326 was previously closed because:

rust-lldb is not needed when using CodeLLDB. It has Rust support built-in.

Given the change to that situation, is it possible to add support for using rust-lldb instead of the lldb that ships with the extension?

rust-lldb is just a wrapper script that directs lldb to load data visualizers that come with Rust toolchain.
CodeLLDB does the same (assuming you do have a rust toolchain installed).   So there should be no difference between them.   See https://github.com/vadimcn/codelldb/blob/master/MANUAL.md#rust-language-support

I think you are misreading what the change log says.    CodeLLDB's bundled liblldb used to have Rust-specific code, but now it's the same as stock LLDB.   The results you get from CodeLLDB should be exactly the same as if you use rust-lldb.

Using the extension today confirms the behavior mentioned in the change log.

A little bit more details would be nice.   What is working in rust-lldb but doesn't in CodeLLDB?
Please do check that your launch config includes "sourceLanguages": ["rust"], otherwise rust formatters will not be loaded.

I think you are misreading what the change log says. CodeLLDB's bundled liblldb used to have Rust-specific code, but now it's the same as stock LLDB. The results you get from CodeLLDB should be exactly the same as if you use rust-lldb.

Thank you for the explanation.

Please do check that your launch config includes "sourceLanguages": ["rust"], otherwise rust formatters will not be loaded.

It's weird that specifying sourceLanguages is required when the cargo key is already specified. Shouldn't sourceLanguages be also specified when the launch configuration is generated automatically by this extension?

It's weird that specifying sourceLanguages is required when the cargo key is already specified.

cargo does imply sourceLanguages: ["rust"]; I didn't know what your launch config looks like.
So are you actually seeing different behavior than that of rust-lldb?

So are you actually seeing different behavior than that of rust-lldb?

I don't know because it's difficult to compare behavior, because I cannot use rust-lldb in vscode, and that's why I opened this issue. I was looking for ways to improve data visualization for local variables while debugging Rust programs.


feat(backend): Ignore the old telemetry requests since all the nodes are now updated

do all three net all have the same format and information?

@icerove Yes! Finally, all the networks have the same format!


Enable the ovn dbs monitoring test

After [1] we can enable the ovn_dbs_monitoring test.
Also removed redundant configs since they set values that are defaults.
[1] https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/927200

/approve

/lgtm


Using null to delete a key sets it if it was not already set

Since #2648 the official way to delete a key set in the default values.yaml was to set it to null in your values.yaml.
I don't know if this is new behavior, but it is now a problem that null only deletes the key if it already exists. Otherwise it creates the key.
I stumbled on this issue as I was trying to fix a problem with prometheus-operator Chart 8.1.2. Setting
kubeScheduler:
  service:
    selector:
      k8s-app: "kube-scheduler"
      component: null

results in template output of
  selector:
    component: null
    k8s-app: kube-scheduler

which unfortunately does not work as it does not match something without a component label.
The issue here is that older versions of the chart set a default value of
kubeScheduler:
  service:
    selector:
      component: "kube-scheduler"

so I was setting the override with component: null as required to delete the key.  My settings with the older chart correctly produced
  selector:
    k8s-app: kube-scheduler

without a component key.
Now, however, the prometheus-operator chart has been updated so that component isn't a default value, but rather a default template output if nothing is set. This is better chart design as it avoids this confusing need to delete a default key. Unfortunately, it also brings up the inconsistent behavior of helm in that component: null  deletes a key if it exists, but creates the key if it does not.
Do we need to allow the creation of keys with value null? I thought we decided we did not when we decided to allow null to delete keys rather than override them.
At the very least, this is inconsistent behavior that should be documented in the documentation about deleting keys (see link above).
Output of helm version: seen in v2.16.0 and v2.14.3
Output of kubectl version: v1.13.12

What's the recommended course of action here? As far as I understand, null is a valid value for YAML/JSON, so if it's explicitly listed in the values, that should be treated as a value.


Fix homebrew build

https://github.com/actonlang/homebrew-acton/actions/runs/4812347631/jobs/8567659907

I can't figure out why this started failing after previously working. Debugging homebrew tap stuff is a nightmare IMHO, so incredibly long jobs and very hard to reproduce locally.
Switching the publish job to macos seems to fix it. I got a test job through. Now pushed change to macos on main branch and rerunning pr-pull https://github.com/actonlang/homebrew-acton/actions/runs/5149621790/jobs/9272860888?pr=50

I found the real culprit and a better workaround, now pushed although not fully tested since I haven't done a pr-pull yet. Multiple others are using this solution though so I'm going to assume it works. https://github.com/actonlang/homebrew-acton/commit/430b16fc6e2169d6799a01ed73124b5d50240c69
Closing this.


Eliminate empty plan payloads

What does this PR do?
For a captured plan_hash_value we are currently picking a random SQL_ID for fetching the execution plan. During a high cardinality workload, the randomly chosen statement was sometimes already evicted from shared pool (SQL cache), which resulted in an empty execution plan payload. To reduce the likelihood of fetching the execution plan for the evicted statement, we're replacing the random SQL_ID with the one that was executed most recently.
Motivation
We want to provide the execution plans even on a stressed database with a high eviction rate.
Possible Drawbacks / Trade-offs
There's an additional join with a subquery with an analytic function to identify the last active SQL_ID. Due to the additional join, the query metrics query runs 30% slower (~600ms on a test system under load). With the configuration parameter disable_last_active: false, we can disable the new feature, if it's causing a problem on a customer's database.
Describe how to test/QA your changes
Start the agent and check the query in query metrics.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

With the configuration parameter disable_last_active: false, we can disable the new feature, if it's causing a problem on a customer's database.

that's a bit confusing... I would think setting something with the word disable in it to true would be what disables the feature

With the configuration parameter disable_last_active: false, we can disable the new feature, if it's causing a problem on a customer's database.

that's a bit confusing... I would think setting something with the word disable in it to true would be what disables the feature

It was a documentation error - disable_last_active: true disables the feature. Corrected now.


New App: recentapp

This app is a tiny boot script to access the recent/active app info data as object with: require(\"recentapp\")

Hi - I'm really not sure this is a good idea. It seems the reason for this is the recent regression which causes __FILE__ not to be set?
I'm literally just getting a fix in for that now, so at that point you'll just be able to check __FILE__ from your apps/widgets/boot code.

Hi - I'm really not sure this is a good idea. It seems the reason for this is the recent regression which causes __FILE__ not to be set?
I'm literally just getting a fix in for that now, so at that point you'll just be able to check __FILE__ from your apps/widgets/boot code.

Hi,
thanks for the fast reply. I'm not sure if I fully understand what you mean because I didn't know about a __FILE__ variable or module for now.
If it is possible to get the name of a loaded file from within __FILE__, this would be perfect and make this app unnecessary.
Could you tell me the firmware version this fix would be in?

Just installed 2v11.7 and it works great.

Perfect - thanks for letting me know!


Use builtin mkdir instead of os.execute()

Calling the vim builtin should be more portable, give better errors, and should handle paths better

Thanks.


Running Code On WSL Bash

Usually, when you wanna run a program, you would right click and choose run on terminal. This feature only works on powershell. Since bash (linux subsystems) are supported in Windows, it would be nice to have the run file in terminal button working on the bash shell as well.

@AakashSasikumar do you mean launching as in by right clicking in Windows Explorer and opening a terminal to run code.exe in it?
Related: https://github.com/Microsoft/vscode/issues/13138


Track stable versions of pip requirements

This patch changes the calculation of the latest available version in pipchecker:
Before
pipchecker took the latest visible release.
celery 3.1.23                    4.0.0rc6 available

Now
pipchecker will search for all releases (visible and hidden) and select the latest stable one if your declared version is stable (or the latest unstable if not).
celery 3.1.23                    3.1.24 available

celery 4.0.0rc3                  4.0.0rc6 available

I would love to hear your feedback about this. If you are wary about changing previous behaviour but think this is a good idea, I could add a command line flag.

Coverage decreased (-0.002%) to 38.134% when pulling 5ad36e6d9ed585b98cf3964f83fe80ad65a6913b on federicobond:stable-version-tracking into 970de99ce9e1027daad8d602d2e3ebb2ec09fe85 on django-extensions:master.

Thanks !


How to read a encoded/decoded data in xml format using pyspark?

from pyspark.sql import SQLContext
sqlContext = SQLContext(sc)
df1 = sqlContext.read.format('com.databricks.spark.xml').options(rowTag='data').load('/sample.xml')
df1.show()
I am using the above  code.  But i am unable to do so and also i am using spark-xml_2.11-0.4.1.jar with 2.1 Spark version.

I think you could use charset option like options(charset='...').

Not clear what the question is ...


CI: have rocky and fedora builds use curl in /opt

The rocky and fedora CI Docker images have curl built from tools/build_h3_tools.sh installed in /opt. This updates the CMakePresets.json for those presets to point to that curl.

[approve ci autest]

[approve ci autest]

[approve ci autest]

Cherry-picked to v10.0.x


Add API documentation

Since mediaosup provides a Node ES6 API, so esdoc seems a beautiful solution for auto-generated doc.

Some work done in a new esdoc branch, but IMHO it is unusable for my needs, so I'm about discarding it.

Website almost done, so let's close this issue:

http://mediasoup.org
http://mediasoup.org/api/


Added op statements to generate sstable and rainbowtable

@jshook draft PR to generate rainbow table and sstable
Created boilerplate for

RainbowTable Mapper
SsTable Mapper
RainbowTable Dispenser
SsTable Dispenser
RainbowTable OpTypes
SsTable OpTypes

Ah, I see it is still in draft. Consider it reviewed as "good", and ready for the remainder of your changes.


Reverting to Loaded Values After Reset

The Problem
After actions.load(model, newValsFromDb), calling actions.reset(model) resets the form then fires a series of actions.change(model, val) that brings the form back to the loaded values.
Context: I need the form with no loaded values in create mode (new record) but with the loaded values in update mode.
Steps to Reproduce

Dispatch an actions.load
Dispatch a reset

Press the button to toggle between update and create mode in the ff. codepen:
https://codepen.io/niaw/pen/pWNwPm
Expected Behavior
In create mode, the form should reset to its initial state (not the loaded values).
Actual Behavior
In create mode, the form retains the values loaded by actions.load in update mode.
Reproducible Code Example
CodePen

Current workaround is to just do a silent change via actions.change(model, val, {silent: true} instead of a load upon asynchronously retrieving the values from the DB. Seems to work but I'm not sure if this is the intended usage.

@niawdeleon With your current usage, it seems like actions.reset never gets called at all - add logger to see this:
const store = createStore(combineForms({
  user: initialUserState,
}), applyMiddleware(thunk, logger));

Sorry about that. I do see the rrf/reset dispatch in my codebase upon unmount, so I've not accurately reproduced the issue. Let me revise the codepen.

@davidkpiano I've revised the codepen to reproduce the issue and have verified that rrf/reset does get called.

As you can see in the log, rrf/change load:true, silent:true is called right after the reset, but this load is not triggered by the application code.

I have same problem. I will also use your workaround of just firing a change with empty values to reset.

Hi @mitchelldemler that's not my workaround. To clarify, my workaround is to not use actions.load (instead load the values using a silent actions.change but I am still using actions.reset. I'm not sure firing a change with empty values to reset is the right approach as that might not reset the touched, validation and other important flags.

Haha, I realised that soon after :)

Possibly related, if I hit reset twice in a row after an actions.load, the first time it resets to previously loaded values,  the second time I find it clears the form totally as I have no initial values set in store. I would assume reset should always just reset to last loaded or initialised values?

@daronjay can you open a separate issue to track that?


How to load multiple files

i have multiple files coming out of my Revit file for different treads and all of them share the same coordination point, is it possible to modify the code to load more than one model into the viewer?

Hey, we are already able to open multiple models. Just opening them one after the other should work. Batch opening should be a matter of configuring the input html element!

You need to add multiple attribute to input and loop the files after.
Thats what I do in https://github.com/vegarringdal/web-ifc-experiment
Dunno if web-ifc-viewer still keeps files open ? That might be a issue...

This is something the library can already do, simply loading multiple files without closing the scene.


adding REPO_NAME to config

This PR should be enough (defining REPO_NAME in the config) to set the example repository as a default to build the notebook from. The user still would need to define DOCKER_USER and DOCKER_PASS and CONTAINER_NAME in the environment variables (the last one could also be defined in the config). I had first thought that we would want an undefined REPO_NAME to trigger an error, but maybe it's best for the default to just build an example (and then not deploy). Anyway, let's try this.

okay so it looks like we do need to define some repo (I can't just leave as empty)
fatal: The empty string is not a valid path
Failed to clone repository!Exited with code 1

Should it assume $PWD if this is the case?

It wouldn't make sense to give the name of the present repo, since it's already cloned it and is building from a PR (and would clone the last version)

I'll try the path, per instructions in the docs!
jupyter-repo2docker <URL-or-path to repo>

okay everyone should check this out :)
docker pull vanessa/repo2docker
docker run -it --name repo2docker -p 8888:8888 vanessa/repo2docker jupyter notebook --ip <IP_ADDRESS>

Note that by default the container is built with the tag (not latest) but I tagged the version and pushed to latest because this is my preference for the user to not need to enter a tag. I know, terrible.

This has given me immeasurable joy today, thank you <3

I think we are ready to merge this?!

:crossed_fingers: !

I'm way excited for this - I was able to get the repo2docker container to deploy from my local machine onto a slurm node --> https://github.com/drorlab/forward/pull/12 so a researcher can (sort of) treat an old school slurm cluster like a container one! It needs more testing wrt the build step though - and I can open an issue to discuss this. Basically, Docker lets you write anywhere (so a random /home/username to put the virtual environment and notebook files is ok) but with Singularity conversion, the user doesn't have permission to write there. As a workaround I was able to bind the files that need write (/home/userhome/.local) to the user's actual home .local (./home/<username/.local) and then set the container --home to be the actual user home (as it was getting overridden by $HOME in the container) and this works like a charm, but lost is the ability to open up and edit the previous notebooks. So - what I think is needed is a builder template for Singularity that takes these things into account. I don't know what to do yet because we can't predict a user's home in advance, but likely creating / using a location with read/write permissions for all would do the trick.

:shipit: thanks for the patience!

wouhou!


DPI issues on date and time picker

Turned out to be a resolution, not DPI issue. Popups (calendar and time pickers) will now display in the middle of the screen if there is not enough space directly above or below the picker control.


make website more good

There's a website now!  http://www.node-tap.org
It's pretty OK, I think.  Here are some requirements:

It should look good (or at least, not bad) on small devices and also on screens
It should be much smaller than most well-known works of Russian literature.  There's no need for very much clutter, what it needs is more content.
It should provide useful info and stay up to date with the project.

It's a Jekyll thingie in the gh-pages branch, as is the custom of our time.

If anyone wants to write more tutorials and stuff, that'd be rad.  There's a "getting started" guide, but it might be good to add guides for some of the more interesting features, like using --save=fails.txt and re-running tests until passing, or --bail to exit on the first failure.
Syntax highlighting would also be nice.
Maybe if there's some way to automatically keep bits of it generated by the "real" docs, that'd be good?
Maybe the README should have less stuff in it, and direct people to the website? gh-pages IS the "real docs" now.  The readme got too big and was removed.
Probably would be good to add some kind of "why tap?" page.

It would be great if we could link into pages... I just tried to send someone a direct link to t.equal() docs... but had to settle for the asserts page and note telling them to scroll down.

Agreed!  I don't know how to make Jekyll (or kramdown?) auto-anchor headings, but I imagine there's a way to since this is a GitHub thing and they're all about that for README.md's and such, right?

Where's the repo for the website and how does one contribute to that?

It's the same repo, just the gh-pages branch.  https://github.com/tapjs/node-tap/tree/gh-pages

New site is live!  Thanks, @tanyabrassie!

Woot! @isaacs I found one really tiny css issue -- there's a missing semicolon on line 27 in  /hero.js (the InnerCircle styles) that's causing right: 0 not to be picked up, so the circles are misaligned. 🙈

Fixed  on
https://github.com/tapjs/node-tap/commit/c03d5f85852b04bebcf1a788039649b545e1a2d1
Thanks!
On Sun, Jun 16, 2019 at 5:45 PM Tanya Brassie<EMAIL_ADDRESS>wrote:

Woot! @isaacs https://github.com/isaacs I found one really tiny css
issue -- there's a missing semicolon on line 27 in /hero.js (the
InnerCircle styles) that's causing right: 0 not to be picked up, so the
circles are misaligned. 🙈
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tapjs/node-tap/issues/208?email_source=notifications&email_token=AAACIRYJJQN4XSVK6AAL6M3P23ND5A5CNFSM4BXZYSO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZYYJQ#issuecomment-502500390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAACIR7TXNGC43KE7HGJKR3P23ND5ANCNFSM4BXZYSOQ
.


Redis cache PUT failures

Took me a bit to figure this out and I thought I'd share in case anyone else runs into it.  I'm using the PowRedisCache and my sessions started failing yesterday.  I could login successfully, but immediately any API calls would fail due to Redis cache misses.  Monitoring my Redis server just showed lots of SCAN and GET calls, but not a single SET.  I finally figured out that my Redis server's full, and returning the following error on PUTs: "OOM command not allowed when used memory > 'maxmemory'.".  PowRedisCache understandably ignores responses for efficiency, but this meant I had no way of knowing this was the cause of the problem.
I'm trying to decide how to fix this on my Redis server, but leaning towards switching from maxmemory-policy volatile-lru to maxmemory-policy allkeys-lru so all keys will be recycled not just ones with expiry's.
Hope this saves someone else some time!

Ugh, yeah that's no good. Thanks for letting me know! This error should definitely be raised in Elixir. One way could be to send off Redix.pipeline(@redix_instance_name, commands) in an async task and raise there if there's a non OK response.

Yeah, switching to a regular pipeline is how I spotted it (though I just did it synchronously, not in a task).  Here's the error response if that helps:
{:ok, [
  %Redix.Error{message: "OOM command not allowed when used memory > 'maxmemory'."},
  %Redix.Error{message: "OOM command not allowed when used memory > 'maxmemory'."},
  %Redix.Error{message: "OOM command not allowed when used memory > 'maxmemory'."}
  ]
}

Ok, got a PR in process here: https://github.com/danschultzer/pow/pull/549
Wdyt? In this PR I keep everything as it is and just making sure that an error is raised in an async process. An alternative could be a GenServer to match how the ETS and Mnesia cache works. But it could also be that we should just run the commands synchronously. Not really sure what's the better option here.

Yeah, that's much better. I've updated the guide. Decided to just use command! to raise the Redix errors. They are unexpected errors, so I think it makes sense to just raise if there are any problems with Redis.

Perfect- catching those sooner is a big help.


Trouble serving lambdas and static site on Windows (bash and cmd)

I've having trouble getting both lambda function via gateway and a static site served together.
cmd shell
By default sam local start-api without any parameters gives an invalid bind mount spec error, because the mount spec is in Windows form: C:\Users\blah.
If I specify --docker-volume-basedir /c/Users/blah then the lambda works fine, but now the command output contains Mounting static files from \c\Users\blah\public at /, and this static dir is not valid on a Windows machine (404 errors hitting urls).
If I try to specify --static-dir using the Windows full path (or any path) it simply concatenates this with the --docker-volume-basedir and again we get an invalid path, see:
https://github.com/awslabs/aws-sam-local/blob/b3101e5ea50467305d1478d1cff6709e361256fc/start.go#L53-L56
https://github.com/awslabs/aws-sam-local/blob/b3101e5ea50467305d1478d1cff6709e361256fc/start.go#L120-L125
Git bash shell
Same behaviour as cmd shell without any parameters. If I try to specify --docker-volume-basedir /c/Users/blah it doesn't really do anything: this path is converted to Windows format quite early on (not sure by what?) and again we get invalid bind mount spec.
I've tried playing with COMPOSE_CONVERT_WINDOWS_PATHS but it doesn't seem to make any difference in either shell.
It seems to me that --docker-volume-basedir and --static-dir need to be made more independent, since one is consumed by docker and other by the "host" HTTP server.
Any help much appreciated!

Note: I only started playing with SAM Local a couple of days ago and don't yet have a fully working setup BUT I believe I've managed to get slightly further :)
I'm running

Windows 10 Pro
Docker version 17.06.2-ce, build cec0b72
sam version 0.2.2

For me the API server starts fine and serves events but they fail with a strange parse error:
alexb@DESKTOP-5HFQQQL MINGW64 ~/PhpstormProjects/swaggerizeTest (master)
$ sam local start-api
2017/10/02 09:43:13 Connected to Docker 1.30
2017/10/02 09:43:13 Fetching lambci/lambda:nodejs6.10 image for nodejs6.10 runtime...
nodejs6.10: Pulling from lambci/lambda
Digest: sha256:7eb4ced6a15ae3c30effc4ec0cd3aabb2bd57c9a8330b37920c3d5d722d81083
Status: Image is up to date for lambci/lambda:nodejs6.10

Mounting index.handler (nodejs6.10) at http://<IP_ADDRESS>:3000/Property-API/0.0.1/api-docs [GET]
Mounting static files from public at /

You can now browse to the above endpoints to invoke your functions.
You do not need to restart/reload SAM CLI while working on your functions,
changes will be reflected instantly/automatically. You only need to restart
SAM CLI if you update your AWS SAM template.

2017/10/02 09:43:20 Invoking index.handler (nodejs6.10)
START RequestId: 1241967b-5342-17a2-79d5-7d76b518bc81 Version: $LATEST
2017-10-02T08:43:22.361Z        1241967b-5342-17a2-79d5-7d76b518bc81    Registering plugins!!!!
2017-10-02T08:43:22.712Z        1241967b-5342-17a2-79d5-7d76b518bc81    Setting Host to 4b2cfc67527a:8000
END RequestId: 1241967b-5342-17a2-79d5-7d76b518bc81
REPORT RequestId: 1241967b-5342-17a2-79d5-7d76b518bc81  Duration: 1241.16 ms    Billed Duration: 0 ms   Memory Size: 0 MB       Max Memory Used: 59 MB
2017/10/02 09:43:22 Function returned an invalid response (must include one of: body, headers or statusCode in the response object): invalid character '-' after top-level value

The contents of my template.yml is quite basic:
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31

Resources:
  Hapihello:
    Type: AWS::Serverless::Function
    Properties:
      Handler: index.handler
      Runtime: nodejs6.10
      Events:
        ApiDocs:
          Type: Api
          Properties:
            Path: /Property-API/0.0.1/api-docs
            Method: get

How does that compare to your template??
Is there anything you can think of to compare our two environments?
Cheers
Alex

Hi @alexb-uk I'd guess your lambda function is not responding with API gateway style. You need to return something like this:
 exports.get = function(event, context) {
   context.succeed({
     statusCode: 200,
     body: "Hello World",
     headers: {'Content-Type': 'text/html'}
   });
 };

Note: I didn't want to hijack your post so have created my own issue regarding the weird parsing problem. But thanks very much for the suggestion.
I did double check that and even tried hardcoding a response rather than using the Hapi server but didn't seem to make a difference. I might try again now that I've slept between last attempt.
However my Lambda function IS working perfectly on the real AWS Lambda service. So I assumed this with a SAM Local config issue rather than Javascript code issue.

Ok, thanks for creating own issue as I don't think your issue and mine are the same.
My issue is not ability to serve lambda function (which is working fine for me), it's the ability to do this and serve static files from docroot. I can do one or other but not both at the same time :(
Good luck with your issue!

just a question so i get it right.
so you cannot run sam local start-api without an error? because i myself run sam local on windows 10 and have no problem with it. At the moment i have a MongoDB local running, use AWS sam local for Lambda and API gateway, and run a webpage (just an index that will show my books in DynamoDB and that can add books to DynamoDB).

Hi @Liamdelee, I can run sam local start-api no problem. I can get output from my lambda (which returns HTML content), and I can separately get static files served (from public subdir of my project), but I cannot get them both together!
Is your project serving lambda output and static files (like CSS, JS, etc)? My project is the starter lambda nodejs project from AWS CodeStar.
Are you using options --docker-volume-basedir or --static-dir as arguments?
Thanks.

oohh okay, i am running everything as seperate projects, so my sam local is a folder and my static webpage is a folder that i run on two diffrent instances. so you want to run sam local and your static webpage with the same call or? or can you just not run sam local and your static webpage at the same time?

@Liamdelee maybe if I explain how I got here it would help.
My starting point is the CodeStar template for nodejs lambda application. This is successfully deployed here: https://ze4phbp3xh.execute-api.eu-west-2.amazonaws.com/Prod.
This consists of lambda code and static content on S3, and source code in AWS code commit. Works great but takes a while to deploy changes, so my goal is to work with sam local on this project, ideally with the same structure.
The project structure looks like this:

You can see in the screen grab that the lambda reads index.html and serves it. All the asset references in the HTML page are relative, eg: <link href="assets/css/styles.css" rel="stylesheet">. As an aside, during deployment, it's the buildspec.yml that re-writes these relative urls to include the full URL where the S3 bucket is served: https://s3-eu-west-2.amazonaws.com/aws-codestar-eu-west-2-986339458627-club-app/public/assets in my case. I thought this was some lambda/codestar magic until I found the sed command :)
I order to run locally without editing the HTML, I need the following to work:
GET http://localhost:3000 (should serve the lambda, resulting in HTML)
GET http://localhost:3000/assets (should serve static content from public subdir)
It seems that aws local should support this with the various options but it's giving me problems on Windows. I plan to try the same setup on Linux to see if it works, but am pretty sure it should!
Of course I could use a local proxy, or some other hack around and would be happy to do this, but the aws local folks clearly intend for this to work ootb.

Re-created my scenario in an Ubuntu VM and it works as expected... At least the lambda and static assets are served correctly. It takes 20s to serve the lambda but that must be a different issue!

okay i get where you are going now srry for the misunderstanding from my part.
So if i get it right he is pulling the html page from the S3 bucket and that is working great but he won't find the other files in let's say the assets/css folder?
do you get some kind of error in logs or did you try consol.log() to see where the codes goes and stops? sounds stupid and takes some time but helped me a lot already :).
i never did this to pull from S3 and serve the content so i would try and find out if it can
A: reatch the code.
B: where the execution fails.
and hope somebody here can help you out :)
hope you can make it work and keep me update because i was also on planning to create something like this :)

@jugglingcats Sorry for the whole trouble in getting this working in Windows. One of us will dive deep.
Regarding the 20s issue, see https://github.com/awslabs/aws-sam-local/pull/159. Can you configure AWS credentials and check? It should fix your problem

Hi @sanathkr, yes I sorted the 20s problem using credentials. All working fine on Linux.
I've actually been using create-react-app in combination with sam local on Windows and it runs webpack dev server, which has a simple proxy option for API requests, and this is working well. So getting sam local to serve static assets is less of an issue for me now...
I'm happy to test any fixes, but have been unable to build sam local on Windows due to long filename woes. Windoze!

This fix is included in the latest release (v0.2.3).
Use npm update -g aws-sam-local to upgrade.


Add support for cloud storage

To sync multiple browsers, also between firefox and chrome.
Open questions:

Which storage provider? It has to be simple, ideally no server needed.
Which authentication? I prefer none, maybe just use an shared url.

Maybe have a look at the storage area storage.sync, using Chrome's native browser sync feature for simplicity.

Or maybe sync with a local file that can then be synced with dropbox or gdrive.

more options:

https://www.npoint.io (Editing data over the API via POST requests is in private beta.)
https://jsonbin.io (free: Upto 100kb, not enough)
https://jsonbin.org/ (1 MB limit, https://github.com/remy/jsonbin/issues/48)

Or maybe sync with a local file that can then be synced with dropbox or gdrive.

To start this option is very good we can sync the file using any cloud storage that we want.


the delete button will not be visible If the file name is too long

There are several buttons behind the filename in the Workspace. If the file name is too long, those buttons will not be displayed on the Workspace.

If I want to delete a workflow file with a long file name, I can only shorten the file name.
Is it possible to fix the position of the button, or add commonly used functions to the right-click menu?

hi it seems you are using a very old version (V1) please upgrade to V2. also make sure that you have BACKUP your workflow json files before upgrading to V2 in case any unexpected problem.
once you upgraded, this problem should be resolved

hi it seems you are using a very old version (V1) please upgrade to V2. also make sure that you have BACKUP your workflow json files before upgrading to V2 in case any unexpected problem.
once you upgraded, this problem should be resolved

you are right! the version I used is too old.


Add MCRI

Request to add the Murdoch Children's Research Institute www.mcri.edu.au as a recognised non profit educational organisation.
Here is a link to information about our students and long term courses longer than one year https://www.mcri.edu.au/students. Our courses include major computing topics such as computer science, software engineering, statistics & bioinformatics.
All students receive an institute email address in the form of<EMAIL_ADDRESS>

@martology Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


Internet for Images?

Is there anyway to give internet access to images?
If you could make this it would be awesome.

Not entirely sure what you're asking ... what are you trying to accomplish?

Not entirely sure what you're asking ... what are you trying to accomplish?

You know that at lease squeak6 has a option to download a browser from GitHub but it has no internet access so it says cannot resolve host "github.com"

The image does have some "internet access". To be specific, fetching files using WebClient's httpGet works as long as it's a CORS-enabled https server, because that's what the underlying browser's JavaScript environment allows. JS in the browser does not allow opening arbitrary network connections, it can only make HTTP requests.
The error message you see is misleading – the test for connectivity fails, but if you comment that out in Installer class>>ensureRecentMetacello you'll see that the line
WebClient httpGet: 'https://files.squeak.org/metacello/metacello-squeak60.sar'

actually does succeed and downloads a 500KB file. However, other code down the line fails too, I did not further investigate why, because installing this takes forever.
A better idea would be to prepare your image with all the stuff you need, and run that image in SqueakJS.

Closing this for now, please open other issues for specific problems that we can fix at the VM level.


Invalid isoformat string: '7-Mai-2023'

reading volumes for VolumeManager from cache /Users/wf/.ceurws/ceurws.db
Invalid isoformat string: '7-Mai-2023'
read 3673 volumes from VolumeManager in   0.1 s

i fear the single wrong isodate leads to not reading all volumes (should be 3698 ...)

SELECT number,pubdate from volumes limit 5

also gives strange results
[number](http://<IP_ADDRESS>:8080/volumes/query/?sql=SELECT+number,pubdate+from+volumes+limit+5&ordering=1) 	[pubDate](http://<IP_ADDRESS>:8080/volumes/query/?sql=SELECT+number,pubdate+from+volumes+limit+5&ordering=2)
1<PHONE_NUMBER>00000
2<PHONE_NUMBER>00000
3<PHONE_NUMBER>00000
4<PHONE_NUMBER>00000
5<PHONE_NUMBER>00000

these are still followup issues of https://github.com/WolfgangFahl/pyLoDStorage/issues/127

I have fixed index.html to 7-May-2023 now but the timestamp issue remains

see also https://submissions.ceur-ws.org/scp/tickets.php?id=1615


Feature/dynamic sentence translation

Overview
Add notranslate class to the dynamic sentence component so that transifex ignores the variables and allows the translation of the widget sentences.
Testing
You need access to transifex. Go to <IP_ADDRESS>:5000?transifex and login. Then inspect the widget sentences using the transifex live interface.

@blayhem we will have to review this one together as you don't have access.


3d shape and depth map extraction

First, congrats for your interesting work,  but I have a question:
How can I get the 3d shape in mrc file from a given photo that has been inverted? So far the output is only a mp4 video. How can I get the correspondent 3d shape? (as  the ones generated with gen_samples from the ffhq pkl).
On the other hand.. is it possible to obtain the depth map video as the one you display in your project website aside the image video?.
Any help would be much appreciated.
Thanks.

Hi thinks for your comment!
We haven't try on generating video from mrc file, but this issue may help you. -> NVlabs/eg3d#66
For the depth map video, you can just utilize the video generation code
https://github.com/KU-CVLAB/3DGAN-Inversion/blob/3cfebf9abc0733aae5c5e512f33ce18d016e3e48/training/coaches/single_id_coach.py#L62
and change the image_mode = 'image_depth' in here

Thank you very much for your kind help and quick answer.
May be my question was not clearly formulated. I would like to extract mrc from the inverted image or video. It is easy to get the 3d shapes from the images randomly generated, as the eg3d shape generator points out to the ffhq pkl.
In you inversion i do not know how to use the same shape generator to create de 3d shape from the resultant inversion from a given photo.
Even in this repo:  https://github.com/oneThousand1000/EG3D-projector.git   the inversion ends up pointing to a pth file, so again i do not know how to extract the 3d shape.
Regarding the depth map extraction your answer is clear and helpful.
Thanks again for your effort.


Avoid requirement to listen for 'ready'

I'm new to Kafka, so perhaps I'm missing something, but why doesn't the library abstract over the concept of readiness? I've not seen this pattern in other connection-oriented libraries, e.g: Postgres, Elastic, Mongo, etc etc...
Especially for the 'HighLevel' producer, surely a friendlier flow is:

try to send
find out something failed (including inability to ready the producer)

rather than:

listen for ready
store readiness
send

Perhaps add a HighHighLevelProducer ;) ?

Perhaps the High in this context refers to the state of mind. 🤔
In any case PRs are welcome!


Durable is unable to create connection ubuntu 16.04 LTS

r.bindRuleset(handle, db.host, db.port, db.password, db.db);
^
Error: Could not create connection, error code: 301
at Object.that.bind (/home/kaushikdas/rules/node_modules/durable/libjs/durableEngine.js:435:23)
at Object.that.registerRulesets (/home/kaushikdas/rules/node_modules/durable/libjs/durableEngine.js:1180:39)
at createHost (/home/kaushikdas/rules/node_modules/durable/libjs/durable.js:1865:19)
at Object.runAll (/home/kaushikdas/rules/node_modules/durable/libjs/durable.js:1880:25)
at Object. (/home/kaushikdas/rules/durable2.js:14:3)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3
Getting this error whenever i am executing the file.

Hi, thank you for posting the question. Error code 301 means the redis connection could not be established. I have documented the list of error codes here:
https://github.com/jruizgit/rules/blob/master/docs/js/reference.md#error-codes
If you are using a redis server outside your box, you need to provide the address as follows:
var d = require('durable');
d.ruleset('a0', function() {
    whenAll: m.amount < 100
    run: console.log('a0 approved')

    whenStart: {
        post('a0', { amount: 10 });
    }
});
d.runAll([{host: 'hostName', port: port, password: 'password'}]);


[Actions] Fix generation of release changelog

ref. https://github.com/olxbr/protobuf-tools/pull/6
CI needs to fetch everything to be able to generate a changelog for the new release.

Sorry. Wrong repo.


[Usage] Form inside modal

I am a bit confused on how to submit a form inside a modal.
In my usecase (im converting an old application and switching to semantic ui) i have a list of items with an edit button for each item. When the edit button is clicked a modal is shown with a form where you can edit the item and then submit the changes. No javascript or ajax is involved in the actual editing, just the opening of the modal.
I put this fiddle together: http://jsfiddle.net/efp8z6Ln/157/
There are two forms here, one surrounding the modal and one separate. The one with the modal doesn't work but the separate one does.
What is the best way of working with forms inside modals? Is it possible? I would prefer to work with actual forms instead of manually picking out values with javascript and manually posting it with javascript.

Got it working using this example:
http://jsfiddle.net/efp8z6Ln/158/
I have to use the form='theform' attribute to get it working at all.
Is this a html-thing perhaps, and not a semantic-thing?

If a submit button is not nested inside a form tag it is the case you need to specify what form it should submit.

@jlukic I believe it incumbent on you to make your modal work with a form in it. I hope you can see this is a very common use case for a modal. I need a form in the modal (so that in the DOM it's a parent to the inputs and the modal actions). Using the react library, putting a from outside the modal (outside the DOM tree) and using an id is not sufficient.
Perhaps I'm just not privy to a good way of doing this?

I know this issue is closed, but this still has problems in v2.4.
Like Emil, I can't see a simple way of using a form in a modal - when you divide the structure up into header/content/actions it breaks the association with the submit button. I have tried all possible combinations of placement of the form and it either breaks the form, or the rendering of the modal.  And I have also tried moving the class="ui form" between the form and other containing divs to improve the rendering aspect.
e.g. simply represented.
This works, but looks terrible:
modal
form
header
content
actions - submit button
/form
/modal

This looks good, but the submit button in the actions div doesn't submit the form:
form
modal
header
content
actions - submit button
/modal
/form

This works as expected but has no styling, so looks terrible:
modal
form
submit button
/form
/modal

A submit button inside the content div also works, but isn't where I want it.
modal
header
form
content  - with a submit button
/form
actions
/modal

It just doesn't work when the submit button is moved to the actions div - where you want it.
The only solution I've found to work is that suggested by Emil, having the submit button outside the form, and using the form attribute to link back to the form".
modal
header
content
form - with ID
/form
/content
actions  - with submit button with form=ID
/modal

But it feels unnecessary to have to do this?

I have been having the same exact issue than , in my  using RubyOnRails form_with helper. Is there anything new on that matter ?

Making the modal a form like this <form class="ui modal form"> also seems to work, but the fact that you have to jump through these hoops to get a form working inside a modal in my opinion points a flaw in the modal design.

Making the modal a form like this <form class="ui modal form"> also seems to work, but the fact that you have to jump through these hoops to get a form working inside a modal in my opinion points to a flaw in the modal design.

Actually it is very convenient. For example login in a particular page without leaving that page.

Actually it is very convenient. For example login in at a particular page without leaving that page.

I don't see the convenience. Could you elaborate? But I read my comment and see that I wasn't clear about what I mean by have to "jump through hoops". I mean what  scipilot commented on Nov 3, 2018, more specifically:

Like Emil, I can't see a simple way of using a form in a modal - when you divide the structure up into header/content/actions it breaks the association with the submit button.

The modal wants its associated buttons in the "actions" div - i.e. outside of its "content" div, whereas a HTML (4) form wants/prefers its associated buttons within the form.
Trying to nest a form within the content of a modal, you realize that you have to break the association with the form by moving the buttons out, and then re-establish it using the (HTML 5) form attribute, which I have just learned about in this thread.
However, the following markup allows you to have the buttons associated with both the form and the modal:
<form action="..." class="ui form modal" method="...">

Modal form

        <button type="submit" class="ui approve button">Save</button>
        <button type="reset" class="ui deny button">Cancel</button>

</form>


Persist Proposal, Transaction and Commit Object

Resolves #394
Signed-off-by: sapthasurendran<EMAIL_ADDRESS>

@sapthasurendran If you add text like "Resolves #394" or "Closes #394" in the PR and commit message it will automatically get associated with the GitHub issue.


Text is unreadable with in dark mode

Describe the Bug
when using the standard Logic app workflow designer the docked panel on the side has test that is unreadable when in bark mode.

Steps to Reproduce the Bug or Issue

Set azure portal in to dark mode
go to logic app Standard ->workflow
new work flow
add a any modal and the text in the config window will be unreadable

Workflow JSON
No response
Expected behavior
As a user working in dark mode, test needs to auto invert to be readable
Screenshots or Videos
No response
Platform And Browser

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response
AB#17605338

@james-annages, thanks for reaching out about this issue. We have some work items currently in dark mode, so this should be resolved shortly.
#1758 is the parent item we're using to track dark mode changes

Closing this issue since it's a duplicate of #1758. Thank you for taking the time to report, like Eric said, we're working to get this fixed quickly.

Actually the one we're currently tracking is #1749 . #1758 is another duplicate

tracked-by:#1749


Linking to stdc++fs.lib fails

I tried building my project with nana with latest commit (commit ffa170b5f560dbf899030bdeb0e539aa95b0364) and was unable to do so beacuse of linkage error:
LNK1104	cannot open file 'stdc++fs.lib'
I am using Visual Studio 15 2017 version 15.9.11.

There is not a stdc++fs file in Visual Studio. Please remove the linker option.

Yes, I did that already. My point is why CMake generates project with such linker option in the first place.

Okay so my question is do we really need to link stdc++fs explicitly in file select_filesystem.cmake? We already define target_compile_features(nana PUBLIC cxx_std_17) in CMakeLists.txt so is it really necessary? This linking part breaks my builds on Windows.
https://github.com/cnjinhao/nana/blob/39c3f85627571e9d3420781787a576ce8e300ac1/build/cmake/select_filesystem.cmake#L46
https://github.com/cnjinhao/nana/blob/39c3f85627571e9d3420781787a576ce8e300ac1/CMakeLists.txt#L33

Yes since you can have C++17 enabled without using std::filesystem on g++.
And I think clang doesn't need the linker line too.
This is one rare case where checking against the compiler is a viable method:
https://stackoverflow.com/a/50173063

@5cript Thank you for answering. Indeed in order to use std::filesystem with GCC stdc++fs needs to be linked explicitly. I found out that in newest GCC release (9.1) it is not longer required to do that but yeah I suppose we still want to be able to build nana on older versions. Anyway I am going to add PR with changes so that stdc++fs is only linked on GNU using systems.

Solved by https://github.com/cnjinhao/nana/pull/494


LastFM Error - Login: User required to be logged in

Describe the bug
I get an error when trying to scrobble to LastFM. I have authenticated via the callbackUri successfully (i.e. I get an OK after following the URL), but the LastFM client has a status of "Idle" and cannot send any scrobbles.
The following is my client config (some things redacted with x):
{
  "name": "LastFM",
  "type": "lastfm",
  "data": {
    "apiKey": "x",
    "secret": "x",
    "redirectUri": "x/lastfm/callback"
  }
}

Note: The example LastFM config seemed to be missing a type property, so I added it above.
Logs
error   : [Scrobblers] [Lastfm - LastFM] Login: User required to be logged in
Error:
    at CWD/node_modules/lastfm-node-client/lib/ApiRequest.js:136:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async d.callApi (CWD/build/server.js:1:15592)
    at async u.refreshScrobbles (CWD/build/server.js:1:48956)
    at async u.doProcessing (CWD/build/server.js:1:42594)
    at async u.startScrobbling (CWD/build/server.js:1:39715)
    at async u.initScrobbleMonitoring (CWD/build/server.js:1:39243)

Versions (please complete the following information):
Provide version information for any related sources/clients.

multi-scrobbler: latest tag on Docker Hub, is there a way to get the version within the app?

I did some searching and it seems like this is similar to an issue fixed in nrubin29/finale#25. Disabling Hide recent listening information in my LastFM settings fixes the issue for me. The solution in the linked PR is to send the session key when calling a particular endpoint, do we need to do the same here to fix it?

Thanks for the hint on the fix for this. You can test the fix in the docker image foxxmd/multi-scrobbler:develop

Thanks for the hint on the fix for this. You can test the fix in the docker image foxxmd/multi-scrobbler:develop

Thanks, that has fixed it. Also thanks for adding the version info to the UI :)

This should now be fixed in 0.6.2


clang/AST/ASTConsumer.h not found

I am using XCode 6.2 to try to compile the swiftpp project.  There is an error and clang/AST/ASTConsumer.h cannot be found.  I have done some light Googling for a few minutes with no obvious solution.  I will keep investigating, but wondering if anybody else has encountered this.

Found the instructions in setup_llvm.txt