text:
[BUG] logs spamming with messages invalid customized default setting ...

Describe the bug
Longhorn manager logs are full of messages like:
[longhorn-manager-6nv6p longhorn-manager] time="2022-10-20T22:45:27Z" level=error msg="invalid customized default setting priority-class with value system-cluster-critical, will continue applying other customized settings" error="fail to set the setting priority-class with invalid value system-cluster-critical: cannot modify priority class setting before all volumes are detached"
...

[longhorn-manager-b5452 longhorn-manager] time="2022-10-20T22:45:55Z" level=error msg="invalid customized default setting taint-toleration with value task.mining/cpu=present:NoSchedule; nvidia.com/gpu=present:NoSchedule, will continue applying other customized settings" error="fail to set the setting taint-toleration with invalid value task.mining/cpu=present:NoSchedule; nvidia.com/gpu=present:NoSchedule: cannot modify toleration setting before all volumes are detached"

It appears every 30s which is the same as the resync of the kubernetes_configmap_controller.
This error is misleading as the settings already took effect but Longhorn is still spamming the errors every 30s resync period here
To Reproduce (untested yet)

Install Longhorn v1.3.1
Changing taint-toleration setting
Create some volumes and attach them
What the log spamming every 30s

Expected behavior
misleading errors shouldn't be there
Environment

Longhorn version: Longhorn v1.3.1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.22.12+rke2r1

cc @derekbit @shuo-wu

Duplicate https://github.com/longhorn/longhorn/issues/4554
cc @weizhe0422

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
[FEATURE] Support replica-zone-soft-anti-affinity setting per volume

Is your feature request related to a problem? Please describe (👍 if you like this request)
Longhorn has several global volume settings; one example is replica zone soft anti-affinity. We should make this kind of global setting also volume-specific to override the global behavior.
UPDATE: also need to add replica soft anti-affinity setting
Describe the solution you'd like
A clear and concise description of what you want to happen
Describe alternatives you've considered
N/A
Additional context
Adopt the same way from the recent volume-specific settings like UnmapMarkSnapChainRemoved which is also bool.

@ChanYiLin as discussed, let's create a ticket to make all volume-specific settings that have a corresponding global setting to follow the same value pattern.

@innobead
I have created the ticket here: https://github.com/longhorn/longhorn/issues/5886

Hi @smallteeths
This issue needs UI support and the milestone is 1.5.0, thanks!
So we are adding two new fields to volume creation api

ReplicaSoftAntiAffinity: string; value: ignore, disabled, enabled
ReplicaZoneSoftAntiAffinity: string; value: ignore, disabled, enabled

Thanks!

Hi @smallteeths
Sorry forgot to mention that
After volume creation, we also need to allow user to update this two field in this drop down menu
Thanks

Hi @ChanYiLin,
I tested the setting value on both UI and CLI, they can be set and have distinctive value.
But can you help me to clarify below behavior is correct?

In a 3 nodes cluster, tag two nodes to topology.kubernetes.io/zone: lh-zone1,  the rest node to topology.kubernetes.io/zone: lh-zone2
Create a 1 replica volume which  replicaSoftAntiAffinity: ignored, replicaZoneSoftAntiAffinity: enabled
Attach volume to node, make sure replica is located on lh-zone1
Increase replica count to 2
In my environment, the new replica locate on node labeled with lh-zone2, follow instructions from UI the new replica should located on the same zone with the healthy replica? or it's not mendatory, thank you.

supportbundle_94691f35-d2b4-42d6-bb59-26f1869772c6_2023-05-30T05-02-37Z.zip

replicaZoneSoftAntiAffinity: enabled
enable only means they can be placed in the same zone
but not force them to be in the same zone

Verified pass in longhorn master (longhorn-manager 023dd3, longhorn-ui 5219e4) with test steps

Volumes have distinct setting value of replicaSoftAntiAffinity and replicaZoneSoftAntiAffinity, those values can be modify from both CLI and UI
Functionality of replicaSoftAntiAffinity, replicaZoneSoftAntiAffinity on volume followed the setting value and worked properly

authors: ChanYiLin chriscchien innobead

repo: longhorn/longhorn


text:
include 不支持通配符？

include:['*.js',"*.png","*.jpg","*.css"]

抱歉 原来支持正则

@LItterBoy-GB 请问下include怎么使用啊，我需要把与src同级得static文件夹下得所有文件上传到cdn

现在时这个插件只会上传asserts里面的静态文件

看看你  asserts 与 static 的目录层级关系

@LItterBoy-GB 谢谢

@markflyfly

可以看出他是在的 assert 下查找需要上传的文件   也就是上传的时候webpack 打包的资源   主要原因也是因为只有经过webapck 打包的资源才会去替换掉它的资源 url

那也就是不经过webpack处理的静态资源无法使用此插件？

@markflyfly   不是说无法使用 而是 不经过webpack 打包的静态资源 就算上传了   浏览器在请求的时候 它走的也不是七牛云的存储空间
不过呢也是有方法处理的   自己写脚本（也可以在此插件的基础上 增加 上传文件的目录）将静态提交
然后后台在接收到静态资源请求的时候统一进行 url重定向  将资源请求重定向（重定向还是转发你可以视情况而定）至七牛云（此种方式将导致http请求数增多）

这种方式处理不太好，那还是将外部static挪到asserts目录下引用吧

@markflyfly  可以啊  都经过webpack 打包

authors: LItterBoy-GB markflyfly

repo: longtian/qiniu-webpack-plugin

license: MIT


text:
CAS authentication

Profile, edit profile, and search pages should only be viewable to authorized users.

Created if statement to check if a user is already defined, if not the user will go to the create account page else the user will routed to the home page.

Stil need to fix, checking the database for existing users.

authors: crleekwc tallasgoo

repo: looking-for-game/looking-for-game


text:
A link label is not parsed as shortcut reference when followed by a link label without a reference

See https://spec.commonmark.org/0.30/#example-570

The corresponding unit test is testfiles/CommonMark_0.30/links/090.test:
%   ---RESULT--- "example": 570,
%
%
[foo]bar

%
%   ---\RESULT---

<<<
[foo][bar][baz]

[baz]: /url1
[foo]: /url2
>>>
documentBegin
BEGIN link
- label: bar
- URI: /url1
- title:
END link
documentEnd

Here is the result of running git checkout commonmark; cd tests; ./test.sh "testfiles/CommonMark_0.30/links/090.test":
Testfile testfiles/CommonMark_0.30/links/090.test
  Format templates/plain/
    Template templates/plain/input.tex.m4
      Command pdftex   --shell-escape                  --interaction=nonstopmode  test.tex
*** test-expected.log	2022-12-22 11:50:49.168027819 +0100
--- test-actual.log	2022-12-22 11:50:56.007968576 +0100
***************
*** 1,6 ****
  documentBegin
  BEGIN link
! - label: bar
  - URI: /url1
  - title:
  END link
--- 1,6 ----
  documentBegin
  BEGIN link
! - label: baz
  - URI: /url1
  - title:
  END link

The issue seems related to the PEG patterns for parsing direct and indirect links and images (1, 2), which use the rules for Gruber's Markdown (3, 4) rather than CommonMark (5, 6).

authors: Witiko lostenderman

repo: lostenderman/markdown


text:
[IOS] Module map files not found when upgrading to v6

Description
I'm trying to upgrade from v5 to v6 and got this issue when running iOS debug mode (it also happened when trying to build a release too) .  A lot of module map files haven't been found.
Do anyone know what issue is?
module map file '.../Build/Products/Debug-iphonesimulator/FirebaseCoreInternal/FirebaseCoreInternal.modulemap' not found
module map file '.../Build/Products/Debug-iphonesimulator/FirebaseCrashlytics/FirebaseCrashlytics.modulemap' not found
module map file '.../Build/Products/Debug-iphonesimulator/lottie-ios/Lottie.modulemap' not found
module map file '.../Build/Products/Debug-iphonesimulator/lottie-react-native/lottie_react_native.modulemap' not found
module map file '.../Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap' not found
Command SwiftGeneratePch emitted errors but did not return a nonzero exit code to indicate failure
Steps to reproduce
Change from v5 to v6
Snack or a link to a repository
None
Lottie React Native version
6.7.2
React Native version
0.74.5
Platforms
iOS
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Acknowledgements
Yes

Sorry this is not related to lottie. As you can see here and here builds are working on CI with different xcode versions. There might be some problems with your environment. If you can reproduce this in a separate reproducible project let us know. Closing this for now as it's invalid.

repo: lottie-react-native/lottie-react-native


text:
Add lightweight-charts in Reflex

Description
Could you create a lightweight-chart wrapper for Reflex? 🙏
Code example
No response
Method of implementation
No response

YO you can adapt in what ever you want with cursor. I put to work in Django running flawless

@cilindro5432 can you give a bit more details please on how you made it work with Django using lightweight-charts-python?

authors: Jaldekoa cilindro5432 thirlec


text:
Calendar doesn't include repeating events from Google Calendar

For example, the Build Guild calendar has a repeating event on 2015/01/20, but it doesn't show up in June.

I started working on this. The npm module we're using doesn't support RRULE, so I'm looking at the ical module. There was a bug with the recurrences, but I've got a patch out to them.

license: mit

license_source: bigquery


text:
/oauth/login endpoint does not set refresh token

What:
When /oauth/login endpoint is enabled by "enable-login-handler" only the access token is added as a cookie.
The refresh token is ignored and only returned inside the body of the response.
The problem with this that the refresh token from the body cannot be used to refresh the access token.
This is because the refresh token is not getting stored in redis even if store-uri parameter is set.
Also the client cannot set the cookie from the response body as a cookie since that needs to be encrypted.
Reference:

KEYCLOAK-11284 - /oauth/login endpoint does not set refresh token

+1 for this. The documentation doesn't specify that refresh token is ignored completely when using /oauth/login (refresh token is not stored will not be stored in cookie or redis). Only when looking at the source code in handlers.go that you know the refresh token is ignored.
A temporary solution for this problem is to modify the code in handlers.go. The loginHandler doesn't have the code to store Refresh Token. oauthCallbackHandler on line 175 contains the code for storing refresh tokens. You can copy and put in loginHandler with a little bit of modification and it should be ready to be built and used. I have tested on my docker and seems that it works as expected.

authors: abstractj johnhieu

repo: louketo/louketo-proxy


text:
文件无法拉取

/06-DB数据/Mysql/MySQL十大经典错误案例.md
文件名中存在特殊字符，导致无法clone

哪里提示的存在特殊字符？我这边clone没有问题。

MySQL十大经典错误案例.md
文件名，我这边拉取的时候，案例后面存在一个特殊字符，win10系统下无法通过小乌龟拉取至本地

正常的吧，windows 推荐你下载一个git客户端 https://gitforwindows.org/。

authors: Schog loveincode

repo: loveincode/notes


text:
File missing sharp.node'

Module not found: Error: Can't resolve '../build/Release/sharp.node' in the following files:
utility.js,
output.js,
input.js ,
constructor.js

Hello, are all of the prerequisites  installed? Are any errors reported when npm install sharp is run?

Yes I did not install all the prerequisites with the new version; after installing it worked.
I think the reason why I had the files initially is because a older version does not depend on the dependacies.
Thanks for the help :-)

authors: lovell pgengel

repo: lovell/sharp


text:
Instalation error via git

I'm trying to install beautysh via git. I used those commands:
git clone https://github.com/lovesegfault/beautysh
cd beautysh
python setup.py install

I get this error code:
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup
ImportError: No module named setuptools

You must install setuptools for your system.

Could it be added that this package should be installed in the README file?
sudo apt-get install -y python-setuptools for Debian distributions and sudo pacman -Sy python-setuptools for Arch distributions.

I think that's out of scope for our docs, since any python package will require setuptools.
The next user who hits this will, hopefully, find this issue and the solution :)

authors: TheRussianHetzer lovesegfault

repo: lovesegfault/beautysh


text:
Remove (empty) Verible waiver file

The recent versions of Verible that I've tried die when they are given an empty waiver file. The error message is "Fatal error: Broken waiver config handle". I can't see a way to add a comment ("// No waiver" or similar), so I think the best way to keep everything alive is to delete the empty file.
(This is motivated by trying to get a separate change that I was working on to pass CI. The first step was to reproduce the CI lint check that was failing for it!)

Thanks @rswarbrick! I just ran into this issue in lowRISC/opentitan#19426.

source: gharchive/pull-request

authors: dmcardle rswarbrick

repo: lowRISC/ibex


text:
[rv_dm] V2 + V2S tests back to 90% pass rate

V1 tests all pass 90% except

[ ] rv_dm_csr_bit_bash: 4/5

V2 tests all pass 90% except

[ ] rv_dm_stress_all: 0/50

V2S tests all pass 90% except the uncovered testpoints listed below
uncovered testpoints:

[ ] sec_cm_bus_integrity
[ ] sec_cm_lc_hw_debug_en_intersig_mubi
[ ] sec_cm_dm_en_ctrl_lc_gated
[ ] sec_cm_sba_tl_lc_gate_fsm_sparse
[ ] sec_cm_mem_tl_lc_gate_fsm_sparse
[ ] sec_cm_exec_ctrl_mubi
others covered by issues in effort estimation doc

estimate 4

