[InMemoryLiveQueryStore] Invalidate fields with arguments

interface Node {
  id: ID!
}

type Note implements Node {
  id: ID! # graphql conform id
  documentId: ID! # human readable id
  title: String!
  content: String!
  access: NoteAccess
}

enum NoteAccess {
  public
  private
}

type Query {
  node(id: ID!): Node
  note(documentId: ID!): Note
}

query noteDetail($documentId: ID!) @live {
  note(documentId: $documentId) {
    id
    title
    content
  }
}

Variables
{
 "documentId": "my-first-note"
}

Query.note(documentId:"my-first-note")

liveQueryStore.invalidate(`Query.note(documentId:"my-first-note")`)

Let's say the access was updated from private to public. The Query.note field returns null if the viewer is not allowed to see it. But later the access is changed, so the note should be pushed to the client. There is currently no efficient way for invalidating only a field with a specific argument. The solution rn would be to invalidate Query.note which will cause any query (even those that are unaffected) to be scheduled for re-execution. With the argument narrowing more efficient invalidations would be possible.

Addionally after thinking about it a bit more, this could also be solved in a more generic way with an API like this:
const schema = new GraphQLSchema({
    query: new GraphQLObjectType({
      name: "Query",
      fields: {
        ping: {
          type: GraphQLString,
          args: {
            id: {
              type: GraphQLNonNull(GraphQLString),
            },
          },
          extensions: {
            liveQuery: {
              resourceIdentifierFromArgs: (args: { id: string }) => args.id,
            },
          },
        },
      },
    }),
  });

Addionally after thinking about it a bit more, this could also be solved in a more generic way with an API like this:
const schema = new GraphQLSchema({
    query: new GraphQLObjectType({
      name: "Query",
      fields: {
        ping: {
          type: GraphQLString,
          args: {
            id: {
              type: GraphQLNonNull(GraphQLString),
            },
          },
          extensions: {
            liveQuery: {
              resourceIdentifierFromArgs: (args: { id: string }) => args.id,
            },
          },
        },
      },
    }),
  });

Shipped in https://github.com/n1ru4l/graphql-live-query/commit/45c05790d25d25eada10b4ef249cdad78605e1df and https://github.com/n1ru4l/graphql-live-query/commit/50ffe13169bac254328160f7412d2a9318b1754b

Shipped in https://github.com/n1ru4l/graphql-live-query/commit/45c05790d25d25eada10b4ef249cdad78605e1df and https://github.com/n1ru4l/graphql-live-query/commit/50ffe13169bac254328160f7412d2a9318b1754b


[2.0] clean up output from bundle

--- current output of `bundle`
+++ desired output of `bundle`
@@ -1,21 +1,19 @@
 $ bundle
-2.0.0.dev
+Bundler version 2.0.0.dev

 Commands:
   bundle add GEM VERSION            # Add gem to Gemfile and run bundle install
   bundle binstubs GEM [OPTIONS]     # Install the binstubs of the listed gem
   bundle cache [OPTIONS]            # Locks and then caches all of the gems into vendor/cache
   bundle check [OPTIONS]            # Checks if the dependencies listed in Gemfile are satisfied by currently installed gems
-  bundle clean [OPTIONS]            # Cleans up unused gems in your bundler directory
   bundle config NAME [VALUE]        # Retrieve or set a configuration value
   bundle doctor [OPTIONS]           # Checks the bundle for common problems
   bundle env                        # Print information about the environment Bundler is running under
   bundle exec [OPTIONS]             # Run the command in context of the bundle
-  bundle gem GEM [OPTIONS]          # Creates a skeleton for creating a rubygem
+  bundle gem NAME [OPTIONS]         # Generates the skeleton of a new RubyGem project
   bundle help [COMMAND]             # Describe available commands or one specific command
   bundle info GEM [OPTIONS]         # Show information for the given gem
   bundle init [OPTIONS]             # Generates a Gemfile into the current working directory
-  bundle inject GEM VERSION         # Add the named gem, with version requirements, to the resolved Gemfile
   bundle install [OPTIONS]          # Install the current environment to the system
   bundle issue                      # Learn how to report an issue in Bundler
   bundle licenses                   # Prints the license of all gems in the bundle
@@ -24,14 +22,10 @@
   bundle open GEM                   # Opens the source directory of the given bundled gem
   bundle outdated GEM [OPTIONS]     # List installed gems with newer versions available
   bundle platform [OPTIONS]         # Displays platform compatibility information
-  bundle plugin SUBCOMMAND ...ARGS  # Manage the bundler plugins
-  bundle plugin help [COMMAND]      # Describe subcommands or one specific subcommand
-  bundle plugin install PLUGINS     # Install the plugin from the source
-  bundle pristine [GEMS...]         # Restores installed gems to pristine condition from files located in the gem cache. Gem installed from a git repository will be issued `git c...
-  bundle show GEM [OPTIONS]         # Shows all gems that are part of the bundle, or the path to a given gem
+  bundle plugin                     # Manage Bundler plugins
+  bundle pristine [GEMS...]         # Restores installed gems to pristine condition by installing them again
   bundle update [OPTIONS]           # Update the current environment
   bundle version                    # Prints the bundler's version information
-  bundle viz [OPTIONS]              # Generates a visual dependency graph

 Options:
       [--no-color]                 # Disable colorization in output

I'd hope info contains the path to the gem ... using bundle show quiet a bit ...

yes, info contains the path to the gem... I'm also thinking that maybe bundle list GEM could just print the path, while the info command prints more details.

Actually, now that I think about this... should we be showing the same help that you get when you run bundle help? or should it be a much shorter usage reminder? If we stick with the shorter usage reminder, it would be nice to print out the commands with the primary commands at the top and the utility commands in another group underneath, copying the organization structure from bundle help.

I like the shorter useage reminder, especially since it doesn't kick you out to a pager. I have an idea for how to make this look a bit better by overriding how Thor is generating the list

How does this look?
$ bundle
Bundler version 1.15.4 (2017-08-25 commit 3203fdd2a)

Bundler commands:

  Primary commands:
    bundle install [OPTIONS]    # Install the current environment to the system
    bundle update [OPTIONS]     # Update the current environment
    bundle package [OPTIONS]    # Locks and then caches all of the gems into vendor/cache
    bundle exec [OPTIONS]       # Run the command in context of the bundle
    bundle config NAME [VALUE]  # Retrieve or set a configuration value
    bundle help [COMMAND]       # Describe available commands or one specific command

  Utilities:
    bundle add GEM VERSION         # Add gem to Gemfile and run bundle install
    bundle binstubs GEM [OPTIONS]  # Install the binstubs of the listed gem
    bundle check [OPTIONS]         # Checks if the dependencies listed in Gemfile are satisfied by currently installed gems
    bundle console [GROUP]         # Opens an IRB session with the bundle pre-loaded
    bundle doctor [OPTIONS]        # Checks the bundle for common problems
    bundle env                     # Print information about the environment Bundler is running under
    bundle gem NAME [OPTIONS]      # Creates a skeleton for creating a rubygem
    bundle info GEM [OPTIONS]      # Show information for the given gem
    bundle init [OPTIONS]          # Generates a Gemfile into the current working directory
    bundle issue                   # Learn how to report an issue in Bundler
    bundle licenses                # Prints the license of all gems in the bundle
    bundle lock                    # Creates a lockfile without installing
    bundle open GEM                # Opens the source directory of the given bundled gem
    bundle outdated GEM [OPTIONS]  # List installed gems with newer versions available
    bundle platform [OPTIONS]      # Displays platform compatibility information
    bundle plugin                  # Manage the bundler plugins
    bundle pristine [GEMS...]      # Restores installed gems to pristine condition from files located in the gem cache. Gem installed from a git reposit...
    bundle show GEM [OPTIONS]      # Shows all gems that are part of the bundle, or the path to a given gem
    bundle version                 # Prints the bundler's version information

Options:
      [--no-color]                 # Disable colorization in output
  -r, [--retry=NUM]                # Specify the number of times you wish to attempt network commands
  -V, [--verbose], [--no-verbose]  # Enable verbose output mode

@segiddins that looks amazing 👍


storage: Rework static avatar files hashing logic.

Previously, the hashing logic for static avatar files hashed the default and medium files separately, which didn’t match how user-uploaded avatars work—where you just add the "-medium.png" suffix to get the medium version. Since we don’t have clear documentation for avatars yet, this caused some issues for the mobile apps.
This PR makes sure the default and its medium variation share the same hash. So, the medium variants can be accessed by just adding the "-medium" suffix to the system bots default avatar file.
Screenshots and screen captures:
User-uploaded avatar:
https://chat.zulip.org/user_avatars/2/f641fe6b0cdca129f1ad583f6388672bf8ab64d8-medium.png
https://chat.zulip.org/user_avatars/2/f641fe6b0cdca129f1ad583f6388672bf8ab64d8.png
vs
Static system bots avatar (after rework):
http://localhost:9991/static/images/static_avatars/emailgateway.2f97461a9420.png
http://localhost:9991/static/images/static_avatars/emailgateway.2f97461a9420-medium.png

