fix : maintain only single optimus host variable name across environment

maintain only OPTIMUS_HOST variable across plugins and airflow dags
Plugin PR : https://github.com/odpf/transformers/pull/23

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5025

Relevant Lines:
7029

💛  - Coveralls

closing this pull request because of dirty commit log


Schema body is not highlighted

This plugin does not highlight the schema body. If you replace Schema with Body, the highlighting comes back.
I had a look at the source and can't seem to figure out why (my sublime plugin skills are not great though).

@foxx I'm assuming that this example exhibits the issue you are reporting:
# Resource [/resource]
## Action [GET]
+ Response 200 (application/json)

  + Body

      {
        "I am some JSON": 1
      }

  + Schema

      {
        "I am also some JSON": 1
      }

The problem is that the schema section specification doesn't make any assumptions about the content type. It could be (and probably is) JSON schema, but maybe it is XML Schema Definition instead or something completely different. The media type application/json in the example above refers to the body content of the payload section, not the schema content.


Added Zomato clone

"Issue #58 " : Added Zomato Login Page clone

Kindly please review and merge my pull request.
Thank you very much!


fix: 🐛 handle third party libraries that are not installed

:tada: This PR is included in version 2.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


1Inch sync error handling

getting quotes and swap information from 1Inch might fail with "cannot sync to token 0x..."
On the server, this issue is handled by not return routes.
There is no handling on the front end. Immediately retriggering the swap might not work. The sync issue might take a while to resolve itself.

I improved the routes handling on server side. Different routes can now fail independent of each other and only the successful ones are returned to the client.


Splines: check limit before float->int conversion

Merge conflict, please resolve.

Rebased. PTAL

@veluca93 PTAL


SPIFFS_open returns SPIFFS_ERR_DELETED

My basic use-case of SPIFFS basically consists of creating a file at powerup, writing data to it and the powering off. The files are created with the current timestamp in the name, with an algorithm that makes the name is unique if it isn't. Files are created with SPIFFS_CREAT | SPIFFS_RDWR flags set.
After littering the FS with a whole bunch of create/remove pairs, my currently empty (meaning no valid files) FS won't create any more files, SPIFFS_open just returns SPIFFS_ERR_DELETED.
Digging into the issue with the debugger, the return code is set in spiffs_nucleus.c Line 1202,   SPIFFS_VALIDATE_OBJIX(oix_hdr.p_hdr, fd->obj_id, 0);
I could just erase the whole flash when I clean up my files but that takes a long-long time. Also, according to SPIFFS_info, my flash is basically empty, with 32M total, 55k used. How could I make SPIFFS understand that there are plenty of free pages to chose from?
Thanks

You could try running SPIFFS_check if your mount fails and see if it fixes anything.

In my case the issue is that SPIFFS_open creates the file header in an address using spiffs_object_create (concrete example, 0x1001500), then validates it in spiffs_object_open_by_page, but this function reads the heaeder back from an incorrect address (0x1500, in this concrete case).

All right, my issue is that the type spiffs_page_ix is 16 bit but my flash has like 130k pages so it is basically a configuration error.

You can also try to check your variable sizes and if that is not your issue, please open a new issue.

All right, my issue is that the type spiffs_page_ix is 16 bit but my flash has like 130k pages so it is basically a configuration error.

Thank you for mentioning this! I have been using SPIFFS on a flash chip with 128 MiB storage capacity and couldn't figure out why I wasn't able to create very large files. Turns out I forgot to change the type of spiffs_page_ix to one that can represent enough indices for the entire flash.


Doc unit test macros

          Wouldja mind opening a Discussion just to educate folks about the current proper way to test.

Include maybe bother the #[test_context] and the #[test(...)] details for folks who haven't jumped into this repo yet?
Originally posted by @bobmcwhirter in https://github.com/trustification/trustify/pull/174#discussion_r1579424519

I think these are documented well enough.
Feel free to reopen with questions not easily answered there.


Use faster library for decompression when index is available

When the index is available, we can use existing libraries, at least zlib works. zlib-ng might also work but performance improvements will be marginal according to simple tests https://github.com/mxmlnkn/rapidgzip/issues/9#issuecomment-1591995999. On the other hand, libdeflate might bring some significant performance improvements. However, it is questionable whether libdeflate works in this use case because we need to very specialized interface functions: "set window" and "inflate prime" in order to start in the middle of a byte from a deflate block directly. If something like inflatePrime is not offered, then we might have to modify libdeflate or we might be able to do some tricks like pigz does in order to byte-align separate deflate streams by inserting zero-size deflate blocks. However, our case might be harder to do. Byte-aligning is easy with empty non-compressed blocks but aligning to some subbit will require empty Fixed Huffman or Dynamic Huffman blocks.
I might even be able to use igzip although it might be troublesome to implement the NASM-dependent build process in setuptools, so I probably should only use igzip for building the wheels and not by default. The same question about how to implement the inflatePrime call as for libdeflate applies here. And a comparison benchmark would need to be added.

Implemented in 0.8.1.


[BUG] Switching funding sources from adminUI hangs

Describe the bug
Trying a live scenario with switching funding sources between accounts of legend.lnbits, lntips, lnpay.
Once you switch the funding source in adminUI, and restart the server, it hangs and get errors in lnbits console.
To Reproduce
Steps to reproduce the behavior:
Let's say you start without adminUI, you just add legend.lnbits account as funding source in .env file. All works fine, then you need to activate adminUI.

activate adminUI
Click on 'funding sources'. You will see that the lnbits account is there saved correctly and also is displaying the total balance available.
Delete all the lnbits legend account details
Go to LNpay line and add all details requested:
Endpoint: https://api.lnpay.co/v1
APIKey: sak_xxxxxxxx
WalletKey: waka_xxxxxx
(is strange that in the database.sqlite - settings is listed also WalletAdminKey, so not sure which one should be used)
Save settings and click on "Restart server". It will show up the green alert that server is restarted.
Go to LNbits console logs and see the errors. It says that cannot start and all hell break lose, lnbits is not starting anymore.

To restore LNbits starting I did the following:

Go to .env file and switch manually the funding source to LNpay or LnTips, disable adminUI
restart lnbits and works, but adminUI is not usable anymore.
Stop Lnbits, edit .env file activating again adminUI
open database.sqlite with editor and in "settings" table edit the funding sources corresponding to the one you put in the .env file
Restart lnbits. Sometimes is starting but is saying that lnbits funding source could not start and fallback to voidwalelt. So still can enter into LNbits page and do changes, but again are not taken in consideration.

Expected behavior
It should just restart with the new funding source details. If the details are wrong, it should fallback to FakeWallet.
Desktop (please complete the following information):

LNbits version: 10.0.3
Database sqlite

Additional information
Playing around editing the database and env file, the only way to make it work again is to reset totally the adminUI, but that means all your other settings are gone (users, wallets, etc). Yes, those users and wallets are still in the database, but you cannot manage them anymore from LNbits UI.
It must be a way to be able to use adminUI correctly being able to switch easily between funding sources.

Does this still happens on latest release? Consider closing the issue.

Does not reproduce anymore. Closing issue.


Add line breaks to code blocks

Mlx seems to emit all html on a single line, include inside  tags. Thus the apparent line breaks in code blocks cannot be copy/pasted, and copy/pasting results in all the code on a single line. This change adds explicit html line breaks at the end of each line of code to work around this issue.

Related issue https://github.com/ocaml-mlx/mlx/issues/12


Disable creating of the sync note file (aka README.packit)

When submitting a distgit PR during propose-downstream, we create a README.packit file with some info about the sync the packit version used. Users (e.g. @hroncok ) wants to avoid this.
In the code, we have an option to disable it:
https://github.com/packit/packit/blob/ac993ef1fe61ef8affdfbdec3a3fc5c437b18fcd/packit/api.py#L221
It would be nice to add this option to the package config as well.

For the record, my motivation is:

I want Packit to send me pull requests, but
I don't want to bother any provenpackager or co-maintainer (or future me) with Packit related files.

I.e., I'd like to have the dist-git repository "Packit-clean". The Packit configuration is kept in the upstream repository and the spec file is kept only in dist-git.

Please don't


[pie-chart] Restricting query to single metric

The pie chart should only support a single metric. Currently it seems to use the first metric if multiple are specified.
to: @williaster @GabeLoins @mistercrunch

Codecov Report

Merging #5203 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5203   +/-   ##
=======================================
  Coverage   63.45%   63.45%
=======================================
  Files         261      261
  Lines       19823    19823
  Branches     1989     1989
=======================================
  Hits        12579    12579
  Misses       7235     7235
  Partials        9        9

Impacted Files
Coverage Δ

superset/assets/src/explore/visTypes.js
62.5% <ø> (ø)
: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 585dbe6...eba98f5. Read the comment docs.

LGTM 🚢

I think it used to allow multiple metrics or one metric along with a groupby.
People may have metrics like boys and girls as different columns in their table.

@mistercruch it auto-translated correctly when I tested it. If you’re ok with oniy supporting one metric, I’ll add the migration.

@mistercrunch the pie-chart simply uses the first metric which is the same behavior as the country-map (as well as others) and this is also configured using the metric (singular) field.

LGTM, sorry about the confusion.
About how to deal with empty form_data or form_data key that match their default value is we should save all of the keys defined for that chart type at that point in time. That way if the default value changes the chart would still look the same. In some cases, null or [] may actually be different from the default, so we should save whatever the value is.
In this case here there should always be one metric so the db migration is fine.


Size mismatch for llama_proj.weight

