text:
aarch64 build for AWS Linux - Failed to load image Python extension

🐛 Describe the bug
Built Torch 2.1.2 and TorchVision 2.1.2 from source and running into the following problem:
/home/ec2-user/conda/envs/textgen/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: '/home/ec2-user/conda/envs/textgen/lib/python3.10/site-packages/torchvision/image.so: undefined symbol: _ZNK3c1017SymbolicShapeMeta18init_is_contiguousEv'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source?
previously the error was about missing libs and not undefined symbol, so I believe the libs are correctly installed now. Building says:
Compiling extensions with following flags:
   FORCE_CUDA: False
   FORCE_MPS: False
   DEBUG: False
   TORCHVISION_USE_PNG: True
   TORCHVISION_USE_JPEG: True
   TORCHVISION_USE_NVJPEG: True
   TORCHVISION_USE_FFMPEG: True
   TORCHVISION_USE_VIDEO_CODEC: True
   NVCC_FLAGS:
 Compiling with debug mode OFF
 Found PNG library
 Building torchvision with PNG image support
   libpng version: 1.6.37
   libpng include path: /home/ec2-user/conda/envs/textgen/include/libpng16
 Running build on conda-build: False
 Running build on conda: True
 Building torchvision with JPEG image support
   libjpeg include path: /home/ec2-user/conda/envs/textgen/include
   libjpeg lib path: /home/ec2-user/conda/envs/textgen/lib
 Building torchvision without NVJPEG image support
 Building torchvision with ffmpeg support
   ffmpeg version: b'ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\nbuilt with gcc 10.2.0 (crosstool-NG 1.22.0.1750_510dbc6_dirty)\nconfiguration: --prefix=/opt/conda/conda-bld/ffmpeg_1622823166193/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh --cc=/opt/conda/conda-bld/ffmpeg_1622823166193/_build_env/bin/aarch64-conda-linux-gnu-cc --disable-doc --enable-avresample --enable-gmp --enable-hardcoded-tables --enable-libfreetype --enable-libvpx --enable-pthreads --enable-libopus --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-static --enable-version3 --enable-zlib --enable-libmp3lame --disable-nonfree --enable-gpl --enable-gnutls --disable-openssl --enable-libopenh264 --enable-libx264\nlibavutil      56. 31.100 / 56. 31.100\nlibavcodec     58. 54.100 / 58. 54.100\nlibavformat    58. 29.100 / 58. 29.100\nlibavdevice    58.  8.100 / 58.  8.100\nlibavfilter     7. 57.100 /  7. 57.100\nlibavresample   4.  0.  0 /  4.  0.  0\nlibswscale      5.  5.100 /  5.  5.100\nlibswresample   3.  5.100 /  3.  5.100\nlibpostproc    55.  5.100 / 55.  5.100\n'
   ffmpeg include path: ['/home/ec2-user/conda/envs/textgen/include']
   ffmpeg library_dir: ['/home/ec2-user/conda/envs/textgen/lib']
 Building torchvision without video codec support

