i think install serial port with electron but i found error "compiled against a different Node.js version"

Hello, I need to install serialport with electron, here is package.json
  "devDependencies": {
    "electron": "^9.2.0",
    "electron-rebuild": "^2.0.2"
  },
  "dependencies": {
    "bcrypt": "^5.0.0",
    "serialport": "^9.0.1"
  }

after i run npm install i found
><EMAIL_ADDRESS>install D:\GitHub\microBlock-IDE-offline\node_modules\@serialport\bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

><EMAIL_ADDRESS>install D:\GitHub\microBlock-IDE-offline\node_modules\bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[bcrypt] Success: "D:\GitHub\microBlock-IDE-offline\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node" is installed via remote

><EMAIL_ADDRESS>postinstall D:\GitHub\microBlock-IDE-offline\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall D:\GitHub\microBlock-IDE-offline\node_modules\electron
> node install.js

><EMAIL_ADDRESS>postinstall D:\GitHub\microBlock-IDE-offline\node_modules\serialport
> node thank-you.js

Thank you for using serialport!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/serialport/donate

><EMAIL_ADDRESS>install D:\GitHub\microBlock-IDE-offline
> electron-rebuild

√ Rebuild Complete
added 293 packages from 293 contributors and audited 293 packages in 17.247s
found 0 vulnerabilities

but after i run npm start i found
><EMAIL_ADDRESS>start D:\GitHub\microBlock-IDE-offline
> electron .

App threw an error during load
Error: The module<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 80. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:140:31)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at bindings (D:\GitHub\microBlock-IDE-offline\node_modules\bindings\bindings.js:112:48)
    at Object.<anonymous> (D:\GitHub\microBlock-IDE-offline\node_modules\@serialport\bindings\lib\win32.js:1:36)
Terminate batch job (Y/N)? ํ
Terminate batch job (Y/N)? Y

so i don't know why i found error and How to fixed it ?
Thanks.

OK, for fixed this i download bindings-v9.0.1-electron-v80-win32-x64.tar.gz then replace bindings.node at \node_modules\@serialport\bindings\build\Release

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

I also encountered this today and electron-rebuild fixed the issue for me.

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

if you see post me log, you will find electron-rebuild run by npm install

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

if you see post me log, you will found electron-rebuild run by npm install

Indeed, I did. However, sometimes it is not able to detect the electron version correctly plus may incorrectly determine that no rebuild is required. electron-rebuild --version x.y.z --force Bottom line: if the problem shows a mismatch in the NODE_MODULE_VERSION then the solution almost certainly involves recompiling the module.

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

if you see post me log, you will found electron-rebuild run by npm install

Indeed, I did. However, sometimes it is not able to detect the electron version correctly plus may incorrectly determine that no rebuild is required. electron-rebuild --version x.y.z --force Bottom line: if the problem shows a mismatch in the NODE_MODULE_VERSION then the solution almost certainly involves recompiling the module.

As you said for me npm install didn't solve the issue while electron-rebuild did.

Sounds like you were able to resolve the problem. Mind closing the issue? For most cases electron-rebuild should also do the trick.

if you see post me log, you will found electron-rebuild run by npm install

Indeed, I did. However, sometimes it is not able to detect the electron version correctly plus may incorrectly determine that no rebuild is required. electron-rebuild --version x.y.z --force Bottom line: if the problem shows a mismatch in the NODE_MODULE_VERSION then the solution almost certainly involves recompiling the module.

Thank you, i will try next times. and Thank you for work hard.


Documentation

Update docstrings and create sphinx docs for readthedocs.
Rendered documentation available at: https://scib.readthedocs.io/en/document/index.html

Thanks @lazappi for the in-depth feedback! I tried to address most points, but will keep standardising the label names and adding examples for a new PR.

Hey! This is looking really nice overall. I went through the readthedocs now and have quite a few comments, which can mostly be quite easily addressed though I think. The main thing is the organization of the table of contents with two "package:scib" bullet points. We just need to organize that a bit better. Everything else is a minor point on a function docstring.

[ ]Table of contents overview with 2 “package:scib:

[ ] probably good to remove the “Metrics” part from the first package:scib bullet point and then call the whole thing “Overview” or sth like that

[ ] Resources should also include the “scib” package
[ ] HVG intersect: add doctoring “legacy approach to HVG selection only using HVG intersections between all batches”* * [ ] Scran normalisation -> add ref?
[ ] read_conos -> needs a doctoring
[ ] Can we link to Scanpy documentation for Scanpy.tl.score_genes_cell_cycle and to scran documentation or CRAN repo for the scran ref?
[ ] Is it possible to have separate pages for the Package:scib submodules?
[ ] DESC, SAUCIE functions docstring needs a link to the original method (not just parameterisation taken from here link)
[ ] Can we add package versions to the integration methods? For scanVI the scvi-tools link is to a newer version of the package that is not compatible with our code I believe.
[ ] scvi url is to a fork of scvi-tools. Is this really the one we’re using?
[ ] Add to metrics overview that more info can be found in the paper (and link to it).
[ ] “Edit on Github” button not working?
[ ] Not sure scib.metrics.silhouette explanation works. 1 indicates distinct, compact clusters; 0 indicates overlapping clusters, -1 indicates core-periphery (non-cluster) structure
[ ] cLISI/iLISI graph metrics should have some more info: “Local Inverse Simpson’s Index metrics adapted from url to run on all types of integration outputs via shortest path-based distance computation on single-cell knn graphs.”
[ ] return value for cLISI_graph should be more specific: “median over what?”
[ ] cLISI “params adata” what is that?
[ ] graph connectivity docstring is wrong. It should say “corresponding to each cell type label is”. Also, can we put some newlines here to distinguish “final score”from “calculate per label”?
[ ] batch ASW: nice explanation, but let’s try to use maths rather than code here (can take this from paper)
[ ] PCR comparison: “R2Var value of PCR” is not clear. Can you just write “variance contribution”?
[ ] kBET: need to say this is computed per cell type and then averaged already in the description (not just in return value)
[ ] Can we add default values to the documentation? => mainly important for k0 in LISI scores
[ ] wow… metrics function docstrings are awesome!
[ ] for metrics call subfunctions, could you mention where to find info on the kwargs that are passed on?

Afaik, default values are already included in the autodoc. Or do you want more specific explanations on which values to use?

I didn't see any in the readthedocs link...

Afaik, default values are already included in the autodoc. Or do you want more specific explanations on which values to use?

I didn't see any in the readthedocs link...

Default values are shown in the function signature.

Ah, I was looking at the parameter explanation. Okay,all good. Thanks!


Adding the missing deprecated Javadoc tag in /introduction/UnitSystem.java file

Deprecated elements should have both the annotation and the Javadoc tag
Category: Maintainability
Deprecation should be marked with both the @Deprecated annotation and @deprecated Javadoc tag. The annotation enables tools such as IDEs to warn about referencing deprecated elements, and the tag can be used to explain when it was deprecated, why, and how references should be refactored.
As given in below image Javadoc has not been used along with @Deprecated annotation

Issue Solved by adding appropriate and valid Javadoc

Commit reference: e6fb04ca1ad20b902522f239bc5f39409fca9a67


Download failed

Unfortunately I can´t download version 1.3.
TrendMicro detects a virus. Version 1.1 and 1.2 seem to work though.
Virus: TSC_GENCLEAN
Action result: File cleaned
Infected file: pptx2h5p.UvajleGT.exe.part File path: C:\Users\bfritsch\Downloads
Scan engine: 7.500.1188
Virus pattern: 0.016.32
Any chance to get this fixed?
Thanks a lot,
best,
Bernie

Hi Bernie,
Thanks for reporting,i will look into that when i find the time. Seems to be a very special, though. Any chance you can try on a different machine/virus scanner?

Am 11.04.2024 um 20:51, Bernhard Fritsch  @.***>  schrieb:
Unfortunately I can´t download version 1.3.
TrendMicro detects a virus. Version 1.1 and 1.2 seem to work though.
Virus: TSC_GENCLEAN
Action result: File cleaned
Infected file: pptx2h5p.UvajleGT.exe.part File path: C:\Users\bfritsch\Downloads
Scan engine: 7.500.1188
Virus pattern: 0.016.32
Any chance to get this fixed?
Thanks a lot,
best,
Bernie
—
Reply to this email directly,  view it on GitHub, or   unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID:  @.***>

I am working on it, looking for other machines. Unfortunately it´s not so easy, I will report when I have found one.

Now I found an old machine with only the standard Windows virus scan options. I also got the warning about malware when downloading the .exe (in Firefox and Chrome), but this time I could ignore the warnings and got the tool running as it should (except missing audio files, but this is probably a complete different story).

updated toolchain again. Works on my machine. Please check and reopen this issue if necessary.


Prevent respawn anchors being used as anti-place

This hack prevents you from right clicking respawn anchors at all, this fix makes sure that the hack only works in the nether.

You're right, exploding anchors needs to be disabled, but it doesn't defeat the point of the hack as it would still work in the nether.


Binary detection issues on extensionless files

Check out the md, txt, and zip files in this repo.  They all contain the same content, but the zip file is presented as a binary would be.  That's not right!

Test comment creation webhook from command line


support  typescript 2.4+

Sounds like it's related to https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#typescript-24 without digging into it much.

Can I post PR ？

That would be amazing, thank you

answer front team of typescrpt: https://github.com/Microsoft/TypeScript/issues/22198

i post a pr to fix this: https://github.com/danielgerlag/workflow-es/pull/15 .

This should be resolved with the latest release
https://github.com/danielgerlag/workflow-es/releases/tag/2.1.0


Changing API version giving error