hashed static avatar files
ls /srv/zulip/prod-static/serve/images/static_avatars/
emailgateway-medium.png               emailgateway.png                          notification-bot.36f721bad3d0.png  welcome-bot.0c86744b0caf-medium.png
emailgateway.7b3c8066a0b8-medium.png  notification-bot-medium.png               notification-bot.png               welcome-bot.0c86744b0caf.png
emailgateway.7b3c8066a0b8.png         notification-bot.36f721bad3d0-medium.png  welcome-bot-medium.png             welcome-bot.png

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Update, added an assertion that makes sure the medium variant has been hashed first.
git diff 53c8b296a47743446cd1fe6bc88616b33528263d ff421e3cc844
diff --git a/zerver/lib/storage.py b/zerver/lib/storage.py
index 5d5eae7b44..8ca7f66e1f 100644
--- a/zerver/lib/storage.py
+++ b/zerver/lib/storage.py
@@ -77,9 +77,8 @@ class IgnoreBundlesManifestStaticFilesStorage(ManifestStaticFilesStorage):

             self.hashed_static_avatar_file_map[default_file] = hashed_default_file
             return hashed_medium_file
-        if name in self.hashed_static_avatar_file_map:
-            return self.hashed_static_avatar_file_map[name]
-        return super().hashed_name(name, content, filename)
+        assert name in self.hashed_static_avatar_file_map
+        return self.hashed_static_avatar_file_map[name]

     @override
     def hashed_name(

Update, added an assertion that makes sure the medium variant has been hashed first.
git diff 53c8b296a47743446cd1fe6bc88616b33528263d ff421e3cc844
diff --git a/zerver/lib/storage.py b/zerver/lib/storage.py
index 5d5eae7b44..8ca7f66e1f 100644
--- a/zerver/lib/storage.py
+++ b/zerver/lib/storage.py
@@ -77,9 +77,8 @@ class IgnoreBundlesManifestStaticFilesStorage(ManifestStaticFilesStorage):

             self.hashed_static_avatar_file_map[default_file] = hashed_default_file
             return hashed_medium_file
-        if name in self.hashed_static_avatar_file_map:
-            return self.hashed_static_avatar_file_map[name]
-        return super().hashed_name(name, content, filename)
+        assert name in self.hashed_static_avatar_file_map
+        return self.hashed_static_avatar_file_map[name]

     @override
     def hashed_name(

Merged, thanks @PieterCK!


Tidied up hidden_layers

Hi, I have tidied up the function hidden_layers:

fixed the inconsistency with required parameters
removed the ugly, slow, and confusing-stacktrace-producing misuse of try/catch
small PEP8 fixes

The test coverage should stay the same, as the functionality didn't change.

Hello @JanPokorny! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file talos/model/layers.py:

Line 29:80: E501 line too long (82 > 79 characters)

Pull Request Test Coverage Report for Build 486

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 89.934%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

talos/model/layers.py
3
4
75.0%

Totals

Change from base Build 448:
-0.04%

Covered Lines:
1090

Relevant Lines:
1212

💛  - Coveralls

@coveralls is lying, I haven't touched that line, I just had to split it so PEP 8 passes

Thanks but I think there is an issue.
For the common case where there is no kernel_initializer in params dictionary, the proposed:
kernel_regularizer=params.get('kernel_regularizer')
returns nothing. Whereas, the original:
    try:
        kernel_initializer = params['kernel_initializer']
    except KeyError:
        kernel_initializer = 'glorot_uniform'

...returns glorot_uniform ... which is exactly what we want because it's the Keras default setting for the argument.
If there is a better way to do this (ideally have Talos automatically use Keras default setting if not set in the params dictionary), then that would be great.

@mikkokotila Hello, you have confused kernel_initializer and kernel_regularizer! Take a second look, my code does precisely what the old did. Note that .get(...) returns the value of its second argument when the value is not present in the dictionary (or None if you don't specify it).

Ah, got it, that's right I was confused indeed 👍
Ok I understand now, in that case this is great. Can you make the PR to daily-dev as that's the place for PR merges. It will make its way from there to dev and eventually master (and finally at some point to pypi i.e. production).

@mikkokotila I was following CONTRIBUTING.md, you should update it then!

@mikkokotila Also unsure why Travis is broken, it was broken even before I changed the destination branch. Looks like some problem with pickling. I think that this PR didn't cause it as it essentially doesn't change any behavior. Can you check that please?

Sorry for taking ages with this. The big push to move from 0.5 to 0.6.3 took a couple of months in total, and this came a couple of weeks into that. Thanks again :)


Where to get the gist_id from

In gists now i see a SHA, something much larger than the small number all the examples say.
Is that correct? Can I add the https://gist.github.com/jjasghar/4172ba5697660441a26e or what should I use as the id?
I'm confused :disappointed: :panda_face:

I just tested the gist using the id 4172ba5697660441a26e and it worked just fine. I suppose GitHub changed their gist id generator at some point. Gists made a while ago, got shorter ids.

Ah nice thanks! It's good to see you use dvorak too :) :beers: thanks for the great work!

Wow, i completely read that wrong, you just took my gist.
Heh, anyway, thanks!


Remove the magic number 'white'

Issue moved to HiroakiMikami/atom-user-support-helper #62 via ZenHub


Some of the operators in the model are not supported by the standard TensorFlow Lite runtime!!!

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (or github SHA if from source):

OS Platform and Distribution: WIn10
TensorFlow installed from  binary
TensorFlow version  TF2.0 '2.1.0-dev20191015'
Provide the text output from tflite_convert
and pasting the following:
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CONCATENATION, CONV_2D, FILL, LEAKY_RELU, MEAN, MUL, PACK, RESHAPE, REVERSE_V2, SHAPE, STRIDED_SLICE, TRANSPOSE. Here is a list of operators for which you will need custom implementations: TensorListFromTensor, TensorListReserve, TensorListStack, While.
Traceback (most recent call last):
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Users\zhenk\Anaconda3\envs\tensorflow2.0\Scripts\toco_from_protos.exe_main.py", line 9, in
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\site-packages\tensorflow_core\lite\toco\python\toco_from_protos.py", line 89, in main
app.run(main=execute, argv=[sys.argv[0]] + unparsed)
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "d:\users\zhenk\anaconda3\envs\tensorflow2.0\lib\site-packages\tensorflow_core\lite\toco\python\toco_from_protos.py", line 52, in execute
enable_mlir_converter)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
and pasting the following:
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CONCATENATION, CONV_2D, FILL, LEAKY_RELU, MEAN, MUL, PACK, RESHAPE, REVERSE_V2, SHAPE, STRIDED_SLICE, TRANSPOSE. Here is a list of operators for which you will need custom implementations: TensorListFromTensor, TensorListReserve, TensorListStack, While.
Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
Can you help me ? If I want to use this model in TensorFlow Lite , what shall I do?
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

As the error message suggested you will need custom implementations for following operations;
TensorListFromTensor, TensorListReserve, TensorListStack, While.

To make a custom op you may refer https://www.tensorflow.org/lite/guide/ops_custom
You can also raise a request to add these features in TF by commenting on this issue thread.
https://github.com/tensorflow/tensorflow/issues/21526
You can try converting your model using TFLITE_BUILTINS, SELECT_TF_OPS flags to reduce custom implementation of ops (only a subset of ops can be implemented by this method while others may still require custom implementation )

Thank you for your reply! I have found this https://github.com/tensorflow/tensorflow/issues/33416.
vcarpani says "so my problem could be solved by adding TensorListFromTensor, TensorListReserve, TensorListStack, While to the whitelist here and use the standard tensorflow implementation."

I finally solved this problem using th following code

converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter.allow_custom_ops=True
tflite_model = converter.convert()

I have solved  this problem.

I had a similar error as above using tensorflow 2.2:
error: failed to legalize operation 'tf.TensorListReserve'

and
error: requires element_dtype to be 1-bit/8-bit/16-bit/32-bit/64-bit integer or 16-bit/32-bit/64-bit float type during TF Lite transformation pass

I fixed it by using:
converter = TFLiteConverter.from_saved_model(model_dir)
converter.experimental_new_converter = False
converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter.allow_custom_ops=True
tflite_model = converter.convert()

Compared to the fix by @hzk7287 in https://github.com/tensorflow/tensorflow/issues/33490#issuecomment-544847214, this also disables the new experimental converter.

I finally solved this problem using the following code
converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter.allow_custom_ops=True
tflite_model = converter.convert()

I love you


Create license-compliant version of the Pile: Stack Exchange

DONE: https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_en_the_pile_stack_exchange
Sample:
{'text': "Q:\n\nWhat is the h-index exactly and how does it work?\n\nWhat is the h-index, and how does it work ?\n\nA:\n\nThe h-index is a measure of the impact of someone's publication list. An h-index of 10 for example means that the person has published 10 papers with at least 10 citations. The total number of papers published may be higher, but only 10 will have 10 or more citations.\nCritics argue that this measure disadvantages young researchers who did not have time to publish a lot and whose work has not been published for long and thus may not have attracted many citations. Other criticisms include that it makes a researcher focus on how to increase the citation count for a paper that may be not that good but would increase the h-index.\nFor more explanation, see for example the Wikipedia article.",
 'meta': "{'file': 'academia.stackexchange_0000000005.txt'}"}


Add better tests for regex file search

We fixed the regex search issue in #4584, test coverage is still required though. The PR was hotfixed in.

Closed on https://github.com/rtfd/readthedocs.org/pull/4587


Build fails on non-root linux user

I'm getting the following build error when installing node-snap7. Im operating on Centos 6 and trying to install as non-root user. Running on node 0.12.7, also tried with 0.10.40. Installing as root works. Is there any way to avoid installing this package as root?

node-gyp rebuild
Traceback (most recent call last):
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in
sys.exit(gyp.script_main())
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 533, in script_main
return main(sys.argv[1:])
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 526, in main
return gyp_main(args)
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 502, in gyp_main
params, options.check, options.circular_check)
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 129, in Load
params['parallel'], params['root_targets'])
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2736, in Load
variables, includes, depth, check, True)
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 386, in LoadTargetBuildFile
includes, True, check)
File "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 238, in LoadOneBuildFile
None)
File "binding.gyp", line 1
{
^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 2.6.32-504.30.3.el6.x86_64
gyp ERR! command "node" "/home/sysuser/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data/my-project/node_modules/node-snap7
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Linux 2.6.32-504.30.3.el6.x86_64
npm ERR! argv "/home/sysuser/.nvm/versions/node/v0.12.7/bin/node" "/home/sysuser/.nvm/versions/node/v0.12.7/bin/npm" "install" "node-snap7"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-snap7 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-snap7
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /data/my-project/npm-debug.log

Hi, sry for the late response. Can you check your python version that is installed for the non-root user? 2.7.3 or newer(not 3.x) is necessary for node-gyp.

python --version outputs 2.7.8. My /usr/local/bin/python is symlink to /usr/local/bin/python2.7 and I havent got issues with building other packages in this project such as oracledb. I also tried with my other development machine which runs Oracle Linux 6.5 and got same issue there.

Can you check if the binding.gyp contains CRLF or LF line endings? I'm on my phone right now. I'm developing under Windows and maybe the CRLF slipped in.

My text editor on my dev machine (Sublime Text 3) shows Line Endings as "Windows" so that may indeed be the issue.

Yes, there is something wrong indeed. On Github line endings are ok because of git's autoCRLF I think but npm uploaded the DOS/Windows line endings :( I'm about to release a new version anyway and will have a special look on LE this time. You can try install from github (e.g. npm install mathiask88/node-snap7) or wait until the new version is published. Thanks for your report!

@teropes I published a new release to npm that fixed the line endings and is compatible to node 4.x. Would be cool if you can test it and report back.

node-snap7 0.2.2 now builds properly also as non-root user in both of my Centos / Oracle Linux dev machines and no other issues detected so far. This is now fixed, cheers!


Refresh

@jjhelmus I temporarily activated the CircleCI workaround here to test this. I will disable as soon as I am done.
This is an alternative to your #11. It removes the -w that, for some reason, makes conda-build choke and replaces the shebang with /usr/bin/env perl to circumvent issues like https://github.com/conda-forge/texinfo-feedstock/pull/5
It all works locally and hopefully this will allow us to move forward with the conda-build 2 effort.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Linux:
No packages found with binary prefixes shorter than 255 characters.

OS X:
No packages found with binary prefixes shorter than 255 characters.


Current Django locale not honored

Issue
django-select2 does not use the current active translation of Django.
Select2Mixin is only initialized on (development) server start this way:
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.i18n_name = SELECT2_TRANSLATIONS.get(get_language())

get_language() will make the best effort and return a language (for example, from the default settings.LANGUAGE_CODE = "en").
But the current language might change on a request basis, for example due to django.middleware.locale.LocaleMiddleware with a browser with Accept-Language: bg,en-US;q=0.9,en;q=0.8 header.
LocaleMiddleware will activate the 'bg' language on receiving the request and Django will translate the form to Bulgarian, but the self.i18n_name will remain 'en' for django-select2.
The Select2Mixin.media() method will thus return the 'en' language for the JS translation file.
@property
def media(self):
    ... code removed for brevity ...
    i18n_file = []

    if self.i18n_name in settings.SELECT2_I18N_AVAILABLE_LANGUAGES:
        i18n_file = [f"{settings.SELECT2_I18N_PATH}/{self.i18n_name}.js"]

This will prevent the select2-based controls from translating correctly. No amount of effort (e.g. setting data-language or lang in the attrs for a control) can fix this, as you would also be required to resolve the JS file name externally and swap it with the incorrect one being supplied by the media method.
Expected behavior
The django-select2 forms should be translated transparently as the rest of the form is translated.
django-select2 should check the current active translation before building the media information and also before build_attrs

Hi @arneatec thank you for reaching out. I sincerely appreciate your detailed report. Would you be so kind as to explain how exactly you are experiencing this problem? Your deduction is interesting, but Django handles languages actually slightly different from what you describe. Django uses thread locals and the locale middleware will set the variable.
As it happens, I implemented the same language behavior for select2 in Django itself for autocomplete fields, so I am fairly confident about the implementation. But I'm known to make mistakes 😜
However, let's try to troubleshoot this together. Some issues I could think of would be that the language isn't properly set OR some kind of state leakage. It would help you have some browser logs, that include the request headers and cookies.
I hope we can figure this out!
Best,
Joe


several fields in dialog

Hi!
original js extention supports multiple fields for i-place editing (see "Custom input, several fields" demo). Any ideas how to achieve this with your gem?

Yes please. When an address is updated our app must re-calculate distances between people, we do not want to do this for every address field. Please provide an example of multiple-field, single call to the server.

I'd also like to see this implemented

You can use x-editable as usual without rails helpers, pull requests with implementing this functionality are welcome


Typo correction

Correction that Android Studio won't show error: "Couldn't resolve resource @id/play_button"

thanks :) the fix has just been added to version 0.7.5

