Add acsp.ac.th

@tinvv Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course

@tinvv Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course

http://www.acsp.ac.th/
419/1389 Theparak Road, Amphur Muang Samutprakarn, 10270, Thailand
http://www.acsp.ac.th/NewStdALL/

@tinvv Could you please clarify how you use software development tools? The course description says that the school teaches the students in human languages, such as English, Japanese, etc. Why do you need JetBrains tools for education?
Thank you for your patience and understanding!

@tinvv Could you please clarify how you use software development tools? The course description says that the school teaches the students in human languages, such as English, Japanese, etc. Why do you need JetBrains tools for education?
Thank you for your patience and understanding!

Thanks for replying,
Our school also offers computer science (or robots) course in Math and Science program.
That also includes programming language such as Python, HTML, JavaScript, etc.
But because some students may not have their own IDE or code editor for learning,
Therefore, it would be great to let students use JetBrains products to develop a software for learning or education.

@tinvv Thank you for the clarification. Pull request merged.


Issue with regional price displayed

Hi! It seems the script is having issues loading the prices for some regions, loading the price in USD as if it was the regional price instead. And if I go to the ITAD page linked by the script, it shows the correct prices.
Example of such behavior:
[set to show in USD] https://cdn.discordapp.com/attachments/636030269823909921/992855444873814046/unknown.png
[set to show in BRL] https://cdn.discordapp.com/attachments/636030269823909921/992855445058359336/unknown.png
[page on ITAD] https://cdn.discordapp.com/attachments/636030269823909921/992855665984942100/unknown.png

Thanks for reporting this. I will investigate this soon.

@Auster-South-Anemoi Hi, please update and see version 1.3.2.
There are now two regions for br2: Brazil 1 and Brazil 2. In your case, you would want to select Brazil 1.
Brazil 2 is using the country code BR2 for which the ITAD API returns USD amounts; for some reason, they are different than what is shown on the mainsite when you select BR > USD. Not sure for the discrepancy, but I am leaving Brazil 2 for legacy reasons.

It seems to be working now. Thanks!

From GOG Community Thread:

Hi! It seems the script is having issues loading the prices for some regions, loading the price in USD as if it was the regional price instead. And if I go to the ITAD page linked by the script, it shows the correct prices.

Example of such behavior:
[set to show in USD] https://cdn.discordapp.com/attachments/636030269823909921/992855444873814046/unknown.png
[set to show in BRL] https://cdn.discordapp.com/attachments/636030269823909921/992855445058359336/unknown.png
[page on ITAD] https://cdn.discordapp.com/attachments/636030269823909921/992855665984942100/unknown.png


[BUG] Supervisor becomes zombie when child process stopped externally

Describe the bug
When a process that is being supervised is stopped by some source other than the supervisor stopping it, the supervisor becomes a zombie process.
To Reproduce

Run some project in exo
Find the pid of one of the processes that exo is supervising
Send SIGTERM to that process.

The result is that the process is shown as stopped, but it is not able to be started again.
Expected behavior
The process exits, the supervisor exits, and the process state is cleaned up.

I was trying to reproduce this yesterday afternoon, and I could not. I'll keep it open for now, but I am unassigning myself and noting that we do not have reliable repro steps.

Since this is not reproducible, I'm going to close it & if this ever happens again, hopefully we can get more details.


Github Task 2 completed

Github Task 2 Completed:

Add Image Feature for tutorials
Now Users can upload images while creating tutorials
upload images in tutorial creating issue is Fixed.

Description
I had changed the index file inside the new tutorial folder because we are uploading image while creating the tutorial has the issue. I added functionality to that image icon button so that it can able to accept the file as input and I had changed the tutorial actions file because we are saving the tutorials data to database from this file only.
Related Issue
Steps to Reproduce Issue:

Setup the project using main codebase from c2si repository.
Now login in the website hosted in your localhost.
Now go to tutorial page.
Click on the create new tutorial button. You see the popup for creating tutorial.
Now click on the image icon to insert image. The button is not working you are unable to add image while creating tutorial.

Issue Link
https://github.com/c2siorg/Codelabz/issues/115
Motivation and Context
This change is necessary because of this issue user is unable to upload the image user want. We are provided the image icon to add the image but the adding image functionality is not given. This leads to bad user experience. By fixing this issue user can able to add the image that user want while creating the tutorial. This will increase the user experience.
How Has This Been Tested?

Setup the project.
Now login in the website hosted in your localhost.
Now go to tutorial page.
Click on the create new tutorial button. You see the popup for creating tutorial.
Now click on the image icon to insert image. The button is working now you are able to add image while creating tutorial.
Now go to tutorial page and click on the organization tab you can see that image is added there as shown in below video.

Screenshots or GIF (In case of UI changes):
https://github.com/Hemu21/Codelabz/assets/106808387/74c413a2-2618-465f-a254-f555668039ff
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Heyy @Hemu21, we wanted you to solve these issues in your forked repositories so that you can maintain confidentiality of your approaches. If you use the issue link your pr, it gets displayed in the main thread of the issue as well. I would suggest you to remove the issue link from your pr.

Ok @shivareddy6  brother.


compile with luajit 2.0.4 fail

