Outdated numpy dependency

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 518, in beatswap
    if not isinstance(audio, song): audio = song(audio = audio, sr = sr, log = log)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 16, in __init__
    self.audio, self.sr = io._load(audio=audio, sr=sr)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 105, in _load
    if isinstance(audio, str): return(open_audio(path=audio, lib=lib))
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 55, in open_audio
    audio,sr=open_audio(path, i)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 40, in open_audio
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
open_audio with madmom: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
Analyzing beats using madmom.BeatDetectionProcessor; beatmap hasn't been generated yet. Generating...

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 525, in beatswap
    audio.beatswap(pattern = pattern, scale = scale, shift = shift, length = length)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 163, in beatswap
    if self.beatmap is None: self.beatmap_generate()
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 128, in beatmap_generate
    self.beatmap = beatmap.generate(audio = self.audio, sr = self.sr, lib=lib, caching=caching, filename = self.path, log = self.log, load_settings = load_settings)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/beatmap.py", line 83, in generate
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 525, in beatswap
    audio.beatswap(pattern = pattern, scale = scale, shift = shift, length = length)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 163, in beatswap
    if self.beatmap is None: self.beatmap_generate()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 128, in beatmap_generate
    self.beatmap = beatmap.generate(audio = self.audio, sr = self.sr, lib=lib, caching=caching, filename = self.path, log = self.log, load_settings = load_settings)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/beatmap.py", line 83, in generate
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
  File "madmom/ml/hmm.pyx", line 1, in init madmom.ml.hmm
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).

gotta love the console spam

shit i think it's upstream with madmom