So I believe I do have things set up correctly to be able to do image calls (I don't care about video). Any idea why I would still be getting the undefined symbol warning? Thanks!
Versions
Collecting environment information...
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.2
ROCM used to build PyTorch: N/A
OS: Amazon Linux 2023.3.20240304 (aarch64)
GCC version: (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Clang version: Could not collect
CMake version: version 3.28.3
Libc version: glibc-2.34
Python version: 3.10.9 (main, Mar  8 2023, 10:41:45) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.1.79-99.164.amzn2023.aarch64-aarch64-with-glibc2.34
Is CUDA available: True
CUDA runtime version: 12.2.140
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA T4G
Nvidia driver version: 550.54.14
cuDNN version: Probably one of the following:
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_adv_infer.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_adv_train.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_cnn_infer.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_cnn_train.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_ops_infer.so.8.9.4
/usr/local/cuda-12.2/targets/sbsa-linux/lib/libcudnn_ops_train.so.8.9.4
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                       aarch64
CPU op-mode(s):                     32-bit, 64-bit
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          ARM
Model name:                         Neoverse-N1
Model:                              1
Thread(s) per core:                 1
Core(s) per socket:                 4
Socket(s):                          1
Stepping:                           r3p1
BogoMIPS:                           243.75
Flags:                              fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
L1d cache:                          256 KiB (4 instances)
L1i cache:                          256 KiB (4 instances)
L2 cache:                           4 MiB (4 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; CSV2, BHB
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.1.2+cu121
[pip3] torchaudio==2.1.2
[pip3] torchvision==0.16.2+cu121
[pip3] triton==2.1.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] torch                     2.1.2+cu121              pypi_0    pypi
[conda] torchaudio                2.1.2                    pypi_0    pypi
[conda] torchvision               0.16.2+cu121             pypi_0    pypi
[conda] triton                    2.1.0                    pypi_0    pypi

 [pip3] torchvision==0.16.2+cu121
 [conda] torchvision 0.16.2+cu121 pypi_0 pypi

Try uninstalling these versions first?

 [pip3] torchvision==0.16.2+cu121
 [conda] torchvision 0.16.2+cu121 pypi_0 pypi

Try uninstalling these versions first?

What would that accomplish? That's literally the package that I'm trying to use and that is throwing the error.

Built Torch 2.1.2 and TorchVision 2.1.2 from source

What version of torchvision are you building from source, exactly? There's no torchvision 2.x. The latest stable version is 0.17.
The fact that there already is a stable 0.16.2 version installed while you're trying to build from source is very likely to be causing some issues.

Built Torch 2.1.2 and TorchVision 2.1.2 from source

What version of torchvision are you building from source, exactly? There's no torchvision 2.x. The latest stable version is 0.17.
The fact that there already is a stable 0.16.2 version installed while you're trying to build from source is very likely to be causing some issues.

Updated original post, torchvision version was a typo.
I did finally get torchvision to build and be functional, but only by forcibly editing the build scripts to pull in my custom build of torch+cuda 2.1.2. The build scripts were importing a non-cuda build because there is no aarch64 torch+cuda out there for pip to pull down. So finally, after forcing my own torch+cuda 2.1.2 whl into the torchvision build, now my torchvision actually works.
I need to say - it's been PAINFUL dealing with building anything that relies on torch because all the build scripts pull down the non-cuda version and mess up the builds. Every time I want to build something relying on torch, now I need to hack in pulling my own torch whl instead for them to work (this also resolved issues I was having building a few other things).
I reaaaaaally hope official aarch64 torch+cuda builds start to be made available so I don't have to keep doing this hackjob.

The box is shut down but I believe it was pyproject.toml that I had to update to point directly at my torch whl and the command I used was "python setup.py bdist_wheel". I had the same outcomes with "pip install -v ." to directly install, though.

authors: NicolasHug elkay

repo: pytorch/vision


text:
Add S3 Bucket Dataset

Download data from S3 and handle categories like ImageFolder Dataset

I suppose the data format in S3 could be arbitrary? Like a zip with images, or a binary file, etc?
So there is no single S3 bucket dataset that would apply, right?
Instead, having a functionality that easily downloads from S3 might be the most generic approach, and I believe there are already libraries that do that.

I recommend using alluxio and fuse to mount s3 buckets locally.

This issue appears to be stale, so I'm closing it. If you think it should remain open, feel free to reopen it.

This issue appears to be stale, so I'm closing it. If you think it should remain open, feel free to reopen it.

source: gharchive/issue

authors: datumbox fmassa gm-spacagna rcourivaud

license_type: permissive

license_source: github-api


text:
TorchVision cocoapods package

Created Cocoapods package with libtorchvision_ops.a for iOS development.
Cocoapods is created with similar fashion to LibTorch.
Library is compiled using torch downloaded from LibTorch. (Provided build_podspec.sh to create archive)
Currently uploaded test version of package to Cocoapods trunk with name LibTorch_vision_ops.
Need to modify author and homepage on LibTorch_vision.ops.podspec file to main branch. (Currently on fork).
Once PR Is accepted, I will pull package from Cocoapods.

@husthyc can you have a look?

@elb3k Thanks for drafting this PR. We are planning to do the Cocoapod release in recent days which aligns with the main PyTorch 1.9.0 release day.
I think we cannot build the lib on a local machine and push to Cocoapod because if we do that, the debug symbols in the static lib will contain your personal machine's paths. Basically what we will do is we will trigger a job on the CI machine and upload the zip to AWS s3 bucket from there.
Can you hold this PR for some days and see if our official release works? Thanks.

@elb3k Thanks for drafting this PR. We are planning to do the Cocoapod release in recent days which aligns with the main PyTorch 1.9.0 release day.
I think we cannot build the lib on a local machine and push to Cocoapod because if we do that, the debug symbols in the static lib will contain your personal machine's paths. Basically what we will do is we will trigger a job on the CI machine and upload the zip to AWS s3 bucket from there.
Can you hold this PR for some days and see if our official release works? Thanks.

@husthyc Yes.

Hi,
Thanks a lot for the PR!
We have released a cocoapods package with the 0.10.0 release, and it has been merged in https://github.com/pytorch/vision/pull/4055
Thanks again for your help!

Hi,
Thanks a lot for the PR!
We have released a cocoapods package with the 0.10.0 release, and it has been merged in #4055
Thanks again for your help!

Hi, I am glad to hear that.

source: gharchive/pull-request

authors: elb3k fmassa husthyc


text:
When persist is passed to process_intake, persist dask array

Persist was already a valid argument - but was just being used to return a dask array. This PR makes it return a persisted array.

@philippjfr ok with you if I merge this?

Ok Philipp explained to me that it already worked. It just happened in a different spot than we were looking, so this PR isn't necessary.

repo: pyviz/hvplot


text:
DiscreteSlider does not respect margin

DiscreteSlider doesn't respect the margin attribute.
It also has a default that overlaps the left of the viewport, cutting off part of the widget.
import panel as pn
import datetime as dt

pn.extension()

pn.Column(
  pn.widgets.DateSlider(
    name='Date1',
    start=dt.datetime(2019, 1, 1),
    end=dt.datetime(2019, 6, 1),
    value=dt.datetime(2019, 2, 8),
    margin=(0, 0, 0, 0)
  ),
  pn.widgets.DateSlider(
    name='Date1',
    start=dt.datetime(2019, 1, 1),
    end=dt.datetime(2019, 6, 1),
    value=dt.datetime(2019, 2, 8),
    margin=(0, 0, 0, 100)
  ),
  pn.widgets.DiscreteSlider(
    name='Hour',
    options=['7:00', '10:00', '15:00', '17:00', '19:00'],
    value='7:00',
    margin=(0, 0, 0, 0)
  ),
  pn.widgets.DiscreteSlider(
    name='Hour',
    options=['7:00', '10:00', '15:00', '17:00', '19:00'],
    value='7:00',
    margin=(0, 0, 0, 100)
  ),
)

Python 3.7.3
Panel 0.6.2

Appears to be fixed.

authors: SteveAlexander philippjfr

repo: pyviz/panel


text:
Cannot get descendants() for the dialog (notepad.exe) + incorrect application menu name

Running the following code:
import pywinauto

app = pywinauto.Application(backend='uia').start_(r'notepad.exe')
dlg = app.UntitledNotepad

dlg.WrapperObject().descendants()

Output:
>>> dlg.WrapperObject().descendants()
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\OneDrive\python_students\pywinauto-64_github\pywinauto_fork\pywinauto\base_wrapper.py", line 384, in descendants
    desc_elements = self.element_info.descendants(proc_id=self.process_id())
  File "C:\OneDrive\python_students\pywinauto-64_github\pywinauto_fork\pywinauto\UIAElementInfo.py", line 250, in descendants
    cond = IUIA().build_condition(**kwargs)
TypeError: build_condition() got an unexpected keyword argument 'proc_id'

Also dlg.MenuBar.WrapperObject().element_info.name returns "System" instead of "Application".

BTW, dlg.WrapperObject().children()[-1].element_info.name returns "Application".

repo: pywinauto/pywinauto

license_source: bigquery


text:
chore: promote h52 to version 0.0.19

chore: promote h52 to version 0.0.19
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign q1323829945
You can assign the PR to them by writing /assign @q1323829945 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
🛑 nitter.projectsegfau.lt is down

In c1d9200, nitter.projectsegfau.lt (https://nitter.projectsegfau.lt) was down:

HTTP code: 503
Response time: 337 ms

Resolved: nitter.projectsegfau.lt is back up in fba99a4 after 16 minutes.

license: MIT


text:
🛑 nitter.hostux.net is down

In f005cbb, nitter.hostux.net (https://nitter.hostux.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nitter.hostux.net is back up in 0399c2c after 12 hours, 19 minutes.


text:
🛑 notabird.site is down

In 9ad8cce, notabird.site (https://notabird.site) was down:

HTTP code: 520
Response time: 77 ms

Resolved: notabird.site is back up in 68031ae.


text:
🛑 notabird.site is down

In ff950c0, notabird.site (https://notabird.site) was down:

HTTP code: 520
Response time: 81 ms

Resolved: notabird.site is back up in 9d1c6d8 after 11 minutes.


text:
🛑 nitter.projectsegfau.lt is down

In 05a6a47, nitter.projectsegfau.lt (https://nitter.projectsegfau.lt) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nitter.projectsegfau.lt is back up in 56c13e3 after 11 minutes.


text:
🛑 nitter.kling.gg is down

In 9185e4a, nitter.kling.gg (https://nitter.kling.gg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nitter.kling.gg is back up in 19a19ee after 10 minutes.


text:
Is there support relative formula update in duplicate row function

Hi,
I wonder to know the feature is supported currently?
In my imagine like below

C1 = A1+B1
call duplicate row 1
C2 = A2+B2

but in library actually

C1 = A1+B1
call duplicate row 1
C2 = A1+B1

I have try to find any documents but no answer in library.

Thanks for your issue. This library doesn't support this feature currently. I'll consider adding support for it later.

thank you sir~

same feature need,  thank you !

I write this utils funtion can support this feature
func parseFormula(formula string, sourceRowID, targetRowID int) (newFormula string) { 	reg := regexp.MustCompile(fmt.Sprintf("([A-Z]{1,2}%d)", sourceRowID)) 	cellSlice := reg.FindAllString(formula, -1) 	newFormula = formula 	for _, cell := range cellSlice { 		col, _, err := excelize.SplitCellName(cell) 		if err != nil { 			log.Fatalln(err) 		} 		targetCell, err := excelize.JoinCellName(col, targetRowID) 		if err != nil { 			log.Fatalln(err) 		} 		newFormula = strings.ReplaceAll(newFormula, cell, targetCell) 	} 	return }
call like this  parseFormula("A1 + B1", 1, 2)

Hi @bailantaotao, @ljyf5593, this library now support this feature, please upgrade to the master branch code, and this feature will be released in the next version.

authors: bailantaotao ljyf5593 xuri

repo: qax-os/excelize


text:
Memory usage while reading workbook with large amount of data (大文件内存占用的问题)

debian 12系统，excelize用的7.15号go get -u的版本，打开一个180M的xlsx（包200个sheet，其中2个sheet内容最多），设置比较大的UnzipXMLSizeLimit不解压到硬盘，在内存里处理，一开始内存占用近2G，逐渐增加到6G，持续一段时间后完成，耗时3分多钟。
主要代码如下：
xl, err := excelize.OpenFile(fn, excelize.Options {UnzipXMLSizeLimit: 1e18});
if err == nil {
    for _, sheetName := range xl.GetSheetList() {
        if rows, err2 := xl.Rows(sheetName); err2 == nil {
            for rows.Next() {
                if row, err3 := rows.Columns(); err3 == nil {
                    //proc
                }
            }
        }
    }
}

尝试用rust的calamine库比较了一下，一开始占用50M,逐渐增加到1.3G就是最高峰了，比wps占用还少点，处理时间也是3分多钟，和go差别不大。主要代码如下：
    let mut wb: Xlsx<_> = open_workbook(fn).unwrap();
    let sheets = wb.sheet_names().to_owned();
    for sheet_name in sheets {
        if let Some(Ok(r)) = wb.worksheet_range(&sheet_name) {
            let mut cnt = 0;
            for row in r.rows() {
                cnt += 1;
            }
            println!("fffff={:?}, cnt={:?}", sheet_name, cnt);
        }
    }

用wps office表格打开占用1.9G.
感觉excelize内存占用偏大，不知道有没有改进的空间

Thanks for your issue. Could you provide a reproducible demo and your input file attachment without confidential info? This issue was similar to #1096. Please decrease the value of UnzipXMLSizeLimit to avoid high memory usage.

发现用wps表格保存过的大文件也存在同样的问题。这是测试代码：
package main

import (
    "fmt"
    "flag"
    "time"
    "math/rand"
    "github.com/qax-os/excelize"
)

//go build t.go && ./t -gen               //生成一个测试文件/tmp/gen.xlsx
//./t -name=/tmp/gen.xlsx                 //读取上面生成的文件，内存占用正常。若用wps表格打开gen.xlsx再保存，文件体积增大，再进行读测试，内存占用就会剧增。

var (
    genXlsx = flag.Bool("gen", false, "genXlsx")
    name = flag.String("name", "", "filename")

    letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
)

//
func testRead(fn string) {
    if xl, err := excelize.OpenFile(fn, excelize.Options {UnzipXMLSizeLimit: 1e18}); err == nil {
        for _, sheetName := range xl.GetSheetList() {
            cnt := 0
            if rows, err2 := xl.Rows(sheetName); err2 == nil {
                for rows.Next() {
                    if _, err3 := rows.Columns(); err3 == nil {
                        cnt += 1
                    }
                }
            }
            fmt.Println(sheetName, cnt)
        }
    }
}

//
func GenXlsxTest(fn string) {
    rand.Seed(time.Now().UnixNano())
    xl := excelize.NewFile()
    for i := 0; i <= 22; i ++ {
        sheetname := fmt.Sprintf("测试表%v", i)
        xl.NewSheet(sheetname)

        streamWriter, _ := xl.NewStreamWriter(sheetname)
        header := []interface{} {"序号", "名", "名2", "cc", "ccci", "zzz", "ccb", "hjjj", "jfjfj"}
        cell, _ := excelize.CoordinatesToCellName(1, 1)
        streamWriter.SetRow(cell, header)

        num := 125
        switch i {
			case 3: num = 150000
            case 7: num = 450000
        }

        for rowi := 2; rowi <= num; rowi ++ {
            row := []interface{} {rowi-1, RandStr(5), RandStr(6), RandStr(7), RandStr(7), RandStr(7), RandStr(7), RandStr(8), RandStr(8), RandStr(8), RandStr(8), RandStr(9), RandStr(9), RandStr(9), RandStr(9), RandStr(10), RandStr(10), RandStr(10), RandStr(10)}
            cell, _ := excelize.CoordinatesToCellName(1, rowi)
            if err := streamWriter.SetRow(cell, row); err != nil {
                fmt.Println(rowi, err)
            }
        }
        if err := streamWriter.Flush(); err != nil {
            println(err)
        }
    }

    xl.SaveAs(fn)
    println("保存到", fn)
}

func RandStr(n int) string {
    b := make([]rune, n)
    for i := range b {
        b[i] = letterRunes[rand.Intn(len(letterRunes))]
    }
    return string(b)
}

func main() {
    flag.Parse()
    if *genXlsx {
        GenXlsxTest("/tmp/gen.xlsx")
    } else if *name != "" {
        testRead(*name)
    }
}

Thanks for your feedback. As the notice in the above reply, please decrease the value of UnzipXMLSizeLimit to avoid high memory usage. I have tested with following code with the workbook generated with your code. The RSS memory usage was about 254MB, so the performance was in expectation.
package main

import (
    "fmt"
    "runtime"
    "syscall"
    "time"

    "github.com/xuri/excelize/v2"
)

func main() {
    runtime.GC()
    startTime := time.Now()
    f, err := excelize.OpenFile("gen.xlsx")
    if err != nil {
        fmt.Println(err)
        return
    }
    defer func() {
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    for _, sheetName := range f.GetSheetList() {
        cnt := 0
        if rows, err2 := f.Rows(sheetName); err2 == nil {
            for rows.Next() {
                if _, err3 := rows.Columns(); err3 == nil {
                    cnt += 1
                }
            }
        }
        fmt.Println(sheetName, cnt)
    }
    printBenchmarkInfo("main", startTime)
}

func printBenchmarkInfo(fn string, startTime time.Time) {
    var memStats runtime.MemStats
    var rusage syscall.Rusage
    var bToMb = func(b uint64) uint64 {
        return b / 1024 / 1024
    }
    runtime.ReadMemStats(&memStats)
    syscall.Getrusage(syscall.RUSAGE_SELF, &rusage)
    fmt.Printf("Func: %s \tRSS = %v MB\tAlloc = %v MB\tTotalAlloc = %v MB\tSys = %v MB\tNumGC = %v \tCost = %s\n",
        fn, bToMb(uint64(rusage.Maxrss)), bToMb(memStats.Alloc), bToMb(memStats.TotalAlloc), bToMb(memStats.Sys), memStats.NumGC, time.Since(startTime))
}

Benchmark info:
Func: main      RSS = 254 MB    Alloc = 6 MB    TotalAlloc = 16921 MB   Sys = 273 MB    NumGC = 4383    Cost = 57.174368275s

需要用wps表格打开第一步生成的gen.xlsx，测试wps et保存后的文件，内存占用会增加很多。
UnzipXMLSizeLimit设得比较大，一方面是想测试不解压到硬盘的内存占用，另外我的系统/tmp是挂载到ram的，只分配了6G，如果解压到/tmp空间不够

Thanks for your feedback. The stream writer writes string cell value as an inline string (please also reference #1377), which storage cell value in the worksheet instead of SST (shared string table) for get better read performance with row iterator, but the workbook resaved after Kingsoft WPS, the cell value will be storage to the SST, so the library needs to parse SST internal parts of the workbook, that's will take more memory usage. The library can read, parse, and validate many internal workbook structures to get better capability, more sure the generated workbook is not corrupted, and more features and support, that will use more memory. I suggest decreasing the value of the UnzipXMLSizeLimit options for opening the workbook with the amount of data or increase your disk storage or memory resource to get better performance. I've closed this issue, and if you have any questions, please let me know and reopen this anytime.

authors: aswjh xuri


text:
ProtonVPN features filters

URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/protonvpn.md
What's missing?
I see in the docs (https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/protonvpn.md) that issue #1582 (https://github.com/qdm12/gluetun/issues/1582) adds support for filtering servers by feature. Can you let me know what the relevant environment variables should be set to in order to filter to P2P servers? FYI, I use Docker Compose.
Thanks!

Done in 52c9b2ecf52e413eb4552345d7cffb41e6606806


text:
PUBLICIP_PERIOD can't be disabled with 0

URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/fbc589e8034f177d577547ea9e7fecbec85263b9/setup/options/others.md?plain=1#L14
What's incorrect?
The docs state

Set to 0 to disable.

But setting it to 0 results in an error:
2024-10-14T21:33:04Z ERROR public ip check settings: public IP address check period is too short: 0s must be at least 5s

https://github.com/qdm12/gluetun-wiki/blob/fbc589e8034f177d577547ea9e7fecbec85263b9/setup/options/others.md?plain=1#L14

This is probably just something that needs to be updated in the docs.
Commit 03deb9a: feat(publicip): PUBLICIP_ENABLED replaces PUBLICIP_PERIOD
You should be able to achieve this by using PUBLICIP_ENABLED=no

authors: RogueOneEcho essinghigh


text:
Please help with AOT

Hey guys! Thank you @qdouble fir this great repo!
One question though - http://stackoverflow.com/questions/40450604/aot-function-calls-are-not-supported.
Could anyone help please? I don't get it what it wants from me...

Think it would be better for you to do a search of this issue on the Angular repo as this error is just a general AOT issue and not specific to this repo.

authors: alvipeo qdouble

license: mit


text:
tooltips字数过多时存在快速闪烁现象

当tooltips字数超过300时存在闪烁现象，超过500字符时闪烁的已经来不及看清tooltips上面显示的文字。

问题已经修复了

authors: qdtroy xdxiaodong


text:
Updated the SUSE / openSUSE

Repos older than 15.0 were removed. Also added other architectures available in the repos.

@dassau can you confirm (and pull) ?
@badarotti I'm totally not in the Suse infra, so cannot check this. Will pull anyway if nobody responds (next build of site will be tomorrow anyway)

authors: badarotti rduivenvoorde

repo: qgis/QGIS-Website


text:
闪退

这边没有什么异常日志，只知道闪退了，大概播放30分钟到一小时之后就会自行闪退
本来以为是卡了，但是滑到右下角的图标之后直接没了反而给我整不会了，在windows上好几次这样了
不过之前没反馈bug的时候还是0.4.1来着，同样的闪退问题
只不过我用了其他软件替代了所以就没来反馈
不久前看到了有更新就下载看看怎么样了，然后还是同样的闪退，就来看看这个能不能解决

就一个黄色提示，看起来没啥问题

日志其实我反倒不太会用，英语菜鸟啥都看不懂😢

打脸了，这次放了一小时也没问题，可能是我自身的网络波动或者其他原因吧，不过还是希望能加强一下软件


text:
Windows单文件程序版，点击右上角的X，每次都会弹出这个窗口，是不是可以增加个默认设置呢？默认关闭程序或者默认最小化？

这个我反馈过了

的确很烦

authors: China-Huanghe TotoWang-hhh


text:
would a filter-fasta method be appropriate in this plugin?

Improvement Description
It would be useful to replicate the functionality of qiime1's filter_fasta.py — e.g., see this forum post.
Comments
I am not sure whether this would be at home in q2-quality-filter, demux, or some other plugin that has yet to be created (q2-filter-everything-under-the-sun).
Whichever plugin would be appropriate (and perhaps this is an argument for making a new plugin, or for combining with the two demultiplexing plugins into a single fastq/fasta handling plugin), I could imagine other fasta/fastq functions that could accompany this, e.g., trimming, subsampling.
References
filter_fasta.py — e.g., see this forum post

This functionality was implemented for FeatureData[Sequence] in QIIME 2 2017.9: https://forum.qiime2.org/t/qiime-2-2017-9-release-is-now-live/1160

authors: nbokulich thermokarst


text:
clean up unit tests

Improvement Description
The unit tests for this plugin are overgrown. It is time to get organized.
Current Behavior
At the time of writing, the unit tests are 1546 lines long. Some cleanup of the code may also improve test runtime.
Proposed Behavior

split up test_classifier.py into multiple thematic test modules. E.g., types/formats should be tested separately. Visualizations and utilities could also be tested separately.
split up or combine some test classes, based on shared test data
clean up the test data to simplify tests where possible. E.g., the full-sized datasets could be replaced by toy datasets for more tests
a. TestHeatmap should use toy data, the tests take close to 2 minutes to run for a fairly trivial set of tests.

Note: @Oddant1 mostly addressed this in #188
The remaining task is to transition other tests to a toy dataset (e.g., the tests that loop through all estimators could use a toy dataset)... but for now we can wait and see if we still need test runtime shortened. If not, we can close this issue.

Just wanted to add here in regards to "if test runtime is shortened we can close this issue" test runtime was cut from ~145 seconds to ~70-75 seconds on my machine.

Are we interested in shortening the test runtime here any further with a toy dataset? I don't really know how to build a toy dataset for this, but test runtime is down from ~145 seconds to ~70-75 seconds.

hey @Oddant1 — I have heard no more complaints from @thermokarst about these tests holding up busywork.... I am happy to close this issue if @thermokarst is happy with the current test runtime, since I agree at this point we can't expect much more than shaving off many 20 more sec...

No complaints here, ATM. Just wait, I'm sure I'll come up with somethin...

authors: Oddant1 nbokulich thermokarst


text:
API: check whether path is valid artifact or visualization

Improvement Description
This has come up on the forum and in q2cli -- it'd be handy to have an API to determine whether a file path is a valid QIIME 2 artifact or visualization. .peek() works but a more explicit API would make discovering/accessing this functionality easier.

I think this is probably staying in qiime tools peek


text:
可以实现protostuff序列化吗

可以实现protostuff序列化吗
protostuff是一个基于protobuf实现的序列化方法，它较于protobuf最明显的好处是，在几乎不损耗性能的情况下做到了不用我们写.proto文件来实现序列化。

暂时还不支持，可以临时用自定义脚本来实现格式化，在视图的最下面
后面可以看看呼声，高的话可以加到默认视图中去

repo: qishibo/AnotherRedisDesktopManager


text:
有Bug吗？redis里面没有配置密码，使用another desktop工具配置连接时，随便写一个密码居然可以连接上去！

使用版本：
最新版1.6.1

你用cli在没密码情况下随便指定也能上

authors: qishibo startjava


text:
Improved content for Tutorial 8 (QAMP fall'22)

Summary
Enhancing the documentation of Tutorial "08_quantum_kernel_trainer" as a mentee for QAMP 2022.
Mentor: @ElePT
Mentee: @SanyaNanda
Details and comments

Restructured the notebook (Overview, Introduction, Objective, Tutorial, accuracy table and what was learned)
Imports placed where required
Added more explanations and inline comments for better understanding of the code
Hyperlinks to API references wherever required

Pull Request Test Coverage Report for Build 3444482012

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

Totals

Change from base Build 3437545713:
0.0%

Covered Lines:
3544

Relevant Lines:
3985

💛  - Coveralls

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

Closing this PR whilst working on updating tutorials. For more info - see [here].(https://github.com/qiskit-community/qiskit-machine-learning/pull/491#issuecomment-1979205893)

authors: CLAassistant SanyaNanda coveralls oscar-wallis


text:
Test Issue - qsahm

Test Body - nyqcerfgkj

Test Comment - cratg

repo: qlikqaa/dummyrepo


text:
Test Issue - xoazp

Test Body - hveimhuvsf

Test Comment - snnay


text:
Test Issue - qivhx

Test Body - tfotancrgf

Test Comment - rlyxb


text:
Test Issue - fsnlc

Test Body - jaanftmzef

Test Comment - ludsh


text:
Test Issue - sjyyf

Test Body - eauihqjkxj

Test Comment - wjibe


text:
Test Issue - puesn

Test Body - dwhwxcsbtd

Test Comment - onjex


text:
Test Issue - oqmgk

Test Body - almltrlijf

Test Comment - rsiwa


text:
Test Issue - ermjw

Test Body - lghrnfijgo

Test Comment - mtrbd


text:
Test Issue - bxvnc

Test Body - gdfuaptmry

Test Comment - vdole


text:
Test Issue - tljio

Test Body - qvwgyylled

Test Comment - hfbfc


text:
Test Issue - bsibq

Test Body - ybttgtvgpk

Test Comment - zcmtf


text:
Test Issue - xobaw

Test Body - vxdohnemmk

Test Comment - yjrpy


text:
Test Issue - qhglp

Test Body - ihhbvputyj

Test Comment - dqvuw


text:
Test Issue - cmroi

Test Body - oafwdddrnb

Test Comment - tjzwp


text:
Test Issue - kmogi

Test Body - jbgkkmhysc

Test Comment - infzx


text:
Test Issue - zmqos

Test Body - tfntcqixjj

Test Comment - xmqjx


text:
Test Issue - orwzr

Test Body - yipvamfatu

Test Comment - yeyvb


text:
Test Issue - ywfbv

Test Body - ojsueynbpi

Test Comment - bvvxg


text:
Test Issue - xfeuy

Test Body - lpnvzssmwl

Test Comment - zhani


text:
Test Issue - bdsmi

Test Body - fnvoswmysc

Test Comment - rywik


text:
Test Issue - qotwf

Test Body - ljcephrjub

Test Comment - pwpbw


text:
Test Issue - dzynb

Test Body - orysojeroh

Test Comment - zhvxs


text:
Test Issue - rduip

Test Body - vddmcelbhl

Test Comment - btzpv


text:
Test Issue - iqxic

Test Body - jfnlhlgutb

Test Comment - vqxtg


text:
Test Issue - fzqiz

Test Body - beixdvpyky

Test Comment - xmgez


text:
Test Issue - hnrfh

Test Body - uanfnfgqux

Test Comment - wfuzg


text:
Test Issue - sxqiv

Test Body - nzrabyuvwu

Test Comment - ydepq


text:
Test Issue - ltxok

Test Body - ohkicmpigz

Test Comment - qymni


text:
Test Issue - tcdcv

Test Body - zgkfxbgxlj

Test Comment - smcna


text:
Test Issue - vcgzq

Test Body - dxabtpyila

Test Comment - mgdvv


text:
Test Issue - weyex

Test Body - bxgyvtozpj

Test Comment - usmde


text:
Test Issue - pmemq

Test Body - uahefvomvh

Test Comment - pncjn


text:
Test Issue - ngugv

Test Body - lasxkgvzrv

Test Comment - fkjqz


text:
Test Issue - kldtg

Test Body - rqdjackicq

Test Comment - gtret


text:
Test Issue - atdbe

Test Body - maskagwmgb

Test Comment - joqcw


text:
Test Issue - wguqr

Test Body - vshqgznoil

Test Comment - dwabl


text:
Test Issue - padnx

Test Body - qivubafkdb

Test Comment - uccyk


text:
File Manager: download broken in Firefox with no error in console

See: https://www.virtualmin.com/node/56365
I can't find the issue, I suspect changes in the javascript are to blame, but it seems only the minified versions of the javascript is present here.
Is the original source for the file manager javascript for recent versions available somewhere so I can examine the files to try and find the issue?

It's been already fixed.

Cool! Thanks for the update!

authors: qooob reidbiztech

repo: qooob/authentic-theme


text:
Cant navigate within Webmin Servers

Hi,
After the last update (13.00 and 13.02) I could not navigate to other webmin servers. I use "Login via Webmin" method..

So... I connect from my main server to another server and I get doubled sidebars

If I press anything from the side pannel it sends me back to the main server information page

Thanks

I got it! Will fix it in 13.03 very soon. After update please report here if it's working or not! Thanks for reporting!

authors: ignaworn qooob


text:
Setting referenced values

When using quam, we found that we often need to change values that are references, and doing so generally instantiates a "treasure-hunt", following references in our machine until the "bare" value is found. In practice, doing this can become a bit tedious - would it be possible to add a method QuamComponent, e.g. .set_at_reference(attr: str, new_value)  which follows the references for you and sets it at the correct place?
And for added user-clarity, maybe this function could even search the machine from the "bare" value, to see if other components reference this value, and correspondingly print out exactly which components were affected by the change?

I like it! I created a PR introducing this functionality.
The second part about searching the machine for other attributes that are a reference to the updated value is a tricky one as it's not always apparent when something is referencing a given attribute. I'll leave this as a follow-up feature.

Amazing, thanks!

authors: JacobHast nulinspiratie

repo: qua-platform/quam


text:
Language support

OMG this is amazing. Thanks for sharing this. I would like to ask if it is possible to support other language? For e.g., when I use Vietnamese, the font is messed up. Is there a solution for this? Thanks!

Yup, I’m looking into what made Unicode break

awesome thanks!

authors: justanhduc quackduck

repo: quackduck/devzat


text:
🛑 yami-sora is down

In 6b01aab, yami-sora (https://www.yami-sora.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: yami-sora is back up in 2925c43 after 1 day, 3 minutes.


text:
🛑 otakusan is down

In ea30e1f, otakusan (https://otakusan.net/LightNovel) was down:

HTTP code: 0
Response time: 0 ms

Resolved: otakusan is back up in b36a069 after 1 hour, 50 minutes.


text:
🛑 olshiro is down

In a12a810, olshiro (http://olshiro.net/load/vietsub/10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: olshiro is back up in 04b2010.


text:
🛑 otakusan is down

In 122da6f, otakusan (https://otakusan.net/LightNovel) was down:

HTTP code: 0
Response time: 0 ms

Resolved: otakusan is back up in c2463e0.


text:
🛑 kokocon is down

In 70c7308, kokocon (http://kokocon.net/) was down:

HTTP code: 500
Response time: 158 ms

Resolved: kokocon is back up in db973db after 7 minutes.


text:
🛑 hako.re is down

In 7045633, hako.re (https://mangochan.site/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hako.re is back up in 3e9a7c3 after 6 minutes.


text:
Bayesian Tear Sheet fails in Research

Calling a Bayesian Tear Sheet fails with AssertionError: axis must be between 0 and 1, input was columns. I'm pretty sure it's due to https://github.com/quantopian/pyfolio/blob/master/pyfolio/bayesian.py#L68.

I got the same error.

Closed by https://github.com/quantopian/pyfolio/pull/508.

authors: jaycode mmargenot twiecki

repo: quantopian/pyfolio


text:
Added functions to init file

Finally fixed my commit history!
I've gone through and either exposed or made explicitly hidden all (I think) functions in the repo. Some of the names were a bit vague (e.g. 'two_body'), LMK if you think something should be exposed that isn't or vice versa.

@obriente Even resolving the merge conflict it still seems like there is an issue with importing.  Maybe cutting this down to something less than 21 files.  Maybe just bumping this back to when it was passing tests.  Then we can add the extra files in a following PR.

@googlebot I fixed it.

@googlebot I signed it.

@googlebot I consent.

@obriente bump. I went in and cleaned up some of the imports that were broken from the move of a method.  Let me know if everything else looks in place.

Thanks for sorting that out, looks like it must have been a pain to fix.
Everything looks good to me, I guess we just need one extra review now.

No need for extra review.  thanks for kicking this off and sorting out the extra imports that users were not finding.  This is an impactful PR.

Ah ok - I can't merge right now without an extra review, maybe you have more privileges than I do here. But everything LGTM

authors: ncrubin obriente

repo: quantumlib/OpenFermion


text:
java.lang.IllegalArgumentException: There are multiple EventSources registered for type when upgrading from 5.0.0.Beta2 to 5.0.0

In the same project that worked fine in 5.0.0.Beta2, now I have the error:
java.lang.IllegalArgumentException: There are multiple EventSources registered for type io.strimzi.api.kafka.model.KafkaTopic

I have multiple dependent KafkaTopics and I use a ResourceDiscriminator. I am not using useEventSourceWithName as I want to avoid implementing prepareEventSources method in reconciler, as the java-operator-sdk example does. This approach worked fine in 5.0.0.Beta2 but it doesn't work now.
Any ideas? Thanks!

Hi @juangon,
Can you provide a more complete stack trace, please? Thanks in advance.

Here you have @metacosm . Thanks!
2022-12-29 23:13:54,248 ERROR [io.jav.ope.pro.eve.ReconciliationDispatcher] (ReconcilerExecutor-teis-app-controller-240) Error during event processing ExecutionScope{ resource id: ResourceID{name='teis-app-proactivanet', namespace='teis-proactivanet-soriana-demo'}, version: 795330345} failed.: io.javaoperatorsdk.operator.AggregatedOperatorException: Exception(s) during workflow execution. Details:
com.teis.operator.teisbackend.TeisBackendDependent -> java.lang.NullPointerException
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowResult.throwAggregateExceptionIfErrorsPresent(WorkflowResult.java:40)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileResult.throwAggregateExceptionIfErrorsPresent(WorkflowReconcileResult.java:9)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.DefaultWorkflow.reconcile(DefaultWorkflow.java:92)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:140)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:103)
	at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:206)
	at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:102)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:141)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:121)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:91)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:64)
	at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:415)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

2022-12-29 23:13:54,333 WARN  [io.fab.kub.cli.dsl.int.VersionUsageUtils] (InformerWrapper [kafkas.kafka.strimzi.io/v1beta2] 255) The client is using resource type 'kafkas' with unstable version 'v1beta2'
2022-12-29 23:13:54,592 INFO  [io.jav.ope.pro.Controller] (ForkJoinPool.commonPool-worker-3) 'teis-backend-controller' controller started, pending event sources initialization
2022-12-29 23:13:54,598 INFO  [io.jav.ope.pro.dep.AbstractDependentResource] (pool-8-thread-3) Updating 'teis-backend-secrets' Secret for primary ResourceID{name='teis-backend-teis-proactivanet-soriana-demo', namespace='teis-proactivanet-soriana-demo'}
2022-12-29 23:13:54,618 INFO  [io.jav.ope.pro.Controller] (ForkJoinPool.commonPool-worker-13) 'teis-kafka-controller' controller started, pending event sources initialization
2022-12-29 23:13:54,617 ERROR [io.jav.ope.pro.eve.ReconciliationDispatcher] (ReconcilerExecutor-teis-backend-controller-270) Error during event processing ExecutionScope{ resource id: ResourceID{name='teis-backend-teis-proactivanet-soriana-demo', namespace='teis-proactivanet-soriana-demo'}, version: 795330341} failed.: io.javaoperatorsdk.operator.AggregatedOperatorException: Exception(s) during workflow execution. Details:
com.teis.operator.teisbackend.kafka.KafkaBackendTicketPredictedDependent -> java.lang.IllegalArgumentException: There are multiple EventSources registered for type io.strimzi.api.kafka.model.KafkaTopic, you need to provide a name to specify which EventSource you want to query. Known names: kafka-backend-topic-ticket-predicted,kafka-backend-topic-ticket-import-errors,kafka-backend-topic-ticket-added
 - com.teis.operator.teisbackend.kafka.KafkaBackendTicketImportErrorsDependent -> java.lang.IllegalArgumentException: There are multiple EventSources registered for type io.strimzi.api.kafka.model.KafkaTopic, you need to provide a name to specify which EventSource you want to query. Known names: kafka-backend-topic-ticket-predicted,kafka-backend-topic-ticket-import-errors,kafka-backend-topic-ticket-added
 - com.teis.operator.teisbackend.kafka.KafkaBackendTicketAddedDependent -> java.lang.IllegalArgumentException: There are multiple EventSources registered for type io.strimzi.api.kafka.model.KafkaTopic, you need to provide a name to specify which EventSource you want to query. Known names: kafka-backend-topic-ticket-predicted,kafka-backend-topic-ticket-import-errors,kafka-backend-topic-ticket-added
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowResult.throwAggregateExceptionIfErrorsPresent(WorkflowResult.java:40)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileResult.throwAggregateExceptionIfErrorsPresent(WorkflowReconcileResult.java:9)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.DefaultWorkflow.reconcile(DefaultWorkflow.java:92)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:140)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:103)
	at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:206)
	at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:102)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:141)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:121)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:91)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:64)
	at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:415)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Hi @juangon,