I compile a cpp file with luajit instead of lua, but failed.
My compile command is : g++ test.cpp -Isolpath -std=c++14 -lluajit-5.1
Here is the error stack:
Undefined symbols for architecture x86_64:
  "_luaL_setfuncs", referenced from:
      sol::stack::pusher<sol::usertype_metatable<B, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>, char const (&) [5], A* (B::*)(), char const (&) [4], sol::overload_set<void (B::*)(A const*), void (B::*)(char const*)>, char const (&) [5], void (*)(), char const (&) [4], sol::constructor_list<sol::types<> >&, char const (&) [5], sol::destructor_wrapper<void> const&>, void>::push(lua_State*, sol::usertype_metatable<B, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>, char const (&) [5], A* (B::*)(), char const (&) [4], sol::overload_set<void (B::*)(A const*), void (B::*)(char const*)>, char const (&) [5], void (*)(), char const (&) [4], sol::constructor_list<sol::types<> >&, char const (&) [5], sol::destructor_wrapper<void> const&>&&) in test-690367.o
  "_lua_absindex", referenced from:
      sol::stack_reference::stack_reference(lua_State*, int) in test-690367.o
  "_lua_compare", referenced from:
      sol::stack::get_call_syntax(lua_State*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in test-690367.o
  "_lua_getglobal", referenced from:
      void sol::stack::field_getter<char const*, true, false, void>::get<char const*&>(lua_State*, char const*&&&, int) in test-690367.o
  "_lua_pcallk", referenced from:
      sol::stack::script(lua_State*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in test-690367.o
  "_lua_setglobal", referenced from:
      void sol::stack::field_setter<char const*, true, false, void>::set<char const*&, sol::stack_reference&>(lua_State*, char const*&&&, sol::stack_reference&&&, int) in test-690367.o
      void sol::stack::field_setter<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, true, false, void>::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, sol::usertype<B>&>(lua_State*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&&&, sol::usertype<B>&&&, int) in test-690367.o
      void sol::stack::field_setter<char [2], true, false, void>::set<char const (&) [2], sol::function_arguments<sol::function_sig<>, void (&)(int)> >(lua_State*, char const (&&&) [2], sol::function_arguments<sol::function_sig<>, void (&)(int)>&&, int) in test-690367.o
  "_lua_tointegerx", referenced from:
      sol::stack::getter<int, void>::get(lua_State*, int, sol::stack::record&) in test-690367.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I add macro define
#ifndef LUAJIT_VERSION
#define LUAJIT_VERSION

And compile also fail, here is the error stack:
../sol/stack.hpp:209:50: error: use of undeclared identifier 'LUAJIT_MODE_ON'
                        luaJIT_setmode(L, -1, LUAJIT_MODE_WRAPCFUNC | LUAJIT_MODE_ON);
                                                                      ^
../sol/stack.hpp:218:26: error: use of undeclared identifier 'LUAJIT_MODE_WRAPCFUNC'
                        luaJIT_setmode(L, -1, LUAJIT_MODE_WRAPCFUNC | LUAJIT_MODE_OFF);
                                              ^
../sol/stack.hpp:218:50: error: use of undeclared identifier 'LUAJIT_MODE_OFF'
                        luaJIT_setmode(L, -1, LUAJIT_MODE_WRAPCFUNC | LUAJIT_MODE_OFF);
                                                                      ^
In file included from test.cpp:1:
In file included from ../sol.hpp:27:
In file included from ../sol/state.hpp:25:
../sol/state_view.hpp:167:32: error: use of undeclared identifier 'luaopen_bit'
                                        luaL_requiref(L, "bit32", luaopen_bit, 1);
                                                                  ^
../sol/state_view.hpp:195:30: error: use of undeclared identifier 'luaopen_ffi'
                                        luaL_requiref(L, "ffi", luaopen_ffi, 1);
                                                                ^
../sol/state_view.hpp:201:30: error: use of undeclared identifier 'luaopen_jit'; did you mean 'luaopen_io'?
                                        luaL_requiref(L, "jit", luaopen_jit, 1);
                                                                ^~~~~~~~~~~
                                                                luaopen_io
/usr/local/include/lualib.h:24:17: note: 'luaopen_io' declared here
LUAMOD_API int (luaopen_io) (lua_State *L);
                ^
In file included from test.cpp:1:
../sol.hpp:22:2: error: unterminated conditional directive
#ifndef SOL_HPP
 ^
8 errors generated.

What is LUAJIT_VERSION and why are you defining it....?

I found the code in the compatibility/version.hpp
#ifdef LUAJIT_VERSION
#ifndef SOL_LUAJIT
#define SOL_LUAJIT
#endif // sol luajit
#endif // luajit

Okay. So what I'm gathering from your error messages is that you need to properly point yourself at the luajit include paths. LuaJIT defines LUAJIT_VERSION and all of those things: you're pointed at the solpath, and I'm GUESSING the Lua includes happen to just be sprinkled about somewhere, but you're missing the proper include directory that specifically points to LuaJIT stuff.

E.g.: g++ -std=c++14 test.cpp -lluajit -I"path/to/luajit/include" -L"path/to/luajit/lib", where "path/to/luajit" needs to be replaced with whatever the path is to your luajit files and things. Unless, you're not actually giving me the whole command line?

I make install the luajit from github, and luajit in the path /usr/local/bin/
but -lluajit tell me ld: library not found for -lluajit
my whole command line is : g++ test.cpp -std=c++14 -I/Users/xujh/open/sol2 -lluajit

Point yourself at the LuaJIT directory, you need a specific -I/wherever/luajit/source/is/include, or wherever the lua.hpp and lua.h files are.

Likely, the normal lua headers are shadowing the luajit versions. If you have both installed, install them into separate places so they don't collide.

You're right, I should sepatate lua and luajit;
Also, complie on the mac have to add link flags with -pagezero_size 10000 -image_base 100000000 ??

You're right, I should sepatate lua and luajit;
Also, complie on the mac have to add link flags with -pagezero_size 10000 -image_base 100000000 ??

I don't have to do this, I'm unsure why you'd need to. Any reason why it was needed? What Xcode version?

Xcode version is 7.3.1 ， if I didn't add that link flags,  luaL_newstate() always return NULL.
And, luajit version is 2.1

Hmm, I haven't run with luajit in awhile. Lua 5.1-5.3 work just fine for me, though. Sorry I'm not more help.

Just encountered the same issue, I was getting a small amount of errors (which meant it was finding some LUA bindings, otherwise I would have gotten a plethora of errors) such as: sol.hpp:15117: undefined reference to lua_setglobal'`
The issue was that I have both LUA and LUAJIT installed (I'm running on Arch Linux for what it's worth), it was likely picking up lua.h from /usr/include/lua.h when luajit was in /usr/include/luajit-2.0/.
That's the nature of the FindLUAJIT CMake module I was running: When I forced it to look in /usr/include/luajit-2.0/ via an environment hint (LUAJIT_DIR in my script), then everything started working because it picked up the right header to match the library I was linking against.


import cygrpc into staticaly compiled python runtime

What version of gRPC and what language are you using?
Using Bazel 0.27 with python_rules and rules_proto
What operating system (Linux, Windows,...) and version?
Arch Linux fully updated on 19/6/2019
What runtime / compiler are you using (e.g. python version or version of gcc)
Statically build Python 3.6.8
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
I have a bazel monorepo with checked in python run time that was statically compiled. I use rules_python to install python dependencies.
grpcio  version 1.20.0 has been installed as rules_proto use that version as well.
in BUILD file dependency on grpcio was declared
    deps = [
    ...,
    requirement("grpcio"),
    ....,
    ],

to the python file import statement has been added
import grpc
What did you expect to see?
grpc library should be able to be imported without an error
What did you see instead?
Traceback (most recent call last):
  File "/home/user/test/services/classification_service/tests/acceptance/ServiceControlLib.py", line 4, in <module>
    import grpc
  File "/home/user/.cache/bazel/_bazel_urban/228edeacaae981c311aebaa15063220d/sandbox/linux-sandbox/569/execroot/__main__/bazel-out/k8-fastbuild/bin/services/classi
fication_service/classification_service_acceptnace.runfiles/pypi__grpcio_1_20_0/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
PYTHONPATH:

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
I have located a folder called _cygrpc in the cache of the pypi__grpcio_1_20_1. Hard chaining the import from import cygrpc as _cygrpc to import _cygrpc fails with missing symbol error.
Also switching to platform python makes the import work
On demand I can provide Modules/Setup file used for python static compile.

@SythanisCan Any chance you can link to your project so we can reproduce?

@gnossen  thank you for a fast reply. I cannot share the codebase as it is proprietary, but will try to generate a minimal example throughout the day. Will get back to you soon.

Can you break it down for me? I should have money lots.....right?

@Sythanis Were you able to get a minimal example together?

I can send you a screenshot I guess
On Wed, Oct 2, 2019, 10:16 AM Richard Belleville<EMAIL_ADDRESS>wrote:

@Sythanis https://github.com/Sythanis Were you able to get a minimal
example together?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/19402?email_source=notifications&email_token=AMV5TEFTKXZMT5TFZUX2W6DQMTJNPA5CNFSM4HZKBQIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFQEKY#issuecomment-537592363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMV5TEBC5TPAQU6Z3C4Z77LQMTJNPANCNFSM4HZKBQIA
.

Here are a couple of screenshots I am jojodeco 2 and joekewl70
On Wed, Oct 2, 2019, 10:31 AM Joseph hebert<EMAIL_ADDRESS>wrote:

I can send you a screenshot I guess
On Wed, Oct 2, 2019, 10:16 AM Richard Belleville, <
<EMAIL_ADDRESS>wrote:

@Sythanis https://github.com/Sythanis Were you able to get a minimal
example together?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/19402?email_source=notifications&email_token=AMV5TEFTKXZMT5TFZUX2W6DQMTJNPA5CNFSM4HZKBQIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFQEKY#issuecomment-537592363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMV5TEBC5TPAQU6Z3C4Z77LQMTJNPANCNFSM4HZKBQIA
.

I don't know how to work it from there
On Wed, Oct 2, 2019, 10:31 AM Joseph hebert<EMAIL_ADDRESS>wrote:

I can send you a screenshot I guess
On Wed, Oct 2, 2019, 10:16 AM Richard Belleville, <
<EMAIL_ADDRESS>wrote:

@Sythanis https://github.com/Sythanis Were you able to get a minimal
example together?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/19402?email_source=notifications&email_token=AMV5TEFTKXZMT5TFZUX2W6DQMTJNPA5CNFSM4HZKBQIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFQEKY#issuecomment-537592363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMV5TEBC5TPAQU6Z3C4Z77LQMTJNPANCNFSM4HZKBQIA
.

Google
Joe Hebert (Joseph Hebert)
Joe Hebert (Joseph Hebert)
I shared a list with you
View on Google Maps
Google
© 2018 Google LLC 1600 Amphitheatre Parkway, Mountain View, CA 94043
Sent by Joe Hebert (Joseph Hebert) via Google Maps


Can't Right Click to bring up export menu Windows 10

For some reason on my Windows 10 PC I can't right click to bring up the export menu to export an image to .png etc.

Texture64 Export menu is working fine for me in Windows 10 Home Version 2004. Can you describe more system details? Version, type of input device used (mouse, trackpad, etc.)?


Translation for Brazillian Portuguese

Pull Request Test Coverage Report for Build 444

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

Totals

Change from base Build 443:
0.0%

Covered Lines:
122

Relevant Lines:
244

💛  - Coveralls

Please add the test case.


No bt devices detect on ios 13.4.1

Hi,
I made an BT app for iOS / Android
The app runs fine on iOS version 11.2.5;
The app runs fine on Android;
BUT: The app does run also on Iphone XR, ios 13.4.1, but does not detect any BLE device.
I updated the Info.plist according to your repo, which fixed a crash on ios 13.4.1, but still no BLE devices detected.
Any hint?
Best regards
Carl.

knock.. knock..
Any progress you had @wolfc01 ?
I face similar issue with a BLE device not detected on iOS (13.5.1 on IPhone7), but discovering on Android (Android v9 on S8).

Hi,
No progress yet as of lack of time and having an apple device...
Br
Carl
Op zo 16 aug. 2020 08:54 schreef Robin John<EMAIL_ADDRESS>
knock.. knock..
Any progress you had @wolfc01 https://github.com/wolfc01 ?
I face similar issue with a BLE device not detected on iOS (13.5.1 on
IPhone7), but discovering on Android (Android v9 on S8).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pauldemarco/flutter_blue/issues/593#issuecomment-674488204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ5CCDWNGPHUPII3V5DQ53SA57BDANCNFSM4NOCCLDQ
.


/lastdeath command doesnt exist?

The mod's description says it should add the commands /back and /lastdeath. However after having added it to my server, it only adds /back, not /lastdeath. Is it because the 1.20.1 version isnt updated to have this feature? Or why is it?

you need to enable the /lastdeath command in the config (/config/BlossomMods/BlossomBack.json)

Thanks! That did it!


update docs about how to run tests after #1962

after https://github.com/owncloud/ocis/pull/1962 we can run UI tests with ocis driver and don't need to use DELETE_USER_DATA_CMD in API tests
the docs need to be adjusted accordingly

reopening because the web docs still talks about starting redis and using owncloud storage driver https://owncloud.dev/clients/web/testing/#ocis

fixed in owncloud/web#5076


"donate/pay our collective" button with custom redirect

When I talked to @andrew and @benjam from the Octobox collective at Sustain, they expressed the need to be able to redirect people from their website to their open collective to pay and then being redirected back with a way to know if their payment went through.
That's actually something that we had back in the days but nobody really used it:
https://github.com/OpenCollective/OpenCollective/wiki/API#redirect-people-to-your-website-after-a-donation (it's broken today).
Would something like that old implementation work for you @benjam @andrew? Please let us know what would work and if we know it's going to be used, we will prioritize this.

@xdamman that sounds perfect 👌


investigate attestation creation timings

Now that attestation duties are recorded, need to spend some time understanding the numbers and seeing if it needs to be finer grained...

raised #7663 and #7661
Also PR #7659 to see actual creation time, and suggested timing metrics go to their own category (lots of signing, potentially many people don't need the data).
I think we can call this investigation successful at this point.
Also created a graph to see what was happening which was basically
validator_duty_timer{instance=~"$system", type="attestation_production", step=~"send|create|create_total|sign", quantile=~"0.5|0.95"}

this gives a nice level of details around the different parts of the attestation process, and it might be a good basic metric for inclusion on a dashboard.


Why we cannot run multi tasks at the same time with one user?

Can we do this? If not, why?
Thanks,
Allen

In nGrinder, one agent can only run one test at the same time. So if you have severla agent machines, you can run several tests actually.

My scenario is:
I get 4 agent, log in as admin, kick off test (named test1, duration 3 mins) with 2 agent, then kick off another test (named test2), test2 won't start until test1 completed.
max_concurrent_test setting is 10.


Fixes #11192: Upgrade to Scala 2.12.3 to improce compilation time

https://www.rudder-project.org/redmine/issues/11192

OK, merging this PR


Unfamiliar code definition

Hey I am wondering why the sample code is like the following:
var uwp = require('uwp');
uwp.projectNamespace("Windows");
Windows.Storage.KnownFolders.documentsLibrary.createFileAsync
instead of
var uwp = require('uwp');
var Windows = uwp.projectNamespace("Windows");
Windows.Storage.KnownFolders.documentsLibrary.createFileAsync
I don't know if it's just me but variables being defined without a definition feels very uncomfortable. What is the reason for it working like this?

@TrevorDev This is partially due to how UWP APIs have been designed and how they are "projected" to JavaScript (see https://msdn.microsoft.com/en-us/library/mt125480(v=vs.94).aspx). The underlying code (not part of this module) creates global "Windows" variable (namespace) and sub-namespaces. These "namespaces" are all non-writable/non-configurable probably for consistency/security reasons. As a result ```var Windows = ..." has no effect. I agree with you that your changed version looks more consistent with node style.

Thanks for your reply.
Would it be unreasonable to create a feature request for whichever team built that projection function to expose an alternative api to project UWP api's to local variables instead of globals? I am not sure what you mean by "consistency/security reasons" as this is inconsistent with node style and I am also not familiar with windows API security.
I understand that this may be low priority/nitpicking as currently this does not block any functionality but global variables being defined without user explicitly doing so feels like a red flag in many programming environments (not just node) and even feels weird to me when writing a uwp js app and would much prefer a more similar style to http://electron.atom.io/.

@TrevorDev Sorry I didn't have a good answer and didn't reply before you close this issue. By "consistency" I mean consistency with other platforms like c#/JavaScript UWP app. The names and API calls always appear as Windows.xxx.... By "security" I mean it is non-configurable so code cannot replace Windows.xxx with sth. else.
We'll note your feedback and would consider this issue in future development of the UWP/JavaScript projection. Thanks for your comment.

:+1: Thanks


Lazy loaded modules, reload only changed component

Hello, I'm loading my modules via lazy loading, however every time I change a component all the data in the service is lost, is there a way to avoid this?
digging through my code, my theory is that the services are getting re-initiated, I'm only declaring my service as a provider on my app.module.ts (top level module), is there a way to avoid the re-initialziation of the service?

Currently I don't think the way exist. angular-hmr will destroy the whole application and re render the  whole app. it works different from react hot reloader.
one way to partially solve the problem is introducing something like ngrx/store. then re load the store with saved data when hot reload happens.

what @crysislinux said is correct. We're recreating the app and if you want to persist data you need to use a store and inject it with the state from the previous app

@gdi2290 Has this been fixed or is there a tutorial on a way to make this store usage effective?


Prepare for release Azure.Messaging.EventGrid 4.14.1

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


Example for how to use

Can't get this working unfortunately.
Using:
    "servers": [ {
                    "name":"user defined server name",
                    "addr":"http://server.exemple.com:5572",
                    "description":"User defined server description",
                    "speedcap":2883584,
                    "bwidth":{"500K":"500KBps","1M":"1MBps","1.5M":"1.5MBps","2M":"2MBps","2.5M":"2.5MBps","3M":"3MBps","off":"Unlimited"},
                    "logfile":"rclone.log"
    } ],
    "jobs": [ {
                  "name":"job1",
                  "server":"name of the server where job runs",
                  "commnand":"this is the command to be executed to start the job - not implemented yet",
                  "description":"user define description for the job"
    } ]
}

on my server server.exemple.com I run rclone --rc --config /config/rclone.conf copy /data/file.txt  remote:dir -vv -P
However I can see nothing at either http://server.exemple.com:5572 or http://example2.com/rcloneMon.html?job=job1
What am I missing?

Let me try to help you:
Using the config.json as supplied will not work. This is not a working config. It’s a template.

servers “name” must match the job “server”.
addr on server is the actual address / ip of the host where your instance of rclone is running. example.com http://example.com/ is a fictitious name used in documentation.
You need to set speedcap and bwidth to match your internet link upstream bandwidth

For example: if your host runs at <IP_ADDRESS> (this is also an example) try:
"servers": [ {
                "name”:"myserver",
                "addr":"http://<IP_ADDRESS>:5572 <http://<IP_ADDRESS>:5572/>",
                "description”:”My RClone instance",
                "speedcap":2883584,
                "bwidth":{"500K":"500KBps","1M":"1MBps","1.5M":"1.5MBps","2M":"2MBps","2.5M":"2.5MBps","3M":"3MBps","off":"Unlimited"},
                "logfile":"rclone.log"
} ],
"jobs": [ {
              "name":"job1",
              "server”:"myserver",
              "commnand":"",
              "description”:”This is my copy job"
} ]

}
Run rclone with --rc and --rc-addr=<IP_ADDRESS>:5572
This will enable remote control and allow control from anywhere in your network (default is from the local host only).
I hope it helps.
Arnaldo.

On Apr 22, 2019, at 7:09 PM, turkeyphant<EMAIL_ADDRESS>wrote:
Can't get this working unfortunately.
Using:
"servers": [ {
                "name":"user defined server name",
                "addr":"http://server.exemple.com:5572",
                "description":"User defined server description",
                "speedcap":2883584,
                "bwidth":{"500K":"500KBps","1M":"1MBps","1.5M":"1.5MBps","2M":"2MBps","2.5M":"2.5MBps","3M":"3MBps","off":"Unlimited"},
                "logfile":"rclone.log"
} ],
"jobs": [ {
              "name":"job1",
              "server":"name of the server where job runs",
              "commnand":"this is the command to be executed to start the job - not implemented yet",
              "description":"user define description for the job"
} ]

}
on my server server.exemple.com I run rclone --rc --config /config/rclone.conf copy /data/file.txt remote:dir -vv -P
However I can see nothing at either http://server.exemple.com:5572 or http://example2.com/rcloneMon.html?job=job1
What am I missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/ahvlima/rcloneMon/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYFGKPNVNFYY6JQOD7RV6LPRYZS7ANCNFSM4HHTBC2Q.