Very good :) Thanks for great library!


reduce slowlog max len

We aren't really using this data and even if we do it doesn't seem like we need that much
@benrudolph

agreed


Add a game

Project URL

Description

Checklist

[ ] Only one project/change is in this pull request
[ ] Addition in chronological order (bottom of category)
[ ] Supports iOS 7 or later
[ ] Has a commit from less than 2 years ago
[ ] Has a clear README in English

Hey @zeget, thanks for contributing again.
Unfortunately we don't show open source apps here, but you can add this library to @dkhamsing's Open Source iOS Apps list

https://github.com/dkhamsing/open-source-ios-apps/pull/270 😁


Not able to install in Corporate Network

I tried installing the electron-prebuilt in corporate network and I get CERT_UNTRUSTED error. I even modified the .npmrc file to accept http://registry.npmjs.org/. Help me to fix this.

This is possible duplicate of https://github.com/mafintosh/electron-prebuilt/issues/21.


test: fix VC++ warning C4047

warning C4047: char ' differs in levels of indirection from 'char ()[1]'

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/259/

Landed in 51f3f56f346900f2618bb15f83a437c182da1cb7. Thanks!


Count Distinct does not work?

I have an account (master) to child_object (child) relationship, when doing count distinct it works absolutely fine for a lot of the records, however. At least one record produces a distinct count of 34, where the total records are only 55. Manually counting tells that 9 or actually unique. Is there a fix?

What field are you counting
On Mar 9, 2018 6:00 AM, "FBosler"<EMAIL_ADDRESS>wrote:
I have an account (master) to child_object (child) relationship, when doing
count distinct it works absolutely fine for a lot of the records, however.
At least one record produces a distinct count of 34, where the total
records are only 55. Manually counting tells that 9 or actually unique. Is
there a fix?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APXKqmKbSLw1tatVJ1iiLSnV83fLM_G0ks5tcosQgaJpZM4SkTfR
.

It’s a custom field. The type is a text field.

Have you tried moving that text into a formula to trim and lowercase it
then trying to count off that?
On Mar 9, 2018 8:10 AM, "FBosler"<EMAIL_ADDRESS>wrote:

It’s a custom field. The type is a text field.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/652#issuecomment-371857806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APXKqkwWYymxSIBmWALLLusXnMUzB_hXks5tcqmAgaJpZM4SkTfR
.

Can you list the values here?

Closing due to inactivity.


Add prompt details so that AI Templates knows we are dealing with Markdown text

When I give instructions in my AI templates.It sometimes gets the formatting wrong. For example I asked to get it formatted into a table. And it was formatted into an HTML table, instead of Markdown.  It should format to optimize for Markdown/Obsidian.

attempted fix @aexshafii can you test again?


Align searchsorted behaviour with numpy

This MR attempts to align searchsorted behaviour with numpy for a wider set of use cases, particularly where (i) the input array a is not properly sorted or (ii) the input array a is properly sorted but contains NaN and side='right'.
This PR was motivated by https://github.com/numba/numba/pull/9169 - the hypothesis being that if we could align searchsorted behaviour with numpy closely (including for weird inputs) then updating digitize should be trivial, since its implementation could in fact just hand off to searchsorted (in the same way that numpy does).
(The aspiration to cope with improperly sorted inputs comes in part from the foreknowledge that digitize attempts to determine if the provided bins are monotonic increasing or decreasing before calling into searchsorted, and  can make seemingly incorrect inference in the presence of NaNs.)
I have added thousands of tests to assert behavioural similarity (happy to tone this down) and have run hours of randomised tests on GCP.
It could be that there are some outstanding edge cases where the behaviour continues to be misaligned; the implementation choices I made are difficult to justify / rationalise, and there's an unfortunate / unexpected change in behaviour pre- and post- numpy 1.22, which appears to be an unintended consequence of some bugfix (as noted in the comments).
Interested in your thoughts.

An example of:

...input array a is properly sorted but contains NaN and side='right'.

...which behaves per numpy in this PR:
import numpy as np
from numba import njit

a = np.array([42., 59., 62., 98., np.nan])
v = np.array([42., 59., 62., np.nan])

@njit
def foo(a, v):
    return np.searchsorted(a, v, 'right')

print(foo(a, v))
print(foo.py_func(a, v))

Ah yes, @guilhermeleobas - I think it probably is (apologies, I raised the PR in such a way that I could not attach the appropriate label).

Hi @guilhermeleobas , thanks for flagging that edge case - I added a test for it and tweaked the implementation to suit & cleaned up the tests a little, in passing.
I briefly toyed with extending support to string inputs / branching the overload to avoid calling np.isnan for dtypes which are exact, but regretted these ideas quite quickly and figured maybe it would be best to pursue them in other PRs, if at all.
Anyway, I will stop fiddling with this PR for the time being - let me know what you think.