after running ruff check ~/.local/lib/python3.12/site-packages/madmom/*/*.py --select NPY201 --fix (stupid, yes) it gave me
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 518, in beatswap
    if not isinstance(audio, song): audio = song(audio = audio, sr = sr, log = log)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 16, in __init__
    self.audio, self.sr = io._load(audio=audio, sr=sr)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 105, in _load
    if isinstance(audio, str): return(open_audio(path=audio, lib=lib))
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 55, in open_audio
    audio,sr=open_audio(path, i)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/io.py", line 40, in open_audio
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
open_audio with madmom: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
Analyzing beats using madmom.BeatDetectionProcessor; beatmap hasn't been generated yet. Generating...

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 525, in beatswap
    audio.beatswap(pattern = pattern, scale = scale, shift = shift, length = length)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 163, in beatswap
    if self.beatmap is None: self.beatmap_generate()
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 128, in beatmap_generate
    self.beatmap = beatmap.generate(audio = self.audio, sr = self.sr, lib=lib, caching=caching, filename = self.path, log = self.log, load_settings = load_settings)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/beatmap.py", line 83, in generate
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/theocgaming/Programs/beat-manipulator/beatman.py", line 43, in <module>
    bm.beatswap(audio=inp, output=output, pattern=pattern, scale = scale, shift = shift)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 525, in beatswap
    audio.beatswap(pattern = pattern, scale = scale, shift = shift, length = length)
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 163, in beatswap
    if self.beatmap is None: self.beatmap_generate()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/main.py", line 128, in beatmap_generate
    self.beatmap = beatmap.generate(audio = self.audio, sr = self.sr, lib=lib, caching=caching, filename = self.path, log = self.log, load_settings = load_settings)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theocgaming/Programs/beat-manipulator/beat_manipulator/beatmap.py", line 83, in generate
    import madmom
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/__init__.py", line 23, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/__init__.py", line 285, in <module>
    from . import beats, chords, downbeats, key, notes, onsets, tempo
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/downbeats.py", line 18, in <module>
    from .beats_hmm import (BarStateSpace, BarTransitionModel,
  File "/home/theocgaming/.local/lib/python3.12/site-packages/madmom/features/beats_hmm.py", line 19, in <module>
    from madmom.ml.hmm import ObservationModel, TransitionModel
  File "madmom/ml/hmm.pyx", line 1, in init madmom.ml.hmm
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).

it looks like there are other problems ruff didn't pick up on

what
the fuck
madmom/ml/hmm.pyx doesn't exist
not in BeatManipulator, nor in madmom.

TheoCGaming

yeah i think its madmom but i actually havent been able to run this on python higher than 3.10 but that was like half a year ago and then they made numpy 2 and i havent tried it since, but they also updated madmom 10 month ago, and i installed it earlier so maybe thats why i havent had issues

Ima close this for now as it seems to work with numpy <2, but if this doesn't work at all, lmk


[OKX] Add support for OKX's X1 testnet

If this is your first time integrating, the following information is required

A short introduction about your project/ your team: OKX is a global cryptocurrency spot and derivatives exchange and the second biggest crypto exchange by trading volume, serving over 50 million people globally.
Social media links (telegram, discord, website, LinkedIn,...)
Website: https://www.okx.com/
Twitter: https://twitter.com/okx
Github: https://github.com/okx

If you want to integrate a chain, you would need to provide

Name of the blockchain: OKX X1 testnet
Type of the blockchain: ZK-powered L2 on Ethereum
Blockchain providers:
https://testrpc.x1.tech/
https://x1testrpc.okx.com/
Metadata of the blockchain: https://www.okx.com/x1/docs/getting-started/user-guide/network-information
Logo of the blockchain: https://www.figma.com/file/PxPvXw5woBernBu3BtwxkX/SubWallet-Project-Logo?type=design&node-id=3216-263&mode=design&t=WJ53Qo6C5ASj9mKu-4
Block explorers (if possible) https://www.okx.com/nl/explorer/x1-test

Resolved in https://github.com/Koniverse/SubWallet-Extension/issues/2658


Report an error message when dependent libraries can't be found

While the DLL search path fixer should keep this from happening, Managed-OSVR shouldn't silently fail if it can't load the DLLs it's trying to p/invoke, which is most difficult when it's a dependency of the invoked DLL that's missing.
On a related note, if the directly-invoked DLLs are missing (such as when trying to run a 64-bit Unity build when there's no 64-bit Unity plugin yet), that should also be a visible error condition.

Note that it looks like there is an attribute (DefaultDllImportSearchPathsAttribute) that (at least in non-Mono newer .NET runtimes) helps with search paths.
References:

https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.dllimportsearchpath(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.defaultdllimportsearchpathsattribute(v=vs.110).aspx
https://bugzilla.xamarin.com/show_bug.cgi?id=27494

Building multiple version using build configurations might be useful:

http://stackoverflow.com/questions/2923210/conditional-compilation-and-framework-targets


504 Deadline Exceeded trying to make a single write

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: Mac OS X Mojave 10.14.3
Firebase SDK version: 2.17.0
Library version: _____
Firebase Product: Firestore

[REQUIRED] Step 3: Describe the problem
Trying to a simple write results in a Deadline Exceeded Error:
Traceback (most recent call last):
  File "test.py", line 14, in <module>
    doc_ref.set(product_dict)
  File "/Users/.../env/lib/python2.7/site-packages/google/cloud/firestore_v1/document.py", line 234, in set
    write_results = batch.commit()
  File "/Users/.../env/lib/python2.7/site-packages/google/cloud/firestore_v1/batch.py", line 147, in commit
    metadata=self._client._rpc_metadata,
  File "/Users/.../env/lib/python2.7/site-packages/google/cloud/firestore_v1/gapic/firestore_client.py", line 1042, in commit
    request, retry=retry, timeout=timeout, metadata=metadata
  File "/Users/.../env/lib/python2.7/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/Users/.../env/lib/python2.7/site-packages/google/api_core/retry.py", line 273, in retry_wrapped_func
    on_error=on_error,
  File "/Users/.../env/lib/python2.7/site-packages/google/api_core/retry.py", line 182, in retry_target
    return target()
  File "/Users/.../env/lib/python2.7/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/Users/.../env/lib/python2.7/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "/Users/.../env/lib/python2.7/site-packages/six.py", line 737, in raise_from
    raise value
google.api_core.exceptions.DeadlineExceeded: 504 Deadline Exceeded

Steps to reproduce:
see code below:
Relevant Code:
from firebase_admin import firestore, credentials

cred = credentials.Certificate("<path to service account>")
firebase_admin.initialize_app(cred)
print("initialized firebase successfully")

product_dict={
  'test1': 'test',
  'test2': 'test2'
}
firestore_client = firestore.client()
doc_ref = firestore_client.collection('products').document('test')
doc_ref.set(product_dict)

Same exact issue with latest package python 3.4 and Windows 10.

Same exact issue with firebase-admin 2.17.0 and python 3.7.3

Can you indicate the version of google-cloud-firestore installed in your environments?

1.3.0.
Upgrade to python 3.7.4 fixed the problem at my case

@eliasor96 does the problem reoccur if you go back to Python 3.6? If so can you please file an issue at https://github.com/googleapis/google-cloud-python/tree/master/firestore

@tseaver @crwilcox have you seen anything like this?

seems to work for me now, i'm wondering if there was any recent incident with Firestore that may have caused this issue

I'm going to close this based on OP's last comment. If the problem resurfaces, please follow up by raising an issue at https://github.com/googleapis/google-cloud-python/tree/master/firestore


Reworked cellar to elide output

Coverage remained the same at 100.0% when pulling a4441e2eab59b370abce56ef9f3cef810eca2ead on fix_list_display into 8133d8ec7f8e5918063add6b749134a8ac05deea on master.

Coverage remained the same at 100.0% when pulling d14d671dab3d0f55744e81ef972a0a45969894eb on fix_list_display into 8133d8ec7f8e5918063add6b749134a8ac05deea on master.


Feature/swift3 api

Updates APIs for Swift 3 to add clarity around parsing, property building and decoding.

All feedback addressed!

Approved. Looks great dude. I'm still a bit torn on the removal of for from the addProperty API. Other than that I love all these changes. Can't wait to get this out the door.


How can i insert build process

Hi i have latest of official speech to text, but i need show only spanish language
https://developer.ibm.com/answers/questions/274403/how-can-show-onliy-spanish-language-in-speech-to-t.html
But is not working
Pls help me

Hi,
First thing - first.
Please make sure you can clone the whole speech-to-text application (with
all languages) and it works for you.
If it works, I will show what (modules, methods, variables) you have to
modify to preserve Spanish language only. The easiest thing is simply hide
other languages.
Regards
On Tue, May 31, 2016 at 6:42 PM, felipe<EMAIL_ADDRESS>wrote:

Hi i have latest of official speech to text, but i need show only spanish
language
https://developer.ibm.com/answers/questions/274403/how-can-show-onliy-spanish-language-in-speech-to-t.html
But is not working
Pls help me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leonrch/speech-to-text-nodejs/issues/13, or mute the
thread
https://github.com/notifications/unsubscribe/ANB_cZ3_KOf9v9nPaQgsAsHSNZ71j0rmks5qHLlegaJpZM4IrB0L
.

http://<IP_ADDRESS>:3002/, it works

please guide me for correct process with npm run build

i have this try:
sudo nano /home/felipe/speech-to-text-nodejs/src/data/models.json

###
{
   "models": [
	  {
		 "url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/es-ES_BroadbandModel",
		 "rate": 16000,
		 "name": "es-ES_BroadbandModel",
		 "language": "es-ES",
		 "description": "Spanish broadband model."
	  },
	  {
		 "url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/es-ES_NarrowbandModel",
		 "rate": 8000,
		 "name": "es-ES_NarrowbandModel",
		 "language": "es-ES",
		 "description": "Spanish narrowband model."
	  }
   ]
}

###

sudo nano /home/felipe/speech-to-text-nodejs/package.json

###
  "scripts": {
	"start": "node server.js",
	"test": "npm run lint && npm run test-offline",
	"lint": "eslint .",
	"autofix": "eslint . --fix",
	"test-offline": "mocha test/offline-test.js",
	"build": "browserify -o public/js/index.js src/index.js",
	"watch": "watchify -v -d -o public/js/index.js src/index.js"
},
  "devDependencies": {
	"eslint": "^2.5.3",
	"browserify": "^10.2.4",
	"mocha": "^2.4.5",
	"watchify": "^3.2.3",
	"nock": "^7.7.2",
	"supertest": "^1.2.0"
  }
###

mkdir /home/felipe/speech-to-text-nodejs/public/js
cd public/js/
wget https://gist.githubusercontent.com/johnfelipe/b570851680b763cc8fac185b5d4c35ff/raw/7b16fde0a4f308a7383ffbf4ac869b91cf62a7e0/index.js

but not work
felipe@felipeurrego:~/speech-to-text-nodejs$ npm run build
><EMAIL_ADDRESS>build /home/felipe/speech-to-text-nodejs
> browserify -o public/js/index.js src/index.js

Assuming the steps you performed to make http://<IP_ADDRESS>:3002/ the STT
demo clone working were:

navigate to the folder containing app.js
npm install
npm run build
node app.js

If so, open src/models.js source file. It contains only one (exported)
method getModels.
a). Find the line
 * response.models=sorted;*

at the bottom of this method and comment it out.  Add the following code above // response.models=sorted;

var spansihModels = [];*
for(var index = 0; index < sorted.length; index++) {*
var model = sorted[index];*
if(model.language == 'es-ES') {*
spansihModels.push(model);*
}*
}*
response.models=spansihModels;*

c). Point the sttRequest.onerror handler to your version of models.json,
containing Spanish models only. So, the code will look like
sttRequest.onerror = function() {

viewContext.models = require('./data/models_felipe.json').models;*
selectModel(viewContext);*
};

d). Recompile by typing npm run build.
e). Restart the server node app.js
Make sure the drop-down menu contains Spanish models only and looks like
[image: Inline image 1]
More instructions will be provided as soon as you get to that point.
On Tue, May 31, 2016 at 8:39 PM, felipe<EMAIL_ADDRESS>wrote:

please guide me for correct process with npm run build
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/leonrch/speech-to-text-nodejs/issues/13#issuecomment-222861958,
or mute the thread
https://github.com/notifications/unsubscribe/ANB_cRfFyo09C8crtZUTcQi3eF7wZGwSks5qHNSlgaJpZM4IrB0L
.

Hi again
npm run build
in official repo is not there
or better clone your repo?

what is difference btw in your repo and official repo?

think about my repo as a prototype, while the official repo represents the final version (product). I do not think there are differences between these two.

how can i add npm run build in official repo?

You HAVE to make sure the credential you are using are correct! Try to clone each service (STT, TTS, LT) and ensure you can run their demos locally.
I see you made several modifications in your version. Did you try the cloned version WITHOUT your modifications before claiming it does not work? Please try it AS IS without adding even one space.

If you do not follow steps 1 and 2, I am not sure I can help you.
Anyway, I do not feel I deserved the honour to debug your application WITH YOUR CHANGES.


Segmentation fault (core dumped) on get_sift_model

The main library builds for me, and I source the setup.bash file in the devel folder, but when I run
rosrun interface cmd_line_get_sift_model pwd/src/simtrack/data/object_models/ros_groovy/ros_groovy.obj
To test the samples, it doesn't work. For a second nothing happens, and then I get
Segmentation fault (core dumped)
Can you suggest anything I could run to verify that my system is properly setup?

I have attached my catkin_make output. Can you compare this to yours? This should give us a rough idea of differences in system setup.
Thanks.
catkin_make_output.txt

Thanks.
So, unfortunately, in the time that I wasn't checking github, I couldn't resolve this, so I just nuked the system and reinstalled. I am now using disk images to act as "Restore Points" like windows has.
Good news: after 2 reinstalls, it works! and I have also think I have found the cause of all of this nonsense:
The OpenKinect libfreenect2 library
The page that is pointed to (either on your website tutorial or github README.md) shows how to gain access to packages that aren't on the default source list for some Ubuntu versions (notably 14.04.3, which is what I am using) using a few ppas, including
ppa:deb-rob/ros-trusty
ppa:floe/libusb
From what I was able to gather, the deb-rob ppa is the main offender, and the floe/libusb one is fine, and I have submitted tickets to libfreenect2 and IAI_Kinect2 as well, which points to it. This issue appears to be that many of the libraries that both ros and your code depend on are needlessly upgraded by running sudo apt-get update after adding this repository, and then apt basically breaks your code and then breaks itself, unable to downgrade the new libraries.  In the mean time, though, I would suggest either explicitly documenting your own guide of how to install the Kinect v2 drivers, or at least not pointing to that.
Also, are there project files you could check in so this can be opened in QTCreator? or are none necessary?
Do you have any advice as to how to install the libfreenect2 library without this happening? Thanks.
Jon

Great to hear it's working now!
I'm only pointing to IAI Kinect2 which is required. But yeah, both are in a very early stage so things change quickly. All I can tell you is that I'm only using ppa:floe/libusb and that works pretty smoothly. In general I'm very careful with adding external repositories.
Concerning QTCreator, have a look here: http://wiki.ros.org/IDEs#QtCreator
You can directly open the CMakeLists file (from the source folder). Just take care you're pointing to the correct build folder.
Karl


Change status events to have a single reason

As per praekelt/junebug#42.

Ready for review.

Merged in #988 since that was started before this PR, this PR is now ready for review once #988 lands.

:+1:
Left a comment, but it's not really related to this PR.


SET in pipeline don't return result of an operation

Why it's not possible to change commandsToRemove in RedissonConnection? Why SET operation in this list?

Since it's a void command

Since it's a void command

But why it's don't return boolean with true if ok and false if it's not?

the exception is returned in case of exception


Updated host monitoring volume entry in example

If you use the docker-compose example verbatim, the dashboard will report the following:
Datadog's docker_daemon integration is reporting:
Instance #0[WARNING]:Unable to find any pid directory in /host/proc. If you are running the agent in a container, make sure to share the volume properly: "/proc:/host/proc:ro". See https://github.com/DataDog/docker-dd-agent/blob/master/README.md for more information. Network metrics will be missing

@khyew Thanks for the update. It looks like @anujshah108 also submitted a PR for this exact problem. The change has been merged.


Review App for Major Design Issues

Matt will be the owner here after he's added to CH.
Explore the app. The purpose here is to get to know it, and to keep an eye out for glaring visual and usability issues. This is a first pass for the major issues that jump out at you; we can do a more fine-toothed pass later on.
Keep a list of the issues you find.  Separate them by priority: having a "high priority" and "low priority" list is probably enough granularity here, but do what you think is right.
...
@mattbullock I've added a task list within this story. I know you may have gone through a number of these views already - go ahead and check off any that you've already done.
-sharkcrayon

Closing, as this was an old ticket that got migrated from CH.


Android exports with Vulkan even in compatibility mode

Godot version
4.1
System information
Macos - godot 4.1 - compatibility mode
Issue description
Can switch GL compatibility mode for android
Steps to reproduce
Export project (it have glow enabled) which should not work in GL compatibility mode but on android it still glowing
Minimal reproduction project
AndroidTest.zip

I can't reproduce this issue. I have tested using the example project in 4.0.3 and 4.1-stable. In both cases the project runs on Android without glow.
Notably however, the MRP doesn't contain an export preset, have you overridden any export options locally that may be affecting this?

checked without gradle build same issue

Are you sure that you are actually installing the new version then? Perhaps something is going wrong in your installation process and you are just running the same executable over and over?

@clayjohn doing uninstall on android every time and running adb install test.apk

Can you reproduce the issue with the reproduction project that you attached? It's configured to use gl_compatibility for all platforms (default, and .mobile override), so it would never show glow on any platform.
If you only reproduce it in another project, can you show how the rendering_method setting and its overrides are configured there?

please correct me if I'm wrong rendering_method = Mobile (vulkan on, GLES3 off and glow works) rendering_method = Compatibility (vulkan off, GLES3 on and glow not works) in the last attached project rendering_method = Mobile meaning to me vulkan should be on and glow should work but glow not works

The second MRP had
rendering_method = Mobile (Vulkan on, Glow works; used when exporting to desktop)
rendering_method.mobile = GL_Compatibility (GLES3 on, Glow does not work; used when exporting to Android/iOS)
When I tested, glow was working when viewing the scene in the editor on desktop, but there was no glow when exporting to Android, as expected

just found

renderer/rendering_method="mobile"
renderer/rendering_method.mobile="gl_compatibility"

this is my problem, have to do extra switch for it
thank you for helping me

Do you still have an issue with the first MRP? Your original post said that you were still getting glow when you set the rendering_method to gl_compatibility.
Or is your main scene set to?
rendering_method = GL_Compatibility
rendering_method.mobile =  Mobile

renderer/rendering_method="mobile"
renderer/rendering_method.mobile="mobile"

tested, now it glowing
maybe for easier future development better to switch both of this parameters on top right menu change, because it confusing

Duplicate of https://github.com/godotengine/godot/issues/73712.


Decompilation shows exceptions that can safely be ignored

ClassNotFoundExceptions thrown by CFR looking up resources are displayed when they can be ignored. The class will decompile normally regardless, it will just not be able to infer some minor things.

ClassNotFoundExceptions are now ignored. Others will continue to display. NPE's for instance usually infer that a method is improperly formatted.


1.11.4-trail Build CPU-P9 Ray Failure

Testing phase got failed .
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ python -c 'import ray; ray.init(ignore_reinit_error=True, num_cpus=4)'
2024-10-08 12:17:01,185 INFO worker.py:1783 -- Started a local Ray instance.
[2024-10-08 12:17:01,614 E 64481 64481] core_worker.cc:251: Failed to register worker to Raylet: IOError: [RayletClient] Unable to register worker with raylet. No such file or directory worker_id=01000000ffffffffffffffffffffffffffffffffffffffffffffffff
Tests failed for ray-core-2.35.0-py311h6d89b05_1.conda - moving package to <mydir>/broken
WARNING:conda_build.build:Tests failed for ray-core-2.35.0-py311h6d89b05_1.conda - moving package to <mydir>/broken
export PREFIX=<mydir>/ray-packages_1728387876552/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
export SRC_DIR=<mydir>/ray-packages_1728387876552/test_tmp
import: 'ray'
import: 'ray._raylet'
import: 'ray.actor'
import: 'ray.runtime_context'
import: 'ray._private.state'
import: 'ray._private.worker'
import: 'ray'
import: 'ray._private.state'
import: 'ray._private.worker'
import: 'ray._raylet'
import: 'ray.actor'
import: 'ray.runtime_context'
TESTS FAILED: ray-core-2.35.0-py311h6d89b05_1.conda

This is a test stage failure with ray-core package.
This error was not occurring when all the ray packages were installed. But was happening when ray-core alone was used.
raylet logs at /tmp/ray/session_latest/logs/ showed:
[2024-10-10 14:15:46,732 E<PHONE_NUMBER>52] (raylet) file_system_monitor.cc:111: /tmp/ray/session_2024-10-10_14-15-45_815771_944180 is over 95% full, available space:<PHONE_NUMBER>; capacity:<PHONE_NUMBER>32. Object creation will fail if spilling is required.
Traceback (most recent call last):
  File "/opt/conda/envs/raycore/lib/python3.11/site-packages/ray/_private/runtime_env/agent/main.py", line 30, in <module>
    from aiohttp import web  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'aiohttp'
[2024-10-10 14:15:47,163 E<PHONE_NUMBER>82] (raylet) agent_manager.cc:83: The raylet exited immediately because one Ray agent failed, agent_name = runtime_env_agent.
The raylet fate shares with the agent. This can happen because
- The version of `grpcio` doesn't follow Ray's requirement. Agent can segfault with the incorrect `grpcio` version. Check the grpcio version `pip freeze | grep grpcio`.
- The agent failed to start because of unexpected error or port conflict. Read the log `cat /tmp/ray/session_latest/logs/{dashboard_agent|runtime_env_agent}.log`. You can find the log file structure here https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure.
- The agent is killed by the OS (e.g., out of memory).

Fixed by adding aiohttp in the run section of ray-core package.

https://github.com/open-ce/ray-packages-feedstock/pull/23


Add EuroCropsML

Insert URLs to the project here: https://github.com/dida-do/eurocropsml

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@jmaces @jsreuss


APPS-897 Add missing release note for cwltool to cwlpack

APPS-897 PR was already merged; this adds missing release note for that change

Please review @YuxinShi0423


JSON Caching

Look into caching to prevent decoding JSON for every search request.

https://github.com/airicbear/ateez_lyrics/pull/50


Add support of digma.environment attribute without digma.environment.id

Right now, if digma.environment is set, but digma.environment.is not set, all the traces go to the LOCAL environment.
We should change it to support digma.environment

      ```

if digma.environment.id not exists and digma.environment not exists:
if test:
digma.environment=LOCAL-TESTS
else:
digma.environment=LOCAL
if centralize:
add digma.user.id=[CURRENT_USER_ID]


Email preview isn't working

For some reason, when I updated the package easy-email-editor from 4.3.10 to 4.3.11 the email preview feature stopped working well and only show an empty preview 😢
It happens for desktop and mobile preview.
Could you help me?

Works fine in example. Can you provide more detailed information?

Works fine in example. Can you provide more detailed information?

I created this codesandbox to simulate the problem.

How to reproduce？

 How to reproduce？

Sorry, I changed the version of the package to test and forgot it 😞
New if you check, probably the preview is not working https://codesandbox.io/s/determined-rubin-yznb6d

Sorry，it's a bug and has been fixed.
Please update to<EMAIL_ADDRESS>Relatived: https://github.com/zalify/easy-email/pull/198


Optional parameters

Hey, first thanks for making this, this looks really cool. When trying this out I was realising that optional parameters don't seem to work. For example
// Input

/*
 * @param {string} [optional=world]
 * @return {string}
 */