Thanks for the quick response.
Yes, I changed all example.com - only used it here as illustrative examples as intended.
Under add I used hostname as http://example.com (without the <> part after).
For server name I'm not sure what I'm supposed to put here as it seems it's a custom string. It seemed from the config you can call it what you want. The docs say "user defined server name, used to address the link to the server from the job array" but there's no concept I'm aware of of a server name with rclone?
As explained, I ran rclone --rc --config /config/rclone.conf copy /data/file.txt remote:dir -vv -P and cannot see anything even from localhost. What more do I need to add? I have also tried rclone --rc --rc-addr=<IP_ADDRESS>:5572 --config /config/rclone.conf copy /data/file.txt remote:dir -vv -P with the same result.
And what's the easiest way to debug this? The rc is definitely running as I get "Not found" when going to example.com:5572

You need --rc-files
Also, the “server name” is a string to match withj the “job server”.

On Apr 22, 2019, at 8:26 PM, turkeyphant<EMAIL_ADDRESS>wrote:
Thanks for the quick response.
Yes, I changed all example.com - only used it here as illustrative examples as intended.
Under add I used hostname as http://example.com (without the <> part after).
For server name I'm not sure what I'm supposed to put here as it seems it's a custom string. It seemed from the config you can call it what you want. The docs say "user defined server name, used to address the link to the server from the job array" but there's no concept I'm aware of of a server name with rclone?
As explained, I ran rclone --rc --config /config/rclone.conf copy /data/file.txt remote:dir -vv -P and cannot see anything even from localhost. What more do I need to add? I have also tried rclone --rc --rc-addr=<IP_ADDRESS>:5572 --config /config/rclone.conf copy /data/file.txt remote:dir -vv -P with the same result.
And what's the easiest way to debug this? The rc is definitely running as I get "Not found" when going to example.com:5572
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ahvlima/rcloneMon/issues/1#issuecomment-485587135, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYFGKMYWQWN6JQEPGZAUUTPRZCS3ANCNFSM4HHTBC2Q.

I thought --rc-files was for rclone rc not rclone --tc.
Could you just give a working rclone --rc command to start a transfer and a working config.json and rcloneMon.html URI to test with?
I've not edited the config.json so name":"user defined server name" matches with "server":"name of the server where job runs"

Give me your up address and I will send you both the rclone and config.json.
Sent from my iPhone with  iTypos

On Apr 22, 2019, at 8:45 PM, turkeyphant<EMAIL_ADDRESS>wrote:
I thought --rc-files was for rclone rc not rclone --tc.
Could you just give a working rclone --rc command to start a transfer and a working config.json and rcloneMon.html URI to test with?
I've not edited the config.json so name":"user defined server name" matches with "server":"name of the server where job runs"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

<IP_ADDRESS>

Assuming you are placing all files under the “/data” directory and that the config is at the “/config” directory
rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir
Please note that if “file.txt” is too small, rclone will start and exit before you can open monitor. It’s for long running jobs.
Point the browser to:  http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1
Using this config.json file.

On Apr 22, 2019, at 9:09 PM, turkeyphant<EMAIL_ADDRESS>wrote:
<IP_ADDRESS>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ahvlima/rcloneMon/issues/1#issuecomment-485594970, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYFGKOGDBQFIW5RLHP45ALPRZHTZANCNFSM4HHTBC2Q.

Afraid that still doesn't work. Those are exactly the same as the commands in my post here.
But I tried again moving the flags to the order you suggested.
When I go to  http://<IP_ADDRESS>:5572 I get "404 page not found"
When I go to http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 I still get
rclone job running on http://<IP_ADDRESS>:5572
Error loading/processing configuration file (server may be offline)

I can see that rclone is launching the remote properly and I can see that from localhost as well as remote hosts. But rcloneMon is not able to speak to it.
Note I am getting 404 page not found instead of not found now.