Hi @rjenc29, thank you for your contribution. I will review it again later this week.

@guilhermeleobas - just to note: I think this PR is ready for a re-review when you have time.

Hi @rjenc29, I was out this past week. Will review your PR now

@rjenc29, sorry for the delay. I was on PTO for the past few days. I'll do a proper review soon.


Images are not working

Images aren't being displayed in the workshop instructions panel. For example The slivers codelab uses an image on step 2.
The <a> tag in the instructions panel doesn't contain an href attribute. We are currently using the markdownToHtml function from package:markdown to generate

Has this been deployed?

yes, this should be deployed now. Are you still seeing this?


fix screenPhysicalPixels error

see https://github.com/facebook/react-native/issues/5963

Thanks!

Thanks!


prometheus-pgbouncer-exporter: init at 0.7.0

Description of changes

Exporter for pgbouncer service. Battle tested.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

https://github.com/ofborg test prometheus-exporters.pgbouncer

@ofborg test prometheus-exporters.pgbouncer

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

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

prometheus-pgbouncer-exporter

Please resolve the conflicts

Please resolve the conflicts

Resolved.

https://github.com/ofborg test prometheus-exporters.pgbouncer


ARTEMIS-2480 - Reloading configuration can kill broker

https://issues.apache.org/jira/browse/ARTEMIS-2480

test case?

feedback applied


[FR] Add Set-Point

I really love this node and without wanting to come over as demanding:
Adding a setpoint (== payload to send) associated with each schedule would be simply amazing. This would turn it into a "Swiss army knife", e.g. for a heating system to send different temperature targets at various week-days or according to day's time.

I am not sure if this is what you want but have you tried to activate the "Event Mode"? With Event Mode enabled you can create a list of events that the user can select at the front end.

You can also check "User Events" if you want to enter the value directly from the front end.

How could I have missed this?!? Thanks for pointing me to this. Love it!


Simplify Creating a WebApp

[Enter feedback here]
Creating a simple web app is far too complicated. By far. This limits the usage of new users to use Azure.
I've already spent many days on this and I'm an IT professional working in development for more than 35 years.
I just want to create a simple static HTML page and deploy that to Azure. That's it. Why does this have to be so complicated?
Why is a github repository needed to deploy web pages to Azure? I have a copy of my pages locally, so I don't need any other backup; why is github mandatory? (At my company I am not allowed to log in to github, so I am not able to continue for example.)
Ok, I now have a github repository. I've created the quickstart with the vanilla-basic page and added my working page. But now I have to fix the bugs in the playwright setup that is failing all the time. After days of working on this, it's fixed. But now, a year later, I now get daily mails that playwright is failing again. After hours of investigating why, I find out that Ubuntu 18 is no longer supported or something and when updating that, the dependencies are broken.
Why do I need playwright in the first place for a simple web app? Nobody knows.
Also, I do not want any local installations. I do not want Ubutu or WSL, I do not want VSCode, I do not want github client or anything else locally installed. Remember, I have a working static web page that I want to deploy and I can update files in github through the web interface; I don't need anything else.
Can you please simplify your quickstart guide to get up to speed much faster? CI/CD, VSCode project setup and all that fancy stuff can be put into some advanced guide please. I want instructions to set up a simple hello world page without having to install anything on my client.
Thank you

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f6e39b7e-89ef-65ea-8174-6739e50da1b4
Version Independent ID: e56882ab-0817-45d2-8526-8647f2ef9f6d
Content: QuickStart: Create a static HTML web app - Azure App Service
Content Source: articles/app-service/quickstart-html.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@e4ch
Thanks for your feedback! We will investigate and update as appropriate.

Appreciate the feedback @e4c and I understand. However, please this Quick Start has to be an efficient tutorial for a large audience. For folks that use only a code editor or only use a terminal. Folks that are starting with GitHub or has a local HTML markup files. Addressing that concern, you don't need to follow the Quick Start word for word; take the pieces you need. If don't need/want to use GitHub, just create the web app using the CLI with az webapp up.
I'm not too familiar with playwright and don't see why you needed when following this quick start. If you don't need playwright, I would simply remove it. If you recreate your web app just using az webapp up --location westeurope --name <app_name> --html, the html switch will simply host your html files as static.
I am tagging the content author so they can investigate the doc and update the doc if needed.

Appreciate the feedback @e4ch and I understand. However, please this Quick Start has to be an efficient tutorial for a large audience.

Exactly. That's why I don't understand why it is so complicated. Isn't there an easy way to deploy a single page? Or is just the documentation so unnecessarily complicated?

For folks that use only a code editor or only use a terminal. Folks that are starting with GitHub or has a local HTML markup files. Addressing that concern, you don't need to follow the Quick Start word for word; take the pieces you need.

That's exactly the problem. There are no pieces I can take out. Whenever I leave out something, the rest is not working anymore. If I don't want a GitHub repo, then how does the rest of the tutorial even work?

If don't need/want to use GitHub, just create the web app using the CLI with az webapp up.

The requirement was to not use any local installations. Your CLI command "az" is not a default installation on Windows. I assume this is Azure PowerShell or something. I would need a tutorial on how to do this only by using the Azure web site in a browser. No local Azure PowerShell installations, and no IDE (except Notepad) can be assumed. Without installations, my understanding was that you have to use at least GitHub.

I'm not too familiar with playwright and don't see why you needed when following this quick start. If you don't need playwright, I would simply remove it. If you recreate your web app just using az webapp up --location westeurope --name <app_name> --html, the html switch will simply host your html files as static.

I can't follow this command, as I don't have the "az" command and want to do all this only using the web browser (or with default installations on Command line would also work). The tutorial mentions to copy the vanilla-basic repository and I don't know which parts can be removed and which parts are required for the deployment to work. And having a simple verification if "Hello" appears on the resulting website is also nice, but it should at least work. That default repository mentioned in the tutorial has playwright included. And the demo repo also seems to be so outdated that it doesn't work anymore, as the containers include retired VMs. I mean just look at the script in https://github.com/staticwebdev/vanilla-basic/blob/main/.devcontainer/library-scripts/node-debian.sh - this is for a "Vanilla-Basic" application. I mean, I do know Linux (many users that this article is targeting probably don't), but is this all necessary for a Hello World?

I am tagging the content author so they can investigate the doc and update the doc if needed.

Thanks. That might help.
So in summary, just a simple "hello world" page released to a new Azure web app, without any local installations, preferably without a GitHub account, this is what I was looking for. Just the basics. All additional stuff, like CI/CD pipeline, setting up projects in VSCode, GitHub repositories, verifying successful deployment, etc. is already extended stuff. Just the basics please - it's a tutorial for a wide audience.
And I'm sorry if somewhere I didn't use the right words. I'm just so frustrated having spent so many days with something so simple. Setting up IIS on my own servers (and configuring port forwards and reverse proxies) is so much simpler than using Azure. Am I the only one with that experience? Anyway, thanks for trying to help here to improve this!

#needs-sme-input

@msangapu-msft this is incorrectly tagged should be assigned to Static Webapps and not App Service

ping @msangapu-msft can we please move this to SWA.


[KYUUBI #2558] fix warn message

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

thanks, merged to master


add: Templates for all subdirectories, modify: contributing guidelines

Implemented @vik-y 's suggestions in https://github.com/zense/helpful-resources/issues/4


[Feature Request] Separate Instance Snap To

It would be nice if there were a way to make separate vue-drag-resize instances snap to one another if their edges get close.

I believe that it's hard to implement because as you said, instances are separate.
maybe you should try in another way: maintain a Object Array like follows
ObjectArr: [ {     left: 10,     top: 50,     width: 200,     height: 200,     active: false, }, {     left: 300,     top: 500,     width: 200,     height: 200,     active: false, }, {     left: 700,     top: 900,     width: 200,     height: 200,     active: true, }]
then, when you moves one certain instance, a function will be called to calculate the edges of the active instances and the inactive instances, it depends on your own requirements. it may look like as follows
if( instancesClose(instance, ObjectArr) ) {     instance.left = ObjectArr[0].width + ObjectArr[0].left }


removed routing file from snippets being removed

Should be merged with https://github.com/sulu-io/sulu/pull/999

Need to build the .dist files.


can you update?

can you update to last version of wordpress?

It's in my todo list. Will update it soon.


Remove native dates support

Fixes #242
@baywet since you noticed that we should throw for unknown types, I noticed that in some implementation we have not been doing it and fixed this detail too.

Thanks for taking this on.
Just wanted to reiterate this should go as a major version :)