Looking at the current nightly results (https://reports.opentitan.org/hw/ip/rv_dm/dv/latest/report.html) there are a number of failures in rv_dm_csr_mem_rw_with_rand_reset and rv_dm_tap_fsm_rand_reset. Both of these mix other tests with the stress_all_with_rand_reset sequence which is well known to break things as other sequences often cannot handle arbitrary design resets at any point. From a quick look at some failures the design looks to be functioning correctly and it's a UVM sequence that is acting oddly leading to the test failure (in a typical case the JTAG TAP will be continuously driven through the test-logic-reset state, the JTAG FSM is working correctly, the stimulus just isn't doing any other than that).
There are sporadic failures in rv_dm_bad_sba_tl_access and rv_dm_autoincr_sba_tl_access. A detailed investigation hasn't been conducted but these are likely testbench issues (a brief look at waveforms from failures shows the design working suitably given the stimulus). Furthermore neither related to critical rv_dm functionality.
There is no V2S related testing at present.
Given the V2.5 waiver the current regression results look acceptable for M2.5.2
@msfschaffner any other thoughts?

Hi @GregAC, I think it is ok to postpone this item, given that the blocklevel is not even at V2 yet.
We make up for the missing blocklevel testing via our directed top-level tests that cover the use cases that we are interested in.
CC @moidx

Most of the test issues seem to be resolved. Moving to M5 carry over remaining work.

I'm feeling pleased after hacking on the stress all test all day. And I just got 32 passes in a row on my work branch!
It should hopefully be sorted once #23744, #23746, #23747, #23750, #23752, #23754 and #23755 are merged.
The timing changes needed for the other two tests are merged, so hopefully they will be ok in the next nightly.
Still to do: implement 6 countermeasure sequences...

I'm pleased to say that things are pretty solid now. The V1 and V2 tests all passed last night with a high sucess rate (all zero except for stress_all, which was 94%). As such, I claim that the "back to" bit of this issue is definitely addressed.
There is one missing V2 testpoint, which is tracked in #17034 (so doesn't really need tracking here as a duplicate).
Similarly, there are several V2S testpoints that are not implemented. This is tracked in #23721.
The uncovered testpoint items in the description are tracked in a different place. The success rate is over 90% as requested, so I'm happy that this can be closed.
(Note that this won't have an impact on milestone items: this is in the M5 milestone, the two items that we're punting to are on the same milestone)

authors: GregAC johngt moidx msfschaffner rswarbrick

repo: lowRISC/opentitan


text:
[DO NOT MERGE] - Add some pwrmgr exclusion tags

I am not sure if I added the right ones, but at least I attemp to
explain why certain things are excluded.

Signed-off-by: Timothy Chen timothytim@google.com

Thanks @tjaychen for making this PR. I have added them into #2065 with some modifications.

thanks @weicaiyang

authors: tjaychen weicaiyang


text:
[flash] Add support for flash info pages

Adds flash info page support and updates sanity test and basic libraries

This PR will need a lot of rebases to address various things that are in the pipeline, so it would be nice for now to just review this portion.

I've only looked at the commit you pointed at, and only have a few minor comments so far.

thanks for the review @msfschaffner. Let me know if this makes sense to you overall.  The flash_mp section I think could change drastically in the long run depending on software feedback.
And yes..i am famous for my enbales, i do that a lot...

you are right, both this and the upper should be parameters coming from
top_pkg.sv...or something top-ish.
On Thu, May 21, 2020 at 4:14 PM Chris Gori notifications@github.com wrote:

@cdgori commented on this pull request.
In hw/ip/flash_ctrl/rtl/flash_ctrl_pkg.sv
https://github.com/lowRISC/opentitan/pull/2240#discussion_r428963717:

localparam int WordsPerPage    = top_pkg::FLASH_WORDS_PER_PAGE;  //Number of bus words per page
localparam int BytesPerWord    = top_pkg::FLASH_BYTES_PER_WORD;
localparam int BankW           = $clog2(NumBanks);
localparam int PageW           = $clog2(PagesPerBank);
localparam int WordW           = $clog2(WordsPerPage);
localparam int AddrW           = BankW + PageW + WordW; // all flash range
localparam int BankAddrW       = PageW + WordW;         // 1 bank of flash range

localparam int DataWidth       = BytesPerWord * 8;

localparam int DataWidth       = 64;

Is this going to be fixed for this implementation of the flash controller?
Or should this be a param too?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2240#pullrequestreview-416552944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSRT64BRNDGDLN3M3L3RSWYVLANCNFSM4NALWAKA
.

rebased and ready for full review! @cdgori i will add the parameters shortly to address the things you pointed out.

thanks @lenary ! don't worry, just click approve :)

LGTM - see the one comment about $clog2 but I think it's ok?

yeah i'll fix that one separately.


text:
[i2v,dv] Move TP:target_error_intr / i2c_target_unexp_stop to V3

This test is currently broken, and the feature is unused by any test software, and only has a cursory mention in the programmers guide. It's purpose was to detect invalid bus driving by the I2C-Controller, when a STOP condition was received at an earlier point that expected during a READ transfer. This is valid I2C bus behaviour, but likely an unexpected early-termination of a transfer.
In short, I believe the logic to generate this IRQ is no longer functional due to the addition of the multi-controller arbitration logic. A comment was made to this effect in the code at the time.
https://github.com/lowRISC/opentitan/blob/44d2f94d7b73b6bdcc85e1bac190bd00e243c160/hw/ip/i2c/rtl/i2c_core.sv#L487-L489
I tried to fix this test as part of #23987, at which point I realized it was unfixable as described in the testplan.
I think this testpoint may possibly be re-written to confirm we can identify an unexpected STOP condition via the arbitration-lost signalling that was added for multi-controller support. But it may end up getting dropped altogether. Either way, this is a feature that has limited uses outside of error detection, and is not used anywhere in our test software. For now, move it to V3.
A fuller description of the problem can be found in this issue : <LINK>

All CI has completed minus some CW310 tests, and since this is a doc-only change, I'm going to merge now.


text:
opentitantool: implement spx signature verification

This patch adds code verifying SPX+ signature of OT binary images, when requested. Some refactoring was required to reflect the fact that an image could be signed with either one or two keys.
Tested by successfully running 'opentitantool image manifest verify --spx <rom_ext.bin>'.

Closing a hole left after #18496 was marked fixed, makes it possible to validate both main and optional TO image signatures.

fixed a problem in the pre-push script, updated the source code.


text:
Update lowrisc_ibex to lowRISC/ibex@54985d21

Update code from upstream repository
https://github.com/lowRISC/ibex.git to revision
54985d21b055967c39d0a77b45ae0d573b55b0f7

[rtl] Fix counter reset value on FPGA (Pascal Nasahl)
[ci] remove Azure Pipelines (Gary Guo)

CHANGE AUTHORIZED: hw/vendor/lowrisc_ibex/rtl/ibex_counter.sv
This PR touches RTL that is only used in the FPGA configuration. This is okay.

CHANGE AUTHORIZED: hw/vendor/lowrisc_ibex/rtl/ibex_counter.sv
This PR touches RTL that is only used in the FPGA configuration. This is okay.

@nasahlpa the FPGA bitstream is failing, would you mind checking if your changes are causing the error?

@nasahlpa the FPGA bitstream is failing, would you mind checking if your changes are causing the error?

This will be resolved once https://github.com/lowRISC/ibex/pull/2228 is merged.

I've now merged the other PR in the Ibex repo and you can rebase this one @nasahlpa .

authors: engdoreis nasahlpa vogelpi


text:
[ast] Add Fix AscentLint Errors

Signed-off-by: Jacob Levy jacob.levy@opentitan.org

I checked out this PR locally and ran AscentLint on it.
I got the following messages:
#### Lint Errors

E   IFDEF_CODE:   ast.sv:763   Assignment to 'unused_sigs' contained within `ifndef 'ANALOGSIM' block at ast.sv:762   ast.sv:762    New
-> ok I can waive this

E   CLOCK_USE:   ast.sv:271       'clk_aon' is connected to 'rglts_pdm_3p3v' port 'clk_src_aon_h_i', and used as a clock 'clk_i' at prim_generic_flop.sv:17   prim_generic_flop.sv:1
7   New
-> ok I can waive this

E   CLOCK_USE:   ast.sv:681       'clk_ast_tlul_i' is connected to 'ast_dft' port 'clk_i', and used as a clock 'clk_i' at prim_lfsr.sv:381                    prim_lfsr.sv:381
    New
-> ok I can waive this

E   RESET_USE:   ast.sv:682       'rst_ast_tlul_ni' is connected to 'ast_dft' port 'rst_ni', and used as an asynchronous reset or set 'rst_n' at rng.sv:56
        rng.sv:56                 New
-> ok I can waive this

E   HIER_NET_NOT_READ:   ast.sv:84                 Net 'usb_ref_val_i' in module 'ast' is not read from,                                                            New
-> can you double check this one and add an "unused" signal?

E   HIER_NET_NOT_READ:   ast.sv:84                 Connected net 'usb_ref_val_i' at usb_osc.sv:12 is not read from in module 'usb_osc'             usb_osc.sv:12    New
-> probably this will go away if the one above is fixed

E   INPUT_NOT_READ:   usb_osc.sv:12    Input port 'usb_ref_val_i' is not read from in module 'usb_osc'                          New
-> probably this will go away if the one above is fixed

E   NOT_READ:   ast.sv:373   Signal 'rst_vcmpp_aon_n' is not read from in module 'ast'                 New
-> can you check this one and add an "unused" signal?

E   SAME_NAME_TYPE:   vcc_pok.sv:14      'vcc_pok' is used as a module here, and as a reg at ast.sv:169      ast.sv:169    New
-> as I noted in the email, AscentLint complains about the module and signal having identical names within the same hierarchy. renaming the signal to something else should do the trick.

E   SAME_NAME_TYPE:   vcmain_pok.sv:14   'vcmain_pok' is used as a module here, and as a reg at ast.sv:151   ast.sv:151    New
-> dito.

Fixed the issue of the CI fail,
Will update Michael's comments and update the PR.

authors: Jacob-Levy msfschaffner


text:
Why did you stop working on this impressive body of code?

I really like what you've done here.
I'd love to use and contribute to this.  I worry about using though because it appears you are not really working on it anymore?
Zephyr needs further C++ support (my opinion).
Is there something fundamentally or logically wrong with this library?  You too busy at your day-job or what?

Hey @andygikling sorry for the slow reply, I don't get much msgs here and most of the time I notice them months to late, like yours.

I really like what you've done here.
I'd love to use and contribute to this. I worry about using though because it appears you are not really working on it anymore?

If you want to contribute, feel free to do so,  if I am slow here you could try to ping me on discord (LowLander) or email me directly.  Let me find some time to bring it up to the latest version of Zephyr and toolchain.

Zephyr needs further C++ support (my opinion).

It should just have been written in C++ ;-)

Is there something fundamentally or logically wrong with this library?

Don't think so, some things are tricky (for example trying to avoid dynamic memory allocation, and the massive use of macros in Zephyr) and some ppl have different opinions on if you should just use std:: and not "invent" new things like zpp:: , but that is just a matter of taste I guess.

You too busy at your day-job or what?

Yeah I had some projects where Zephyr + C++ might have been an option, but that kind of went another way, so my focus went to other "pay the rent" kind of work.

@lowlander
I really appreciate your response!
Ok great - thanks for the direction.  I'll test this further and let you know if I have any questions!

@lowlander if stuff like this goes through, then you wouldn't have to invent as much: https://github.com/zephyrproject-rtos/zephyr/pull/43729
A similiar effort from the mbed folks (although of course centered on mbed-os) is the extra cpp support for different compilers https://github.com/ARMmbed/mbed-os/tree/master/platform/cxxsupport
and Thread stuff, but centered on their cmsis code https://github.com/ARMmbed/mbed-os/blob/744814f0a00ef94b6677942a5e0b298fe5b66db0/rtos/source/ThisThread.cpp

@jrobeson std::thread and std::mutex, all have less functionality than Zephyr offers, for example stack size, time outs, etc. so then you end up with the question how to add that , because adding it to std:: makes it not std:: anymore.  So my choice was not to start with std:: at all, of course that also has disadvantages. (seems the mbed ppl made the same choice with mstd::)
Another big difference is error handling , std:: needs exceptions, I didn't want that, so I experimented with other ways of error handling (not always easy when wanting the RAII concept)

providing nicities on to of threads (and others) is nice.  I hope that it can somehow be interoperable when zephyr does add support for `std::thread' though.
As far as  mbed goes, those folks didn't wanna create a whole new target and provide a toolchain like zephyr does. They also explicitly supported arm clang, iar, and other compilers, so it wasn't even reasonable for them to try.

@jrobeson std::thread and std::mutex, all have less functionality than Zephyr offers, for example stack size, time outs, etc. so then you end up with the question how to add that , because adding it to std:: makes it not std:: anymore. So my choice was not to start with std:: at all, of course that also has disadvantages. (seems the mbed ppl made the same choice with mstd::)

What about std::timed_mutex as he's offering timeouts etc., those capabitlies? can we assume std::thread and std::mutex will behave teh same and if timing is required, the timed varinets will supply this capability?

Another big difference is error handling , std:: needs exceptions, I didn't want that, so I experimented with other ways of error handling (not always easy when wanting the RAII concept)

Exceptions are not a must. Look at ETLCPP which avoids exceptions.

providing nicities on to of threads (and others) is nice. I hope that it can somehow be interoperable when zephyr does add support for `std::thread' though.

I really didn't want to do anything  std:: because you would have to be 100% standard conform and that was certainly not doable. Also Zephyr has features that can not easily be mapped to std:: C++.
So not sure what to do with the project, it is of no use when you want to build C++ that was not designed for Zephyr (and uses things like std::thread) so for my own little projects it is fine but of limited use to the zephyr project.
The zephyr project probably will have to create a 100% POSIX threading API to get std:: C++ support without tuning the compiler to much.

authors: ShaharHD andygikling jrobeson lowlander

repo: lowlander/zpp


text:
The online editor does not submit automatically at the end of an exam

Describe the bug
When working on a programming exercise with the online editor, the results are note submitted automatically at the end of the exam.
To Reproduce

Take an exam with a programming exercise.
Work on the exercise with the online editor and don't submit your changes.
Either save your changes or wait for the automatic saving at the end of the exam.
Check the repository with the link, that is shown in the summary. The saved but not submitted changes are missing there.

Expected behavior
Since all other types of exercises are automatically saved, when the exam time runs out, the programming exercises should show a similar behavior. However, since last-minute changes are likely to produce build errors, the desired behavior depends on how the exercise is graded.
Here is one proposal:

At the end of the exam, all unsubmitted changes are submitted into the repository and a build is triggered.
If this automatic submission builds, this is the one, that is graded.
If it does not build and there is a previous submission, that builds, that one will be graded.
If there is no building submission, the automatic submission will be graded (because that is the latest one).

Environment
Firefox on MacOS

This behavior is on purpose. Programming exercises are sensitive to typos. It could happen that students accidentally change something in a file even if they already have 100% and they do not submit it.
If there would be an auto-commit behavior, this could lead to build failed = 0%.

authors: JonasSC krusche


text:
Development: Add workaround for running Jest client tests with IntelliJ debugger

Checklist
General

[x] I chose a title conforming to the naming conventions for pull requests.

Motivation and Context

After upgrading client dependencies, IntelliJ debugger gives error window not defined, and suggests using jsdom test environment.
Description

This PR adds the workaround mentioned here utilizing jest-preset-angular.
Steps for Testing

Try running a client test (either a whole module or a single test) by using the IntelliJ debugger (you can use the green "play button" at the left side of a describe or it call in the code editor.

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Closing because this does not work in all local setups and also breaks tests run on GitHub.


text:
Implement warning when leaving the page and auto-saving when returning

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[ ] Server: I added multiple integration tests (Spring) related to the features
[ ] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[ ] Server: I implemented the changes with a good performance and prevented too many database calls
[ ] Server: I documented the Java code using JavaDoc style.
[ ] Client: I added multiple integration tests (Jest) related to the features
[ ] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[ ] Client: I documented the TypeScript code using JSDoc style.
[ ] Client: I added multiple screenshots/screencasts of my UI changes
[ ] Client: I translated all the newly inserted strings into German and English

Motivation and Context
https://github.com/ls1intum/Artemis/issues/498
Description
When exiting the text editor of text exercises, the given answer would not be saved automatically and changes might get lost. This is solved by saving when the component is destroyed and triggering a browser based warning when the page is refreshed/browser is closed.
Steps for Testing

Log in to Artemis
Navigate to a Course
Navigate to an exercise of type 'text'
Give a text answer and exit w/o saving

Screenshots

Just for the workflow: check all points of the checklist, even if you have crossed them out :-) Otherwise it looks from the outside as if not everything is ready yet.


text:
Development: Improve performance of programming exercise details view

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data (e.g. using paging).
[x] I strictly followed the client coding and design guidelines.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context
The programming exercise details page sent unnecessary requests to the server, which was caused by poor coordination of subscriptions in programming-exercise-detail.component.ts, leading to multiple instantiations and renderings of subcomponents.
Self-contained components (e.g. programming-exercise-instructions.component.ts and programming-exercise-repository-and-build-plan-details.component.ts), therefore, sent multiple requests to the server to retrieve unchanged information (initialized up to 3 times), in other words, unnecessary requests.
Description

Introduced signals and adhered to client guidelines in detail-overview-list.component.ts
Made sure getExerciseDetails() is only called once after all subscriptions are finished onInit, preventing unnecessary rendering steps (this is ensured by using switchMap()
Refactored loadGitDiffReport() to be able to use processGitDiffReport() it in switchMap()
Refactored loadGitDiffReport() to reduce code duplication

Steps for Testing
Prerequisites:

1 Instructor

Create a programming exercise
Open the dev tools and the network tab of your preferred browser (filter for Fetch/XHR)
Go to the details view of the programming exercise
Verify that no requests are sent twice on the initial loading to he page (e.g. test-cases, repository-checkout-directories - will be send out twice right now and will not be addressed further in this PR (still 2 requests less than before), details - exception: it is okay for time to be there multiple times)
Verify that the details view works as expected (e.g. try out the diff view etc.)

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress
Performance Review
Code Review

[x] Code Review 1
[x] Code Review 2

Manual Tests

[x] Test 1
[ ] Test 2

Test Coverage
Screenshots
Duplicated requests before the fix ⚡

With the fix ✅

Summary by CodeRabbit
Release Notes

New Features

Enhanced detail rendering logic for various detail types in the overview list.
Improved handling of Git diff reports for programming exercises, including centralized processing logic.

Bug Fixes

Enhanced error handling during data retrieval, ensuring better user feedback.

Tests

Updated test cases for DetailOverviewListComponent and ProgrammingExerciseDetailComponent to align with new input handling and participation changes.

Refactor

Streamlined dependency injection and component initialization for better maintainability.

@magaupp https://github.com/ls1intum/Artemis/pull/9785#pullrequestreview-2455187269
Good that we caught that in today's testing session, it is now fixed in this commit

Tested on Firefox. repository-checkout-directories seems to be fetched 2 times, with the first time canceled. What's happening there?

@magaupp https://github.com/ls1intum/Artemis/pull/9785#issuecomment-2495966266
Thanks for your test, I have now added it to the testing description - I am not sure why this happens but I will not investigate it further as I have already way too much time on this issue and even for the repository-checkout-directories it is still an improvement from 4 requests going down to 2 requests, where one is even cancelled.
Do you think we should create an issue for it once the PR is merged?

@florian-glombik

Do you think we should create an issue for it once the PR is merged? (Beforehand it might be confusing as there are way more requests send out on the current develop state?)

I don't think it's performance critical. Nothing could wait on it because it's always canceled before it finishes.
Unless this causes any noticeable problems it's purely cosmetic and I wouldn't call it a real issue.

authors: florian-glombik magaupp


text:
Error: spawn python ENOENT

I've search the internet and I understand this problem is to do with the 'PATH' but I do not understand any proposed solutions or what is mentioned in the Auto-Runner FAQ.
I have Windows and Python 3.5 installed, followed by Atom. I used this guide to set myself up to learn Python - https://www.youtube.com/watch?v=uve1tjVIQ6c

However running any code with ALT+ R returns the following-
Unable to find command: python
Are you sure PATH is configured correctly?
ENV PATH: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;E:\quicktime\QTSystem;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Edward\AppData\Local\Programs\Python\Python35\Scripts;C:\Users\Edward\AppData\Local\Programs\Python\Python35;C:\Users\Edward\AppData\Local\atom\bin
Error: spawn python ENOENT
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:441:9)
at process._tickCallback (node.js:355:17)

For what its worth my environment variable for PATH is -
C:\Users\Edward\AppData\Local\Programs\Python\Python35\Scripts;C:\Users\Edward\AppData\Local\Programs\Python\Python35;C:\Users\Edward\AppData\Local\atom\bin

Your PATH needs to include at least one directory with the python.exe binary inside of it. My guess is that none of the directories you listed at the end have the executable in them. You should go into your Python35 directory and look for the python.exe binary (usually in a bin\ sub-directory) and use that path in your environment variable.

Thanks for the reply, I found python application exe at the following directory C:\Users\Edward\AppData\Local\Programs\Python\Python35 should I add this onto the path environment variable?

Yes.

Closing since this is an environment/configuration issue and atom-runner is working correctly.

where is the python.exe binary and where is the environment variable

repo: lsegal/atom-runner


text:
(rook-ceph/konkong) add s3 policy for s3-butler and README.md

this are the policy and the instructions on how to execute ticket IT-5301
this most probably is going to be asked to be replicated, so don't forget about this commits.

Is the flag --access-key --secret-key necessary? I understand the endpoint is Ceph.

i just removed the KEY and SECRET to show this on public


text:
Mount CephFS for the filter node

Please give the filter node access to the shared file system
ubuntu@lasair-dev-filter-0:~$ ls -l /mnt
total 0

Done.

authors: RoyWilliams gpfrancis

repo: lsst-uk/lasair-deploy


text:
Errors in formatting of long emails

When LASAIR emails the results of a query that has a large number of lines there are a number of formatting errors that prevent the links working. There are several different errors from links showing as text, two links on the same line and formatting that changes to bold though this does not appear to stop the links working.
The attached file shows a recent email with the errors. I had to save the email as an open document file as I could not get my email client to print to PDF but the errors are still the same.
Of course the problem may be in the email client I am using rather than the LASAIR output.
Lassair-email-errors.odt

Note: There are also additional spaces in the name for instance ZTF19a abzuib as shown in the attached file.

repo: lsst-uk/lasair-lsst


text:
🛑 lsy223622.com is down

In 157e9d5, lsy223622.com (http://lsy223622.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lsy223622.com is back up in 2bc2f85.


text:
🛑 Mirror-爬 is down

In 0c85107, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 698 ms

Resolved: Mirror-鱼露 is back up in 8e7f59b.


text:
🛑 Mirror-爬 is down

In c654c2b, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 1000 ms

Resolved: Mirror-鱼露 is back up in 4b5a2d7.


text:
🛑 Mirror-爬 is down

In a60f6ea, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 1348 ms

Resolved: Mirror-鱼露 is back up in 6e90b7f.


text:
🛑 Mirror-xmgg is down

In e0a2290, Mirror-xmgg (https://myxdu.moefactory.com/article/covid19_xdu.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirror-xmgg is back up in bd82fc5.


text:
🛑 Mirror-爬 is down

In 3ba78b8, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 1056 ms

Resolved: Mirror-鱼露 is back up in eb3efcf.


text:
Error detected in pubspec.yaml when including Flame

Hi @luanpotter,
First of all thanks for making this tool, looks amazing and just what I need.
I'm having an issue when I add Flame as a dependency.
This is how my pubspec.yaml looks like:
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.0
  cloud_firestore: ^0.0.3
  firebase_auth: ^0.3.1
  flame: ^0.6.2

I run flutter packages get which exits with 0.
Then I run flutter run and I get the output below:
Launching lib/main.dart on iPhone X in debug mode...
Error detected in pubspec.yaml:
#/properties/flutter: type: wanted [object] got null
Running pod install...                                2.8s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)

    Finding Podfile changes
      A audioplayers
      A path_provider
      M cloud_firestore
      - Flutter
      - firebase_auth

    Fetching external sources
    -> Fetching podspec for `Flutter` from `/Users/andreu/flutter/bin/cache/artifacts/engine/ios`
    -> Fetching podspec for `audioplayers` from `/Users/andreu/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.3.0/ios`
    -> Fetching podspec for `cloud_firestore` from `/Users/andreu/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.0.4/ios`
    -> Fetching podspec for `firebase_auth` from `/Users/andreu/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.3.1/ios`
    -> Fetching podspec for `path_provider` from `/Users/andreu/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios`

    Resolving dependencies of `Podfile`

    Comparing resolved specification to the sandbox manifest
      A audioplayers
      A path_provider
      - BoringSSL
      - Firebase
      - FirebaseAnalytics
      - FirebaseAuth
      - FirebaseCore
      - FirebaseDatabase
      - FirebaseFirestore
      - FirebaseInstanceID
      - Flutter
      - GTMSessionFetcher
      - GoogleToolboxForMac
      - Protobuf
      - cloud_firestore
      - firebase_auth
      - gRPC
      - gRPC-Core
      - gRPC-ProtoRPC
      - gRPC-RxLibrary
      - leveldb-library
      - nanopb

    Downloading dependencies

    -> Using BoringSSL (9.0)

    -> Using Firebase (4.5.0)

    -> Using FirebaseAnalytics (4.0.4)

    -> Using FirebaseAuth (4.3.1)

    -> Using FirebaseCore (4.0.10)

    -> Using FirebaseDatabase (4.1.0)

    -> Using FirebaseFirestore (0.9.1)

    -> Using FirebaseInstanceID (2.0.5)

    -> Using Flutter (1.0.0)

    -> Using GTMSessionFetcher (1.1.12)

    -> Using GoogleToolboxForMac (2.1.3)

    -> Using Protobuf (3.4.0)

    -> Installing audioplayers (0.0.1)

    -> Using cloud_firestore (0.0.1)

    -> Using firebase_auth (0.0.1)

    -> Using gRPC (1.6.5)

    -> Using gRPC-Core (1.6.5)

    -> Using gRPC-ProtoRPC (1.6.5)

    -> Using gRPC-RxLibrary (1.6.5)

    -> Using leveldb-library (1.20)

    -> Using nanopb (0.3.8)

    -> Installing path_provider (0.0.1)
      - Running pre install hooks
    [!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: audioplayers

    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:115:in `block (2 levels) in verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:110:in `each'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:110:in `block in verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:107:in `each'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:107:in `verify_framework_usage'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer/xcode/target_validator.rb:38:in `validate!'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:405:in `validate_targets'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:118:in `install!'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/command/install.rb:41:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:23:in `load'
    /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:23:in `<main>'
Error output from CocoaPods:
↳

    [!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone X.

flutter --version gives me this output:
Flutter • channel master • https://github.com/flutter/flutter.git
Framework • revision 3914214641 (3 weeks ago) • 2017-11-01 22:31:29 -0700
Engine • revision 88cf09ffe6
Tools • Dart 1.25.0-dev.11.0

Am I missing anything?

Hi @andreugrimalt
Check the file ios/Podfile. It should have use_frameworks! as the first command of the target 'Runner' do block.
Like this:
target 'Runner' do
  use_frameworks!

  # Pods for Runner
  /// ...

Let's add that instruction to the README in a visible place.

@luanpotter I think I've found a better solution.
Look this commit on audioplayers.
There was a unnecessary swift file forcing the calling of use_frameworks!.
I did some tests and it is not necessary anymore. The problem will be solved in the next release of both libs.
Regards

Thanks @feroult !

Nice, @feroult ! I'm closing this and the related audioplayers issue, if anything else arises, please let us know!

authors: andreugrimalt feroult luanpotter

repo: luanpotter/flame


text:
typeof with invalid setmetatable arguments and a table intersection crashes new solver's strict mode

As of version 0.642, the following code in the new solver's strict mode causes the linter to crash completely, becoming unresponsive and replacing all type errors with a "subtyping test returned invalid path" error.
--!strict
type self = {} & {}
type Class = typeof(setmetatable())
local function _(): Class
	return setmetatable({}::self, {}) --Subtyping test returned a reasoning with an invalid path
end

This crashes with the statement
type x = setmetatable({} :: {}... as well

We have a fix for this issue prepared internally for the next sync.

This has been fixed in the sync before the last one https://github.com/luau-lang/luau/pull/1458

authors: metatablecat nothing1649 vegorov-rbx

repo: luau-lang/luau


text:
🛑 Školský šport is down

In b94f3b8, Školský šport (https://skolskysport.sk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Školský šport is back up in 7d0ff00 after 6 minutes.

repo: lubosm/minedusk-uptime


text:
Fix qr-code.svg icon

Hey,
First of all, thanks for your fantastic work!
I just wanted to change a little thing in the Qr-code design. To me, some lines seemed too long.
I think these minor changes make the icon more clean and familiar.
I know you don't want icon contributions. But since the changes are so small and that I haven't changed the SVG structure. I thought it would make your life a lot easier to open a PR with the changes.
Of course, feel free to close this PR if you disagree with my design changes/opinions.
Have a nice day!

Thanks, @mathix420!
@lucaburgio: Here's the difference:

Better view
New:

Old:

Thank you @mathix420! In this case, I'll accept the icon contribution as I really like your proposal. Great job!
I don't recall why I moved on with the other proposal. Let me update the Figma source and then I'll merge the pull 🙌 Thank you! 💪🏻

Great! Glad to know you like my contribution!
Have a nice evening 🙂

authors: lucaburgio mathix420 paescuj

repo: lucaburgio/iconoir


text:
Can't copy GIFs

At the moment, copying GIFs is not supported by the native electron clipboard

Fixed in #10

repo: lucajoos/nyan


text:
How to get Call of Duty WaW working and black ops working

Can't delete issue so...
Randomizing steam ids and deleting profile data seems to not work with dll, I just needed a way to import dlls automatically, but recently found out about code caves. I'll be implementing this myself to some degree.

Hi,
Were you able to get it to work? Is the problem just profile stuff? How can I help?
Thanks.

repo: lucasassislar/nucleuscoop


text:
Atualização de responsividade do formulário de registro e do header do registro

Atualizei o  header-register-component.html e o header-register-component.css, além do register-form-component.html para incluir responsividade.

Aprovado

authors: lucasrodriguescunha yanpzr

repo: lucasrodriguescunha/QuoteFlow


text:
Built in Documentation & Algodot.gd logo

Features:
(1) Algod.gd in res://addons/algod can be created as a new node in the scene tree
(2) Algod.gd now has a logo and a class name that can be viewed in Godot
(3) The plugin comes with a built-in dcomicmentation that is viewable in the inspector tab
What Works
(1) All the features state above have been tested and the work
What doesn't work
(1) Integration tests on github. I'm not sure what happened, all my work has been restricted to the /test/project/ folders
Conclusion:
I deleted those duplicate files that you mentioned and i put in the logo last minute. I'd like to work on Youtube tutorials to make using this plugin easier for beginner game devs. Please review it and merge to master. I could also delete all other files asides the godot project file so nothing conflicts. Sorry for the constant PR, i keep on getting new ideas to add and making mistakes in my git commands. Sincerest apologies

Hey there, thanks for the PR.
However it looks like there's a bunch of stuff that you didn't intend to add (see # of changed files at 63). For one, the .gitignore file should not be deleted, and its deletion has caused a bunch of build artifacts to show up in the PR that doesn't belong on the repository. In addition, the *_build.sh files included don't really belong in the PR either, as they might differ depending on the user's environment (but if you have some recommendations for additions to the README including tips for building the project  feel free to share!). There are also some files that have been edited due to being in the middle of what looks like a git merge.
That said, I do think that documentation inside the plugin could be very useful, so if you still wish to add it to the repository, you could try creating a new fork/branch with only the minimal amount of changed files, and issue a new PR. You should also try to use consistent formatting to the code you add/change (e.g. no extra whitespaces or commented out code, and in-line documentation where appropriate).

Thanks for the feedback, I'll make changes. I spent the last week testing the plugin in a game Demo, and building an in-game wallet and NFT parser on it. it's really amazing stuff! I'm glad to contribute code to your repository.

repo: lucasvanmol/algodot


text:
item_color - AttributeError: 'str' object has no attribute 'keys'

I'm trying to define the parameter item_color exactly as the documentation describes (creating a dictionary and then using it to map the categories values to colours in a new column). Still, it always leads to the following error:
AttributeError: 'str' object has no attribute 'keys'
I'm using Python 3.10.6.

Thanks for pointing it out. I have opened a #20 PR. Should fix the issue.

is this closed @siddarth-patil??

@lucharo Yes. It can be closed now. I have fixed the error.

@lucharo Yes. It can be closed now.

Sweet, thank you @siddarth-patil

authors: belisards lucharo siddarth-patil

repo: lucharo/raceplotly


text:
🛑 Higyrus-prod is down

In c5b671a, Higyrus-prod (https://client.nasini.com.ar) was down:

HTTP code: 504
Response time: 10222 ms

Resolved: Higyrus-prod is back up in cc0131c after 6 minutes.

repo: luciano-buono/upptime


text:
Add food related icons: beef, dessert, fish, salad, sandwich, soup & takeout

I made some icons that I think can be useful for restaurant or food delivery applications:

Wow, amazing work, @kemie, I just love the soup and salad bowls!
That being said, there are a few minor issues that need to be addressed, I'll add these as notes to the files.

I made changes to beef, fish and dessert (now ice cream 2). I wonder though if the fish wouldn't be more legible without fins, any thoughts?

I made a PR requesting some further syntactic changes: https://github.com/kemie/lucide/pull/1

One last thing, I haven't shared any feedback about takeout, but I'm not quite sure this one's quite as polished as the others, can you maybe try a few more iterations, maybe one that has a more geometric or flat design approach?

Sorry! havenät had time to work on this, but I'll try and tackle it next week

I think the takeout icon should be named paper-bag. Because it can also be used for "lunch" or "doggy bag".
I thought I gave it a shot. Maybe we can go more isometric style. Maybe some inspiration for you.

100%

I like the more geometric approach, I made 2 options:

@kemie: I'm still not entirely sure about the circled bits, and how well this approach fits with the existing Lucide icon set in general.

While I do like the geometric style of @ericfennis' version (I'd actually already drawn something pretty similar to be worked on and added later on), but I'm not totally convinced about that one either, since it does look a bit milk carton-ish (the short ones you would get at a school cafeteria).
I've been doodling around with elements from existing icons (shopping bag and scroll in particular), let me know if either of you see anything we could maybe build upon: https://www.figma.com/file/mIAku46R65BItzWFTNqw7Y/lucide%2Fpaper-bag?node-id=0%3A1&t=zFOR0SRnS3mar5Wc-1

Yea, I agree, that top join has been a challenge. You have some really solid options there. and I did one last attempt at mine inspired by yours but I'm still not convinced:

I'd actually vote to go for one of your options: the first in the bottom row. it's super recognizable as a bag and could work for takeout, lunch, groceries.  Others are hard to distinguish from milk, shopping, shop... it's a tough one.

I have updated the PR without the takeout icon, I think that one can be handled separately, probably from your design, @karsa-mistmere

@ericfennis there were issues with a few icons, I updated the PR to fix

@kemie No problem, nice you fixed it. @karsa-mistmere You're fine with merging this?

@ericfennis: Yes, there were a few issues with the formats, so I ran them through SVGO again and fixed any issues that came up.
Thanks @kemie, amazing work! 🥳🎉

authors: ericfennis karsa-mistmere kemie

repo: lucide-icons/lucide

license: ISC


text:
Adding a eval.py

We're starting to have a few trained dalle models. People are looking at loss and a few examples as evaluation currently. I think we can make evaluation easier and better by coding a eval.py.
It would take as input a evaluation directory in the same format as the training then generate pictures for all the text then compute some metrics. Metrics example:

Human: just look at the output folder and see if it looks good
Clip: compute clip dot product between text and generated image, also compute between text and real image, compute the ratio, do the average on the whole eval set
Fid : compute the fid metric on generated vs real
Retrieval : when doing a retrieval from a text in the generated images, does the matching generated image appear in the top 10 ? Compare with the same thing on the real images

I think as a first step having only the human metric (just implement the generation) would be cool. It would be a small variation of generate.py

For FID, we can use https://github.com/GaParmar/clean-fid

Are there any updates?
Thanks

authors: mehdidc rom1504 shizhediao

repo: lucidrains/DALLE-pytorch


text:
About Immiscible Diffusion

In immiscible diffusion, the noise is selected while minimizing the cost w.r.t the data batch thereby minimizing the variance from the source distribution to the target distribution. In CFM however, we can start from any prior distribution (say, text encoder outputs for TTS). Selecting the prior as described in the paper is not possible because of the mapping between the prior and the target ( I would want a particular text embedding to be mapped to the corresponding mel-spectrogram).
So the algorithm should sample both prior and targets like:
let assign_mat

x0 = x0[assign_mat]
x1 = x1[assign_mat]
condition = condition[assign_mat]

Please correct me if I'm wrong.

@iamunr4v31 oh yes, i forgot about the condition
however, i've removed it since i wasn't able to see a signal at this repo

Interesting. I'm working on something similar at the moment. Will let you know if I have any luck with improving the convergence behavior. But, this is very weird considering the algorithm optimizes for straighter flows.

@iamunr4v31 try running it at the rectified flow repository (or if you see an issue, please let me know)
if you see something, willing to spend more time on it

@iamunr4v31 and yes, agreed with the straightening flow connection

@lucidrains Does it improve result. The idea is similar to Improving and generalizing flow-based generative models with minibatch optimal transport, but applied to a larger dataset. I did not observe improvement on the vocoder task; I guess the mel condition is so sufficient that the conditional mapping is already close to a one-to-one map.

@bfs18 yes, i saw some improvements on small scale image generation

@lucidrains I'm glad to hear about the positive results on image generation! I'll look into it further.


text:
Happy to help

I've been working on some basic music generation lately. I'm very interested in this implementation and would be happy to contribute in any way. Maybe that's as simple as donating to sustain your work, or it could be contributing code. Just want to put it out there that I support what you're doing and I'm very interested to see an implementation of this in PyTorch.

@ashesfall hey thanks Michael
it is already nearly done, as the bulk of the architecture uses AudioLM researchers have started training, and I think if you want to contribute, simply training and open sourcing a good soundstream will do the world a big service
the new thing in MusicLM is the use of an audio CLIP, which is used to filter out the generations from the hierarchical transformers

@ashesfall join Laion if you haven't and start mingling with the real folks

When you say training a good soundstream, are you referring to this work? https://arxiv.org/abs/2107.03312
I'd definitely be very willing to make an investment in cloud resources for training.

Oh I see that they have soundstream training instructions in the main AudioLM repo. Is there a dataset you recommend I use? I can probably start a training run this weekend.

authors: ashesfall lucidrains

repo: lucidrains/musiclm-pytorch


text:
I can't use the FRENCH traduction ...

Hello,
My french traduction don't work ='(
I can't install the french traduction =(
Or
I don't knon how a to do this =(
I have put the lang.yml in my folder config in luckperms folder but this don't work o_0
I need help =(

Make sure, that the file is called lang.yml
Also maybe the file is outdated... If it doesn't work, check the console for any possible error.

repo: lucko/LuckPerms


text:
Default rank bug

So, I created
default (It was already there) - vip - god - legend - hyplex - etc.
and when I move the player to vip or god, it stays in chat the same default, but when you use commands it shows you the group, any ideas why does it happen also the default group doesn't want to change its name. I have already read the text document about default and also I couldn't find the selection about the default settings in the yml. file. Or is it from the chat control or something?

and when I move the player to vip or god, it stays in chat the same default,

This is most likely a chat issue and not a LP issue. LP doesn't handle the chat

also the default group doesn't want to change its name. I have already read the text document about default and also I couldn't find the selection about the default settings in the yml. file. Or is it from the chat control or something?

The default assignment - if you mean that with "default settings in the yml" - was removed in version 5 of LP and is only available through a separate extension. This is, however, not recommendet.
You have two alternatives which are modifying the display name or set up parents for default


text:
Prefix not showing

Im not sure what im doing incorrectly. here is my config.yml: https://pastebin.com/RGQe6rCu
[22:45:37 INFO]: [LP] > User Info: stealth62
[22:45:37 INFO]: [LP] - UUID: 8b90ffb0-d119-4a84-884a-965e68b8d172
[22:45:37 INFO]: [LP] - Status: Offline
[22:45:37 INFO]: [LP] - Primary Group: administrator
[22:45:37 INFO]: [LP] - Counts:
[22:45:37 INFO]: [LP] -    Permissions: 9
[22:45:37 INFO]: [LP] -    Temporary Permissions: 0
[22:45:37 INFO]: [LP] -    Prefixes: 1
[22:45:37 INFO]: [LP] -    Suffixes: 0
[22:45:37 INFO]: [LP] -    Meta: 0
[22:45:37 INFO]: [LP] - Parent Groups:
[22:45:37 INFO]: [LP] -    > default
[22:45:37 INFO]: [LP] -    > administrator
[22:45:37 INFO]: [LP] -    > appeals
[22:45:37 INFO]: [LP] - Cached Data:
[22:45:37 INFO]: [LP] -    Has contextual data: false
[22:45:37 INFO]: [LP] -    Current Contexts: None
[22:45:37 INFO]: [LP] -    Current Prefix: None
[22:45:37 INFO]: [LP] -    Current Suffix: None
[22:46:02 INFO]: [LP] administrator's Prefixes
[22:46:02 INFO]: [LP] -> 1 - "[A]" (inherited from self)
[22:46:02 INFO]: [LP] -> 1 - "[O]" (inherited from fullop)
[22:46:02 INFO]: [LP] -> 0 - "[A]" (inherited from self)
[22:46:02 INFO]: [LP] -> 0 - "[O]" (inherited from fullop)
[22:46:02 INFO]: [LP] administrator has no suffixes.
[22:46:02 INFO]: [LP] administrator has no meta.
My chat plugin is EssentialsChat and i use Vault, any idea why my prefixes are not showing?http://imgur.com/SioyoqB
Using zpermissions and permissionsex i can get the prefixes to show fine

You need to update to EssentialsX.


text:
Complete Download Quiz

If choosing 1.7.10 in CraftBukkit / Spigot / Paper you can't download the jar correctly. Can someone look into this? downloads.bukkit-legacy isn't set in Quiz.vue it seems.

Where is that even hosted/available?

It's on the download subpage. Currently router.js has this page disabled.
I don't know how old the version hosted from Turbo is, but it'll look like this then: https://luckperms.turbotailz.com/download

Also I'd change it so that the message for 1.8-1.8.7 Bukkit explicitly mentions the version 1.8.8 and that it is fully compatible with all other 1.8 versions for the client.

Maybe something like "1.8.8 or higher (1.8 - 1.8.7 compatible)"?

repo: lucko/LuckPermsWeb


text:
Create issue test

Test test test

Still was.

repo: luckydonald/pytg


text:
Using ng-if inside ng-repeat to manage items behaves unexpectedly

This bug has been discovered here: #141, but I am making separate issue for cleaner info.
Problem: https://plnkr.co/edit/9nCakIAIaAYbIIc1mRM7?p=preview
Solution for now: https://plnkr.co/edit/Vcky4pispawxlsZcf2La?p=preview
I will be fixing this when get some time for it.. thanks for understanding and patience.

not going to fix, problem is that such combination of ng-repeats and ng-ifs causes mismatch of model and view elements. This mismatch can be seen in this fiddle fork: https://plnkr.co/edit/bE7rTNcQn0Ll3IJy6ISE?p=preview
So only solution for this is to make custom function for containersModel returning model which would be reflecting same logic as used in view. Such function is too complex for me to make now as I dont have much time, and it is not matter of the library.
Thanks for understanding

repo: luckylooke/dragular


text:
Added reduced_rank to TICA

Description
I have added the reduced_rank algorithm to compute TICA's eigenvalue decomposition. I also have edited the docstrings accordingly.
Questions

[ ] I have added some helper functions in mlcvs.core.stats.utils. Is it the right place?
[ ] The utility functions have type suggestions, feel free to remove them if you don't want them in your code.

Thanks @Pietronvll for the contribution!

Questions
I have added some helper functions in mlcvs.core.stats.utils. Is it the right place?
The utility functions have type suggestions, feel free to remove them if you don't want them in your code.

yes, that is the right place for utils
no they are fine. actually, we should use them throughout the code

two extra questions:

can you add (a bit of) documentation to the utils functions? at least to know what they do and what they are used for
can you add a test for the reduced_rank mode at the bottom of the tica.py file?

thanks!

the tests are actually failing due to a typo with the notebooks which has been already fixed, i think if you push new changes they should run fine

Thanks! i solved the conflicts, i will wait for the CI tests to complete and then I will merge

authors: Pietronvll luigibonati

repo: luigibonati/mlcvs


text:
perf(cluster): improve the performance of calculating slots

By using the https://www.npmjs.com/package/cluster-key-slot package.

LGTM

Just one small change that needs doing, the pipeline can use var calculateSlotMulti = require('cluster-key-slot').generateMulti; to calculate the slots for the array of keys there, then instead of checking for 'undefined' you just check if slot < 0 - then throw the 'keys must be of same slot' error.
The multi on the calc repo is a little bit more performant. https://github.com/Salakar/cluster-key-slot#usage

Hmm build test failures seem a little random and unrelated?

@Salakar Just fixed it. If one of the test failed, the connection to the server will not be disconnected, so other tests will also fail.

Looks good, LGTM =]

authors: Salakar luin shaharmor

repo: luin/ioredis


text:
customizaton

A close button would be nice. Awesome stuff by the way. Keep up the good work! :))
Question: If the sticker bubble/text is not selected when I tap the text color button, the app crashes. How do I setup auto-selection? :O

hey, @b992 . Thanks for your feedback. Though a interface for customizing close button is not implemented yet, it is not hard to do it yourself, you can have a look at the guide in README.
The crash is caused by a bug and I just fixed it, so you don't have to setup auto-selection now (hope that's what you want) :-)

repo: luiyezheng/JLStickerTextView


text:
Null Pointer Exception

After I had installed the plugin, I went to the Tools | Options | Editor area to check it out, and during the process this error popped up. Thank you for the plugin.
java.lang.NullPointerException
at lukazitnik.jshint.annotations.LintingThread.(LintingThread.java:22)
at lukazitnik.jshint.annotations.JSHintDocumentListener.updateAnnotations(JSHintDocumentListener.java:32)
at lukazitnik.jshint.annotations.EditorRegistryListener.addDocumentListenerAndAnnotations(EditorRegistryListener.java:87)
at lukazitnik.jshint.annotations.EditorRegistryListener.updateOpenDocuments(EditorRegistryListener.java:64)
at lukazitnik.jshint.Installer.updateChangeListenersOnEditorRegistry(Installer.java:46)
at lukazitnik.jshint.Installer.access$000(Installer.java:13)
at lukazitnik.jshint.Installer$1.preferenceChange(Installer.java:35)
[catch] at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1496)

What a nasty stack trace! I am truly sorry you've encountered it. It looks like the editor module doesn't behave as I expected. I would like to know more about the environment in which the plugin is ran. If it's not too much to ask, could you please send me your IDE log file? You can get it by going to Main Menu -> View -> IDE Log and then Output Window -> IDE Log -> Ctrl+S.

Version 1.1.2 of the plugin bears a fix for this issue. It can be downloaded from the NetBeans Plugin Portal. Thank you for this report.

authors: Mardonis luka-zitnik

repo: luka-zitnik/jshint-for-netbeans


text:
Allow to get the birthday date

Hi, i thought it would be useful to be able to retrieve the birthday date from a contact.
As indicate in the readme, i create the pull request under the staging branch even if i forked the project from the master branch.
Let me know if you want me to make some changes.
If everything is ok do not hesitate to publish the new version of the plugin. I need this feature asap :)

@lukasgit anything we can do to help in getting this pr merged?

@lukasgit brilliant, ty! Wish I had had the time to contribute, but this is definitely all @ZaraclaJ

authors: PaddyBadger ZaraclaJ


text:
Proposal: Migrating to Next.js for Enhanced SEO

Hey Lukas, Thanks for starting this project!
Given the importance of SEO for the app, I suggest considering a switch to Next.js
I’m ready to tackle the migration and will prepare a PR for your review soon.

@hismethod
Unfortunately, the code mirror does not work properly in next js, and I failed to find a solution.

authors: hismethod lukasjhan

repo: lukasjhan/sd-jwt-io


text:
eclipse-jee@2021-03: hash check failed

eclipse-jee: 2020-09 -> 2021-03
Updating one outdated app:
Updating 'eclipse-jee' (2020-09 -> 2021-03)
Downloading new version
eclipse-jee-2021-03-R-win32-x86_64.zip (17.3 KB) [============================================================================================================================================]
Checking hash of eclipse-jee-2021-03-R-win32-x86_64.zip ... ERROR Hash check failed!
App:         extras/eclipse-jee
URL:         http://download.eclipse.org/technology/epp/downloads/release/2021-03/R/eclipse-jee-2021-03-R-win32-x86_64.zip
First bytes: 20 3C 21 44 4F 43 54 59
Expected:    c5d13a8e011633e60e36f7334eaba5bd09d84e9e6e594f567e893d8d8c0dc29eddba7a388d4e85efd5a853df47e55f83814924429218885b31ecac6658124b3f
Actual:      b4457e6badd09c956131557bdb89d93ec4784618935b5cceb42b53977c66395df9bb4a852f30e629662ecb1c13ea4a3b7878cb9e328dd388109e9172a318733e

D:\>scoop cleanup eclipse-jee
ERROR 'eclipse-jee' isn't installed.

D:\>scoop install eclipse-jee
Installing 'eclipse-jee' (2021-03) [64bit]
eclipse-jee-2021-03-R-win32-x86_64.zip (17.3 KB) [============================================================================================================================================] 100%
Checking hash of eclipse-jee-2021-03-R-win32-x86_64.zip ... ERROR Hash check failed!
App:         extras/eclipse-jee
URL:         http://download.eclipse.org/technology/epp/downloads/release/2021-03/R/eclipse-jee-2021-03-R-win32-x86_64.zip
First bytes: 20 3C 21 44 4F 43 54 59
Expected:    c5d13a8e011633e60e36f7334eaba5bd09d84e9e6e594f567e893d8d8c0dc29eddba7a388d4e85efd5a853df47e55f83814924429218885b31ecac6658124b3f
Actual:      fcea85589ccfb6a41a48551c7962d7e6c413d99e6f418f6ab598912d54bbc1ef5e54ad86a89f5931870d3cd6f0446cd20cc20ae4d90fa087c9a3d45041774387

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=eclipse-jee%402021-03%3a+hash+check+failed

It's still happening. full uninstall!

repo: lukesampson/scoop-extras

license: Unlicense


text:
allow deliberate window close on native platforms

I think this was accidentally removed along with making roc crashes more graceful. We still want the roc exit effect to allow deliberate graceful exit, separately from crashes.

I think the CI failure is due to using the nightly from the 15th. I was messing with dependencies because I'd ran into the List/Str split renaming locally when trying to reproduce the linking error.
Now I think those changes will be necessary on the newer Roc nightly, but the current failure just needs the newer Roc version. So we'll want to

get on a recent roc that doesn't have the spurious linker error and
get dependency versions that don't have the old versions of List/Str split
neither of which are actually related to the window close thing.

I don't know if we should point CI at the '-TESTING' nightly url or just wait for a newer roc nightly github release.

My local Roc (on linux) is:
❯ roc --version
roc built from commit 22423ca98b, committed at 2024-11-22 01:12:02 UTC

and doesn't get the linker error that the 15th nightly does on the linux ci machine.

repo: lukewilliamboswell/roc-ray


text:
wip: Add some patches to PR #542

What does this PR introduce?
Proposal to do a simple fix using Promise.all and new Promise
to wait for the completion of all the solc exec functions.

This was just a patch and didn't really work. In addition there are now two different PRs to solve this problem.

repo: lukso-network/lsp-smart-contracts


text:
可以增加个标签管理功能，以自定义标签。

可以增加个标签管理功能，以自定义标签。

嗯，我考虑下如何实现。
Well, I'll think about how to achieve it.

忘记解释了，本插件可以配合onenote的标记功能使用，你可以设置标记，设置后，点击更新标题标记即可


text:
Build the Language Server Process

Summary
With a prototype lazy visualisation service implemented as part of #317, we can now take that MVP and evolve it into the full language server. This task exists to track the work of turning that prototype into a robust service endpoint that wraps the interpreter and compiler, but not the work of implementing the various other functionalities specified in the design from #29.
Value
We have an endpoint that we can start integrating the various required messages with in order to better support Enso Studio.
Specification

Determine what work is required to turn the MVP endpoint from #317 into the real language server endpoint.
Implement support for all the specified incoming messages as described in #29, but stub out the various response endpoints.
Implement the outgoing response messages using mocked data.

The endpoint should be able to operate in two modes:

File Host: If enabled, all source files are opened/read/written by the language server itself. When running in this mode, it must have messages for opening, reading and writing the source files. File contents are transferred to the client using a sychronisation message. This mode is primarily designed for operation as a backend for Enso Studio, and is more complex than standard language-server implementations.
Client: If enabled, all source files are used purely as in-memory representations, and the server has no direct access to the source files. This means that when the client editor opens a file, it must send the entire file contents to the server via a synchronisation message.

Acceptance Criteria & Test Cases

We have a working (if stubbed out) language server that the GUI backend can start to work integrate with.
It returns mocked data for all responses it does not yet have support for (which should be all but the lazy visualisation ones).

Superseded by a new plan.

repo: luna/enso


text:
Loading not working properly in container and using refs

Loading not working in Button in Popup, it will be fullscreen instead of in the button.
Loading container using refs will not work on vs-button, browser return

[Vue warn]: Error in v-on handler: "SyntaxError: Failed to execute 'querySelector' on 'Document': '[object Object]' is not a valid selector.

Def a problem.

Please check #633

repo: lusaxweb/vuesax


text:
Cant assign socket connection to vuex state

I tried storing the socket connection in Vuex state like you did. But I am facing this error.
Error: [vuex] do not mutate vuex store state outside mutation handlers.     at assert (vuex.esm.js?2f62:90)     at Vue.store._vm.$watch.deep (vuex.esm.js?2f62:774)     at Watcher.run (vue.runtime.esm.js?2b0e:4562)     at Watcher.update (vue.runtime.esm.js?2b0e:4536)     at Dep.notify (vue.runtime.esm.js?2b0e:730)     at WS.reactiveSetter [as writable] (vue.runtime.esm.js?2b0e:1055)     at eval (websocket.js?0882:218)
Can you help me to solve this issue? Is this issue related to Vue version?

I found the issue. I have enabled strict mode in Vuex, that's why I faced that error.
Is it a good practice to store the socket connection in Vuex state?

Hi gnk06,
Glad to hear you were able to find the issue and resolve it!
I'm not 100% sure if it's considered best practice and you don't have to use Vuex at all although what I can say is that I found it provided a cleaner way to interact with and reuse the socket connection in a single data store.
Though I'm sure there are many other ways to approach this
Another thing to mention, there is also a fairly popular library out there: vue-socket.io which by the looks also has an option of using Vuex integration and may be able to help you
You should go with an approach that works well for you whether that would be Vuex or another method

Alternatively, you might also want to instead of using Vuex, is to create a service file ie websocket.js and export your created websocket instance there and import that instance into each component you will need it in
In the end, I'm sure there are better ways than I initially chose to implement :)

Thanks for the explanation Luvuong-le.
For connections to multiple server vue-socket.io has some issues. The project which am working on needs this feature. I can achieve that based on your implementation.
Previously I tried connecting socket io from component. But for every component change new socket connection was created. And that's overhead in server.
That's why I considered your approach, by maintaining connection state and reusing the same.
Maybe I should try the other approach (service file) you said.
Thanks again for making this awesome

repo: luvuong-le/node-vue-chat


text:
ROS2 header reference

Hey there, I looked through your message file and noticed that on the jazzy branch you use Header and duration as field types. Shouldn't this be std_msgs::Header and builtin_interfaces::Duration in ROS2?
https://github.com/luxonis/depthai-ros/blob/b39899f2f31c626e15ef49040542455be7cf345b/depthai_ros_msgs/msg/ImageMarker.msg#L11

Hi, actually those messages are not used and they should be deprecated in the future releases. IIRC they were based on API of old Foxglove ROS messages

authors: Serafadam nisseknudsen

repo: luxonis/depthai-ros


text:
Custom masterserver for UT2k4

Game
Unreal Tournament 2004: Editor's Choice Edition
Engine
Unreal Egine 2
Linux Distribution
Mint 21
Luxtorpeda Version
61
Bug description
UT2k4 unable to list servers due to masterserver shutdown.
Steps To Reproduce

Launch the game.
Attempt to list servers.

Expected Behavior
Game listing mp servers.
Additional Context
Applying custom masterservers into ~/.ut2004/System/UT2004.ini enables online server listing:
[IpDrv.MasterServerLink]
MasterServerList=(Address="utmaster.openspy.net",Port=28902)

Source:
http://beta.openspy.net/en/howto/ut2k-engine/ut2004
Relevant log output
No response

@rea987 Do you see a System.ini file or similar in the ut2004 install directory or in linuxdata? I'm attempting to find where it sources it to store the System.ini file to try and change it automatically. Since for first launch that file will not exist yet (in the user direct0ry>

It looks like it is called "Default.ini"
Working on a script that'll do it automatically, still need to work on adding the new line for the gamespy (or replacing the url may be easier):
cp -rfv linuxdata/System/Default.ini linuxdata/System/Default.ini-backup
grep -v "MasterServerList" linuxdata/System/Default.ini > tmp.ini
mv tmp.ini linuxdata/System/Default.ini
sed -i '/[IpDrv.MasterServerLink]/a MasterServerList=(Address="utmaster.openspy.net",Port=28902)' linuxdata/System/Default.ini

Implemented in https://github.com/luxtorpeda-dev/packages/commit/eb791118d0a5c721dba456207fa08adbce85861c, thanks for the heads up.

Looks like compile failed for some reason so will look at that when I can

Fixed, let me know if you run into any issues.

repo: luxtorpeda-dev/packages

license: Zlib


text:
"LVGL.Simulator" The name has a bug

GIT commands do not support stripes '.' The directory path of

This issue is fixed by renaming the project name to LvglWindowsSimulator.
https://github.com/lvgl/lv_port_win_visual_studio/commit/aea18daaab864499576da29a60f82c6d579cc851
Kenji Mouri

authors: MouriNaruto embassy


text:
Failed to load device... Device name too long max 27 characters

Required information

Distribution:
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
Armbian Focal Linux 5.10.81-meson64 21.08.6 SMP PREEMPT aarch64 aarch64 aarch64 GNU/Linux
LXC version:
5.0.0
LXD version:
5.0.0
Storage backend in use:
Btrfs

Issue description
Rebooted my server today and two containers failed to start with:
Failed to load device... Device name too long max 27 characters
Could a dev please provide instructions on how to resolve this error so I can start these containers?

Can you show lxc config show <instance> and lxc profile show <profile>

lxc config show calendar-server
architecture: aarch64
config:
  boot.autostart: "true"
  image.architecture: arm64
  image.description: Alpine 3.14 arm64 (20211120_13:00)
  image.os: Alpine
  image.release: "3.14"
  image.serial: "20211120_13:00"
  image.type: squashfs
  image.variant: default
  raw.idmap: |-
    uid 1000-1002 1000-1002
    gid 1005 1005
  volatile.apply_template: rename
  volatile.base_image: 351b6564e8c5e892c979e118c760477518d8e8f554bd36b51e3817675ad21f63
  volatile.cloud-init.instance-id: f5b3146f-70d5-4a19-b49c-441321f5dacd
  volatile.eth0.host_name: mac1f00f97d
  volatile.eth0.hwaddr: 00:16:3e:7f:54:21
  volatile.eth0.last_state.created: "false"
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.last_state.power: RUNNING
  volatile.uuid: 07c492e3-f43c-4d6b-b6f1-5d8a6719cae6
devices:
  alpine-calendar-share-ssl-acme.sh:
    path: /etc/ssl/acme.sh/
    source: /etc/ssl/acme.sh/
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

lxc profile show default
config: {}
description: Default container configuration for titanium containers allowing LAN
  access.
devices:
  eth0:
    name: eth0
    nictype: macvlan
    parent: eth0
    type: nic
  root:
    path: /
    pool: titanium-btrfs
    type: disk
name: default
used_by:
- /1.0/instances/media-server
- /1.0/instances/download-server
- /1.0/instances/file-server
- /1.0/instances/calendar-server
- /1.0/instances/sync-server

If you do lxc config edit calendar-server and rename alpine-calendar-share-ssl-acme.sh to something shorter.

This change was introduce to allow accommodate a limitation in QEMU that was needed to allow VM hot disk plugging.
It was applied to containers as well so that the restrictions were consistent when applying profiles to both containers and VMs.

With what error?

Sorry my mistake, I tried again and the container starts.
Thank you for your help.
Please close this issue.

accommodate a limitation in QEMU that was needed to allow

Hello,
Sorry to bother you, but this limitation is also reached with simple containers (lxc ones), so my guess would be to add this to this part of code :
https://github.com/lxc/lxd/commit/67117ff953907dd9f5cfbb756d0e633588c96eec
	if len(d.name) > 27 and instanceSupported(instConf.Type(), instancetype.VM) {
		return fmt.Errorf("Device name too long, max. 27 characters")
	}

Or something like that,
That is breaking our containers production, while it is not impacted, as it concern only VM and no containers.
Best regards,

@tomponline

It was applied to containers as well so that the restrictions were consistent when applying profiles to both containers and VMs.

You can write in the error message that it concern VM, and let containers have the length they need.
There you break our production for a new constraint. And you private us from upgrade.
Regards,

authors: jadjay jemail99 tomponline

repo: lxc/lxd


text:
handle gzipped userdata correctly?

From some comments in the juju code, I've not verified this myself, but I'm filing it here so we can keep track of it.
        // TODO(ericsnow) Looks like LXD does not handle gzipped userdata
        // correctly.  It likely has to do with the HTTP transport, much
        // as we have to b64encode the userdata for GCE.  Until that is
        // resolved we simply pass the plain text.
        //compressed := utils.Gzip(compressed)

Hmm, the spec clearly states that all user keys are of type "string", not "blob", so indeed we do not support binary data.
It's also kinda hard to support as LXD itself doesn't parse any of those keys, but it must render them in text form through the template engine, so allowing a user to pass blobs that then go through the template renderer is tricky, not only because of encoding issues, but also because of the risk of code execution inside the template engine.

I'm going to close this as our spec does say we are expecting a string, not a blob. If there is a good reason to allow users to upload binary blobs as config variables, we should have this be its own feature.