Okay I've done further investigation.
I am using the config.json as per your comment with server "myserver" and job "job1".
I am first starting off the job with the command rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir
This works by starting the HTTP server at locahost:5572 which is accessible locally and remotely.
I can test this by running rclone rc core/stats which produces:
# rclone rc core/stats
{
        "bytes": 1269760,
        "checks": 0,
        "deletes": 0,
        "elapsedTime": 13.779999058,
        "errors": 0,
        "fatalError": false,
        "retryError": false,
        "speed": 92145.14418002365,
        "transferring": [
                {
                        "bytes": 1269760,
                        "eta": 758,
                        "name": "file.txt",
                        "percentage": 1,
                        "size": 88768956,
                        "speed":<PHONE_NUMBER>2485304,
                        "speedAvg":<PHONE_NUMBER>4418438
                }
        ],
        "transfers": 0

So the rc server is up and able to report on the running job correctly. However, note the job name is automatically filled as "file.txt" not "job1".
Strangely, if I try rclone rc job/list to see all currently running jobs I get
{
        "jobids": []
}

Which indicates there are no jobs despite the clear job running under  "transferring": [ above
Also, if I go to http://<IP_ADDRESS>:5572 I'm now getting Not found again.
The job is running under "file.txt" not "job1" so I then changed the config.json to list the job as "file.txt" instead. Now if I go to http://<IP_ADDRESS>:5572/rcloneMon.html?job=file.txt I get rclone job running on http://<IP_ADDRESS>:5572 Error loading/processing configuration file (server may be offline)
If I try another other job name such as "doesnotexist" I get, as expected Cannot find job "doesnotexist" in configuration file.
So the config..json is working fine, the rc server is working fine. It's just not creating a job id and rcloneMon.html is not able to read anything.

There are 2 types of jobs:

ONE SINGLE SYNCHRONOUS job, started in the rclone command line
Many asynchronous jobs, started thru the remote control

Core/stats list the statistics of ALL running jobs combined.
Job/stats list statistics of ASYNC jobs ONLY. That’s why your are not seeing the job you started on the command like.
The monitor uses the Single synchronous job.
Back to the config.json: the names are just strings to allow the Javascript to find the proper configuration information:
The name of the server is to allow one to link one or more jobs to a server.
Job(server)=server(name)
This creates a complete description of the job and where to connect to get the data.
The job name in the config.json is to allow the user to specify the job to display in the URL, line http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1
The value passed as a parameter in the URL must match the value of the job(name) in the son file.
If you are getting “Error loading/processing configuration file (server may be offline)”, it’s because either there is an error in the json file or rclone is not running (or has already finished).
Hope this helps.
Arnaldo.

I'm still just looking for the most basic version of an example command that works.
It will produce a job that is visible with rclone rc job/list and config.json that your rcloneMon.html will work with.

rcloneMon uses only core/stats. Job/stats don’t have progress information.

On Apr 23, 2019, at 2:36 PM, turkeyphant<EMAIL_ADDRESS>wrote:
I'm still just looking for the most basic version of an example command that works.
It will produce a job that is visible with rclone rc job/list and config.json that your rcloneMon.html will work with.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ahvlima/rcloneMon/issues/1#issuecomment-485901821, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYFGKKOTRHJFK5FPEOEFA3PR5CKBANCNFSM4HHTBC2Q.

It will produce a job that is visible with rclone rc job/list and config.json that your rcloneMon.html will work with.
I'm using rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir to run a single synchronous job as per your instructions.
I can see it under "transferring": [ using core/stats as you state.
And yet under http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 nothing shows.
I can see the rclone still running in the rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir terminal and I'm using your config.json exactly as provided.
Note that the job name produced by your command is still the filename not job1.

What happens when you try to connect with:
http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1
As for the job name, my program does not generates a job name: it gets the parameter from the URL and uses it to find the information inside the config.json.
Arnaldo

On Apr 23, 2019, at 2:46 PM, turkeyphant<EMAIL_ADDRESS>wrote:
It will produce a job that is visible with rclone rc job/list and config.json that your rcloneMon.html will work with.
I'm using rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir to run a single synchronous job as per your instructions.
I can see it under "transferring": [ using core/stats as you state.
And yet under http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 http://<IP_ADDRESS>:5572/rcloneMon.html?job=job1 nothing shows.
I can see the rclone still running in the rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir terminal and I'm using your config.json exactly as provided.
Note that the job name produced by your command is still the filename not job1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ahvlima/rcloneMon/issues/1#issuecomment-485905532, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYFGKJLU4ZLTMHZFPD3QVDPR5DPTANCNFSM4HHTBC2Q.

As mentioned here and here I get:
rclone job running on  http://<IP_ADDRESS>:5572/
Error loading/processing configuration file (server may be offline)

It now seems to me that this is an error in the config.json but I am using this exactly as supplied by you.

my program does not generates a job name: it gets the parameter from the URL

I know. I'm talking about the job name created by the command you supplied which was rclone -v -P --rc --rc-addr=<IP_ADDRESS>:5572 --rc-files /data --config /config/rclone.conf copy /data/file.txt remote:dir
In this case, even with job1 in the config.json the job name is file.txt when you ask core/stats.

lol, I solved it:
I read in readme.md:

There is a single dependency: transfer speed graphics use C3.js, as well as its dependency D3.js.

So I used c3.js and d3.js.
Only just now I was looking through the code and javascript console and there's no error checking for inclusion of these files. Turns out rcloneMon.html only includes the minified versions and not c3.js and d3.js as well.
For some reason I don't understand, line 186 of rcloneMon.js
 setError(Cannot find job "${jobName}" in configuration file);
is activated by an earlier if ... then loop if those files are missing, not just if there's an error in the config.json file. I would recommend changing your error checking in rcloneMon.js to fix this!
Thanks :)


Unknown tree node

I was travelling in mountain when I found this . It is a tree. The trunk is normal, I verified it (default:tree), but the leaves are unknown nodes.

@Ombridride: I thought you got my commit which re-added snow but without the mapgen.
Until the next merge I will add aliases

eb470a2e3bc6ae57ae0274eff0a5c7ccfe10e194 (before snow removal)

0f258b989baae40a0d484f508db181a5258d5362 (after second commit, adding back snow, disabling mapgen)

It's a merge error.

https://github.com/MinetestForFun/server-minetestforfun/commit/aa9647ff4ede1239f82b4f87e2a64d903d5549bd
Somehow it was disabled.

Done, it works.


How to implement navigation type safety in NiaNavHost?

According to this post, starting with version 2.8.0-alpha08 of Navigation objects can be used in navigation.
I'm trying to implement it, because I need to pass instances of an object called ItemUI instead of passing a simple value, but it doesn't work for me.
This is what I've been trying:
ForYouNavigation
fun NavController.navigateToForYou(navOptions: NavOptions) = navigate(FOR_YOU_ROUTE, navOptions)

@ExperimentalMaterial3AdaptiveApi
fun NavGraphBuilder.forYouScreen(onTopicClick: (ItemUI) -> Unit) {
    composable(
        route = FOR_YOU_ROUTE,
    ) {
        ForYouRoute(onTopicClick = onTopicClick)
    }
}

NiaNavHost
@Composable
fun NiaNavHost(
    appState: NiaAppState,
    onShowSnackbar: suspend (String, String?) -> Boolean,
    modifier: Modifier = Modifier,
    startDestination: String = FOR_YOU_ROUTE,
    onReaderClick: () -> Unit

) {
    val navController = appState.navController
    NavHost(
        navController = navController,
        startDestination = startDestination,
        modifier = modifier,
    ) {
        forYouScreen(onTopicClick = navController::navigateToTodays)
        // ...
}

navigateToTodays
fun NavController.navigateToTodays(topicId: ItemUI? = null, navOptions: NavOptions? = null) {
    /*val route = if (topicId != null) {
        "${INTERESTS_ROUTE_BASE}?${TOPIC_ID_ARG}=$topicId"
    } else {
        INTERESTS_ROUTE_BASE
    }*/
    navigate(topicId, navOptions)
}

At this line
navigate(topicId, navOptions)
I have this error:
Type mismatch: inferred type is ItemUI? but TypeVariable(T) was expected

in typeSafeNavigation (version 2.8.0) you can pass a route: T as argument, this class should be @Serializable , you can pass item in this class like this:
@Serializable
data class ScreenB {
val user: User
}
@Serializable
data class User(
var name: String, var family: String)
}
then you should create an custom type for this type like this :
bject CustomNavType {
val userType = object : NavType(
isNullableAllowed = false
) {
override fun get(bundle: Bundle, key: String): User? {
return Json.decodeFromString(bundle.getString(key) ?: return null)
}
    override fun parseValue(value: String): User {
        return Json.decodeFromString(Uri.decode(value))
    }

    override fun serializeAsValue(value: User): String {
        return Uri.encode(Json.encodeToString(value))
    }

    override fun put(bundle: Bundle, key: String, value: User) {
        bundle.putString(key, Json.encodeToString(value))
    }

}

}
then you should use treeMap as argument for screenB like this:
composable(
typeMap = mapOf(
typeOf() to CustomNavType.userType
)
) {
val args = it.toRoute()
Column(
modifier = Modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
) {
Text(
text = args.user.name.toString(),
)
}
}
and now you can pass data from another screen like this :
composable {
Column(
modifier = Modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center
) {
Text(
"Home",
modifier = Modifier
.clickable {
navController.navigate(ScreenB(
User("Shayan", "Saeedi")
))
}
.align(Alignment.CenterHorizontally)
)
}
}
.

Since this is not directly related to the Now in Android project I am closing.


Theme extensions error

Hi,
I can't access theme extensions because of this error:

Error
The Unix user [my username] does not exist.

And... it correct, as I don't use Unix users in Webmin for security purposes. So it's impossible to use theme extensions in this case?

Jmm, hard to tell. Can you open settings-* in theme folder and comment out the line &switch_to_remote_user(); Does it work now?
What do you mean? You don't run Webmin as root?

I mean the user I use to log in to Webmin is not a Unix user.

Try what I offered. I don't know what you're talking about really .. :)

Mmm ok.

Can you comment out what I asked you?

It looks like it doesn't work. Not a big deal for me anyway, I don't plan to use theme extensions, I was just reporting the error I got when I tried to access that page. :smile:


I can't receive hub events on ios. On android everything is working fine.

When starting the app in ios the signal is connected and keeps the connection, but I don't receive any event. If I keep android and ios receiving the same event, on android it is received but on ios not.
Is there any specific configuration for ios at this point to work well?

I recently rewrote the plugin using flutter pigeon with few breaking changes. Will push a pre-release version on the pub by tomorrow. Your problem should resolve in that, if not feel free to let me know. Will notify here once it goes live on pub.dev.

How amazing, thank you very much for your willingness and promptness, I'll wait to use the new version

A new pre-release version is released in pub.dev. Feel free to try it out.

Hi, thanks for the info, I used this new version and the behavior persists. I made a call with the Hub do signal but the event only arrived on the android and did not arrive on the ios simulator. The ios status was "ConnectionStatus.connected"
Do I need to enable some setting?

Did you get any error message on your console after the event is dispatched?
Will look into it once I get some time.

I didn't get any error on the console, it just doesn't happen. I tried to run in the debug but nothing came up.
I understand, as soon as something new comes out I'll try again

Strange cause I tested on both debug and release mode and the events are arriving fine. Have you tried cleaning your project from vscode/android studio & xcode before trying the pre release version?

I just updated the plugin, I'll try again cleaning the project. I'm using a Mac M1 I don't know if this is relevant. I will try again later. thanks for the feedback

Hi, I tried again with a clean project and used the example from the pub dev itself, but I couldn't receive events. On the hub side would need to send something different to work on ios?
thanks for the support

Hello
Have same problem on iOS for   signalr_flutter: ^0.2.0-dev.2
flutter: @@@ ConnectionStatus.connecting
flutter: @@@ ConnectionStatus.connectionError
flutter: @@@ ConnectionStatus.disconnected
======== Exception caught by services library ======================================================
The following PlatformException was thrown during a platform message callback:
PlatformException(channel-error, ["source": Internal Server Error, "message": Error during start request. Stopping the connection.], null, null)
When the exception was thrown, this was the stack:
#0      SignalR.onStatusChange (package:signalr_flutter/signalr_flutter.dart:46:7)
#1      SignalRPlatformApi.setup. (package:signalr_flutter/signalr_api.dart:277:21)
#2      SignalRPlatformApi.setup. (package:signalr_flutter/signalr_api.dart:270:35)
#3      BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:73:49)
#4      BasicMessageChannel.setMessageHandler. (package:flutter/src/services/platform_channel.dart:72:47)
#5      _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:379:35)
#6      _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:376:46)
#7      _invoke2. (dart:ui/hooks.dart:205:15)
#11     _invoke2 (dart:ui/hooks.dart:204:10)
#12     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#13     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#14     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#15     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544:22)
#16     _dispatchPlatformMessage (dart:ui/hooks.dart:92:31)
(elided 3 frames from dart:async)
For previous version i had same problem, but empty log

@xalabax  have you fixed this issue ? because i am facing same problem in ios.

@AyonAB  connection is not establishing in ios  getting this error.
SignalR Error: ["source": , "message": Error during start request. Stopping the connection.]
Please help.

When starting the app in ios the signal is connected and keeps the connection, but I don't receive any event. If I keep android and ios receiving the same event, on android it is received but on ios not.
Is there any specific configuration for ios at this point to work well?

Deivid, did you find any solution?


Overlay disappears in Vuejs

Im using driver in a vuejs application.
The following will work properly if I use it inside mounted() but if I trigger it inside of a method the overlay briefly flashes and then disappears again.
const driver = new Driver();
// Define the steps for introduction
driver.defineSteps([
  {
    element: '#first-element-introduction',
    popover: {
      title: 'Title on Popover',
      description: 'Body of the popover',
      position: 'left'
    }
  },
  {
    element: '#second-element-introduction',
    popover: {
      title: 'Title on Popover',
      description: 'Body of the popover',
      position: 'top'
    }
  },
  {
    element: '#third-element-introduction',
    popover: {
      title: 'Title on Popover',
      description: 'Body of the popover',
      position: 'right'
    }
  },
]);
// Start the introduction
driver.start();

I  feel like I am missing something really simple but am not sure what. Any suggestion?

Yep, it was easy. I forgot to stop propagation on the click event.
for example <button v-on:click.stop="startDriver">start</button>


(SUP-4204) Add lastrunreport check

Added in agent_status_check indicator AS005 to review the lastrunreport for any logs at Warning or Error level. The indicator resolves to false if there is at least one Warning or Error. This indicator is helpful to capture errors that might not cause the Puppet run to fail such as Facter errors.
Please check off the steps below as you complete each step

[x] Put the Jira ticket or Github issue number in parentheses in the Title e.g. (SUP-XXXX) Add Super Duper State Check
[x] Update the Jira ticket status to Ready for Review if there is one
[x] Review any CI failures and fix issues

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

@taikaa could u rebase on main

@MartyEwings hi! I squashed my commits and rebased on main. The tests are failing on S0019

@taikaa hate to do this, but i merged a couple of things including something that should stop fails on s0019, could you rebase again on main/

I was looking over this one and I do appreciate the PR, but I think that we probably want to avoid parsing the entire last run report.  On my primary the file is almost 3mb, and I'm sure customers with lots of resources or agent runs that produce large corrective changes will have larger.  The overhead of parsing the file into yaml and iterating over the lines every agent and facter run could be significant.

Closing due to the time and memory impact adding this check to the fact would cause
Thanks for the PR


DataStore question: How to efficiently access DynamoDB items by owner field

Hello everyone,
a question came up, when I looked at my amplify DataStore setup.
All my items use an "owner" field to determine who they belong to. Messing around with DynamoDB for another project (without Amplify), it occurred to me that DynamoDB is only able to access items efficiently by primary and/or sort key. It is my understanding that all other filtering can only be applied after all fields have been accessed. I guess that makes sense, given that it's a NoSQL database.
I also understand that access by other fields than primary/sort keys can be streamlined by adding such fields as secondary index.
Given that the access pattern to a table must filter by "owner", I was wondering how that's done efficiently? The owner field is neither part of any key, nor do I find a secondary index on any of the amplify tables. What I am missing? Is it really scanning all items to then filter the ones with the correct "owner" field value?
Any hint would be greatly appreciated.
PS: Perhaps I should add, that my Amplify environment is ancient. I created it like 3 years and kept updating ever since. Perhaps I'm missing something here.
Thanks for clarifying!

For example, all the tables in my schema look like so:
type Search @model @auth(rules: [{ allow: owner }])
{
  id: ID!
  .
  .
  .
  .
  .
  .
}

@5d , thanks so much for taking the time to compose this answer.
What you are saying is also my understanding. That's why I'm puzzled to see neither a GSI nor a composite key.
During the last days, I was logging the DB-interactions with CloudTrail. I saw the DynamoDB-"scan" operation more frequently than I thought.
Then I shall read further in direction AppSync.
Thanks again!


System identification error using T265

Hi, when I testing T265 camera, there is a odd problem. When the T265 camera first plug in, run dmesg I get
271695.579260] usb 3-1.1: new high-speed USB device number 8 using xhci_hcd
[271695.691825] usb 3-1.1: New USB device found, idVendor=03e7, idProduct=2150
[271695.691832] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[271695.691836] usb 3-1.1: Product: Movidius MA2X5X
[271695.691840] usb 3-1.1: Manufacturer: Movidius Ltd.
[271695.691843] usb 3-1.1: SerialNumber: 03e72150

in my terminal.
And then when I run realsense-viewer
and dmesg
the Usb port information changed to :
[272035.043097] usb 3-1.1: USB disconnect, device number 8
[272035.387418] usb 4-1.1: new SuperSpeed USB device number 4 using xhci_hcd
[272035.408591] usb 4-1.1: New USB device found, idVendor=8087, idProduct=0b37
[272035.408596] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[272035.408598] usb 4-1.1: Product: Intel(R) RealSense(TM) Tracking Camera T265
[272035.408600] usb 4-1.1: Manufacturer: Intel(R) Corporation
[272035.408601] usb 4-1.1: SerialNumber:<PHONE_NUMBER>440000

I am very confused:)