Can you provide a more complete stack trace, please? Thanks in advance. Could you also explain the reasoning behind not using useEventSourceWithName? I tend to think that ResourceDiscriminator should be removed but it seems your use case is proving me wrong so would like to hear more about it… smile

It's fine for me to use useEventSourceWithName but as long as I don't have to reimplement prepareEventSources because in reconcilers I have more than one type of DependentResource and wouldn't like to prepare all of those event sources, as I have all annotations in place.

You shouldn't have to re-implement prepareEventSources, I think simply providing an explicit name for your dependents should be enough to fix the issue. You probably don't need to use useEventSourceWithName either. Would you mind sharing your controller's configuration along with the dependents definition (the class signature ought to be enough)?

Yes, I have a name for those dependents (@DependentResource name), in fact those james are showing un logs I've sent. Any other idea? Thanks very much!

Here you have the reconciler config @metacosm :
@ControllerConfiguration(name = TeisBackendReconciler.TEIS_BACKEND_CONTROLLER,
 dependents = {
        @Dependent(type = KafkaBackendTicketImportErrorsDependent.class, name = "kafka-backend-topic-ticket-import-errors", readyPostcondition =  KafkaBackendTicketImportErrorsDependent.class),
        @Dependent(type = KafkaBackendTicketAddedDependent.class, name = "kafka-backend-topic-ticket-added", readyPostcondition =  KafkaBackendTicketAddedDependent.class),
        @Dependent(type = KafkaBackendTicketPredictedDependent.class, name = "kafka-backend-topic-ticket-predicted", readyPostcondition =  KafkaBackendTicketPredictedDependent.class),
        @Dependent(type = TeisBackendMariaDBDependent.class, name = "teis-backend-mariadb", readyPostcondition = TeisBackendMariaDBDependent.class),
        @Dependent(type = TeisBackendConfigMapDependent.class, name="teis-backend-config"),
        @Dependent(type = TeisBackendSecretDependent.class, name="teis-backend-secret"),
        @Dependent(type = TeisBackendDeploymentDependent.class,
            dependsOn = {
                "kafka-backend-topic-ticket-import-errors",
                "kafka-backend-topic-ticket-added",
                "kafka-backend-topic-ticket-predicted",
                "teis-backend-mariadb",
                "teis-backend-config",
                "teis-backend-secret"}),
        @Dependent(type = TeisBackendServiceDependent.class)
    })

