Configure Error when trying to install

I used this on Ubuntu 14.10 and loved it, but I accidentally deleted my home folder and decided to install 15.04 fresh. This is one of the things I'm trying to reinstall, but it doesn't want to install. This is the error I'm getting:
$ sudo npm install

><EMAIL_ADDRESS>install /home/aidan/Code/MSI-Backlight/msi-keyboard/node_modules/node-hid
> node-gyp rebuild

/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.19.0-18-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/aidan/Code/MSI-Backlight/msi-keyboard/node_modules/node-hid
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the node-hid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-hid
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.19.0-18-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/aidan/Code/MSI-Backlight/msi-keyboard
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/aidan/Code/MSI-Backlight/msi-keyboard/npm-debug.log
npm ERR! not ok code 0

Any help? Thanks in advance if so!

/bin/sh: 1: node: not found

How do I do that?

sudo ln -s /usr/bin/nodejs  /usr/bin/node

I think that worked, but now this happens when I try to run an example:
`aidan@cinnabar:~/Source/msi-keyboard/examples$ sudo nodejs msi-kbd.js --help
module.js:340
throw err;
^
Error: Cannot find module 'msi-keyboard'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/aidan/Source/msi-keyboard/examples/msi-kbd.js:7:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)`

Error: Cannot find module 'msi-keyboard'

If you see this issue the easy fix is to run this from the file's directory:
npm install msi-keyboard
Or, if you do not want to install a second time, edit the js example file and change the:
require('msi-keyboard');

To:
require('../');  // this requires the 'parent'

And in the parent directory (the root of the project) run npm install.
The examples are 'stand alone', thus the need to install or modify.
If you have any issues please ask!

Thanks a lot!

Ok,  I am a noob when it comes to this, Could you point me in the right direction on how to use this program to control my keyboard.
Thank you


default pdf_open_to_page value

Pdf open to page - should be null or field shouldn’t be in there (frontend does not care if the field is there or not for non-pdf items), if it's an image

The index will initially contain all property fields. They'll likely be filtered out in the future.  pdf_open_to_page property can simply be ignored if item is not a pdf.


Rename SynchronousInductionMachines to SynchronousMachines

Reported by dietmarw on 30 Apr 2012 13:25 UTC
There seems to be a major flaw with the naming convention. To my knowledge an electrical machine can be either of induction type or of synchronous type but not both at the same time. Therefore calling a machine "Synchronous Induction Machine" doesn't make sense and the naming convention should be changed as soon as a conversion script allows this.

Migrated-From: https://trac.modelica.org/Modelica/ticket/733

Modified by dietmarw on 30 Apr 2012 13:26 UTC

Comment by ahaumer on 1 May 2012 19:16 UTC
Dear Dietmar,
this is a general naming issue, already discussed with Christian Kral; we tried to use:
"induction machine"                = German "Drehfeldmaschine"
"asynchronous (induction) machine" = German "Asynchronmaschine
"synchronous (induction) machine"  = German "Synchronmaschine"
"induction" means "voltage generation" German "Induktion" which holds for both machine types.
We're open to your suggestions ... (especially for an English term for German "Drehfeld" since "rotating (magnetic) field" sounds clumsy, but we have to observe backwards compatibility of naming until a conversion script is avaliable.
Regards, Toni

Comment by dietmarw on 2 May 2012 06:49 UTC
Toni, the problem is that in technical English inducton motor/machine is identical to asynchronous motors/machines. So in English if you use induction machine a person automatically assumes you are talking about an asynchronous machine and not about an synchronous one. Calling a machine Synchronous Induction Machine is simply confusing if not even plainly wrong.
"Drehfeld" would translate as "Rotating magnetic field" (http://en.wikipedia.org/wiki/Rotating_magnetic_field) which is most likely a bit too cumbersome to use as a base class name I guess ;-).  Please not that also in that WP article they distinguish between synchronous and induction machines.
So renaming would make the structure of Electrical.Machines and FundamentalWave cleaner and more logical. Especially since you kind of applied the logic in the abbreviations you use. I.e., AIM_... and SM_... but not SIM_....
I know that the fix to this will have to wait for the next non-backward compatible version with conversion script. That's why I scheduled it for now for [[milestone:MSL4.0]].

Comment by dietmarw on 10 Nov 2013 17:33 UTC
Based on the discussion from comment 3 of #1348 how about a "induction"-less structure which also takes care of the new quasistatic components:
Modelica.Electrical.Machines.
  Transient
     AsynchronousMachines
     SynchronousMachines
     DCMachines
     Transformers
     Components
  QuasiStatic
     DCMachines
     (any future quasistatic sublibs)

Just an idea.
A complete other approach would be rewriting the machine models in such a way that their behaviour, i.e., transient or quasistatic, can be made dependent on a parameter. So we would only have one DC  Machine model which can be made transient or quasistatic. But this should probably handled as a different enhancement in a separate ticket in case it is something you think is feasible.

Changelog removed by dietmarw on 10 Nov 2013 17:33 UTC

Comment by dietmarw on 1 Aug 2015 21:36 UTC
Milestone renamed

Comment by dietmarw on 1 Aug 2015 21:39 UTC
Milestone renamed

Yes we should do the rename to the common English term, but also "AsynchronousInductionMachines" to "InductonMachines" whenever a conversion script is applicable.

I would recommend to use
AsynchronousMachines and SynchronousMachines  just like originally suggested. It simply reflects the physical nature best.

No English native speaker understands "Asynchronous Machine", the use the term "Induction Machine".

That's actually true. So InductionMachine it shall be then :-)

Just to make sure we are on the same page, for the MSL4.0.0 conversion the structure of the machines should be(as discussed earlier):
Modelica.Electrical.Machines.
  Transient
     InductionMachines
     SynchronousMachines
     DCMachines
     Transformers
     Components
  QuasiStatic
     DCMachines
     (any future quasistatic sublibs)

But it turns out in the meantime we now also got now Modelica.Electrical.QuasiStatic. So the structure should probably be
Modelica.Electrical.
  Machines.
    InductionMachines
    SynchronousMachines
    DCMachines
    Transformers
    Components
  QuasiStatic.
    Machines.
      DCMachines
      (any future quasistatic sublibs)

Looks a bit strange tough. Any suggestions to make the structure cleaner and more systematic @christiankral @AHaumer?

There are no plans for other QuasiStatic Machines besides the exisiting DCMachines.
QuasiStatic ACMachines are covered by Magnetic.QuasiStatic.FundamentalWave, that's sufficient.


Python code stops forwarding messages

I am using the Python code to forward the MQTT messages to ES server. Some time the code stop forwarding and stays in while: True loop inside class App. When I checked for MQTT messages by subscribing from other terminal, it shows the incoming messages. It recovers only when I restart the code.

Hi @pathakhcst ,
The Paho Python client claims to provide automatic reconnect functionality, but I haven't actually tested this.
You could try adding an on_disconnect callback to the MqttClient to see if this is the reason for the client to stop receiving updates. See https://www.eclipse.org/paho/clients/python/docs/ under 'on_disconnect()'.
If you see that the client is disconnecting due to some error but not reconnecting, I suggest raising an issue with the Paho Python client project.
Cheers,
C


docs out of sync with code

https://github.com/ZOSOpenTools/utils/blob/main/README.md references the 'old' code.

Changes in https://github.com/ZOSOpenTools/utils/pull/32


Warn on non-MFA functions

Resolves #323
For now, just warns. Will raise on next release

@josevalim I think that's okay because you still wouldn't be able to deserialize the closure correctly in another program?
In cases where you want more flexibility, you can just serialize the parameters and ensure you use the same code to generate the model programmatically

Yes, the closure is wrong either way. My concern is that we cannot reproduce the closure capabilities now, with the chosen API, unless we support an additional optional argument, called extra_args, which we append to the existing args. So, for example, we could do:
layer(x, &SomeFun.bar/4, [y])

There is a workaround for this which I just pushed, but as you can see it is failing because there are some inconsistencies in generating parameter shapes. Basically if you want a closure you can just use Axon.constant layers as input :)
The issue now is that parameter shapes are functions which depend on the known input shapes at initialization time, which creates kind of weird scenarios where if you swap out a parameter for a constant than it breaks things. I think I need to update that to work regardless of whether a layer input is an Axon input or Parameter input

Perfect then, ship it!


Add shortcut to open template for current context

Addition of a shortcut in the software to open the template corresponding to the current context.
Concern Software:

[x] Maya
[x] Nuke

PR => https://github.com/ynput/OpenPype/pull/4953

we want this to be remove please as it enable anyone in the production to open the template modify it and save it / break the template and  the production work


Doesn't work in RN 0.39.2

RN 0.39.2 uses babel 6, which seems to have issue with this, probably due to this using babel 5.
transformed 433/456 (95%)(node:12162) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 326): SyntaxError: TransformError: /home/sid/Developments/MyProjects/ProjectPrism/phone_app/PrismPhone/node_modules/react-native-gesture-recognizers/lib/index.js: [BABEL] /home/sid/Developments/MyProjects/ProjectPrism/phone_app/PrismPhone/node_modules/react-native-gesture-recognizers/lib/index.js: Using removed Babel 5 option: /home/sid/Developments/MyProjects/ProjectPrism/phone_app/PrismPhone/node_modules/react-native-gesture-recognizers/.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets

Did you got any workaround?. I am also facing same issue

didn't...sad i couldn't use this amazing library due to this issue

Updating this to Babel 6 shouldn't be a huge problem. I just don't have the time at the moment. The usage of decorators isn't required, as you could just call the function directly and pass in a component.