myClassFunction (greeter) {
  if (greeter) return 'hello ' + greeter
  return 'hello world'
}

will not be transformed at all.

Currently only Closure Compiler style optional parameters are supported, e.g:
/*
 * @param {string=} greeter
 * @return {string}
 */
myClassFunction (greeter) {
  if (greeter) return 'hello ' + greeter
  return 'hello world'
}

Which are translated to nullable types.

It looks like Doctrine isn't parsing optional params in [form]. Will need to go hunting for a fix.

Looks like I needed to pass the poorly-named sloppy param to Doctrine to get it to parse that syntax. Done now though: fixed with tests.


Retry requests on the grid proxy

fixed in https://github.com/threefoldtech/terraform-provider-grid/pull/184 and released in 0.1.24


Declarative MDC context builder is required

@keyki or @akanto please review!

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1670/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1675/


[Serialization] Attempt to load transitive implementation-only dependencies on testable imports

Implementation-only dependencies may be referenced from internal decls. When that module is imported as @testable, clients see the internal decls and may fail accessing them if the transitive implementation-only dependencies are not loaded.
Let's consider such transitive implementation-only dependencies as optional for @testable clients. As such, the compiler will attempt to load them for test targets, and won't fail if the dependency is missing.
We can make these dependencies required for non-public imports, but it could be project breaking to do so for implementation-only dependencies. Considering them as optional is a decent compromise.
rdar://79459263