Hi @ahuizxc
This is normal - T265 is based on Intel Movidius chip. By default it loads as Movidius boot-loader. Viewer (and rest of the SDK apps) identifies it and loads T265 firmware to it, and the whole unit reboots as Intel RealSense Tracking Camera T265.
In theory, you could load any other Movidius firmware (like the NCS) but we only provide support for the firmware included in the SDK.

Hi @ahuizxc
This is normal - T265 is based on Intel Movidius chip. By default it loads as Movidius boot-loader. Viewer (and rest of the SDK apps) identifies it and loads T265 firmware to it, and the whole unit reboots as Intel RealSense Tracking Camera T265.
In theory, you could load any other Movidius firmware (like the NCS) but we only provide support for the firmware included in the SDK.

fine thanks


Unable to create runbook or publish from the extension

Does this occur consistently? Yes
Repro steps:
Action: automation.createRunbook
Error type: Error
Error Message: Request failed with status code 401
Version: 1.2.4
OS: win32
OS Release: 10.0.19045
Product: Visual Studio Code
Product Version: 1.85.2
Language: en

Call Stack
e.exports extension.js:2:1324995
e.exports extension.js:2:1327411
IncomingMessage.<anonymous> extension.js:2:1318048

I can delete existing runbooks from the extension though.

@xlandhenry is the problem in creating all type of runbooks, or any specific.
And can you please check if problem if this vscode version or specific version only.

@xlandhenry is the problem in creating all type of runbooks, or any specific. And can you please check if problem is with specific extension version.

Yes the problem is in creating all types of runbooks, powershell, powershell72, python...
I have tried installing an older version of the extension(1.2.1) and can confirm the problem is in both versions.

@xlandhenry I was able to repro the issue. You have to ensure the Azure Configuration is set to ADAL.
you can set this from settings---> Azure configuration

Please let me know if issue is resolved.

Thanks I changed the extension settings to use ADAL and now I can successfully create runbooks.
However as far as I understand ADAL is being deprecated, is MSAL support being developed for this extension?
https://learn.microsoft.com/en-us/entra/identity-platform/msal-migration