I'm investigating the root cause, there seems to be funny going on. In the mean time, could you try the following configuration and let me know how it goes, please:
@ControllerConfiguration(name = TeisBackendReconciler.TEIS_BACKEND_CONTROLLER,
 dependents = {
        @Dependent(type = KafkaBackendTicketImportErrorsDependent.class, name = "kafka-backend-topic-ticket-import-errors", readyPostcondition =  KafkaBackendTicketImportErrorsDependent.class, useEventSourceWithName="kafka-backend-topic-ticket-predicted"),
        @Dependent(type = KafkaBackendTicketAddedDependent.class, name = "kafka-backend-topic-ticket-added", readyPostcondition =  KafkaBackendTicketAddedDependent.class, useEventSourceWithName="kafka-backend-topic-ticket-predicted"),
        @Dependent(type = KafkaBackendTicketPredictedDependent.class, name = "kafka-backend-topic-ticket-predicted", readyPostcondition =  KafkaBackendTicketPredictedDependent.class),
        @Dependent(type = TeisBackendMariaDBDependent.class, name = "teis-backend-mariadb", readyPostcondition = TeisBackendMariaDBDependent.class),
        @Dependent(type = TeisBackendConfigMapDependent.class, name="teis-backend-config"),
        @Dependent(type = TeisBackendSecretDependent.class, name="teis-backend-secret"),
        @Dependent(type = TeisBackendDeploymentDependent.class,
            dependsOn = {
                "kafka-backend-topic-ticket-import-errors",
                "kafka-backend-topic-ticket-added",
                "kafka-backend-topic-ticket-predicted",
                "teis-backend-mariadb",
                "teis-backend-config",
                "teis-backend-secret"}),
        @Dependent(type = TeisBackendServiceDependent.class)
    })