Hello, I have tried to reproduce the results of Minigpt4, but got such error:
Initializing Model
Loading VIT
Loading VIT Done
Do not use Q-Former here.
Loading LLAMA
llama_model:  /sda/lt/model/Llama-2-7b-chat-hf
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:01<00:00,  1.45it/s]
Loading LLAMA Done
Load BLIP2-LLM Checkpoint: /sda/lt/model/minigpt4-7b/pretrained_minigpt4_7b.pth
Traceback (most recent call last):
  File "/home/lt/project/HALC/run_scripts/caption_generation.py", line 257, in <module>
    model = model_cls.from_config(model_config).to(device)
  File "/home/lt/project/HALC/./minigpt4/models/mini_gpt4.py", line 517, in from_config
    msg = model.load_state_dict(ckpt['model'], strict=False)
  File "/home/lt/anaconda3/envs/halc/lib/python3.9/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for MiniGPT4:
        size mismatch for llama_proj.weight: copying a param with shape torch.Size([4096, 768]) from checkpoint, the shape in current model is torch.Size([4096, 5632]).

The main cause may be the Q-Former. In line 80 of mini_gpt4.py，if model use Q-Former，"img_f_dim = self.Qformer.config.hidden_size", if not, img_f_dim = self.visual_encoder.num_features * 4.
I found that the "eval_configs/minigpt4_eval.yaml" will be merged with "configs/models/minigpt4_llama2.yaml", where "has_qformer: False". Because the "model_type" in "eval_configs/minigpt4_eval.yaml" is "pretrain_llama2".
If I change  "pretrain_llama2" to "pretrain_vicuna0", it can run well.
Further more, How can I use minigpt4-llama2 as the backbone? I have tried to simply modify the "MODEL_EVAL_CONFIG_PATH" in "run_scripts/caption_generation.py", but get strange outputs.
The "MiniGPT-4 7B pretrained weights" and “MiniGPT-4 7B pretrained weights for LlaMA-2” seems to be the same one. Could there be anything wrong with this?

Hi,
I fixed it by change Line3 in minigpt4_eval.yaml to  model_type: pretrain_vicuna0

Thanks!!


Ugly focus style in RadioButton Toggle Checkbox

Ugly square effect when focusing element (RadioButton Toggle Checkbox without animation)
http://www.material-ui.com/#/components/checkbox
https://material.io/guidelines/components/selection-controls.html#selection-controls-checkbox
Versions

Material-UI - 0.18.3:
React - 15.5.4:
Browser - Chromium Version 59.0.3071.86


ImportError: cannot import name 'ITokenChecker' from 'pylint.interfaces'  with pylint 3