Yes, we are working on support of MSAL in extension.
Thanks


Routing Rules tests are not deterministic - e2e-suite-rbac-auth and pilot-e2e fail intermittently

Here is one instance:
https://k8s-gubernator.appspot.com/build/istio-prow/e2e-suite-rbac-auth/577
There were several failures in the log:
I0130 19:22:59.801] 2018-01-30T19:22:59.725514Z	error	Failed database routing! normal-user in v1. Error could not find glyphicon-star in response
I0130 19:23:32.316] --- FAIL: TestDbRoutingMysql (71.84s)
....
I0130 19:26:52.835] 2018-01-30T19:26:52.835329Z	info	Running command kubectl get namespace demo-test-22921e65dca442d59c92496a318
I0130 19:26:53.344] 2018-01-30T19:26:53.201407Z	info	Command output:
I0130 19:26:53.344]  Error from server (NotFound): namespaces "demo-test-22921e65dca442d59c92496a318" not found
I0130 19:26:53.344] , err: exit status 1
I0130 19:26:53.345] 2018-01-30T19:26:53.343901Z	info	namespace demo-test-22921e65dca442d59c92496a318 deleted
I0130 19:26:53.345]
I0130 19:26:53.345] 2018-01-30T19:26:53.343922Z	info	Namespace demo-test-22921e65dca442d59c92496a318 deletion status: true
I0130 19:26:53.345] 2018-01-30T19:26:53.343931Z	info	Cleanup complete
I0130 19:26:53.508] exit status 1
I0130 19:26:53.509] FAIL	istio.io/istio/tests/e2e/tests/bookinfo	1106.365s
I0130 19:26:53.794] tests/istio.mk:67: recipe for target 'e2e_bookinfo' failed
W0130 19:26:53.822] make: *** [e2e_bookinfo] Error 1
W0130 19:26:53.823] + cp -a /tmp/istio.e2e.003357452 /tmp/istio.e2e.014829598 /tmp/istio.e2e.170754369 /tmp/istio.e2e.447498981 /tmp/istio.e2e.581032184 /tmp/istio.e2e.792559208 /tmp/istio.e2e.810178374 /tmp/istio.e2e.899396263 /tmp/istio.e2e.908648170 /home/bootstrap/go/src/istio.io/istio/_artifacts
E0130 19:26:53.823] Build failed
I0130 19:26:53.823] process 345 exited with code 2 after 36.5m
E0130 19:26:53.823] FAIL: e2e-suite-rbac-auth

Another example of unreliable tests is here:
https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/2862/istio-pilot-e2e/2426/
I0206 06:28:54.256] * attempt 0 expected 75 requests (+/-5) to reach v1 => Got 67
I0206 06:28:54.256] * attempt 0 expected 25 requests (+/-5) to reach v2 => Got 33
Until this issue is fixed, I will increase the tolerance of tests to +/-10.

https://circleci.com/gh/istio/istio/33425
--- FAIL: TestPilot/Auth/routing-rules (105.40s)
pilot_test.go:186: 8 errors occurred:
    		* v1alpha2 routing 75 percent to c-v1, 25 percent to c-v2 attempt 0 expected 25 requests (+/-5) to reach v2 => Got 0
    		* v1alpha2 routing 75 percent to c-v1, 25 percent to c-v2 attempt 1 expected 75 requests (+/-5) to reach v1 => Got 67
    		* v1alpha2 routing 75 percent to c-v1, 25 percent to c-v2 attempt 1 expected 25 requests (+/-5) to reach v2 => Got 31
    		* v1alpha2 routing 75 percent to c-v1, 25 percent to c-v2 attempt 2 expected 75 requests (+/-5) to reach v1 => Got 84
    		* v1alpha2 routing 75 percent to c-v1, 25 percent to c-v2 attempt 2 expected 25 requests (+/-5) to reach v2 => Got 16
    		* v1alpha2 routing 100 percent to c-v1 with websocket upgrades attempt 0 expected 100 requests (+/-5) to reach v1 => Got 0
    		* v1alpha2 routing 100 percent to c-v1 with websocket upgrades attempt 1 expected 100 requests (+/-5) to reach v1 => Got 0
    		* v1alpha2 routing 100 percent to c-v1 with websocket upgrades attempt 2 expected 100 requests (+/-5) to reach v1 => Got 0
    --- PASS: TestPilot/Auth/routing-rules-to-egress (174.60s)

@ldemailly @andraxylia it turns out that many of the problems with the pilot e2e tests are due to the fact that we're running in a cluster with a single node.  See details in https://github.com/istio/istio/pull/3663#issuecomment-367494093.  The fix is #3663 and should land soon.  We can re-evaluate once that's in.  Stay tuned.

I'm hopeful but it sounds 2 good to be true if all our woes can be fixed at once. let's see :-)

@ldemailly Agreed.  My fix is only for prow ... Circle CI seems to have the problem as well, however.

@nmittler #3663 is merged, do we need a similar update for circleci?

@cmluciano IIRC, circleci uses minikube which shouldn't have the same problems.

Cool, is this issue closable ?

@cmluciano I believe some of the route tests are flaky ... it's not related to #3663.

@nmittler - what are the next steps for this issue? Was it resolved by #3663?

Yeah I think so.  Let's close it for now ... we can open a new issue if necessary.


Feature - Postgres

Switch to using PostgreSQL instead of SQLite.

Sorry, my mistake. I intended to merge it into my fork.


GetGeometricFactors might return stale data

documentation should be updated to reflect that GetGeometricFactors may not actually return accurate information for the current mesh state

here's a small reproducer of the issue:
#include "mfem.hpp"

int main() {

  constexpr auto flags = mfem::GeometricFactors::COORDINATES | mfem::GeometricFactors::JACOBIANS;
  const mfem::IntegrationRule& ir = mfem::IntRules.Get(mfem::Geometry::Type::SQUARE, 3);

  mfem::Mesh mesh = mfem::Mesh::MakeCartesian2D(1, 1, mfem::Element::Type::QUADRILATERAL);

  {
    auto geom = mesh.GetGeometricFactors(ir, flags);
    std::cout << "geometric factors from original mesh: " << std::endl;
    for (int i = 0; i < geom->X.Size(); i++) {
      std::cout << geom->X[i] << " ";
    }
    std::cout << std::endl;
  }

  mfem::VectorFunctionCoefficient some_deformation(2, [](const mfem::Vector& x_old, mfem::Vector& x_new) {
    x_new[0] = 1.1 * x_old[0];
    x_new[1] = x_old[1];
  });

  mesh.Transform(some_deformation);

  {
    auto geom = mesh.GetGeometricFactors(ir, flags);
    std::cout << "geometric factors after transforming mesh: " << std::endl;
    for (int i = 0; i < geom->X.Size(); i++) {
      std::cout << geom->X[i] << " ";
    }
    std::cout << std::endl;
  }

  mesh.DeleteGeometricFactors();

  {
    auto geom = mesh.GetGeometricFactors(ir, flags);
    std::cout << "geometric factors after transforming mesh AND deleting geometric factors: " << std::endl;
    for (int i = 0; i < geom->X.Size(); i++) {
      std::cout << geom->X[i] << " ";
    }
    std::cout << std::endl;
  }

}

/*
output:
$ ./mfem_mesh_geometric_factors
geometric factors from original mesh:
0.211325 0.788675 0.211325 0.788675 0.211325 0.211325 0.788675 0.788675
geometric factors after transforming mesh:
0.211325 0.788675 0.211325 0.788675 0.211325 0.211325 0.788675 0.788675
geometric factors after transforming mesh AND deleting geometric factors:
0.232457 0.867543 0.232457 0.867543 0.211325 0.211325 0.788675 0.788675
*/

notably: if you distort the mesh and then ask for the geometric factors, GetGeometricFactor's attempt to memoize ends up returning old data.
The expected behavior is: calls to mfem::Mesh::GetGeometricFactors(...) should return information that is consistent with the current state of the mesh.

Would it be acceptable to call DeleteGeometricFactors from within Transform?
Clearly we also need a note in the documentation to remind users to call DeleteGeometricFactors if they are adjusting the geometry of the elements by some other means.

Would it be acceptable to call DeleteGeometricFactors from within Transform?

I think this is a necessary change.

Clearly we also need a note in the documentation to remind users to call DeleteGeometricFactors if they are adjusting the geometry of the elements by some other means.

Improving the documentation is also helpful, since having undocumented requirements like this is dangerous.

Initially, I had hoped that we might fix the flawed implementation of mfem::Mesh::GetGeometricFactors so that it would just always return the right answers, but it seems like that might be impossible. Functions like mfem::Mesh::GetNodes() that expose the mesh's internal data representation prevent us from detecting if a user deforms the mesh, so there's no good way to automatically invalidate the cache of previously-computed geometric factors.
Now, I find myself leaning toward trying to deprecate mfem::Mesh::GetGeometricFactors() altogether, since it's confusing and dangerous to provide a getter method that can return incorrect output. Furthermore, mfem::Mesh::GetGeometricFactors() is really just an alias for the constructor of mfem::GeometricFactors (which hopefully always returns the correct output), so removing it would decrease the complexity of mfem::Mesh with no real loss of functionality.

We should document (in the doxygen docs for GetGeometricFactors and GetFaceGeometricFactors) the need to call Mesh::DeleteGeometricFactors or the new Mesh::NodesUpdated when modifying the mesh in a way that will change them.
Apart from this, is there anything else we should consider doing in order to resolve this issue?

See #3343 for suggested doxygen updates to resolve this issue.


Respect eslint config when inserting snippets

This would be great to format snippets according to existing eslint rules of the project.
Because for now, when I insert a snippet I have lots of eslint warnings:

So I have to save the file for eslint plugin to fix all of them:

This happens because I have "eslint.autoFixOnSave": true setting enabled.
If it happened automatically (before inserting the snippet into the editor), it would be awesome.
Can we add it, what do you think?

Hello @web2style and sorry for the late reply.
I see your problem but we can't do something about this unfortunately. When writing the snippets you don't have access to the eslint configuration or something similar. The only option you have is to specify some placeholders which you can fill and on which places the cursor will move when hitting TAB.