Ok so with your snippet @metacosm  it seems that one of two Exceptions went away. The NullPointer is still there though:
com.teis.operator.teisbackend.TeisBackendDependent -> java.lang.NullPointerException
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowResult.throwAggregateExceptionIfErrorsPresent(WorkflowResult.java:40)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileResult.throwAggregateExceptionIfErrorsPresent(WorkflowReconcileResult.java:9)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.DefaultWorkflow.reconcile(DefaultWorkflow.java:92)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:140)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:103)
	at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:206)
	at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:102)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:141)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:121)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:91)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:64)
	at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:415)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Any idea about that? Thanks very much!

Just sent to your email @metacosm . Thanks very much for your help!

authors: juangon metacosm

repo: quarkiverse/quarkus-operator-sdk


text:
use varbinary(max) instead of image data-type - Fixes #157

As discussed before this is the minimal approach.

Hello there,
is there anything I can do better? What do you think about this minimal approach?
Keep up the good work,
~fw

Hello! Thank you very much for your contribution and interest in helping improve the Quartz community.
After a period of dormancy, the Quartz project is back under steady maintenance by multiple volunteers, who are working to once again handle contributions such as yours.
We notice that your contribution was made without use of the DCO feature (the sign-off feature on commits via the -s option). Can you please update your PR with commits that use the -s option, agreeing to assign copyright ownership and other terms as described at the contributor agreement referenced here: https://github.com/quartz-scheduler/contributing/blob/main/CONTRIBUTING.md
You can easily add signoff to your previous commits by running (on your PR branch):
git commit --amend --signoff --no-edit
git push -f

Or (for multiple commits):
# change 5 to the number of commits
git rebase HEAD~5 --signoff
git push -f

Hello @akomakom ,
I signed-off my commit.
Good to see the project back from hibernation :)
~fw

Thanks!

authors: akomakom efwe jhouserizer

repo: quartz-scheduler/quartz


text:
Fix PyPi package deployment

With the initial release the automatic package deployment to PyPi failed with
ERROR Source /home/runner/work/bluetooth_2_usb/bluetooth_2_usb does not appear to be a Python project: no pyproject.toml or setup.py

Investigate and fix.

https://packaging.python.org/en/latest/tutorials/packaging-projects/


text:
Maven artifacts missing

Maven artifacts are missing for qds-sdk-java release 1.3.0 ( https://mvnrepository.com/artifact/com.qubole.qds-sdk-java/qds-sdk-java)

@VenkataKarthikP Its now available in maven central repo https://mvnrepository.com/artifact/com.qubole.qds-sdk-java/qds-sdk-java/1.3.0

authors: VenkataKarthikP ranganathhr

repo: qubole/qds-sdk-java


text:
Resnet models

It looks that your own RestNet implementation is based on Resnet Version 2 (Preact / BN->Relu->Conv). Could you  please also consider adding ResNet Version 1 (code + pre-trained weights)? I'm unfortunately limited on GPU resources and can't therefore do a full train in imagenet, etc. I know that keras-applications has both V1/V2, but I find that your toolbox is better organized.

Hi @tinalegre
I did not train any of models, just convert or transfer weights from other frameworks/repos.
If you will find such pretrained models I will consider such option. Models from keras_applications are inside of this repo.

Hi @qubvel thank you. I was wondering why on your ResNet model, just after the last residual block and before the top classification layer, we need to have the additional BN+Relu layers (named respectively bn1 and relu1)?

Once again:
ResNet models was not created by me. I have just rewrite architecture from MXNet models zoo as it is and convert weights.
So the answer to your question is: "Because they have been created and trained with such architecture by someone (I actually don`t know the authors of this implementation)"

authors: qubvel tinalegre


text:
Problems with imagesize of 1024x1024

I am using the U-Net-model. When i tried to set the input size to 1024x1024 the first 20 epochs had a validation iou-score of 1e-11. I had no problems with other sizes like 512x512, 256x256 and 768x768. I already tried another backbone. So why does this input-size not work?

If it worked on other data it should work with other sizes too if the data is the same. Do you train multiclass segmentation? Have you checked that the data is correct and labels match input images? It take me ~300 epochs to gain first validation scores for my task, so 20 epochs looks a bit few for results. On the other hand if you use pretrained weights it should cover faster and I advice you to look for problems in input data.

authors: VladislavAD johanneskpp


text:
Root owned files/directories are owned by "nobody" when running under boxxy

> ls -la /etc/environment
-rw-r--r-- 1 root root 97 Apr 11 04:47 /etc/environment

> boxxy ls -la /etc/environment
 INFO  boxxy::config > loading rules from /home/aflutter/.config/boxxy/boxxy.yaml
 INFO  boxxy::config > loaded 0 total rule(s)
 INFO  boxxy::enclosure > boxed "ls" ♥
-rw-r--r-- 1 nobody nobody 97 Apr 11 04:47 /etc/environment

I'm running into this problem because ssh checks to make sure a file is owned by root, and errors out for security reasons if not (Bad owner or permissions on /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf).
Somehow, this is only a recent issue. I've used boxxy with ssh regularly until around June when it broke. I checked a few older version of boxxy, with the oldest being 5.1, and they all had the issue, though.

This is related to #6.

#6 is the tracking issue for this problem.

authors: Afluttera queer

repo: queer/boxxy


text:
Limit gets ignored in subquery

I have a Dog and Race table, dogs reference race. I wanted to do an update: "Update all dogs without race (is null) with most popular race."
My code looks like this (Pes=Dog, Rasa=Race):
QPes p = new QPes("pes"); QRasa r = p.rasa;
em.getTransaction().begin();
SimpleSubQuery<Rasa> mostPopularRaceSubquery = new JPASubQuery().from(p)
    .join(r).groupBy(r).orderBy(r.count().desc()).limit(1).unique(r);
long execute = new JPAUpdateClause(em, QPes.pes)
    .where(QPes.pes.rasa.id.isNull())
    .set(QPes.pes.rasa, mostPopularRaceSubquery).execute();
System.out.println("execute = " + execute);
em.getTransaction().commit();

Generated query misses any limit though:
Hibernate: update Pes set rasa_id=(select pes1_.rasa_id from Pes pes1_ inner join Rasa rasa2_ on pes1_.rasa_id=rasa2_.id group by pes1_.rasa_id order by count(pes1_.rasa_id) desc) where rasa_id is null

And it generates exception because of this error:
ERROR: Scalar subquery contains more than one row; SQL statement:
update Pes set rasa_id=(select pes1_.rasa_id from Pes pes1_ inner join Rasa rasa2_ on pes1_.rasa_id=rasa2_.id group by pes1_.rasa_id order by count(pes1_.rasa_id) desc) where rasa_id is null [90053-170]
Exception in thread "main" javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute statement
    at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387)
    at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1397)
    at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:108)
    at com.mysema.query.jpa.impl.JPAUpdateClause.execute(JPAUpdateClause.java:67)
    at sqldemo.Main.main(Main.java:32)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