Hi
Using this plugin with pylint 3.2.5, I get ImportError: cannot import name 'ITokenChecker' from 'pylint.interfaces'  in every case I tried
Python 3.10.14 in github actions:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.14/x64/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pylint/__init__.py", line 34, in run_pylint
    PylintRun(argv or sys.argv[1:])
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pylint/lint/run.py", line 155, in __init__
    linter.load_plugin_modules(self._plugins)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pylint/lint/pylinter.py", line 379, in load_plugin_modules
    module = astroid.modutils.load_module_from_name(modname)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/astroid/modutils.py", line 196, in load_module_from_name
    module = importlib.import_module(dotted_name)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 2[41](https://github.com/Qontigo/Research-WealthLens/actions/runs/9756356729/job/26926508182#step:10:42), in _call_with_frames_removed
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pylint_fixme_info/__init__.py", line 7, in <module>
    from pylint.interfaces import ITokenChecker
ImportError: cannot import name 'ITokenChecker' from 'pylint.interfaces' (/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pylint/interfaces.py)

Windows 11 with python 3.11.9:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint\__main__.py", line 10, in <module>
    pylint.run_pylint()
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint\__init__.py", line 34, in run_pylint
    PylintRun(argv or sys.argv[1:])
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint\lint\run.py", line 155, in __init__
    linter.load_plugin_modules(self._plugins)
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint\lint\pylinter.py", line 379, in load_plugin_modules
    module = astroid.modutils.load_module_from_name(modname)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\astroid\modutils.py", line 196, in load_module_from_name
    module = importlib.import_module(dotted_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint_fixme_info\__init__.py", line 7, in <module>
    from pylint.interfaces import ITokenChecker
ImportError: cannot import name 'ITokenChecker' from 'pylint.interfaces' (C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pylint\interfaces.py)

and WSL2 using python 3.10.12
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint/__main__.py", line 10, in <module>
    pylint.run_pylint()
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint/__init__.py", line 34, in run_pylint
    PylintRun(argv or sys.argv[1:])
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint/lint/run.py", line 162, in __init__
    args = _config_initialization(
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint/config/config_initialization.py", line 61, in _config_initialization
    linter.load_plugin_modules(utils._splitstrip(config_data["load-plugins"]))
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint/lint/pylinter.py", line 379, in load_plugin_modules
    module = astroid.modutils.load_module_from_name(modname)
  File "/home/XXX/.local/lib/python3.10/site-packages/astroid/modutils.py", line 196, in load_module_from_name
    module = importlib.import_module(dotted_name)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/XXX/.local/lib/python3.10/site-packages/pylint_fixme_info/__init__.py", line 7, in <module>
    from pylint.interfaces import ITokenChecker
ImportError: cannot import name 'ITokenChecker' from 'pylint.interfaces'

Is there a workaround/fix?
Thanks

It's been a while since I needed this module, so I haven't been actively maintaining it
Looks like this was deprecated in 2.14, and removed in 3.0: https://github.com/pylint-dev/pylint/commit/000c6f8985ce6b6d9c7e45e63d7a65b4eda24897
I believe it can be replaced with the BaseTokenChecker in the current version of pylint, as it has the same signature, though from my initial test, it seems a few other things have changed and it isn't a simple drop in replacement. If you happen to dig further, I'm happy to accept PRs, but I won't be able to do a release or attempt a fix myself until late today or tomorrow, so the published package won't be updated before then

I did actually get what I believe is a working version, on the pylint-3 branch, but still need to validate and properly publish it

Great, thanks for looking at it so quickly.
I'm afraid I'm not really a python programmer - I am coming from a devops angle, building piplines to build and test apps and run code quality analyses over the code....

No worries! If you want to try the patch, you can directly install the package from the branch (pip docs), otherwise I hope to have a release for you by midday tommorrow

just tried it and it does indeed seem to work.  Tomorrow would be great!
thanks

1.0.4 is out, supporting pylint>=2.14.0

Awesome, thanks for the amazingly rapid response!


CFT gate

Complex Fourier Transform gate (e.g. to go between Wigner and Characteristic function)

Replaced with New cft


Migration to ESlint

This is a long-term feature request.
As Palantir decided to drop TSLint and to move everything to ESLint read here codelyzer should start thinking about a migration path.
This might to be done with the Angular-CLI team together as they are integrating codelyzer with every build Angular-CLI issue

Thks @chaosmonster ,
I close your issue and re-open #763 .
Duplicate #763


Search text box and Advanced Search button missing in Cloud Tenants

Search text box and Advanced Search button is missing
when reaching Compute -> Clouds -> Tenants.
It is also missing in  Compute -> Clouds -> Object Stores/Key Pairs.

It should look like this:

@miq-bot add_label ui, bug

This needs to be merged first! ManageIQ#11065

This is fixed by https://github.com/ManageIQ/manageiq/pull/11393
so we can close this issue.


Feature Request: LayeredBox

When using Box to represent a configuration hierarchy, it would be great to be able to have a LayeredBox virtually merging multiple Boxes in layers. That way, Boxes containing content from say a system wide, user specific and directory specific configuration could be combined while retaining the ability to write back changes using a round-trip yaml parser to preserve formatting and comments in the config provided by the user.
The LayeredBox would probably require some flags defining the way merging is done recursively. Should dictionaries at all levels be combined, or should they be overwritten? Should lists be overwritten or merged by appending? Typically, you'd want dictionaries to be merged and lists to be overwritten I think. It's a semantic decision though.

Please take a look at OmegaConf which this natively, and while you are at it take a look at Hydra which probably solve a bunch of other problems you are having.

Hi @epruesse, after thinking about this for a while, I do think that it would be best to either turn to one of the alternatives @omry mentioned or should be it's own project, as it has a lot going on itself.

@cdgriffith Thanks - I will do that. Perhaps I can toss the (fragile) code I hacked up for myself in the mean time...


Uninitialized array retains value, even after leaving scope

Possibly related to
https://github.com/godotengine/godot/issues/25703
Godot version:
3.1.1.stable.mono.official
3.1.1.stable.official
OS/device including version:
Windows 10
Issue description:
Edit: Forgot to try inheriting from something other than reference. Will try that in the morning, and update this issue if that changes anything.
Edit II: Changed test class to extend Node. Added additional information in new reply.
When calling a function with an array as an argument, that argument retains its value between calls, even if both the function in question and the one that called it have completed and all variables have gone out of scope. Initializing the array on each execution stops this from happening.
Steps to reproduce:
array_scope_bug.gd
extends Reference

class_name array_scope

func dummy_append_pre():
    var j:Array
    dummy_append(j)
    print(j)

func dummy_append_pre_with_initialization():
    var j:Array = []
    dummy_append(j)
    print(j)

func dummy_append(an_array:Array):
    an_array.append("a")

array_scope_bug_main.gd
extends Node

func _ready():
	var _as = preload("res://array_scope.gd").new()
	_as.dummy_append_pre()
	_as.dummy_append_pre()
	_as.dummy_append_pre()
	_as.dummy_append_pre()
	_as.dummy_append_pre_with_initialization()
	_as.dummy_append_pre_with_initialization()
	_as.dummy_append_pre_with_initialization()
	_as.dummy_append_pre_with_initialization()

Minimal reproduction project:
array_reference_bug_files.zip

CC @bojidar-bg @vnen

Additional information: when the array_scope class is extended from Node, the same issue occurs, but I also see this additional output in the debug console:
   At: ./core/self_list.h:111
ERROR: ~List: Condition ' _first != __null ' is true.
   At: ./core/self_list.h:111
WARNING: cleanup: ObjectDB Instances still exist!
     At: core/object.cpp:2095
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:425```

Probably duplicate of #24134 which is fixed by #28603 already.

Probably duplicate of #24134 which is fixed by #28603 already.

I just built master, and the issue persists.

Still observed on master

func _correct_behavior():
	var ar_1: Array = []
	var ar_2: Array = []
	var ar_3: Array = []
	ar_1.append("test")
	print(ar_1)
	print(ar_2)
	print(ar_3)

func _incorrect_behavior():
	var ar_1: Array
	var ar_2: Array
	var ar_3: Array
	ar_1.append("test")
	print(ar_1)
	print(ar_2)
	print(ar_3)

See also reproducer in #31242.


[svplugins/ga_register_db] Fix to handle source/medium erroneous string

(not set) has been tagged for the source/medium column
Failed dividing two chunks by /
This happened by GA4 only?

Handle two weird case of GA4 log harmoniously

(not set)	(not set)	58.917312410256407  <- list without term occurs list index error
(null) (null) (null) 30.497196058823526  <- erroneous outcome


0.10.1 and 0.10.2 have changed import method of array_choice from 0.10.0

In 0.10.0 you could, as per many other functions, call quinn.array_choice(), now as it is not in the init.py, it has to be imported from quinn.functions.
Is this intentional behaviour? It seems like a pretty large change from 0.10.0 to 0.10.1.

@MrPowers I 100% agree. As I mentioned already, if your goal is to make quinn works with SparkConnect, I suggest to do it in a new major release.

Turns out that this one slipped through the cracks because the array_choice test was commented out.  I commented that out cause I wasn't able to make the test deterministic on localhost/CI.

@AmberGibney - this should be fixed with quinn v0.10.3


fix(typescript): preserve JSX when styled-components are present (v13.x)

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge-

bors merge

bors merge-


UUV simulator dependancy is now deprecated

What are the plans for DAVE now that UUV simulator is deprecated and archived?
Are there plans to take on the maintenance of UUV or move away from it?

As far as I heard, UUV simulator has long been out of actual maintenance. DAVE maintainers don't have relations with UUV sim maintainers. DAVE just builds on top of UUV sim.
DAVE itself is not under active development anymore.
I will note that both DAVE and UUV sim are based on Gazebo-classic, which will reach end of life in 2025.
There are multiple projects from Open Robotics targeting ROS 2 and the new Gazebo, which has native plugins for marine features, rather than third-party plugins. Check out LRAUV, WEC for underwater, and VRX and MBZIRC for surface vehicles.

Closing as question answered. Feel free to reopen with related questions.


Add exante-atp latest

Trading client EXANTE-ATP added to cask library.

Hey @simonpucher there would have been a template to fill in when you created the pull request. Can you please put it back and fill it in?

@colindunn @simonpucher I think this could be used for the homepage: https://exante.eu/technology/ATP/

@colindunn sorry for the compiling error, i will fix it.
@giannitm thanks! you are absolutely right. My link was a copy & paste error.

No problem. If you follow the template, as well as the following, it will make contributing much easier. Welcome!
https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md
https://github.com/caskroom/homebrew-cask/blob/master/doc/development/adding_a_cask.md


best way to get store path for resource

What problem are you trying to solve?
Tools like antigen need to be sourced from your shell config.
My current method is the following and wanting to see if a better way exists
What solution would you like?
some built in easy way to access paths
Alternatives you've considered
antigen_path=$(cat .local/share/devbox/global/default/devbox.lock | jq  -r<EMAIL_ADDRESS>source "${antigen_path}/share/antigen/antigen.zsh"

The binaries and contents of the Nix package are also symlinked in a global directory within your Devbox Global directory. You can access that file using:
source $DEVBOX_GLOBAL_PREFIX/share/antigen/antigen.zsh

$DEVBOX_GLOBAL_PREFIX returns nothing while I'm in my global shell.
❯ env | grep DEVBOX | cut -d= -f1
DEVBOX_CONFIG_DIR
DEVBOX_INIT_PATH
DEVBOX_NIX_ENV_PATH_179252a935a77cf6dd326dd0ddb3dbe440ea6b902264dc0468c024c617c76d2c
DEVBOX_PACKAGES_DIR
DEVBOX_PATH_STACK
DEVBOX_PROJECT_ROOT
DEVBOX_SYSTEM_BASH
DEVBOX_SYSTEM_SED
__DEVBOX_SHELLENV_HASH_179252a935a77cf6dd326dd0ddb3dbe440ea6b902264dc0468c024c617c76d2c
DEVBOX_REFRESH_ALIAS_179252a935a77cf6dd326dd0ddb3dbe440ea6b902264dc0468c024c617c76d2c

I was using eval "$(devbox global shellenv)"
This looks to work $(devbox global path)/.devbox/nix/profile/default/share/antigen/antigen.zsh

I'm using
  eval "$(devbox global shellenv)"
This does work
$(devbox global path)/.devbox/nix/profile/default/share/antigen/antigen.zsh


Entity destruction implementation

We cannot safely destroy an entity as World.update is being run because EntityManager::Views may still have references to the entity and try to access other components.  To work around this World.destroy_entity() needs to initiate a delated destroy of the entity.

World.destroy_entity()

Add ViewExemptComponent and DeletedComponent to the entity

Create System::Janitor

Subscribes to ViewExemptComponent and DeletedComponent
calls World.entity_manager.delete_entity

This should work because the lifetime of the entity will be:

created; accessible to all
during update destroy requested: still accessable to all during this update
next update, due to ViewExemptComponent it should not show up to any other Systems, but Janitor, who can explicitly call EntityManager.destroy_entity.

Only concerns is another system making use of ViewExemptComponent, but they'll just have to exclude DeletedComponent.

added in #63


Move Duration and Instant from bevy_utils to bevy_time, resulting in additional bevy_time_plugin crate

Objective

Describe the objective or issue this PR addresses.

Fixes https://github.com/bevyengine/bevy/issues/6027.
Solution

Describe the solution used to achieve the objective above.

Changelog

This section is optional. If this was a trivial fix, or has no externally-visible impact, you can delete this section.

What changed as a result of this PR?
If applicable, organize changes under "Added", "Changed", or "Fixed" sub-headings
Stick to one or two sentences. If more detail is needed for a particular change, consider adding it to the "Solution" section

If you can't summarize the work, your change may be unreasonably large / unrelated. Consider splitting your PR to make it easier to review and merge!

Migration Guide
Clients of Instant and/or Duration will need to change from getting them from bevy_utils to bevy_time or from bevy::utils to bevy::time.
Clients of TimePlugin will need to change from getting it from bevy_time to bevy_time_plugin.

This PR is only supposed to be a single commit: commit 807fbcf above.

needing an additional crate for time seems to be too big a side effect of that move 😞

needing an additional crate for time seems to be too big a side effect of that move 😞

Maybe, but just to note, it's only a single file of 150 lines, half of them for a test.


Arlec Smart bulb flashing issues.

I've just tried to flash both the Arlec GLD124HA and GLD060HA, and having no luck. Just keeps 'Resending SmartConfig Packets'
This seems to be the key issue in the psk logs if it helps (repeats quite a few times):
could not establish sslpsk socket: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1056)
Does this imply that the device is not compatible with tuya-convert?
Also flashed a few Mirabella Genio 1002334 with no such issues, so I'm sure I'm doing the process correctly.
Any help appreciated.

If you see a PSK ID starting with 02, you're correct, it is unfortunately not compatible with tuya-convert at this time (#483)

If you see a PSK ID starting with 02, you're correct,

Yep ID: 0242416f68626d643661473931494652316771f562f9eec20bda9fc26066cd6bab8e5ee1262736d88fb77fa84951a99578
Bugger

it is unfortunately not compatible with tuya-convert at this time (#483)

Does that mean maybe in the future?

Maybe, sure, but it will take a new exploit to be discovered and purposed, so there is no guarantee if or when.

Thank mate. Appreciate the work on this regardless!

Glad to help. Keeping my fingers crossed we find another workaround.


Support sampling fields without applying conversion

Velocity fields on a spherical grid will automatically be converted to degrees when sampled within a kernel. This makes sense for advection, but we may want an interpolated sampling, without unit conversion. By calling field.eval(..., applyConversion=False) directly, we can get the desired behaviour. This works in both scipy and JIT modes.

Thanks for the PR, @angus-g. A nice feature indeed! We need to make sure the github CI passes before we can merge, though


Migrate deprecated jackson-dataformat-yaml used in Kamelets catalog

jackson-dataformat-yaml has been archived in 2019 https://github.com/FasterXML/jackson-dataformat-yaml
it should be replaced by jackson-dataformats-text https://github.com/FasterXML/jackson-dataformats-text
it will allow to get rid of snake-yaml 1.x as dependencies. It will then be interesting to backport to 3.x stream.

my bad, it is only that the repo was merged https://github.com/FasterXML/jackson-dataformats-text/tree/2.16/yaml
So to fix the indirect CVE, it is a matter of upgrading to 2.15+ https://github.com/FasterXML/jackson-dataformats-text/commit/3a433d8ec340fa88441c89b8e7a9c7190fc48b0f


issue 572.1: add try/catch around view drop during teardown

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/4424/

This will just hide the problem


Review of repo state

Hi @jason-fox, the past week we have been working on documentation (test cases, tutorial, installation guides) mainly, so we think that part is complete. We still need to version the docker images using tags, however. If there is anything else you'd like to comment on, please do.

hi @jason-fox, just wanted to make sure you received a notification through this mention.

The readme intro should better summarize what RoboWeldar actually does:
e.g

. Given a set of photographs of a metallic object destined for welding, this module produces 3D-reconstructed model of that object, along with proposed welding paths.

https://roboweldar-rose-ap.readthedocs.io/en/latest/README.html does not need to be a repeat of the main README just a summary of the documentation - something closer to this in style
Add a GitHub Action like this - at least it can lint your code, markdown and dockerfiles. Also explain why you can't run CI full easily in the README if necessary.
Since you are mainly python files like package.json, eslintrc.json and prettierrc.json can be removed - you can run code formatting and linting using Black or PyPy or whatever.
Consider adding community files like code-of-conduct or contributing - see https://github.com/ikh-innovation/roboweldar-rose-ap/community
https://github.com/ikh-innovation/roboweldar-rose-ap/blob/main/docker/Dockerfile - is out-of-date - it is still the example from the template - delete
Add links from this repo to roboweldar-weld-seam-detection, roboweldar-3d-reconstruction  & etc. if they are considered as part of the same project - the easiest way to do this is by describing the interactions in the lede e.g:

This RoseAP uses the weld-seam-detection and 3d-reconstruction to do XYZ

where each one is a link. The alternative is to compose this project using submodules. Either way it should be possible to navigate between dependencies.

Add links to the following - e.g. https://hub.docker.com/r/roboweldar/roboweldar-weld-seam-detection etc.

Coordinator docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-coordinator?style=plastic)

3D reconstruction docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-3d-reconstruction?style=plastic)

Weld seam detection docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-weld-seam-detection?style=plastic)

Some of your repos are lacking a description:

See how the Roboteq_diff_driver actually summarizes the purpose of the repo in one short sentence.
Something like

3D model construction of an object with proposed welding paths derived from a photographs

you could also add tags to help users find the repo.

Programming languages in the CII Badge questionnaire are incorrect - remove JavaScript and add Python & etc.

Most of the remaining CII Badge points could be completed by making a semantically versioned release on GitHub - e.g. 0.0.1 to show evidence of a proper release procedure.

Similarly you do have a website https://roboweldar-rose-ap.readthedocs.io/ and it does contain documentation in English.

* The readme intro should better summarize what RoboWeldar actually does:
  e.g

. Given a set of photographs of a metallic object destined for welding, this module produces 3D-reconstructed model of that object, along with proposed welding paths.

Done - please see here .

https://roboweldar-rose-ap.readthedocs.io/en/latest/README.html does not need to be a repeat of the main README just a summary of the documentation - something closer to this in style

Done - created a mini README.md for use on ReadTheDocs.

Add a GitHub Action like this - at least it can lint your code, markdown and dockerfiles. Also explain why you can't run CI full easily in the README if necessary.

This is currently in progress ⌛

Since you are mainly python files like package.json, eslintrc.json and prettierrc.json can be removed - you can run code formatting and linting using Black or PyPy or whatever.

Done

Consider adding community files like code-of-conduct or contributing - see https://github.com/ikh-innovation/roboweldar-rose-ap/community

Done. See here

https://github.com/ikh-innovation/roboweldar-rose-ap/blob/main/docker/Dockerfile - is out-of-date - it is still the example from the template - delete

Done

* Add links from this repo to **roboweldar-weld-seam-detection**, **roboweldar-3d-reconstruction**  & etc. if they are considered as part of the same project - the easiest way to do this is by describing the interactions in the lede e.g:

This RoseAP uses the weld-seam-detection and 3d-reconstruction to do XYZ

where each one is a link. The alternative is to compose this project using submodules. Either way it should be possible to navigate between dependencies.

These are mentioned here and here

Add links to the following - e.g. https://hub.docker.com/r/roboweldar/roboweldar-weld-seam-detection etc.

Coordinator docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-coordinator?style=plastic)

3D reconstruction docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-3d-reconstruction?style=plastic)

Weld seam detection docker build status:
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/roboweldar/roboweldar-weld-seam-detection?style=plastic)

Done

* Some of your repos are lacking a description:

See how the Roboteq_diff_driver actually summarizes the purpose of the repo in one short sentence.
Something like

3D model construction of an object with proposed welding paths derived from a set of photographs

you could also add tags to help users find the repo.

Done, please have a look at https://github.com/ikh-innovation/roboweldar-weld-seam-detection, https://github.com/ikh-innovation/roboweldar-networking, and https://github.com/ikh-innovation/roboweldar-3d-reconstruction

Programming languages in the CII Badge questionnaire are incorrect - remove JavaScript and add Python & etc.

Done.

Most of the remaining CII Badge points could be completed by making a semantically versioned release on GitHub - e.g. 0.0.1 to show evidence of a proper release procedure.

This is currently in progress ⌛


Causes text-typing issues (missing spaces, etc.)

For the full information, including a MeteorPad demoing this issue, see here: https://forums.meteor.com/t/simple-schema-collection-2-causing-text-typing-errors/7587/1

Probably a duplicate of #348


Add arch to hm-pyhelper and use instead of settings.ini for arch and i2c bus

In the new implementation we have the arch and i2c bus in the settings.ini file here:
https://github.com/NebraLtd/helium-miner-software/blob/6998156928eb5659f23f291878cf57e4b622c08c/settings.ini#L9-L15
However we also have i2c bus in the hardware definitions in hm-pyhelper:
https://github.com/NebraLtd/hm-pyhelper/blob/8107035935ce5dbb4ba7d269ec94e79a9b645f15/hm_pyhelper/hardware_definitions.py#L37
Perhaps we could also add the arch type to the helium hardware definitions in hm-pyhelper and then pull these in as part of the template population as part of gen_docker_compose.py
Ref https://github.com/NebraLtd/helium-miner-software/pull/272#discussion_r784358781
Acceptance Criteria

Using hardware definitions from hm-pyhelper.
Removing device_* sections from settings.ini and ensuring that things still work as expected.
Updating test cases to account for hm-pyhelper usage and also improving test logic to ensure that placeholders in the template (like FIRMWARE_VERSION) are properly replaced by correct values. (ref https://github.com/NebraLtd/helium-miner-software/pull/272#discussion_r786387909)

Created corresponding issue in hm-pyhelper repo https://github.com/NebraLtd/hm-pyhelper/issues/98


wip : add discount codes in event details

fix #66

yeah sure

@nikit19 @iamareebjamal @dreadpool2 PR is still in WIP, however, please check how is everything looking for now?

@iamareebjamal should I keep (relation) event field since we are already storing eventId as a foreign key parameter

@iamareebjamal should I use type converter for adding event relationship field into the database!

Yup

@iamareebjamal please check the type converter

@iamareebjamal please review

rebased and resolved conflicts please review

working on my phone and emulator and idea why travis build is failing?

You have to check Travis logs for that

resolved

Rebase your branch

changed

conflicts resolved

@simarsingh24 @dreadpool2 @nikit19 Please read up on why foreign key constraints are used

@iamareebjamal please review

@simarsingh24 Now that there is already a PR related to how models should be made merged, I don't understand why it is difficult to follow suit. Please look at how SocialLink model is constructed

@iamareebjamal  please review

@simarsingh24 Please finalize Ticket and this PR by today. It has been more than a week. This is not correct workflow on handling changes. Many suggested changes are still not applied

@iamareebjamal sure!

@iamareebjamal i will make the changes right away and will be more careful from next times!

@dreadpool2 its still not working since you have worked on a similar issue could you please review

@dreadpool2 Yes that was the issue and reason being earlier we were using this endpoint.
@iamareebjamal Now that we are getting a list of discount code where should i display it? In event detials or serperate fragment accessible by bottom navigation bar?

there seems to be a fault at server side I am closing this for now and have opened an issue on the server side #4922 and will send the PR again when resolved

This PR can be continued when issue is resolved

@simarsingh24 Please check my comment on your issue in the server. It's not a bug in the server.
Also it seems like you guys don't understand what a discount code actually is and how it is setup on the server. Please checkout this: https://github.com/fossasia/open-event/blob/master/docs/dev-handbook/resources-permissions.md#discount-codes---eg-v1discount-codes
In short there are two types of discount codes.

Hit this endpoint: /v1/events/{event_identifier}/discount-codes with the event id and you'll get the list of discount codes associated with the event.
Notice the s in the end

@srv-twry yes we are using the same endpoint already

you need to be the organizer of the event in order to get it.
One thing that I don't understand is that why do you want to show the list of discount code for an event to the user ?
See, the discount code is like a coupon. The event organiser creates them and may be then give to a few people for e.g. his family, VIPs etc. Now when buying the ticket, those people will enter the discount code and will get a special discount on the ticket price.
Now if you show the discount code to everyone who is logged in, then everyone will get discount on the ticket. Rest you can imagine i guess.

I thought discount codes are like coupons anyone can use? And if it restricted to organizers than why any authorized user can view the list of available discount codes?

@iamareebjamal what should be done?

And if it restricted to organizers than why any authorized user can view the list of available discount codes?

Please point me towards the endpoint with which any authorized user can view the list of avaiable discount codes.

@srv-twry the endpoint you mentioned few comments above , the one we are using
/v1/events/{event_identifier}/discount-codes
it allows any registered user to view discount codes under event given its event id

Hmm, it seems to be bug then. IMO we shouldn't allow anyone to see the discount code details. I'll discuss in the channel and then follow up.


wizard: Issues and improvements for Map Bracketer

One-liner
Add comments for any issue you find or any suggestion you have for Map Bracketer.

Hi! Looks very cool! For now, I have found that when I save one indicator configuration it deletes the content of explorerSubtitle. I tried with the air-pollution explorer and indicator 900429:

Thanks @paarriagadap ! It looks like that explorer has two entries for "explorerSubtitle", which should not happen (or is there any situation where that should be allowed?).

@pabloarosado Yes, I found out and edited the post. No, I understand it should never be allowed.

I was trying the tool for the new population and demography explorer. This new explorer, which is available in owid-content, branch unwpp-update, uses catalogPath instead of variableId.
The error, which is shown in the image below, seems to come from trying to set column colorScaleNumericMinValue as a float.
df["colorScaleNumericMinValue"] = df["colorScaleNumericMinValue"].astype(float)


FR: please co-publish on Open VSX Registry

The Open VSX Registry does not include anything COBOL yet.
Details on the publishing can be found at https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.

Thanks!


node/yarn: update to v14 and 1.22.10

node v14 is the current/active LTS version, so we should start using that.
also bumps yarn to the latest version
includes a small optimization to only update the newly added APT repositories and not update ALL apt repositories again

@valentijnscholten I think we should switch to a builder image based on node Docker image.
Installing an maitaining these tools by hand is not ok.

I am not married to the current "hacky way" of installing node and yarn, but also see no harm in updating to the active LTS. But if you want to refactor the Dockerfile now instead of this PR, also fine for me.

I am fine whatever way. Probably @damiencarol is right, but might need more testing and time not at hand? Up to you.

what do you want to test? the only we thing we use npm for is for generating the javascript files which are tested by the test suite.
there's no need to not update node even if we want something different in the future. we also keep upgrading bootstrap, jquery, etc even though at some point we want a single page application with React or something else.


Collision avoidance bursts impact agents being far away

Godot version
4.0 beta (master @ 03.02.2023)
System information
Linux Manjaro
Issue description
When adding new navigation agents which collide immediately with existing agents we can observe immediate bursts of RVO2 velocity affecting even the agents being very far from the burst origin:
https://user-images.githubusercontent.com/1207385/216842584-fa1ebf90-989d-42f0-80b7-b07c20928867.mp4
My guess is that for a short while (few frames at most) RVO2 velocities are very large thus impacting further agents.
Steps to reproduce
Follow the steps presented in the video above.
Minimal reproduction project
godot-open-rts-navi-error-v2.zip

Can't say for certain but that agents within distance shuffle a little when one spawns or moves is "normal" because the agents predict velocities for their squared radius / neighbor distance for the entire time horizon period in seconds. They do not know that Godot changes this immediately on the next frame.
Basically what happens is that the agents "predict" a situation in 1 second (cause that is what the default time horizon is) when every agents keeps the current velocity. They all move to positions that will still be valid after 1 second. If not possible to "move aside" they will reduce their own velocity considerably and slow down.
By lowering the time horizon the shuffling goes more or less away and only affects very close agents.
I can also barely reproduce this issue with https://github.com/godotengine/godot/pull/69988.

@Chaosus it should be topic:navigation

Can not reproduce in Godot 4.1 dev3.
@Scony If you are around can you try to reproduce now that the avoidance rework was merged in Godot 4.1 dev3?

Still reproducible using v4.1.dev.custom_build [28cca66d2]

Lowering time_horizon fixes the issue. If that would not be possible, then new agents should be added to the scene in a way so that they don't collide from the very beginning.


feat: add “regression” suite of sorts

Something to run against the examples in the Playground to ensure we don’t accidentally publish an example that should work and doesn’t.

Merge after #59


Node properties based on java symbol flags. [phab:D1232]

Created by fromberger at 2017-01-06 23:46:16:
This is my first attempt at implementing #1175
Although the javatests pass, this is not yet ready to be merged. I've only updated one of the tests.
Before updating more of the tests, I wanted to get feedback on what I'm doing in general.
Is a blank value the right way to represent binary flags on nodes?
Are there different names I should use for the values?

misha wrote at 2017-01-07 00:01:46:
This is my first attempt at implementing #1175
Although the javatests pass, this is not yet ready to be merged. I've only updated one of the tests.
Before updating more of the tests, I wanted to get feedback on what I'm doing in general.
Is a blank value the right way to represent binary flags on nodes?
Are there different names I should use for the values?

shahms wrote at 2017-01-09 18:43:17:
Can you file a "Task" with more details wrt "Does not run on osx. Ran javatests on docker."?

jrtom wrote at 2017-10-18 17:12:18:
Looking at old tasks: are there plans to take this further?
Were the schema questions ever resolved?

fromberger wrote at 2017-10-18 17:44:17:

! In (earlier comment), jrtom wrote:
Looking at old tasks: are there plans to take this further?
Were the schema questions ever resolved?

We (whereby I mean the Kythe team itself) don't have any need for this, and thus no immediate plans. These specific keywords have no stable meaning across language, so the last time we discussed it we provisionally concluded this could be a comma-separated bag of strings. For cases where there's a property that //does// have some useful cross-language similarity, we talked about empty-valued tags, but I think we'd do that case-by-case rather than assuming all the keywords—which, even within Java don't have a fixed meaning. In this context what really matters is the spelling, not the meaning.

fromberger wrote at 2018-05-21 20:38:25:
As part of the move off Phabricator to GitHub pull requests, I'm abandoning this revision. If someone wants to pursue it further, please start a new issue on https://github.com/google/kythe/issues.

fromberger abandoned revision at 2018-05-21 20:38:25


Explore and Customize Your SAP Web IDE Full-Stack

Tutorial URL: https://developers.sap.com/tutorials/webide-customize.html
Please specify the step you are referring to
STEP 4: Learn about SAP WEB IDE - _ Learning Button Missing_

There is no longer a button for the learning portal, you have to navigate to the home page then go to the youtube page.

Step 7: Enable a Cloud Foundry workspace - No Builder Installation

There is no longer a button to install builder on the Workspace Preference>Cloud Foundry - Cloud Foundry Space Configuration

@jhornik You may also want to put your name on this with author metadata

@topherhoffman
Thanks for the feedback. I've updated the tutorial accordingly.


RabbitMQ Cleanup (New Tests).

If no one object during the next minute, I'll merge.

Merged as https://github.com/spring-cloud/spring-cloud-stream/commit/7ee5df40330af61701ecbc20ac2496a848122287 after simple polishing.


de German not working

Describe the bug
A clear and concise description of what the bug is. Include the version(s) of DSpace where you've seen this problem & what web browser you were using. Link to examples if they are public.
The Language German de is not working, not even at the demo in version 7.
All other languages are working, but not german.
Look at:
https://demo7.dspace.org/home
All the time falls back to english, perhaps even  the fallback.

even whan one sets de as default it is not working as it should it just writes the internal codes
like

menu.section.browse_global_communities_and_collections
menu.section.browse_global
menu.section.statistics

I've verified this today locally. It appears there may be a syntax problem in the German language file (de.json5).  When I select Deutsch in the UI, I see this error in my DevTools console:
ERROR SyntaxError: JSON5: invalid character '\r' at 2185:179
    at syntaxError (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:6724348)
    at invalidChar (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:6723601)
    at Object.string (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:6720414)
    at lex (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:6714291)
    at Object.parse (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:6714673)
    at Observable_Observable._subscribe (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:8314641)
    at Observable_Observable._trySubscribe (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:2445273)
    at Observable_Observable.subscribe (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:2445055)
    at TakeSubscriber.shareReplayOperation (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:4364834)
    at Observable_Observable.subscribe (C:\Users\donohue\programming\dspace-angular\dist\server\main.js:1:2444909) {
  lineNumber: 2185,
  columnNumber: 179
}

It appears there's a missing closing quote on that line of the de.json5 file: https://github.com/DSpace/dspace-angular/blob/main/src/assets/i18n/de.json5#L2185
I'll create a small PR to fix this bug.


lollypop: switch youtubeSupport dependency to yt-dlp

Description of changes
Fixes #326377

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Could this be backported to 24.05 as it's also causing build problems on that version?


How do I set CXXFLAGS and LDFLAGS in a Kit...

Brief Issue Summary
I try to define a new Tool Kit compiler in cmake-tools-kits.json as follows:
{
"name": "Clang 8.0.0",
"compilers": {
"C": "/Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/bin/clang",
"CXX": "/Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/bin/clang++"
},
"environmentVariables": {
"CXXFLAGS": "-I/Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/include",
"LDFLAGS": "-L/Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/lib"
}
},
Failure message:
It fails with the following output:
[cmake]
[cmake]     Change Dir: /Users/rdm/biodynamo/build/CMakeFiles/CMakeTmp
[cmake]
[cmake]     Run Build Command(s):/sw/bin/ninja cmTC_fc9c1 && [1/2] Building CXX object CMakeFiles/cmTC_fc9c1.dir/testCXXCompiler.cxx.o
[cmake]     clang-8: warning: /Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/include: 'linker' input unused [-Wunused-command-line-argument]
[cmake]     [2/2] Linking CXX executable cmTC_fc9c1
[cmake]     FAILED: cmTC_fc9c1
[cmake]     : && /Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/bin/clang++  /Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/include  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/lib CMakeFiles/cmTC_fc9c1.dir/testCXXCompiler.cxx.o  -o cmTC_fc9c1   && :
[cmake]     ld: can't map file, errno=22 file '/Users/rdm/clang+llvm-8.0.0-x86_64-apple-darwin/lib' for architecture x86_64
[cmake]     clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
[cmake]     ninja: build stopped: subcommand failed.
[cmake]
CXXFLAGS and LDFLAGS have been stripped of their -I and -L, respectively.
The same setting in a shell script allow cmake to work fine.
Platform and Versions

Operating System: macOS
CMake Version: 3.15.1
VSCode Version: 1.37.1
CMake Tools Extension Version: 1.1.3

Other Notes/Information

I used the environmentVariables to set and everything is fine. Looks like this has already been fixed.

@NeighbourDYY, glad to hear that. @FonsRademakers, do you confirm?


pdocs v1.2.0

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

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

@conda-forge-admin, please rerender

Thanks @maresb . Do you want to add yourself as a maintainer?

Ya, thanks for the quick response!

LGTM.
Is that ok to merge here?

Yep, thanks for the review!


TypeError: Argument 1 passed to parseUrl() must be of the type string, array given, called in /var/www/html/imagesweserv/public/index.php on line 156

View details in Rollbar: https://rollbar.com/andrieslouw/imagesweserv/items/12/

TypeError: Argument 1 passed to parseUrl() must be of the type string, array given, called in /var/www/html/imagesweserv/public/index.php on line 156
  File "/var/www/html/imagesweserv/public/index.php", line 116
  File "/var/www/html/imagesweserv/public/index.php", line 156, in parseUrl

Investigating, looks like someone tried some funky parameters as input.


OneTime seed is not decoded before applied to verify tokens

A secret key which was used as a seed for one time passwords verification is stored in encrypted state. But when reading from repository, it is not decoded to plain value - this causes failing verification for all tokens (except scratch codes). The issue is applicable for all default repo types (in-memory, JPA, etc.).

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


convert all react class components to react.FC

This is the new way to do things since react 18


Refactor scripts to provide defined states between targets

Use .envrc for each script that acts on a deployment, mimicking the local user, simplifying scripts and making sure that helm,kubeconfig,cf environments are different when having multiple deployments. This also allows easy cleaning of scf, helm, charts, etc, which in turn allows easy reuse of long-running k8s clusters.
Save external k8s cluster info (domain, external ip, etc) in a configmap when deploying k8s clusters, use it in following steps.
Rename and reorder scripts.

No externally used make targets have been renamed; all pipelines should continue to work.

States
This refactor aims to enable the following states:
1. K8s deploy and prepare
Deploys whatever kubernetes, prepares it for CAP adding a storageclass, RBAC,
helm, and adding a configmap to the k8s cluster containing outside information
(external ip, domain, filesystem of the nodes, etc).
Output: a buildir containing kubeconfig, HELM_HOME initialized by helm, .envrc
so one can enter each and every different k8s cluster indepently of one another
and the bkindwscf host.
2. CAP deploy
Takes whatever k8s deployment prepared for CAP and generates scf-config-values, obtains charts, installs scf
and logins with cf-cli.
Output: a buildir of a deployment with SCF installed, CF_HOME configured.
Can be undone by make clean-scf
2.1. Stratos deploy
Takes previous state and install stratos.
3. Test CAP
Takes a state 2 and runs CAPS tests on it.
Output: saves test results at build/artifacts/*

The last 2 commits renaming scripts/* and reordering Makefile could be dropped.

travis should have failed, they do make kind gen-config setup.
This refactor needs make kind setup chart gen-config; setup creates the k8s configmap, gen-config reads vars from the k8s configmap. chart creates the chart folder, gen-config reads the charts for the DEFAULT_STACK if chart folder exists.

Sorry for the merge conflicts :(

rebased onto current master :)

which pipeline is the one that failed? I cannot see the same error when deploying metrics or scf on my make all (kind, eirini, develop).

https://concourse.suse.de/teams/main/pipelines/eirini-ci which is in https://github.com/SUSE/cloudfoundry/tree/master/ci/pipelines/eirini-ci

https://concourse.suse.de/teams/main/pipelines/eirini-ci/jobs/test-eirini-develop/builds/8


Can't extract topics from simple example, unless I add a constant row

Thank you for this package. I'm keen to explore it further.
I created a simple array to test whether I could extract two topics (unsupervised) where it's clear to the human eye what the two topics should be. My code is below, with 10 documents and 4 words. I find that 9 times out of 10, Corex yields a single topic with all four words, and throws an error because the second topic has 0 words. This is the same if I duplicate the data, or add additional words.
However, if I add a [1, 1, 1, 1] row to the array, interpreted as a document containing every word, things stabilise. Corex will correctly extract the two topics ['tiger', 'bear'] and ['carrot', 'tomato'] every time.
Do you know what might be going on here? From what I can tell, the code initialises with word frequencies, so possibly it struggles with frequencies of 0 in small data sets?
import numpy as np
from corextopic import corextopic as ce

simple_data = np.array(
  [[1, 1, 0, 0],
   [1, 0, 0, 0],
   [0, 1, 0, 0],
   [1, 1, 0, 0],
   [1, 1, 0, 0],
   [0, 0, 1, 1],
   [0, 0, 1, 0],
   [0, 0, 0, 1],
   [0, 0, 1, 1],
   [0, 0, 1, 1]]
)

simple_corex_model = ce.Corex(n_hidden = 2)
simple_corex_model.fit(
  X = simple_data,
  words = ["bear", "tiger", "carrot", "tomato"],
  docs = ["animal", "animal", "animal", "animal", "animal",
          "food", "food", "food", "food", "food"]
)

topics = simple_corex_model.get_topics()
for topic_n, topic in enumerate(topics):
  words,mis = zip(*topic)
  topic_str = str(topic_n+1)+': '+','.join(words)
  print(topic_str)

I believe this is expected behavior, though our code should probably catch the error so it exits more elegantly.
This is a case where we have to shift our thinking about what a "topic" is a little bit. In CorEx, a "topic" is a latent random variable that makes words conditionally independent. So, CorEx learns topics that when you condition on them, you've explained all the dependencies between the words. In the case of your documents, "bear" and "tiger" almost always show up exclusively together. Importantly though, we also know that "carrot" and "tomato" do not appear whenever "bear" and "tiger" do. So to explain all the relationships between the words, we only need 1 latent random variable, because whenever our "bear" and "tiger" random variables are "on" (X_bear = 1, X_tiger = 1), we also have that our "carrot" and "tomato" random variables are off (X_carrot = 0, X_tomato = 0), and vice versa.
That's a really high level answer. @gregversteeg can probably explain it a bit more intuitively, I remember running into this same question and he helped me through it.

That makes a lot of intuitive sense, thank you! I do wonder if adding that dummy row of all 1's would be beneficial in data sets in which we can expect a lot of presence/absence relationships, like in my example above. I'll have to do some more testing.
Thank you for taking the time to explain this.


Piglet variant for the game of Pig

Hi,
The main contribution of this PR is adding the Piglet variant for the game of Pig, roughly extending on its definition given in [1]. The difference to Pig is that whenever the turn total is increased, it is increased by a fixed step of 1, instead of the number that the die shows. Therefore, it is ideal to combine this variant with a lower 'winscore' in order to achieve a much smaller state space while not giving up too much of the difficulty of the original Pig game.
Additional improvements are:

removing the TODO on 'MaxChanceNodesInHistory'
The computation of the observation tensor utilizes a 2d tensorview to increase readability of the code
'NumDistinctActions' corrected to 2 (roll or stop)

[1] Todd W. Neller and Clifton G.M. Presser. Optimal Play of the Dice Game Pig, The UMAP Journal 25(1) (2004), pp. 25-47.

Nice!! Thanks. I will take a deeper look on Monday.


Implementation of Fibonacci Series

🛠 Issue (#409)

Issue no #409
👨💻 Changes proposed
Implemented the fibonacci series in all 4 languages both recursive and dynamic ways.

✔ Check List (Check all the applicable boxes)

[ ✔] My code follows the code style of this project.
[✔ ] This PR does not contain plagiarized content.
[ ✔] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

In the code both recursive and dynamic methods are done. Also both finding nth term in the series as well the entire sequence up to that term are done.

📷 Screenshots

@Kumar-laxmi Now can you please check? Hope it is clear now.

@sitamgithub-MSIT I will review it but it won't be scored under SWOC

@sitamgithub-MSIT I will review it but it won't be scored under SWOC

Why? You said that PR has to be under the timeline you gave earlier and I did that way before!!!


ToQueryResultAsync?

This library is great!
Would it be possible to get 2 new extension methods?
ToQueryResultAsync which does it async? (And use ToArrayAsync which is faster)
And ToQueryResultIAsyncEnumerable?
The later would still be async, to do the count of course, but instead of returning ToArrayAsync, it would return a QueryResult that has items as IAsyncEnumerable so that we can stream the results over the wire which .net 8 now supports even as sub objects?

Hey @JohnGalt1717 ! Thanks a lot for the feedback, and sorry for the super late reply, I've got troubles with github notifications :)
Regarding your questions:

ToQueryResultAsync which does it async? (And use ToArrayAsync which is faster)

ToQueryResultAsync is available with the Scrima.EntityFrameworkCore package, since the async materialization is bound to the IQueryable provider under the hood. The current implementation uses ToListAsync and not ToArrayAsync because in EF Core ToArrayAsync is just a wrapper around ToListAsync + ToArray, so it is slower and uses more memory
https://github.com/dotnet/efcore/blob/e84a366a480ee6fabb87c85945f0818fd88fe60f/src/EFCore/Extensions/EntityFrameworkQueryableExtensions.cs#L2336

And ToQueryResultIAsyncEnumerable?

This can surely be done, it will also be something inside the Scrima.EntityFrameworkCore, since not all providers allow for streaming results with IAsyncEnumerable. In this case we will lose the count property, because the results will be enumerated lazily by the caller.
It could be an extension method like:
await foreach (var item in _dbContext.Set<Example>().AsAsyncEnumerable(query))
{
     // do something with item
}

WDYT?


error

raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)

最近百度改了,up主要更新了,
{
"queryEnc": "%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA",
"queryExt": "%E7%8E%A9%E6%89%8B%E6%9C%BA",
"listNum": 1253,
"displayNum": 2895,
"gsm": "1e",
"bdFmtDispNum": "约2,890",
"bdSearchTime": "",
"isNeedAsyncRequest": 0,
"bdIsClustered": "1",
"data": [{
"adType": "0",
"hasAspData": "0",
"thumbURL": "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=896223703,3276280029&fm=26&gp=0.jpg",
"middleURL": "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=896223703,3276280029&fm=26&gp=0.jpg",
"largeTnImageUrl": "",

最近百度改了,up主要更新了,
crawler.py-baidu_get_image_url_using_api-res = requests.get(init_url, proxies=proxies)加个header:
headers = {
'Accept-Encoding': 'gzip, deflate, sdch',
'Accept-Language': 'en-US,en;q=0.8',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8',
'Cache-Control': 'max-age=0',
'Connection': 'keep-alive',
}
init_url="https://image.baidu.com/search/acjson?tn=resultjson_com&ipn=rj&ct=201326592&lm=7&fp=result&ie=utf-8&oe=utf-8&st=-1&word=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&queryWord=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&face=0&pn=0&rn=30"
-195 res = requests.get(init_url,proxies=proxies)
+196 res = requests.get(init_url,proxies=proxies,headers=headers)

unfortunately it does not work for me...
`Query URL:  https://image.baidu.com/search/index?tn=baiduimage&word=cones
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
== 0 out of 0 crawled images urls will be used.`

Ok, there's another line at 215 that needs to be changed. So overall this will work:
-195 res = requests.get(init_url, proxies=proxies)
+196 res = requests.get(init_url, proxies=proxies, headers=headers)

-215 response = requests.get(url, proxies=proxies)
+215 response = requests.get(url, proxies=proxies, headers=headers)

最近百度改了,up主要更新了,
crawler.py-baidu_get_image_url_using_api-res = requests.get(init_url, proxies=proxies)加个header:
headers = {
'Accept-Encoding': 'gzip, deflate, sdch',
'Accept-Language': 'en-US,en;q=0.8',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8',
'Cache-Control': 'max-age=0',
'Connection': 'keep-alive',
}
init_url="https://image.baidu.com/search/acjson?tn=resultjson_com&ipn=rj&ct=201326592&lm=7&fp=result&ie=utf-8&oe=utf-8&st=-1&word=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&queryWord=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&face=0&pn=0&rn=30"
-195 res = requests.get(init_url,proxies=proxies)
+196 res = requests.get(init_url,proxies=proxies,headers=headers)

unfortunately it does not work for me...
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.

== 0 out of 0 crawled images urls will be used.```

大佬麻烦问一下你这个改动是加在哪个地方啊？

最近百度改了,up主要更新了,
crawler.py-baidu_get_image_url_using_api-res = requests.get(init_url, proxies=proxies)加个header:
headers = {
'Accept-Encoding': 'gzip, deflate, sdch',
'Accept-Language': 'en-US,en;q=0.8',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8',
'Cache-Control': 'max-age=0',
'Connection': 'keep-alive',
}
init_url="https://image.baidu.com/search/acjson?tn=resultjson_com&ipn=rj&ct=201326592&lm=7&fp=result&ie=utf-8&oe=utf-8&st=-1&word=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&queryWord=%25E7%258E%25A9%25E6%2589%258B%25E6%259C%25BA&face=0&pn=0&rn=30"
-195 res = requests.get(init_url,proxies=proxies)
+196 res = requests.get(init_url,proxies=proxies,headers=headers)

unfortunately it does not work for me...
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.
Exceeded 30 redirects.

== 0 out of 0 crawled images urls will be used.```

大佬麻烦问一下你这个改动是加在哪个地方啊？

Refer to my earlier add-on, line 215 also need to change
-215 response = requests.get(url, proxies=proxies)
+215 response = requests.get(url, proxies=proxies, headers=headers)

Fixed in 7013bfdceb78c1d7ad52da9e17b9b361811c389a
@ald2004 @mapattacker Thanks for the fix code.


Add runtime dependency of gz-msgs python messages on major protobuf version

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


websocket does not work through http proxy

1. What version of Caddy are you running (caddy -version)?
Caddy 0.9.5
2. What are you trying to do?
Configure caddy to use upstream though http proxy
3. What is your entire Caddyfile?
proxy / https://my-super-site.net:443 {
    websocket
}

4.  What did you expect to see?
I was expecting websockets to work.
6. What did you see instead (give full error messages and/or log)?
Websockets didn't work.
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
Replace my-super-site.net by a website with websockets and myproxy by your proxy.

.

Hey @giner, sorry you're having troubles with the websocket proxy. Unfortunately, there's nothing in this issue that is helpful in debugging it. Websockets work fine for me using a similar configuration, so we need more details. We really need to see the full error messages or the log or the trace of requests -- something -- saying "it doesn't work" is nothing to go on. Also, your Caddyfile is missing the address of the site you are serving (on the first line).

Would you please share what you mean by "similar configuration"? Because this particular configuration does not work. By this configuration I mean:
caddy receives http request and sends it as https to backend through http proxy (squid in my case). Http request does go well and returns body from the destination server but websocket request does not go through this chain. Without http proxy it works.

@mholt I have updated details and the test-case.

Thanks. Does the same thing happen when you proxy to http:// instead of https://?

Proxying to http:// does not work but this is expected because most of http proxies don't support websockets. This is the reason why I put https:// there.

I can't duplicate the behavior you're seeing. Is there something other than Kaazing that we could test with, that's like, really simple and free and preferably just a few lines of code? :smile:

@mholt, I've updated the description (last section) and added tinyproxy. tinyproxy can be installed from a Linux distribution repo or using brew on OS X.

@giner Thanks, I'll check tinyproxy... it says your last edit on that post was 3 days ago, though. Are you sure it saved?

Oh, right. It is saved now.

Now that Go 1.8 is out I have my hands full for a while, so if someone else wants to look into this... that would be great :)

I have some trouble proxying websockets as well.
I'm trying to run onlyoffice document server behind caddy, but for some reason onlyoffice establishes a lot of websocket connections when editing a file, and finally loses connection completely after a few seconds. When accessing it directly, it works fine.
Using onlyoffice to debug this won't be helpful as well, I think.
But there's definitely a problem with websockets in the current version.

I've got the same problem. Without caddy I don't have a problem.
On the client: the WebSocket connection gets closed after 10 seconds with a CloseEvent.code 1006:

1006 CLOSE_ABNORMAL Reserved. Used to indicate that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected.

On the server: the connection also gets closed after 10 seconds but with code 1005:

1005 CLOSE_NO_STATUS Reserved.  Indicates that no status code was provided even though one was expected.

Those close events are not initiated by my code.
Is there some kind of timeout in caddy that terminates connections after 10 seconds?

@denniskaselow Yes :) Your problem is probably different from the others. Caddy 0.9.5 has timeouts enabled: https://github.com/mholt/caddy/releases/tag/v0.9.5 - https://caddyserver.com/docs/timeouts that you need to disable. They will be disabled by default in the next release tomorrow.

@mholt That was the issue for me as well!
Really strange, because my in my tests, the connection was not closed after 10 seconds...
But does not matter. It works! :)


Documentation / readme has to be modified cause VAT example "1.21" is wrong / misleading based on my installation today

Here is a screenshot of the readme page which is referring to an outdated version - at least it looks to me (while i am completely new in the entso-e world).
You are using a gross price factor of 1.21 in this example

But I bet the integration has changed cause in the setup I was asked for the VAT tarif which would equal in your example of "1.21" gross price factor a vat tarif of "0.21" und das wurde wohl abgelöst durch UI Abfrage nach VAT tarif beim Einrichten hier

Might be worth to change the example and remove the misleading 1.21 factor and adding the UI dialog as a better explanation instead.
thanks

These are both different calculation methods. Both are correct. The VAT factor of 0.21, without template, is added to the price. In the example template, it's a multiplication factor.


Unloading managed plugin causes crash

Problem manifests in https://github.com/rokups/rbfx-sample/.

Resolved by 88d0673bea3c1ab9f22c0b6428745e324ed18a7b.


SAK-32155 Include MariaDB driver property in default.sakai.properties

https://jira.sakaiproject.org/browse/SAK-32155
Since the MariaDB driver is used for MySQL connections by default now, we should include the driver configuration in default.sakai.properties.
I've added this line to the MySQL database configuration section:
<EMAIL_ADDRESS>Should we remove the MySQL driver line? Or just leave it in there commented out?

I don't recommend the use of Maria JDBC because of how dates without explicit timezones are modified. Please see: https://jira.sakaiproject.org/browse/SAM-2662

All this is doing is documenting it which makes sense. I would leave the mysql one there as well.
And Sam brings up a valid point of a larger issue.


Small change to Add admin side authentication

Making small change to check how to create PR.
Next step would be:

Will create admin side authentication using 'jsonwebtoken' library.

Remove the folder dist as it should be gitignored


hotfix 2.3.1 limit repeat attempts for failed celery job

Resolves #4977

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4976

adding info from debug session
>>> from hs_core.tasks import monthly_group_membership_requests_cleanup
>>> monthly_group_membership_requests_cleanup()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/celery/local.py", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python3.9/site-packages/celery/app/task.py", line 393, in __call__
    return self.run(*args, **kwargs)
  File "/hydroshare/hs_core/tasks.py", line 871, in monthly_group_membership_requests_cleanup
    GroupMembershipRequest.objects.filter(my_date__lte=two_months_ago).delete()
  File "/usr/local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 941, in filter
    return self._filter_or_exclude(False, args, kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude
    clone._filter_or_exclude_inplace(negate, args, kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace
    self._query.add_q(Q(*args, **kwargs))
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1416, in add_q
    clause, _ = self._add_q(q_object, self.used_aliases)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1435, in _add_q
    child_clause, needed_inner = self.build_filter(
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1309, in build_filter
    lookups, parts, reffed_expression = self.solve_lookup_type(arg)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1135, in solve_lookup_type
    _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1562, in names_to_path
    raise FieldError("Cannot resolve keyword '%s' into field. "
django.core.exceptions.FieldError: Cannot resolve keyword 'my_date' into field. Choices are: date_requested, explanation, group_to_join, group_to_join_id, id, invitation_to, invitation_to_id, redeemed, request_from, request_from_id


Add Nepali Language Support

Description of the feature request:
AI is sending no response when said to talk in Nepali. Please add that feature
What problem are you trying to solve with this feature?
No response
Any other information you'd like to share?
No response

@Nirdeshyt, Thank you reporting this issue.
This repository is for issues related to JS SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Discourse forum.

Yes, considering this is a feature that would need to be implemented in the backend, please request the feature as described above. I'm going to close this issue for now. Thanks!


Extension server selector API - additional arguments ca, cert etc

Hi, I'm implementing an internal extension using jupyterRemoteServerProvider and would like to provide ca argument to connect to internal servers.

Closing as a duplicate of https://github.com/microsoft/vscode-jupyter/issues/12268


Update free-programming-books-zh.md

Update the Pro Git book to it's latest version(2nd version).

Hi collaborators,
This PR is update the Pro Git book to it's latest Chinese version. I was a contributor to the translation of Pro Git 2nd version from English to Chinese. I think it's better to let the Chinese reader refer to a latest version of Pro Git. [Here] (https://github.com/progit/progit2-zh) is the related repo of our work.


merge join result block if needed

What problem does this PR solve?
Issue Number: close #6533
Problem Summary:
What is changed and how it works?
This pr is a re-implementaion of #6529, #6529 is reverted because it will make performance regression. Compared to #6529, this pr reduce the potential performance regression by

Use a more reasonable threshold to trigger block merge
Only merge the result blocks inside one probe block

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge


Interaction Mode 'eager' should validate on 'blur' instead of 'change'

(...or maybe it's a bug?)
Is your feature request related to a problem? Please describe.
The validation provider mode='eager'. The initial event to trigger validation is therefor 'change'.

The initial value is "ABCD" (valid).

User changes it to "ABC" (not valid).

When leaving the field the error is shown. Event to trigger validation is now switched to 'input'.

User changes the value to "ABCE" (valid). The error is immediately cleared and event to trigger validation is switched back to 'change'.

User changes the value back to "ABC" (not valid).

When leaving the field there are no validations at all because the value hasn't changed since the field was entered!

So, that's a problem. As a workaround/solution I will probably make a custom mode that validates on 'blur' instead of 'change'.

I guess change was a poor choice since it does not work as expected, I will probably add both blur and change since some inputs do not emit blur.


Sort Query Manager like Terminal rather than a stack.

My request is for the ability to reverse the sort of the Query Manager results by execution time.
Please allow for milliseconds to show on Execution start time.
Being able to omit the SQL in a copy / paste would be a plus as well.

QM log viewer will be improved in the next version


I wish you will make a online demo

I wish you will make a online demo about adding ASS_Event Object, ASS_Style Object to change subtitles's font size,color,.....Sorry,i don't know how to add it in code because i am amateur

Working directly (or well, via simple js wrappers)* with ASS_Event, `ASS_Style etc is only useful in some special cases and is definitely an advanced use case which requires care and knowledge of not just JSO's but also libass' API requirements (see here and here) else there can be severe problems.
There's no generally useful demo I can think of (apart from emulating streaming ASS, but htat's better solved another way) and any demo would need to be littered with comments explaining why this must or must not be done a particular way and refer to libass' docs. Hence I'm not planning to add such a demoand judging by the lack of othe responses it appears nobody else does either. If you really need it, look at libass' docs for explanations.


feat(errors): add NotFoundError as a return type on queries

Pull Request Test Coverage Report for Build 403977861

19 of 19 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 91.496%

Totals

Change from base Build 376642482:
1.0%

Covered Lines:
183

Relevant Lines:
185

💛  - Coveralls


fix: package refs in readme

@marcomariscal any idea why the ci might be failing on both of these PRs?

closing in favor of:
https://github.com/ScopeLift/stealth-address-sdk/pull/75


Fix OOB wide_deep tuning failed issue

Signed-off-by: Lv, Liang1<EMAIL_ADDRESS>Type of Change
bug fix
API not changed
Description
detail description
JIRA ticket: ILITV-2582
[release2nd][tf2.11.0] wide_deep failed TypeError
Expected Behavior & Potential Risk
OOB wide_deep tuning failed issue can be fixed.
How has this PR been tested?
UT, Pre-CI and OOB extension test.
Dependency Change?
No.

test pass https://inteltf-jenk.sh.intel.com/view/lpot-release/job/intel-lpot-validation-top-release-v2.0/116/


Verify prototype IE11 / iPhone

@Koded @justan0therdave - I've given this a cursory working over no horrible surprises yet


dl4j without cuda build instructions

dl4j without cuda build instructions

Build triggered. sha1 is merged.

Build finished. No test results found.

Refer to this link for build results (access rights to CI server needed):
/job/libnd4j_PR/185/


gunicorn_start does not seem to be working

Hi I am trying to use ./gunicorn_start script but it seems like it does not work. here is what I did.
script is successfully creating run directory. but there is no gunicorn.sock directory inside.
vagrant@precise64:/vagrant/treeio$ ./gunicorn_start
Starting treeio
2013-07-13 19:28:30 [1704] [INFO] Starting gunicorn 17.5
2013-07-13 19:28:30 [1704] [ERROR] Retrying in 1 second.
2013-07-13 19:28:31 [1704] [ERROR] Retrying in 1 second.
2013-07-13 19:28:32 [1704] [ERROR] Retrying in 1 second.
2013-07-13 19:28:33 [1704] [ERROR] Retrying in 1 second.
2013-07-13 19:28:34 [1704] [ERROR] Retrying in 1 second.
2013-07-13 19:28:35 [1704] [ERROR] Can't connect to /vagrant/treeio/run/gunicorn.sock

and here is my gunicorn_start script (only the configuration part)
NAME="treeio" # Name of the application
DJANGODIR=/vagrant/treeio # Django project directory
DJANGORUNDIR=/vagrant
SOCKFILE=/vagrant/treeio/run/gunicorn.sock # we will communicte using this unix socket
USER=vagrant # the user to run as
GROUP=vagrant # the group to run as
NUM_WORKERS=3 # how many worker processes should Gunicorn spawn
DJANGO_SETTINGS_MODULE=treeio.settings # which settings file should Django use

Thanks! This worked perfectly!

your reply saved me one hour of search and scratching my head...many thanks.

Can you tell me how to change the folder permission?


Windows 11 Taskbar dynamic hover effect update like mac doc

Description of the new feature / enhancement
The proposed feature, the "Dynamic Taskbar," aims to enhance the Windows 11 user experience by introducing a dynamic, Mac-inspired taskbar. This dynamic taskbar will offer users the ability to auto-hide or display application icons and quick access shortcuts based on their usage patterns and preferences, similar to the Mac dock. It will intelligently adapt to the user's workflow, providing a more streamlined and clutter-free desktop experience.
Scenario when this would be used?
The Dynamic Taskbar for Windows 11 will be used in various scenarios where users seek improved efficiency and a more organized workspace. For example, when working on a project that requires frequent switching between different applications, users can customize the taskbar to display only the most-used applications, ensuring easy access to the tools they need. Additionally, when in presentation mode, the taskbar can be set to auto-hide, offering a clean and distraction-free screen. The feature will also appeal to users who appreciate a familiar experience across different platforms, without necessarily favoring Mac over Windows.
Supporting information
The feature will also appeal to users who appreciate a familiar experience across different platforms, without necessarily favoring Mac over Windows.

/feedbackhub


Doc: SCITT Registry and Storage

Document the interaction of a SCITT ledger and associated storage
https://hackmd.io/yUGDE3bAT5yYEy4UNFpXMg

Adding #13 as an entry to the split of storage info for evidence and the registr/ledger for claims.

Resolved with #17


Add notebook

As we don't like the Wiki in Teams and remove it when we provision the team, we want to users a way to take notes. This resource might help: Create and add a OneNote tab to your Microsoft Teams team channel using Power Automate + Graph API - but we will need to do this in Azure Logic Apps

fixed in release 3.0.0


Rust MX meetup

Please help us by filling out the text below. All answers are optional
New Meetup
Where
Mexico City
The location you are running things in
What
We meet us in an office and talk about Rust and the tools made by it.

[ ] Learners Group
[x ] Meetup with talks
[ ] Conference/Camp

Links: https://www.meetup.com/es/Rust-MX/
When
The 3rd Wednesday of each month

[ ] I'd like the event to be on the public calendar
[x ] It's a repeating event, I would like to have access to the calender to do things on my own

Support

[ ] I need coaching or help to get started faster
[ ] I would like to be introduced to fellow meetup organizers in my area
[ x] I need help promoting

You can promote your event by advertising it on Twitter, Reddit and other channels. We understand that the breadth of this may be overwhelming for organizers and would offer to advertise the event for you. If you already have an active Twitter account and/or regularly announce your meetup through other channels you might not need this option.

[ ] I need additional help promoting my event

[x] I'd like to have swag (e.g. stickers)

If you're interested in obtaining stickers and/or swag, please send a short email to the community team, providing

Your physical mail address and phone number
The projected number of attendees for your event
How many events you're planning to run in the future
Optionally, if you're interested in a certain type of swag for specific reasons (e.g. you're running a T-Shirt give away)

CoC
The Rust project uses a Code of Conduct and we generally recommend you to as well. We also give advice on motivations and which one could be fitting for your project.

[x] We use a Code of Conduct
[ ] We need a recommendation for one

Contact details

[x] I filled out the form at https://docs.google.com/forms/d/e/1FAIpQLSf52YXGhqBaHtCXtVna4iHYMK7IQaTqUW6V-ztsZC8C2TBInQ/viewform and would like you to contact me with news.

Hey @mayela !
I'm closing this issue to clean up the repo, but if you have any thoughts or comments (or links/blogposts etc.) to share about how the event went we would be happy to hear about them!


PHP 7.2 tidy

Needed tidy compiled with php 7.2

This was purposefully taken out of my tap at 81e0e761bdacde0f58a39e48fceb38af2bcece8f. Tidy has been re-integrated into the homebrew-core/php formula for 7.2. You should update and upgrade in brew to get the latest version then check the output from php -m, Tidy is in there.