negative ignore_index not working

🐛 Bug
I would like to use metrics (e.g., Precision) with an ignore_index that is not a regular class index (e.g., ignore_index = -1).
Trying this with the code below results in an error.
I was expecting this to be possible. Maybe the code is not designed to have this feature? In this case, it would be good to update the documentation to clarify that the ignore_index has to be between 0 and num_classes-1.
Thank you!
To Reproduce
Running below code sample results in an "index out of bounds" error.
Code sample
import torch
from torchmetrics.classification import Precision
preds  = torch.tensor( [0, 1, 0, 3, 0, 2, 3, 1, 0, 3])
target  = torch.tensor([0, 1, 0, 3, -1, 0, 0, 1, 2, 3])
num_classes=4
prec = Precision(num_classes=num_classes, average="macro", ignore_index=-1)
print(prec(preds, target))

Expected behavior
Expected result of 0.5833
Environment
Installed with pip install torchmetrics==0.9.3
Linux environment, python 3.9.10

Hi @stefan-schroedl,
Please update to v10.0 of torchmetrics, where the feature to set ignore_index to a negative number was implemented. Only change then necessary to your code is adding the task argument when initializing the metric:
import torch
from torchmetrics.classification import Precision
preds  = torch.tensor( [0, 1, 0, 3, 0, 2, 3, 1, 0, 3])
target  = torch.tensor([0, 1, 0, 3, -1, 0, 0, 1, 2, 3])
num_classes=4
prec = Precision(task='multiclass', num_classes=num_classes, average="macro", ignore_index=-1)
print(prec(preds, target))
# prints tensor(0.5833) as expected

Closing issue.


add products taxonomy metadata

Adds docs products taxonomy to the repo to improve findability experiences (onsite search, recommendations and others)

Product Label
Products

Office365
https://authoring-docs-microsoft.poolparty.biz/devrel/6ab06385-661e-4214-8870-bbe4071c960d

Docs Build status updates of commit 08c85ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

office-ui-fabric-react/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Bug Fix: Issue #12

Issue Description:
Calls to CGDisplayPixelsWidth and CGDisplayPixelsHeight stall when passed an integer argument of 0 for OS X 10.9.5 - 10.10.3 (Retina).
Details:
This issue is reproducible in objective Objective-C, this is not an issue with pyobjc itself. The Objective-C documentation for the functions state that the required arguments be of type CGMainDisplayID (unsigned int), and recommends that the display ID be retrieved using the CGMainDisplayID function. So this issue is likely due to a change in a stricter implementation of the aforementioned functions, such 0 is no longer allowed as a DisplayID. Below is sample code in Objective-C which reproduces the issue, and will stall when CGDDisplayPixelsWide is called with argument 0.
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    CGDisplayPixelsWide(0);
    return 0;
}

Solution:
The solution to this issue is to use Quarts.CGMainDisplayID() to retrieve the main display ID, instead of 0. As this is method for retrieving the display ID it should prove to be a robust solution in the long term.

Thanks!


GPU Scaling

Bing bang boom

Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 96.20%. Comparing base (e06679e) to head (5435ae2).

Files
Patch %
Lines

xesn/driver.py
50.00%
1 Missing :warning:

xesn/xdata.py
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
- Coverage   96.29%   96.20%   -0.09%
==========================================
  Files          11       11
  Lines        1027     1029       +2
==========================================
+ Hits          989      990       +1
- Misses         38       39       +1

Flag
Coverage Δ

unittests
96.20% <50.00%> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


[dev] update dev_setup.sh to move-language/2e4a184 and add tip for installed higher version of boogie

Submit PR to the upstream repo move-languge/move?

this mainly copy from version at 2e4a184 and has minor change, I would like to upstream later


Update E2E test doc to address the comments in #6015

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gargnupur, hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test e2e-simple

prow/istio-pilot-e2e.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b3289349e696304ac2c28004a8632d1589dee1d1
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Support n-ary monotonic functions in discover_new_orderings

Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

I'm sorry for the delayed response @gokselk. I had to deal with some urgent maintenance issues. The refactor looks promising overall, but I noticed some issues in the tests that indicate potential bugs.
In your first test, the table is ordered as [a+b, a, b], and you add the equality c = a + b. This results in new orderings of [a+b] and [a, b]. I believe this is incorrect—you can find a simple counter-example if this isn’t immediately clear. The initial orderings should remain unchanged (or potentially be updated to [c, a, b] but this is not our concern).
The correct test case should be as follows: start with an initial ordering of [c, a, b], then add the equality c = a + b. The final orderings should then be [c] and [a, b]. I tested this scenario with your implementation, and it works as expected (it does not work without your refactor). However, the current test should not pass, as the implementation seems to perform unintended simplifications. You need to identify and address this bug.
Once that’s fixed, it would be beneficial to add more scenarios. Consider using ScalarFunctionExpr's as PhysicalExpr to represent different mathematical functions.

You also need to resolve the conflicts coming from upstream in your branch.

In your first test, the table is ordered as [a+b, a, b], and you add the equality c = a + b. This results in new orderings of [a+b] and [a, b]. I believe this is incorrect—you can find a simple counter-example if this isn’t immediately clear. The initial orderings should remain unchanged (or potentially be updated to [c, a, b] but this is not our concern).
The correct test case should be as follows: start with an initial ordering of [c, a, b], then add the equality c = a + b. The final orderings should then be [c] and [a, b]. I tested this scenario with your implementation, and it works as expected (it does not work without your refactor). However, the current test should not pass, as the implementation seems to perform unintended simplifications. You need to identify and address this bug.

Thanks for catching this. I agree the original test case was incorrect. I'm debugging the unintended simplification behavior with the ordering [a+b, a, b]. Will update once I identify and fix the issue.
For now, I've updated the test to use the correct case: [c, a, b] -> [c] and [a, b].

@berkaysynnada I've pushed a potential fix that avoids unintended simplification by skipping cases where the original ordering starts with the equivalent expression.
However, I'm not entirely confident about this approach and would appreciate your review on whether this is the right way to handle these cases.

@berkaysynnada
I've implemented the changes we discussed:

Added preserves_lex_ordering functionality
Updated test cases to use concat instead of direct concatenation

Please review when you have a chance. Let me know if anything else needs to be addressed.

Did you also find a chance to investigate other functions? It will be better to have one more lex order preserver function

I'll investigate string manipulation functions (substr, case conversions, padding) and date formats as potential candidates for lex order preservation. Will update once I have concrete findings.

If the test pass successfully, let's open this to the upstream @gokselk

Merged upstream.


Suggestion: Clear the filter.

In my case, the selectable objects are fed by a Microflow that selects objects from a database over an association.
It would be beneficial to automatically clean the search area when the microflow is called. This way the user has visual feedback that the previous filter is not valid anymore.

I'm not sure I understand your use case. The search text should clear automatically if the user isn't focused on the input anymore.
If the user is still focused on the input, I shouldn't clear the search text because the user is actively searching ~ entering search text re-runs the data source.

Hi there, thanks for the quick answer. I understand my request was a little foggy. Please bear with me while I'm trying to explain what is going on. My original project has two reference selectors. The first one allows the selection of job sites, and the second one selects elements belonging to the selected job site.  There is a non-persistable object with association to the jobsite and cells table permitting the use of reference selectors.
Selecting a job site from the first reference selector refreshes the non-persistable table which is the data source for the second reference selector.
With this widget, it is not possible to use non-persistable tables as the data source, so the workaround was to use a microflow to filter out the data. This turns out in an inconsistency between the data and the view until the focus is set back to the widget triggering the microflow.
Please look at the screenshots showing the behavior with the standard reference selector and the searchable reference selector:

hmm I think I understand now. Have you tried using the OnChange action for the Jobsite dropdown to set the Cell Designation to empty?

That worked, thank you!
Being able to use a non-persistable data source for this widget, along with other sources, will be the perfect solution, though, and will match the original options available for the reference selector.

It is not possible to select non-persistent data sources for Type Database or Type XPath because non-persistent data does not exist in the database at all. Non-persistent data has to come from a Microflow or a Nanoflow


templates: Expose HasPrefix and HasSuffix from the Go library

This was a suggestion on the support server, exposing the inbuilt functions HasPrefix and HasSuffix from the Go strings library.
As far as I can tell, it works fine on selfhost - this is the first time that I added things to the scripting language, so any advice / tips are highly appreciated.
Thanks in advance!

Yup, works fine and we actually already use some things like that from the strings library :+1:


Create ingest lambda

Create a lambda or lambdas that takes a body:
{
label: "uk-20-Feb"
nasa_image_file_name: "VNP46A1"
}

It should download this file
convert it to jpg
runs the skeleton analysis and build a graph
stores the original image, the skeleton image, and the sum of the average_clustering values for each filament

Although we couldn't build a lambda to do this as the needed packages swell the zip file, we are still using the code to ingest manually!


about use i8080 display ili9488

hello ,i have esp32s3 boare i use esp-idf example [lcd/lvgl] by ESP-IDF V4.4.4, Then I incloud "esp_lcd_ili9488.h" and changed 136 lines,
ESP_ERROR_CHECK(esp_lcd_new_panel_ili9488(io_handle, &panel_config, LCD_H_RES * 20 * sizeof(lv_color_t), true, &panel_handle));
The pins are modified in the code based on the actual connection,
   ESP Board                      LCD Screen
┌─────────────┐              ┌────────────────┐
│             │              │                │
│         3V3 ├─────────────►│ VCC            │
│             │              │                │
│         GND ├──────────────┤ GND            │
│             │              │                │
│  DATA[0..7] │◄────────────►│ DATA[0..7]     │
│             │              │                │
│        IO12 ├─────────────►│ PCLK           │
│             │              │                │
│        IO10 ├─────────────►│ CS             │
│             │              │                │
│        IO14 ├─────────────►│ D/C            │
│             │              │                │
│         IO9 ├─────────────►│ RST            │
│             │              │                │
│        IO46 ├─────────────►│ BCKL           │
│             │              │                │
└─────────────┘              └────────────────┘