The same exception occurs when I remove limit(1) from the code, generated query is the same.
Limit works fine with simple query:
QPes p = new QPes("pes"); QRasa r = p.rasa;
Rasa mostPopularRace = new JPAQuery(em).from(p)
    .join(r).groupBy(r).orderBy(r.count().desc()).limit(1).uniqueResult(r);
System.out.println("mostPopularRace = " + mostPopularRace);

Works, one result is written out.
Used version: 3.1.1

hey, i know this is closed, but i think it's useful for deep pagination,  eg select * from table where id in (select id from table limit 99999, 10)

repo: querydsl/querydsl


text:
🛑 Search Service is down

In 357093c, Search Service (https://quessttechnologies.com/search/healthcheck) was down:

HTTP code: 429
Response time: 33 ms

Resolved: Search Service is back up in 3ee284e after 22 minutes.


text:
connected and unconnected sockets

Currently the proxy uses connected sockets. This is a good idea performance-wise, but comes with the obvious limitation on the number of proxied connections.
We should have an API that allows an application more fine-grained control. One option would be a callback on the Server:
type Server struct {
    // ... existing stuff

    // PacketConnForRemote is called when establishing a new proxied connection.
    // It is possible to return the same net.PacketConn (an unconnected UDP socket) for multiple distinct remote address.
    // However, the same net.PacketConn cannot be used for the same remote address.
    PacketConnForRemote(*net.UDPAddr) net.PacketConn
}

The problem here is that the same net.PacketConn can't be used for the same remote address: We need to know which QUIC connection to put a packet on. It's also not clear how timeouts should work: If one proxied connection is closed, it should be possible to reuse the same net.PacketConn at some point, but probably not immediately, since UDP packets might still be in flight between the remote and the proxy.

There are multiple ways to slice and dice it. One option that comes to mind is using one (unconnected) socket per client. This might make in a setting where the client is using the proxy to proxy all its traffic over the proxy.
However, it also breaks as soon as the client requests to connect to the same IP (not domain!) multiple times. This will be pretty common, given the current centralization of the edge infrastructure in the hands of a few giant CDN providers.

#43 opens up a path to using unconnected UDP sockets: When the application wishes to proceed with a masque.Request, it can either:

call Proxy.ProxyConnectedSocket(w http.ResponseWriter, _ *Request, conn *net.UDPConn), passing us a fresh connected UDP socket
call Proxy.ProxyUnconnectedSocket(w http.ResponseWriter, _ *Request, conn *net.UDPConn, target *net.UDPAddr),  reusing a UDP socket

For ProxyUnconnectedSocket, we can then perform the necessary checks (are we already proxying another connection to the same net.UDPAddr as target?), and reject the proxying attempt with a masque.ErrAlreadyProxyingToThisTarget (better naming tbd). The application can then decide to either switch to a connected socket, attempt again using another unconnected socket, or even create a new unconnected socket.

repo: quic-go/masque-go


text:
http3: response body not implemented http3.HTTPStreamer

Seems that this is broken by https://github.com/quic-go/quic-go/pull/4469
It makes my http3 dialer not working
streamer, ok := resp.Body.(http3.HTTPStreamer)
if !ok {
    return nil, errors.New("proxy: read from " + d.Host + " error: resp body not implemented http3.HTTPStreamer")
}

Any suggestion?

This was called out as a breaking change in the release notes of v0.43. It is now the http.ResponseWriter that implements the interface.

Thanks. In my understanding the http.ResponseWriter only can be used in server side. (Please correct me if I'm wrong)
How to unwrap the stream in client side (*http.Response), my existing code is here

You'll need to take the path via the SingleDestinationRoundTripper then.

Last question, shall/do we have a RoundTripOpt to let this underlying stream stay opening?
https://github.com/quic-go/quic-go/blob/v0.44.0/http3/client.go#L299

Finally I gave up this approach, I turn to another way with more compatibility and but lower performance in https://github.com/phuslu/liner/commit/1054f3b89798ab13dc677914b388a92b0be8147c
If the stream unwarp of *http.Response in quic-go/http3 comes back in future, please let me know. thanks again.

Please take a look at the WebTransport dialer: https://github.com/quic-go/webtransport-go/blob/master/client.go
I believe it does exactly what you need.

Understood, but currently I'd like keep unique/same logic in server side, like https://github.com/phuslu/liner/blob/master/handler_http_forward.go#L278-L298

There’s no change to the server side. This is purely a client side API change.

thanks for your patience, finally I have a modified webtransport-go dialer of https://github.com/phuslu/liner/blob/master/dialer_http3.go thanks again!

authors: marten-seemann phuslu

repo: quic-go/quic-go


text:
Remove access token cache accessible via qf.Course type

This PR removes the access token cache associated with the qf.Course type.

Pull Request Test Coverage Report for Build 2834318725

3 of 6 (50.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.213%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

database/gormdb.go
2
3
66.67%

qf/course.go
0
2
0.0%

Totals

Change from base Build 2834268491:
0.0%

Covered Lines:
2663

Relevant Lines:
10562

💛  - Coveralls

Codecov Report

Merging #714 (27340c7) into master (6938ffe) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##           master     #714   +/-   ##
=======================================
  Coverage   22.69%   22.69%
=======================================
  Files          79       79
  Lines       10175    10175
=======================================
  Hits         2309     2309
  Misses       7552     7552
  Partials      314      314

Flag
Coverage Δ

unittests
22.69% <50.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

qf/course.go
0.00% <0.00%> (ø)

database/gormdb.go
64.40% <66.66%> (ø)

database/gormdb_course.go
50.34% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter coveralls meling

repo: quickfeed/quickfeed


text:
Add some key metrics on the ingestion

Now that we have an indexing server, we can expose some nice prometheus metrics.

Possibly interesting indexing metrics:

ingested_bytes
num_docs_in / num_docs_out

repo: quickwit-oss/quickwit


text:
Use index UID instead of index ID for the queue_id

We missed to change that when we introduced index UID.
See https://github.com/quickwit-oss/quickwit/blob/ce856974177a26fc96bfabdb7768b0bcae2cbdea/quickwit/quickwit-indexing/src/source/ingest_api_source.rs#L82

duplicate of #3559


text:
add support for matching distance in phrase query

The first commit still allows ~ in words, might be a bit flimsy.
Second one exposes distance for all leafs. Do we need to explicitly fail for leaves that do not handle slop/distance + implement it for those who do ? (Term maybe, I haven't checked)
Requires a doc update also :)
Not realy sure on the name, slop is hard to understand, distance is maybe a little to vague.
closes #1390

Codecov Report

Merging #1393 (1ec8212) into main (83d0c13) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 1ec8212 differs from pull request most recent head c83bbb7. Consider uploading reports for the commit c83bbb7 to get more accurate results

@@           Coverage Diff           @@
##             main    #1393   +/-   ##
=======================================
  Coverage   94.29%   94.30%
=======================================
  Files         236      236
  Lines       43418    43472   +54
=======================================
+ Hits        40942    40996   +54
  Misses       2476     2476

Impacted Files
Coverage Δ

query-grammar/src/query_grammar.rs
99.67% <100.00%> (+0.01%)
:arrow_up:

query-grammar/src/user_input_ast.rs
97.87% <100.00%> (+0.09%)
:arrow_up:

src/query/phrase_query/phrase_query.rs
91.54% <100.00%> (+0.37%)
:arrow_up:

src/query/query_parser/logical_ast.rs
88.37% <100.00%> (+1.19%)
:arrow_up:

src/query/query_parser/query_parser.rs
94.95% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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

@fulmicoton @PSeitz  can we define the slop as being an u8 as it is the type that was chosen for the fuzzy query distance and 255 seems to be good enough of a max distance whatever the Query impl for the time being ?

Right now let's not handle fuzzy query in the grammar, it would break quickwit.
For the naming, I'd stick to slop in the grammar for the moment.

I've got this PR https://github.com/saroh/tantivy/pull/1/files which I can push in here or open later. Adds support for "foo"~1

authors: codecov-commenter fulmicoton saroh

repo: quickwit-oss/tantivy


text:
Bug in correct_reed_solomon_decode()

I have a small problem with this function. If there was no error while the transmission, the last parameter is still empty. To fix this problem, I have to do something like this:
err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg); 		if (rs->recvmsg[0] == 0) 			memcpy(rs->recvmsg, rs->encoded, rs->block_length);
I think this behavior is quite confusing, especially while the parameter is modified, if there was an error!

That's why Im really confused. I couldn't locate, why this is happening.
I use this as a helper:
#ifndef _correct_cpp_h
#define _correct_cpp_h

extern "C" {
	#include <correct.h>
}

struct rs_struct{
    size_t const_block_length;
    size_t const_message_length;
    size_t block_length;
    size_t message_length;
    size_t min_distance;
    char *msg;
    uint8_t *encoded;
	correct_reed_solomon *encoder;
    int *indices;
    uint8_t *corrupted_encoded;
    uint8_t *erasure_locations;
    unsigned char *recvmsg;

	rs_struct(size_t block_length, size_t min_distance) {
		this->const_block_length = this->block_length = block_length;
		this->const_message_length = this->min_distance = min_distance;
		this->message_length = block_length - min_distance;
		this->msg = (char*) calloc(message_length, sizeof(char));
		this->encoded = (uint8_t*) malloc(block_length * sizeof(uint8_t));
		this->encoder =	correct_reed_solomon_create(correct_rs_primitive_polynomial_ccsds, 1, 1, min_distance);
		this->indices = (int*) malloc(block_length * sizeof(int));
		this->corrupted_encoded = (uint8_t*) malloc(block_length * sizeof(uint8_t));
		this->erasure_locations = (uint8_t*) malloc(min_distance * sizeof(uint8_t));
		this->recvmsg = (unsigned char*) malloc(sizeof(unsigned char) * block_length);
	}

	~rs_struct() {}

	void reset() {
		this->block_length = this->const_block_length;
		this->min_distance = this->const_message_length;
		this->message_length = block_length - min_distance;
		memset(this->msg, 0, this->message_length);
		memset(this->encoded, 0, this->block_length);
		memset(this->indices, 0, this->block_length);
		memset(this->corrupted_encoded, 0, this->block_length);
		memset(this->erasure_locations, 0, this->min_distance);
		memset(this->recvmsg, 0, this->block_length);
	}
};

#endif

And then use it like that:
...
int main(int argc, char *argv[]) {
	rs_struct *rs = new rs_struct(255, 32);
	...

    while(1) {
		if (mySwitch.available()) {
			rs->encoded = (uint8_t*)mySwitch.getReceivedValue();
			cout<<"Empfangen: "<<rs->encoded<<"\n";

			int err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg);
			if (rs->recvmsg[0] == 0)
				memcpy(rs->recvmsg, rs->encoded, rs->block_length);
			cout<<"Decodiert: "<<rs->recvmsg<<"(Message Length: "<<err<<" | String Length: "<<strlen((char*)rs->recvmsg)<<"\n";

			...

			rs->reset();
			mySwitch.resetAvailable();
		}
	}
	exit(0);
}

Overall I have to say, that it works really nice for me. Thanks for that 👍

Thanks, I hope it works well for you.
The one thing I can think of here is that it won't copy the received message when there are too many errors. Is err -1 when you're seeing an empty recvMsg? I didn't think it'd be useful to copy back a corrupted message, so it doesn't do that, but maybe it should.

Code:
memcpy(rs->encoded, (uint8_t*)mySwitch.getReceivedValue(), rs->block_length);
cout<<"Received: "<<rs->encoded<<"\n";

int err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg);
cout<<"Decoded: "<<rs->recvmsg<<"(Message Length: "<<err<<" | String Length: "<<strlen((char*)rs->recvmsg)<<")\n";