@swift-ci Please smoke test

@swift-ci Please Test Source Compatibility Debug

@swift-ci Please smoke test


Adding LDAP support and change admin password in jsonnet

What did you do?
I'm not very familiar with jsonnet, but I've been attempting to use the jsonnet templating to enable LDAP for Grafana (which is working for me), but not the replacement of the admin password.
I'm trying to reference a secret which will replace the admin password for Grafana, but not having much luck.
Did you expect to see some different?
I expect that the below sections will be injected into the env: section of the grafana-deployment.yaml
        - env:
          - name: GF_SECURITY_ADMIN_PASSWORD
            valueFrom:
              secretKeyRef:
                key: password
                name: grafana-credentials

Environment
Ubuntu 18.04 LTS

Prometheus Operator version:
prometheus-operator:
Image:      quay.io/coreos/prometheus-operator:v0.37.0

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-20T04:49:16Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.7", GitCommit:"be3d344ed06bff7a4fc60656200a93c74f31f9a4", GitTreeState:"clean", BuildDate:"2020-02-11T19:24:46Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

Kubespray

Manifests:

  {
    _config+:: {
      namespace: 'monitoring',

      grafana+:: {
        config+: {
          sections+: {
            metrics+: { enabled: true },
            'auth.ldap': {
              enabled: true,
              config_file: '/etc/grafana/ldap.toml',
              allow_sign_up: true,
            },
          },
        },
        ldap: |||
          [[servers]]
          # LDAP server host
          host = "ldap.example.com"
          # Usual port is 389, or, if TLS is supported, 636
          port = 389
          # Set to true if LDAP server supports TLS
          use_ssl = false
          # set to true if you want to skip SSL cert validation
          ssl_skip_verify = true

          # Search user bind dn
          bind_dn =<EMAIL_ADDRESS>          # Search user bind password
          bind_password = "changeme"

          # Search filter, for example "(cn=%s)" or "(sAMAccountName=%s)"
          search_filter = "(sAMAccountName=%s)"
          # An array of base dns to search through
          search_base_dns = ["OU=Accounts,DC=example,DC=com"]

          [servers.attributes]
          name = "givenName"
          surname = "sn"
          username = "cn"
          member_of = "memberOf"
          email =  "email"

          [[servers.group_mappings]]
          group_dn = "CN=GRAFANA_ADMINS,OU=Application Access Groups,OU=Groups,DC=example,DC=com"
          org_role = "Admin"
          grafana_admin = true
        |||,

          deployment+: {
            template+: {
              spec+: {
                containers+: {
                  env+: [
                    {
                      name: "GF_SECURITY_ADMIN_PASSWORD",
                      valueFrom: {
                        secretKeyRef: {
                          name: "grafana-credentials",
                          key: "password",
                        },
                      },
                    }, ]
                  },
                },
              },
            },
          },
        },
      }

You're super close, you're just missing the spec object/field around the template.

@RapidIE (and anyone else that might stumble on this issue) The following produces the desired result for the Grafana password.
    grafana+:: {
      deployment+: {
        spec+: {
          template+: {
            spec+: {
              containers+: [
                {
                  env+: [
                    {
                      name: "GF_SECURITY_ADMIN_PASSWORD",
                        valueFrom: {
                          secretKeyRef: {
                            name: "grafana-credentials",
                            key: "password",
                          },
                        },
                    },
                  ],
                }
              ],
            },
          },
        },
      },
    },

@RapidIE (and anyone else that might stumble on this issue) The following produces the desired result for the Grafana user/password side of things; obviously requiring the appropriate secret adding as well.  Updated version as the previous added an environment rather than updating the existing.  This version also includes setting the Grafana admin user as well as the password.
    grafana+:: {
      deployment+: {
        spec+: {
          template+: {
            spec+: {
              containers: [
                super.containers[0] {
                  env: [
                    {
                      name: "GF_SECURITY_ADMIN_USER",
                      valueFrom: {
                        secretKeyRef: {
                          name: "grafana-credentials",
                          key: "user",
                        },
                      },
                    },
                    {
                      name: "GF_SECURITY_ADMIN_PASSWORD",
                      valueFrom: {
                        secretKeyRef: {
                          name: "grafana-credentials",
                          key: "password",
                        },
                      },
                    },
                  ],
                },
              ],
            },
          },
        },
      },
    },

Happy you made it work! :tada:


[CXF-7455] Tolerate missing message part

Thanks for your pull request. Can you provide a unit/ integration test for this?

Looks like this has been already worked around in the winrm4j project. I was not aware of that. So I might actually cancel the pull request later on. Please, bear with me, I need some time to explore. However, I would say that it is rather sad that it is easier to work around the problem than to deal with all this checkstyle pain, unit tests and so on.

No need to cancel the PR, if we could make the code more robust, we should do that.

I was looking around how to construct a test for this. But I'm really puzzled. There seems to be very little documentation about writing tests. And I could not find any test that would be similar to what I'm trying to do.
I have SOAP message that is causing the exception. It is a SOAP response from the server. How do I create a simple test that just attempts to process the message, runs the interceptors and checks the processed message?

Ok could you please attach the SOAP message to the JIRA issue?
Regarding test you can take a look at the existing org.apache.cxf.jaxws.holder.HolderTest.
Btw. PRs should usually point to master, we will take care of merging them to the other branches.

@semancik any chance to get the SOAP message that reproduces the issue?

I'm sorry. I was lucky enough not to be forced to deal with that terrible Microsoft technology in the meantime. And I'm quite scared to look there just by myself unless I really have to. Please bear with me. But I'll do it ... sooner or later.


[fix] _reloader don't use relative imports

before fix
(venv) $ python -m werkzeug.serving -r app:app
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
Traceback (most recent call last):
  File "/home/ubuntu/workspace/pr/werkzeug/werkzeug/serving.py", line 782, in <module>
    main()
  File "/home/ubuntu/workspace/pr/werkzeug/werkzeug/serving.py", line 778, in main
    use_debugger=options.use_debugger
  File "/home/ubuntu/workspace/pr/werkzeug/werkzeug/serving.py", line 730, in run_simple
    from ._reloader import run_with_reloader
ValueError: Attempted relative import in non-package

@untitaker  please review, thx ~

werkzeug is a package, your installation is broken.
Also please refrain from mentioning specific maintainers.

Sorry for mentioning.
but according to docs
This function has a command-line interface too:

python -m werkzeug.serving --help

Sorry, yes, fixed in master.

@untitaker looks like you just add a comment and still using relative import... how about merge this?

True, i somehow forgot about that part. However, your PR now conflicts with master

I'll properly fix this in a few hours

I'll fix the conflict~

Well, that was messy. Thanks and sorry it took so long!


use ECMA standard names for MethodSpec (0x2B) meta table and columns

From ECMA 335 I.22.29 MethodSpec: 0x2B:

The MethodSpec table has the following columns:

Method (an index into the MethodDef or MemberRef table, specifying to which
generic method this row refers; that is, which generic method this row is an
instantiation of; more precisely, a MethodDefOrRef (§II.24.2.6) coded index)
Instantiation (an index into the Blob heap (§II.23.2.15), holding the signature of
this instantiation)

The MethodSpec table records the signature of an instantiated generic method.
Each unique instantiation of a generic method (i.e., a combination of Method and Instantiation) shall be
represented by a single row in the table

Using ECMA's standard naming would help make it easier to read code that leverages dnfile to parse MethodSpec:
https://github.com/malwarefrank/dnfile/blob/498f6c64c5597fcc603f24f1d31343f4ae0636b2/src/dnfile/mdtable.py#L1988-L2025

Thanks for the heads-up.  Should be a quick fix.  The sources I copied those names from are different from ECMA 335.


bump to llvm9

This PR fixes the two failed assertions in separateBPC function. The cause of the assertion failure is because an unnecessary and wrong call in isConcreteCandidateSat() in EnumerativeSynthesis.cpp.
This PR also fixes an wrong assertion in ConstantSynthesis.cpp. Previously I made a wrong assumption that RHS should never contain phi because we're not synthesizing phis. This is not correct because RHS may use phis harvested from LHS. I removed the assertion in this patch.
All the test cases passed after this patch in a debug build.

@googlebot I consent.

looks great, thanks!!
please add a comment to getSetSize explaining that we've copied the routine from LLVM 8 since LLVM 9 removed this API

@googlebot I consent.


Reverted NSURLSessionAuthChallengeDisposition to NSURLSessionAuthChallengeCancelAuthenticationChallenge for SSL Pinning

As first discussed in #3409, there appear to be cases where returning NSURLSessionAuthChallengeRejectProtectionSpace does not prevent the request from succeeding in some cases.
A few of us have starting to dig in on this issue. @0xced has seen behavior where the existing code does work in some cases, leading us to believe there may be some issues here related to the TLS cache under the hood that we do not control. However, using Cancel instead does give us more deterministic control.
The original intent of moving to RejectProtectionSpace was to provide a better error message to the developer to distinguish between a manual cancel and an SSL pinning failure.
I've created a simple playground demonstrating the issue.
NSURLSessionAuthChallenge.playground.zip
This PR reverts to using cancel, and adds an additional test for Public Key Pinning error validation.