I just got warning from shopify to use the latest API versions which is the 2024-07 , So i just changed the API version but some of the APIs are not working, like addLineItemToCart  giving me this error
message: Field 'checkoutCreate' doesn't exist on type 'Mutation'
there are some more APIs which are giving error with this API version, would you please check and update it,  Thank you

It seems Shopify has depreciated the **checkout" module entirely from v2024-07. We need to use Cart in place of that.
I will be working on it

shopify_flutter v2.0.0 is released.
Changelog:

Depreciated ShopifyCheckout from Shopify API version 2024-07
Introduced ShopifyCart to perform cart operation
Introduced ShopifyOrder to access customer orders


Try playing HLS on desktop Safari through MediaSource, not src=

When hls manifests are routed through src=, it takes away the app's ability to select variant tracks and users' ability to select resolutions through the UI (Safari's native hls does not allow it).
We should see if we can route it through MediaSource on desktop Safari to keep this functionality.
I remember running into bugs in Safari's MediaSource implementation before we had the src= feature, but maybe things have changed since then.

Here's #2116 to look into using MediaSource on desktop Safari.

Note: for FairPlay is necessary use src=

Ahhh, that's probably why! @joeyparrish and I were trying to figure out why we use scrc= on desktop yesterday, but couldn't remember.

Would it be possible to add a configuration for this?

Yeah, I'll discuss with joey once he's back in office.
Essentially, if you're using FairPlay, you'll want Safari's native hls, right? And MediaSource otherwise?
Is there another use case I'm not thinking of?

Airplay only works with src= so I prefer a configuration where the application can decide what to use.
For FairPlay I always want to use src=.

@ismena, exactly. com.apple.fps.1_0 is established by Safari emitting the webkitneedkey event on the video element. Using MediaSource is possible with com.apple.fps.2_0 but Apple does not provide any publicly available documentation. If I'm not mistaken, Netflix serves FairPlay DASH with MediaSource.

This is an old PR now:
https://github.com/google/shaka-player/pull/1199
I was able to generate a license challenge with MSE-EME, but had an issue getting a response from my license server. I wasn't sure if it was an issue with our proxy or with the Fairplay server. Eventually I ran out of time and had to work on other things. Someone with some bandwidth could take up this work if they were interested.

Okay. So. Here's what seems to be happening on our side:
We'll try to connect with developers at Apple, see if we can get the documentation for supporting FairPlay via MediaSource. If that happens, we'll take on finishing @chrisfillmore's PR.
In the meantime, we'll work on adding the config suggested by @avelad.

A useNativeHlsOnSafari field has been added to streamingConfiguration.
Note that t's true by default and will need to be reconfigured to get the behavior change.


C# support for timeouts.

Deadline can now be added to each call.

This should be ready for review.

All of the C# tests passed, so I think it's green enough.


ModuleNotFoundError: No module named '_pywrap_tensorflow'

Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_pywrap_tensorflow', [dirname(file)])
File "C:\Program Files (x86)\Python37-32\lib\imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python_init_.py", line 66, in
from tensorflow.python import pywrap_tensorflow
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_helper
import _pywrap_tensorflow
ModuleNotFoundError: No module named '_pywrap_tensorflow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\sam.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\ptvsd_launcher.py", line 43, in
main(ptvsdArgs)
File "c:\Users\sam.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd_main_.py", line 432, in main
run()
File "c:\Users\sam.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd_main_.py", line 316, in run_file
runpy.run_path(target, run_name='main')
File "C:\Program Files (x86)\Python37-32\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Program Files (x86)\Python37-32\lib\runpy.py", line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Program Files (x86)\Python37-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "c:\Users\sam\Desktop\Image Classification.py", line 2, in
from keras.preprocessing.image import ImageDataGenerator
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras_init.py", line 3, in
from . import utils
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras\utils_init.py", line 6, in
from . import conv_utils
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras\backend_init_.py", line 1, in
from .load_backend import epsilon
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Program Files (x86)\Python37-32\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import *
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python_init_.py", line 72, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_pywrap_tensorflow', [dirname(file)])
File "C:\Program Files (x86)\Python37-32\lib\imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python_init_.py", line 66, in
from tensorflow.python import pywrap_tensorflow
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "C:\Program Files (x86)\Python37-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_helper
import _pywrap_tensorflow
ModuleNotFoundError: No module named '_pywrap_tensorflow'
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

This Error occurred when I am doing Image Classification.

@someshbhokre I believe this repo has only been tested on Mac and Ubuntu, the "C:" would indicate a windows install. If you have never tried an Ubuntu install could work for you.


Add Blink recipe

AppImages using ingredients built for Debian Stretch will only run on very new target systems (distributions). Please use ingredients for Ubuntu 14.04 or Debian Wheezy instead. Please see https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages#creating-appimages-that-are-compatible-with-many-systems for more information. Thanks.

Both Blink trusty and wheezy repos are very outdated (Blink 1.4.2 and 1.3.0 instead of 3.0.3), so maybe xenial would be ok?

AppImages that contain ingredients from xenial will not run on trusty.


Authentication

Hi
I did a bit of googling to discover that authenticated RTSP streams can be accessed with a modified url of form
RTSP_URL = f"rtsp://{USERNAME}:{PASSWORD}@<IP_ADDRESS>:554/11"

This could be included in your readme or just left here as an issue :-)

Good idea, I'll add to the readme.
--
Michael
On Sun, Jun 9, 2019 at 12:44 AM Robin<EMAIL_ADDRESS>wrote:

Hi
I did a bit of googling to discover that authenticated RTSP streams can be
accessed with a modified url of form
RTSP_URL = f"rtsp://{USERNAME}:{PASSWORD}@<IP_ADDRESS>:554/11"
This could be included in your readme or just left here as an issue :-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/statueofmike/rtsp/issues/10?email_source=notifications&email_token=AAIUMTWWYPHSG5OA25A62KTPZSDB5A5CNFSM4HWIVS5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYNMQRQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIUMTSWVBHGYIDM44I7YSLPZSDB5ANCNFSM4HWIVS5A
.


Improve id mapping

Use generics to better type id_mapper
allowd_item_ids option can be set globally

Codecov Report

Merging #87 (7feb5e9) into main (2b3328e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head 7feb5e9 differs from pull request most recent head 7599fc3. Consider uploading reports for the commit 7599fc3 to get more accurate results

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   94.64%   94.63%   -0.02%
==========================================
  Files          72       72
  Lines        3679     3690      +11
==========================================
+ Hits         3482     3492      +10
- Misses        197      198       +1


List the PackageIdentifier of the package to be added to automation
SWI-Prolog.SWI-Prolog
Details about the application
InstallerUrl for x64:
(Invoke-WebRequest -Uri 'https://www.swi-prolog.org/download/stable/bin/swipl-latest.x64.exe' -Method Head).BaseResponse.RequestMessage.RequestUri.AbsoluteUri

InstallerUrl for x86:
(Invoke-WebRequest -Uri 'https://www.swi-prolog.org/download/stable/bin/swipl-latest.x86.exe' -Method Head).BaseResponse.RequestMessage.RequestUri.AbsoluteUri

PackageVersion: From InstallerUrl

Can't we use anyone source and replace x64 with x86? Just wanted to know your opinion🤔

https://www.swi-prolog.org/download/stable/bin/
IMO you can do this safely.


Support user overrides in Run-Now requests.

Just wanted to mention that there's a subtlety in SingularityMesosTaskBuilder that might not be entirely obvious. When using our custom executor, the SingularityDeploy#user field controls which user the Mesos containerizer switches to before running the singularity-executor script, while the SingularityDeploy#executorData#user field controls which user our executor switches to before actually running the Task's configured command. Is this something we want to make clearer?
/cc @ssalinas @tpetr

Tested & working for both default and custom executors.


Set up GitHub Actions workflow for automatic release packaging

This is done when there is a GitHub Actions workflow for automatically building, packaging, and uploading the release files when a release is created on GitHub.

finally done after 7 attempts :^)


docs(reference): fix typo in unified-topology

Fixes typo in docs: ~psuedocode~ pseudocode

Thanks for the contribution @keirog !


Add support for Chinese (Simplified)

Progress:

[x] Translate
[ ] Test in game
Note:
Addons names are from @SlimefunGuguProject

Do you have discord? I saw that you commented on some commits but GitHub won't show them to me.

Do you have discord? I saw that you commented on some commits but GitHub won't show them to me.