Agreed @baywet !
Since we are at it, it would be great to have reviews from experts for the remaining languages (if it doesn't delay the release too much).
An additional note on the fact that Kiota doesn't really need this release to fix any date/datetime handling in the abstraction layer.


get symbol in angular library isn't right clickable

Repro<EMAIL_ADDRESS>On the get method, try right clicking - you can't!
https://cl.ly/1w1U1J241819
What's weird is that request, post, and put work, just not delete and get.

@uforic this is actually a problem in Sourcegraph, which prevents right clicks on any token that's not an identifier -- we should refile this in sourcegraph/sourcegraph.


[Bug]: Unable to connect to Postgres database in any SSL mode

Description
I have hosted a postgres DB using Coolify.

I am able to connect to the DB in SSL mode as  "PREFERRED" or "DISABLED"
Not able to connect using any other modes like "ALLOW", "VERIFY-CA", "VERIFY-FULL".

What I have tried so far -

I have tried to generate the a self signed certificate (which is not recommended btw), but I am unable to use these certificates as there is no way to edit the docker compose file for this Postgres container in Coolify dashboard. If I SSH into the server and manually edit the docker compose file in the "coolify" directory, the file always gets reset if I restart the instance.

I also tried to use Certbot to generate Let's Encrypt certificates, but I am unable to use these certificates with this database as there is no way in Coolify to configure these certificates (neither in the dashboard nor manually).

I also tried to enable SSL for Postgres using Trafeik but as I could find that it is only possible in Trafeik v3 and and Coolify uses Trafeik v2.X.

Is there any way to enable secure connection to Postgres DB hosted using Coolify? The databases I am hosting have sensitive data and it would be necessary to enable SSL connection with this database.
Minimal Reproduction (if possible, example repository)
Already explained in the previous section. Happy to add any more information if needed.
Exception or Error
No response
Version
v4.0.0-beta.276

@andrasbacsai Sorry to tag you. What are your thoughts on this issue?
Is it possible to be done somehow or it needs to be incorporated as a feature in Coolify itself?

same issue here

me too :(

It seems related to https://github.com/coollabsio/coolify/issues/1869.
I'm interested by SSL too :)


Add matrix pointwise_pow

Just a small PR to add point wise pow for matrices, I found this useful to implement the PDF of the Dirichlet distribution.

I wondered whether I should call it just pow... since there are already two overloads:

scalar, matrix
matrix, scalar
matrix, matrix?

Cool, looks good.  But yeah, how about calling it pow instead of pointwise_pow so it's cohesive with the other two pow methods already there?

Great, I'm glad you think it's cool... Sometimes I worry about that...
However, after renaming the function from pointwise_pow to pow, there's a conflict, I need to check it out more in detail, though...
FAILED: CMakeFiles/dtest.dir/matrix4.cpp.o
/usr/bin/c++  -I/home/adria/Projects/dlib/dlib/.. -O3 -DNDEBUG   -W -Wall -Wno-unused-function -DDLIB_JPEG_SUPPORT -DDLIB_USE_BLAS -DDLIB_USE_LAPACK -DDLIB_USE_CUDA -DDLIB_PNG_SUPPORT -DDLIB_GIF_SUPPORT -Wreturn-type -MD -MT CMakeFiles/dtest.dir/matrix4.cpp.o -MF CMakeFiles/dtest.dir/matrix4.cpp.o.d -o CMakeFiles/dtest.dir/matrix4.cpp.o -c ../matrix4.cpp
../matrix4.cpp: In function ‘void {anonymous}::test_stuff()’:
../matrix4.cpp:648:44: error: call of overloaded ‘pow(dlib::matrix<double, 9, 5>&, dlib::matrix<double, 9, 5>&)’ is ambiguous
  648 |             matrix<double,9,5> C = pow(A, B);
      |                                            ^
In file included from /usr/include/features.h:473,
                 from /usr/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/c++config.h:518,
                 from /usr/include/c++/10.2.0/string:38,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix/../algs.h:93,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_exp.h:6,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix/matrix.h:6,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix.h:6,
                 from ../matrix4.cpp:5:
/usr/include/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
In file included from /home/adria/Projects/dlib/dlib/../dlib/matrix/matrix.h:17,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix.h:6,
                 from ../matrix4.cpp:5:
/home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_math_functions.h:166:38: note: candidate: ‘const dlib::matrix_op<dlib::op_pow1<M, S> > dlib::pow(const dlib::matrix_exp<EXP>&, const S&) [with M = dlib::matrix<double, 9, 5>; S = dlib::matrix<double, 9, 5>]’
  166 |     DLIB_DEFINE_FUNCTION_MS(op_pow1, pow, impl::pow1, 7)
      |                                      ^~~
/home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_op.h:425:37: note: in definition of macro ‘DLIB_DEFINE_FUNCTION_MS’
  425 |     const matrix_op<op_name<M, S> > name ( const matrix_exp<M>& m, const S& s)                  \
      |                                     ^~~~
/home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_math_functions.h:167:38: note: candidate: ‘const dlib::matrix_op<dlib::op_pow2<S, M> > dlib::pow(const S&, const dlib::matrix_exp<src_exp>&) [with S = dlib::matrix<double, 9, 5>; M = dlib::matrix<double, 9, 5>]’
  167 |     DLIB_DEFINE_FUNCTION_SM(op_pow2, pow, impl::pow2, 7)
      |                                      ^~~
/home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_op.h:468:37: note: in definition of macro ‘DLIB_DEFINE_FUNCTION_SM’
  468 |     const matrix_op<op_name<S, M> > name (const S& s, const matrix_exp<M>& m)                   \
      |                                     ^~~~
In file included from /home/adria/Projects/dlib/dlib/../dlib/matrix.h:7,
                 from ../matrix4.cpp:5:
/home/adria/Projects/dlib/dlib/../dlib/matrix/matrix_utilities.h:2979:58: note: candidate: ‘const dlib::matrix_op<dlib::op_pointwise_pow<EXP1, EXP2> > dlib::pow(const dlib::matrix_exp<EXP>&, const dlib::matrix_exp<src_exp>&) [with EXP1 = dlib::matrix<double, 9, 5>; EXP2 = dlib::matrix<double, 9, 5>]’
 2979 |     inline const matrix_op<op_pointwise_pow<EXP1, EXP2>> pow (
      |                                                          ^~~
In file included from /usr/include/c++/10.2.0/complex:44,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix/../serialize.h:226,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix/matrix.h:9,
                 from /home/adria/Projects/dlib/dlib/../dlib/matrix.h:6,
                 from ../matrix4.cpp:5:
/usr/include/c++/10.2.0/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/10.2.0/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
[11/14] Building CXX object CMakeFiles/dtest.dir/matrix_eig.cpp.o
ninja: build stopped: subcommand failed.

Heh, dang, I was worried about that.  You would think the conversion to the matrix_exp base class would win out over the implicit conversion of the matrix to double but it doesn't.  I guess pointwise_pow works unless you have a better suggestion :)

Oh, I see... I think the current suggestion is quite discoverable, since its the first one that came to my mind, but here there are some morev

pointwise_power instead? Since we use the full name for multiply and divide.
pointwise_exponent
pointwise_exponentiation
pointwise_exponentiate, to use a verb like in multiply or divide

Yeah, pointwise_pow is good :)  Thanks for another PR.


Can't manage to start the app properly on localhost

I'm trying to convert a new CakePHP 4 project (using the InertiaJS adapter from @ishanvyas22) from webpack+vue2.6 to vite+vue3, so I decided to look at this project to get a grasp of how to do it.
I've followed the installation guide, but I'm unable to run the app on my PC. When I run the server.js script, which starts both the CakePHP and vite servers, and then navigate to localhost:3000 I see these errors in the browser:

Is there any extra configuration that I've missed? Also, did you follow any guide to swap webpack out for vite?

Is there any extra configuration that I've missed?

I don't think so. Those errors look like they are all coming from vite. Are there any errors shown in the stdout of bin/ server.js

Also, did you follow any guide to swap webpack out for vite?

No, it was pretty simple as my webpack configuration was very small. Instead of trying to migrate -I started over when I went to vite.

Thank you for your reply!

I don't think so. Those errors look like they are all coming from vite. Are there any errors shown in the stdout of bin/ server.js

I mean, not that I can see. Here is a screenshot of the log that it spits out when I connect to any page:

And in my error.log i get one of these for each of the files that are not found:
`
2022-01-16 11:37:34 error: [Cake\Routing\Exception\MissingRouteException] A route matching "/@vite/client" could not be found. in /home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 197
Exception Attributes: array (
'url' => '/@vite/client',
)
Stack Trace:

/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Routing/Router.php:232
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php:139
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Runner.php:73
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php:68
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Runner.php:73
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php:126
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Runner.php:73
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php:60
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Runner.php:73
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Runner.php:58
/home/andrea/PhpstormProjects/docket-app/vendor/cakephp/cakephp/src/Http/Server.php:90
/home/andrea/PhpstormProjects/docket-app/webroot/index.php:40

Request URL: /@vite/client
Referer URL: http://localhost:3000/users/add`

No, it was pretty simple as my webpack configuration was very small. Instead of trying to migrate -I started over when I went to vite.

So you started out with a setup similar to mine, meaning you followed the installation guide for the Inertia.js adapter for CakePHP?

The errors for vite paths sound like vite devserver isn't running properly. Are you able to use yarn build to get static assets? If the docket is not in debug mode it expects precompiled assets to exist already.

Yes, yarn build succeeds without any error. And I've also tried to load the generated static assets, and they work. But for some reason as I use yarn build, it stays in debug mode so to load them I had to edit the frontend_assets.php like this:

Debugkit hitting a 500 and the 400s for port 3000 look like the souce of the problem. I don't run into those locally. I can try from a fresh install though.

I tried again tonight with a fresh install, and while the first run wasn't slick, I did end up with a working environment after calling yarn build and then restarting node bin/server.js. I didn't run into the same errors with port 3000 that you did.

Ok so it is looking like an environment problem. Thanks for your help!
I will try to understand the root of the problem and will share more if I find anything that might be useful for others. Feel free to close this issue as it is not a project problem.

Found out what the problem was (me) :D
I always opened the project from http://localhost:3000, but now I tried to open it from http://localhost:8765 and everything is working fine!


Can't pip install this

Can't seem to install it. Lots of errors: http://hastebin.com/alotujupog.vhdl

@Unrepentant-Atheist, hastebin is running doc2text on Windows, which is not yet supported.

What?!


gulp inky infinite loop

I'm getting an infinite loop when using inky inside gulp.  I traced the loop happening here (see screenshot)  Is this a problem with my html or inky?

note, i just put  in a limit to make it stop.
gulp file..
function parse() {
gulp.src('views/emails/src/**/*.html')
.pipe(inky())
.pipe(gulp.dest('dist'));
}

Can you paste the code you're running through the parser? Or try and narrow it down to the specific code that creates the infinite loop?

Not sure if this is still happening or if you have more information to narrow it down. We'll close this here - please open a new issue if you have more info on it. Thanks!


gemfile for ruby 1.9.3

for older ruby versions, peg json to a compatible version
Also make gemfiles more consistent

sorry to merge my own. but we need master green


New method: async version of sweeping a linestring to a mesh.

(Request of Nicolas Woodward)

@Mergifyio backport release/2.10.0


Fix build fail when locale is not en

It will build fail when the locale is not set to en. Apache ant cannot support different locale format of time stamp. Showing the root cause by the following code in Ant. It needs to use the 24-hour format to avoid this issue.
    public static final ThreadLocal<DateFormat> EN_US_DATE_FORMAT_MIN =
            ThreadLocal.withInitial(() -> new SimpleDateFormat("MM/dd/yyyy hh:mm a", Locale.US));

    public static final ThreadLocal<DateFormat> EN_US_DATE_FORMAT_SEC =
            ThreadLocal.withInitial(() -> new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a", Locale.US));

Thanks for the PR. I applied it manually so I could add a change log entry.


update to RDKit 2022.09.01

Codecov Report
Base: 91.42% // Head: 92.52% // Increases project coverage by +1.09% :tada:

Coverage data is based on head (47f0e4a) compared to base (1ff08d1).
Patch coverage: 97.43% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   91.42%   92.52%   +1.09%
==========================================
  Files           8        8
  Lines         175      214      +39
==========================================
+ Hits          160      198      +38
- Misses         15       16       +1

Impacted Files
Coverage Δ

src/io.jl
96.05% <91.66%> (-0.83%)
:arrow_down:

src/calculators.jl
100.00% <100.00%> (ø)

src/drawing.jl
76.92% <100.00%> (+14.42%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sorry for bothering you @giordano... any clue why this might be happening?

test pass in MacOs

partially pass in Ubuntu but segfaults

     Testing Running tests...
Test Summary: | Pass  Total
io            |   12     12
Test Summary: | Pass  Total
drawing       |    3      3
Test Summary: | Pass  Total
calculators   |   16     16
Test Summary:   | Pass  Total
standardization |   10     10

signal (11): Segmentation fault
in expression starting at /home/runner/work/RDKitMinimalLib.jl/RDKitMinimalLib.jl/test/runtests.jl:153
set_2d_coords_aligned at /home/runner/.julia/artifacts/3921da617a6dfaead03ef2092bde61f9ebcf9c34/lib/librdkitcffi.so (unknown line)
set_2d_coords_aligned at /home/runner/work/RDKitMinimalLib.jl/RDKitMinimalLib.jl/src/coordinates.jl:39
set_2d_coords_aligned at /home/runner/work/RDKitMinimalLib.jl/RDKitMinimalLib.jl/src/coordinates.jl:38
unknown function (ip: 0x7fc5b4978693)

Doesn't seem to find any function in windows (I just added it to the tests to see again what was going on)

     Testing Running tests...
io: Error During Test at D:\a\RDKitMinimalLib.jl\RDKitMinimalLib.jl\test\runtests.jl:37
  Got exception outside of a @test
  could not load symbol "get_mol":
  The specified procedure could not be found.

Bug in the library?

RDKit? this would be my best guess but I'm not an expert building stuff :P

Did you see https://github.com/rdkit/rdkit/pull/5598? It mentions some major changes to set_2d_coords_aligned, that's perhaps relevant?

Doesn't seem to find any function in windows (I just added it to the tests to see again what was going on)

I already said elsewhere that I don't know what's the problem. As far as I can tell  symbols are exported, I have no idea what else could be the problem and no way to debug anything: I'm not familiar with the operating system nor have access to it, in the unlikely case I was willing to look into the issue. Someone else more familiar with windows will have to dig into this.

I saw but seeing MacOs tests pass was extremely confusing to me. I'll investigate a bit more... thanks!

The only issue I can think of on Windows is that the dynamic loader can't resolve some other symbols in librdkitcffi.dll and prints out a completely unhelpful and mislead error message.  Again, someone which actually has access to Windows and tools like Dependency Walker will have to debug this, don't ask me.

I made a debug build of RDKit for x86_64-linux-gnu: https://github.com/giordano/RDKit_jll.jl.  You can run it gdb with it, should be more useful for debugging.  Running the tests with that one I get:
     Testing Running tests...
io: Test Failed at /home/mose/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:39
  Expression: mol.mol_size[] == 0x000000000000042a
   Evaluated: 0x000000000000038e == 0x000000000000042a
Stacktrace:
 [1] macro expansion
   @ ~/.julia/juliaup/julia-1.8.2+0.x64/share/julia/stdlib/v1.8/Test/src/Test.jl:464 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:39 [inlined]
 [3] macro expansion
   @ ~/.julia/juliaup/julia-1.8.2+0.x64/share/julia/stdlib/v1.8/Test/src/Test.jl:1357 [inlined]
 [4] top-level scope
   @ ~/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:38
io: Test Failed at /home/mose/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:41
  Expression: qmol.mol_size[] == 0x00000000000001eb
   Evaluated: 0x000000000000023f == 0x00000000000001eb
Stacktrace:
 [1] macro expansion
   @ ~/.julia/juliaup/julia-1.8.2+0.x64/share/julia/stdlib/v1.8/Test/src/Test.jl:464 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:41 [inlined]
 [3] macro expansion
   @ ~/.julia/juliaup/julia-1.8.2+0.x64/share/julia/stdlib/v1.8/Test/src/Test.jl:1357 [inlined]
 [4] top-level scope
   @ ~/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:38
Test Summary: | Pass  Fail  Total  Time
io            |    9     2     11  0.8s
ERROR: LoadError: Some tests did not pass: 9 passed, 2 failed, 0 errored, 0 broken.
in expression starting at /home/mose/.julia/packages/RDKitMinimalLib/9YScd/test/runtests.jl:37
ERROR: Package RDKitMinimalLib errored during testing

Hope this helps.

I dug a bit in the source code of rdkit, unexported symbols on Windows turned out to be an upstream bug: https://github.com/rdkit/rdkit/issues/5709 (not that I was expecting something else).

thanks again for all the comments/explanations. Specially for digging the windows part.
Tests now pass. As you pointed it was some changes they did in set_2d_coords_aligned. Still don't understand why it was working in mac xD

Calling conventions are different, something may work by accident.  As it was working in the debug build....  Well, all is good now! (waiting for the Windows bug to be solved upstream)


transport/client: use mutex to synchronize usage of protocol map

This allows concurrent usage of NewClient and InstallProtocol.

go-git is not thread safe, so if you need to install a driver please on your side you should do it safely.

While I agree that go-git should not strive for thread safety, not having this be concurrent makes it impossible to perform concurrent pushes with go-git if you need to use custom protocols for such task.
Imagine the following scenario:
mut.Lock()
client.InstallProtocol(myFancyProto, proto)
mut.Unlock()

mut.RLock()
repo.Push()
mut.RUnlock()

RLock allows several accesses, as long as they're only read accesses, but before that it needs a write access to install the protocol. So, effectively, until a repo finishes the push another can't install its protocol and perform the push and so on.
So any operation that depends on push can't be done in parallel if you need the installation of protocols for such push, because the NewClient is performed deep down the Push method and you can't just synchronize that from your code, you're force to synchronize Push.

I think this change makes sense and should be included. It is certainly not obvious from a users perspective that transport operations on separate Repository objects might require synchronization. I think that typically synchronization is achieved by ensuring separate go routines have separate Repository objects, but without this change there are cases which require further synchronization steps. I think it is easier to add and maintain this patch than trying to educate users on how to avoid this particular concurrency issue.

why would you choose not to merge this pull request? @erizocosmico use-case above is exactly the problem i just ran into.


Getting rejected by sanitizer error

On Ember CLI 0.2.3. I get this in Ember Inspector, console tab:
downloadable font: rejected by sanitizer (font-family: "Icons" style:normal weight:normal stretch:normal src index:1) source: http://localhost:4099/assets/themes/default/assets/fonts/icons.woff2

I am also using Firefox. Any ideas?

I'm guessing possibly your contentSecurityPolicy is rejecting this. Ensure font-src is *
 contentSecurityPolicy: {
     ... (other CSP settings)
      'font-src': "*"
    },

Didn't see any further response, closing.


Docs: Add badge for number of lines of code

looks like this:
provided by: https://github.com/XAMPPRocky/tokei_rs
Also provided:

why do you think we should add this?

@theDebbister your opinion?

I did it just for the lolz

then I'd be against it :D

I don't have a strong opinion on this, but I think I would not add it, there are already quite a few badges

haha alright


uniq: Disable one of the gnu test for failing too often

See: https://github.com/uutils/coreutils/issues/3509

This is the one I have seen often but I am not certain it won't happen again


Eager query method & Clean options for eager loading.

Hi @markbates this solves issue https://github.com/gobuffalo/pop/issues/72

@stanislas-m @larrymjordan I'm also concerned about storing "state" information on the connection. How do we solve this problem? Is this PR safe to merge, while a solution is found? or should this PR wait? You both know more on the subject than I do so I'm going to trust you two. :)

My first reaction was copying transaction too. But I think returning a query is better, but it’s a breaking change.
I think what someone really needs to do is write up an issue describing how this feature should work, including different use cases, etc…

@markbates @stanislas-m The reason why Eager function is attached to Connection is because of the executors Create, ValidateAndCreate methods. The only way to access these methods is through Connection object. So the way I handled that to be able to introduce Eager creation was by adding those states to Connection.  By returning a query with eager how can we use it for eager Creation? Any ideas?

@larrymjordan As I proposed, I think for Create and ValidateAndCreate we can create a copy of the Connection. This way, the eager feature is isolated from other requests.

@stanislas-m can you take a look when you have the chance to my last commit, is that what you suggested?

@larrymjordan Sure, I'll take a look in a few minutes.

@larrymjordan @stanislas-m great work!!

@larrymjordan @stanislas-m just ran into the underlying bug -- thanks so much for taking the time to produce a fix!


Feat/#351 server options configurable

issue: https://github.com/networknt/light-4j/issues/351
RFC: https://github.com/networknt/light-rfcs/blob/feat/%23351-server-options-configurable/light-4j/0019-server-options-configurable.md
Hey! The details are included in RFC
If this change is acceptable I will update the light-doc! Look forward to your review!
Thanks

Codecov Report

Merging #432 into master will increase coverage by 0.28%.
The diff coverage is 95.71%.

@@             Coverage Diff              @@
##             master     #432      +/-   ##
============================================
+ Coverage     49.57%   49.86%   +0.28%
- Complexity     1682     1719      +37
============================================
  Files           241      242       +1
  Lines         10464    10530      +66
  Branches       1503     1511       +8
============================================
+ Hits           5188     5251      +63
- Misses         4662     4663       +1
- Partials        614      616       +2

Impacted Files
Coverage Δ
Complexity Δ

...ver/src/main/java/com/networknt/server/Server.java
28.71% <100%> (+1%)
16 <1> (+1)
:arrow_up:

...c/main/java/com/networknt/server/ServerConfig.java
70.73% <100%> (+8.23%)
35 <12> (+12)
:arrow_up:

...c/main/java/com/networknt/server/ServerOption.java
93.18% <93.18%> (ø)
24 <24> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f6b29f...f40f87a. Read the comment docs.

 server options configurable


New article: SharePoint 2010 workflow retirement

Located under Archive > Add SharePoint capabilities > Workflows section.
Category

[x] New article

What's in this Pull Request?
New article describing timeline and recommendations for retiring SharePoint 201 workflows.

Deleting the PR based on email request.


Question about is_first_step and Retnet

In the code when is_first_step is True then activate_recurrent is set to False here:
https://github.com/microsoft/torchscale/blob/main/torchscale/architecture/retnet.py#L362
I was wondering what the reason for this is?
Should one us is_first_step=False when using the recurrent mode of Retnet?

At the first step, the input (e.g., a prompt) may contain multiple tokens, while the recurrent mode only accepts one token at a time.

ohh, understood! So it's for prompt. Thanks!


Need method to pass mount options; in particular sec=ntlm

In general, it would be good to have a method to pass mount options to this extension.  In particular, there are a number of older SMB servers which only support ntlm or ntlmv2 security, which means they need sec=ntlm or sec=ntlm2 as a mount option.
I've encountered this issue using disks shared from an Apple Airport Extreme (802.11N version).
Without sec=ntlm, the error encountered is:
NT_STATUS_NOT_IMPLEMENTED

@rbraby I have a question. Does the Apple Airport Extreme support ntlm only? In current version of my app, actually the NTLMv2 is applied, and NTLM(v1) not used. I think that NTLMv1 has a security problem, therefore, I thought that NTLMv1 should not be used... How do you think about that?

@yoichiro, I think you are correct and the Airport Extreme (at least the older model I have) is only supporting NTLM(v1).  I did some further testing with sec=ntlmv2 and sec=ntlmssp and both failed with a NT_STATUS_LOGON_FAILURE.
I'm sure NTLMv2 and NTLMSSP are more secure, but for backwards compatibility it would be nice for there to be a way to enable the older protocol.

@rbraby I see. I'll try to support them (LM and NTLNv1). Please give me a few days.

Diff to solve this issue: #31. The points are:

If the server doesn't support NTLMv2, the server should return false as NTLMSSP_NEGOTIATE_NTLM2 flag.
When the flag value was false, my application sends LMv1 and NTLMv1 responses.

@rbraby I have just released the new version 1.1.4 including the code to fix this issue as #31. Could you confirm whether this issue is solved or not on your environment?

I rebooted my chromebook to ensure the extension was updated, and verified that I am running version 1.1.4 by checking chrome://extensions.  Unfortunately, when I try to mount the drive from my airport extreme, I still get NT_STATUS_NOT_IMPLEMENTED and a failure to mount.  I wonder if the airport extreme is failing to properly respond to the NTLM version negotiation.

@rbraby I just released the new version 1.1.5. In this version, you can change the log level. After updating it to 1.1.5, click the gear icon, and change the log level to "Trace". Then, try to mount your server. Last, confirm the output log by the following steps:
https://github.com/yoichiro/chromeos-filesystem-cifs/wiki/How-to-Capture-the-Console-Log-of-DevTools
Probably, you can see the NTLMSSP_NEGOTIATE flag set. I want to know the all flag values, and error messages if occurred.

I'm fairly new to Chrome and it's console logs.  Hopefully I expanded the pieces of the logs that you need.  If not, please let me know and I'll try again.
Thanks,
Ryan

@rbraby Were the rows all in the console tab?

I noticed version 1.1.7 was out, so I updated to it, and here's the console output from this new version.  The error returned is still NT_STATUS_NOT_IMPLEMENTED.

I noticed that version 1.1.7 had been released, so I upgraded to it, and tried again.  Here is the console output from that attempt (missing initial Object{type: "getSharedResources", . . .} line).  The error returned is still NT_STATUS_NOT_IMPLEMENTED.

@rbraby Sorry, my application does not support servers which don't support EXTENDED_SECURITY. Also, I don't intend to support it in near future.


Revert switching to yaserde, use quick-xml for serialization

See https://github.com/openrr/urdf-rs/issues/96 for more context.

We have switched to yaserde from serde-xml-rs in #64. However, many bugs have been introduced since then, some of which have not yet been fixed.
I'm no longer happy with continuing to use this difficult-to-use crate.
I'm considering moving away from it, at least on deserialization.

This changes:

Reverts all yaserde related changes, excluding tests. (i.e., use serde-xml-rs for deserialization again)
Apply https://github.com/openrr/urdf-rs/pull/98 by @luca-della-vedova (thanks for working on that!) with adjust to use quick-xml only for serialization and avoid API change.

This is considered a breaking change because yaserde trait impls are removed, but it should not contain any other breaking changes.
I'm not very happy depending on 3 XML-related crates, but I believe there is no more reliable way to fix everything that is broken (#94, #95, and probably more), introduce no new regressions (https://github.com/openrr/urdf-rs/pull/98#issuecomment-1931956647), and maintain what we wanted in #64 (i.e., serialization) than this way at this time.
Eventually I will probably select roxmltree (that we already used in our mesh-loader) for deserialization, but we don't have the bandwidth to spend on a thorough rewrite of this crate at this time.
Fixes #95
Fixes #94
Fixes https://github.com/openrr/urdf-viz/issues/256
Closes #96
Closes #98
FYI, here is a diff with 0.6.9 (last release before switching to yaserde): https://github.com/openrr/urdf-rs/compare/v0.6.9...taiki-e/revert
Co-authored-by: Luca Della Vedova<EMAIL_ADDRESS>

Ah bummer that one character created so much trouble and forced this split, I was exploring your comment above about doing a preparsing to get rid of it and only using quick-xml but I guess it's too late now :sweat_smile: thanks for tackling this!

I was exploring your comment above about doing a preparsing to get rid of it and only using quick-xml but I guess it's too late now 😅

Nah, I think with proper documentation we can do that without making it a breaking change. (see https://github.com/openrr/urdf-rs/pull/108)


Update model in legal recipe

https://github.com/ibm-granite-community/granite-legal-cookbook/blob/main/recipes/RAG/RAG_over_NH_Caselaw.ipynb
We could discuss delaying until larger context models are avaialble.

PR here.


Cannot execute code on Jupyter notebook after last update

Environment data

VS Code version: Version: 1.56.0-insider    Commit: 0310f02dc5d834bb3a7cc421ea5374aec8d011f1
Jupyter Extension version: v2021.6.775948001
Python Extension version: v2021.4.765268190
OS (Windows | Mac | Linux distro) and version: OS 11.2.3 (20D91) apple silicon M1
Python and/or Anaconda version: python 3.9.1, 3.8.6 conda 4.10.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Execution of a cell
Actual behaviour
no execution possible with local or remote Jupiter server
Steps to reproduce:
open a notebook
try to execute a cell
Logs

ok it seem that with the v2021.6.777186939 it works


Persistence image for H0?

I want to generate a persistent image for H0，but the value in persimage always is nan.This makes me confuse.Can you give an example?
thanks！

Hello, thank you for your interest in our library!  I think what's probably going on here is that in H0, there will always be at least one point in the persistence diagram with an infinite death time, and that's throwing everything off.  Here's how you might get rid of an infinite point (@sauln, we should probably add some default behavior around this in this library, possibly with a warning)
from ripser import ripser
import numpy as np
np.random.seed(0)
X = np.random.randn(1000, 3)
dgm = ripser(X, maxdim=0)['dgms'][0]
dgm = dgm[np.isfinite(dgm[:, 1]), :]

Let me know if this fixes the issue

Thank you！I have solved this problem！In fact, similar problems occurred when I calculated the distance of the wasserstein of H0.

Glad it helped! Yeah that makes sense. I'll keep this issue open because
you're not the only one to get confused by this. We'll try to come up with
a better solution
On Wed, Jun 17, 2020, 10:17 PM 施庆章<EMAIL_ADDRESS>wrote:

Thank you！I have solved this problem！In fact, similar problems occurred
when I calculated the distance of the wasserstein of H0.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scikit-tda/persim/issues/38#issuecomment-645727989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJWDZQLUK32DL4YNXY2YXDRXF2L7ANCNFSM4OALRCKA
.

Thanks @ctralie, I remember I've even been hung up on this one before. Warnings or a parameter to filter infs would be a great addition.


Vandalism report: label for the Persian Gulf has been removed

Hello,
I noticed that the name label for the Persian Gulf has been removed.
Someone please fix it.
Cheers,

Duplicate of #4819.
We are not providing any map tiles. Leaflet is just a map display library. Look for the data provider. For example the map tiles on our demo are provided by OpenStreetMap.


Bitbucket server post build status 0.0.3

New Pull Request Checklist
Please mark the points which you did / accept.

[X] I will not move an already shared step version's tag to another commit
[X] I read the Step Development Guideline
[ ] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[X] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[X] I read and accept the Abandoned Step policy

Changes since https://github.com/bitrise-io/bitrise-steplib/pull/2319

Changed script to except either a 0 or a 1 for bitrise status
Added a new input for flagging to send bitbucket an INPROGRESS status
Added more logging

Thanks for the review. I've addressed / responded to all your points.
I've created a 0.0.6 tag and pushed the repo and updated this branch to include the 0.0.6 step
Now that the inputs have really simple name, might they not collide with other var's? I'm already using the step in my test setup and now I'm getting back a 401 from bitbucket server..

Thanks for the review. I've addressed / responded to all your points.
I've created a 0.0.6 tag and pushed the repo and updated this branch to include the 0.0.6 step
Now that the inputs have really simple name, might they not collide with other var's? I'm already using the step in my test setup and now I'm getting back a 401 from bitbucket server..

Inputs should override already present env vars.
it could be debugged by adding set -ex or echoing env vars, with set -ex the only issue may be that the password may be logged.
I do not think there is a hard official input naming policy except for the format (there is a new Step Development Guideline in the works) so the bitbucket prefix is acceptable in case it does not work out.

Fixed the env vars, my password was revoked, changing it fixed it. My bad.
Uppercased the "AUTO". I choose for uppercase because bitbucket expects the status in uppercase so I made all value options uppercase
Updated the readme to match the new inputs
Created a 0.0.8 tag

Hard to see the changes between original proposal and the things I changed after your review. Here's a comparison: https://gist.github.com/teameh/473ce9c049a2f85a06ceec04cde5b127/revisions


Create a system for understanding which rules are turned off for which dialects.

          nit: This feels a bit off here. It's worth maybe adding a FIXME/TODO, as it is something we may want to do more uniformly in the future.

        // TODO Figure out how to make this cleaner and part of the definition rules
        if context.dialect.name == "clickhouse" {

Originally posted by @benfdking in https://github.com/quarylabs/sqruff/pull/489#discussion_r1674406994

Done in https://github.com/quarylabs/sqruff/pull/535


Added conversion to system local path-separators for the test.

Fixes two tests that fail on master-branch.

i think this has already been corrected on the integration branch.
also - i don't necessarily want to see all the build steps, so i think the fix for #36 should be controlled via some kind of property so it can be turned on/off.

About the integration branch, you're right. It was me who did the PR. Forgot that it got accepted because I had a fresh clone from master. My bad.
On the logging issue, I can see why you would like to have sparse logging sometimes. However I think the plugin, in general, does too many steps in the background without telling the user (like how it pulls a template Dockerfile if none was provided). Some of these steps are not obvious and should perhaps be communicated. Do you have a preference for the name of the flag? Also, should the flag be used to turn off logging (i.e. a "quiet"-flag) or to turn it on (a "verbose"-flag)?

integration and master doesn't differ yet (since it just after a release), so indeed the path issue in the unit test still needs to be fixed (sorry don't have a windows box for testing). Will apply that ASAP.
/wr to the build logging I agree that it should be easier visible instead of using mvn -X which is super noisy. If a new option is needed, I would opt for a verbose flag (for backward compatibility issues). Still looking for a smarter coloring option (low contrast grey maybe).

Thanks, I applied the bug fix for the path issue in the unit test on branch integration. For the logging, I'm still looking for a more fine grained solution. But switching on building log for everything can become quite noisy. I will work on #36 for the next release, ok ?

Should fixed now.


Feature/5 archivarius balancemanager integration ssp dsp adcorelib

Integration prices and refactoring calculations

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

33 of 770 (4.29%)  changed or added relevant lines in 38 files are covered.
19 unchanged lines in 8 files lost coverage.
Overall coverage increased (+1.0%) to 11.239%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

admodels/project.go
0
1
0.0%

admodels/rtb_source.go
0
1
0.0%

admodels/target_wrapper.go
0
1
0.0%

auction/equipment.go
1
2
50.0%

admodels/account_target.go
0
2
0.0%

admodels/application.go
0
2
0.0%

admodels/rtb_access_point.go
0
2
0.0%

admodels/smartlink.go
0
2
0.0%

admodels/zone.go
0
2
0.0%

adtype/response_item_block.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

admodels/zone.go
1
0.0%

admodels/account_target.go
1
0.0%

admodels/smartlink.go
1
0.0%

eventtraking/events/event.go
2
29.87%

adtype/price.go
3
64.79%

adtype/bidrequest_imp.go
3
0.0%

adtype/bidrequest.go
4
0.0%

admodels/ad.go
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>0:
1.0%

Covered Lines:
837

Relevant Lines:
7447

💛  - Coveralls


Please add AVIF  option to Image Resizer, high compression open standard

Description of the new feature / enhancement
AVIF is the highest efficiency image compression standard being adopted now based on AV1 and its open, chromium based browsers already support it, would be great if it was added to Image Resizer.
Scenario when this would be used?
Most efficient way to save space/bandwidth, compression is beyond both jpg and hiec/hevc.
Supporting information
https://avif.io/blog/comparisons/avif-vs-heif/

+1♥

I would love to see AVIF support!


Clear Statement on availability

It would be great to see a clear statement which Versions are available on which Version of Windows and if Server or Client

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9bffd204-80d9-38fe-898b-5b290e6466ee
Version Independent ID: e0fe16d9-6424-fab1-0759-4a36a74a3c94
Content: Network File System overview
Content Source: WindowsServerDocs/storage/nfs/nfs-overview.md
Product: windows-server-threshold
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Like this?
https://docs.microsoft.com/en-us/windows-server/storage/nfs/nfs-overview#windows-and-windows-server-versions

Yes, thank you.


I am making a

Hey @salil-naik  Sir,
As I'm too beginner in open source,
So I want to make blue box to gain hands on experience.

Hi @codeaholic-shub, please try to make some other. If you are interested in working on any other art, feel free to open a fresh issue.


[5.1] Unable to use foreign keys when using SQLite

A user has a collection of related items. For example books and authors. When a user deletes an author, the author's books should also be deleted.
SQLite databases have this behaviour disabled by default but in previous versions of Laravel (4.*) it was possible to precede requests with a raw SQL statement 'PRAGMA foreign_keys=1' to enable this behaviour. This statement does not work in the latest version of Laravel.
To verify this issue I created a suite of simple tests. These tests passed when running against a MySQL DB they also worked when ported back to Laravel 4.
Tl;dr Deleting parent objects does not cascade to children when using SQLite as a DB even when enabling Foreign Keys.

I'm not experiencing this problem with Laravel 5.1.16 (SQLite 3.7.7). I executed the PRAGMA foreign_keys = ON statement in AppServiceProvider#boot as shown here. When I deleted the parent in artisan tinker, the children were deleted.

I tried the same solution as suggested above in Laravel 5.2.39 and SQLite 3.13.0, it didn't work. I executed the PRAGMA foreign_keys = ON statement in AppServiceProvider#boot as shown here. It didn't work, the children were not deleted. Any help would be appreciated.

@narsariamanu I just came across this problem. Issuing
\DB::statement(\DB::raw('PRAGMA foreign_keys = ON;'));

directly before the delete or in AppServiceProvider#boot works perfectly for me.

I'm in Laravel 5.5 and with this solution I have a strange behaivor. When I try to ->attach() ONE model to another (many to many relationship): PDOException: SQLSTATE[HY000]: General error: 1 no such table: main.cv
cvs is my table and I'm trying
$this->cvs()->attach($cv);
It seems like are trying to get a table named 'main.cv' instead of 'cvs'
Someone has any similar problem?

@rajesh-parmar works fine with 5.7. As per the official documentation just use this:
\Schema::enableForeignKeyConstraints();


[Feature Request] Opening and close  programatically

Existing Component
Yes
Component Name
<el-select>
Description
Sometimes it's required to open and close <el-select> programmatically but this feature is absent. For example. Right now I want to make some dom manipulations on a dropdown menu while it's opened. But I on every click it's being closed. $event.preventDefault and $event.stopPropagation didn't help me. So, I would like to see this feature and if somebody has any advice on how can it be achieved right now, I will more then thankful.
Thank you very much.

+1