#define EXAMPLE_PIN_NUM_DATA0          4
#define EXAMPLE_PIN_NUM_DATA1          5
#define EXAMPLE_PIN_NUM_DATA2          6
#define EXAMPLE_PIN_NUM_DATA3          7
#define EXAMPLE_PIN_NUM_DATA4          15
#define EXAMPLE_PIN_NUM_DATA5          16
#define EXAMPLE_PIN_NUM_DATA6          18
#define EXAMPLE_PIN_NUM_DATA7          18

but when Build and Flash project, the lcd notwork, , except the backlight is on, and nothing else happens, I mean it looks like it's just the IO46 pin because the high level turns on the backlight,
So how to use it in the I8080 interface ?
Please give me some Pointers if you can, thank u very much

Aside from:
#define EXAMPLE_PIN_NUM_DATA6          18
#define EXAMPLE_PIN_NUM_DATA7          18

I don't see anything too abnormal in what you have provided.
I haven't tested i8080 mode in some time but it was tested by one of the Espressif devs prior to publishing on the IDF component manager. The example app in this repos is primarily targeting three wire SPI mode, but using this code for creation of the io_panel it should work.
One note on connecting the data pins to the display, make sure you have the interface type set correctly via the IM{0-2} pins. Also make sure to set up for 16-bit color mode since the i8080 mode supports 16-bit color mode but the three wire SPI mode requires 18-bit.

Aside from:
#define EXAMPLE_PIN_NUM_DATA6          18
#define EXAMPLE_PIN_NUM_DATA7          18

I don't see anything too abnormal in what you have provided.
I haven't tested i8080 mode in some time but it was tested by one of the Espressif devs prior to publishing on the IDF component manager. The example app in this repos is primarily targeting three wire SPI mode, but using this code for creation of the io_panel it should work.
One note on connecting the data pins to the display, make sure you have the interface type set correctly via the IM{0-2} pins. Also make sure to set up for 16-bit color mode since the i8080 mode supports 16-bit color mode but the three wire SPI mode requires 18-bit.

#define EXAMPLE_PIN_NUM_DATA6          18
#define EXAMPLE_PIN_NUM_DATA7          18

oh, sorry This is my input error, the actual project configuration is correct.
Reference this Now ILI9488 is work by i8080 interface, but the fps is very low(10~15) guess there are other problems, after the optimization is complete, I will submit a PR for i8080 example ~~
Thanks a lot

after the optimization is complete, I will submit a PR for i8080 example

That may depend on a few factors, mostly on the FreeRTOS tick frequency likely. Give it a test with 1000 as tick frequency, default is 100. It may be causing some unintentional delays in LVGL updates.
Also looking forward to the PR with i8080 example.


Create a contributor doc

Create a CONTRIBUTORS.MD doc to say thank you and give credit to contributors for their generosity and hard work.

@motosharpley  I would be happy to work on creating this doc. This will be my first contribution.

@sonalikatara please submit pull request on this issue to docs-dev branch.
Thanks!


patch: add support for pointing to original file

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Sometimes it might happen where a patch we want to apply is valid but it should be applied against a different file, different than  the one specified in the patch. This PR adds support for declaring on which file we want the patch to be applied.

Review period will end on 2022-10-06 at 17:46:13 UTC.

Sometimes it might happen where a patch we want to apply is valid but it should be applied against a different file, different than the one specified in the patch. This PR adds support for declaring on which file we want the patch to be applied.

@dawidd6 Do you have (m)any homebrew-core uses for this DSL? Otherwise, given this could be accomplished in an install block, I'm tempted to pass on this I'm afraid.


HV-1084 Adding XML schemas for BV 2.0

https://hibernate.atlassian.net/browse/HV-1084

Merged! Thanks!


Color picker in cartocss editor is not working properly

Context
The color picker in the cartocss editor is not working properly. When you click on a hex value, it opens but disappears instantaneously. It's possible to keep it open if you click and drag somehow but then when you select a new color, that new color is not applied to the code.
Steps to Reproduce

Go to the CartoCSS editor
Click on any hex value

Current Result

Expected result

Color picker should remain open when you click on the hex value
When you select a new color, that color should be applied on the CartoCSS

Browser and version
Chrome Version 57.0.2987.133 (64-bit)

One thing to remark here. (and a note for my future self).
This was working depending on how you click on trackpad. In order to reproduce this bug you have to click all the way down. If you are used to click with a smooth touch, this was working perfectly.
The way that the events are triggered are different in each case so take this into account when handling mouse events.

Shipped! :shipit:


⚠ SceneTime has degraded performance

In 08c7685, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3354 ms

Resolved: SceneTime performance has improved in 5c27448 after 6 minutes.


Improve rbac user-selection filter

Setup

Rancher version: 2.6*
Browser type & version: any

Detailed Description
The current user-selection filter only filters in the exact format of the list (Lastname, Firstname). As a user, I would like to be able to not enter a capital letter as the first letter and still see the usernames starting with that letter. As a user, I would like to be able to filter for a user starting with either their firstname OR lastname.
Context
The current filter is a regression from 2.5. Also, filters on other pages do not exhibit the same behavior.

This sounds like it would be an easy bug fix, since the UI would just need to make the search case-insensitive. Since it's a regression, should it be labeled as a bug instead of an enhancement? And is there any design work needed before this can be implemented, or can it be moved to the backlog?

I was checking this filter:

In Auth Provider, selecting an option different than "Allow any valid user", but I am not 100% sure if that's the filter this issue is all about.
From what I could test, that one is not case-sensitive, although it has poor filtering logic. However, it looks like it gets the results from the Auth provider itself, so maybe it's not something we can solve on our end.

Part of #8233


TestDB.java created

adding to demo folder new file TestDB.java to check the functioning of DataBase created /

This code won't even compile because there is a typo.

ahhh . sorry . I got it.

I'm not sure to understand what this PR brings

Closing this as no feedback was received.


Mods to schroedinger

I added the conversion factor to solve the TISE in pyiron units. The resulting curves look exactly like how I have them in my notebook, However, having the mass units in AMU makes the demo notebooks give some not-so-nice looking plots. I will modify the notebooks/class accordingly after I receive Liam's input.

@raynol-dsouza do you understand why all the elasticity stuff is showing up in the diff? I just merged master into schroedinger and thought that would get rid of it, but it's still there.

I have no idea why @samwaseda's commits are showing up here.

Presently it is 1 AMU. We could discuss it during the next pyiron meeting and modify it then.


Improve Device.str

Currently device classes (CpuDevice, GpuDevice, ChainerxDevice, Intel64Device) only override __repr__. The resulting string is a bit cryptic for users.
https://github.com/chainer/chainer/blob/v6.0.0rc1/examples/mnist/train_mnist.py#L58
Device: <ChainerxDevice cuda:2>

Hi @niboshi ,
I did some background research and there are four Device types we use:

CpuDevice
GpuDevice
ChainerxDevice
Intel64Device

So we will need to define __str__ for these classes.
What do you propose to add in those?
Currently, they return the following for __repr__:

CpuDevice: <CpuDevice (numpy)>
GpuDevice: <GpuDevice (cupy):{device.id}>
ChainerxDevice: <ChainerxDevice cuda:2>
Intel64Device: <Intel64Device>

@nishnik
Yes, there are the four device classes.
For concrete outputs, it would nice to match the device specifier as follows:
CpuDevice: @numpy
GpuDevice: @cupy:2
ChainerxDevice: cuda:2
Intel64Devicd: @intel64


Add success message when page/event/poi has been auto saved

Short description

This PR adds a message incl. a timestamp to the page form when either the status is automatically saved or when the page form has been automatically saved.
Proposed changes

Add remark that automatically saved to page/event and poi form
Show remark if last save was auto save
Show remark if page/event/poi has been auto saved

Side effects

I was struggling to test because my server crashed whenever I tried to reload. But given the fact that I also have this issue on the develop branch I assumed I could ignore it for this PR. To me it seemed like it had more to do with issue 2128
In mobile views this doesn't look great

Resolved issues

Fixes: #2002

Pull Request Review Guidelines

We can show the new success message above the heading"Edit page XYZ" like the other messages.

Yeah, that's definitely doable, however as I understood the issue correctly it supposed to look similarly as in Wordpress, and in Wordpress they do it with the checkmark and the remark "saved at x". I don't mind either way. Maybe this is a call for @osmers ?

@JoeyStk @MizukiTemma I think it makes sense to keep it close to Wordpress and other online coop tools. There is no need to have it displayed similar to other messages in the Integreat CMS

@david-venhoff All changes are applied now :)

What do you think about hiding the message once new changes have been made? To me, it's a bit confusing that I have to "remember" whether I typed something after the time that is shown in the message...Thanks!

Thank you for your idea. I will leave it up for @hauf-toni and @osmers to decide this and once it's decided will get back to it :)

@timobrembeck It was decided to follow your suggestion. The note is supposed to disappear again once the user started to type again. I already implemented it, please let me know if this is how you envisioned it or if you want to change anything :)


Linguist overrides for sub-directories

I started playing around a bit with the new Linguist override feature.
My first goal is to ignore the Report/ directories of this repository:
https://github.com/pchaigno/TP-Compilation
I tried to add this line to the .gitattributes files without success: Report/* linguist-vendored=true
I also tried: Report/ linguist-vendored=true
It works if I ignore the TP1 directory for example with: TP1/* linguist-vendored=true
Also, while I'm at it, why do we need to add an asterisk after a folder path? It's not required for .gitignore files...

Tip for anyone else who's still having issues even after modifying .gitattributes: You need to commit .gitattributes in order for github-linguist to use it.  So commit it locally, adjust and tweak and then amend the commit with git commit --amend -C HEAD until you're happy with it, and push to remote when it's good to go.
I was tearing my hair out not understanding why going full-metal and putting this in my .gitattributes was having no effect.  git check-attr --all «some filename» was happily reporting the attributes, but github-linguist continued to show only 2 files in the repo (a couple of root-level package definition files).
Demo/** linguist-detectable linguist-documentation=false linguist-generated=false linguist-vendored=false

@capnslipp this is documented, and in bold 😉