Output:
Received: test
Decoded: (Message Length: 223 | String Length: 0)

Now comes the crazy part...
Code:
if ( recvfrom_inet_dgram_socket(sfd,rs->encoded,rs->block_length, src_host,sizeof(src_host),src_service,sizeof(src_service),0,LIBSOCKET_NUMERIC) < 0 ){
	perror(0);
	exit(1);
}
cout<<"Connection from "<<src_host<<" port "<<src_service<<": "<<rs->encoded<<"\n";

int err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg);
cout<<"Decoded: "<<rs->recvmsg<<"(Message Length: "<<err<<" | String Length: "<<strlen((char*)rs->recvmsg)<<")\n";

Output:
Connection from 127.0.0.1 port 55723: 1234
Decoded: 1234(Message Length: 223 | String Length: 4)

The only diffrence is, that getReceivedValue() delivers a char* as return. The recvfrom_inet_dgram_socket() wants a void* as a parameter.

Unfortunately I still don't have quite enough code here to see what's going on. Can you come up with a short example that demonstrates this behavior and then provide me with the whole thing? I've reviewed the code in the decoder and can't find a likely explanation for how it could return a positive value but not write to the received message pointer.

Okay, it took me some hours, but I think I found the bug.
Code:
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <unistd.h>
#include <string.h>
#include "correct_cpp.h"

using namespace std;

int main() {
    rs_struct *rs = new rs_struct(255, 32);
	char buf[500] = { 72, 97, 108, 108, 111, 32, 87, 101, 108, 116, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 1, 214,
						5, 237, 210, 42, 9, 139, 10, 177, 149, 18, 112, 11, 151, 27, 202, 75, 66, 116, 2, 121,
						145, 199, 123, 108, 53, 222, 90, 92, 121};

	char buf2[500] = { 72, 97, 108, 108, 111, 32, 87, 101, 108, 116, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

	memcpy(rs->encoded, buf2, rs->block_length);

	int err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg);
		cout<<"Decoded: "<<rs->recvmsg<<"(Message Length: "<<err<<" | String Length: "<<strlen((char*)rs->recvmsg)<<"\n";

	memcpy(rs->encoded, buf, rs->block_length);

	err = correct_reed_solomon_decode(rs->encoder, rs->encoded, rs->block_length, rs->recvmsg);
		cout<<"Decoded: "<<rs->recvmsg<<"(Message Length: "<<err<<" | String Length: "<<strlen((char*)rs->recvmsg)<<"\n";

    delete rs;

    return 0;
}