thanks...that would be great....will look into usage without decorators in meantime.

@johanneslumpe Can you share the example project files which is there in the readme file plz.

@priyesh9875 There are no project files, those were just throw-away examples I used for screen capturing.

Trying to update it babel 6...when I clone the repo and run npm install i get this output:
 30227 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" 30228 error node v6.9.2 30229 error npm  v4.1.1 30230 error code ELIFECYCLE 30231 error<EMAIL_ADDRESS>prepublish: ``npm bin/eslint src && rm -rf lib && npm bin/babel src --out-dir lib 30231 error Exit status 1 30232 error Failed at the<EMAIL_ADDRESS>prepublish script 'npm bin/eslint src && rm -rf lib && npm bin/babel src --out-dir lib'. 30232 error Make sure you have the latest version of node.js and npm installed. 30232 error If you do, this is most likely a problem with the react-native-gesture-recognizers package, 30232 error not with npm itself. 30232 error Tell the author that this fails on your system: 30232 error     npm bin/eslint src && rm -rf lib && npm bin/babel src --out-dir lib 30232 error You can get information on how to open an issue for this project with: 30232 error     npm bugs react-native-gesture-recognizers 30232 error Or if that isn't available, you can get their info via: 30232 error     npm owner ls react-native-gesture-recognizers 30232 error There is likely additional logging output above. 30233 verbose exit [ 1, true ]
Seems to be an issue with the command in prepublish script...
also I found this https://github.com/johanneslumpe/react-native-gesture-recognizers/compare/master...radko93:master
Any way to get this updated?

As anyone found a way to use it without decorators ?

Any work around for this ? it appears transform error : Using removed babel 5 option.......
My RN version 0.42.0

This should be fixed with ed416620eaeb9f35a60d68d4b876b4f41f349d1f


followon #367 - update to mirage3 clock API

irmin.mirage now has a dependency on ptime.  Express that dependency.

LGTM, I will tweak the CI scripts to make the status green.


Feature Request :  Dart Macros support

Please do add support for dart Macros

Yes.
But I need to wait for macros to actually be usable. They are still far from being stable or complete.


chore: auto-release

This is the first step of automating release process in Artman. Whenever a release is tagged with v[\d.]+ (e.g. v0.13.1) and tests pass, the code will be released to Docker and PyPI automatically.
I expect the release code to fail as I haven't had a chance to test it in a real CircleCI run, only locally, so expect some fix PRs after this one is merged.
Note: smoke tests are now failing. I'm working on fixing them in a different branch and will merge this PR when smoke tests are fixed.

@lukesneeringer @garrettjonesgoogle @andreamlin Ping on this please. I want to use it for the next release :)

This is great!
I'm not terribly familiar with circle config, so I'll let @garrettjonesgoogle or @lukesneeringer give approval.

v2: a little bit of refactoring here.

All parameters in Dockerfile moved to the top as environment variables, much easier to change
PR feedback from @garrettjonesgoogle
A quick'n'dirty script to fetch and update latest commits and versions to prevent any manual edits to Dockerfile and setup.py. I'm not a Python person at all, so all Python feedback is greatly appreciated.

Updated based on your feedback - please take a look.

Moving the script to a separate PR: #463.


Fix Translation and VideoQnA CI issues

Description
The summary of the proposed changes as long as the relevant motivation and context.
Issues
List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.

Frontend CI test failed, commented for now, will fix this in another PR with wenjiao.


Update postcss-bem-linter dependency

Hi,
can you update the postcss-bem-linter dependency to the latest version?
In 3.0.0 there are some fixes for SCSS-files and implicitComponents I would need to have.
Thank you,
Georg

Sounds good: PR welcome!

Whoops, I was meant to do this. Will get on it shortly

@georgobermayr Published a new version. Sorry for the delay!


Can i have some help again?

I got to setup Modis and it's working okay, but just a question:
How do i setup modules other than Pingpong?
And also, bethebot module doesn't seems to work.

Modis has some modules preinstalled (try using !help). But to unlock the full potential you might need a few api keys. Though the most useful and the one most people need is the google_api_key that allows for searching youtube.
To get it:
https://console.developers.google.com/apis/dashboard
create a project
https://console.developers.google.com/apis/api/youtube.googleapis.com/overview
click enable
https://console.developers.google.com/apis/credentials
create credentials -> API Key
Make sure not to restrict it
Also you can join modis public discord to get help.

In response to bethebot, that module has always given us trouble, I'll make sure to look at it before we release v0.4
@YtnomSnrub is just about to finish up this semester of uni and I'm about to switch my job to part-time so we will have time to wrap up 0.4 and push it out. Looking at perhaps a month or two out.


Add Zig

See https://github.com/mattgodbolt/compiler-explorer/pull/1069.
We always install master even if nightly isn't specifically requested as we are a fairly fast moving target currently and this tends to be the go-to version.
0.3.0 will be released in a few weeks and this version can be added at that time. 0.2.0 is omitted for now since it is quite outdated and not really representative.

No, I'm happy enough to change it. With nightly on CE and 0.3.0 releasing soon it doesn't sound like an issue.

Confirmed that zig is installed and runs on the nodes OK :)
ubuntu@admin-node /o/compiler-explorer> /opt/compiler-explorer/zig-master/zig version
0.2.0+073f7ebb

should this be being built nightly?


update cairo-lang-starknet dep to 2.5.0-dev.0

This change is

Previously, dorimedini-starkware wrote…
did you run cargo build?

Yes, of course.
Cargo.lock is in .gitignore in this repo.


empty wav on m_ailab dataset

when I run this recipe, I found that there are some wavs are empty like:data/wav/german-speechdata-package-v2/train/2014-03-24-13-39-24_Kinect-RAW.wav, so there are some errors when get the duration of the wav files, and I removed it, but could you please still check it?
Thanks,

