Add ios-charts to existing project in XCode 7

Hello,
I'm trying to add ios-charts to an existing Swift project in XCode 7 for iOS9 but I'm not able to make it work. Does anybody has a detailed instruction to do that?
Regards, Patrick

There is swift-2.0 branch you can use with Xcode 7. This is what I do and it works well! It's probably going to be merged into master very soon! :)

But how do I add it to the project?
I dragged the whole folder to my project, but that didn't worked :(
Thx for your help! :)

@patreu22 there is an instruction in readme. It's the same for current master and swift-2.0.

Oh now I got the problem. First time I used the wrong branch, second time the wrong instruction. But you saved my night with that hint, thank you very much! :)

You are welcome :)
Sent from my iPhone

On Sep 17, 2015, at 6:33 PM, Patrick<EMAIL_ADDRESS>wrote:
Oh now I got the problem. First time I used the wrong branch, second time the wrong instruction. But you saved my night with that hint, thank you very much! :)
—
Reply to this email directly or view it on GitHub.


⚠ Bofrost.es has degraded performance

In bb50b30, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1561 ms

Resolved: Bofrost.es performance has improved in f626c9d after 6 minutes.


generate tests for different testing frameworks based on flag

right now it's just tape

https://github.com/conorhastings/redux-test-recorder/commit/eb1aa084bf31424104af0009b76ac526109b9e0c
this commit illustrates how i would like to go forward with this, open to other ideas as well though.

people should also be able to pass their own functions in instead of just keeping everything in repo

support for ava - https://github.com/conorhastings/redux-test-recorder/commit/ac38f5c217108cb0389d388b91281eeb3e5f1aa2
support for mocha - https://github.com/conorhastings/redux-test-recorder/commit/5724ac196c1308d815aba1141bb1a2d29bf457c9
support for passing in custom function - https://github.com/conorhastings/redux-test-recorder/commit/382ad553c08fce501067cb22c12e9526c9393e01


🪲 can't include a comment after a temporal filter

SELECT * FROM $planets FOR today -- ignore

testing error only


What about edge cases?

What if a feebump input is more valuable than the bumped utxo
What if dust: the necessary amount needed to bump this spend exceeds the unvault txo amount Chose 200k sat as dust limit for now for transactions pre-signed by the stakeholders.
How should received dust be handled in the UI

What if the software is killed after requesting the spend tx signature to the cosigning server but before broadcasting it
What if the spend is actually never broadcast

We need a dust-watch-limit on the watchtower. What is a good default value ? 1M sat sounds good


Changed json NaN representation

Closes #131, replacing #132
This is a less intrusive PR, only changing how NaN values are represented in JSON

There is a fundamental problem fundamental. Pdtable currently purposefully uses None to represent NaN values in JSON, but it can parse it back! two possible solutions:

Use NaN, which is not part of the JSON standard (this PR)
Keep using None, but parse is as a valid input (#132 )

Closed in favor of #132


Update stable version in repo from 0.2.3 to 0.3.0

Think about update stable version to 0.3.0
Version: stable=0.2.3 (691 days old) => latest=0.3.0 (56 days old)
Installs: stable=5700 (83.15%), latest=533 (7.78%), total=6855
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 0.3.0 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Is there any reason to delay updating stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 4.8.2024 we could decide to update anyway.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.3.0 but the current stable version is already 0.3.0.
So this issue should be closed.
@mcm1957 for evidence


problem writing GRIB output when initialized with ERA5 via CDS

When running graphcast using CDS, using a command like this:
ai-models --input cds --date 20221220--time 0000 --path "output-graphcast.grib" graphcast
the model runs successfully, but then fails to write the grib file on forecast hour 6. The issue appears to be with writing the precipitation field, throwing this error:

2024-09-27 16:33:26,419 INFO Converting output xarray to GRIB and saving
ECCODES ERROR   :  concept: no match for paramId=228
ECCODES ERROR   :  concept: input handle edition=2, centre=ecmf
ECCODES ERROR   :  concept: input handle dataset=era
ECCODES ERROR   :  Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=228'
2024-09-27 16:33:34,333 ERROR Error setting edition=2
2024-09-27 16:33:34,333 ERROR Concept no match

I used the debug option and wrote output.nc, which looks fine, so the issue simply appears to be writing out to grib.
When initializing using opendata, this issue does not occur and everything looks fine.
A possible hint at the cause is from wgrib2...for the opendata-initialized run that works, the grib record looks like this:
7:5174768:d=2024092600:var discipline=0 center=98 local_table=1 parmcat=1 parm=193:surface:0-0 day acc fcst:
while in the cds-initialized run that fails, the grib record looks like this in the hour zero file (nothing is written after that):
7:14536536:d=2022122000:TPRATE:surface:0-0 day acc fcst:
Not sure why a different precipitation parameter is being written depending on the initialization source, though. Thanks for any insights!

Having the same issue here!

@russ-schumacher and @jovanovski I'm also having the same issue. On our end, we're downloading the era5 data using climetlab with initial conditions being generated every 5 days in 2023.
I've added the code we use to download the data to reproduce our issue.
#!/usr/bin/python3
try:
    from functools import lru_cache
except ImportError:
    from backports.functools_lru_cache import lru_cache
import climetlab as cml
from datetime import datetime, timedelta

# Create a list of dates in 2023 with steps of 5 days
start_date = datetime(2023, 1, 1)
end_date = datetime(2023, 12, 31)
delta = timedelta(days=5)

dates = []
current_date = start_date

while current_date <= end_date:
    dates.append(current_date.strftime('%Y-%m-%d'))
    current_date += delta

sfc_data = cml.load_source(
    "cds",
    "reanalysis-era5-single-levels",
    variable = ["lsm", "2t", "msl", "10u", "10v", "tp", "z"],
    product_type = "reanalysis",
    area = [90, 0, -90, 360],
    grid = [0.25, 0.25],
    date = dates,
    time = "12:00",
    format = "grib"
)

atm_data = cml.load_source(
    "cds",
    "reanalysis-era5-pressure-levels",
    variable = ["t", "z", "u", "v", "w", "q"],
    level = [50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000],
    product_type = "reanalysis",
    area = [90, 0, -90, 360],
    grid = [0.25, 0.25],
    date = dates,
    time = "12:00",
    format = "grib"
)

Note that before this problem, we actually were having issues with nan values with the 2t variable because of the gribapi. I commented some lines out to bypass this as I understand some nan values in 2t are fine as long as they correspond to the ocean. However, after "fixing" this, we started seeing the same issue you guys are dealing with total precipitation.
Just for the sake of providing a more detailed diagnosis, I've added the traceback error that we had with 2t before commenting some lines out from the gribapi code. If you guys can share how you're generating the NetCDF output with ai-models, I'd really appreciate it.
2024-10-02 04:41:16,975 INFO Doing full rollout prediction in JAX: 1 minute 4 seconds.
2024-10-02 04:41:16,975 INFO Converting output xarray to GRIB and saving
ECCODES ERROR   :  Minimum value out of range: nan
ECCODES ERROR   :  GRIB2 simple packing: unable to set values (Encoding invalid)
ECCODES ERROR   :  Unable to set double array 'codedValues' (Encoding invalid)
2024-10-02 04:41:17,883 ERROR Error setting values
2024-10-02 04:41:17,883 ERROR Encoding invalid
Traceback (most recent call last):
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/earthkit/data/readers/grib/codes.py", line 221, in set_values
    eccodes.codes_set_values(self._handle, values.flatten())
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 2126, in grib_set_values
    grib_set_double_array(gribid, "values", values)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 1200, in grib_set_double_array
    GRIB_CHECK(lib.grib_set_double_array(h, key.encode(ENC), a, length))
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 232, in GRIB_CHECK
    errors.raise_grib_error(errid)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/errors.py", line 381, in raise_grib_error
    raise ERROR_MAP[errid](errid)
gribapi.errors.EncodingError: Encoding invalid
2024-10-02 04:41:17,886 INFO Saving output data: 0.9 second.
2024-10-02 04:41:17,886 INFO Total time: 1 minute 26 seconds.
Traceback (most recent call last):
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/outputs/__init__.py", line 62, in write
    handle, path = self.output.write(data, *args, **kwargs)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/earthkit/data/readers/grib/output.py", line 390, in write
    handle = self._coder.encode(
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/earthkit/data/readers/grib/output.py", line 132, in encode
    handle.set_values(values)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/earthkit/data/readers/grib/codes.py", line 221, in set_values
    eccodes.codes_set_values(self._handle, values.flatten())
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 2126, in grib_set_values
    grib_set_double_array(gribid, "values", values)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 1200, in grib_set_double_array
    GRIB_CHECK(lib.grib_set_double_array(h, key.encode(ENC), a, length))
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/gribapi.py", line 232, in GRIB_CHECK
    errors.raise_grib_error(errid)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/gribapi/errors.py", line 381, in raise_grib_error
    raise ERROR_MAP[errid](errid)
gribapi.errors.EncodingError: Encoding invalid

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/bin/ai-models", line 8, in <module>
    sys.exit(main())
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/__main__.py", line 362, in main
    _main(sys.argv[1:])
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/__main__.py", line 310, in _main
    run(vars(args), unknownargs)
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/__main__.py", line 335, in run
    model.run()
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models_graphcast/model.py", line 232, in run
    save_output_xarray(
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models_graphcast/output.py", line 68, in save_output_xarray
    write(
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/model.py", line 120, in write
    self.output.write(*args, **kwargs, **self.grib_extra_metadata),
  File "/gpfs/home/bsc/bsc927078/graphcast_snake/lib/python3.10/site-packages/ai_models/outputs/__init__.py", line 67, in write
    raise ValueError(f"NaN values found in field. args={args} kwargs={kwargs}")
ValueError: NaN values found in field. args=() kwargs={'template': GribField(2t,None,20230101,1200,0,0), 'step': 6}

Also having the same issue, also downloading from CDS.
ai-models --input cds --date 20230110 --time 0000 --debug graphcast

<snip>

024-11-21 14:51:21,053 DEBUG CALLING func [] {'startStep': 0, 'endStep': 6, 'self': <earthkit.data.readers.grib.output.GribCoder object at 0x2b7b0040d1d0>}
2024-11-21 14:51:21,055 DEBUG GribOutput.metadata {'edition': 2, 'generatingProcessIdentifier': 1, 'stream': 'oper', 'expver': 'dmgc', 'class': 'ml', 'startStep': 0, 'endStep': 6}
ECCODES ERROR   :  concept: no match for paramId=228
ECCODES ERROR   :  concept: input handle edition=2, centre=ecmf
ECCODES ERROR   :  concept: input handle dataset=era
ECCODES ERROR   :  Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=228'
2024-11-21 14:51:21,057 ERROR Error setting edition=2
2024-11-21 14:51:21,057 ERROR Concept no match

<snip more errors as things fail as a result>

Very upsettingly, I created a different virtual env with the same (?) packages installed, possibly in a different order and it now works.
here is the difference between pip list on broken (left) and works (right)
5a6
> array_api_compat          1.9.1
8,9c9
< cachetools                5.5.0
< cads-api-client           1.5.2
---
> cads-api-client           1.5.4
22c22
< contourpy                 1.3.0
---
> contourpy                 1.3.1
24c24
< dask                      2024.10.0
---
> dask                      2024.11.2
27c27
< earthkit-data             0.10.9
---
> earthkit-data             0.11.1
38c38
< fonttools                 4.54.1
---
> fonttools                 4.55.0
60c60
< multiurl                  0.3.2
---
> multiurl                  0.3.3
72d71
< nvidia-ml-py              12.535.161
74d72
< nvitop                    1.3.2
82d79
< psutil                    6.1.0
96c93
< setuptools                75.1.0
---
> setuptools                75.2.0
109c106
< zipp                      3.20.2
---
> zipp                      3.21.0

Got it! The problem is the version of earthkit-data (and possibly the missing array_api_compat which is installed as a dependency when you install  0.11.1 of earthkit-data .
pip install earthkit-data==0.11.1

Fixed the "broken" virtualenv.

Looking at the changelog for Earthkit 0.11.x there are a lot of changes which look potentially relevant: https://earthkit-data.readthedocs.io/en/latest/release_notes/version_0.11_updates.html


Added documentation about yarn updates

Our build does not work using old version of yarn if yarn is installed globally

Hmm, that diff is wrong, I will resubmit...


Remove partitions from the schema cache

Related to https://github.com/PostgREST/postgrest/pull/2022

Should we mention somewhere(maybe in a note) that partitions are ignored because they cause conflicts when embedding?
Some of the reasoning in https://github.com/PostgREST/postgrest/issues/1783#issuecomment-961121977 could also be included.

Should we mention somewhere(maybe in a note) that partitions are ignored because they cause conflicts when embedding?
Some of the reasoning in PostgREST/postgrest#1783 (comment) could also be included.

Yes, I think both should be mentioned, but mostly around the fact that partitions shouldn't be exposed and the embedding conflict solution as a consequence of that.


feature: return buffer to the pool when using streaming codec

I'm not sure if this is a feature request or actually a bug.
If I'm not missing something, it looks like when using cbor.NewEncoder() the underlying encoderBuffer is never returned back to the pool.
Here getEncoderBuffer() is called during NewEncoder but putEncoderBuffer() is never called afterwards.

Hi @burdiyan Thanks for reporting this!  :+1:   I looked into it and have some ideas to try.


Compatibility with Avalonia 11.1?

Hi,
While testing with https://github.com/danipen/TextMateSharp/issues/57#issuecomment-2037832212 in the Avalonia 11.1 previews, I noticed that an about box using DialogHost.Avalonia didn't work correctly - the dialog appeared but didn't disappear when closed, just hung about over the top of the background.
As a test I tried updating the demo application from this repository to the Avalonia 11.1 Beta 1 release and saw there are problems there as well

There are also some warnings in the debugger output:
[Binding]An error occurred binding 'OverlayBackground' to '': 'Could not convert 'DialogHostDemo.ViewModels.MainWindowViewModel' (DialogHostDemo.ViewModels.MainWindowViewModel) to 'Avalonia.Media.IBrush'.' (DialogHost #25747420)
[Binding]An error occurred binding 'Background' to '': 'Could not convert 'DialogHostDemo.ViewModels.MainWindowViewModel' (DialogHostDemo.ViewModels.MainWindowViewModel) to 'Avalonia.Media.IBrush'.' (DialogHost #25747420)

Thanks.

So, currently seems like my custom binding for getting colors from different themes doesn't work with updated binding system from avalonia 11.1.
As for workaround you can set values to this properties (Background, OverlayBackground) by youself.
I've currently trying to figure out how to adapt to new avalonia binding system.

Details can found here: https://github.com/AvaloniaUI/Avalonia/issues/15270

Thanks, my own application is working now with the new update.


onShow parameter of dialog does not work

I put a function in the onShow parameter of the dialog and it is executed before the dialog appears, should not it be later?

I need to put a datatable inside the dialog and need to run the $('#example').dataTable() command in the onShow parameter, or have another way of doing this?

https://github.com/olton/Metro-UI-CSS/blob/master/CONTRIBUTING.md#issues-guidelines

All works fine https://sandbox.org.ua/olton/code/yExZ09mP2M

Instead of using the datatable, I set up the MetroUI 4 plugin table and it works perfectly for my application. Looking at the example https://metroui.org.ua/examples/table/table-inspector-exprot-custom-func.html


wip: safeNextPathFrom(): add tests for bad content

@alxndrsn, now that #1014 is merged, how are you thinking of this PR? I see new cases here that seem like they improve coverage (e.g., /login), as well as others that don't seem needed now that #1014 is merged (e.g., /login/foo/..).

@matthew-white the /login-related tests actually indicate a proposed change of behaviour: should safeNextPathFrom() redirect next=/login to the web root?

the /login-related tests actually indicate a proposed change of behaviour

I don't quite see the change. The test has:
[ '/login',                          '/#/' ],

But isn't that what Backend already does? Or am I misunderstanding?
https://github.com/getodk/central-backend/blob/bab9ef971998fc29264cedbb02fe9c94de180920/lib/util/html.js#L27-L28

should safeNextPathFrom() redirect next=/login to the web root?

No strong feelings! Unlike Frontend, Backend doesn't need special logic around next=/login. There's no problem if Backend redirects to /#/login. However, I can also see the case for keeping the logic around next the same in Frontend and Backend. Frontend redirects to /#/ for next=/login, and we could have Backend do the same. I think we should implement and test whichever way you think is best!

@matthew-white I've updated the PR to remove irrelevant tests, and add one for path traversal.


[Bug, V1]: LlaVa outputs wrong results in batch inference with V1 code（V0 code is correct)

Your current environment

The output of `python collect_env.py`
Warning: Your installation of OpenCV appears to be broken: module 'cv2.dnn' has no attribute 'DictValue'.Please follow the instructions at https://github.com/opencv/opencv-python/issues/884 to correct your environment. The import of cv2 has been skipped.
WARNING 12-04 08:26:48 cuda.py:30] You are using a deprecated `pynvml` package. Please install `nvidia-ml-py` instead, and make sure to uninstall `pynvml`. When both of them are installed, `pynvml` will take precedence and cause errors. See https://pypi.org/project/pynvml for more information.
Collecting environment information...
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.2
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.4.0-125-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 4090
GPU 1: NVIDIA GeForce RTX 4090
GPU 2: NVIDIA GeForce RTX 4090
GPU 3: NVIDIA GeForce RTX 4090
GPU 4: NVIDIA GeForce RTX 4090
GPU 5: NVIDIA GeForce RTX 4090
GPU 6: NVIDIA GeForce RTX 4090
GPU 7: NVIDIA GeForce RTX 4090

Nvidia driver version: 535.54.03
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   52 bits physical, 57 bits virtual
Byte Order:                      Little Endian
CPU(s):                          96
On-line CPU(s) list:             0-95
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz
CPU family:                      6
Model:                           106
Thread(s) per core:              2
Core(s) per socket:              24
Socket(s):                       2
Stepping:                        6
Frequency boost:                 enabled
CPU max MHz:                     2101.0000
CPU min MHz:                     800.0000
BogoMIPS:                        4200.00
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid md_clear pconfig flush_l1d arch_capabilities
Virtualization:                  VT-x
L1d cache:                       2.3 MiB (48 instances)
L1i cache:                       1.5 MiB (48 instances)
L2 cache:                        60 MiB (48 instances)
L3 cache:                        72 MiB (2 instances)
NUMA node(s):                    2
NUMA node0 CPU(s):               0-23,48-71
NUMA node1 CPU(s):               24-47,72-95
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cudnn-frontend==1.3.0
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-dali-cuda120==1.37.1
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvimgcodec-cu12==<IP_ADDRESS>
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] nvidia-pyindex==1.0.9
[pip3] onnx==1.16.0
[pip3] optree==0.11.0
[pip3] pynvml==11.4.1
[pip3] pytorch-quantization==2.1.2
[pip3] pytorch-triton==3.0.0+989adb9a2
[pip3] pyzmq==26.0.3
[pip3] torch==2.5.1
[pip3] torch-tensorrt==2.4.0a0
[pip3] torchvision==0.20.1
[pip3] transformers==4.46.3
[pip3] triton==3.1.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.4.post2.dev221+g3bc94cab
vLLM Build Flags:
CUDA Archs: 5.2 6.0 6.1 7.0 7.2 7.5 8.0 8.6 8.7 9.0+PTX; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    GPU4    GPU5    GPU6    GPU7    NIC0    NIC1    NIC2    NIC3    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      PXB     PXB     PXB     SYS     SYS     SYS     SYS     PXB     PXB     SYS     SYS     0-23,48-71      0               N/A
GPU1    PXB      X      PXB     PXB     SYS     SYS     SYS     SYS     PIX     PIX     SYS     SYS     0-23,48-71      0               N/A
GPU2    PXB     PXB      X      PIX     SYS     SYS     SYS     SYS     PXB     PXB     SYS     SYS     0-23,48-71      0               N/A
GPU3    PXB     PXB     PIX      X      SYS     SYS     SYS     SYS     PXB     PXB     SYS     SYS     0-23,48-71      0               N/A
GPU4    SYS     SYS     SYS     SYS      X      NODE    NODE    NODE    SYS     SYS     NODE    NODE    24-47,72-95     1               N/A
GPU5    SYS     SYS     SYS     SYS     NODE     X      PXB     PXB     SYS     SYS     PXB     PXB     24-47,72-95     1               N/A
GPU6    SYS     SYS     SYS     SYS     NODE    PXB      X      PXB     SYS     SYS     PIX     PIX     24-47,72-95     1               N/A
GPU7    SYS     SYS     SYS     SYS     NODE    PXB     PXB      X      SYS     SYS     PXB     PXB     24-47,72-95     1               N/A
NIC0    PXB     PIX     PXB     PXB     SYS     SYS     SYS     SYS      X      PIX     SYS     SYS
NIC1    PXB     PIX     PXB     PXB     SYS     SYS     SYS     SYS     PIX      X      SYS     SYS
NIC2    SYS     SYS     SYS     SYS     NODE    PXB     PIX     PXB     SYS     SYS      X      PIX
NIC3    SYS     SYS     SYS     SYS     NODE    PXB     PIX     PXB     SYS     SYS     PIX      X

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

NIC Legend:

  NIC0: mlx5_0
  NIC1: mlx5_1
  NIC2: mlx5_2
  NIC3: mlx5_3

NVIDIA_VISIBLE_DEVICES=all
CUBLAS_VERSION=<IP_ADDRESS>
NVIDIA_REQUIRE_CUDA=cuda>=9.0
CUDA_CACHE_DISABLE=1
TORCH_CUDA_ARCH_LIST=5.2 6.0 6.1 7.0 7.2 7.5 8.0 8.6 8.7 9.0+PTX
NCCL_VERSION=2.21.5
NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
NVIDIA_PRODUCT_NAME=PyTorch
CUDA_VERSION=<IP_ADDRESS>
PYTORCH_VERSION=2.4.0a0+07cecf4
PYTORCH_BUILD_NUMBER=0
CUDNN_VERSION=<IP_ADDRESS>
PYTORCH_HOME=/opt/pytorch/pytorch
LD_LIBRARY_PATH=/usr/local/lib/python3.10/dist-packages/cv2/../../lib64:/usr/local/lib/python3.10/dist-packages/torch/lib:/usr/local/lib/python3.10/dist-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
NVIDIA_BUILD_ID=91431255
CUDA_DRIVER_VERSION=550.54.15
PYTORCH_BUILD_VERSION=2.4.0a0+07cecf4
CUDA_HOME=/usr/local/cuda
CUDA_HOME=/usr/local/cuda
CUDA_MODULE_LOADING=LAZY
NVIDIA_REQUIRE_JETPACK_HOST_MOUNTS=
NVIDIA_PYTORCH_VERSION=24.05
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE=1

Model Input Dumps
Version：
0.6.4.post2.dev221+g3bc94cab
Test Image：
test_img.zip
🐛 Describe the bug
@WoosukKwon Here is an fatal bug on V1 offline batch inference
import os
from vllm import LLM, SamplingParams, envs
from PIL import Image
import time

prompt = "USER: <image>\nWhat is the content of this image?\nASSISTANT:"

fname = 'animal.jpg' # get form the .zip file
image = Image.open(fname).convert('RGB')

envs.VLLM_USE_V1 = True
llm = LLM(model='llava-1.5-7b-hf', trust_remote_code=True, dtype="bfloat16",
          tokenizer_mode="auto", gpu_memory_utilization=0.9, max_model_len=1000, max_num_batched_tokens=1200)

sampling_params = SamplingParams(temperature=0, max_tokens=128)

inputs = {
    "prompt": prompt,
    "multi_modal_data": {
        "image": image
    }
}

outputs = llm.generate([inputs, inputs], sampling_params)
for output in outputs:
    text = output.outputs[0].text
    print(text)
    print()

print("done")

The output is

The image features a black and white panda bear sitting in a grassy area. The panda is eating grass, and it appears to be enjoying the meal. The scene is set in a lush green environment, with the panda being the main focus of the image.
ASSA TEXT

That is, though the two inputs are the same, the results are not the same.
Here is my debug info:
(1) If I comment envs.VLLM_USE_V1 = True，I can get the two correct result，so the bug is in V1
(2) If I ajust max_model_len larger(2 times seqlen)，I can get the two correct result
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.

cc @ywang96 @WoosukKwon

@PYNing Thanks for reporting this bug! I can confirm this is reproducible, and only happens when max_model_len is smaller than max_num_batched_tokens.
Code to reproduce:
import os
from vllm import LLM, SamplingParams, envs
from PIL import Image
import time
from vllm.assets.image import ImageAsset

prompt = "USER: <image>\nWhat is the content of this image?\nASSISTANT:"
image = ImageAsset("cherry_blossom").pil_image.convert("RGB")

envs.VLLM_USE_V1 = True
llm = LLM(model='llava-hf/llava-1.5-7b-hf', trust_remote_code=True, dtype="bfloat16",
          tokenizer_mode="auto", gpu_memory_utilization=0.9, max_model_len=1199, max_num_batched_tokens=1200)
sampling_params = SamplingParams(temperature=0, max_tokens=128)
inputs = {
    "prompt": prompt,
    "multi_modal_data": {
        "image": image
    }
}
outputs = llm.generate([inputs, inputs], sampling_params)
for output in outputs:
    text = output.outputs[0].text
    print("response:", text)
    print()

Output:
The image features a tall tower with a spire, surrounded by a beautiful flowering tree filled with pink flowers. The tower stands tall in the background, while the tree's branches are filled with the vibrant blossoms. The combination of the tower and the flowering tree creates a picturesque scene, showcasing the beauty of nature and architecture.

100)Follow us on Facebook.


overflow intrinsics are not allowed to be inferred, only

the overflow bit or operand's bitwidth result can be returned
souper-check returned protocol error earlier when overflow intrinsic was inferred.

LGTM


Add images of sample site

Within the readme add some images of what the sample portfolio site looks like.

Gif added to readme of sample site screen shots.


UI: Remove "ChangeDetectionStrategy.OnPush" from Layout Component

Describe the bug
Remove the "ChangeDetectionStrategy.OnPush" from the Layout Component TS File (Line 29). It has been previously removed but returned in the new UI commit, leading to the Storage Table in the Admin UI to only load once the header of the table is hovered.
Verify, that the detection for "isCollapsed" still works without the OnPush Strategy.
Is this a regression?
Yes

@GeoffreyKarnbach ChangeDetectionStrategy.OnPush was used to improve performance, but it’s not needed anymore. Removing it fixes the issue where the Storage Table in the Admin UI only shows up when hovering over the header. Everything, like isCollapsed, works fine with the default change detection.


internal/create wiki for Clarin-DSpace installation process

Sometimes we add some configurations, properties,.. and we cannot forget what we need to configure. Create wiki page when will be this installation process. Clarin-DSpace wiki could be inspiration: https://github.com/ufal/clarin-dspace/wiki

@milanmajchrak If you already had such necessities, please add to installation wiki


#2018 Removing from landing page footer

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #2018
[x] Removing from footer substack, telegram, reddit

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Not related with this PR but "Documentation" & "Grant" link are not working, could you take a look?

@roiLeo have fixed this

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 133.62 USD/KSM ~ 0.374 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x409292130455ae8a28c90cde154b1b32ea5496063fd2f3ad6a81218896c609d4
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Operators - support multi-operators install/uninstall

Requires https://github.com/RedHatQE/openshift-python-utilities/pull/214

/verified


Empty assistant messages in context in VoicePipelineAgent

It seems the messages generated by LLM are not added to the context. When logging ctx.messages in beforeLLMCallback, I can see there are all user's messages (role = 1), but all assistant messages (role = 2) only contain an empty string in the content field.
Environment:
@livekit/agents v0.5.0
Agent setup:
new pipeline.VoicePipelineAgent(
    ctx.proc.userData.vad! as silero.VAD,
    openai.STT.withGroq({ detectLanguage: true }),
    new openai.LLM({ model: 'gpt-4o', temperature: 0.7 }),
    new openai.TTS({ voice: 'onyx' }),
    {
        beforeLLMCallback: (_, ctx) => {
            console.log(ctx.messages)
        },
    }
)

Output
[
    {
        "role": 0,
        "content": "You are a helpful assistant"
    },
    {
        "role": 2,
        "content": ""
    },
    {
        "role": 1,
        "content": " Hey, how are you doing?"
    },
    {
        "role": 2,
        "content": ""
    },
    {
        "role": 1,
        "content": " I'm fine, thanks."
    }
]

i reckon is a side-effect of transcriptions not being fully implemented just yet for VoicePipelineAgent. we're working on it, and it'll be available in the next minor release

Thanks guys, super fast turnaround. I can confirm the issue is resolved!

thanks for the confirmation @valdrox!

Thanks, the issue is resolved


Python formatter and format correctness checker disagree and cause issues only caught on CI.

For Python files in the engine, we seem to be using YAPF for formatting and Pylint for checking if the Python file is "correctly" formatted.
But the two tools don't seem to agree on what the correct formatting is. So even if you perform a ./ci/format.sh --fix and submit the patch, it is possible that your file is still incorrectly formatted per Pylint.
In my case, the line was apparently too long (101 chars instead of <=100).
Perhaps the linter should check formatting using YAPF since that is used to fix formatting too?
Not a super high priority but an annoyance I want to document. To be clear, I don't care how we format the files. Just want consistency so I can tell my editor to format on save.

https://github.com/flutter/engine/pull/50510

Closing as fixed with https://github.com/flutter/engine/pull/50510


Buttongroup and divider

adding some buttongroup props:

Minimal (already set but not have a switch in the menu)
Fill
Large
Vertical
Switch for icon only
text align (left, center, right)

adding some divider props:

vertical

Buttongroup
https://github.com/cecton/yewprint/pull/54/commits/288b67bb189cf8709549341f4fe8f6c7eeb647b1
some props works fine for now:

minimal
file
large
vertical

need more time to add the rest:

icon only
text align

https://github.com/cecton/yewprint/pull/54#issuecomment-711077194
Divider have a vertical props now


[FIX] error then trying to load twig on low version of PrestaShop

Questions
Answers

Description?
Allows to no longer rely on the class to determine the twig version to use. This allows to no longer have twig loading errors in the lowest versions (<IP_ADDRESS>/<IP_ADDRESS> for example)

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

Sponsor company
@PrestaShopCorp

How to test?
Try to acces update page (old and new UI) on version <IP_ADDRESS>/<IP_ADDRESS>/8.0.0 and more if you want.

tested on

<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
8.2.0

Ok for me


"DO NOT INSTALL HASKELL PLATFORM"

I guess this is one stumbling block confusing people who get into Haskell, before they even get into Haskell. Haskell.org is the canonical source to get Haskell, offering 3 different options for the installation. A beginner has no way to understand or make an informed decision what they should do. I would say most other online sources do recommend or point to the platfom variant.
So if you write something like this, I would recommend to drop the capital case (which sounds intimidating) and make sure to explain the reason behind the recommendation.

@i3games https://github.com/bitemyapp/learnhaskell#why-not-platform

ok, makes sense.


Failed to create Guest Network during basic installation

ISSUE TYPE

Bug Report

COMPONENT NAME
network

CLOUDSTACK VERSION
branch 4.13 and master

CONFIGURATION

OS / ENVIRONMENT

CentOS7

SUMMARY

Using the basic installation wizard it's not possible to create a guest network, because the "isolationmethods" are not provided, and an exception is thrown:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0         at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)         at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)         at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)         at java.base/java.util.Objects.checkIndex(Objects.java:372)         at java.base/java.util.ArrayList.get(ArrayList.java:459)         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.encodeVlanIdIntoBroadcastUri(NetworkOrchestrator.java:2674)         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.createGuestNetwork(NetworkOrchestrator.java:2447)         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.createGuestNetwork(NetworkOrchestrator.java:2327)         at com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1502)         at com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1450)         at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
According to the API documentation for createPhysicalNetwork the "isolationmethods" parameter is not mandatory, and the list of IsolationMethod in my case is emtpy.
 protected URI encodeVlanIdIntoBroadcastUri(String vlanId, PhysicalNetwork pNtwk) {
        if (pNtwk == null) {
            throw new InvalidParameterValueException(String.format("Failed to encode VLAN/VXLAN %s into a Broadcast URI. Physical Network cannot be null.", vlanId));
        }

        if(StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
            String isolationMethod = pNtwk.getIsolationMethods().get(0).toLowerCase();
            String vxlan = BroadcastDomainType.Vxlan.toString().toLowerCase();
            if(isolationMethod.equals(vxlan)) {
                return BroadcastDomainType.encodeStringIntoBroadcastUri(vlanId, BroadcastDomainType.Vxlan);
            }
        }
        return BroadcastDomainType.fromString(vlanId);
    }

With remote debug I have set one blank element in the list, and the installation was successful.

As far as I know, this method is executed only when the network has been created with a VLAN ID, therefore, an isolation method should be provided (e.g. VLAN or VXLAN).
Did you provide any VLAN ID when creating the network?
For reference, this method was added by PR #4190.

@slavkap can you please provide some details so I can reproduce the same operation in order to debug it? Thanks!

Thanks @GabrielBrascher
I'm seting up CS with basic network though the installation wizard, and didn't provide VLAN Id, because you're limited in options when using the wizard

Thanks @slavkap, I will take another look at this.

I could fix this issue, but I'm not very familiar with this part of CloudStack. Do we have to provide isolation method for basic network? For basic network the vlanId has to be null according to the code, and encodeVlanIdIntoBroadcastUri() will be executed
            if (vlanId == null) {
                vlanId = Vlan.UNTAGGED;
            } else {
                if (!vlanId.equalsIgnoreCase(Vlan.UNTAGGED)) {
                    throw new InvalidParameterValueException("Only vlan " + Vlan.UNTAGGED + " can be created in " + "the zone of type " + NetworkType.Basic);
                }
            }

or only we need to check that the list is empty when encoding the vlan
       if(StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {

@slavkap both options look good, I would go for checking if it is not empty therefore in case of empty the code does not change the execution flow..
Regarding the basic network question; the basic network is particular by not providing any isolation method, it considers simply a range of (public) IPs provided with no isolation at all.
Note that the Basic network shall be deprecated in the medium/long term. CloudStack primate, for instance, does not support creation of basic netowrks, only maintaining existing basic network zones via UI; one can still deploy new basic zones via API.

Thanks @GabrielBrascher! I will do the fix to check if it's not empty. It has to be pushed on branch 4.13? Maybe I have to think about switching to Advance network on my dev. environment

@slavkap pushing it into 4.13 sounds good.

fixed in #4464


docs: upgrade guide to latest react-dropzone

There's some white lies here. The idea is that no good Volto addon or project would break if it properly declared its dependencies. node_modules and the yarn workspaces system that we use ensures that multiple versions of the same library can coexist in a bundle. The problem is with addons or projects that use internally the react-dropzone and didn't declare it as a dependency. I don't know if we should treat every major Volto dependency as a breaking change because there's some project or addon "out there" that didn't properly declare its dependencies. And I say this as the author of such a mistake: volto-slate used react-dropzone but I didn't declare it as a dependency, instead relying on Volto to provide it. At least it should be specified as a peerDependency.

IMO specifying react-dropzone as peerDependency mean  If this package doesn’t already exist in the node_modules directory or it is the wrong version, don’t add it. But, show a warning to the user that it wasn’t found. So we don’t want our library adding another version of a package to node-modules when that package could conflict with an existing version and cause problems.
We can Favor using Peer Dependencies when one of the following is true:

Having multiple copies of a package would cause conflicts.
We want the developer to decide which version to install.
So a user can always decide if this particular package is needed won't cause any breaking changes. if it does, then can make code changes and migrate to newer API.

-cc @sneridagh @tiberiuichim

@nileshgulia1 I'm not sure I understand what you mean. What are your proposals? I don't believe the problem in discussion, the react-dropzone upgrade, is worth discussing (except maybe as a blog article or whatever), but Volto was not at fault: there was never a breaking contract from Volto's side. Alin flagged the problem as breaking, but the deeper problem was with faulty dependency management of volto-slate.

@tiberiuichim My main confusion was in general, Is it a good idea to include any package which has a breaking change on any of the transitive dependencies in Volto onto our project/addons dependency or peerDependency? Because I too faced this error in addons 'm writing probably similar to what you had faced in volto-slate.

Addon packages could use peerDependency, with the understanding that that can break, then switch to real hard dependency when Volto upgrades to an incompatible version, though I imagine that the addon would immediately be upgraded to the version in Volto.

This is obsolete.


Avoid poor-formatting of the rhs of lazy_static macro

Parse the rhs as statement
Do not format unsafe block on the statement position in a single line

Close #3419.

@calebcartwright Thanks!


[otbn,dv] Cover all points in insn_jal_cg and insn_jalr_cg

Lots of these are quite similar, to do with generating valid or invalid addresses in various ways.

estimate 4

The milestone was wrong here: this is about hitting a specific coverage point (from when I went through a coverage report trying to work out what we were missing). Moving to V3 and removing from the M2 project.

Not hitting all points in these groups still but this is of low concern (ultimately the missing bins would only occur in buggy software so if they don't behave exactly as we want it's not a large issue).

Estimate range: 2 - 4


Invalid prov. profile for internal distribution

There's an issue with regenerating the provisioning profile when building an app for internal distribution (I haven't verified it's broken for app store builds too). The provisioning profile is generated for a different distribution certificate than the chosen one.
Repo steps:

use the turtle-dev apple id and the Alicja Warchał team
log in to eas-cli as expo-turtle (ask me for the password)
init a new app and add this to app.json:  "android": {
    "package": "com.expo.turtle.tutorial.internal.abc"
  },
  "ios": {
    "bundleIdentifier": "com.expo.turtle.tutorial.internal.abc"
  }

run eas build:configure and complete all steps
edit eas-cli/packages/eas-cli/src/build/create.tsto add process.exit(1); on line 20 to not spam turtle with test builds

go to Apple Dev Portal and revoke the iOS dist cert with the expiry on 2021/12/08 (don't revoke the one with the expiry on 2021/11/09 - it will break turtle v1 smoke tests)

create eas.json:{
 "builds": {
   "android": {
     "release": {
       "workflow": "generic"
     }
   },
   "ios": {
     "release": {
       "workflow": "generic",
       "distribution": "internal"
     }
   }
 }
}

run eas build -p ios and follow all the steps, EAS CLI will regenerate the profile
go to Apple Dev Portal and see that the new profile was generated for the wrong dist cert (for the one with the expiry on 2020/11/09) - even though a new one was created

The post request is in line with what you've described, meaning it's not a bug in apple-utils's Profile.createAsync method.
⠋ Handling Apple ad hoc provisioning profiles
- 201 Created (POST https://developer.apple.com/services-account/v1/profiles)

Here is the request (notice 4L484Q4H26 is the Nov 09 certificate)
{
	"data": {
		"attributes": {
			"name": "*[expo] com.expo.turtle.tutorial.internal.abc AdHoc<PHONE_NUMBER>273",
			"profileType": "IOS_APP_ADHOC",
			"teamId": "QL76XYH73P"
		},
		"type": "profiles",
		"relationships": {
			"bundleId": {
				"data": {
					"type": "bundleIds",
					"id": "DJD4D2R9FX"
				}
			},
			"certificates": {
				"data": [{
					"type": "certificates",
+					"id": "4L484Q4H26"
				}]
			},
			"devices": {
				"data": [{
					"type": "devices",
					"id": "3XK2WJ89C8"
				}, {
					"type": "devices",
					"id": "8CX2CBVQYJ"
				}, {
					"type": "devices",
					"id": "Z2HPCVR6Q9"
				}]
			}
		}
	}
}

Can confirm that getDistributionCertificateAync works as expected too (get expected (newly generated) certificate with serial number).
Essentially apple-utils is returning the correct certificate, and it's getting passed the wrong certificate. So nothing seems wrong on the apple-utils side.
This leaves createOrReuseAdhocProvisioningProfileAsync as the most suspect method.

This is still broken for me


[WIP] Fixes a typo in xcodeproj tests - missing dollar symbol

What it looks like is a bash typo: they have typos / not adding money symbol infront of CLEAN variable. I imagine this causes it to operate in unexpected ways as CLEAN was set upstream.

Closing since this is now an explicit argument vs. set via an env var:
https://github.com/bazel-ios/rules_ios/blob/a753af65ed4b0c0b49c2645a3c624a2a072f5819/tests/xcodeproj-tests.sh#L128-L133


Fix for betaBMP

Description of PR

What component(s) does this PR affect?

[X] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

Related Issue

Resolves #274
Solution

Type

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update
[ ] None of the above

Checklist:

[x] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

:running: Benchmark Results :running:

BGP Updates (updates/sec): 717
Hijacks Detected (hijacks/sec): 23


ual wombat gives error if you don't have the extension installed

Hello
We are trying to apply the ual of wombat, but if we don't have the extension we get the following error
and i use ual-plainjs-renderer
Thanks for your help

And in ual-reactjs-renderer

I have solved it as follows -> #2


Change to use RAT maven plugin to support ASF short format header

This pr is to use RAT maven plugin to support ASF short format header, including:

pom.xml used by maven, including a customer license definition and a list of "exclude" files.
add script to install maven
change verify_source_code.sh to use apache rat maven plugin

@houshengbo Hi, in verify_source_code.sh, I use OPENWHISK_SOURCE_DIR instead of OPENWHISK_CLEANED_SOURCE_DIR because it doesn't work for me to use OPENWHISK_CLEANED_SOURCE_DIR when I run ./tool/travis/verify_source_code.sh in my local machine. Please verify if the update makes sense.

@daisy-ycguo You need to run first package_source-code.sh to have OPENWHISK_CLEANED_SOURCE_DIR created, but may change the order later.

Thanks @houshengbo . This PR is ready for review and merge. Please help.

@daisy-ycguo Please rebase it.

@houshengbo Changed and rebased. Please review again.


C# unsafe code

Allow for c# unsafe code to be compiled if possible? thank you

I'm not sure if this is possible? CompileBot uses ideone for actually executing the code so it supports what they support. Let me know if there's a misunderstanding.


Upload logs directly via network

This feature is supported with latest instrumentation.
By selecting the "floating menu" option when instrumenting in the Appetizer Desktop software, the instrumented APK will show an Appetizer menu which allows to uploads log for analysis with one click.


ISSUE-597: Kafka component bundle changes for UI when running in secu…

…red mode
Change-Id: I18b288291538012fc749417b41459a0b297e7255

@shahsank3t I have added _required to the hint for security related fields. For SASL(prefix is security_kerberos) _required are mandatory fields. For SSL(prefix is security_ssl) _required are mandatory fields. I have also made securityProtocol a mandatory field. Let me know if you need any more changes. If not and if they look good you can merge them in to master or let me know and I will merge.

+1 looks good.
@priyank5485 you can merge this in.

+1, squashed and merged the commits.

@shahsank3t merged into master, you can pull latest master and get these changes.

@priyank5485 Sorry to push the merged commits into repo master instead of your repo/branch. You can close this PR.

@satishd FYI: You can add Closes #NUM to a squashed commit to close relevant issue/PR.

@satishd No worries. Closing this now.


(PDB-1359) support POST on all endpoints

This refactors our http namespaces and tests to work with POST, and moves most of our query namespace testing into the http test namespace (that's PDB-1714)

more cleanup/docs coming shortly, just want to get tests running on this

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1887/

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1888/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1894/

@pljenkinsro retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1893/

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1895/

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/2/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-stable/1/
Test FAILed.

just noticed this is using set comparison in a few places where it's testing order by. correcting that now.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/7/
Test PASSed.

Looks like this needs a rebase

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/22/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/25/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/26/
Test PASSed.

Ok, mostly just small comments. :+1: after we deal with them or decide not to. I didn't look at the tests though, since approximately every test changed.

ok, I'm :+1: then

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/39/
Test PASSed.


Fixes drupal_id not being saved on user register

What's this PR do?
The drupal_id wasn't getting saved on a register because the response needed to be json decoded first. This PR fixes that and also handles the case where a Northstar register fails because the user already exists on Drupal. In that case we send an authenticated request to get the user UID based on the user's email and then save that to the user's Northstar document.
Discussion

We can't create a Drupal user without an email address. Previously on Drupal, we would just create a dummy one by appending @mobile ... is that what we do again? Is there a smarter solution we can implement now that we've got Northstar?
Data in the GET params, like create_drupal_user are also getting added to the user doc. Can we make that not happen?

cc: @angaither @DFurnes

One comment on setting query string, but otherwise :+1: :+1:!

It could be possible to create a Drupal user without an email address.. there is a contrib module called Optional mail which alters the User registration form: http://cgit.drupalcode.org/optional_mail/tree/optional_mail_on_register.module?id=8942b67 although I haven't downloaded and tested to verify it actually doesn't populate the mail field.
A big reason to require email is to provide users with the ability to reset their passwords... has there ever been discussion to move this functionality out of Drupal and into Northstar ?

We can't create a Drupal user without an email address. Previously on Drupal, we would just create a dummy one by appending @mobile ... is that what we do again? Is there a smarter solution we can implement now that we've got Northstar?

That makes sense to me... maybe<EMAIL_ADDRESS>
Data in the GET params, like create_drupal_user are also getting added to the user doc. Can we make that not happen?

We should switch to using $fillable to whitelist these. Right now, we're just blindly adding anything that's passed directly to the user object which could cause trouble.

@aaronschachter Yeah, that sounds smart to me. I think perhaps Northstar handles reset requests & keys, and something in Message Broker to handle actually sending the emails?

Data in the GET params, like create_drupal_user are also getting added to the user doc. Can we make that not happen?

@jonuy @DFurnes yersssh, we need to change this to mass assignment instead of the for loop

@angaither @DFurnes Changed to mass assignment and moved the 'interests' transform logic into a model mutator. Also set the query param in the client->get param.
@aaronschachter I haven't heard about any recent password reset talks, but given that message broker and Northstar are becoming more mature, going in a direction that uses those two alone makes sense. In the meantime, trying out the contrib module could be a good idea we float to maybe Drewish to look into?

so into this :+1: :+1: :+1: :+1: :+1: :+1:

@jonuy Could make sense. The real need is just to save Users without email right? The contrib module will just make the field unmandatory on registration -- which is what we don't want, but we could pull the module down to and test to see whether or not it actually saves Users in the DB with a NULL email field.. (I can't tell from looking at the code)


Allow UI layout and configuration to be permalinkable

A couple of things to consider:

Currently, Girder's Backbone routing is still enabled - going to http://some-minerva-url#plugins will yield Girder's plugin listing.
What is the maximum length of permalinks?
If we (and any plugins) want to store attributes in the URL we should probably keep this mind. I don't think it will be a huge deal, though keep in mind certain configurations of the Taxi app have nearly 500 characters.

@manthey has another solution that saves the app state to MongoDB and puts the ID for that state in the URL instead of enumerating all options in the URL directly. He has used this in another XDATA application. This may be a better general solution to this problem.


SHA1 in MyBasic

Is it possible to write SHA1 hashing algorithm purely in MyBasic  (without any modifications) or there are some limitations?
As for the reference:
SHA1 in QBASIC: https://www.tapatalk.com/groups/qbasic/sha-1-in-qbasic-t34573.html
SHA1 Pseudocode: https://en.wikipedia.org/wiki/SHA-1#Examples_and_pseudocode

I think it is possible. MY-BASIC doesn't have built-in bitwise operations, but it's doable by combining existing ones.


Visual Studio UI lag in Macos VMware

I'm trying to run Visual Studio on Macos VMware, but after booting, the following picture appears

For your information: the specifications of my device are somewhat high, and I downloaded Android and it worked normally

Can you check if the issue repros with our insiders version https://code.visualstudio.com/insiders, thanks!

@deepak1556 Thank you, the problem has been resolved with the attached version


Free horizontal scrolling with mousewheel

Hey,
I d like to see implemented the possibility to scroll horizontally when the mousewheel is triggered. A bit lile the <a href="http://www.owlcarousel.owlgraphic.com/demos/mousewheel.html"">demo page with mousewheel but without bounding the event to owl.trigger('next.owl') or owl.trigger('prev.owl').
I kind of hacked my way through the plugin (see issue 1107) but it s more a hack than a fix.

Alright, I m on the way to fix this. Here s my process.
First create a new triggerable event. Let s add on the  functionOwl.prototype.addTriggerableEvents line 1458:
'scroll': this.scroll,

Then let s create our public function called Owl.prototype.scroll line  1312 for instance:
	Owl.prototype.seb = function(deltaY) { //deltaY is the vertical scroll retrieved from mousewheel.js

		var closest;

		transform = window.getComputedStyle(this.$stage.get(0), null).getPropertyValue(this.vendorName + 'transform');
		transform = transform.replace(/matrix(3d)?\(|\)/g, '').split(',');
		transform[4]=transform[4]-(deltaY*2);
// i didnt make it cross browser proof yet. The deltaY*2 should vary from browser to browser.

		this.$stage.css({
			transform: 'translate3d('+transform[4]+'px,0px, 0px)',
			transition: '0,1s'
		});
// Make the scroll

		closest = this.closest(this.$stage.position().left);
		this.current(closest);
		this.update();
// update the current slide so the navigation works


Added stock and weight to product page, fixed profile/logout button o…

…n navbar, changed white text to black

I cannot resolve the conflict even though I already removed the file change. Whenever you are ready, huddle me, I will help you to resolve this conflict.


[Sandbox] Logging Operator

Application contact emails
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Project Summary
The Logging Operator streamlines the deployment and configuration of a Kubernetes logging pipeline.
Project Description
The Logging Operator orchestrates the deployment and management of log collectors and forwarders in a Kubernetes cluster, offering a Kubernetes-native configuration layer for filtering, enriching, and routing log messages. It provides a comprehensive selection of output options, including Elasticsearch, various object stores, and a diverse range of Software-as-a-Service (SaaS) log storage and analytics solutions.
This project empowers platform engineers with the ability to install and oversee the components of the logging infrastructure, as well as manage the configuration of logging at the cluster level. Additionally, it provides application developers with the autonomy to establish namespace-specific configurations that are tailored to their applications.
Org repo URL
https://github.com/kube-logging
Project repo URL
https://github.com/kube-logging/logging-operator
Additional repos
https://github.com/kube-logging/fluentd-images
https://github.com/kube-logging/helm-charts
https://github.com/kube-logging/fluentd-drain-watch
https://github.com/kube-logging/syslogng-reload-image
https://github.com/kube-logging/log-generator
https://github.com/kube-logging/node-exporter-image
https://github.com/kube-logging/custom-runner
https://github.com/kube-logging/config-reloader
https://github.com/kube-logging/syslog_ng_exporter
https://github.com/kube-logging/fluent-plugin-label-router
https://github.com/kube-logging/fluent-plugin-tag-normaliser
https://github.com/kube-logging/eventrouter
Website URL
https://kube-logging.dev
Roadmap
https://github.com/orgs/kube-logging/projects/4
Roadmap context
No response
Contributing Guide
https://github.com/kube-logging/.github/blob/main/CONTRIBUTING.md
Code of Conduct (CoC)
https://github.com/kube-logging/.github/blob/main/CODE_OF_CONDUCT.md
Adopters
https://github.com/kube-logging/logging-operator/blob/master/ADOPTERS.md
Contributing or Sponsoring Org
https://opensource.cisco.com
Maintainers file
https://github.com/kube-logging/logging-operator/blob/master/MAINTAINERS.md
IP Policy

[X] If the project is accepted, I agree the project will follow the CNCF IP Policy

Trademark and accounts

[X] If the project is accepted, I agree to donate all project trademarks and accounts to the CNCF

Why CNCF?
The CNCF hosts a vibrant and diverse community of developers and organizations. Contributing to this ecosystem allows the Logging Operator project to attract more contributors, leading to better and faster improvements. Furthermore, the CNCF is able to provide a vendor neutral home for the project, allowing for collaboration among various vendors, fostering the creation of a solution that delivers collective benefits to all stakeholders within the ecosystem.
Benefit to the Landscape
As a well-developed and vendor-neutral solution, the Logging Operator stands as a distinctive project, benefiting both cloud-native consumers and vendors alike. It facilitates consumers by empowering them to deploy and manage their logging pipelines universally across diverse environments. Simultaneously, it enables vendors to offer their integrations, thereby granting consumers the flexibility to forward their logs seamlessly.
Cloud Native 'Fit'
The Logging Operator best fits in under the Logging section in the Observability area of the landscape.
Cloud Native 'Integration'
The project installs, configures and manages Fluentbit and Fluentd.
Integration with OpenTelemetry is in progress.
Cloud Native Overlap
There is no strong overlap with existing solutions that are as robust and mature as the Logging Operator. Potential future overlap could emerge with the stabilization of OpenTelemetry's logging component, but we view this as an opportunity for integration rather than a direct competition. We believe the Logging Operator's proven track record and maturity provide it with a distinct advantage.
Similar projects
https://github.com/fluent/fluent-operator
https://github.com/vmware/kube-fluentd-operator
https://github.com/OT-CONTAINER-KIT/logging-operator
Product or Service to Project separation
N/A
Project presentations
Show Me Your Labels and I’ll Tell You Who You Are - Kubecon EU 2022
https://www.youtube.com/watch?v=TWf1ho0XMyM
Logging Operator the Cloud Native Fluent Ecosystem - Fluentcon 2021
https://www.youtube.com/watch?v=uWc7FgoBL60
Bring Your Own Bytecode to the Logging Party - WASM days 2022
https://www.youtube.com/watch?v=yfWaY6lyRtY
Logging on Kubernetes the Easy Way
https://vday.hu/slides/14h00_nagy_Guba_Sandor.pdf
Third party posts:
BanzaiCloud Logging Operator in Kubernetes Simplified in 5 minutes.
https://alexandre-vazquez.com/banzaicloud-logging-operator/
Kubernetes Logging with Banzai Logging Operator
https://yitaek.medium.com/kubernetes-logging-with-banzai-logging-operator-9d27c35abcb4
Project champions
@justaugustus
@detiber
@sagikazarmark
@pepov
@tarokkk
@ahma
Additional information
No response

@sagikazarmark  it would be great if you could present Logging Operator at a TAG Observability meeting before the next sandbox vote on Sept 12.
@alolita @halcyondude

@nikhita sure thing!
@alolita @halcyondude can you help me find the right meeting for us to present the project?

@alolita @halcyondude can you help me find an appointment before Sept 12? Where should I reach out to TAG Observability?

Hi @sagikazarmark The next TAG Observability meeting is on Sep 5 2023 (first Tuesday of each month) and the next meeting is on Sep 19 2023. Please join in for the Sep 5 2023 meeting to present on the Logging Operator. Please share details about what you plan to cover in the presentation. Typically our meeting is 45 minutes long so I recommend a 25 minute presentation with some time for Q&A.

Thank you @alolita!
@tarokkk will share some details about the presentation.
25 minutes should be ample time to present the Logging Operator and Q&A in my opinion.

Awesome. @tarokkk please share an abstract when you can before Sep 5.

Hi @alolita!
Thanks for the opportunity! I prepared a short abstract If you need a more detailed version, please notify me!
Logging Operator Sandbox Application
The presentation will cover three key points:

Brief history of the Logging operator
Just a quick review of why and how it started, and what problems the project aimed to solve.
Simple example walkthrough
Learn by example. It’s easier to show what the Logging operator does and how. A simple example of abstracting away the complexity of logging pipelines.
Vision and Roadmap
There are several plans to make the Logging operator a go-to solution when it comes to Kubernetes logging. I’ll talk about the current features under development and possible future steps.

Thanks! Look forward to your joining in today for the presentation.

Link to TAG-Observability meeting notes:
https://docs.google.com/document/d/1_QoF-njScSuGFI3Ge5zu-G8SbL6scQ8AzT1hq57bRoQ/edit#heading=h.xb41lzm5je40

/check-vote

Thank you @Cmierly ! I'll review the checklist and reply on the new issue.


Logging skips lines

This code:
for (int i = 0; i < 500; i++) {
    Log.Info(i);
}

Prints:
INFO: 0
INFO: 1
INFO: 2
INFO: 3
INFO: 4
INFO: 499

Adding a short 1ms sleep fixes the logging:
for (int i = 0; i < 500; i++) {
    Thread.Sleep(1);
    Log.Info(i);
}

Not sure if the fault is with Beef IDE, or Pile

Yea that's a on me. Printing to the IDE console uses OutputDebugString behind the scenes, which isn't quite the fastest. so, to make some light logging less noticable i have some internal buffer for things to output, and pile has another thread in DEBUG to empty that into OutputDebugString and sleep 1ms, with buffer overflows overriding the last entry... So now it just flushes the buffer on the main thread in this event and nothing should get lost anymore.


Hopeful template fix

synced local file(s) with worgarside/github-config-files.

This PR was created automatically by the repo-file-sync-action workflow run #8253040778

This PR is empty, closing it. :no_good:


Would you like to release the checkpoints of the genie or llama3 models?

Hi @kev-zhao,
Would you like to release the checkpoints of the genie or llama3 models? Then we can quicklot start from finetuning your models of simply move weights of some layers from your models to ours.
Best,
StarCycle

Hi StarCycle,
I realize this was not explicitly stated this in the README, but the User column on the current leaderboard corresponds to the HuggingFace model name. The README has example code to load and run these two checkpoints.
We will likely update the README to make this clearer in the future!

I see. Thank you for your response!


URL is changed on shortening resulting in 404

Took me a while to notice this.
I shortened this URL:
http://linksredirect.com?pub_id=28CL11&url=https://paytm.com/dth
Yourls backend turned it into:
http://linksredirect.com?pub_id=28cl11&url=https://paytm.com/dth
Which gives 404.
If I try to edit the short link and change the link, the system does not accept it and throws an error.
Error updating http://linksredirect.com?pub_id=28cl11&url=https://payt[...] (Short URL: thJQAcsgVi)
I checked on this public demo:
https://www.softaculous.com/demos/YOURLS
And was able to replicate the bug.

https://github.com/YOURLS/YOURLS/issues/1651#issuecomment-38028564 does not appear to fix this issue.

Have you tested this on the latest dev version?

Just installed it. And same problem.
http://linksredirect.com?pub_id=28CL11&url=https://paytm.com/dth
was turned into
http://linksredirect.com/?pub_id=28cl11&url=https://paytm.com/dth

Thanks for your feedback!

Related: #1889 #1890 #1894

Hello. Wanted to add something to this post.
http://linksredirect.com?pub_id=28CL11&url=paytm.com works fine. but a link with extra attributes does not.
Trying to shorten this URL:
http://linksredirect.com?pub_id=28CL11&url=paytm.com/?utm_source=email&utm_medium=bb&utm_campaign=eoss_bb_bkp_26_07&utm_term=primary
Breaks it.

I tried it again and it seems to work fine now.

Maybe some cached behavior :smile:.
Anyway, thanks for the details! :clap:


can we use configure to be an intermediate to our organization CA ( we use AD ad CA ) ?

Hello guys! this is a valid case. How to configure Cert-manager operator with CA bundle certificate
already the configmap with label (config.openshift.io/inject-trusted-cabundle: true) is created.
What's next ?
Is it ok to mutate the Pod/deployment with volumeMounts ?!

/lifecycle urgent

lifecycle /stale

/remove-lifecycle stale

@abdennour Are you looking for ways to inject the Azure CA certificate onto pods of different workloads that are being run (so workloads can trust that relevant certificates came from a trusted source)
(or)
you are looking for steps to create an Issuer of type CA that has the ability to create new certificates out of the said CA certificate?


inputmgr: dont double free on hotplug

since we are also unrefing the state on hotplugging the keyboard set the state to nullptr so the destructor if case actually catches its been already freed.
Describe your PR, what does it fix/add?
#5852 got merged so fast it didnt feel right, im on a laptop so had to dig through the closet for an old logitech usb keyboard and lo and behold there was a missing nullptr here, without it double free occurs.

got merged so fast it didnt feel right

hyprland


remove the AppID if not exist, fix the notification for windows 8.1

hello, I needed to make these changes to work on windows 8.1, it make any sense ?

hey @teliz.
I ran into the same issue.
what is happening is that the prop appID is being passed as a empty string ' '``to the SnoreToast.exe``. I think this prop should be optional

+1
I am using version 5.1.2 on Windows 8.1. I was trying to set my own appID (I install my app using electron builder, setting the appId in the build settings to the same value), but it was being replaced with an empty string.
After seeing this I realized one workaround would be to set appName instead of appID. This works. But it did cause very much frustration for several hours.

This is a tricky one, I tink. It needs to be thoroughly tested on Windows (also for first time use/clean environment), but for the moment I don't have easy access to Windows, so that is why I've delayed this, I'm sorry to say. But if anyone could test it for different use cases I'll be happy to merge a fix.


The log CAN NOT display the time correctly in the LINUX with tracing_subscriber::fmt().with_timer(LocalTime::rfc_3339())

Bug Report
The log show < unknown time > INFO actix_server:: accept : accept thread stopped  in the Linux Centos7
relate issue link
Version ^0.3.0
Platform
Linux localhost.localdomain 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Crates
[dependencies]
actix-web = "4.4.0"
sea-orm = { version = "0.12.2", features = [ "sqlx-mysql", "runtime-tokio-rustls", "macros", "mock" ] }
log = "0.4.20"
futures = "0.3.28"
sea-orm-migration = "0.12.2"
serde_json = "1.0.64"
serde_urlencoded = "0.7.0"
serde = { version = "1.0.64", features = ["derive"] }
chrono = "0.4.28"
uuid = { version = "1.4.1", features = ["serde", "v4"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "local-time"] }
async-graphql = "6.0.5"
async-graphql-actix-web = "6.0.5"
error-chain = "0.12.4"
rand = "0.8.5"
structopt = "0.3"
once_cell = "1"
regex = "1.9"
config = "0.13"

Description
in the WINDOW11 is correct， BUT THE LOG IN THE LINUX IS ERROR, THE LOGS as BELOW：
2023-09-10T17:26:29.69398601+08:00
< unknown time >
when server start， the log can display correct time info，but after that， the time info change to < unknown time >
THE problem AT THE BEGINNING OF THE EACH LINE
2023-09-10T17:26:29.69398601+08:00  INFO actix_server::builder: starting 2 workers
2023-09-10T17:26:29.69435411+08:00  INFO actix_server::server: Actix runtime found; starting in Actix runtime
< unknown time >  INFO sqlx::query: summary="SET sql_mode=(SELECT CONCAT(@@sql_mode, ',PIPES_AS_CONCAT,NO_ENGINE_SUBSTITUTION')),time_zone='+00:00',NAMES …" db.statement="\n\nSET\n  sql_mode =(\n    SELECT\n      CONCAT(\n        @ @sql_mode,\n        ',PIPES_AS_CONCAT,NO_ENGINE_SUBSTITUTION'\n      )\n  ),\n  time_zone = '+00:00',\n  NAMES utf8mb4 COLLATE utf8mb4_unicode_ci;\n" rows_affected=0 rows_returned=0 elapsed=1.5326ms
< unknown time >  INFO actix_server::server: SIGINT received; starting forced shutdown
< unknown time >  INFO actix_server::accept: accept thread stopped
< unknown time >  INFO actix_server::worker: shutting down idle worker
< unknown time >  INFO actix_server::worker: shutting down idle worker

Code
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "local-time"] }

std::env::set_var("RUST_LOG", "DEBUG");
tracing_subscriber::fmt::time::LocalTime::rfc_3339();
tracing_subscriber::fmt()
        .with_timer(LocalTime::rfc_3339())
        .init();

Is your async runtime multi-threaded? If so, calls to OffsetDateTime::now_local will fail on Linux to avoid UB.

Is your async runtime multi-threaded? If so, calls to OffsetDateTime::now_local will fail on Linux to avoid UB.

Hello again. How Can i sovle this problom
the trait boundOffsetDateTime: FormatTimeis not satisfied the following other types implement traitFormatTime:   LocalTime<F>   UtcTime<F>   OffsetTime<F>   tracing_subscriber::fmt::time::SystemTime   Uptime   &'a F   for<'a, 'b> fn(&'a mut Writer<'b>) -> std::result::Result<(), std::fmt::Error>   () required for tracing_subscriber::fmt::format::Format<Compact, OffsetDateTime>to implementFormatEvent<Registry, DefaultFields>rustc[Click for full compiler diagnostic](rust-analyzer-diagnostics-view:/diagnostic%20message%20%5B0%5D?0#file%3A%2F%2F%2Fd%253A%2Frx_wp%2Frx-cloud-backend%2Fsrc%2Futils%2Flog_util.rs)
// Configure a custom event formatter     let format = fmt::format()         .with_level(true) // don't include levels in formatted output         .with_target(true) // don't include targets         .with_thread_ids(true) // include the thread ID of the current thread         .with_timer(LocalTime::rfc_3339())         .with_timer::<time::OffsetDateTime>(time::OffsetDateTime::now_local().expect("could not get local offset!"))         .with_thread_names(true) // include the name of the current thread         .compact(); // use theCompact` formatting style.
// Create a `fmt` subscriber that uses our custom event format, and set it
// as the default.
tracing_subscriber::fmt().event_format(format).init();

`

Closing per my previous comment. If this is not the case, please state so.


Edge Support?

Edge is not listed in the BrowserType enumeration (https://github.com/dpiessens/specbind/blob/master/src/SpecBind/BrowserSupport/BrowserType.cs). It looks like the is a specific Selenium driver for Edge (https://msdn.microsoft.com/en-us/library/mt188085(v=vs.85).aspx).
Does SpecBind currently support Edge? I honestly haven't tried, but looking through the code, I would guess that it doesn't.
Would the steps to adding Edge support be:

Add Edge to the BrowserType enum
Add an Edge case to the CodedUIBrowserFactory (just setting browserKey to "edge"?)
Add a DownloadEdgeDriver function to SeleniumBrowserFactory, along with an Edge case in CreateWebDriver
?

(Plus all of the testing required, of course.)

I think you're correct with all of that, we would also need to check if there's a new enum in MSTest for Edge as well.


Query for liberty-maven-plugin: deploy goal for remote deployment

We wish to use the liberty-maven-plugin: deploy to automate the deployment of the web application(WAR) to WAS liberty server from Jenkins using the maven pom.xml.
Working: We are able use the plugin to deploy to a local WAS liberty server, with configurations for serverHome and serverName.
Not clear: However, we wish to deploy the web application(WAR) to a remote WAS liberty server with a username/password.
I tried to search through the documentation at https://github.com/WASdev/ci.maven/blob/master/docs/deploy.md#deploy, but could not locate configuration parameters for deployment of web application(WAR) to WAS liberty service using URL & user/password for the server.
Can you please suggest how we could achieve this, an example would help.
Thank You.
Gaurav Giri

There is an issue and related PR in ci.ant that would be useful for this.
https://github.com/WASdev/ci.ant/pull/23
https://github.com/WASdev/ci.ant/issues/8

Duplicate of #16


Observing 401 unauthorized error, as default operation-key of MWDIv1.1.3 differs from other applications operation-key

Currently MWDIv1.1.3 is deployed with new operation-key: "n.a." but other applications which are dependent with MWDI uses default operation-key : "Operation key not yet provided."
Because of this difference in operation-key, all other applications API requests towards MWDI is getting failed with 401 unauthorized.
Kindly suggest, whether MWDI have to use old operation-key or other dependent applications have to use new operation-key:”n.a.” to access MWDI APIs.

intermediate solution: change the CONFIGfile in use, just CTRL+h “n.a.” by “Operation key not yet provided.”
with #862 a permanent solution will be applied

Tested okay with test_v1.1.4.
Load.json reflects the op-key as 'operation ket not yet provided."


🐛[Bug]: Sign up page First name Validation

🐞 Bug Report
📋 Description
The "First  Name" field in the Signup page should only accept alphabetical letters (a-z, A-Z). Currently, the field allows users to input symbols and special characters, which may lead to invalid or spam submissions.
⚙ Steps to Reproduce
Steps to reproduce the behavior:

Go to the signup page.
Type numbers and symbols in the First Name field.
See there is no error.

✔ Expected Behavior
The " First Name" field should only accept alphabetical letters (a-z, A-Z).
❌ Actual Behavior
Currently, the field allows users to input symbols and special characters, which may lead to invalid or spam submissions.
📷 Screenshots

🖥 Environment (if applicable):

OS: Windows 10
Browser: Chrome
Version: Version 129.0.6668.101 (Official Build) (64-bit)

Please assign me this issue.

Please assign me this issue.

can you do issue #263 along with this one.

Please assign me this issue.

can you do issue #263 along with this one.

sure


Update language bindings to avoid py-tree-sitter "removed in v0.22.0" (next version!) warning

Hello,
First - I love that you are providing a treesitter grammar for Pascal and Delphi. Thankyou.
Using it from Python, I found I needed to use the build from source setup, ie cloning and then using Language.build_library to use my system's inbuilt C compiler to build the dynamic library.
The py-tree-sitter project warns that treesitter libraries need to update their bindings, and that this method won't be available in 0.22 -- which is the next version!
Would it be possible to update the bindings to suit the upcoming API change please?
(It's possible you don't support Python -- this is a treesitter grammar repo, not a Python repo :)  I can have a go myself if so. I have zero idea what's involved in updating to match the new requirement. Figured it's worth filing an issue and asking here first!)

Hi,
thanks for informing me of this. I did not know I also had to ship the stuff in bindings/. Can you try this #4 branch? Does that fix it?

Thankyou! I am not quite sure how to best test it. Usually this would be a Python package, but working around it by putting it in a folder, I have code like:
import treesitterpascal.bindings.python.tree_sitter_pascal as pascal
from tree_sitter import Language, Parser

PASCAL_LANGUAGE = Language(pascal.language(), "pascal")

and that gives,
ModuleNotFoundError: No module named 'treesitterpascal.bindings.python.tree_sitter_pascal._binding'
I see the init.py file is referring to ".binding", but I don't see where that's defined. Nor, I'm afraid, do I know enough about Python packages to quite understand the structure. I do see init.pyi (with a I in the extension) has a language defined.
When I look at the Python treesitter bindings for Python, I see an extra folder: https://github.com/tree-sitter/tree-sitter-python/blob/master/bindings/python/build/lib/tree_sitter_python/init.py

Unfortunately I don't know much about Python, either. I found a comment that says you can install a package with pip from a URL. I don't know if it's possible to specify a branch, but perhaps it also works with a local path?
I don't see any bindings/python/build directory in my local folder. Even after re-running tree-sitter generate and tree-sitter build it is not being generated.

I don't know if it's possible to specify a branch, but perhaps it also works with a local path?

pip install git+https://github.com/Isopod/tree-sitter-pascal@language-bindings

I don't see any bindings/python/build directory in my local folder.

That directory should not be there.

I have not succeeded in getting this to work yet, but as noted I'm not an expert here. Mostly commenting just to let you know I have not forgotten the issue, and have continued to spend a some time here and there testing it.

@Isopod Would it be possible to email you about something related to this repo, please? I can't find contact details for you on the repo. If you email me, my email address is my username at gmail.com.
Thankyou!
(Please write here when you've emailed because I get a hundred or more emails a day to that address and either miss some or spam filters get some :()


store all variables in UserSettings.ini

gOpenProcess, gGetAddress, and ScriptSpeed are configurable variables that aren't stored in UserSettings.ini
Let's put them there, even if there's no GUI for them.

These changes seem to be part of the IC-Script-Hub-Public branch


Update cats-effect, cats-effect-testkit to 3.5.3 in main

About this PR
📦 Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-testkit

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

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

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

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

Superseded by #104.


Fix some warnings from Sonar

Fixing either:

Using a type wrapper unnecessarily.
Unnecessary type conversions.
Missing return types.

Also took some files out of .eslintignore which now pass cleanly.

Codecov Report

Merging #14837 (c158685) into main (850de71) will decrease coverage by 0%.
The diff coverage is 50%.

@@          Coverage Diff           @@
##            main   #14837   +/-   ##
======================================
- Coverage     65%      65%   -1%
======================================
  Files        550      550
  Lines      25939    25942    +3
  Branches    3676     3676
======================================
+ Hits       16887    16888    +1
- Misses      8359     8361    +2
  Partials     693      693

Impacted Files
Coverage Δ

src/client/application/diagnostics/base.ts
95% <0%> (ø)

src/client/application/diagnostics/types.ts
100% <ø> (ø)

src/client/common/installer/productPath.ts
25% <0%> (ø)

src/client/common/installer/types.ts
100% <ø> (ø)

src/client/common/startPage/themeFinder.ts
6% <0%> (-1%)
:arrow_down:

...sting/common/services/unitTestDiagnosticService.ts
96% <0%> (ø)

src/client/testing/common/testVisitors/visitor.ts
41% <0%> (ø)

src/client/language/textRangeCollection.ts
85% <50%> (ø)

...tors/services/workspaceVirtualEnvWatcherService.ts
75% <66%> (-1%)
:arrow_down:

src/client/common/utils/text.ts
69% <100%> (ø)

... and 2 more


Update package.json to match master branch

This PR intention is to have a final version of package.json file that does not diverge from changes made in master

Travis automatic deployment:
https://pr589--safereact.review.gnosisdev.com


Public key is still prefixed in the Interface Account card (it should not be)

This will get overwritten by export when merged since the AccountCard has been rewritten


Dealing with typos

I've tried to be the user that will do a typo during the workshop, so I want to report what happened just to be sure that you are aware.
Creating the quarkus-backend in the step 2, I've put the wrong namespace (something like iwantotesterrors) and the result has been that the component and the pipelines has been created in the iwantotesterrors namespace.
So after that (and I'm not so sure that this should be allowed), I've deleted my component and tried to recreate the component with the right namespace.
The process fails when tries to push the code to the repo because the repo already exists, with this message:
Failed to create the Organization repository Summit23DevRHEL/mcombi-backend, Repository creation failed.: {"resource":"Repository","code":"custom","field":"name","message":"name already exists on this account"}
So I asked Kevin to delete the repo and then tried to deploy the component again, but  the process fails again with a strange messagge as you can see attached.
Maybe it already exist, but It would be helpful o have a cleanup procedure.

related to #9

@mcombi Short term workaround is to create a new Project for your user in the openshift web console. Then you can use the new Project name wherever you need  in Template forms. Note that when using a project you create, owner/username does not change along with the project name/namespace, and they will no longer match.
Github repos are named with a namespace prefix, so you'll get new repos when you create from Templates. I've used this for user jxrht-gh2, who you can see in the catalog listing owns entities in two different "Systems"


Sway workspace, add class for focused output and focused workspace on all output

It would be nice to be able to style the focused workspace on the non focused output.
For example, I have 3 output/displays. On the right one, I have workspace 4 and 5. When I have my mouse on the right display and workspace 5 is visible, the .focused class is applied to workspace 5's button. But if I move my mouse to my center display, no workspace have the .focused class, and I do not know which workspace on my right display is currently displayed.
The ideal solution would be to add the state (focused) to the waybar and have a displayed (or visible) state.
To summarize:

Add #waybar.focused (or similar) for the focused output waybar styling (allowing to gray out non focused display/output).
Add button.displayed when the workspace of the button is displayed.

We could remove button.focused because #waybar.focused button.displayed would replaced it, but maybe keep it for backward compatibility? (and it would be #waybar.focused button.displayed.focused)

I like it.

You can use .visible

Thank you @JohnTheCoolingFan, this is exactly what I was looking for.
I used it in conjunction with .focused to achieve what I wanted, here my config:
#workspaces button.visible {
    border-top: 2px solid gray;
}

#workspaces button.focused {
    color: white;
    background: transparent;
    border-top: 2px solid white;
}

Is there a way to hide or style the unfocused bar? I'm using river. There is a
hide option.
Something like this:
window#waybar.notfocused #window {
 background:none;
}


Documentation for classes used for react components under /common and some small fixes

Added classes documentation for commonly used react components and also removed some id's left over from https://github.com/Grasscutters/Cultivation/pull/10 that I did not removed by accident.
Plus example index.json under THEMES.md now has customBackgroundFile key (how tf that got removed???)

I don't think you need to include :hover, other than that looks fine to me

true I added it just to be bit detailed but sure you can remove it before merge

I don't have it cloned on my dual boot can you pls do it then I will merge tyty

done


Replaced dependency pin-project with pin-project-lite

actix-web and tokio have no dependency on pin-project (using more lightweight version pin-project-lite). I suppose it would be good to support this appoach.

@xilec could you please take a look at the test failures? Thanks


Use UtcInstant objects for TLE epochs

The epochs for TLE and LatestTLE use UTC-SLS instants. Can that be changed to the more accurate UctInstant?

TLEs store epochs using a fractional day, so there is no way to put 86401 seconds in there. I think is is safe to say there is no obvious solution how to handle this.
A search of SpaceTrack showed there are no TLEs with an epoch on a leap second, at least back to 1995. So it is possible the JSpOC doesn't do that as a matter of procedure. If the following link is correct, they may just fudge it if an epoch ever occurs on a leap second.
https://space.stackexchange.com/a/13826


EasyCLA v1 - Audit Report - Signatures

Summary
Build a tool that generates an audit report of the EasyCLA v1 signatures.
Background
We need a tool that inspects the signature data stored in EasyCLA.  Since the database has undergone several data migrations, manual updates from admins, and numerous bug fixes, we want to identify any data integrity issue. This tool will evaluate each field in the database associated with the signature records.  The tool will highlight errors associated with any field for each record in the database.  Examples include signature_reference_id values that do not match a company or person or a signature_company_id that does not match a company record.  This report will generate an output file in the form of a CSV suitable for review in a spreadsheet.
User Story
As a product owner and developer, I want to see a report of signature records that include invalid data.
Tasks

[x] Generate a command-line tool in python that evaluates signature records.
[x] Allows the user to specify the AWS credentials profile name
[x] Allows the user to specify output report filename
[ ] Report any issues outlined below in a format which allow an admin to verify/validate the issue:
- include the signature id
- include the type of error
- include the invalidate field/column and invalid data
[x] Identify signature records with invalid signature_reference_id.  All signature records must include this column and resolve it to a valid user record or company record.
[x] Identify signature records with invalid signature_company_id, when set
[x] Ensure that all records include a signature_reference_type field and have a value of either user or company.  No other values are allowed.
[x] Ensure that all records include a signature_type field and have a value of either cla or ccla. No other values are allowed.
[x] Ensure that Signature Employee records which are signature_reference_type that equal user and signature_type that equal cla include a signature_user_ccla_company_id which resolves to a valid company record.
[x] Ensure that CCLA signature records which are signature_reference_type that equal company and signature_type that equal ccla do NOT include signature_user_ccla_company_id column
[x] Ensure that ICLA signature records which are signature_reference_type that equal user and signature_type that equal cla do NOT include signature_user_ccla_company_id column.
[x] Ensure that all signature records include a signature_document_major_version column
[x] Ensure that all signature records include a version  column
[x] Ensure that all signature records include a signature_signed  column
[x] Ensure that all signature records include a signature_approved  column

Acceptance Criteria
Run the audit report and share the results of the report with the EasyCLA administrators.
References
Signature Record Truth Table:

| Type of Signature      | `signature_reference_type`| `signature_type` | `signature_reference_id` | `signature_user_ccla_company_id` |
|:-----------------------|:--------------------------|:-----------------|:-------------------------|:---------------------------------|
| ICLA (individual icon) | user                      | cla              | <user_id_value>          | null/empty                       |
| CCLA (employee icon)   | user                      | cla              | <user_id_value>          | <company_id_value>               |
| CCLA (company icon)    | company                   | ccla             | <company_id_value>       | null/empty                       |

@wanyaland I fixed write-up, changed signature_company_id to read signature_user_ccla_company_id in the Background section write-up.

@wanyaland I fixed write-up, changed signature_company_id to read signature_user_ccla_company_id in the Background section write-up.

@dealako Noted. I shall add that field in the validation checks