Current coverage is 76.07%

Merging #3417 into master will decrease coverage by -0.40% as of 89570aa

@@            master   #3417   diff @@
======================================
  Files            5       5
  Stmts         2491    2491
  Branches         0       0
  Methods
======================================
- Hit           1905    1895    -10
  Partial          0       0
- Missed         586     596    +10

Review entire Coverage Diff as of 89570aa

Powered by Codecov. Updated on successful CI builds.

This all looks good to me @kcharwood. 👍🏼
Would it also be wise to put the Apple Forums link in this PR as well for reference?

Thanks @cnoon
Here is a link to a Dev Forum I have opened:
https://forums.developer.apple.com/message/128153#128153


Error installing face recognition models

face_recognition version:1.2.2
Python version:3.5
Operating System:Raspbian Stretch

Description
I get this error when i try to install face_recognition using pip.

Hope you help.
i have instaled dlib,opencv .etc successfully.
What I Did
pip3 install face_recognition

Hi there! I met this same problem and happened to see your issue here when searching for solutions. I finally solved this issue by using the command "pip3 install git+https://github.com/ageitgey/face_recognition_models" via the issue#608.
Hope this will work for you.


Add missing directory separator to upload path

without the changes, all imported image names will be prepended with temp and placed directly into the media directory.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-10513
Please use this issue to track the state of your pull request.

Hello,
thanks for your contribution. The request ist merged with: PT-10513


Its down again...

Two years since this same thing...

Recently, the use of EC2 GPU instances seems to be increasing, and the waifu2x server is stopped frequently. #197


Fit marginal

Now uses marginal correlation x'y as feature importance scores, where x and y are standardized feature and response.

Codecov Report
Patch coverage: 11.11% and project coverage change: +0.01 :tada:

Comparison is base (71a8f1b) 58.18% compared to head (a00500a) 58.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   58.18%   58.19%   +0.01%
==========================================
  Files          16       16
  Lines        2310     2301       -9
==========================================
- Hits         1344     1339       -5
+ Misses        966      962       -4

Impacted Files
Coverage Δ

src/Knockoffs.jl
0.00% <ø> (-50.00%)
:arrow_down:

src/fit_lasso.jl
37.50% <0.00%> (+1.78%)
:arrow_up:

src/struct.jl
29.41% <ø> (ø)

src/group.jl
78.63% <100.00%> (-0.19%)
:arrow_down:

... and 1 file with indirect coverage changes

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


Adding third party libraries to framework

Hi,
I'm new aurelia and I'm trying to get my head around it and all of its dependencies, build tools etc.
I've been able to run the skeleton and it appears to be working, however I now need to add the snapsvg library to the environment so that I can add SVG diagrams to the application. Would you kindly show the best way to achieve this. I guess it would also make sense to add it to the list of dependencies so that it can pull the library as part of the build.
Thanks for something that looks like its going be tremendously helpful to my project.

For front end libraries you want to use jspm.
jspm install snap.svg
then use es6 modules to import the libary when you need it
import { Snap } from 'snap.svg';

Excellent thanks, that seemed to work, well the two steps mentioned above anyway.
I'm new to Aurelia, could you show the best way for rendering an SVG image into a view please. I managed to render a simple circle into the welcome page but it broke everything else.

This is not the right place to get help.
See
Docs
How to get help

@EisenbergEffect We can close this one out also


Add a staging environment

Bugs like #51 should not happen again in production as this tools is used by real people. This could have been avoided with a canary release.

Choose a subdomain for testing new versions with a small group of early adopters. beta.assistant.bloat.app?
Configure dns, nginx, certbot (outside of this repo)
Add a deploy script/option for the staging environment (how to include .env?)
The build system should add app version to the footer – from either git tag (if present) or commit hash (7 characters)
Bonus: the build system adds commit messages after the last tag in the current branch, so beta-testers always have up-to-date informtion on what has changed (and what they should try to break)

Bullet points 1–3 implemented in d9176ef

Bullet point 4 implemented in 72e94fe.
Bullet point 5 can be implemented later if it seems useful.


Add caching

This task depends on #31

Each Data service created in #31  should have a cache.
users of the data services (meaning components, other services, …) shouldn't need to know about the cache. They should just go on working the same way (with the same observables) as if the data came from the REST API.
This cache should store its data in the ngrx store
It should be implemented in such a way that most code can be shared between data services for different endpoints
But it should be possible to determine separate time-to-live for each endpoint. For some endpoints it may be necessary to disable the cache altogether
It should also be possible to combine partial objects:

e.g. I first get only a collection's id, name and handle from the REST API, for a certain page
next I go to another page and I get that same collection's id and shortDescription from the REST API, but not it's name or handle
the store should now contain the collection's name, handle and shortDescription

Initial cache is done.
This ticket was left open because the code still lacks tests and documentation. This was moved to a separate issue: https://github.com/DSpace/dspace-angular/issues/130


Improve GitHub Actions for pull requests

See https://github.com/Senzing/community-roadmap/issues/71

Pull requests:

https://github.com/Senzing/g2loader/pull/82


Default url

https://github.com/Shopify/dashing/wiki/How-To:-Change-the-default-dashboard
Bad support request is bad...


Test coverage for all packages and merge Travis builds

This halves the number of Travis builds that will run, while adding coverage testing to the dnsutil package.

Codecov Report

Merging #781 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #781      +/-   ##
==========================================
+ Coverage   57.04%   57.13%   +0.08%
==========================================
  Files          42       43       +1
  Lines       10793    10822      +29
==========================================
+ Hits         6157     6183      +26
- Misses       3544     3546       +2
- Partials     1092     1093       +1

Impacted Files
Coverage Δ

msg.go
77.7% <0%> (-0.65%)
:arrow_down:

dnsutil/util.go
100% <0%> (ø)

server.go
71.82% <0%> (+0.24%)
:arrow_up:

Continue to review full report at Codecov.

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


Activate Uart1

Hi!
I am currently using the PYNQ-Z2 board, want to activate uart 1.
Cause I need two uarts, I need another one but uart0.
I created a bitstream in vivado, including uart1.

Then, what if I want to apply this bitstream to the board and use uart1?
Please let me know if there is a reference document or method.
Thank you!

This is a duplicate of #794


[UI][Private Registry] When creating credentials from "Add Credential" page , password is not saved.

Version - V013.0
Steps to reproduce the problem:
Create a private registry.
From Registry list view , open the registry view and use "Add Credential" page to add a new credential.
Try to create a container using this credential. Container fails to create because of not being able to pull the image.
password is not getting stored in credential table in "secret_value".
Following is the API request that is being sent from UI:
{type: "registryCredential", publicValue: "test555", privateValue: "test555", email: "test555",…}
email: "test555"
privateValue: "test555"
publicValue: "test555"
registryId: "1sp4"
type: "registryCredential"

FIxed in rancherio/ui#108

Verified fixed in V013.0

@tfiduccia This is confusing that the version reported was v0.13.0 and it's fixed in v0.13.0. Is this actually fixed in v0.13.1?