Output:
Decoded: (Message Length: 223 | String Length: 0
Decoded: Hallo Welt
(Message Length: 223 | String Length: 11

If the message is cut off at the end, the byte for the redundancy are missing (aka zeros). I would assume, that the decoder return -1, because it can not decode anything. But unfortunately it returns the message length.

This is a pretty fascinating bug report, but ultimately I've decided this is actually the correct behavior.
The first oddity to notice here is that a message that's all 0s has a parity section that's also all 0s (this may not be true for other primitive polynomials/FCR/root gaps, but is true for CCSDS/1/1). That means that a block with all 0s is actually a valid block, and it decodes to a message containing all 0s.
The second issue is that your message is less than 16 characters long. For a block with 32 roots, up to 16 of the 255 bytes can be corrupted entirely and the message can still be recovered. By removing the last 32 bytes of the message and replacing them with 0, it would seem that decode should indeed error out. Instead, it succeeds but gives you back a payload of all 0s. That's because the block you gave to decode is actually less than 16 bytes away from the valid, all-0s block, and with the bytes repaired, it seems to be a successful decode from Reed-Solomon's point of view.
Unfortunately, with enough bytes replaced, this can happen. I have tried to make a note of this in the comments in correct.h:

In most cases, if the block is too corrupted, this function
will return -1 and not perform decoding. It is possible but
unlikely that the payload written to msg will contain
errors when this function returns a positive value.

It seems you hit one of these unfortunate but possible cases. If you want to reduce the likelihood that this can happen, you may want to add a CRC32 checksum to your message. Reed-Solomon can reject some message failures but not as well a good checksum can.

authors: Hiffi brian-armstrong

repo: quiet/libcorrect


text:
Profitability chart for dashboard item pop-up looks very ugly

Are you able to reproduce this consistently? Although I don't see how this could affect anything, does it persist after providing a translation for the hydrogen turbine? Does it happen with a default scenario?
If it's still broken could you provide details of the branches, scenario, and browser being used?
It looks normal to me locally and on beta:

On beta this still doesn't look ideal:

authors: ChaelKruip antw

repo: quintel/etmodel


text:
CCUS for waste incineration should be added to the investment table

The investment table now only includes the waste incinerator and waste CHP without CCS:

We are maybe removing this investment table: https://github.com/quintel/etmodel/issues/3781
Let's remove deploy September 2021. Don't you think @redekok Roos?

Do you know when the investment table will be removed @MartLubben? It's just a minor effort to update it so I wouldn't mind fixing that before the deploy.
What are your thought on this @mabijkerk ?

As I understood from Mart it is not yet fully clear what will happen with the investment table. It might be decided that it will stay in the model. If @MartLubben agrees and you have time to pick this up @redekok then that would be great!

Unfortunately by now I don't have any time to pick this up anymore anytime soon. Perhaps @Charlottevm or @MartLubben could help out here?

authors: MartLubben mabijkerk redekok


text:
Revert SavedScenario to older version through the API

Add the ability to revert to an older version of a SavedScenario.
Possible solution: when making a PUT request with a scenario_id present, and this id is present in the history, we revert to this scenario. This will erase all of the 'future' after said scenario without any possibility to get it back. To ensure  users don't revert on accident, we could add an extra parameter revert_to instead, or as a compliment.
References quintel/etengine#1320

I think this one is still on the wishlist!


text:
[Future-Proofing] - Better replication of API calls

When writing the library I started with replicating all of the headers sent in the requests, when experimenting I found out all I needed to send in the headers was the authorization header, so when I made the library for simplicity that's all I included. With this, the developers could easily distinguish packets from from the actual app and Lapsepy just by checking something as simple as the user agent. The device ID is also sent so I'm not sure how spoofing that will work, though users could probably use their own unique ID with few modifications to my LapseRefreshTokenSniffer project.

Still needs better replication on other endpoints, but since most of it is done in sync-service, this is enough for now.

repo: quintindunn/lapsepy


text:
puppets bunker superior sharp turn incorrect callout

Description
During the Puppets bunker's split boss with the three superior flight units, in the 2nd half of the fight the callout for the "Formation: Sharp Turn" ability was incorrect. It said to move outside when the safe spot was actually on the inside. At that time 1 of the three flight units was already destroyed.
Its possible that the skill IDs we used are simple wrong for inside/outside, or perhaps something changes once one of the bosses dies. I've attached the log file which has the incorrect prediction. The 2nd use of Formation Sharp Turn should have said "inside" (I didn't capture screen footage of this unfortunately).
The first outside callout was correct, and I know I've had correct callouts for inside vs outside in the past. I suspect that the root cause is the death of one of the three units.
Additional information
puppets-bunker-inside-outside.tar.gz

we might want to revert this to just a warning about an upcoming sharp turn for now.

Perhaps heading is enough. I'd have to check. I think that it was caused by one of the three units being dead but not precisely sure how that impacted it yet.

repo: quisquous/cactbot


text:
loading forever

ned model is running in forever loop its not giving any output just stuck between loading embeddings and done prompt

Without a more detailed error message, it is not possible to solve your problem.
It is likely that some sub-process has terminated due to some problem and the error log is not propagated from the sub-process.
In order to repeat the computation in single process mode, set all the _PROCESSES configuration variables to 0.
Example:
https://github.com/qurator-spk/sbb_ned/blob/master/qurator/sbb_ned/webapp/de-config-debug.json
Then, you should observe some error message that can help to finally solve the underlying problem.

i made said changes in config file now getting this error
*

**

Could you provide your config file?

I'm using this file
https://github.com/qurator-spk/sbb_ned/blob/master/qurator/sbb_ned/webapp/en-config.json

There were some entries missing in that file. I added the missing entries.
Could you update the file and retry?

authors: Ashbajawed labusch


text:
set locale of moment.js

It would be great to expose a prop to set the locale

I never thought about that, this is a good point

@chollier , what is the status of supporting locale? More specifically, i'm interested in being able to translate like 'june 12' and the week days. This is a great project by the way. Thanks for that.

@andrerpena , I made a fork of the project and translated it to pt-br, but it is hardcoded for now.

authors: andrerpena chollier ipy jneto

repo: quri/react-bootstrap-datetimepicker


text:
functionality for permuting tensor product order of Qobj

This pr addresses issue #95. It creates a function permute which permutes the subsystem order of composite Ket, Bra, and Operator objects.
A new file src/qobj/tensor_functions.jl was created to store tensor-related methods.

I believe I addressed all of the comments with this PR, the implementation is totally different. Thanks to @albertomercurio for pointing out a much cleaner way to address this.

Great! You have to include the missing docstrings in the documentation. Could you also format the documents you changed?

I will clean up this PR today, I also remembered I need to add tests for error handling.

Great, everything seems fine, except for documentation and format checking. Can you add the function in the documentation, and formatting all the changed files?

yes! I totally omitted those two issues.

BTW, can you remove the JuliaFormatter dependency? We don't need that. You can format the code by just using JuliaFormatter from another environment (or just calling Format Document from vscode)

@aarontrowbridge
I have added some comments above.

@ytdHuang thanks! I saw, but I came down with something yesterday and have been rather under the weather.  I will try to resolve everything today

@aarontrowbridge
Thank you for addressing all the comments.
I saw you moved back the tensor and kron functions. But seems that you didn't delete the qobj/tensor_functions.jl file.


text:
Add info to readme on how to use

This adds basic information to initialize a Qobj from a CuPyDense array

Pull Request Test Coverage Report for Build 1138269199

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 87.821%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/qutip_cupy/init.py
2
3
66.67%

Totals

Change from base Build 1127753560:
-0.2%

Covered Lines:
274

Relevant Lines:
312

💛  - Coveralls

repo: qutip/qutip-cupy


text:
🛑 Adguard Home DoT is down

In a1bd1d6, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in a1b4202.

repo: quyleanh/upptime


text:
🛑 Adguard Home DoT is down

In 50f1b3f, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 3b012f9.


text:
🛑 Adguard Home DoT is down

In 32d28b8, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in efbf4f8 after 135 days, 9 hours, 19 minutes.


text:
🛑 Adguard Home DoT is down

In 3ee3ac6, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 10192a9 after 23 minutes.


text:
🛑 Adguard Home DoT is down

In 169adb7, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in b3a6004 after 23 minutes.


text:
🛑 Adguard Home DoT is down

In 17c889c, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 1537047 after 7 minutes.


text:
🛑 Adguard Home DoT is down

In 97795b1, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in daa0c16 after 7 minutes.


text:
🛑 Adguard Home DoT is down

In c815d45, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 23ebd70 after 7 minutes.


text:
[📖]In the instructions for installing the styled kit, highlight that the "Make it yours" button is on the current page

Suggestion
On this page: https://qwikui.com/docs/styled/install/
It states Click on "make it yours" in order to customise the theme.
It wasn't immediately obvious to me that this is a button in the top header.
For people who are a bit slow like me, is it worth explicitly stating Click on "make it yours" in the header section of this page or similar?

Agreed, up for a PR? 😁

authors: drk-mtr maiieul

repo: qwikifiers/qwik-ui


text:
Fix header space

This fix works now but it's not perfect. Depending on the content and wrapping of multicols, the gap can still slightly vary. How can I fix it more reliably?

It's fine. In the rewritten rule book, we just used vspaces (sometimes conditionally) to fix those.

authors: qwrtln tomaas-zeman


text:
Unit test that fails: expect_error(filter(chondro, spc > 250))

https://github.com/r-hyperspec/hySpc.dplyr/blob/6ae23ea0883f0984e304341647ea8cfe8a798c1a/R/filter.R#L78

I suggest accepting #18 before fixing this issue.

fixed by 131c7dbe

authors: GegznaV cbeleites


text:
Parameter groups that are more than just tensors?

Should we make sure that our logic is able to handle parameter groups that are more than a single tensor? For example if I defined a "parameter group" to be both the weight and the bias in a feed forward layer (because I want to get a bit of boost from using a larger file or because I don't want them to be changed independently) our code could be able to hash, serialize, save, etc this collection of tensors as a single group?
We already have something similar in how updates with multiple values are serialized. This shouldn't be too difficult to implement with something like jax's tree_map abstraction.

I really like the abstraction of "parameter group is a single tensor". Apart from convenience in terms of grouping things in other semantically-meaningful ways, is there any other benefit?

I didn't have a clear use-case, was just thinking about how one review asked how the groups were identified. That is part of the checkpoint plugin so technically it is currently user-overrideable.
Also some of the update classes processes dicts instead of single tensors (i.e. the two matrices in LoRA or the index and value in sparse updates) which have special code to deal with that. If all code could transparently do that it could simplify things.
I was mostly posting to see if someone else had a good use-case for it lol.

repo: r-three/git-theta


text:
Script don't download with and after lectures with /

Hey @r0oth3x49
I just noticed something.... There are a few courses, where has a / on lectures name, the script can't download the lecture with the /  neither any lecture after it, even if I use the flag '--lecture-start' to get the lecture after it..
It returns this error

Traceback (most recent call last):
File "udemy-dl.py", line 1441, in  main()
File "udemy-dl.py", line 1437, in main udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 510, in course_download lecture.dump(filepath=filepath, unsafe=unsafe)
File "F:\Udemy\udemy-dl\udemy_shared.py", line 253, in dump with open(filename, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory:

Cheers =)

@tofanelli please do follow Issue Reporting guideline i cannot fix the issue until unless i don't understand what the root cause is and what is the url etc...

@r0oth3x49 do you have an email address where I can send you more data?

@tofanelli yeah. you can email me


text:
Add ActiveDirectoryServicePrincipal authentication mechanism

Feature Request
Add ActiveDirectoryServicePrincipal authentication mechanism

Duplicate of #234


text:
🛑 Pet Project is down

In 6d491fe, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in 9dfa24b.


text:
BFF code cleanup.

Inorder for me to make changes to talk to the new API, I felt the existing code/setup needs some cleanup. In that process I had made the following changes.

Created vagrant configuration so that we can run grafana with blueflood finder code pointing to local blueflood run.
Added logging capability. I cant deal with print statements.  Also figured out a way to enable these logs in staging/prod servers.
Fixed the current enum bug that exists in prod while populating drop down for enum metrics.
Organized dependencies(setup.py, test_requirements.txt).
Wrote brand new tests to capture the behavior of finder for various scenarios.

I learned a little bit about the grafana server setup that happens with the heat template. I had documented all that info. I would appreciate if you can review the wiki as well along with this.
[https://one.rackspace.com/display/cloudmetrics/Blueflood+Finder+grafana+server+internal+details](Grafana server setup with blueflood finder)

Other than clarifying my vagrant question, lgtm.

me too... looks good other than the logging clarifications.

authors: ChandraAddala shintasmith usnavi

repo: rackerlabs/blueflood


text:
1.0.0-beta3 Nested route with params(and without) issue

I use route setup like this
<Route component={CoreLayout}>
    <Route name='home' path='/' component={HomeView} />

    <Route name='user-info' path='user/:id' component={Profile} />
    <Route name='about' path='about' component={AboutView} />

    <Route name='dashboard' path='dashboard' component={DashboardView} />
    <Redirect from='/admin' to='dashboard' />
  </Route>

Everything works fine except 'user/:id' path, and just any route like 'path/path' (when there is slash in path string). Server always returns 404.
Tried without params, just something like path='/user/profile', still no result.
Tried nesting them like
 <Route name='user-info' path='user' component={UsersView}>
     <Route path='profile' component={Profile} />
</Route>

Where users view was just a container that rendered {this.props.children}.
Maybe anyone have some tips about what might be the problem? Or maybe i'm missing the point?

This issue stemmed from use with my react-redux-starter-kit, and I believe it was just caused by the webpack dev server not handling the routes correctly, and has been fixed here: https://github.com/davezuko/react-redux-starter-kit/commit/e29692c33871e9339834308fcdc9af6ded88a203.
Hopefully that clarifies things for the react-router authors, as it's probably just a non-issue.

sounds like its not us, let me know if otherwise

authors: davezuko ryanflorence zoilorys

repo: rackt/react-router


text:
Dump to zarr fails partway through

I've tried dumping to zarr several times with repeatable failures, e.g.:

In [9]: cube = SpectralCube.read('G327.29_B6_spw3_12M_h2co303.image/', format='casa_image')
WARNING: StokesWarning: Cube is a Stokes cube, returning spectral cube for I component [spectral_cube.io.core]

In [10]: cube
Out[10]:
DaskVaryingResolutionSpectralCube with shape=(147, 784, 1080) and unit=Jy / beam and chunk size (7, 56, 72):
 n_x:   1080  type_x: RA---SIN  unit_x: deg    range:   238.242362 deg:  238.325221 deg
 n_y:    784  type_y: DEC--SIN  unit_y: deg    range:   -54.636348 deg:  -54.601548 deg
 n_s:    147  type_s: FREQ      unit_s: Hz     range: 216331601824.006 Hz:216367735320.595 Hz

In [11]: cube = cube.rechunk(save_to_tmp_dir=True)
Illegal instruction (core dumped)

and
Beginning field W43-MM2 band 6 config 12M line sio spw 1 suffix .image
WARNING: StokesWarning: Cube is a Stokes cube, returning spectral cube for I component [spectral_cube.io.core]
Saving to tmpdir
[#######                                 ] | 19% Completed |  1.3sIllegal instruction (core dumped)

This issue may be solved by changes to default chunk sizing.  I'm closing this for now but it might be a real issue.

repo: radio-astro-tools/spectral-cube


text:
Avoid samp obs

Use of observation class to pass sampling options to fits writer

avoid astropy versions >6.1.0

repo: radionets-project/pyvisgen


text:
REQUEST: New membership for sk593

GitHub Username
@sk593
Requirements

[x] I have reviewed the community membership guidelines
[x] I have enabled 2FA on my GitHub account, see https://github.com/settings/security
[x] I have subscribed to the Radius community Discord server
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more Radius repositories

List of contributions to the Radius project

/radius: APPROVER
Authored ~120 PRs
Opened ~50 issues
Key areas of work: Recipes, Bicep extensibility, Portable Resources, CLI, Terraform

/bicep-types-aws: MAINTAINER
Refactored a lot of the repository code and workflows: https://github.com/radius-project/bicep-types-aws/pull/43
I have also opened issues for errors in our workflows and PRs that I would like to fix, but would need maintainer-level status to do: https://github.com/radius-project/bicep-types-aws/issues/61

AB#13500

+1

+1

+1 to both

authors: rynowak sk593 sylvainsf willtsai

repo: radius-project/community


text:
🛑 GPS Receiver API is down

In dc5acf2, GPS Receiver API (http://tracker.ace-energy.co.th/receiver/api/v1/health) was down:

HTTP code: 504
Response time: 15033 ms

Resolved: GPS Receiver API is back up in 71071d7.

repo: radiuszon/upptime


text:
global scope

https://github.com/radix-ui/themes/blob/39f5a438db0d8496134d4bc35d71899fee1b2562/packages/radix-ui-themes/src/styles/tokens.css#L8C16-L8C16
These tokens should be in :root namespace.

Not sure I follow, is there a reason they need to be in the root namespace?
If they are placed in the root namespace then nesting of theme scaling wouldn't be possible.
Take a look at this example which shows the ability to do nested scaling:
https://codesandbox.io/s/intelligent-framework-2xqjp8?file=/src/App.tsx
Note: The sizes are a little difficult (they look similar), but if you right click and view the actual font-size of the headings, you'll see the difference

agreed.

I'm a bit confused... Shouldn't I be able to set --scaling: 2 anywhere in the dom and for all nested values to use this scaling value.
:root {
  --scaling: 1;
   --spacing-5: calc(2rem * var(--scaling))
}

.my-node {
  --scaling: 2
}

why is my-node scaling not applying to child elements... Am i missing something

authors: jd-carroll magicspon needim

repo: radix-ui/themes