I don't use Discord much because I'm a Chinese:(
tasks.register('copyJar', Copy) {
    from 'C:/Users/keena/Documents/GitHub/SlimefunEssentials/build/libs/Slimefun Essentials-2.4.jar'
    into 'C:/Users/keena/curseforge/minecraft/Instances/Testing (1.19.3)/mods'
    new File('C:/Users/keena/curseforge/minecraft/Instances/Testing (1.19.3)/config', "slimefun_essentials_restart.txt").text = ""
}

assemble.finalizedBy(copyJar)

These test codes should not be pushed to github, as this will cause it to fail to build on other machines (because gradle cannot find "C:/Users/keena/curseforge/minecraft/Instances/Testing (1.19.3)/mods" on other machines).

Ah, got it. Yeah I will remove it soon just doing it for testing purposes on my machine

There are some inconsistencies in the translation of category names, so I will correct them.


IOT project

hi , I was wondering if you have any image or video of your project performance in action?do you have lunch the IOT project

This project was an entrance in the 1st Annual ESP8266 Design Contest (link. There you can find some extra information and a link to an Imgur-album with a small video and some images.

thanks @Hopperpop


[!] Unable to find a specification for React-callinvoker depended upon by VisionCamera🐛

What's happening?
when we install the pod file its gave me error
[!] Unable to find a specification for React-callinvoker depended upon by VisionCamera
You have either:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Reproduceable Code
update react native version 0.69.12 to 0.72.0

Relevant log output
After pod install --repo-update command its shows same error

[!] Unable to find a specification for `React-callinvoker` depended upon by `VisionCamera`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Camera Device
install pod

Device
IPhone 13 prp
VisionCamera Version
3.1.0
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

this should be fixed with latest


What is the " authentication.setDetails(...) " in the custom Filter used for ?

Hi, I want to say this project is really good and it illuminates on how back-end Spring Security supports token based authentication.
But I want to ask, in the  "AuthenticationTokenProcessingFilter", there is a line:
authentication.setDetails(new WebAuthenticationDetailsSource().buildDetails(httpRequest));

It seems this line is to load the Session info for current request for the server side. However, as we all know, this project relies on token based authentication, and hence loading the session in the server is no use any more (I guess loading the session here is essential if we use the traditional session_id authentication).
And if I remove this line from the source and run this project, the authentication works normal, good as well.
So I just want to clarify the use of this line here.
The project is not updated for long, but I think this project illuminates much about token based authentication in Spring Java, which rare projects in Github cover and explain clearly like this one, so I am very thankful, and I am digging into this project.
Anyone helps on this? Thank you!

You are absolutely right. This is not needed here and I forgot to remove it.

Thanks.


zjquery: Eliminate css() helper.

We use css() pretty rarely in our codebase, and
it can sometimes be used mistakenly, when a better
alternative is to toggle a class for external css.
It's hard to support the full API in zjquery, so
we just punt and tell folks to create their own
stubs.
Most of the existing tests that were "fixed" here
weren't actually verifying the behavior of the css()
calls, and for those I just create no-op stubs.
In a few places I verify that css() was called as
expected.

Testing plan:
GIFs or screenshots:

Great, merged, thanks @showell!


#117

Multiple doctors are allowed to see and join the conversation with a same patient. The historical messages are showed with the doctor proper identification.


Can't seem to make it work

Hi, i would like to ask if someone could explain to me step by step how to set everything up because no matter how much i tried it just doesn't work. I use Unreal 4.25 just fyi.

Hey, I have the same problem....

嗨，我想问一下，是否有人能一步一步地向我解释如何安排好一切，因为不管我做了多少尝试，它都是行不通的。我用的是虚幻的4.25。

Hey, I have the same problem.Have you solved it..

嗨，我想问一下，是否有人能一步一步地向我解释如何安排好一切，因为不管我做了多少尝试，它都是行不通的。我用的是虚幻的4.25。

Hey, I have the same problem.Have you solved it..

Hey, not really I just give up with that.
On Mon, Jan 4, 2021, 8:52 PM YuDad<EMAIL_ADDRESS>wrote:

嗨，我想问一下，是否有人能一步一步地向我解释如何安排好一切，因为不管我做了多少尝试，它都是行不通的。我用的是虚幻的4.25。
Hey, I have the same problem.Have you solved it..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shanecolb/sphinx-ue4/issues/20#issuecomment-754333611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFSDBWOAEEXZHJZMZADORRDSYJWFVANCNFSM4TRHCXLA
.

Hey, not really I just give up with that.
On Mon, Jan 4, 2021, 8:52 PM YuDad<EMAIL_ADDRESS>wrote:

嗨，我想问一下，是否有人能一步一步地向我解释如何安排好一切，因为不管我做了多少尝试，它都是行不通的。我用的是虚幻的4.25。
Hey, I have the same problem.Have you solved it..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shanecolb/sphinx-ue4/issues/20#issuecomment-754333611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFSDBWOAEEXZHJZMZADORRDSYJWFVANCNFSM4TRHCXLA
.

I managed to upgrade this to 4.26.
HOWEVER,
There's an issue with ps_init when having it ingest the config.
`
uint32 FSpeechRecognitionWorker::Run() {
bool initComplete = false;
while (StopTaskCounter.GetValue() == 0) {

	// loop until we have initialised
	if (initRequired) {

		if(config)
			ps = ps_init(config); //This crashes.. even when setting the config

`

My blueprint setup when initializing the SpeechRecognizer Actor

https://github.com/CHADALAK1/sphinx-ue4
created a fork of a functional 4.26 version of this plug-in

@CHADALAK1 Hi!
Is there any way I can see a sample project for your 4.26 version?

@CHADALAK1 Thank you for your efforts，it can run in UE4.26 and 4.27，to make it work correctly，you should create a new object based on this component，Then hang the object under the character，This is the node of the object。

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


Added ability to customize Policy Statements, specifically for Storage

Start from the Use-case
Current the default policy statement for s3 Storage is ["s3:PutObject", "s3:GetObject", "s3:DeleteObject", "s3:ListBucket"].
Because this is hardcoded, additional policies cannot be added. For example, s3:PutObjectAcl is needed quite often in many applications when you have ACL's enabled and you need to make an object public, that is private by default.
Example Config
constructs:
  files:
    type: storage
    permissions:
      - s3:PutObject
      - s3:GetObject
      - s3:DeleteObject
      - s3:ListBucket
      - s3:PutObjectAcl

Implementation Idea
Add ability to add extra permissions to/or overwrite the policy statement for Storage.

Hi @JonErickson, thanks for reporting this isssue.
We missed a part of documentation regarding Lift features. You can actually already opt out of the permission generated by Lift using Lift-specific option automaticPermissions. This should cover your needs. I'll close this issue in the meantime. Feel free to open a new one if you feel like there is something missing to handle your use case. Thanks


manage MCP 1.0 acl lists with plumbery?

Hi there.
Apologies if this isn't the right place to ask general plumbery questions - couldn't find anywhere else specific though.
I'm looking to use plumbery to manage several networks running in a MCP 1 cloud (EU3 - Jersey) and one of the things I'd like it to do is manage the acl rules set on the firewalls. Is that possible with plumbery - I can't see anything specific in the documents or plumber-contrib addressing that?
A bonus question - I can see an ansible link in there. We use ansible pretty heavily for provisioning and managing some of our servers and wondering what points of integration plumbery / ansible have
Thanks in advance!
Andy

Hello Andy, thanks for reaching out. You are at at the right place to talk about plumbery.
At this stage plumbery is only adapted to MCP 2.0 resources. It cannot be used on MCP 1, unfortunately.
For teams who are using ansible, plumbery generates inventory of hosts out of the configuration files. In that case the workflow has two phases. 1- Edit configuration files and ask plumbery to deploy them, including servers bootstrapping. 2- Ask plumbery to generate an inventory file that can be used by ansible for anything else: system configuration, application deployment, etc.

If it helps at all, the Libcloud driver for Dimension Data still supports MCP 1.x (although not for long, I'm told).

Thanks for the replies.
From what I've been told by the other folks at Jersey Telecom where the Jersey EU3 install is running (I work for them, although I'm based in Melbourne) there's no intention of upgrading the deployment to MCP 2 at the moment, which is sad (well for me).
I spent a bit of time at the weekend reading the plumbery code and figured out how it was using libcloud so started to look at that. Using it to get a list of compute nodes appears to work with EU3 but I have tried the extra functionality for getting a list of firewall ACLs with  (which was one of the main things I wanted to manage). I'll give that a go.
I'm guessing the terraform driver is similar - MCP 2 only, or will be?
Thanks for your help!

Yes, sorry about that - Terraform provider is also MCP2 only :-/
Let me know if you have problems with Libcloud; I can probably ask around for sample code if you get stuck.
Otherwise if your client platform is Windows, I believe the Powershell module supports both MCP 1.0 and 2.0. And it’s pretty easy to script. If you’re interested, let me know and I’ll ask the team who maintain it for details.
On 28 Nov 2016, at 3:09 PM, andyhird <notifications<EMAIL_ADDRESS>wrote:
Thanks for the replies.
From what I've been told by the other folks at Jersey Telecom where the Jersey EU3 install is running (I work for them, although I'm based in Melbourne) there's no intention of upgrading the deployment to MCP 2 at the moment, which is sad (well for me).
I spent a bit of time at the weekend reading the plumbery code and figured out how it was using libcloud so started to look at that. Using it to get a list of compute nodes appears to work with EU3 but I have tried the extra functionality for getting a list of firewall ACLs with (which was one of the main things I wanted to manage). I'll give that a go.
I'm guessing the terraform driver is similar - MCP 2 only, or will be?
Thanks for your help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataCBUSydney/plumbery/issues/47#issuecomment-263179567, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezENe8stuTbnBNvqJIo4wy_j6EXRbks5rClPogaJpZM4K9F5L.
itevomcid

BTW, if you do wind up wanting to use Terraform for anything, you’ll find it here:
https://github.com/DimensionDataResearch/dd-cloud-compute-terraform#readme
For example, here’s how firewall rules work:
https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/blob/development/v1.0/docs/resource_types/firewall_rule.md

Andy, how have you solved your initial problem? Thanks for sharing


ESLint reconfiguration

Is your feature request related to a problem? Please describe.
Linting configuration to suit the project needs.
Describe the solution you'd like
Reconfigured eslintrc.json and corresponding code updates.

ESLint configurations have been updated.


Merge CSV input code

As TableMIner+ does not support direct import of CSV file, a merge with code enabling this functionality (but written atop the old version, before re-factoring) is necessary.

Done. (Forgot to put #2 in the commit, though.)


Additional keys for the "keymap for confirming a suggestion" (e.g. dot, open-bracket, colon, semicolon, comma)

I'm using Atom 0.184.0 with autocomplete-plus 2.2.0 mainly to edit TypeScript code (using atom-typescript 0.72.0) and the combination is fantastic.
But I often find myself wanting to confirm a suggestion by pressing the next character that would follow my identifier (a bit like in Visual Studio). But unlike Enter and Tab, the next character should also be output.
Examples:

If I'm trying to type ko.observable(true), the auto-complete pops up with the right suggestion by the time I've typed ko.o so I'd like to confirm the suggestion by pressing the "(" and the auto-complete would confirm the suggestion and output the suggestion plus the "(" so I'd end up with this ko.observable(
The same thing applies for accessing members where the next character would be a dot, like in window.document
ending a statement with a semicolon, like in var x = myObject;

It would be a brilliant feature to have, I'm just hoping it's possible.

This seems like a reasonable enhancement, but the devil is in the details of implementation. @benogle what are your thoughts?

:+1:  on this

OMG please yes :smile:. In implementing omnisharp-atom (C# language service for atom) we want to be able to commit the suggestion based on a few characters including:

.
space

It might even be good if there was a callback so the commit char could be determined based on the context.

It might even be good if there was a callback so the commit char could be determined based on the context.

This is an interesting idea. The provider could pass back a list of acceptChars with each suggestion.

Yikes. Manipulation of the keymap on each core:move-up / core:move-down... sounds a little interesting.

The provider could pass back a list of acceptChars with each suggestion.

How would this interact with the user's preferences for selection? This is – to some – a matter of religion. Anything that impedes customization of this would be potentially problematic.

a list of acceptChars with each suggestion

confirmChars might be more in-line with the command.

We dont need to change the keymap. There is an onWillChange event on the buffer. We could check the to-be-inserted text against the confirmChars and confirm if there is a match. Just thinking out loud. I havent spent any real thought on this, and I havent done any implementation experimentation.

There is an onWillChange event on the buffer. We could check the to-be-inserted text against the confirmChars and confirm if there is a match.

Seems like a reasonable approach. If onWillChange occurs prior to onDidChange (as I would assume) and cancellation of the character is supported, then that should work. It wouldn't cause any race condition with @hideSuggestionList, and consequently the selected item will remain selected for the duration of the onDidChange function, allowing inspection of the selected item for the confirmChars.

:+1:


Feature eessi

adding EESSI stack to ondemand and execute nodes

I would make this optional with a default to false in order to limit impacting any existing deployment.


Update Polish translation

Hi,
Sorry for not including this in the latest commit, I was definitely sleepy. So in Polish, the word "default" has diffrent spelling depending on the context and this code takes that in consideration. I quickly tested it on the latest 5.1.1 release and it works as intended, ie. doesn't break other languages and displays proper spelling in Polish. I added small changes to other phrases by the way. Of course feel free to modify the code to best suit your style and needs or if it breaks something I don't know about.

No problem, it's good to have a native speaker, Google translate wouldn't pick up on these nuances.
From memory I think the default key (without a number) may be used elsewhere for the category override. If so I'll change the default_X numbers and add it to the next release.

Thanks for the new translations.
I made a small change to the language keys so I can find it easier in the code.
The new VPK can be downloaded here if you want it.
https://github.com/jimbob4000/RetroFlow-Launcher/releases/tag/Nightly


Revert "Update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.18.0"

Reverts Fraunhofer-AISEC/cpg#282
Fixes #304

We should to a hot fix to 3.3.1 after this @konradweiss

We should to a hot fix to 3.3.1 after this @konradweiss


Add handling of groups

This is the implementation of groups handler, that is discussed in #81.

This is the first try to implement groups handling. Currently the documentation is missing.

Some high-level thoughts:
When using groups, it seems redundant to specify groups: as the dictionary key at the top level. Right now, Dotbot requires that the config file is a list of tasks. So I think that means that we can implement this functionality in a backwards-compatible way by assigning an interpretation to the top-level being a dictionary, and have it be the group names. So this is basically what you have, except omitting the outer "groups:". Was there a particular reason you had it at the top level?
The overloading of self._only might warrant a bit more thought. Right now, it's used to run a subset of plugins (e.g. just link and not shell). Making it also select groups seems a bit tricky. E.g. what would happen if someone used "link" as a group name? It's probably unlikely that someone would do that, but it seems worth thinking about. Should we add a new CLI flag for selecting groups? (e.g. --groups group [...]) Or is it better to keep the CLI flag set simpler?

Was there a particular reason you had it at the top level?
The reason was that I assumed that use only the list / dict to differentiate between groups and tasks could prove inadequate in the future. I think I was too careful and will change it according to your suggestion.

Should we add a new CLI flag for selecting groups? (e.g. --groups group [...]) Or is it better to keep the CLI flag set simpler?
That a good point. If we add two new flags: --group-only group [...] and --group-except group [...]. IMO it would be simple and understandable. A combination with the --only task [...] and / or --except task [...] would then also be possible and would enable better selectability.

Do you think both only and except for group are necessary? For the plugins I think it's nice to sometimes use except (e.g. to disable the shell plugin, which can sometimes call slow scripts). I'm not sure exactly how people will end up using groups. Would just --group to select a subset of groups be enough?

Do you think both only and except for group are necessary?
Yes, I need the except of group/-s for my tests. My use-case in detail is as follows:
I use Arch-Linux as distribution. Arch-Linux has floating release and the maintainer release every month a new version of installation image. Me and my friend using a installation script arch-install that installs, configs and setup the Arch-Linux corresponding my configuration file.
One step of this script is download, setup and installs the dotfiles using dotbot. Nearly all my dotfiles are public accessible on my dotfile-repo. Except the key-files and credentials-files, they are in a separate git-repo. This private-files-repo is only reachable on my LAN at home, or on the work LAN for the key-files for work-environment. While real installation all necessary repos and thus files are available and reachable.
To determine if something has been changed in Arch-Linux that breaks the installation or setup of the environment, we run the installation script for each configuration file on a VM once a month and check the result. This VM has no access to my private repos, neither on the home network nor on the network at work.
My solution, to avoid false positive while test is to divide the dotfiles in two groups main and keys. While real installation both groups will be processed, but while running the tests I would add --group-except keys to install execution and except the installation of the unreachable key-files. So I would continue to test the installation of most dotfiles and would not get an error due to the inaccessible key files.
That is my use-case for --group-except :) To be honest, I joined conversation #81 to cover exactly this use case.

Yes, that's right, you could also cover my use case. I didn't know it, thanks for the hint! Hmm, then I'm just asking if the groups are still necessary at all. Because the profile files contain nothing but groups. The implementation of the groups would only take it in core, which is nice but not necessary.

Maybe you could vote on it? Or you decide that this feature is not essentially necessary. I think it would be an acceptable decision because there is a solution to Issue #81 in terms of groups.

Maybe you could vote on it? Or you decide that this feature is not essentially necessary. I think it would be an acceptable decision because there is a solution to Issue #81 in terms of groups.

Sorry, to close the discussion was not my intention.

I implemented --groups for process only specified groups.
In addition, I tested both variants for my use case. In my view, both solutions are equivalent.
The implementation in dotbot of course offers the comfort that you don't have to change anything in the install script for the use case I have described above. However, I am not sure how many of the dotbot users actually have this or a similar use case. We would therefore add complexity into dotbot that is actually not necessary for most. This has the disadvantages that the dotbot source code becomes a little more complex and thus the maintainability becomes more difficult.
The implementation in install covers the use case just as well. The disadvantage is that every user has to implement and maintain it themselves.
I would prefer the script solution for my use case. However, there may be other use cases where the implementation in dotbot is better. So I stick to my statement beforehand: "I rely on your decision as maintainer" .
If you decide to take over, I would expand the documentation accordingly. If not, let me know and I'll close this PR.

Thank you for taking the time to iterate on this. It's a difficult decision, but for now, I think it's better to stick with the script solution.
I thought of another complexity related to this being implemented in Dotbot: once the top-level becomes a dictionary rather than an array, ordering is no longer guaranteed. Dotbot could end up executing the groups of commands "out of order" with respect to how they appear in the file, which could confuse users. We could work around this with a slightly hacky approach of having PyYAML read into an OrderedDict, but that doesn't seem ideal; we'd need an analogous hack for JSON, and having a nonstandard interpretation of YAML/JSON (with dictionaries being ordered) seems non-ideal. Seems like it's a limitation of implementing a DSL in YAML, that as it gets more complicated, things can get messy/confusing...
As I mentioned over in another issue (https://github.com/anishathalye/dotbot/issues/233#issuecomment-669596520), I'm going to try to spend some time thinking over all the Dotbot issues, see how people use Dotbot in the wild, and see if we can come up with some clean solutions to these problems without having to worry about backwards compatibility. I'll make sure to think about groups of tasks while doing that; and this iteration and discussion has definitely been helpful to my understanding of the issue, so thank you for that :)

Thank you for your time, it also helped me a lot to understand dotbot better and to use it more effectively.


Seismic S-wave velocity correction for (shallow depth) porosity

Ths routine is based on the equilibrium geometry model for the solid skeleton of Takei et al. (1998) and the porosity-depth empirical relationship of Chen et al. (2020)

@NicolasRiel  This routine is quite expensive in computational time and memory allocations. The following version uses fastpow() for floating point exponentials ,and tuples instead of arrays:

function porosity_correction_opt(
    Kb_S::_T, Ks_S::_T, ρf::_T, ρS::_T, Vs0::_T, depth::_T, α::_T
) where {_T<:Number}
    # Empirical porosity-depth model for continental crust after Chen et al., 2020 (hydrogeology journal)
    m = 0.071
    n = 5.989
    ϕ0 = 0.474

    ϕ = ϕ0 / fastpow((1.0+depth*m), n)

    # Takei 1998: Approximation Formulae for Bulk and Shear Moduli of Isotropic Solid Skeleton
    ν = 0.25 # poisson ratio

    # Tuples are a better option than standard arrays for matrices/vectors of known size at compile time
    aij = (
        0.318, 6.780, 57.560,  0.182,
        0.164, 4.290, 26.658,  0.464,
        1.549, 4.814, 8.777, -0.290,
    )
    bij = (
        -0.3238, 0.2341,
        -0.1819, 0.5103
    )

    # Lines below are equivalent to:
    # a = zeros(3)
    # for i in 1:3
    #     a[i] =
    #         aij[i, 1] * exp(aij[i, 2] * (ν - 0.25) + aij[i, 3] * (ν - 0.25)^3) + aij[i, 4]
    # end
    a = ntuple(Val(3)) do i
        idx = 4*i-3 # linear offset index
        aij[idx] * exp(aij[idx+1] * (ν - 0.25) + aij[idx+2] * (ν - 0.25)^3) + aij[idx+3]
    end

    # Lines below are equivalent to:
    # b = zeros(2)
    # for i in 1:2
    #     b[i] = bij[i, 1] * ν + bij[i, 2]
    # end
    b = ntuple(Val(2)) do i
        idx = 2*i-1 # linear offset index
        bij[idx] * ν + bij[idx+1]
    end

    nk = a[1] * α + a[2] * (1.0 - α) + a[3] * α * (1.0 - α) * (0.5 - α)
    nμ = b[1] * α + b[2] * (1.0 - α)

    # computation of the bulk modulus ratio of the skeletal framework over the solid phase
    ksk_k = fastpow(α, nk)
    # computation of the shear modulus ratio of the skeletal framework over the solid phase
    μsk_μ = fastpow(α, nμ)

    # apply correction for the melt fraction to adiabatic bulk and shear modulii
    ksk = ksk_k * Kb_S
    μsk = μsk_μ * Ks_S

    kb = (1.0 - ϕ) * ksk
    μ = (1.0 - ϕ) * μsk

    # ratio of skeleton adiabatic bulk modulus over solid phase bulk modulus
    ΛK = Kb_S / kb

    # ratio of skeleton shear modulus over solid phase shear modulus
    ΛG = Ks_S / μ

    ΔVs = (ΛG - (1.0 - ρf / ρS)) * (ϕ * 0.5)

    # get the correction values
    Vs_cor = Vs0 - Vs0 * ΔVs

    return Vs_cor
end

@btime porosity_correction($94.5, $61.0, $1000.0, $3198.0, $4.36, $0.25, $0.25) # 566.679 ns (6 allocations: 576 bytes)
@btime porosity_correction($94.5, $61.0, $1000.0, $3198.0, $4.36, $0.25, $0.25) #  52.811 ns (0 allocations: 0 bytes)

Vs_cor1 = foo(94.5, 61.0, 1000.0, 3198.0, 4.36, 0.25, 0.25)
Vs_cor2 = bar(94.5, 61.0, 1000.0, 3198.0, 4.36, 0.25, 0.25)

Vs_cor1 ≈ Vs_cor2 # true

As you can see memory allocations are gone and it's >10x times faster. Do you mind updating this function, as well as melt_correction(), to use this optimised version?

actually these are all good points. Can we reopen the PR, or would we need to do a new one to add this?

I think we need a new PR if this one has been already merged


Change velero config to use CSI and data movement

Proposed feature
Change velero config to use CSI and data movement.
Requires v1.13.1 and this issue: https://github.com/elastisys/compliantkubernetes-apps/issues/2075
As well as snapshot controller from Kubespray or CAPI
Make sure its configurable so that we can switch slowly, and so that we can use both old and new backup solution for some time.
Arch topic for context: https://github.com/elastisys/ck8s-arch/issues/151
Proposed alternatives
No response
Additional context
No response
Definition of done

[ ] CSI and volume snapshot data movement enabled
[ ] Gatekeeper mutations for helper pods

This PR will add templating for switching uploader type. Part of this issue should be to update the config and migrate from restic to kopia.


cardinality requires dataType

[Enter feedback here]
The document mentions about cardinality however, if you set it as Many you need dataType. However, there is no mention about it.

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

ID: a109c38e-b241-c9a2-7ef8-2e828659191c
Version Independent ID: 69842b0f-607f-5cf5-6e1a-4d312c98100c
Content: Azure Event Hubs trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-hubs-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Thank you @mike-urnun-msft
I noticed that the dataType required for the Java at least. The behavior of cardinality is not only for javascript but non-C# language.


1.20.5 support

I think I like this mod a little too much

Updates Loom version to one compatible with 1.20.5
Updates the gradle wrapper to one that successfully builds with new loom version
Bumps depends version numbers

Requires Java 21 to compile (since 1.20.5 hopped to it). Kotlin target JVM is still set to 17 in build.gradle because it complains if its 21 - I'm unsure if this is easily fixable or not but it works ingame so :woman_shrugging:

I am still inexperienced with Java and Kotlin, I probably forgot or missed some stuff or potentially did something bad, so feel free to make any edits as needed ^.^

1.20.6 is a hotfix for a single bug, this should work on it too


Schema.org errors

Hello. There are several errors after testing by Google Structured data testing tool.

I don't know why, but my Tool says that logo is wrong.

2) Incorrect image's url
3) There is no mainEntityOfPage tag.
How to solve this problems?
Thank you.

Hello,
I'm afraid I cannot reproduce these errors in my test website. Have you set the URL of the logo in the 'Default Image' box in the Add-meta-tags settings?
I also tried to check your web site using Google's Structured Data Testing tool, but no errors were reported. From what I can tell you have enabled a different plugin at this moment.
If possible, please activate Add-Meta-Tags only and re-check. Also, please let me know so I can check the site.
George

It has started showing me these errors. I'm working on a fix.

Ok, what I did to solve: in my logo I created ImageObject (with name, url, etc.). I change urls of my pictures to contentUrl value. "mainEntityOfPage" - I added headline inside this attribute. And it works good

Hi, the resolution of the logo issue is correct. I'll need to think a little about the mainEntityOfPage. I'll keep you updated.

They seem to have left the validation of mainEntityOfPage a bit vague, but I think the URL of the page is a better value.

Ok, but what is wrong with images' urls? May be google think, that attachment page is like normal, regular site page?

I also just fixed this error with image urls. The error message is a little confusing. I used the URL to the image file for the url attribute and the permalink of the attachment page in a sameAs attribute.

Needs more work than I had initially thought... I might roll out a beta release. Would you be interested?

Ok, I would try it

Hi @TheSDTM
v2.10.1 has been released. All the aforementioned validation errors should now be fixed. There are still some errors about missing properties on embedded media, like youtube videos, but this is because WordPress doesn't stored much information about oEmbeds. AMT does not make any HTTP requests to fetch any such data, so these missing properties on embedded media will be there.
If you have updated, I'd appreciate some feedback.
Kind Regards,
George

Ok, i will update it soon, and I will check website pages and create report for you

Hi, 2.10.1 seems like a good release. If you notice anything that does not work as expected, please feel free to add more comments here.
George


Unexpected identifier

Hi,
I have a quick question. I was following your tutorial and when I add following code (Commit 5-2
Wait on the post subscription.):
data: function() { return Posts.findOne(this.params._id); }
It says:
Your app is crashing. Here's the latest log.
Errors prevented startup:
While building the application:
lib/router.js:10:4: Unexpected identifier
Your application has errors. Waiting for file change.
Does anyone know what is causing this?
Your help would be really appreciated.

oh it's working now. I will close this issue.


PHP Warning: Cannot load module 'http' because required module 'propro' is not loaded in Unknown on line 0

chilio/laravel-dusk-ci:php-7.4
PHP Warning: Cannot load module 'http' because required module 'propro' is not loaded in Unknown on line 0

Since version 2 PECL HTTP requires modules raphf and propro to be loaded before http.

Same issue

I've solved this issue:
apt update
apt-get install -y php-propro

@volovodenko thanks for the tip, but there was a directory missing also.
php7.4 and latest are already working, others are coming soon...

@volovodenko please let me know if this was solved in your case

Solved


chore(refactor): make common & dynamic packages readable

Several naming and structural changes have been done to make the code simple to maintain
In addition, this PR has changes to include omitempty tags to selector schema fields
closes https://github.com/AmitKumarDas/metac/issues/126
closes https://github.com/AmitKumarDas/metac/issues/115
Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

@grzesuav I have reworked based on your reviews. However, I have not done any changes to apiVersion as mentioned in one of the comments.

:tada: This PR is included in version 0.2.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add example output

Example outputs can be a good way for new comers to the codebase to
quickly see what does the tool look like and how it can be used.

dependent on #1


Getting an error memory

I'm on a windows 10, I logged in the account and am getting this error:

I assume the dependencies in the README are for building the app, or are they also required for running it?

Yes, that is correct. I will try to add a logging feature to find the source of the issue.

@Doomwhite I uploaded the new version. When running the app, use the "-logging" parameter and the app will dump a log on your desktop.
It is also possible the bug has been fixed in this version, depending on what causes.
Please let me know If the issue persists and provide the log if so.

Alright. Since I can't pinpoint the issue. Here is another version of the application:
https://drive.google.com/file/d/1eXONd-ROzJzmUXzQTsy91h3K3tTby1vJ/view?usp=sharing
This will have additional information in the log.

Ok, it looks like the error occurs whenever I click in the home section.
iBroadcast Log.txt

Also "Your playlists" maybe something to do with the loading of the items?

Were you able to use and interact with the app? Or did It crash when opening?

I think the issue could be fixed now, but just in case I added some extra logging information. Please try this new version
https://drive.google.com/file/d/1PS3tJi8aetvt1uQEfG2KZe2IfiSjgqPD/view?usp=sharing

Were you able to use and interact with the app? Or did It crash when opening?

Yeah, if I click fast in the other sections, I can, I tried your version, same problem in the home.
iBroadcast Log.txt

I can't seem to fix the Issue as It's either a problem with your account or your PC.
Since I can't reproduce the problem on my own machine, It's virtually impossible to diagnose the issue.
I can only see 2 ways to fix the issue. Either you install Delphi 11 on your device and try to diagnose the issue yourself. Or, If you are comfortable with this approach. You could give me access to your library by uploading the %localappdata%\CodrutSoftware\Cods iBroadcast\login.token file. The token is read-only. The app can't edit the library, only play music and view It. But I understand If you are not comfortable with this approach.

I can't seem to fix the Issue as It's either a problem with your account or your PC. Since I can't reproduce the problem on my own machine, It's virtually impossible to diagnose the issue.
I can only see 2 ways to fix the issue. Either you install Delphi 11 on your device and try to diagnose the issue yourself. Or, If you are comfortable with this. You could give me access to your library by uploading the %localappdata%\CodrutSoftware\Cods iBroadcast\login.token file. The token is read-only. The app can't edit the library, only play music and view It. But I understand If you are not comfortable with this approach.
Add me on discord: DooMWhite#7653

@Doomwhite I sent It.

The issue, which was caused by a access violation in the playlist length calculation, has been fixed in iBroadcast for Windows 1.4.9

The issue, which was caused by a access violation in the playlist length calculation, has been fixed in iBroadcast for Windows 1.4.9


Is it possible using Needle?

I have to modify the incoming request  and forwarding to another URL. After this point, client has to see the new URL in his address bar and HTML content of the new URL.
For instance adding an updating date to the request body like the following;

Would it be possible?
ps: The scenairo completely fictitious. I need to use other important data instead of updating date that are should stay as secret. This operations can be performed on ASPX (by using hiddenfields) or JSP pages that are run on the server side. But Node.js is different.

Of course this is possible. I'm not sure how this fits as an "issue" in the needle repo, though. I'm sorry but I'm closing it.


Dockerfile Alpine version => 3.14.3

This commit fixes Issue #98 on my device, however I have not tested this on other systems.

Fixed via #106


Changes by create-pull-request action

Automated changes by create-pull-request GitHub action

Codecov Report

Merging #9 (09457d1) into main (96abf72) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          287       287
=========================================
  Hits           287       287

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


Use function state for async functions

This comes after #1781. Only look at the last two commits.

@johnjbarton I'm trying to keep the commits logically independent.

I'm closing the other PR in favor of this one.

This now has 3 clean commits.

LGTM


Added JSON response type.

Based on #114

Should I fix it and write my own format_timedelta implementation or we can add babel as dependency?

@mullakhmetov it is possible to not use babel?

It's hard to get so natural humanize time delta format which babel provides. It allows to round delta, supports locales, etc.:
`>>>format_timedelta(timedelta(days=1, hours=22))
u'2 days'

format_timedelta(timedelta(minutes=60), locale='ES_es')
1 hora
format_timedelta(timedelta(hours=1), add_direction=True)
u'in 1 hour''
format_timedelta(timedelta(hours=3), format='narrow', locale='en')
u'3h'`
Also I'd like to add feature allows to get lock left time also in natural format:
"Account locked: too many login attempts. Please try again later in an hour."
Babel will help me.

I would like more feedback from @django-pci/owners

I can refuse to use babel for humanize delta in response and replace it by coolof time in iso format like "P4DT12H30M17S" or whatever you want.

@mullakhmetov good idea, please do it. Also please check the travis build passes.

Beautiful. Thanks

There is actually a problem where view logic is still executed despite lockout, and I have test to prove it.


Adding a vuex store using a module

Is there a way to add a vuex store in "Modules mode" using Nuxt modules?
I couldn't find any info in the documentation or in the source of the community modules.

Hi,
You can add a vuex store with a plugin and use addPlugin().
We are still working on the documentation. (WIP)

Hi @sebastianmacias @alexchopin. I’m building an several separate nuxt.js projects and I want to package my vuex module for it to be used in all of these nuxt.js projects, so they all start with the same vuex state, mutations, actions, etc.
I’ve been looking for a way to do this and found my way to this issue. Are there any progress in adding the documentation you mentioned? OR is there any way I can help with this? OR is there another way to achieve what I want to do? Thanks!

@chihaoyo I stumbled across this thread and am looking to do similar a thing at the moment myself. I'm still at the early stages of my research but I've found looking at the nuxt-community modules are a very helpful guide. Specifically the axios one https://github.com/nuxt-community/axios-module/tree/master/lib
You'll see in there the module adds a plugin. In plugins, the context makes the store available including getters, dispatch etc.
This guided me to the solution of creating the store from a plugin:
https://github.com/nuxt-community/modules/issues/97
Which references the auth module:
https://github.com/nuxt-community/auth-module
This line registers a new vuex store module:
https://github.com/nuxt-community/auth-module/blob/dev/lib/core/storage.js#L87
I'm hoping to put all of this into practice in my own modules too, but my advice with reusable modules is to follow @pi0 and the nuxt-community modules - his code and these modules have taught me more than any docs could IMO.
Sorry if this is a too late - but I hope it helps.


Unable to use require() to write well-factored specs

Steps to reproduce:

clone repo
add a simple module with an export
try to require it in a *_spec.js file

ie. test/unit/controllers/something.js
module.exports = "Hello!";

ie. test/unit/controllers/example_spec.js
/*global angular */

'use strict';

var test = require("./something");
...

gulp unit produces the following output:
svetzal$ gulp unit
[17:20:14] Requiring external module babel-core/register
[17:20:15] Using gulpfile ~/Work/Client/feed_and_play/tmp/angularjs-gulp-browserify-boilerplate/gulpfile.babel.js
[17:20:16] Starting 'views'...
[17:20:16] Finished 'views' after 46 ms
[17:20:16] Starting 'unit'...
[17:20:16] Finished 'unit' after 516 ms
16 12 2015 17:20:19.243:INFO [framework.browserify]: bundle built
16 12 2015 17:20:19.262:INFO [karma]: Karma v0.13.15 server started at http://localhost:9876/__karma__/
16 12 2015 17:20:19.266:INFO [launcher]: Starting browser Chrome
16 12 2015 17:20:20.105:INFO [Chrome 47.0.2526 (Mac OS X 10.11.2)]: Connected on socket FUCparIMXdkPKz_PAAAA with id 27915101
Chrome 47.0.2526 (Mac OS X 10.11.2) ERROR
  Uncaught Error: Cannot find module './something'
  at http://localhost:9876/__karma__/var/folders/bm/90zpng692059hyc9w1d6pjdr0000gn/T/0bd4998a02804c6b80f51eb54eac5da0.browserify:1 <- node_modules/karma-browserify/node_modules/browser-pack/_prelude.js:1:0

Is there another recommended way you have for making specs DRY? Am I just missing some fanciness that should be obvious?

Good catch! This is because test files weren't being preprocessed by Browserify. Fixed in #129


Merges Master to Live. See commits for details.

Docs Build status updates of commit 2d52589:
:clock10: Full build: the average full build time is 12 min(s) 26 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 2d52589:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectPermissionMode.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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

Docs Build status updates of commit b334941:
:clock10: Full build: the average full build time is 12 min(s) 26 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit b334941:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProjectPermissionMode.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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

  Invalid base branch - PR blocked
The target (base) branch - live - you're trying to merge this pull request into only accepts pull requests from the main branch.
If you're trying to publish changes you've made to the live site, you must first merge this pull request into the main branch. After this pull request is merged into the main branch, your changes will be published live at the next scheduled publish time. For information about the Marvel publishing process, see Marvel PubOps publishing process.
To change the target branch from live to main, use the following steps:

Select the Edit button next to the pull request title.

Select base:live.

In the list that appears, select main.

Select Change base.

NOTE Clicking Change base is safe. The message is specific to more complex branching methods that aren't typically used in Marvel repos. Even with those methods, this message only applies to how commits are tracked in the repo's history. There is no risk of data loss.


Insufficient Explanation in Section F

Section F. Variable Expansion is demonstrating the difference when  setvar MyVar $(tablename) is not run vs is run.
But it is lacking explanation of why the setvar version causes "'tablename' scripting variable not defined.", which makes it difficult for the reader to gain transferrable knowledge.
Is the setvar line overwriting the $tablename variable that the SELECT Col1 FROM dbo.VariableTest WHERE Col1 = '$(tablename)'; command is using?
From my understanding of setvar X Y syntax, Y is always simply treated as a number or string, which means it is not a variable and should not have the capability to mask some other variable?
Also, why did $(tablename) in SELECT Col1 FROM dbo.VariableTest WHERE Col1 = '$(tablename)'; go from being a string literal data value that can be queried successfully in the first example without setvar, but suddenly become a scripting variable (with not defined error) in the second example with setvar?
Separate issue: Typo at This calls the init.sql file when sqlcmd is started. The next line show Sqlcmd instead of sqlcmd, S is capitalized and not a legitimate command.

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

ID: 18f5f9d0-f5c3-a8c8-7800-823a95c1ea07
Version Independent ID: 9b623a77-8813-88f4-e78f-e6a63dd87709
Content: Use sqlcmd with Scripting Variables - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/scripting/sqlcmd-use-with-scripting-variables.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@gitgithan -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- please look into this issue.

@williamadba Thanks for your explanation. My issue wasn't with the missing semicolon before setvar in my first question.
I am still not understanding what is what at what point in time and the order of evaluations.
Here's my thought process through the entire section F.
Could you point out where it is incorrect? Maybe i'm already having misconceptions from step 1.
In the steps below i leave out the example with N'' strings assuming they're not relevant to my problem.

INSERT INTO AdventureWorks2012.dbo.VariableTest(Col1)
VALUES('$(tablename)');
GO

$(tablename) is a literal string that will never be evaluated/substituted to anything else. This string is inserted into the table

SELECT Col1 FROM dbo.VariableTest WHERE Col1 = '$(tablename)';
Again in the WHERE clause, $(tablename) is a literal string that matches the same string inserted in step 1, so that row shows up in result.

:setvar MyVar $(tablename)
MyVar is like a dictionary key and $(tablename) the value. Again here $(tablename) is a literal string that will never be evaluated/substituted to anything else. This step allows later steps in the script to reference $(MyVar) to get the literal string value of $(tablename), but going the other direction (referencing $tablename to get MyVar) is not possible.

SELECT Col1 FROM dbo.VariableTest WHERE Col1 = '$(tablename)';
Here's where i get completely lost. These statements return the row and also return the message "'tablename' scripting variable not defined.".  Generally, how can program ever run successfully and error (assuming uncaught) simultaneously like this?
The query in step 4 here is exactly the same as step 2, both trying to use a literal string $(tablename) but how does this one get an extra error message?
At which point and how/why did $(tablename) suddenly change from a literal string that is interpreted as is and which matches the table contents inserted in step 1, to a scripting variable that has to resolve to some other contents? If it was the :setvar that did this, shouldn't the "not defined" error come up already when running :setvar in step 3 because it should substitute $(tablename) then already, or is there some lazy evaluation going on?

SELECT Col1 FROM dbo.VariableTest WHERE Col1 = '$(MyVar)';
Here $(MyVar) is not a literal string but got subsituted to become the value of the :setvar operation in step 3. The value is the $(tablename) literal string, so after substitution, it is as if doing the query in step 2.

In summary, my confusion here comes from not knowing how can $(tablename) be a literal string in step 2 and 5, but be a substituted variable in step 4, and why '$(MyVar)' in the WHERE clause of step 5 never behaves like a literal string but gets substituted only, even though it has exactly the same syntax as the $(tablename) appearing in step 2.
I feel there's definitely explanation missing on the mechanism behind this, and step 3 is key.

Thanks @gitgithan I understand your issue better now. A couple things.
With or without the variable MyVar being set or existing, the same behavior occurs: the variable is not found, so is interpreted as a string literal. This is the default behavior without the -b sqlcmd setting. With -b set, the variable-related failure stops the SQLCMD process after the variable error and does not also return the resultset.
At no point is the variable value $(tablename) shifting to/from a variable name.
I see now how Example F is misleading: "At the sqlcmd prompt, when no variable is set equal to $(tablename), the following statements return the row." is not accurate, sqlcmd should result in a variable error each time. I will re-examine this sample exercise and see how it can be improved to better demonstrate, a doc update will occur.
Thank you very much for your time and patience spent on this, and I apologize for the delay in getting to your Issue. Your suggestions help improve our documentation.


[containerapp] Fix #28226: az containerapp job update should update existing scale rules if -scale-rule-name is passed

Related command
az containerapp job update
Description
Fix for behavior - https://github.com/Azure/azure-cli/issues/28226
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.

Hi @zhoxing-ms
Can you help to review this PR? Thanks.

Hi @anandanthony
Please rerun all tests for az containerapp job update to avoid regression.

Please don't merge this PR until I approve again.

Hi @anandanthony Please rerun all tests for az containerapp job update to avoid regression.

In the test - test_containerappjob_event_triggered_crud, I have covered all scenarios, wherein we update current scale rule, add scale rule and validate scale properties.


Logo for Header

Created logo for three different screen sizes. I will modify this if we have more time later, but for now it works as a link back to the home page.


Add video recording in browser

Resolves #629 by adding video recording to the browser. Includes bug fixes to previously merged audio recording in the browser.

Two issues I corrected with this pull request:

Debug libraries
Hard coded HTML identifiers

The debug libraries were added in the index.html. In development, we turn those on, but make sure we revert to compressed libraries before pushing to repo.
It is not a good practice to use hard coded HTML identifiers. They must be unique within a page. If a module is re-used (for example, if two editors were opened at the same time), then the latest instance would win and undesired interactions between the two editors would be observed. Instead, use class names and anchor the search on a known element.
If an identifier is what you need, then generate a random one ($n2.getUniqueId()) to avoid collision. Save the identifier in a Javascript instance and use it to discover the desired element.

JP,
Thanks for letting me know. I have multiple notes to not commit the debug libraries, guess I messed that one up. On the hard coded IDs, yep I’ve been bitten before and surprised I missed that, thanks for fixing it up!
Brendan

On Jul 13, 2017, at 12:47 PM, Jean-Pierre Fiset<EMAIL_ADDRESS>wrote:
Two issues I corrected with this pull request:
Debug libraries
Hard coded HTML identifiers
The debug libraries were added in the index.html. In development, we turn those on, but make sure we revert to compressed libraries before pushing to repo.
It is not a good practice to use hard coded HTML identifiers. They must be unique within a page. If a module is re-used (for example, if two editors were opened at the same time), then the latest instance would win and undesired interactions between the two editors would be observed. Instead, use class names and anchor the search on a known element.
If an identifier is what you need, then generate a random one ($n2.getUniqueId()) to avoid collision. Save the identifier in a Javascript instance and use it to discover the desired element.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/GCRC/nunaliit/pull/670#issuecomment-315167909, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh-WnNbZDJpdH_H2rLw9bUkQqqXY0FEks5sNmYogaJpZM4OW7oA.


Include license file in source distribution

It would be helpful to include the license file in the source distribution.

Agreed, I thought it is included by default.


Recipes generating incorrect class names

Describe the bug
I am having an issue with recipes where the class names generated in the css file aren't matching the class names outputted in the browser.
With the specific example that I am working on, container.classNames.variants.background["background-default"] is generating this class name in the css file:

styles_container_background_background-default__eddtr6i

And this class name in the browser:

styles_container_variants_background__eddtr66

I want to be able to use globalStyles, so that I can style headings a certain colour within that variant.
I have set up a sample repo of the issue, where I have set up a textColor variant that has a red or blue option.
When using container.classNames.variants.textColor.red in the css file it generates:

styles_container_textColor_red__1y1wcgs3

In the browser it is showing as:

styles_container_variants_textColor_red__1y1wcgs0

Reproduction
https://github.com/timdickson/recipes-test
System Info
System:
    OS: macOS 14.5
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 402.99 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.1 - /usr/local/bin/node
    Yarn: 1.22.22 - ~/.yarn/bin/yarn
    npm: 10.8.1 - /usr/local/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Chrome: 128.0.6613.113
    Safari: 17.5
  npmPackages:
    @vanilla-extract/css: ^1.15.5 => 1.15.5
    @vanilla-extract/next-plugin: ^2.4.5 => 2.4.5
    @vanilla-extract/recipes: ^0.5.5 => 0.5.5

Used Package Manager
yarn
Logs
No response
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is occurring because the recipes function (container) is returning the classname created by the style calls in your variants. This is expected behaviour, because you can put many things inside a variant, e.g. a list of classnames from sprinkles. However, the classnames inside container.classNames.variants are referencing classnames created by recipe.
There are two ways you can fix the issue in your example. The first would be to separate out the red and blue variant styles so that you can reference them directly, and then use them in your global style instead of container.classNames.variants:
const red = style({
  color: "red",
});

const blue = style({
  color: "blue",
});

export const container = recipe({
  base: {},
  variants: {
    textColor: {
      red,
      blue,
    },
  },
});

globalStyle(`.${red} h1`, {
  color: "pink",
});

This works, but is more verbose than it needs to be. For regular style rules, you can just define them inline within variants, without calling style (recipe will make the style for you):
export const container = recipe({
  base: {},
  variants: {
    textColor: {
      red: {
        color: "red",
      },
      blue: {
        color: "blue",
      },
    },
  },
});

globalStyle(`.${container.classNames.variants.textColor.red} h1`, {
  color: "pink",
});

Thanks for the prompt response on this. That makes sense now, thank you for clarifying.

On 31 Aug 2024, at 11:20, Adam Skoufis @.***> wrote:
This is occurring because the recipes function (container) is returning the classname created by the style calls in your variants. This is expected behaviour, because you can put many things inside a variant, e.g. a list of classnames from sprinkles. However, the classnames inside container.classNames.variants are referencing classnames created by recipe.
There are two ways you can fix the issue in your example. The first would be to separate out the red and blue variant styles so that you can reference them directly, and then use them in your global style instead of container.classNames.variants:
const red = style({
color: "red",
});
const blue = style({
color: "blue",
});
export const container = recipe({
base: {},
variants: {
textColor: {
red,
blue,
},
},
});
globalStyle(.${red} h1, {
color: "pink",
});
This works, but is more verbose than it needs to be. For regular style rules, you can just define them inline within variants, without calling style (recipe will make the style for you):
export const container = recipe({
base: {},
variants: {
textColor: {
red: {
color: "red",
},
blue: {
color: "blue",
},
},
},
});
globalStyle(.${container.classNames.variants.textColor.red} h1, {
color: "pink",
});
—
Reply to this email directly, view it on GitHub https://github.com/vanilla-extract-css/vanilla-extract/issues/1470#issuecomment-2322652794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCQ4NO4CWCWL6UICKOMXMLZUEK63AVCNFSM6AAAAABNNLMWBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGY2TENZZGQ.
You are receiving this because you authored the thread.


fix: from multiline output to single line

Currently output is being output as a multiline output making unusable for GHA

I know we've spoken about this offline but TBH I can't remember exactly the reason why we have to do this. If the multiline output is a problem, can't we just use json.Marshal instead of introducing a new dependency?

Multiline is the problem but json.Marshal won't do it. The output we get from the AWS AppConfig request is already a string. As we are not manipulating it and returning it as it is we need a way that the output is not multiline. Just in a single line

Multiline is the problem but json.Marshal won't do it. The output we get from the AWS AppConfig request is already a string. As we are not manipulating it and returning it as it is we need a way that the output is not multiline. Just in a single line

Have you tried strings.Replace(str, "\n", "", -1)? Maybe it does the trick 🪄

@crqra I took a different route, pls check, I am no longer outputting configurations.


Revert "refactor: use Array.fromAsync()"

Reverts denoland/saaskit#639

I was completely unaware. Thank you for this, @marvinhagemeister 🙏🏾


Update README with all options

Some options are not described in README (e.g. -c, -d, -s). Need to add this info to readme.

I think, we should add -s in #226 🌚


Address JavaDoc warnings

Fill out missing JavaDocs and exclude generated sources from Java Docs, due to high warning noise in the output

@terryyylim could I get some 👀 on this?


Feature Request: Import digest authentication from postman imports.

Insomnia Version: 6.1.0-beta.1
Operating System: All

Details
Insomnia and Postman both support similar authentication methods with similar options, and it's frustrating to have to re-enter all my authentication settings every time I have to re-import from a colleague's postman collection.
Support importing digest authentication from Postman v2.0 and v2.1 imports.

I have a PR in the works for this issue.

So digest authentication in postman specifies explicitly defining advanced digest values like realm, qop, algorithm, etc... which Insomnia doesn't support. Since digest auth supports getting these values from the server, does anybody know if it's safe to just ignore these values from the import and just let libcurl's normal negotiations take care of it for us?
If so I think I have a working PR, but I haven't read the HTTP Digest Auth RFC yet so I'm not sure what I might be leaving out without the advanced options.


[Enum Request] - 98 "General Ledger Setup" - Field 60 "Local Cont. Addr. Format"

Hello,
we ask you to transform the Option field
60 "Local Cont. Addr. Format"
on Table 98 "General Ledger Setup" to "Enum", in order to allow us to extend it with custom values.
Thank you !

Unfortunately, we cannot convert this field to enum due to differences between country option values. it cannot be done without significant refactoring and we have no resources for this work right now.
Please explain which values you need and for which country (or countries). It can help to find solution. Or close it if you can make you own field to cover your requirements (and hide our field from the page). This is not difficult here.


PreviewImage does not fallback to default image.

Describe the bug
The PreviewImage component used in listings does not fallback to default image.
I suspect the reason it this:
https://github.com/plone/volto/blob/f1610c50961654b5acfb40d26452dd4d126390e2/src/components/theme/PreviewImage/PreviewImage.jsx#L19
The jsx object is probably always truthy.
To Reproduce
Steps to reproduce the behavior:
Have a summary listing with items with no lead images.
Expected behavior
Default images should appear if there's no lead images.
Software (please complete the following information):

Volto Version [e.g. 17.4.0]
Plone Version [e.g. 6.0.1]

@teekuningas  can i work  on this issue ?

@Abro0058T please read and follow Contributing to Plone and First-time contributors.

PR: https://github.com/plone/volto/pull/5565

Fixed in #5565
@steffenri Link a PR to an issue by putting "Fixes #5565"; then github will close the issue automatically when the PR is merged.


[APIView GPT] Error status "Succeeded" when violations > 0

Perhaps we don't need this status, or perhaps we can fix the prompt to set this correctly.

We manually set status to "Error" if violations > 0.


Test plan structure

drafted the structure of the document
added deps views
drafted 10 files to test
started Intro section (needs some polishing)

Thanks for taking the initiative and proceed with the PR. Also, sorry for getting back to this quite late, I am quite busy this week.
The PR looks good to me. I really like the analytic approach you use to determine the 10 files to be tested. However, I do not fully understand the graph, so probably in the next meeting, you can show me how to read from it :)
Several things:

Please provide me with write access to the repo.
Please squash the commits into 1 to keep the commit tree nice.


Update openapi-circe-yaml, openapi-model to 0.6.1

About this PR
📦 Updates

com.softwaremill.sttp.apispec:openapi-circe-yaml
com.softwaremill.sttp.apispec:openapi-model

from 0.4.0 to 0.6.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.apispec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.apispec" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #373.


HBASE-24277 TestZooKeeper is flaky

OK, confirmed, it is a test issue. Switching back to use ZKConnectionRegistry can solve the problem.
The root cause here is that, after session expire, the ZKConnectionRegistry can only return the new master address, since the node for the old master has been removed.
But with MasterRegistry, we could still get the address of the old master, and then we may receive a MasterStoppedException, which is a DoNotRetryIOException, and cause the UT to fail.
Maybe in the future we could do better on handling retries when master is shutting down, but now let's switch back to ZKConnectionRegistry to make the test pass.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 22s
the patch passed

+1 :green_heart:
compile
1m 10s
the patch passed

+1 :green_heart:
javac
1m 10s
the patch passed

+1 :green_heart:
shadedjars
5m 42s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 40s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
189m 57s
hbase-server in the patch passed.

217m  1s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1617/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1617

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 5dfb8298bfbf 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 512d00e75d

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1617/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1617/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1617/1/testReport/

Max. process+thread count
3365 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1617/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Let's see if it works.


Keep up to date with most recent version of JupyterLab

Since JupyterLab publishes to npm every week or two, we've been running into issues with not being able to utilize the newest JupyterLab features. This has already caused us some headaches, and I'm sure it will only get worse in the future. I talked to @ellisonbg about  the possibility of nightly JupyterLab builds; however, it's probably far enough down the road that we should create a workaround.
As a temporary solution, I think we should configure npm to pull/build a particular version of JupyterLab from github using this package. JupyterLab will have to be built as part of the install, which isn't ideal; however, I think it will mitigate issues/blockers in the future.

I'm closing this one for now. Doesn't seem feasible.


Does Decodable only work with structs?

I'm trying to use Decodable to create Realm objects, but I'm having issues. Then I realized all the examples were structs — does Decodable not work with classes?

It wasn't designed for it, but yes it should work. Haven't played around with it too much, but know about some problems:

You must return Self. Might be cumbersome sometimes.
I believe you still can't exit (e.g throw) a class's init-method before all variables are initialized.

The latter should not be a problem though if you have default values on your Realm object.
Have you seen the NSDate-example?
public class func decode(json: AnyObject) throws -> Self {
        let string = try String.decode(json)

        guard let date = ISO8601DateFormatter.dateFromString(string) else {
            throw NSDateDecodingError.InvalidStringFormat
        }

        return self.init(timeIntervalSince1970: date.timeIntervalSince1970)
}

With the NSDate example — if I needed multiple properties, I would have to decode them all, right?
Here's what I have set up right now, and it's obviously not working. Am I just completely wrong about how it can be used? My knowledge of protocols and the way types work here is not very strong.

What if you do self.init instead of Test?

No luck :(

And if you also make the initializer required?

Oh wow, I didn't know you could do that — I should read up on my initializers. This seems like it should work great, thank you! Do you see any possible drawbacks or issues doing this?

I guess it might be bad if you subclass a lot. Perhaps this is a little bit better:

Much better, almost half the code. Thank you!
Sent from my iPhone

On Oct 1, 2015, at 4:36 PM, Johannes Lund<EMAIL_ADDRESS>wrote:
I guess it might be bad if you subclass a lot. Perhaps this is a little bit better:
—
Reply to this email directly or view it on GitHub.


Preview of alert utilizing templating and so on

Make some ability to show/send alert for any of active alert rules to see, if custom template will not fail in runtime (when alert should be actually produced). It will also make nice ability to test, how will alert be formatted. I imagine some UI, where I can select rule, than see number of metrics/labels set, which could potentially trigger given rule and I would choose which metrics should trigger virtually given rule. As result, all configured paths (email/slack/customWebHook/...) would be virtually triggered and data for each of them would be shown. So for email I would expect to see html formatted by custom template, as it is configured.

I believe @fabxc has had some thoughts on this before. Maybe he can pitch in.

Any word on this? I am currently tweaking alertmanager templates and trying to purposefully cause errors to see what the template results in is no fun. And I'm unfamiliar with Go's text/template syntax, so I feel like I'm messing with a black box. (Not to mention the already known poor documentation in this area, see prometheus/docs#359)


Open calendar on available dates when the input date is completely outside the min/max range

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the Modus style guidelines

Proposal
If the date input is being used with a picker and min and max properties have been set to the input and the user typed a date to the input that is out of the min-max range then when the user clicks on the calendar icon then open a calendar widget on the month that has available dates and is closer to the min-max date.
When the selected date is before the min-max range - then open a calendar on the min date.
When the selected date is after the min-max range - then open a calendar on the max date.
Current result:

Properties set:

Date input and what the calendar shows to the user: No date is available.

All available dates are in the previous month so it should be shown by default:

Motivation and context
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
Priority
Medium
What product/project are you using Modus Components for ?
e-Builder
What is your team/division name ?
e-Builder/The Ayces team
Are you willing to contribute ?
Yes
Are you using Modus Web Components in production ?
No response

Maha to Check with Carlos and the team about the use case/explanation

We are waiting for Carlos's revision based on MoAB recommedations

Maha to check with Carlos if his team is working on it

@yevhenkravets Modus has approved the issue with the revisions, please check with Carlos for more details on the submission for the revisions, below is a screenshot of it.


Number of trainable parameters

Could you simply report how many is the number of trainable parameters in DAN?

Hi,
I took a quick look using lasagne's count_params function, the resulting number is:
23104092
Thanks,
Marek