@deniseschannon No, this was found right after building v0.13.0; I cheated and changed the 0.13.0 tag to save Bill from re-doing the whole release process.  (I'll just stop doing that)  So it was found and fixed on two slightly different versions of 0.13.0.


Up/Down arrow keys not working when JAWS-17 is open

Here is a screencast http://screencast.com/t/ROFpa3ZhGyd recorded in Chrome with JAWS 17 open on https://select2.github.io/examples.html
Our QA reported that when JAWS is on, the Up/Down arrow keys can fail to navigate.  Pressing the Down arrow key or TAB key sometimes results in "document end" according to JAWS read, which may have something to do with the fact that select2's option list is appended to the bottom of the page. Not sure if there could a a fix on select2's side.
I'm also bring this issue up to JAWS support since it's possible that it's their software intercepting and interrupting those key strokes.
Thanks,
Shawn

Hi, I wonder if select2 dev had the bandwidth to look at this issue yet?

As with most accessibility issues, we don't have the tools necessary to be able to quickly debug them. So any debugging comes during the short periods of time where we have access to JAWS (or other screen readers, when they are properly configured), assuming we don't have other things that take higher priority.
My guess is that JAWS is intercepting the keys before they reach Select2, but I have no idea what can be done to prevent that (on Select2's side, at least).

Hi There,
Currently having the same issue with Jaws 17 on Windows 10 with IE 11.
What I remarked is that even with Jaws 17, the first example on the example page https://select2.github.io/examples.html#single does not work at all with the keyboard if it was selected using "tab".
Steps to reproduce :

Put the focus on the "real select"
Press Tab so the focus goes to the select2 version
Press Up / Down

Nothing is selected and the page just scroll around. Arrow key selection seems to work fine withtout Jaws when the select2 is opened using the mouse, but fails with Jaws, so this seems to be a "compound" issue.

Hey, we are also experiencing this issue. Symptom and steps to reproduce match. I'll talk to our devs if we can give Select2 team a hand with this. Although I am not exactly sure where to begin.

Has anyone been able to confirm if v4.0.4 resolves this issue?  #4427 fixed a major focus issue.


PMID:27901072

increased level of histone gene mRNA during mitotic S phase

increased level of histone gene mRNA during mitotic S phase FYPO:0006422
edit file: 60723f05c914754b6dc6254a7aa9b9cf38790b09
release: 0d9f54cfe1f60deecbbeb6c5e2a136165fc6bd39


Add excluded_apps rebar.config keyword

Allows to selectively enable/disable apps at build time.

Out of curiosity, what's the use case for having an app in your project but not wanting to build it? I could see it on some profile runs for test apps I guess?

Sorry there were a compialtion error in this pr.
Close and pull it again :/


Is there some way of using an Observable to get only updates to the table?

So instead of it returning the whole query, just return items that changed/added that fits the query

Unfortunately, that's impossible to implement efficiently on top of relational db :(
As an example try to imagine how we should process such query: delete * from some_table where some_column like %str%.


[Question] How to run a REMI app (python script) without console?

even in "standalone" mode, there is a console together with the GUI window.
any way to get rid of that console?

Run the script with pythonw.exe instead than python.exe.


My game was inspired by yours

Hello my game https://github.com/su8/hackzy was inspired by yours. You do use OOP but thats overkill for your project which repeats a lot of the commands

Hello, that's nice to hear!
The project is old and half made, as you might have noticed already haha
All the OOP things are there because back then I wanted to add features which we never quite got around finishing (mainly the extensions system, lua scripting, displaying it in a make-pretend SDL terminal instead of your actual console, etcetera), so you might want to use OOP down the road, but please not to the degree I did, the Command interface is something am not proud of.
Also keep in mind that you should keep implementation and header separate (which I didn't!), since it helps greatly in terms of compilation speed and code clarity.
If you have any further doubts about it, do let me know! :D

Thanks


Games with dots in their name only show the text before the first dot

If the gam name has dots like B.A.T., the plugin only return B as a name.
I solve the issue using:
{
"name" : "Amiga",
"execution" : ""D:\Emulation\RetroArch\retroarch.exe" -f -L "D:\Emulation\RetroArch\cores\puae_libretro.dll" "%ROM_RAW%"",
"path_regex" : ["D:\Applications et jeux\Amiga"],
"tags" : ["Amiga"],
"game_name_regex" : ".\\([\(\[].)[.][^\.]+$",
"game_name_regex_group" : 1,
"system_rom_name_regex_group" : 1,
"filename_regex" : ["[.]lha","*[.]zip"],
"gameShouldBeInstalled" : true,
"hashContent" : false
},
It's an exemple for my Amiga games using Retroarch. It works for other platforms

Updated the default examples to remove this feature breaking these in the dev branch. See the following for the preview build. Additionally, you may need to disconnect and reconnect the plugin for it to be reflected. https://github.com/AndrewDWhite/GalaxyGenericImporterPlugin/releases/tag/Prototype_a3862407cd827adc53181045416009a35666e310


Remove old polyfills

Maybe I'm missing something, but do we still need these?

Indeed, these can go. Not only on master but on 2.3 as well :)

good catch

thank you, replaced by #2742


PHP: upgrade references to phpunit 8.5.8

@stanley-cheung

This is a continuation of #24695. A few more stranglers.

in this file you run tests on php 7.0: tools/dockerfile/distribtest/php7_stretch_x64/Dockerfile
in this commit fixed it: https://github.com/grpc/grpc/pull/24525/files#diff-8b0fa6f8a955efc4d572809c29439ef1116a7b08d71ca48e0e6bb66a23a19a4e

in this file you run tests on php 7.0: tools/dockerfile/distribtest/php7_stretch_x64/Dockerfile
in this commit fixed it: https://github.com/grpc/grpc/pull/24525/files#diff-8b0fa6f8a955efc4d572809c29439ef1116a7b08d71ca48e0e6bb66a23a19a4e

Yea sorry we missed it the first time around.

it would not be bad to change composer.json on minimum required version php

it would not be bad to change composer.json on minimum required version php

Sounds good. Do you mind making a PR just for that change please? Thanks.

No problems! https://github.com/grpc/grpc/pull/24791

Tests all passed.


bug: logs not working

Provide environment information
mac os
Describe the bug
I got logs in at the bottom previously using create t3 app, but now not getting any logs on serverside, while using trpc need help
I got prisma queries, the url hit, and so many logs while using t3-app, how can I replicate the same ?the Prisma
Link to reproduction
https://github.com/t3-oss/create-t3-turbo
To reproduce
just use some trpc route
Additional information
No response

that's because create-t3-app still uses a "client" for trpc calls where this repo uses v11 and a server-caller, so we don't have a loggerLink.
if you want db logs with drizzle, see https://orm.drizzle.team/docs/goodies#logging


[tool_crash] FileSystemException: Cannot copy file to 'C:\Users\user\Desktop\ExposeFlutter\exp\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png', OS Error: Access is denied., errno = 5

Command
flutter create exp

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot copy file to 'C:\Users\user\Desktop\ExposeFlutter\exp\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png', OS Error: Access is denied.
, errno = 5
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.copySync (dart:io/file_impl.dart:340:5)
#2      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#3      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#4      Template.render.<anonymous closure> (package:flutter_tools/src/template.dart:267:18)
#5      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#6      Template.render (package:flutter_tools/src/template.dart:190:24)
#7      CreateCommand._renderTemplate (package:flutter_tools/src/commands/create.dart:799:21)
#8      _rootRunUnary (dart:async/zone.dart:1198:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#14     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#15     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#16     Template.fromName (package:flutter_tools/src/template.dart)
#17     _rootRunUnary (dart:async/zone.dart:1198:47)
#18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#23     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#24     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)

[✓] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.1139], locale ar-TN)
    • Flutter version 1.22.3 at C:\Users\user\Desktop\APP\flutter
    • Framework revision 8874f21e79 (6 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\user\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[✓] VS Code (version 1.50.1)
    • VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Flutter Application Metadata
No pubspec in working directory.

@AzzaHadded
Can you switch to latest master and try again to see if it works or you get same issue ?
Thanks.

duplicate of https://github.com/flutter/flutter/issues/69116


Merge main into rhcos

Adapt the current examples for RHCOS.

@cgwalters squash?

Well...so far this actually merges in changes from main, so condensing it to a single commit would I think be messier.
Honestly though what I'm trying to think about long term is if we can somehow avoid forking at all...and actually have it Just Work to override the base image for all of these directly.  Maybe with some distribution conditionals.

Specifically https://github.com/coreos/coreos-layering-examples/pull/15/commits/e3c26631487677e27e1cc916b43e07070b01bbd7 is a merge commit that pulls in a lot of other changes.

I see, well then LGTM. Ahh yeah the base image can be changed based on an arg. I can check if instead of just passing the base image in an ARG I can make it work with passing fcos/rhcos as ARG and we figure the base image.

Uhhh...wow I somehow ROYALLY screwed this up and merged this in to main, not the rhcos branch...

Argh.  Well...it is tempting to force push main back to e955e9299228192d8d1a49c309b1aaa80030aef0 which is where I think things forked from.

we are early... force push it.

we are early... force push it.

Sorry I forgot to respond to this earlier!  We chatted about this real time.
I think what I lean (but I'm up for discussion!) is to default to FROM quay.io/coreos-assembler/fcos:stable or so.  And then we just document how to use podman build --from registry.ci.openshift.org/rhcos-devel/rhel-coreos:4.11 to override it.  OpenShift Builds also support overriding the FROM line.  I think many other systems do, for exactly the reason we have here.
The other reason for this is I think soon we will want to introduce a centos-stream-9-coreos:4.11 etc., and at that point things get really unwieldly to replicate in each Dockerfile.


Possible training speedups

In the last few days I've been playing around trying to see how fast I can get a 19M model training on a single 4090. My somewhat arbitrary goal is 1 hour, down from about 24 hours (just on humanoid-walk for now). I was pretty surprised at how well simple torch.mean weight-merging worked (y-axis is reward):

The yellow line is the "control" run - i.e. no sharing/merging, and the bunched lines are 'workers' (separate Python processes) which share weights via the filesystem every so often. It seems like 4 workers with merging every 2.5k steps works quite well. The above chart shows 8 workers, but it only very marginally improves on 4 workers in my tests.
(Side note: Kind of counter-intuitive how 4 workers seem to give >4x speedup, but increasing beyond that barely improves speed. Might need to run some more tests to confirm - I've only tried 8 workers once, whereas I've tried 4 workers in several experiments.)
In case anyone is interested, the main code for this (in online_trainer.py while loop) is just:

Click to show code
# be sure to change the seed for each worker
if cfg.do_multitrain_model_merging and self._step >= num_seed_steps and self._step > 0 and self._step % cfg.model_merge_freq == 0 and cfg.model_merge_index != 0: # zeroth model is the 'control' model
  model_path = f'/mnt/tdmpc2/tdmpc2/temp_worker_models/{cfg.exp_name}-{cfg.model_merge_index}.pt'
  lock_path = f'{model_path}.lock'
  with FileLock(lock_path, timeout=200): # prevent others from reading the model file while we are writing to it
    self.agent.save(model_path)
  agents = []
  for filename in os.listdir('/mnt/tdmpc2/tdmpc2/temp_worker_models/'):
    # check regex match for filename `{cfg.exp_name}-[0-9]+.pt`
    regex_match = f'^{cfg.exp_name}-[0-9]+\\.pt$'
    if re.match(regex_match, filename):
      file_path = os.path.join('/mnt/tdmpc2/tdmpc2/temp_worker_models/', filename)
      lock_path = f'{file_path}.lock'
      # wait to acquire lock before reading the model file
      with FileLock(lock_path, timeout=200):
        print("Loading model:", filename)
        a = TDMPC2(cfg)
        a.load(file_path)
        agents.append(a)
  # merge all the models into the current agent's model
  model_names = ["_encoder", "_dynamics", "_reward", "_pi", "_Qs", "_target_Qs"]
  for model_name in model_names:
    print("merging model_name:", model_name)
    models = [getattr(a.model, model_name) for a in agents]
    for model in models:
      model.eval()
    with torch.no_grad():
      for name, param in getattr(self.agent.model, model_name).named_parameters():
        params_to_merge = [model.state_dict()[name] for model in models]
        mean_param = torch.mean(torch.stack(params_to_merge, dim=0), dim=0)
        param.data.copy_(mean_param)

I'm quite happy with a ~5x speedup for such a small change to the code, and am now on the hunt for another 5x to get it under an hour.
I'm wondering if Nick or anyone else here has any thoughts on some more low-hanging fruit? I thought perhaps that a generalized reward component that effectively aims to teach the agent "inverse kinematics" in the very early stages might be helpful (basically giving it desired global coordinates for random body parts), and I've started experimenting with ways to do that, but no luck so far.
Any loose thoughts/tips/ideas would be useful - I'm a newbie and haven't yet got great intuitions for trimming the experiment search space.

This looks really interesting! I'll have to think about this a bit more, but just to clarify: does each worker only perform model updates or are they entirely separate training processes? I.e., does each worker collect their own data? I am planning to release an implementation soon that trades sample-efficiency with better wall-time using environment parallelization (stepping in multiple copies of the environment in parallel). I imagine that env parallelization and training parallelization like you're seemingly proposing here could be used simultaneously.

This all makes a lot of sense @josephrocca! I'd be very interested to see where this leads to :-)

Very keen to try that out!

I now have it up and running internally but still need to run some performance benchmarks. I will let you know as soon as it is ~ready for external testing!

@josephrocca I have pushed my implementation to branch vectorized_env. I verified that it solves easy tasks from DMControl but have yet to try harder tasks + figure out what the right balance of envs and model updates are; num_envs=4 steps_per_update=2 seems to be a good starting point.

Benchmark results on task=walker-walk. Orange is default; green is vectorized (num_envs = steps_per_update = 4). Approx. 8 min vs. 24 min. to converge on a 2080-Ti.

task=humanoid-walk, again default vs. num_envs = steps_per_update = 4 on a 2080-Ti. Seems like it's also a ~3x speedup.

Oh this looks great! I've just kicked off a few experiments including testing vectorized, playing with iterations, model size, adding in the merging on top of the vectorized env stuff, and some other random stuff. Will report back 🫡

Hi guys. The improvements in this thread are awesome to see!
I am also interested in speeding up this algorithm, so I created a (mostly) 1:1 port in Jax/Flax. I am happy to report a 5-10x speedup for the planning/update steps, which reduces the training time to ~2.5 hours/million time steps! I imagine that we could get it down to an hour or less using multiple workers. If anyone is interested in trying to combine them, I have put my implementation in the repo below!
https://github.com/ShaneFlandermeyer/tdmpc2-jax

Wow, Shane! I should be able to get back to tdmpc experiments soon 🤞 can't wait to try out your code and test with the other ideas/improvements in this thread. What a time to be alive.

Closing this issue. There has been recent efforts to speed up both training and inference of TD-MPC2, which has resulted in approx. 4.5x wall-time speedup compared to the original implementation. These changes have been pushed to main and are available with compile=true (requires nightly versions of pytorch, tensordict, torchrl). Our changes are orthogonal to environment vectorization, which (as evident from this thread) is an additional ~3x speedup. The vectorized_env branch of this repo includes both features.


Fixed issue with sending JMeter vars via X-es-backend header prefix

Attempt to address issues with https://github.com/delirius325/jmeter-elasticsearch-backend-listener/issues/31

Will add JMeter variable to sampler data even if es.parse.all.req.headers or es.parse.all.res.headers are set to false.
Made small change to replaceAll in header key to be 'X-es-backend-' rather than 'es-'
Small config change to pom.xml to allow successful building in Java 11

Tested successfully in JMeter 5.1.1 r1855137.  ElasticSearch v5.6.9
Tested four scenarios under light load.

Set X-es-backend- header key/value.  es.parse.all.req.headers=false.  es.parse.all.res.headers=false.
Set X-es-backend- header key/value.  es.parse.all.req.headers=true.  es.parse.all.res.headers=false.
Set X-es-backend- header key/value.  es.parse.all.req.headers=false.  es.parse.all.res.headers=true.
Set X-es-backend- header key/value.  es.parse.all.req.headers=true.  es.parse.all.res.headers=true.
In all cases the X-es-backend- key/value appeared as expected.

Hey there thanks for the PR,
I'm currently on vacation and will not review or add anything to the plugin until I can fully test the functionalities myself. I will be back on the 6th of August.
Until then, this PR will remain open.
Thanks for your understanding :smile:

Better late than never @Coppernut , thanks again for the contribution!


[Feature Request] Better TypeScript suppport

Dear Alexandr
Thank you for implementing a rate-limiting feature for Axios. It works very well!
If you find some time, maybe you could address some TypeScript-related issues I am facing:

Export the RateLimitedAxiosInstance interface, so that we can have a specific type (instead of any) in our projects

default export axiosRateLimit (instead of export = axiosRateLimit;). I had to turn on a compiler option (esModuleInterop) to make axios-rate-limit work in modern es6 projects.

Thank you!
EDIT:
I've just seen this pull request: https://github.com/aishek/axios-rate-limit/pull/19.
It seems like my second suggestion has already been fixed in 1.2.1. However, I still get that problem. What is the correct import statement in TypeScript now?

Thanks for kind words!
I still not using Typescript in my everyday work, so will very appreciate any help

Installed from NPM, but it is still a no.

Fixed in https://www.npmjs.com/package/axios-rate-limit/v/1.3.0

Hi @aishek,
Thanks for releasing v1.3.0.
I'm not sure if I'm doing something wrong. I'm still not able to import axios-rate-limit without enabling esModuleInterop: true.
import * as axiosRateLimit from 'axios-rate-limit';

Error:
This expression is not callable.
Type 'typeof import("node_modules/axios-rate-limit/typings/index")' has no call signatures
Workaround: use json{ "esModuleInterop": true } in tsconfig.json


Align -(no-)optimize flags with current release of Cray compilers

Original issue: https://charm.cs.illinois.edu/redmine/issues/157

We provide a generic wrapper for various backend compilers in charmc, and a flag -optimize that's meant to provide good optimization settings for any given backend without breaking things. Every new compiler release brings new optimization settings along with it. We haven't necessarily kept up with these releases and the options they bring to the table.
We should make sure that the flags we pass the Cray compilers under -optimize are appropriate for the most recent few releases, in terms of performance, reliability, and compatibility.
The first step would be to see what versions are in service, and how their documented options differ.

Original date: 2013-05-20 21:03:21

With craycc, less is more.  The default of using no options is approximately -O2.  conv-mach already does the right thing on Cray XE, so craycc files have been committed which allows it to be chosen as part of the platform name, but do not alter the settings at all from conv-mach.

Original date: 2013-05-20 21:07:40

This makes me realize that we actually have the opposite problem on CCE - charmc -no-optimize would be a lie. We don't proactively pass a non-optimization flag like -O0, but rather just use it to disable charmc's own -optimize that may have appeared earlier on the command line.

Original date: 2013-08-28 18:57:29

We want the non-optimizations case to work too, where the user asks for it and the compiler defaults to aggressive optimization.


Create a centralised cache manager

Create a centralised cache manager as described in #943

Codecov Report

Merging #1005 (77eb367) into main (30ed946) will decrease coverage by 0.14%.
The diff coverage is 91.86%.

:exclamation: Current head 77eb367 differs from pull request most recent head 37e57c8. Consider uploading reports for the commit 37e57c8 to get more accurate results

@@            Coverage Diff             @@
##             main    #1005      +/-   ##
==========================================
- Coverage   99.98%   99.84%   -0.15%
==========================================
  Files         302      303       +1
  Lines       19839    20004     +165
==========================================
+ Hits        19837    19972     +135
- Misses          2       17      +15
- Partials        0       15      +15

Impacted Files
Coverage Δ

internal/blockchain/ethereum/config.go
100.00% <ø> (ø)

internal/events/event_manager.go
96.63% <80.00%> (-3.37%)
:arrow_down:

internal/orchestrator/orchestrator.go
99.01% <84.61%> (-0.99%)
:arrow_down:

internal/txcommon/txcommon.go
96.03% <85.71%> (-3.97%)
:arrow_down:

internal/data/data_manager.go
98.56% <86.66%> (-1.44%)
:arrow_down:

internal/privatemessaging/privatemessaging.go
98.77% <86.66%> (-1.23%)
:arrow_down:

internal/blockchain/fabric/fabric.go
99.59% <87.50%> (-0.41%)
:arrow_down:

internal/blockchain/ethereum/ethereum.go
99.60% <88.23%> (-0.40%)
:arrow_down:

internal/operations/manager.go
98.61% <88.23%> (-1.39%)
:arrow_down:

internal/identity/identitymanager.go
98.58% <89.47%> (-1.42%)
:arrow_down:

... and 9 more

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

@awrichar comment addressed, will deal with the merge conflict next

@awrichar ready for review again.

I see the fabric tests failed - downloading looks to look for root cause

@peterbroadhurst thanks for the review. It’s caused by a mistake in the merge. I’ve fixed it and added more tests to catch it earlier. Spotted another error as well. Ready to be reviewed again


"OK" button in Arabic doesn't look right

/cc @HansMuller

I tried the chat tutorial at codelab and arabic text breaks in the same way

I've been able to reproduce this bug; unfortunately it does not occur with the Ahem font.

Looks like Text widget relies a lot on Textdirection to paint its value.
try setting textDirection property in the Text widget.it should solve it.
new Text('حسنا',textDirection: TextDirection.rtl,)

The DatePicker's OK button is defined like this:
  new FlatButton(
    child: new Text(localizations.okButtonLabel),
    onPressed: _handleOk,
  ),

I'm not familiar with Arabic script but it does seem like the حسنا flat button label was rendered RTL but we've inexplicably inserted a line break?

Almost certainly a dupe of https://github.com/flutter/flutter/issues/10719.
Setting the textDirection explicitly shouldn't need to help assuming you've correctly set up the localization, since then the infrastructure should already be configuring everything to RTL.

This issue (breaking Arabic/Persian text lines in inappropriate positions), is fixed a long time ago. OP could verify.


navigating away results in losing the puzzle

I'm one of those weird users who still has backspace configured to go back. So when I played this for my first time, and attempted to make a correction with backspace, my browser navigated away from the page. I'll never know what that word was 😢
When this happens in Wordle, it's not a big deal, because it uses a "gameState" object in localStorage to persist the state (and the solution, funny enough). So when the user navigates back to the page it's as if nothing happened. Would it be possible to implement something similar?

Yep I like the idea of saving the game state in local storage!

HI @trumad, As a suggestion, backspace seems to work fine on Google Chrome but not Firefox. So, it seems like a browser-specific item.

Yeah, and specifically only if the user has changed "browser.backspace_action" to 0 in about:config. That's my personal preference, and it's not the job of this dev to account for that. But when it does happen, it would be great if the app used localStorage so I don't lose progress. And I figured that other users who accidentally close the tab or refresh would appreciate this also.


Add more validaiton on reading file extensions.

I have duplicated the file "Silver Blaze.txt", and added additional extension. "Silver Blaze.txt.t". The tool still has processed the file. I think that the tool is needed more validation.

Updated validation of files ending with .txt instead of searching for files with ".txt" in their name.
This should solve the file extension validation issue.
Thank you!


Fix remark6.0.1

What does this implement/fix? Explain your changes.
Updates atom-beautify to use remark's new API.
...
Does this close any currently open issues?
Fixes #1196
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.

[x] Merged with latest master branch
[ ] Added examples for testing to examples/ directory
[ ] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

Thank you for contributing!

Is it possible to have this fix published in a minor version rather than waiting to publish with v0.30.0? Thanks for all your hard work, by the way. This is one of my most heavily used packages.

2nd the minor release. For now I applied the changes locally to get it to work.

Published to v0.29.15


[Suggestion] Remove "of" property from Field

Hello i just discovered SolidJS and this ReactHookForm-like version, very nice !
But i noticed in docs the Field is duplicating of={logingForm} while it is already defined in parent component <Form of={logingForm}.
Also a Field will most probably never be used outside of a Form ?
Suggestion: maybe there is a way for Field to grab of's value from Form ?
Edge case: if used inside a native form element, Field could make the "of" property as required only in the case where not used as child of Form ?

Technically it is possible, e.g. with the context API, to remove the of property from the fields. However, this would have the disadvantage that the type safety is lost and also the auto-completion in the editor no longer works, since this information comes from the return value of createForm.
As the name says, it is a modular library, which means that only the code you use ends up in your bundle. This reduces the bundle size to a minimum and provides better performance since the browser has to process less JavaScript. Of course, this has not only advantages. One tradeoff of this is that we have to pass the return value of createForm to all other calls, since it contains the state and type information. I think it is worth it and in my eyes it improves the readability of the code.

@Sharlaan do you have feedback or more questions for me? Or should I close the issue?


add margin theme option to docs

Adds the margin option to theme docs

need an updated yarn.lock

need an updated yarn.lock

doing that now :)


pluginZod: use Regular expression literal instead of RegExp-contructor

What is the problem this feature would solve?
kubb generates a regex by using RegExp()-constructor:
// uses RegExp-contructor
"username": z.string().regex(new RegExp("\\S")).min(2).max(20)

Please consider to use Regular expression literal instead of RegExp-contructor:
// uses Regular expression literal
"username": z.string().regex(/\S/).min(2).max(20)

According to SonarLint, Regular expression literal:

it's shorter
more readable
do not need to be escaped
and can also be more performant because Regular expression literal are compiled only once when the script is loaded

External documents/projects?
No response
What is the feature you are proposing to solve the problem?
No response
What alternatives have you considered?
No response

@nimo23 This change will be part of kubb v3.3.0


Existing NotificationChannel does not update on initialize or setChannel

When calling AwesomeNotifications().initialize('blah', [existingChannel]) or AwesomeNotifications().setChannel(existingChannel)  on a NotificationChannel existingChannel that has a channelKey for which a NotificationChannel has been created before, the channel is not updated. However the documentation says, they should update existing channels.
Creating a new channel using both methods, as well as removeChannel do work though.

Once a notification channel was created, the user has the ultimate control over it on the settings. As the developer, you can only change the channel's title and description or drop it.
If you want to recreate the channel, you have to use a different id or drop before the existing one.

I actually only tried change the title and description and that didn't work.
Also I read the following here: https://developer.android.com/reference/android/app/NotificationManager#deleteNotificationChannel(java.lang.String)

If you create a new channel with this same id, the deleted channel will be un-deleted with all of the same settings it had before it was deleted.

I don't know much about native android development, but could that mean, that the user settings are also preserved? So maybe in that case the channel could be fake-changed by internally removing and recreating it?

I will test it for your soon. Im finishing the iOS code right now. After that (4-5 days) i promisse you i will check it out.

Sorry for take so long to fix your problem. The iOS was pretty harder than i thought.
The channel update was fixed since version 0.0.4 and i create a exclusive test on example application for it.


imageRegistryCredentials password field should be @secure decorated

Hello,
Thanks for the great work !!
Is your feature request related to a problem? Please describe.
The password property of the imageRegistryCredentials object is not decorated with @secure().
This prevents from using a keyvault to define the password of this resource.
Describe the solution you'd like
This parameter could befenit from the @secure() decorator so that we can use keyvault to set the password.
Kind regards

Working like a charm following your code.
Thanks @alex-frankel


Can't find the dll file message

Thanks for creating this, but having some problems getting it to work with AutoHotKey
I'm using AutoHotKey <IP_ADDRESS> and having some issues with never being able to load the dx9_overlay.dll file.
I've checked the path, tested different paths, and even put all the files together in the same folder and changed the overlay.ahk file to accommodate this.
I even tried your sample file "hello world.ahk" and it gives the same error in not loading the dll.
Have you tested this overlay with the latest AutoHotKey and DX9?
Any troubleshooting tips for making sure the line hModule := DllCall("LoadLibrary", Str, PATH_OVERLAY) does indeed load the dll? Or do you think this is a DX9 issue? DX9 apps load on my test computer here.
Thanks!

I found the problem: I didn't heed your warning about the ANSI 32-bit version. I had the regular 32-bit version of AutoHotKey. The DLL loads now.
With that said, is there any way to get this overlay to work with the latest AutoHotKey? Can we wrap tags around calls to make it ANSI friendly or something? Thanks.

This forum post over at AutoHotkey pretty much solved the issue when trying to run in the regular 32-bit version of AutoHotkey: https://www.autohotkey.com/boards/viewtopic.php?p=22299#p22299
Can you update yours to match these changes so that it's not dependent on the ANSI 32-bit version of AutoHotkey? Thanks!