I noticed this as well. Have a look on my PR (https://github.com/uhh-lt/kaldi-tuda-de/pull/23) where I added automatic removal of the files, for which any of the mic recording is empty. I fixed also other errors for training.

thanks!

Hi,
Did you try chain model using uncleaned data?
I still found a lot of wavs which has no duration in header, like: 347f5bd2-0ee7-4f47-a465-82b32752e4cb_2014-08-05-11-08-34_a.
Thanks.

I only added to the list the files, which were breaking the training process. If there are more files which are empty and you could list them, that would for sure benefit to the recognition quality.

@Jendker Thank you again for your pull request to address this!
@iezhanqingran Are there still any other empty files we should add to the list of files to omit?

Yes, I think there are still some wav files has bad stand header in m_ailab dataset. I'm on holiday now, I'll check it next week. @bmilde

I think the wav files in the list are the all empty files.
Thanks


feat: add PyHPS CLI

As the title.
The idea is you can have:
$ pymapdl submit main_file.py
$ pymapdl submit --name="my project" main_file.py --requirements_file=requirements.txt

The help shows:
(venv) pymapdl $ pymapdl submit --help
Usage: pymapdl submit [OPTIONS] MAIN_FILE

  Submit jobs to an HPC cluster using PyHPS package.

Options:
  --name TEXT                 Name of the PyHPS project to be created.
  --url TEXT                  URL where the HPS cluster is deployed. For
                              example: "https://myserver:3000/hps"
  --user TEXT                 Username to login into the HPC cluster.
  --password TEXT             Password used to login into the HPC cluster.
  --python TEXT               Set python version to be used to create the
                              virtual environment and run the python file. By
                              default it uses python3 (default in cluster).
  --output_files TEXT         Set the output files to be monitored.
  --shell_file TEXT           If desired, you can provide a shell script to
                              execute instead of the python file. You can call
                              your python file from it if you wish. By
                              default, it is not used.
  --requirements_file TEXT    If provided, the created virtual environment is
                              installed with the libraries specified in this
                              file. If not, the activated virtual environment
                              is cloned through a temporary 'pip list' file.
                              If you are using editable package, it is
                              recommended you attach your own requirement file
                              using ``pip freeze``
  --extra_files TEXT          To upload extra files which can be called from
                              your main python file (or from the shell file).
  --config_file TEXT          To load job configuration from a file.
  --num_cores TEXT            Set the amount of CPU cores reserved for the
                              job. By default it is 1 CPU.
  --memory TEXT               Set the amount of memory RAM in MB reserved for
                              the job. By default it is 100 MB.
  --disk_space TEXT           Set the amount of hard drive space in MB
                              reserved for the job. By default it is 100 MB.
  --exclusive TEXT            Set the job to run in a machine exclusively,
                              without sharing it with other jobs. By default
                              it is False
  --max_execution_time TEXT   Set the maximum execution time for the job. By
                              default it is zero (unlimited).
  --wait TEXT                 Set the terminal to wait for job completion
                              before return the control to the user.
  --save_config_file BOOLEAN  Writes the configuration to the config file,
                              after successfully submit the job. It overwrites
                              the configuration file. The configuration file
                              path is given using ``config_file`` argument.
  --debug BOOLEAN             Set PyMAPDL to prints the debug logging to the
                              console output.
  --help                      Show this message and exit.

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

Project coverage is 62.13%. Comparing base (598e2e8) to head (1da9ca4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3091       +/-   ##
===========================================
- Coverage   86.64%   62.13%   -24.51%
===========================================
  Files          52       54        +2
  Lines        9553     9761      +208
===========================================
- Hits         8277     6065     -2212
- Misses       1276     3696     +2420

Follow up PRs:

Adding inputs and output: https://github.com/ansys/pymapdl/pull/3112
Adding APDL jobs support: https://github.com/ansys/pymapdl/pull/3111

Update 18-Jun-2024
Features
There are some feature requests which I'm going to write here, instead of an issue.
To be implemented before end of sprint

[ ] Unit testing -> it will depend on where the code ends up.

Postponed until current approach is supported officially.

[ ] Hability to download files.
[ ] Use appdirs to for default configuration.


Inability to place structures sufficiently far from colony guarantees an eventual loss

#1223 has been marked "Won't fix", which is fine. The original Outpost game prevented players from building too far from their colony as well. That said, something does need to change in this regard. There are two underlying issues that need to be fixed:

Nothing in the UI tells the player that this is a limitation when they begin the game. Displaying a color-coded radius around the SEED Lander before it lands will resolve this problem. Two colors for the overlay are probably needed. The first is the maximum distance that the player will be allowed to place structures, and the second is maximum communications range assuming the first circumference is covered in comm towers. These two pieces of info are required to determine the really important part - How many of the planet's mining sites are available to your colony.
This limitation places an overall cap on the amount of mineral resources available to your colony over the course of the game. This isn't a problem in and of itself, but the game needs to be designed to account for this. There needs to be enough available minerals to make the colony self-sustaining long enough to win the game, or if there isn't going to be a final victory condition, long enough to research the tech needed to get past this limitation (MPG, a portal to the mineral dimension, whatever)

Robots can be placed anywhere on the surface so long as they are within comm range (this includes mining robots which extends to mine facilities). Comm towers are excluded from this limitation of structure placement as should any structure that is considered self-contained (need to check the logic to make sure that's the case and enable that if it isn't)
I want to eventually extend building placement to anywhere within comm range. There are some implications to the underlying logic that come from this, namely what happens if comm range breaks?
I've seen a couple of save games where comm towers are built to extend comm range for mine facilities only to be removed afterward to save on power consumption. Great use of resources but a bit of an exploit of game mechanics and not intended for gameplay.
Also, I wanted to add the concept of 'colony sprawl' -- if structures are too far away things are going to take awhile to get there, CHAP facilities may need a boost, etc. Something I want to think about before just blindly extending the range.
So ultimately not a concept I want to outright deny, but in the original issue it doesn't account for the issues I'm thinking about atm.

Oh. I didn't know comm towers were exempt. That does change things a bit.

Yup -- any structure that's considered 'self contained' such as a comm tower is exempt from this. I know the mine facilities, roads and tubes are also considered self contained so should be affected.


undefined reference to 'dgepoqrf_

Hello,
When I run paqr_lapack, I encounter an error: "PAQR_work/lapack/test_dgepoqrf.c:146: undefined reference to 'dgepoqrf_'
collect2: error: ld returned 1 exit status."
I also couldn't find the declaration of lapack_dgepoqrf in the included .h header files after the project was compiled. What should I do in this situation? Your guidance would be greatly appreciated.

File lapack/src/dgepoqrf.f contains the missing symbol starting at line 145. lapack_dgepoqrf is a macro that is commented out on line 9 of lapack/test_dgepoqrf.c. The symbol names depend on the Fortran compiler you used so please make the adjustments specific for your build environment.


The pos of our training models does not match the action type delta.

Hi,
I used the following command you provided to train:
python -m src.train.bc +experiment=image_baseline furniture=one_leg
I have obtained the following training results:

But when I used the following command you provided to test:
python -m src.eval.evaluate_model --run-id entity/project/run-id --furniture one_leg --n-envs 10 --n-rollouts 10 --randomness low
(run-id has been modified according to the settings)
The pos of our training models does not match the action type delta.
More specifically, when the model goes through lines 66 to 71 of code of "evaluate_model.py" file, it will be completely filtered out.
The detailed code is as follows:
runs = [
run
for run in runs
if run.config.get("control", {}).get("control_mode", "delta")
== args.action_type
]
May I ask if there is a problem with our training method? Looking forward to your reply.
Best Regards,
xiongfeng

Hi Xiongfeng,
Thanks for reaching out! I will look into this and get back to you as soon as possible!
Best, Lars

Hi Xiongfeng,
Thanks for reaching out! I will look into this and get back to you as soon as possible!
Best, Lars

Hi, Lars
Thank you very much for your answer.
By debugging the code, I found the problem. It was because the default "control_mode" parameter during training was "pos", and the default during evaluation was "delta". In your paper, you mentioned "Consistent with prior work, we have found that position control greatly outperforms delta control [6].", does it correspond to the two settings of "pos" and "delta"?  But I evaluated the " one_leg" task regarding both settings, the "pos" setting has not a higher success rate compared to the "delta" setting.
In addition, I found that when the test fails, there will also be a 10% success rate. Does this success rate mean that the task is successful?  See below for more details：

Best Regards,
xiongfeng

Hi,
It's great to hear that you figured out the issue!
Also, my apologies for not getting back sooner—I have been absolutely buried lately, unfortunately.
To your question:

In your paper, you mentioned "Consistent with prior work, we have found that position control greatly outperforms delta control [6].", does it correspond to the two settings of "pos" and "delta"?

Yes, that's right. I am surprised, however, that you didn't find a difference between "pos" and "delta" because for me it made a big difference. Have you learned anything more about this in the mean time that you can share—I'm super eager to learn what may or may not make delta actions work!
Best, Lars


v3.10.0 broke the onChange for the input radio

The changes to fix the onChange being executed twice for the checkboxes (issue: https://github.com/developit/preact/issues/358, pr: https://github.com/developit/preact-compat/pull/247) introduced a problem with the input[type="radio"]: looking at the code it seems like you are deleting the onChange for any input type not checkbox, in favour of an onInput, but the radio wouldn't work with it.
I created a pull request for it too
https://github.com/developit/preact-compat/pull/287

Awesome and thanks a bunch for the quick PR!

This breaks when attribute.type === 'file' with components such as https://github.com/odysseyscience/react-s3-uploader that use onChange.
I stopped deletion of the onChange prop with if (attributes.type !== 'file') { delete attributes[props.onchange] };
Firefox triggers the onChange callback twice. (Chrome and Safari work as expected, haven't tried IE/Edge).

I think @cedmax's fix would fix that case too.

Agree with @mjsisley, the event onChange (and onInput) for input type='file' still doesn't fire on Chrome (v58) and Safari (v10) even using the preact-compat last version v3.11.0. But that seems to work on Firefox. Here is the code part I tested:
<input
    type='file'
    onChange ={e => console.log(e)}
  />

(That works correctly when using preact only.)

Here's a thought: what if we changed this line from its current implementation:
let attr = nodeName==='input' && /^che|rad/i.test(attributes.type) ? 'onclick' : 'oninput',

...to:
let attr = nodeName==='input' && /^fil|che|rad/i.test(attributes.type) ? 'onchange' : 'oninput',

... think that'd work?  IIRC onchange works as desired for checkbox and radio inputs like we want for type="file".

Awesome, this fix seems to do the job, onChange events are now correctly fired on Chrome, Safari and Firefox in my test. And onChange events for checkbox and radio work as desired.
Thanks @developit 👍 . Looking forward to see this fix release 🎉

Fixed on master! Waiting for a resolution to #292 before we release.


Downloaded code is not working

HI
Downloaded code as well your demo code is not working.

Works fine. Great project @jeroenouw!


Tomogram path in training_imgs.txt is ignored by visualize_3dhm.py

Hi,
When using a name different than {image_name}.rec, visualize_3dhm.py fails with a FileNotFoundError, even if the tomogram path is correctly specified in the training images text file:

constructing 3D tomogram visualization for lamella02A_ts_001_ali....
[...]
FileNotFoundError: [Errno 2] No such file or directory: 'data/tomo/lamella02A_ts_001_ali.rec'

what's the command line input arguments for this?

python ~/Scripts/cet_pick/cet_pick/visualize_3dhm.py --input exp/simsiam2d3d/nosirt_dog26/all_output_info.npz --color exp/simsiam2d3d/nosirt_dog26/all_colors.npy --dir_simsiam exp/simsiam2d3d/nosirt_dog26/ --rec_dir data/tomo/
as far as I can tell, you cannot pass the image list as an additional input argument

yes, I encounter the error above - I think the problem is that while training is allowed on custom-named tomograms, 3D-Visualisation is not. Thanks for adding the feature :)

thanks! we added the image text file as input argument. To run it, simple use: python visualize_3dhm.py --input path_to/all_output_info.npz --color path_to/all_colors.npy --dir_simsiam path_to_output/ --image_txt train_img_txt.txt


Genetic_backtester "Bad output detected TypeError:"

./scripts/genetic_backtester/darwin.js --selector="poloniex.EMC2-BTC" --days=7 --currency_capital=0.00322810 --use_strategies=neural

Please use the issue template to submit your bug report.

min_predict must be lower than min_period. Darwin.js gives a range from 1-100 0r 1-200 and if the value that the sim tried to use doesn't meet the above criteria you get this error. Darwin.js needs to ensure that it doesn't sim when the min_predict is higher than the min_period or it doesn't work for neural strategy.


Update README.md

Update to point to the latest Docker Hub repo: https://hub.docker.com/r/microsoft/mssql-server-windows-express/

LGTM


匯入枋模

Coverage decreased (-17.3%) to 67.73% when pulling 983352ec044076e0e469cea5f84a12b49ef1e901 on tsi-ling_boo-pan into 2038a85b2a49c7721c0071dba19785114fc4f1ec on master.


Feature Request: "Blood" port

I don't know if this will be possible, but thought I could at least ask about it. Would a port of Blood be possible for the 351p, using Nblood which apparently can be ported Linux. We would just need our own copy of games files.
If it is not possible, too much work, or beyond the capabilities of the device I understand, and thanks for the work you do.
(there is also Exhumed and Duke3d ports from the same project, but I thought they might be even less likely)
https://www.blood-wiki.org/index.php/NBlood
http://nukeykt.retrohost.net/
https://github.com/nukeykt/NBlood

Duke3d can be added by installing https://github.com/krishenriksen/RockRiotMenu I will look into Blood for you.

Duke3d can be added by installing https://github.com/krishenriksen/RockRiotMenu I will look into Blood for you.

Per posted above, you may look at this for a possible port.  I will no longer be focusing on adding additional ports at this time.  You may look for alternative unofficial solutions such as posted by kris above.  Do understand support for those ports will not be available on this github.

Per posted above, you may look at this for a possible port.  I will no longer be focusing on adding additional ports at this time.  You may look for alternative unofficial solutions such as posted by kris above.  Do understand support for those ports will not be available on this github.

@krishenriksen  This looks like an awesome addition, and thanks for looking into Blood as well.
@christianhaitian  Thanks for letting me know, and thanks again for all the work you do man.

@krishenriksen  This looks like an awesome addition, and thanks for looking into Blood as well.
@christianhaitian  Thanks for letting me know, and thanks again for all the work you do man.

@wyterabitt
Added the following games to RockRiotMenu
 Blood
 Exhumed
 NAM
 Redneck Rampage
 Redneck Rampage Rides Again
 World War II GI

Simply enter menu, click Update and enjoy!
@christianhaitian you can close this.

@wyterabitt
Added the following games to RockRiotMenu
 Blood
 Exhumed
 NAM
 Redneck Rampage
 Redneck Rampage Rides Again
 World War II GI

Simply enter menu, click Update and enjoy!
@christianhaitian you can close this.


Mouse returning to wrong monitor

Microsoft PowerToys version
0.73.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Mouse Without Borders
Steps to reproduce

On "main" computer use two monitors.
Set right monitor as the main one in Windows. (with system tray)
Turn mouse without borders and connect to a second computer.
Put the second device left of the secondary monitor in mwb settings.
Move your mouse to second device by dragging your mouse on the secondary monitor to the left.
Move your mouse back to the right on the second device so it moves to main computer.

PowerToysReport_2023-09-15-11-46-04.zip
✔ Expected Behavior
Mouse should appear on the left edge of the secondary monitor
❌ Actual Behavior
When leaving the main device, the mouse cursor appears in the top middle of my main screen.
When returning to the main device, the mouse starts moving from that position instead of left edge of the secondary screen.
Other Software
No response

Thanks @DrDraxi. This seems to be a /dup of #27911 so we will close it as a dup.
Please feel free to open up this issue again if you think this is not the case.


soundInstance.currentTime

When I modify 'soundComponent.slots[''].instances[0].currentTime',I think the stop callback also needs to be suspended.
https://github.com/playcanvas/engine/blob/038154c4efaba04f18948647875b6e7e31394cb1/src/sound/instance.js#L707

More like?
                const suspend = this._suspendInstanceEvents;
                this._suspendInstanceEvents = true;

                // stop first which will set _startOffset to null
                this.stop();
                // set _startOffset and play
                this._startOffset = value;
                this.play();

                this._suspendInstanceEvents = suspend;

Yes ,i think it might be like this. @yaustar


Publish the PaLM DPIA Rev. 1.3 Supplement for TI

Publication of the PaLM DPIA Rev. 1.3 Supplement for Trial Implementation

Duplicate of #487


FAQ updates (January 2021)

Context
We need to update the FAQ page with new questions that have surfaced in the past month.
Definition of Done

The FAQ page(s) include new questions that have surfaced on Discord, the forum and in community support calls.

Are we tracking these anywhere @caseyturnerarrington @psiemens ?

Are we tracking these anywhere @caseyturnerarrington @psiemens ?

@psiemens yeah do we have a list of these I can work off of?

@psiemens yeah do we have a list of these I can work off of?

@psiemens whats the dealeo with this ticket?

@caseyturnerarrington Oops, meant to move to Sprint 32. Updated the milestone

PRed here: https://github.com/onflow/flow/pull/397


Revert "Update circe-core, circe-generic, ... to 0.14.4 in series/0.23"

Reverts http4s/http4s#6965
See https://github.com/circe/circe/issues/2089.

Codecov Report

Merging #6968 (c98e8bd) into series/0.23 (f5b18f6) will increase coverage by 0.01%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@               Coverage Diff               @@
##           series/0.23    #6968      +/-   ##
===============================================
+ Coverage        71.19%   71.20%   +0.01%
===============================================
  Files              339      339
  Lines            10361    10361
  Branches           960      960
===============================================
+ Hits              7376     7378       +2
+ Misses            2985     2983       -2

Impacted Files
Coverage Δ

core/shared/src/main/scala/org/http4s/MimeDB.scala
96.47% <0.00%> (ø)

core/shared/src/main/scala/org/http4s/Uri.scala
89.56% <0.00%> (+0.22%)
:arrow_up:

...ore/shared/src/main/scala/org/http4s/Charset.scala
100.00% <0.00%> (+4.76%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


MB-4432 Desktop Container Styling Applied to Customer Onboarding

Description
This branch establishes the SectionWrapper component, a wrapping div with css applied to establish white boxes and spacing changes to sections in the customer app on desktop layouts. This branch also sets the background color of the customer app to be the $bg-gray color established in the MilMove Design System (MMDS). We also tweak backgound colors and some spacing for some components in the system that became apparent after the change in background color. For the end user, this change will break up complex page layouts into easier to read sections, and will help them know which elements are interactive on the page.
Reviewer Notes
I tried my best to ensure that I implemented  on all the pages where it is needed but if I missed something let me know!
Setup
Add any steps or code to run in this section to help others prepare to run your code:
yarn install
yarn storybook

OR
make client_run
make server_run

Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
Abstract spec

Screenshots

Fails

:no_entry_sign:

New files have been created under one of the legacy directories
(src/shared or src/scenes). Please relocate them according to the file structure described here.
View the frontend file org ADR for more information

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

Messages

:book:
:link: MB-4432

  Generated by :no_entry_sign: dangerJS against 7d46a47fe9753d50ab5fefa397a648c8236b2983

still need to determine what we want to do with the following pages:

legalese/signature page
How much do you think you'll move? page with the slider
page listing move types in h3s (need to go back through and find the name)

still need to move .wrapper-co styling out of global style sheet

IMO let's handle the edit pages later on? This PR contains a lot of changes already and it would be good for them to be merged in.


Missing LICENSE

There's no LICENSE file. Is this MIT, like the Buildkite Agent?

Fixed, thanks @sj26!


[bug] Lambda rollback missing for scheduled queries and rule promotion function

Background
This rollback feature does not have support for rolling back a few functions:
https://github.com/airbnb/streamalert/blob/41da6b5514b4949c04cab90aa85631fa833634d0/streamalert_cli/manage_lambda/rollback.py#L86-L151
Desired Change
Add rollback support for scheduled queries and rule promotion functions

fixed in #1222


Fetching unauthorized resource causes TypeMismatchError on Edge

Since it's a bug on some version of Microsoft Edge, we cannot ignore it. Should we fix it in this polyfill?

I think the support level it not enough. It means who using this polyfill should fix all those issues in their projects.
Or, it there any solutions for issues like that?

What do you propose we do in the polyfill? We are not in the business of fixing broken browser implementations, unless it's a really easy workaround.

Thanks for letting us know about this bug in Edge's native fetch implementation. It's marked as fixed, so the next version update of Edge should work properly.
Because an error is returned, rather than a  Response, we can't workaround the problem because the response body and headers are unavailable.

Thank you for your replies. @mislav @dgraham


Move function name below template list

The template library dominates the attention of the user and it is hard to figure out where the function name is as well as why the create button is not enabled. It will make much more sense if the function name text box is between the template library and bindings

Matthew, can you please look at this? I think this is a good idea. We should also consider giving a default name for the function.

Should I hide name until template is not selected?

Done

I like it!

I'm also in favor of this change. It was the original proposal after all :) . I'll be working with Naren and Alexey on getting the names in the templates, aligning with #64


Artifactory down / not reachable

Hi,
I can not build the validator locally because Artifactory (http://devsoap.sitenv.org:8081/artifactory/libs-release and http://devsoap.sitenv.org:8081/artifactory/plugins-release-local) is down / not reachable. When will Artifactory be up again? Are the artifacts also published to maven central?
Best

Closing as no response / no issue on our end


Update Kotlin version

Library information:

Version: 2.3.0
View or Compose module: Compose

Describe the bug**
There seems to be a change in the compose foundation API where SnapLayoutInfoProvider doesn't exist. It happens when I tried updating to Kotlin 1.8.20|21 and AGP 8.0.1
To Reproduce (if applicable)
Steps to reproduce the behavior:

Create a calendar
Crash

Expected behavior (if applicable)
It shouldn't crash
Additional information
java.lang.NoSuchMethodError: No static method SnapLayoutInfoProvider(Landroidx/compose/foundation/lazy/LazyListState;Lkotlin/jvm/functions/Function3;)Landroidx/compose/foundation/gestures/snapping/SnapLayoutInfoProvider; in class Landroidx/compose/foundation/gestures/snapping/LazyListSnapLayoutInfoProviderKt; or its super classes (declaration of 'androidx.compose.foundation.gestures.snapping.LazyListSnapLayoutInfoProviderKt' appears in...
	at com.kizitonwose.calendar.compose.CalendarDefaults.pagedFlingBehavior(CalendarDefaults.kt:26)
	at com.kizitonwose.calendar.compose.CalendarDefaults.flingBehavior(CalendarDefaults.kt:37)
	at com.kizitonwose.calendar.compose.CalendarKt.Calendar(Calendar.kt:173)
	at com.kizitonwose.calendar.compose.CalendarKt.HorizontalCalendar(Calendar.kt:74)

Are you using a compatible compose version?

Please upgrade the calendar library to version 2.4.0-beta01, this has support for compose 1.5.0


⚠ Bofrost.de has degraded performance

In 88cd89d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1171 ms

Resolved: Bofrost.de performance has improved in 26715cd.


How to get Image from MS SQL Server Database. Column DataType: Image

Laravel Version: 5.5.2
PHP Version: 7.2
Database Driver & Version: sqlsrv

Description:
How to get Image from MS SQL Server Database. Column DataType: Image ?

This repo is for bug tracking. Use the forums or slack channel for solving your issue

Please ask on the forums, this repo is for bug reporting only. You can use https://laracasts.com/discuss or https://laravel.io/forum which are forums with a very large community of developers helping each other.


Allow switching between down stream clusters with a dropdown menu

Internal Reference: SURE-3657
Proposal is to make a change so that when changing cluster via the side bar, if the user holds down the Shift key, we will keep the current view - i.e. if you are looking at secrets, we will take you to the secrets view of the new cluster.
Should be able to write automated tests if we have a fake 2nd cluster.

Some questions regarding this issue:
@nwmac @scures how can we check for We try to navigate to the cluster's route (replacing cluster_id). If this fails because the cluster does not have the same route (different type of cluster) we default to c/CLS_ID/explorer and we display a Toast explaining the reasons? 🤔
There's this whole mechanism around fail-whale, which is handled by vue router, which would need to be circumvented to handle this in case of a "click" in the main nav menu (which is a "normal" vue link). Can this even be achieved? Is it a must have for this issue?

e2e test coverage LGTM @izaac


SPI Slave send and receive example only works after I ground both boards together (IDFGH-9805)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
VScode ESP-IDF extension V5.0.1
receiver and sender board: ESP32-S3-WROOM2
Hello,
I have a question about the SPI slave send and receive example. When the boards are not grounded together, the receiver and the sender ESP32 boards print out garbage. It was only after I grounded them together that both boards started to receive and print out real messages. What is the reason for this?
Should this be posted in the SPI Slave example README so that other people know about both boards need to be grounded?
Thank you,
Daniel

@danielyang2000 Hello, this is understandable IMO
As SPI protocol without ack signal, they don't know if others is ready, no matter master and slave, if not grounded together, it is theoretically right they receive garbage as receive pin is floating

@danielyang2000 Thanks for reporting, would you please help share if any updates for the issue? Thanks.

@danielyang2000 In examples/peripherals/spi_slave folder, there is a sender and a receiver sub folder:

sender: Actually run as SPI master, send data to slave
receiver: Actually run as SPI slave, receive data from master

They are just a whole communication example using SPI drivers. other examples like peripherals/spi_master, peripherals/spi_slave_hd/append_mode, peripherals/spi_slave_hd/seg_mod are all similarly a whole communication, they are used together / respectively.
For slave example/receive, as it work as a slave, they are input and waiting for select from master, if you disconnect it each other, the noise on floating pin may delusion slave as selected, NOISE, NOISE !!


Support array or loop input to variadic parameters

Issue description
I recently tried to run the following code when designing a titlepage:
// Real authors array redacted
#let authors = range(1, 10).map(i => "author" + str(i))

#set document(author: authors)

// Does not compile
// #grid(columns: 3, gutter: .25cm, authors)
// columns: 3 is not honored
#grid(columns: 3, gutter: .25cm, for author in #authors {#author})

Expected outcome
I would assume the columns parameter to be honored and the code to render a 3x3 grid the authors. I've found the following note in the scripting reference which I guess explains why it does not work:

Just like blocks, loops join the results from each iteration into one value.

Workaround
This works, but it's unfortunate to have to list all items.
#grid(columns: 3, gutter: .25cm, authors.at(0), authors.at(1), authors.at(2), authors.at(3), authors.at(4), authors.at(5), authors.at(6), authors.at(7), authors.at(8))

You can write grid(..authors)


RE-1464 Install pre-requisite packages for MNAIO tests

Previously Jenkins made sure that python and python-yaml
were installed on the host, but with the switch to using
nodepool all pre-requisites must be handled by the test
itself.
(cherry picked from commit f34b25439de2eed79441c4403bf5a4c4f255ac0a)
Issue: RE-1464

Given that this does not touch the AIO build, force merging this to ensure that no more periodic MNAIO tests fail due to missing packages.


ssh with forward agent

Hello,
I want to connect to a local VM hosted on my windows only using ForwardAgent .
Important points

I can use Pageant and ForwardAgent to connect to vim VM with Putty.
I can ssh to this vm with my private key using the same private key (w/ openssl format) and password authent.
I cannot ssh using ForwardAgent=yes and ssh-agent.exe

Config part
Windows %HOME%: .ssh\config
Host dtvm
    HostName <IP_ADDRESS>
    #ForwardAgent yes
    #PasswordAuthentication no
    User boop

On the VM (debian 10) :
# grep -Ev '^\s*(#|$)' /etc/ssh/sshd_config
ChallengeResponseAuthentication no
UsePAM yes
AllowAgentForwarding yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem       sftp    /usr/lib/openssh/sftp-server

("AllowAgentForwarding" is now activated but before, I could connect w/ putty and ForwardAgent without this)
Commands part on CMD
On windows
C:\Users\boop>ssh-add.exe -l
2048 SHA256:*hidden manually* C:\Users\boop\Documents\private\keys\pkey.priv (RSA)

C:\Users\boop>ssh-add.exe -D
All identities removed.

C:\Users\boop>ssh-add.exe -l
The agent has no identities.

C:\Users\boop>ssh-add.exe C:\Users\boop\Documents\private\keys\pkey.priv
Enter passphrase for C:\Users\boop\Documents\private\keys\pkey.priv:
Identity added: C:\Users\boop\Documents\private\keys\pkey.priv (C:\Users\boop\Documents\private\keys\pkey.priv)

C:\Users\boop>ssh-add.exe -l
2048 SHA256:*hidden manually* C:\Users\boop\Documents\private\keys\pkey.priv (RSA)

C:\Users\boop>ssh-agent.exe

C:\Users\boop>ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

So here 👆 I removed my key from ssh-agent and inserted it again.
Connecting to the VM w/ password
ssh connection using password is OK
C:\Users\boop>ssh dtvm
warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
<EMAIL_ADDRESS>password:
Linux dtvm 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64
No mail.
Last login: Fri Dec 13 14:21:01 2019 from <IP_ADDRESS>

boop - ~> cat /etc/debian_version
10.1
boop - ~> logout
Connection to <IP_ADDRESS> closed.

Connecting w/ forwardAgent
C:\Users\boop>
C:\Users\boop>ssh -oForwardAgent=yes dtvm
warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
<EMAIL_ADDRESS>password:

C:\Users\boop>ssh -oForwardAgent=yes -oPasswordAuthentication=no dtvm
warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
<EMAIL_ADDRESS>Permission denied (publickey,password).

I don't know if the warning message is related but I cant get it to work
am I missing something ?
Including debug output in file: debuglevel3_ssh_forward.txt
Regards

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


update publishing steps

Notes taken from when I ran the publishing steps last release cycle.

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Need to update the data structure for the waiting field

Update
this.waiting = [];

to the ->
this.waiting = new LinkedList();

https://github.com/timursevimli/kuyruk/commit/7082e6c56bc3a295915a88d31767110bbc8cb898


Simple multisig derive macro

Writes a decent amount of the boilerplate per discussion with @nearken . Does not expose a public interface (difficult with generics + NEP requirement). Usage: see updated workspaces test.

NOTE: Depends on #39 , hence the large number of commits.

@encody  I think it's best to review PRs as isolated diffs, so we can either wait til develop gets merged in, or we could change the base of this PR to be https://github.com/NEARFoundation/near-contract-tools/pull/39

@ryancwalsh In what specific ways is the current documentation lacking? There already are multiple README files with detailed step-by-step instructions, reasonings, and code examples; there is a linter rule that requires every public component be documented. I think, given our numerous conversations on the subject over the past months, that you and I are very well-aligned on this topic, so I'm confused what's still missing.
I find code (with inline / documentation comments) to be the best documentation (even better that it never goes out-of-date); when I'm learning about a new technology or package I read through the examples or tests thoroughly. Recent examples: darling, core-contracts. Almost all of the components have unit tests that atomically demonstrate functionality... what else is still needed?


huggingface models clone failed

I tried several times, but still getting the following error
(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-macbert-base
Git LFS initialized.
Cloning into 'chinese-macbert-base'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-macbert-base/': The requested URL returned error: 403

I can clone other models without problems. Is there any special authentication requirements on MacBERT?

I didn't find any issues on cloning MacBERT-base.
If it does not work for you, please try to download these models manually on the webpage.
> git clone https://huggingface.co/hfl/chinese-macbert-base
Cloning into 'chinese-macbert-base'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 45 (delta 17), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (45/45), done.
Downloading flax_model.msgpack (409 MB)
Downloading pytorch_model.bin (412 MB)
Downloading tf_model.h5 (478 MB)

OK, thanks!
It seems I cannot clone any of the models under the namespace hfl.
(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-roberta-wwm-ext-large
Git LFS initialized.
Cloning into 'chinese-roberta-wwm-ext-large'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-roberta-wwm-ext-large/': The requested URL returned error: 403
(base) vimos@vimos-Z270MX-Gaming5 pretrained_models  % git lfs install
git clone https://huggingface.co/hfl/chinese-roberta-wwm-ext
Git LFS initialized.
Cloning into 'chinese-roberta-wwm-ext'...
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/hfl/chinese-roberta-wwm-ext/': The requested URL returned error: 403

We cannot put any restrictions on accessing our models.
Sometimes huggingface may restrict unusual frequent access to the model hub.
If this is the case, please try to forward your issue to huggingface team for further information.


Update build guide for Qt6.3.2

In particular, I removed bullet 9, which mentions editing CMakeLists.txt. I feel this was confusing since QT_MAJOR was already set to 6.

Let me know when this is ready since I got a lot of notifs from the last one and I can't tell if it's will WIP.

Sorry about that. I'm new to using git and I realized that my last pull request was working off the main branch instead of a separate branch.
I'm basically done. The only other change I would suggest is adding another screenshot for step 7, but the directory for BuildSetup is excluded from git.

You should be able to override it. Probably depends on what git client you're using.

git add --force path/to/your/file.txt
For the command if you are using command line

Thanks. I didn't know overriding was possible.
I'm now done with my changes.


Handle request cancellation properly

When a request is being cancelled by the caller via the context, even though the underlying HTTP client should not perform any more request and directly return, the backoff mechanism still kicks in and leaves the caller waiting for multiple backoff periods for nothing.
I had a look at #17 and #28 and thought that maybe this solution, that does not change the signatures and fully uses the context that callers set on the HTTP request might work.

Coverage decreased (-8.8%) to 91.247% when pulling f123478c319468f1f8d19c1a2096d5f76cb8e53d on vthiery:improve-req-cancellation into 2f1fd2700e9d549092e9c249e08be101a6a887c6 on gojek:master.


The image doesn't appear in the freeplay

Describe your bug here.

I don't know why that's in black and doesn't appear like you showed in your YouTube video. I'm not sure if it's an error or if I need to do something for it to work.
Crash Log or logcat logs (if existing)
No response
Are you modding a build from source or with Lua?
I am not modding
Have you open preload state?
Yes
What is your build target?
Android
Did you edit anything in this build? If so, mention or summarize your changes.
Don't modify anything

You need to go to the settings to switch the freeplay back to PE, go to freeplay, go back to the settings, and switch back to NF freeplay


li not converted properly for large immediates.

https://github.com/kcelebi/riscv-assembler/blob/a2cfe01c93a4f35afd3e46a8abcb1cd5e8d98865/riscv_assembler/convert.py#L444
When given an immediate over 12 bits, li should be converted into a combination of lui to load the upper bits and addi to load the lower bits.
e.g. li x0, 0x1111111 converts into these two instructions:

(screenshot source: https://venus.cs61c.org)

Great catch, slipped my mind to consider an immediate over 12 bits. Currently adding some new features so I'll include this fix, thank you!
I'll keep the issue open until I resolve it

Seem to have fixed the issue and it's passing tests, I'll merge it into the main branch once I'm done adding some other features. Closing issue.


[SPARK-21646][SQL] BinaryComparison shouldn't auto cast string to int/long

What changes were proposed in this pull request?
How to reproduce:
hive:
$ hive -S
hive> create table spark_21646(c1 string, c2 string);
hive> insert into spark_21646 values('92233720368547758071', 'a');
hive> insert into spark_21646 values('21474836471', 'b');
hive> insert into spark_21646 values('10', 'c');
hive> select * from spark_21646 where c1 > 0;
92233720368547758071	a
10	c
21474836471	b
hive>

spark-sql:
$ spark-sql -S
spark-sql> select * from spark_21646 where c1 > 0;
10      c
spark-sql> select * from spark_21646 where c1 > 0L;
21474836471	b
10	c
spark-sql> explain select * from spark_21646 where c1 > 0;
== Physical Plan ==
*Project [c1#14, c2#15]
+- *Filter (isnotnull(c1#14) && (cast(c1#14 as int) > 0))
   +- *FileScan parquet spark_21646[c1#14,c2#15] Batched: true, Format: Parquet, Location: InMemoryFileIndex[viewfs://cluster4/user/hive/warehouse/spark_21646], PartitionFilters: [], PushedFilters: [IsNotNull(c1)], ReadSchema: struct<c1:string,c2:string>
spark-sql>

As you can see, spark auto cast c1 to int type, if this value out of integer range, the result is different from Hive. This PR makes Literal's type keeps pace with AttributeReference's type.
How was this patch tested?
unit tests

Test build #80286 has started for PR 18853 at commit f59a213.

Test build #80286 has finished for PR 18853 at commit f59a213.

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

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

Merged build finished. Test FAILed.

How about casting the int values into string ones in that case you described in the description, and then comparing them by a lexicographical order?

Casting the int values into string can works, but filter a int column with string type feels terrible.
My opinion is cast filter value to column type.

retest this please

Test build #80339 has started for PR 18853 at commit f59a213.

Test build #80339 has finished for PR 18853 at commit f59a213.

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

Merged build finished. Test FAILed.

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

Thanks @maropu,  There are some problems:
spark-sql> select "20" > "100";
true
spark-sql>

So tmap.tkey < 100's result is not we expected. Do you have any idea?

If we change this behaviour, I think we better modify code in findCommonTypeForBinaryComparison of TypeCoercion instead of your pr: https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala#L130
  val findCommonTypeForBinaryComparison: (DataType, DataType) => Option[DataType] = {
    ...
    case (l: StringType, r: AtomicType) if r != StringType => Some(r)
    case (l: AtomicType, r: StringType) if (l != StringType) => Some(l)
    ...
  }

As another option, we could cast NumericType to wider DecimalType? Since this change could have some runtime overhead and behaviour change, I'm not sure this is acceptable. cc @gatorsmile @cloud-fan

Currently, the type casting has a few issues when types are different. So far, we do not have any good option to resolve all the issues. Thus, we are hesitant to introduce any behavior change unless this is well defined. Could you do a research to see how the others behave? Any rule?

Test build #81605 has started for PR 18853 at commit cedb239.

Test build #81606 has started for PR 18853 at commit 8d37c72.

Test build #81606 has finished for PR 18853 at commit 8d37c72.

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

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

Merged build finished. Test FAILed.

Test build #81605 has finished for PR 18853 at commit cedb239.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

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

Test build #81613 has started for PR 18853 at commit 522c4cd.

Test build #81613 has finished for PR 18853 at commit 522c4cd.

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

Merged build finished. Test FAILed.

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

Test build #81638 has started for PR 18853 at commit 3bec6a2.

Test build #81638 has finished for PR 18853 at commit 3bec6a2.

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

Merged build finished. Test PASSed.

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

CC @gatorsmile, @cloud-fan

I provide 2 SQL scripts to validate the different result between Spark and Hive:

Engine
SPARK_21646_1.txt
SPARK_21646_2.txt

Hive-2.2.0
0.10.61001111111111111111111111111111111111111111111111111
2017-09-14

Spark
100
-

Thank you for your investigation! I think we need to introduce a type inference conf for it. To avoid impacting the existing Spark users, we should keep the existing behaviors.

Test build #81871 has started for PR 18853 at commit 844aec7.

Test build #81871 has finished for PR 18853 at commit 844aec7.

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

Merged build finished. Test FAILed.

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

retest this please.

Test build #81876 has started for PR 18853 at commit 844aec7.

Test build #81876 has finished for PR 18853 at commit 844aec7.

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

Merged build finished. Test PASSed.

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

Test build #81934 has started for PR 18853 at commit 7812018.

Test build #81934 has finished for PR 18853 at commit 7812018.

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

Merged build finished. Test FAILed.

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

Test build #81999 has started for PR 18853 at commit 27d5b13.

Test build #81999 has finished for PR 18853 at commit 27d5b13.

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

Merged build finished. Test PASSed.

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

Thanks for working on it!
I checked the related codes in HIve. Does the current fix resolve all the differences between Hive-speicific type casting/coercion? Please list all the difference between Hive and current Spark SQL semantics.
We might need a new batch to replace the existing typeCoercionRules for Hive compatibility.

Test build #82535 has started for PR 18853 at commit 53d673f.

Test build #82535 has finished for PR 18853 at commit 53d673f.

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

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

Merged build finished. Test FAILed.

Test build #82537 has started for PR 18853 at commit 8da0cf0.

Test build #82537 has finished for PR 18853 at commit 8da0cf0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TypeCoercionSuite extends QueryTest

Merged build finished. Test FAILed.

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

Test build #82554 has started for PR 18853 at commit 2ada11a.

Test build #82554 has finished for PR 18853 at commit 2ada11a.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TypeCoercionModeSuite extends SparkFunSuite with BeforeAndAfterAll

Merged build finished. Test PASSed.

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

Thanks for your work!
Could you please write a design doc to summarize the newly introduced Hive-specific typeCoercion? Also document what is the difference between Hive and Spark. Thanks!

Test build #82676 has started for PR 18853 at commit d34f294.

Test build #82676 has finished for PR 18853 at commit d34f294.

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

Merged build finished. Test PASSed.

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

cc @gatorsmile

Test build #83687 has started for PR 18853 at commit b99fb60.

Test build #83687 has finished for PR 18853 at commit b99fb60.

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

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

Merged build finished. Test PASSed.

Will review it soon. Thanks for your work!

Test build #83826 has started for PR 18853 at commit 22d0355.

Test build #83826 has finished for PR 18853 at commit 22d0355.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ParquetToSparkSchemaConverter(
class SparkToParquetSchemaConverter(

Merged build finished. Test FAILed.

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

retest this please.

Test build #83847 has started for PR 18853 at commit 22d0355.

Test build #83847 has finished for PR 18853 at commit 22d0355.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ParquetToSparkSchemaConverter(
class SparkToParquetSchemaConverter(

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

Merged build finished. Test PASSed.

@wangyum Could you update the PR based on https://github.com/apache/spark/pull/19874?

Test build #84516 has started for PR 18853 at commit 663eb35.

Test build #84519 has started for PR 18853 at commit 7802483.

Test build #84516 has finished for PR 18853 at commit 663eb35.

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

Merged build finished. Test PASSed.

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

Test build #84519 has finished for PR 18853 at commit 7802483.

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

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

Merged build finished. Test PASSed.

TypeCoercionModeSuite is an end-to-end test suite. We really need a test case in SQLQueryTestSuite. That means, create a .sql file that contains all the type mapping and implicit casting queries that can be ran in both Hive and Spark. We can easily verify whether we correctly cover all the type coercion compatibility issues.
Could you please do it? This must take a lot of efforts, but it really helps us to find all the holes. Appreciate it!

Let me open an umbrella JIRA for tracking it. We can do it for both native and Hive compatibility mode.

The JIRA was just opened. I will create an example and open many sub-tasks. Feel free to take them if you have bandwidth.

Test build #88778 has started for PR 18853 at commit 81067b9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1881/
Test PASSed.

Test build #88778 has finished for PR 18853 at commit 81067b9.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #88780 has started for PR 18853 at commit 81067b9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1882/
Test PASSed.

Test build #88780 has finished for PR 18853 at commit 81067b9.

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

Merged build finished. Test PASSed.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3886/
Test PASSed.

Test build #91633 has finished for PR 18853 at commit d0a2089.

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

Merged build finished. Test PASSed.

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

Test build #95733 has started for PR 18853 at commit d0a2089.

Test build #95733 has finished for PR 18853 at commit d0a2089.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

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

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10499/
Test PASSed.


fun times. note that some of this is work in progress (e.g. the avaudionode extension + AKKernelUnit) but i need to keep track of it somewhere

Looks like good stuff - the start to some very good updates.


发生Maximum call stack size exceeded

错误发生在mergeOptions
options = this.$options = mergeOptions(this.constructor.options, options, this);

方便提供一个可重现的例子吗？

Closing due to inactivity. Please open a new issue with a reference to this one if you can follow up with more information.


Parameter passing

Can someone please tell me what can be used in ______Grid.ts instead of this.setEquality('someRowField',value) ? I need to pass a value ( say Project Id or Employee Id from the Project Edit Dialog or Employee Edit Dialog to dialog that opens when clicked on one of the tabs present in those Dialogs. I am planning on using this value in my own query I'm trying to write in MyListHandler.

typescript
Object transfer

Can you be a bit more specific???

hi there. forgive me upfront i've misunderstood your question.
what I think you are asking is, how can I filter the values to be displayed in a Grid that is embedded in a dialog tab, using the values from another tab on the same dialog.
criteria are a more powerful option for filtering your data than simple setequality. you may find you don't even need to write your own query for MyListHandler as it can all be done using criteria in TS.
checkout the gridfilteredbycriteria example on the serenity demo and this should get you started in the right direction.
https://github.com/volkanceylan/Serene/blob/master/Serene/Serene.Web/Modules/BasicSamples/Grids/GridFilteredByCriteria/GridFilteredByCriteria.ts
if your projectId or employeeId are going to change once the dialog is open and you need the grid data to change for new values, then you may need to create a public method on the grid to accept the values and refresh the view.
HTH

Ts is generated according to cs, ts write query cs can generate sql?

instead of this.setEquality you can use request.Criteria
protected onViewSubmit(): boolean {
            if (!super.onViewSubmit()) {
                return false;
            }

            let request = this.view.params as Serenity.ListRequest;

            this.setEquality(fld.TypePayId, 1)

            if (!Authorization.hasPermission("ReadAllItems")) {
                request.Criteria = Serenity.Criteria.and(request.Criteria, Serenity.Criteria.or([[fld.UserId], '=', Authorization.userDefinition.UserId], [[fld.InsertUserId], '=', Authorization.userDefinition.UserId]));
            }

            return true;
        }

@Zahar661, thanks so much for replying on this.
It would really help me a lot if I could understand a little bit more about request.Criteria. Is there an example that I could refer to? I am very new to serenity platform and I am trying to get a hang of it.

I myself searched for examples for a long time, did not find it. Here the principle of SQL queries, Serenity.Criteria.and and Serenity.Criteria.or. But we must not forget about the fact that the above was filtration, etc. and write
request.Criteria = Serenity.Criteria.and(request.Criteria, your conditions );

Thanks @Zahar661. I have one question.
In ______Grid.ts file, we use this.setEquality('somefiled', value) to check whether the calue is equal to the value of 'someField'. Based on this equality condition the requires result is fetched and displayed in the dialog that opens when we click on a tab in the parent dialog.
The thing is I don't want to use the equality condition. that is, I don't want to compare 'value' which is entityId of the EditDialog that is open with 'someField' value of the other table.
I need to use this entityId for joining two or more tables. Do you know how can that be done? Or do you know any other examples I can refer to?
Someone suggested that I use : (this.view.params as ProjectListRequest).EmployeeId = value; instead of setEquality(). Any idea about how that works?

My English is bad. Do you want to merge at the grid level? If so, then LeftJoin in ....Row.cs to help you, or MasterDetal if in the dialog.

Yes, @Zahar661 . Here is a gist of what I need.

There is a table called Employees for which I ran Sergen. This created the basic screen where I can perform basic CRUD operations.
When I click on one of the rows, EmployeeDialog opens. I have added two tabs in this dialog. One of them is called as 'Projects'
What I need is to show all the projects this particular employee has ever worked on. to fetch all the project details, I need to join at least 3 tables. Two tables are joined based on EmployeeId (the Entity Id) of the row that I clicked on to fetch the project Ids of all the projects he has ever worked on. And the next step if to get the other details of each of this projectIds (like Project name, client, etc).
I have created EmployeeProjectGrid.ts where I have declared a private variable that holds this EntityId value so that I can pass it to ListReposne and in turn to MyListHandler. This is where I have made use of this.SetEquality.
All I want is a way to pass this EntityId to ListHandler Service and use it in my own query.
I was just following one of the examples. So, I don't know whether I need setEquality() or is there another way in which I can achieve this.
since I am fairly new to this and I have a deadline to meet, I am not able to go through all the examples Volkan or others have put up. Do you have an idea how this can be achieved? If so, would you please help me out?

@Zahar661, I have referred the same example. In that, customer and order tables have keys called as Customer ID based on which they are joined. So, they have made use of setEquality() and that works fine for that example. Anyway, thanks so much for replying. Please let me know if there are any other ways.

protected onViewSubmit(): boolean {
            if (!super.onViewSubmit()) {
                return false;
            }
            let request = this.view.params as Serenity.ListRequest;
                request.Criteria = Serenity.Criteria.and(request.Criteria, [[fld.FieldName], '=', FieldValue]));
            return true;
        }

Thanks, @Zahar661 . Will try it out. :)

Closing due to inactivity.


Push multiple repos to Azure failed

Just open for tracking.  While investigating other issue, I ran into this.  Not sure how realistic scenario this is - but it could reveal some interesting different Azure behavior since it works well on public kudu but failed on azure.
1. clone https://github.com/kudustress/NuGetGalleryOptmized.git
2. push to Azure
3. clone https://github.com/KuduApps/HelloKudu
4. push to Azure  (override with +master)
5. try to push NuGetGalleryOptmized to Azure again.

This will failed with remote: error: unable to write sha1 filename ./objects/pack/pack-9fa53a750a3756b58f7b3366658420b0478a91f8.pack
I investigated and this file is a read only file created during first push.  On public Kudu (looking at procmon), step 5 got the Name Collision error code but it then changes attribute to writable and proceed to overwrite the file.    However, for Azure, it got Violation Error and failed right away.

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Intellisense menu only shows one option at a time

VSCode Version: 1.51.1
OS Version: Windows_NX x64 10.0.19041

Steps to Reproduce:

Trigger Intellisense

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

Did you by any chance resize the widget while it was showing a single suggestion? Can you try "F1 > Reset Suggest Widget Size" and check if the widget size is back to normal?

Did you by any chance resize the widget while it was showing a single suggestion? Can you try "F1 > Reset Suggest Widget Size" and check if the widget size is back to normal?

Yes, it was a resizing problem, after all, however, this seemed to have been the case ever since the last update this past couple of days. I do not recall resizing it manually at all.

I've been having the same issue over the past week.
The Reset Suggest Widget Size fix has worked for me.
From the about menu:
Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:14:40.758Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0

So, Reset Suggest Widget Size does fix the issue, but just like @EOussama I didn't resize the widget manually - this just happened after a recent release.

Ok, I found this way to reproduce this

run the Reset Suggest Widget Size command or start with fresh user data dir
trigger suggest so that it shows a single suggestion
resize the width (or, alternatively, single click the bottom sash)
:bug: bad size is being stored

I am pushing a change for the aforementioned scenario. This will be in next insiders. Please try it out and let me know if you have another scenario in which an unwanted height is stored.


Skip generating REST methods if the RPC does not have HTTP annotation.

We should not generate REST methods if the RPC does not have HTTP annotation. See this proto and the proto that has it.
In this case, we are already not generating REST methods because it's BIDI streaming, but we need to use the HTTP annotation as the filter instead of using RPC type.
In addition, we should not generating the client at all if there are no RPCs with HTTP annotation. See go/actools-diregapic-parallelization-sync for details.
There could be multiple reasons an RPC does not have HTTP annotation:

The RPC is not supposed to be supported by REST. e.g. BIDI streaming methods
The RPC is not yet supported by the backend service, but could be supported in the future
The proto is not properly configured.

Closing this issue as we've merged in both Part 1 and Part 2 of this issue.


Make CharacterWindow bigger to accomodate traitor objectives

About the PR
Name's pretty descriptive!
I tried to do it dinamically so only windows with objectives would get resized, but sadly, that is way beyond my current expertise, so set sizes it is!
Aimed at fixing: #5056
A huge kudos to @ShadowCommander 's patience in guiding me through the steps.
A cookie to the man!
Screenshots

Changelog
:cl:

fix: Increased CharacterWindow size to accomodate objectives!

I'll just make a new one.
Sorry for the inconvenience this may cause!


Extract common Proto JS configuration

This PR extracts a common configuration of the JS-based Spine projects to a separate script.
Currently, the Protobuf configuration across users, web and money is almost the same.
This PR extracts the common traits to a new script configure-proto.gradle.

@armiol PTAL.


Have some way to interrupt a chain of Futures?

funcA().then((bool value){
    if(value){
      return x;
    }else{
      break;       //break at this
    }})
  .then((value)=>funcC())

I want to make a judgment, based on the results of the funcA() whether to interrupt the chain.So how to implement the interrupt.

You can't really interrupt the chain of futures. You could however throw an exception if you don't want to complete the future successfully. /cc @lrhn

As @mraleph says, you can't interrupt anything here.
Or, rather, that depends on what you mean by "interrupt", but most likely it's not going to do what you want.
The second .then is waiting for the future result of the first then to complete. The future already exists, and and when the callback of the first then completes, that future is completed, and then the second then's callback is called.
If the first then's future completes with a value, then the second then's callback will be called. There is no way to avoid that.
If the first then's future completes with an error, then the second then's callback is not called, and its future completes with the same error. You then have to catch that error. You can do something like:
funcA().then((bool value) {
  if (value) {
    return x;
  } else {
    throw _BailOut();
  }
}).then((value) => funcC())
.catchError((error) => error is _BailOut ? null : (throw error));

...
// Exception class used to represent bailing out of a computation.
class _BailOut {}

If the first then's future never completes, then the second then's callback is not called and its future also never completes.
If that's acceptable to you, you can create and return a future which never competes as:
funcA().then((bool value) {
  if (value) {
    return x;
  } else {
    return Completer().future; // Never completed.
  }
}).then((value) => funcC())

I highly discourage introducing futures which never complete into your program. The results might be that some code that your users expect to run will never run. For example, if you return the result of the code above to someone else, and they do;
var future = ... your future ...;
var resource = allocateResource();
try {
  await future;
} finally {
  resource.dispose();
}

then the finally will never be executed. That has happened before, and it has consistently baffled users that it happens to.
You can end up with your program terminating and never getting into the finally block.


Basic audit command

huak audit
Run huak audit to scan for packages in your project's virtual environment with known vulnerabilities.

What should be used for the auditing? I guess there should be a offline DB if the tool should run offline, and if it can connect to the internet, it could update the internal DB.

Could either work on something ourselves or rely on another project for security vuln db searches. I've got some non-huak work for a bit then I can get back to this to provide more info.
Definitely open to ideas as well!

If you're looking for something less vague to just get your feet wet https://github.com/users/cnpryer/projects/5 is a good one. I'm thinking we can lean on an existing project and then evaluate Rust rewrites if there are any. Would be cool to have huak doc generate documentation from the project's docstrings.


horizontal scrollbar on tablet

On a tablet, there's a horizontal scrollbar on the page due the navigation.

Solve with commit: https://github.com/Charlie85270/tail-kit/commit/292502f5267823613d7acc953727ceedeba0f734

Solve with commit: https://github.com/Charlie85270/tail-kit/commit/292502f5267823613d7acc953727ceedeba0f734


LAD: Add left provider table

Should use reactable so can link with crosstalk and then also add a custom search above - https://glin.github.io/reactable/articles/examples.html#custom-search-input


⚠ Nextcloud has degraded performance

In b14c6ce, Nextcloud ($URL_NEXTCLOUD) experienced degraded performance:

HTTP code: 200
Response time: 5403 ms

Resolved: Nextcloud performance has improved in f87d517.


can anyone explain in simple terms, Fundamentally how llama_index works?

Hey @charanhu we have pretty comprehensive documentation at https://gpt-index.readthedocs.io/en/latest/getting_started/starter_example.html
Anything you'd like use to clarify?

Not sure entirely what you mean here, we don't have a CSV agent. We do have a pandas query engine, which reads df.head() and a user query, and generates/executes a python data frame function, and then returns a result.
Feel free to reach out on discord if you have other questions!


Make aliasSub compatible with \1 type backreferences.

I know this isn't 100% perfect (it doesn't account for the fact that the backslash might be backslashed) but it should work in practical situations, and eliminates the biggest cause of having to rewrite queries.
It rewrites \1 to ${1} and \10 to ${10} in the replacement template before passing it to ReplaceAllString.

thanks!


Latest version breaks application tests

Trying to update the addon to version 0.4.4 and application tests are flooded by messages like this one:
Could not find module `@ember/test` imported from `ember-power-select/test-support/helpers`

Looks like some other dependency has to be updated as well, but I'm not sure which one exactly. Could you please help to figure out?
Version 0.4.3 works fine.

@artursmirnov Try 0.4.5

@cibernox thanks for the quick response! 0.4.5 runs for me locally, but still fails on CI with the same error. Probably something is wrong with environment. I'll investigate further and post here. Thanks for help!

@artursmirnov The reason must be some sort of cache. This version requires ember-cli-babel 6.6.0 or bigger.


Migrate composition API to emitter pattern

The current mechanism of calling transact({ transaction in ... }) suffers from the following drawbacks:

It is not immediately obvious what's going on.
Introduces a layer of scope whenever a transaction is required.
Xcode does not autocomplete these blocks.

This task tracks moving us over to an emitter API. An emitter API is an object that's stored on the performer. The performer can then create a transaction and call emitter.emit(transaction) to commit new plans to the scheduler.

🎊 My diff is ready for review at http://codereview.cc/D1476


am facing internal server error while testing bot at bot framework locally

Hello @waqasyousafy,
Could you please be more specific about the issue you're facing? Is there an error message you are seeing in the log? If so, could you please take a screenshot of the log, or click on the error's log entry and take a screenshot of the inspector panel?
Or open the developer tools using the Help menu before trying to talk to your bot, then try again, and take a screenshot of the error in the Network tab of the developer tools.
It's hard to diagnose the statement "I'm facing an internal server error while testing my bot."
Thanks

Closing due to lack of response.


[bandit] Make UCT algorithm customisable

In order to facilitate performing experiments, this makes the UCT-based
algorithm customizable in term of optimization formula (UCT and pUCT
currently supported), value transformation (execution time vs execution
speed vs log time), sample reduction (max vs mean) and scale.
The UCT and TAG policy are also rewritten to ensure we only read once
node data that can be modified by other threads.

bors r+

bors retry


fix agency dumping, turn it on by default

Scope & Purpose
dumping the agency on shutdown was not working after the instance manager rewrite. Fixed by this PR.

[x] :hankey: Bugfix

LGTM, although I'm not sure an agency dump would be of interest in all failure cases.

I'd rather like to have it, instead of missing it after the fact. It's not that expensive.

In case of no errors its probably wiped again afterwards ;-)


Various UI and accessibility issues in SketchPad

This isn't a complete list but some initial issues.

[ ] The "Run" button should visually indicate it can't be clicked when compiling (similar to live or empty console button)
[ ] The key bindings icon has a different color and hover style than the other icons (theme/menu)
[ ] The categorical text on menus, such as "Dart" and "Flutter" in the Samples menu has too low contrast with background
[ ] The divider between sections of the Samples and extra dropdown menus is barely visible in Dark mode.
[ ] The white dividers between entries in the package listing on light theme don't fit in
[ ] The dark theme codemirror view has a different background color than its padding (is this intentional?)
[ ] It's possible for Flutter and the embedded editor (web view) to be managing focus, duplicating my actions. One in UI and another in editor. Only one of these should be managing it.
[ ] If you scroll down in the issues view (with 7+ issues), the top app bar changes colors.
[ ] The max amount of issues shown should have a lower limit with a shorter page.
[ ] Contrast of warning diagnostic icon on light theme is bad
[ ] The link buttons in the expansion menu seem to have two focus targets, perhaps the icon is one too? The row should just be one focus target.

If anyone is interested in helping to fix these or other issues, you can find the source at https://github.com/dart-lang/dart-pad/tree/main/pkgs/sketch_pad.
You'll need to run the sample with the current Flutter beta or main channels, and it is more likely to work well on Chrome until some fixes land in Flutter.
For development, you'll likely want to use a command like:
flutter run -d chrome --web-browser-flag "--disable-web-security"

Let me know if you have any questions and thanks for your help!